@plexui/vue 0.9.0 → 0.11.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.
Files changed (188) hide show
  1. package/dist/es/components/Alert/Alert.js +6 -2
  2. package/dist/es/components/Alert/Alert.js.map +1 -1
  3. package/dist/es/components/Avatar/Avatar.js +3 -1
  4. package/dist/es/components/Avatar/Avatar.js.map +1 -1
  5. package/dist/es/components/ButtonGroup/ButtonGroup.js +7 -0
  6. package/dist/es/components/ButtonGroup/ButtonGroup.js.map +1 -1
  7. package/dist/es/components/ButtonGroup/index.js.map +1 -1
  8. package/dist/es/components/Checkbox/Checkbox.js +5 -6
  9. package/dist/es/components/Checkbox/Checkbox.js.map +1 -1
  10. package/dist/es/components/ColorPicker/ColorPicker.js +476 -0
  11. package/dist/es/components/ColorPicker/ColorPicker.js.map +1 -0
  12. package/dist/es/components/ColorPicker/ColorWell.js +186 -0
  13. package/dist/es/components/ColorPicker/ColorWell.js.map +1 -0
  14. package/dist/es/components/ColorPicker/index.js +3 -0
  15. package/dist/es/components/ColorPicker/index.js.map +1 -0
  16. package/dist/es/components/ColorPicker/shared.js +132 -0
  17. package/dist/es/components/ColorPicker/shared.js.map +1 -0
  18. package/dist/es/components/ContextMenu/ContextMenu.js +223 -0
  19. package/dist/es/components/ContextMenu/ContextMenu.js.map +1 -0
  20. package/dist/es/components/ContextMenu/index.js +2 -0
  21. package/dist/es/components/ContextMenu/index.js.map +1 -0
  22. package/dist/es/components/ContextMenu/shared.js +58 -0
  23. package/dist/es/components/ContextMenu/shared.js.map +1 -0
  24. package/dist/es/components/DatePicker/DatePicker.js +19 -3
  25. package/dist/es/components/DatePicker/DatePicker.js.map +1 -1
  26. package/dist/es/components/DateRangePicker/DateRangePicker.js +1 -1
  27. package/dist/es/components/DateRangePicker/DateRangePicker.js.map +1 -1
  28. package/dist/es/components/Dialog/Dialog.js +245 -25
  29. package/dist/es/components/Dialog/Dialog.js.map +1 -1
  30. package/dist/es/components/Dialog/dialogSteps.js +85 -0
  31. package/dist/es/components/Dialog/dialogSteps.js.map +1 -0
  32. package/dist/es/components/Dialog/dialogViewport.js +74 -0
  33. package/dist/es/components/Dialog/dialogViewport.js.map +1 -0
  34. package/dist/es/components/Dialog/index.js +1 -1
  35. package/dist/es/components/Dialog/index.js.map +1 -1
  36. package/dist/es/components/Dialog/sheetDrag.js +2 -1
  37. package/dist/es/components/Dialog/sheetDrag.js.map +1 -1
  38. package/dist/es/components/Field/Field.js +11 -3
  39. package/dist/es/components/Field/Field.js.map +1 -1
  40. package/dist/es/components/FieldGroup/FieldGroup.js +12 -1
  41. package/dist/es/components/FieldGroup/FieldGroup.js.map +1 -1
  42. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.js +2 -2
  43. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.js.map +1 -1
  44. package/dist/es/components/Icon/index.js +1 -0
  45. package/dist/es/components/Icon/index.js.map +1 -1
  46. package/dist/es/components/Icon/svg/Eyedropper.js +10 -0
  47. package/dist/es/components/Icon/svg/Eyedropper.js.map +1 -0
  48. package/dist/es/components/IndexBar/IndexBar.js +215 -0
  49. package/dist/es/components/IndexBar/IndexBar.js.map +1 -0
  50. package/dist/es/components/IndexBar/index.js +2 -0
  51. package/dist/es/components/IndexBar/index.js.map +1 -0
  52. package/dist/es/components/Indicator/LoadingIndicator.js +1 -1
  53. package/dist/es/components/Indicator/LoadingIndicator.js.map +1 -1
  54. package/dist/es/components/Input/Input.js +3 -2
  55. package/dist/es/components/Input/Input.js.map +1 -1
  56. package/dist/es/components/MarkdownEditor/MarkdownEditor.js +149 -1
  57. package/dist/es/components/MarkdownEditor/MarkdownEditor.js.map +1 -1
  58. package/dist/es/components/Menu/Menu.js +206 -33
  59. package/dist/es/components/Menu/Menu.js.map +1 -1
  60. package/dist/es/components/Menu/index.js +1 -1
  61. package/dist/es/components/Menu/index.js.map +1 -1
  62. package/dist/es/components/Page/Page.js +43 -11
  63. package/dist/es/components/Page/Page.js.map +1 -1
  64. package/dist/es/components/PageControl/PageControl.js +210 -0
  65. package/dist/es/components/PageControl/PageControl.js.map +1 -0
  66. package/dist/es/components/PageControl/index.js +2 -0
  67. package/dist/es/components/PageControl/index.js.map +1 -0
  68. package/dist/es/components/PhoneLayout/PhoneLayout.js +50 -0
  69. package/dist/es/components/PhoneLayout/PhoneLayout.js.map +1 -0
  70. package/dist/es/components/PhoneLayout/index.js +2 -0
  71. package/dist/es/components/PhoneLayout/index.js.map +1 -0
  72. package/dist/es/components/Popover/Popover.js +5 -1
  73. package/dist/es/components/Popover/Popover.js.map +1 -1
  74. package/dist/es/components/Popover/deferredPointerDownOutside.js +59 -4
  75. package/dist/es/components/Popover/deferredPointerDownOutside.js.map +1 -1
  76. package/dist/es/components/Select/Select.js +18 -11
  77. package/dist/es/components/Select/Select.js.map +1 -1
  78. package/dist/es/components/SelectControl/SelectControl.js +1 -0
  79. package/dist/es/components/SelectControl/SelectControl.js.map +1 -1
  80. package/dist/es/components/Sidebar/Sidebar.js +21 -6
  81. package/dist/es/components/Sidebar/Sidebar.js.map +1 -1
  82. package/dist/es/components/Slider/Slider.js +44 -9
  83. package/dist/es/components/Slider/Slider.js.map +1 -1
  84. package/dist/es/components/Stepper/Stepper.js +195 -0
  85. package/dist/es/components/Stepper/Stepper.js.map +1 -0
  86. package/dist/es/components/Stepper/index.js +2 -0
  87. package/dist/es/components/Stepper/index.js.map +1 -0
  88. package/dist/es/components/SwipeActions/SwipeActions.js +374 -0
  89. package/dist/es/components/SwipeActions/SwipeActions.js.map +1 -0
  90. package/dist/es/components/SwipeActions/index.js +2 -0
  91. package/dist/es/components/SwipeActions/index.js.map +1 -0
  92. package/dist/es/components/Switch/Switch.js +3 -1
  93. package/dist/es/components/Switch/Switch.js.map +1 -1
  94. package/dist/es/components/TabBar/TabBar.js +205 -0
  95. package/dist/es/components/TabBar/TabBar.js.map +1 -0
  96. package/dist/es/components/TabBar/index.js +2 -0
  97. package/dist/es/components/TabBar/index.js.map +1 -0
  98. package/dist/es/components/Tabs/Tabs.js +10 -2
  99. package/dist/es/components/Tabs/Tabs.js.map +1 -1
  100. package/dist/es/components/TagInput/TagInput.js +3 -46
  101. package/dist/es/components/TagInput/TagInput.js.map +1 -1
  102. package/dist/es/components/Textarea/Textarea.js +2 -0
  103. package/dist/es/components/Textarea/Textarea.js.map +1 -1
  104. package/dist/es/components/Tip/Tip.js +276 -0
  105. package/dist/es/components/Tip/Tip.js.map +1 -0
  106. package/dist/es/components/Tip/index.js +2 -0
  107. package/dist/es/components/Tip/index.js.map +1 -0
  108. package/dist/es/components/Toast/ToastRenderer.js +30 -13
  109. package/dist/es/components/Toast/ToastRenderer.js.map +1 -1
  110. package/dist/es/components/Toast/Toaster.js +17 -6
  111. package/dist/es/components/Toast/Toaster.js.map +1 -1
  112. package/dist/es/components/Toast/toastLifecycle.js +113 -1
  113. package/dist/es/components/Toast/toastLifecycle.js.map +1 -1
  114. package/dist/es/components/Toolbar/Toolbar.js +37 -6
  115. package/dist/es/components/Toolbar/Toolbar.js.map +1 -1
  116. package/dist/es/components/Toolbar/index.js.map +1 -1
  117. package/dist/es/components/Tooltip/slot.js +3 -3
  118. package/dist/es/components/Tooltip/slot.js.map +1 -1
  119. package/dist/es/composables/useEscCloseStack.js +8 -4
  120. package/dist/es/composables/useEscCloseStack.js.map +1 -1
  121. package/dist/es/lib/fieldRow.js +15 -2
  122. package/dist/es/lib/fieldRow.js.map +1 -1
  123. package/dist/es/lib/floatingBoundary.js +3 -1
  124. package/dist/es/lib/floatingBoundary.js.map +1 -1
  125. package/dist/es/lib/helpers.js +21 -0
  126. package/dist/es/lib/helpers.js.map +1 -1
  127. package/dist/es/lib/menuSubmenuPlacement.js +51 -6
  128. package/dist/es/lib/menuSubmenuPlacement.js.map +1 -1
  129. package/dist/es/lib/menuTriggerCover.js +70 -0
  130. package/dist/es/lib/menuTriggerCover.js.map +1 -0
  131. package/dist/es/lib/phoneLayout.js +16 -0
  132. package/dist/es/lib/phoneLayout.js.map +1 -0
  133. package/dist/es/lib/scrollEdges.js +34 -0
  134. package/dist/es/lib/scrollEdges.js.map +1 -0
  135. package/dist/es/lib/toastRegion.js +6 -0
  136. package/dist/es/lib/toastRegion.js.map +1 -0
  137. package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +13 -0
  138. package/dist/types/components/ButtonGroup/index.d.ts +1 -1
  139. package/dist/types/components/ColorPicker/ColorPicker.d.ts +244 -0
  140. package/dist/types/components/ColorPicker/ColorWell.d.ts +334 -0
  141. package/dist/types/components/ColorPicker/index.d.ts +3 -0
  142. package/dist/types/components/ColorPicker/shared.d.ts +69 -0
  143. package/dist/types/components/ContextMenu/ContextMenu.d.ts +128 -0
  144. package/dist/types/components/ContextMenu/index.d.ts +1 -0
  145. package/dist/types/components/ContextMenu/shared.d.ts +51 -0
  146. package/dist/types/components/DatePicker/DatePicker.d.ts +24 -4
  147. package/dist/types/components/DateRangePicker/DateRangePicker.d.ts +4 -4
  148. package/dist/types/components/Dialog/Dialog.d.ts +100 -4
  149. package/dist/types/components/Dialog/dialogSteps.d.ts +10 -0
  150. package/dist/types/components/Dialog/dialogViewport.d.ts +1 -0
  151. package/dist/types/components/Dialog/index.d.ts +1 -1
  152. package/dist/types/components/Field/Field.d.ts +21 -2
  153. package/dist/types/components/FieldGroup/FieldGroup.d.ts +18 -1
  154. package/dist/types/components/Icon/index.d.ts +1 -0
  155. package/dist/types/components/Icon/svg/Eyedropper.d.ts +3 -0
  156. package/dist/types/components/IndexBar/IndexBar.d.ts +112 -0
  157. package/dist/types/components/IndexBar/index.d.ts +1 -0
  158. package/dist/types/components/Indicator/LoadingIndicator.d.ts +2 -2
  159. package/dist/types/components/Menu/Menu.d.ts +153 -40
  160. package/dist/types/components/Menu/index.d.ts +1 -1
  161. package/dist/types/components/Page/Page.d.ts +13 -5
  162. package/dist/types/components/PageControl/PageControl.d.ts +216 -0
  163. package/dist/types/components/PageControl/index.d.ts +1 -0
  164. package/dist/types/components/PhoneLayout/PhoneLayout.d.ts +21 -0
  165. package/dist/types/components/PhoneLayout/index.d.ts +1 -0
  166. package/dist/types/components/Popover/deferredPointerDownOutside.d.ts +1 -1
  167. package/dist/types/components/Select/Select.d.ts +6 -6
  168. package/dist/types/components/Stepper/Stepper.d.ts +338 -0
  169. package/dist/types/components/Stepper/index.d.ts +1 -0
  170. package/dist/types/components/SwipeActions/SwipeActions.d.ts +135 -0
  171. package/dist/types/components/SwipeActions/index.d.ts +1 -0
  172. package/dist/types/components/TabBar/TabBar.d.ts +405 -0
  173. package/dist/types/components/TabBar/index.d.ts +1 -0
  174. package/dist/types/components/Tip/Tip.d.ts +146 -0
  175. package/dist/types/components/Tip/index.d.ts +1 -0
  176. package/dist/types/components/Toast/toastLifecycle.d.ts +34 -0
  177. package/dist/types/components/Toolbar/Toolbar.d.ts +26 -9
  178. package/dist/types/components/Toolbar/index.d.ts +1 -1
  179. package/dist/types/components/Tooltip/CopyTooltip.d.ts +1 -1
  180. package/dist/types/composables/useEscCloseStack.d.ts +2 -2
  181. package/dist/types/lib/fieldRow.d.ts +5 -0
  182. package/dist/types/lib/helpers.d.ts +6 -0
  183. package/dist/types/lib/menuSubmenuPlacement.d.ts +14 -1
  184. package/dist/types/lib/menuTriggerCover.d.ts +23 -0
  185. package/dist/types/lib/phoneLayout.d.ts +11 -0
  186. package/dist/types/lib/scrollEdges.d.ts +16 -0
  187. package/dist/types/lib/toastRegion.d.ts +5 -0
  188. package/package.json +2 -2
@@ -0,0 +1,135 @@
1
+ import { type Component, type PropType } from "vue";
2
+ export type SwipeActionColor = "primary" | "secondary" | "danger" | "success" | "info" | "discovery" | "caution" | "warning";
3
+ export type SwipeAction = {
4
+ /** Unique ID of the action within its side */
5
+ id: string;
6
+ /** Name of the action: shown with `labelPlacement` `"inside"` or `"below"` (and on an action without an icon), and its accessible name always */
7
+ label: string;
8
+ /** Icon of the action */
9
+ Icon?: Component;
10
+ /** Solid color of the action. @default "secondary" */
11
+ color?: SwipeActionColor;
12
+ /** Called when the action is pressed, or by a full swipe when it is the first action of its side */
13
+ onSelect?: () => void;
14
+ };
15
+ export type SwipeActionsSide = "leading" | "trailing";
16
+ /**
17
+ * Where the content goes for a swipe of `raw` px toward the trailing edge (negative: toward the leading edge), and
18
+ * whether that is a full swipe. A side without actions stays shut. Past its actions the content follows the finger
19
+ * where a full swipe is allowed, and a third as fast where it is not; past the middle between the open actions and
20
+ * the far edge of the row the swipe is full.
21
+ */
22
+ export declare const swipeActionsOffset: (raw: number, widths: Record<SwipeActionsSide, number>, rowWidth: number, fullSwipe: boolean) => {
23
+ offset: number;
24
+ full: boolean;
25
+ };
26
+ declare const SwipeActionsComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
27
+ /** Actions revealed by a swipe toward the trailing edge, the first one at the leading edge */
28
+ leading: {
29
+ type: PropType<SwipeAction[]>;
30
+ default: () => never[];
31
+ };
32
+ /** Actions revealed by a swipe toward the leading edge, the first one at the trailing edge */
33
+ trailing: {
34
+ type: PropType<SwipeAction[]>;
35
+ default: () => never[];
36
+ };
37
+ /** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 68px and taller). @default "hidden" */
38
+ labelPlacement: {
39
+ type: PropType<"hidden" | "inside" | "below">;
40
+ default: string;
41
+ };
42
+ /** A swipe past the middle between the open actions and the far edge runs the first action of that side. @default true */
43
+ fullSwipe: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
+ [key: string]: any;
49
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
+ /** Actions revealed by a swipe toward the trailing edge, the first one at the leading edge */
51
+ leading: {
52
+ type: PropType<SwipeAction[]>;
53
+ default: () => never[];
54
+ };
55
+ /** Actions revealed by a swipe toward the leading edge, the first one at the trailing edge */
56
+ trailing: {
57
+ type: PropType<SwipeAction[]>;
58
+ default: () => never[];
59
+ };
60
+ /** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 68px and taller). @default "hidden" */
61
+ labelPlacement: {
62
+ type: PropType<"hidden" | "inside" | "below">;
63
+ default: string;
64
+ };
65
+ /** A swipe past the middle between the open actions and the far edge runs the first action of that side. @default true */
66
+ fullSwipe: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ }>> & Readonly<{}>, {
71
+ labelPlacement: "hidden" | "inside" | "below";
72
+ leading: SwipeAction[];
73
+ trailing: SwipeAction[];
74
+ fullSwipe: boolean;
75
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
76
+ type SwipeActionsOwnProps = InstanceType<typeof SwipeActionsComponent>["$props"];
77
+ /** SwipeActions props. */
78
+ export type SwipeActionsProps = SwipeActionsOwnProps;
79
+ /**
80
+ * Actions behind a row of a list, as the swipe actions of an iOS list: a swipe toward the leading edge reveals the
81
+ * trailing actions, a swipe toward the trailing edge the leading ones, and a full swipe runs the first action of
82
+ * that side. The row is a `data-row` of a FieldGroup. Each action is also a button in the order of the screen, and
83
+ * the focus on one shows its side.
84
+ */
85
+ export declare const SwipeActions: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
86
+ /** Actions revealed by a swipe toward the trailing edge, the first one at the leading edge */
87
+ leading: {
88
+ type: PropType<SwipeAction[]>;
89
+ default: () => never[];
90
+ };
91
+ /** Actions revealed by a swipe toward the leading edge, the first one at the trailing edge */
92
+ trailing: {
93
+ type: PropType<SwipeAction[]>;
94
+ default: () => never[];
95
+ };
96
+ /** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 68px and taller). @default "hidden" */
97
+ labelPlacement: {
98
+ type: PropType<"hidden" | "inside" | "below">;
99
+ default: string;
100
+ };
101
+ /** A swipe past the middle between the open actions and the far edge runs the first action of that side. @default true */
102
+ fullSwipe: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
107
+ [key: string]: any;
108
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
109
+ /** Actions revealed by a swipe toward the trailing edge, the first one at the leading edge */
110
+ leading: {
111
+ type: PropType<SwipeAction[]>;
112
+ default: () => never[];
113
+ };
114
+ /** Actions revealed by a swipe toward the leading edge, the first one at the trailing edge */
115
+ trailing: {
116
+ type: PropType<SwipeAction[]>;
117
+ default: () => never[];
118
+ };
119
+ /** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 68px and taller). @default "hidden" */
120
+ labelPlacement: {
121
+ type: PropType<"hidden" | "inside" | "below">;
122
+ default: string;
123
+ };
124
+ /** A swipe past the middle between the open actions and the far edge runs the first action of that side. @default true */
125
+ fullSwipe: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
129
+ }>> & Readonly<{}>, {
130
+ labelPlacement: "hidden" | "inside" | "below";
131
+ leading: SwipeAction[];
132
+ trailing: SwipeAction[];
133
+ fullSwipe: boolean;
134
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
135
+ export {};
@@ -0,0 +1 @@
1
+ export { SwipeActions, swipeActionsOffset, type SwipeAction, type SwipeActionColor, type SwipeActionsProps, type SwipeActionsSide, } from "./SwipeActions.js";
@@ -0,0 +1,405 @@
1
+ import { type PropType } from "vue";
2
+ import { type BarBackground } from "../Toolbar/Toolbar.js";
3
+ export type TabBarSearch = {
4
+ /** The value of the search tab. */
5
+ value: string;
6
+ /** Accessible name of the search tab. @default "Search" */
7
+ label?: string;
8
+ };
9
+ /** The prominent tab of a `TabBar`; its symbol is the `prominent-icon` slot of the bar (React `prominent.icon`). */
10
+ export type TabBarProminent = {
11
+ /** The value of the prominent tab. */
12
+ value: string;
13
+ /** Accessible name of the prominent tab: its circle shows the symbol only. */
14
+ label: string;
15
+ };
16
+ declare const TabBarItemComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
17
+ /** The value of the tab. */
18
+ value: {
19
+ type: StringConstructor;
20
+ required: true;
21
+ };
22
+ /** The label under the symbol, and the accessible name of the tab. */
23
+ label: {
24
+ type: StringConstructor;
25
+ required: true;
26
+ };
27
+ /** Makes the tab a link to this URL. */
28
+ href: StringConstructor;
29
+ /** When `true`, the tab cannot be selected. */
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ /** @internal The search and the prominent tab show their symbol only. */
35
+ hideLabel: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
+ /** The tab was pressed, before it is selected */
43
+ click: (event: MouseEvent) => boolean;
44
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ /** The value of the tab. */
46
+ value: {
47
+ type: StringConstructor;
48
+ required: true;
49
+ };
50
+ /** The label under the symbol, and the accessible name of the tab. */
51
+ label: {
52
+ type: StringConstructor;
53
+ required: true;
54
+ };
55
+ /** Makes the tab a link to this URL. */
56
+ href: StringConstructor;
57
+ /** When `true`, the tab cannot be selected. */
58
+ disabled: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ /** @internal The search and the prominent tab show their symbol only. */
63
+ hideLabel: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ }>> & Readonly<{
68
+ onClick?: ((event: MouseEvent) => any) | undefined;
69
+ }>, {
70
+ disabled: boolean;
71
+ hideLabel: boolean;
72
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
73
+ /** Props of `TabBarItem`. */
74
+ export type TabBarItemProps = InstanceType<typeof TabBarItemComponent>["$props"];
75
+ /** One tab of a `TabBar` (React `TabBar.Item`): its `icon` slot holds the symbol, a PlexUI icon. */
76
+ export declare const TabBarItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
77
+ /** The value of the tab. */
78
+ value: {
79
+ type: StringConstructor;
80
+ required: true;
81
+ };
82
+ /** The label under the symbol, and the accessible name of the tab. */
83
+ label: {
84
+ type: StringConstructor;
85
+ required: true;
86
+ };
87
+ /** Makes the tab a link to this URL. */
88
+ href: StringConstructor;
89
+ /** When `true`, the tab cannot be selected. */
90
+ disabled: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ /** @internal The search and the prominent tab show their symbol only. */
95
+ hideLabel: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
100
+ [key: string]: any;
101
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
102
+ /** The tab was pressed, before it is selected */
103
+ click: (event: MouseEvent) => boolean;
104
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
105
+ /** The value of the tab. */
106
+ value: {
107
+ type: StringConstructor;
108
+ required: true;
109
+ };
110
+ /** The label under the symbol, and the accessible name of the tab. */
111
+ label: {
112
+ type: StringConstructor;
113
+ required: true;
114
+ };
115
+ /** Makes the tab a link to this URL. */
116
+ href: StringConstructor;
117
+ /** When `true`, the tab cannot be selected. */
118
+ disabled: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
122
+ /** @internal The search and the prominent tab show their symbol only. */
123
+ hideLabel: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ }>> & Readonly<{
128
+ onClick?: ((event: MouseEvent) => any) | undefined;
129
+ }>, {
130
+ disabled: boolean;
131
+ hideLabel: boolean;
132
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
133
+ declare const TabBarComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
134
+ /** The controlled value of the selected tab. Bind with `v-model:value`. */
135
+ value: {
136
+ type: StringConstructor;
137
+ default: undefined;
138
+ };
139
+ /** The selected tab when it is initially rendered. */
140
+ defaultValue: {
141
+ type: StringConstructor;
142
+ default: undefined;
143
+ };
144
+ /** A search tab in a glass circle of its own at the trailing end, as the iOS 26 separate search tab. */
145
+ search: {
146
+ type: PropType<TabBarSearch>;
147
+ default: undefined;
148
+ };
149
+ /**
150
+ * The one destination the app lifts out of the capsule, a cart or a library, in a glass circle of its own at
151
+ * the trailing end, as the iOS 27 prominent tab role; its symbol is the `prominent-icon` slot. It takes the
152
+ * circle of the search tab: with both, search is the last tab of the capsule, as iOS gives search that place
153
+ * only when no other tab is prominent.
154
+ */
155
+ prominent: {
156
+ type: PropType<TabBarProminent>;
157
+ default: undefined;
158
+ };
159
+ /**
160
+ * `onScrollDown` minimizes the bar to the selected tab while the content of the `Page` scrolls down and
161
+ * expands it when the content scrolls back up; a tap on the minimized tab expands it too. @default "never"
162
+ */
163
+ minimizeBehavior: {
164
+ type: PropType<"never" | "onScrollDown">;
165
+ default: string;
166
+ };
167
+ /** Controlled minimized state. Bind with `v-model:minimized`. */
168
+ minimized: {
169
+ type: BooleanConstructor;
170
+ default: undefined;
171
+ };
172
+ /** The minimized state when it is initially rendered. @default false */
173
+ defaultMinimized: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ /** How the bar meets the content scrolled under it; see `BarBackground`. @default "soft" */
178
+ background: {
179
+ type: PropType<BarBackground>;
180
+ default: string;
181
+ };
182
+ /** Accessible name of the navigation. @default "Tabs" */
183
+ ariaLabel: {
184
+ type: StringConstructor;
185
+ default: string;
186
+ };
187
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
188
+ [key: string]: any;
189
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
190
+ /** A tab was selected */
191
+ "update:value": (value: string) => boolean;
192
+ /** A tab was selected (React `onValueChange`) */
193
+ valueChange: (value: string) => boolean;
194
+ /** The bar minimized or expanded */
195
+ "update:minimized": (minimized: boolean) => boolean;
196
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
197
+ /** The controlled value of the selected tab. Bind with `v-model:value`. */
198
+ value: {
199
+ type: StringConstructor;
200
+ default: undefined;
201
+ };
202
+ /** The selected tab when it is initially rendered. */
203
+ defaultValue: {
204
+ type: StringConstructor;
205
+ default: undefined;
206
+ };
207
+ /** A search tab in a glass circle of its own at the trailing end, as the iOS 26 separate search tab. */
208
+ search: {
209
+ type: PropType<TabBarSearch>;
210
+ default: undefined;
211
+ };
212
+ /**
213
+ * The one destination the app lifts out of the capsule, a cart or a library, in a glass circle of its own at
214
+ * the trailing end, as the iOS 27 prominent tab role; its symbol is the `prominent-icon` slot. It takes the
215
+ * circle of the search tab: with both, search is the last tab of the capsule, as iOS gives search that place
216
+ * only when no other tab is prominent.
217
+ */
218
+ prominent: {
219
+ type: PropType<TabBarProminent>;
220
+ default: undefined;
221
+ };
222
+ /**
223
+ * `onScrollDown` minimizes the bar to the selected tab while the content of the `Page` scrolls down and
224
+ * expands it when the content scrolls back up; a tap on the minimized tab expands it too. @default "never"
225
+ */
226
+ minimizeBehavior: {
227
+ type: PropType<"never" | "onScrollDown">;
228
+ default: string;
229
+ };
230
+ /** Controlled minimized state. Bind with `v-model:minimized`. */
231
+ minimized: {
232
+ type: BooleanConstructor;
233
+ default: undefined;
234
+ };
235
+ /** The minimized state when it is initially rendered. @default false */
236
+ defaultMinimized: {
237
+ type: BooleanConstructor;
238
+ default: boolean;
239
+ };
240
+ /** How the bar meets the content scrolled under it; see `BarBackground`. @default "soft" */
241
+ background: {
242
+ type: PropType<BarBackground>;
243
+ default: string;
244
+ };
245
+ /** Accessible name of the navigation. @default "Tabs" */
246
+ ariaLabel: {
247
+ type: StringConstructor;
248
+ default: string;
249
+ };
250
+ }>> & Readonly<{
251
+ "onUpdate:value"?: ((value: string) => any) | undefined;
252
+ onValueChange?: ((value: string) => any) | undefined;
253
+ "onUpdate:minimized"?: ((minimized: boolean) => any) | undefined;
254
+ }>, {
255
+ search: TabBarSearch;
256
+ value: string;
257
+ defaultValue: string;
258
+ ariaLabel: string;
259
+ background: BarBackground;
260
+ prominent: TabBarProminent;
261
+ minimizeBehavior: "never" | "onScrollDown";
262
+ minimized: boolean;
263
+ defaultMinimized: boolean;
264
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
265
+ /** Props of `TabBar`. */
266
+ export type TabBarProps = InstanceType<typeof TabBarComponent>["$props"];
267
+ /**
268
+ * The tab bar of a phone screen after the iOS 26 kit Tab Bar - iPhone (507:24689): two to five tabs, each a
269
+ * symbol over a label, in a floating glass capsule at the bottom, the selected tab on a pill, and an optional
270
+ * search or prominent tab in a circle of its own. It minimizes to the selected tab while the content scrolls
271
+ * down. A desktop layout navigates with a Sidebar or Tabs, so the bar never renders from 768px up.
272
+ */
273
+ export declare const TabBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
274
+ /** The controlled value of the selected tab. Bind with `v-model:value`. */
275
+ value: {
276
+ type: StringConstructor;
277
+ default: undefined;
278
+ };
279
+ /** The selected tab when it is initially rendered. */
280
+ defaultValue: {
281
+ type: StringConstructor;
282
+ default: undefined;
283
+ };
284
+ /** A search tab in a glass circle of its own at the trailing end, as the iOS 26 separate search tab. */
285
+ search: {
286
+ type: PropType<TabBarSearch>;
287
+ default: undefined;
288
+ };
289
+ /**
290
+ * The one destination the app lifts out of the capsule, a cart or a library, in a glass circle of its own at
291
+ * the trailing end, as the iOS 27 prominent tab role; its symbol is the `prominent-icon` slot. It takes the
292
+ * circle of the search tab: with both, search is the last tab of the capsule, as iOS gives search that place
293
+ * only when no other tab is prominent.
294
+ */
295
+ prominent: {
296
+ type: PropType<TabBarProminent>;
297
+ default: undefined;
298
+ };
299
+ /**
300
+ * `onScrollDown` minimizes the bar to the selected tab while the content of the `Page` scrolls down and
301
+ * expands it when the content scrolls back up; a tap on the minimized tab expands it too. @default "never"
302
+ */
303
+ minimizeBehavior: {
304
+ type: PropType<"never" | "onScrollDown">;
305
+ default: string;
306
+ };
307
+ /** Controlled minimized state. Bind with `v-model:minimized`. */
308
+ minimized: {
309
+ type: BooleanConstructor;
310
+ default: undefined;
311
+ };
312
+ /** The minimized state when it is initially rendered. @default false */
313
+ defaultMinimized: {
314
+ type: BooleanConstructor;
315
+ default: boolean;
316
+ };
317
+ /** How the bar meets the content scrolled under it; see `BarBackground`. @default "soft" */
318
+ background: {
319
+ type: PropType<BarBackground>;
320
+ default: string;
321
+ };
322
+ /** Accessible name of the navigation. @default "Tabs" */
323
+ ariaLabel: {
324
+ type: StringConstructor;
325
+ default: string;
326
+ };
327
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
328
+ [key: string]: any;
329
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
330
+ /** A tab was selected */
331
+ "update:value": (value: string) => boolean;
332
+ /** A tab was selected (React `onValueChange`) */
333
+ valueChange: (value: string) => boolean;
334
+ /** The bar minimized or expanded */
335
+ "update:minimized": (minimized: boolean) => boolean;
336
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
337
+ /** The controlled value of the selected tab. Bind with `v-model:value`. */
338
+ value: {
339
+ type: StringConstructor;
340
+ default: undefined;
341
+ };
342
+ /** The selected tab when it is initially rendered. */
343
+ defaultValue: {
344
+ type: StringConstructor;
345
+ default: undefined;
346
+ };
347
+ /** A search tab in a glass circle of its own at the trailing end, as the iOS 26 separate search tab. */
348
+ search: {
349
+ type: PropType<TabBarSearch>;
350
+ default: undefined;
351
+ };
352
+ /**
353
+ * The one destination the app lifts out of the capsule, a cart or a library, in a glass circle of its own at
354
+ * the trailing end, as the iOS 27 prominent tab role; its symbol is the `prominent-icon` slot. It takes the
355
+ * circle of the search tab: with both, search is the last tab of the capsule, as iOS gives search that place
356
+ * only when no other tab is prominent.
357
+ */
358
+ prominent: {
359
+ type: PropType<TabBarProminent>;
360
+ default: undefined;
361
+ };
362
+ /**
363
+ * `onScrollDown` minimizes the bar to the selected tab while the content of the `Page` scrolls down and
364
+ * expands it when the content scrolls back up; a tap on the minimized tab expands it too. @default "never"
365
+ */
366
+ minimizeBehavior: {
367
+ type: PropType<"never" | "onScrollDown">;
368
+ default: string;
369
+ };
370
+ /** Controlled minimized state. Bind with `v-model:minimized`. */
371
+ minimized: {
372
+ type: BooleanConstructor;
373
+ default: undefined;
374
+ };
375
+ /** The minimized state when it is initially rendered. @default false */
376
+ defaultMinimized: {
377
+ type: BooleanConstructor;
378
+ default: boolean;
379
+ };
380
+ /** How the bar meets the content scrolled under it; see `BarBackground`. @default "soft" */
381
+ background: {
382
+ type: PropType<BarBackground>;
383
+ default: string;
384
+ };
385
+ /** Accessible name of the navigation. @default "Tabs" */
386
+ ariaLabel: {
387
+ type: StringConstructor;
388
+ default: string;
389
+ };
390
+ }>> & Readonly<{
391
+ "onUpdate:value"?: ((value: string) => any) | undefined;
392
+ onValueChange?: ((value: string) => any) | undefined;
393
+ "onUpdate:minimized"?: ((minimized: boolean) => any) | undefined;
394
+ }>, {
395
+ search: TabBarSearch;
396
+ value: string;
397
+ defaultValue: string;
398
+ ariaLabel: string;
399
+ background: BarBackground;
400
+ prominent: TabBarProminent;
401
+ minimizeBehavior: "never" | "onScrollDown";
402
+ minimized: boolean;
403
+ defaultMinimized: boolean;
404
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
405
+ export {};
@@ -0,0 +1 @@
1
+ export { TabBar, TabBarItem, type TabBarItemProps, type TabBarProminent, type TabBarProps, type TabBarSearch } from "./TabBar.js";