@histoire/controls 0.8.1 → 0.8.4

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.
Files changed (51) hide show
  1. package/.histoire/dist/__sandbox.html +16 -0
  2. package/.histoire/dist/assets/BaseEmpty.c5ebb434.js +11 -0
  3. package/.histoire/dist/assets/HomeView.2d2d0dfe.js +24 -0
  4. package/.histoire/dist/assets/HstCheckbox.story.ccd10161.js +151 -0
  5. package/.histoire/dist/assets/HstColorShades.story.d71deb80.js +540 -0
  6. package/.histoire/dist/assets/HstCopyIcon.ef403c78.js +55 -0
  7. package/.histoire/dist/assets/HstNumber.story.1e0e7b71.js +165 -0
  8. package/.histoire/dist/assets/HstSelect.story.8a2b4741.js +290 -0
  9. package/.histoire/dist/assets/HstSlider.story.4155f6ba.js +153 -0
  10. package/.histoire/dist/assets/HstText.story.43417ceb.js +143 -0
  11. package/.histoire/dist/assets/HstTextarea.story.3e39b89e.js +111 -0
  12. package/.histoire/dist/assets/HstTokenGrid.story.e2f237c4.js +156 -0
  13. package/.histoire/dist/assets/HstTokenList.story.bc7b0288.js +184 -0
  14. package/.histoire/dist/assets/HstWrapper.fee42109.js +61 -0
  15. package/.histoire/dist/assets/SearchPane.37a81ba7.js +426 -0
  16. package/.histoire/dist/assets/StoryView.2c1f1961.js +2262 -0
  17. package/.histoire/dist/assets/bundle-main.c70a2b14.js +1156 -0
  18. package/.histoire/dist/assets/bundle-sandbox.f56c0808.js +84 -0
  19. package/.histoire/dist/assets/const.36730b48.js +717 -0
  20. package/.histoire/dist/assets/global-components.d165b38c.js +5806 -0
  21. package/.histoire/dist/assets/search-docs-data.2e7ad186.js +6 -0
  22. package/.histoire/dist/assets/style.dc851298.css +2574 -0
  23. package/.histoire/dist/assets/vendor.31c91490.js +28973 -0
  24. package/.histoire/dist/histoire.svg +51 -0
  25. package/.histoire/dist/index.html +16 -0
  26. package/dist/components/select/CustomSelect.vue.d.ts +2 -2
  27. package/dist/components/select/HstSelect.vue.d.ts +4 -4
  28. package/dist/index.d.ts +170 -170
  29. package/dist/index.es.js +12 -8
  30. package/dist/types.d.ts +1 -1
  31. package/histoire-dist/__sandbox.html +15 -0
  32. package/histoire-dist/assets/BaseEmpty.a84c14c8.js +1 -0
  33. package/histoire-dist/assets/HomeView.f524bd4b.js +1 -0
  34. package/histoire-dist/assets/HstCheckbox.story.9f622545.js +1 -0
  35. package/histoire-dist/assets/HstInput.story.945401ce.js +1 -0
  36. package/histoire-dist/assets/SearchModal.76c035f2.js +1 -0
  37. package/histoire-dist/assets/StoryView.e4c41518.js +15 -0
  38. package/histoire-dist/assets/global-components.84d0ab22.js +1 -0
  39. package/histoire-dist/assets/histoire-text-dark.a529813a.svg +89 -0
  40. package/histoire-dist/assets/histoire-text.1d4474b5.svg +89 -0
  41. package/histoire-dist/assets/histoire.8af7bd1f.svg +51 -0
  42. package/histoire-dist/assets/index.58f51dd0.js +1 -0
  43. package/histoire-dist/assets/preview-settings.a634d101.js +1 -0
  44. package/histoire-dist/assets/sandbox.2c60450a.js +1 -0
  45. package/histoire-dist/assets/style.7657d2ac.css +1 -0
  46. package/histoire-dist/assets/vendor.70a554f6.js +9 -0
  47. package/histoire-dist/index.html +15 -0
  48. package/package.json +3 -3
  49. package/src/components/select/CustomSelect.vue +12 -11
  50. package/src/components/select/HstSelect.vue +2 -2
  51. package/src/types.ts +1 -1
@@ -0,0 +1,51 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ width="512"
6
+ height="512"
7
+ viewBox="0 0 512 512"
8
+ version="1.1"
9
+ id="svg5"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ xmlns:svg="http://www.w3.org/2000/svg">
12
+ <defs
13
+ id="defs2" />
14
+ <g
15
+ id="layer1">
16
+ <rect
17
+ style="opacity:0.5;fill:#34d399;fill-opacity:1;stroke-width:1.00375"
18
+ id="rect1372"
19
+ width="314.30923"
20
+ height="406.60901"
21
+ x="-26.565063"
22
+ y="134.75079"
23
+ transform="rotate(-23.821262)"
24
+ ry="8" />
25
+ <rect
26
+ style="fill:#34d399;fill-opacity:1;stroke-width:1.00375"
27
+ id="rect850"
28
+ width="314.30923"
29
+ height="406.60901"
30
+ x="77.571838"
31
+ y="72.808708"
32
+ ry="8"
33
+ transform="rotate(-4.5744534)" />
34
+ </g>
35
+ <g
36
+ id="layer3">
37
+ <path
38
+ id="path1657-3"
39
+ style="display:inline;fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8.34923;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
40
+ d="M 359.38947,355.95134 320.72935,176.52942 238.34613,238.94118 Z M 273.64124,273.06608 152.59788,156.05591 191.25804,335.47786 Z" />
41
+ </g>
42
+ <g
43
+ id="layer2"
44
+ style="display:none">
45
+ <path
46
+ id="path1657"
47
+ style="fill:#b4fae2;fill-opacity:1;stroke:#b4fae2;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
48
+ d="m 296,103.98242 -135.53125,177.9668 h 88.70117 z M 262.83008,230.05078 216,408.01758 351.53125,230.05078 Z"
49
+ transform="rotate(-4.156553,256,256.00691)" />
50
+ </g>
51
+ </svg>
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Histoire controls</title>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1">
7
+ <meta name="description" content="">
8
+ <link rel="stylesheet" href="/assets/style.dc851298.css">
9
+ <link rel="icon" type="image/svg+xml" href="/histoire.svg"/>
10
+ <link rel="preload" href="/assets/vendor.31c91490.js" as="script" crossOrigin="anonymous"><link rel="prefetch" href="/assets/global-components.d165b38c.js" as="script" crossOrigin="anonymous"><link rel="prefetch" href="/assets/StoryView.2c1f1961.js" as="script" crossOrigin="anonymous">
11
+ </head>
12
+ <body>
13
+ <div id="app"></div>
14
+ <script type="module" src="/assets/bundle-main.c70a2b14.js"></script>
15
+ </body>
16
+ </html>
@@ -1,12 +1,12 @@
1
1
  import { HstControlOption } from '../../types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  modelValue: string;
4
- options: Record<string, string> | string[] | HstControlOption[];
4
+ options: Record<string, any> | string[] | HstControlOption[];
5
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  "update:modelValue": (value: string) => void;
7
7
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
8
  modelValue: string;
9
- options: Record<string, string> | string[] | HstControlOption[];
9
+ options: Record<string, any> | string[] | HstControlOption[];
10
10
  }>>> & {
11
11
  "onUpdate:modelValue"?: (value: string) => any;
12
12
  }, {}>;
@@ -2,15 +2,15 @@ import { HstControlOption } from '../../types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  title?: string;
4
4
  modelValue: string;
5
- options: Record<string, string> | string[] | HstControlOption[];
5
+ options: Record<string, any> | string[] | HstControlOption[];
6
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- "update:modelValue": (value: string) => void;
7
+ "update:modelValue": (value: any) => void;
8
8
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
9
  title?: string;
10
10
  modelValue: string;
11
- options: Record<string, string> | string[] | HstControlOption[];
11
+ options: Record<string, any> | string[] | HstControlOption[];
12
12
  }>>> & {
13
- "onUpdate:modelValue"?: (value: string) => any;
13
+ "onUpdate:modelValue"?: (value: any) => any;
14
14
  }, {}>;
15
15
  export default _default;
16
16
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;