@cdx-ui/primitives 0.0.1-beta.2 → 0.0.1-beta.20

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 (226) hide show
  1. package/README.md +38 -24
  2. package/lib/commonjs/index.js +36 -0
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/list-item/context.js +11 -0
  5. package/lib/commonjs/list-item/context.js.map +1 -0
  6. package/lib/commonjs/list-item/createListItemContent.js +30 -0
  7. package/lib/commonjs/list-item/createListItemContent.js.map +1 -0
  8. package/lib/commonjs/list-item/createListItemDescription.js +25 -0
  9. package/lib/commonjs/list-item/createListItemDescription.js.map +1 -0
  10. package/lib/commonjs/list-item/createListItemLeadingSlot.js +34 -0
  11. package/lib/commonjs/list-item/createListItemLeadingSlot.js.map +1 -0
  12. package/lib/commonjs/list-item/createListItemMeta.js +25 -0
  13. package/lib/commonjs/list-item/createListItemMeta.js.map +1 -0
  14. package/lib/commonjs/list-item/createListItemRoot.js +157 -0
  15. package/lib/commonjs/list-item/createListItemRoot.js.map +1 -0
  16. package/lib/commonjs/list-item/createListItemSectionHeader.js +54 -0
  17. package/lib/commonjs/list-item/createListItemSectionHeader.js.map +1 -0
  18. package/lib/commonjs/list-item/createListItemTitle.js +25 -0
  19. package/lib/commonjs/list-item/createListItemTitle.js.map +1 -0
  20. package/lib/commonjs/list-item/createListItemTrailingSlot.js +28 -0
  21. package/lib/commonjs/list-item/createListItemTrailingSlot.js.map +1 -0
  22. package/lib/commonjs/list-item/index.js +55 -0
  23. package/lib/commonjs/list-item/index.js.map +1 -0
  24. package/lib/commonjs/list-item/types.js +6 -0
  25. package/lib/commonjs/list-item/types.js.map +1 -0
  26. package/lib/commonjs/radio/context.js +14 -0
  27. package/lib/commonjs/radio/context.js.map +1 -0
  28. package/lib/commonjs/radio/createRadioGroup.js +66 -0
  29. package/lib/commonjs/radio/createRadioGroup.js.map +1 -0
  30. package/lib/commonjs/radio/createRadioIndicator.js +43 -0
  31. package/lib/commonjs/radio/createRadioIndicator.js.map +1 -0
  32. package/lib/commonjs/radio/createRadioLabel.js +38 -0
  33. package/lib/commonjs/radio/createRadioLabel.js.map +1 -0
  34. package/lib/commonjs/radio/createRadioRoot.js +95 -0
  35. package/lib/commonjs/radio/createRadioRoot.js.map +1 -0
  36. package/lib/commonjs/radio/createRadioRoot.web.js +87 -0
  37. package/lib/commonjs/radio/createRadioRoot.web.js.map +1 -0
  38. package/lib/commonjs/radio/index.js +26 -0
  39. package/lib/commonjs/radio/index.js.map +1 -0
  40. package/lib/commonjs/radio/types.js +6 -0
  41. package/lib/commonjs/radio/types.js.map +1 -0
  42. package/lib/commonjs/radio/useRadioRoot.js +64 -0
  43. package/lib/commonjs/radio/useRadioRoot.js.map +1 -0
  44. package/lib/commonjs/tile/context.js +30 -0
  45. package/lib/commonjs/tile/context.js.map +1 -0
  46. package/lib/commonjs/tile/createTileContent.js +30 -0
  47. package/lib/commonjs/tile/createTileContent.js.map +1 -0
  48. package/lib/commonjs/tile/createTileDescription.js +28 -0
  49. package/lib/commonjs/tile/createTileDescription.js.map +1 -0
  50. package/lib/commonjs/tile/createTileGroup.js +112 -0
  51. package/lib/commonjs/tile/createTileGroup.js.map +1 -0
  52. package/lib/commonjs/tile/createTileIndicator.js +46 -0
  53. package/lib/commonjs/tile/createTileIndicator.js.map +1 -0
  54. package/lib/commonjs/tile/createTileLeadingSlot.js +34 -0
  55. package/lib/commonjs/tile/createTileLeadingSlot.js.map +1 -0
  56. package/lib/commonjs/tile/createTileRoot.js +133 -0
  57. package/lib/commonjs/tile/createTileRoot.js.map +1 -0
  58. package/lib/commonjs/tile/createTileTitle.js +28 -0
  59. package/lib/commonjs/tile/createTileTitle.js.map +1 -0
  60. package/lib/commonjs/tile/createTileTrailingSlot.js +35 -0
  61. package/lib/commonjs/tile/createTileTrailingSlot.js.map +1 -0
  62. package/lib/commonjs/tile/index.js +55 -0
  63. package/lib/commonjs/tile/index.js.map +1 -0
  64. package/lib/commonjs/tile/types.js +6 -0
  65. package/lib/commonjs/tile/types.js.map +1 -0
  66. package/lib/module/index.js +3 -0
  67. package/lib/module/index.js.map +1 -1
  68. package/lib/module/list-item/context.js +5 -0
  69. package/lib/module/list-item/context.js.map +1 -0
  70. package/lib/module/list-item/createListItemContent.js +24 -0
  71. package/lib/module/list-item/createListItemContent.js.map +1 -0
  72. package/lib/module/list-item/createListItemDescription.js +19 -0
  73. package/lib/module/list-item/createListItemDescription.js.map +1 -0
  74. package/lib/module/list-item/createListItemLeadingSlot.js +28 -0
  75. package/lib/module/list-item/createListItemLeadingSlot.js.map +1 -0
  76. package/lib/module/list-item/createListItemMeta.js +19 -0
  77. package/lib/module/list-item/createListItemMeta.js.map +1 -0
  78. package/lib/module/list-item/createListItemRoot.js +151 -0
  79. package/lib/module/list-item/createListItemRoot.js.map +1 -0
  80. package/lib/module/list-item/createListItemSectionHeader.js +48 -0
  81. package/lib/module/list-item/createListItemSectionHeader.js.map +1 -0
  82. package/lib/module/list-item/createListItemTitle.js +19 -0
  83. package/lib/module/list-item/createListItemTitle.js.map +1 -0
  84. package/lib/module/list-item/createListItemTrailingSlot.js +22 -0
  85. package/lib/module/list-item/createListItemTrailingSlot.js.map +1 -0
  86. package/lib/module/list-item/index.js +39 -0
  87. package/lib/module/list-item/index.js.map +1 -0
  88. package/lib/module/list-item/types.js +4 -0
  89. package/lib/module/list-item/types.js.map +1 -0
  90. package/lib/module/radio/context.js +7 -0
  91. package/lib/module/radio/context.js.map +1 -0
  92. package/lib/module/radio/createRadioGroup.js +61 -0
  93. package/lib/module/radio/createRadioGroup.js.map +1 -0
  94. package/lib/module/radio/createRadioIndicator.js +38 -0
  95. package/lib/module/radio/createRadioIndicator.js.map +1 -0
  96. package/lib/module/radio/createRadioLabel.js +33 -0
  97. package/lib/module/radio/createRadioLabel.js.map +1 -0
  98. package/lib/module/radio/createRadioRoot.js +90 -0
  99. package/lib/module/radio/createRadioRoot.js.map +1 -0
  100. package/lib/module/radio/createRadioRoot.web.js +82 -0
  101. package/lib/module/radio/createRadioRoot.web.js.map +1 -0
  102. package/lib/module/radio/index.js +22 -0
  103. package/lib/module/radio/index.js.map +1 -0
  104. package/lib/module/radio/types.js +4 -0
  105. package/lib/module/radio/types.js.map +1 -0
  106. package/lib/module/radio/useRadioRoot.js +60 -0
  107. package/lib/module/radio/useRadioRoot.js.map +1 -0
  108. package/lib/module/tile/context.js +21 -0
  109. package/lib/module/tile/context.js.map +1 -0
  110. package/lib/module/tile/createTileContent.js +24 -0
  111. package/lib/module/tile/createTileContent.js.map +1 -0
  112. package/lib/module/tile/createTileDescription.js +22 -0
  113. package/lib/module/tile/createTileDescription.js.map +1 -0
  114. package/lib/module/tile/createTileGroup.js +106 -0
  115. package/lib/module/tile/createTileGroup.js.map +1 -0
  116. package/lib/module/tile/createTileIndicator.js +40 -0
  117. package/lib/module/tile/createTileIndicator.js.map +1 -0
  118. package/lib/module/tile/createTileLeadingSlot.js +28 -0
  119. package/lib/module/tile/createTileLeadingSlot.js.map +1 -0
  120. package/lib/module/tile/createTileRoot.js +127 -0
  121. package/lib/module/tile/createTileRoot.js.map +1 -0
  122. package/lib/module/tile/createTileTitle.js +22 -0
  123. package/lib/module/tile/createTileTitle.js.map +1 -0
  124. package/lib/module/tile/createTileTrailingSlot.js +29 -0
  125. package/lib/module/tile/createTileTrailingSlot.js.map +1 -0
  126. package/lib/module/tile/index.js +39 -0
  127. package/lib/module/tile/index.js.map +1 -0
  128. package/lib/module/tile/types.js +4 -0
  129. package/lib/module/tile/types.js.map +1 -0
  130. package/lib/typescript/index.d.ts +3 -0
  131. package/lib/typescript/index.d.ts.map +1 -1
  132. package/lib/typescript/list-item/context.d.ts +6 -0
  133. package/lib/typescript/list-item/context.d.ts.map +1 -0
  134. package/lib/typescript/list-item/createListItemContent.d.ts +3 -0
  135. package/lib/typescript/list-item/createListItemContent.d.ts.map +1 -0
  136. package/lib/typescript/list-item/createListItemDescription.d.ts +3 -0
  137. package/lib/typescript/list-item/createListItemDescription.d.ts.map +1 -0
  138. package/lib/typescript/list-item/createListItemLeadingSlot.d.ts +4 -0
  139. package/lib/typescript/list-item/createListItemLeadingSlot.d.ts.map +1 -0
  140. package/lib/typescript/list-item/createListItemMeta.d.ts +3 -0
  141. package/lib/typescript/list-item/createListItemMeta.d.ts.map +1 -0
  142. package/lib/typescript/list-item/createListItemRoot.d.ts +4 -0
  143. package/lib/typescript/list-item/createListItemRoot.d.ts.map +1 -0
  144. package/lib/typescript/list-item/createListItemSectionHeader.d.ts +4 -0
  145. package/lib/typescript/list-item/createListItemSectionHeader.d.ts.map +1 -0
  146. package/lib/typescript/list-item/createListItemTitle.d.ts +3 -0
  147. package/lib/typescript/list-item/createListItemTitle.d.ts.map +1 -0
  148. package/lib/typescript/list-item/createListItemTrailingSlot.d.ts +3 -0
  149. package/lib/typescript/list-item/createListItemTrailingSlot.d.ts.map +1 -0
  150. package/lib/typescript/list-item/index.d.ts +16 -0
  151. package/lib/typescript/list-item/index.d.ts.map +1 -0
  152. package/lib/typescript/list-item/types.d.ts +86 -0
  153. package/lib/typescript/list-item/types.d.ts.map +1 -0
  154. package/lib/typescript/radio/context.d.ts +21 -0
  155. package/lib/typescript/radio/context.d.ts.map +1 -0
  156. package/lib/typescript/radio/createRadioGroup.d.ts +3 -0
  157. package/lib/typescript/radio/createRadioGroup.d.ts.map +1 -0
  158. package/lib/typescript/radio/createRadioIndicator.d.ts +5 -0
  159. package/lib/typescript/radio/createRadioIndicator.d.ts.map +1 -0
  160. package/lib/typescript/radio/createRadioLabel.d.ts +5 -0
  161. package/lib/typescript/radio/createRadioLabel.d.ts.map +1 -0
  162. package/lib/typescript/radio/createRadioRoot.d.ts +3 -0
  163. package/lib/typescript/radio/createRadioRoot.d.ts.map +1 -0
  164. package/lib/typescript/radio/createRadioRoot.web.d.ts +3 -0
  165. package/lib/typescript/radio/createRadioRoot.web.d.ts.map +1 -0
  166. package/lib/typescript/radio/index.d.ts +10 -0
  167. package/lib/typescript/radio/index.d.ts.map +1 -0
  168. package/lib/typescript/radio/types.d.ts +54 -0
  169. package/lib/typescript/radio/types.d.ts.map +1 -0
  170. package/lib/typescript/radio/useRadioRoot.d.ts +149 -0
  171. package/lib/typescript/radio/useRadioRoot.d.ts.map +1 -0
  172. package/lib/typescript/tile/context.d.ts +9 -0
  173. package/lib/typescript/tile/context.d.ts.map +1 -0
  174. package/lib/typescript/tile/createTileContent.d.ts +3 -0
  175. package/lib/typescript/tile/createTileContent.d.ts.map +1 -0
  176. package/lib/typescript/tile/createTileDescription.d.ts +3 -0
  177. package/lib/typescript/tile/createTileDescription.d.ts.map +1 -0
  178. package/lib/typescript/tile/createTileGroup.d.ts +4 -0
  179. package/lib/typescript/tile/createTileGroup.d.ts.map +1 -0
  180. package/lib/typescript/tile/createTileIndicator.d.ts +4 -0
  181. package/lib/typescript/tile/createTileIndicator.d.ts.map +1 -0
  182. package/lib/typescript/tile/createTileLeadingSlot.d.ts +4 -0
  183. package/lib/typescript/tile/createTileLeadingSlot.d.ts.map +1 -0
  184. package/lib/typescript/tile/createTileRoot.d.ts +4 -0
  185. package/lib/typescript/tile/createTileRoot.d.ts.map +1 -0
  186. package/lib/typescript/tile/createTileTitle.d.ts +3 -0
  187. package/lib/typescript/tile/createTileTitle.d.ts.map +1 -0
  188. package/lib/typescript/tile/createTileTrailingSlot.d.ts +9 -0
  189. package/lib/typescript/tile/createTileTrailingSlot.d.ts.map +1 -0
  190. package/lib/typescript/tile/index.d.ts +15 -0
  191. package/lib/typescript/tile/index.d.ts.map +1 -0
  192. package/lib/typescript/tile/types.d.ts +119 -0
  193. package/lib/typescript/tile/types.d.ts.map +1 -0
  194. package/package.json +5 -2
  195. package/src/index.ts +3 -0
  196. package/src/list-item/context.tsx +5 -0
  197. package/src/list-item/createListItemContent.tsx +23 -0
  198. package/src/list-item/createListItemDescription.tsx +19 -0
  199. package/src/list-item/createListItemLeadingSlot.tsx +30 -0
  200. package/src/list-item/createListItemMeta.tsx +17 -0
  201. package/src/list-item/createListItemRoot.tsx +178 -0
  202. package/src/list-item/createListItemSectionHeader.tsx +53 -0
  203. package/src/list-item/createListItemTitle.tsx +17 -0
  204. package/src/list-item/createListItemTrailingSlot.tsx +21 -0
  205. package/src/list-item/index.ts +88 -0
  206. package/src/list-item/types.ts +122 -0
  207. package/src/radio/context.tsx +21 -0
  208. package/src/radio/createRadioGroup.tsx +67 -0
  209. package/src/radio/createRadioIndicator.tsx +32 -0
  210. package/src/radio/createRadioLabel.tsx +28 -0
  211. package/src/radio/createRadioRoot.tsx +100 -0
  212. package/src/radio/createRadioRoot.web.tsx +81 -0
  213. package/src/radio/index.ts +37 -0
  214. package/src/radio/types.ts +67 -0
  215. package/src/radio/useRadioRoot.ts +69 -0
  216. package/src/tile/context.tsx +23 -0
  217. package/src/tile/createTileContent.tsx +23 -0
  218. package/src/tile/createTileDescription.tsx +19 -0
  219. package/src/tile/createTileGroup.tsx +134 -0
  220. package/src/tile/createTileIndicator.tsx +38 -0
  221. package/src/tile/createTileLeadingSlot.tsx +30 -0
  222. package/src/tile/createTileRoot.tsx +124 -0
  223. package/src/tile/createTileTitle.tsx +19 -0
  224. package/src/tile/createTileTrailingSlot.tsx +25 -0
  225. package/src/tile/index.ts +88 -0
  226. package/src/tile/types.ts +153 -0
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+
3
+ import React, { forwardRef, useMemo } from 'react';
4
+ import { composeEventHandlers, mergeRefs, useControllableState } from '@cdx-ui/utils';
5
+ import { useFocus } from '@react-native-aria/focus';
6
+ import { useHover, usePress } from '@react-native-aria/interactions';
7
+ import { dataAttributes } from '../utils/dataAttributes';
8
+ import { TileProvider, useOptionalTileGroupContext } from './context';
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ const rowStyle = {
11
+ flexDirection: 'row',
12
+ alignSelf: 'stretch',
13
+ alignItems: 'center'
14
+ };
15
+ export const createTileRoot = BasePressable => /*#__PURE__*/forwardRef((props, ref) => {
16
+ const {
17
+ value,
18
+ disabled: disabledProp = false,
19
+ isSelected: controlledSelected,
20
+ defaultSelected,
21
+ onSelectedChange,
22
+ children,
23
+ onPress,
24
+ onFocus,
25
+ onBlur,
26
+ style,
27
+ /** Consumed by styled `withStyleContext` root. */
28
+ context: _styleContext,
29
+ ...rest
30
+ } = props;
31
+ const group = useOptionalTileGroupContext();
32
+
33
+ // Standalone selection state — only meaningful when no group owns selection.
34
+ const [standaloneSelected = false, setStandaloneSelected] = useControllableState({
35
+ prop: controlledSelected,
36
+ defaultProp: defaultSelected ?? false,
37
+ onChange: next => {
38
+ onSelectedChange?.(next);
39
+ }
40
+ });
41
+ const isSelected = group ? group.isSelected(value) : standaloneSelected;
42
+ const disabledByGroup = group ? group.isTileDisabledByGroup(value) : false;
43
+ const isDisabled = disabledByGroup || disabledProp;
44
+ const cannotToggle = isDisabled;
45
+ const {
46
+ focusProps,
47
+ isFocused
48
+ } = useFocus();
49
+ const {
50
+ pressProps,
51
+ isPressed
52
+ } = usePress({
53
+ isDisabled: cannotToggle
54
+ });
55
+ const {
56
+ hoverProps,
57
+ isHovered
58
+ } = useHover();
59
+
60
+ // Standalone tiles use checkbox semantics (independent on/off toggle).
61
+ const selectionType = group ? group.type : 'multiple';
62
+ const accessibilityState = useMemo(() => ({
63
+ disabled: isDisabled,
64
+ ...(selectionType === 'single' ? {
65
+ selected: isSelected
66
+ } : {
67
+ checked: isSelected
68
+ })
69
+ }), [isDisabled, isSelected, selectionType]);
70
+ const tileContext = useMemo(() => ({
71
+ value,
72
+ isSelected,
73
+ isDisabled,
74
+ selectionType
75
+ }), [value, isSelected, isDisabled, selectionType]);
76
+ const passthrough = rest;
77
+ const composedOnPress = composeEventHandlers(onPress, () => {
78
+ if (cannotToggle) {
79
+ return;
80
+ }
81
+ if (group) {
82
+ group.toggleValue(value);
83
+ } else {
84
+ setStandaloneSelected(!standaloneSelected);
85
+ }
86
+ });
87
+ const sharedHandlers = {
88
+ onPress: isDisabled ? undefined : composedOnPress,
89
+ onPressIn: composeEventHandlers(passthrough.onPressIn, pressProps.onPressIn),
90
+ onPressOut: composeEventHandlers(passthrough.onPressOut, pressProps.onPressOut),
91
+ onHoverIn: composeEventHandlers(passthrough.onHoverIn, hoverProps.onHoverIn),
92
+ onHoverOut: composeEventHandlers(passthrough.onHoverOut, hoverProps.onHoverOut),
93
+ onFocus: composeEventHandlers(onFocus, focusProps.onFocus),
94
+ onBlur: composeEventHandlers(onBlur, focusProps.onBlur)
95
+ };
96
+ const role = selectionType === 'single' ? 'radio' : 'checkbox';
97
+ const sharedAttrs = {
98
+ accessibilityRole: role,
99
+ role,
100
+ accessibilityState,
101
+ 'aria-checked': isSelected,
102
+ ...(isDisabled ? {
103
+ 'aria-disabled': true
104
+ } : {}),
105
+ ...dataAttributes({
106
+ slot: 'tile',
107
+ state: isSelected ? 'selected' : 'unselected',
108
+ disabled: isDisabled,
109
+ active: isPressed,
110
+ hover: isHovered,
111
+ focused: isFocused
112
+ })
113
+ };
114
+ return /*#__PURE__*/_jsx(TileProvider, {
115
+ value: tileContext,
116
+ children: /*#__PURE__*/_jsx(BasePressable, {
117
+ ...rest,
118
+ context: _styleContext,
119
+ ref: mergeRefs(ref),
120
+ ...sharedAttrs,
121
+ ...sharedHandlers,
122
+ style: [rowStyle, style],
123
+ children: children
124
+ })
125
+ });
126
+ });
127
+ //# sourceMappingURL=createTileRoot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","useMemo","composeEventHandlers","mergeRefs","useControllableState","useFocus","useHover","usePress","dataAttributes","TileProvider","useOptionalTileGroupContext","jsx","_jsx","rowStyle","flexDirection","alignSelf","alignItems","createTileRoot","BasePressable","props","ref","value","disabled","disabledProp","isSelected","controlledSelected","defaultSelected","onSelectedChange","children","onPress","onFocus","onBlur","style","context","_styleContext","rest","group","standaloneSelected","setStandaloneSelected","prop","defaultProp","onChange","next","disabledByGroup","isTileDisabledByGroup","isDisabled","cannotToggle","focusProps","isFocused","pressProps","isPressed","hoverProps","isHovered","selectionType","type","accessibilityState","selected","checked","tileContext","passthrough","composedOnPress","toggleValue","sharedHandlers","undefined","onPressIn","onPressOut","onHoverIn","onHoverOut","role","sharedAttrs","accessibilityRole","slot","state","active","hover","focused"],"sourceRoot":"../../../src","sources":["tile/createTileRoot.tsx"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ import React, { forwardRef } from 'react';
4
+ import { dataAttributes } from '../utils/dataAttributes';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ const noUnderline = {
7
+ textDecorationLine: 'none'
8
+ };
9
+ export const createTileTitle = Base => /*#__PURE__*/forwardRef(({
10
+ children,
11
+ style,
12
+ ...props
13
+ }, ref) => /*#__PURE__*/_jsx(Base, {
14
+ ...props,
15
+ ...dataAttributes({
16
+ slot: 'tile-title'
17
+ }),
18
+ ref: ref,
19
+ style: [noUnderline, style],
20
+ children: children
21
+ }));
22
+ //# sourceMappingURL=createTileTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","dataAttributes","jsx","_jsx","noUnderline","textDecorationLine","createTileTitle","Base","children","style","props","ref","slot"],"sourceRoot":"../../../src","sources":["tile/createTileTitle.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,cAAc,QAAQ,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGzD,MAAMC,WAAW,GAAG;EAAEC,kBAAkB,EAAE;AAAgB,CAAC;AAE3D,OAAO,MAAMC,eAAe,GAAQC,IAA4B,iBAC9DP,UAAU,CAAC,CAAC;EAAEQ,QAAQ;EAAEC,KAAK;EAAE,GAAGC;AAAuB,CAAC,EAAEC,GAAuB,kBACjFR,IAAA,CAACI,IAAI;EAAA,GACEG,KAAK;EAAA,GACNT,cAAc,CAAC;IACjBW,IAAI,EAAE;EACR,CAAC,CAAC;EACFD,GAAG,EAAEA,GAAoB;EACzBF,KAAK,EAAE,CAACL,WAAW,EAAEK,KAAK,CAAE;EAAAD,QAAA,EAE3BA;AAAQ,CACL,CACP,CAAC","ignoreList":[]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ import React, { forwardRef } from 'react';
4
+ import { dataAttributes } from '../utils/dataAttributes';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ const shrinkZero = {
7
+ flexShrink: 0
8
+ };
9
+
10
+ /**
11
+ * Generic trailing content (chevron, amount, chip, status). Distinct from `Tile.Indicator`,
12
+ * which is purpose-built for the radio/checkbox selection affordance.
13
+ *
14
+ * Trailing content is meaningful by default (`aria-hidden` falsy), unlike the indicator.
15
+ */
16
+ export const createTileTrailingSlot = Base => /*#__PURE__*/forwardRef(({
17
+ children,
18
+ style,
19
+ ...props
20
+ }, ref) => /*#__PURE__*/_jsx(Base, {
21
+ ...props,
22
+ ...dataAttributes({
23
+ slot: 'tile-trailing'
24
+ }),
25
+ ref: ref,
26
+ style: [shrinkZero, style],
27
+ children: children
28
+ }));
29
+ //# sourceMappingURL=createTileTrailingSlot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","dataAttributes","jsx","_jsx","shrinkZero","flexShrink","createTileTrailingSlot","Base","children","style","props","ref","slot"],"sourceRoot":"../../../src","sources":["tile/createTileTrailingSlot.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,cAAc,QAAQ,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGzD,MAAMC,UAAU,GAAG;EAAEC,UAAU,EAAE;AAAW,CAAC;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,GAAQC,IAA4B,iBACrEP,UAAU,CAAC,CAAC;EAAEQ,QAAQ;EAAEC,KAAK;EAAE,GAAGC;AAA8B,CAAC,EAAEC,GAAuB,kBACxFR,IAAA,CAACI,IAAI;EAAA,GACEG,KAAK;EAAA,GACNT,cAAc,CAAC;IACjBW,IAAI,EAAE;EACR,CAAC,CAAC;EACFD,GAAG,EAAEA,GAAoB;EACzBF,KAAK,EAAE,CAACL,UAAU,EAAEK,KAAK,CAAE;EAAAD,QAAA,EAE1BA;AAAQ,CACL,CACP,CAAC","ignoreList":[]}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ import { createTileContent } from './createTileContent';
4
+ import { createTileDescription } from './createTileDescription';
5
+ import { createTileGroup } from './createTileGroup';
6
+ import { createTileIndicator } from './createTileIndicator';
7
+ import { createTileLeadingSlot } from './createTileLeadingSlot';
8
+ import { createTileRoot } from './createTileRoot';
9
+ import { createTileTitle } from './createTileTitle';
10
+ import { createTileTrailingSlot } from './createTileTrailingSlot';
11
+ export { TileProvider, useTileContext } from './context';
12
+ export function createTile(BaseComponents) {
13
+ const Tile = createTileRoot(BaseComponents.Pressable);
14
+ const Group = createTileGroup(BaseComponents.Group);
15
+ const LeadingSlot = createTileLeadingSlot(BaseComponents.LeadingSlot);
16
+ const Content = createTileContent(BaseComponents.Content);
17
+ const Title = createTileTitle(BaseComponents.Title);
18
+ const Description = createTileDescription(BaseComponents.Description);
19
+ const Indicator = createTileIndicator(BaseComponents.Indicator);
20
+ const TrailingSlot = createTileTrailingSlot(BaseComponents.TrailingSlot);
21
+ Tile.displayName = 'TilePrimitive';
22
+ Group.displayName = 'TilePrimitive.Group';
23
+ LeadingSlot.displayName = 'TilePrimitive.LeadingSlot';
24
+ Content.displayName = 'TilePrimitive.Content';
25
+ Title.displayName = 'TilePrimitive.Title';
26
+ Description.displayName = 'TilePrimitive.Description';
27
+ Indicator.displayName = 'TilePrimitive.Indicator';
28
+ TrailingSlot.displayName = 'TilePrimitive.TrailingSlot';
29
+ return Object.assign(Tile, {
30
+ Group,
31
+ LeadingSlot,
32
+ Content,
33
+ Title,
34
+ Description,
35
+ Indicator,
36
+ TrailingSlot
37
+ });
38
+ }
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createTileContent","createTileDescription","createTileGroup","createTileIndicator","createTileLeadingSlot","createTileRoot","createTileTitle","createTileTrailingSlot","TileProvider","useTileContext","createTile","BaseComponents","Tile","Pressable","Group","LeadingSlot","Content","Title","Description","Indicator","TrailingSlot","displayName","Object","assign"],"sourceRoot":"../../../src","sources":["tile/index.ts"],"mappings":";;AACA,SAASA,iBAAiB,QAAQ,qBAAqB;AACvD,SAASC,qBAAqB,QAAQ,yBAAyB;AAC/D,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,qBAAqB,QAAQ,yBAAyB;AAC/D,SAASC,cAAc,QAAQ,kBAAkB;AACjD,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,sBAAsB,QAAQ,0BAA0B;AAsBjE,SAASC,YAAY,EAAEC,cAAc,QAAQ,WAAW;AAExD,OAAO,SAASC,UAAUA,CASxBC,cASD,EAAE;EACD,MAAMC,IAAI,GAAGP,cAAc,CAACM,cAAc,CAACE,SAAS,CAAC;EACrD,MAAMC,KAAK,GAAGZ,eAAe,CAACS,cAAc,CAACG,KAAK,CAAC;EACnD,MAAMC,WAAW,GAAGX,qBAAqB,CAACO,cAAc,CAACI,WAAW,CAAC;EACrE,MAAMC,OAAO,GAAGhB,iBAAiB,CAACW,cAAc,CAACK,OAAO,CAAC;EACzD,MAAMC,KAAK,GAAGX,eAAe,CAACK,cAAc,CAACM,KAAK,CAAC;EACnD,MAAMC,WAAW,GAAGjB,qBAAqB,CAACU,cAAc,CAACO,WAAW,CAAC;EACrE,MAAMC,SAAS,GAAGhB,mBAAmB,CAACQ,cAAc,CAACQ,SAAS,CAAC;EAC/D,MAAMC,YAAY,GAAGb,sBAAsB,CAACI,cAAc,CAACS,YAAY,CAAC;EAExER,IAAI,CAACS,WAAW,GAAG,eAAe;EAClCP,KAAK,CAACO,WAAW,GAAG,qBAAqB;EACzCN,WAAW,CAACM,WAAW,GAAG,2BAA2B;EACrDL,OAAO,CAACK,WAAW,GAAG,uBAAuB;EAC7CJ,KAAK,CAACI,WAAW,GAAG,qBAAqB;EACzCH,WAAW,CAACG,WAAW,GAAG,2BAA2B;EACrDF,SAAS,CAACE,WAAW,GAAG,yBAAyB;EACjDD,YAAY,CAACC,WAAW,GAAG,4BAA4B;EAEvD,OAAOC,MAAM,CAACC,MAAM,CAACX,IAAI,EAAE;IACzBE,KAAK;IACLC,WAAW;IACXC,OAAO;IACPC,KAAK;IACLC,WAAW;IACXC,SAAS;IACTC;EACF,CAAC,CAAC;AAUJ","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["tile/types.ts"],"mappings":"","ignoreList":[]}
@@ -7,10 +7,13 @@ export * from './form';
7
7
  export * from './input';
8
8
  export * from './otp-input';
9
9
  export * from './link';
10
+ export * from './list-item';
10
11
  export { type EdgeInsets, OverlayInsetsProvider } from './overlay';
11
12
  export * from './select';
12
13
  export * from './switch';
14
+ export * from './tile';
13
15
  export * from './progress';
16
+ export * from './radio';
14
17
  export type { InteractionState } from './types';
15
18
  export { dataAttributes } from './utils/dataAttributes';
16
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,KAAK,UAAU,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACnE,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,KAAK,UAAU,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACnE,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { IListItemContextValue } from './types';
2
+ export declare const ListItemProvider: import("react").FunctionComponent<{
3
+ children: import("react").ReactNode;
4
+ value: IListItemContextValue;
5
+ }>, useListItemContext: () => IListItemContextValue;
6
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/list-item/context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,eAAO,MAAO,gBAAgB;;;IAAE,kBAAkB,6BACO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemContent: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").ViewProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemContent.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAU1C,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAYlE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemDescription: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").TextProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemDescription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemDescription.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,yBAAyB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAcvE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { IListItemLeadingSlotProps } from './types';
3
+ export declare const createListItemLeadingSlot: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<IListItemLeadingSlotProps & React.RefAttributes<unknown>>;
4
+ //# sourceMappingURL=createListItemLeadingSlot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemLeadingSlot.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemLeadingSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAIzD,eAAO,MAAM,yBAAyB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,8FAuBvE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemMeta: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").TextProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemMeta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemMeta.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemMeta.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,kBAAkB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAY/D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { IListItemProps } from './types';
3
+ export declare const createListItemRoot: <V, P>(BaseView: React.ComponentType<V>, BasePressable: React.ComponentType<P>) => React.ForwardRefExoticComponent<IListItemProps & React.RefAttributes<unknown>>;
4
+ //# sourceMappingURL=createListItemRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemRoot.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,KAAK,EAAE,cAAc,EAAiC,MAAM,SAAS,CAAC;AAyB7E,eAAO,MAAM,kBAAkB,GAAI,CAAC,EAAE,CAAC,EACrC,UAAU,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EAChC,eAAe,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,mFAgJpC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { IListItemSectionHeaderProps } from './types';
3
+ export declare const createListItemSectionHeader: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<IListItemSectionHeaderProps & React.RefAttributes<unknown>>;
4
+ //# sourceMappingURL=createListItemSectionHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemSectionHeader.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemSectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAsB3D,eAAO,MAAM,2BAA2B,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,gGA2BzE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemTitle: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").TextProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemTitle.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAYhE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const createListItemTrailingSlot: <T>(Base: React.ComponentType<T>) => React.ForwardRefExoticComponent<import("react-native").ViewProps & React.RefAttributes<unknown>>;
3
+ //# sourceMappingURL=createListItemTrailingSlot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createListItemTrailingSlot.d.ts","sourceRoot":"","sources":["../../../src/list-item/createListItemTrailingSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,eAAO,MAAM,0BAA0B,GAAI,CAAC,EAAG,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,qGAcxE,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type React from 'react';
2
+ import type { IListItemComponentType } from './types';
3
+ export type { IListItemComponentType, IListItemContentProps, IListItemContextValue, IListItemDescriptionProps, IListItemLeadingSlotProps, IListItemMetaProps, IListItemPressablePassthrough, IListItemProps, IListItemSectionHeaderProps, IListItemTitleProps, IListItemTrailingSlotProps, ListItemCrossAlign, ListItemSize, ListItemSurface, } from './types';
4
+ export { ListItemProvider, useListItemContext } from './context';
5
+ export declare function createListItem<ViewComponent, PressableComponent, LeadingSlot, Content, Title, Description, Meta, TrailingSlot, SectionHeader>(BaseComponents: {
6
+ View: React.ComponentType<ViewComponent>;
7
+ Pressable: React.ComponentType<PressableComponent>;
8
+ LeadingSlot: React.ComponentType<LeadingSlot>;
9
+ Content: React.ComponentType<Content>;
10
+ Title: React.ComponentType<Title>;
11
+ Description: React.ComponentType<Description>;
12
+ Meta: React.ComponentType<Meta>;
13
+ TrailingSlot: React.ComponentType<TrailingSlot>;
14
+ SectionHeader: React.ComponentType<SectionHeader>;
15
+ }): IListItemComponentType<ViewComponent | PressableComponent, LeadingSlot, Content, Title, Description, Meta, TrailingSlot, SectionHeader>;
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/list-item/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,YAAY,EACZ,eAAe,GAChB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAEjE,wBAAgB,cAAc,CAC5B,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,OAAO,EACP,KAAK,EACL,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,aAAa,EACb,cAAc,EAAE;IAChB,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IACzC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACnD,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAC9C,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAClC,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAC9C,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAChC,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAChD,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;CACnD,GA2BO,sBAAsB,CAC1B,aAAa,GAAG,kBAAkB,EAClC,WAAW,EACX,OAAO,EACP,KAAK,EACL,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,aAAa,CACd,CACF"}
@@ -0,0 +1,86 @@
1
+ import type { ForwardRefExoticComponent, PropsWithoutRef, ReactNode, RefAttributes } from 'react';
2
+ import type { PressableProps, TextProps, ViewProps } from 'react-native';
3
+ export type ListItemSize = 'default' | 'compact';
4
+ export type ListItemSurface = 'default' | 'negative';
5
+ /**
6
+ * Cross-axis alignment for the row (`flex-direction: row`).
7
+ * - **center**: Leading, content, and trailing are vertically centered (typical transactions).
8
+ * - **start**: Top-aligned — use when trailing text should align with the title row (e.g. branch distance “2.04 mi”) or status chips sit above a tall content stack.
9
+ */
10
+ export type ListItemCrossAlign = 'center' | 'start';
11
+ export type IListItemPressablePassthrough = Partial<Pick<PressableProps, 'onPressIn' | 'onPressOut' | 'onHoverIn' | 'onHoverOut'>>;
12
+ export interface IListItemProps extends ViewProps, IListItemPressablePassthrough {
13
+ /**
14
+ * Disables press handling when the root is pressable (maps to Pressable `disabled`).
15
+ */
16
+ disabled?: boolean;
17
+ /**
18
+ * When set (and `asChild` is not used), root renders as pressable with interaction props.
19
+ */
20
+ onPress?: PressableProps['onPress'];
21
+ /**
22
+ * Vertical density; mapped at styled layer via `data-size`.
23
+ * @default 'default'
24
+ */
25
+ size?: ListItemSize;
26
+ /**
27
+ * Semantic row surface (e.g. canceled transaction); mapped via `data-surface`.
28
+ * @default 'default'
29
+ */
30
+ surface?: ListItemSurface;
31
+ /**
32
+ * Whether the row shows a bottom separator; mapped via `data-separator`.
33
+ * @default true
34
+ */
35
+ showSeparator?: boolean;
36
+ /**
37
+ * Vertical alignment of leading / content / trailing along the row cross axis.
38
+ * @default 'center'
39
+ */
40
+ crossAlign?: ListItemCrossAlign;
41
+ /**
42
+ * Merge interaction props onto a single child instead of rendering the default pressable root.
43
+ * Intended for use with `onPress`.
44
+ */
45
+ asChild?: boolean;
46
+ }
47
+ export interface IListItemContextValue {
48
+ isPressed: boolean;
49
+ isHovered: boolean;
50
+ isDisabled: boolean;
51
+ crossAlign: ListItemCrossAlign;
52
+ }
53
+ export interface IListItemLeadingSlotProps extends ViewProps {
54
+ /**
55
+ * Decorative leading content defaults to hidden from the accessibility tree.
56
+ * Set to `false` when the leading region contains meaningful controls.
57
+ * @default true
58
+ */
59
+ 'aria-hidden'?: boolean;
60
+ }
61
+ export type IListItemContentProps = ViewProps;
62
+ export type IListItemTitleProps = TextProps;
63
+ export type IListItemDescriptionProps = TextProps;
64
+ export type IListItemMetaProps = TextProps;
65
+ export type IListItemTrailingSlotProps = ViewProps;
66
+ export interface IListItemSectionHeaderProps extends ViewProps {
67
+ /** Primary section label (e.g. date heading). */
68
+ children: ReactNode;
69
+ /** Optional right-aligned adornment (e.g. section Chip). */
70
+ trailing?: ReactNode;
71
+ /**
72
+ * Whether to expose the top divider marker for styling (`data-divider`).
73
+ * @default true
74
+ */
75
+ showDivider?: boolean;
76
+ }
77
+ export type IListItemComponentType<RootRef, LeadingSlot, Content, Title, Description, Meta, TrailingSlot, SectionHeader> = ForwardRefExoticComponent<RefAttributes<RootRef> & IListItemProps> & {
78
+ LeadingSlot: ForwardRefExoticComponent<RefAttributes<LeadingSlot> & PropsWithoutRef<LeadingSlot> & IListItemLeadingSlotProps>;
79
+ Content: ForwardRefExoticComponent<RefAttributes<Content> & PropsWithoutRef<Content> & IListItemContentProps>;
80
+ Title: ForwardRefExoticComponent<RefAttributes<Title> & PropsWithoutRef<Title> & IListItemTitleProps>;
81
+ Description: ForwardRefExoticComponent<RefAttributes<Description> & PropsWithoutRef<Description> & IListItemDescriptionProps>;
82
+ Meta: ForwardRefExoticComponent<RefAttributes<Meta> & PropsWithoutRef<Meta> & IListItemMetaProps>;
83
+ TrailingSlot: ForwardRefExoticComponent<RefAttributes<TrailingSlot> & PropsWithoutRef<TrailingSlot> & IListItemTrailingSlotProps>;
84
+ SectionHeader: ForwardRefExoticComponent<RefAttributes<SectionHeader> & PropsWithoutRef<SectionHeader> & IListItemSectionHeaderProps>;
85
+ };
86
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/list-item/types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import type { RadioGroupState } from '@react-stately/radio';
3
+ import type { IRadioContextValue } from './types';
4
+ export declare const RadioProvider: React.FunctionComponent<{
5
+ children: React.ReactNode;
6
+ value: IRadioContextValue;
7
+ }>, useRadioContext: () => IRadioContextValue;
8
+ export interface IRadioGroupState {
9
+ isReadOnly: boolean;
10
+ isDisabled: boolean;
11
+ isInvalid: boolean;
12
+ isRequired: boolean;
13
+ isSelected: (value: string) => boolean;
14
+ selectValue: (value: string) => void;
15
+ }
16
+ export declare const RadioGroupContext: React.Context<{
17
+ state: IRadioGroupState;
18
+ radioGroupState: RadioGroupState;
19
+ name?: string;
20
+ } | null>;
21
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/radio/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAO,aAAa;;;IAAE,eAAe,0BAAqD,CAAC;AAElG,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACvC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,iBAAiB;WACrB,gBAAgB;qBACN,eAAe;WACzB,MAAM;SACA,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IRadioGroupProps } from './types';
2
+ export declare const createRadioGroup: <T>(BaseRadioGroup: React.ComponentType<T>) => import("react").ForwardRefExoticComponent<IRadioGroupProps & import("react").RefAttributes<T>>;
3
+ //# sourceMappingURL=createRadioGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioGroup.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioGroup.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,gBAAgB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,mGA0DvE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { IRadioIndicatorProps } from './types';
2
+ export declare const createRadioIndicator: <T>(BaseRadioIndicator: React.ComponentType<T>) => import("react").ForwardRefExoticComponent<IRadioIndicatorProps & {
3
+ className?: string;
4
+ } & import("react").RefAttributes<unknown>>;
5
+ //# sourceMappingURL=createRadioIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioIndicator.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioIndicator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAG,oBAAoB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;gBACxB,MAAM;2CAyB9D,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { IRadioLabelProps } from './types';
2
+ export declare const createRadioLabel: <T>(BaseRadioLabel: React.ComponentType<T>) => import("react").ForwardRefExoticComponent<IRadioLabelProps & {
3
+ className?: string;
4
+ } & import("react").RefAttributes<unknown>>;
5
+ //# sourceMappingURL=createRadioLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioLabel.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioLabel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,gBAAgB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;gBACpB,MAAM;2CAqB1D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IRadioProps } from './types';
2
+ export declare const createRadioRoot: <T>(BaseRadio: React.ComponentType<T>, RadioIndicator: React.ComponentType<any>) => import("react").ForwardRefExoticComponent<IRadioProps & import("react").RefAttributes<T>>;
3
+ //# sourceMappingURL=createRadioRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioRoot.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioRoot.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,eAAO,MAAM,eAAe,GAAI,CAAC,EAC/B,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACjC,gBAAgB,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,8FAwFvC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { IRadioProps } from './types';
2
+ export declare const createRadioRoot: <T>(BaseRadio: React.ComponentType<T>, RadioIndicator: React.ComponentType<any>) => import("react").ForwardRefExoticComponent<IRadioProps & import("react").RefAttributes<T>>;
3
+ //# sourceMappingURL=createRadioRoot.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRadioRoot.web.d.ts","sourceRoot":"","sources":["../../../src/radio/createRadioRoot.web.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3C,eAAO,MAAM,eAAe,GAAI,CAAC,EAC/B,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACjC,gBAAgB,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,8FAmEtC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type React from 'react';
2
+ import type { IRadioComponentType } from './types';
3
+ export type { IRadioComponentType, IRadioGroupProps, IRadioIndicatorProps, IRadioLabelProps, IRadioProps, } from './types';
4
+ export declare function createRadio<Root, Indicator, Label, Group>(BaseComponents: {
5
+ Root: React.ComponentType<Root>;
6
+ Indicator: React.ComponentType<Indicator>;
7
+ Label: React.ComponentType<Label>;
8
+ Group: React.ComponentType<Group>;
9
+ }): IRadioComponentType<Root, Indicator, Label, Group>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,YAAY,EACV,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,GACZ,MAAM,SAAS,CAAC;AAEjB,wBAAgB,WAAW,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE;IACzE,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAChC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC1C,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAClC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;CACnC,GAeO,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,CACzD"}