blip-ds 1.320.3 → 1.321.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blip-ds/blip-ds.esm.js +1 -1
- package/dist/blip-ds/p-4ab3c5ae.entry.js +1 -0
- package/dist/blip-ds/p-868b60a2.system.entry.js +1 -0
- package/dist/blip-ds/p-a39ef3b8.system.js +1 -1
- package/dist/blip-ds/p-ab1fe754.entry.js +1 -0
- package/dist/blip-ds/p-b99ec2ea.system.entry.js +1 -0
- package/dist/cjs/bds-icon.cjs.entry.js +8 -0
- package/dist/cjs/bds-illustration_2.cjs.entry.js +2 -149
- package/dist/collection/components/illustration/illustration.js +3 -2
- package/dist/esm/bds-icon.entry.js +8 -0
- package/dist/esm/bds-illustration_2.entry.js +2 -149
- package/dist/esm-es5/bds-icon.entry.js +1 -1
- package/dist/esm-es5/bds-illustration_2.entry.js +1 -1
- package/package.json +27 -13
- package/dist/blip-ds/p-2d9481bd.system.entry.js +0 -1
- package/dist/blip-ds/p-925bd635.entry.js +0 -1
- package/dist/blip-ds/p-a1092b25.entry.js +0 -1
- package/dist/blip-ds/p-f8ee7d2f.system.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host}from"./index-611fd21e.js";var
|
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-611fd21e.js";var dependencies={"blip-tokens":"^1.106.0"};var illustrationCss=":host .illustration{display:-ms-flexbox;display:flex;height:100%;width:auto}:host(.bds-illustration) img{width:100%;height:100%}";var BdsIllustration=function(){function t(t){var e=this;registerInstance(this,t);this.setIllustrationContent=function(){var t=dependencies["blip-tokens"].replace("^","");var s="https://cdn.jsdelivr.net/npm/blip-tokens@".concat(t,"/build/json/illustrations/").concat(e.type,"/").concat(e.name,".json");fetch(s).then((function(t){return t.json().then((function(t){e.IllustrationContent=t["asset-".concat(e.type,"-").concat(e.name,"-svg")]}))}))};this.IllustrationContent=undefined;this.type="default";this.name=undefined;this.alt=undefined;this.dataTest=null}t.prototype.componentWillLoad=function(){this.setIllustrationContent()};t.prototype.render=function(){return h(Host,{role:"img",class:{"bds-illustration":true}},this.IllustrationContent?h("img",{draggable:false,src:"data:image/svg+xml;base64,".concat(this.IllustrationContent),alt:this.alt,"data-test":this.dataTest}):h("div",{class:"default","data-test":this.dataTest}))};Object.defineProperty(t,"assetsDirs",{get:function(){return["svg"]},enumerable:false,configurable:true});return t}();BdsIllustration.style=illustrationCss;var skeletonCss=".skeleton{min-width:8px;min-height:8px;background-color:var(--color-content-default, #282828);opacity:0.16;overflow:hidden}.skeleton_shape--circle{border-radius:50%}.skeleton_shape--square{border-radius:8px}.animation{position:absolute;width:100%;height:100%;background:-webkit-gradient(linear, left top, right top, from(rgba(246, 246, 246, 0)), color-stop(50%, rgba(246, 246, 246, 0.56)), to(rgba(246, 246, 246, 0)));background:linear-gradient(90deg, rgba(246, 246, 246, 0) 0%, rgba(246, 246, 246, 0.56) 50%, rgba(246, 246, 246, 0) 100%);mix-blend-mode:overlay;-webkit-animation:2.5s ease-out infinite shine;animation:2.5s ease-out infinite shine}@-webkit-keyframes shine{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}20%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes shine{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}20%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}";var Skeleton=function(){function t(t){registerInstance(this,t);this.shape="square";this.height="50px";this.width="100%";this.dataTest=null}t.prototype.render=function(){var t;return h(Host,{style:{display:"flex",position:"relative",overflow:"hidden",width:this.width,height:this.height,borderRadius:this.shape==="circle"?"50%":"8px"}},h("bds-grid",{xxs:"12",class:(t={skeleton:true},t["skeleton_shape--".concat(this.shape)]=true,t)}),h("div",{style:{display:"flex",width:"100%",height:"100%",position:"absolute",borderRadius:this.shape==="circle"?"50%":"8px",overflow:"hidden"},"data-test":this.dataTest},h("div",{class:"animation"})))};return t}();Skeleton.style=skeletonCss;export{BdsIllustration as bds_illustration,Skeleton as bds_skeleton};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blip-ds",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.321.1",
|
|
4
4
|
"description": "Blip Design System",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"@stencil/react-output-target": "0.5.3",
|
|
40
40
|
"@stencil/sass": "1.5.2",
|
|
41
41
|
"@storybook/addon-actions": "7.0.22",
|
|
42
|
+
"@storybook/addon-console": "^2.0.0",
|
|
43
|
+
"@storybook/addon-docs": "^7.6.20",
|
|
42
44
|
"@storybook/addon-essentials": "^7.0.22",
|
|
43
45
|
"@storybook/addon-interactions": "^7.0.22",
|
|
44
46
|
"@storybook/addon-links": "^7.0.22",
|
|
45
|
-
"@storybook/addon-notes": "^5.3.21",
|
|
46
47
|
"@storybook/global": "5.0.0",
|
|
47
48
|
"@storybook/manager-api": "^7.4.1",
|
|
48
49
|
"@storybook/react": "^7.0.22",
|
|
49
50
|
"@storybook/react-webpack5": "^7.0.22",
|
|
50
|
-
"@storybook/storybook-deployer": "^2.8.16",
|
|
51
51
|
"@storybook/testing-library": "^0.2.0",
|
|
52
52
|
"@storybook/theming": "^7.4.1",
|
|
53
53
|
"@types/color": "^3.0.3",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"@types/webpack": "^5.28.0",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
|
58
58
|
"@typescript-eslint/parser": "^5.23.0",
|
|
59
|
+
"autoprefixer": "^10.4.7",
|
|
59
60
|
"babel-loader": "^8.2.5",
|
|
60
61
|
"babel-preset-react-app": "^10.0.1",
|
|
61
62
|
"color": "^4.2.3",
|
|
@@ -74,25 +75,38 @@
|
|
|
74
75
|
"husky": "^8.0.3",
|
|
75
76
|
"jest": "27.4.5",
|
|
76
77
|
"jest-cli": "27.4.5",
|
|
77
|
-
"npm-run-all": "^4.1.5",
|
|
78
78
|
"prettier": "^3.2.5",
|
|
79
79
|
"puppeteer": "^14.0.0",
|
|
80
|
-
"react
|
|
80
|
+
"react": "^18.1.0",
|
|
81
|
+
"react-dom": "^18.1.0",
|
|
81
82
|
"rimraf": "^6.0.1",
|
|
82
83
|
"semantic-release": "^23.0.8",
|
|
83
84
|
"storybook": "^7.0.22",
|
|
84
85
|
"ts-node": "^10.7.0",
|
|
85
86
|
"types-ramda": "0.29.4",
|
|
86
|
-
"typescript": "^4.7.2"
|
|
87
|
+
"typescript": "^4.7.2",
|
|
88
|
+
"yargs": "^16.2.2"
|
|
87
89
|
},
|
|
88
90
|
"dependencies": {
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
91
|
+
"blip-tokens": "^1.106.0"
|
|
92
|
+
},
|
|
93
|
+
"overrides": {
|
|
94
|
+
"giget": {
|
|
95
|
+
"tar": "^7.5.22"
|
|
96
|
+
},
|
|
97
|
+
"tar-fs": "^2.1.5",
|
|
98
|
+
"puppeteer": {
|
|
99
|
+
"ws": "^8.22.0"
|
|
100
|
+
},
|
|
101
|
+
"copy-webpack-plugin": {
|
|
102
|
+
"serialize-javascript": "^7.1.2"
|
|
103
|
+
},
|
|
104
|
+
"external-editor": {
|
|
105
|
+
"tmp": "^0.2.7"
|
|
106
|
+
},
|
|
107
|
+
"@storybook/builder-webpack5": {
|
|
108
|
+
"webpack-dev-middleware": "^7.4.5"
|
|
109
|
+
}
|
|
96
110
|
},
|
|
97
111
|
"repository": {
|
|
98
112
|
"type": "git",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-d105fb25.system.js"],(function(t){"use strict";var e,s,i;return{setters:[function(t){e=t.r;s=t.h;i=t.H}],execute:function(){var n="blip-ds";var o="0.0.0-development";var r="Blip Design System";var a="./dist/index.cjs.js";var l="./dist/index.js";var c="./dist/esm/index.mjs";var d="./dist/esm/index.mjs";var p="./dist/types/index.d.ts";var u="./dist/collection/collection-manifest.json";var b="./dist/blip-ds/blip-ds.js";var h=["dist/","loader/"];var m={generate:"stencil generate",clear:"rimraf node_modules/ && rimraf dist/ && rimraf www/",dev:'stencil build --docs && concurrently "npm:build:watch" "npm:storybook"',start:"stencil build --dev --watch --serve --docs",build:"stencil build --docs --prod","build:watch":"stencil build --watch","build:react":"cd ./blip-ds-react && npm install && npm run build",test:"stencil test --spec --e2e --screenshot --coverage","test:e2e":"stencil test --e2e --screenshot","test:unit":"stencil test --spec --coverage","test:watch":"stencil test --spec --e2e --screenshot --watch",storybook:"storybook dev -p 6006","storybook:build":"storybook build",eslint:"eslint . --ext .jsx,.ts,.tsx --fix","semantic-release":"semantic-release",commit:"git-cz",prepare:"husky install"};var f={"@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/addon-notes":"^5.3.21","@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","@types/color":"^3.0.3","@types/jest":"27.5.1","@types/puppeteer":"5.4.6","@types/webpack":"^5.28.0","@typescript-eslint/eslint-plugin":"^5.26.0","@typescript-eslint/parser":"^5.23.0","babel-loader":"^8.2.5","babel-preset-react-app":"^10.0.1",color:"^4.2.3",commitizen:"^4.2.4",concurrently:"^9.1.2","copy-webpack-plugin":"^11.0.0","cz-conventional-changelog":"^3.3.0","cz-customizable":"^6.3.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",husky:"^8.0.3",jest:"27.4.5","jest-cli":"27.4.5","npm-run-all":"^4.1.5",prettier:"^3.2.5",puppeteer:"^14.0.0","react-scripts":"^5.0.1",rimraf:"^6.0.1","semantic-release":"^23.0.8",storybook:"^7.0.22","ts-node":"^10.7.0","types-ramda":"0.29.4",typescript:"^4.7.2"};var g={"@storybook/addon-console":"^2.0.0","@storybook/addon-docs":"^7.6.20","@storybook/preset-create-react-app":"^7.6.20",autoprefixer:"^10.4.7","blip-tokens":"^1.105.0",react:"^18.1.0","react-dom":"^18.1.0"};var y={type:"git",url:"https://github.com/takenet/blip-ds.git"};var v={url:"https://github.com/takenet/blip-ds/issues"};var k="https://github.com/takenet/blip-ds#readme";var w={commitizen:{path:"./node_modules/cz-customizable"},"cz-customizable":{config:"./.cz-config.js"}};var x={production:[">0.2%","not dead","not op_mini all"],development:["last 1 chrome version","last 1 firefox version","last 1 safari version"]};var j="MIT";var X={fsevents:"^2.3.1"};var z={name:n,version:o,description:r,main:a,module:l,es2015:c,es2017:d,types:p,collection:u,"collection:main":"./dist/collection/index.js",unpkg:b,files:h,scripts:m,devDependencies:f,dependencies:g,repository:y,bugs:v,homepage:k,config:w,browserslist:x,license:j,optionalDependencies:X};var _=":host .illustration{display:-ms-flexbox;display:flex;height:100%;width:auto}:host(.bds-illustration) img{width:100%;height:100%}";var I=t("bds_illustration",function(){function t(t){var s=this;e(this,t);this.setIllustrationContent=function(){var t=z.dependencies["blip-tokens"].replace("^","");var e="https://cdn.jsdelivr.net/npm/blip-tokens@".concat(t,"/build/json/illustrations/").concat(s.type,"/").concat(s.name,".json");fetch(e).then((function(t){return t.json().then((function(t){s.IllustrationContent=t["asset-".concat(s.type,"-").concat(s.name,"-svg")]}))}))};this.IllustrationContent=undefined;this.type="default";this.name=undefined;this.alt=undefined;this.dataTest=null}t.prototype.componentWillLoad=function(){this.setIllustrationContent()};t.prototype.render=function(){return s(i,{role:"img",class:{"bds-illustration":true}},this.IllustrationContent?s("img",{draggable:false,src:"data:image/svg+xml;base64,".concat(this.IllustrationContent),alt:this.alt,"data-test":this.dataTest}):s("div",{class:"default","data-test":this.dataTest}))};Object.defineProperty(t,"assetsDirs",{get:function(){return["svg"]},enumerable:false,configurable:true});return t}());I.style=_;var C=".skeleton{min-width:8px;min-height:8px;background-color:var(--color-content-default, #282828);opacity:0.16;overflow:hidden}.skeleton_shape--circle{border-radius:50%}.skeleton_shape--square{border-radius:8px}.animation{position:absolute;width:100%;height:100%;background:-webkit-gradient(linear, left top, right top, from(rgba(246, 246, 246, 0)), color-stop(50%, rgba(246, 246, 246, 0.56)), to(rgba(246, 246, 246, 0)));background:linear-gradient(90deg, rgba(246, 246, 246, 0) 0%, rgba(246, 246, 246, 0.56) 50%, rgba(246, 246, 246, 0) 100%);mix-blend-mode:overlay;-webkit-animation:2.5s ease-out infinite shine;animation:2.5s ease-out infinite shine}@-webkit-keyframes shine{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}20%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes shine{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}20%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}";var T=t("bds_skeleton",function(){function t(t){e(this,t);this.shape="square";this.height="50px";this.width="100%";this.dataTest=null}t.prototype.render=function(){var t;return s(i,{style:{display:"flex",position:"relative",overflow:"hidden",width:this.width,height:this.height,borderRadius:this.shape==="circle"?"50%":"8px"}},s("bds-grid",{xxs:"12",class:(t={skeleton:true},t["skeleton_shape--".concat(this.shape)]=true,t)}),s("div",{style:{display:"flex",width:"100%",height:"100%",position:"absolute",borderRadius:this.shape==="circle"?"50%":"8px",overflow:"hidden"},"data-test":this.dataTest},s("div",{class:"animation"})))};return t}());T.style=C}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as s}from"./p-93b809e8.js";const i={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:"rimraf node_modules/ && rimraf dist/ && rimraf www/",dev:'stencil build --docs && concurrently "npm:build:watch" "npm:storybook"',start:"stencil build --dev --watch --serve --docs",build:"stencil build --docs --prod","build:watch":"stencil build --watch","build:react":"cd ./blip-ds-react && npm install && npm run build",test:"stencil test --spec --e2e --screenshot --coverage","test:e2e":"stencil test --e2e --screenshot","test:unit":"stencil test --spec --coverage","test:watch":"stencil test --spec --e2e --screenshot --watch",storybook:"storybook dev -p 6006","storybook:build":"storybook build",eslint:"eslint . --ext .jsx,.ts,.tsx --fix","semantic-release":"semantic-release",commit:"git-cz",prepare:"husky install"},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/addon-notes":"^5.3.21","@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","@types/color":"^3.0.3","@types/jest":"27.5.1","@types/puppeteer":"5.4.6","@types/webpack":"^5.28.0","@typescript-eslint/eslint-plugin":"^5.26.0","@typescript-eslint/parser":"^5.23.0","babel-loader":"^8.2.5","babel-preset-react-app":"^10.0.1",color:"^4.2.3",commitizen:"^4.2.4",concurrently:"^9.1.2","copy-webpack-plugin":"^11.0.0","cz-conventional-changelog":"^3.3.0","cz-customizable":"^6.3.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",husky:"^8.0.3",jest:"27.4.5","jest-cli":"27.4.5","npm-run-all":"^4.1.5",prettier:"^3.2.5",puppeteer:"^14.0.0","react-scripts":"^5.0.1",rimraf:"^6.0.1","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.6.20","@storybook/preset-create-react-app":"^7.6.20",autoprefixer:"^10.4.7","blip-tokens":"^1.105.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"}},browserslist:{production:[">0.2%","not dead","not op_mini all"],development:["last 1 chrome version","last 1 firefox version","last 1 safari version"]},license:"MIT",optionalDependencies:{fsevents:"^2.3.1"}},o=class{constructor(e){t(this,e),this.setIllustrationContent=()=>{const t=i.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 e(s,{role:"img",class:{"bds-illustration":!0}},this.IllustrationContent?e("img",{draggable:!1,src:`data:image/svg+xml;base64,${this.IllustrationContent}`,alt:this.alt,"data-test":this.dataTest}):e("div",{class:"default","data-test":this.dataTest}))}static get assetsDirs(){return["svg"]}};o.style=":host .illustration{display:-ms-flexbox;display:flex;height:100%;width:auto}:host(.bds-illustration) img{width:100%;height:100%}";const r=class{constructor(e){t(this,e),this.shape="square",this.height="50px",this.width="100%",this.dataTest=null}render(){return e(s,{style:{display:"flex",position:"relative",overflow:"hidden",width:this.width,height:this.height,borderRadius:"circle"===this.shape?"50%":"8px"}},e("bds-grid",{xxs:"12",class:{skeleton:!0,[`skeleton_shape--${this.shape}`]:!0}}),e("div",{style:{display:"flex",width:"100%",height:"100%",position:"absolute",borderRadius:"circle"===this.shape?"50%":"8px",overflow:"hidden"},"data-test":this.dataTest},e("div",{class:"animation"})))}};r.style=".skeleton{min-width:8px;min-height:8px;background-color:var(--color-content-default, #282828);opacity:0.16;overflow:hidden}.skeleton_shape--circle{border-radius:50%}.skeleton_shape--square{border-radius:8px}.animation{position:absolute;width:100%;height:100%;background:-webkit-gradient(linear, left top, right top, from(rgba(246, 246, 246, 0)), color-stop(50%, rgba(246, 246, 246, 0.56)), to(rgba(246, 246, 246, 0)));background:linear-gradient(90deg, rgba(246, 246, 246, 0) 0%, rgba(246, 246, 246, 0.56) 50%, rgba(246, 246, 246, 0) 100%);mix-blend-mode:overlay;-webkit-animation:2.5s ease-out infinite shine;animation:2.5s ease-out infinite shine}@-webkit-keyframes shine{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}20%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes shine{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}20%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}";export{o as bds_illustration,r as bds_skeleton}
|