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.
@@ -48,3 +48,4 @@ declare const Button: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWit
48
48
  }, {}, string>;
49
49
  type Button = InstanceType<typeof Button>;
50
50
  export default Button;
51
+ //# sourceMappingURL=Button.svelte.d.ts.map
@@ -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,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;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;cAA4G,CAAC;AACvG,KAAK,MAAM,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;AAC5C,eAAe,MAAM,CAAC"}
@@ -9,3 +9,4 @@ export interface iProps extends HTMLButtonAttributes {
9
9
  loading?: boolean;
10
10
  loadingIcon?: undefined;
11
11
  }
12
+ //# sourceMappingURL=iProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iProps.d.ts","sourceRoot":"","sources":["../../../src/lib/atoms/Button/iProps.ts"],"names":[],"mappings":"AAAA,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,CAAC;IACtG,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;CACxB"}
@@ -30,3 +30,4 @@ declare const Icon: $$__sveltets_2_IsomorphicComponent<{
30
30
  }, {}, {}, string>;
31
31
  type Icon = InstanceType<typeof Icon>;
32
32
  export default Icon;
33
+ //# sourceMappingURL=Icon.svelte.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.svelte.d.ts","sourceRoot":"","sources":["../../../src/lib/atoms/Icons/Icon.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,aAAa,CAAC;AAgB1C,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;;;;;;;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"}
@@ -5,3 +5,4 @@ export interface iProps extends HTMLLabelAttributes {
5
5
  color?: string;
6
6
  size?: string;
7
7
  }
8
+ //# sourceMappingURL=iProps.d.ts.map
@@ -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"}
@@ -1,3 +1,4 @@
1
1
  import Button from "./Button/Button.svelte";
2
2
  import Icon from "./Icons/Icon.svelte";
3
3
  export { Button, Icon };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=generate-icon-list.d.cts.map
@@ -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.ts';
2
- import { IconButton } from './molecules/index.ts';
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
- //css export
2
- // import './do-theme/index.css';
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 };
@@ -47,3 +47,4 @@ declare const IconButton: $$__sveltets_2_IsomorphicComponent<{
47
47
  }, {}, {}, string>;
48
48
  type IconButton = InstanceType<typeof IconButton>;
49
49
  export default IconButton;
50
+ //# sourceMappingURL=IconButton.svelte.d.ts.map
@@ -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"}
@@ -12,3 +12,4 @@ export interface iProps extends HTMLButtonAttributes {
12
12
  iconPosition?: 'start' | 'end';
13
13
  rounded?: boolean;
14
14
  }
15
+ //# sourceMappingURL=iProps.d.ts.map
@@ -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"}
@@ -1,2 +1,3 @@
1
1
  import IconButton from "./IconButton/IconButton.svelte";
2
2
  export { IconButton };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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.0",
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
- "src/lib/do-theme/index.css",
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
- "svelte": "./dist/index.js",
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
- */