@surgeui/ds-vue 1.0.0

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 (98) hide show
  1. package/LICENSE.md +23 -0
  2. package/README.md +185 -0
  3. package/dist/components/atoms/Avatar.vue.d.ts +22 -0
  4. package/dist/components/atoms/Avatar.vue.d.ts.map +1 -0
  5. package/dist/components/atoms/Badge.vue.d.ts +26 -0
  6. package/dist/components/atoms/Badge.vue.d.ts.map +1 -0
  7. package/dist/components/atoms/Button.vue.d.ts +38 -0
  8. package/dist/components/atoms/Button.vue.d.ts.map +1 -0
  9. package/dist/components/atoms/CheckboxGroup.vue.d.ts +42 -0
  10. package/dist/components/atoms/CheckboxGroup.vue.d.ts.map +1 -0
  11. package/dist/components/atoms/FileUpload.vue.d.ts +49 -0
  12. package/dist/components/atoms/FileUpload.vue.d.ts.map +1 -0
  13. package/dist/components/atoms/FormField.vue.d.ts +27 -0
  14. package/dist/components/atoms/FormField.vue.d.ts.map +1 -0
  15. package/dist/components/atoms/Heading.vue.d.ts +54 -0
  16. package/dist/components/atoms/Heading.vue.d.ts.map +1 -0
  17. package/dist/components/atoms/Image.vue.d.ts +23 -0
  18. package/dist/components/atoms/Image.vue.d.ts.map +1 -0
  19. package/dist/components/atoms/Input.vue.d.ts +68 -0
  20. package/dist/components/atoms/Input.vue.d.ts.map +1 -0
  21. package/dist/components/atoms/Link.vue.d.ts +37 -0
  22. package/dist/components/atoms/Link.vue.d.ts.map +1 -0
  23. package/dist/components/atoms/Panel.vue.d.ts +27 -0
  24. package/dist/components/atoms/Panel.vue.d.ts.map +1 -0
  25. package/dist/components/atoms/Progress.vue.d.ts +31 -0
  26. package/dist/components/atoms/Progress.vue.d.ts.map +1 -0
  27. package/dist/components/atoms/RadioGroup.vue.d.ts +43 -0
  28. package/dist/components/atoms/RadioGroup.vue.d.ts.map +1 -0
  29. package/dist/components/atoms/SelectBox.vue.d.ts +56 -0
  30. package/dist/components/atoms/SelectBox.vue.d.ts.map +1 -0
  31. package/dist/components/atoms/Slider.vue.d.ts +68 -0
  32. package/dist/components/atoms/Slider.vue.d.ts.map +1 -0
  33. package/dist/components/atoms/Spinner.vue.d.ts +13 -0
  34. package/dist/components/atoms/Spinner.vue.d.ts.map +1 -0
  35. package/dist/components/atoms/Switch.vue.d.ts +32 -0
  36. package/dist/components/atoms/Switch.vue.d.ts.map +1 -0
  37. package/dist/components/atoms/Textarea.vue.d.ts +43 -0
  38. package/dist/components/atoms/Textarea.vue.d.ts.map +1 -0
  39. package/dist/components/global/_stories/Preview.d.ts +6 -0
  40. package/dist/components/global/_stories/Preview.d.ts.map +1 -0
  41. package/dist/components/molecules/AccordionItem.vue.d.ts +48 -0
  42. package/dist/components/molecules/AccordionItem.vue.d.ts.map +1 -0
  43. package/dist/components/molecules/AvatarGroup.vue.d.ts +34 -0
  44. package/dist/components/molecules/AvatarGroup.vue.d.ts.map +1 -0
  45. package/dist/components/molecules/ButtonGroup.vue.d.ts +23 -0
  46. package/dist/components/molecules/ButtonGroup.vue.d.ts.map +1 -0
  47. package/dist/components/molecules/CheckboxGroupField.vue.d.ts +28 -0
  48. package/dist/components/molecules/CheckboxGroupField.vue.d.ts.map +1 -0
  49. package/dist/components/molecules/Dropdown.vue.d.ts +37 -0
  50. package/dist/components/molecules/Dropdown.vue.d.ts.map +1 -0
  51. package/dist/components/molecules/FileUploadField.vue.d.ts +51 -0
  52. package/dist/components/molecules/FileUploadField.vue.d.ts.map +1 -0
  53. package/dist/components/molecules/FloatButton.vue.d.ts +445 -0
  54. package/dist/components/molecules/FloatButton.vue.d.ts.map +1 -0
  55. package/dist/components/molecules/FormFields.vue.d.ts +31 -0
  56. package/dist/components/molecules/FormFields.vue.d.ts.map +1 -0
  57. package/dist/components/molecules/InputField.vue.d.ts +200 -0
  58. package/dist/components/molecules/InputField.vue.d.ts.map +1 -0
  59. package/dist/components/molecules/LinkGroup.vue.d.ts +25 -0
  60. package/dist/components/molecules/LinkGroup.vue.d.ts.map +1 -0
  61. package/dist/components/molecules/Password.vue.d.ts +87 -0
  62. package/dist/components/molecules/Password.vue.d.ts.map +1 -0
  63. package/dist/components/molecules/RadioGroupField.vue.d.ts +29 -0
  64. package/dist/components/molecules/RadioGroupField.vue.d.ts.map +1 -0
  65. package/dist/components/molecules/RangeField.vue.d.ts +63 -0
  66. package/dist/components/molecules/RangeField.vue.d.ts.map +1 -0
  67. package/dist/components/molecules/SelectBoxField.vue.d.ts +147 -0
  68. package/dist/components/molecules/SelectBoxField.vue.d.ts.map +1 -0
  69. package/dist/components/molecules/SliderField.vue.d.ts +70 -0
  70. package/dist/components/molecules/SliderField.vue.d.ts.map +1 -0
  71. package/dist/components/molecules/SwitchField.vue.d.ts +26 -0
  72. package/dist/components/molecules/SwitchField.vue.d.ts.map +1 -0
  73. package/dist/components/molecules/TextareaField.vue.d.ts +114 -0
  74. package/dist/components/molecules/TextareaField.vue.d.ts.map +1 -0
  75. package/dist/components/organisms/Accordion.vue.d.ts +35 -0
  76. package/dist/components/organisms/Accordion.vue.d.ts.map +1 -0
  77. package/dist/components/organisms/Alert.vue.d.ts +34 -0
  78. package/dist/components/organisms/Alert.vue.d.ts.map +1 -0
  79. package/dist/components/organisms/Dialog.vue.d.ts +44 -0
  80. package/dist/components/organisms/Dialog.vue.d.ts.map +1 -0
  81. package/dist/components/organisms/Tabs.vue.d.ts +33 -0
  82. package/dist/components/organisms/Tabs.vue.d.ts.map +1 -0
  83. package/dist/composables/useTheme.d.ts +3 -0
  84. package/dist/composables/useTheme.d.ts.map +1 -0
  85. package/dist/composables/useUniqueId.d.ts +5 -0
  86. package/dist/composables/useUniqueId.d.ts.map +1 -0
  87. package/dist/index.d.ts +59 -0
  88. package/dist/index.d.ts.map +1 -0
  89. package/dist/index.es.js +5720 -0
  90. package/dist/index.umd.js +1 -0
  91. package/dist/plugin/theme.d.ts +26 -0
  92. package/dist/plugin/theme.d.ts.map +1 -0
  93. package/dist/style.css +1 -0
  94. package/dist/types/index.d.ts +632 -0
  95. package/dist/types/index.d.ts.map +1 -0
  96. package/dist/utils/accessibility.d.ts +33 -0
  97. package/dist/utils/accessibility.d.ts.map +1 -0
  98. package/package.json +73 -0
package/LICENSE.md ADDED
@@ -0,0 +1,23 @@
1
+ # License
2
+
3
+ ## MIT License
4
+
5
+ Copyright (c) 2024
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,185 @@
1
+ # SurgeUp Design System
2
+
3
+ A modern Vue.js 3 component library with Composition API, designed to create beautiful and consistent user interfaces.
4
+
5
+ [![npm version](https://badge.fury.io/js/%40surgeup%2Fds-vue.svg)](https://badge.fury.io/js/%40surgeup%2Fds-vue)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
+ [![Vue 3](https://img.shields.io/badge/Vue-3.x-4FC08D.svg)](https://vuejs.org/)
8
+ [![TypeScript](https://img.shields.io/badge/TypeScript-Ready-3178C6.svg)](https://www.typescriptlang.org/)
9
+
10
+ ## ✨ Features
11
+
12
+ - 🎨 **Modern Design** - Polished and professional components
13
+ - 🎯 **Composition API** - Built with Vue 3 Composition API
14
+ - 🔧 **TypeScript** - Full TypeScript support for better developer experience
15
+ - 🎨 **Customizable** - Global configuration and theming support
16
+ - 📱 **Responsive** - Components adapted to all screen sizes
17
+ - ♿ **Accessible** - WCAG 2.1 AA compliant with complete accessibility support
18
+ - 🌙 **Dark Mode** - Native dark mode support
19
+ - ⚡ **Performance** - Optimized for best performance
20
+
21
+ ## 🚀 Quick Start
22
+
23
+ ### Installation
24
+
25
+ ```bash
26
+ npm install @surgeui/ds-vue
27
+ ```
28
+
29
+ ### Basic Usage
30
+
31
+ ```vue
32
+ <script setup>
33
+ import '@surgeui/ds-vue/style.css'
34
+ import { SuButton } from '@surgeui/ds-vue'
35
+ import type { ButtonProps } from '@surgeui/ds-vue/types'
36
+ </script>
37
+
38
+ <template>
39
+ <SuButton variant="primary">
40
+ My first button
41
+ </SuButton>
42
+ </template>
43
+ ```
44
+
45
+ ### Global Installation
46
+
47
+ ```js
48
+ // main.js
49
+ import { createApp } from 'vue'
50
+ import SurgeUpDS from '@surgeui/ds-vue'
51
+ import '@surgeui/ds-vue/style.css'
52
+ import App from './App.vue'
53
+
54
+ const app = createApp(App)
55
+ app.use(SurgeUpDS)
56
+ app.mount('#app')
57
+ ```
58
+
59
+ ## 🎨 Global Configuration
60
+
61
+ Customize default component behavior when installing:
62
+
63
+ ```js
64
+ app.use(SurgeUpDS, {
65
+ // Component prefix (default: 'Su')
66
+ prefix: 'My', // Components become MyButton, MyInput, etc.
67
+
68
+ // Text color
69
+ textPrimaryColor: '#213222',
70
+ textSecondaryColor: '#454344'
71
+ textTeriaryColor: '#676965'
72
+ })
73
+ ```
74
+
75
+ ### With Icons
76
+
77
+ SurgeUI use **Heroicons** for add and display icons
78
+
79
+ ```vue
80
+ <script setup>
81
+ import { informationCircleIcon, HeartIcon } from '@heroicons/vue/24/outline'
82
+ </script>
83
+
84
+ <template>
85
+ <SuHeading>
86
+ <informationCircleIcon /> User informations
87
+ </SuHeading>
88
+ <SuButton variant="primary" :icon="HeartIcon" iconDisplay="left">
89
+ I like it
90
+ </SuButton>
91
+ </template>
92
+ ```
93
+
94
+ ## ♿ Accessibility
95
+
96
+ All components follow WCAG 2.1 AA standards:
97
+
98
+ - **Focus Management** - Clear focus indicators and logical tab order
99
+ - **Keyboard Navigation** - Full keyboard support
100
+ - **Screen Readers** - Proper ARIA attributes and announcements
101
+ - **Color Contrast** - WCAG AA compliant contrast ratios (4.5:1 minimum)
102
+ - **Touch Targets** - Minimum 44px touch targets
103
+ - **Reduced Motion** - Respects `prefers-reduced-motion`
104
+ - **High Contrast** - Supports `prefers-contrast: high`
105
+ - **RTL Support** - Right-to-left language support
106
+
107
+ ## 🌙 Dark Mode
108
+
109
+ Dark mode is automatically supported through CSS media queries:
110
+
111
+ ```css
112
+ @media (prefers-color-scheme: dark) {
113
+ /* Dark mode styles are automatically applied */
114
+ }
115
+ ```
116
+
117
+ ## 📱 Responsive Design
118
+
119
+ All components are responsive by default:
120
+
121
+ - **Mobile-first** approach
122
+ - **Flexible layouts** that adapt to screen size
123
+ - **Touch-friendly** interactions
124
+ - **Automatic responsive behavior** (e.g., FormFields switches to vertical on mobile)
125
+
126
+ ## 🎭 Storybook
127
+
128
+ Explore all components interactively in Storybook:
129
+
130
+ ```bash
131
+ npm run storybook
132
+ ```
133
+
134
+ ## 🛠️ Development
135
+
136
+ ### Prerequisites
137
+
138
+ - Node.js 16+
139
+ - Vue.js 3.3+
140
+
141
+ ### Build the library
142
+
143
+ ```bash
144
+ npm run build
145
+ ```
146
+
147
+ ### Development mode
148
+
149
+ ```bash
150
+ npm run dev
151
+ ```
152
+
153
+ ### Run Storybook
154
+
155
+ ```bash
156
+ npm run storybook
157
+ ```
158
+
159
+ ## 📖 Documentation
160
+
161
+ Visit our [complete documentation](https://mahmoud-nb.github.io/surge.ui/) for:
162
+
163
+ - **Component API** - Detailed props, events, and slots
164
+ - **Usage examples** - Real-world implementation examples
165
+ - **Accessibility guide** - Best practices for inclusive design
166
+ - **Customization** - Theming and configuration options
167
+
168
+ ## 🤝 Contributing
169
+
170
+ We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
171
+
172
+ ## 📄 License
173
+
174
+ MIT License - see the [LICENSE](LICENSE) file for details.
175
+
176
+ ## 🔗 Links
177
+
178
+ - [Documentation](https://mahmoud-nb.github.io/surge.ui/)
179
+ - [Storybook](https://mahmoud-nb.github.io/surge.ui/storybook/)
180
+ - [GitHub Repository](https://github.com/mahmoud-nb/surge.ui)
181
+ - [npm Package](https://www.npmjs.com/package/@surgeui/ds-vue)
182
+
183
+ ---
184
+
185
+ Made with ❤️ by the SurgeUp team
@@ -0,0 +1,22 @@
1
+ import { AvatarProps } from '../../types';
2
+ declare const _default: import('vue').DefineComponent<AvatarProps, {
3
+ focus: () => void;
4
+ avatarRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
5
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ error: (event: Event) => any;
7
+ click: (event: MouseEvent) => any;
8
+ load: (event: Event) => any;
9
+ }, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{
10
+ onError?: ((event: Event) => any) | undefined;
11
+ onClick?: ((event: MouseEvent) => any) | undefined;
12
+ onLoad?: ((event: Event) => any) | undefined;
13
+ }>, {
14
+ variant: import('../../types').AvatarVariant;
15
+ size: import('../../types').AvatarSize;
16
+ loading: boolean;
17
+ clickable: boolean;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
+ avatarRef: HTMLDivElement;
20
+ }, HTMLDivElement>;
21
+ export default _default;
22
+ //# sourceMappingURL=Avatar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/Avatar.vue"],"names":[],"mappings":"AA+cA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;AAgT1C,wBAWG"}
@@ -0,0 +1,26 @@
1
+ import { BadgeProps } from '../../types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Readonly<{
5
+ default?(): any;
6
+ }> & {
7
+ default?(): any;
8
+ };
9
+ refs: {};
10
+ rootEl: HTMLSpanElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
14
+ variant: import('../../types').BadgeVariant;
15
+ size: import('../../types').Size;
16
+ radius: import('../../types').Radius;
17
+ iconDisplay: "left" | "right" | "only";
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
26
+ //# sourceMappingURL=Badge.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/Badge.vue"],"names":[],"mappings":"AAmbA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AA8FzC,iBAAS,cAAc;WA4DT,OAAO,IAA6B;;oBA/IpC,GAAG;;oBAAH,GAAG;;;;EAoJhB;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;yFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { ButtonProps } from '../../types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLButtonElement;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ click: (event: MouseEvent) => any;
13
+ focus: (event: FocusEvent) => any;
14
+ blur: (event: FocusEvent) => any;
15
+ keydown: (event: KeyboardEvent) => any;
16
+ }, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{
17
+ onClick?: ((event: MouseEvent) => any) | undefined;
18
+ onFocus?: ((event: FocusEvent) => any) | undefined;
19
+ onBlur?: ((event: FocusEvent) => any) | undefined;
20
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
21
+ }>, {
22
+ variant: import('../../types').ButtonVariant;
23
+ size: import('../../types').ButtonSize;
24
+ loading: boolean;
25
+ radius: import('../../types').ButtonRadius;
26
+ iconDisplay: "left" | "right" | "only";
27
+ disabled: boolean;
28
+ block: boolean;
29
+ tabIndex: number;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
38
+ //# sourceMappingURL=Button.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/Button.vue"],"names":[],"mappings":"AA8YA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AA4G1C,iBAAS,cAAc;WA+DT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;2FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { CheckboxGroupProps } from '../../types';
2
+ type __VLS_Props = CheckboxGroupProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: (string | number)[];
5
+ } & __VLS_Props;
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ before?(_: {}): any;
10
+ after?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: any;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ focus: (event: FocusEvent) => any;
18
+ blur: (event: FocusEvent) => any;
19
+ change: (value: (string | number)[]) => any;
20
+ "update:modelValue": (value: (string | number)[]) => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ onFocus?: ((event: FocusEvent) => any) | undefined;
23
+ onBlur?: ((event: FocusEvent) => any) | undefined;
24
+ onChange?: ((value: (string | number)[]) => any) | undefined;
25
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
26
+ }>, {
27
+ size: import('../../types').Size;
28
+ disabled: boolean;
29
+ options: import('../../types').CheckboxOption[];
30
+ state: import('../../types').State;
31
+ required: boolean;
32
+ displayType: import('../../types').CheckboxDisplayType;
33
+ direction: "horizontal" | "vertical";
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
42
+ //# sourceMappingURL=CheckboxGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/CheckboxGroup.vue"],"names":[],"mappings":"AA6sBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAIjD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAqItC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAChC,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA2GT,OAAO,IAA6B;;wBAXtB,GAAG;uBACH,GAAG;;;;EAe9B;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { BaseFileUploadProps, UploadedFile } from '../../types';
2
+ type __VLS_Props = BaseFileUploadProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: UploadedFile[];
5
+ } & __VLS_Props;
6
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
7
+ focus: () => void;
8
+ clear: () => void;
9
+ fileInputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
10
+ dropZoneRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ error: (error: string, file?: File | undefined) => any;
13
+ focus: (event: FocusEvent) => any;
14
+ blur: (event: FocusEvent) => any;
15
+ change: (files: UploadedFile[]) => any;
16
+ "update:modelValue": (value: UploadedFile[]) => any;
17
+ upload: (file: UploadedFile) => any;
18
+ remove: (file: UploadedFile) => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ onError?: ((error: string, file?: File | undefined) => any) | undefined;
21
+ onFocus?: ((event: FocusEvent) => any) | undefined;
22
+ onBlur?: ((event: FocusEvent) => any) | undefined;
23
+ onChange?: ((files: UploadedFile[]) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: UploadedFile[]) => any) | undefined;
25
+ onUpload?: ((file: UploadedFile) => any) | undefined;
26
+ onRemove?: ((file: UploadedFile) => any) | undefined;
27
+ }>, {
28
+ variant: import('../../types').FileUploadVariant;
29
+ size: import('../../types').FileUploadSize;
30
+ loading: boolean;
31
+ disabled: boolean;
32
+ state: import('../../types').FileUploadState;
33
+ required: boolean;
34
+ multiple: boolean;
35
+ maxSize: number;
36
+ maxFiles: number;
37
+ readonly: boolean;
38
+ placeholder: string;
39
+ dragText: string;
40
+ browseText: string;
41
+ allowPreview: boolean;
42
+ showFileList: boolean;
43
+ showProgress: boolean;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
+ fileInputRef: HTMLInputElement;
46
+ dropZoneRef: HTMLDivElement;
47
+ }, HTMLDivElement>;
48
+ export default _default;
49
+ //# sourceMappingURL=FileUpload.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileUpload.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/FileUpload.vue"],"names":[],"mappings":"AA6/BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAGhE,KAAK,WAAW,GAAG,mBAAmB,CAAC;AAoWvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,YAAY,EAAE,CAAC;CAC3B,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+ThB,wBAWG"}
@@ -0,0 +1,27 @@
1
+ import { FormFieldProps } from '../../types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {
6
+ fieldId: string;
7
+ messageId: string | undefined;
8
+ }): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<FormFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {
15
+ disabled: boolean;
16
+ state: import('../../types').State;
17
+ required: boolean;
18
+ message: string;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
27
+ //# sourceMappingURL=FormField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/FormField.vue"],"names":[],"mappings":"AAwLA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAoD7C,iBAAS,cAAc;WAiDT,OAAO,IAA6B;;;;;YAVrB,GAAG;;;;EAe/B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,54 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ before?(_: {}): any;
5
+ default?(_: {}): any;
6
+ after?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
+ level: {
14
+ type: (NumberConstructor | StringConstructor)[];
15
+ default: number;
16
+ validator: (value: number | string) => boolean;
17
+ };
18
+ variant: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ validator: (val: string) => boolean;
22
+ };
23
+ truncate: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ level: {
29
+ type: (NumberConstructor | StringConstructor)[];
30
+ default: number;
31
+ validator: (value: number | string) => boolean;
32
+ };
33
+ variant: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ validator: (val: string) => boolean;
37
+ };
38
+ truncate: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ }>> & Readonly<{}>, {
43
+ level: string | number;
44
+ variant: string;
45
+ truncate: boolean;
46
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
47
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
+ export default _default;
49
+ type __VLS_WithTemplateSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };
54
+ //# sourceMappingURL=Heading.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/Heading.vue"],"names":[],"mappings":"AAgIA,iBAAS,cAAc;WA6DT,OAAO,IAA6B;;wBAZtB,GAAG;yBACF,GAAG;uBACL,GAAG;;;;EAe7B;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;2BASE,MAAM,GAAG,MAAM;;;;;yBAQjB,MAAM;;;;;;;;;;2BARJ,MAAM,GAAG,MAAM;;;;;yBAQjB,MAAM;;;;;;;;;;4EAQzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { ImageProps } from '../../types';
2
+ declare const _default: import('vue').DefineComponent<ImageProps, {
3
+ reload: () => void;
4
+ imageRef: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
5
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ error: (event: Event) => any;
7
+ load: (event: Event) => any;
8
+ }, string, import('vue').PublicProps, Readonly<ImageProps> & Readonly<{
9
+ onError?: ((event: Event) => any) | undefined;
10
+ onLoad?: ((event: Event) => any) | undefined;
11
+ }>, {
12
+ loading: "eager" | "lazy";
13
+ placeholder: boolean;
14
+ ratio: import('../../types').ImageRatio;
15
+ fit: import('../../types').ImageFit;
16
+ position: import('../../types').ImagePosition;
17
+ lazy: boolean;
18
+ placeholderColor: string;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
+ imageRef: HTMLImageElement;
21
+ }, HTMLDivElement>;
22
+ export default _default;
23
+ //# sourceMappingURL=Image.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/Image.vue"],"names":[],"mappings":"AAmZA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;AA8RzC,wBAWG"}
@@ -0,0 +1,68 @@
1
+ import { InputProps } from '../../types';
2
+ type __VLS_Props = InputProps;
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string | number;
5
+ } & __VLS_Props;
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ prefix?(_: {
10
+ class: string;
11
+ }): any;
12
+ suffix?(_: {
13
+ class: string;
14
+ }): any;
15
+ };
16
+ refs: {
17
+ inputRef: HTMLInputElement;
18
+ };
19
+ rootEl: any;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
23
+ focus: () => void | undefined;
24
+ select: () => void | undefined;
25
+ inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
26
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ input: (event: Event) => any;
28
+ focus: (event: FocusEvent) => any;
29
+ blur: (event: FocusEvent) => any;
30
+ keydown: (event: KeyboardEvent) => any;
31
+ change: (event: Event) => any;
32
+ keyup: (event: KeyboardEvent) => any;
33
+ "update:modelValue": (value: string | number) => any;
34
+ "prefix-click": (event: MouseEvent) => any;
35
+ "prefix-icon-click": (event: MouseEvent) => any;
36
+ "suffix-click": (event: MouseEvent) => any;
37
+ "suffix-icon-click": (event: MouseEvent) => any;
38
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
39
+ onInput?: ((event: Event) => any) | undefined;
40
+ onFocus?: ((event: FocusEvent) => any) | undefined;
41
+ onBlur?: ((event: FocusEvent) => any) | undefined;
42
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
43
+ onChange?: ((event: Event) => any) | undefined;
44
+ onKeyup?: ((event: KeyboardEvent) => any) | undefined;
45
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
46
+ "onPrefix-click"?: ((event: MouseEvent) => any) | undefined;
47
+ "onPrefix-icon-click"?: ((event: MouseEvent) => any) | undefined;
48
+ "onSuffix-click"?: ((event: MouseEvent) => any) | undefined;
49
+ "onSuffix-icon-click"?: ((event: MouseEvent) => any) | undefined;
50
+ }>, {
51
+ type: import('../../types').InputType;
52
+ size: import('../../types').Size;
53
+ disabled: boolean;
54
+ state: import('../../types').State;
55
+ required: boolean;
56
+ readonly: boolean;
57
+ textAlign: import('../../types').TextAlign;
58
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
59
+ inputRef: HTMLInputElement;
60
+ }, any>;
61
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
62
+ export default _default;
63
+ type __VLS_WithTemplateSlots<T, S> = T & {
64
+ new (): {
65
+ $slots: S;
66
+ };
67
+ };
68
+ //# sourceMappingURL=Input.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/Input.vue"],"names":[],"mappings":"AAoZA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAIzC,KAAK,WAAW,GAAG,UAAU,CAAC;AAqJ9B,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA+HT,OAAO,IAA6B;;;;YAZtB,GAAG;;;YACF,GAAG;;;;;;EAgB/B;AAgCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { LinkProps } from '../../types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<LinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ click: (event: MouseEvent) => any;
13
+ focus: (event: FocusEvent) => any;
14
+ blur: (event: FocusEvent) => any;
15
+ keydown: (event: KeyboardEvent) => any;
16
+ }, string, import('vue').PublicProps, Readonly<LinkProps> & Readonly<{
17
+ onClick?: ((event: MouseEvent) => any) | undefined;
18
+ onFocus?: ((event: FocusEvent) => any) | undefined;
19
+ onBlur?: ((event: FocusEvent) => any) | undefined;
20
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
21
+ }>, {
22
+ variant: import('../../types').LinkVariant;
23
+ size: import('../../types').LinkSize;
24
+ iconDisplay: "left" | "right" | "only";
25
+ disabled: boolean;
26
+ underline: import('../../types').LinkUnderline;
27
+ external: boolean;
28
+ tabIndex: number;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+ //# sourceMappingURL=Link.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.vue.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/Link.vue"],"names":[],"mappings":"AAmbA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AA0HxC,iBAAS,cAAc;WAqFT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}