ropav 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -9
- package/dist/components/accordion/index.d.ts +2 -190
- package/dist/components/accordion/index.js +1 -12
- package/dist/components/alert/alert-indicator.js +1 -1
- package/dist/components/alert/index.d.ts +2 -131
- package/dist/components/alert/index.js +1 -10
- package/dist/components/alert-dialog/alert-dialog-close.js +1 -1
- package/dist/components/alert-dialog/alert-dialog-heading.js +2 -2
- package/dist/components/alert-dialog/alert-dialog.types.d.ts +1 -1
- package/dist/components/alert-dialog/index.d.ts +2 -296
- package/dist/components/alert-dialog/index.js +1 -17
- package/dist/components/autocomplete/autocomplete-popover.js +2 -2
- package/dist/components/autocomplete/autocomplete-root.js +1 -1
- package/dist/components/autocomplete/index.d.ts +2 -250
- package/dist/components/autocomplete/index.js +1 -12
- package/dist/components/avatar/avatar.context.d.ts +1 -1
- package/dist/components/avatar/index.d.ts +2 -101
- package/dist/components/avatar/index.js +1 -8
- package/dist/components/badge/badge-anchor.js +5 -4
- package/dist/components/badge/badge-auto-label.d.ts +4 -4
- package/dist/components/badge/badge-auto-label.js +2 -2
- package/dist/components/badge/badge-root.js +2 -2
- package/dist/components/badge/index.d.ts +2 -95
- package/dist/components/badge/index.js +1 -8
- package/dist/components/breadcrumbs/breadcrumbs-item.js +2 -2
- package/dist/components/breadcrumbs/breadcrumbs.types.d.ts +2 -2
- package/dist/components/breadcrumbs/index.d.ts +2 -90
- package/dist/components/breadcrumbs/index.js +1 -7
- package/dist/components/button/index.d.ts +2 -61
- package/dist/components/button/index.js +1 -4
- package/dist/components/button-group/index.d.ts +2 -72
- package/dist/components/button-group/index.js +1 -7
- package/dist/components/calendar/calendar-grid-body.js +2 -2
- package/dist/components/calendar/calendar-grid-header.js +1 -1
- package/dist/components/calendar/calendar-grid.js +2 -1
- package/dist/components/calendar/calendar-root.d.ts +1 -1
- package/dist/components/calendar/calendar-root.js +13 -13
- package/dist/components/calendar/calendar.context.js +1 -1
- package/dist/components/calendar/calendar.types.d.ts +3 -1
- package/dist/components/calendar/index.d.ts +2 -422
- package/dist/components/calendar/index.js +1 -27
- package/dist/components/calendar-year-picker/calendar-year-picker-cell.js +15 -11
- package/dist/components/calendar-year-picker/calendar-year-picker-grid-body.js +9 -10
- package/dist/components/calendar-year-picker/calendar-year-picker-grid.js +36 -32
- package/dist/components/calendar-year-picker/calendar-year-picker-trigger-heading.js +1 -1
- package/dist/components/calendar-year-picker/calendar-year-picker-trigger.js +1 -1
- package/dist/components/calendar-year-picker/calendar-year-picker.context.d.ts +26 -8
- package/dist/components/calendar-year-picker/calendar-year-picker.context.js +2 -2
- package/dist/components/calendar-year-picker/calendar-year-picker.types.d.ts +8 -1
- package/dist/components/calendar-year-picker/index.d.ts +0 -134
- package/dist/components/calendar-year-picker/index.js +1 -11
- package/dist/components/card/index.d.ts +2 -152
- package/dist/components/card/index.js +1 -11
- package/dist/components/checkbox/index.d.ts +2 -146
- package/dist/components/checkbox/index.js +1 -9
- package/dist/components/checkbox-group/index.d.ts +2 -77
- package/dist/components/checkbox-group/index.js +1 -4
- package/dist/components/chip/chip-auto-label.d.ts +4 -4
- package/dist/components/chip/chip-auto-label.js +2 -2
- package/dist/components/chip/chip-root.js +2 -2
- package/dist/components/chip/index.d.ts +2 -72
- package/dist/components/chip/index.js +1 -7
- package/dist/components/close-button/index.d.ts +2 -55
- package/dist/components/close-button/index.js +1 -4
- package/dist/components/color-area/index.d.ts +2 -100
- package/dist/components/color-area/index.js +1 -7
- package/dist/components/color-field/color-field-root.js +1 -1
- package/dist/components/color-field/index.d.ts +2 -175
- package/dist/components/color-field/index.js +1 -14
- package/dist/components/color-input-group/index.d.ts +2 -115
- package/dist/components/color-input-group/index.js +1 -9
- package/dist/components/color-picker/color-picker-popover.js +2 -2
- package/dist/components/color-picker/index.d.ts +2 -110
- package/dist/components/color-picker/index.js +1 -8
- package/dist/components/color-slider/index.d.ts +2 -138
- package/dist/components/color-slider/index.js +1 -9
- package/dist/components/color-swatch/index.d.ts +2 -59
- package/dist/components/color-swatch/index.js +1 -4
- package/dist/components/color-swatch-picker/color-swatch-picker-item.js +1 -1
- package/dist/components/color-swatch-picker/index.d.ts +2 -129
- package/dist/components/color-swatch-picker/index.js +1 -9
- package/dist/components/combo-box/combo-box-popover.js +2 -2
- package/dist/components/combo-box/combo-box.types.d.ts +1 -1
- package/dist/components/combo-box/index.d.ts +2 -229
- package/dist/components/combo-box/index.js +1 -10
- package/dist/components/date-field/date-field-root.js +2 -2
- package/dist/components/date-field/index.d.ts +2 -241
- package/dist/components/date-field/index.js +1 -12
- package/dist/components/date-input-group/use-date-segment.js +1 -1
- package/dist/components/date-picker/date-picker-popover.js +2 -2
- package/dist/components/date-picker/date-picker-root.js +6 -3
- package/dist/components/date-picker/index.d.ts +2 -186
- package/dist/components/date-picker/index.js +1 -9
- package/dist/components/date-range-picker/date-range-picker-popover.js +2 -2
- package/dist/components/date-range-picker/date-range-picker-root.js +6 -3
- package/dist/components/date-range-picker/index.d.ts +2 -209
- package/dist/components/date-range-picker/index.js +1 -10
- package/dist/components/description/index.d.ts +2 -45
- package/dist/components/description/index.js +1 -4
- package/dist/components/disclosure/disclosure-root.js +3 -3
- package/dist/components/disclosure/index.d.ts +2 -163
- package/dist/components/disclosure/index.js +1 -11
- package/dist/components/disclosure-group/index.d.ts +2 -57
- package/dist/components/disclosure-group/index.js +1 -4
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/drawer/drawer-dialog.js +1 -1
- package/dist/components/drawer/drawer-heading.js +2 -2
- package/dist/components/drawer/drawer.types.d.ts +1 -1
- package/dist/components/drawer/index.d.ts +2 -291
- package/dist/components/drawer/index.js +1 -17
- package/dist/components/drop-zone/index.d.ts +2 -80
- package/dist/components/drop-zone/index.js +1 -7
- package/dist/components/dropdown/dropdown-popover.js +2 -2
- package/dist/components/dropdown/index.d.ts +2 -265
- package/dist/components/dropdown/index.js +1 -23
- package/dist/components/empty-state/index.d.ts +2 -45
- package/dist/components/empty-state/index.js +1 -4
- package/dist/components/error-message/index.d.ts +2 -45
- package/dist/components/error-message/index.js +1 -4
- package/dist/components/field-error/field-error-root.js +2 -2
- package/dist/components/field-error/index.d.ts +2 -66
- package/dist/components/field-error/index.js +1 -7
- package/dist/components/fieldset/index.d.ts +2 -110
- package/dist/components/fieldset/index.js +1 -9
- package/dist/components/form/index.d.ts +2 -49
- package/dist/components/form/index.js +1 -4
- package/dist/components/header/index.d.ts +2 -45
- package/dist/components/header/index.js +1 -4
- package/dist/components/i18n-provider/index.d.ts +2 -2
- package/dist/components/i18n-provider/index.js +1 -1
- package/dist/components/input/index.d.ts +2 -51
- package/dist/components/input/index.js +1 -4
- package/dist/components/input-group/index.d.ts +2 -141
- package/dist/components/input-group/index.js +1 -10
- package/dist/components/input-otp/index.d.ts +2 -151
- package/dist/components/input-otp/index.js +1 -9
- package/dist/components/kbd/index.d.ts +2 -86
- package/dist/components/kbd/index.js +1 -8
- package/dist/components/label/index.d.ts +2 -51
- package/dist/components/label/index.js +1 -4
- package/dist/components/link/index.d.ts +2 -94
- package/dist/components/link/index.js +1 -7
- package/dist/components/list-box/index.d.ts +2 -191
- package/dist/components/list-box/index.js +1 -14
- package/dist/components/list-box/list-box-drop-indicator.js +2 -2
- package/dist/components/list-box/list-box-root.js +4 -4
- package/dist/components/list-box-item/index.d.ts +2 -74
- package/dist/components/list-box-item/index.js +1 -7
- package/dist/components/list-box-item/list-box-item-root.js +2 -2
- package/dist/components/list-box-section/index.d.ts +2 -47
- package/dist/components/list-box-section/index.js +1 -4
- package/dist/components/menu/index.d.ts +2 -83
- package/dist/components/menu/index.js +1 -4
- package/dist/components/menu-item/index.d.ts +2 -96
- package/dist/components/menu-item/index.js +1 -8
- package/dist/components/menu-item/menu-item-root.js +2 -2
- package/dist/components/menu-section/index.d.ts +2 -63
- package/dist/components/menu-section/index.js +1 -4
- package/dist/components/meter/index.d.ts +2 -127
- package/dist/components/meter/index.js +1 -9
- package/dist/components/modal/index.d.ts +2 -296
- package/dist/components/modal/index.js +1 -17
- package/dist/components/modal/modal-close.js +1 -1
- package/dist/components/modal/modal-heading.js +2 -2
- package/dist/components/modal/modal.context.d.ts +2 -2
- package/dist/components/modal/modal.types.d.ts +1 -1
- package/dist/components/number-field/index.d.ts +2 -186
- package/dist/components/number-field/index.js +1 -10
- package/dist/components/number-field/number-field-decrement-button.js +1 -1
- package/dist/components/number-field/number-field-increment-button.js +1 -1
- package/dist/components/overlay/overlay-slots.d.ts +1 -1
- package/dist/components/pagination/index.d.ts +2 -244
- package/dist/components/pagination/index.js +1 -15
- package/dist/components/pagination/pagination-next.js +4 -1
- package/dist/components/pagination/pagination-previous.js +4 -1
- package/dist/components/popover/index.d.ts +2 -172
- package/dist/components/popover/index.js +1 -11
- package/dist/components/popover/popover-arrow.js +2 -2
- package/dist/components/popover/popover-content.js +2 -2
- package/dist/components/popover/popover-heading.js +2 -2
- package/dist/components/popover/popover.types.d.ts +1 -1
- package/dist/components/progress-bar/index.d.ts +2 -133
- package/dist/components/progress-bar/index.js +1 -9
- package/dist/components/progress-circle/index.d.ts +2 -124
- package/dist/components/progress-circle/index.js +1 -9
- package/dist/components/radio/index.d.ts +2 -120
- package/dist/components/radio/index.js +1 -9
- package/dist/components/radio-group/index.d.ts +2 -79
- package/dist/components/radio-group/index.js +1 -4
- package/dist/components/range-calendar/index.d.ts +2 -424
- package/dist/components/range-calendar/index.js +1 -27
- package/dist/components/range-calendar/range-calendar-cell.js +4 -2
- package/dist/components/range-calendar/range-calendar-grid-body.js +2 -2
- package/dist/components/range-calendar/range-calendar-grid-header.js +1 -1
- package/dist/components/range-calendar/range-calendar-grid.js +2 -1
- package/dist/components/range-calendar/range-calendar-root.d.ts +3 -3
- package/dist/components/range-calendar/range-calendar-root.js +13 -13
- package/dist/components/range-calendar/range-calendar.context.d.ts +1 -1
- package/dist/components/range-calendar/range-calendar.context.js +1 -1
- package/dist/components/range-calendar/range-calendar.types.d.ts +3 -1
- package/dist/components/router-provider/index.d.ts +2 -2
- package/dist/components/router-provider/index.js +1 -1
- package/dist/components/scroll-shadow/index.d.ts +2 -69
- package/dist/components/scroll-shadow/index.js +1 -4
- package/dist/components/search-field/index.d.ts +2 -195
- package/dist/components/search-field/index.js +1 -10
- package/dist/components/search-field/search-field-clear-button.js +5 -5
- package/dist/components/segmented-control/index.d.ts +2 -126
- package/dist/components/segmented-control/index.js +1 -9
- package/dist/components/select/index.d.ts +2 -202
- package/dist/components/select/index.js +1 -10
- package/dist/components/select/select-popover.js +2 -2
- package/dist/components/select/select-value.js +1 -1
- package/dist/components/separator/index.d.ts +2 -41
- package/dist/components/separator/index.js +1 -4
- package/dist/components/sidebar/index.d.ts +2 -520
- package/dist/components/sidebar/index.js +1 -25
- package/dist/components/sidebar/sidebar-content.js +2 -2
- package/dist/components/sidebar/sidebar-item-tooltip.js +2 -2
- package/dist/components/sidebar/sidebar-panel.js +1 -0
- package/dist/components/sidebar/sidebar-rail.js +1 -0
- package/dist/components/sidebar/sidebar-root.js +23 -5
- package/dist/components/sidebar/sidebar.state.d.ts +3 -0
- package/dist/components/sidebar/sidebar.state.js +5 -0
- package/dist/components/sidebar/sidebar.types.d.ts +2 -2
- package/dist/components/skeleton/index.d.ts +2 -47
- package/dist/components/skeleton/index.js +1 -4
- package/dist/components/slider/index.d.ts +2 -180
- package/dist/components/slider/index.js +1 -11
- package/dist/components/spinner/index.d.ts +2 -41
- package/dist/components/spinner/index.js +1 -4
- package/dist/components/splitter/index.d.ts +2 -134
- package/dist/components/splitter/index.js +1 -8
- package/dist/components/surface/index.d.ts +2 -47
- package/dist/components/surface/index.js +1 -4
- package/dist/components/switch/index.d.ts +2 -165
- package/dist/components/switch/index.js +1 -10
- package/dist/components/switch-group/index.d.ts +2 -47
- package/dist/components/switch-group/index.js +1 -4
- package/dist/components/table/index.d.ts +2 -442
- package/dist/components/table/index.js +1 -23
- package/dist/components/table/table-body.js +9 -9
- package/dist/components/table/table-cell.js +3 -3
- package/dist/components/table/table-column.js +4 -4
- package/dist/components/table/table-content.js +3 -3
- package/dist/components/table/table-drag-handle.js +1 -1
- package/dist/components/table/table-drop-indicator.js +9 -7
- package/dist/components/table/table-header.js +4 -4
- package/dist/components/table/table-load-more.js +5 -5
- package/dist/components/table/table-row.js +4 -4
- package/dist/components/table/table.context.d.ts +2 -2
- package/dist/components/table/table.types.d.ts +3 -3
- package/dist/components/tabs/index.d.ts +2 -189
- package/dist/components/tabs/index.js +1 -12
- package/dist/components/tabs/tabs-list-container.js +2 -2
- package/dist/components/tag/index.d.ts +2 -76
- package/dist/components/tag/index.js +1 -7
- package/dist/components/tag/tag-remove-button.js +2 -2
- package/dist/components/tag-group/index.d.ts +2 -93
- package/dist/components/tag-group/index.js +1 -7
- package/dist/components/textarea/index.d.ts +2 -51
- package/dist/components/textarea/index.js +1 -4
- package/dist/components/textfield/index.d.ts +2 -109
- package/dist/components/textfield/index.js +1 -4
- package/dist/components/time-field/index.d.ts +2 -233
- package/dist/components/time-field/index.js +1 -12
- package/dist/components/toast/index.d.ts +2 -216
- package/dist/components/toast/index.js +1 -15
- package/dist/components/toast/toast-action-button.js +2 -2
- package/dist/components/toast/toast-default-content.js +1 -1
- package/dist/components/toast/toast-queue.d.ts +1 -1
- package/dist/components/toast/toast-queue.js +1 -1
- package/dist/components/toast/toast-root.js +1 -1
- package/dist/components/toast/toast.types.d.ts +3 -3
- package/dist/components/toggle-button/index.d.ts +2 -65
- package/dist/components/toggle-button/index.js +1 -4
- package/dist/components/toggle-button-group/index.d.ts +2 -82
- package/dist/components/toggle-button-group/index.js +1 -7
- package/dist/components/toolbar/index.d.ts +2 -49
- package/dist/components/toolbar/index.js +1 -4
- package/dist/components/tooltip/index.d.ts +2 -136
- package/dist/components/tooltip/index.js +1 -9
- package/dist/components/tooltip/tooltip-arrow.js +2 -2
- package/dist/components/tooltip/tooltip-root.js +1 -1
- package/dist/components/tooltip/tooltip.types.d.ts +1 -1
- package/dist/components/typography/code.js +2 -2
- package/dist/components/typography/heading.js +2 -2
- package/dist/components/typography/index.d.ts +2 -1269
- package/dist/components/typography/index.js +1 -10
- package/dist/components/typography/paragraph.js +2 -2
- package/dist/components/typography/typography-root.js +2 -2
- package/dist/composables/use-calendar-grid.js +2 -1
- package/dist/composables/use-calendar-year-picker.js +12 -3
- package/dist/composables/use-color-slider.d.ts +1 -1
- package/dist/composables/use-color-slider.js +1 -1
- package/dist/composables/use-press.d.ts +10 -0
- package/dist/composables/use-press.js +27 -2
- package/dist/composables/use-prevent-scroll.d.ts +11 -5
- package/dist/composables/use-prevent-scroll.js +11 -5
- package/dist/composables/use-range-calendar.js +2 -1
- package/dist/composables/use-text-field.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +110 -111
- package/dist/styles-no-preflight.css +3 -0
- package/dist/styles-overrides.css +15 -0
- package/dist/styles.css +1 -16
- package/dist/utils/calendar-systems.d.ts +14 -0
- package/dist/utils/calendar-systems.js +2 -0
- package/dist/utils/calendar.d.ts +14 -5
- package/dist/utils/calendar.js +18 -21
- package/dist/utils/compose.d.ts +4 -6
- package/dist/utils/compose.js +4 -6
- package/dist/utils/dnd-list-drop-target-delegate.d.ts +19 -1
- package/dist/utils/dnd-list-drop-target-delegate.js +37 -6
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/virtualizer-list-layout.d.ts +8 -0
- package/dist/utils/virtualizer-list-layout.js +12 -2
- package/dist/utils/virtualizer-table-layout.d.ts +1 -0
- package/dist/utils/virtualizer-table-layout.js +3 -0
- package/package.json +7 -4
|
@@ -3,7 +3,7 @@ import type { CalendarHeadingFormatOptions } from "../../composables/use-calenda
|
|
|
3
3
|
import type { PageBehavior, SelectionAlignment } from "../../composables/use-calendar-state.js";
|
|
4
4
|
import type { RangeCalendarCommitBehavior } from "../../composables/use-range-calendar.js";
|
|
5
5
|
import type { DayOfWeek, WeekdayStyle } from "../../utils/calendar.js";
|
|
6
|
-
import type { CalendarDate, DateDuration, DateValue } from "@internationalized/date";
|
|
6
|
+
import type { Calendar, CalendarDate, CalendarIdentifier, DateDuration, DateValue } from "@internationalized/date";
|
|
7
7
|
export interface RangeCalendarRootProps {
|
|
8
8
|
class?: string;
|
|
9
9
|
id?: string;
|
|
@@ -46,6 +46,8 @@ export interface RangeCalendarRootProps {
|
|
|
46
46
|
/** Whether the year picker is open. */
|
|
47
47
|
isYearPickerOpen?: boolean;
|
|
48
48
|
defaultYearPickerOpen?: boolean;
|
|
49
|
+
/** Builds the calendar system for an identifier. Injectable so a build can ship fewer of them. */
|
|
50
|
+
createCalendar?: (identifier: CalendarIdentifier) => Calendar;
|
|
49
51
|
}
|
|
50
52
|
/** State the calendar hands its slot, matching React's render props. */
|
|
51
53
|
export interface RangeCalendarRootSlotProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import RouterProviderRoot from "./router-provider.js";
|
|
2
|
-
export { RouterProviderRoot
|
|
3
|
-
export type { RouterProviderRootProps
|
|
2
|
+
export { RouterProviderRoot as RouterProvider };
|
|
3
|
+
export type { RouterProviderRootProps as RouterProviderProps } from "./router-provider.types.js";
|
|
4
4
|
export { useRouterContext } from "./router-provider.context.js";
|
|
5
5
|
export type { RouterContext } from "./router-provider.context.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { useRouterContext } from "./router-provider.context.js";
|
|
2
2
|
import router_provider_default from "./router-provider.js";
|
|
3
|
-
export { router_provider_default as RouterProvider,
|
|
3
|
+
export { router_provider_default as RouterProvider, useRouterContext };
|
|
@@ -1,73 +1,6 @@
|
|
|
1
1
|
import ScrollShadowRoot from "./scroll-shadow-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
|
-
style?: import("vue").StyleValue;
|
|
12
|
-
hideScrollBar?: boolean;
|
|
13
|
-
isEnabled?: boolean;
|
|
14
|
-
offset?: number;
|
|
15
|
-
orientation?: import("@ropav/styles").ScrollShadowVariants["orientation"];
|
|
16
|
-
size?: number;
|
|
17
|
-
variant?: import("@ropav/styles").ScrollShadowVariants["variant"];
|
|
18
|
-
visibility?: import("./scroll-shadow.types.js").ScrollShadowVisibility;
|
|
19
|
-
onVisibilityChange?: (visibility: import("./scroll-shadow.types.js").ScrollShadowVisibility) => void;
|
|
20
|
-
} & (typeof globalThis extends {
|
|
21
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
22
|
-
} ? P : {});
|
|
23
|
-
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
24
|
-
checkOverflow: () => void;
|
|
25
|
-
element: import("vue").ShallowRef<HTMLElement | null, HTMLElement | null>;
|
|
26
|
-
}>) => 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
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
36
|
-
attrs: any;
|
|
37
|
-
slots: {
|
|
38
|
-
default?: () => unknown;
|
|
39
|
-
};
|
|
40
|
-
emit: {};
|
|
41
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
42
|
-
props: import('vue').PublicProps & {
|
|
43
|
-
class?: string;
|
|
44
|
-
style?: import("vue").StyleValue;
|
|
45
|
-
hideScrollBar?: boolean;
|
|
46
|
-
isEnabled?: boolean;
|
|
47
|
-
offset?: number;
|
|
48
|
-
orientation?: import("@ropav/styles").ScrollShadowVariants["orientation"];
|
|
49
|
-
size?: number;
|
|
50
|
-
variant?: import("@ropav/styles").ScrollShadowVariants["variant"];
|
|
51
|
-
visibility?: import("./scroll-shadow.types.js").ScrollShadowVisibility;
|
|
52
|
-
onVisibilityChange?: (visibility: import("./scroll-shadow.types.js").ScrollShadowVisibility) => void;
|
|
53
|
-
} & (typeof globalThis extends {
|
|
54
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
55
|
-
} ? P : {});
|
|
56
|
-
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
57
|
-
checkOverflow: () => void;
|
|
58
|
-
element: import("vue").ShallowRef<HTMLElement | null, HTMLElement | null>;
|
|
59
|
-
}>) => void;
|
|
60
|
-
attrs: any;
|
|
61
|
-
slots: {
|
|
62
|
-
default?: () => unknown;
|
|
63
|
-
};
|
|
64
|
-
emit: {};
|
|
65
|
-
}>) => import('vue').VNode & {
|
|
66
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
export { ScrollShadowRoot };
|
|
70
|
-
export type { ScrollShadowRootProps, ScrollShadowRootProps as ScrollShadowProps, ScrollShadowVisibility, } from "./scroll-shadow.types.js";
|
|
2
|
+
export { ScrollShadowRoot as ScrollShadow };
|
|
3
|
+
export type { ScrollShadowRootProps as ScrollShadowProps, ScrollShadowVisibility, } from "./scroll-shadow.types.js";
|
|
71
4
|
export { scrollShadowVariants } from "@ropav/styles";
|
|
72
5
|
export type { ScrollShadowVariants } from "@ropav/styles";
|
|
73
6
|
export { useScrollShadow } from "./use-scroll-shadow.js";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { useScrollShadow } from "./use-scroll-shadow.js";
|
|
2
2
|
import scroll_shadow_root_default from "./scroll-shadow-root.js";
|
|
3
3
|
import { scrollShadowVariants } from "@ropav/styles";
|
|
4
|
-
|
|
5
|
-
var ScrollShadow = Object.assign(scroll_shadow_root_default, { Root: scroll_shadow_root_default });
|
|
6
|
-
//#endregion
|
|
7
|
-
export { ScrollShadow, scroll_shadow_root_default as ScrollShadowRoot, scrollShadowVariants, useScrollShadow };
|
|
4
|
+
export { scroll_shadow_root_default as ScrollShadow, scrollShadowVariants, useScrollShadow };
|
|
@@ -3,201 +3,8 @@ import SearchFieldGroup from "./search-field-group.js";
|
|
|
3
3
|
import SearchFieldInput from "./search-field-input.js";
|
|
4
4
|
import SearchFieldRoot from "./search-field-root.js";
|
|
5
5
|
import SearchFieldSearchIcon from "./search-field-search-icon.js";
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
slots: {
|
|
9
|
-
default?: (props: import("./search-field.types.js").SearchFieldRootSlotProps) => unknown;
|
|
10
|
-
};
|
|
11
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "clear") => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: string) => void);
|
|
12
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
13
|
-
props: import('vue').PublicProps & {
|
|
14
|
-
class?: string;
|
|
15
|
-
variant?: import("@ropav/styles").SearchFieldVariants["variant"];
|
|
16
|
-
size?: import("@ropav/styles").SearchFieldVariants["size"];
|
|
17
|
-
fullWidth?: boolean;
|
|
18
|
-
value?: string;
|
|
19
|
-
defaultValue?: string;
|
|
20
|
-
isDisabled?: boolean;
|
|
21
|
-
isReadOnly?: boolean;
|
|
22
|
-
isRequired?: boolean;
|
|
23
|
-
isInvalid?: boolean;
|
|
24
|
-
validate?: import("../../index.js").ValidationFunction<string>;
|
|
25
|
-
validationBehavior?: import("../../index.js").ValidationBehavior;
|
|
26
|
-
name?: string;
|
|
27
|
-
form?: string;
|
|
28
|
-
id?: string;
|
|
29
|
-
type?: string;
|
|
30
|
-
placeholder?: string;
|
|
31
|
-
autoFocus?: boolean;
|
|
32
|
-
autoComplete?: string;
|
|
33
|
-
autoCapitalize?: string;
|
|
34
|
-
autoCorrect?: string;
|
|
35
|
-
spellCheck?: string | boolean;
|
|
36
|
-
inputMode?: string;
|
|
37
|
-
enterKeyHint?: string;
|
|
38
|
-
maxLength?: number;
|
|
39
|
-
minLength?: number;
|
|
40
|
-
ariaLabel?: string;
|
|
41
|
-
ariaLabelledby?: string;
|
|
42
|
-
ariaDescribedby?: string;
|
|
43
|
-
onSubmit?: (value: string) => void;
|
|
44
|
-
onChange?: ((value: string) => any) | undefined;
|
|
45
|
-
onClear?: (() => any) | undefined;
|
|
46
|
-
onFocusChange?: ((isFocused: boolean) => any) | undefined;
|
|
47
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
48
|
-
} & (typeof globalThis extends {
|
|
49
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
50
|
-
} ? P : {});
|
|
51
|
-
expose: (exposed: {}) => void;
|
|
52
|
-
attrs: any;
|
|
53
|
-
slots: {
|
|
54
|
-
default?: (props: import("./search-field.types.js").SearchFieldRootSlotProps) => unknown;
|
|
55
|
-
};
|
|
56
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "clear") => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: string) => void);
|
|
57
|
-
}>) => import('vue').VNode & {
|
|
58
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
59
|
-
}) & {
|
|
60
|
-
ClearButton: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
61
|
-
attrs: any;
|
|
62
|
-
slots: {
|
|
63
|
-
default?: () => unknown;
|
|
64
|
-
};
|
|
65
|
-
emit: {};
|
|
66
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
67
|
-
props: import('vue').PublicProps & {
|
|
68
|
-
class?: string;
|
|
69
|
-
} & (typeof globalThis extends {
|
|
70
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
71
|
-
} ? P : {});
|
|
72
|
-
expose: (exposed: {}) => void;
|
|
73
|
-
attrs: any;
|
|
74
|
-
slots: {
|
|
75
|
-
default?: () => unknown;
|
|
76
|
-
};
|
|
77
|
-
emit: {};
|
|
78
|
-
}>) => import('vue').VNode & {
|
|
79
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
80
|
-
};
|
|
81
|
-
Group: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
82
|
-
attrs: any;
|
|
83
|
-
slots: {
|
|
84
|
-
default?: (props: import("./search-field.types.js").SearchFieldGroupSlotProps) => 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?: (props: import("./search-field.types.js").SearchFieldGroupSlotProps) => unknown;
|
|
97
|
-
};
|
|
98
|
-
emit: {};
|
|
99
|
-
}>) => import('vue').VNode & {
|
|
100
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
101
|
-
};
|
|
102
|
-
Input: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
103
|
-
attrs: any;
|
|
104
|
-
slots: {};
|
|
105
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "update:value", value: string) => void);
|
|
106
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
107
|
-
props: import('vue').PublicProps & {
|
|
108
|
-
class?: string;
|
|
109
|
-
value?: string;
|
|
110
|
-
placeholder?: string;
|
|
111
|
-
onChange?: ((value: string) => any) | undefined;
|
|
112
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
113
|
-
} & (typeof globalThis extends {
|
|
114
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
115
|
-
} ? P : {});
|
|
116
|
-
expose: (exposed: {}) => void;
|
|
117
|
-
attrs: any;
|
|
118
|
-
slots: {};
|
|
119
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "update:value", value: string) => void);
|
|
120
|
-
}>) => import('vue').VNode & {
|
|
121
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
|
-
};
|
|
123
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
124
|
-
attrs: any;
|
|
125
|
-
slots: {
|
|
126
|
-
default?: (props: import("./search-field.types.js").SearchFieldRootSlotProps) => unknown;
|
|
127
|
-
};
|
|
128
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "clear") => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: string) => void);
|
|
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").SearchFieldVariants["variant"];
|
|
133
|
-
size?: import("@ropav/styles").SearchFieldVariants["size"];
|
|
134
|
-
fullWidth?: boolean;
|
|
135
|
-
value?: string;
|
|
136
|
-
defaultValue?: string;
|
|
137
|
-
isDisabled?: boolean;
|
|
138
|
-
isReadOnly?: boolean;
|
|
139
|
-
isRequired?: boolean;
|
|
140
|
-
isInvalid?: boolean;
|
|
141
|
-
validate?: import("../../index.js").ValidationFunction<string>;
|
|
142
|
-
validationBehavior?: import("../../index.js").ValidationBehavior;
|
|
143
|
-
name?: string;
|
|
144
|
-
form?: string;
|
|
145
|
-
id?: string;
|
|
146
|
-
type?: string;
|
|
147
|
-
placeholder?: string;
|
|
148
|
-
autoFocus?: boolean;
|
|
149
|
-
autoComplete?: string;
|
|
150
|
-
autoCapitalize?: string;
|
|
151
|
-
autoCorrect?: string;
|
|
152
|
-
spellCheck?: string | boolean;
|
|
153
|
-
inputMode?: string;
|
|
154
|
-
enterKeyHint?: string;
|
|
155
|
-
maxLength?: number;
|
|
156
|
-
minLength?: number;
|
|
157
|
-
ariaLabel?: string;
|
|
158
|
-
ariaLabelledby?: string;
|
|
159
|
-
ariaDescribedby?: string;
|
|
160
|
-
onSubmit?: (value: string) => void;
|
|
161
|
-
onChange?: ((value: string) => any) | undefined;
|
|
162
|
-
onClear?: (() => any) | undefined;
|
|
163
|
-
onFocusChange?: ((isFocused: boolean) => any) | undefined;
|
|
164
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
165
|
-
} & (typeof globalThis extends {
|
|
166
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
167
|
-
} ? P : {});
|
|
168
|
-
expose: (exposed: {}) => void;
|
|
169
|
-
attrs: any;
|
|
170
|
-
slots: {
|
|
171
|
-
default?: (props: import("./search-field.types.js").SearchFieldRootSlotProps) => unknown;
|
|
172
|
-
};
|
|
173
|
-
emit: ((evt: "change", value: string) => void) & ((evt: "clear") => void) & ((evt: "focusChange", isFocused: boolean) => void) & ((evt: "update:value", value: string) => void);
|
|
174
|
-
}>) => import('vue').VNode & {
|
|
175
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
176
|
-
};
|
|
177
|
-
SearchIcon: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
178
|
-
attrs: any;
|
|
179
|
-
slots: {
|
|
180
|
-
default?: () => unknown;
|
|
181
|
-
};
|
|
182
|
-
emit: {};
|
|
183
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
184
|
-
props: import('vue').PublicProps & {
|
|
185
|
-
class?: string;
|
|
186
|
-
} & (typeof globalThis extends {
|
|
187
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
188
|
-
} ? P : {});
|
|
189
|
-
expose: (exposed: {}) => void;
|
|
190
|
-
attrs: any;
|
|
191
|
-
slots: {
|
|
192
|
-
default?: () => unknown;
|
|
193
|
-
};
|
|
194
|
-
emit: {};
|
|
195
|
-
}>) => import('vue').VNode & {
|
|
196
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
export { SearchFieldClearButton, SearchFieldGroup, SearchFieldInput, SearchFieldRoot, SearchFieldSearchIcon, };
|
|
200
|
-
export type { SearchFieldRootProps, SearchFieldRootProps as SearchFieldProps, SearchFieldRootSlotProps, SearchFieldGroupProps, SearchFieldGroupSlotProps, SearchFieldInputProps, SearchFieldSearchIconProps, SearchFieldClearButtonProps, } from "./search-field.types.js";
|
|
6
|
+
export { SearchFieldClearButton, SearchFieldGroup, SearchFieldInput, SearchFieldRoot as SearchField, SearchFieldSearchIcon, };
|
|
7
|
+
export type { SearchFieldRootProps as SearchFieldProps, SearchFieldRootSlotProps as SearchFieldSlotProps, SearchFieldGroupProps, SearchFieldGroupSlotProps, SearchFieldInputProps, SearchFieldSearchIconProps, SearchFieldClearButtonProps, } from "./search-field.types.js";
|
|
201
8
|
export { provideSearchFieldContext, useSearchFieldContext } from "./search-field.context.js";
|
|
202
9
|
export type { SearchFieldContext } from "./search-field.context.js";
|
|
203
10
|
export { searchFieldVariants } from "@ropav/styles";
|
|
@@ -5,13 +5,4 @@ import search_field_input_default from "./search-field-input.js";
|
|
|
5
5
|
import search_field_root_default from "./search-field-root.js";
|
|
6
6
|
import search_field_search_icon_default from "./search-field-search-icon.js";
|
|
7
7
|
import { searchFieldVariants } from "@ropav/styles";
|
|
8
|
-
|
|
9
|
-
var SearchField = Object.assign(search_field_root_default, {
|
|
10
|
-
ClearButton: search_field_clear_button_default,
|
|
11
|
-
Group: search_field_group_default,
|
|
12
|
-
Input: search_field_input_default,
|
|
13
|
-
Root: search_field_root_default,
|
|
14
|
-
SearchIcon: search_field_search_icon_default
|
|
15
|
-
});
|
|
16
|
-
//#endregion
|
|
17
|
-
export { SearchField, search_field_clear_button_default as SearchFieldClearButton, search_field_group_default as SearchFieldGroup, search_field_input_default as SearchFieldInput, search_field_root_default as SearchFieldRoot, search_field_search_icon_default as SearchFieldSearchIcon, provideSearchFieldContext, searchFieldVariants, useSearchFieldContext };
|
|
8
|
+
export { search_field_root_default as SearchField, search_field_clear_button_default as SearchFieldClearButton, search_field_group_default as SearchFieldGroup, search_field_input_default as SearchFieldInput, search_field_search_icon_default as SearchFieldSearchIcon, provideSearchFieldContext, searchFieldVariants, useSearchFieldContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import close_button_root_default from "../close-button/close-button-root.js";
|
|
2
2
|
import { useSearchFieldContext } from "./search-field.context.js";
|
|
3
3
|
import { computed, createComponent, createSlot, defineVaporComponent, extend, unref } from "vue";
|
|
4
4
|
//#region src/components/search-field/search-field-clear-button.vue?vue&type=script&setup=true&vapor=true&lang.ts
|
|
@@ -12,7 +12,7 @@ var search_field_clear_button_vue_vue_type_script_setup_true_vapor_true_lang_def
|
|
|
12
12
|
/**
|
|
13
13
|
* `slot="clear"` is a live CSS contract, not a leftover of React Aria's slot system: the
|
|
14
14
|
* stylesheet strips the trailing radius and padding off the control through
|
|
15
|
-
* `.search-field__group:has([slot="clear"])`, so dropping it changes the geometry in silence.
|
|
15
|
+
* `.rp-search-field__group:has([slot="clear"])`, so dropping it changes the geometry in silence.
|
|
16
16
|
*
|
|
17
17
|
* Bound from here rather than written in the template because Vue 2 read a literal `slot`
|
|
18
18
|
* attribute as slot syntax, and the linter still flags either spelling. The vapor compiler
|
|
@@ -20,13 +20,13 @@ var search_field_clear_button_vue_vue_type_script_setup_true_vapor_true_lang_def
|
|
|
20
20
|
* keeping the contract stated in one place, next to the reason for it.
|
|
21
21
|
*/
|
|
22
22
|
const clearSlot = { slot: "clear" };
|
|
23
|
-
return createComponent(unref(
|
|
23
|
+
return createComponent(unref(close_button_root_default), {
|
|
24
24
|
class: () => styles.value,
|
|
25
25
|
"data-slot": "search-field-clear-button",
|
|
26
26
|
$: [() => clearSlot]
|
|
27
27
|
}, extend(() => {
|
|
28
|
-
return createSlot("default", null, null,
|
|
29
|
-
}, { _:
|
|
28
|
+
return createSlot("default", null, null, 4);
|
|
29
|
+
}, { _: 1 }), true);
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
@@ -2,132 +2,8 @@ import SegmentedControlIndicator from "./segmented-control-indicator.js";
|
|
|
2
2
|
import SegmentedControlItem from "./segmented-control-item.js";
|
|
3
3
|
import SegmentedControlRoot from "./segmented-control-root.js";
|
|
4
4
|
import SegmentedControlSeparator from "./segmented-control-separator.js";
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
slots: {
|
|
8
|
-
default?: (props: import("./segmented-control.types.js").SegmentedControlRootSlotProps) => unknown;
|
|
9
|
-
};
|
|
10
|
-
emit: ((evt: "selectionChange", key: import("../../index.js").CollectionKey) => void) & ((evt: "update:selectedKey", key: import("../../index.js").CollectionKey) => void);
|
|
11
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
12
|
-
props: import('vue').PublicProps & {
|
|
13
|
-
class?: string;
|
|
14
|
-
size?: import("@ropav/styles").SegmentedControlVariants["size"];
|
|
15
|
-
fullWidth?: boolean;
|
|
16
|
-
selectedKey?: import("../../index.js").CollectionKey;
|
|
17
|
-
defaultSelectedKey?: import("../../index.js").CollectionKey;
|
|
18
|
-
disabledKeys?: import("../../index.js").CollectionKey[];
|
|
19
|
-
isDisabled?: boolean;
|
|
20
|
-
ariaLabel?: string;
|
|
21
|
-
ariaLabelledby?: string;
|
|
22
|
-
ariaDescribedby?: string;
|
|
23
|
-
onSelectionChange?: (((key: import("../../index.js").CollectionKey) => void) & ((key: import("../../index.js").CollectionKey) => any)) | undefined;
|
|
24
|
-
"onUpdate:selectedKey"?: ((key: import("../../index.js").CollectionKey) => any) | undefined;
|
|
25
|
-
} & (typeof globalThis extends {
|
|
26
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
27
|
-
} ? P : {});
|
|
28
|
-
expose: (exposed: {}) => void;
|
|
29
|
-
attrs: any;
|
|
30
|
-
slots: {
|
|
31
|
-
default?: (props: import("./segmented-control.types.js").SegmentedControlRootSlotProps) => unknown;
|
|
32
|
-
};
|
|
33
|
-
emit: ((evt: "selectionChange", key: import("../../index.js").CollectionKey) => void) & ((evt: "update:selectedKey", key: import("../../index.js").CollectionKey) => void);
|
|
34
|
-
}>) => import('vue').VNode & {
|
|
35
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
36
|
-
}) & {
|
|
37
|
-
Indicator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
38
|
-
attrs: any;
|
|
39
|
-
slots: {};
|
|
40
|
-
emit: {};
|
|
41
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
42
|
-
props: import('vue').PublicProps & {
|
|
43
|
-
class?: string;
|
|
44
|
-
} & (typeof globalThis extends {
|
|
45
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
46
|
-
} ? P : {});
|
|
47
|
-
expose: (exposed: {}) => void;
|
|
48
|
-
attrs: any;
|
|
49
|
-
slots: {};
|
|
50
|
-
emit: {};
|
|
51
|
-
}>) => import('vue').VNode & {
|
|
52
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
53
|
-
};
|
|
54
|
-
Item: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
55
|
-
attrs: any;
|
|
56
|
-
slots: {
|
|
57
|
-
default?: (props: import("./segmented-control.types.js").SegmentedControlItemSlotProps) => unknown;
|
|
58
|
-
};
|
|
59
|
-
emit: {};
|
|
60
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
61
|
-
props: import('vue').PublicProps & {
|
|
62
|
-
class?: string;
|
|
63
|
-
id: import("../../index.js").CollectionKey;
|
|
64
|
-
isDisabled?: boolean;
|
|
65
|
-
textValue?: string;
|
|
66
|
-
ariaLabel?: string;
|
|
67
|
-
} & (typeof globalThis extends {
|
|
68
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
69
|
-
} ? P : {});
|
|
70
|
-
expose: (exposed: {}) => void;
|
|
71
|
-
attrs: any;
|
|
72
|
-
slots: {
|
|
73
|
-
default?: (props: import("./segmented-control.types.js").SegmentedControlItemSlotProps) => unknown;
|
|
74
|
-
};
|
|
75
|
-
emit: {};
|
|
76
|
-
}>) => import('vue').VNode & {
|
|
77
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
78
|
-
};
|
|
79
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
80
|
-
attrs: any;
|
|
81
|
-
slots: {
|
|
82
|
-
default?: (props: import("./segmented-control.types.js").SegmentedControlRootSlotProps) => unknown;
|
|
83
|
-
};
|
|
84
|
-
emit: ((evt: "selectionChange", key: import("../../index.js").CollectionKey) => void) & ((evt: "update:selectedKey", key: import("../../index.js").CollectionKey) => void);
|
|
85
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
86
|
-
props: import('vue').PublicProps & {
|
|
87
|
-
class?: string;
|
|
88
|
-
size?: import("@ropav/styles").SegmentedControlVariants["size"];
|
|
89
|
-
fullWidth?: boolean;
|
|
90
|
-
selectedKey?: import("../../index.js").CollectionKey;
|
|
91
|
-
defaultSelectedKey?: import("../../index.js").CollectionKey;
|
|
92
|
-
disabledKeys?: import("../../index.js").CollectionKey[];
|
|
93
|
-
isDisabled?: boolean;
|
|
94
|
-
ariaLabel?: string;
|
|
95
|
-
ariaLabelledby?: string;
|
|
96
|
-
ariaDescribedby?: string;
|
|
97
|
-
onSelectionChange?: (((key: import("../../index.js").CollectionKey) => void) & ((key: import("../../index.js").CollectionKey) => any)) | undefined;
|
|
98
|
-
"onUpdate:selectedKey"?: ((key: import("../../index.js").CollectionKey) => any) | undefined;
|
|
99
|
-
} & (typeof globalThis extends {
|
|
100
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
101
|
-
} ? P : {});
|
|
102
|
-
expose: (exposed: {}) => void;
|
|
103
|
-
attrs: any;
|
|
104
|
-
slots: {
|
|
105
|
-
default?: (props: import("./segmented-control.types.js").SegmentedControlRootSlotProps) => unknown;
|
|
106
|
-
};
|
|
107
|
-
emit: ((evt: "selectionChange", key: import("../../index.js").CollectionKey) => void) & ((evt: "update:selectedKey", key: import("../../index.js").CollectionKey) => void);
|
|
108
|
-
}>) => import('vue').VNode & {
|
|
109
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
110
|
-
};
|
|
111
|
-
Separator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
112
|
-
attrs: any;
|
|
113
|
-
slots: {};
|
|
114
|
-
emit: {};
|
|
115
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
116
|
-
props: import('vue').PublicProps & {
|
|
117
|
-
class?: string;
|
|
118
|
-
} & (typeof globalThis extends {
|
|
119
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
120
|
-
} ? P : {});
|
|
121
|
-
expose: (exposed: {}) => void;
|
|
122
|
-
attrs: any;
|
|
123
|
-
slots: {};
|
|
124
|
-
emit: {};
|
|
125
|
-
}>) => import('vue').VNode & {
|
|
126
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
export { SegmentedControlRoot, SegmentedControlItem, SegmentedControlIndicator, SegmentedControlSeparator, };
|
|
130
|
-
export type { SegmentedControlRootProps, SegmentedControlRootProps as SegmentedControlProps, SegmentedControlRootSlotProps, SegmentedControlItemProps, SegmentedControlItemSlotProps, SegmentedControlIndicatorProps, SegmentedControlSeparatorProps, SegmentedControlOrientation, } from "./segmented-control.types.js";
|
|
5
|
+
export { SegmentedControlRoot as SegmentedControl, SegmentedControlItem, SegmentedControlIndicator, SegmentedControlSeparator, };
|
|
6
|
+
export type { SegmentedControlRootProps as SegmentedControlProps, SegmentedControlRootSlotProps as SegmentedControlSlotProps, SegmentedControlItemProps, SegmentedControlItemSlotProps, SegmentedControlIndicatorProps, SegmentedControlSeparatorProps, SegmentedControlOrientation, } from "./segmented-control.types.js";
|
|
131
7
|
export { useSegmentedControlContext, useSegmentedControlItemContext, } from "./segmented-control.context.js";
|
|
132
8
|
export type { SegmentedControlContext, SegmentedControlItemContext, } from "./segmented-control.context.js";
|
|
133
9
|
export { segmentedControlVariants } from "@ropav/styles";
|
|
@@ -4,12 +4,4 @@ import segmented_control_item_default from "./segmented-control-item.js";
|
|
|
4
4
|
import segmented_control_root_default from "./segmented-control-root.js";
|
|
5
5
|
import segmented_control_separator_default from "./segmented-control-separator.js";
|
|
6
6
|
import { segmentedControlVariants } from "@ropav/styles";
|
|
7
|
-
|
|
8
|
-
var SegmentedControl = Object.assign(segmented_control_root_default, {
|
|
9
|
-
Indicator: segmented_control_indicator_default,
|
|
10
|
-
Item: segmented_control_item_default,
|
|
11
|
-
Root: segmented_control_root_default,
|
|
12
|
-
Separator: segmented_control_separator_default
|
|
13
|
-
});
|
|
14
|
-
//#endregion
|
|
15
|
-
export { SegmentedControl, segmented_control_indicator_default as SegmentedControlIndicator, segmented_control_item_default as SegmentedControlItem, segmented_control_root_default as SegmentedControlRoot, segmented_control_separator_default as SegmentedControlSeparator, segmentedControlVariants, useSegmentedControlContext, useSegmentedControlItemContext };
|
|
7
|
+
export { segmented_control_root_default as SegmentedControl, segmented_control_indicator_default as SegmentedControlIndicator, segmented_control_item_default as SegmentedControlItem, segmented_control_separator_default as SegmentedControlSeparator, segmentedControlVariants, useSegmentedControlContext, useSegmentedControlItemContext };
|