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
|
@@ -1,113 +1,6 @@
|
|
|
1
1
|
import TextFieldRoot from "./textfield-root.js";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
slots: {
|
|
5
|
-
default?: (props: import("./textfield.types.js").TextFieldSlotProps) => unknown;
|
|
6
|
-
};
|
|
7
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: string) => void);
|
|
8
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
9
|
-
props: import('vue').PublicProps & {
|
|
10
|
-
class?: string;
|
|
11
|
-
variant?: "primary" | "secondary";
|
|
12
|
-
size?: "sm" | "md" | "lg";
|
|
13
|
-
fullWidth?: boolean;
|
|
14
|
-
value?: string;
|
|
15
|
-
defaultValue?: string;
|
|
16
|
-
isDisabled?: boolean;
|
|
17
|
-
isReadOnly?: boolean;
|
|
18
|
-
isRequired?: boolean;
|
|
19
|
-
isInvalid?: boolean;
|
|
20
|
-
validate?: import("../../index.js").ValidationFunction<string>;
|
|
21
|
-
validationBehavior?: import("../../index.js").ValidationBehavior;
|
|
22
|
-
name?: string;
|
|
23
|
-
form?: string;
|
|
24
|
-
id?: string;
|
|
25
|
-
type?: string;
|
|
26
|
-
pattern?: string;
|
|
27
|
-
placeholder?: string;
|
|
28
|
-
autoFocus?: boolean;
|
|
29
|
-
autoComplete?: string;
|
|
30
|
-
autoCapitalize?: string;
|
|
31
|
-
autoCorrect?: string;
|
|
32
|
-
spellCheck?: string | boolean;
|
|
33
|
-
inputMode?: string;
|
|
34
|
-
enterKeyHint?: string;
|
|
35
|
-
maxLength?: number;
|
|
36
|
-
minLength?: number;
|
|
37
|
-
ariaLabel?: string;
|
|
38
|
-
ariaLabelledby?: string;
|
|
39
|
-
ariaDescribedby?: string;
|
|
40
|
-
onChange?: ((value: string) => any) | undefined;
|
|
41
|
-
onFocusChange?: ((isFocused: boolean) => any) | undefined;
|
|
42
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
43
|
-
} & (typeof globalThis extends {
|
|
44
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
45
|
-
} ? P : {});
|
|
46
|
-
expose: (exposed: {}) => void;
|
|
47
|
-
attrs: any;
|
|
48
|
-
slots: {
|
|
49
|
-
default?: (props: import("./textfield.types.js").TextFieldSlotProps) => unknown;
|
|
50
|
-
};
|
|
51
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: string) => void);
|
|
52
|
-
}>) => import('vue').VNode & {
|
|
53
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
54
|
-
}) & {
|
|
55
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
56
|
-
attrs: any;
|
|
57
|
-
slots: {
|
|
58
|
-
default?: (props: import("./textfield.types.js").TextFieldSlotProps) => unknown;
|
|
59
|
-
};
|
|
60
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: string) => void);
|
|
61
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
62
|
-
props: import('vue').PublicProps & {
|
|
63
|
-
class?: string;
|
|
64
|
-
variant?: "primary" | "secondary";
|
|
65
|
-
size?: "sm" | "md" | "lg";
|
|
66
|
-
fullWidth?: boolean;
|
|
67
|
-
value?: string;
|
|
68
|
-
defaultValue?: string;
|
|
69
|
-
isDisabled?: boolean;
|
|
70
|
-
isReadOnly?: boolean;
|
|
71
|
-
isRequired?: boolean;
|
|
72
|
-
isInvalid?: boolean;
|
|
73
|
-
validate?: import("../../index.js").ValidationFunction<string>;
|
|
74
|
-
validationBehavior?: import("../../index.js").ValidationBehavior;
|
|
75
|
-
name?: string;
|
|
76
|
-
form?: string;
|
|
77
|
-
id?: string;
|
|
78
|
-
type?: string;
|
|
79
|
-
pattern?: string;
|
|
80
|
-
placeholder?: string;
|
|
81
|
-
autoFocus?: boolean;
|
|
82
|
-
autoComplete?: string;
|
|
83
|
-
autoCapitalize?: string;
|
|
84
|
-
autoCorrect?: string;
|
|
85
|
-
spellCheck?: string | boolean;
|
|
86
|
-
inputMode?: string;
|
|
87
|
-
enterKeyHint?: string;
|
|
88
|
-
maxLength?: number;
|
|
89
|
-
minLength?: number;
|
|
90
|
-
ariaLabel?: string;
|
|
91
|
-
ariaLabelledby?: string;
|
|
92
|
-
ariaDescribedby?: string;
|
|
93
|
-
onChange?: ((value: string) => any) | undefined;
|
|
94
|
-
onFocusChange?: ((isFocused: boolean) => any) | undefined;
|
|
95
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
96
|
-
} & (typeof globalThis extends {
|
|
97
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
98
|
-
} ? P : {});
|
|
99
|
-
expose: (exposed: {}) => void;
|
|
100
|
-
attrs: any;
|
|
101
|
-
slots: {
|
|
102
|
-
default?: (props: import("./textfield.types.js").TextFieldSlotProps) => unknown;
|
|
103
|
-
};
|
|
104
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: string) => void);
|
|
105
|
-
}>) => import('vue').VNode & {
|
|
106
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
export { TextFieldRoot };
|
|
110
|
-
export type { TextFieldRootProps, TextFieldRootProps as TextFieldProps, TextFieldSlotProps, } from "./textfield.types.js";
|
|
2
|
+
export { TextFieldRoot as TextField };
|
|
3
|
+
export type { TextFieldRootProps as TextFieldProps, TextFieldSlotProps } from "./textfield.types.js";
|
|
111
4
|
export { useTextFieldContext, provideTextFieldContext } from "./textfield.context.js";
|
|
112
5
|
export type { TextFieldContext } from "./textfield.context.js";
|
|
113
6
|
export { textFieldVariants } from "@ropav/styles";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { provideTextFieldContext, useTextFieldContext } from "./textfield.context.js";
|
|
2
2
|
import textfield_root_default from "./textfield-root.js";
|
|
3
3
|
import { textFieldVariants } from "@ropav/styles";
|
|
4
|
-
|
|
5
|
-
var TextField = Object.assign(textfield_root_default, { Root: textfield_root_default });
|
|
6
|
-
//#endregion
|
|
7
|
-
export { TextField, textfield_root_default as TextFieldRoot, provideTextFieldContext, textFieldVariants, useTextFieldContext };
|
|
4
|
+
export { textfield_root_default as TextField, provideTextFieldContext, textFieldVariants, useTextFieldContext };
|
|
@@ -1,239 +1,8 @@
|
|
|
1
1
|
import { DateInputGroupInput, DateInputGroupInputContainer, DateInputGroupPrefix, DateInputGroupRoot, DateInputGroupSegment, DateInputGroupSuffix } from "../date-input-group/index.js";
|
|
2
2
|
import TimeFieldRoot from "./time-field-root.js";
|
|
3
|
-
export declare const TimeField: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
4
|
-
attrs: any;
|
|
5
|
-
slots: {
|
|
6
|
-
default?: (props: import("./time-field.types.js").TimeFieldRootSlotProps) => unknown;
|
|
7
|
-
};
|
|
8
|
-
emit: ((evt: "change", value: import("../../index.js").TimeValue | null) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: import("../../index.js").TimeValue | null) => void);
|
|
9
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
10
|
-
props: import('vue').PublicProps & {
|
|
11
|
-
class?: string;
|
|
12
|
-
id?: string;
|
|
13
|
-
value?: import("../../index.js").TimeValue | null;
|
|
14
|
-
defaultValue?: import("../../index.js").TimeValue | null;
|
|
15
|
-
placeholderValue?: import("../../index.js").TimeValue | null;
|
|
16
|
-
minValue?: import("../../index.js").TimeValue | null;
|
|
17
|
-
maxValue?: import("../../index.js").TimeValue | null;
|
|
18
|
-
granularity?: import("../../index.js").TimeGranularity;
|
|
19
|
-
hourCycle?: 12 | 24;
|
|
20
|
-
hideTimeZone?: boolean;
|
|
21
|
-
shouldForceLeadingZeros?: boolean;
|
|
22
|
-
fullWidth?: boolean;
|
|
23
|
-
isDisabled?: boolean;
|
|
24
|
-
isReadOnly?: boolean;
|
|
25
|
-
isRequired?: boolean;
|
|
26
|
-
isInvalid?: boolean;
|
|
27
|
-
validate?: (value: import("../../index.js").TimeValue | null) => string | string[] | true | null | undefined;
|
|
28
|
-
validationBehavior?: import("../../index.js").ValidationBehavior;
|
|
29
|
-
name?: string;
|
|
30
|
-
form?: string;
|
|
31
|
-
autoFocus?: boolean;
|
|
32
|
-
ariaLabel?: string;
|
|
33
|
-
ariaLabelledby?: string;
|
|
34
|
-
ariaDescribedby?: string;
|
|
35
|
-
locale?: string;
|
|
36
|
-
onChange?: ((value: import("../../index.js").TimeValue | null) => any) | undefined;
|
|
37
|
-
onFocusChange?: ((isFocused: boolean) => any) | undefined;
|
|
38
|
-
"onUpdate:value"?: ((value: import("../../index.js").TimeValue | null) => any) | undefined;
|
|
39
|
-
} & (typeof globalThis extends {
|
|
40
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
41
|
-
} ? P : {});
|
|
42
|
-
expose: (exposed: {}) => void;
|
|
43
|
-
attrs: any;
|
|
44
|
-
slots: {
|
|
45
|
-
default?: (props: import("./time-field.types.js").TimeFieldRootSlotProps) => unknown;
|
|
46
|
-
};
|
|
47
|
-
emit: ((evt: "change", value: import("../../index.js").TimeValue | null) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: import("../../index.js").TimeValue | null) => void);
|
|
48
|
-
}>) => import('vue').VNode & {
|
|
49
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
50
|
-
}) & {
|
|
51
|
-
Group: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
52
|
-
attrs: any;
|
|
53
|
-
slots: {
|
|
54
|
-
default?: (props: import("./index.js").TimeFieldGroupSlotProps) => unknown;
|
|
55
|
-
};
|
|
56
|
-
emit: {};
|
|
57
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
58
|
-
props: import('vue').PublicProps & {
|
|
59
|
-
class?: string;
|
|
60
|
-
variant?: import("@ropav/styles").DateInputGroupVariants["variant"];
|
|
61
|
-
size?: import("@ropav/styles").DateInputGroupVariants["size"];
|
|
62
|
-
fullWidth?: boolean;
|
|
63
|
-
isDisabled?: boolean;
|
|
64
|
-
isInvalid?: boolean;
|
|
65
|
-
isReadOnly?: boolean;
|
|
66
|
-
} & (typeof globalThis extends {
|
|
67
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
68
|
-
} ? P : {});
|
|
69
|
-
expose: (exposed: {}) => void;
|
|
70
|
-
attrs: any;
|
|
71
|
-
slots: {
|
|
72
|
-
default?: (props: import("./index.js").TimeFieldGroupSlotProps) => unknown;
|
|
73
|
-
};
|
|
74
|
-
emit: {};
|
|
75
|
-
}>) => import('vue').VNode & {
|
|
76
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
77
|
-
};
|
|
78
|
-
Input: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
79
|
-
attrs: any;
|
|
80
|
-
slots: {
|
|
81
|
-
default?: (props: import("./index.js").TimeFieldInputSlotProps) => unknown;
|
|
82
|
-
};
|
|
83
|
-
emit: {};
|
|
84
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
85
|
-
props: import('vue').PublicProps & {
|
|
86
|
-
class?: string;
|
|
87
|
-
slot?: "start" | "end";
|
|
88
|
-
} & (typeof globalThis extends {
|
|
89
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
90
|
-
} ? P : {});
|
|
91
|
-
expose: (exposed: {}) => void;
|
|
92
|
-
attrs: any;
|
|
93
|
-
slots: {
|
|
94
|
-
default?: (props: import("./index.js").TimeFieldInputSlotProps) => unknown;
|
|
95
|
-
};
|
|
96
|
-
emit: {};
|
|
97
|
-
}>) => import('vue').VNode & {
|
|
98
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
99
|
-
};
|
|
100
|
-
InputContainer: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
101
|
-
attrs: any;
|
|
102
|
-
slots: {
|
|
103
|
-
default?: (props: {}) => any;
|
|
104
|
-
};
|
|
105
|
-
emit: {};
|
|
106
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
107
|
-
props: import('vue').PublicProps & {
|
|
108
|
-
class?: string;
|
|
109
|
-
} & (typeof globalThis extends {
|
|
110
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
111
|
-
} ? P : {});
|
|
112
|
-
expose: (exposed: {}) => void;
|
|
113
|
-
attrs: any;
|
|
114
|
-
slots: {
|
|
115
|
-
default?: (props: {}) => any;
|
|
116
|
-
};
|
|
117
|
-
emit: {};
|
|
118
|
-
}>) => import('vue').VNode & {
|
|
119
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
120
|
-
};
|
|
121
|
-
Prefix: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
122
|
-
attrs: any;
|
|
123
|
-
slots: {
|
|
124
|
-
default?: (props: {}) => any;
|
|
125
|
-
};
|
|
126
|
-
emit: {};
|
|
127
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
128
|
-
props: import('vue').PublicProps & {
|
|
129
|
-
class?: string;
|
|
130
|
-
} & (typeof globalThis extends {
|
|
131
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
132
|
-
} ? P : {});
|
|
133
|
-
expose: (exposed: {}) => void;
|
|
134
|
-
attrs: any;
|
|
135
|
-
slots: {
|
|
136
|
-
default?: (props: {}) => any;
|
|
137
|
-
};
|
|
138
|
-
emit: {};
|
|
139
|
-
}>) => import('vue').VNode & {
|
|
140
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
141
|
-
};
|
|
142
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
143
|
-
attrs: any;
|
|
144
|
-
slots: {
|
|
145
|
-
default?: (props: import("./time-field.types.js").TimeFieldRootSlotProps) => unknown;
|
|
146
|
-
};
|
|
147
|
-
emit: ((evt: "change", value: import("../../index.js").TimeValue | null) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: import("../../index.js").TimeValue | null) => void);
|
|
148
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
149
|
-
props: import('vue').PublicProps & {
|
|
150
|
-
class?: string;
|
|
151
|
-
id?: string;
|
|
152
|
-
value?: import("../../index.js").TimeValue | null;
|
|
153
|
-
defaultValue?: import("../../index.js").TimeValue | null;
|
|
154
|
-
placeholderValue?: import("../../index.js").TimeValue | null;
|
|
155
|
-
minValue?: import("../../index.js").TimeValue | null;
|
|
156
|
-
maxValue?: import("../../index.js").TimeValue | null;
|
|
157
|
-
granularity?: import("../../index.js").TimeGranularity;
|
|
158
|
-
hourCycle?: 12 | 24;
|
|
159
|
-
hideTimeZone?: boolean;
|
|
160
|
-
shouldForceLeadingZeros?: boolean;
|
|
161
|
-
fullWidth?: boolean;
|
|
162
|
-
isDisabled?: boolean;
|
|
163
|
-
isReadOnly?: boolean;
|
|
164
|
-
isRequired?: boolean;
|
|
165
|
-
isInvalid?: boolean;
|
|
166
|
-
validate?: (value: import("../../index.js").TimeValue | null) => string | string[] | true | null | undefined;
|
|
167
|
-
validationBehavior?: import("../../index.js").ValidationBehavior;
|
|
168
|
-
name?: string;
|
|
169
|
-
form?: string;
|
|
170
|
-
autoFocus?: boolean;
|
|
171
|
-
ariaLabel?: string;
|
|
172
|
-
ariaLabelledby?: string;
|
|
173
|
-
ariaDescribedby?: string;
|
|
174
|
-
locale?: string;
|
|
175
|
-
onChange?: ((value: import("../../index.js").TimeValue | null) => any) | undefined;
|
|
176
|
-
onFocusChange?: ((isFocused: boolean) => any) | undefined;
|
|
177
|
-
"onUpdate:value"?: ((value: import("../../index.js").TimeValue | null) => any) | undefined;
|
|
178
|
-
} & (typeof globalThis extends {
|
|
179
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
180
|
-
} ? P : {});
|
|
181
|
-
expose: (exposed: {}) => void;
|
|
182
|
-
attrs: any;
|
|
183
|
-
slots: {
|
|
184
|
-
default?: (props: import("./time-field.types.js").TimeFieldRootSlotProps) => unknown;
|
|
185
|
-
};
|
|
186
|
-
emit: ((evt: "change", value: import("../../index.js").TimeValue | null) => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: import("../../index.js").TimeValue | null) => void);
|
|
187
|
-
}>) => import('vue').VNode & {
|
|
188
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
189
|
-
};
|
|
190
|
-
Segment: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
191
|
-
attrs: any;
|
|
192
|
-
slots: {
|
|
193
|
-
default?: (props: {}) => any;
|
|
194
|
-
};
|
|
195
|
-
emit: {};
|
|
196
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
197
|
-
props: import('vue').PublicProps & {
|
|
198
|
-
class?: string;
|
|
199
|
-
segment: import("../../index.js").DateSegment;
|
|
200
|
-
} & (typeof globalThis extends {
|
|
201
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
202
|
-
} ? P : {});
|
|
203
|
-
expose: (exposed: {}) => void;
|
|
204
|
-
attrs: any;
|
|
205
|
-
slots: {
|
|
206
|
-
default?: (props: {}) => any;
|
|
207
|
-
};
|
|
208
|
-
emit: {};
|
|
209
|
-
}>) => import('vue').VNode & {
|
|
210
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
211
|
-
};
|
|
212
|
-
Suffix: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
213
|
-
attrs: any;
|
|
214
|
-
slots: {
|
|
215
|
-
default?: (props: {}) => any;
|
|
216
|
-
};
|
|
217
|
-
emit: {};
|
|
218
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
219
|
-
props: import('vue').PublicProps & {
|
|
220
|
-
class?: string;
|
|
221
|
-
} & (typeof globalThis extends {
|
|
222
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
223
|
-
} ? P : {});
|
|
224
|
-
expose: (exposed: {}) => void;
|
|
225
|
-
attrs: any;
|
|
226
|
-
slots: {
|
|
227
|
-
default?: (props: {}) => any;
|
|
228
|
-
};
|
|
229
|
-
emit: {};
|
|
230
|
-
}>) => import('vue').VNode & {
|
|
231
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
3
|
export { DateInputGroupInput as TimeFieldInput, DateInputGroupInputContainer as TimeFieldInputContainer, DateInputGroupPrefix as TimeFieldPrefix, DateInputGroupRoot as TimeFieldGroup, DateInputGroupSegment as TimeFieldSegment, DateInputGroupSuffix as TimeFieldSuffix, };
|
|
235
|
-
export { TimeFieldRoot };
|
|
236
|
-
export type { TimeFieldRootProps
|
|
4
|
+
export { TimeFieldRoot as TimeField };
|
|
5
|
+
export type { TimeFieldRootProps as TimeFieldProps, TimeFieldRootSlotProps as TimeFieldSlotProps, } from "./time-field.types.js";
|
|
237
6
|
export type { DateInputGroupInputContainerProps as TimeFieldInputContainerProps, DateInputGroupInputProps as TimeFieldInputProps, DateInputGroupInputSlotProps as TimeFieldInputSlotProps, DateInputGroupPrefixProps as TimeFieldPrefixProps, DateInputGroupRootProps as TimeFieldGroupProps, DateInputGroupRootSlotProps as TimeFieldGroupSlotProps, DateInputGroupSegmentProps as TimeFieldSegmentProps, DateInputGroupSuffixProps as TimeFieldSuffixProps, } from "../date-input-group/index.js";
|
|
238
7
|
export { dateInputGroupVariants, timeFieldVariants } from "@ropav/styles";
|
|
239
8
|
export type { DateInputGroupVariants, TimeFieldVariants } from "@ropav/styles";
|
|
@@ -6,15 +6,4 @@ import date_input_group_segment_default from "../date-input-group/date-input-gro
|
|
|
6
6
|
import date_input_group_suffix_default from "../date-input-group/date-input-group-suffix.js";
|
|
7
7
|
import time_field_root_default from "./time-field-root.js";
|
|
8
8
|
import { dateInputGroupVariants, timeFieldVariants } from "@ropav/styles";
|
|
9
|
-
|
|
10
|
-
var TimeField = Object.assign(time_field_root_default, {
|
|
11
|
-
Group: date_input_group_root_default,
|
|
12
|
-
Input: date_input_group_input_default,
|
|
13
|
-
InputContainer: date_input_group_input_container_default,
|
|
14
|
-
Prefix: date_input_group_prefix_default,
|
|
15
|
-
Root: time_field_root_default,
|
|
16
|
-
Segment: date_input_group_segment_default,
|
|
17
|
-
Suffix: date_input_group_suffix_default
|
|
18
|
-
});
|
|
19
|
-
//#endregion
|
|
20
|
-
export { TimeField, date_input_group_root_default as TimeFieldGroup, date_input_group_input_default as TimeFieldInput, date_input_group_input_container_default as TimeFieldInputContainer, date_input_group_prefix_default as TimeFieldPrefix, time_field_root_default as TimeFieldRoot, date_input_group_segment_default as TimeFieldSegment, date_input_group_suffix_default as TimeFieldSuffix, dateInputGroupVariants, timeFieldVariants };
|
|
9
|
+
export { time_field_root_default as TimeField, date_input_group_root_default as TimeFieldGroup, date_input_group_input_default as TimeFieldInput, date_input_group_input_container_default as TimeFieldInputContainer, date_input_group_prefix_default as TimeFieldPrefix, date_input_group_segment_default as TimeFieldSegment, date_input_group_suffix_default as TimeFieldSuffix, dateInputGroupVariants, timeFieldVariants };
|
|
@@ -4,224 +4,10 @@ import ToastContent from "./toast-content.js";
|
|
|
4
4
|
import ToastDescription from "./toast-description.js";
|
|
5
5
|
import ToastIndicator from "./toast-indicator.js";
|
|
6
6
|
import ToastProvider from "./toast-provider.js";
|
|
7
|
-
import { ToastQueue } from "./toast-queue.js";
|
|
8
7
|
import ToastRoot from "./toast-root.js";
|
|
9
8
|
import ToastTitle from "./toast-title.js";
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
slots: {
|
|
13
|
-
default?: () => unknown;
|
|
14
|
-
};
|
|
15
|
-
emit: {};
|
|
16
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
17
|
-
props: import('vue').PublicProps & {
|
|
18
|
-
class?: string;
|
|
19
|
-
placement?: import("@ropav/styles").ToastVariants["placement"];
|
|
20
|
-
scaleFactor?: number;
|
|
21
|
-
toast: import("./toast.types.js").QueuedToast;
|
|
22
|
-
variant?: import("@ropav/styles").ToastVariants["variant"];
|
|
23
|
-
} & (typeof globalThis extends {
|
|
24
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
25
|
-
} ? P : {});
|
|
26
|
-
expose: (exposed: {}) => void;
|
|
27
|
-
attrs: any;
|
|
28
|
-
slots: {
|
|
29
|
-
default?: () => unknown;
|
|
30
|
-
};
|
|
31
|
-
emit: {};
|
|
32
|
-
}>) => import('vue').VNode & {
|
|
33
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
34
|
-
}) & {
|
|
35
|
-
ActionButton: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
36
|
-
attrs: any;
|
|
37
|
-
slots: {
|
|
38
|
-
default?: () => unknown;
|
|
39
|
-
};
|
|
40
|
-
emit: (evt: "click", event: MouseEvent) => void;
|
|
41
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
42
|
-
props: import('vue').PublicProps & {
|
|
43
|
-
fullWidth?: boolean;
|
|
44
|
-
isDisabled?: boolean;
|
|
45
|
-
isIconOnly?: boolean;
|
|
46
|
-
isPending?: boolean;
|
|
47
|
-
size?: import("@ropav/styles").ButtonVariants["size"];
|
|
48
|
-
type?: "button" | "reset" | "submit";
|
|
49
|
-
variant?: import("@ropav/styles").ButtonVariants["variant"];
|
|
50
|
-
class?: string;
|
|
51
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
52
|
-
} & (typeof globalThis extends {
|
|
53
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
54
|
-
} ? P : {});
|
|
55
|
-
expose: (exposed: {}) => void;
|
|
56
|
-
attrs: any;
|
|
57
|
-
slots: {
|
|
58
|
-
default?: () => unknown;
|
|
59
|
-
};
|
|
60
|
-
emit: (evt: "click", event: MouseEvent) => void;
|
|
61
|
-
}>) => import('vue').VNode & {
|
|
62
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
63
|
-
};
|
|
64
|
-
CloseButton: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
65
|
-
attrs: any;
|
|
66
|
-
slots: {};
|
|
67
|
-
emit: {};
|
|
68
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
69
|
-
props: import('vue').PublicProps & {
|
|
70
|
-
class?: string;
|
|
71
|
-
} & (typeof globalThis extends {
|
|
72
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
73
|
-
} ? P : {});
|
|
74
|
-
expose: (exposed: {}) => void;
|
|
75
|
-
attrs: any;
|
|
76
|
-
slots: {};
|
|
77
|
-
emit: {};
|
|
78
|
-
}>) => import('vue').VNode & {
|
|
79
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
80
|
-
};
|
|
81
|
-
Content: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
82
|
-
attrs: any;
|
|
83
|
-
slots: {
|
|
84
|
-
default?: () => unknown;
|
|
85
|
-
};
|
|
86
|
-
emit: {};
|
|
87
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
88
|
-
props: import('vue').PublicProps & {
|
|
89
|
-
class?: string;
|
|
90
|
-
} & (typeof globalThis extends {
|
|
91
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
92
|
-
} ? P : {});
|
|
93
|
-
expose: (exposed: {}) => void;
|
|
94
|
-
attrs: any;
|
|
95
|
-
slots: {
|
|
96
|
-
default?: () => unknown;
|
|
97
|
-
};
|
|
98
|
-
emit: {};
|
|
99
|
-
}>) => import('vue').VNode & {
|
|
100
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
101
|
-
};
|
|
102
|
-
Description: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
103
|
-
attrs: any;
|
|
104
|
-
slots: {
|
|
105
|
-
default?: () => unknown;
|
|
106
|
-
};
|
|
107
|
-
emit: {};
|
|
108
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
109
|
-
props: import('vue').PublicProps & {
|
|
110
|
-
class?: string;
|
|
111
|
-
} & (typeof globalThis extends {
|
|
112
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
113
|
-
} ? P : {});
|
|
114
|
-
expose: (exposed: {}) => void;
|
|
115
|
-
attrs: any;
|
|
116
|
-
slots: {
|
|
117
|
-
default?: () => unknown;
|
|
118
|
-
};
|
|
119
|
-
emit: {};
|
|
120
|
-
}>) => import('vue').VNode & {
|
|
121
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
|
-
};
|
|
123
|
-
Indicator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
124
|
-
attrs: any;
|
|
125
|
-
slots: {
|
|
126
|
-
default?: () => unknown;
|
|
127
|
-
};
|
|
128
|
-
emit: {};
|
|
129
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
130
|
-
props: import('vue').PublicProps & {
|
|
131
|
-
class?: string;
|
|
132
|
-
variant?: import("@ropav/styles").ToastVariants["variant"];
|
|
133
|
-
} & (typeof globalThis extends {
|
|
134
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
135
|
-
} ? P : {});
|
|
136
|
-
expose: (exposed: {}) => void;
|
|
137
|
-
attrs: any;
|
|
138
|
-
slots: {
|
|
139
|
-
default?: () => unknown;
|
|
140
|
-
};
|
|
141
|
-
emit: {};
|
|
142
|
-
}>) => import('vue').VNode & {
|
|
143
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
144
|
-
};
|
|
145
|
-
Provider: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
146
|
-
attrs: any;
|
|
147
|
-
slots: {
|
|
148
|
-
default?: (props: import("./toast.types.js").ToastProviderSlotProps) => unknown;
|
|
149
|
-
};
|
|
150
|
-
emit: {};
|
|
151
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
152
|
-
props: import('vue').PublicProps & {
|
|
153
|
-
ariaLabel?: string;
|
|
154
|
-
class?: string;
|
|
155
|
-
gap?: number;
|
|
156
|
-
maxVisibleToasts?: number;
|
|
157
|
-
placement?: import("@ropav/styles").ToastVariants["placement"];
|
|
158
|
-
portalContainer?: HTMLElement | string;
|
|
159
|
-
queue?: ToastQueue;
|
|
160
|
-
scaleFactor?: number;
|
|
161
|
-
width?: number | string;
|
|
162
|
-
} & (typeof globalThis extends {
|
|
163
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
164
|
-
} ? P : {});
|
|
165
|
-
expose: (exposed: {}) => void;
|
|
166
|
-
attrs: any;
|
|
167
|
-
slots: {
|
|
168
|
-
default?: (props: import("./toast.types.js").ToastProviderSlotProps) => unknown;
|
|
169
|
-
};
|
|
170
|
-
emit: {};
|
|
171
|
-
}>) => import('vue').VNode & {
|
|
172
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
173
|
-
};
|
|
174
|
-
Queue: typeof ToastQueue;
|
|
175
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
176
|
-
attrs: any;
|
|
177
|
-
slots: {
|
|
178
|
-
default?: () => unknown;
|
|
179
|
-
};
|
|
180
|
-
emit: {};
|
|
181
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
182
|
-
props: import('vue').PublicProps & {
|
|
183
|
-
class?: string;
|
|
184
|
-
placement?: import("@ropav/styles").ToastVariants["placement"];
|
|
185
|
-
scaleFactor?: number;
|
|
186
|
-
toast: import("./toast.types.js").QueuedToast;
|
|
187
|
-
variant?: import("@ropav/styles").ToastVariants["variant"];
|
|
188
|
-
} & (typeof globalThis extends {
|
|
189
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
190
|
-
} ? P : {});
|
|
191
|
-
expose: (exposed: {}) => void;
|
|
192
|
-
attrs: any;
|
|
193
|
-
slots: {
|
|
194
|
-
default?: () => unknown;
|
|
195
|
-
};
|
|
196
|
-
emit: {};
|
|
197
|
-
}>) => import('vue').VNode & {
|
|
198
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
199
|
-
};
|
|
200
|
-
Title: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
201
|
-
attrs: any;
|
|
202
|
-
slots: {
|
|
203
|
-
default?: () => unknown;
|
|
204
|
-
};
|
|
205
|
-
emit: {};
|
|
206
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
207
|
-
props: import('vue').PublicProps & {
|
|
208
|
-
class?: string;
|
|
209
|
-
} & (typeof globalThis extends {
|
|
210
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
211
|
-
} ? P : {});
|
|
212
|
-
expose: (exposed: {}) => void;
|
|
213
|
-
attrs: any;
|
|
214
|
-
slots: {
|
|
215
|
-
default?: () => unknown;
|
|
216
|
-
};
|
|
217
|
-
emit: {};
|
|
218
|
-
}>) => import('vue').VNode & {
|
|
219
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
220
|
-
};
|
|
221
|
-
toast: import("./toast-queue.js").ToastFunction;
|
|
222
|
-
};
|
|
223
|
-
export { ToastActionButton, ToastCloseButton, ToastContent, ToastDescription, ToastIndicator, ToastProvider, ToastRoot, ToastTitle, };
|
|
224
|
-
export type { ToastActionButtonProps, ToastActionValue, ToastAddOptions, ToastCloseButtonProps, ToastContentProps, ToastContentValue, ToastDescriptionProps, ToastIndicatorProps, ToastOptions, ToastPromiseOptions, ToastProviderProps, ToastProviderSlotProps, ToastQueueOptions, ToastRenderable, ToastRootProps, ToastRootProps as ToastProps, ToastTitleProps, QueuedToast, } from "./toast.types.js";
|
|
9
|
+
export { ToastActionButton, ToastCloseButton, ToastContent, ToastDescription, ToastIndicator, ToastProvider, ToastRoot as Toast, ToastTitle, };
|
|
10
|
+
export type { ToastActionButtonProps, ToastActionValue, ToastAddOptions, ToastCloseButtonProps, ToastContentProps, ToastContentValue, ToastDescriptionProps, ToastIndicatorProps, ToastOptions, ToastPromiseOptions, ToastProviderProps, ToastProviderSlotProps, ToastQueueOptions, ToastRenderable, ToastRootProps as ToastProps, ToastTitleProps, QueuedToast, } from "./toast.types.js";
|
|
225
11
|
export { ToastQueue, createToastFunction, getQueuedToastCount, resetToastQueue, toast, toastQueue, useToastQueue, } from "./toast-queue.js";
|
|
226
12
|
export type { Timer } from "./toast-queue.js";
|
|
227
13
|
export type { ToastFunction, UseToastQueueReturn } from "./toast-queue.js";
|
|
@@ -10,18 +10,4 @@ import { DEFAULT_GAP, DEFAULT_MAX_VISIBLE_TOAST, DEFAULT_SCALE_FACTOR, DEFAULT_T
|
|
|
10
10
|
import { ToastQueue, createToastFunction, getQueuedToastCount, resetToastQueue, toast, toastQueue, useToastQueue } from "./toast-queue.js";
|
|
11
11
|
import toast_provider_default from "./toast-provider.js";
|
|
12
12
|
import { toastVariants } from "@ropav/styles";
|
|
13
|
-
|
|
14
|
-
var Toast = Object.assign(toast_root_default, {
|
|
15
|
-
ActionButton: toast_action_button_default,
|
|
16
|
-
CloseButton: toast_close_button_default,
|
|
17
|
-
Content: toast_content_default,
|
|
18
|
-
Description: toast_description_default,
|
|
19
|
-
Indicator: toast_indicator_default,
|
|
20
|
-
Provider: toast_provider_default,
|
|
21
|
-
Queue: ToastQueue,
|
|
22
|
-
Root: toast_root_default,
|
|
23
|
-
Title: toast_title_default,
|
|
24
|
-
toast
|
|
25
|
-
});
|
|
26
|
-
//#endregion
|
|
27
|
-
export { DEFAULT_GAP, DEFAULT_MAX_VISIBLE_TOAST, DEFAULT_SCALE_FACTOR, DEFAULT_TOAST_TIMEOUT, DEFAULT_TOAST_WIDTH, Toast, toast_action_button_default as ToastActionButton, toast_close_button_default as ToastCloseButton, toast_content_default as ToastContent, toast_description_default as ToastDescription, toast_indicator_default as ToastIndicator, toast_provider_default as ToastProvider, ToastQueue, toast_root_default as ToastRoot, toast_title_default as ToastTitle, createToastFunction, getQueuedToastCount, resetToastQueue, toast, toastQueue, toastVariants, useToastItemContext, useToastQueue, useToastRegionContext };
|
|
13
|
+
export { DEFAULT_GAP, DEFAULT_MAX_VISIBLE_TOAST, DEFAULT_SCALE_FACTOR, DEFAULT_TOAST_TIMEOUT, DEFAULT_TOAST_WIDTH, toast_root_default as Toast, toast_action_button_default as ToastActionButton, toast_close_button_default as ToastCloseButton, toast_content_default as ToastContent, toast_description_default as ToastDescription, toast_indicator_default as ToastIndicator, toast_provider_default as ToastProvider, ToastQueue, toast_title_default as ToastTitle, createToastFunction, getQueuedToastCount, resetToastQueue, toast, toastQueue, toastVariants, useToastItemContext, useToastQueue, useToastRegionContext };
|
|
@@ -45,8 +45,8 @@ var toast_action_button_vue_vue_type_script_setup_true_vapor_true_lang_default =
|
|
|
45
45
|
variant: () => props.variant,
|
|
46
46
|
onClick: () => _on_click
|
|
47
47
|
}, extend(() => {
|
|
48
|
-
return createSlot("default", null, null,
|
|
49
|
-
}, { _:
|
|
48
|
+
return createSlot("default", null, null, 4);
|
|
49
|
+
}, { _: 1 }), true);
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
@@ -70,7 +70,7 @@ var toast_default_content_vue_vue_type_script_setup_true_vapor_true_lang_default
|
|
|
70
70
|
});
|
|
71
71
|
}, null, 129)
|
|
72
72
|
];
|
|
73
|
-
}, { _:
|
|
73
|
+
}, { _: 1 })),
|
|
74
74
|
createIf(() => !unref(isMobile) && action.value, () => {
|
|
75
75
|
return createComponent(toast_action_button_default, { $: [() => actionProps.value, { onClick: () => () => action.value.onPress?.() }] }, () => {
|
|
76
76
|
return createComponent(toast_renderable_default, { value: () => action.value.label });
|
|
@@ -84,7 +84,7 @@ export interface ToastFunction {
|
|
|
84
84
|
}
|
|
85
85
|
export declare const createToastFunction: (queue: ToastQueue<ToastContentValue>) => ToastFunction;
|
|
86
86
|
/**
|
|
87
|
-
* The queue every `<
|
|
87
|
+
* The queue every `<ToastProvider>` reads unless handed another one.
|
|
88
88
|
*
|
|
89
89
|
* Module scope on purpose, and the reason the class holds no reactive state: `toast("Saved")` has
|
|
90
90
|
* to work from anywhere, including code that is not inside a component at all.
|