@plexui/ui 0.29.0 → 0.31.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 (175) hide show
  1. package/dist/es/components/Alert/Alert.js +2 -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 +1 -1
  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 +1 -3
  9. package/dist/es/components/Checkbox/Checkbox.js.map +1 -1
  10. package/dist/es/components/ColorPicker/ColorPicker.js +227 -0
  11. package/dist/es/components/ColorPicker/ColorPicker.js.map +1 -0
  12. package/dist/es/components/ColorPicker/ColorWell.js +58 -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 +164 -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 +57 -0
  23. package/dist/es/components/ContextMenu/shared.js.map +1 -0
  24. package/dist/es/components/DatePicker/DatePicker.js +4 -2
  25. package/dist/es/components/DatePicker/DatePicker.js.map +1 -1
  26. package/dist/es/components/DateRangePicker/DateRangePicker.js.map +1 -1
  27. package/dist/es/components/Dialog/Dialog.js +118 -24
  28. package/dist/es/components/Dialog/Dialog.js.map +1 -1
  29. package/dist/es/components/Dialog/dialogSteps.js +85 -0
  30. package/dist/es/components/Dialog/dialogSteps.js.map +1 -0
  31. package/dist/es/components/Dialog/dialogViewport.js +74 -0
  32. package/dist/es/components/Dialog/dialogViewport.js.map +1 -0
  33. package/dist/es/components/Dialog/index.js +1 -1
  34. package/dist/es/components/Dialog/index.js.map +1 -1
  35. package/dist/es/components/Dialog/sheetDrag.js +2 -1
  36. package/dist/es/components/Dialog/sheetDrag.js.map +1 -1
  37. package/dist/es/components/Field/Field.js +3 -3
  38. package/dist/es/components/Field/Field.js.map +1 -1
  39. package/dist/es/components/FieldGroup/FieldGroup.js +4 -2
  40. package/dist/es/components/FieldGroup/FieldGroup.js.map +1 -1
  41. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.js +2 -2
  42. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.js.map +1 -1
  43. package/dist/es/components/Icon/index.js +1 -0
  44. package/dist/es/components/Icon/index.js.map +1 -1
  45. package/dist/es/components/Icon/svg/Eyedropper.js +6 -0
  46. package/dist/es/components/Icon/svg/Eyedropper.js.map +1 -0
  47. package/dist/es/components/IndexBar/IndexBar.js +164 -0
  48. package/dist/es/components/IndexBar/IndexBar.js.map +1 -0
  49. package/dist/es/components/IndexBar/index.js +2 -0
  50. package/dist/es/components/IndexBar/index.js.map +1 -0
  51. package/dist/es/components/Indicator/LoadingIndicator.js.map +1 -1
  52. package/dist/es/components/Input/Input.js +2 -2
  53. package/dist/es/components/Input/Input.js.map +1 -1
  54. package/dist/es/components/MarkdownEditor/MarkdownEditor.js +142 -1
  55. package/dist/es/components/MarkdownEditor/MarkdownEditor.js.map +1 -1
  56. package/dist/es/components/Menu/Menu.js +109 -29
  57. package/dist/es/components/Menu/Menu.js.map +1 -1
  58. package/dist/es/components/Page/Page.js +41 -14
  59. package/dist/es/components/Page/Page.js.map +1 -1
  60. package/dist/es/components/PageControl/PageControl.js +146 -0
  61. package/dist/es/components/PageControl/PageControl.js.map +1 -0
  62. package/dist/es/components/PageControl/index.js +2 -0
  63. package/dist/es/components/PageControl/index.js.map +1 -0
  64. package/dist/es/components/PhoneLayout/PhoneLayout.js +41 -0
  65. package/dist/es/components/PhoneLayout/PhoneLayout.js.map +1 -0
  66. package/dist/es/components/PhoneLayout/index.js +2 -0
  67. package/dist/es/components/PhoneLayout/index.js.map +1 -0
  68. package/dist/es/components/Popover/Popover.js +2 -1
  69. package/dist/es/components/Popover/Popover.js.map +1 -1
  70. package/dist/es/components/Select/Select.js +11 -6
  71. package/dist/es/components/Select/Select.js.map +1 -1
  72. package/dist/es/components/SelectControl/SelectControl.js +1 -1
  73. package/dist/es/components/SelectControl/SelectControl.js.map +1 -1
  74. package/dist/es/components/Sidebar/Sidebar.js +21 -8
  75. package/dist/es/components/Sidebar/Sidebar.js.map +1 -1
  76. package/dist/es/components/Slider/Slider.js +43 -8
  77. package/dist/es/components/Slider/Slider.js.map +1 -1
  78. package/dist/es/components/Stepper/Stepper.js +114 -0
  79. package/dist/es/components/Stepper/Stepper.js.map +1 -0
  80. package/dist/es/components/Stepper/index.js +2 -0
  81. package/dist/es/components/Stepper/index.js.map +1 -0
  82. package/dist/es/components/SwipeActions/SwipeActions.js +321 -0
  83. package/dist/es/components/SwipeActions/SwipeActions.js.map +1 -0
  84. package/dist/es/components/SwipeActions/index.js +2 -0
  85. package/dist/es/components/SwipeActions/index.js.map +1 -0
  86. package/dist/es/components/TabBar/TabBar.js +128 -0
  87. package/dist/es/components/TabBar/TabBar.js.map +1 -0
  88. package/dist/es/components/TabBar/index.js +2 -0
  89. package/dist/es/components/TabBar/index.js.map +1 -0
  90. package/dist/es/components/Tabs/Tabs.js +13 -6
  91. package/dist/es/components/Tabs/Tabs.js.map +1 -1
  92. package/dist/es/components/TagInput/TagInput.js +5 -65
  93. package/dist/es/components/TagInput/TagInput.js.map +1 -1
  94. package/dist/es/components/Textarea/Textarea.js +1 -1
  95. package/dist/es/components/Textarea/Textarea.js.map +1 -1
  96. package/dist/es/components/Tip/Tip.js +106 -0
  97. package/dist/es/components/Tip/Tip.js.map +1 -0
  98. package/dist/es/components/Tip/index.js +2 -0
  99. package/dist/es/components/Tip/index.js.map +1 -0
  100. package/dist/es/components/Toast/ToastRenderer.js +22 -9
  101. package/dist/es/components/Toast/ToastRenderer.js.map +1 -1
  102. package/dist/es/components/Toast/Toaster.js +17 -6
  103. package/dist/es/components/Toast/Toaster.js.map +1 -1
  104. package/dist/es/components/Toast/toastLifecycle.js +113 -1
  105. package/dist/es/components/Toast/toastLifecycle.js.map +1 -1
  106. package/dist/es/components/Toolbar/Toolbar.js +31 -5
  107. package/dist/es/components/Toolbar/Toolbar.js.map +1 -1
  108. package/dist/es/components/Toolbar/index.js.map +1 -1
  109. package/dist/es/hooks/useEscCloseStack.js +10 -3
  110. package/dist/es/hooks/useEscCloseStack.js.map +1 -1
  111. package/dist/es/lib/fieldRow.js +7 -1
  112. package/dist/es/lib/fieldRow.js.map +1 -1
  113. package/dist/es/lib/floatingBoundary.js +3 -1
  114. package/dist/es/lib/floatingBoundary.js.map +1 -1
  115. package/dist/es/lib/helpers.js +21 -0
  116. package/dist/es/lib/helpers.js.map +1 -1
  117. package/dist/es/lib/menuSubmenuPlacement.js +51 -6
  118. package/dist/es/lib/menuSubmenuPlacement.js.map +1 -1
  119. package/dist/es/lib/menuTriggerCover.js +70 -0
  120. package/dist/es/lib/menuTriggerCover.js.map +1 -0
  121. package/dist/es/lib/phoneLayout.js +16 -0
  122. package/dist/es/lib/phoneLayout.js.map +1 -0
  123. package/dist/es/lib/scrollEdges.js +34 -0
  124. package/dist/es/lib/scrollEdges.js.map +1 -0
  125. package/dist/es/lib/toastRegion.js +6 -0
  126. package/dist/es/lib/toastRegion.js.map +1 -0
  127. package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +8 -1
  128. package/dist/types/components/ButtonGroup/index.d.ts +1 -1
  129. package/dist/types/components/ColorPicker/ColorPicker.d.ts +34 -0
  130. package/dist/types/components/ColorPicker/ColorWell.d.ts +32 -0
  131. package/dist/types/components/ColorPicker/index.d.ts +3 -0
  132. package/dist/types/components/ColorPicker/shared.d.ts +69 -0
  133. package/dist/types/components/ContextMenu/ContextMenu.d.ts +78 -0
  134. package/dist/types/components/ContextMenu/index.d.ts +1 -0
  135. package/dist/types/components/ContextMenu/shared.d.ts +51 -0
  136. package/dist/types/components/DatePicker/DatePicker.d.ts +6 -1
  137. package/dist/types/components/DateRangePicker/DateRangePicker.d.ts +1 -0
  138. package/dist/types/components/Dialog/Dialog.d.ts +52 -3
  139. package/dist/types/components/Dialog/dialogSteps.d.ts +10 -0
  140. package/dist/types/components/Dialog/dialogViewport.d.ts +1 -0
  141. package/dist/types/components/Dialog/index.d.ts +1 -1
  142. package/dist/types/components/Field/Field.d.ts +11 -2
  143. package/dist/types/components/FieldGroup/FieldGroup.d.ts +11 -2
  144. package/dist/types/components/Icon/index.d.ts +1 -0
  145. package/dist/types/components/Icon/svg/Eyedropper.d.ts +6 -0
  146. package/dist/types/components/IndexBar/IndexBar.d.ts +35 -0
  147. package/dist/types/components/IndexBar/index.d.ts +1 -0
  148. package/dist/types/components/Indicator/LoadingIndicator.d.ts +1 -1
  149. package/dist/types/components/Menu/Menu.d.ts +79 -10
  150. package/dist/types/components/Page/Page.d.ts +8 -4
  151. package/dist/types/components/PageControl/PageControl.d.ts +52 -0
  152. package/dist/types/components/PageControl/index.d.ts +1 -0
  153. package/dist/types/components/PhoneLayout/PhoneLayout.d.ts +18 -0
  154. package/dist/types/components/PhoneLayout/index.d.ts +1 -0
  155. package/dist/types/components/Select/Select.d.ts +3 -3
  156. package/dist/types/components/Stepper/Stepper.d.ts +56 -0
  157. package/dist/types/components/Stepper/index.d.ts +1 -0
  158. package/dist/types/components/SwipeActions/SwipeActions.d.ts +46 -0
  159. package/dist/types/components/SwipeActions/index.d.ts +1 -0
  160. package/dist/types/components/TabBar/TabBar.d.ts +88 -0
  161. package/dist/types/components/TabBar/index.d.ts +1 -0
  162. package/dist/types/components/Tip/Tip.d.ts +57 -0
  163. package/dist/types/components/Tip/index.d.ts +1 -0
  164. package/dist/types/components/Toast/toastLifecycle.d.ts +34 -0
  165. package/dist/types/components/Toolbar/Toolbar.d.ts +19 -5
  166. package/dist/types/components/Toolbar/index.d.ts +1 -1
  167. package/dist/types/hooks/useEscCloseStack.d.ts +5 -1
  168. package/dist/types/lib/fieldRow.d.ts +6 -0
  169. package/dist/types/lib/helpers.d.ts +6 -0
  170. package/dist/types/lib/menuSubmenuPlacement.d.ts +14 -1
  171. package/dist/types/lib/menuTriggerCover.d.ts +23 -0
  172. package/dist/types/lib/phoneLayout.d.ts +11 -0
  173. package/dist/types/lib/scrollEdges.d.ts +16 -0
  174. package/dist/types/lib/toastRegion.d.ts +5 -0
  175. package/package.json +2 -2
@@ -0,0 +1,52 @@
1
+ import { type FocusEventHandler } from "react";
2
+ /** How an indicator shows: full size, one of the two shrinking sizes past the window, or hidden. */
3
+ export type PageControlDotSize = "full" | "small" | "smaller" | "hidden";
4
+ export type PageControlChangeDetails = {
5
+ /** The change came from scrubbing: show the page without the scrolling animation, as the HIG asks. */
6
+ scrubbing: boolean;
7
+ };
8
+ export type PageControlProps = {
9
+ /** The `id` of the page control. */
10
+ id?: string;
11
+ /** The number of pages. */
12
+ count: number;
13
+ /** The controlled index of the current page, from 0. Use with `onChange`. */
14
+ value?: number;
15
+ /** The index of the page when it is initially rendered. Use when you do not need to control the page. @default 0 */
16
+ defaultValue?: number;
17
+ /** Called with the index of the next page. */
18
+ onChange?: (index: number, details: PageControlChangeDetails) => void;
19
+ /**
20
+ * The rounded background behind the indicators: `automatic` shows it while a pointer presses or scrubs,
21
+ * `prominent` always, `minimal` never and turns off scrubbing, as in iOS. @default "automatic"
22
+ */
23
+ background?: "automatic" | "prominent" | "minimal";
24
+ /** The text assistive technology reads for the current page. @default (index, count) => `Page ${index + 1} of ${count}` */
25
+ valueText?: (index: number, count: number) => string;
26
+ /** Accessible name of the page control, when no visible label names it. @default "Pages" */
27
+ "aria-label"?: string;
28
+ /** The `id` of the visible label of the page control. */
29
+ "aria-labelledby"?: string;
30
+ /** The `id` of the element that shows the pages. */
31
+ "aria-controls"?: string;
32
+ /** Event handler called when the page control gains focus. */
33
+ onFocus?: FocusEventHandler<HTMLDivElement>;
34
+ /** Event handler called when the page control loses focus. */
35
+ onBlur?: FocusEventHandler<HTMLDivElement>;
36
+ /** CSS classes applied to the page control */
37
+ className?: string;
38
+ };
39
+ /**
40
+ * The size of each indicator, after the variants of the iOS 26 kit Page control (507:24679). Up to six pages
41
+ * show full size. Seven show six, and the one past them at 6px. From eight a window of full dots holds the current
42
+ * page: six at either end, otherwise five with the current one in the middle, and the two dots past each side of
43
+ * the window shrink to 6px and 4px; the rest hide.
44
+ */
45
+ export declare const pageControlDots: (count: number, current: number) => PageControlDotSize[];
46
+ /**
47
+ * A row of dots, one for each page, the current one solid, as the iOS 26 page control. Tapping the leading or
48
+ * trailing side of the current dot shows the previous or next page; a mouse or pen picks a dot. Dragging across
49
+ * scrubs page by page, and past either end goes to the first or last page. It is a slider for assistive
50
+ * technology: Left and Right (or Up and Down) move one page, Home and End go to the first and last.
51
+ */
52
+ export declare function PageControl({ id, count, value: valueProp, defaultValue, onChange, background, valueText, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-controls": ariaControls, onFocus, onBlur, className, }: PageControlProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { PageControl, pageControlDots, type PageControlChangeDetails, type PageControlDotSize, type PageControlProps } from "./PageControl.js";
@@ -0,0 +1,18 @@
1
+ import { type ComponentProps } from "react";
2
+ export type PhoneLayoutValue = {
3
+ /** Where dialogs inside the layout portal to: the PhoneLayout box, or null for the document body. */
4
+ container: HTMLElement | null;
5
+ };
6
+ /** Non-null inside a PhoneLayout or a Dialog with `layout="phone"`. */
7
+ export declare const PhoneLayoutContext: import("react").Context<PhoneLayoutValue | null>;
8
+ export type PhoneLayoutProps = ComponentProps<"div">;
9
+ /**
10
+ * Lays out what it holds as on a phone at any window width, such as a phone frame on a desktop page: components take
11
+ * their phone presentation inside it, and a Dialog opened inside it covers the box instead of the window.
12
+ */
13
+ export declare const PhoneLayout: ({ className, children, ref, ...rest }: PhoneLayoutProps) => import("react/jsx-runtime").JSX.Element;
14
+ /**
15
+ * Whether components here are laid out as on a phone: inside a PhoneLayout (or a Dialog with `layout="phone"`), or
16
+ * in a window 767px wide or narrower. The server answers false outside a PhoneLayout.
17
+ */
18
+ export declare const usePhoneLayout: () => boolean;
@@ -0,0 +1 @@
1
+ export { PhoneLayout, PhoneLayoutContext, usePhoneLayout, type PhoneLayoutProps, type PhoneLayoutValue } from "./PhoneLayout.js";
@@ -176,7 +176,7 @@ export type SelectProps<T extends Option> = (SingleSelectProps<T> | MultiSelectP
176
176
  side?: PopoverSide;
177
177
  /**
178
178
  * The preferred alignment against the trigger. May change when collisions occur.
179
- * @default center
179
+ * @default "end" at the end of a `Field row` ("start" in a `FieldGroup columns`), "center" when block, otherwise "start"
180
180
  */
181
181
  align?: PopoverAlign;
182
182
  /**
@@ -191,7 +191,7 @@ export type SelectProps<T extends Option> = (SingleSelectProps<T> | MultiSelectP
191
191
  avoidCollisions?: boolean;
192
192
  /**
193
193
  * Set the width of the custom select menu
194
- * @default the width of the trigger (fits the options when not block)
194
+ * @default the width of the trigger (fits the options when not block or at the end of a `Field row`)
195
195
  */
196
196
  listWidth?: number | "auto";
197
197
  /**
@@ -201,7 +201,7 @@ export type SelectProps<T extends Option> = (SingleSelectProps<T> | MultiSelectP
201
201
  listMinWidth?: number | "auto";
202
202
  /**
203
203
  * Defines the `max-width` property of the custom select menu, in pixels.
204
- * @default auto (300 when not block)
204
+ * @default auto (300 when it fits the options)
205
205
  */
206
206
  listMaxWidth?: number | "auto";
207
207
  /** Predicate used to filter searches */
@@ -0,0 +1,56 @@
1
+ import { type FocusEventHandler } from "react";
2
+ export type StepperProps = {
3
+ /** The `id` of the stepper. */
4
+ id?: string;
5
+ /** The controlled value. Use with `onChange`. */
6
+ value?: number;
7
+ /** The value when it is initially rendered. Use when you do not need to control the value. @default min */
8
+ defaultValue?: number;
9
+ /** Called with the next value after a step. */
10
+ onChange?: (value: number) => void;
11
+ /** The lowest value. @default 0 */
12
+ min?: number;
13
+ /** The highest value. @default 100 */
14
+ max?: number;
15
+ /** The amount each step adds or removes. @default 1 */
16
+ step?: number;
17
+ /** A step past `max` continues from `min`, and one below `min` from `max`. @default false */
18
+ wrap?: boolean;
19
+ /** Holding a segment keeps stepping, as a native stepper does. @default true */
20
+ autoRepeat?: boolean;
21
+ /** When `true`, prevents the user from interacting with the stepper. */
22
+ disabled?: boolean;
23
+ /** Fully rounded ends. @default true */
24
+ pill?: boolean;
25
+ /** Accessible name of the decrement segment. @default "Decrease" */
26
+ decrementLabel?: string;
27
+ /** Accessible name of the increment segment. @default "Increase" */
28
+ incrementLabel?: string;
29
+ /** The name of the stepper. Submits its value with the owning form. */
30
+ name?: string;
31
+ /** Accessible name of the value the stepper changes, when no visible label names it. */
32
+ "aria-label"?: string;
33
+ /** The `id` of the visible label of the value the stepper changes. */
34
+ "aria-labelledby"?: string;
35
+ /** The `id` of an element that describes the stepper, such as the text that shows its value. */
36
+ "aria-describedby"?: string;
37
+ /** Event handler called when the stepper gains focus. */
38
+ onFocus?: FocusEventHandler<HTMLDivElement>;
39
+ /** Event handler called when the stepper loses focus. */
40
+ onBlur?: FocusEventHandler<HTMLDivElement>;
41
+ /** CSS classes applied to the stepper */
42
+ className?: string;
43
+ };
44
+ /** The value one step away, clamped to the range or wrapped, without floating point drift. */
45
+ export declare const stepValue: (current: number, direction: 1 | -1, { min, max, step, wrap }: {
46
+ min: number;
47
+ max: number;
48
+ step: number;
49
+ wrap: boolean;
50
+ }) => number;
51
+ /**
52
+ * Two segments that decrease and increase a number, as the iOS 26 stepper does. It shows no value of its own:
53
+ * name it with `aria-label` or `aria-labelledby` and show the value beside it. Keyboard focus lands on the
54
+ * stepper, a spin button: Up and Down step, Page Up and Page Down step ten times, Home and End go to the range ends.
55
+ */
56
+ export declare function Stepper({ id, value: valueProp, defaultValue, onChange, min, max, step, wrap, autoRepeat, disabled, pill, decrementLabel, incrementLabel, name, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, onFocus, onBlur, className, }: StepperProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { Stepper, type StepperProps } from "./Stepper.js";
@@ -0,0 +1,46 @@
1
+ import { type ComponentType, type ReactNode, type SVGProps } from "react";
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?: ComponentType<SVGProps<SVGSVGElement>>;
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
+ export type SwipeActionsProps = {
17
+ /** Actions revealed by a swipe toward the trailing edge, the first one at the leading edge */
18
+ leading?: SwipeAction[];
19
+ /** Actions revealed by a swipe toward the leading edge, the first one at the trailing edge */
20
+ trailing?: SwipeAction[];
21
+ /** Where the actions show their labels: `"hidden"` (symbols only), `"inside"` the capsule, or `"below"` it (for rows of 68px and taller). @default "hidden" */
22
+ labelPlacement?: "hidden" | "inside" | "below";
23
+ /** A swipe past the middle between the open actions and the far edge runs the first action of that side. @default true */
24
+ fullSwipe?: boolean;
25
+ /** CSS classes applied to the row */
26
+ className?: string;
27
+ /** The content of the row */
28
+ children?: ReactNode;
29
+ };
30
+ /**
31
+ * Where the content goes for a swipe of `raw` px toward the trailing edge (negative: toward the leading edge), and
32
+ * whether that is a full swipe. A side without actions stays shut. Past its actions the content follows the finger
33
+ * where a full swipe is allowed, and a third as fast where it is not; past the middle between the open actions and
34
+ * the far edge of the row the swipe is full.
35
+ */
36
+ export declare const swipeActionsOffset: (raw: number, widths: Record<SwipeActionsSide, number>, rowWidth: number, fullSwipe: boolean) => {
37
+ offset: number;
38
+ full: boolean;
39
+ };
40
+ /**
41
+ * Actions behind a row of a list, as the swipe actions of an iOS list: a swipe toward the leading edge reveals the
42
+ * trailing actions, a swipe toward the trailing edge the leading ones, and a full swipe runs the first action of
43
+ * that side. The row is a `data-row` of a FieldGroup. Each action is also a button in the order of the screen, and
44
+ * the focus on one shows its side.
45
+ */
46
+ export declare function SwipeActions({ leading, trailing, labelPlacement, fullSwipe, className, children, }: SwipeActionsProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { SwipeActions, swipeActionsOffset, type SwipeAction, type SwipeActionColor, type SwipeActionsProps, type SwipeActionsSide } from "./SwipeActions.js";
@@ -0,0 +1,88 @@
1
+ import { type MouseEvent, type ReactNode, type Ref } from "react";
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
+ export type TabBarProminent = {
10
+ /** The value of the prominent tab. */
11
+ value: string;
12
+ /** Accessible name of the prominent tab: its circle shows the symbol only. */
13
+ label: string;
14
+ /** The symbol, a PlexUI icon. */
15
+ icon: ReactNode;
16
+ };
17
+ export type TabBarProps = {
18
+ /** The controlled value of the selected tab. Use with `onValueChange`. */
19
+ value?: string;
20
+ /** The selected tab when it is initially rendered. */
21
+ defaultValue?: string;
22
+ /** Called with the value of the tab a person selects. */
23
+ onValueChange?: (value: string) => void;
24
+ /** A search tab in a glass circle of its own at the trailing end, as the iOS 26 separate search tab. */
25
+ search?: TabBarSearch;
26
+ /**
27
+ * The one destination the app lifts out of the capsule, a cart or a library, in a glass circle of its own at
28
+ * the trailing end, as the iOS 27 prominent tab role. It takes the circle of the search tab: with both, search
29
+ * is the last tab of the capsule, as iOS gives search that place only when no other tab is prominent.
30
+ */
31
+ prominent?: TabBarProminent;
32
+ /**
33
+ * `onScrollDown` minimizes the bar to the selected tab while the content of the `Page` scrolls down and
34
+ * expands it when the content scrolls back up; a tap on the minimized tab expands it too. @default "never"
35
+ */
36
+ minimizeBehavior?: "never" | "onScrollDown";
37
+ /** Controlled minimized state. Use with `onMinimizedChange`. */
38
+ minimized?: boolean;
39
+ /** The minimized state when it is initially rendered. @default false */
40
+ defaultMinimized?: boolean;
41
+ /** Called when the bar minimizes or expands. */
42
+ onMinimizedChange?: (minimized: boolean) => void;
43
+ /** How the bar meets the content scrolled under it; see `BarBackground`. @default "soft" */
44
+ background?: BarBackground;
45
+ /** Accessible name of the navigation. @default "Tabs" */
46
+ "aria-label"?: string;
47
+ /** `TabBar.Item` elements. */
48
+ children?: ReactNode;
49
+ /** CSS classes applied to the bar */
50
+ className?: string;
51
+ ref?: Ref<HTMLElement>;
52
+ };
53
+ /**
54
+ * The tab bar of a phone screen after the iOS 26 kit Tab Bar - iPhone (507:24689): two to five tabs, each a
55
+ * symbol over a label, in a floating glass capsule at the bottom, the selected tab on a pill, and an optional
56
+ * search or prominent tab in a circle of its own. It minimizes to the selected tab while the content scrolls
57
+ * down. A desktop layout navigates with a Sidebar or Tabs, so the bar never renders from 768px up.
58
+ */
59
+ declare function TabBarRoot({ value: valueProp, defaultValue, onValueChange, search, prominent, minimizeBehavior, minimized: minimizedProp, defaultMinimized, onMinimizedChange, background, "aria-label": ariaLabel, children, className, ref, }: TabBarProps): import("react/jsx-runtime").JSX.Element;
60
+ declare namespace TabBarRoot {
61
+ var displayName: string;
62
+ }
63
+ export type TabBarItemProps = {
64
+ /** The value of the tab. */
65
+ value: string;
66
+ /** The label under the symbol, and the accessible name of the tab. */
67
+ label: string;
68
+ /** The symbol, a PlexUI icon. */
69
+ icon: ReactNode;
70
+ /** Makes the tab a link to this URL. */
71
+ href?: string;
72
+ /** When `true`, the tab cannot be selected. */
73
+ disabled?: boolean;
74
+ /** Called when the tab is pressed, before it is selected. */
75
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
76
+ /** CSS classes applied to the tab */
77
+ className?: string;
78
+ /** @internal The search and the prominent tab show their symbol only. */
79
+ hideLabel?: boolean;
80
+ };
81
+ declare function TabBarItem({ value, label, icon, href, disabled, onClick, className, hideLabel }: TabBarItemProps): import("react/jsx-runtime").JSX.Element;
82
+ declare namespace TabBarItem {
83
+ var displayName: string;
84
+ }
85
+ export declare const TabBar: typeof TabBarRoot & {
86
+ Item: typeof TabBarItem;
87
+ };
88
+ export {};
@@ -0,0 +1 @@
1
+ export { TabBar, type TabBarItemProps, type TabBarProminent, type TabBarProps, type TabBarSearch } from "./TabBar.js";
@@ -0,0 +1,57 @@
1
+ import { type ReactElement, type ReactNode, type Ref } from "react";
2
+ /** The edge of an inline tip that points at what it explains. */
3
+ export type TipArrowEdge = "top" | "bottom" | "left" | "right";
4
+ /** How a tip's actions show on a phone. */
5
+ export type TipMobileActions = "rows" | "buttons";
6
+ type TipContentProps = {
7
+ /** The tip's title: what the feature is. */
8
+ title: ReactNode;
9
+ /** One or two sentences on how to use it. */
10
+ description?: ReactNode;
11
+ /** A symbol or image that leads the message, as a TipKit tip's image. */
12
+ icon?: ReactNode;
13
+ /** Buttons for the tip's actions, side by side below the message. */
14
+ actions?: ReactNode;
15
+ /**
16
+ * How the actions show at 767px and below: rows of text under a separator, as iOS tips show them, or the buttons
17
+ * as given, each a full-width capsule under the message, as an iOS card that asks for a permission.
18
+ * @default "rows"
19
+ */
20
+ mobileActions?: TipMobileActions;
21
+ };
22
+ export type TipProps = TipContentProps & {
23
+ /** Shows the Close button; called when it is clicked. */
24
+ onClose?: () => void;
25
+ /** Draws an arrow at this edge, pointing at what the tip explains (TipKit's annotation). */
26
+ arrowEdge?: TipArrowEdge;
27
+ /** Class applied to the tip */
28
+ className?: string;
29
+ /** Ref applied to the tip */
30
+ ref?: Ref<HTMLDivElement>;
31
+ };
32
+ /** A tip inside the page, after TipKit: a title, a description, an optional symbol, actions and Close. */
33
+ export declare const Tip: {
34
+ ({ ref, ...props }: TipProps): import("react/jsx-runtime").JSX.Element;
35
+ Popover: ({ open: controlledOpen, defaultOpen, onOpenChange, children, side, align, sideOffset, closeButton, className, ...content }: TipPopoverProps) => import("react/jsx-runtime").JSX.Element;
36
+ };
37
+ export type TipPopoverProps = TipContentProps & {
38
+ /** Shows the tip (controlled). */
39
+ open?: boolean;
40
+ /** Shows the tip at first (uncontrolled). @default false */
41
+ defaultOpen?: boolean;
42
+ /** Called when the tip opens or closes: Close, Escape or a press outside closes it. */
43
+ onOpenChange?: (open: boolean) => void;
44
+ /** The control the tip explains. It stays usable while the tip shows. */
45
+ children: ReactElement;
46
+ /** The side of the control the tip shows on. Turned when it does not fit. @default bottom */
47
+ side?: "top" | "right" | "bottom" | "left";
48
+ /** The alignment against the control. @default center */
49
+ align?: "start" | "center" | "end";
50
+ /** The distance from the control to the arrow's point, in pixels. @default 4 */
51
+ sideOffset?: number;
52
+ /** Shows the Close button. @default true */
53
+ closeButton?: boolean;
54
+ /** Class applied to the popover around the tip and its arrow */
55
+ className?: string;
56
+ };
57
+ export {};
@@ -0,0 +1 @@
1
+ export { Tip, type TipArrowEdge, type TipMobileActions, type TipPopoverProps, type TipProps } from "./Tip.js";
@@ -54,6 +54,14 @@ export declare class ToastLifecycle<T extends ToastData> {
54
54
  private lists;
55
55
  private suppressed;
56
56
  private lastPointerType;
57
+ private region;
58
+ private announcers;
59
+ private announced;
60
+ /** Alerts read by the assertive announcer: shown behind the stack, their own role could not speak */
61
+ private assertive;
62
+ private announceTimers;
63
+ private pending;
64
+ private flushTimer?;
57
65
  constructor(dismissStore: (id: ToastId) => unknown, notify: (reason: "dismiss" | "auto", toast: T) => void);
58
66
  subscribe: (listener: () => void) => () => void;
59
67
  snapshot: () => number;
@@ -62,6 +70,17 @@ export declare class ToastLifecycle<T extends ToastData> {
62
70
  get paused(): boolean;
63
71
  connect(doc: Document): void;
64
72
  private visibility;
73
+ private isolate;
74
+ setRegion(node: HTMLElement | null): void;
75
+ setAnnouncer(kind: "polite" | "assertive", node: HTMLElement | null): void;
76
+ /** An error that waits to be closed interrupts as an alert; every other toast is read politely. */
77
+ alert(entry: ToastEntry<T>): boolean;
78
+ /** Whether a toast's content carries role="alert": an alert, unless it came in behind the stack and the assertive announcer read it. */
79
+ alertRole(entry: ToastEntry<T>, custom: boolean): boolean;
80
+ private visible;
81
+ /** Reads a toast's words once, and again only when they change (a promise that settles, a custom toast's own state). */
82
+ speak(id: ToastId, node: HTMLElement, custom: boolean): void;
83
+ private flush;
65
84
  disconnect(): void;
66
85
  sync(toasts: T[], config: ToastConfig): void;
67
86
  private pause;
@@ -84,6 +103,21 @@ export declare class ToastLifecycle<T extends ToastData> {
84
103
  pointerMove(id: ToastId, event: PointerEvent): void;
85
104
  pointerEnd(id: ToastId, event: PointerEvent, cancelled?: boolean): void;
86
105
  }
106
+ /** The words a toast says: its title and description, or a custom toast's text. */
107
+ export declare const toastText: (node: HTMLElement) => string;
108
+ /** Hides the polite announcer from sight, not from a screen reader. */
109
+ export declare const announcerStyle: {
110
+ readonly position: "absolute";
111
+ readonly width: "1px";
112
+ readonly height: "1px";
113
+ readonly margin: "-1px";
114
+ readonly padding: "0";
115
+ readonly overflow: "hidden";
116
+ readonly clip: "rect(0 0 0 0)";
117
+ readonly clipPath: "inset(50%)";
118
+ readonly whiteSpace: "nowrap";
119
+ readonly border: "0";
120
+ };
87
121
  export type Offset = number | string | Partial<Record<"top" | "right" | "bottom" | "left", number | string>>;
88
122
  export declare const offsetStyles: (offset: Offset | undefined, mobileOffset: Offset | undefined) => Record<string, string>;
89
123
  export declare const documentDirection: (doc: Document | undefined) => "ltr" | "rtl";
@@ -3,8 +3,18 @@ export type ToolbarPlacement = "top" | "bottom";
3
3
  /** Title layouts of the phone top bar. */
4
4
  export type ToolbarTitleStyle = "inline" | "large" | "compact-large" | "compact-medium";
5
5
  export type ToolbarTitleAlign = "center" | "start";
6
- /** `"edge"` fades the canvas over content scrolled under the bar; `"solid"` fills the bar. */
7
- export type ToolbarBackground = "edge" | "solid";
6
+ /**
7
+ * How a bar meets the content scrolled under it, after the scroll edge effect of iOS 26:
8
+ * - `"soft"` (the default of a bottom bar): at the top, the canvas color covers the content under the bar's controls and fades out past them, over a
9
+ * light blur; at the bottom of a page the content stays clear under and around the controls, as on native iOS 26,
10
+ * and a Sheet's bottom bar fades its content into the panel
11
+ * - `"hard"`: an opaque bar of the canvas color with a line once content is under it
12
+ * - `"glass"` (the default of a top bar): a translucent, blurred bar with a hairline, shown once content is under it
13
+ * - `"solid"`: an opaque bar of the canvas color without a line
14
+ */
15
+ export type BarBackground = "soft" | "hard" | "glass" | "solid";
16
+ /** `"edge"` is the earlier name of `"soft"`. */
17
+ export type ToolbarBackground = BarBackground | "edge";
8
18
  /**
9
19
  * A surface that places phone toolbars: `Page` puts the top bar over its content
10
20
  * and reserves the space; `Dialog` puts it under the Sheet's grabber.
@@ -12,8 +22,12 @@ export type ToolbarBackground = "edge" | "solid";
12
22
  export type ToolbarHost = {
13
23
  kind: "page" | "dialog";
14
24
  setHeight?: (placement: ToolbarPlacement, height: number | undefined) => void;
15
- /** Content has scrolled under the top bar, so its glass casts a shadow. */
25
+ /** Content has scrolled under the top bar, so its glass casts a shadow and a hard or glass bar shows its line. */
16
26
  scrolled?: boolean;
27
+ /** Content continues under the bottom bar, so a hard or glass bar shows its line. */
28
+ contentBelow?: boolean;
29
+ /** Calls the listener with the content's scroll offset on every scroll; returns the unsubscribe. A TabBar minimizes with it. */
30
+ subscribeScroll?: (listener: (scrollTop: number) => void) => () => void;
17
31
  };
18
32
  export declare const ToolbarHostContext: import("react").Context<ToolbarHost | null>;
19
33
  export type ToolbarProps = HTMLAttributes<HTMLDivElement> & {
@@ -23,11 +37,11 @@ export type ToolbarProps = HTMLAttributes<HTMLDivElement> & {
23
37
  titleStyle?: ToolbarTitleStyle;
24
38
  /** Alignment of an inline title. Compact and large titles always start at the leading edge. @default "center" */
25
39
  titleAlign?: ToolbarTitleAlign;
26
- /** @default "edge" */
40
+ /** How the bar meets the content scrolled under it on a phone. @default "glass" at the top, "soft" at the bottom */
27
41
  background?: ToolbarBackground;
28
42
  ref?: Ref<HTMLDivElement>;
29
43
  };
30
- declare function ToolbarRoot({ placement, titleStyle, titleAlign, background, className, ref, ...restProps }: ToolbarProps): import("react/jsx-runtime").JSX.Element;
44
+ declare function ToolbarRoot({ placement, titleStyle, titleAlign, background, className, children, ref, ...restProps }: ToolbarProps): import("react/jsx-runtime").JSX.Element;
31
45
  declare namespace ToolbarRoot {
32
46
  var displayName: string;
33
47
  }
@@ -1 +1 @@
1
- export { Toolbar, ToolbarHostContext, type ToolbarBackground, type ToolbarContentProps, type ToolbarHost, type ToolbarPlacement, type ToolbarProps, type ToolbarSlotProps, type ToolbarTitleAlign, type ToolbarTitleProps, type ToolbarTitleStyle, } from "./Toolbar.js";
1
+ export { Toolbar, ToolbarHostContext, type BarBackground, type ToolbarBackground, type ToolbarContentProps, type ToolbarHost, type ToolbarPlacement, type ToolbarProps, type ToolbarSlotProps, type ToolbarTitleAlign, type ToolbarTitleProps, type ToolbarTitleStyle, } from "./Toolbar.js";
@@ -1 +1,5 @@
1
- export declare const useEscCloseStack: (listening: boolean, cb: () => void) => void;
1
+ /**
2
+ * Escape closes the most recently registered listener first, so nested overlays close one at a time. The callback
3
+ * gets the key event, already prevented.
4
+ */
5
+ export declare const useEscCloseStack: (listening: boolean, cb: (event: KeyboardEvent) => void) => void;
@@ -4,5 +4,11 @@
4
4
  * rounded.
5
5
  */
6
6
  export declare const FieldRowContext: import("react").Context<boolean>;
7
+ /** True when the control ends a `Field row`. */
8
+ export declare const useFieldRow: () => boolean;
9
+ /** True in a `FieldGroup columns`, where every value starts at one column. */
10
+ export declare const FieldColumnsContext: import("react").Context<boolean>;
11
+ /** True when the control's value starts at the column of a `FieldGroup columns`. */
12
+ export declare const useFieldColumns: () => boolean;
7
13
  /** The control's own `pill`, or else the shape of its row. */
8
14
  export declare const useFieldRowPill: (pill: boolean | undefined) => boolean;
@@ -26,6 +26,12 @@ export declare const toFilterProperty: ({ blur }?: {
26
26
  export declare const dataAttributes: (props: Record<string, unknown>) => {
27
27
  [k: string]: unknown;
28
28
  };
29
+ /**
30
+ * A copy of a key event that a handler can cancel. An event that reaches the Escape stack is already prevented, so
31
+ * its own `defaultPrevented` cannot tell whether an owner's handler asked to keep the overlay open. The copy keeps
32
+ * the key, the modifiers and the target.
33
+ */
34
+ export declare const cancelableKeyCopy: (event: KeyboardEvent) => KeyboardEvent;
29
35
  export declare const preventDefaultHandler: (evt: Event) => void;
30
36
  /**
31
37
  * For an overlay's close auto focus: focus that moved on to something else
@@ -22,15 +22,28 @@ export type PhoneSubmenuState = {
22
22
  unavailable: boolean;
23
23
  label: string;
24
24
  } & PhoneSubmenuPlacement);
25
- export declare function solvePhoneSubmenuPlacement({ boundary, trigger, parent, width, height, paddingTop, direction, }: {
25
+ export declare function solvePhoneSubmenuPlacement({ boundary, trigger, parent, reference, width, height, paddingTop, direction, }: {
26
26
  boundary: MenuRect;
27
27
  trigger: MenuRect;
28
28
  parent: MenuRect;
29
+ /** The row's box as the primitive measures it, when the parent steps back (`readRestingMenuRects`) */
30
+ reference?: MenuRect;
29
31
  width: number;
30
32
  height: number;
31
33
  paddingTop: number;
32
34
  direction: "ltr" | "rtl";
33
35
  }): PhoneSubmenuPlacement | null;
36
+ /**
37
+ * The boxes of a parent menu and of the row that opened a submenu at rest. While a phone submenu stands over it the
38
+ * parent steps back with the CSS `scale` property (Menu.module.css, iOS-menu IMG_5677), and the submenu keeps the
39
+ * parent's resting box, as the native one does: undo that scale around the parent's transform origin, at whatever
40
+ * value its transition has reached.
41
+ */
42
+ export declare function readRestingMenuRects(parent: HTMLElement, trigger: HTMLElement): {
43
+ parent: MenuRect;
44
+ trigger: MenuRect;
45
+ reference: MenuRect;
46
+ };
34
47
  /** Consume boundary91's resolved footer padding; never subtract the footer again. */
35
48
  export declare function readMenuBoundaryRect(document: Document, boundary: MenuFloatingBoundary): MenuRect | null;
36
49
  /** A text snapshot, never a clone of a consumer's rich children or their IDs. */
@@ -0,0 +1,23 @@
1
+ /** Where a phone menu stands over its trigger: the side offset that covers it, and the side it opens to. */
2
+ export type MenuTriggerCover = {
3
+ sideOffset: number;
4
+ side: "top" | "bottom";
5
+ };
6
+ /**
7
+ * On a phone a menu grows out of the control that opens it and covers it, as iOS 26 menus do: the panel's top is the
8
+ * control's top, or its bottom when the menu opens upward, and its aligned edge is the control's edge (iOS-menu
9
+ * IMG_5657 and IMG_5654, the More button of a top bar; IMG_5658, a button of a group; IMG_5649, the value of a form
10
+ * row; IMG_5675 opens upward over its row). It opens toward the larger part of the screen: downward from a control in
11
+ * the upper half, upward from one in the lower half even when it would fit below (IMG_5688, the Icon and List Size
12
+ * row of Files' View Options; IMG_5687, IMG_5689, and IMG_5693 from a bottom bar). Reports the side offset that puts
13
+ * the panel there, minus the control's height, and that side, while the screen is a phone, and `null` on a larger one,
14
+ * where the menu keeps its gap below the control.
15
+ */
16
+ export declare function observeMenuTriggerCover(trigger: HTMLElement, onChange: (cover: MenuTriggerCover | null) => void): () => void;
17
+ /**
18
+ * A mouse opens a menu when its button goes down, so on a phone-wide window the menu that covers the trigger is under
19
+ * the pointer when the button comes up, and that release would choose the item there. Cancels the release of the press
20
+ * that opened the menu while it is still over the trigger; a press dragged off the trigger onto an item still chooses
21
+ * it, as a touch dragged through an iOS menu does.
22
+ */
23
+ export declare function ignoreReleaseOverTrigger(trigger: HTMLElement, pointerId: number): void;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The phone layout outside a narrow window (plan 176). The style sheets apply their phone rules (767px and below)
3
+ * inside an element marked `data-plex-layout="phone"` too, at any window width: PhoneLayout marks one, and so does a
4
+ * Dialog with `layout="phone"`. Scripts that change what they do on a phone ask the same question here.
5
+ */
6
+ export declare const PHONE_LAYOUT_SCOPE = "[data-plex-layout=\"phone\"]";
7
+ export declare const PHONE_MEDIA = "(max-width: 767px)";
8
+ /** The window is 767px wide or narrower. */
9
+ export declare const isPhoneWindow: (view: Window | null | undefined) => boolean;
10
+ /** The element is laid out as on a phone: inside a phone layout, or in a window 767px wide or narrower. */
11
+ export declare const isPhoneLayout: (element: Element) => boolean;
@@ -0,0 +1,16 @@
1
+ /** Where content lies under the bars of a scroll area. */
2
+ export type ScrollEdges = {
3
+ /** Content has scrolled under the top bar. */
4
+ scrolled: boolean;
5
+ /** Content continues under the bottom bar. */
6
+ contentBelow: boolean;
7
+ };
8
+ export declare const NO_SCROLL_EDGES: ScrollEdges;
9
+ export declare const SCROLL_EDGE_SLOP = 4;
10
+ export declare const scrollEdges: (element: HTMLElement) => ScrollEdges;
11
+ export declare const sameScrollEdges: (a: ScrollEdges, b: ScrollEdges) => boolean;
12
+ /**
13
+ * Reports the scroll edges of `element` now and whenever its scroll offset, its size or the size of its
14
+ * content changes, so a bar can show its line only while content is under it. Returns the cleanup.
15
+ */
16
+ export declare const observeScrollEdges: (element: HTMLElement, onChange: (edges: ScrollEdges) => void) => (() => void);
@@ -0,0 +1,5 @@
1
+ /**
2
+ * The toast region is a layer of its own above any overlay: a press, focus or Escape inside a toast belongs to the
3
+ * toast, never to a Dialog, Popover or Menu under it. Every toast list carries `data-sonner-toaster`.
4
+ */
5
+ export declare const inToastRegion: (target: EventTarget | null | undefined) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/ui",
3
- "version": "0.29.0",
3
+ "version": "0.31.0",
4
4
  "description": "Modern design system for building high-quality applications",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -99,7 +99,7 @@
99
99
  "@maskito/core": "^5.2.2",
100
100
  "@maskito/kit": "^5.2.2",
101
101
  "@maskito/react": "^5.2.2",
102
- "@plexui/styles": "^0.1.33",
102
+ "@plexui/styles": "^0.1.35",
103
103
  "@radix-ui/react-dismissable-layer": "1.2.1",
104
104
  "@radix-ui/react-focus-guards": "1.2.0",
105
105
  "@radix-ui/react-focus-scope": "1.3.1",