import{r as t,h as s,H as e}from"./p-93b809e8.js";const o={name:"blip-ds",version:"0.0.0-development",description:"Blip Design System",main:"./dist/index.cjs.js",module:"./dist/index.js",es2015:"./dist/esm/index.mjs",es2017:"./dist/esm/index.mjs",types:"./dist/types/index.d.ts",collection:"./dist/collection/collection-manifest.json","collection:main":"./dist/collection/index.js",unpkg:"./dist/blip-ds/blip-ds.js",files:["dist/","loader/"],scripts:{generate:"stencil generate",clear:"rm -rf node_modules/ && rm -rf dist/ && rm -rf www/",dev:"npm-run-all --parallel start storybook",start:"stencil build --dev --watch --serve --docs",build:"npm run build:component","build:component":"stencil build --docs --prod","build:react":"cd ./blip-ds-react && npm install && npm run build",ci:"npm run build && npm run storybook:build && npm run storybook:deploy",test:"stencil test --spec","test:e2e":"stencil test --e2e","test:snapshot":"stencil test --e2e --screenshot","test:watch":"stencil test --spec --watch","test:coverage":"stencil test --spec --e2e --coverage",storybook:"storybook dev -p 6006","storybook:build":"storybook build -s www","storybook:deploy":"storybook-to-ghpages",eslint:"eslint . --ext .jsx,.ts,.tsx","semantic-release":"semantic-release",commit:"git-cz","build-storybook":"storybook build"},devDependencies:{"@babel/core":"^7.18.2","@stencil/core":"^2.16.1","@stencil/react-output-target":"0.5.3","@stencil/sass":"1.5.2","@storybook/addon-actions":"7.0.22","@storybook/addon-essentials":"^7.0.22","@storybook/addon-interactions":"^7.0.22","@storybook/addon-links":"^7.0.22","@storybook/global":"5.0.0","@storybook/manager-api":"^7.4.1","@storybook/react":"^7.0.22","@storybook/react-webpack5":"^7.0.22","@storybook/storybook-deployer":"^2.8.16","@storybook/testing-library":"^0.2.0","@storybook/theming":"^7.4.1","@typescript-eslint/eslint-plugin":"^5.26.0","@typescript-eslint/parser":"^5.23.0","@types/color":"^3.0.3","@types/jest":"27.5.1","@types/puppeteer":"5.4.6","@types/webpack":"^5.28.0","babel-loader":"^8.2.5","babel-preset-react-app":"^10.0.1",color:"^4.2.3",commitizen:"^4.2.4","copy-webpack-plugin":"^11.0.0","cz-conventional-changelog":"^3.3.0","cz-customizable":"^6.3.0","cz-customizable-ghooks":"^2.0.0",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard-with-typescript":"^16.0.0","eslint-plugin-import":"^2.29.1","eslint-plugin-prettier":"^5.1.3","eslint-plugin-react":"^7.34.1","eslint-plugin-storybook":"^0.8.0",ghooks:"^2.0.4",jest:"27.4.5","jest-cli":"27.4.5","npm-run-all":"^4.1.5",prettier:"^3.2.5",puppeteer:"^14.0.0","semantic-release":"^23.0.8",storybook:"^7.0.22","ts-node":"^10.7.0","types-ramda":"0.29.4",typescript:"^4.7.2"},dependencies:{"@storybook/addon-console":"^2.0.0","@storybook/addon-docs":"^7.4.0",autoprefixer:"^10.4.7","blip-tokens":"^1.84.0",react:"^18.1.0","react-dom":"^18.1.0"},repository:{type:"git",url:"https://github.com/takenet/blip-ds.git"},bugs:{url:"https://github.com/takenet/blip-ds/issues"},homepage:"https://github.com/takenet/blip-ds#readme",config:{commitizen:{path:"./node_modules/cz-customizable"},"cz-customizable":{config:"./.cz-config.js"},ghooks:{"pre-commit":"npm run eslint","pre-push":"npm run eslint && npm run test:coverage","commit-msg":"cz-customizable-ghooks $2"}},license:"MIT",optionalDependencies:{fsevents:"^2.3.1"}},i=class{constructor(s){t(this,s),this.setIllustrationContent=()=>{const t=o.dependencies["blip-tokens"].replace("^","");fetch(`https://cdn.jsdelivr.net/npm/blip-tokens@${t}/build/json/illustrations/${this.type}/${this.name}.json`).then((t=>t.json().then((t=>{this.IllustrationContent=t[`asset-${this.type}-${this.name}-svg`]}))))},this.IllustrationContent=void 0,this.type="default",this.name=void 0,this.alt=void 0,this.dataTest=null}componentWillLoad(){this.setIllustrationContent()}render(){return s(e,{role:"img",class:{"bds-illustration":!0}},this.IllustrationContent?s("img",{src:`data:image/svg+xml;base64,${this.IllustrationContent}`,alt:this.alt,"data-test":this.dataTest}):s("div",{class:"default","data-test":this.dataTest}))}static get assetsDirs(){return["svg"]}};i.style=":host .illustration{display:-ms-flexbox;display:flex;height:100%;width:auto}:host(.bds-illustration) img{width:100%;height:100%}";export{i as bds_illustration}