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
|
@@ -231,7 +231,7 @@ var createToastFunction = (queue) => {
|
|
|
231
231
|
return toastFn;
|
|
232
232
|
};
|
|
233
233
|
/**
|
|
234
|
-
* The queue every `<
|
|
234
|
+
* The queue every `<ToastProvider>` reads unless handed another one.
|
|
235
235
|
*
|
|
236
236
|
* Module scope on purpose, and the reason the class holds no reactive state: `toast("Saved")` has
|
|
237
237
|
* to work from anywhere, including code that is not inside a component at all.
|
|
@@ -73,7 +73,7 @@ var toast_root_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__PUR
|
|
|
73
73
|
pointerEvents: isHidden.value ? "none" : "auto",
|
|
74
74
|
scale: `${1 - index.value * scaleFactor.value}`,
|
|
75
75
|
translate: `0 ${direction * offset}px 0`,
|
|
76
|
-
viewTransitionName: `toast-${props.toast.key.replace(/[^a-zA-Z0-9]/g, "-")}`,
|
|
76
|
+
viewTransitionName: `rp-toast-${props.toast.key.replace(/[^a-zA-Z0-9]/g, "-")}`,
|
|
77
77
|
zIndex: visible.length - index.value,
|
|
78
78
|
...frontHeight ? { "--front-height": `${frontHeight}px` } : null
|
|
79
79
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ButtonProps } from "../button/index.js";
|
|
2
2
|
import type { Timer, ToastQueue } from "./toast-queue.js";
|
|
3
3
|
import type { ToastVariants } from "@ropav/styles";
|
|
4
4
|
import type { Component } from "vue";
|
|
@@ -12,7 +12,7 @@ import type { Component } from "vue";
|
|
|
12
12
|
*/
|
|
13
13
|
export type ToastRenderable = Component | number | string;
|
|
14
14
|
/** The action button offered on a toast added through the imperative API. */
|
|
15
|
-
export interface ToastActionValue extends /* @vue-ignore */
|
|
15
|
+
export interface ToastActionValue extends /* @vue-ignore */ ButtonProps {
|
|
16
16
|
/** What the button says. */
|
|
17
17
|
label?: ToastRenderable;
|
|
18
18
|
/** Called when the button is activated. */
|
|
@@ -130,7 +130,7 @@ export interface ToastDescriptionProps {
|
|
|
130
130
|
export interface ToastCloseButtonProps {
|
|
131
131
|
class?: string;
|
|
132
132
|
}
|
|
133
|
-
export interface ToastActionButtonProps extends
|
|
133
|
+
export interface ToastActionButtonProps extends ButtonProps {
|
|
134
134
|
class?: string;
|
|
135
135
|
}
|
|
136
136
|
/** Renders a title, description, indicator or action label handed in through the queue. */
|
|
@@ -1,68 +1,5 @@
|
|
|
1
1
|
import ToggleButtonRoot from "./toggle-button-root.js";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
slots: {
|
|
5
|
-
default?: (props: import("./toggle-button.types.js").ToggleButtonSlotProps) => unknown;
|
|
6
|
-
};
|
|
7
|
-
emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "click", event: MouseEvent) => void);
|
|
8
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
9
|
-
props: import('vue').PublicProps & {
|
|
10
|
-
class?: string;
|
|
11
|
-
defaultSelected?: boolean;
|
|
12
|
-
id?: import("../../index.js").ToggleGroupKey;
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
isIconOnly?: boolean;
|
|
15
|
-
isSelected?: boolean;
|
|
16
|
-
size?: import("@ropav/styles").ToggleButtonVariants["size"];
|
|
17
|
-
type?: "button" | "reset" | "submit";
|
|
18
|
-
variant?: import("@ropav/styles").ToggleButtonVariants["variant"];
|
|
19
|
-
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
20
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
21
|
-
} & (typeof globalThis extends {
|
|
22
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
23
|
-
} ? P : {});
|
|
24
|
-
expose: (exposed: {}) => void;
|
|
25
|
-
attrs: any;
|
|
26
|
-
slots: {
|
|
27
|
-
default?: (props: import("./toggle-button.types.js").ToggleButtonSlotProps) => unknown;
|
|
28
|
-
};
|
|
29
|
-
emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "click", event: MouseEvent) => void);
|
|
30
|
-
}>) => import('vue').VNode & {
|
|
31
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
32
|
-
}) & {
|
|
33
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
34
|
-
attrs: any;
|
|
35
|
-
slots: {
|
|
36
|
-
default?: (props: import("./toggle-button.types.js").ToggleButtonSlotProps) => unknown;
|
|
37
|
-
};
|
|
38
|
-
emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "click", event: MouseEvent) => void);
|
|
39
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
40
|
-
props: import('vue').PublicProps & {
|
|
41
|
-
class?: string;
|
|
42
|
-
defaultSelected?: boolean;
|
|
43
|
-
id?: import("../../index.js").ToggleGroupKey;
|
|
44
|
-
isDisabled?: boolean;
|
|
45
|
-
isIconOnly?: boolean;
|
|
46
|
-
isSelected?: boolean;
|
|
47
|
-
size?: import("@ropav/styles").ToggleButtonVariants["size"];
|
|
48
|
-
type?: "button" | "reset" | "submit";
|
|
49
|
-
variant?: import("@ropav/styles").ToggleButtonVariants["variant"];
|
|
50
|
-
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
51
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
52
|
-
} & (typeof globalThis extends {
|
|
53
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
54
|
-
} ? P : {});
|
|
55
|
-
expose: (exposed: {}) => void;
|
|
56
|
-
attrs: any;
|
|
57
|
-
slots: {
|
|
58
|
-
default?: (props: import("./toggle-button.types.js").ToggleButtonSlotProps) => unknown;
|
|
59
|
-
};
|
|
60
|
-
emit: ((evt: "change", isSelected: boolean) => void) & ((evt: "click", event: MouseEvent) => void);
|
|
61
|
-
}>) => import('vue').VNode & {
|
|
62
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export { ToggleButtonRoot };
|
|
66
|
-
export type { ToggleButtonRootProps, ToggleButtonRootProps as ToggleButtonProps, ToggleButtonSlotProps, } from "./toggle-button.types.js";
|
|
2
|
+
export { ToggleButtonRoot as ToggleButton };
|
|
3
|
+
export type { ToggleButtonRootProps as ToggleButtonProps, ToggleButtonSlotProps, } from "./toggle-button.types.js";
|
|
67
4
|
export { toggleButtonVariants } from "@ropav/styles";
|
|
68
5
|
export type { ToggleButtonVariants } from "@ropav/styles";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import toggle_button_root_default from "./toggle-button-root.js";
|
|
2
2
|
import { toggleButtonVariants } from "@ropav/styles";
|
|
3
|
-
|
|
4
|
-
var ToggleButton = Object.assign(toggle_button_root_default, { Root: toggle_button_root_default });
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ToggleButton, toggle_button_root_default as ToggleButtonRoot, toggleButtonVariants };
|
|
3
|
+
export { toggle_button_root_default as ToggleButton, toggleButtonVariants };
|
|
@@ -1,87 +1,7 @@
|
|
|
1
1
|
import ToggleButtonGroupRoot from "./toggle-button-group-root.js";
|
|
2
2
|
import ToggleButtonGroupSeparator from "./toggle-button-group-separator.js";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
slots: {
|
|
6
|
-
default?: () => unknown;
|
|
7
|
-
};
|
|
8
|
-
emit: (evt: "selectionChange", keys: Set<import("../../index.js").ToggleGroupKey>) => void;
|
|
9
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
10
|
-
props: import('vue').PublicProps & {
|
|
11
|
-
class?: string;
|
|
12
|
-
defaultSelectedKeys?: Iterable<import("../../index.js").ToggleGroupKey>;
|
|
13
|
-
disallowEmptySelection?: boolean;
|
|
14
|
-
fullWidth?: boolean;
|
|
15
|
-
isDetached?: boolean;
|
|
16
|
-
isDisabled?: boolean;
|
|
17
|
-
orientation?: "horizontal" | "vertical";
|
|
18
|
-
selectedKeys?: Iterable<import("../../index.js").ToggleGroupKey>;
|
|
19
|
-
selectionMode?: import("../../index.js").ToggleGroupSelectionMode;
|
|
20
|
-
size?: import("@ropav/styles").ToggleButtonVariants["size"];
|
|
21
|
-
onSelectionChange?: ((keys: Set<import("../../index.js").ToggleGroupKey>) => any) | undefined;
|
|
22
|
-
} & (typeof globalThis extends {
|
|
23
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
24
|
-
} ? P : {});
|
|
25
|
-
expose: (exposed: {}) => void;
|
|
26
|
-
attrs: any;
|
|
27
|
-
slots: {
|
|
28
|
-
default?: () => unknown;
|
|
29
|
-
};
|
|
30
|
-
emit: (evt: "selectionChange", keys: Set<import("../../index.js").ToggleGroupKey>) => void;
|
|
31
|
-
}>) => import('vue').VNode & {
|
|
32
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
33
|
-
}) & {
|
|
34
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
35
|
-
attrs: any;
|
|
36
|
-
slots: {
|
|
37
|
-
default?: () => unknown;
|
|
38
|
-
};
|
|
39
|
-
emit: (evt: "selectionChange", keys: Set<import("../../index.js").ToggleGroupKey>) => void;
|
|
40
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
41
|
-
props: import('vue').PublicProps & {
|
|
42
|
-
class?: string;
|
|
43
|
-
defaultSelectedKeys?: Iterable<import("../../index.js").ToggleGroupKey>;
|
|
44
|
-
disallowEmptySelection?: boolean;
|
|
45
|
-
fullWidth?: boolean;
|
|
46
|
-
isDetached?: boolean;
|
|
47
|
-
isDisabled?: boolean;
|
|
48
|
-
orientation?: "horizontal" | "vertical";
|
|
49
|
-
selectedKeys?: Iterable<import("../../index.js").ToggleGroupKey>;
|
|
50
|
-
selectionMode?: import("../../index.js").ToggleGroupSelectionMode;
|
|
51
|
-
size?: import("@ropav/styles").ToggleButtonVariants["size"];
|
|
52
|
-
onSelectionChange?: ((keys: Set<import("../../index.js").ToggleGroupKey>) => any) | undefined;
|
|
53
|
-
} & (typeof globalThis extends {
|
|
54
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
55
|
-
} ? P : {});
|
|
56
|
-
expose: (exposed: {}) => void;
|
|
57
|
-
attrs: any;
|
|
58
|
-
slots: {
|
|
59
|
-
default?: () => unknown;
|
|
60
|
-
};
|
|
61
|
-
emit: (evt: "selectionChange", keys: Set<import("../../index.js").ToggleGroupKey>) => void;
|
|
62
|
-
}>) => import('vue').VNode & {
|
|
63
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
64
|
-
};
|
|
65
|
-
Separator: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
66
|
-
attrs: any;
|
|
67
|
-
slots: {};
|
|
68
|
-
emit: {};
|
|
69
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
70
|
-
props: import('vue').PublicProps & {
|
|
71
|
-
class?: string;
|
|
72
|
-
} & (typeof globalThis extends {
|
|
73
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
74
|
-
} ? P : {});
|
|
75
|
-
expose: (exposed: {}) => void;
|
|
76
|
-
attrs: any;
|
|
77
|
-
slots: {};
|
|
78
|
-
emit: {};
|
|
79
|
-
}>) => import('vue').VNode & {
|
|
80
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
export { ToggleButtonGroupRoot, ToggleButtonGroupSeparator };
|
|
84
|
-
export type { ToggleButtonGroupRootProps, ToggleButtonGroupRootProps as ToggleButtonGroupProps, ToggleButtonGroupSeparatorProps, } from "./toggle-button-group.types.js";
|
|
3
|
+
export { ToggleButtonGroupRoot as ToggleButtonGroup, ToggleButtonGroupSeparator };
|
|
4
|
+
export type { ToggleButtonGroupRootProps as ToggleButtonGroupProps, ToggleButtonGroupSeparatorProps, } from "./toggle-button-group.types.js";
|
|
85
5
|
export { useToggleButtonGroupContext } from "./toggle-button-group.context.js";
|
|
86
6
|
export type { ToggleButtonGroupContext } from "./toggle-button-group.context.js";
|
|
87
7
|
export { toggleButtonGroupVariants } from "@ropav/styles";
|
|
@@ -2,10 +2,4 @@ import { useToggleButtonGroupContext } from "./toggle-button-group.context.js";
|
|
|
2
2
|
import toggle_button_group_root_default from "./toggle-button-group-root.js";
|
|
3
3
|
import toggle_button_group_separator_default from "./toggle-button-group-separator.js";
|
|
4
4
|
import { toggleButtonGroupVariants } from "@ropav/styles";
|
|
5
|
-
|
|
6
|
-
var ToggleButtonGroup = Object.assign(toggle_button_group_root_default, {
|
|
7
|
-
Root: toggle_button_group_root_default,
|
|
8
|
-
Separator: toggle_button_group_separator_default
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
export { ToggleButtonGroup, toggle_button_group_root_default as ToggleButtonGroupRoot, toggle_button_group_separator_default as ToggleButtonGroupSeparator, toggleButtonGroupVariants, useToggleButtonGroupContext };
|
|
5
|
+
export { toggle_button_group_root_default as ToggleButtonGroup, toggle_button_group_separator_default as ToggleButtonGroupSeparator, toggleButtonGroupVariants, useToggleButtonGroupContext };
|
|
@@ -1,53 +1,6 @@
|
|
|
1
1
|
import ToolbarRoot from "./toolbar-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
|
-
isAttached?: boolean;
|
|
12
|
-
orientation?: import("./index.js").ToolbarOrientation;
|
|
13
|
-
} & (typeof globalThis extends {
|
|
14
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
15
|
-
} ? P : {});
|
|
16
|
-
expose: (exposed: {}) => void;
|
|
17
|
-
attrs: any;
|
|
18
|
-
slots: {
|
|
19
|
-
default?: () => unknown;
|
|
20
|
-
};
|
|
21
|
-
emit: {};
|
|
22
|
-
}>) => import('vue').VNode & {
|
|
23
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
24
|
-
}) & {
|
|
25
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
26
|
-
attrs: any;
|
|
27
|
-
slots: {
|
|
28
|
-
default?: () => unknown;
|
|
29
|
-
};
|
|
30
|
-
emit: {};
|
|
31
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
32
|
-
props: import('vue').PublicProps & {
|
|
33
|
-
class?: string;
|
|
34
|
-
isAttached?: boolean;
|
|
35
|
-
orientation?: import("./index.js").ToolbarOrientation;
|
|
36
|
-
} & (typeof globalThis extends {
|
|
37
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
38
|
-
} ? P : {});
|
|
39
|
-
expose: (exposed: {}) => void;
|
|
40
|
-
attrs: any;
|
|
41
|
-
slots: {
|
|
42
|
-
default?: () => unknown;
|
|
43
|
-
};
|
|
44
|
-
emit: {};
|
|
45
|
-
}>) => import('vue').VNode & {
|
|
46
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export { ToolbarRoot };
|
|
50
|
-
export type { ToolbarRootProps, ToolbarRootProps as ToolbarProps } from "./toolbar.types.js";
|
|
2
|
+
export { ToolbarRoot as Toolbar };
|
|
3
|
+
export type { ToolbarRootProps as ToolbarProps } from "./toolbar.types.js";
|
|
51
4
|
export { useToolbarContext } from "./toolbar.context.js";
|
|
52
5
|
export type { ToolbarContext } from "./toolbar.context.js";
|
|
53
6
|
export type { ToolbarOrientation } from "../../composables/use-toolbar.js";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { useToolbarContext } from "./toolbar.context.js";
|
|
2
2
|
import toolbar_root_default from "./toolbar-root.js";
|
|
3
3
|
import { toolbarVariants } from "@ropav/styles";
|
|
4
|
-
|
|
5
|
-
var Toolbar = Object.assign(toolbar_root_default, { Root: toolbar_root_default });
|
|
6
|
-
//#endregion
|
|
7
|
-
export { Toolbar, toolbar_root_default as ToolbarRoot, toolbarVariants, useToolbarContext };
|
|
4
|
+
export { toolbar_root_default as Toolbar, toolbarVariants, useToolbarContext };
|
|
@@ -2,142 +2,8 @@ import TooltipArrow from "./tooltip-arrow.js";
|
|
|
2
2
|
import TooltipContent from "./tooltip-content.js";
|
|
3
3
|
import TooltipRoot from "./tooltip-root.js";
|
|
4
4
|
import TooltipTrigger from "./tooltip-trigger.js";
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
slots: {
|
|
8
|
-
default?: () => unknown;
|
|
9
|
-
};
|
|
10
|
-
emit: ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:isOpen", isOpen: boolean) => void);
|
|
11
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
12
|
-
props: import('vue').PublicProps & {
|
|
13
|
-
isOpen?: boolean;
|
|
14
|
-
defaultOpen?: boolean;
|
|
15
|
-
isDisabled?: boolean;
|
|
16
|
-
delay?: number;
|
|
17
|
-
closeDelay?: number;
|
|
18
|
-
trigger?: "hover" | "focus";
|
|
19
|
-
shouldCloseOnPress?: boolean;
|
|
20
|
-
shouldSkipAnimation?: boolean;
|
|
21
|
-
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
22
|
-
"onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
|
|
23
|
-
} & (typeof globalThis extends {
|
|
24
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
25
|
-
} ? P : {});
|
|
26
|
-
expose: (exposed: {}) => void;
|
|
27
|
-
attrs: any;
|
|
28
|
-
slots: {
|
|
29
|
-
default?: () => unknown;
|
|
30
|
-
};
|
|
31
|
-
emit: ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:isOpen", isOpen: boolean) => void);
|
|
32
|
-
}>) => import('vue').VNode & {
|
|
33
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
34
|
-
}) & {
|
|
35
|
-
Arrow: (__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
|
-
} & (typeof globalThis extends {
|
|
45
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
46
|
-
} ? P : {});
|
|
47
|
-
expose: (exposed: {}) => void;
|
|
48
|
-
attrs: any;
|
|
49
|
-
slots: {
|
|
50
|
-
default?: () => unknown;
|
|
51
|
-
};
|
|
52
|
-
emit: {};
|
|
53
|
-
}>) => import('vue').VNode & {
|
|
54
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
55
|
-
};
|
|
56
|
-
Content: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
57
|
-
attrs: any;
|
|
58
|
-
slots: {
|
|
59
|
-
default?: () => unknown;
|
|
60
|
-
};
|
|
61
|
-
emit: {};
|
|
62
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
63
|
-
props: import('vue').PublicProps & {
|
|
64
|
-
class?: string;
|
|
65
|
-
placement?: import("../../index.js").Placement;
|
|
66
|
-
offset?: number;
|
|
67
|
-
crossOffset?: number;
|
|
68
|
-
shouldFlip?: boolean;
|
|
69
|
-
containerPadding?: number;
|
|
70
|
-
arrowBoundaryOffset?: number;
|
|
71
|
-
showArrow?: boolean;
|
|
72
|
-
portalContainer?: string | HTMLElement;
|
|
73
|
-
isEntering?: boolean;
|
|
74
|
-
isExiting?: boolean;
|
|
75
|
-
} & (typeof globalThis extends {
|
|
76
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
77
|
-
} ? P : {});
|
|
78
|
-
expose: (exposed: {}) => void;
|
|
79
|
-
attrs: any;
|
|
80
|
-
slots: {
|
|
81
|
-
default?: () => unknown;
|
|
82
|
-
};
|
|
83
|
-
emit: {};
|
|
84
|
-
}>) => import('vue').VNode & {
|
|
85
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
86
|
-
};
|
|
87
|
-
Root: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
88
|
-
attrs: any;
|
|
89
|
-
slots: {
|
|
90
|
-
default?: () => unknown;
|
|
91
|
-
};
|
|
92
|
-
emit: ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:isOpen", isOpen: boolean) => void);
|
|
93
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
94
|
-
props: import('vue').PublicProps & {
|
|
95
|
-
isOpen?: boolean;
|
|
96
|
-
defaultOpen?: boolean;
|
|
97
|
-
isDisabled?: boolean;
|
|
98
|
-
delay?: number;
|
|
99
|
-
closeDelay?: number;
|
|
100
|
-
trigger?: "hover" | "focus";
|
|
101
|
-
shouldCloseOnPress?: boolean;
|
|
102
|
-
shouldSkipAnimation?: boolean;
|
|
103
|
-
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
104
|
-
"onUpdate:isOpen"?: ((isOpen: boolean) => any) | undefined;
|
|
105
|
-
} & (typeof globalThis extends {
|
|
106
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
107
|
-
} ? P : {});
|
|
108
|
-
expose: (exposed: {}) => void;
|
|
109
|
-
attrs: any;
|
|
110
|
-
slots: {
|
|
111
|
-
default?: () => unknown;
|
|
112
|
-
};
|
|
113
|
-
emit: ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:isOpen", isOpen: boolean) => void);
|
|
114
|
-
}>) => import('vue').VNode & {
|
|
115
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
116
|
-
};
|
|
117
|
-
Trigger: (__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>['props'], __VLS_ctx?: {
|
|
118
|
-
attrs: any;
|
|
119
|
-
slots: {
|
|
120
|
-
default?: () => unknown;
|
|
121
|
-
};
|
|
122
|
-
emit: {};
|
|
123
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>['expose'], __VLS_setup?: Promise<{
|
|
124
|
-
props: import('vue').PublicProps & {
|
|
125
|
-
class?: string;
|
|
126
|
-
} & (typeof globalThis extends {
|
|
127
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
128
|
-
} ? P : {});
|
|
129
|
-
expose: (exposed: {}) => void;
|
|
130
|
-
attrs: any;
|
|
131
|
-
slots: {
|
|
132
|
-
default?: () => unknown;
|
|
133
|
-
};
|
|
134
|
-
emit: {};
|
|
135
|
-
}>) => import('vue').VNode & {
|
|
136
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
export { TooltipArrow, TooltipContent, TooltipRoot, TooltipTrigger };
|
|
140
|
-
export type { TooltipArrowProps, TooltipContentProps, TooltipRootEmits, TooltipRootProps, TooltipRootProps as TooltipProps, TooltipTriggerProps, } from "./tooltip.types.js";
|
|
5
|
+
export { TooltipArrow, TooltipContent, TooltipRoot as Tooltip, TooltipTrigger };
|
|
6
|
+
export type { TooltipArrowProps, TooltipContentProps, TooltipRootEmits as TooltipEmits, TooltipRootProps as TooltipProps, TooltipTriggerProps, } from "./tooltip.types.js";
|
|
141
7
|
export { useTooltipContext } from "./tooltip.context.js";
|
|
142
8
|
export type { TooltipContext } from "./tooltip.context.js";
|
|
143
9
|
export { tooltipVariants } from "@ropav/styles";
|
|
@@ -4,12 +4,4 @@ import tooltip_root_default from "./tooltip-root.js";
|
|
|
4
4
|
import tooltip_trigger_default from "./tooltip-trigger.js";
|
|
5
5
|
import tooltip_arrow_default from "./tooltip-arrow.js";
|
|
6
6
|
import { tooltipVariants } from "@ropav/styles";
|
|
7
|
-
|
|
8
|
-
var Tooltip = Object.assign(tooltip_root_default, {
|
|
9
|
-
Arrow: tooltip_arrow_default,
|
|
10
|
-
Content: tooltip_content_default,
|
|
11
|
-
Root: tooltip_root_default,
|
|
12
|
-
Trigger: tooltip_trigger_default
|
|
13
|
-
});
|
|
14
|
-
//#endregion
|
|
15
|
-
export { Tooltip, tooltip_arrow_default as TooltipArrow, tooltip_content_default as TooltipContent, tooltip_root_default as TooltipRoot, tooltip_trigger_default as TooltipTrigger, tooltipVariants, useTooltipContext };
|
|
7
|
+
export { tooltip_root_default as Tooltip, tooltip_arrow_default as TooltipArrow, tooltip_content_default as TooltipContent, tooltip_trigger_default as TooltipTrigger, tooltipVariants, useTooltipContext };
|
|
@@ -13,8 +13,8 @@ var tooltip_arrow_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__
|
|
|
13
13
|
}, extend(() => {
|
|
14
14
|
return createSlot("default", null, () => {
|
|
15
15
|
return createComponent(unref(icon_overlay_arrow_default), { "data-slot": "overlay-arrow" });
|
|
16
|
-
},
|
|
17
|
-
}, { _:
|
|
16
|
+
}, 4);
|
|
17
|
+
}, { _: 1 }), true);
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
@@ -59,7 +59,7 @@ var tooltip_root_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__P
|
|
|
59
59
|
/**
|
|
60
60
|
* The trigger is whatever focusable sits inside, which is why the behaviour is handed down.
|
|
61
61
|
*
|
|
62
|
-
* `<Tooltip><Button/></Tooltip>` is the common case, and `
|
|
62
|
+
* `<Tooltip><Button/></Tooltip>` is the common case, and `TooltipTrigger` exists for markup that
|
|
63
63
|
* is not focusable on its own. Deliberately a different channel from the press responder: a button
|
|
64
64
|
* inside a dropdown already takes its press from above, and a tooltip around it has to add to that
|
|
65
65
|
* rather than replace it.
|
|
@@ -58,7 +58,7 @@ export interface TooltipContentProps {
|
|
|
58
58
|
/**
|
|
59
59
|
* Whether the tooltip leaves room for an arrow.
|
|
60
60
|
*
|
|
61
|
-
* Only the offset: the arrow itself is rendered by `
|
|
61
|
+
* Only the offset: the arrow itself is rendered by `TooltipArrow`, so setting this without one
|
|
62
62
|
* simply spaces the tooltip further from its trigger.
|
|
63
63
|
*
|
|
64
64
|
* @default false
|
|
@@ -22,8 +22,8 @@ var code_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__PURE__*/
|
|
|
22
22
|
type: "code",
|
|
23
23
|
weight: () => props.weight
|
|
24
24
|
}, extend(() => {
|
|
25
|
-
return createSlot("default", null, null,
|
|
26
|
-
}, { _:
|
|
25
|
+
return createSlot("default", null, null, 4);
|
|
26
|
+
}, { _: 1 }), true);
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
@@ -24,8 +24,8 @@ var heading_vue_vue_type_script_setup_true_vapor_true_lang_default = /*@__PURE__
|
|
|
24
24
|
type: () => type.value,
|
|
25
25
|
weight: () => props.weight
|
|
26
26
|
}, extend(() => {
|
|
27
|
-
return createSlot("default", null, null,
|
|
28
|
-
}, { _:
|
|
27
|
+
return createSlot("default", null, null, 4);
|
|
28
|
+
}, { _: 1 }), true);
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|