@plexui/vue 0.22.0 → 0.24.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/dist/es/components/Alert/Alert.js +16 -4
- package/dist/es/components/Alert/Alert.js.map +1 -1
- package/dist/es/components/ColorPicker/ColorPicker.js +13 -9
- package/dist/es/components/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/es/components/ColorPicker/ColorWell.js +5 -3
- package/dist/es/components/ColorPicker/ColorWell.js.map +1 -1
- package/dist/es/components/ColorPicker/shared.js +5 -4
- package/dist/es/components/ColorPicker/shared.js.map +1 -1
- package/dist/es/components/ContextMenu/ContextMenu.js +9 -9
- package/dist/es/components/ContextMenu/ContextMenu.js.map +1 -1
- package/dist/es/components/ContextMenu/shared.js +25 -5
- package/dist/es/components/ContextMenu/shared.js.map +1 -1
- package/dist/es/components/DatePicker/CalendarNavigationIcon.js +8 -15
- package/dist/es/components/DatePicker/CalendarNavigationIcon.js.map +1 -1
- package/dist/es/components/DatePicker/DatePicker.js +3 -3
- package/dist/es/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/es/components/DatePicker/useCalendarCollisionPadding.js +25 -0
- package/dist/es/components/DatePicker/useCalendarCollisionPadding.js.map +1 -0
- package/dist/es/components/DateRangePicker/DateRangePicker.js +3 -3
- package/dist/es/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/dist/es/components/Dialog/Dialog.js +75 -24
- package/dist/es/components/Dialog/Dialog.js.map +1 -1
- package/dist/es/components/Dialog/index.js.map +1 -1
- package/dist/es/components/Dialog/sheetDrag.js +3 -1
- package/dist/es/components/Dialog/sheetDrag.js.map +1 -1
- package/dist/es/components/Icon/svg/FilterBadge.js +1 -1
- package/dist/es/components/Icon/svg/FilterBadge.js.map +1 -1
- package/dist/es/components/Input/Input.js +3 -0
- package/dist/es/components/Input/Input.js.map +1 -1
- package/dist/es/components/Menu/Menu.js +10 -1
- package/dist/es/components/Menu/Menu.js.map +1 -1
- package/dist/es/components/PhoneLayout/PhoneLayout.js +9 -1
- package/dist/es/components/PhoneLayout/PhoneLayout.js.map +1 -1
- package/dist/es/components/Popover/Popover.js +2 -2
- package/dist/es/components/Popover/Popover.js.map +1 -1
- package/dist/es/components/ProgressSteps/ProgressSteps.js +7 -3
- package/dist/es/components/ProgressSteps/ProgressSteps.js.map +1 -1
- package/dist/es/components/ProgressSteps/index.js.map +1 -1
- package/dist/es/components/Select/Select.js +178 -32
- package/dist/es/components/Select/Select.js.map +1 -1
- package/dist/es/components/SelectControl/SelectControl.js +3 -1
- package/dist/es/components/SelectControl/SelectControl.js.map +1 -1
- package/dist/es/components/Slider/Slider.js +24 -11
- package/dist/es/components/Slider/Slider.js.map +1 -1
- package/dist/es/components/Slider/sliderPrimitive.js +5 -2
- package/dist/es/components/Slider/sliderPrimitive.js.map +1 -1
- package/dist/es/components/Sortable/Sortable.js +1 -1
- package/dist/es/components/Sortable/Sortable.js.map +1 -1
- package/dist/es/components/StatCard/index.js +4 -1
- package/dist/es/components/StatCard/index.js.map +1 -1
- package/dist/es/components/{StatCard/StatCard.js → StatsCard/StatsCard.js} +32 -27
- package/dist/es/components/StatsCard/StatsCard.js.map +1 -0
- package/dist/es/components/StatsCard/index.js +2 -0
- package/dist/es/components/StatsCard/index.js.map +1 -0
- package/dist/es/components/SwipeActions/SwipeActions.js +32 -5
- package/dist/es/components/SwipeActions/SwipeActions.js.map +1 -1
- package/dist/es/components/TabBar/TabBar.js +52 -21
- package/dist/es/components/TabBar/TabBar.js.map +1 -1
- package/dist/es/components/Tabs/Tabs.js +229 -6
- package/dist/es/components/Tabs/Tabs.js.map +1 -1
- package/dist/es/components/Toast/index.js.map +1 -1
- package/dist/es/components/Toast/toast.js +3 -1
- package/dist/es/components/Toast/toast.js.map +1 -1
- package/dist/es/components/Toolbar/Toolbar.js.map +1 -1
- package/dist/es/lib/menuTriggerCover.js +40 -3
- package/dist/es/lib/menuTriggerCover.js.map +1 -1
- package/dist/types/components/ColorPicker/ColorPicker.d.ts +3 -2
- package/dist/types/components/ColorPicker/shared.d.ts +5 -4
- package/dist/types/components/ContextMenu/shared.d.ts +28 -6
- package/dist/types/components/DatePicker/useCalendarCollisionPadding.d.ts +9 -0
- package/dist/types/components/Dialog/Dialog.d.ts +56 -14
- package/dist/types/components/Dialog/index.d.ts +1 -1
- package/dist/types/components/Dialog/sheetDrag.d.ts +2 -1
- package/dist/types/components/PhoneLayout/PhoneLayout.d.ts +5 -0
- package/dist/types/components/Popover/Popover.d.ts +5 -5
- package/dist/types/components/ProgressSteps/ProgressSteps.d.ts +17 -3
- package/dist/types/components/ProgressSteps/index.d.ts +1 -1
- package/dist/types/components/Select/Select.d.ts +19 -8
- package/dist/types/components/StatCard/index.d.ts +9 -1
- package/dist/types/components/{StatCard/StatCard.d.ts → StatsCard/StatsCard.d.ts} +19 -19
- package/dist/types/components/StatsCard/index.d.ts +1 -0
- package/dist/types/components/SwipeActions/SwipeActions.d.ts +6 -6
- package/dist/types/components/TabBar/TabBar.d.ts +34 -0
- package/dist/types/components/Tabs/Tabs.d.ts +33 -2
- package/dist/types/components/Toast/index.d.ts +1 -1
- package/dist/types/components/Toast/toast.d.ts +11 -2
- package/dist/types/components/Toolbar/Toolbar.d.ts +1 -1
- package/dist/types/lib/menuTriggerCover.d.ts +16 -2
- package/package.json +2 -2
- package/dist/es/components/DatePicker/useCalendarGutter.js +0 -14
- package/dist/es/components/DatePicker/useCalendarGutter.js.map +0 -1
- package/dist/es/components/StatCard/StatCard.js.map +0 -1
- package/dist/types/components/DatePicker/useCalendarGutter.d.ts +0 -2
|
@@ -120,8 +120,9 @@ declare const ColorPickerComponent: import("vue").DefineComponent<import("vue").
|
|
|
120
120
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
121
121
|
export type ColorPickerProps = InstanceType<typeof ColorPickerComponent>["$props"];
|
|
122
122
|
/**
|
|
123
|
-
* The system color picker of iOS 26
|
|
124
|
-
* slider, and the saved colors with Add. Show it inside a Popover or
|
|
123
|
+
* The system color picker of iOS 27.2 (UIColorPickerViewController, after the iOS 26 kit's Color Picker - iPhone
|
|
124
|
+
* 0:5275): Grid, Spectrum and Sliders, the Opacity slider, and the saved colors with Add. Show it inside a Popover or
|
|
125
|
+
* a Sheet, or use `ColorWell`, which does.
|
|
125
126
|
*/
|
|
126
127
|
export declare const ColorPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
127
128
|
/** The `id` of the picker. */
|
|
@@ -14,9 +14,10 @@ export declare const COLOR_PICKER_MODES: readonly {
|
|
|
14
14
|
/** The kit's Color Grid (515:48178): a row of grays, then nine rows from dark to light, twelve hues across. */
|
|
15
15
|
export declare const COLOR_PICKER_GRID: readonly (readonly string[])[];
|
|
16
16
|
export declare const COLOR_PICKER_GRID_COLUMNS = 12;
|
|
17
|
-
/** Saved colors fill pages of two rows of
|
|
18
|
-
|
|
19
|
-
export declare const
|
|
17
|
+
/** Saved colors fill pages of two rows of six, with the Add button after the last one, as iOS 27.2's picker lays them
|
|
18
|
+
* out (UIColorPickerViewController on an iPhone 17; the iOS 26 kit's Swatches 515:52724 had rows of five). */
|
|
19
|
+
export declare const COLOR_PICKER_SWATCHES_PER_PAGE = 12;
|
|
20
|
+
export declare const COLOR_PICKER_SWATCHES_PER_ROW = 6;
|
|
20
21
|
/** Reads `#rgb`, `#rgba`, `#rrggbb` or `#rrggbbaa`, in either case; anything else is `null`. */
|
|
21
22
|
export declare function parseColor(input: string | null | undefined): Rgba | null;
|
|
22
23
|
/** `#rrggbb`, or `#rrggbbaa` when the color is not opaque. */
|
|
@@ -35,7 +36,7 @@ export declare const gridColor: (index: number) => string;
|
|
|
35
36
|
export declare function gridMove(index: number, key: string): number;
|
|
36
37
|
/** The item a key moves to in a list of `count` items (saved colors), or `index` itself. */
|
|
37
38
|
export declare function listMove(index: number, count: number, key: string): number;
|
|
38
|
-
/** Pages of saved colors: the colors and the Add button after them,
|
|
39
|
+
/** Pages of saved colors: the colors and the Add button after them, twelve to a page. */
|
|
39
40
|
export declare const swatchPageCount: (count: number) => number;
|
|
40
41
|
/**
|
|
41
42
|
* A point of the spectrum: hue from top to bottom, and from white at the leading edge through the full hue at the
|
|
@@ -10,7 +10,8 @@ type Rect = {
|
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Where the menu opens: at the pointer, under the element for the keyboard, or beside a touch-and-hold preview. A
|
|
13
|
-
* preview's `rect` is where it stands
|
|
13
|
+
* preview's `rect` is where it stands; once the menu is measured, `side` is the side of the preview it opens on and
|
|
14
|
+
* `shift` how far the preview moved up so that the menu stands whole below it.
|
|
14
15
|
*/
|
|
15
16
|
export type ContextMenuPresentation = {
|
|
16
17
|
kind: "pointer";
|
|
@@ -22,18 +23,23 @@ export type ContextMenuPresentation = {
|
|
|
22
23
|
kind: "preview";
|
|
23
24
|
rect: Rect;
|
|
24
25
|
radius: number;
|
|
25
|
-
align: "start" | "end";
|
|
26
|
+
align: "start" | "center" | "end";
|
|
27
|
+
side?: "top" | "bottom";
|
|
26
28
|
shift?: number;
|
|
27
29
|
};
|
|
28
30
|
/**
|
|
29
31
|
* The preview of a touch and hold: the element's box and corner (its own, or `--context-menu-preview-radius`), and
|
|
30
|
-
*
|
|
32
|
+
* where the menu keeps to across it, as iOS 27.2 places it by where the element stands on the screen, wherever the
|
|
33
|
+
* touch (ref-app menus-context, block 8): in the leading third its leading edge, in the trailing third its trailing
|
|
34
|
+
* edge, else its centre (a full-width row, a tile in the middle). The kit draws only Side=Leading and Side=Trailing.
|
|
35
|
+
* The screen is a PhoneLayout's box when the element is in one (a phone Dialog's scope has no box: the window is its
|
|
36
|
+
* screen), as for a menu that covers its trigger (menuTriggerCover.ts).
|
|
31
37
|
*/
|
|
32
|
-
export declare function contextMenuPreview(element: HTMLElement
|
|
38
|
+
export declare function contextMenuPreview(element: HTMLElement): ContextMenuPresentation;
|
|
33
39
|
/** The menu's side, alignment and offsets for a presentation. */
|
|
34
40
|
export declare function contextMenuPlacement(presentation: ContextMenuPresentation | null): {
|
|
35
|
-
side: "bottom";
|
|
36
|
-
align: "end" | "start";
|
|
41
|
+
side: "bottom" | "top";
|
|
42
|
+
align: "center" | "end" | "start";
|
|
37
43
|
sideOffset: number;
|
|
38
44
|
alignOffset: number;
|
|
39
45
|
};
|
|
@@ -63,6 +69,22 @@ export declare function contextMenuPreviewShift(rect: Rect, height: number, room
|
|
|
63
69
|
top: number;
|
|
64
70
|
bottom: number;
|
|
65
71
|
}, ceiling?: number, scale?: number): number;
|
|
72
|
+
/**
|
|
73
|
+
* The side a preview's menu opens on, and how far the preview moves up for it: above, unmoved, when the preview stands
|
|
74
|
+
* in the lower half of the room and the menu stands whole above it, as iOS 27.2 opens a menu toward the larger room
|
|
75
|
+
* (ref-app menus-context-small, block 8: a tile low on the screen opens its menu above, with room below too); else
|
|
76
|
+
* below, the preview moved up as `contextMenuPreviewShift` says.
|
|
77
|
+
*/
|
|
78
|
+
export declare function contextMenuPreviewLayout(rect: Rect, height: number, room: {
|
|
79
|
+
top: number;
|
|
80
|
+
bottom: number;
|
|
81
|
+
}, ceiling?: number, scale?: number): {
|
|
82
|
+
side: "top";
|
|
83
|
+
shift: number;
|
|
84
|
+
} | {
|
|
85
|
+
side: "bottom";
|
|
86
|
+
shift: number;
|
|
87
|
+
};
|
|
66
88
|
/** The top of the nearest box that clips the element: moved above it, the element would not be seen. */
|
|
67
89
|
export declare function contextMenuClipTop(element: HTMLElement): number;
|
|
68
90
|
/** A menu's height without the limit of the room it is given: the panel, and what its items scroll out of sight. */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ComputedRef } from "vue";
|
|
2
|
+
export type CalendarCollisionPadding = {
|
|
3
|
+
top: number;
|
|
4
|
+
right: number;
|
|
5
|
+
bottom: number;
|
|
6
|
+
left: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const calendarCollisionPadding: (width: number) => CalendarCollisionPadding;
|
|
9
|
+
export declare const useCalendarCollisionPadding: () => ComputedRef<CalendarCollisionPadding>;
|
|
@@ -51,9 +51,16 @@ export declare const DialogContent: import("vue").DefineComponent<import("vue").
|
|
|
51
51
|
type: PropType<DialogPlacement>;
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Where a phone sheet stands at 767px and below: `bottom`, or `fullscreen` for the whole screen. `center` is the
|
|
56
|
+
* alert's place: without `mobileVariant` it makes the dialog an alert. @default "fullscreen" for a fullscreen
|
|
57
|
+
* dialog, else "bottom"
|
|
58
|
+
*/
|
|
55
59
|
mobilePlacement: PropType<Extract<DialogPlacement, "center" | "bottom" | "fullscreen">>;
|
|
56
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* The iOS presentation at 767px and below. A phone has two modal views: the sheet, which iOS gives any view it
|
|
62
|
+
* presents, and the alert, a short question with its answers (UIAlertController). @default "sheet"
|
|
63
|
+
*/
|
|
57
64
|
mobileVariant: PropType<"alert" | "sheet">;
|
|
58
65
|
/** Mobile panel palette; dark mode uses elevated surfaces. @default "plain" */
|
|
59
66
|
surface: {
|
|
@@ -70,8 +77,9 @@ export declare const DialogContent: import("vue").DefineComponent<import("vue").
|
|
|
70
77
|
*/
|
|
71
78
|
onEscapeKeyDown: PropType<(event: KeyboardEvent) => void>;
|
|
72
79
|
/**
|
|
73
|
-
* Called on a press or a focus outside the dialog
|
|
74
|
-
* as for a
|
|
80
|
+
* Called on a press or a focus outside the dialog, and on a phone sheet pulled down to close, before it closes;
|
|
81
|
+
* `event.preventDefault()` keeps it open, such as for a form with unsaved changes (the sheet then returns, as an
|
|
82
|
+
* iOS sheet does under `isModalInPresentation`), or for a press on a developer panel over the page.
|
|
75
83
|
*/
|
|
76
84
|
onInteractOutside: PropType<(event: DialogInteractOutsideEvent) => void>;
|
|
77
85
|
/** Stack order of the overlay and the dialog. @default 50 */
|
|
@@ -115,9 +123,16 @@ export declare const DialogContent: import("vue").DefineComponent<import("vue").
|
|
|
115
123
|
type: PropType<DialogPlacement>;
|
|
116
124
|
default: string;
|
|
117
125
|
};
|
|
118
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* Where a phone sheet stands at 767px and below: `bottom`, or `fullscreen` for the whole screen. `center` is the
|
|
128
|
+
* alert's place: without `mobileVariant` it makes the dialog an alert. @default "fullscreen" for a fullscreen
|
|
129
|
+
* dialog, else "bottom"
|
|
130
|
+
*/
|
|
119
131
|
mobilePlacement: PropType<Extract<DialogPlacement, "center" | "bottom" | "fullscreen">>;
|
|
120
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* The iOS presentation at 767px and below. A phone has two modal views: the sheet, which iOS gives any view it
|
|
134
|
+
* presents, and the alert, a short question with its answers (UIAlertController). @default "sheet"
|
|
135
|
+
*/
|
|
121
136
|
mobileVariant: PropType<"alert" | "sheet">;
|
|
122
137
|
/** Mobile panel palette; dark mode uses elevated surfaces. @default "plain" */
|
|
123
138
|
surface: {
|
|
@@ -134,8 +149,9 @@ export declare const DialogContent: import("vue").DefineComponent<import("vue").
|
|
|
134
149
|
*/
|
|
135
150
|
onEscapeKeyDown: PropType<(event: KeyboardEvent) => void>;
|
|
136
151
|
/**
|
|
137
|
-
* Called on a press or a focus outside the dialog
|
|
138
|
-
* as for a
|
|
152
|
+
* Called on a press or a focus outside the dialog, and on a phone sheet pulled down to close, before it closes;
|
|
153
|
+
* `event.preventDefault()` keeps it open, such as for a form with unsaved changes (the sheet then returns, as an
|
|
154
|
+
* iOS sheet does under `isModalInPresentation`), or for a press on a developer panel over the page.
|
|
139
155
|
*/
|
|
140
156
|
onInteractOutside: PropType<(event: DialogInteractOutsideEvent) => void>;
|
|
141
157
|
/** Stack order of the overlay and the dialog. @default 50 */
|
|
@@ -178,9 +194,31 @@ export declare const DialogHeader: import("vue").DefineComponent<import("vue").E
|
|
|
178
194
|
}>> & Readonly<{}>, {
|
|
179
195
|
background: BarBackground;
|
|
180
196
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
181
|
-
export declare const DialogHeaderAction: import("vue").DefineComponent<
|
|
197
|
+
export declare const DialogHeaderAction: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
198
|
+
/**
|
|
199
|
+
* `leading` puts the action before the title, such as the Back of a step in `DialogSteps`: on a phone Sheet it
|
|
200
|
+
* takes the place of Close, as the back button of a screen pushed inside an iOS sheet does.
|
|
201
|
+
* @default "trailing"
|
|
202
|
+
*/
|
|
203
|
+
side: {
|
|
204
|
+
type: PropType<"leading" | "trailing">;
|
|
205
|
+
default: string;
|
|
206
|
+
};
|
|
207
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
182
208
|
[key: string]: any;
|
|
183
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
209
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
210
|
+
/**
|
|
211
|
+
* `leading` puts the action before the title, such as the Back of a step in `DialogSteps`: on a phone Sheet it
|
|
212
|
+
* takes the place of Close, as the back button of a screen pushed inside an iOS sheet does.
|
|
213
|
+
* @default "trailing"
|
|
214
|
+
*/
|
|
215
|
+
side: {
|
|
216
|
+
type: PropType<"leading" | "trailing">;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
}>> & Readonly<{}>, {
|
|
220
|
+
side: "leading" | "trailing";
|
|
221
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
184
222
|
/** The scrolling part between DialogHeader and DialogFooter: with it, only the body scrolls. */
|
|
185
223
|
export declare const DialogBody: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
186
224
|
[key: string]: any;
|
|
@@ -194,7 +232,7 @@ export declare const DialogDescriptionSlot: import("vue").DefineComponent<{}, ()
|
|
|
194
232
|
[key: string]: any;
|
|
195
233
|
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
196
234
|
export declare const DialogFooter: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
197
|
-
/** Override the mobile action layout.
|
|
235
|
+
/** Override the mobile action layout. Two alert actions default to inline, three or more and sheets to stacked. */
|
|
198
236
|
mobileLayout: PropType<"inline" | "stacked">;
|
|
199
237
|
/** How the bar meets the content scrolled under it in a phone Sheet. @default "soft" */
|
|
200
238
|
background: {
|
|
@@ -204,7 +242,7 @@ export declare const DialogFooter: import("vue").DefineComponent<import("vue").E
|
|
|
204
242
|
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
205
243
|
[key: string]: any;
|
|
206
244
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
207
|
-
/** Override the mobile action layout.
|
|
245
|
+
/** Override the mobile action layout. Two alert actions default to inline, three or more and sheets to stacked. */
|
|
208
246
|
mobileLayout: PropType<"inline" | "stacked">;
|
|
209
247
|
/** How the bar meets the content scrolled under it in a phone Sheet. @default "soft" */
|
|
210
248
|
background: {
|
|
@@ -261,9 +299,12 @@ export declare const DialogSteps: import("vue").DefineComponent<import("vue").Ex
|
|
|
261
299
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
262
300
|
export type DialogProps = InstanceType<typeof Dialog>["$props"];
|
|
263
301
|
export type DialogPlacement = "center" | "top" | "bottom" | "start" | "end" | "fullscreen";
|
|
264
|
-
/**
|
|
302
|
+
/**
|
|
303
|
+
* A press or a focus outside the dialog, or a phone sheet pulled down to close; `event.detail.originalEvent` is the
|
|
304
|
+
* browser's event (a TouchEvent for the sheet).
|
|
305
|
+
*/
|
|
265
306
|
export type DialogInteractOutsideEvent = CustomEvent<{
|
|
266
|
-
originalEvent: PointerEvent | FocusEvent;
|
|
307
|
+
originalEvent: PointerEvent | FocusEvent | TouchEvent;
|
|
267
308
|
}>;
|
|
268
309
|
/** Class, style and data attributes for one of the dialog's layers. */
|
|
269
310
|
export type DialogLayerProps = {
|
|
@@ -277,4 +318,5 @@ export type DialogContentProps = InstanceType<typeof DialogContent>["$props"] &
|
|
|
277
318
|
};
|
|
278
319
|
export type DialogHeaderProps = InstanceType<typeof DialogHeader>["$props"];
|
|
279
320
|
export type DialogFooterProps = InstanceType<typeof DialogFooter>["$props"];
|
|
321
|
+
export type DialogHeaderActionProps = InstanceType<typeof DialogHeaderAction>["$props"];
|
|
280
322
|
export type DialogStepsProps = InstanceType<typeof DialogSteps>["$props"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogDescriptionSlot, DialogFooter, DialogHeader, DialogHeaderAction, DialogSteps, DialogTitle, DialogTrigger, type DialogBarBackground, type DialogHeaderProps, type DialogFooterProps, type DialogContentProps, type DialogInteractOutsideEvent, type DialogLayerProps, type DialogPlacement, type DialogProps, type DialogStepsProps, } from "./Dialog.js";
|
|
1
|
+
export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogDescriptionSlot, DialogFooter, DialogHeader, DialogHeaderAction, DialogSteps, DialogTitle, DialogTrigger, type DialogBarBackground, type DialogHeaderProps, type DialogFooterProps, type DialogHeaderActionProps, type DialogContentProps, type DialogInteractOutsideEvent, type DialogLayerProps, type DialogPlacement, type DialogProps, type DialogStepsProps, } from "./Dialog.js";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
/** `close` returns false when the owner keeps the dialog open: the sheet then returns at once. */
|
|
2
|
+
export declare const attachSheetDrag: (panel: HTMLElement, close: (event: TouchEvent) => boolean | void) => () => void;
|
|
@@ -19,3 +19,8 @@ export declare const PhoneLayout: import("vue").DefineComponent<{}, () => import
|
|
|
19
19
|
* in a window 767px wide or narrower. The server answers false outside a PhoneLayout.
|
|
20
20
|
*/
|
|
21
21
|
export declare const usePhoneLayout: () => ComputedRef<boolean>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the window is 767px wide or narrower, whatever PhoneLayout is around: for a part portaled out of one, which
|
|
24
|
+
* its phone rules do not reach (a Select's list). The server answers false.
|
|
25
|
+
*/
|
|
26
|
+
export declare const usePhoneWindow: () => Ref<boolean>;
|
|
@@ -68,9 +68,9 @@ export declare const PopoverContent: import("vue").DefineComponent<ExtractPropTy
|
|
|
68
68
|
type: BooleanConstructor;
|
|
69
69
|
default: undefined;
|
|
70
70
|
};
|
|
71
|
-
/** Distance from viewport and scroll container boundaries, in pixels. @default 20 */
|
|
71
|
+
/** Distance from viewport and scroll container boundaries, in pixels; an object sets it per side, and a side it leaves out gets 0. @default 20 */
|
|
72
72
|
collisionPadding: {
|
|
73
|
-
type:
|
|
73
|
+
type: PropType<number | Partial<Record<PopoverSide, number>>>;
|
|
74
74
|
default: number;
|
|
75
75
|
};
|
|
76
76
|
/** `width` of the popover; numbers are pixels. @default "auto" */
|
|
@@ -108,9 +108,9 @@ export declare const PopoverContent: import("vue").DefineComponent<ExtractPropTy
|
|
|
108
108
|
type: BooleanConstructor;
|
|
109
109
|
default: undefined;
|
|
110
110
|
};
|
|
111
|
-
/** Distance from viewport and scroll container boundaries, in pixels. @default 20 */
|
|
111
|
+
/** Distance from viewport and scroll container boundaries, in pixels; an object sets it per side, and a side it leaves out gets 0. @default 20 */
|
|
112
112
|
collisionPadding: {
|
|
113
|
-
type:
|
|
113
|
+
type: PropType<number | Partial<Record<PopoverSide, number>>>;
|
|
114
114
|
default: number;
|
|
115
115
|
};
|
|
116
116
|
/** `width` of the popover; numbers are pixels. @default "auto" */
|
|
@@ -143,7 +143,7 @@ export declare const PopoverContent: import("vue").DefineComponent<ExtractPropTy
|
|
|
143
143
|
}>> & Readonly<{}>, {
|
|
144
144
|
sideOffset: number;
|
|
145
145
|
avoidCollisions: boolean;
|
|
146
|
-
collisionPadding: number
|
|
146
|
+
collisionPadding: number | Partial<Record<PopoverSide, number>>;
|
|
147
147
|
translucent: boolean;
|
|
148
148
|
autoFocus: boolean;
|
|
149
149
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -114,10 +114,24 @@ export declare const ProgressStepsStep: import("vue").DefineComponent<import("vu
|
|
|
114
114
|
_index: number;
|
|
115
115
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
116
116
|
export type StepProps = InstanceType<typeof ProgressStepsStep>["$props"];
|
|
117
|
-
/** Step title. Like React, only `class` reaches the DOM from attributes.
|
|
118
|
-
|
|
117
|
+
/** Step title. Like React, only `class` reaches the DOM from attributes. `visuallyHidden` hides it from view and keeps
|
|
118
|
+
* it for screen readers, for steps that show their indicators alone; the step then takes no room under its indicator. */
|
|
119
|
+
export declare const ProgressStepsTitle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
120
|
+
visuallyHidden: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
119
125
|
[key: string]: any;
|
|
120
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
126
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
+
visuallyHidden: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
}>> & Readonly<{}>, {
|
|
132
|
+
visuallyHidden: boolean;
|
|
133
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
134
|
+
export type TitleProps = InstanceType<typeof ProgressStepsTitle>["$props"];
|
|
121
135
|
/** Step description. Like React, only `class` reaches the DOM from attributes. */
|
|
122
136
|
export declare const ProgressStepsDescription: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
123
137
|
[key: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ProgressSteps, ProgressStepsDescription, ProgressStepsStep, ProgressStepsTitle, type ProgressStepsProps, type StepIconProp, type StepProps, } from "./ProgressSteps.js";
|
|
1
|
+
export { ProgressSteps, ProgressStepsDescription, ProgressStepsStep, ProgressStepsTitle, type ProgressStepsProps, type StepIconProp, type StepProps, type TitleProps, } from "./ProgressSteps.js";
|
|
@@ -133,20 +133,25 @@ declare const SelectComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
133
133
|
triggerClassName: StringConstructor;
|
|
134
134
|
/** Applies a negative margin using the current gutter to optically align the trigger. */
|
|
135
135
|
opticallyAlign: PropType<"start" | "end">;
|
|
136
|
-
/** Display a clear action that allows the select to be unset. @default false */
|
|
136
|
+
/** Display a clear action that allows the select to be unset. On a phone it is the first row of the list, `noneLabel`, as an iOS pop-up button unsets its value with a None row instead of a clear button; a custom `trigger` keeps its own clearing and gets no None row. @default false */
|
|
137
137
|
clearable: {
|
|
138
138
|
type: BooleanConstructor;
|
|
139
139
|
default: boolean;
|
|
140
140
|
};
|
|
141
|
+
/** Label of the row that unsets a `clearable` select on a phone. @default "None" */
|
|
142
|
+
noneLabel: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
141
146
|
/** Extends select to 100% of available width. @default true, except for the ghost variant */
|
|
142
147
|
block: {
|
|
143
148
|
type: BooleanConstructor;
|
|
144
149
|
default: undefined;
|
|
145
150
|
};
|
|
146
|
-
/** Preferred side of the trigger to render against when open. @default "bottom" */
|
|
151
|
+
/** Preferred side of the trigger to render against when open. Without one the list opens below its trigger, and on a phone over it, toward the larger part of the screen. @default "bottom" */
|
|
147
152
|
side: {
|
|
148
153
|
type: PropType<PopoverSide>;
|
|
149
|
-
default:
|
|
154
|
+
default: undefined;
|
|
150
155
|
};
|
|
151
156
|
/** Preferred alignment against the trigger. @default "end" at the end of a `Field row` ("start" in a `FieldGroup columns`), "center" when block, otherwise "start" */
|
|
152
157
|
align: PropType<PopoverAlign>;
|
|
@@ -175,7 +180,7 @@ declare const SelectComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
175
180
|
type: StringConstructor;
|
|
176
181
|
default: string;
|
|
177
182
|
};
|
|
178
|
-
/** Size of the search input in the menu
|
|
183
|
+
/** Size of the search input in the menu. A phone list has no search: it is an iOS menu, and a long one scrolls. @default "md" */
|
|
179
184
|
searchSize: PropType<ControlSize>;
|
|
180
185
|
/** Message displayed when search results are empty (or the `#searchEmptyMessage` slot) */
|
|
181
186
|
searchEmptyMessage: {
|
|
@@ -282,20 +287,25 @@ declare const SelectComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
282
287
|
triggerClassName: StringConstructor;
|
|
283
288
|
/** Applies a negative margin using the current gutter to optically align the trigger. */
|
|
284
289
|
opticallyAlign: PropType<"start" | "end">;
|
|
285
|
-
/** Display a clear action that allows the select to be unset. @default false */
|
|
290
|
+
/** Display a clear action that allows the select to be unset. On a phone it is the first row of the list, `noneLabel`, as an iOS pop-up button unsets its value with a None row instead of a clear button; a custom `trigger` keeps its own clearing and gets no None row. @default false */
|
|
286
291
|
clearable: {
|
|
287
292
|
type: BooleanConstructor;
|
|
288
293
|
default: boolean;
|
|
289
294
|
};
|
|
295
|
+
/** Label of the row that unsets a `clearable` select on a phone. @default "None" */
|
|
296
|
+
noneLabel: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
290
300
|
/** Extends select to 100% of available width. @default true, except for the ghost variant */
|
|
291
301
|
block: {
|
|
292
302
|
type: BooleanConstructor;
|
|
293
303
|
default: undefined;
|
|
294
304
|
};
|
|
295
|
-
/** Preferred side of the trigger to render against when open. @default "bottom" */
|
|
305
|
+
/** Preferred side of the trigger to render against when open. Without one the list opens below its trigger, and on a phone over it, toward the larger part of the screen. @default "bottom" */
|
|
296
306
|
side: {
|
|
297
307
|
type: PropType<PopoverSide>;
|
|
298
|
-
default:
|
|
308
|
+
default: undefined;
|
|
299
309
|
};
|
|
300
310
|
/** Preferred alignment against the trigger. @default "end" at the end of a `Field row` ("start" in a `FieldGroup columns`), "center" when block, otherwise "start" */
|
|
301
311
|
align: PropType<PopoverAlign>;
|
|
@@ -324,7 +334,7 @@ declare const SelectComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
324
334
|
type: StringConstructor;
|
|
325
335
|
default: string;
|
|
326
336
|
};
|
|
327
|
-
/** Size of the search input in the menu
|
|
337
|
+
/** Size of the search input in the menu. A phone list has no search: it is an iOS menu, and a long one scrolls. @default "md" */
|
|
328
338
|
searchSize: PropType<ControlSize>;
|
|
329
339
|
/** Message displayed when search results are empty (or the `#searchEmptyMessage` slot) */
|
|
330
340
|
searchEmptyMessage: {
|
|
@@ -364,6 +374,7 @@ declare const SelectComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
364
374
|
dropdownIconType: DropdownIconType;
|
|
365
375
|
loadingPlaceholder: string;
|
|
366
376
|
allSelectedLabel: string;
|
|
377
|
+
noneLabel: string;
|
|
367
378
|
searchPlaceholder: string;
|
|
368
379
|
searchAriaLabel: string;
|
|
369
380
|
searchEmptyMessage: string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { StatsCard, type StatsCardAccentColor, type StatsCardProps, type StatsCardTrend } from "../StatsCard/index.js";
|
|
2
|
+
/** @deprecated Renamed to `StatsCard`: `import { StatsCard } from "@plexui/vue/components/StatsCard"`. */
|
|
3
|
+
export declare const StatCard: typeof StatsCard;
|
|
4
|
+
/** @deprecated Renamed to `StatsCardAccentColor`. */
|
|
5
|
+
export type StatCardAccentColor = StatsCardAccentColor;
|
|
6
|
+
/** @deprecated Renamed to `StatsCardProps`. */
|
|
7
|
+
export type StatCardProps = StatsCardProps;
|
|
8
|
+
/** @deprecated Renamed to `StatsCardTrend`. */
|
|
9
|
+
export type StatCardTrend = StatsCardTrend;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type HTMLAttributes, type PropType } from "vue";
|
|
2
|
-
export type
|
|
2
|
+
export type StatsCardTrend = {
|
|
3
3
|
/** The percentage change value (e.g. 12.5 for +12.5%) */
|
|
4
4
|
value: number;
|
|
5
5
|
/** Optional label for the trend (e.g. "vs last month") */
|
|
6
6
|
label?: string;
|
|
7
7
|
};
|
|
8
|
-
export type
|
|
9
|
-
declare const
|
|
8
|
+
export type StatsCardAccentColor = "primary" | "secondary" | "info" | "success" | "warning" | "danger" | "discovery" | "caution";
|
|
9
|
+
declare const StatsCardComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
/** Label describing the metric */
|
|
11
11
|
label: {
|
|
12
12
|
type: StringConstructor;
|
|
@@ -20,7 +20,7 @@ declare const StatCardComponent: import("vue").DefineComponent<import("vue").Ext
|
|
|
20
20
|
/** Optional description or subtitle below the value */
|
|
21
21
|
description: StringConstructor;
|
|
22
22
|
/** Trend indicator with percentage change */
|
|
23
|
-
trend: PropType<
|
|
23
|
+
trend: PropType<StatsCardTrend>;
|
|
24
24
|
/** When true, a positive trend is bad (red) and negative is good (green). Use for metrics like "Error Rate" or "Avg Completion Time". */
|
|
25
25
|
invertTrend: {
|
|
26
26
|
type: BooleanConstructor;
|
|
@@ -28,11 +28,11 @@ declare const StatCardComponent: import("vue").DefineComponent<import("vue").Ext
|
|
|
28
28
|
};
|
|
29
29
|
/** Progress value from 0 to 100. Shows a progress bar at the bottom. */
|
|
30
30
|
progress: NumberConstructor;
|
|
31
|
-
/** Label displayed
|
|
31
|
+
/** Label displayed after the progress bar */
|
|
32
32
|
progressLabel: StringConstructor;
|
|
33
33
|
/** Tooltip text: renders an (i) icon next to the label with a tooltip on hover */
|
|
34
34
|
tooltip: StringConstructor;
|
|
35
|
-
/** Where the trend indicator is positioned:
|
|
35
|
+
/** Where the trend indicator is positioned: under the value with its label, or right-aligned in the header row (its label under the value). @default "value" */
|
|
36
36
|
trendPosition: {
|
|
37
37
|
type: PropType<"value" | "header">;
|
|
38
38
|
default: string;
|
|
@@ -52,9 +52,9 @@ declare const StatCardComponent: import("vue").DefineComponent<import("vue").Ext
|
|
|
52
52
|
type: PropType<"default" | "accent">;
|
|
53
53
|
default: string;
|
|
54
54
|
};
|
|
55
|
-
/**
|
|
55
|
+
/** Color of the accent variant's bar. @default "primary" */
|
|
56
56
|
accentColor: {
|
|
57
|
-
type: PropType<
|
|
57
|
+
type: PropType<StatsCardAccentColor>;
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
60
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -73,7 +73,7 @@ declare const StatCardComponent: import("vue").DefineComponent<import("vue").Ext
|
|
|
73
73
|
/** Optional description or subtitle below the value */
|
|
74
74
|
description: StringConstructor;
|
|
75
75
|
/** Trend indicator with percentage change */
|
|
76
|
-
trend: PropType<
|
|
76
|
+
trend: PropType<StatsCardTrend>;
|
|
77
77
|
/** When true, a positive trend is bad (red) and negative is good (green). Use for metrics like "Error Rate" or "Avg Completion Time". */
|
|
78
78
|
invertTrend: {
|
|
79
79
|
type: BooleanConstructor;
|
|
@@ -81,11 +81,11 @@ declare const StatCardComponent: import("vue").DefineComponent<import("vue").Ext
|
|
|
81
81
|
};
|
|
82
82
|
/** Progress value from 0 to 100. Shows a progress bar at the bottom. */
|
|
83
83
|
progress: NumberConstructor;
|
|
84
|
-
/** Label displayed
|
|
84
|
+
/** Label displayed after the progress bar */
|
|
85
85
|
progressLabel: StringConstructor;
|
|
86
86
|
/** Tooltip text: renders an (i) icon next to the label with a tooltip on hover */
|
|
87
87
|
tooltip: StringConstructor;
|
|
88
|
-
/** Where the trend indicator is positioned:
|
|
88
|
+
/** Where the trend indicator is positioned: under the value with its label, or right-aligned in the header row (its label under the value). @default "value" */
|
|
89
89
|
trendPosition: {
|
|
90
90
|
type: PropType<"value" | "header">;
|
|
91
91
|
default: string;
|
|
@@ -105,26 +105,26 @@ declare const StatCardComponent: import("vue").DefineComponent<import("vue").Ext
|
|
|
105
105
|
type: PropType<"default" | "accent">;
|
|
106
106
|
default: string;
|
|
107
107
|
};
|
|
108
|
-
/**
|
|
108
|
+
/** Color of the accent variant's bar. @default "primary" */
|
|
109
109
|
accentColor: {
|
|
110
|
-
type: PropType<
|
|
110
|
+
type: PropType<StatsCardAccentColor>;
|
|
111
111
|
default: string;
|
|
112
112
|
};
|
|
113
113
|
}>> & Readonly<{}>, {
|
|
114
114
|
value: string | number;
|
|
115
115
|
size: "default" | "sm";
|
|
116
116
|
variant: "default" | "accent";
|
|
117
|
-
accentColor:
|
|
117
|
+
accentColor: StatsCardAccentColor;
|
|
118
118
|
invertTrend: boolean;
|
|
119
119
|
trendPosition: "header" | "value";
|
|
120
120
|
trendVariant: "text" | "badge";
|
|
121
121
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
|
-
type
|
|
123
|
-
/**
|
|
124
|
-
export type
|
|
125
|
-
export declare const
|
|
122
|
+
type StatsCardOwnProps = InstanceType<typeof StatsCardComponent>["$props"];
|
|
123
|
+
/** StatsCard props plus the native <div> attributes that fall through to it, as in React. */
|
|
124
|
+
export type StatsCardProps = StatsCardOwnProps & Omit<HTMLAttributes, keyof StatsCardOwnProps>;
|
|
125
|
+
export declare const StatsCard: typeof StatsCardComponent & {
|
|
126
126
|
new (): {
|
|
127
|
-
$props:
|
|
127
|
+
$props: StatsCardProps;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StatsCard, type StatsCardAccentColor, type StatsCardProps, type StatsCardTrend } from "./StatsCard.js";
|
|
@@ -34,7 +34,7 @@ declare const SwipeActionsComponent: import("vue").DefineComponent<import("vue")
|
|
|
34
34
|
type: PropType<SwipeAction[]>;
|
|
35
35
|
default: () => never[];
|
|
36
36
|
};
|
|
37
|
-
/** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of
|
|
37
|
+
/** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 60px and taller, as iOS sets them). @default "hidden" */
|
|
38
38
|
labelPlacement: {
|
|
39
39
|
type: PropType<"hidden" | "inside" | "below">;
|
|
40
40
|
default: string;
|
|
@@ -57,7 +57,7 @@ declare const SwipeActionsComponent: import("vue").DefineComponent<import("vue")
|
|
|
57
57
|
type: PropType<SwipeAction[]>;
|
|
58
58
|
default: () => never[];
|
|
59
59
|
};
|
|
60
|
-
/** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of
|
|
60
|
+
/** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 60px and taller, as iOS sets them). @default "hidden" */
|
|
61
61
|
labelPlacement: {
|
|
62
62
|
type: PropType<"hidden" | "inside" | "below">;
|
|
63
63
|
default: string;
|
|
@@ -68,9 +68,9 @@ declare const SwipeActionsComponent: import("vue").DefineComponent<import("vue")
|
|
|
68
68
|
default: boolean;
|
|
69
69
|
};
|
|
70
70
|
}>> & Readonly<{}>, {
|
|
71
|
-
labelPlacement: "hidden" | "inside" | "below";
|
|
72
71
|
leading: SwipeAction[];
|
|
73
72
|
trailing: SwipeAction[];
|
|
73
|
+
labelPlacement: "hidden" | "inside" | "below";
|
|
74
74
|
fullSwipe: boolean;
|
|
75
75
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
76
76
|
type SwipeActionsOwnProps = InstanceType<typeof SwipeActionsComponent>["$props"];
|
|
@@ -93,7 +93,7 @@ export declare const SwipeActions: import("vue").DefineComponent<import("vue").E
|
|
|
93
93
|
type: PropType<SwipeAction[]>;
|
|
94
94
|
default: () => never[];
|
|
95
95
|
};
|
|
96
|
-
/** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of
|
|
96
|
+
/** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 60px and taller, as iOS sets them). @default "hidden" */
|
|
97
97
|
labelPlacement: {
|
|
98
98
|
type: PropType<"hidden" | "inside" | "below">;
|
|
99
99
|
default: string;
|
|
@@ -116,7 +116,7 @@ export declare const SwipeActions: import("vue").DefineComponent<import("vue").E
|
|
|
116
116
|
type: PropType<SwipeAction[]>;
|
|
117
117
|
default: () => never[];
|
|
118
118
|
};
|
|
119
|
-
/** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of
|
|
119
|
+
/** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 60px and taller, as iOS sets them). @default "hidden" */
|
|
120
120
|
labelPlacement: {
|
|
121
121
|
type: PropType<"hidden" | "inside" | "below">;
|
|
122
122
|
default: string;
|
|
@@ -127,9 +127,9 @@ export declare const SwipeActions: import("vue").DefineComponent<import("vue").E
|
|
|
127
127
|
default: boolean;
|
|
128
128
|
};
|
|
129
129
|
}>> & Readonly<{}>, {
|
|
130
|
-
labelPlacement: "hidden" | "inside" | "below";
|
|
131
130
|
leading: SwipeAction[];
|
|
132
131
|
trailing: SwipeAction[];
|
|
132
|
+
labelPlacement: "hidden" | "inside" | "below";
|
|
133
133
|
fullSwipe: boolean;
|
|
134
134
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
135
135
|
export {};
|