@scalar/components 0.0.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.
Files changed (68) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +123 -0
  3. package/dist/components/ScalarButton/ScalarButton.spec.d.ts +2 -0
  4. package/dist/components/ScalarButton/ScalarButton.spec.d.ts.map +1 -0
  5. package/dist/components/ScalarButton/ScalarButton.stories.d.ts +889 -0
  6. package/dist/components/ScalarButton/ScalarButton.stories.d.ts.map +1 -0
  7. package/dist/components/ScalarButton/ScalarButton.vue.d.ts +55 -0
  8. package/dist/components/ScalarButton/ScalarButton.vue.d.ts.map +1 -0
  9. package/dist/components/ScalarButton/index.d.ts +2 -0
  10. package/dist/components/ScalarButton/index.d.ts.map +1 -0
  11. package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts +2 -0
  12. package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts.map +1 -0
  13. package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts +71 -0
  14. package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts.map +1 -0
  15. package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts +17 -0
  16. package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts.map +1 -0
  17. package/dist/components/ScalarIcon/SvgRenderer.d.ts +7 -0
  18. package/dist/components/ScalarIcon/SvgRenderer.d.ts.map +1 -0
  19. package/dist/components/ScalarIcon/icons/iconNames.d.ts +2 -0
  20. package/dist/components/ScalarIcon/icons/iconNames.d.ts.map +1 -0
  21. package/dist/components/ScalarIcon/icons/index.d.ts +4 -0
  22. package/dist/components/ScalarIcon/icons/index.d.ts.map +1 -0
  23. package/dist/components/ScalarIcon/index.d.ts +3 -0
  24. package/dist/components/ScalarIcon/index.d.ts.map +1 -0
  25. package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts +2 -0
  26. package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts.map +1 -0
  27. package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts +57 -0
  28. package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts.map +1 -0
  29. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts +35 -0
  30. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts.map +1 -0
  31. package/dist/components/ScalarIconButton/index.d.ts +2 -0
  32. package/dist/components/ScalarIconButton/index.d.ts.map +1 -0
  33. package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts +2 -0
  34. package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts.map +1 -0
  35. package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +326 -0
  36. package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts.map +1 -0
  37. package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts +48 -0
  38. package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts.map +1 -0
  39. package/dist/components/ScalarLoading/index.d.ts +2 -0
  40. package/dist/components/ScalarLoading/index.d.ts.map +1 -0
  41. package/dist/components/ScalarModal/ScalarModal.spec.d.ts +2 -0
  42. package/dist/components/ScalarModal/ScalarModal.spec.d.ts.map +1 -0
  43. package/dist/components/ScalarModal/ScalarModal.stories.d.ts +202 -0
  44. package/dist/components/ScalarModal/ScalarModal.stories.d.ts.map +1 -0
  45. package/dist/components/ScalarModal/ScalarModal.vue.d.ts +52 -0
  46. package/dist/components/ScalarModal/ScalarModal.vue.d.ts.map +1 -0
  47. package/dist/components/ScalarModal/index.d.ts +2 -0
  48. package/dist/components/ScalarModal/index.d.ts.map +1 -0
  49. package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts +2 -0
  50. package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts.map +1 -0
  51. package/dist/components/ScalarTextField/ScalarTextField.stories.d.ts +992 -0
  52. package/dist/components/ScalarTextField/ScalarTextField.stories.d.ts.map +1 -0
  53. package/dist/components/ScalarTextField/ScalarTextField.vue.d.ts +73 -0
  54. package/dist/components/ScalarTextField/ScalarTextField.vue.d.ts.map +1 -0
  55. package/dist/components/ScalarTextField/index.d.ts +2 -0
  56. package/dist/components/ScalarTextField/index.d.ts.map +1 -0
  57. package/dist/index-6bb15e9f.js +1802 -0
  58. package/dist/index-c8ae42b3.cjs +4 -0
  59. package/dist/index.cjs +54 -0
  60. package/dist/index.d.ts +13 -0
  61. package/dist/index.d.ts.map +1 -0
  62. package/dist/index.js +3757 -0
  63. package/dist/index.umd.cjs +57 -0
  64. package/dist/style.css +1 -0
  65. package/package.json +92 -0
  66. package/src/tailwind/index.ts +1 -0
  67. package/src/tailwind/tailwind.css +18 -0
  68. package/src/tailwind/tailwind.theme.ts +65 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarButton/ScalarButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAMrD;;;GAGG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB2B,CAAA;AAErC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA;AAE7B,eAAO,MAAM,SAAS,EAAE,KAAuC,CAAA;AAE/D,eAAO,MAAM,OAAO,EAAE,KASrB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAS9B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAe5B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAiBtB,CAAA"}
@@ -0,0 +1,55 @@
1
+ import { type VariantProps } from 'cva';
2
+ import { type LoadingState } from '../ScalarLoading';
3
+ declare const button: any;
4
+ type ButtonVariants = VariantProps<typeof button>;
5
+ export type ButtonProps = {
6
+ isDisabled?: boolean;
7
+ isFullWidth?: boolean;
8
+ loadingState?: LoadingState;
9
+ size?: ButtonVariants['size'];
10
+ variant?: ButtonVariants['variant'];
11
+ title?: string;
12
+ };
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
14
+ isDisabled: boolean;
15
+ isFullWidth: boolean;
16
+ size: string;
17
+ variant: string;
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
19
+ isDisabled: boolean;
20
+ isFullWidth: boolean;
21
+ size: string;
22
+ variant: string;
23
+ }>>>, {
24
+ size: any;
25
+ isDisabled: boolean;
26
+ variant: any;
27
+ isFullWidth: boolean;
28
+ }, {}>, {
29
+ icon?(_: {}): any;
30
+ default?(_: {}): any;
31
+ }>;
32
+ export default _default;
33
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
+ type __VLS_TypePropsToRuntimeProps<T> = {
35
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
36
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
+ } : {
38
+ type: import('vue').PropType<T[K]>;
39
+ required: true;
40
+ };
41
+ };
42
+ type __VLS_WithDefaults<P, D> = {
43
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
+ default: D[K];
45
+ }> : P[K];
46
+ };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
50
+ type __VLS_WithTemplateSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
55
+ //# sourceMappingURL=ScalarButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarButton/ScalarButton.vue"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,KAAK,CAAA;AAIvC,OAAO,EAAiB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAInE,QAAA,MAAM,MAAM,KAsCV,CAAA;AAEF,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAA;AAEjD,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAA;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;;;;;;;;;;;;;;;;;kBA0I0B,GAAG;qBACA,GAAG;;AA1IjC,wBAkKI;AACJ,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as ScalarButton, type ButtonProps } from './ScalarButton.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarIcon.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarIcon.spec.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIcon/ScalarIcon.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,71 @@
1
+ import type { StoryObj } from '@storybook/vue3';
2
+ declare const meta: {
3
+ component: import("vue").DefineComponent<{
4
+ name: {
5
+ type: import("vue").PropType<string>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ name: {
10
+ type: import("vue").PropType<string>;
11
+ required: true;
12
+ };
13
+ }>>, {}, {}>;
14
+ tags: string[];
15
+ argTypes: {
16
+ name: {
17
+ control: string;
18
+ options: string[];
19
+ };
20
+ };
21
+ parameters: {
22
+ docs: {
23
+ description: {
24
+ component: string;
25
+ };
26
+ };
27
+ };
28
+ render: (args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
29
+ name: {
30
+ type: import("vue").PropType<string>;
31
+ required: true;
32
+ };
33
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
+ name: {
35
+ type: import("vue").PropType<string>;
36
+ required: true;
37
+ };
38
+ }>>, {}, {}>>) => {
39
+ components: {
40
+ ScalarIcon: import("vue").DefineComponent<{
41
+ name: {
42
+ type: import("vue").PropType<string>;
43
+ required: true;
44
+ };
45
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
+ name: {
47
+ type: import("vue").PropType<string>;
48
+ required: true;
49
+ };
50
+ }>>, {}, {}>;
51
+ };
52
+ setup(this: void): {
53
+ args: import("@storybook/vue3").ComponentPropsAndSlots<import("vue").DefineComponent<{
54
+ name: {
55
+ type: import("vue").PropType<string>;
56
+ required: true;
57
+ };
58
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
+ name: {
60
+ type: import("vue").PropType<string>;
61
+ required: true;
62
+ };
63
+ }>>, {}, {}>>;
64
+ };
65
+ template: string;
66
+ };
67
+ };
68
+ export default meta;
69
+ type Story = StoryObj<typeof meta>;
70
+ export declare const Base: Story;
71
+ //# sourceMappingURL=ScalarIcon.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIcon/ScalarIcon.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAKrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqByB,CAAA;AAEnC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAElB,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { type Icon } from './icons/';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ name: Icon;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ name: Icon;
6
+ }>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ //# sourceMappingURL=ScalarIcon.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIcon/ScalarIcon.vue"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAW,MAAM,UAAU,CAAA;;UAoErC,IAAI;;UAAJ,IAAI;;AAFZ,wBAQG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type FunctionalComponent, type SVGAttributes } from 'vue';
2
+ type RendererProps = {
3
+ raw: string;
4
+ } & SVGAttributes;
5
+ declare const _default: FunctionalComponent<RendererProps, {}, any>;
6
+ export default _default;
7
+ //# sourceMappingURL=SvgRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SvgRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIcon/SvgRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAGnB,MAAM,KAAK,CAAA;AAEZ,KAAK,aAAa,GAAG;IACnB,GAAG,EAAE,MAAM,CAAA;CAEZ,GAAG,aAAa,CAAA;;AAoCjB,wBAmBE"}
@@ -0,0 +1,2 @@
1
+ export declare const iconNames: string[];
2
+ //# sourceMappingURL=iconNames.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconNames.d.ts","sourceRoot":"","sources":["../../../../src/components/ScalarIcon/icons/iconNames.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,UAkBrB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { iconNames } from './iconNames';
2
+ export declare const getIcon: (name: string) => any;
3
+ export type Icon = (typeof iconNames)[number];
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScalarIcon/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAI5C,eAAO,MAAM,OAAO,SAAU,MAAM,QASnC,CAAA;AAED,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { default as ScalarIcon } from './ScalarIcon.vue';
2
+ export { type Icon } from './icons';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarIconButton.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarIconButton.spec.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/ScalarIconButton.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,57 @@
1
+ import type { StoryObj } from '@storybook/vue3';
2
+ declare const meta: {
3
+ component: import("vue").DefineComponent<{
4
+ label: {
5
+ type: import("vue").PropType<string>;
6
+ required: true;
7
+ };
8
+ variant: {
9
+ type: import("vue").PropType<any>;
10
+ default: string;
11
+ };
12
+ icon: {
13
+ type: import("vue").PropType<string>;
14
+ required: true;
15
+ };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ label: {
18
+ type: import("vue").PropType<string>;
19
+ required: true;
20
+ };
21
+ variant: {
22
+ type: import("vue").PropType<any>;
23
+ default: string;
24
+ };
25
+ icon: {
26
+ type: import("vue").PropType<string>;
27
+ required: true;
28
+ };
29
+ }>>, {
30
+ variant: any;
31
+ }, {}>;
32
+ tags: string[];
33
+ argTypes: {
34
+ icon: {
35
+ control: string;
36
+ options: string[];
37
+ };
38
+ label: {
39
+ control: string;
40
+ };
41
+ variant: {
42
+ control: string;
43
+ options: string[];
44
+ };
45
+ };
46
+ parameters: {
47
+ docs: {
48
+ description: {
49
+ component: string;
50
+ };
51
+ };
52
+ };
53
+ };
54
+ export default meta;
55
+ type Story = StoryObj<typeof meta>;
56
+ export declare const Base: Story;
57
+ //# sourceMappingURL=ScalarIconButton.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarIconButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/ScalarIconButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAKrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkB+B,CAAA;AAEzC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAElB,CAAA"}
@@ -0,0 +1,35 @@
1
+ import { type Icon } from '../ScalarIcon';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ label: string;
4
+ icon: Icon;
5
+ variant?: any;
6
+ }>, {
7
+ variant: string;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ label: string;
10
+ icon: Icon;
11
+ variant?: any;
12
+ }>, {
13
+ variant: string;
14
+ }>>>, {
15
+ variant: any;
16
+ }, {}>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
32
+ type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
35
+ //# sourceMappingURL=ScalarIconButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarIconButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/ScalarIconButton.vue"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,eAAe,CAAA;;WAgG1C,MAAM;UACP,IAAI;;;;;WADH,MAAM;UACP,IAAI;;;;;;;AAHd,wBAUG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as ScalarIconButton } from './ScalarIconButton.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarIconButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScalarLoading.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarLoading.spec.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarLoading/ScalarLoading.spec.ts"],"names":[],"mappings":""}