ropav 0.6.0 → 0.7.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.
- package/README.md +32 -9
- package/dist/components/accordion/index.d.ts +2 -190
- package/dist/components/accordion/index.js +1 -12
- package/dist/components/alert/alert-indicator.js +1 -1
- package/dist/components/alert/index.d.ts +2 -131
- package/dist/components/alert/index.js +1 -10
- package/dist/components/alert-dialog/alert-dialog-close.js +1 -1
- package/dist/components/alert-dialog/alert-dialog-heading.js +2 -2
- package/dist/components/alert-dialog/alert-dialog.types.d.ts +1 -1
- package/dist/components/alert-dialog/index.d.ts +2 -296
- package/dist/components/alert-dialog/index.js +1 -17
- package/dist/components/autocomplete/autocomplete-popover.js +2 -2
- package/dist/components/autocomplete/autocomplete-root.js +1 -1
- package/dist/components/autocomplete/index.d.ts +2 -250
- package/dist/components/autocomplete/index.js +1 -12
- package/dist/components/avatar/avatar.context.d.ts +1 -1
- package/dist/components/avatar/index.d.ts +2 -101
- package/dist/components/avatar/index.js +1 -8
- package/dist/components/badge/badge-anchor.js +5 -4
- package/dist/components/badge/badge-auto-label.d.ts +4 -4
- package/dist/components/badge/badge-auto-label.js +2 -2
- package/dist/components/badge/badge-root.js +2 -2
- package/dist/components/badge/index.d.ts +2 -95
- package/dist/components/badge/index.js +1 -8
- package/dist/components/breadcrumbs/breadcrumbs-item.js +2 -2
- package/dist/components/breadcrumbs/breadcrumbs.types.d.ts +2 -2
- package/dist/components/breadcrumbs/index.d.ts +2 -90
- package/dist/components/breadcrumbs/index.js +1 -7
- package/dist/components/button/index.d.ts +2 -61
- package/dist/components/button/index.js +1 -4
- package/dist/components/button-group/index.d.ts +2 -72
- package/dist/components/button-group/index.js +1 -7
- package/dist/components/calendar/calendar-grid-body.js +2 -2
- package/dist/components/calendar/calendar-grid-header.js +1 -1
- package/dist/components/calendar/calendar-grid.js +2 -1
- package/dist/components/calendar/calendar-root.d.ts +1 -1
- package/dist/components/calendar/calendar-root.js +13 -13
- package/dist/components/calendar/calendar.context.js +1 -1
- package/dist/components/calendar/calendar.types.d.ts +3 -1
- package/dist/components/calendar/index.d.ts +2 -422
- package/dist/components/calendar/index.js +1 -27
- package/dist/components/calendar-year-picker/calendar-year-picker-cell.js +15 -11
- package/dist/components/calendar-year-picker/calendar-year-picker-grid-body.js +9 -10
- package/dist/components/calendar-year-picker/calendar-year-picker-grid.js +36 -32
- package/dist/components/calendar-year-picker/calendar-year-picker-trigger-heading.js +1 -1
- package/dist/components/calendar-year-picker/calendar-year-picker-trigger.js +1 -1
- package/dist/components/calendar-year-picker/calendar-year-picker.context.d.ts +26 -8
- package/dist/components/calendar-year-picker/calendar-year-picker.context.js +2 -2
- package/dist/components/calendar-year-picker/calendar-year-picker.types.d.ts +8 -1
- package/dist/components/calendar-year-picker/index.d.ts +0 -134
- package/dist/components/calendar-year-picker/index.js +1 -11
- package/dist/components/card/index.d.ts +2 -152
- package/dist/components/card/index.js +1 -11
- package/dist/components/checkbox/index.d.ts +2 -146
- package/dist/components/checkbox/index.js +1 -9
- package/dist/components/checkbox-group/index.d.ts +2 -77
- package/dist/components/checkbox-group/index.js +1 -4
- package/dist/components/chip/chip-auto-label.d.ts +4 -4
- package/dist/components/chip/chip-auto-label.js +2 -2
- package/dist/components/chip/chip-root.js +2 -2
- package/dist/components/chip/index.d.ts +2 -72
- package/dist/components/chip/index.js +1 -7
- package/dist/components/close-button/index.d.ts +2 -55
- package/dist/components/close-button/index.js +1 -4
- package/dist/components/color-area/index.d.ts +2 -100
- package/dist/components/color-area/index.js +1 -7
- package/dist/components/color-field/color-field-root.js +1 -1
- package/dist/components/color-field/index.d.ts +2 -175
- package/dist/components/color-field/index.js +1 -14
- package/dist/components/color-input-group/index.d.ts +2 -115
- package/dist/components/color-input-group/index.js +1 -9
- package/dist/components/color-picker/color-picker-popover.js +2 -2
- package/dist/components/color-picker/index.d.ts +2 -110
- package/dist/components/color-picker/index.js +1 -8
- package/dist/components/color-slider/index.d.ts +2 -138
- package/dist/components/color-slider/index.js +1 -9
- package/dist/components/color-swatch/index.d.ts +2 -59
- package/dist/components/color-swatch/index.js +1 -4
- package/dist/components/color-swatch-picker/color-swatch-picker-item.js +1 -1
- package/dist/components/color-swatch-picker/index.d.ts +2 -129
- package/dist/components/color-swatch-picker/index.js +1 -9
- package/dist/components/combo-box/combo-box-popover.js +2 -2
- package/dist/components/combo-box/combo-box.types.d.ts +1 -1
- package/dist/components/combo-box/index.d.ts +2 -229
- package/dist/components/combo-box/index.js +1 -10
- package/dist/components/date-field/date-field-root.js +2 -2
- package/dist/components/date-field/index.d.ts +2 -241
- package/dist/components/date-field/index.js +1 -12
- package/dist/components/date-input-group/use-date-segment.js +1 -1
- package/dist/components/date-picker/date-picker-popover.js +2 -2
- package/dist/components/date-picker/date-picker-root.js +6 -3
- package/dist/components/date-picker/index.d.ts +2 -186
- package/dist/components/date-picker/index.js +1 -9
- package/dist/components/date-range-picker/date-range-picker-popover.js +2 -2
- package/dist/components/date-range-picker/date-range-picker-root.js +6 -3
- package/dist/components/date-range-picker/index.d.ts +2 -209
- package/dist/components/date-range-picker/index.js +1 -10
- package/dist/components/description/index.d.ts +2 -45
- package/dist/components/description/index.js +1 -4
- package/dist/components/disclosure/disclosure-root.js +3 -3
- package/dist/components/disclosure/index.d.ts +2 -163
- package/dist/components/disclosure/index.js +1 -11
- package/dist/components/disclosure-group/index.d.ts +2 -57
- package/dist/components/disclosure-group/index.js +1 -4
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/drawer/drawer-dialog.js +1 -1
- package/dist/components/drawer/drawer-heading.js +2 -2
- package/dist/components/drawer/drawer.types.d.ts +1 -1
- package/dist/components/drawer/index.d.ts +2 -291
- package/dist/components/drawer/index.js +1 -17
- package/dist/components/drop-zone/index.d.ts +2 -80
- package/dist/components/drop-zone/index.js +1 -7
- package/dist/components/dropdown/dropdown-popover.js +2 -2
- package/dist/components/dropdown/index.d.ts +2 -265
- package/dist/components/dropdown/index.js +1 -23
- package/dist/components/empty-state/index.d.ts +2 -45
- package/dist/components/empty-state/index.js +1 -4
- package/dist/components/error-message/index.d.ts +2 -45
- package/dist/components/error-message/index.js +1 -4
- package/dist/components/field-error/field-error-root.js +2 -2
- package/dist/components/field-error/index.d.ts +2 -66
- package/dist/components/field-error/index.js +1 -7
- package/dist/components/fieldset/index.d.ts +2 -110
- package/dist/components/fieldset/index.js +1 -9
- package/dist/components/form/index.d.ts +2 -49
- package/dist/components/form/index.js +1 -4
- package/dist/components/header/index.d.ts +2 -45
- package/dist/components/header/index.js +1 -4
- package/dist/components/i18n-provider/index.d.ts +2 -2
- package/dist/components/i18n-provider/index.js +1 -1
- package/dist/components/input/index.d.ts +2 -51
- package/dist/components/input/index.js +1 -4
- package/dist/components/input-group/index.d.ts +2 -141
- package/dist/components/input-group/index.js +1 -10
- package/dist/components/input-otp/index.d.ts +2 -151
- package/dist/components/input-otp/index.js +1 -9
- package/dist/components/kbd/index.d.ts +2 -86
- package/dist/components/kbd/index.js +1 -8
- package/dist/components/label/index.d.ts +2 -51
- package/dist/components/label/index.js +1 -4
- package/dist/components/link/index.d.ts +2 -94
- package/dist/components/link/index.js +1 -7
- package/dist/components/list-box/index.d.ts +2 -191
- package/dist/components/list-box/index.js +1 -14
- package/dist/components/list-box/list-box-drop-indicator.js +2 -2
- package/dist/components/list-box/list-box-root.js +4 -4
- package/dist/components/list-box-item/index.d.ts +2 -74
- package/dist/components/list-box-item/index.js +1 -7
- package/dist/components/list-box-item/list-box-item-root.js +2 -2
- package/dist/components/list-box-section/index.d.ts +2 -47
- package/dist/components/list-box-section/index.js +1 -4
- package/dist/components/menu/index.d.ts +2 -83
- package/dist/components/menu/index.js +1 -4
- package/dist/components/menu-item/index.d.ts +2 -96
- package/dist/components/menu-item/index.js +1 -8
- package/dist/components/menu-item/menu-item-root.js +2 -2
- package/dist/components/menu-section/index.d.ts +2 -63
- package/dist/components/menu-section/index.js +1 -4
- package/dist/components/meter/index.d.ts +2 -127
- package/dist/components/meter/index.js +1 -9
- package/dist/components/modal/index.d.ts +2 -296
- package/dist/components/modal/index.js +1 -17
- package/dist/components/modal/modal-close.js +1 -1
- package/dist/components/modal/modal-heading.js +2 -2
- package/dist/components/modal/modal.context.d.ts +2 -2
- package/dist/components/modal/modal.types.d.ts +1 -1
- package/dist/components/number-field/index.d.ts +2 -186
- package/dist/components/number-field/index.js +1 -10
- package/dist/components/number-field/number-field-decrement-button.js +1 -1
- package/dist/components/number-field/number-field-increment-button.js +1 -1
- package/dist/components/overlay/overlay-slots.d.ts +1 -1
- package/dist/components/pagination/index.d.ts +2 -244
- package/dist/components/pagination/index.js +1 -15
- package/dist/components/pagination/pagination-next.js +4 -1
- package/dist/components/pagination/pagination-previous.js +4 -1
- package/dist/components/popover/index.d.ts +2 -172
- package/dist/components/popover/index.js +1 -11
- package/dist/components/popover/popover-arrow.js +2 -2
- package/dist/components/popover/popover-content.js +2 -2
- package/dist/components/popover/popover-heading.js +2 -2
- package/dist/components/popover/popover.types.d.ts +1 -1
- package/dist/components/progress-bar/index.d.ts +2 -133
- package/dist/components/progress-bar/index.js +1 -9
- package/dist/components/progress-circle/index.d.ts +2 -124
- package/dist/components/progress-circle/index.js +1 -9
- package/dist/components/radio/index.d.ts +2 -120
- package/dist/components/radio/index.js +1 -9
- package/dist/components/radio-group/index.d.ts +2 -79
- package/dist/components/radio-group/index.js +1 -4
- package/dist/components/range-calendar/index.d.ts +2 -424
- package/dist/components/range-calendar/index.js +1 -27
- package/dist/components/range-calendar/range-calendar-cell.js +4 -2
- package/dist/components/range-calendar/range-calendar-grid-body.js +2 -2
- package/dist/components/range-calendar/range-calendar-grid-header.js +1 -1
- package/dist/components/range-calendar/range-calendar-grid.js +2 -1
- package/dist/components/range-calendar/range-calendar-root.d.ts +3 -3
- package/dist/components/range-calendar/range-calendar-root.js +13 -13
- package/dist/components/range-calendar/range-calendar.context.d.ts +1 -1
- package/dist/components/range-calendar/range-calendar.context.js +1 -1
- package/dist/components/range-calendar/range-calendar.types.d.ts +3 -1
- package/dist/components/router-provider/index.d.ts +2 -2
- package/dist/components/router-provider/index.js +1 -1
- package/dist/components/scroll-shadow/index.d.ts +2 -69
- package/dist/components/scroll-shadow/index.js +1 -4
- package/dist/components/search-field/index.d.ts +2 -195
- package/dist/components/search-field/index.js +1 -10
- package/dist/components/search-field/search-field-clear-button.js +5 -5
- package/dist/components/segmented-control/index.d.ts +2 -126
- package/dist/components/segmented-control/index.js +1 -9
- package/dist/components/select/index.d.ts +2 -202
- package/dist/components/select/index.js +1 -10
- package/dist/components/select/select-popover.js +2 -2
- package/dist/components/select/select-value.js +1 -1
- package/dist/components/separator/index.d.ts +2 -41
- package/dist/components/separator/index.js +1 -4
- package/dist/components/sidebar/index.d.ts +2 -520
- package/dist/components/sidebar/index.js +1 -25
- package/dist/components/sidebar/sidebar-content.js +2 -2
- package/dist/components/sidebar/sidebar-item-tooltip.js +2 -2
- package/dist/components/sidebar/sidebar-panel.js +1 -0
- package/dist/components/sidebar/sidebar-rail.js +1 -0
- package/dist/components/sidebar/sidebar-root.js +23 -5
- package/dist/components/sidebar/sidebar.state.d.ts +3 -0
- package/dist/components/sidebar/sidebar.state.js +5 -0
- package/dist/components/sidebar/sidebar.types.d.ts +2 -2
- package/dist/components/skeleton/index.d.ts +2 -47
- package/dist/components/skeleton/index.js +1 -4
- package/dist/components/slider/index.d.ts +2 -180
- package/dist/components/slider/index.js +1 -11
- package/dist/components/spinner/index.d.ts +2 -41
- package/dist/components/spinner/index.js +1 -4
- package/dist/components/splitter/index.d.ts +2 -134
- package/dist/components/splitter/index.js +1 -8
- package/dist/components/surface/index.d.ts +2 -47
- package/dist/components/surface/index.js +1 -4
- package/dist/components/switch/index.d.ts +2 -165
- package/dist/components/switch/index.js +1 -10
- package/dist/components/switch-group/index.d.ts +2 -47
- package/dist/components/switch-group/index.js +1 -4
- package/dist/components/table/index.d.ts +2 -442
- package/dist/components/table/index.js +1 -23
- package/dist/components/table/table-body.js +9 -9
- package/dist/components/table/table-cell.js +3 -3
- package/dist/components/table/table-column.js +4 -4
- package/dist/components/table/table-content.js +3 -3
- package/dist/components/table/table-drag-handle.js +1 -1
- package/dist/components/table/table-drop-indicator.js +9 -7
- package/dist/components/table/table-header.js +4 -4
- package/dist/components/table/table-load-more.js +5 -5
- package/dist/components/table/table-row.js +4 -4
- package/dist/components/table/table.context.d.ts +2 -2
- package/dist/components/table/table.types.d.ts +3 -3
- package/dist/components/tabs/index.d.ts +2 -189
- package/dist/components/tabs/index.js +1 -12
- package/dist/components/tabs/tabs-list-container.js +2 -2
- package/dist/components/tag/index.d.ts +2 -76
- package/dist/components/tag/index.js +1 -7
- package/dist/components/tag/tag-remove-button.js +2 -2
- package/dist/components/tag-group/index.d.ts +2 -93
- package/dist/components/tag-group/index.js +1 -7
- package/dist/components/textarea/index.d.ts +2 -51
- package/dist/components/textarea/index.js +1 -4
- package/dist/components/textfield/index.d.ts +2 -109
- package/dist/components/textfield/index.js +1 -4
- package/dist/components/time-field/index.d.ts +2 -233
- package/dist/components/time-field/index.js +1 -12
- package/dist/components/toast/index.d.ts +2 -216
- package/dist/components/toast/index.js +1 -15
- package/dist/components/toast/toast-action-button.js +2 -2
- package/dist/components/toast/toast-default-content.js +1 -1
- package/dist/components/toast/toast-queue.d.ts +1 -1
- package/dist/components/toast/toast-queue.js +1 -1
- package/dist/components/toast/toast-root.js +1 -1
- package/dist/components/toast/toast.types.d.ts +3 -3
- package/dist/components/toggle-button/index.d.ts +2 -65
- package/dist/components/toggle-button/index.js +1 -4
- package/dist/components/toggle-button-group/index.d.ts +2 -82
- package/dist/components/toggle-button-group/index.js +1 -7
- package/dist/components/toolbar/index.d.ts +2 -49
- package/dist/components/toolbar/index.js +1 -4
- package/dist/components/tooltip/index.d.ts +2 -136
- package/dist/components/tooltip/index.js +1 -9
- package/dist/components/tooltip/tooltip-arrow.js +2 -2
- package/dist/components/tooltip/tooltip-root.js +1 -1
- package/dist/components/tooltip/tooltip.types.d.ts +1 -1
- package/dist/components/typography/code.js +2 -2
- package/dist/components/typography/heading.js +2 -2
- package/dist/components/typography/index.d.ts +2 -1269
- package/dist/components/typography/index.js +1 -10
- package/dist/components/typography/paragraph.js +2 -2
- package/dist/components/typography/typography-root.js +2 -2
- package/dist/composables/use-calendar-grid.js +2 -1
- package/dist/composables/use-calendar-year-picker.js +12 -3
- package/dist/composables/use-color-slider.d.ts +1 -1
- package/dist/composables/use-color-slider.js +1 -1
- package/dist/composables/use-press.d.ts +10 -0
- package/dist/composables/use-press.js +27 -2
- package/dist/composables/use-prevent-scroll.d.ts +11 -5
- package/dist/composables/use-prevent-scroll.js +11 -5
- package/dist/composables/use-range-calendar.js +2 -1
- package/dist/composables/use-text-field.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +110 -111
- package/dist/styles-no-preflight.css +3 -0
- package/dist/styles-overrides.css +15 -0
- package/dist/styles.css +1 -16
- package/dist/utils/calendar-systems.d.ts +14 -0
- package/dist/utils/calendar-systems.js +2 -0
- package/dist/utils/calendar.d.ts +14 -5
- package/dist/utils/calendar.js +18 -21
- package/dist/utils/compose.d.ts +4 -6
- package/dist/utils/compose.js +4 -6
- package/dist/utils/dnd-list-drop-target-delegate.d.ts +19 -1
- package/dist/utils/dnd-list-drop-target-delegate.js +37 -6
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/virtualizer-list-layout.d.ts +8 -0
- package/dist/utils/virtualizer-list-layout.js +12 -2
- package/dist/utils/virtualizer-table-layout.d.ts +1 -0
- package/dist/utils/virtualizer-table-layout.js +3 -0
- package/package.json +7 -4
|
@@ -3,170 +3,7 @@ import SwitchControl from "./switch-control.js";
|
|
|
3
3
|
import SwitchIcon from "./switch-icon.js";
|
|
4
4
|
import SwitchRoot from "./switch-root.js";
|
|
5
5
|
import SwitchThumb from "./switch-thumb.js";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
slots: {
|
|
9
|
-
default?: (props: import("./switch.types.js").SwitchSlotProps) => unknown;
|
|
10
|
-
};
|
|
11
|
-
emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "update:isSelected", isSelected: boolean) => void);
|
|
12
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
13
|
-
props: import('vue').PublicProps & {
|
|
14
|
-
class?: string;
|
|
15
|
-
size?: import("@ropav/styles").SwitchVariants["size"];
|
|
16
|
-
isSelected?: boolean;
|
|
17
|
-
defaultSelected?: boolean;
|
|
18
|
-
isDisabled?: boolean;
|
|
19
|
-
isReadOnly?: boolean;
|
|
20
|
-
isInvalid?: boolean;
|
|
21
|
-
validate?: import("../../index.js").ValidationFunction<boolean>;
|
|
22
|
-
validationBehavior?: import("../../index.js").ValidationBehavior;
|
|
23
|
-
isRequired?: boolean;
|
|
24
|
-
name?: string;
|
|
25
|
-
value?: string;
|
|
26
|
-
form?: string;
|
|
27
|
-
id?: string;
|
|
28
|
-
ariaLabel?: string;
|
|
29
|
-
ariaLabelledby?: string;
|
|
30
|
-
ariaDescribedby?: string;
|
|
31
|
-
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
32
|
-
"onUpdate:isSelected"?: ((isSelected: boolean) => any) | undefined;
|
|
33
|
-
} & (typeof globalThis extends {
|
|
34
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
35
|
-
} ? P : {});
|
|
36
|
-
expose: (exposed: {}) => void;
|
|
37
|
-
attrs: any;
|
|
38
|
-
slots: {
|
|
39
|
-
default?: (props: import("./switch.types.js").SwitchSlotProps) => unknown;
|
|
40
|
-
};
|
|
41
|
-
emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "update:isSelected", isSelected: boolean) => void);
|
|
42
|
-
}>) => import('vue').VNode & {
|
|
43
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
44
|
-
}) & {
|
|
45
|
-
Content: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
46
|
-
attrs: any;
|
|
47
|
-
slots: {
|
|
48
|
-
default?: (props: import("./switch.types.js").SwitchContentSlotProps) => unknown;
|
|
49
|
-
};
|
|
50
|
-
emit: {};
|
|
51
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
52
|
-
props: import('vue').PublicProps & {
|
|
53
|
-
class?: string;
|
|
54
|
-
} & (typeof globalThis extends {
|
|
55
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
56
|
-
} ? P : {});
|
|
57
|
-
expose: (exposed: {}) => void;
|
|
58
|
-
attrs: any;
|
|
59
|
-
slots: {
|
|
60
|
-
default?: (props: import("./switch.types.js").SwitchContentSlotProps) => unknown;
|
|
61
|
-
};
|
|
62
|
-
emit: {};
|
|
63
|
-
}>) => import('vue').VNode & {
|
|
64
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
65
|
-
};
|
|
66
|
-
Control: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
67
|
-
attrs: any;
|
|
68
|
-
slots: {
|
|
69
|
-
default?: () => unknown;
|
|
70
|
-
};
|
|
71
|
-
emit: {};
|
|
72
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
73
|
-
props: import('vue').PublicProps & {
|
|
74
|
-
class?: string;
|
|
75
|
-
} & (typeof globalThis extends {
|
|
76
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
77
|
-
} ? P : {});
|
|
78
|
-
expose: (exposed: {}) => void;
|
|
79
|
-
attrs: any;
|
|
80
|
-
slots: {
|
|
81
|
-
default?: () => unknown;
|
|
82
|
-
};
|
|
83
|
-
emit: {};
|
|
84
|
-
}>) => import('vue').VNode & {
|
|
85
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
86
|
-
};
|
|
87
|
-
Icon: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
88
|
-
attrs: any;
|
|
89
|
-
slots: {
|
|
90
|
-
default?: () => unknown;
|
|
91
|
-
};
|
|
92
|
-
emit: {};
|
|
93
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
94
|
-
props: import('vue').PublicProps & {
|
|
95
|
-
class?: string;
|
|
96
|
-
} & (typeof globalThis extends {
|
|
97
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
98
|
-
} ? P : {});
|
|
99
|
-
expose: (exposed: {}) => void;
|
|
100
|
-
attrs: any;
|
|
101
|
-
slots: {
|
|
102
|
-
default?: () => unknown;
|
|
103
|
-
};
|
|
104
|
-
emit: {};
|
|
105
|
-
}>) => import('vue').VNode & {
|
|
106
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
107
|
-
};
|
|
108
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
109
|
-
attrs: any;
|
|
110
|
-
slots: {
|
|
111
|
-
default?: (props: import("./switch.types.js").SwitchSlotProps) => unknown;
|
|
112
|
-
};
|
|
113
|
-
emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "update:isSelected", isSelected: boolean) => void);
|
|
114
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
115
|
-
props: import('vue').PublicProps & {
|
|
116
|
-
class?: string;
|
|
117
|
-
size?: import("@ropav/styles").SwitchVariants["size"];
|
|
118
|
-
isSelected?: boolean;
|
|
119
|
-
defaultSelected?: boolean;
|
|
120
|
-
isDisabled?: boolean;
|
|
121
|
-
isReadOnly?: boolean;
|
|
122
|
-
isInvalid?: boolean;
|
|
123
|
-
validate?: import("../../index.js").ValidationFunction<boolean>;
|
|
124
|
-
validationBehavior?: import("../../index.js").ValidationBehavior;
|
|
125
|
-
isRequired?: boolean;
|
|
126
|
-
name?: string;
|
|
127
|
-
value?: string;
|
|
128
|
-
form?: string;
|
|
129
|
-
id?: string;
|
|
130
|
-
ariaLabel?: string;
|
|
131
|
-
ariaLabelledby?: string;
|
|
132
|
-
ariaDescribedby?: string;
|
|
133
|
-
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
134
|
-
"onUpdate:isSelected"?: ((isSelected: boolean) => any) | undefined;
|
|
135
|
-
} & (typeof globalThis extends {
|
|
136
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
137
|
-
} ? P : {});
|
|
138
|
-
expose: (exposed: {}) => void;
|
|
139
|
-
attrs: any;
|
|
140
|
-
slots: {
|
|
141
|
-
default?: (props: import("./switch.types.js").SwitchSlotProps) => unknown;
|
|
142
|
-
};
|
|
143
|
-
emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "update:isSelected", isSelected: boolean) => void);
|
|
144
|
-
}>) => import('vue').VNode & {
|
|
145
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
146
|
-
};
|
|
147
|
-
Thumb: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
148
|
-
attrs: any;
|
|
149
|
-
slots: {
|
|
150
|
-
default?: () => unknown;
|
|
151
|
-
};
|
|
152
|
-
emit: {};
|
|
153
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
154
|
-
props: import('vue').PublicProps & {
|
|
155
|
-
class?: string;
|
|
156
|
-
} & (typeof globalThis extends {
|
|
157
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
158
|
-
} ? P : {});
|
|
159
|
-
expose: (exposed: {}) => void;
|
|
160
|
-
attrs: any;
|
|
161
|
-
slots: {
|
|
162
|
-
default?: () => unknown;
|
|
163
|
-
};
|
|
164
|
-
emit: {};
|
|
165
|
-
}>) => import('vue').VNode & {
|
|
166
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
export { SwitchRoot, SwitchContent, SwitchControl, SwitchThumb, SwitchIcon };
|
|
170
|
-
export type { SwitchRootProps, SwitchRootProps as SwitchProps, SwitchContentProps, SwitchControlProps, SwitchThumbProps, SwitchIconProps, SwitchSlotProps, SwitchContentSlotProps, } from "./switch.types.js";
|
|
6
|
+
export { SwitchRoot as Switch, SwitchContent, SwitchControl, SwitchThumb, SwitchIcon };
|
|
7
|
+
export type { SwitchRootProps as SwitchProps, SwitchContentProps, SwitchControlProps, SwitchThumbProps, SwitchIconProps, SwitchSlotProps, SwitchContentSlotProps, } from "./switch.types.js";
|
|
171
8
|
export { switchVariants } from "@ropav/styles";
|
|
172
9
|
export type { SwitchVariants } from "@ropav/styles";
|
|
@@ -4,13 +4,4 @@ import switch_icon_default from "./switch-icon.js";
|
|
|
4
4
|
import switch_root_default from "./switch-root.js";
|
|
5
5
|
import switch_thumb_default from "./switch-thumb.js";
|
|
6
6
|
import { switchVariants } from "@ropav/styles";
|
|
7
|
-
|
|
8
|
-
var Switch = Object.assign(switch_root_default, {
|
|
9
|
-
Content: switch_content_default,
|
|
10
|
-
Control: switch_control_default,
|
|
11
|
-
Icon: switch_icon_default,
|
|
12
|
-
Root: switch_root_default,
|
|
13
|
-
Thumb: switch_thumb_default
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
export { Switch, switch_content_default as SwitchContent, switch_control_default as SwitchControl, switch_icon_default as SwitchIcon, switch_root_default as SwitchRoot, switch_thumb_default as SwitchThumb, switchVariants };
|
|
7
|
+
export { switch_root_default as Switch, switch_content_default as SwitchContent, switch_control_default as SwitchControl, switch_icon_default as SwitchIcon, switch_thumb_default as SwitchThumb, switchVariants };
|
|
@@ -1,50 +1,5 @@
|
|
|
1
1
|
import SwitchGroupRoot from "./switch-group-root.js";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
slots: {
|
|
5
|
-
default?: () => unknown;
|
|
6
|
-
};
|
|
7
|
-
emit: {};
|
|
8
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
9
|
-
props: import('vue').PublicProps & {
|
|
10
|
-
class?: string;
|
|
11
|
-
orientation?: import("@ropav/styles").SwitchGroupVariants["orientation"];
|
|
12
|
-
} & (typeof globalThis extends {
|
|
13
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
-
} ? P : {});
|
|
15
|
-
expose: (exposed: {}) => void;
|
|
16
|
-
attrs: any;
|
|
17
|
-
slots: {
|
|
18
|
-
default?: () => unknown;
|
|
19
|
-
};
|
|
20
|
-
emit: {};
|
|
21
|
-
}>) => import('vue').VNode & {
|
|
22
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
23
|
-
}) & {
|
|
24
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
25
|
-
attrs: any;
|
|
26
|
-
slots: {
|
|
27
|
-
default?: () => unknown;
|
|
28
|
-
};
|
|
29
|
-
emit: {};
|
|
30
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
31
|
-
props: import('vue').PublicProps & {
|
|
32
|
-
class?: string;
|
|
33
|
-
orientation?: import("@ropav/styles").SwitchGroupVariants["orientation"];
|
|
34
|
-
} & (typeof globalThis extends {
|
|
35
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
36
|
-
} ? P : {});
|
|
37
|
-
expose: (exposed: {}) => void;
|
|
38
|
-
attrs: any;
|
|
39
|
-
slots: {
|
|
40
|
-
default?: () => unknown;
|
|
41
|
-
};
|
|
42
|
-
emit: {};
|
|
43
|
-
}>) => import('vue').VNode & {
|
|
44
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export { SwitchGroupRoot };
|
|
48
|
-
export type { SwitchGroupRootProps, SwitchGroupRootProps as SwitchGroupProps, } from "./switch-group.types.js";
|
|
2
|
+
export { SwitchGroupRoot as SwitchGroup };
|
|
3
|
+
export type { SwitchGroupRootProps as SwitchGroupProps } from "./switch-group.types.js";
|
|
49
4
|
export { switchGroupVariants } from "@ropav/styles";
|
|
50
5
|
export type { SwitchGroupVariants } from "@ropav/styles";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import switch_group_root_default from "./switch-group-root.js";
|
|
2
2
|
import { switchGroupVariants } from "@ropav/styles";
|
|
3
|
-
|
|
4
|
-
var SwitchGroup = Object.assign(switch_group_root_default, { Root: switch_group_root_default });
|
|
5
|
-
//#endregion
|
|
6
|
-
export { SwitchGroup, switch_group_root_default as SwitchGroupRoot, switchGroupVariants };
|
|
3
|
+
export { switch_group_root_default as SwitchGroup, switchGroupVariants };
|