@kazee-ds/vue 0.5.4 → 0.6.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 (81) hide show
  1. package/README.md +35 -33
  2. package/dist/index.js +2842 -1346
  3. package/dist/index.js.map +1 -1
  4. package/dist/types/Alert.vue.d.ts +2 -1
  5. package/dist/types/Badge.vue.d.ts +2 -1
  6. package/dist/types/Breadcrumb.vue.d.ts +2 -1
  7. package/dist/types/Button.vue.d.ts +2 -1
  8. package/dist/types/ButtonGroup.d.ts +9 -0
  9. package/dist/types/Card.vue.d.ts +3 -2
  10. package/dist/types/Chart.vue.d.ts +2 -1
  11. package/dist/types/Checkbox.vue.d.ts +2 -1
  12. package/dist/types/CheckboxIndicator.vue.d.ts +14 -0
  13. package/dist/types/Combobox.vue.d.ts +2 -1
  14. package/dist/types/CompositionListBox.vue.d.ts +32 -0
  15. package/dist/types/CompositionListBoxItem.vue.d.ts +23 -0
  16. package/dist/types/CompositionListBoxItemIndicator.vue.d.ts +15 -0
  17. package/dist/types/CompositionListBoxSection.vue.d.ts +15 -0
  18. package/dist/types/DataTable.vue.d.ts +2 -1
  19. package/dist/types/DataTableRoot.vue.d.ts +26 -0
  20. package/dist/types/DataTableSortButton.vue.d.ts +18 -0
  21. package/dist/types/DateRangePanel.vue.d.ts +4 -3
  22. package/dist/types/DateRangePicker.vue.d.ts +5 -3
  23. package/dist/types/Description.vue.d.ts +16 -0
  24. package/dist/types/Dialog.vue.d.ts +3 -2
  25. package/dist/types/DropdownMenu.vue.d.ts +3 -2
  26. package/dist/types/DropdownMenuBranch.vue.d.ts +2 -1
  27. package/dist/types/Empty.vue.d.ts +2 -1
  28. package/dist/types/Field.vue.d.ts +2 -1
  29. package/dist/types/FieldError.vue.d.ts +16 -0
  30. package/dist/types/FieldFeedback.vue.d.ts +2 -1
  31. package/dist/types/Form.vue.d.ts +2 -1
  32. package/dist/types/Input.vue.d.ts +3 -2
  33. package/dist/types/InputControl.vue.d.ts +40 -0
  34. package/dist/types/InputLabel.vue.d.ts +13 -0
  35. package/dist/types/InputRoot.vue.d.ts +37 -0
  36. package/dist/types/Label.vue.d.ts +2 -1
  37. package/dist/types/Listbox.vue.d.ts +2 -1
  38. package/dist/types/MenuItemContent.vue.d.ts +2 -1
  39. package/dist/types/NumberField.vue.d.ts +2 -1
  40. package/dist/types/Pagination.vue.d.ts +2 -1
  41. package/dist/types/Popover.vue.d.ts +2 -1
  42. package/dist/types/RadioGroup.vue.d.ts +2 -1
  43. package/dist/types/Select.vue.d.ts +3 -2
  44. package/dist/types/SelectClearButton.vue.d.ts +15 -0
  45. package/dist/types/SelectGroup.d.ts +9 -0
  46. package/dist/types/SelectPopover.vue.d.ts +13 -0
  47. package/dist/types/SelectRoot.vue.d.ts +44 -0
  48. package/dist/types/SelectTrigger.vue.d.ts +13 -0
  49. package/dist/types/SelectValue.vue.d.ts +19 -0
  50. package/dist/types/Separator.vue.d.ts +2 -1
  51. package/dist/types/Sidebar.vue.d.ts +2 -1
  52. package/dist/types/SidebarNavigation.vue.d.ts +13 -0
  53. package/dist/types/SidebarRoot.vue.d.ts +26 -0
  54. package/dist/types/SidebarToggle.vue.d.ts +15 -0
  55. package/dist/types/Skeleton.vue.d.ts +2 -1
  56. package/dist/types/Spinner.vue.d.ts +2 -1
  57. package/dist/types/Switch.vue.d.ts +2 -1
  58. package/dist/types/Table.vue.d.ts +2 -1
  59. package/dist/types/Tabs.vue.d.ts +2 -1
  60. package/dist/types/TabsListView.vue.d.ts +2 -1
  61. package/dist/types/Textarea.vue.d.ts +2 -1
  62. package/dist/types/TextareaControl.vue.d.ts +13 -0
  63. package/dist/types/Toast.vue.d.ts +3 -1
  64. package/dist/types/ToastActionButton.vue.d.ts +16 -0
  65. package/dist/types/ToastCloseButton.vue.d.ts +13 -0
  66. package/dist/types/ToastProvider.vue.d.ts +6 -1
  67. package/dist/types/ToggleButton.vue.d.ts +2 -1
  68. package/dist/types/ToggleButtonGroup.vue.d.ts +3 -2
  69. package/dist/types/ToggleGroup.vue.d.ts +3 -2
  70. package/dist/types/Tooltip.vue.d.ts +2 -1
  71. package/dist/types/composition-factory.d.ts +20 -0
  72. package/dist/types/composition.d.ts +581 -0
  73. package/dist/types/data-table-composition-context.d.ts +8 -0
  74. package/dist/types/feedback-context.d.ts +8 -0
  75. package/dist/types/index.d.ts +312 -30
  76. package/dist/types/input-composition-context.d.ts +15 -0
  77. package/dist/types/select-composition-context.d.ts +18 -0
  78. package/dist/types/sidebar-composition-context.d.ts +7 -0
  79. package/dist/types/styling.d.ts +5 -0
  80. package/dist/types/toast-composition-context.d.ts +9 -0
  81. package/package.json +1 -1
@@ -1,7 +1,8 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import { type SelectOption } from './selection-options.js';
2
3
  import type { SelectSize, SelectVariant } from './types.js';
3
4
  declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: import("vue").PublicProps & __VLS_PrettifyLocal<{
5
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(StylingProps<"root" | "description" | "label" | "required" | "item" | "error" | "clear" | "check" | "control" | "value" | "closeIcon" | "icon" | "itemLabel" | "leading" | "list" | "popover" | "trigger"> & {
5
6
  label: string;
6
7
  options: SelectOption[];
7
8
  size?: SelectSize;
@@ -22,7 +23,7 @@ declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_p
22
23
  dir?: "ltr" | "rtl";
23
24
  clearable?: boolean;
24
25
  clearLabel?: string;
25
- } & {
26
+ }) & {
26
27
  onClose?: (() => any) | undefined;
27
28
  onClear?: (() => any) | undefined;
28
29
  "onUpdate:modelValue"?: ((value: M extends "multiple" ? string[] : string | undefined) => any) | undefined;
@@ -0,0 +1,15 @@
1
+ declare var __VLS_1: {}, __VLS_8: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -1,6 +1,10 @@
1
1
  import { type PropType, type VNode } from 'vue';
2
2
  import type { SelectSize, SelectVariant } from './types.js';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ classNames: {
5
+ type: PropType<Partial<Record<"root" | "legend" | "controls", string>>>;
6
+ default: undefined;
7
+ };
4
8
  label: {
5
9
  type: StringConstructor;
6
10
  required: true;
@@ -25,6 +29,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
29
  }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
30
  [key: string]: any;
27
31
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ classNames: {
33
+ type: PropType<Partial<Record<"root" | "legend" | "controls", string>>>;
34
+ default: undefined;
35
+ };
28
36
  label: {
29
37
  type: StringConstructor;
30
38
  required: true;
@@ -47,6 +55,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
47
55
  default: undefined;
48
56
  };
49
57
  }>> & Readonly<{}>, {
58
+ classNames: Partial<Record<"root" | "legend" | "controls", string>>;
50
59
  dir: "ltr" | "rtl";
51
60
  variant: SelectVariant;
52
61
  size: SelectSize;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_13: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_13) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,44 @@
1
+ import { type StylingProps } from './styling.js';
2
+ type __VLS_Props = StylingProps<'label' | 'root'> & {
3
+ label?: string;
4
+ id?: string;
5
+ modelValue?: string | string[];
6
+ defaultValue?: string | string[];
7
+ selectionMode?: 'single' | 'multiple';
8
+ disabled?: boolean;
9
+ required?: boolean;
10
+ name?: string;
11
+ open?: boolean;
12
+ defaultOpen?: boolean;
13
+ dir?: 'ltr' | 'rtl';
14
+ };
15
+ declare var __VLS_10: {};
16
+ type __VLS_Slots = {} & {
17
+ default?: (props: typeof __VLS_10) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ clear: () => any;
21
+ "update:modelValue": (value: string | string[] | undefined) => any;
22
+ "update:open": (value: boolean) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ onClear?: (() => any) | undefined;
25
+ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
26
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
27
+ }>, {
28
+ id: string;
29
+ label: string;
30
+ dir: "ltr" | "rtl";
31
+ name: string;
32
+ modelValue: string | string[];
33
+ defaultValue: string | string[];
34
+ open: boolean;
35
+ selectionMode: "multiple" | "single";
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
+ declare const _default: typeof __VLS_export;
39
+ export default _default;
40
+ type __VLS_WithSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_9: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_9) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ placeholder?: string;
3
+ };
4
+ declare var __VLS_7: {
5
+ selectedLabel: string[];
6
+ modelValue: import("reka-ui").AcceptableValue | import("reka-ui").AcceptableValue[] | undefined;
7
+ };
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_7) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -1,4 +1,5 @@
1
- type __VLS_Props = {
1
+ import { type StylingProps } from './styling.js';
2
+ type __VLS_Props = StylingProps<'root'> & {
2
3
  orientation?: 'horizontal' | 'vertical';
3
4
  decorative?: boolean;
4
5
  };
@@ -1,5 +1,6 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import type { NavigationItem } from './dashboard-types.js';
2
- type __VLS_Props = {
3
+ type __VLS_Props = StylingProps<'header' | 'item' | 'link' | 'list' | 'navigation' | 'root' | 'title' | 'toggle'> & {
3
4
  label: string;
4
5
  items: NavigationItem[];
5
6
  currentId?: string;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ open?: boolean;
3
+ defaultOpen?: boolean;
4
+ };
5
+ declare var __VLS_1: {
6
+ open: boolean;
7
+ };
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:open": (value: boolean) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
+ }>, {
16
+ open: boolean;
17
+ defaultOpen: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,15 @@
1
+ declare var __VLS_1: {
2
+ open: boolean;
3
+ };
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_1) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -1,4 +1,5 @@
1
- type __VLS_Props = {
1
+ import { type StylingProps } from './styling.js';
2
+ type __VLS_Props = StylingProps<'root'> & {
2
3
  shape?: 'rectangle' | 'circle';
3
4
  animated?: boolean;
4
5
  };
@@ -1,5 +1,6 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import type { SpinnerSize, SpinnerColor } from './types.js';
2
- type __VLS_Props = {
3
+ type __VLS_Props = StylingProps<'arc' | 'label' | 'root' | 'track'> & {
3
4
  size?: SpinnerSize;
4
5
  color?: SpinnerColor;
5
6
  label?: string;
@@ -1,4 +1,5 @@
1
- type __VLS_Props = {
1
+ import { type StylingProps } from './styling.js';
2
+ type __VLS_Props = StylingProps<'content' | 'control' | 'description' | 'error' | 'label' | 'root' | 'thumb'> & {
2
3
  label: string;
3
4
  modelValue?: boolean;
4
5
  defaultValue?: boolean;
@@ -1,4 +1,5 @@
1
- type __VLS_Props = {
1
+ import { type StylingProps } from './styling.js';
2
+ type __VLS_Props = StylingProps<'caption' | 'root' | 'scroll'> & {
2
3
  caption: string;
3
4
  };
4
5
  declare var __VLS_1: {};
@@ -1,5 +1,6 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import type { TabItem, ButtonSize, TabsVariant } from './types.js';
2
- type __VLS_Props = {
3
+ type __VLS_Props = StylingProps<'actions' | 'extras' | 'icon' | 'label' | 'list' | 'listContainer' | 'navigation' | 'panel' | 'root' | 'scrollButton' | 'separator' | 'toolbar' | 'trigger'> & {
3
4
  label: string;
4
5
  variant?: TabsVariant;
5
6
  size?: ButtonSize;
@@ -1,5 +1,6 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import type { TabItem } from './types.js';
2
- type __VLS_Props = {
3
+ type __VLS_Props = StylingProps<'icon' | 'label' | 'list' | 'listContainer' | 'root' | 'scrollButton' | 'separator' | 'trigger'> & {
3
4
  label: string;
4
5
  items: TabItem[];
5
6
  showSeparators: boolean;
@@ -1,4 +1,5 @@
1
- type __VLS_Props = {
1
+ import { type StylingProps } from './styling.js';
2
+ type __VLS_Props = StylingProps<'control' | 'description' | 'error' | 'label' | 'root'> & {
2
3
  label: string;
3
4
  defaultValue?: string;
4
5
  description?: string;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_7: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_7) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,6 +1,8 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import type { ToastEntry, ToastManager, ToastPlacement } from './toast-model.js';
2
- type __VLS_Props = {
3
+ type __VLS_Props = StylingProps<'action' | 'actions' | 'body' | 'close' | 'description' | 'indicator' | 'progress' | 'root' | 'title'> & {
3
4
  entry: ToastEntry;
5
+ composed?: boolean;
4
6
  manager?: ToastManager;
5
7
  placement?: ToastPlacement;
6
8
  closeLabel?: string;
@@ -0,0 +1,16 @@
1
+ type __VLS_Props = {
2
+ cancel?: boolean;
3
+ };
4
+ declare var __VLS_9: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_9) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_9: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_9) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,5 +1,6 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import { type ToastEntry, type ToastManager, type ToastPlacement } from './toast-model.js';
2
- type __VLS_Props = {
3
+ type __VLS_Props = StylingProps<'action' | 'actions' | 'body' | 'close' | 'description' | 'indicator' | 'progress' | 'root' | 'title' | 'toast' | 'viewport'> & {
3
4
  manager?: ToastManager;
4
5
  placement?: ToastPlacement;
5
6
  label?: string;
@@ -14,6 +15,10 @@ type __VLS_Slots = {
14
15
  default?: (props: {
15
16
  toast: ToastManager;
16
17
  }) => unknown;
18
+ item?: (props: {
19
+ entry: ToastEntry;
20
+ dismiss: () => void;
21
+ }) => unknown;
17
22
  toast?: (props: {
18
23
  entry: ToastEntry;
19
24
  dismiss: () => void;
@@ -1,5 +1,6 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import type { ButtonSize } from './types.js';
2
- type __VLS_Props = {
3
+ type __VLS_Props = StylingProps<'root'> & {
3
4
  id?: string;
4
5
  variant?: 'default' | 'ghost';
5
6
  size?: ButtonSize;
@@ -1,6 +1,7 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import type { ButtonSize } from './types.js';
2
3
  declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
- props: import("vue").PublicProps & __VLS_PrettifyLocal<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(StylingProps<"root"> & {
4
5
  label: string;
5
6
  selectionMode?: M;
6
7
  modelValue?: M extends "multiple" ? string[] : string | null;
@@ -12,7 +13,7 @@ declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_p
12
13
  orientation?: "horizontal" | "vertical";
13
14
  dir?: "ltr" | "rtl";
14
15
  disallowEmptySelection?: boolean;
15
- } & {
16
+ }) & {
16
17
  "onUpdate:modelValue"?: ((value: M extends "multiple" ? string[] : string | null) => any) | undefined;
17
18
  }> & (typeof globalThis extends {
18
19
  __VLS_PROPS_FALLBACK: infer P;
@@ -1,7 +1,8 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import { type ToggleGroupItem, type ToggleGroupVariant } from './toggle-group-model.js';
2
3
  import type { ButtonSize } from './types.js';
3
4
  declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: import("vue").PublicProps & __VLS_PrettifyLocal<{
5
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(StylingProps<"root" | "item" | "icon"> & {
5
6
  label: string;
6
7
  items: ToggleGroupItem[];
7
8
  selectionMode?: M;
@@ -14,7 +15,7 @@ declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_p
14
15
  size?: ButtonSize;
15
16
  orientation?: "horizontal" | "vertical";
16
17
  dir?: "ltr" | "rtl";
17
- } & {
18
+ }) & {
18
19
  "onUpdate:modelValue"?: ((value: M extends "multiple" ? string[] : string | null) => any) | undefined;
19
20
  }> & (typeof globalThis extends {
20
21
  __VLS_PROPS_FALLBACK: infer P;
@@ -1,5 +1,6 @@
1
+ import { type StylingProps } from './styling.js';
1
2
  import type { ButtonVariant, ButtonSize } from './types.js';
2
- type __VLS_Props = {
3
+ type __VLS_Props = StylingProps<'panel' | 'root' | 'trigger'> & {
3
4
  triggerLabel: string;
4
5
  text: string;
5
6
  triggerIconOnly?: boolean;
@@ -0,0 +1,20 @@
1
+ import { type Component, type VNodeChild, type HTMLAttributes, type AnchorHTMLAttributes, type TdHTMLAttributes } from 'vue';
2
+ /** Wrap a primitive without replacing its props, events, slots or exposed instance. */
3
+ export declare function styledPrimitive<T extends Component>(primitive: T, name: string, base: string, fallback?: () => VNodeChild, defaults?: Record<string, unknown>): T;
4
+ /** A content part; semantic tags and native attributes remain under consumer control. */
5
+ export interface ContentPart<Props> {
6
+ new (): {
7
+ $props: Props;
8
+ $slots: {
9
+ default?: () => VNodeChild;
10
+ };
11
+ $el: Element;
12
+ };
13
+ }
14
+ type ContentAttributes<Tag extends string> = HTMLAttributes & {
15
+ as?: string;
16
+ } & (Tag extends 'a' ? Pick<AnchorHTMLAttributes, 'href' | 'target' | 'rel' | 'download' | 'hreflang' | 'type'> : Tag extends 'th' | 'td' ? Pick<TdHTMLAttributes, 'colspan' | 'rowspan' | 'headers'> & {
17
+ scope?: 'row' | 'col' | 'rowgroup' | 'colgroup';
18
+ } : unknown);
19
+ export declare function contentPart<Tag extends string>(name: string, tag: Tag, base: string, defaults?: {}): ContentPart<ContentAttributes<Tag>>;
20
+ export {};