@duro-app/ui 5.11.0 → 5.12.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 (157) hide show
  1. package/dist/Table-ColfpgKV.js.map +1 -1
  2. package/dist/compiler-runtime-BuugS4D0.js.map +1 -1
  3. package/dist/components/Alert/Alert.d.ts.map +1 -1
  4. package/dist/components/Button/Button.d.ts +2 -1
  5. package/dist/components/Button/Button.d.ts.map +1 -1
  6. package/dist/components/Button/styles.css.d.ts +1 -0
  7. package/dist/components/Button/styles.css.d.ts.map +1 -1
  8. package/dist/components/Callout/Callout.d.ts.map +1 -1
  9. package/dist/components/Callout/styles.css.d.ts +3 -0
  10. package/dist/components/Callout/styles.css.d.ts.map +1 -1
  11. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  12. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
  13. package/dist/components/DetailPanel/DetailPanel.d.ts.map +1 -1
  14. package/dist/components/Dialog/Dialog.d.ts +2 -17
  15. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  16. package/dist/components/Dialog/Dialog.stories.d.ts +4 -0
  17. package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
  18. package/dist/components/Dialog/native.css.d.ts +82 -0
  19. package/dist/components/Dialog/native.css.d.ts.map +1 -0
  20. package/dist/components/Dialog/parts.css.d.ts +82 -0
  21. package/dist/components/Dialog/parts.css.d.ts.map +1 -0
  22. package/dist/components/Dialog/parts.d.ts +35 -0
  23. package/dist/components/Dialog/parts.d.ts.map +1 -0
  24. package/dist/components/Dialog/styles.css.d.ts +1 -74
  25. package/dist/components/Dialog/styles.css.d.ts.map +1 -1
  26. package/dist/components/Drawer/Drawer.d.ts.map +1 -1
  27. package/dist/components/Drawer/styles.css.d.ts +2 -0
  28. package/dist/components/Drawer/styles.css.d.ts.map +1 -1
  29. package/dist/components/Grid/styles.css.d.ts +1 -0
  30. package/dist/components/Grid/styles.css.d.ts.map +1 -1
  31. package/dist/components/Icon/Icon.d.ts +3 -9
  32. package/dist/components/Icon/Icon.d.ts.map +1 -1
  33. package/dist/components/Icon/geometry.d.ts +60 -0
  34. package/dist/components/Icon/geometry.d.ts.map +1 -0
  35. package/dist/components/Icon/types.d.ts +15 -0
  36. package/dist/components/Icon/types.d.ts.map +1 -0
  37. package/dist/components/Input/Input.d.ts +5 -1
  38. package/dist/components/Input/Input.d.ts.map +1 -1
  39. package/dist/components/Input/styles.css.d.ts +1 -0
  40. package/dist/components/Input/styles.css.d.ts.map +1 -1
  41. package/dist/components/LinkButton/styles.css.d.ts +1 -0
  42. package/dist/components/LinkButton/styles.css.d.ts.map +1 -1
  43. package/dist/components/Meter/styles.css.d.ts +1 -0
  44. package/dist/components/Meter/styles.css.d.ts.map +1 -1
  45. package/dist/components/PageShell/styles.css.d.ts +2 -0
  46. package/dist/components/PageShell/styles.css.d.ts.map +1 -1
  47. package/dist/components/RadioGroup/RadioGroup.d.ts +1 -17
  48. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  49. package/dist/components/RadioGroup/RadioGroup.stories.d.ts +3 -0
  50. package/dist/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
  51. package/dist/components/RadioGroup/group.d.ts +31 -0
  52. package/dist/components/RadioGroup/group.d.ts.map +1 -0
  53. package/dist/components/RadioGroup/styles.css.d.ts +10 -0
  54. package/dist/components/RadioGroup/styles.css.d.ts.map +1 -1
  55. package/dist/components/ScrollArea/styles.css.d.ts +1 -0
  56. package/dist/components/ScrollArea/styles.css.d.ts.map +1 -1
  57. package/dist/components/Spinner/Spinner.d.ts +2 -6
  58. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  59. package/dist/components/Spinner/Spinner.types.d.ts +6 -0
  60. package/dist/components/Spinner/Spinner.types.d.ts.map +1 -0
  61. package/dist/components/Spinner/ring.css.d.ts +39 -0
  62. package/dist/components/Spinner/ring.css.d.ts.map +1 -0
  63. package/dist/components/Spinner/styles.css.d.ts +1 -28
  64. package/dist/components/Spinner/styles.css.d.ts.map +1 -1
  65. package/dist/components/StatusIcon/StatusIcon.d.ts.map +1 -1
  66. package/dist/components/StatusIcon/styles.css.d.ts +3 -0
  67. package/dist/components/StatusIcon/styles.css.d.ts.map +1 -1
  68. package/dist/components/Switch/Switch.d.ts +2 -18
  69. package/dist/components/Switch/Switch.d.ts.map +1 -1
  70. package/dist/components/Switch/Switch.types.d.ts +18 -0
  71. package/dist/components/Switch/Switch.types.d.ts.map +1 -0
  72. package/dist/components/TableOfContents/styles.css.d.ts +1 -0
  73. package/dist/components/TableOfContents/styles.css.d.ts.map +1 -1
  74. package/dist/components/Textarea/styles.css.d.ts +1 -0
  75. package/dist/components/Textarea/styles.css.d.ts.map +1 -1
  76. package/dist/components/Toggle/Toggle.d.ts.map +1 -1
  77. package/dist/components/Toggle/styles.css.d.ts +11 -2
  78. package/dist/components/Toggle/styles.css.d.ts.map +1 -1
  79. package/dist/components/VirtualTable/styles.css.d.ts +6 -0
  80. package/dist/components/VirtualTable/styles.css.d.ts.map +1 -1
  81. package/dist/index.css +1 -1
  82. package/dist/index.js +4299 -3566
  83. package/dist/index.js.map +1 -1
  84. package/dist/shared/portal/hostRegistry.d.ts +33 -0
  85. package/dist/shared/portal/hostRegistry.d.ts.map +1 -0
  86. package/dist/shared/useOverlayOpenState.d.ts +40 -0
  87. package/dist/shared/useOverlayOpenState.d.ts.map +1 -0
  88. package/dist/table.js +141 -135
  89. package/dist/table.js.map +1 -1
  90. package/package.json +34 -4
  91. package/src/components/Alert/Alert.tsx +14 -2
  92. package/src/components/Button/Button.tsx +3 -2
  93. package/src/components/Button/styles.css.ts +2 -0
  94. package/src/components/Callout/Callout.tsx +17 -3
  95. package/src/components/Callout/styles.css.ts +5 -0
  96. package/src/components/Checkbox/Checkbox.native.tsx +67 -0
  97. package/src/components/Checkbox/Checkbox.tsx +1 -50
  98. package/src/components/ConfirmDialog/ConfirmDialog.tsx +3 -0
  99. package/src/components/DetailPanel/DetailPanel.tsx +9 -45
  100. package/src/components/Dialog/Dialog.native.tsx +296 -0
  101. package/src/components/Dialog/Dialog.stories.tsx +71 -0
  102. package/src/components/Dialog/Dialog.tsx +41 -130
  103. package/src/components/Dialog/native.css.ts +78 -0
  104. package/src/components/Dialog/parts.css.ts +101 -0
  105. package/src/components/Dialog/parts.tsx +61 -0
  106. package/src/components/Dialog/styles.css.ts +2 -89
  107. package/src/components/Drawer/Drawer.tsx +20 -49
  108. package/src/components/Drawer/styles.css.ts +4 -0
  109. package/src/components/Grid/styles.css.ts +2 -0
  110. package/src/components/Icon/Icon.native.tsx +54 -0
  111. package/src/components/Icon/Icon.tsx +19 -430
  112. package/src/components/Icon/geometry.ts +456 -0
  113. package/src/components/Icon/types.ts +74 -0
  114. package/src/components/Input/Input.tsx +8 -0
  115. package/src/components/Input/styles.css.ts +2 -0
  116. package/src/components/LinkButton/styles.css.ts +2 -0
  117. package/src/components/Meter/styles.css.ts +2 -0
  118. package/src/components/PageShell/styles.css.ts +4 -0
  119. package/src/components/RadioGroup/RadioGroup.meta.ts +1 -1
  120. package/src/components/RadioGroup/RadioGroup.native.tsx +48 -0
  121. package/src/components/RadioGroup/RadioGroup.stories.tsx +64 -1
  122. package/src/components/RadioGroup/RadioGroup.tsx +8 -83
  123. package/src/components/RadioGroup/group.tsx +85 -0
  124. package/src/components/RadioGroup/styles.css.ts +13 -0
  125. package/src/components/ScrollArea/styles.css.ts +2 -0
  126. package/src/components/Spinner/Spinner.native.tsx +37 -0
  127. package/src/components/Spinner/Spinner.tsx +6 -15
  128. package/src/components/Spinner/Spinner.types.ts +6 -0
  129. package/src/components/Spinner/ring.css.ts +45 -0
  130. package/src/components/Spinner/styles.css.ts +2 -32
  131. package/src/components/StatusIcon/StatusIcon.tsx +13 -2
  132. package/src/components/StatusIcon/styles.css.ts +5 -0
  133. package/src/components/Switch/Switch.native.tsx +45 -0
  134. package/src/components/Switch/Switch.tsx +22 -44
  135. package/src/components/Switch/Switch.types.ts +18 -0
  136. package/src/components/TableOfContents/styles.css.ts +2 -0
  137. package/src/components/Textarea/styles.css.ts +2 -0
  138. package/src/components/ThemeProvider/ThemeProvider.native.tsx +70 -10
  139. package/src/components/Toggle/Toggle.tsx +2 -0
  140. package/src/components/Toggle/styles.css.ts +14 -2
  141. package/src/components/VirtualTable/styles.css.ts +12 -0
  142. package/src/index.native.ts +28 -1
  143. package/src/native-guard/globals.d.ts +10 -0
  144. package/src/native-guard/react-dom.d.ts +3 -0
  145. package/src/shared/accessibilityFocus.native.ts +23 -0
  146. package/src/shared/portal/OverlayModal.native.tsx +51 -0
  147. package/src/shared/portal/PortalHost.native.tsx +102 -0
  148. package/src/shared/portal/hostRegistry.ts +76 -0
  149. package/src/shared/portal/themeScope.native.ts +18 -0
  150. package/src/shared/safeArea.native.ts +22 -0
  151. package/src/shared/useOverlayOpenState.ts +128 -0
  152. package/dist/components/ThemeProvider/ThemeProvider.native.d.ts +0 -10
  153. package/dist/components/ThemeProvider/ThemeProvider.native.d.ts.map +0 -1
  154. package/dist/index.native.d.ts +0 -33
  155. package/dist/index.native.d.ts.map +0 -1
  156. package/dist/platform.native.d.ts +0 -2
  157. package/dist/platform.native.d.ts.map +0 -1
@@ -1,10 +1,4 @@
1
- import { IconSize } from '@duro-app/tokens/keys';
2
- export type { IconSize };
3
- export type IconName = 'x-circle' | 'check-circle' | 'check-done' | 'clock' | 'forbidden' | 'info-circle' | 'alert-triangle' | 'shield' | 'lock' | 'key' | 'map' | 'layers' | 'repeat' | 'database' | 'shield-check' | 'route' | 'git-branch' | 'menu' | 'pin' | 'server' | 'hard-drive' | 'box' | 'image' | 'tag' | 'pie-chart' | 'users' | 'user-plus' | 'mail' | 'file-text' | 'plug' | 'search' | 'mic' | 'sun' | 'moon' | 'monitor' | 'contrast' | 'signal' | 'battery' | 'video' | 'music' | 'play' | 'pause' | 'info-circle-filled' | 'alert-triangle-filled' | 'check-circle-filled' | 'x-circle-filled' | 'shield-filled' | 'lock-filled';
4
- interface IconProps {
5
- name: IconName;
6
- /** Token from the icon size scale: sm 16, md 18, lg 24, xl 36, xxl 48. */
7
- size?: IconSize;
8
- }
9
- export declare function Icon({ name, size: sizeToken }: IconProps): import("react/jsx-runtime").JSX.Element;
1
+ import { IconProps } from './types';
2
+ export type { IconName, IconProps, IconSize } from './types';
3
+ export declare function Icon({ name, size: sizeToken, color }: IconProps): import("react/jsx-runtime").JSX.Element;
10
4
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAE/D,YAAY,EAAC,QAAQ,EAAC,CAAA;AAEtB,MAAM,MAAM,QAAQ,GAChB,UAAU,GACV,cAAc,GACd,YAAY,GACZ,OAAO,GACP,WAAW,GACX,aAAa,GACb,gBAAgB,GAChB,QAAQ,GACR,MAAM,GACN,KAAK,GAEL,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,cAAc,GACd,OAAO,GACP,YAAY,GACZ,MAAM,GACN,KAAK,GAEL,QAAQ,GACR,YAAY,GACZ,KAAK,GACL,OAAO,GACP,KAAK,GACL,WAAW,GAEX,OAAO,GACP,WAAW,GACX,MAAM,GACN,WAAW,GACX,MAAM,GAEN,QAAQ,GACR,KAAK,GAEL,KAAK,GACL,MAAM,GACN,SAAS,GACT,UAAU,GAEV,QAAQ,GACR,SAAS,GAET,OAAO,GACP,OAAO,GACP,MAAM,GACN,OAAO,GAEP,oBAAoB,GACpB,uBAAuB,GACvB,qBAAqB,GACrB,iBAAiB,GACjB,eAAe,GACf,aAAa,CAAA;AA0WjB,UAAU,SAAS;IACjB,IAAI,EAAE,QAAQ,CAAA;IACd,0EAA0E;IAC1E,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB;AAED,wBAAgB,IAAI,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,SAAgB,EAAC,EAAE,SAAS,2CAyB7D"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,SAAS,CAAA;AAEtC,YAAY,EAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,SAAS,CAAA;AAQ1D,wBAAgB,IAAI,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,SAAgB,EAAE,KAAK,EAAC,EAAE,SAAS,2CA4BpE"}
@@ -0,0 +1,60 @@
1
+ import { IconName } from './types';
2
+ /**
3
+ * Icon glyphs as renderer-independent geometry on a 24-unit grid (plan N0,
4
+ * Decision 9): the web draws them as SVG elements, native with the renderer
5
+ * the icon benchmark picks. Generated once from the JSX tables Icon.tsx held
6
+ * through 5.11; edit the data here.
7
+ *
8
+ * A `stroke` glyph is drawn with a 2-unit stroke, round caps and joins, and no
9
+ * fill. A `fill` glyph is filled, with even-odd cutouts where `fillRule` says;
10
+ * a shape inside it may carry its own stroke (`lock-filled`'s shackle).
11
+ */
12
+ /** `currentColor` is the icon's colour (the text colour on the web, `color` on native). */
13
+ export type Paint = 'currentColor' | 'none';
14
+ export type Shape = {
15
+ tag: 'path';
16
+ d: string;
17
+ fillRule?: 'evenodd';
18
+ /** Paint override for this shape: the icon's colour, or none. */
19
+ fill?: Paint;
20
+ stroke?: Paint;
21
+ strokeWidth?: number;
22
+ strokeLinecap?: 'round';
23
+ } | {
24
+ tag: 'circle';
25
+ cx: number;
26
+ cy: number;
27
+ r: number;
28
+ } | {
29
+ tag: 'ellipse';
30
+ cx: number;
31
+ cy: number;
32
+ rx: number;
33
+ ry: number;
34
+ } | {
35
+ tag: 'line';
36
+ x1: number;
37
+ y1: number;
38
+ x2: number;
39
+ y2: number;
40
+ } | {
41
+ tag: 'rect';
42
+ x: number;
43
+ y: number;
44
+ width: number;
45
+ height: number;
46
+ rx?: number;
47
+ ry?: number;
48
+ } | {
49
+ tag: 'polyline';
50
+ points: string;
51
+ } | {
52
+ tag: 'polygon';
53
+ points: string;
54
+ };
55
+ export interface Glyph {
56
+ readonly style: 'stroke' | 'fill';
57
+ readonly shapes: readonly Shape[];
58
+ }
59
+ export declare const GLYPHS: Record<IconName, Glyph>;
60
+ //# sourceMappingURL=geometry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/geometry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,SAAS,CAAA;AAErC;;;;;;;;;GASG;AACH,2FAA2F;AAC3F,MAAM,MAAM,KAAK,GAAG,cAAc,GAAG,MAAM,CAAA;AAE3C,MAAM,MAAM,KAAK,GACb;IACE,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,EAAE,MAAM,CAAA;IACT,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,iEAAiE;IACjE,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,GACD;IAAC,GAAG,EAAE,QAAQ,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAC,GAClD;IAAC,GAAG,EAAE,SAAS,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAC,GAChE;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAC,GAC7D;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAC,GAC5F;IAAC,GAAG,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAC,GACjC;IAAC,GAAG,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAC,CAAA;AAEpC,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAAA;IACjC,QAAQ,CAAC,MAAM,EAAE,SAAS,KAAK,EAAE,CAAA;CAClC;AAED,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,CAia1C,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { ColorToken, IconSize } from '@duro-app/tokens/keys';
2
+ export type { IconSize };
3
+ export type IconName = 'x-circle' | 'check-circle' | 'check-done' | 'clock' | 'forbidden' | 'info-circle' | 'alert-triangle' | 'shield' | 'lock' | 'key' | 'map' | 'layers' | 'repeat' | 'database' | 'shield-check' | 'route' | 'git-branch' | 'menu' | 'pin' | 'server' | 'hard-drive' | 'box' | 'image' | 'tag' | 'pie-chart' | 'users' | 'user-plus' | 'mail' | 'file-text' | 'plug' | 'search' | 'mic' | 'x' | 'sun' | 'moon' | 'monitor' | 'contrast' | 'signal' | 'battery' | 'video' | 'music' | 'play' | 'pause' | 'info-circle-filled' | 'alert-triangle-filled' | 'check-circle-filled' | 'x-circle-filled' | 'shield-filled' | 'lock-filled';
4
+ export interface IconProps {
5
+ name: IconName;
6
+ /** Token from the icon size scale: sm 16, md 18, lg 24, xl 36, xxl 48. */
7
+ size?: IconSize;
8
+ /**
9
+ * Colour token. Default: the surrounding text colour on the web
10
+ * (`currentColor`), the `text` token on native, where an icon cannot
11
+ * inherit a colour.
12
+ */
13
+ color?: ColorToken;
14
+ }
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAE,QAAQ,EAAC,MAAM,uBAAuB,CAAA;AAE/D,YAAY,EAAC,QAAQ,EAAC,CAAA;AAEtB,MAAM,MAAM,QAAQ,GAChB,UAAU,GACV,cAAc,GACd,YAAY,GACZ,OAAO,GACP,WAAW,GACX,aAAa,GACb,gBAAgB,GAChB,QAAQ,GACR,MAAM,GACN,KAAK,GAEL,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,cAAc,GACd,OAAO,GACP,YAAY,GACZ,MAAM,GACN,KAAK,GAEL,QAAQ,GACR,YAAY,GACZ,KAAK,GACL,OAAO,GACP,KAAK,GACL,WAAW,GAEX,OAAO,GACP,WAAW,GACX,MAAM,GACN,WAAW,GACX,MAAM,GAEN,QAAQ,GACR,KAAK,GACL,GAAG,GAEH,KAAK,GACL,MAAM,GACN,SAAS,GACT,UAAU,GAEV,QAAQ,GACR,SAAS,GAET,OAAO,GACP,OAAO,GACP,MAAM,GACN,OAAO,GAEP,oBAAoB,GACpB,uBAAuB,GACvB,qBAAqB,GACrB,iBAAiB,GACjB,eAAe,GACf,aAAa,CAAA;AAEjB,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,QAAQ,CAAA;IACd,0EAA0E;IAC1E,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB"}
@@ -31,6 +31,10 @@ interface InputProps {
31
31
  list?: string;
32
32
  pattern?: string;
33
33
  autoComplete?: 'on' | 'off' | 'email' | 'username' | 'current-password' | 'new-password' | 'name' | 'tel' | 'url';
34
+ /** Phone keyboards: how the typed text is capitalised. */
35
+ autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
36
+ /** Whether the platform checks (and on phones, autocorrects) the spelling. */
37
+ spellCheck?: boolean;
34
38
  value?: string;
35
39
  defaultValue?: string;
36
40
  disabled?: boolean;
@@ -48,6 +52,6 @@ interface InputProps {
48
52
  onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
49
53
  ref?: React.Ref<HTMLInputElement>;
50
54
  }
51
- export declare function Input({ variant, font, type, id, name, placeholder, required, readOnly, minLength, maxLength, min, max, step, inputMode, list, pattern, autoComplete, value, defaultValue, disabled, autoFocus, 'aria-label': ariaLabel, 'aria-describedby': ariaDescribedby, onChange, onBlur, onFocus, onKeyDown, onKeyUp, ref, }: InputProps): import("react/jsx-runtime").JSX.Element;
55
+ export declare function Input({ variant, font, type, id, name, placeholder, required, readOnly, minLength, maxLength, min, max, step, inputMode, list, pattern, autoComplete, autoCapitalize, spellCheck, value, defaultValue, disabled, autoFocus, 'aria-label': ariaLabel, 'aria-describedby': ariaDescribedby, onChange, onBlur, onFocus, onKeyDown, onKeyUp, ref, }: InputProps): import("react/jsx-runtime").JSX.Element;
52
56
  export {};
53
57
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAA;AAKrC,KAAK,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,CAAA;AAC/D,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAA;AAE7D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;AAExD,UAAU,UAAU;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB;yDACqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;sEACkE;IAClE,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6EAA6E;IAC7E,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;IACxF,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EACT,IAAI,GACJ,KAAK,GACL,OAAO,GACP,UAAU,GACV,kBAAkB,GAClB,cAAc,GACd,MAAM,GACN,KAAK,GACL,KAAK,CAAA;IACT,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gEAAgE;IAChE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC3D,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IACzD;qDACiD;IACjD,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC9D,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC5D,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;CAClC;AAED,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,IAAI,EACJ,IAAa,EACb,EAAE,EACF,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,SAAS,EACT,GAAG,EACH,GAAG,EACH,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,kBAAkB,EAAE,eAAe,EACnC,QAAQ,EACR,MAAM,EACN,OAAO,EACP,SAAS,EACT,OAAO,EACP,GAAG,GACJ,EAAE,UAAU,2CAiEZ"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"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"}
@@ -2,6 +2,7 @@ import { css } from 'react-strict-dom';
2
2
  export declare const styles: Readonly<{
3
3
  readonly base: Readonly<{
4
4
  readonly width: css.StyleXClassNameFor<"width", "100%">;
5
+ readonly boxSizing: css.StyleXClassNameFor<"boxSizing", "border-box">;
5
6
  readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
6
7
  readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
7
8
  readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuFjB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyFjB,CAAA"}
@@ -45,6 +45,7 @@ export declare const styles: Readonly<{
45
45
  }>;
46
46
  readonly fullWidth: Readonly<{
47
47
  readonly width: css.StyleXClassNameFor<"width", "100%">;
48
+ readonly boxSizing: css.StyleXClassNameFor<"boxSizing", "border-box">;
48
49
  }>;
49
50
  }>;
50
51
  //# sourceMappingURL=styles.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/LinkButton/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAQpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/LinkButton/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAQpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2DjB,CAAA"}
@@ -3,6 +3,7 @@ export declare const styles: Readonly<{
3
3
  readonly track: Readonly<{
4
4
  readonly position: css.StyleXClassNameFor<"position", "relative">;
5
5
  readonly width: css.StyleXClassNameFor<"width", "100%">;
6
+ readonly boxSizing: css.StyleXClassNameFor<"boxSizing", "border-box">;
6
7
  readonly height: css.StyleXClassNameFor<"height", string>;
7
8
  readonly borderRadius: css.StyleXClassNameFor<"borderRadius", string>;
8
9
  readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", string>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Meter/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAMpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Meter/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAMpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBjB,CAAA"}
@@ -2,9 +2,11 @@ import { css } from 'react-strict-dom';
2
2
  export declare const styles: Readonly<{
3
3
  readonly root: Readonly<{
4
4
  readonly width: css.StyleXClassNameFor<"width", "100%">;
5
+ readonly boxSizing: css.StyleXClassNameFor<"boxSizing", "border-box">;
5
6
  }>;
6
7
  readonly container: Readonly<{
7
8
  readonly width: css.StyleXClassNameFor<"width", "100%">;
9
+ readonly boxSizing: css.StyleXClassNameFor<"boxSizing", "border-box">;
8
10
  readonly marginLeft: css.StyleXClassNameFor<"marginLeft", "auto">;
9
11
  readonly marginRight: css.StyleXClassNameFor<"marginRight", "auto">;
10
12
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/PageShell/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAKpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/PageShell/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAKpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBjB,CAAA"}
@@ -1,21 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- interface RootProps {
3
- value?: string;
4
- defaultValue?: string;
5
- onValueChange?: (value: string) => void;
6
- orientation?: 'horizontal' | 'vertical';
7
- disabled?: boolean;
8
- /** Accessible name when the group is not inside a Field.Root (inside one,
9
- * the Field.Label names it). */
10
- 'aria-label'?: string;
11
- /** id of the element that names the group, when not inside a Field.Root. */
12
- 'aria-labelledby'?: string;
13
- children: ReactNode;
14
- }
15
- declare function Root({ value: controlledValue, defaultValue, onValueChange, orientation, disabled, children, ...labelling }: RootProps): import("react/jsx-runtime").JSX.Element;
16
- declare namespace Root {
17
- var isFieldGroup: true;
18
- }
2
+ import { Root } from './group';
19
3
  interface ItemProps {
20
4
  value: string;
21
5
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAyC,MAAM,OAAO,CAAA;AA2B5E,UAAU,SAAS;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;qCACiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EACZ,KAAK,EAAE,eAAe,EACtB,YAAiB,EACjB,aAAa,EACb,WAAwB,EACxB,QAAgB,EAChB,QAAQ,EACR,GAAG,SAAS,EACb,EAAE,SAAS,2CAyBX;kBAjCQ,IAAI;;;AAqCb,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAE,YAAoB,EAAE,QAAQ,EAAC,EAAE,SAAS,2CA8BzE;AAKD,eAAO,MAAM,UAAU;;;CAGtB,CAAA"}
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAIpC,OAAO,EAAC,IAAI,EAAgB,MAAM,SAAS,CAAA;AAI3C,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,iBAAS,IAAI,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAE,YAAoB,EAAE,QAAQ,EAAC,EAAE,SAAS,2CA4BzE;AAED,eAAO,MAAM,UAAU;;;CAGtB,CAAA"}
@@ -6,4 +6,7 @@ export declare const Default: Story;
6
6
  export declare const Horizontal: Story;
7
7
  export declare const Disabled: Story;
8
8
  export declare const Controlled: Story;
9
+ export declare const OneChangePerPick: Story;
10
+ export declare const SubmitsWithForm: Story;
11
+ export declare const ArrowKeysMoveSelection: Story;
9
12
  //# sourceMappingURL=RadioGroup.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAKpD,QAAA,MAAM,IAAI,EAAE,IAMX,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAA;AAErB,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAYtB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAqBxB,CAAA"}
1
+ {"version":3,"file":"RadioGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/RadioGroup.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAA;AAKpD,QAAA,MAAM,IAAI,EAAE,IAMX,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAA;AAErB,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAYtB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAqBxB,CAAA;AAID,eAAO,MAAM,gBAAgB,EAAE,KAsB9B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAe7B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,KAkBpC,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { ReactNode } from 'react';
2
+ interface RadioGroupContextValue {
3
+ value: string;
4
+ name: string;
5
+ onSelect: (value: string) => void;
6
+ disabled: boolean;
7
+ }
8
+ export declare function useRadioGroup(): RadioGroupContextValue;
9
+ interface RootProps {
10
+ value?: string;
11
+ defaultValue?: string;
12
+ onValueChange?: (value: string) => void;
13
+ orientation?: 'horizontal' | 'vertical';
14
+ disabled?: boolean;
15
+ /** Form field name: every item's radio carries it, so the selection is
16
+ * submitted with a native form. Generated when omitted (the radios still
17
+ * form one group). */
18
+ name?: string;
19
+ /** Accessible name when the group is not inside a Field.Root (inside one,
20
+ * the Field.Label names it). */
21
+ 'aria-label'?: string;
22
+ /** id of the element that names the group, when not inside a Field.Root. */
23
+ 'aria-labelledby'?: string;
24
+ children: ReactNode;
25
+ }
26
+ export declare function Root({ value: controlledValue, defaultValue, onValueChange, orientation, disabled, name: nameProp, children, ...labelling }: RootProps): import("react/jsx-runtime").JSX.Element;
27
+ export declare namespace Root {
28
+ var isFieldGroup: true;
29
+ }
30
+ export {};
31
+ //# sourceMappingURL=group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAgD,MAAM,OAAO,CAAA;AAQnF,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,QAAQ,EAAE,OAAO,CAAA;CAClB;AAID,wBAAgB,aAAa,2BAM5B;AAID,UAAU,SAAS;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;2BAEuB;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;qCACiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,IAAI,CAAC,EACnB,KAAK,EAAE,eAAe,EACtB,YAAiB,EACjB,aAAa,EACb,WAAwB,EACxB,QAAgB,EAChB,IAAI,EAAE,QAAQ,EACd,QAAQ,EACR,GAAG,SAAS,EACb,EAAE,SAAS,2CA2BX;yBApCe,IAAI"}
@@ -17,6 +17,13 @@ export declare const styles: Readonly<{
17
17
  readonly color: css.StyleXClassNameFor<"color", string>;
18
18
  readonly lineHeight: css.StyleXClassNameFor<"lineHeight", string>;
19
19
  }>;
20
+ readonly nativeItem: Readonly<{
21
+ readonly display: css.StyleXClassNameFor<"display", "flex">;
22
+ readonly flexDirection: css.StyleXClassNameFor<"flexDirection", "row">;
23
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", 0>;
24
+ readonly backgroundColor: css.StyleXClassNameFor<"backgroundColor", "transparent">;
25
+ readonly padding: css.StyleXClassNameFor<"padding", 0>;
26
+ }>;
20
27
  readonly itemDisabled: Readonly<{
21
28
  readonly opacity: css.StyleXClassNameFor<"opacity", 0.5>;
22
29
  readonly cursor: css.StyleXClassNameFor<"cursor", "not-allowed">;
@@ -52,5 +59,8 @@ export declare const styles: Readonly<{
52
59
  readonly input: Readonly<{
53
60
  readonly opacity: css.StyleXClassNameFor<"opacity", 0>;
54
61
  }>;
62
+ readonly nativeFlex: Readonly<{
63
+ readonly display: css.StyleXClassNameFor<"display", "flex">;
64
+ }>;
55
65
  }>;
56
66
  //# sourceMappingURL=styles.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAQpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAQpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsEjB,CAAA"}
@@ -6,6 +6,7 @@ export declare const styles: Readonly<{
6
6
  }>;
7
7
  readonly viewport: Readonly<{
8
8
  readonly width: css.StyleXClassNameFor<"width", "100%">;
9
+ readonly boxSizing: css.StyleXClassNameFor<"boxSizing", "border-box">;
9
10
  readonly height: css.StyleXClassNameFor<"height", "100%">;
10
11
  readonly overflowX: css.StyleXClassNameFor<"overflowX", "auto">;
11
12
  readonly overflowY: css.StyleXClassNameFor<"overflowY", "auto">;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollArea/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAOpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4EjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollArea/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAOpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8EjB,CAAA"}
@@ -1,8 +1,4 @@
1
- export type SpinnerSize = 'sm' | 'md' | 'lg';
2
- interface SpinnerProps {
3
- size?: SpinnerSize;
4
- label?: string;
5
- }
1
+ import { SpinnerProps } from './Spinner.types';
2
+ export type { SpinnerProps, SpinnerSize } from './Spinner.types';
6
3
  export declare function Spinner({ size, label }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
4
  //# sourceMappingURL=Spinner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5C,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAQD,wBAAgB,OAAO,CAAC,EAAC,IAAW,EAAE,KAAiB,EAAC,EAAE,YAAY,2CAOrE"}
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAA;AAEjD,YAAY,EAAC,YAAY,EAAE,WAAW,EAAC,MAAM,iBAAiB,CAAA;AAE9D,wBAAgB,OAAO,CAAC,EAAC,IAAW,EAAE,KAAiB,EAAC,EAAE,YAAY,2CAOrE"}
@@ -0,0 +1,6 @@
1
+ export type SpinnerSize = 'sm' | 'md' | 'lg';
2
+ export interface SpinnerProps {
3
+ size?: SpinnerSize;
4
+ label?: string;
5
+ }
6
+ //# sourceMappingURL=Spinner.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.types.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -0,0 +1,39 @@
1
+ import { css } from 'react-strict-dom';
2
+ /** The ring both platforms draw; each turns it its own way. */
3
+ export declare const ring: Readonly<{
4
+ readonly root: Readonly<{
5
+ readonly display: css.StyleXClassNameFor<"display", "inline-flex">;
6
+ readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
7
+ readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "center">;
8
+ }>;
9
+ readonly nativeRoot: Readonly<{
10
+ readonly display: css.StyleXClassNameFor<"display", "flex">;
11
+ }>;
12
+ readonly ring: Readonly<{
13
+ readonly borderRadius: css.StyleXClassNameFor<"borderRadius", "50%">;
14
+ readonly borderStyle: css.StyleXClassNameFor<"borderStyle", "solid">;
15
+ readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
16
+ readonly borderTopColor: css.StyleXClassNameFor<"borderTopColor", string>;
17
+ }>;
18
+ readonly sm: Readonly<{
19
+ readonly width: css.StyleXClassNameFor<"width", string>;
20
+ readonly height: css.StyleXClassNameFor<"height", string>;
21
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", string>;
22
+ }>;
23
+ readonly md: Readonly<{
24
+ readonly width: css.StyleXClassNameFor<"width", string>;
25
+ readonly height: css.StyleXClassNameFor<"height", string>;
26
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", string>;
27
+ }>;
28
+ readonly lg: Readonly<{
29
+ readonly width: css.StyleXClassNameFor<"width", string>;
30
+ readonly height: css.StyleXClassNameFor<"height", string>;
31
+ readonly borderWidth: css.StyleXClassNameFor<"borderWidth", string>;
32
+ }>;
33
+ readonly srOnly: Readonly<{
34
+ readonly clip: css.StyleXClassNameFor<"clip", "rect(0, 0, 0, 0)">;
35
+ }>;
36
+ }>;
37
+ /** One turn, in ms: the web animation's 0.6s. */
38
+ export declare const TURN_MS = 600;
39
+ //# sourceMappingURL=ring.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ring.css.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/ring.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAKpC,+DAA+D;AAC/D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCf,CAAA;AAEF,iDAAiD;AACjD,eAAO,MAAM,OAAO,MAAM,CAAA"}
@@ -1,37 +1,10 @@
1
1
  import { css } from 'react-strict-dom';
2
2
  export declare const styles: Readonly<{
3
- readonly root: Readonly<{
4
- readonly display: css.StyleXClassNameFor<"display", "inline-flex">;
5
- readonly alignItems: css.StyleXClassNameFor<"alignItems", "center">;
6
- readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "center">;
7
- }>;
8
- readonly spinner: Readonly<{
9
- readonly borderRadius: css.StyleXClassNameFor<"borderRadius", "50%">;
10
- readonly borderStyle: css.StyleXClassNameFor<"borderStyle", "solid">;
11
- readonly borderColor: css.StyleXClassNameFor<"borderColor", string>;
12
- readonly borderTopColor: css.StyleXClassNameFor<"borderTopColor", string>;
3
+ readonly spinning: Readonly<{
13
4
  readonly animationName: css.StyleXClassNameFor<"animationName", string>;
14
5
  readonly animationDuration: css.StyleXClassNameFor<"animationDuration", "0.6s">;
15
6
  readonly animationTimingFunction: css.StyleXClassNameFor<"animationTimingFunction", string>;
16
7
  readonly animationIterationCount: css.StyleXClassNameFor<"animationIterationCount", "infinite">;
17
8
  }>;
18
- readonly sm: Readonly<{
19
- readonly width: css.StyleXClassNameFor<"width", string>;
20
- readonly height: css.StyleXClassNameFor<"height", string>;
21
- readonly borderWidth: css.StyleXClassNameFor<"borderWidth", string>;
22
- }>;
23
- readonly md: Readonly<{
24
- readonly width: css.StyleXClassNameFor<"width", string>;
25
- readonly height: css.StyleXClassNameFor<"height", string>;
26
- readonly borderWidth: css.StyleXClassNameFor<"borderWidth", string>;
27
- }>;
28
- readonly lg: Readonly<{
29
- readonly width: css.StyleXClassNameFor<"width", string>;
30
- readonly height: css.StyleXClassNameFor<"height", string>;
31
- readonly borderWidth: css.StyleXClassNameFor<"borderWidth", string>;
32
- }>;
33
- readonly srOnly: Readonly<{
34
- readonly clip: css.StyleXClassNameFor<"clip", "rect(0, 0, 0, 0)">;
35
- }>;
36
9
  }>;
37
10
  //# sourceMappingURL=styles.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAWpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAQpC,eAAO,MAAM,MAAM;;;;;;;EAQjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIcon.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIcon/StatusIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,SAAS,CAAA;AAG/C,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,QAAQ,EACR,UAAU,GAAG,cAAc,GAAG,YAAY,GAAG,OAAO,GAAG,WAAW,CACnE,CAAA;AACD,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAElF,UAAU,eAAe;IACvB,IAAI,EAAE,cAAc,CAAA;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,wBAAgB,UAAU,CAAC,EAAC,IAAI,EAAE,IAAY,EAAE,OAAiB,EAAC,EAAE,eAAe,2CAMlF"}
1
+ {"version":3,"file":"StatusIcon.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIcon/StatusIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,SAAS,CAAA;AAK/C,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,QAAQ,EACR,UAAU,GAAG,cAAc,GAAG,YAAY,GAAG,OAAO,GAAG,WAAW,CACnE,CAAA;AACD,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAWlF,UAAU,eAAe;IACvB,IAAI,EAAE,cAAc,CAAA;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,wBAAgB,UAAU,CAAC,EAAC,IAAI,EAAE,IAAY,EAAE,OAAiB,EAAC,EAAE,eAAe,2CAMlF"}
@@ -21,5 +21,8 @@ export declare const styles: Readonly<{
21
21
  readonly muted: Readonly<{
22
22
  readonly color: css.StyleXClassNameFor<"color", string>;
23
23
  }>;
24
+ readonly nativeFlex: Readonly<{
25
+ readonly display: css.StyleXClassNameFor<"display", "flex">;
26
+ }>;
24
27
  }>;
25
28
  //# sourceMappingURL=styles.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIcon/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAIpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;EAsBjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/StatusIcon/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAIpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;EA2BjB,CAAA"}
@@ -1,20 +1,4 @@
1
- import { ReactNode } from 'react';
2
- interface SwitchProps {
3
- /** Controlled checked state. */
4
- checked?: boolean;
5
- /** Initial checked state (uncontrolled). */
6
- defaultChecked?: boolean;
7
- /** Callback fired when the checked state changes. */
8
- onCheckedChange?: (checked: boolean) => void;
9
- /** Prevents user interaction. */
10
- disabled?: boolean;
11
- /** Form field name for the hidden input. */
12
- name?: string;
13
- /** Value submitted when checked. */
14
- value?: string;
15
- /** Label content rendered beside the switch. */
16
- children?: ReactNode;
17
- }
1
+ import { SwitchProps } from './Switch.types';
2
+ export type { SwitchProps } from './Switch.types';
18
3
  export declare function Switch({ checked: controlledChecked, defaultChecked, onCheckedChange, disabled, name, value, children, }: SwitchProps): import("react/jsx-runtime").JSX.Element;
19
- export {};
20
4
  //# sourceMappingURL=Switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAsB,MAAM,OAAO,CAAA;AAOzD,UAAU,WAAW;IACnB,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,qDAAqD;IACrD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4CAA4C;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gDAAgD;IAChD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,EACrB,OAAO,EAAE,iBAAiB,EAC1B,cAAsB,EACtB,eAAe,EACf,QAAgB,EAChB,IAAI,EACJ,KAAK,EACL,QAAQ,GACT,EAAE,WAAW,2CAwDb"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAE/C,YAAY,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAA;AAE/C,wBAAgB,MAAM,CAAC,EACrB,OAAO,EAAE,iBAAiB,EAC1B,cAAsB,EACtB,eAAe,EACf,QAAgB,EAChB,IAAI,EACJ,KAAK,EACL,QAAQ,GACT,EAAE,WAAW,2CAiDb"}
@@ -0,0 +1,18 @@
1
+ import { ReactNode } from 'react';
2
+ export interface SwitchProps {
3
+ /** Controlled checked state. */
4
+ checked?: boolean;
5
+ /** Initial checked state (uncontrolled). */
6
+ defaultChecked?: boolean;
7
+ /** Callback fired when the checked state changes. */
8
+ onCheckedChange?: (checked: boolean) => void;
9
+ /** Prevents user interaction. */
10
+ disabled?: boolean;
11
+ /** Form field name for the hidden input. */
12
+ name?: string;
13
+ /** Value submitted when checked. */
14
+ value?: string;
15
+ /** Label content rendered beside the switch. */
16
+ children?: ReactNode;
17
+ }
18
+ //# sourceMappingURL=Switch.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAA;AAEpC,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,qDAAqD;IACrD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4CAA4C;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gDAAgD;IAChD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB"}
@@ -76,6 +76,7 @@ export declare const styles: Readonly<{
76
76
  readonly justifyContent: css.StyleXClassNameFor<"justifyContent", "space-between">;
77
77
  readonly gap: css.StyleXClassNameFor<"gap", string>;
78
78
  readonly width: css.StyleXClassNameFor<"width", "100%">;
79
+ readonly boxSizing: css.StyleXClassNameFor<"boxSizing", "border-box">;
79
80
  readonly minHeight: css.StyleXClassNameFor<"minHeight", string>;
80
81
  readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
81
82
  readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/TableOfContents/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAWpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuIjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/TableOfContents/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAWpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyIjB,CAAA"}
@@ -2,6 +2,7 @@ import { css } from 'react-strict-dom';
2
2
  export declare const styles: Readonly<{
3
3
  readonly base: Readonly<{
4
4
  readonly width: css.StyleXClassNameFor<"width", "100%">;
5
+ readonly boxSizing: css.StyleXClassNameFor<"boxSizing", "border-box">;
5
6
  readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
6
7
  readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
7
8
  readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAOpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDjB,CAAA"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/styles.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAOpC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAuC,MAAM,OAAO,CAAA;AAM1E,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAA;AAGnD,MAAM,MAAM,UAAU,GAAG,WAAW,CAAA;AAEpC,UAAU,WAAW;IACnB,mDAAmD;IACnD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8DAA8D;IAC9D,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,wEAAwE;IACxE,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAYD,wBAAgB,MAAM,CAAC,EACrB,OAAO,EAAE,iBAAiB,EAC1B,cAAsB,EACtB,eAAe,EACf,KAAK,EACL,QAAQ,EAAE,YAAoB,EAC9B,IAAI,EAAE,QAAoB,EAC1B,YAAY,EAAE,SAAS,EACvB,QAAQ,GACT,EAAE,WAAW,2CAuEb"}
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAuC,MAAM,OAAO,CAAA;AAM1E,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAA;AAInD,MAAM,MAAM,UAAU,GAAG,WAAW,CAAA;AAEpC,UAAU,WAAW;IACnB,mDAAmD;IACnD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8DAA8D;IAC9D,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,wEAAwE;IACxE,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAYD,wBAAgB,MAAM,CAAC,EACrB,OAAO,EAAE,iBAAiB,EAC1B,cAAsB,EACtB,eAAe,EACf,KAAK,EACL,QAAQ,EAAE,YAAoB,EAC9B,IAAI,EAAE,QAAoB,EAC1B,YAAY,EAAE,SAAS,EACvB,QAAQ,GACT,EAAE,WAAW,2CAwEb"}
@@ -20,13 +20,19 @@ export declare const styles: Readonly<{
20
20
  readonly minHeight: css.StyleXClassNameFor<"minHeight", string | null>;
21
21
  }>;
22
22
  readonly sizeDefault: Readonly<{
23
- readonly padding: css.StyleXClassNameFor<"padding", `${css.StyleXVar<string>} ${css.StyleXVar<string>}`>;
23
+ readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
24
+ readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
25
+ readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
26
+ readonly paddingRight: css.StyleXClassNameFor<"paddingRight", string>;
24
27
  readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
25
28
  readonly borderRadius: css.StyleXClassNameFor<"borderRadius", string>;
26
29
  readonly gap: css.StyleXClassNameFor<"gap", string>;
27
30
  }>;
28
31
  readonly sizeSmall: Readonly<{
29
- readonly padding: css.StyleXClassNameFor<"padding", `${css.StyleXVar<string>} ${css.StyleXVar<string>}`>;
32
+ readonly paddingTop: css.StyleXClassNameFor<"paddingTop", string>;
33
+ readonly paddingBottom: css.StyleXClassNameFor<"paddingBottom", string>;
34
+ readonly paddingLeft: css.StyleXClassNameFor<"paddingLeft", string>;
35
+ readonly paddingRight: css.StyleXClassNameFor<"paddingRight", string>;
30
36
  readonly fontSize: css.StyleXClassNameFor<"fontSize", string>;
31
37
  readonly borderRadius: css.StyleXClassNameFor<"borderRadius", string>;
32
38
  readonly gap: css.StyleXClassNameFor<"gap", string>;
@@ -64,5 +70,8 @@ export declare const styles: Readonly<{
64
70
  readonly opacity: css.StyleXClassNameFor<"opacity", 0.5>;
65
71
  readonly cursor: css.StyleXClassNameFor<"cursor", "not-allowed">;
66
72
  }>;
73
+ readonly nativeFlex: Readonly<{
74
+ readonly display: css.StyleXClassNameFor<"display", "flex">;
75
+ }>;
67
76
  }>;
68
77
  //# sourceMappingURL=styles.css.d.ts.map