@xleddyl/443-components-vue 0.2.2 → 0.3.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 (205) hide show
  1. package/README.md +79 -19
  2. package/dist/chart/BarChart.vue.d.ts +2 -2
  3. package/dist/chart/ChartLegend.vue.d.ts +4 -4
  4. package/dist/chart/ChartPanel.vue.d.ts +2 -2
  5. package/dist/chart/ChartSummary.vue.d.ts +2 -2
  6. package/dist/chart/DoughnutChart.vue.d.ts +2 -2
  7. package/dist/chart/LineChart.vue.d.ts +2 -2
  8. package/dist/components/core/Button.vue.d.ts +2 -2
  9. package/dist/components/core/FieldMessage.vue +28 -0
  10. package/dist/components/core/FieldMessage.vue.d.ts +409 -0
  11. package/dist/components/core/Form.vue +22 -3
  12. package/dist/components/core/Form.vue.d.ts +18 -4
  13. package/dist/components/core/FormField.vue +37 -15
  14. package/dist/components/core/FormField.vue.d.ts +5 -4
  15. package/dist/components/core/Icon.vue.d.ts +2 -2
  16. package/dist/components/core/Input.vue.d.ts +4 -4
  17. package/dist/components/core/Kbd.vue.d.ts +2 -2
  18. package/dist/components/core/Root.vue.d.ts +6 -6
  19. package/dist/components/core/Spinner.vue +13 -1
  20. package/dist/components/core/Spinner.vue.d.ts +4 -2
  21. package/dist/components/core/Textarea.vue.d.ts +4 -4
  22. package/dist/components/core/VisuallyHidden.vue.d.ts +6 -6
  23. package/dist/components/core/index.d.ts +1 -0
  24. package/dist/components/core/index.mjs +1 -0
  25. package/dist/components/data/Avatar.vue.d.ts +2 -2
  26. package/dist/components/data/AvatarGroup.vue.d.ts +2 -2
  27. package/dist/components/data/Badge.vue.d.ts +2 -2
  28. package/dist/components/data/DescriptionList.vue.d.ts +2 -2
  29. package/dist/components/data/FilterPill.vue +35 -0
  30. package/dist/components/data/FilterPill.vue.d.ts +445 -0
  31. package/dist/components/data/FilterPills.vue +49 -21
  32. package/dist/components/data/FilterPills.vue.d.ts +22 -5
  33. package/dist/components/data/Pagination.vue.d.ts +4 -4
  34. package/dist/components/data/SelectionBar.vue +78 -0
  35. package/dist/components/data/SelectionBar.vue.d.ts +427 -0
  36. package/dist/components/data/Stat.vue.d.ts +8 -8
  37. package/dist/components/data/Tag.vue.d.ts +4 -4
  38. package/dist/components/data/Timeline.vue.d.ts +2 -2
  39. package/dist/components/data/Tree.vue +237 -18
  40. package/dist/components/data/Tree.vue.d.ts +37 -10
  41. package/dist/components/data/index.d.ts +3 -0
  42. package/dist/components/data/index.mjs +3 -0
  43. package/dist/components/data/types.d.ts +19 -0
  44. package/dist/components/feedback/Alert.vue.d.ts +18 -18
  45. package/dist/components/feedback/EmptyState.vue.d.ts +2 -2
  46. package/dist/components/feedback/LoadingOverlay.vue.d.ts +2 -2
  47. package/dist/components/feedback/Meter.vue.d.ts +2 -2
  48. package/dist/components/feedback/Progress.vue.d.ts +2 -2
  49. package/dist/components/feedback/ProgressRing.vue.d.ts +2 -2
  50. package/dist/components/feedback/Skeleton.vue.d.ts +3 -3
  51. package/dist/components/forms/Calendar.vue.d.ts +4 -4
  52. package/dist/components/forms/ColorInput.vue.d.ts +6 -6
  53. package/dist/components/forms/DateInput.vue.d.ts +14 -14
  54. package/dist/components/forms/DatePicker.vue.d.ts +6 -6
  55. package/dist/components/forms/FileInput.vue +80 -26
  56. package/dist/components/forms/FileInput.vue.d.ts +21 -11
  57. package/dist/components/forms/InputAddon.vue.d.ts +2 -2
  58. package/dist/components/forms/InputGroup.vue.d.ts +2 -2
  59. package/dist/components/forms/NumberInput.vue.d.ts +6 -6
  60. package/dist/components/forms/PasswordInput.vue.d.ts +16 -16
  61. package/dist/components/forms/PinInput.vue.d.ts +6 -6
  62. package/dist/components/forms/Radio.vue.d.ts +2 -2
  63. package/dist/components/forms/SegmentedControl.vue +32 -8
  64. package/dist/components/forms/SegmentedControl.vue.d.ts +15 -7
  65. package/dist/components/forms/Slider.vue.d.ts +6 -6
  66. package/dist/components/forms/Switch.vue.d.ts +6 -6
  67. package/dist/components/forms/TimeInput.vue.d.ts +16 -16
  68. package/dist/components/forms/types.d.ts +14 -0
  69. package/dist/components/layout/Accordion.vue +25 -5
  70. package/dist/components/layout/Accordion.vue.d.ts +8 -5
  71. package/dist/components/layout/AppShell.vue.d.ts +5 -5
  72. package/dist/components/layout/Breadcrumbs.vue +28 -20
  73. package/dist/components/layout/Breadcrumbs.vue.d.ts +18 -3
  74. package/dist/components/layout/Card.vue +22 -3
  75. package/dist/components/layout/Card.vue.d.ts +10 -4
  76. package/dist/components/layout/CopyButton.vue.d.ts +4 -4
  77. package/dist/components/layout/Grid.vue.d.ts +2 -2
  78. package/dist/components/layout/NavLink.vue.d.ts +8 -8
  79. package/dist/components/layout/PageHeader.vue +10 -1
  80. package/dist/components/layout/PageHeader.vue.d.ts +17 -9
  81. package/dist/components/layout/Separator.vue.d.ts +2 -2
  82. package/dist/components/layout/Sidebar.vue.d.ts +2 -2
  83. package/dist/components/layout/SidebarSection.vue.d.ts +2 -2
  84. package/dist/components/layout/Stack.vue.d.ts +6 -6
  85. package/dist/components/layout/Tabs.vue +27 -6
  86. package/dist/components/layout/Tabs.vue.d.ts +7 -4
  87. package/dist/components/layout/ThemeSwitch.vue.d.ts +2 -2
  88. package/dist/components/layout/Toolbar.vue.d.ts +2 -2
  89. package/dist/components/layout/types.d.ts +7 -1
  90. package/dist/components/overlays/CommandPalette.vue +25 -4
  91. package/dist/components/overlays/CommandPalette.vue.d.ts +23 -9
  92. package/dist/components/overlays/ConfirmDialog.vue.d.ts +8 -6
  93. package/dist/components/overlays/ConfirmHost.vue +5 -1
  94. package/dist/components/overlays/ConfirmHost.vue.d.ts +10 -8
  95. package/dist/components/overlays/ContextMenu.vue.d.ts +4 -4
  96. package/dist/components/overlays/Drawer.vue +4 -2
  97. package/dist/components/overlays/Drawer.vue.d.ts +8 -6
  98. package/dist/components/overlays/DropdownMenu.vue.d.ts +2 -2
  99. package/dist/components/overlays/HoverCard.vue +2 -1
  100. package/dist/components/overlays/HoverCard.vue.d.ts +6 -6
  101. package/dist/components/overlays/Modal.vue +5 -3
  102. package/dist/components/overlays/Modal.vue.d.ts +8 -6
  103. package/dist/components/overlays/Popover.vue +2 -1
  104. package/dist/components/overlays/Popover.vue.d.ts +6 -6
  105. package/dist/components/overlays/Toaster.vue.d.ts +4 -4
  106. package/dist/components/overlays/Tooltip.vue.d.ts +2 -2
  107. package/dist/components/overlays/types.d.ts +4 -1
  108. package/dist/components/templates/AccountMenu.vue.d.ts +6 -6
  109. package/dist/components/templates/AppearanceSettings.vue.d.ts +2 -2
  110. package/dist/components/templates/AuthLayout.vue.d.ts +2 -2
  111. package/dist/components/templates/Brand.vue +34 -5
  112. package/dist/components/templates/Brand.vue.d.ts +20 -15
  113. package/dist/components/templates/DashboardLayout.vue +40 -4
  114. package/dist/components/templates/DashboardLayout.vue.d.ts +34 -22
  115. package/dist/components/templates/DashboardPage.vue.d.ts +2 -2
  116. package/dist/components/templates/DetailPage.vue.d.ts +4 -4
  117. package/dist/components/templates/EmptyPage.vue.d.ts +2 -2
  118. package/dist/components/templates/ErrorPage.vue.d.ts +2 -2
  119. package/dist/components/templates/ListPage.vue +16 -10
  120. package/dist/components/templates/NotFoundPage.vue.d.ts +1 -1
  121. package/dist/components/templates/SaveBar.vue.d.ts +4 -4
  122. package/dist/components/templates/SettingsGroup.vue.d.ts +2 -2
  123. package/dist/components/templates/SettingsModal.vue +5 -2
  124. package/dist/components/templates/SettingsModal.vue.d.ts +13 -8
  125. package/dist/components/templates/SettingsPage.vue.d.ts +4 -4
  126. package/dist/components/templates/SettingsSection.vue.d.ts +12 -8
  127. package/dist/components/templates/types.d.ts +24 -1
  128. package/dist/composables/core.d.ts +1 -0
  129. package/dist/composables/core.mjs +1 -0
  130. package/dist/composables/useField.d.ts +2 -0
  131. package/dist/composables/useField.mjs +5 -2
  132. package/dist/composables/useFieldBoundary.d.ts +1 -0
  133. package/dist/composables/useFieldBoundary.mjs +5 -0
  134. package/dist/composables/useFileDrop.d.ts +7 -0
  135. package/dist/composables/useFileDrop.mjs +114 -7
  136. package/dist/composables/useForm.d.ts +32 -19
  137. package/dist/composables/useForm.mjs +212 -45
  138. package/dist/editor/RichTextEditor.vue +30 -3
  139. package/dist/editor/RichTextEditor.vue.d.ts +11 -6
  140. package/dist/editor/rich-text-editor.css +1 -1
  141. package/dist/editor/types.d.ts +3 -0
  142. package/dist/grid/GridToolbar.vue.d.ts +4 -4
  143. package/dist/grid/cells/BadgeCell.vue.d.ts +2 -2
  144. package/dist/grid/cells/BooleanCell.vue.d.ts +2 -2
  145. package/dist/grid/cells/DateCell.vue.d.ts +2 -2
  146. package/dist/grid/cells/ImageCell.vue.d.ts +2 -2
  147. package/dist/grid/cells/LinkCell.vue.d.ts +2 -2
  148. package/dist/internal/data/tree.d.ts +8 -0
  149. package/dist/internal/data/tree.mjs +41 -0
  150. package/dist/internal/forms/FormAlerts.vue +25 -0
  151. package/dist/internal/forms/FormAlerts.vue.d.ts +393 -0
  152. package/dist/internal/forms/files.d.ts +2 -0
  153. package/dist/internal/forms/files.mjs +8 -1
  154. package/dist/internal/forms/standard-schema.d.ts +17 -0
  155. package/dist/internal/forms/standard-schema.mjs +40 -0
  156. package/dist/internal/overlays/DialogFrame.vue +17 -7
  157. package/dist/internal/overlays/DialogFrame.vue.d.ts +9 -5
  158. package/dist/internal/overlays/FieldBoundary.d.ts +4 -0
  159. package/dist/internal/overlays/FieldBoundary.mjs +9 -0
  160. package/dist/internal/overlays/MenuList.vue +2 -0
  161. package/dist/internal/overlays/MenuList.vue.d.ts +5 -5
  162. package/dist/internal/overlays/OverlayView.vue +2 -0
  163. package/dist/internal/overlays/OverlayView.vue.d.ts +14 -12
  164. package/dist/internal/overlays/dialog.d.ts +4 -1
  165. package/dist/internal/overlays/dialog.mjs +39 -5
  166. package/dist/internal/overlays/stack.d.ts +2 -1
  167. package/dist/locale/en.mjs +17 -2
  168. package/dist/locale/it.mjs +17 -2
  169. package/dist/locale/types.d.ts +15 -0
  170. package/dist/nuxt/module.d.ts +5 -4
  171. package/dist/nuxt/module.mjs +9 -6
  172. package/dist/nuxt/runtime/layouts/auth.vue.d.ts +8 -8
  173. package/dist/nuxt/runtime/layouts/dashboard.vue.d.ts +8 -8
  174. package/dist/styles/base.css +7 -0
  175. package/dist/styles/core/field-message.css +34 -0
  176. package/dist/styles/core/form-field.css +0 -23
  177. package/dist/styles/core/form.css +11 -0
  178. package/dist/styles/core/kbd.css +2 -2
  179. package/dist/styles/core/spinner.css +19 -0
  180. package/dist/styles/core.css +1 -0
  181. package/dist/styles/data/badge.css +1 -1
  182. package/dist/styles/data/filter-pills.css +40 -3
  183. package/dist/styles/data/selection-bar.css +85 -0
  184. package/dist/styles/data/tree.css +156 -1
  185. package/dist/styles/data.css +1 -0
  186. package/dist/styles/forms/calendar.css +1 -1
  187. package/dist/styles/forms/file-input.css +8 -0
  188. package/dist/styles/forms/segmented.css +8 -0
  189. package/dist/styles/forms/select.css +1 -1
  190. package/dist/styles/forms/slider.css +2 -2
  191. package/dist/styles/layout/accordion.css +16 -0
  192. package/dist/styles/layout/app-shell.css +4 -0
  193. package/dist/styles/layout/breadcrumbs.css +16 -1
  194. package/dist/styles/layout/card.css +19 -1
  195. package/dist/styles/layout/nav-link.css +1 -1
  196. package/dist/styles/layout/sidebar.css +1 -1
  197. package/dist/styles/layout/tabs.css +43 -1
  198. package/dist/styles/overlays/command.css +20 -2
  199. package/dist/styles/overlays/menu.css +1 -1
  200. package/dist/styles/overlays/modal.css +38 -0
  201. package/dist/styles/templates/brand.css +15 -0
  202. package/dist/styles/templates/empty-page.css +1 -1
  203. package/dist/styles/templates/list-page.css +2 -6
  204. package/dist/styles/templates/settings-modal.css +2 -2
  205. package/package.json +1 -1
@@ -21,9 +21,6 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
21
21
  readonly results?: (string | number) | undefined;
22
22
  readonly placeholder?: string | undefined | undefined;
23
23
  readonly bind?: Record<string, unknown> | undefined;
24
- readonly type?: string | undefined | undefined;
25
- readonly ref?: import("vue").VNodeRef | undefined;
26
- readonly target?: string | undefined | undefined;
27
24
  readonly class?: import("vue").ClassValue;
28
25
  readonly role?: string | undefined | undefined;
29
26
  readonly 'aria-label'?: string | undefined | undefined;
@@ -127,6 +124,8 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
127
124
  readonly id?: string | undefined | undefined;
128
125
  readonly lang?: string | undefined | undefined;
129
126
  readonly media?: string | undefined | undefined;
127
+ readonly target?: string | undefined | undefined;
128
+ readonly type?: string | undefined | undefined;
130
129
  readonly tabindex?: (string | number) | undefined;
131
130
  readonly href?: string | undefined | undefined;
132
131
  readonly 'aria-activedescendant'?: string | undefined | undefined;
@@ -138,7 +137,7 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
138
137
  readonly 'aria-colindex'?: (string | number) | undefined;
139
138
  readonly 'aria-colspan'?: (string | number) | undefined;
140
139
  readonly 'aria-controls'?: string | undefined | undefined;
141
- readonly 'aria-current'?: "page" | "location" | "time" | (boolean | "true" | "false") | "step" | "date" | undefined;
140
+ readonly 'aria-current'?: "page" | "time" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
142
141
  readonly 'aria-describedby'?: string | undefined | undefined;
143
142
  readonly 'aria-details'?: string | undefined | undefined;
144
143
  readonly 'aria-disabled'?: (boolean | "true" | "false") | undefined;
@@ -175,6 +174,7 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
175
174
  readonly 'aria-valuemin'?: (string | number) | undefined;
176
175
  readonly 'aria-valuenow'?: (string | number) | undefined;
177
176
  readonly 'aria-valuetext'?: string | undefined | undefined;
177
+ readonly ref?: import("vue").VNodeRef | undefined;
178
178
  readonly ref_for?: boolean | undefined;
179
179
  readonly ref_key?: string | undefined;
180
180
  readonly accesskey?: string | undefined | undefined;
@@ -239,9 +239,6 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
239
239
  readonly results?: (string | number) | undefined;
240
240
  readonly placeholder?: string | undefined | undefined;
241
241
  readonly bind?: Record<string, unknown> | undefined;
242
- readonly type?: string | undefined | undefined;
243
- readonly ref?: import("vue").VNodeRef | undefined;
244
- readonly target?: string | undefined | undefined;
245
242
  readonly class?: import("vue").ClassValue;
246
243
  readonly role?: string | undefined | undefined;
247
244
  readonly 'aria-label'?: string | undefined | undefined;
@@ -345,6 +342,8 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
345
342
  readonly id?: string | undefined | undefined;
346
343
  readonly lang?: string | undefined | undefined;
347
344
  readonly media?: string | undefined | undefined;
345
+ readonly target?: string | undefined | undefined;
346
+ readonly type?: string | undefined | undefined;
348
347
  readonly tabindex?: (string | number) | undefined;
349
348
  readonly href?: string | undefined | undefined;
350
349
  readonly 'aria-activedescendant'?: string | undefined | undefined;
@@ -356,7 +355,7 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
356
355
  readonly 'aria-colindex'?: (string | number) | undefined;
357
356
  readonly 'aria-colspan'?: (string | number) | undefined;
358
357
  readonly 'aria-controls'?: string | undefined | undefined;
359
- readonly 'aria-current'?: "page" | "location" | "time" | (boolean | "true" | "false") | "step" | "date" | undefined;
358
+ readonly 'aria-current'?: "page" | "time" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
360
359
  readonly 'aria-describedby'?: string | undefined | undefined;
361
360
  readonly 'aria-details'?: string | undefined | undefined;
362
361
  readonly 'aria-disabled'?: (boolean | "true" | "false") | undefined;
@@ -393,6 +392,7 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
393
392
  readonly 'aria-valuemin'?: (string | number) | undefined;
394
393
  readonly 'aria-valuenow'?: (string | number) | undefined;
395
394
  readonly 'aria-valuetext'?: string | undefined | undefined;
395
+ readonly ref?: import("vue").VNodeRef | undefined;
396
396
  readonly ref_for?: boolean | undefined;
397
397
  readonly ref_key?: string | undefined;
398
398
  readonly accesskey?: string | undefined | undefined;
@@ -21,9 +21,6 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
21
21
  readonly results?: (string | number) | undefined;
22
22
  readonly placeholder?: string | undefined | undefined;
23
23
  readonly bind?: Record<string, unknown> | undefined;
24
- readonly type?: string | undefined | undefined;
25
- readonly ref?: import("vue").VNodeRef | undefined;
26
- readonly target?: string | undefined | undefined;
27
24
  readonly class?: import("vue").ClassValue;
28
25
  readonly role?: string | undefined | undefined;
29
26
  readonly 'aria-label'?: string | undefined | undefined;
@@ -127,6 +124,8 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
127
124
  readonly id?: string | undefined | undefined;
128
125
  readonly lang?: string | undefined | undefined;
129
126
  readonly media?: string | undefined | undefined;
127
+ readonly target?: string | undefined | undefined;
128
+ readonly type?: string | undefined | undefined;
130
129
  readonly tabindex?: (string | number) | undefined;
131
130
  readonly href?: string | undefined | undefined;
132
131
  readonly 'aria-activedescendant'?: string | undefined | undefined;
@@ -138,7 +137,7 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
138
137
  readonly 'aria-colindex'?: (string | number) | undefined;
139
138
  readonly 'aria-colspan'?: (string | number) | undefined;
140
139
  readonly 'aria-controls'?: string | undefined | undefined;
141
- readonly 'aria-current'?: "page" | "location" | "time" | (boolean | "true" | "false") | "step" | "date" | undefined;
140
+ readonly 'aria-current'?: "page" | "time" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
142
141
  readonly 'aria-describedby'?: string | undefined | undefined;
143
142
  readonly 'aria-details'?: string | undefined | undefined;
144
143
  readonly 'aria-disabled'?: (boolean | "true" | "false") | undefined;
@@ -175,6 +174,7 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
175
174
  readonly 'aria-valuemin'?: (string | number) | undefined;
176
175
  readonly 'aria-valuenow'?: (string | number) | undefined;
177
176
  readonly 'aria-valuetext'?: string | undefined | undefined;
177
+ readonly ref?: import("vue").VNodeRef | undefined;
178
178
  readonly ref_for?: boolean | undefined;
179
179
  readonly ref_key?: string | undefined;
180
180
  readonly accesskey?: string | undefined | undefined;
@@ -239,9 +239,6 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
239
239
  readonly results?: (string | number) | undefined;
240
240
  readonly placeholder?: string | undefined | undefined;
241
241
  readonly bind?: Record<string, unknown> | undefined;
242
- readonly type?: string | undefined | undefined;
243
- readonly ref?: import("vue").VNodeRef | undefined;
244
- readonly target?: string | undefined | undefined;
245
242
  readonly class?: import("vue").ClassValue;
246
243
  readonly role?: string | undefined | undefined;
247
244
  readonly 'aria-label'?: string | undefined | undefined;
@@ -345,6 +342,8 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
345
342
  readonly id?: string | undefined | undefined;
346
343
  readonly lang?: string | undefined | undefined;
347
344
  readonly media?: string | undefined | undefined;
345
+ readonly target?: string | undefined | undefined;
346
+ readonly type?: string | undefined | undefined;
348
347
  readonly tabindex?: (string | number) | undefined;
349
348
  readonly href?: string | undefined | undefined;
350
349
  readonly 'aria-activedescendant'?: string | undefined | undefined;
@@ -356,7 +355,7 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
356
355
  readonly 'aria-colindex'?: (string | number) | undefined;
357
356
  readonly 'aria-colspan'?: (string | number) | undefined;
358
357
  readonly 'aria-controls'?: string | undefined | undefined;
359
- readonly 'aria-current'?: "page" | "location" | "time" | (boolean | "true" | "false") | "step" | "date" | undefined;
358
+ readonly 'aria-current'?: "page" | "time" | (boolean | "true" | "false") | "step" | "location" | "date" | undefined;
360
359
  readonly 'aria-describedby'?: string | undefined | undefined;
361
360
  readonly 'aria-details'?: string | undefined | undefined;
362
361
  readonly 'aria-disabled'?: (boolean | "true" | "false") | undefined;
@@ -393,6 +392,7 @@ declare const __VLS_base: import("vue").DefineComponent<Partial<NonNullable<{
393
392
  readonly 'aria-valuemin'?: (string | number) | undefined;
394
393
  readonly 'aria-valuenow'?: (string | number) | undefined;
395
394
  readonly 'aria-valuetext'?: string | undefined | undefined;
395
+ readonly ref?: import("vue").VNodeRef | undefined;
396
396
  readonly ref_for?: boolean | undefined;
397
397
  readonly ref_key?: string | undefined;
398
398
  readonly accesskey?: string | undefined | undefined;
@@ -10,11 +10,13 @@
10
10
  }
11
11
 
12
12
  html.k-root {
13
+ font-size: 100%;
13
14
  background: var(--k-canvas);
14
15
  }
15
16
 
16
17
  html.k-root > body {
17
18
  margin: 0;
19
+ font-size: var(--k-font-size);
18
20
  }
19
21
 
20
22
  :where(.k-root, .k-root *, .k-root *::before, .k-root *::after) {
@@ -26,6 +28,11 @@ html.k-root > body {
26
28
  color: var(--k-text);
27
29
  }
28
30
 
31
+ :where(.k-root) :where(a) {
32
+ color: inherit;
33
+ text-decoration: inherit;
34
+ }
35
+
29
36
  :where(.k-root) :where(button, input, select, textarea, optgroup) {
30
37
  font: inherit;
31
38
  font-feature-settings: inherit;
@@ -0,0 +1,34 @@
1
+ .k-field-message,
2
+ .k-form-field-error,
3
+ .k-form-field-warning {
4
+ --k-icon-size: 0.875rem;
5
+ --k-field-message-tone: var(--k-danger);
6
+ display: flex;
7
+ align-items: flex-start;
8
+ gap: 0.375rem;
9
+ font-size: 0.8125rem;
10
+ line-height: 1.35;
11
+ color: var(--k-field-message-tone);
12
+ animation: k-enter var(--k-duration-lg) var(--k-ease-out) backwards;
13
+ }
14
+
15
+ .k-field-message-warning,
16
+ .k-form-field-warning {
17
+ --k-field-message-tone: var(--k-warning);
18
+ }
19
+
20
+ .k-field-message-neutral {
21
+ --k-field-message-tone: var(--k-text-muted);
22
+ }
23
+
24
+ .k-field-message > .k-icon,
25
+ .k-form-field-error > .k-icon,
26
+ .k-form-field-warning > .k-icon {
27
+ flex: none;
28
+ margin-top: 0.0625rem;
29
+ }
30
+
31
+ .k-field-message-text {
32
+ min-width: 0;
33
+ overflow-wrap: anywhere;
34
+ }
@@ -50,29 +50,6 @@
50
50
  color: var(--k-text-muted);
51
51
  }
52
52
 
53
- .k-form-field-error,
54
- .k-form-field-warning {
55
- display: flex;
56
- align-items: flex-start;
57
- gap: 0.375rem;
58
- font-size: 0.8125rem;
59
- line-height: 1.35;
60
- animation: k-enter var(--k-duration-lg) var(--k-ease-out) backwards;
61
- }
62
-
63
- .k-form-field-error > .k-icon,
64
- .k-form-field-warning > .k-icon {
65
- margin-top: 0.0625rem;
66
- }
67
-
68
- .k-form-field-error {
69
- color: var(--k-danger);
70
- }
71
-
72
- .k-form-field-warning {
73
- color: var(--k-warning);
74
- }
75
-
76
53
  .k-form-field.is-shaking :is(.k-field, .k-input, [data-k-shake]) {
77
54
  animation: k-shake 320ms var(--k-ease);
78
55
  }
@@ -8,3 +8,14 @@
8
8
  .k-form[aria-busy='true'] {
9
9
  cursor: progress;
10
10
  }
11
+
12
+ .k-form-alerts {
13
+ display: flex;
14
+ flex-direction: column;
15
+ gap: 0.5rem;
16
+ border-radius: var(--k-radius-md);
17
+ }
18
+
19
+ .k-form-alerts:focus {
20
+ outline: none;
21
+ }
@@ -6,7 +6,7 @@
6
6
  height: 1.25rem;
7
7
  padding: 0 0.3125rem;
8
8
  font-family: var(--k-font-mono);
9
- font-size: 0.6875rem;
9
+ font-size: 0.75rem;
10
10
  font-weight: 500;
11
11
  line-height: 1;
12
12
  color: var(--k-text-muted);
@@ -21,5 +21,5 @@
21
21
  min-width: 1.125rem;
22
22
  height: 1.125rem;
23
23
  padding: 0 0.25rem;
24
- font-size: 0.625rem;
24
+ font-size: 0.75rem;
25
25
  }
@@ -28,3 +28,22 @@
28
28
  --k-spinner-size: 1.75rem;
29
29
  --k-spinner-width: 2.5px;
30
30
  }
31
+
32
+ .k-spinner-block {
33
+ display: flex;
34
+ flex: 1;
35
+ flex-direction: column;
36
+ align-items: center;
37
+ justify-content: center;
38
+ gap: 0.75rem;
39
+ width: 100%;
40
+ min-height: 10rem;
41
+ padding: 1.5rem;
42
+ font-size: 0.8125rem;
43
+ color: var(--k-text-muted);
44
+ text-align: center;
45
+ }
46
+
47
+ .k-spinner-label {
48
+ animation: k-fade 300ms var(--k-ease) 120ms backwards;
49
+ }
@@ -4,6 +4,7 @@
4
4
  @import './core/button.css';
5
5
  @import './core/input.css';
6
6
  @import './core/textarea.css';
7
+ @import './core/field-message.css';
7
8
  @import './core/form-field.css';
8
9
  @import './core/form.css';
9
10
  @import './core/kbd.css';
@@ -27,7 +27,7 @@
27
27
  gap: 0.25rem;
28
28
  height: 1.125rem;
29
29
  padding: 0 0.375rem;
30
- font-size: 0.6875rem;
30
+ font-size: 0.75rem;
31
31
  }
32
32
 
33
33
  .k-badge-accent {
@@ -36,7 +36,7 @@
36
36
  scale: 0.97;
37
37
  }
38
38
 
39
- .k-filter-pill[aria-pressed='true'] {
39
+ .k-filter-pill:is([aria-pressed='true'], .is-active) {
40
40
  border-style: solid;
41
41
  border-color: var(--k-accent-line);
42
42
  background: var(--k-accent-soft);
@@ -79,18 +79,19 @@
79
79
  padding: 0.125rem 0.3125rem;
80
80
  border-radius: var(--k-radius-full);
81
81
  background: var(--k-fill);
82
- font-size: 0.6875rem;
82
+ font-size: 0.75rem;
83
83
  font-variant-numeric: tabular-nums;
84
84
  line-height: 1;
85
85
  text-align: center;
86
86
  color: var(--k-text-muted);
87
87
  }
88
88
 
89
- .k-filter-pill[aria-pressed='true'] .k-filter-pill-count {
89
+ .k-filter-pill:is([aria-pressed='true'], .is-active) .k-filter-pill-count {
90
90
  background: color-mix(in oklab, var(--k-accent) 16%, transparent);
91
91
  color: var(--k-accent-text);
92
92
  }
93
93
 
94
+ .k-filter-pill-sm,
94
95
  .k-filter-pills-sm .k-filter-pill {
95
96
  height: var(--k-size-xs);
96
97
  padding: 0 0.5625rem;
@@ -100,3 +101,39 @@
100
101
  .k-filter-pills-clear {
101
102
  margin-left: 0.25rem;
102
103
  }
104
+
105
+ .k-filter-pill[aria-expanded='true'] {
106
+ border-style: solid;
107
+ background: var(--k-hover);
108
+ color: var(--k-text);
109
+ }
110
+
111
+ .k-filter-pill.is-active[aria-expanded='true'] {
112
+ background: color-mix(in oklab, var(--k-accent) 18%, transparent);
113
+ color: var(--k-accent-text);
114
+ }
115
+
116
+ .k-filter-pill-value {
117
+ padding-left: 0.3125rem;
118
+ border-left: 1px solid currentColor;
119
+ border-left-color: color-mix(in oklab, currentColor 30%, transparent);
120
+ font-weight: 600;
121
+ overflow: hidden;
122
+ text-overflow: ellipsis;
123
+ max-width: 14rem;
124
+ }
125
+
126
+ .k-filter-pill-caret {
127
+ --k-icon-size: 0.75rem;
128
+ margin-right: -0.125rem;
129
+ color: var(--k-text-dimmed);
130
+ transition: transform var(--k-duration-lg) var(--k-ease-out);
131
+ }
132
+
133
+ .k-filter-pill.is-active .k-filter-pill-caret {
134
+ color: inherit;
135
+ }
136
+
137
+ .k-filter-pill[aria-expanded='true'] .k-filter-pill-caret {
138
+ transform: rotate(180deg);
139
+ }
@@ -0,0 +1,85 @@
1
+ .k-selection-bar {
2
+ display: flex;
3
+ min-width: 0;
4
+ }
5
+
6
+ .k-selection-bar-sticky {
7
+ position: sticky;
8
+ top: 0;
9
+ z-index: 15;
10
+ }
11
+
12
+ .k-selection-bar-floating {
13
+ position: sticky;
14
+ bottom: 1rem;
15
+ z-index: 15;
16
+ justify-content: center;
17
+ pointer-events: none;
18
+ }
19
+
20
+ .k-selection-bar-panel {
21
+ display: flex;
22
+ flex: 1;
23
+ flex-wrap: wrap;
24
+ align-items: center;
25
+ gap: 0.375rem 0.5rem;
26
+ min-width: 0;
27
+ min-height: var(--k-size-sm);
28
+ animation: k-pop 200ms var(--k-ease-out);
29
+ }
30
+
31
+ .k-selection-bar-sticky .k-selection-bar-panel {
32
+ padding: 0.375rem 0.375rem 0.375rem 0.75rem;
33
+ border: 1px solid var(--k-accent-line);
34
+ border-radius: var(--k-radius-md);
35
+ background: color-mix(in oklab, var(--k-accent-soft) 60%, var(--k-surface));
36
+ box-shadow: var(--k-shadow-sm);
37
+ }
38
+
39
+ .k-selection-bar-floating .k-selection-bar-panel {
40
+ flex: 0 1 auto;
41
+ width: min(100%, 40rem);
42
+ padding: 0.5rem 0.5rem 0.5rem 0.875rem;
43
+ border-radius: var(--k-radius-lg);
44
+ background: var(--k-elevated);
45
+ box-shadow: var(--k-shadow-overlay);
46
+ pointer-events: auto;
47
+ animation: k-rise 320ms var(--k-ease-out) both;
48
+ }
49
+
50
+ .k-selection-bar-count {
51
+ display: inline-flex;
52
+ align-items: center;
53
+ gap: 0.5rem;
54
+ font-size: 0.8125rem;
55
+ font-weight: 600;
56
+ font-variant-numeric: tabular-nums;
57
+ white-space: nowrap;
58
+ color: var(--k-text);
59
+ }
60
+
61
+ .k-selection-bar-dot {
62
+ width: 0.5rem;
63
+ height: 0.5rem;
64
+ flex: none;
65
+ border-radius: var(--k-radius-full);
66
+ background: var(--k-accent);
67
+ box-shadow: 0 0 0 3px var(--k-accent-soft);
68
+ }
69
+
70
+ .k-selection-bar-actions {
71
+ display: flex;
72
+ flex-wrap: wrap;
73
+ align-items: center;
74
+ gap: 0.375rem;
75
+ margin-left: auto;
76
+ }
77
+
78
+ .k-selection-bar-clear {
79
+ flex: none;
80
+ margin-left: auto;
81
+ }
82
+
83
+ .k-selection-bar-actions + .k-selection-bar-clear {
84
+ margin-left: 0;
85
+ }
@@ -108,7 +108,7 @@
108
108
  text-overflow: ellipsis;
109
109
  white-space: nowrap;
110
110
  font-family: var(--k-font-mono);
111
- font-size: 0.71875rem;
111
+ font-size: 0.75rem;
112
112
  color: var(--k-text-dimmed);
113
113
  }
114
114
 
@@ -117,3 +117,158 @@
117
117
  font-size: 0.75rem;
118
118
  color: var(--k-text-dimmed);
119
119
  }
120
+
121
+ .k-tree.is-invalid.is-bordered {
122
+ border-color: var(--k-danger);
123
+ }
124
+
125
+ .k-tree.is-disabled {
126
+ opacity: 0.6;
127
+ }
128
+
129
+ .k-tree-check {
130
+ --k-icon-size: 0.875rem;
131
+ display: grid;
132
+ place-items: center;
133
+ width: 1rem;
134
+ flex: none;
135
+ color: var(--k-accent-text);
136
+ }
137
+
138
+ .k-tree-check > .k-icon {
139
+ stroke-width: 2.25;
140
+ animation: k-icon-pop 300ms var(--k-ease-spring);
141
+ }
142
+
143
+ .k-tree-empty {
144
+ padding: 0.75rem 1rem;
145
+ font-size: 0.8125rem;
146
+ color: var(--k-text-dimmed);
147
+ }
148
+
149
+ .k-tree-handle {
150
+ display: grid;
151
+ place-items: center;
152
+ width: 1rem;
153
+ height: 1.5rem;
154
+ flex: none;
155
+ margin-right: -0.25rem;
156
+ border-radius: var(--k-radius-xs);
157
+ color: var(--k-text-dimmed);
158
+ cursor: grab;
159
+ opacity: 0.6;
160
+ transition:
161
+ opacity var(--k-duration) var(--k-ease),
162
+ color var(--k-duration) var(--k-ease),
163
+ background-color var(--k-duration) var(--k-ease);
164
+ }
165
+
166
+ .k-tree-handle > svg {
167
+ width: 0.875rem;
168
+ height: 0.875rem;
169
+ }
170
+
171
+ .k-tree-row:is(:hover, :focus-visible) > .k-tree-handle:not(.is-disabled) {
172
+ opacity: 1;
173
+ }
174
+
175
+ .k-tree-handle:hover:not(.is-disabled) {
176
+ background: var(--k-hover);
177
+ color: var(--k-text);
178
+ }
179
+
180
+ .k-tree-handle:active {
181
+ cursor: grabbing;
182
+ }
183
+
184
+ .k-tree-handle.is-disabled {
185
+ opacity: 0.25;
186
+ cursor: not-allowed;
187
+ }
188
+
189
+ .k-tree-row.is-moving {
190
+ opacity: 0.45;
191
+ }
192
+
193
+ .k-tree-row[data-drop='before'] {
194
+ box-shadow: inset 0 2px 0 var(--k-accent);
195
+ }
196
+
197
+ .k-tree-row[data-drop='after'] {
198
+ box-shadow: inset 0 -2px 0 var(--k-accent);
199
+ }
200
+
201
+ .k-tree-row[data-drop='inside'] {
202
+ background: var(--k-accent-soft);
203
+ box-shadow: inset 0 0 0 1px var(--k-accent-line);
204
+ }
205
+
206
+ .k-tree-sm {
207
+ gap: 1px;
208
+ }
209
+
210
+ .k-tree-sm:not(.is-bordered) {
211
+ overflow: visible;
212
+ background: transparent;
213
+ }
214
+
215
+ .k-tree-sm.is-bordered {
216
+ padding: 0.25rem;
217
+ border-radius: var(--k-radius-md);
218
+ }
219
+
220
+ .k-tree-sm .k-tree-row {
221
+ gap: 0.375rem;
222
+ min-height: 1.875rem;
223
+ padding: 0.25rem 0.5rem 0.25rem calc(0.25rem + var(--k-tree-level, 0) * 1rem);
224
+ border-radius: var(--k-radius-sm);
225
+ color: var(--k-text-toned);
226
+ cursor: pointer;
227
+ }
228
+
229
+ .k-tree-sm .k-tree-row + .k-tree-row {
230
+ border-top: 0;
231
+ }
232
+
233
+ .k-tree-sm .k-tree-row:hover:not([aria-disabled='true']) {
234
+ background: var(--k-hover);
235
+ }
236
+
237
+ .k-tree-sm .k-tree-row[aria-selected='true'] {
238
+ background: var(--k-accent-soft);
239
+ }
240
+
241
+ .k-tree-sm .k-tree-row[aria-disabled='true'] {
242
+ opacity: 0.4;
243
+ }
244
+
245
+ .k-tree-sm .k-tree-toggle {
246
+ width: 1rem;
247
+ height: 1rem;
248
+ }
249
+
250
+ .k-tree-sm .k-tree-icon {
251
+ --k-icon-size: 1rem;
252
+ width: auto;
253
+ height: auto;
254
+ background: none;
255
+ box-shadow: none;
256
+ color: inherit;
257
+ }
258
+
259
+ .k-tree-sm .k-tree-label {
260
+ font-weight: 450;
261
+ color: inherit;
262
+ }
263
+
264
+ .k-tree-sm .k-tree-row[aria-selected='true'] :is(.k-tree-label, .k-tree-icon) {
265
+ color: var(--k-accent-text);
266
+ }
267
+
268
+ .k-tree-sm .k-tree-empty {
269
+ padding: 0.375rem 0.5rem;
270
+ }
271
+
272
+ .k-tree-sm .k-tree-row[data-drop='inside'] {
273
+ background: var(--k-accent-soft);
274
+ }
@@ -8,3 +8,4 @@
8
8
  @import './data/timeline.css';
9
9
  @import './data/tree.css';
10
10
  @import './data/filter-pills.css';
11
+ @import './data/selection-bar.css';
@@ -31,7 +31,7 @@
31
31
  width: var(--k-calendar-cell);
32
32
  height: 1.5rem;
33
33
  padding: 0;
34
- font-size: 0.6875rem;
34
+ font-size: 0.75rem;
35
35
  font-weight: 500;
36
36
  text-align: center;
37
37
  color: var(--k-text-dimmed);
@@ -191,3 +191,11 @@
191
191
  color: var(--k-text-muted);
192
192
  font-variant-numeric: tabular-nums;
193
193
  }
194
+
195
+ .k-file-input.is-loading .k-file-input-dropzone {
196
+ cursor: progress;
197
+ }
198
+
199
+ .k-file-input.is-loading .k-file-input-dropzone-icon {
200
+ color: var(--k-accent-text);
201
+ }
@@ -137,3 +137,11 @@
137
137
  .k-segmented.is-disabled {
138
138
  opacity: 0.6;
139
139
  }
140
+
141
+ .k-segmented-item.is-muted:not([aria-checked='true']) {
142
+ color: var(--k-text-dimmed);
143
+ }
144
+
145
+ .k-segmented-item.is-muted:not([aria-checked='true']) > .k-icon {
146
+ opacity: 0.7;
147
+ }
@@ -152,7 +152,7 @@
152
152
 
153
153
  .k-select .k-select-field optgroup {
154
154
  padding-top: 0.25rem;
155
- font-size: 0.6875rem;
155
+ font-size: 0.75rem;
156
156
  font-weight: 600;
157
157
  color: var(--k-text-dimmed);
158
158
  background: transparent;