@cdx-ui/primitives 0.0.1-beta.1 → 0.0.1-beta.11

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 (149) hide show
  1. package/README.md +21 -21
  2. package/lib/commonjs/index.js +24 -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 +142 -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/module/index.js +2 -0
  45. package/lib/module/index.js.map +1 -1
  46. package/lib/module/list-item/context.js +5 -0
  47. package/lib/module/list-item/context.js.map +1 -0
  48. package/lib/module/list-item/createListItemContent.js +24 -0
  49. package/lib/module/list-item/createListItemContent.js.map +1 -0
  50. package/lib/module/list-item/createListItemDescription.js +19 -0
  51. package/lib/module/list-item/createListItemDescription.js.map +1 -0
  52. package/lib/module/list-item/createListItemLeadingSlot.js +28 -0
  53. package/lib/module/list-item/createListItemLeadingSlot.js.map +1 -0
  54. package/lib/module/list-item/createListItemMeta.js +19 -0
  55. package/lib/module/list-item/createListItemMeta.js.map +1 -0
  56. package/lib/module/list-item/createListItemRoot.js +136 -0
  57. package/lib/module/list-item/createListItemRoot.js.map +1 -0
  58. package/lib/module/list-item/createListItemSectionHeader.js +48 -0
  59. package/lib/module/list-item/createListItemSectionHeader.js.map +1 -0
  60. package/lib/module/list-item/createListItemTitle.js +19 -0
  61. package/lib/module/list-item/createListItemTitle.js.map +1 -0
  62. package/lib/module/list-item/createListItemTrailingSlot.js +22 -0
  63. package/lib/module/list-item/createListItemTrailingSlot.js.map +1 -0
  64. package/lib/module/list-item/index.js +39 -0
  65. package/lib/module/list-item/index.js.map +1 -0
  66. package/lib/module/list-item/types.js +4 -0
  67. package/lib/module/list-item/types.js.map +1 -0
  68. package/lib/module/radio/context.js +7 -0
  69. package/lib/module/radio/context.js.map +1 -0
  70. package/lib/module/radio/createRadioGroup.js +61 -0
  71. package/lib/module/radio/createRadioGroup.js.map +1 -0
  72. package/lib/module/radio/createRadioIndicator.js +38 -0
  73. package/lib/module/radio/createRadioIndicator.js.map +1 -0
  74. package/lib/module/radio/createRadioLabel.js +33 -0
  75. package/lib/module/radio/createRadioLabel.js.map +1 -0
  76. package/lib/module/radio/createRadioRoot.js +90 -0
  77. package/lib/module/radio/createRadioRoot.js.map +1 -0
  78. package/lib/module/radio/createRadioRoot.web.js +82 -0
  79. package/lib/module/radio/createRadioRoot.web.js.map +1 -0
  80. package/lib/module/radio/index.js +22 -0
  81. package/lib/module/radio/index.js.map +1 -0
  82. package/lib/module/radio/types.js +4 -0
  83. package/lib/module/radio/types.js.map +1 -0
  84. package/lib/module/radio/useRadioRoot.js +60 -0
  85. package/lib/module/radio/useRadioRoot.js.map +1 -0
  86. package/lib/typescript/index.d.ts +2 -0
  87. package/lib/typescript/index.d.ts.map +1 -1
  88. package/lib/typescript/list-item/context.d.ts +6 -0
  89. package/lib/typescript/list-item/context.d.ts.map +1 -0
  90. package/lib/typescript/list-item/createListItemContent.d.ts +3 -0
  91. package/lib/typescript/list-item/createListItemContent.d.ts.map +1 -0
  92. package/lib/typescript/list-item/createListItemDescription.d.ts +3 -0
  93. package/lib/typescript/list-item/createListItemDescription.d.ts.map +1 -0
  94. package/lib/typescript/list-item/createListItemLeadingSlot.d.ts +4 -0
  95. package/lib/typescript/list-item/createListItemLeadingSlot.d.ts.map +1 -0
  96. package/lib/typescript/list-item/createListItemMeta.d.ts +3 -0
  97. package/lib/typescript/list-item/createListItemMeta.d.ts.map +1 -0
  98. package/lib/typescript/list-item/createListItemRoot.d.ts +4 -0
  99. package/lib/typescript/list-item/createListItemRoot.d.ts.map +1 -0
  100. package/lib/typescript/list-item/createListItemSectionHeader.d.ts +4 -0
  101. package/lib/typescript/list-item/createListItemSectionHeader.d.ts.map +1 -0
  102. package/lib/typescript/list-item/createListItemTitle.d.ts +3 -0
  103. package/lib/typescript/list-item/createListItemTitle.d.ts.map +1 -0
  104. package/lib/typescript/list-item/createListItemTrailingSlot.d.ts +3 -0
  105. package/lib/typescript/list-item/createListItemTrailingSlot.d.ts.map +1 -0
  106. package/lib/typescript/list-item/index.d.ts +16 -0
  107. package/lib/typescript/list-item/index.d.ts.map +1 -0
  108. package/lib/typescript/list-item/types.d.ts +86 -0
  109. package/lib/typescript/list-item/types.d.ts.map +1 -0
  110. package/lib/typescript/radio/context.d.ts +21 -0
  111. package/lib/typescript/radio/context.d.ts.map +1 -0
  112. package/lib/typescript/radio/createRadioGroup.d.ts +3 -0
  113. package/lib/typescript/radio/createRadioGroup.d.ts.map +1 -0
  114. package/lib/typescript/radio/createRadioIndicator.d.ts +5 -0
  115. package/lib/typescript/radio/createRadioIndicator.d.ts.map +1 -0
  116. package/lib/typescript/radio/createRadioLabel.d.ts +5 -0
  117. package/lib/typescript/radio/createRadioLabel.d.ts.map +1 -0
  118. package/lib/typescript/radio/createRadioRoot.d.ts +3 -0
  119. package/lib/typescript/radio/createRadioRoot.d.ts.map +1 -0
  120. package/lib/typescript/radio/createRadioRoot.web.d.ts +3 -0
  121. package/lib/typescript/radio/createRadioRoot.web.d.ts.map +1 -0
  122. package/lib/typescript/radio/index.d.ts +10 -0
  123. package/lib/typescript/radio/index.d.ts.map +1 -0
  124. package/lib/typescript/radio/types.d.ts +54 -0
  125. package/lib/typescript/radio/types.d.ts.map +1 -0
  126. package/lib/typescript/radio/useRadioRoot.d.ts +149 -0
  127. package/lib/typescript/radio/useRadioRoot.d.ts.map +1 -0
  128. package/package.json +5 -2
  129. package/src/index.ts +2 -0
  130. package/src/list-item/context.tsx +5 -0
  131. package/src/list-item/createListItemContent.tsx +23 -0
  132. package/src/list-item/createListItemDescription.tsx +19 -0
  133. package/src/list-item/createListItemLeadingSlot.tsx +30 -0
  134. package/src/list-item/createListItemMeta.tsx +17 -0
  135. package/src/list-item/createListItemRoot.tsx +163 -0
  136. package/src/list-item/createListItemSectionHeader.tsx +53 -0
  137. package/src/list-item/createListItemTitle.tsx +17 -0
  138. package/src/list-item/createListItemTrailingSlot.tsx +21 -0
  139. package/src/list-item/index.ts +88 -0
  140. package/src/list-item/types.ts +122 -0
  141. package/src/radio/context.tsx +21 -0
  142. package/src/radio/createRadioGroup.tsx +67 -0
  143. package/src/radio/createRadioIndicator.tsx +32 -0
  144. package/src/radio/createRadioLabel.tsx +28 -0
  145. package/src/radio/createRadioRoot.tsx +100 -0
  146. package/src/radio/createRadioRoot.web.tsx +81 -0
  147. package/src/radio/index.ts +37 -0
  148. package/src/radio/types.ts +67 -0
  149. package/src/radio/useRadioRoot.ts +69 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","composeEventHandlers","useFocus","usePress","dataAttributes","RadioProvider","useRadioRoot","jsx","_jsx","jsxs","_jsxs","createRadioRoot","BaseRadio","RadioIndicator","onPressIn","onPressOut","onHoverIn","onHoverOut","onFocus","onBlur","children","props","ref","isHovered","isHoveredProp","isDisabled","isDisabledProp","isInvalid","isInvalidProp","isReadOnly","isReadOnlyProp","isPressed","isPressedProp","isFocused","isFocusedProp","isFocusVisible","combinedProps","inputProps","isChecked","hoverProps","mergedRef","focusProps","pressProps","disabled","role","slot","checked","hover","invalid","readonly","active","focus","focusVisible","value"],"sourceRoot":"../../../src","sources":["radio/createRadioRoot.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,oBAAoB,QAAQ,eAAe;AACpD,SAASC,QAAQ,QAAQ,0BAA0B;AACnD,SAASC,QAAQ,QAAQ,iCAAiC;AAC1D,SAASC,cAAc,QAAQ,yBAAyB;AACxD,SAASC,aAAa,QAAQ,WAAW;AAEzC,SAASC,YAAY,QAAQ,gBAAgB;AAAC,SAAA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S,CAAE;IACjEC,UAAU,EAAEhB,oBAAoB,CAACgB,UAAU,EAAEsB,UAAU,CAACtB,UAAU,CAAE;IACpEC,OAAO,EAAEjB,oBAAoB,CAACiB,OAAO,EAAEuB,UAAU,CAACvB,OAAO,CAAE;IAC3DC,MAAM,EAAElB,oBAAoB,CAACkB,MAAM,EAAEsB,UAAU,CAACtB,MAAM,CAAE;IAAA,GACpDf,cAAc,CAAC;MACjByC,IAAI,EAAE,OAAO;MACbC,OAAO,EAAER,SAAS;MAClBK,QAAQ,EAAElB,UAAU,IAAIC,cAAc;MACtCqB,KAAK,EAAExB,SAAS,IAAIC,aAAa;MACjCwB,OAAO,EAAErB,SAAS,IAAIC,aAAa;MACnCqB,QAAQ,EAAEpB,UAAU,IAAIC,cAAc;MACtCoB,MAAM,EAAEnB,SAAS;MACjBoB,KAAK,EAAElB,SAAS;MAChBmB,YAAY,EAAEjB;IAChB,CAAC,CAAC;IAAAf,QAAA,eAEFV,KAAA,CAACL,aAAa;MACZgD,KAAK,EAAE;QACLf,SAAS;QACTb,UAAU,EAAEA,UAAU,IAAIC,cAAc;QACxCH,SAAS,EAAEA,SAAS,IAAIC,aAAa;QACrCG,SAAS,EAAEA,SAAS,IAAIC,aAAa;QACrCC,UAAU,EAAEA,UAAU,IAAIC,cAAc;QACxCC,SAAS,EAAEA,SAAS,IAAIC,aAAa;QACrCC,SAAS,EAAEA,SAAS,IAAIC,aAAa;QACrCC;MACF,CAAE;MAAAf,QAAA,gBAEFZ,IAAA,CAACK,cAAc,IAAE,CAAC,EACjBO,QAAQ;IAAA,CACI;EAAC,CACP,CAAC;AAEhB,CACF,CAAC","ignoreList":[]}
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+
3
+ import { forwardRef } from 'react';
4
+ import { VisuallyHidden } from '@react-aria/visually-hidden';
5
+ import { mergeProps } from '@react-aria/utils';
6
+ import { useFocusRing } from '@react-native-aria/focus';
7
+ import { dataAttributes } from '../utils/dataAttributes';
8
+ import { RadioProvider } from './context';
9
+ import { useRadioRoot } from './useRadioRoot';
10
+
11
+ // TODO: Keyboard focus is not working as expected
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ export const createRadioRoot = (BaseRadio, RadioIndicator) => /*#__PURE__*/forwardRef(({
14
+ children,
15
+ ...props
16
+ }, ref) => {
17
+ const {
18
+ isHovered: isHoveredProp,
19
+ isFocusVisible: isFocusVisibleProp,
20
+ isDisabled: isDisabledProp,
21
+ isInvalid: isInvalidProp,
22
+ isReadOnly: isReadOnlyProp,
23
+ isFocused,
24
+ isPressed
25
+ } = props;
26
+ const {
27
+ combinedProps,
28
+ isInvalid,
29
+ isReadOnly,
30
+ inputProps,
31
+ labelProps,
32
+ isChecked,
33
+ isDisabled,
34
+ isHovered,
35
+ mergedRef,
36
+ inputRef
37
+ } = useRadioRoot(props, ref, {
38
+ useInputRefForAria: true
39
+ });
40
+ const {
41
+ focusProps,
42
+ isFocusVisible
43
+ } = useFocusRing();
44
+ return /*#__PURE__*/_jsx(BaseRadio, {
45
+ ...mergeProps(combinedProps, labelProps, focusProps),
46
+ ref: mergedRef,
47
+ role: "label"
48
+ // eslint-disable-next-line react-native-a11y/has-valid-accessibility-role
49
+ ,
50
+ accessibilityRole: "label",
51
+ ...dataAttributes({
52
+ slot: 'radio',
53
+ checked: isChecked,
54
+ disabled: isDisabled || isDisabledProp,
55
+ hover: isHovered || isHoveredProp,
56
+ invalid: isInvalid || isInvalidProp,
57
+ readonly: isReadOnly || isReadOnlyProp,
58
+ active: isPressed,
59
+ focus: isFocused,
60
+ focusVisible: isFocusVisible || isFocusVisibleProp
61
+ }),
62
+ children: /*#__PURE__*/_jsxs(RadioProvider, {
63
+ value: {
64
+ isChecked,
65
+ isDisabled: isDisabled || isDisabledProp,
66
+ isFocusVisible: isFocusVisible || isFocusVisibleProp,
67
+ isHovered: isHovered || isHoveredProp,
68
+ isInvalid: isInvalid || isInvalidProp,
69
+ isReadOnly: isReadOnly || isReadOnlyProp,
70
+ isPressed,
71
+ isFocused
72
+ },
73
+ children: [/*#__PURE__*/_jsx(VisuallyHidden, {
74
+ children: /*#__PURE__*/_jsx("input", {
75
+ ...inputProps,
76
+ ref: inputRef
77
+ })
78
+ }), /*#__PURE__*/_jsx(RadioIndicator, {}), children]
79
+ })
80
+ });
81
+ });
82
+ //# sourceMappingURL=createRadioRoot.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","VisuallyHidden","mergeProps","useFocusRing","dataAttributes","RadioProvider","useRadioRoot","jsx","_jsx","jsxs","_jsxs","createRadioRoot","BaseRadio","RadioIndicator","children","props","ref","isHovered","isHoveredProp","isFocusVisible","isFocusVisibleProp","isDisabled","isDisabledProp","isInvalid","isInvalidProp","isReadOnly","isReadOnlyProp","isFocused","isPressed","combinedProps","inputProps","labelProps","isChecked","mergedRef","inputRef","useInputRefForAria","focusProps","role","accessibilityRole","slot","checked","disabled","hover","invalid","readonly","active","focus","focusVisible","value"],"sourceRoot":"../../../src","sources":["radio/createRadioRoot.web.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,cAAc,QAAQ,6BAA6B;AAC5D,SAASC,UAAU,QAAQ,mBAAmB;AAC9C,SAASC,YAAY,QAAQ,0BAA0B;AACvD,SAASC,cAAc,QAAQ,yBAAyB;AACxD,SAASC,aAAa,QAAQ,WAAW;AAEzC,SAASC,YAAY,QAAQ,gBAAgB;;AAE7C;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEA,OAAO,MAAMC,eAAe,GAAGA,CAC7BC,SAAiC,EACjCC,cAAwC,kBAExCb,UAAU,CAAC,CAAC;EAAEc,QAAQ;EAAE,GAAGC;AAAmB,CAAC,EAAEC,GAAkB,KAAK;EACtE,MAAM;IACJC,SAAS,EAAEC,aAAa;IACxBC,cAAc,EAAEC,kBAAkB;IAClCC,UAAU,EAAEC,cAAc;IAC1BC,SAAS,EAAEC,aAAa;IACxBC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,CAACP,cAAc;QAAAa,QAAA,eACbN,IAAA;UAAA,GAAWsB,UAAU;UAAEd,GAAG,EAAEkB;QAAS,CAAE;MAAC,CAC1B,CAAC,eACjB1B,IAAA,CAACK,cAAc,IAAE,CAAC,EACjBC,QAAQ;IAAA,CACI;EAAC,CACP,CAAC;AAEhB,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ import { createRadioGroup } from './createRadioGroup';
4
+ import { createRadioIndicator } from './createRadioIndicator';
5
+ import { createRadioLabel } from './createRadioLabel';
6
+ import { createRadioRoot } from './createRadioRoot';
7
+ export function createRadio(BaseComponents) {
8
+ const Indicator = createRadioIndicator(BaseComponents.Indicator);
9
+ const Radio = createRadioRoot(BaseComponents.Root, Indicator);
10
+ const Label = createRadioLabel(BaseComponents.Label);
11
+ const Group = createRadioGroup(BaseComponents.Group);
12
+ Radio.displayName = 'RadioPrimitive';
13
+ Indicator.displayName = 'RadioPrimitive.Indicator';
14
+ Label.displayName = 'RadioPrimitive.Label';
15
+ Group.displayName = 'RadioPrimitive.Group';
16
+ return Object.assign(Radio, {
17
+ Indicator,
18
+ Label,
19
+ Group
20
+ });
21
+ }
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createRadioGroup","createRadioIndicator","createRadioLabel","createRadioRoot","createRadio","BaseComponents","Indicator","Radio","Root","Label","Group","displayName","Object","assign"],"sourceRoot":"../../../src","sources":["radio/index.ts"],"mappings":";;AACA,SAASA,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,oBAAoB,QAAQ,wBAAwB;AAC7D,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,eAAe,QAAQ,mBAAmB;AAWnD,OAAO,SAASC,WAAWA,CAAgCC,cAK1D,EAAE;EACD,MAAMC,SAAS,GAAGL,oBAAoB,CAACI,cAAc,CAACC,SAAS,CAAC;EAChE,MAAMC,KAAK,GAAGJ,eAAe,CAACE,cAAc,CAACG,IAAI,EAAEF,SAAS,CAAC;EAC7D,MAAMG,KAAK,GAAGP,gBAAgB,CAACG,cAAc,CAACI,KAAK,CAAC;EACpD,MAAMC,KAAK,GAAGV,gBAAgB,CAACK,cAAc,CAACK,KAAK,CAAC;EAEpDH,KAAK,CAACI,WAAW,GAAG,gBAAgB;EACpCL,SAAS,CAACK,WAAW,GAAG,0BAA0B;EAClDF,KAAK,CAACE,WAAW,GAAG,sBAAsB;EAC1CD,KAAK,CAACC,WAAW,GAAG,sBAAsB;EAE1C,OAAOC,MAAM,CAACC,MAAM,CAACN,KAAK,EAAE;IAC1BD,SAAS;IACTG,KAAK;IACLC;EACF,CAAC,CAAC;AACJ","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":["radio/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ import { useContext, useRef } from 'react';
4
+ import { mergeRefs, useFormControlContext } from '@cdx-ui/utils';
5
+ import { useRadio } from '@react-native-aria/radio';
6
+ import { useHover } from '@react-native-aria/interactions';
7
+ import { RadioGroupContext } from './context';
8
+ export function useRadioRoot(props, ref, {
9
+ useInputRefForAria = false
10
+ } = {}) {
11
+ const formControlContext = useFormControlContext();
12
+ const {
13
+ isInvalid,
14
+ isReadOnly,
15
+ ...combinedProps
16
+ } = {
17
+ ...formControlContext,
18
+ ...props
19
+ };
20
+ const radioGroupContext = useContext(RadioGroupContext);
21
+ if (!radioGroupContext) {
22
+ throw new Error('Radio must be rendered inside a Radio.Group. Standalone Radio is not supported.');
23
+ }
24
+ const rootRef = useRef(null);
25
+ const inputRef = useRef(null);
26
+ const mergedRootRef = mergeRefs(ref, rootRef);
27
+ const ariaLabel = combinedProps['aria-label'] || combinedProps.value || 'Radio';
28
+ const radio = useRadio({
29
+ ...combinedProps,
30
+ 'aria-label': ariaLabel,
31
+ isReadOnly: isReadOnly || radioGroupContext.state.isReadOnly,
32
+ isDisabled: combinedProps.isDisabled || radioGroupContext.state.isDisabled
33
+ }, radioGroupContext.radioGroupState, useInputRefForAria ? inputRef : rootRef);
34
+ const {
35
+ inputProps,
36
+ labelProps
37
+ } = radio;
38
+ const {
39
+ checked: isChecked,
40
+ disabled: isDisabled
41
+ } = inputProps;
42
+ const {
43
+ hoverProps,
44
+ isHovered
45
+ } = useHover({}, rootRef);
46
+ return {
47
+ combinedProps,
48
+ isInvalid: isInvalid || radioGroupContext.state.isInvalid,
49
+ isReadOnly: isReadOnly || radioGroupContext.state.isReadOnly,
50
+ inputProps,
51
+ labelProps: labelProps ?? {},
52
+ isChecked,
53
+ isDisabled,
54
+ isHovered,
55
+ hoverProps,
56
+ mergedRef: mergedRootRef,
57
+ inputRef
58
+ };
59
+ }
60
+ //# sourceMappingURL=useRadioRoot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useContext","useRef","mergeRefs","useFormControlContext","useRadio","useHover","RadioGroupContext","useRadioRoot","props","ref","useInputRefForAria","formControlContext","isInvalid","isReadOnly","combinedProps","radioGroupContext","Error","rootRef","inputRef","mergedRootRef","ariaLabel","value","radio","state","isDisabled","radioGroupState","inputProps","labelProps","checked","isChecked","disabled","hoverProps","isHovered","mergedRef"],"sourceRoot":"../../../src","sources":["radio/useRadioRoot.ts"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,MAAM,QAAQ,OAAO;AAC1C,SAASC,SAAS,EAAEC,qBAAqB,QAAQ,eAAe;AAChE,SAASC,QAAQ,QAAQ,0BAA0B;AACnD,SAASC,QAAQ,QAAQ,iCAAiC;AAC1D,SAASC,iBAAiB,QAAQ,WAAW;AAO7C,OAAO,SAASC,YAAYA,CAC1BC,KAAkB,EAClBC,GAAwB,EACxB;EAAEC,kBAAkB,GAAG;AAA2B,CAAC,GAAG,CAAC,CAAC,EACxD;EACA,MAAMC,kBAAkB,GAAGR,qB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CAACV,UAAU;IAC5Da,UAAU;IACVC,UAAU,EAAEA,UAAU,IAAI,CAAC,CAAC;IAC5BE,SAAS;IACTL,UAAU;IACVQ,SAAS;IACTD,UAAU;IACVE,SAAS,EAAEd,aAAa;IACxBD;EACF,CAAC;AACH","ignoreList":[]}
@@ -7,10 +7,12 @@ 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';
13
14
  export * from './progress';
15
+ export * from './radio';
14
16
  export type { InteractionState } from './types';
15
17
  export { dataAttributes } from './utils/dataAttributes';
16
18
  //# 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,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,mFAiIpC,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":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,eAAe,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAClG,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,6BAA6B,GAAG,OAAO,CACjD,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,CAAC,CAC9E,CAAC;AAEF,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,6BAA6B;IAC9E;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC;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ACpE,CAAC;IACF,WAAW,EAAE,yBAAyB,CACpC,aAAa,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC,WAAW,CAAC,GAAG,yBAAyB,CACtF,CAAC;IACF,IAAI,EAAE,yBAAyB,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,eAAe,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC;IAClG,YAAY,EAAE,yBAAyB,CACrC,aAAa,CAAC,YAAY,CAAC,GAAG,eAAe,CAAC,YAAY,CAAC,GAAG,0BAA0B,CACzF,CAAC;IACF,aAAa,EAAE,yBAAyB,CACtC,aAAa,CAAC,aAAa,CAAC,GAAG,eAAe,CAAC,aAAa,CAAC,GAAG,2BAA2B,CAC5F,CAAC;CACH,CAAC"}
@@ -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"}
@@ -0,0 +1,54 @@
1
+ import type { PressableProps } from 'react-native';
2
+ export interface IRadioProps extends PressableProps {
3
+ /** Required — identifies this item's value within a Radio.Group. */
4
+ value: string;
5
+ isDisabled?: boolean;
6
+ isInvalid?: boolean;
7
+ isReadOnly?: boolean;
8
+ isHovered?: boolean;
9
+ isFocused?: boolean;
10
+ isPressed?: boolean;
11
+ isFocusVisible?: boolean;
12
+ children?: React.ReactNode;
13
+ }
14
+ export interface IRadioGroupProps {
15
+ /** Controlled selected value. */
16
+ value?: string;
17
+ /** Default selected value for uncontrolled usage. */
18
+ defaultValue?: string;
19
+ /** Called when the selected value changes. */
20
+ onChange?: (value: string) => void;
21
+ /** Layout direction of the radio items. */
22
+ direction?: 'column' | 'row';
23
+ /** Form field name for web form integration. */
24
+ name?: string;
25
+ isDisabled?: boolean;
26
+ isInvalid?: boolean;
27
+ isRequired?: boolean;
28
+ isReadOnly?: boolean;
29
+ 'aria-label'?: string;
30
+ 'aria-labelledby'?: string;
31
+ children?: React.ReactNode;
32
+ }
33
+ export interface IRadioIndicatorProps {
34
+ children?: React.ReactNode;
35
+ }
36
+ export interface IRadioLabelProps {
37
+ children?: React.ReactNode;
38
+ }
39
+ export type IRadioComponentType<Root, Indicator, Label, Group> = React.ForwardRefExoticComponent<React.RefAttributes<Root> & React.PropsWithoutRef<Root> & IRadioProps> & {
40
+ Indicator: React.ForwardRefExoticComponent<React.RefAttributes<Indicator> & React.PropsWithoutRef<Indicator> & IRadioIndicatorProps>;
41
+ Label: React.ForwardRefExoticComponent<React.RefAttributes<Label> & React.PropsWithoutRef<Label> & IRadioLabelProps>;
42
+ Group: React.ForwardRefExoticComponent<React.RefAttributes<Group> & React.PropsWithoutRef<Group> & IRadioGroupProps>;
43
+ };
44
+ export interface IRadioContextValue {
45
+ isChecked?: boolean;
46
+ isDisabled?: boolean;
47
+ isInvalid?: boolean;
48
+ isReadOnly?: boolean;
49
+ isFocused?: boolean;
50
+ isFocusVisible?: boolean;
51
+ isHovered?: boolean;
52
+ isPressed?: boolean;
53
+ }
54
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/radio/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,2CAA2C;IAC3C,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC7B,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,C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