@dolanske/vui 1.2.1 → 1.4.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 (115) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -27
  3. package/package.json +2 -2
  4. package/src/App.vue +8 -0
  5. package/src/components/Accordion/Accordion.vue +10 -3
  6. package/src/components/Accordion/accordion.scss +18 -3
  7. package/src/components/Button/Button.vue +5 -4
  8. package/src/components/Button/button.scss +9 -1
  9. package/src/components/ButtonGroup/button-group.scss +2 -2
  10. package/src/components/Calendar/calendar.scss +5 -0
  11. package/src/components/Card/Card.vue +1 -1
  12. package/src/components/CopyClipboard/CopyClipboard.vue +10 -3
  13. package/src/components/CopyClipboard/copy-clipboard.scss +1 -1
  14. package/src/components/Dropdown/Dropdown.vue +1 -15
  15. package/src/components/Dropdown/dropdown-item.scss +1 -1
  16. package/src/components/Dropdown/dropdown.scss +2 -2
  17. package/src/components/Grid/Grid.vue +3 -0
  18. package/src/components/Input/Counter.vue +1 -1
  19. package/src/components/Input/Password.vue +1 -1
  20. package/src/components/Input/input.scss +3 -3
  21. package/src/components/OTP/otp.scss +3 -3
  22. package/src/components/Pagination/Pagination.vue +25 -10
  23. package/src/components/Popout/Popout.vue +30 -9
  24. package/src/components/Popout/popout.scss +2 -1
  25. package/src/components/Progress/progress.scss +1 -1
  26. package/src/components/Select/Select.vue +2 -0
  27. package/src/components/Select/select.scss +1 -1
  28. package/src/components/Sidebar/sidebar.scss +1 -1
  29. package/src/components/Table/Head.vue +23 -16
  30. package/src/components/Table/table.scss +9 -8
  31. package/src/components/Tabs/Tabs.vue +1 -1
  32. package/src/components/Tabs/tabs.scss +2 -2
  33. package/src/components/Tooltip/Tooltip.vue +9 -17
  34. package/src/components/Tooltip/tooltip.scss +1 -4
  35. package/src/examples/ExampleAccordions.vue +17 -4
  36. package/src/examples/ExampleCopyClipboard.vue +2 -2
  37. package/src/examples/ExamplePalette.vue +6 -0
  38. package/src/examples/ExamplePopouts.vue +1 -1
  39. package/src/examples/ExampleTables.vue +164 -0
  40. package/src/examples/ExampleTabs.vue +3 -2
  41. package/src/internal/Backdrop/backdrop.scss +2 -2
  42. package/src/shared/helpers.ts +7 -0
  43. package/src/style/animation.scss +33 -5
  44. package/src/style/core.scss +24 -10
  45. package/src/style/fonts.scss +73 -0
  46. package/src/style/layout.scss +8 -39
  47. package/src/style/theme.scss +1 -1
  48. package/src/style/tooltip.scss +4 -4
  49. package/src/style/typography.scss +45 -25
  50. package/src/vite-env.d.ts +1 -1
  51. package/dist/components/Accordion/Accordion.vue.d.ts +0 -47
  52. package/dist/components/Accordion/AccordionGroup.vue.d.ts +0 -21
  53. package/dist/components/Alert/Alert.vue.d.ts +0 -36
  54. package/dist/components/Avatar/Avatar.vue.d.ts +0 -25
  55. package/dist/components/Badge/Badge.vue.d.ts +0 -22
  56. package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +0 -22
  57. package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +0 -18
  58. package/dist/components/Button/Button.vue.d.ts +0 -32
  59. package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +0 -22
  60. package/dist/components/Calendar/Calendar.vue.d.ts +0 -27
  61. package/dist/components/Card/Card.vue.d.ts +0 -26
  62. package/dist/components/Checkbox/Checkbox.vue.d.ts +0 -33
  63. package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +0 -41
  64. package/dist/components/Divider/Divider.vue.d.ts +0 -23
  65. package/dist/components/Drawer/Drawer.vue.d.ts +0 -53
  66. package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -183
  67. package/dist/components/Dropdown/DropdownItem.vue.d.ts +0 -23
  68. package/dist/components/Dropdown/DropdownTitle.vue.d.ts +0 -21
  69. package/dist/components/Flex/Flex.vue.d.ts +0 -41
  70. package/dist/components/Grid/Grid.vue.d.ts +0 -34
  71. package/dist/components/Input/Color.vue.d.ts +0 -11
  72. package/dist/components/Input/Counter.vue.d.ts +0 -19
  73. package/dist/components/Input/Dropzone.vue.d.ts +0 -193
  74. package/dist/components/Input/File.vue.d.ts +0 -8
  75. package/dist/components/Input/Input.vue.d.ts +0 -56
  76. package/dist/components/Input/Password.vue.d.ts +0 -6
  77. package/dist/components/Input/Textarea.vue.d.ts +0 -31
  78. package/dist/components/Kbd/Kbd.vue.d.ts +0 -23
  79. package/dist/components/Kbd/KbdGroup.vue.d.ts +0 -19
  80. package/dist/components/Modal/Confirm.vue.d.ts +0 -43
  81. package/dist/components/Modal/Modal.vue.d.ts +0 -58
  82. package/dist/components/OTP/OTP.vue.d.ts +0 -44
  83. package/dist/components/OTP/OTPItem.vue.d.ts +0 -5
  84. package/dist/components/Pagination/Pagination.vue.d.ts +0 -46
  85. package/dist/components/Pagination/pagination.d.ts +0 -12
  86. package/dist/components/Popout/Popout.vue.d.ts +0 -42
  87. package/dist/components/Progress/Progress.vue.d.ts +0 -33
  88. package/dist/components/Radio/Radio.vue.d.ts +0 -29
  89. package/dist/components/Radio/RadioGroup.vue.d.ts +0 -27
  90. package/dist/components/Select/Select.vue.d.ts +0 -35
  91. package/dist/components/Sheet/Sheet.vue.d.ts +0 -47
  92. package/dist/components/Sidebar/Sidebar.vue.d.ts +0 -70
  93. package/dist/components/Skeleton/Skeleton.vue.d.ts +0 -8
  94. package/dist/components/Spinner/Spinner.vue.d.ts +0 -6
  95. package/dist/components/Switch/Switch.vue.d.ts +0 -28
  96. package/dist/components/Table/Cell.vue.d.ts +0 -22
  97. package/dist/components/Table/Head.vue.d.ts +0 -30
  98. package/dist/components/Table/Root.vue.d.ts +0 -41
  99. package/dist/components/Table/SelectAll.vue.d.ts +0 -2
  100. package/dist/components/Table/SelectRow.vue.d.ts +0 -6
  101. package/dist/components/Table/index.d.ts +0 -6
  102. package/dist/components/Table/table.d.ts +0 -68
  103. package/dist/components/Tabs/Tab.vue.d.ts +0 -22
  104. package/dist/components/Tabs/Tabs.vue.d.ts +0 -34
  105. package/dist/components/Toast/Toasts.vue.d.ts +0 -2
  106. package/dist/components/Toast/toast.d.ts +0 -287
  107. package/dist/components/Tooltip/Tooltip.vue.d.ts +0 -33
  108. package/dist/index.d.ts +0 -56
  109. package/dist/internal/Backdrop/Backdrop.vue.d.ts +0 -21
  110. package/dist/shared/helpers.d.ts +0 -32
  111. package/dist/shared/slots.d.ts +0 -20
  112. package/dist/shared/theme.d.ts +0 -3
  113. package/dist/shared/types.d.ts +0 -24
  114. package/dist/vui.css +0 -1
  115. package/dist/vui.js +0 -16166
@@ -0,0 +1,73 @@
1
+ // Regular
2
+ @font-face {
3
+ font-display: swap;
4
+ font-family: 'Inter';
5
+ font-style: normal;
6
+ font-weight: 300;
7
+ src: url('/fonts/Inter_18pt-Light.ttf') format('truetype');
8
+ }
9
+
10
+ @font-face {
11
+ font-display: swap;
12
+ font-family: 'Inter';
13
+ font-style: normal;
14
+ font-weight: 400;
15
+ src: url('/fonts/Inter_18pt-Regular.ttf') format('truetype');
16
+ }
17
+
18
+ @font-face {
19
+ font-display: swap;
20
+ font-family: 'Inter';
21
+ font-style: normal;
22
+ font-weight: 500;
23
+ src: url('/fonts/Inter_18pt-Medium.ttf') format('truetype');
24
+ }
25
+
26
+ @font-face {
27
+ font-display: swap;
28
+ font-family: 'Inter';
29
+ font-style: normal;
30
+ font-weight: 600;
31
+ src: url('/fonts/Inter_18pt-SemiBold.ttf') format('truetype');
32
+ }
33
+
34
+ @font-face {
35
+ font-display: swap;
36
+ font-family: 'Inter';
37
+ font-style: normal;
38
+ font-weight: 700;
39
+ src: url('/fonts/Inter_18pt-Bold.ttf') format('truetype');
40
+ }
41
+
42
+ @font-face {
43
+ font-display: swap;
44
+ font-family: 'Inter';
45
+ font-style: normal;
46
+ font-weight: 800;
47
+ src: url('/fonts/Inter_18pt-ExtraBold.ttf') format('truetype');
48
+ }
49
+
50
+ @font-face {
51
+ font-display: swap;
52
+ font-family: 'Inter';
53
+ font-style: normal;
54
+ font-weight: 900;
55
+ src: url('/fonts/Inter_18pt-Black.ttf') format('truetype');
56
+ }
57
+
58
+ // Monospace
59
+ @font-face {
60
+ font-display: swap;
61
+ font-family: 'Geist Mono';
62
+ font-style: normal;
63
+ font-weight: 400;
64
+ src: url('/fonts/GeistMono-Regular.ttf') format('truetype');
65
+ }
66
+
67
+ @font-face {
68
+ font-display: swap;
69
+ font-family: 'Geist Mono';
70
+ font-style: normal;
71
+ font-weight: 600;
72
+ src: url('/fonts/GeistMono-SemiBold.ttf') format('truetype');
73
+ }
@@ -19,12 +19,16 @@ $containers: 'xs', 's', 'm', 'l', 'xl', 'xxl';
19
19
  }
20
20
  }
21
21
 
22
- $widths: 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100;
22
+ $sizes: 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100;
23
23
 
24
- @each $width in $widths {
24
+ @each $size in $sizes {
25
25
  $extra: '%';
26
- .w-#{$width} {
27
- width: #{$width + $extra} !important;
26
+ .w-#{$size} {
27
+ width: #{$size + $extra} !important;
28
+ }
29
+
30
+ .h-#{$size} {
31
+ height: #{$size + $extra} !important;
28
32
  }
29
33
  }
30
34
 
@@ -163,19 +167,6 @@ $sizes: 0, 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl';
163
167
  .p-#{$size} {
164
168
  padding: var(--space-#{$size});
165
169
  }
166
-
167
- // Gap
168
- // .g-#{$size} {
169
- // gap: var(--space-#{$size});
170
- // }
171
-
172
- // .g-y-#{$size} {
173
- // row-gap: var(--space-#{$size});
174
- // }
175
-
176
- // .g-x-#{$size} {
177
- // column-gap: var(--space-#{$size});
178
- // }
179
170
  }
180
171
 
181
172
  // Z-index
@@ -186,25 +177,3 @@ $zindexes: 0, 10, 20, 30, 40, 50, auto;
186
177
  z-index: $zindex;
187
178
  }
188
179
  }
189
-
190
- // Grid
191
-
192
- // .grid {
193
- // display: grid;
194
- // }
195
-
196
- // .inline-grid {
197
- // display: inline-table;
198
- // }
199
-
200
- // $cols: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
201
-
202
- // @each $col in $cols {
203
- // .col-#{$col} {
204
- // grid-template-columns: repeat($col, 1fr);
205
- // }
206
-
207
- // .row {
208
- // grid-template-rows: repeat($col, 1fr);
209
- // }
210
- // }
@@ -41,7 +41,7 @@
41
41
  --light-color-bg-accent-lowered: hsla(from var(--light-color-accent) h s l / 0.6);
42
42
  --light-color-bg-accent-raised: hsla(from var(--light-color-accent) h s l / 0.75);
43
43
 
44
- --light-box-shadow: 0 2px 12px rgba(8, 8, 8, 0.075);
44
+ --light-box-shadow: 0 2px 12px rgba(8, 8, 8, 0.085);
45
45
  --light-box-shadow-strong: 0 4px 15px rgba(8, 8, 8, 0.2);
46
46
  }
47
47
 
@@ -32,7 +32,7 @@ Available tooltip positions:
32
32
  max-width: 512px;
33
33
  opacity: 0;
34
34
  cursor: default;
35
- z-index: -1;
35
+ z-index: var(--z-behind);
36
36
  visibility: hidden;
37
37
  pointer-events: none;
38
38
  max-width: 256px;
@@ -43,7 +43,7 @@ Available tooltip positions:
43
43
  &:before {
44
44
  visibility: visible;
45
45
  opacity: 1;
46
- z-index: 99999;
46
+ z-index: var(--z-popout);
47
47
  }
48
48
  }
49
49
  }
@@ -67,7 +67,7 @@ Available tooltip positions:
67
67
  content: attr(data-title-left);
68
68
  top: 50%;
69
69
  transform: translateY(-50%);
70
- z-index: 99999;
70
+ z-index: var(--z-popout);
71
71
  right: calc(100% + 4px);
72
72
  }
73
73
 
@@ -75,7 +75,7 @@ Available tooltip positions:
75
75
  content: attr(data-title-right);
76
76
  top: 50%;
77
77
  transform: translateY(-50%);
78
- z-index: 99999;
78
+ z-index: var(--z-popout);
79
79
  left: calc(100% + 4px);
80
80
  }
81
81
 
@@ -11,7 +11,8 @@ h4,
11
11
  h5,
12
12
  h6 {
13
13
  display: block;
14
- font-weight: 800;
14
+ font-weight: var(--font-weight-extrabold);
15
+ line-height: var(--line-height-title);
15
16
  }
16
17
 
17
18
  h1 {
@@ -44,8 +45,8 @@ table td,
44
45
  blockquote,
45
46
  p {
46
47
  font-size: var(--font-size-m);
47
- line-height: 1.4em;
48
- font-weight: 400;
48
+ line-height: var(--line-height-base);
49
+ font-weight: var(--font-weight);
49
50
 
50
51
  & > * {
51
52
  line-height: inherit;
@@ -62,20 +63,9 @@ p {
62
63
  }
63
64
  }
64
65
 
65
- code {
66
- font-family: var(--global-font-mono);
67
- border-radius: var(--border-radius-s);
68
- background-color: var(--color-bg-raised);
69
- color: var(--color-text);
70
- border: 1px solid var(--color-border);
71
- padding: 0px 3px;
72
- font-weight: var(--font-weight);
73
- font-size: var(--font-size-s);
74
- }
75
-
76
66
  strong,
77
67
  b {
78
- font-weight: var(--font-weight-700);
68
+ font-weight: var(--font-weight-bold);
79
69
  }
80
70
 
81
71
  i {
@@ -87,6 +77,20 @@ p {
87
77
  }
88
78
  }
89
79
 
80
+ code {
81
+ display: inline-block;
82
+ font-family: var(--global-font-mono);
83
+ border-radius: var(--border-radius-s);
84
+ background-color: var(--color-bg-raised);
85
+ color: var(--color-text);
86
+ border: 1px solid var(--color-border);
87
+ padding: 0px 4px;
88
+ font-weight: var(--font-weight);
89
+ font-size: var(--font-size-s);
90
+ min-height: 22px;
91
+ line-height: var(--line-height-base);
92
+ }
93
+
90
94
  hr {
91
95
  border-bottom: 1px solid var(--color-border);
92
96
  }
@@ -102,27 +106,41 @@ blockquote {
102
106
  padding-block: var(--space-s);
103
107
  padding-left: var(--space-l);
104
108
  border-left: 3px solid var(--color-border);
109
+ line-height: var(--line-height-base);
105
110
  }
106
111
 
107
112
  pre {
108
113
  font-family: var(--global-font-mono);
109
114
  font-size: var(--font-size-s);
110
- font-weight: 300;
111
- line-height: 1.2em;
115
+ font-weight: var(--font-weight);
116
+ line-height: var(--line-height-base);
112
117
  padding: var(--space-m);
113
118
  border: 1px solid var(--color-border);
114
119
  border-radius: var(--border-radius-m);
115
120
  white-space: pre-wrap;
116
121
  background-color: var(--color-bg-raised);
117
- z-index: 1;
122
+ z-index: var(--z-default);
118
123
  position: relative;
119
124
 
125
+ code {
126
+ min-height: unset;
127
+ padding: unset;
128
+ border-radius: unset;
129
+ border: unset;
130
+ color: inherit;
131
+ font-weight: inherit;
132
+ font-size: inherit;
133
+ background-color: inherit;
134
+ font-family: inherit;
135
+ line-height: inherit;
136
+ }
137
+
120
138
  &[data-lang]::after {
121
139
  content: attr(data-lang);
122
140
  font-family: var(--global-font);
123
141
  display: block;
124
142
  position: absolute;
125
- font-weight: 500;
143
+ font-weight: var(--font-weight-medium);
126
144
  top: 6px;
127
145
  right: 6px;
128
146
  padding: 5px;
@@ -207,7 +225,7 @@ table {
207
225
  padding-block: var(--space-s);
208
226
  min-width: 80px;
209
227
  font-size: var(--font-size-m);
210
- line-height: 1.4em;
228
+ line-height: var(--line-height-base);
211
229
  font-variant-numeric: tabular-nums;
212
230
  vertical-align: top;
213
231
 
@@ -219,7 +237,7 @@ table {
219
237
  }
220
238
 
221
239
  th {
222
- font-weight: 600;
240
+ font-weight: var(--font-weight-semibold);
223
241
  font-size: var(--font-size-xs);
224
242
  text-transform: uppercase;
225
243
  }
@@ -227,7 +245,7 @@ table {
227
245
  tr {
228
246
  td {
229
247
  border-bottom: 1px solid var(--color-border);
230
- font-weight: 400;
248
+ font-weight: var(--font-weight);
231
249
  }
232
250
 
233
251
  &:first-child {
@@ -286,7 +304,7 @@ dl {
286
304
  dt {
287
305
  padding-left: 0;
288
306
  color: var(--color-text-lighter);
289
- font-weight: 500;
307
+ font-weight: var(--font-weight-medium);
290
308
  font-size: var(--font-size-m);
291
309
  grid-column-start: 1;
292
310
  }
@@ -297,10 +315,12 @@ dl {
297
315
  }
298
316
  }
299
317
 
300
- article,
301
- .typeset {
318
+ article {
302
319
  width: 100%;
320
+ }
303
321
 
322
+ article,
323
+ .typeset {
304
324
  ol,
305
325
  ul {
306
326
  ol,
package/src/vite-env.d.ts CHANGED
@@ -1 +1 @@
1
- /// <reference types="vite/client" />
1
+ /// <reference types="vite/client" />
@@ -1,47 +0,0 @@
1
- export interface AccordionProps {
2
- open?: boolean;
3
- label?: string;
4
- card?: boolean;
5
- }
6
- declare function open(): void;
7
- declare function close(): void;
8
- declare function toggle(): void;
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- trigger?(_: {
13
- open: typeof open;
14
- close: typeof close;
15
- toggle: typeof toggle;
16
- isOpen: boolean;
17
- }): any;
18
- header?(_: {}): any;
19
- default?(_: {}): any;
20
- };
21
- refs: {
22
- content: HTMLDivElement;
23
- };
24
- rootEl: HTMLDivElement;
25
- };
26
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: import('vue').DefineComponent<AccordionProps, {
28
- open: typeof open;
29
- close: typeof close;
30
- toggle: typeof toggle;
31
- isOpen: import('vue').Ref<boolean, boolean>;
32
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
- open: () => any;
34
- close: () => any;
35
- }, string, import('vue').PublicProps, Readonly<AccordionProps> & Readonly<{
36
- onOpen?: (() => any) | undefined;
37
- onClose?: (() => any) | undefined;
38
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
39
- content: HTMLDivElement;
40
- }, HTMLDivElement>;
41
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
- export default _default;
43
- type __VLS_WithTemplateSlots<T, S> = T & {
44
- new (): {
45
- $slots: S;
46
- };
47
- };
@@ -1,21 +0,0 @@
1
- interface Props {
2
- /**
3
- * If set to true, if an accordion opens, all other close
4
- */
5
- single?: boolean;
6
- }
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: Readonly<Record<string, any>> & Record<string, any>;
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,36 +0,0 @@
1
- interface Props {
2
- variant?: 'neutral' | 'info' | 'success' | 'warning' | 'danger';
3
- /**
4
- * Override the variant's default icon
5
- */
6
- icon?: string;
7
- /**
8
- * Setting a title and description will use slightly different styling other
9
- * than slots.
10
- */
11
- title?: string;
12
- /**
13
- * Use strong color
14
- */
15
- filled?: boolean;
16
- description?: string;
17
- }
18
- declare function __VLS_template(): {
19
- attrs: Partial<{}>;
20
- slots: {
21
- default?(_: {}): any;
22
- default?(_: {}): any;
23
- end?(_: {}): any;
24
- };
25
- refs: {};
26
- rootEl: HTMLDivElement;
27
- };
28
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
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
- };
@@ -1,25 +0,0 @@
1
- import { Sizes } from '../../shared/types';
2
- interface Props {
3
- size?: Sizes | number;
4
- url?: string;
5
- fallback?: string;
6
- icon?: string;
7
- alt?: string;
8
- }
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- default?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: HTMLDivElement;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
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
- };
@@ -1,22 +0,0 @@
1
- interface Props {
2
- variant?: 'neutral' | 'danger' | 'warning' | 'success' | 'info' | 'accent';
3
- outline?: boolean;
4
- filled?: boolean;
5
- }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
- export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
@@ -1,22 +0,0 @@
1
- export interface BreadcrumbItemProps {
2
- label?: string;
3
- href?: string;
4
- }
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLLIElement;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<BreadcrumbItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BreadcrumbItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
- export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
@@ -1,18 +0,0 @@
1
- interface Props {
2
- separator?: string;
3
- }
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: Readonly<Record<string, any>> & Record<string, any>;
7
- refs: {};
8
- rootEl: HTMLUListElement;
9
- };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,32 +0,0 @@
1
- import { Sizes } from '../../shared/types';
2
- export type Variants = 'fill' | 'danger' | 'success' | 'link' | 'accent' | 'gray';
3
- interface Props {
4
- loading?: boolean;
5
- size?: Sizes;
6
- expand?: boolean;
7
- square?: boolean;
8
- icon?: string;
9
- variant?: Variants;
10
- outline?: boolean;
11
- disabled?: boolean;
12
- plain?: boolean;
13
- }
14
- declare function __VLS_template(): {
15
- attrs: Partial<{}>;
16
- slots: {
17
- start?(_: {}): any;
18
- default?(_: {}): any;
19
- end?(_: {}): any;
20
- };
21
- refs: {};
22
- rootEl: HTMLButtonElement;
23
- };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
26
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
- export default _default;
28
- type __VLS_WithTemplateSlots<T, S> = T & {
29
- new (): {
30
- $slots: S;
31
- };
32
- };
@@ -1,22 +0,0 @@
1
- import { Space } from '../../shared/types';
2
- interface Props {
3
- vertical?: boolean;
4
- gap?: Space | number;
5
- }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
- export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
@@ -1,27 +0,0 @@
1
- import { VueDatePickerProps } from '@vuepic/vue-datepicker';
2
- type __VLS_Props = VueDatePickerProps & {
3
- expand?: boolean;
4
- };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- trigger?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
- expand: boolean;
16
- format: string | ((date: Date) => string) | ((dates: Date[]) => string);
17
- autoApply: boolean;
18
- autoPosition: boolean | "top" | "bottom";
19
- monthNameFormat: "long" | "short";
20
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
- export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
@@ -1,26 +0,0 @@
1
- export interface Props {
2
- separators?: boolean;
3
- headerSeparator?: boolean;
4
- footerSeparator?: boolean;
5
- padding?: boolean;
6
- }
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- header?(_: {}): any;
11
- 'header-end'?(_: {}): any;
12
- default?(_: {}): any;
13
- footer?(_: {}): any;
14
- };
15
- refs: {};
16
- rootEl: HTMLDivElement;
17
- };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, 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
- };