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,54 +1,5 @@
|
|
|
1
1
|
import LabelRoot from "./label-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
|
-
isDisabled?: boolean;
|
|
12
|
-
isInvalid?: boolean;
|
|
13
|
-
isRequired?: boolean;
|
|
14
|
-
} & (typeof globalThis extends {
|
|
15
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
16
|
-
} ? P : {});
|
|
17
|
-
expose: (exposed: {}) => void;
|
|
18
|
-
attrs: any;
|
|
19
|
-
slots: {
|
|
20
|
-
default?: () => unknown;
|
|
21
|
-
};
|
|
22
|
-
emit: {};
|
|
23
|
-
}>) => import('vue').VNode & {
|
|
24
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
|
-
}) & {
|
|
26
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
27
|
-
attrs: any;
|
|
28
|
-
slots: {
|
|
29
|
-
default?: () => unknown;
|
|
30
|
-
};
|
|
31
|
-
emit: {};
|
|
32
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
33
|
-
props: import('vue').PublicProps & {
|
|
34
|
-
class?: string;
|
|
35
|
-
isDisabled?: boolean;
|
|
36
|
-
isInvalid?: boolean;
|
|
37
|
-
isRequired?: boolean;
|
|
38
|
-
} & (typeof globalThis extends {
|
|
39
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
40
|
-
} ? P : {});
|
|
41
|
-
expose: (exposed: {}) => void;
|
|
42
|
-
attrs: any;
|
|
43
|
-
slots: {
|
|
44
|
-
default?: () => unknown;
|
|
45
|
-
};
|
|
46
|
-
emit: {};
|
|
47
|
-
}>) => import('vue').VNode & {
|
|
48
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export { LabelRoot };
|
|
52
|
-
export type { LabelRootProps, LabelRootProps as LabelProps } from "./label.types.js";
|
|
2
|
+
export { LabelRoot as Label };
|
|
3
|
+
export type { LabelRootProps as LabelProps } from "./label.types.js";
|
|
53
4
|
export { labelVariants } from "@ropav/styles";
|
|
54
5
|
export type { LabelVariants } from "@ropav/styles";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import label_root_default from "./label-root.js";
|
|
2
2
|
import { labelVariants } from "@ropav/styles";
|
|
3
|
-
|
|
4
|
-
var Label = Object.assign(label_root_default, { Root: label_root_default });
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Label, label_root_default as LabelRoot, labelVariants };
|
|
3
|
+
export { label_root_default as Label, labelVariants };
|
|
@@ -1,99 +1,7 @@
|
|
|
1
1
|
import LinkIcon from "./link-icon.js";
|
|
2
2
|
import LinkRoot from "./link-root.js";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
slots: {
|
|
6
|
-
default?: (props: import("./link.types.js").LinkRootSlotProps) => unknown;
|
|
7
|
-
};
|
|
8
|
-
emit: (evt: "press", event: import("../../index.js").PressEvent) => void;
|
|
9
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
10
|
-
props: import('vue').PublicProps & {
|
|
11
|
-
class?: string;
|
|
12
|
-
href?: string;
|
|
13
|
-
target?: string;
|
|
14
|
-
rel?: string;
|
|
15
|
-
download?: string | boolean;
|
|
16
|
-
ping?: string;
|
|
17
|
-
referrerPolicy?: import("./link.types.js").LinkReferrerPolicy;
|
|
18
|
-
hrefLang?: string;
|
|
19
|
-
isDisabled?: boolean;
|
|
20
|
-
ariaCurrent?: import("./link.types.js").LinkCurrent;
|
|
21
|
-
routerOptions?: unknown;
|
|
22
|
-
ariaLabel?: string;
|
|
23
|
-
ariaLabelledby?: string;
|
|
24
|
-
ariaDescribedby?: string;
|
|
25
|
-
onPress?: ((event: import("../../index.js").PressEvent) => any) | undefined;
|
|
26
|
-
} & (typeof globalThis extends {
|
|
27
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
28
|
-
} ? P : {});
|
|
29
|
-
expose: (exposed: {}) => void;
|
|
30
|
-
attrs: any;
|
|
31
|
-
slots: {
|
|
32
|
-
default?: (props: import("./link.types.js").LinkRootSlotProps) => unknown;
|
|
33
|
-
};
|
|
34
|
-
emit: (evt: "press", event: import("../../index.js").PressEvent) => void;
|
|
35
|
-
}>) => import('vue').VNode & {
|
|
36
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
37
|
-
}) & {
|
|
38
|
-
Icon: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
39
|
-
attrs: any;
|
|
40
|
-
slots: {
|
|
41
|
-
default?: () => unknown;
|
|
42
|
-
};
|
|
43
|
-
emit: {};
|
|
44
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
45
|
-
props: import('vue').PublicProps & {
|
|
46
|
-
class?: string;
|
|
47
|
-
} & (typeof globalThis extends {
|
|
48
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
49
|
-
} ? P : {});
|
|
50
|
-
expose: (exposed: {}) => void;
|
|
51
|
-
attrs: any;
|
|
52
|
-
slots: {
|
|
53
|
-
default?: () => unknown;
|
|
54
|
-
};
|
|
55
|
-
emit: {};
|
|
56
|
-
}>) => import('vue').VNode & {
|
|
57
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
58
|
-
};
|
|
59
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
60
|
-
attrs: any;
|
|
61
|
-
slots: {
|
|
62
|
-
default?: (props: import("./link.types.js").LinkRootSlotProps) => unknown;
|
|
63
|
-
};
|
|
64
|
-
emit: (evt: "press", event: import("../../index.js").PressEvent) => void;
|
|
65
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
66
|
-
props: import('vue').PublicProps & {
|
|
67
|
-
class?: string;
|
|
68
|
-
href?: string;
|
|
69
|
-
target?: string;
|
|
70
|
-
rel?: string;
|
|
71
|
-
download?: string | boolean;
|
|
72
|
-
ping?: string;
|
|
73
|
-
referrerPolicy?: import("./link.types.js").LinkReferrerPolicy;
|
|
74
|
-
hrefLang?: string;
|
|
75
|
-
isDisabled?: boolean;
|
|
76
|
-
ariaCurrent?: import("./link.types.js").LinkCurrent;
|
|
77
|
-
routerOptions?: unknown;
|
|
78
|
-
ariaLabel?: string;
|
|
79
|
-
ariaLabelledby?: string;
|
|
80
|
-
ariaDescribedby?: string;
|
|
81
|
-
onPress?: ((event: import("../../index.js").PressEvent) => any) | undefined;
|
|
82
|
-
} & (typeof globalThis extends {
|
|
83
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
84
|
-
} ? P : {});
|
|
85
|
-
expose: (exposed: {}) => void;
|
|
86
|
-
attrs: any;
|
|
87
|
-
slots: {
|
|
88
|
-
default?: (props: import("./link.types.js").LinkRootSlotProps) => unknown;
|
|
89
|
-
};
|
|
90
|
-
emit: (evt: "press", event: import("../../index.js").PressEvent) => void;
|
|
91
|
-
}>) => import('vue').VNode & {
|
|
92
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
export { LinkIcon, LinkRoot };
|
|
96
|
-
export type { LinkRootProps, LinkRootProps as LinkProps, LinkRootSlotProps, LinkIconProps, LinkCurrent, LinkReferrerPolicy, } from "./link.types.js";
|
|
3
|
+
export { LinkIcon, LinkRoot as Link };
|
|
4
|
+
export type { LinkRootProps as LinkProps, LinkRootSlotProps as LinkSlotProps, LinkIconProps, LinkCurrent, LinkReferrerPolicy, } from "./link.types.js";
|
|
97
5
|
export { provideLinkContext, useLinkContext } from "./link.context.js";
|
|
98
6
|
export type { LinkContext } from "./link.context.js";
|
|
99
7
|
export { linkVariants } from "@ropav/styles";
|
|
@@ -2,10 +2,4 @@ import { provideLinkContext, useLinkContext } from "./link.context.js";
|
|
|
2
2
|
import link_icon_default from "./link-icon.js";
|
|
3
3
|
import link_root_default from "./link-root.js";
|
|
4
4
|
import { linkVariants } from "@ropav/styles";
|
|
5
|
-
|
|
6
|
-
var Link = Object.assign(link_root_default, {
|
|
7
|
-
Icon: link_icon_default,
|
|
8
|
-
Root: link_root_default
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Link, link_icon_default as LinkIcon, link_root_default as LinkRoot, linkVariants, provideLinkContext, useLinkContext };
|
|
5
|
+
export { link_root_default as Link, link_icon_default as LinkIcon, linkVariants, provideLinkContext, useLinkContext };
|
|
@@ -1,197 +1,8 @@
|
|
|
1
1
|
import ListBoxDropIndicator from "./list-box-drop-indicator.js";
|
|
2
2
|
import ListBoxLoadMoreItem from "./list-box-load-more-item.js";
|
|
3
3
|
import ListBoxRoot from "./list-box-root.js";
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
slots: {
|
|
7
|
-
default?: (props: import("./list-box.types.js").ListBoxRootSlotProps<T>) => unknown;
|
|
8
|
-
empty?: () => unknown;
|
|
9
|
-
};
|
|
10
|
-
emit: ((evt: "action", key: import("../../index.js").CollectionKey) => void) & ((evt: "selectionChange", keys: import("../../index.js").CollectionSelection) => void) & ((evt: "update:selectedKeys", keys: import("../../index.js").CollectionSelection) => void);
|
|
11
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
12
|
-
props: import('vue').PublicProps & {
|
|
13
|
-
class?: string;
|
|
14
|
-
items?: readonly T[] | undefined;
|
|
15
|
-
itemKey?: ((item: T, index: number) => import("../../index.js").CollectionKey) | undefined;
|
|
16
|
-
itemTextValue?: ((item: T) => string | undefined) | undefined;
|
|
17
|
-
selectionMode?: import("../../index.js").SelectionMode;
|
|
18
|
-
selectionBehavior?: import("../../index.js").SelectionBehavior;
|
|
19
|
-
selectedKeys?: "all" | Iterable<import("../../index.js").CollectionKey>;
|
|
20
|
-
defaultSelectedKeys?: "all" | Iterable<import("../../index.js").CollectionKey>;
|
|
21
|
-
disabledKeys?: Iterable<import("../../index.js").CollectionKey>;
|
|
22
|
-
disabledBehavior?: import("../../index.js").DisabledBehavior;
|
|
23
|
-
disallowEmptySelection?: boolean;
|
|
24
|
-
variant?: import("@ropav/styles").ListBoxVariants["variant"];
|
|
25
|
-
size?: import("@ropav/styles").ListBoxVariants["size"];
|
|
26
|
-
dragAndDropHooks?: import("../../index.js").DragAndDropHooks;
|
|
27
|
-
onAction?: ((key: import("../../index.js").CollectionKey) => any) | undefined;
|
|
28
|
-
onSelectionChange?: ((keys: import("../../index.js").CollectionSelection) => any) | undefined;
|
|
29
|
-
"onUpdate:selectedKeys"?: ((keys: import("../../index.js").CollectionSelection) => any) | undefined;
|
|
30
|
-
} & (typeof globalThis extends {
|
|
31
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
32
|
-
} ? P : {});
|
|
33
|
-
expose: (exposed: {}) => void;
|
|
34
|
-
attrs: any;
|
|
35
|
-
slots: {
|
|
36
|
-
default?: (props: import("./list-box.types.js").ListBoxRootSlotProps<T>) => unknown;
|
|
37
|
-
empty?: () => unknown;
|
|
38
|
-
};
|
|
39
|
-
emit: ((evt: "action", key: import("../../index.js").CollectionKey) => void) & ((evt: "selectionChange", keys: import("../../index.js").CollectionSelection) => void) & ((evt: "update:selectedKeys", keys: import("../../index.js").CollectionSelection) => void);
|
|
40
|
-
}>) => import('vue').VNode & {
|
|
41
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
42
|
-
}) & {
|
|
43
|
-
DropIndicator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
44
|
-
attrs: any;
|
|
45
|
-
slots: {};
|
|
46
|
-
emit: {};
|
|
47
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
48
|
-
props: import('vue').PublicProps & {
|
|
49
|
-
target: import("../../index.js").DropTarget;
|
|
50
|
-
class?: string;
|
|
51
|
-
} & (typeof globalThis extends {
|
|
52
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
53
|
-
} ? P : {});
|
|
54
|
-
expose: (exposed: {}) => void;
|
|
55
|
-
attrs: any;
|
|
56
|
-
slots: {};
|
|
57
|
-
emit: {};
|
|
58
|
-
}>) => import('vue').VNode & {
|
|
59
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
60
|
-
};
|
|
61
|
-
Item: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
62
|
-
attrs: any;
|
|
63
|
-
slots: {
|
|
64
|
-
default?: (props: import("../index.js").ListBoxItemSlotProps) => unknown;
|
|
65
|
-
};
|
|
66
|
-
emit: {};
|
|
67
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
68
|
-
props: import('vue').PublicProps & {
|
|
69
|
-
class?: string;
|
|
70
|
-
id?: import("../../index.js").CollectionKey;
|
|
71
|
-
isDisabled?: boolean;
|
|
72
|
-
textValue?: string;
|
|
73
|
-
variant?: import("@ropav/styles").ListBoxItemVariants["variant"];
|
|
74
|
-
} & (typeof globalThis extends {
|
|
75
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
76
|
-
} ? P : {});
|
|
77
|
-
expose: (exposed: {}) => void;
|
|
78
|
-
attrs: any;
|
|
79
|
-
slots: {
|
|
80
|
-
default?: (props: import("../index.js").ListBoxItemSlotProps) => unknown;
|
|
81
|
-
};
|
|
82
|
-
emit: {};
|
|
83
|
-
}>) => import('vue').VNode & {
|
|
84
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
85
|
-
};
|
|
86
|
-
ItemIndicator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
87
|
-
attrs: any;
|
|
88
|
-
slots: {
|
|
89
|
-
default?: (props: import("../index.js").ListBoxItemIndicatorSlotProps) => unknown;
|
|
90
|
-
};
|
|
91
|
-
emit: {};
|
|
92
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
93
|
-
props: import('vue').PublicProps & {
|
|
94
|
-
class?: string;
|
|
95
|
-
} & (typeof globalThis extends {
|
|
96
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
97
|
-
} ? P : {});
|
|
98
|
-
expose: (exposed: {}) => void;
|
|
99
|
-
attrs: any;
|
|
100
|
-
slots: {
|
|
101
|
-
default?: (props: import("../index.js").ListBoxItemIndicatorSlotProps) => unknown;
|
|
102
|
-
};
|
|
103
|
-
emit: {};
|
|
104
|
-
}>) => import('vue').VNode & {
|
|
105
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
106
|
-
};
|
|
107
|
-
LoadMoreItem: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
108
|
-
attrs: any;
|
|
109
|
-
slots: {
|
|
110
|
-
default?: () => unknown;
|
|
111
|
-
};
|
|
112
|
-
emit: (evt: "loadMore") => void;
|
|
113
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
114
|
-
props: import('vue').PublicProps & {
|
|
115
|
-
class?: string;
|
|
116
|
-
isLoading?: boolean;
|
|
117
|
-
scrollOffset?: number;
|
|
118
|
-
onLoadMore?: (() => any) | undefined;
|
|
119
|
-
} & (typeof globalThis extends {
|
|
120
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
121
|
-
} ? P : {});
|
|
122
|
-
expose: (exposed: {}) => void;
|
|
123
|
-
attrs: any;
|
|
124
|
-
slots: {
|
|
125
|
-
default?: () => unknown;
|
|
126
|
-
};
|
|
127
|
-
emit: (evt: "loadMore") => void;
|
|
128
|
-
}>) => import('vue').VNode & {
|
|
129
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
130
|
-
};
|
|
131
|
-
Root: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
132
|
-
attrs: any;
|
|
133
|
-
slots: {
|
|
134
|
-
default?: (props: import("./list-box.types.js").ListBoxRootSlotProps<T>) => unknown;
|
|
135
|
-
empty?: () => unknown;
|
|
136
|
-
};
|
|
137
|
-
emit: ((evt: "action", key: import("../../index.js").CollectionKey) => void) & ((evt: "selectionChange", keys: import("../../index.js").CollectionSelection) => void) & ((evt: "update:selectedKeys", keys: import("../../index.js").CollectionSelection) => void);
|
|
138
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
139
|
-
props: import('vue').PublicProps & {
|
|
140
|
-
class?: string;
|
|
141
|
-
items?: readonly T[] | undefined;
|
|
142
|
-
itemKey?: ((item: T, index: number) => import("../../index.js").CollectionKey) | undefined;
|
|
143
|
-
itemTextValue?: ((item: T) => string | undefined) | undefined;
|
|
144
|
-
selectionMode?: import("../../index.js").SelectionMode;
|
|
145
|
-
selectionBehavior?: import("../../index.js").SelectionBehavior;
|
|
146
|
-
selectedKeys?: "all" | Iterable<import("../../index.js").CollectionKey>;
|
|
147
|
-
defaultSelectedKeys?: "all" | Iterable<import("../../index.js").CollectionKey>;
|
|
148
|
-
disabledKeys?: Iterable<import("../../index.js").CollectionKey>;
|
|
149
|
-
disabledBehavior?: import("../../index.js").DisabledBehavior;
|
|
150
|
-
disallowEmptySelection?: boolean;
|
|
151
|
-
variant?: import("@ropav/styles").ListBoxVariants["variant"];
|
|
152
|
-
size?: import("@ropav/styles").ListBoxVariants["size"];
|
|
153
|
-
dragAndDropHooks?: import("../../index.js").DragAndDropHooks;
|
|
154
|
-
onAction?: ((key: import("../../index.js").CollectionKey) => any) | undefined;
|
|
155
|
-
onSelectionChange?: ((keys: import("../../index.js").CollectionSelection) => any) | undefined;
|
|
156
|
-
"onUpdate:selectedKeys"?: ((keys: import("../../index.js").CollectionSelection) => any) | undefined;
|
|
157
|
-
} & (typeof globalThis extends {
|
|
158
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
159
|
-
} ? P : {});
|
|
160
|
-
expose: (exposed: {}) => void;
|
|
161
|
-
attrs: any;
|
|
162
|
-
slots: {
|
|
163
|
-
default?: (props: import("./list-box.types.js").ListBoxRootSlotProps<T>) => unknown;
|
|
164
|
-
empty?: () => unknown;
|
|
165
|
-
};
|
|
166
|
-
emit: ((evt: "action", key: import("../../index.js").CollectionKey) => void) & ((evt: "selectionChange", keys: import("../../index.js").CollectionSelection) => void) & ((evt: "update:selectedKeys", keys: import("../../index.js").CollectionSelection) => void);
|
|
167
|
-
}>) => import('vue').VNode & {
|
|
168
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
169
|
-
};
|
|
170
|
-
Section: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
171
|
-
attrs: any;
|
|
172
|
-
slots: {
|
|
173
|
-
default?: () => unknown;
|
|
174
|
-
};
|
|
175
|
-
emit: {};
|
|
176
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
177
|
-
props: import('vue').PublicProps & {
|
|
178
|
-
class?: string;
|
|
179
|
-
ariaLabel?: string;
|
|
180
|
-
} & (typeof globalThis extends {
|
|
181
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
182
|
-
} ? P : {});
|
|
183
|
-
expose: (exposed: {}) => void;
|
|
184
|
-
attrs: any;
|
|
185
|
-
slots: {
|
|
186
|
-
default?: () => unknown;
|
|
187
|
-
};
|
|
188
|
-
emit: {};
|
|
189
|
-
}>) => import('vue').VNode & {
|
|
190
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
export { ListBoxDropIndicator, ListBoxLoadMoreItem, ListBoxRoot };
|
|
194
|
-
export type { ListBoxDropIndicatorProps, ListBoxLoadMoreItemProps, ListBoxRootProps, ListBoxRootProps as ListBoxProps, } from "./list-box.types.js";
|
|
4
|
+
export { ListBoxDropIndicator, ListBoxLoadMoreItem, ListBoxRoot as ListBox };
|
|
5
|
+
export type { ListBoxDropIndicatorProps, ListBoxLoadMoreItemProps, ListBoxRootProps as ListBoxProps, } from "./list-box.types.js";
|
|
195
6
|
export { provideListBoxStateContext, useListBoxContext, useListBoxStateContext, } from "./list-box.context.js";
|
|
196
7
|
export type { ListBoxContext, ListBoxStateContext } from "./list-box.context.js";
|
|
197
8
|
export type { UseDraggableCollectionStateReturn } from "../../composables/use-draggable-collection-state.js";
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
import list_box_item_indicator_default from "../list-box-item/list-box-item-indicator.js";
|
|
2
1
|
import { provideListBoxStateContext, useListBoxContext, useListBoxStateContext } from "./list-box.context.js";
|
|
3
|
-
import list_box_item_root_default from "../list-box-item/list-box-item-root.js";
|
|
4
|
-
import list_box_section_root_default from "../list-box-section/list-box-section-root.js";
|
|
5
2
|
import list_box_drop_indicator_default from "./list-box-drop-indicator.js";
|
|
6
3
|
import list_box_load_more_item_default from "./list-box-load-more-item.js";
|
|
7
4
|
import list_box_root_default from "./list-box-root.js";
|
|
8
5
|
import { listboxVariants } from "@ropav/styles";
|
|
9
|
-
|
|
10
|
-
var ListBox = Object.assign(list_box_root_default, {
|
|
11
|
-
DropIndicator: list_box_drop_indicator_default,
|
|
12
|
-
Item: list_box_item_root_default,
|
|
13
|
-
ItemIndicator: list_box_item_indicator_default,
|
|
14
|
-
LoadMoreItem: list_box_load_more_item_default,
|
|
15
|
-
Root: list_box_root_default,
|
|
16
|
-
Section: list_box_section_root_default
|
|
17
|
-
});
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ListBox, list_box_drop_indicator_default as ListBoxDropIndicator, list_box_load_more_item_default as ListBoxLoadMoreItem, list_box_root_default as ListBoxRoot, listboxVariants, provideListBoxStateContext, useListBoxContext, useListBoxStateContext };
|
|
6
|
+
export { list_box_root_default as ListBox, list_box_drop_indicator_default as ListBoxDropIndicator, list_box_load_more_item_default as ListBoxLoadMoreItem, listboxVariants, provideListBoxStateContext, useListBoxContext, useListBoxStateContext };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dataAttr } from "../../utils/assertion.js";
|
|
2
|
-
import { useListBoxContext } from "./list-box.context.js";
|
|
3
2
|
import { useVirtualizerStateContext } from "../virtualizer/virtualizer.context.js";
|
|
4
3
|
import virtualizer_item_default from "../virtualizer/virtualizer-item.js";
|
|
4
|
+
import { useListBoxContext } from "./list-box.context.js";
|
|
5
5
|
import { computed, createComponent, createIf, defineVaporComponent, on, renderEffect, setDynamicProps, setStaticTemplateRef, shallowRef, template, unref } from "vue";
|
|
6
6
|
//#region src/components/list-box/list-box-drop-indicator.vue?vue&type=script&setup=true&vapor=true&lang.ts
|
|
7
7
|
var t0 = template("<div>");
|
|
@@ -47,7 +47,7 @@ var list_box_drop_indicator_vue_vue_type_script_setup_true_vapor_true_lang_defau
|
|
|
47
47
|
* on each render, so those are wired statically with `@event` instead. */
|
|
48
48
|
const attrs = computed(() => ({
|
|
49
49
|
...indicator?.attrs.value,
|
|
50
|
-
class: ["list-box__drop-indicator", props.class],
|
|
50
|
+
class: ["rp-list-box__drop-indicator", props.class],
|
|
51
51
|
"data-drop-target": dataAttr(isDropTarget.value),
|
|
52
52
|
"data-slot": "list-box-drop-indicator",
|
|
53
53
|
role: "option"
|
|
@@ -3,10 +3,10 @@ import { useId as useId$1 } from "../../composables/use-id.js";
|
|
|
3
3
|
import { useCollection } from "../../composables/use-collection.js";
|
|
4
4
|
import { createListCollection } from "../../utils/virtualizer-collection.js";
|
|
5
5
|
import { useSelectionManager } from "../../composables/use-selection-manager.js";
|
|
6
|
-
import { provideListBoxContext, useListBoxStateContext } from "./list-box.context.js";
|
|
7
6
|
import { provideVirtualizerStateContext, useVirtualizerConfigContext } from "../virtualizer/virtualizer.context.js";
|
|
8
7
|
import virtualizer_item_default from "../virtualizer/virtualizer-item.js";
|
|
9
8
|
import virtualizer_scrollbar_default from "../virtualizer/virtualizer-scrollbar.js";
|
|
9
|
+
import { provideListBoxContext, useListBoxStateContext } from "./list-box.context.js";
|
|
10
10
|
import list_box_drop_indicator_default from "./list-box-drop-indicator.js";
|
|
11
11
|
import { useCollectionAutoFocus } from "../../composables/use-collection-auto-focus.js";
|
|
12
12
|
import { useDndPersistedKeys } from "../../composables/use-dnd-persisted-keys.js";
|
|
@@ -352,9 +352,9 @@ var list_box_root_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__
|
|
|
352
352
|
return createSlot("default", {
|
|
353
353
|
index: () => _for_item0.value.node?.index,
|
|
354
354
|
item: () => itemOf(_for_item0.value.node)
|
|
355
|
-
}, null,
|
|
356
|
-
}, { _:
|
|
357
|
-
}, (view) => view.key);
|
|
355
|
+
}, null, 4);
|
|
356
|
+
}, { _: 1 }))];
|
|
357
|
+
}, (view) => view.key, 64);
|
|
358
358
|
setInsertionState(n17, 2);
|
|
359
359
|
createIf(() => rendersDropIndicators.value && lastItemKey.value != null, () => {
|
|
360
360
|
return createComponent(list_box_drop_indicator_default, { target: () => ({
|
|
@@ -1,79 +1,7 @@
|
|
|
1
1
|
import ListBoxItemIndicator from "./list-box-item-indicator.js";
|
|
2
2
|
import ListBoxItemRoot from "./list-box-item-root.js";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
slots: {
|
|
6
|
-
default?: (props: import("./list-box-item.types.js").ListBoxItemSlotProps) => unknown;
|
|
7
|
-
};
|
|
8
|
-
emit: {};
|
|
9
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
10
|
-
props: import('vue').PublicProps & {
|
|
11
|
-
class?: string;
|
|
12
|
-
id?: import("../../index.js").CollectionKey;
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
textValue?: string;
|
|
15
|
-
variant?: import("@ropav/styles").ListBoxItemVariants["variant"];
|
|
16
|
-
} & (typeof globalThis extends {
|
|
17
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
18
|
-
} ? P : {});
|
|
19
|
-
expose: (exposed: {}) => void;
|
|
20
|
-
attrs: any;
|
|
21
|
-
slots: {
|
|
22
|
-
default?: (props: import("./list-box-item.types.js").ListBoxItemSlotProps) => unknown;
|
|
23
|
-
};
|
|
24
|
-
emit: {};
|
|
25
|
-
}>) => import('vue').VNode & {
|
|
26
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
27
|
-
}) & {
|
|
28
|
-
Indicator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
29
|
-
attrs: any;
|
|
30
|
-
slots: {
|
|
31
|
-
default?: (props: import("./list-box-item.types.js").ListBoxItemIndicatorSlotProps) => unknown;
|
|
32
|
-
};
|
|
33
|
-
emit: {};
|
|
34
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
35
|
-
props: import('vue').PublicProps & {
|
|
36
|
-
class?: string;
|
|
37
|
-
} & (typeof globalThis extends {
|
|
38
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
39
|
-
} ? P : {});
|
|
40
|
-
expose: (exposed: {}) => void;
|
|
41
|
-
attrs: any;
|
|
42
|
-
slots: {
|
|
43
|
-
default?: (props: import("./list-box-item.types.js").ListBoxItemIndicatorSlotProps) => unknown;
|
|
44
|
-
};
|
|
45
|
-
emit: {};
|
|
46
|
-
}>) => import('vue').VNode & {
|
|
47
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
48
|
-
};
|
|
49
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
50
|
-
attrs: any;
|
|
51
|
-
slots: {
|
|
52
|
-
default?: (props: import("./list-box-item.types.js").ListBoxItemSlotProps) => unknown;
|
|
53
|
-
};
|
|
54
|
-
emit: {};
|
|
55
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
56
|
-
props: import('vue').PublicProps & {
|
|
57
|
-
class?: string;
|
|
58
|
-
id?: import("../../index.js").CollectionKey;
|
|
59
|
-
isDisabled?: boolean;
|
|
60
|
-
textValue?: string;
|
|
61
|
-
variant?: import("@ropav/styles").ListBoxItemVariants["variant"];
|
|
62
|
-
} & (typeof globalThis extends {
|
|
63
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
64
|
-
} ? P : {});
|
|
65
|
-
expose: (exposed: {}) => void;
|
|
66
|
-
attrs: any;
|
|
67
|
-
slots: {
|
|
68
|
-
default?: (props: import("./list-box-item.types.js").ListBoxItemSlotProps) => unknown;
|
|
69
|
-
};
|
|
70
|
-
emit: {};
|
|
71
|
-
}>) => import('vue').VNode & {
|
|
72
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
export { ListBoxItemIndicator, ListBoxItemRoot };
|
|
76
|
-
export type { ListBoxItemIndicatorProps, ListBoxItemIndicatorSlotProps, ListBoxItemRootProps, ListBoxItemRootProps as ListBoxItemProps, ListBoxItemSlotProps, } from "./list-box-item.types.js";
|
|
3
|
+
export { ListBoxItemIndicator, ListBoxItemRoot as ListBoxItem };
|
|
4
|
+
export type { ListBoxItemIndicatorProps, ListBoxItemIndicatorSlotProps, ListBoxItemRootProps as ListBoxItemProps, ListBoxItemSlotProps, } from "./list-box-item.types.js";
|
|
77
5
|
export { useListBoxItemContext } from "./list-box-item.context.js";
|
|
78
6
|
export type { ListBoxItemContext } from "./list-box-item.context.js";
|
|
79
7
|
export { listboxItemVariants } from "@ropav/styles";
|
|
@@ -2,10 +2,4 @@ import { useListBoxItemContext } from "./list-box-item.context.js";
|
|
|
2
2
|
import list_box_item_indicator_default from "./list-box-item-indicator.js";
|
|
3
3
|
import list_box_item_root_default from "./list-box-item-root.js";
|
|
4
4
|
import { listboxItemVariants } from "@ropav/styles";
|
|
5
|
-
|
|
6
|
-
var ListBoxItem = Object.assign(list_box_item_root_default, {
|
|
7
|
-
Indicator: list_box_item_indicator_default,
|
|
8
|
-
Root: list_box_item_root_default
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
export { ListBoxItem, list_box_item_indicator_default as ListBoxItemIndicator, list_box_item_root_default as ListBoxItemRoot, listboxItemVariants, useListBoxItemContext };
|
|
5
|
+
export { list_box_item_root_default as ListBoxItem, list_box_item_indicator_default as ListBoxItemIndicator, listboxItemVariants, useListBoxItemContext };
|
|
@@ -2,10 +2,10 @@ import { dataAttr } from "../../utils/assertion.js";
|
|
|
2
2
|
import { useId as useId$1 } from "../../composables/use-id.js";
|
|
3
3
|
import { useInteractionModality, useInteractionStates } from "../../composables/use-interaction-states.js";
|
|
4
4
|
import { provideFieldIdsContext, useFieldIds } from "../../composables/use-field-ids.js";
|
|
5
|
+
import { useVirtualizerStateContext } from "../virtualizer/virtualizer.context.js";
|
|
6
|
+
import { useListBoxContext } from "../list-box/list-box.context.js";
|
|
5
7
|
import { provideListBoxItemContext } from "./list-box-item.context.js";
|
|
6
8
|
import { getCollectionTextValue } from "../../utils/text-value.js";
|
|
7
|
-
import { useListBoxContext } from "../list-box/list-box.context.js";
|
|
8
|
-
import { useVirtualizerStateContext } from "../virtualizer/virtualizer.context.js";
|
|
9
9
|
import { computed, createSlot, defineVaporComponent, on, renderEffect, setDynamicProps, setInsertionState, setStaticTemplateRef, shallowRef, template, unref, watch } from "vue";
|
|
10
10
|
import { listboxItemVariants } from "@ropav/styles";
|
|
11
11
|
//#region src/components/list-box-item/list-box-item-root.vue?vue&type=script&setup=true&vapor=true&lang.ts
|
|
@@ -1,49 +1,4 @@
|
|
|
1
1
|
import ListBoxSectionRoot from "./list-box-section-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
|
-
ariaLabel?: string;
|
|
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
|
-
ariaLabel?: string;
|
|
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 { ListBoxSectionRoot };
|
|
48
|
-
export type { ListBoxSectionRootProps, ListBoxSectionRootProps as ListBoxSectionProps, } from "./list-box-section.types.js";
|
|
2
|
+
export { ListBoxSectionRoot as ListBoxSection };
|
|
3
|
+
export type { ListBoxSectionRootProps as ListBoxSectionProps } from "./list-box-section.types.js";
|
|
49
4
|
export { listboxSectionVariants } from "@ropav/styles";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import list_box_section_root_default from "./list-box-section-root.js";
|
|
2
2
|
import { listboxSectionVariants } from "@ropav/styles";
|
|
3
|
-
|
|
4
|
-
var ListBoxSection = Object.assign(list_box_section_root_default, { Root: list_box_section_root_default });
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ListBoxSection, list_box_section_root_default as ListBoxSectionRoot, listboxSectionVariants };
|
|
3
|
+
export { list_box_section_root_default as ListBoxSection, listboxSectionVariants };
|