@duro-app/ui 5.1.0 → 5.3.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 (233) hide show
  1. package/dist/Table-Cm5cCnZD.js +1524 -0
  2. package/dist/Table-Cm5cCnZD.js.map +1 -0
  3. package/dist/components/ActionBar/styles.css.d.ts +1 -1
  4. package/dist/components/ActionBar/styles.css.d.ts.map +1 -1
  5. package/dist/components/Badge/Badge.d.ts +1 -1
  6. package/dist/components/Badge/Badge.d.ts.map +1 -1
  7. package/dist/components/Badge/Badge.stories.d.ts +3 -0
  8. package/dist/components/Badge/Badge.stories.d.ts.map +1 -1
  9. package/dist/components/Badge/styles.css.d.ts +4 -0
  10. package/dist/components/Badge/styles.css.d.ts.map +1 -1
  11. package/dist/components/Button/Button.d.ts +11 -2
  12. package/dist/components/Button/Button.d.ts.map +1 -1
  13. package/dist/components/Button/Button.stories.d.ts +1 -0
  14. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  15. package/dist/components/ButtonGroup/ButtonGroup.d.ts +9 -2
  16. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  17. package/dist/components/ButtonGroup/ButtonGroup.meta.d.ts.map +1 -1
  18. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +19 -0
  19. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts.map +1 -1
  20. package/dist/components/ButtonGroup/ButtonGroupContext.d.ts +13 -0
  21. package/dist/components/ButtonGroup/ButtonGroupContext.d.ts.map +1 -0
  22. package/dist/components/ButtonGroup/attached.css.d.ts +34 -0
  23. package/dist/components/ButtonGroup/attached.css.d.ts.map +1 -0
  24. package/dist/components/ButtonGroup/styles.css.d.ts +7 -0
  25. package/dist/components/ButtonGroup/styles.css.d.ts.map +1 -1
  26. package/dist/components/ButtonGroup/useGroupedControl.d.ts +25 -0
  27. package/dist/components/ButtonGroup/useGroupedControl.d.ts.map +1 -0
  28. package/dist/components/Combobox/Combobox.d.ts +1 -1
  29. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  30. package/dist/components/Combobox/styles.css.d.ts +0 -64
  31. package/dist/components/Combobox/styles.css.d.ts.map +1 -1
  32. package/dist/components/Dialog/Dialog.d.ts +11 -3
  33. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  34. package/dist/components/Dialog/Dialog.stories.d.ts +4 -0
  35. package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
  36. package/dist/components/Dialog/styles.css.d.ts +3 -2
  37. package/dist/components/Dialog/styles.css.d.ts.map +1 -1
  38. package/dist/components/DragDrop/DragDrop.d.ts.map +1 -1
  39. package/dist/components/DragDrop/styles.css.d.ts +11 -3
  40. package/dist/components/DragDrop/styles.css.d.ts.map +1 -1
  41. package/dist/components/Drawer/Drawer.d.ts.map +1 -1
  42. package/dist/components/Drawer/styles.css.d.ts +2 -2
  43. package/dist/components/Drawer/styles.css.d.ts.map +1 -1
  44. package/dist/components/Grid/Grid.d.ts +11 -2
  45. package/dist/components/Grid/Grid.d.ts.map +1 -1
  46. package/dist/components/Grid/Grid.stories.d.ts +2 -0
  47. package/dist/components/Grid/Grid.stories.d.ts.map +1 -1
  48. package/dist/components/Input/Input.d.ts +6 -1
  49. package/dist/components/Input/Input.d.ts.map +1 -1
  50. package/dist/components/Input/Input.meta.d.ts.map +1 -1
  51. package/dist/components/Input/Input.stories.d.ts +1 -0
  52. package/dist/components/Input/Input.stories.d.ts.map +1 -1
  53. package/dist/components/Input/styles.css.d.ts +18 -0
  54. package/dist/components/Input/styles.css.d.ts.map +1 -1
  55. package/dist/components/InputGroup/InputGroup.d.ts +6 -1
  56. package/dist/components/InputGroup/InputGroup.d.ts.map +1 -1
  57. package/dist/components/InputGroup/InputGroup.stories.d.ts +1 -0
  58. package/dist/components/InputGroup/InputGroup.stories.d.ts.map +1 -1
  59. package/dist/components/Listbox/Listbox.d.ts +75 -0
  60. package/dist/components/Listbox/Listbox.d.ts.map +1 -0
  61. package/dist/components/Listbox/Listbox.meta.d.ts +3 -0
  62. package/dist/components/Listbox/Listbox.meta.d.ts.map +1 -0
  63. package/dist/components/Listbox/Listbox.stories.d.ts +7 -0
  64. package/dist/components/Listbox/Listbox.stories.d.ts.map +1 -0
  65. package/dist/components/Listbox/styles.css.d.ts +75 -0
  66. package/dist/components/Listbox/styles.css.d.ts.map +1 -0
  67. package/dist/components/Menu/Menu.d.ts +18 -5
  68. package/dist/components/Menu/Menu.d.ts.map +1 -1
  69. package/dist/components/Menu/Menu.meta.d.ts.map +1 -1
  70. package/dist/components/Menu/Menu.stories.d.ts +7 -0
  71. package/dist/components/Menu/Menu.stories.d.ts.map +1 -1
  72. package/dist/components/Menu/MenuContext.d.ts +3 -0
  73. package/dist/components/Menu/MenuContext.d.ts.map +1 -1
  74. package/dist/components/Menu/styles.css.d.ts +24 -15
  75. package/dist/components/Menu/styles.css.d.ts.map +1 -1
  76. package/dist/components/Menu/useMenuRoot.d.ts +14 -1
  77. package/dist/components/Menu/useMenuRoot.d.ts.map +1 -1
  78. package/dist/components/Popover/Popover.d.ts +7 -2
  79. package/dist/components/Popover/Popover.d.ts.map +1 -1
  80. package/dist/components/Popover/styles.css.d.ts +4 -1
  81. package/dist/components/Popover/styles.css.d.ts.map +1 -1
  82. package/dist/components/ScrollArea/styles.css.d.ts +1 -1
  83. package/dist/components/ScrollArea/styles.css.d.ts.map +1 -1
  84. package/dist/components/Select/Select.d.ts.map +1 -1
  85. package/dist/components/Select/Select.stories.d.ts +2 -0
  86. package/dist/components/Select/Select.stories.d.ts.map +1 -1
  87. package/dist/components/Select/styles.css.d.ts +2 -2
  88. package/dist/components/Select/styles.css.d.ts.map +1 -1
  89. package/dist/components/Select/useSelectRoot.d.ts.map +1 -1
  90. package/dist/components/TextLink/TextLink.d.ts +24 -0
  91. package/dist/components/TextLink/TextLink.d.ts.map +1 -0
  92. package/dist/components/TextLink/TextLink.meta.d.ts +3 -0
  93. package/dist/components/TextLink/TextLink.meta.d.ts.map +1 -0
  94. package/dist/components/TextLink/TextLink.stories.d.ts +9 -0
  95. package/dist/components/TextLink/TextLink.stories.d.ts.map +1 -0
  96. package/dist/components/TextLink/styles.css.d.ts +28 -0
  97. package/dist/components/TextLink/styles.css.d.ts.map +1 -0
  98. package/dist/components/ThemeProvider/Layers.stories.d.ts +24 -0
  99. package/dist/components/ThemeProvider/Layers.stories.d.ts.map +1 -0
  100. package/dist/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  101. package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts +1 -0
  102. package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts.map +1 -1
  103. package/dist/components/Toast/styles.css.d.ts +1 -0
  104. package/dist/components/Toast/styles.css.d.ts.map +1 -1
  105. package/dist/components/Toggle/Toggle.d.ts.map +1 -1
  106. package/dist/components/Toggle/styles.css.d.ts +3 -0
  107. package/dist/components/Toggle/styles.css.d.ts.map +1 -1
  108. package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
  109. package/dist/components/ToggleGroup/styles.css.d.ts +5 -0
  110. package/dist/components/ToggleGroup/styles.css.d.ts.map +1 -1
  111. package/dist/components/Toolbar/ControlContextBoundary.d.ts +10 -0
  112. package/dist/components/Toolbar/ControlContextBoundary.d.ts.map +1 -0
  113. package/dist/components/Toolbar/Toolbar.d.ts +22 -0
  114. package/dist/components/Toolbar/Toolbar.d.ts.map +1 -0
  115. package/dist/components/Toolbar/Toolbar.meta.d.ts +3 -0
  116. package/dist/components/Toolbar/Toolbar.meta.d.ts.map +1 -0
  117. package/dist/components/Toolbar/Toolbar.stories.d.ts +28 -0
  118. package/dist/components/Toolbar/Toolbar.stories.d.ts.map +1 -0
  119. package/dist/components/Toolbar/ToolbarContext.d.ts +10 -0
  120. package/dist/components/Toolbar/ToolbarContext.d.ts.map +1 -0
  121. package/dist/components/Toolbar/styles.css.d.ts +16 -0
  122. package/dist/components/Toolbar/styles.css.d.ts.map +1 -0
  123. package/dist/components/Tooltip/styles.css.d.ts +1 -1
  124. package/dist/components/Tooltip/styles.css.d.ts.map +1 -1
  125. package/dist/components/VirtualTable/styles.css.d.ts +1 -1
  126. package/dist/components/VirtualTable/styles.css.d.ts.map +1 -1
  127. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +14 -0
  128. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
  129. package/dist/components/VisuallyHidden/VisuallyHidden.meta.d.ts +3 -0
  130. package/dist/components/VisuallyHidden/VisuallyHidden.meta.d.ts.map +1 -0
  131. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +7 -0
  132. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts.map +1 -0
  133. package/dist/docs/FlexGrow.stories.d.ts +7 -0
  134. package/dist/docs/FlexGrow.stories.d.ts.map +1 -0
  135. package/dist/index.css +1 -1
  136. package/dist/index.d.ts +7 -1
  137. package/dist/index.d.ts.map +1 -1
  138. package/dist/index.js +3768 -3356
  139. package/dist/index.js.map +1 -1
  140. package/dist/index.native.d.ts +1 -0
  141. package/dist/index.native.d.ts.map +1 -1
  142. package/dist/shared/ModalContext.d.ts +14 -0
  143. package/dist/shared/ModalContext.d.ts.map +1 -0
  144. package/dist/shared/mergeRefs.d.ts +4 -0
  145. package/dist/shared/mergeRefs.d.ts.map +1 -0
  146. package/dist/shared/useOrderedRegistry.d.ts +26 -0
  147. package/dist/shared/useOrderedRegistry.d.ts.map +1 -0
  148. package/dist/styles/visually-hidden.css.d.ts +6 -0
  149. package/dist/styles/visually-hidden.css.d.ts.map +1 -1
  150. package/dist/table.js +45 -45
  151. package/dist/table.js.map +1 -1
  152. package/package.json +2 -2
  153. package/src/components/ActionBar/styles.css.ts +2 -1
  154. package/src/components/Badge/Badge.stories.tsx +62 -1
  155. package/src/components/Badge/Badge.tsx +1 -1
  156. package/src/components/Badge/styles.css.ts +5 -0
  157. package/src/components/Button/Button.stories.tsx +41 -0
  158. package/src/components/Button/Button.tsx +22 -1
  159. package/src/components/ButtonGroup/ButtonGroup.meta.ts +14 -1
  160. package/src/components/ButtonGroup/ButtonGroup.stories.tsx +271 -1
  161. package/src/components/ButtonGroup/ButtonGroup.tsx +46 -14
  162. package/src/components/ButtonGroup/ButtonGroupContext.ts +19 -0
  163. package/src/components/ButtonGroup/attached.css.ts +44 -0
  164. package/src/components/ButtonGroup/styles.css.ts +8 -0
  165. package/src/components/ButtonGroup/useGroupedControl.ts +75 -0
  166. package/src/components/Combobox/Combobox.tsx +25 -79
  167. package/src/components/Combobox/styles.css.ts +0 -74
  168. package/src/components/Dialog/Dialog.meta.ts +1 -1
  169. package/src/components/Dialog/Dialog.stories.tsx +109 -3
  170. package/src/components/Dialog/Dialog.tsx +68 -10
  171. package/src/components/Dialog/styles.css.ts +5 -2
  172. package/src/components/DragDrop/DragDrop.tsx +15 -8
  173. package/src/components/DragDrop/styles.css.ts +20 -4
  174. package/src/components/Drawer/Drawer.tsx +5 -1
  175. package/src/components/Drawer/styles.css.ts +3 -2
  176. package/src/components/Grid/Grid.meta.ts +1 -1
  177. package/src/components/Grid/Grid.stories.tsx +53 -1
  178. package/src/components/Grid/Grid.tsx +23 -11
  179. package/src/components/Input/Input.meta.ts +10 -3
  180. package/src/components/Input/Input.stories.tsx +52 -2
  181. package/src/components/Input/Input.tsx +12 -3
  182. package/src/components/Input/styles.css.ts +29 -0
  183. package/src/components/InputGroup/InputGroup.stories.tsx +20 -0
  184. package/src/components/InputGroup/InputGroup.tsx +20 -2
  185. package/src/components/Listbox/Listbox.meta.ts +52 -0
  186. package/src/components/Listbox/Listbox.stories.tsx +170 -0
  187. package/src/components/Listbox/Listbox.tsx +278 -0
  188. package/src/components/Listbox/styles.css.ts +90 -0
  189. package/src/components/Menu/Menu.meta.ts +2 -1
  190. package/src/components/Menu/Menu.stories.tsx +289 -8
  191. package/src/components/Menu/Menu.tsx +107 -29
  192. package/src/components/Menu/MenuContext.ts +3 -0
  193. package/src/components/Menu/styles.css.ts +32 -15
  194. package/src/components/Menu/useMenuRoot.ts +105 -48
  195. package/src/components/Popover/Popover.tsx +26 -5
  196. package/src/components/Popover/styles.css.ts +9 -1
  197. package/src/components/ScrollArea/styles.css.ts +2 -1
  198. package/src/components/Select/Select.stories.tsx +20 -1
  199. package/src/components/Select/Select.tsx +9 -3
  200. package/src/components/Select/styles.css.ts +3 -2
  201. package/src/components/Select/useSelectRoot.ts +17 -0
  202. package/src/components/TextLink/TextLink.meta.ts +33 -0
  203. package/src/components/TextLink/TextLink.stories.tsx +63 -0
  204. package/src/components/TextLink/TextLink.tsx +46 -0
  205. package/src/components/TextLink/styles.css.ts +58 -0
  206. package/src/components/ThemeProvider/Layers.stories.tsx +379 -0
  207. package/src/components/ThemeProvider/ThemeProvider.stories.tsx +50 -0
  208. package/src/components/ThemeProvider/ThemeProvider.tsx +4 -2
  209. package/src/components/Toast/styles.css.ts +3 -0
  210. package/src/components/Toggle/Toggle.tsx +20 -4
  211. package/src/components/Toggle/styles.css.ts +6 -0
  212. package/src/components/ToggleGroup/ToggleGroup.tsx +16 -4
  213. package/src/components/ToggleGroup/styles.css.ts +7 -0
  214. package/src/components/Toolbar/ControlContextBoundary.tsx +16 -0
  215. package/src/components/Toolbar/Toolbar.meta.ts +48 -0
  216. package/src/components/Toolbar/Toolbar.stories.tsx +468 -0
  217. package/src/components/Toolbar/Toolbar.tsx +113 -0
  218. package/src/components/Toolbar/ToolbarContext.ts +15 -0
  219. package/src/components/Toolbar/styles.css.ts +17 -0
  220. package/src/components/Tooltip/styles.css.ts +2 -1
  221. package/src/components/VirtualTable/styles.css.ts +2 -1
  222. package/src/components/VisuallyHidden/VisuallyHidden.meta.ts +19 -0
  223. package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +30 -0
  224. package/src/components/VisuallyHidden/VisuallyHidden.tsx +22 -0
  225. package/src/docs/FlexGrow.stories.tsx +83 -0
  226. package/src/index.native.ts +1 -0
  227. package/src/index.ts +7 -1
  228. package/src/shared/ModalContext.ts +18 -0
  229. package/src/shared/mergeRefs.ts +11 -0
  230. package/src/shared/useOrderedRegistry.ts +57 -0
  231. package/src/styles/visually-hidden.css.ts +8 -0
  232. package/dist/Table-BkrgH0jb.js +0 -1199
  233. package/dist/Table-BkrgH0jb.js.map +0 -1
@@ -0,0 +1,13 @@
1
+ import { Orientation } from '../../shared/types';
2
+ /** Where a control sits in an attached group. */
3
+ export type GroupPosition = 'first' | 'middle' | 'last' | 'only';
4
+ export interface ButtonGroupContextValue {
5
+ orientation: Orientation;
6
+ register: (id: string, el: HTMLElement, disabled: boolean) => () => void;
7
+ /** `middle` until the control has registered (server render, first paint). */
8
+ positionOf: (id: string) => GroupPosition;
9
+ }
10
+ /** Provided by an `attached` ButtonGroup only; null everywhere else. */
11
+ export declare const ButtonGroupContext: import('react').Context<ButtonGroupContextValue | null>;
12
+ export declare function useButtonGroup(): ButtonGroupContextValue | null;
13
+ //# sourceMappingURL=ButtonGroupContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonGroupContext.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroupContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAA;AAEnD,iDAAiD;AACjD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA;AAEhE,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,WAAW,CAAA;IACxB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,KAAK,MAAM,IAAI,CAAA;IACxE,8EAA8E;IAC9E,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,aAAa,CAAA;CAC1C;AAED,wEAAwE;AACxE,eAAO,MAAM,kBAAkB,yDAAsD,CAAA;AAErF,wBAAgB,cAAc,mCAE7B"}
@@ -0,0 +1,34 @@
1
+ import { css } from 'react-strict-dom';
2
+ export declare const attached: Readonly<{
3
+ readonly item: Readonly<{
4
+ readonly position: css.StyleXClassNameFor<"position", "relative">;
5
+ readonly zIndex: css.StyleXClassNameFor<"zIndex", number | null>;
6
+ }>;
7
+ readonly horizontalFirst: Readonly<{
8
+ readonly borderTopRightRadius: css.StyleXClassNameFor<"borderTopRightRadius", 0>;
9
+ readonly borderBottomRightRadius: css.StyleXClassNameFor<"borderBottomRightRadius", 0>;
10
+ }>;
11
+ readonly horizontalMiddle: Readonly<{
12
+ readonly borderRadius: css.StyleXClassNameFor<"borderRadius", 0>;
13
+ readonly marginLeft: css.StyleXClassNameFor<"marginLeft", string>;
14
+ }>;
15
+ readonly horizontalLast: Readonly<{
16
+ readonly borderTopLeftRadius: css.StyleXClassNameFor<"borderTopLeftRadius", 0>;
17
+ readonly borderBottomLeftRadius: css.StyleXClassNameFor<"borderBottomLeftRadius", 0>;
18
+ readonly marginLeft: css.StyleXClassNameFor<"marginLeft", string>;
19
+ }>;
20
+ readonly verticalFirst: Readonly<{
21
+ readonly borderBottomLeftRadius: css.StyleXClassNameFor<"borderBottomLeftRadius", 0>;
22
+ readonly borderBottomRightRadius: css.StyleXClassNameFor<"borderBottomRightRadius", 0>;
23
+ }>;
24
+ readonly verticalMiddle: Readonly<{
25
+ readonly borderRadius: css.StyleXClassNameFor<"borderRadius", 0>;
26
+ readonly marginTop: css.StyleXClassNameFor<"marginTop", string>;
27
+ }>;
28
+ readonly verticalLast: Readonly<{
29
+ readonly borderTopLeftRadius: css.StyleXClassNameFor<"borderTopLeftRadius", 0>;
30
+ readonly borderTopRightRadius: css.StyleXClassNameFor<"borderTopRightRadius", 0>;
31
+ readonly marginTop: css.StyleXClassNameFor<"marginTop", string>;
32
+ }>;
33
+ }>;
34
+ //# sourceMappingURL=attached.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attached.css.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/attached.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AASpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCnB,CAAA"}
@@ -37,6 +37,13 @@ export declare const styles: Readonly<{
37
37
  readonly gapMd: Readonly<{
38
38
  readonly gap: css.StyleXClassNameFor<"gap", string>;
39
39
  }>;
40
+ readonly attached: Readonly<{
41
+ readonly flexWrap: css.StyleXClassNameFor<"flexWrap", "nowrap">;
42
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "stretch">;
43
+ }>;
44
+ readonly attachedVertical: Readonly<{
45
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "stretch">;
46
+ }>;
40
47
  readonly disabled: Readonly<{
41
48
  readonly opacity: css.StyleXClassNameFor<"opacity", 0.5>;
42
49
  readonly pointerEvents: css.StyleXClassNameFor<"pointerEvents", "none">;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAGpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAGpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCjB,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { RefObject } from 'react';
2
+ import { html } from 'react-strict-dom';
3
+ import { GroupPosition } from './ButtonGroupContext';
4
+ type ButtonStyle = Parameters<typeof html.button>[0]['style'];
5
+ export interface GroupedControl<T extends HTMLElement> {
6
+ ref: RefObject<T | null>;
7
+ /** In an attached ButtonGroup. */
8
+ attached: boolean;
9
+ position: GroupPosition | null;
10
+ /** The joined style for its position; spread after the control's own. */
11
+ style: ButtonStyle | null;
12
+ /** The Toolbar's roving tabindex, when in one. */
13
+ tabIndex: 0 | -1 | undefined;
14
+ onFocus: (() => void) | undefined;
15
+ }
16
+ /**
17
+ * What a control (Button, Toggle, the Select, Menu and Popover triggers) takes
18
+ * from an attached ButtonGroup and a Toolbar around it: its joined style by
19
+ * position, and its roving tabindex. Outside both, every field is inert.
20
+ */
21
+ export declare function useGroupedControl<T extends HTMLElement>({ disabled, }?: {
22
+ disabled?: boolean;
23
+ }): GroupedControl<T>;
24
+ export {};
25
+ //# sourceMappingURL=useGroupedControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGroupedControl.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/useGroupedControl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAiC,MAAM,OAAO,CAAA;AACpE,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAA;AAG1C,OAAO,EAAiB,KAAK,aAAa,EAAC,MAAM,sBAAsB,CAAA;AAkBvE,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AAE7D,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,WAAW;IACnD,GAAG,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;IACxB,kCAAkC;IAClC,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAA;IAC9B,yEAAyE;IACzE,KAAK,EAAE,WAAW,GAAG,IAAI,CAAA;IACzB,kDAAkD;IAClD,QAAQ,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,CAAA;IAC5B,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAA;CAClC;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,WAAW,EAAE,EACvD,QAAgB,GACjB,GAAE;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAM,GAAG,cAAc,CAAC,CAAC,CAAC,CA+B/C"}
@@ -19,7 +19,7 @@ declare function Trigger({ children }: {
19
19
  }): import("react/jsx-runtime").JSX.Element;
20
20
  declare function Popup({ children }: {
21
21
  children: ReactNode;
22
- }): import("react/jsx-runtime").JSX.Element | null;
22
+ }): import("react/jsx-runtime").JSX.Element;
23
23
  interface ItemProps {
24
24
  value: string;
25
25
  children: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAsD,MAAM,OAAO,CAAA;AAUzF,UAAU,SAAS;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACtC,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EACZ,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,aAAa,EACb,UAAU,EACV,aAAa,EACb,aAAa,EACb,QAAQ,GACT,EAAE,SAAS,2CAkBX;AAGD,iBAAS,KAAK,CAAC,EAAC,WAAW,EAAE,QAAQ,EAAC,EAAE;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAC,2CA0CnF;AAGD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b,UAAU,EACV,aAAa,EACb,aAAa,EACb,QAAQ,GACT,EAAE,SAAS,2CAkBX;AAGD,iBAAS,KAAK,CAAC,EAAC,WAAW,EAAE,QAAQ,EAAC,EAAE;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAC,2CA2CnF;AAGD,iBAAS,OAAO,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAC,2CAmClD;AAMD,iBAAS,KAAK,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,2CAkB/C;AAGD,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAC,EAAE,SAAS,kDA+BpD;AAGD,iBAAS,QAAQ,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,2CAElD;AAGD,iBAAS,KAAK,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,kDAc/C;AAED,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAA"}
@@ -46,69 +46,5 @@ export declare const styles: Readonly<{
46
46
  readonly color: css.StyleXClassNameFor<"color", string>;
47
47
  readonly cursor: css.StyleXClassNameFor<"cursor", "pointer">;
48
48
  }>;
49
- readonly backdrop: Readonly<{
50
- readonly position: css.StyleXClassNameFor<"position", "fixed">;
51
- readonly top: css.StyleXClassNameFor<"top", 0>;
52
- readonly left: css.StyleXClassNameFor<"left", 0>;
53
- readonly right: css.StyleXClassNameFor<"right", 0>;
54
- readonly bottom: css.StyleXClassNameFor<"bottom", 0>;
55
- readonly zIndex: css.StyleXClassNameFor<"zIndex", 1049>;
56
- }>;
57
- readonly popup: Readonly<{
58
- readonly position: css.StyleXClassNameFor<"position", "fixed">;
59
- readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
60
- readonly borderWidth: css.StyleXClassNameFor<"borderWidth", string>;
61
- readonly borderStyle: css.StyleXClassNameFor<"borderStyle", "solid">;
62
- readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
63
- readonly borderRadius: css.StyleXClassNameFor<"borderRadius", string>;
64
- readonly boxShadow: css.StyleXClassNameFor<"boxShadow", string>;
65
- readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
66
- readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
67
- readonly maxHeight: css.StyleXClassNameFor<"maxHeight", string>;
68
- readonly overflowY: css.StyleXClassNameFor<"overflowY", "auto">;
69
- readonly zIndex: css.StyleXClassNameFor<"zIndex", 1050>;
70
- readonly pointerEvents: css.StyleXClassNameFor<"pointerEvents", "auto">;
71
- }>;
72
- readonly item: Readonly<{
73
- readonly display: css.StyleXClassNameFor<"display", "flex">;
74
- readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
75
- readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
76
- readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
77
- readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
78
- readonly paddingRight: css.StyleXClassNameFor<"paddingRight", string>;
79
- readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
80
- readonly fontFamily: css.StyleXClassNameFor<"fontFamily", string>;
81
- readonly color: css.StyleXClassNameFor<"color", string>;
82
- readonly cursor: css.StyleXClassNameFor<"cursor", "pointer">;
83
- readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", "transparent">;
84
- readonly transitionProperty: css.StyleXClassNameFor<"transitionProperty", "background-color">;
85
- readonly transitionDuration: css.StyleXClassNameFor<"transitionDuration", string>;
86
- }>;
87
- readonly itemSelected: Readonly<{
88
- readonly color: css.StyleXClassNameFor<"color", string>;
89
- readonly fontWeight: css.StyleXClassNameFor<"fontWeight", string>;
90
- }>;
91
- readonly itemHighlighted: Readonly<{
92
- readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
93
- }>;
94
- readonly itemHidden: Readonly<{
95
- readonly display: css.StyleXClassNameFor<"display", "none">;
96
- }>;
97
- readonly empty: Readonly<{
98
- readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
99
- readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
100
- readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
101
- readonly paddingRight: css.StyleXClassNameFor<"paddingRight", string>;
102
- readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
103
- readonly color: css.StyleXClassNameFor<"color", string>;
104
- }>;
105
- readonly hidden: Readonly<{
106
- readonly display: css.StyleXClassNameFor<"display", "none">;
107
- }>;
108
- readonly popupPosition: (top: number, left: number, width: number) => readonly [Readonly<{
109
- top: css.StyleXClassNameFor<"top", number>;
110
- left: css.StyleXClassNameFor<"left", number>;
111
- width: css.StyleXClassNameFor<"width", number>;
112
- }>, css.InlineStyles];
113
49
  }>;
114
50
  //# sourceMappingURL=styles.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AASpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0HjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAOpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDjB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactNode, RefObject } from 'react';
2
2
  import { DurationToken } from '@duro-app/tokens/keys';
3
3
  export type DialogSize = 'sm' | 'md' | 'lg';
4
4
  interface RootProps {
@@ -9,12 +9,20 @@ interface RootProps {
9
9
  defaultOpen?: boolean;
10
10
  /** Called when dialog open state changes */
11
11
  onOpenChange?: (open: boolean) => void;
12
- /** Whether clicking backdrop closes the dialog. Default: true */
12
+ /** Whether clicking the backdrop closes the dialog. Default: true */
13
13
  dismissable?: boolean;
14
+ /**
15
+ * Whether Escape closes the dialog. Default: true, also when `dismissable`
16
+ * is false. Turning it off leaves the keyboard no way out but a
17
+ * Dialog.Close, so render one.
18
+ */
19
+ closeOnEscape?: boolean;
20
+ /** Element to focus on open. Default: the first focusable element, else the dialog itself. */
21
+ initialFocus?: RefObject<HTMLElement | null>;
14
22
  /** Motion token for the close animation. Default: 'fast' (150ms) */
15
23
  closeAnimationDuration?: DurationToken;
16
24
  }
17
- declare function Root({ children, open: controlledOpen, defaultOpen, onOpenChange, dismissable, closeAnimationDuration, }: RootProps): import("react/jsx-runtime").JSX.Element;
25
+ declare function Root({ children, open: controlledOpen, defaultOpen, onOpenChange, dismissable, closeOnEscape, initialFocus, closeAnimationDuration, }: RootProps): import("react/jsx-runtime").JSX.Element;
18
26
  interface TriggerProps {
19
27
  children: ReactNode;
20
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EASf,MAAM,OAAO,CAAA;AAEd,OAAO,EAAc,KAAK,aAAa,EAAC,MAAM,uBAAuB,CAAA;AAMrE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAoC3C,UAAU,SAAS;IACjB,QAAQ,EAAE,SA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Y,2CAQxC;AAID,UAAU,WAAW;IACnB,QAAQ,EAAE,SAAS,CAAA;IACnB,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB;AAED,iBAAS,MAAM,CAAC,EAAC,QAAQ,EAAE,IAAW,EAAC,EAAE,WAAW,kDAkEnD;AAID,iBAAS,MAAM,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,2CAEhD;AAID,iBAAS,KAAK,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,2CAO/C;AAID,iBAAS,WAAW,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,2CAOrD;AAID,iBAAS,IAAI,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,2CAE9C;AAID,iBAAS,MAAM,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAC,2CAEhD;AAID,UAAU,UAAU;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,iBAAS,KAAK,CAAC,EAAC,QAAQ,EAAE,YAAY,EAAE,SAAmB,EAAC,EAAE,UAAU,2CAwBvE;AAID,eAAO,MAAM,MAAM;;;;;;;;;;CAUlB,CAAA"}
@@ -13,4 +13,8 @@ export declare const BackdropDismiss: Story;
13
13
  export declare const InsideTransformedAncestor: Story;
14
14
  export declare const SelectInsideDialog: Story;
15
15
  export declare const BackdropClickDismisses: Story;
16
+ export declare const EscapeClosesNonDismissable: Story;
17
+ export declare const InitialFocus: Story;
18
+ export declare const FirstFocusableByDefault: Story;
19
+ export declare const CloseOnEscapeOff: Story;
16
20
  //# sourceMappingURL=Dialog.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAgBpD,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAA;AAIrB,eAAO,MAAM,OAAO,EAAE,KA+BrB,CAAA;AAID,eAAO,MAAM,eAAe,EAAE,KA0B7B,CAAA;AAoCD,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAA;AAiCD,eAAO,MAAM,UAAU,EAAE,KAExB,CAAA;AAyCD,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAA;AA8CD,eAAO,MAAM,kBAAkB,EAAE,KAEhC,CAAA;AAID,eAAO,MAAM,cAAc,EAAE,KAgC5B,CAAA;AA+BD,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAA;AAkBD,eAAO,MAAM,yBAAyB,EAAE,KAiCvC,CAAA;AAyCD,eAAO,MAAM,kBAAkB,EAAE,KAsBhC,CAAA;AAID,eAAO,MAAM,sBAAsB,EAAE,KAYpC,CAAA"}
1
+ {"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAgBpD,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAA;AAIrB,eAAO,MAAM,OAAO,EAAE,KA+BrB,CAAA;AAID,eAAO,MAAM,eAAe,EAAE,KA0B7B,CAAA;AAoCD,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAA;AAiCD,eAAO,MAAM,UAAU,EAAE,KAExB,CAAA;AAyCD,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAA;AA8CD,eAAO,MAAM,kBAAkB,EAAE,KAEhC,CAAA;AAID,eAAO,MAAM,cAAc,EAAE,KAgC5B,CAAA;AA+BD,eAAO,MAAM,eAAe,EAAE,KAE7B,CAAA;AAkBD,eAAO,MAAM,yBAAyB,EAAE,KAiCvC,CAAA;AAyCD,eAAO,MAAM,kBAAkB,EAAE,KAsBhC,CAAA;AAID,eAAO,MAAM,sBAAsB,EAAE,KAYpC,CAAA;AAKD,eAAO,MAAM,0BAA0B,EAAE,KA0BxC,CAAA;AAyBD,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,KAmBrC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAoB9B,CAAA"}
@@ -4,7 +4,7 @@ export declare const styles: Readonly<{
4
4
  readonly position: css.StyleXClassNameFor<"position", "fixed">;
5
5
  readonly inset: css.StyleXClassNameFor<"inset", 0>;
6
6
  readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
7
- readonly zIndex: css.StyleXClassNameFor<"zIndex", 1000>;
7
+ readonly zIndex: css.StyleXClassNameFor<"zIndex", number>;
8
8
  readonly pointerEvents: css.StyleXClassNameFor<"pointerEvents", "auto">;
9
9
  }>;
10
10
  readonly backdropOpen: Readonly<{
@@ -24,7 +24,7 @@ export declare const styles: Readonly<{
24
24
  readonly viewport: Readonly<{
25
25
  readonly position: css.StyleXClassNameFor<"position", "fixed">;
26
26
  readonly inset: css.StyleXClassNameFor<"inset", 0>;
27
- readonly zIndex: css.StyleXClassNameFor<"zIndex", 1001>;
27
+ readonly zIndex: css.StyleXClassNameFor<"zIndex", number>;
28
28
  readonly display: css.StyleXClassNameFor<"display", "flex">;
29
29
  readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
30
30
  readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "center">;
@@ -42,6 +42,7 @@ export declare const styles: Readonly<{
42
42
  readonly flexDirection: css.StyleXClassNameFor<"flexDirection", "column">;
43
43
  readonly overflow: css.StyleXClassNameFor<"overflow", "hidden">;
44
44
  readonly pointerEvents: css.StyleXClassNameFor<"pointerEvents", "auto">;
45
+ readonly outlineStyle: css.StyleXClassNameFor<"outlineStyle", "none">;
45
46
  readonly borderWidth: css.StyleXClassNameFor<"borderWidth", string>;
46
47
  readonly borderStyle: css.StyleXClassNameFor<"borderStyle", "solid">;
47
48
  readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AASpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoMjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAUpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsMjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"DragDrop.d.ts","sourceRoot":"","sources":["../../../src/components/DragDrop/DragDrop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAA;AA2Bd,MAAM,WAAW,gBAAgB,CAAC,CAAC,GAAG,OAAO;IAC3C,QAAQ,CAAC,EAAE,EA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ACP,QAAQ,GACT,EAAE,iBAAiB,CAAC,CAAC,CAAC,2CA0BtB;AAMD,MAAM,WAAW,iBAAiB,CAAC,CAAC,GAAG,OAAO;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAA;IACb,mCAAmC;IACnC,IAAI,CAAC,EAAE,CAAC,CAAA;IACR,0DAA0D;IAC1D,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,EACzB,EAAE,EACF,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,OAAO,EACP,QAAgB,EAChB,QAAQ,GACT,EAAE,iBAAiB,CAAC,CAAC,CAAC,2CA4CtB;AAED,8EAA8E;AAC9E,wBAAgB,WAAW,IAAI;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,QAAQ,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAAA;CACrC,CAGA;AAED,eAAO,MAAM,QAAQ;;;;CAAqB,CAAA"}
@@ -22,18 +22,26 @@ export declare const styles: Readonly<{
22
22
  readonly transitionTimingFunction: css.StyleXClassNameFor<"transitionTimingFunction", string>;
23
23
  }>;
24
24
  readonly zoneReady: Readonly<{
25
- readonly boxShadow: css.StyleXClassNameFor<"boxShadow", `inset 0 0 0 1px ${css.StyleXVar<string>}`>;
25
+ readonly boxShadow: css.StyleXClassNameFor<"boxShadow", string>;
26
+ readonly outlineStyle: css.StyleXClassNameFor<"outlineStyle", "solid">;
27
+ readonly outlineWidth: css.StyleXClassNameFor<"outlineWidth", string>;
28
+ readonly outlineColor: css.StyleXClassNameFor<"outlineColor", "transparent">;
29
+ readonly outlineOffset: css.StyleXClassNameFor<"outlineOffset", `calc(-1 * ${css.StyleXVar<string>})`>;
26
30
  }>;
27
31
  readonly zoneOver: Readonly<{
28
- readonly boxShadow: css.StyleXClassNameFor<"boxShadow", `inset 0 0 0 2px ${css.StyleXVar<string>}`>;
32
+ readonly boxShadow: css.StyleXClassNameFor<"boxShadow", string>;
29
33
  readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
34
+ readonly outlineStyle: css.StyleXClassNameFor<"outlineStyle", "solid">;
35
+ readonly outlineWidth: css.StyleXClassNameFor<"outlineWidth", string>;
36
+ readonly outlineColor: css.StyleXClassNameFor<"outlineColor", "transparent">;
37
+ readonly outlineOffset: css.StyleXClassNameFor<"outlineOffset", `calc(-1 * ${css.StyleXVar<string>})`>;
30
38
  }>;
31
39
  readonly ghost: Readonly<{
32
40
  readonly position: css.StyleXClassNameFor<"position", "fixed">;
33
41
  readonly top: css.StyleXClassNameFor<"top", 0>;
34
42
  readonly left: css.StyleXClassNameFor<"left", 0>;
35
43
  readonly pointerEvents: css.StyleXClassNameFor<"pointerEvents", "none">;
36
- readonly zIndex: css.StyleXClassNameFor<"zIndex", 1000>;
44
+ readonly zIndex: css.StyleXClassNameFor<"zIndex", number>;
37
45
  readonly opacity: css.StyleXClassNameFor<"opacity", 0.9>;
38
46
  readonly cursor: css.StyleXClassNameFor<"cursor", "grabbing">;
39
47
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/DragDrop/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAKpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/DragDrop/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAQpC,eAAO,MAAM,MAAM;;;;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AClB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,iBAAS,KAAK,CAAC,EAAC,QAAQ,EAAE,YAAY,EAAE,SAAmB,EAAC,EAAE,UAAU,2CAuBvE;AAID,eAAO,MAAM,MAAM;;;;;;;;;;CAUlB,CAAA"}
@@ -4,7 +4,7 @@ export declare const styles: Readonly<{
4
4
  readonly position: css.StyleXClassNameFor<"position", "fixed">;
5
5
  readonly inset: css.StyleXClassNameFor<"inset", 0>;
6
6
  readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
7
- readonly zIndex: css.StyleXClassNameFor<"zIndex", 1000>;
7
+ readonly zIndex: css.StyleXClassNameFor<"zIndex", number>;
8
8
  readonly pointerEvents: css.StyleXClassNameFor<"pointerEvents", "auto">;
9
9
  }>;
10
10
  readonly backdropOpen: Readonly<{
@@ -22,7 +22,7 @@ export declare const styles: Readonly<{
22
22
  readonly viewport: Readonly<{
23
23
  readonly position: css.StyleXClassNameFor<"position", "fixed">;
24
24
  readonly inset: css.StyleXClassNameFor<"inset", 0>;
25
- readonly zIndex: css.StyleXClassNameFor<"zIndex", 1001>;
25
+ readonly zIndex: css.StyleXClassNameFor<"zIndex", number>;
26
26
  readonly display: css.StyleXClassNameFor<"display", "flex">;
27
27
  readonly pointerEvents: css.StyleXClassNameFor<"pointerEvents", "none">;
28
28
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AASpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyPjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAUpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyPjB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { GridColumns } from './columns';
3
3
  import { SpacingToken } from '@duro-app/tokens/keys';
4
- import { Length } from '../../shared/length';
4
+ import { GridTrack, Length } from '../../shared/length';
5
5
  export type GridLayout = 'split' | 'split-wide';
6
6
  interface GridProps {
7
7
  gap?: SpacingToken;
@@ -23,8 +23,17 @@ interface GridProps {
23
23
  * rather than when the window does. Wins over `columns` / `minColumnWidth`.
24
24
  */
25
25
  layout?: GridLayout;
26
+ /**
27
+ * An explicit track list, for columns that are not all fractions: a size
28
+ * token for a fixed track (`['1fr', 'asideW']`), or `minmax()` /
29
+ * `fit-content()` of tokens and fractions (`'minmax(gridColXs, 1fr)'`).
30
+ * A px is a type error. Web only — on native it falls back to equal
31
+ * columns, one per track. Wins over `columns` / `minColumnWidth`; `layout`
32
+ * wins over it.
33
+ */
34
+ tracks?: readonly GridTrack[];
26
35
  children: ReactNode;
27
36
  }
28
- export declare function Grid({ gap, columns, minColumnWidth, layout, children }: GridProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function Grid({ gap, columns, minColumnWidth, layout, tracks, children }: GridProps): import("react/jsx-runtime").JSX.Element;
29
38
  export {};
30
39
  //# sourceMappingURL=Grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAI9C,OAAO,EAAuD,KAAK,WAAW,EAAC,MAAM,WAAW,CAAA;AAChG,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAgB,KAAK,MAAM,EAAC,MAAM,qBAAqB,CAAA;AAE9D,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,YAAY,CAAA;AAE/C,UAAU,SAAS;IACjB,GAAG,CAAC,EAAE,YAAY,CAAA;IAClB;;+DAE2D;IAC3D,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB;;;oCAGgC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACpB;AA0DD,wBAAgB,IAAI,CAAC,EAAC,GAAU,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAC,EAAE,SAAS,2CA2BtF"}
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,SAAS,EAAC,MAAM,OAAO,CAAA;AAI9C,OAAO,EAAuD,KAAK,WAAW,EAAC,MAAM,WAAW,CAAA;AAChG,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAA8B,KAAK,SAAS,EAAE,KAAK,MAAM,EAAC,MAAM,qBAAqB,CAAA;AAE5F,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,YAAY,CAAA;AAE/C,UAAU,SAAS;IACjB,GAAG,CAAC,EAAE,YAAY,CAAA;IAClB;;+DAE2D;IAC3D,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB;;;oCAGgC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,SAAS,SAAS,EAAE,CAAA;IAC7B,QAAQ,EAAE,SAAS,CAAA;CACpB;AA0DD,wBAAgB,IAAI,CAAC,EAAC,GAAU,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAC,EAAE,SAAS,2CA8B9F"}
@@ -23,4 +23,6 @@ export declare const NestedSplits: Story;
23
23
  */
24
24
  export declare const WeightedColumns: Story;
25
25
  export declare const WithContainerQuery: Story;
26
+ export declare const TracksWithAside: Story;
27
+ export declare const TracksWithMinmax: Story;
26
28
  //# sourceMappingURL=Grid.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAGpD,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAA;AAS3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAgB3B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AA2BlC,eAAO,MAAM,YAAY,EAAE,KAe1B,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAiBnB,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,KAqC1B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,KAmB7B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAsBhC,CAAA"}
1
+ {"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAGpD,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAA;AAU3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAgB3B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AA2BlC,eAAO,MAAM,YAAY,EAAE,KAe1B,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAiBnB,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,KAqC1B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,KAmB7B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAsBhC,CAAA;AAID,eAAO,MAAM,eAAe,EAAE,KAmB7B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAgB9B,CAAA"}
@@ -1,8 +1,13 @@
1
1
  import { html } from 'react-strict-dom';
2
2
  type StrictInputProps = React.ComponentProps<typeof html.input>;
3
3
  export type InputType = NonNullable<StrictInputProps['type']>;
4
- export type InputVariant = 'default' | 'error';
4
+ export type InputVariant = 'default' | 'error' | 'ghost';
5
5
  interface InputProps {
6
+ /**
7
+ * `ghost` reads as text until hovered or focused — only for inline edit
8
+ * where a visible label names the field (Field.Label). It shows the error
9
+ * state when the Field is invalid.
10
+ */
6
11
  variant?: InputVariant;
7
12
  /** Orthogonal to variant — `mono` keeps the error border but uses the
8
13
  * monospace family (slugs, identifiers, hashes). */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@ -1 +1 @@
1
- {"version":3,"file":"Input.meta.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAEpD,eAAO,MAAM,IAAI,EAAE,aAuBlB,CAAA"}
1
+ {"version":3,"file":"Input.meta.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAEpD,eAAO,MAAM,IAAI,EAAE,aA8BlB,CAAA"}
@@ -9,4 +9,5 @@ export declare const Error: Story;
9
9
  export declare const Password: Story;
10
10
  export declare const Disabled: Story;
11
11
  export declare const AllVariants: Story;
12
+ export declare const GhostInlineEdit: Story;
12
13
  //# sourceMappingURL=Input.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAGpD,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAA;AAI7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAiB5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA;AAMD,eAAO,MAAM,WAAW,EAAE,KAiBzB,CAAA"}
1
+ {"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAGpD,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAA;AAM7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAiB5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA;AAMD,eAAO,MAAM,WAAW,EAAE,KAiBzB,CAAA;AAID,eAAO,MAAM,eAAe,EAAE,KAqC7B,CAAA"}
@@ -28,6 +28,24 @@ export declare const styles: Readonly<{
28
28
  readonly error: Readonly<{
29
29
  readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
30
30
  }>;
31
+ readonly ghost: Readonly<{
32
+ readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", "transparent">;
33
+ readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
34
+ readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
35
+ readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
36
+ readonly paddingRight: css.StyleXClassNameFor<"paddingRight", string>;
37
+ readonly marginLeft: css.StyleXClassNameFor<"marginLeft", `calc(-1 * ${css.StyleXVar<string>})`>;
38
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
39
+ }>;
40
+ readonly ghostError: Readonly<{
41
+ readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
42
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
43
+ }>;
44
+ readonly ghostDisabled: Readonly<{
45
+ readonly color: css.StyleXClassNameFor<"color", string>;
46
+ readonly cursor: css.StyleXClassNameFor<"cursor", "not-allowed">;
47
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", "transparent">;
48
+ }>;
31
49
  readonly inGroup: Readonly<{
32
50
  readonly borderWidth: css.StyleXClassNameFor<"borderWidth", 0>;
33
51
  readonly borderRadius: css.StyleXClassNameFor<"borderRadius", 0>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Input/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAOpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Input/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAOpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuFjB,CAAA"}
@@ -11,9 +11,14 @@ interface AddonProps {
11
11
  /** Optional minimum width to prevent layout shift (e.g. Copy → Copied!): a
12
12
  * size token key or a relative length. */
13
13
  minWidth?: Length;
14
+ /**
15
+ * Accessible name of a clickable addon (it renders a button). Required when
16
+ * its content is an icon (copy, reveal): without it the button has no name.
17
+ */
18
+ 'aria-label'?: string;
14
19
  children: ReactNode;
15
20
  }
16
- declare function Addon({ position, onClick, disabled, minWidth, children }: AddonProps): import("react/jsx-runtime").JSX.Element;
21
+ declare function Addon({ position, onClick, disabled, minWidth, 'aria-label': ariaLabel, children, }: AddonProps): import("react/jsx-runtime").JSX.Element;
17
22
  export declare const InputGroup: {
18
23
  Root: typeof Root;
19
24
  Addon: typeof Addon;
@@ -1 +1 @@
1
- {"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAMpC,OAAO,EAAgB,KAAK,MAAM,EAAC,MAAM,qBAAqB,CAAA;AAG9D,UAAU,SAAS;IACjB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EAAC,QAAQ,EAAC,EAAE,SAAS,2CAQlC;AAOD,UAAU,UAAU;IAClB,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;+CAC2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,KAAK,CAAC,EAAC,QAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAC,EAAE,UAAU,2CAoBnF;AAED,eAAO,MAAM,UAAU;;;CAGtB,CAAA"}
1
+ {"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAMpC,OAAO,EAAgB,KAAK,MAAM,EAAC,MAAM,qBAAqB,CAAA;AAG9D,UAAU,SAAS;IACjB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EAAC,QAAQ,EAAC,EAAE,SAAS,2CAQlC;AAOD,UAAU,UAAU;IAClB,QAAQ,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;+CAC2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,KAAK,CAAC,EACb,QAAgB,EAChB,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,QAAQ,GACT,EAAE,UAAU,2CA0BZ;AAED,eAAO,MAAM,UAAU;;;CAGtB,CAAA"}
@@ -9,4 +9,5 @@ export declare const SearchField: Story;
9
9
  export declare const ClickableAddon: Story;
10
10
  export declare const StandaloneInput: Story;
11
11
  export declare const AllVariants: Story;
12
+ export declare const IconAddonNamed: Story;
12
13
  //# sourceMappingURL=InputGroup.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AASpD,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAA;AAIrB,eAAO,MAAM,QAAQ,EAAE,KAgBtB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAevB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAW7B,CAAA;AAOD,eAAO,MAAM,WAAW,EAAE,KAmBzB,CAAA"}
1
+ {"version":3,"file":"InputGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AASpD,QAAA,MAAM,IAAI,EAAE,IAEX,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAA;AAIrB,eAAO,MAAM,QAAQ,EAAE,KAgBtB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAevB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAW7B,CAAA;AAOD,eAAO,MAAM,WAAW,EAAE,KAmBzB,CAAA;AAKD,eAAO,MAAM,cAAc,EAAE,KAe5B,CAAA"}