do-ui-design-system 0.1.0 → 0.1.2
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/atoms/Button/Button.svelte.d.ts +1 -0
- package/dist/atoms/Button/Button.svelte.d.ts.map +1 -0
- package/dist/atoms/Button/iProps.d.ts +1 -0
- package/dist/atoms/Button/iProps.d.ts.map +1 -0
- package/dist/atoms/Icons/Icon.svelte.d.ts +1 -0
- package/dist/atoms/Icons/Icon.svelte.d.ts.map +1 -0
- package/dist/atoms/Icons/iProps.d.ts +1 -0
- package/dist/atoms/Icons/iProps.d.ts.map +1 -0
- package/dist/atoms/index.d.ts +1 -0
- package/dist/atoms/index.d.ts.map +1 -0
- package/dist/do-theme/icomoon/generate-icon-list.d.cts +1 -0
- package/dist/do-theme/icomoon/generate-icon-list.d.cts.map +1 -0
- package/dist/do-theme/icomoon/iconList.d.ts +1 -0
- package/dist/do-theme/icomoon/iconList.d.ts.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -4
- package/dist/molecules/IconButton/IconButton.svelte.d.ts +1 -0
- package/dist/molecules/IconButton/IconButton.svelte.d.ts.map +1 -0
- package/dist/molecules/IconButton/iProps.d.ts +1 -0
- package/dist/molecules/IconButton/iProps.d.ts.map +1 -0
- package/dist/molecules/index.d.ts +1 -0
- package/dist/molecules/index.d.ts.map +1 -0
- package/package.json +21 -7
- package/src/lib/do-theme/index.css +0 -16
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/atoms/Button/Button.svelte.ts"],"names":[],"mappings":"AA0BA,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,C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AC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AAKD;;;;;;;GAOG;AACH,QAAA,MAAM,IAAI;;WAlB0D,MAAM,CAAC,MAAM,CAAC;;;;;kBAkB8B,CAAC;AAC/F,KAAK,IAAI,GAAG,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC;AACxC,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iProps.d.ts","sourceRoot":"","sources":["../../../src/lib/atoms/Icons/iProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,MAAM,WAAW,MAAO,SAAQ,mBAAmB;IAC/C,IAAI,EAAE,SAAS,GAAG,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
package/dist/atoms/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-icon-list.d.cts","sourceRoot":"","sources":["../../../../../src/lib/do-theme/icomoon/generate-icon-list.cjs"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
declare const iconList: readonly ["icon-loading", "icon-close", "icon-copy", "icon-alert", "icon-eye", "icon-eye-closed", "icon-info", "icon-layers", "icon-marker", "icon-move", "icon-contrast", "icon-arrow", "icon-chevron-up-down", "icon-chevron-down", "icon-download", "icon-plus", "icon-trash", "icon-chain", "icon-check", "icon-frame", "icon-database", "icon-menu", "icon-refresh"];
|
|
2
2
|
export default iconList;
|
|
3
3
|
export type IconNames = typeof iconList[number];
|
|
4
|
+
//# sourceMappingURL=iconList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconList.d.ts","sourceRoot":"","sources":["../../../src/lib/do-theme/icomoon/iconList.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,QAAQ,2WAwBJ,CAAC;AAEX,eAAe,QAAQ,CAAC;AACxB,MAAM,MAAM,SAAS,GAAG,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { Button, Icon } from './atoms/index.
|
|
2
|
-
import { IconButton } from './molecules/index.
|
|
1
|
+
import { Button, Icon } from './atoms/index.js';
|
|
2
|
+
import { IconButton } from './molecules/index.js';
|
|
3
3
|
export { Button, Icon, IconButton };
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,UAAU,EAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { Button, Icon } from './atoms/index.ts';
|
|
4
|
-
import { IconButton } from './molecules/index.ts';
|
|
1
|
+
import { Button, Icon } from './atoms/index.js';
|
|
2
|
+
import { IconButton } from './molecules/index.js';
|
|
5
3
|
export { Button, Icon, IconButton };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButton.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/molecules/IconButton/IconButton.svelte.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAkC1C,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AAKD;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,UAAU;;;;;;;eA1BgW,MAAM,CAAC,UAAU,CAAC;;;;;;;;;kBA0B5Q,CAAC;AACrG,KAAK,UAAU,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iProps.d.ts","sourceRoot":"","sources":["../../../src/lib/molecules/IconButton/iProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,MAAM,WAAW,MAAO,SAAQ,oBAAoB;IACnD,OAAO,CAAC,EAAE,gBAAgB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,aAAa,GAAG,eAAe,GAAG,MAAM,CAAC;IAC/G,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,MAAM,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/molecules/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,gCAAgC,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "do-ui-design-system",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Design system en Svelte + CSS + Storybook",
|
|
5
5
|
"author": "Data Observatory",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,21 +17,35 @@
|
|
|
17
17
|
"lint": "eslint . && prettier --check .",
|
|
18
18
|
"format": "prettier --write .",
|
|
19
19
|
"sb": "storybook dev -p 6006",
|
|
20
|
-
"build-storybook": "storybook build"
|
|
21
|
-
"deploy:sb": "aws s3 sync ./storybook-static/ \"s3://doui-douis334ee98a3-exurk2nzipoy\" --delete --profile aplicaciones",
|
|
22
|
-
"invalidate:sb": "aws cloudfront create-invalidation --distribution-id EV3SCINCO86TM --paths \"/*\" --profile aplicaciones",
|
|
23
|
-
"full-deploy:sb": "npm run build-storybook && npm run deploy:sb && npm run invalidate:sb"
|
|
20
|
+
"build-storybook": "storybook build"
|
|
24
21
|
},
|
|
25
22
|
"files": [
|
|
26
23
|
"dist",
|
|
27
|
-
"
|
|
24
|
+
"dist/do-theme/index.css",
|
|
25
|
+
"!dist/**/*.test.*",
|
|
26
|
+
"!dist/**/*.spec.*",
|
|
27
|
+
"!dist/**/*.stories.*",
|
|
28
|
+
"!src/lib/**/*.test.*",
|
|
29
|
+
"!src/lib/**/*.spec.*",
|
|
28
30
|
"!dist/**/*.test.*",
|
|
29
31
|
"!dist/**/*.spec.*",
|
|
30
32
|
"!dist/**/*.stories.*",
|
|
31
33
|
"!dist/**/*.mdx*",
|
|
32
34
|
"!dist/**/*.iProps*"
|
|
33
35
|
],
|
|
34
|
-
"
|
|
36
|
+
"style": "src/lib/do-theme/index.css" ,
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"svelte": "./dist/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./atoms": {
|
|
43
|
+
"svelte": "./dist/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./molecules": {
|
|
46
|
+
"svelte": "./dist/index.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
35
49
|
"type": "module",
|
|
36
50
|
"peerDependencies": {
|
|
37
51
|
"svelte": "^5.0.0"
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@import "./var-light.css";
|
|
2
|
-
@import "./var-dark.css";
|
|
3
|
-
@import "./font.css";
|
|
4
|
-
@import "./icomoon/icons.css";
|
|
5
|
-
@import "./button.css";
|
|
6
|
-
@import "./border.css";
|
|
7
|
-
@import "./color.css";
|
|
8
|
-
|
|
9
|
-
/*
|
|
10
|
-
To modify themes (light and dark):
|
|
11
|
-
|
|
12
|
-
There are 2 files, var-dark.css and var-light.css, where you can find colors and base definitions.
|
|
13
|
-
|
|
14
|
-
Then are css component files with style definitions that use those variables.
|
|
15
|
-
|
|
16
|
-
*/
|