@seed-design/lynx-react 0.6.3 → 0.7.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 (234) hide show
  1. package/lib/components/Accordion/Accordion.d.ts.map +1 -1
  2. package/lib/components/Accordion/Accordion.jsx +24 -14
  3. package/lib/components/ActionButton/ActionButton.d.ts +1 -1
  4. package/lib/components/ActionButton/ActionButton.d.ts.map +1 -1
  5. package/lib/components/ActionButton/ActionButton.jsx +12 -4
  6. package/lib/components/AppBar/AppBar.d.ts.map +1 -1
  7. package/lib/components/AppBar/AppBar.jsx +9 -8
  8. package/lib/components/Badge/Badge.d.ts.map +1 -1
  9. package/lib/components/Badge/Badge.jsx +2 -1
  10. package/lib/components/BottomSheet/BottomSheet.d.ts.map +1 -1
  11. package/lib/components/BottomSheet/BottomSheet.jsx +9 -9
  12. package/lib/components/Box/Box.d.ts.map +1 -1
  13. package/lib/components/Box/Box.jsx +2 -1
  14. package/lib/components/Callout/Callout.d.ts +2 -2
  15. package/lib/components/Callout/Callout.d.ts.map +1 -1
  16. package/lib/components/Callout/Callout.jsx +20 -10
  17. package/lib/components/Checkbox/Checkbox.d.ts +4 -2
  18. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  19. package/lib/components/Checkbox/Checkbox.jsx +33 -17
  20. package/lib/components/Chip/Chip.d.ts +1 -1
  21. package/lib/components/Chip/Chip.d.ts.map +1 -1
  22. package/lib/components/Chip/Chip.jsx +36 -16
  23. package/lib/components/Count/Count.d.ts +7 -0
  24. package/lib/components/Count/Count.d.ts.map +1 -0
  25. package/lib/components/Count/Count.jsx +19 -0
  26. package/lib/components/Count/index.d.ts +2 -0
  27. package/lib/components/Count/index.d.ts.map +1 -0
  28. package/lib/components/Divider/Divider.d.ts.map +1 -1
  29. package/lib/components/Divider/Divider.jsx +2 -1
  30. package/lib/components/Field/Field.d.ts.map +1 -1
  31. package/lib/components/Field/Field.jsx +11 -15
  32. package/lib/components/Icon/Icon.d.ts.map +1 -1
  33. package/lib/components/Icon/Icon.jsx +4 -3
  34. package/lib/components/InputButton/InputButton.d.ts +40 -0
  35. package/lib/components/InputButton/InputButton.d.ts.map +1 -0
  36. package/lib/components/InputButton/InputButton.jsx +118 -0
  37. package/lib/components/InputButton/InputButton.namespace.d.ts +2 -0
  38. package/lib/components/InputButton/InputButton.namespace.d.ts.map +1 -0
  39. package/lib/components/InputButton/InputButton.namespace.js +16 -0
  40. package/lib/components/InputButton/index.d.ts +3 -0
  41. package/lib/components/InputButton/index.d.ts.map +1 -0
  42. package/lib/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.d.ts.map +1 -1
  43. package/lib/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.jsx +12 -8
  44. package/lib/components/List/List.d.ts +51 -0
  45. package/lib/components/List/List.d.ts.map +1 -0
  46. package/lib/components/List/List.jsx +176 -0
  47. package/lib/components/List/List.namespace.d.ts +2 -0
  48. package/lib/components/List/List.namespace.d.ts.map +1 -0
  49. package/lib/components/List/List.namespace.js +18 -0
  50. package/lib/components/List/index.d.ts +3 -0
  51. package/lib/components/List/index.d.ts.map +1 -0
  52. package/lib/components/MannerTemp/MannerTemp.d.ts.map +1 -1
  53. package/lib/components/MannerTemp/MannerTemp.jsx +3 -2
  54. package/lib/components/MannerTempBadge/MannerTempBadge.d.ts.map +1 -1
  55. package/lib/components/MannerTempBadge/MannerTempBadge.jsx +2 -1
  56. package/lib/components/Menu/Menu.d.ts +69 -0
  57. package/lib/components/Menu/Menu.d.ts.map +1 -0
  58. package/lib/components/Menu/Menu.jsx +520 -0
  59. package/lib/components/Menu/Menu.namespace.d.ts +2 -0
  60. package/lib/components/Menu/Menu.namespace.d.ts.map +1 -0
  61. package/lib/components/Menu/Menu.namespace.js +21 -0
  62. package/lib/components/Menu/index.d.ts +3 -0
  63. package/lib/components/Menu/index.d.ts.map +1 -0
  64. package/lib/components/NotificationBadge/NotificationBadge.d.ts.map +1 -1
  65. package/lib/components/NotificationBadge/NotificationBadge.jsx +3 -2
  66. package/lib/components/PageBanner/PageBanner.d.ts +5 -5
  67. package/lib/components/PageBanner/PageBanner.d.ts.map +1 -1
  68. package/lib/components/PageBanner/PageBanner.jsx +25 -14
  69. package/lib/components/ProgressCircle/ProgressCircle.d.ts +2 -2
  70. package/lib/components/ProgressCircle/ProgressCircle.d.ts.map +1 -1
  71. package/lib/components/ProgressCircle/ProgressCircle.jsx +4 -3
  72. package/lib/components/RadioGroup/RadioGroup.d.ts +5 -3
  73. package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  74. package/lib/components/RadioGroup/RadioGroup.jsx +22 -9
  75. package/lib/components/ReactionButton/ReactionButton.d.ts +20 -0
  76. package/lib/components/ReactionButton/ReactionButton.d.ts.map +1 -0
  77. package/lib/components/ReactionButton/ReactionButton.jsx +88 -0
  78. package/lib/components/ReactionButton/index.d.ts +2 -0
  79. package/lib/components/ReactionButton/index.d.ts.map +1 -0
  80. package/lib/components/ScaleFeedback/ScaleFeedback.d.ts +11 -0
  81. package/lib/components/ScaleFeedback/ScaleFeedback.d.ts.map +1 -0
  82. package/lib/components/ScaleFeedback/ScaleFeedback.jsx +16 -0
  83. package/lib/components/ScaleFeedback/index.d.ts +2 -0
  84. package/lib/components/ScaleFeedback/index.d.ts.map +1 -0
  85. package/lib/components/SegmentedControl/SegmentedControl.d.ts +1 -0
  86. package/lib/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  87. package/lib/components/SegmentedControl/SegmentedControl.jsx +23 -10
  88. package/lib/components/SelectBox/SelectBox.d.ts.map +1 -1
  89. package/lib/components/SelectBox/SelectBox.jsx +23 -13
  90. package/lib/components/Stack/Stack.d.ts.map +1 -1
  91. package/lib/components/Stack/Stack.jsx +2 -1
  92. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts +85 -0
  93. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts.map +1 -0
  94. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.jsx +256 -0
  95. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.d.ts +2 -0
  96. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.d.ts.map +1 -0
  97. package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.js +24 -0
  98. package/lib/components/SwipeableMenuSheet/index.d.ts +3 -0
  99. package/lib/components/SwipeableMenuSheet/index.d.ts.map +1 -0
  100. package/lib/components/Switch/Switch.d.ts +27 -3
  101. package/lib/components/Switch/Switch.d.ts.map +1 -1
  102. package/lib/components/Switch/Switch.jsx +22 -9
  103. package/lib/components/Tabs/Tabs.d.ts +4 -2
  104. package/lib/components/Tabs/Tabs.d.ts.map +1 -1
  105. package/lib/components/Tabs/Tabs.jsx +37 -22
  106. package/lib/components/TagGroup/TagGroup.d.ts.map +1 -1
  107. package/lib/components/TagGroup/TagGroup.jsx +4 -3
  108. package/lib/components/Text/Text.d.ts.map +1 -1
  109. package/lib/components/Text/Text.jsx +2 -1
  110. package/lib/components/TextField/TextField.d.ts.map +1 -1
  111. package/lib/components/TextField/TextField.jsx +35 -23
  112. package/lib/components/index.d.ts +7 -0
  113. package/lib/components/index.d.ts.map +1 -1
  114. package/lib/components/private/Positioning.d.ts +69 -0
  115. package/lib/components/private/Positioning.d.ts.map +1 -0
  116. package/lib/components/private/Positioning.js +109 -0
  117. package/lib/components/private/TrackPositioning.d.ts +22 -0
  118. package/lib/components/private/TrackPositioning.d.ts.map +1 -0
  119. package/lib/contexts/ScaleFeedbackContentContext.d.ts +4 -0
  120. package/lib/contexts/ScaleFeedbackContentContext.d.ts.map +1 -0
  121. package/lib/contexts/ScaleFeedbackContentContext.js +6 -0
  122. package/lib/contexts/index.d.ts +2 -0
  123. package/lib/contexts/index.d.ts.map +1 -0
  124. package/lib/hooks/index.d.ts +1 -0
  125. package/lib/hooks/index.d.ts.map +1 -1
  126. package/lib/hooks/useIconColor.d.ts.map +1 -1
  127. package/lib/hooks/useIconColor.js +1 -1
  128. package/lib/hooks/usePressTap.d.ts +4 -3
  129. package/lib/hooks/usePressTap.d.ts.map +1 -1
  130. package/lib/hooks/useScaleFeedback.d.ts +48 -0
  131. package/lib/hooks/useScaleFeedback.d.ts.map +1 -0
  132. package/lib/hooks/useScaleFeedback.js +108 -0
  133. package/lib/index.d.ts +1 -0
  134. package/lib/index.d.ts.map +1 -1
  135. package/lib/index.js +17 -3
  136. package/lib/node_modules/.bun/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +493 -0
  137. package/lib/node_modules/.bun/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +114 -0
  138. package/lib/utils/calculate-scale-feedback.d.ts +5 -0
  139. package/lib/utils/calculate-scale-feedback.d.ts.map +1 -0
  140. package/lib/utils/calculate-scale-feedback.js +13 -0
  141. package/lib/utils/compose-event-handlers.d.ts +5 -0
  142. package/lib/utils/compose-event-handlers.d.ts.map +1 -0
  143. package/lib/utils/compose-event-handlers.js +16 -0
  144. package/lib/utils/create-slot-recipe-context.d.ts.map +1 -1
  145. package/lib/utils/create-slot-recipe-context.jsx +6 -16
  146. package/lib/utils/index.d.ts +1 -0
  147. package/lib/utils/index.d.ts.map +1 -1
  148. package/lib/utils/merge-props.d.ts +15 -0
  149. package/lib/utils/merge-props.d.ts.map +1 -0
  150. package/lib/utils/merge-props.js +36 -0
  151. package/lib/utils/merge-refs.d.ts +8 -0
  152. package/lib/utils/merge-refs.d.ts.map +1 -0
  153. package/lib/utils/merge-refs.js +38 -0
  154. package/package.json +6 -5
  155. package/src/components/Accordion/Accordion.tsx +36 -27
  156. package/src/components/ActionButton/ActionButton.tsx +27 -12
  157. package/src/components/AppBar/AppBar.tsx +17 -18
  158. package/src/components/Badge/Badge.tsx +2 -2
  159. package/src/components/BottomSheet/BottomSheet.tsx +9 -17
  160. package/src/components/Box/Box.tsx +2 -2
  161. package/src/components/Callout/Callout.tsx +39 -22
  162. package/src/components/Checkbox/Checkbox.test.tsx +44 -0
  163. package/src/components/Checkbox/Checkbox.tsx +52 -21
  164. package/src/components/Chip/Chip.test.tsx +50 -1
  165. package/src/components/Chip/Chip.tsx +75 -31
  166. package/src/components/Count/Count.tsx +35 -0
  167. package/src/components/Count/index.ts +1 -0
  168. package/src/components/Divider/Divider.tsx +2 -2
  169. package/src/components/Field/Field.tsx +15 -28
  170. package/src/components/Icon/Icon.tsx +14 -7
  171. package/src/components/InputButton/InputButton.namespace.ts +20 -0
  172. package/src/components/InputButton/InputButton.test.tsx +82 -0
  173. package/src/components/InputButton/InputButton.tsx +295 -0
  174. package/src/components/InputButton/index.ts +2 -0
  175. package/src/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.tsx +16 -21
  176. package/src/components/List/List.namespace.ts +24 -0
  177. package/src/components/List/List.test.tsx +162 -0
  178. package/src/components/List/List.tsx +476 -0
  179. package/src/components/List/index.ts +3 -0
  180. package/src/components/MannerTemp/MannerTemp.tsx +3 -4
  181. package/src/components/MannerTempBadge/MannerTempBadge.tsx +2 -2
  182. package/src/components/Menu/Menu.namespace.ts +26 -0
  183. package/src/components/Menu/Menu.tsx +883 -0
  184. package/src/components/Menu/index.ts +31 -0
  185. package/src/components/NotificationBadge/NotificationBadge.tsx +4 -9
  186. package/src/components/PageBanner/PageBanner.test.tsx +3 -0
  187. package/src/components/PageBanner/PageBanner.tsx +54 -45
  188. package/src/components/ProgressCircle/ProgressCircle.test.tsx +48 -0
  189. package/src/components/ProgressCircle/ProgressCircle.tsx +22 -3
  190. package/src/components/RadioGroup/RadioGroup.test.tsx +87 -0
  191. package/src/components/RadioGroup/RadioGroup.tsx +50 -14
  192. package/src/components/ReactionButton/ReactionButton.test.tsx +122 -0
  193. package/src/components/ReactionButton/ReactionButton.tsx +139 -0
  194. package/src/components/ReactionButton/index.ts +1 -0
  195. package/src/components/ScaleFeedback/ScaleFeedback.test.tsx +41 -0
  196. package/src/components/ScaleFeedback/ScaleFeedback.tsx +32 -0
  197. package/src/components/ScaleFeedback/index.ts +1 -0
  198. package/src/components/SegmentedControl/SegmentedControl.test.tsx +15 -3
  199. package/src/components/SegmentedControl/SegmentedControl.tsx +35 -14
  200. package/src/components/SelectBox/SelectBox.test.tsx +39 -1
  201. package/src/components/SelectBox/SelectBox.tsx +27 -16
  202. package/src/components/Stack/Stack.tsx +2 -2
  203. package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.namespace.ts +37 -0
  204. package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.test.tsx +258 -0
  205. package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.tsx +655 -0
  206. package/src/components/SwipeableMenuSheet/index.ts +43 -0
  207. package/src/components/Switch/Switch.test.tsx +57 -0
  208. package/src/components/Switch/Switch.tsx +60 -16
  209. package/src/components/Tabs/Tabs.test.tsx +19 -0
  210. package/src/components/Tabs/Tabs.tsx +72 -40
  211. package/src/components/TagGroup/TagGroup.tsx +4 -6
  212. package/src/components/Text/Text.tsx +2 -2
  213. package/src/components/TextField/TextField.tsx +60 -54
  214. package/src/components/index.ts +7 -0
  215. package/src/components/private/Positioning.test.ts +235 -0
  216. package/src/components/private/Positioning.ts +223 -0
  217. package/src/components/private/TrackPositioning.test.ts +58 -0
  218. package/src/components/private/TrackPositioning.ts +37 -0
  219. package/src/contexts/ScaleFeedbackContentContext.ts +4 -0
  220. package/src/contexts/index.ts +1 -0
  221. package/src/hooks/index.ts +1 -0
  222. package/src/hooks/useIconColor.ts +5 -4
  223. package/src/hooks/usePressTap.ts +4 -3
  224. package/src/hooks/useScaleFeedback.integration.test.tsx +85 -0
  225. package/src/hooks/useScaleFeedback.test.ts +50 -0
  226. package/src/hooks/useScaleFeedback.ts +199 -0
  227. package/src/index.ts +1 -0
  228. package/src/utils/calculate-scale-feedback.ts +12 -0
  229. package/src/utils/compose-event-handlers.ts +16 -0
  230. package/src/utils/create-slot-recipe-context.tsx +6 -7
  231. package/src/utils/index.ts +1 -0
  232. package/src/utils/merge-props.test.tsx +152 -0
  233. package/src/utils/merge-props.ts +62 -0
  234. package/src/utils/merge-refs.ts +44 -0
@@ -0,0 +1,118 @@
1
+ import { usePressTap } from "../../hooks/usePressTap.js";
2
+ import { InternalIcon } from "../Icon/Icon.jsx";
3
+ import * as React from "@lynx-js/react";
4
+ import clsx from "clsx";
5
+ import { inputButton } from "@seed-design/lynx-css/recipes/input-button";
6
+ //#region src/components/InputButton/InputButton.tsx
7
+ var InputButtonContext = React.createContext(null);
8
+ function useInputButtonContext(consumer) {
9
+ const context = React.useContext(InputButtonContext);
10
+ if (!context) throw new Error(`<${consumer}/> must be rendered inside <InputButton.Root/>.`);
11
+ return context;
12
+ }
13
+ var InputButtonRoot = React.forwardRef((props, forwardedRef) => {
14
+ const [variantProps, otherProps] = inputButton.splitVariantProps(props);
15
+ const { children, className, ...nativeProps } = otherProps;
16
+ const disabled = variantProps.disabled ?? false;
17
+ const readOnly = variantProps.readOnly ?? false;
18
+ const classes = inputButton(variantProps);
19
+ const contextValue = React.useMemo(() => ({
20
+ variantProps,
21
+ disabled,
22
+ readOnly
23
+ }), [
24
+ variantProps,
25
+ disabled,
26
+ readOnly
27
+ ]);
28
+ return <InputButtonContext.Provider value={contextValue}>
29
+ <view {...forwardedRef ? { ref: forwardedRef } : {}} className={clsx(classes.root, className)} {...nativeProps}>
30
+ {children}
31
+ </view>
32
+ </InputButtonContext.Provider>;
33
+ });
34
+ InputButtonRoot.displayName = "InputButtonRoot";
35
+ var InputButtonButton = React.forwardRef((props, ref) => {
36
+ const context = useInputButtonContext("InputButton.Button");
37
+ const { children, className, bindtap, "main-thread:bindtap": mainThreadBindtap, "accessibility-element": accessibilityElement = true, "accessibility-traits": accessibilityTraits, ...nativeProps } = props;
38
+ const nonInteractive = context.disabled || context.readOnly;
39
+ const { pressed, ...pressHandlers } = usePressTap({
40
+ disabled: nonInteractive,
41
+ onTap: bindtap,
42
+ mainThreadOnTap: mainThreadBindtap
43
+ });
44
+ const classes = inputButton({
45
+ ...context.variantProps,
46
+ pressed
47
+ });
48
+ return <view {...ref ? { ref } : {}} className={clsx(classes.button, className)} accessibility-element={accessibilityElement} accessibility-traits={accessibilityTraits ?? (nonInteractive ? "disabled" : "button")} {...pressHandlers} {...nativeProps}>
49
+ <view className={classes.baseStroke} accessibility-elements-hidden={true} />
50
+ <view className={classes.stroke} accessibility-elements-hidden={true} />
51
+ {children}
52
+ </view>;
53
+ });
54
+ InputButtonButton.displayName = "InputButtonButton";
55
+ var InputButtonValue = React.forwardRef((props, ref) => {
56
+ const classes = inputButton(useInputButtonContext("InputButton.Value").variantProps);
57
+ const { children, className, ...nativeProps } = props;
58
+ return <text {...ref ? { ref } : {}} className={clsx(classes.value, className)} accessibility-elements-hidden={true} {...nativeProps}>
59
+ {children}
60
+ </text>;
61
+ });
62
+ InputButtonValue.displayName = "InputButtonValue";
63
+ var InputButtonPlaceholder = React.forwardRef((props, ref) => {
64
+ const classes = inputButton(useInputButtonContext("InputButton.Placeholder").variantProps);
65
+ const { children, className, ...nativeProps } = props;
66
+ return <text {...ref ? { ref } : {}} className={clsx(classes.placeholder, className)} accessibility-elements-hidden={true} {...nativeProps}>
67
+ {children}
68
+ </text>;
69
+ });
70
+ InputButtonPlaceholder.displayName = "InputButtonPlaceholder";
71
+ var InputButtonPrefixText = React.forwardRef((props, ref) => {
72
+ const classes = inputButton(useInputButtonContext("InputButton.PrefixText").variantProps);
73
+ const { children, className, ...nativeProps } = props;
74
+ return <text {...ref ? { ref } : {}} className={clsx(classes.prefixText, className)} accessibility-elements-hidden={true} {...nativeProps}>
75
+ {children}
76
+ </text>;
77
+ });
78
+ InputButtonPrefixText.displayName = "InputButtonPrefixText";
79
+ var InputButtonPrefixIcon = React.forwardRef((props, ref) => {
80
+ const classes = inputButton(useInputButtonContext("InputButton.PrefixIcon").variantProps);
81
+ const { className, ...otherProps } = props;
82
+ return <InternalIcon ref={ref} className={clsx(classes.prefixIcon, className)} accessibility-elements-hidden={true} {...otherProps} />;
83
+ });
84
+ InputButtonPrefixIcon.displayName = "InputButtonPrefixIcon";
85
+ var InputButtonSuffixText = React.forwardRef((props, ref) => {
86
+ const classes = inputButton(useInputButtonContext("InputButton.SuffixText").variantProps);
87
+ const { children, className, ...nativeProps } = props;
88
+ return <text {...ref ? { ref } : {}} className={clsx(classes.suffixText, className)} accessibility-elements-hidden={true} {...nativeProps}>
89
+ {children}
90
+ </text>;
91
+ });
92
+ InputButtonSuffixText.displayName = "InputButtonSuffixText";
93
+ var InputButtonSuffixIcon = React.forwardRef((props, ref) => {
94
+ const classes = inputButton(useInputButtonContext("InputButton.SuffixIcon").variantProps);
95
+ const { className, ...otherProps } = props;
96
+ return <InternalIcon ref={ref} className={clsx(classes.suffixIcon, className)} accessibility-elements-hidden={true} {...otherProps} />;
97
+ });
98
+ InputButtonSuffixIcon.displayName = "InputButtonSuffixIcon";
99
+ var InputButtonClearButton = React.forwardRef((props, ref) => {
100
+ const context = useInputButtonContext("InputButton.ClearButton");
101
+ const { className, bindtap, "main-thread:bindtap": mainThreadBindtap, "accessibility-element": accessibilityElement = true, "accessibility-label": accessibilityLabel, ...otherProps } = props;
102
+ const nonInteractive = context.disabled || context.readOnly;
103
+ const { pressed, ...pressHandlers } = usePressTap({
104
+ disabled: nonInteractive,
105
+ onTap: bindtap,
106
+ mainThreadOnTap: mainThreadBindtap
107
+ });
108
+ const classes = inputButton({
109
+ ...context.variantProps,
110
+ pressed
111
+ });
112
+ if (nonInteractive) return null;
113
+ if (process.env.NODE_ENV !== "production" && !accessibilityLabel) console.warn("InputButton.ClearButton requires `accessibility-label` for accessibility.");
114
+ return <InternalIcon ref={ref} className={clsx(classes.clearButton, className)} accessibility-element={accessibilityElement} accessibility-label={accessibilityLabel} accessibility-traits="button" {...pressHandlers} {...otherProps} />;
115
+ });
116
+ InputButtonClearButton.displayName = "InputButtonClearButton";
117
+ //#endregion
118
+ export { InputButtonButton, InputButtonClearButton, InputButtonPlaceholder, InputButtonPrefixIcon, InputButtonPrefixText, InputButtonRoot, InputButtonSuffixIcon, InputButtonSuffixText, InputButtonValue };
@@ -0,0 +1,2 @@
1
+ export { InputButtonButton as Button, InputButtonClearButton as ClearButton, InputButtonPlaceholder as Placeholder, InputButtonPrefixIcon as PrefixIcon, InputButtonPrefixText as PrefixText, InputButtonRoot as Root, InputButtonSuffixIcon as SuffixIcon, InputButtonSuffixText as SuffixText, InputButtonValue as Value, type InputButtonButtonProps as ButtonProps, type InputButtonClearButtonProps as ClearButtonProps, type InputButtonPlaceholderProps as PlaceholderProps, type InputButtonPrefixIconProps as PrefixIconProps, type InputButtonPrefixTextProps as PrefixTextProps, type InputButtonRootProps as RootProps, type InputButtonSuffixIconProps as SuffixIconProps, type InputButtonSuffixTextProps as SuffixTextProps, type InputButtonValueProps as ValueProps, } from './InputButton';
2
+ //# sourceMappingURL=InputButton.namespace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputButton.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/InputButton/InputButton.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,IAAI,MAAM,EAC3B,sBAAsB,IAAI,WAAW,EACrC,sBAAsB,IAAI,WAAW,EACrC,qBAAqB,IAAI,UAAU,EACnC,qBAAqB,IAAI,UAAU,EACnC,eAAe,IAAI,IAAI,EACvB,qBAAqB,IAAI,UAAU,EACnC,qBAAqB,IAAI,UAAU,EACnC,gBAAgB,IAAI,KAAK,EACzB,KAAK,sBAAsB,IAAI,WAAW,EAC1C,KAAK,2BAA2B,IAAI,gBAAgB,EACpD,KAAK,2BAA2B,IAAI,gBAAgB,EACpD,KAAK,0BAA0B,IAAI,eAAe,EAClD,KAAK,0BAA0B,IAAI,eAAe,EAClD,KAAK,oBAAoB,IAAI,SAAS,EACtC,KAAK,0BAA0B,IAAI,eAAe,EAClD,KAAK,0BAA0B,IAAI,eAAe,EAClD,KAAK,qBAAqB,IAAI,UAAU,GACzC,MAAM,eAAe,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
2
+ import { InputButtonButton, InputButtonClearButton, InputButtonPlaceholder, InputButtonPrefixIcon, InputButtonPrefixText, InputButtonRoot, InputButtonSuffixIcon, InputButtonSuffixText, InputButtonValue } from "./InputButton.jsx";
3
+ //#region src/components/InputButton/InputButton.namespace.ts
4
+ var InputButton_namespace_exports = /* @__PURE__ */ __exportAll({
5
+ Button: () => InputButtonButton,
6
+ ClearButton: () => InputButtonClearButton,
7
+ Placeholder: () => InputButtonPlaceholder,
8
+ PrefixIcon: () => InputButtonPrefixIcon,
9
+ PrefixText: () => InputButtonPrefixText,
10
+ Root: () => InputButtonRoot,
11
+ SuffixIcon: () => InputButtonSuffixIcon,
12
+ SuffixText: () => InputButtonSuffixText,
13
+ Value: () => InputButtonValue
14
+ });
15
+ //#endregion
16
+ export { InputButton_namespace_exports };
@@ -0,0 +1,3 @@
1
+ export * from './InputButton';
2
+ export * as InputButton from './InputButton.namespace';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KeyboardAvoidingScrollView.d.ts","sourceRoot":"","sources":["../../../src/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,aAAa,EACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,KAAK,EACV,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EAGf,MAAM,aAAa,CAAC;AAMrB,KAAK,qBAAqB,GAAG,iBAAiB,CAAC,aAAa,CAAC,CAAC;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C,CAAC;IACzE,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,cAAc,CAAC,EAAE,8BAA8B,CAAC;CACjD;AAED,eAAO,MAAM,0BAA0B,EAAE,uBAAuB,CAC9D,QAAQ,EACR,+BAA+B,CA2L/B,CAAC"}
1
+ {"version":3,"file":"KeyboardAvoidingScrollView.d.ts","sourceRoot":"","sources":["../../../src/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,aAAa,EACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,KAAK,EACV,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EAGf,MAAM,aAAa,CAAC;AAOrB,KAAK,qBAAqB,GAAG,iBAAiB,CAAC,aAAa,CAAC,CAAC;AAO9D,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,yBAAyB,CAC5D,eAAe,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CACtC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,QAAQ,GAAG,SAAS,CAAC;AAoClE;;;;;;;;;;GAUG;AACH,MAAM,WAAW,+BACf,SAAQ,sBAAsB,EAC5B,sBAAsB,EACtB,cAAc;IAChB,EAAE,CAAC,EAAE,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACzC,SAAS,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC3C,eAAe,CAAC,EAAE,qBAAqB,CAAC,eAAe,CAAC,CAAC;IACzD,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;IACjE,iBAAiB,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;IAC7D,iBAAiB,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;IAC7D,uBAAuB,CAAC,EAAE,qBAAqB,CAAC,uBAAuB,CAAC,CAAC;IACzE,yBAAyB,CAAC,EAAE,qBAAqB,CAAC,yBAAyB,CAAC,CAAC;IAC7E,gBAAgB,CAAC,EAAE,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;IAC7D,iBAAiB,CAAC,EAAE,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;IAC/D,iBAAiB,CAAC,EAAE,qBAAqB,CAAC,mBAAmB,CAAC,CAAC;IAC/D,UAAU,CAAC,EAAE,qBAAqB,CAAC,YAAY,CAAC,CAAC;IACjD,aAAa,CAAC,EAAE,qBAAqB,CAAC,eAAe,CAAC,CAAC;IACvD,sBAAsB,CAAC,EAAE,qBAAqB,CAAC,wBAAwB,CAAC,CAAC;IACzE,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,cAAc,CAAC,EAAE,8BAA8B,CAAC;CACjD;AAED,eAAO,MAAM,0BAA0B,EAAE,uBAAuB,CAC9D,QAAQ,EACR,+BAA+B,CAqL/B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { mergeProps } from "../../utils/merge-props.js";
1
2
  import { KeyboardAvoidanceActionsContext } from "./context.js";
2
3
  import { createKeyboardAvoidingEngine } from "./engine.js";
3
4
  import { lynxKeyboardEventSource } from "./keyboard-event-source.js";
@@ -52,12 +53,7 @@ var KeyboardAvoidingScrollView = forwardRef((props, forwardedRef) => {
52
53
  getToolbarHeight: () => 0,
53
54
  getSmooth: () => scrollBehaviorRef.current === "smooth"
54
55
  }), []);
55
- const mergedRef = useCallback((node) => {
56
- "background only";
57
- scrollRef.current = node;
58
- if (typeof forwardedRef === "function") forwardedRef(node);
59
- else if (forwardedRef) forwardedRef.current = node;
60
- }, [forwardedRef]);
56
+ const mergedRef = useMemo(() => mergeProps({ ref: scrollRef }, { ref: forwardedRef }).ref, [forwardedRef]);
61
57
  const actions = useMemo(() => ({
62
58
  focus(registration) {
63
59
  "background only";
@@ -129,9 +125,17 @@ var KeyboardAvoidingScrollView = forwardRef((props, forwardedRef) => {
129
125
  userBindScrollEnd?.(...args);
130
126
  }, [engine, userBindScrollEnd]);
131
127
  return <KeyboardAvoidanceActionsContext.Provider value={actions}>
132
- <scroll-view {...nativeProps} ref={mergedRef} scroll-orientation="vertical" flatten={false} bindlayoutchange={handleLayoutChange} bindtouchstart={handleTouchStart} bindtouchend={handleTouchEnd} bindtouchcancel={handleTouchCancel} bindscroll={handleScroll} bindscrollend={handleScrollEnd}>
128
+ <scroll-view {...mergeProps({
129
+ ref: mergedRef,
130
+ bindlayoutchange: handleLayoutChange,
131
+ bindtouchstart: handleTouchStart,
132
+ bindtouchend: handleTouchEnd,
133
+ bindtouchcancel: handleTouchCancel,
134
+ bindscroll: handleScroll,
135
+ bindscrollend: handleScrollEnd
136
+ }, nativeProps)} scroll-orientation="vertical" flatten={false}>
133
137
  {children}
134
- <view {...{ ref: spacerRef }} {...spacerProps} />
138
+ <view {...mergeProps({ ref: spacerRef }, spacerProps)} />
135
139
  </scroll-view>
136
140
  </KeyboardAvoidanceActionsContext.Provider>;
137
141
  });
@@ -0,0 +1,51 @@
1
+ import { ListHeaderVariantProps } from '@seed-design/lynx-css/recipes/list-header';
2
+ import { ListItemVariantProps } from '@seed-design/lynx-css/recipes/list-item';
3
+ import { LynxAccessibilityProps, LynxPressableProps, LynxStyledElementProps } from '../../types';
4
+ import { CheckboxRootProps } from '../Checkbox/Checkbox';
5
+ import { RadioGroupItemProps } from '../RadioGroup/RadioGroup';
6
+ import { SwitchRootProps } from '../Switch/Switch';
7
+ import * as React from "@lynx-js/react";
8
+ type PublicListItemVariantProps = Omit<ListItemVariantProps, "pressed" | "disabled">;
9
+ export interface ListRootProps extends LynxStyledElementProps, LynxAccessibilityProps {
10
+ }
11
+ export declare const ListRoot: React.ForwardRefExoticComponent<ListRootProps & React.RefAttributes<unknown>>;
12
+ export interface ListItemProps extends PublicListItemVariantProps, LynxStyledElementProps, LynxAccessibilityProps {
13
+ disabled?: boolean;
14
+ }
15
+ export declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<unknown>>;
16
+ export interface ListButtonItemProps extends PublicListItemVariantProps, LynxStyledElementProps, LynxAccessibilityProps, LynxPressableProps {
17
+ disabled?: boolean;
18
+ }
19
+ export declare const ListButtonItem: React.ForwardRefExoticComponent<ListButtonItemProps & React.RefAttributes<unknown>>;
20
+ export interface ListCheckboxItemProps extends PublicListItemVariantProps, Omit<CheckboxRootProps, "children" | "className" | "style" | "disabled">, LynxStyledElementProps, LynxAccessibilityProps {
21
+ disabled?: boolean;
22
+ }
23
+ export declare const ListCheckboxItem: React.ForwardRefExoticComponent<ListCheckboxItemProps & React.RefAttributes<unknown>>;
24
+ export interface ListRadioItemProps extends PublicListItemVariantProps, Omit<RadioGroupItemProps, "children" | "className" | "style" | "disabled">, LynxStyledElementProps, LynxAccessibilityProps {
25
+ disabled?: boolean;
26
+ }
27
+ export declare const ListRadioItem: React.ForwardRefExoticComponent<ListRadioItemProps & React.RefAttributes<unknown>>;
28
+ export interface ListSwitchItemProps extends PublicListItemVariantProps, Omit<SwitchRootProps, "children" | "className" | "style" | "disabled">, LynxStyledElementProps, LynxAccessibilityProps {
29
+ disabled?: boolean;
30
+ }
31
+ export declare const ListSwitchItem: React.ForwardRefExoticComponent<ListSwitchItemProps & React.RefAttributes<unknown>>;
32
+ export interface ListContentProps extends LynxStyledElementProps {
33
+ }
34
+ export declare const ListContent: React.ForwardRefExoticComponent<ListContentProps & React.RefAttributes<unknown>>;
35
+ export interface ListPrefixProps extends LynxStyledElementProps {
36
+ }
37
+ export declare const ListPrefix: React.ForwardRefExoticComponent<ListPrefixProps & React.RefAttributes<unknown>>;
38
+ export interface ListSuffixProps extends LynxStyledElementProps {
39
+ }
40
+ export declare const ListSuffix: React.ForwardRefExoticComponent<ListSuffixProps & React.RefAttributes<unknown>>;
41
+ export interface ListTitleProps extends LynxStyledElementProps {
42
+ }
43
+ export declare const ListTitle: React.ForwardRefExoticComponent<ListTitleProps & React.RefAttributes<unknown>>;
44
+ export interface ListDetailProps extends LynxStyledElementProps {
45
+ }
46
+ export declare const ListDetail: React.ForwardRefExoticComponent<ListDetailProps & React.RefAttributes<unknown>>;
47
+ export interface ListHeaderProps extends ListHeaderVariantProps, LynxStyledElementProps, LynxAccessibilityProps {
48
+ }
49
+ export declare const ListHeader: React.ForwardRefExoticComponent<ListHeaderProps & React.RefAttributes<unknown>>;
50
+ export {};
51
+ //# sourceMappingURL=List.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAIxC,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAY,KAAK,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAG9F,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EAIvB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAgB,KAAK,iBAAiB,EAAsB,MAAM,sBAAsB,CAAC;AAEhG,OAAO,EAEL,KAAK,mBAAmB,EAEzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAc,KAAK,eAAe,EAAoB,MAAM,kBAAkB,CAAC;AAEtF,KAAK,0BAA0B,GAAG,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;AAwCrF,MAAM,WAAW,aAAc,SAAQ,sBAAsB,EAAE,sBAAsB;CAAG;AAExF,eAAO,MAAM,QAAQ,+EAanB,CAAC;AA8CH,MAAM,WAAW,aACf,SAAQ,0BAA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;AAGH,MAAM,WAAW,cAAe,SAAQ,sBAAsB;CAAG;AAEjE,eAAO,MAAM,SAAS,gFAcpB,CAAC;AAGH,MAAM,WAAW,eAAgB,SAAQ,sBAAsB;CAAG;AAElE,eAAO,MAAM,UAAU,iFAcrB,CAAC;AAKH,MAAM,WAAW,eACf,SAAQ,sBAAsB,EAC5B,sBAAsB,EACtB,sBAAsB;CAAG;AAE7B,eAAO,MAAM,UAAU,iFAcrB,CAAC"}
@@ -0,0 +1,176 @@
1
+ import { usePressTap } from "../../hooks/usePressTap.js";
2
+ import { createSlotRecipeContext } from "../../utils/create-slot-recipe-context.jsx";
3
+ import { IconSlotProvider } from "../Icon/Icon.jsx";
4
+ import { CheckboxRoot, useCheckboxContext } from "../Checkbox/Checkbox.jsx";
5
+ import { RadioGroupItem, useRadioGroupItemContext } from "../RadioGroup/RadioGroup.jsx";
6
+ import { SwitchRoot, useSwitchContext } from "../Switch/Switch.jsx";
7
+ import * as React from "@lynx-js/react";
8
+ import clsx from "clsx";
9
+ import { list } from "@seed-design/lynx-css/recipes/list";
10
+ import { listHeader } from "@seed-design/lynx-css/recipes/list-header";
11
+ import { listItem } from "@seed-design/lynx-css/recipes/list-item";
12
+ //#region src/components/List/List.tsx
13
+ var { ClassNamesProvider, useClassNames } = createSlotRecipeContext(listItem);
14
+ function splitAccessibilityProps(props) {
15
+ const { "accessibility-label": accessibilityLabel, "accessibility-traits": accessibilityTraits, "accessibility-element": accessibilityElement, "accessibility-value": accessibilityValue, "accessibility-role-description": accessibilityRoleDescription, "accessibility-elements-hidden": accessibilityElementsHidden, "accessibility-heading": accessibilityHeading, "accessibility-actions": accessibilityActions, "accessibility-exclusive-focus": accessibilityExclusiveFocus, "ios-platform-accessibility-id": iosPlatformAccessibilityId, ...restProps } = props;
16
+ return [{
17
+ "accessibility-label": accessibilityLabel,
18
+ "accessibility-traits": accessibilityTraits,
19
+ "accessibility-element": accessibilityElement,
20
+ "accessibility-value": accessibilityValue,
21
+ "accessibility-role-description": accessibilityRoleDescription,
22
+ "accessibility-elements-hidden": accessibilityElementsHidden,
23
+ "accessibility-heading": accessibilityHeading,
24
+ ...accessibilityActions === void 0 ? {} : { "accessibility-actions": accessibilityActions },
25
+ "accessibility-exclusive-focus": accessibilityExclusiveFocus,
26
+ "ios-platform-accessibility-id": iosPlatformAccessibilityId
27
+ }, restProps];
28
+ }
29
+ var ListRoot = React.forwardRef((props, ref) => {
30
+ const { children, className, style, ...nativeProps } = props;
31
+ return <view {...ref ? { ref } : {}} {...nativeProps} className={clsx(list(), className)} style={style}>
32
+ {children}
33
+ </view>;
34
+ });
35
+ ListRoot.displayName = "ListRoot";
36
+ var ListItemSurface = React.forwardRef((props, ref) => {
37
+ const { children, className, style, disabled = false, pressed = false, ...restProps } = props;
38
+ const [variantProps, nativeProps] = listItem.splitVariantProps(restProps);
39
+ const classes = listItem({
40
+ ...variantProps,
41
+ disabled,
42
+ pressed
43
+ });
44
+ return <ClassNamesProvider value={classes}>
45
+ <IconSlotProvider value={{
46
+ classNames: {
47
+ prefixIcon: classes.prefixIcon,
48
+ suffixIcon: classes.suffixIcon
49
+ },
50
+ deps: [
51
+ disabled,
52
+ pressed,
53
+ variantProps.highlighted
54
+ ]
55
+ }}>
56
+ <view {...ref ? { ref } : {}} {...nativeProps} className={clsx(classes.root, className)} style={style}>
57
+ <view className={classes.highlightedOverlay} accessibility-elements-hidden={true} />
58
+ <view className={classes.pressedOverlay} accessibility-elements-hidden={true} />
59
+ <view className={classes.layout}>{children}</view>
60
+ </view>
61
+ </IconSlotProvider>
62
+ </ClassNamesProvider>;
63
+ });
64
+ ListItemSurface.displayName = "ListItemSurface";
65
+ var ListItem = React.forwardRef((props, ref) => {
66
+ return <ListItemSurface ref={ref} {...props} />;
67
+ });
68
+ ListItem.displayName = "ListItem";
69
+ var ListButtonItem = React.forwardRef((props, ref) => {
70
+ const { disabled = false, bindtap, "main-thread:bindtap": mainThreadOnTap, "accessibility-element": accessibilityElement = true, "accessibility-role-description": accessibilityRoleDescription = "button", "accessibility-traits": accessibilityTraits, ...restProps } = props;
71
+ const { pressed, ...pressHandlers } = usePressTap({
72
+ disabled,
73
+ onTap: bindtap,
74
+ mainThreadOnTap
75
+ });
76
+ return <ListItemSurface ref={ref} disabled={disabled} pressed={pressed} accessibility-element={accessibilityElement} accessibility-role-description={accessibilityRoleDescription} accessibility-traits={accessibilityTraits ?? (disabled ? "disabled" : "button")} {...pressHandlers} {...restProps} />;
77
+ });
78
+ ListButtonItem.displayName = "ListButtonItem";
79
+ function ListCheckboxItemSurface(props) {
80
+ const context = useCheckboxContext("ListCheckboxItem");
81
+ return <ListItemSurface {...props} disabled={context.disabled} pressed={context.pressed} accessibility-element={props["accessibility-element"] ?? true} accessibility-role-description={props["accessibility-role-description"] ?? "checkbox"} accessibility-value={props["accessibility-value"] ?? (context.checked ? "선택됨" : "선택 안 됨")} accessibility-traits={props["accessibility-traits"] ?? (context.disabled ? "disabled" : "button")} />;
82
+ }
83
+ var ListCheckboxItem = React.forwardRef((props, ref) => {
84
+ const { children, className, style, disabled = false, ...restProps } = props;
85
+ const [variantProps, remainingProps] = listItem.splitVariantProps(restProps);
86
+ const [accessibilityProps, checkboxProps] = splitAccessibilityProps(remainingProps);
87
+ const interactionRootClassName = listItem().interactionRoot;
88
+ return <CheckboxRoot ref={ref} {...checkboxProps} disabled={disabled} className={interactionRootClassName}>
89
+ <ListCheckboxItemSurface {...variantProps} className={className} style={style} {...accessibilityProps}>
90
+ {children}
91
+ </ListCheckboxItemSurface>
92
+ </CheckboxRoot>;
93
+ });
94
+ ListCheckboxItem.displayName = "ListCheckboxItem";
95
+ function ListRadioItemSurface(props) {
96
+ const context = useRadioGroupItemContext("ListRadioItem");
97
+ return <ListItemSurface {...props} disabled={context.disabled} pressed={context.pressed} accessibility-element={props["accessibility-element"] ?? true} accessibility-role-description={props["accessibility-role-description"] ?? "radio"} accessibility-value={props["accessibility-value"] ?? (context.checked ? "선택됨" : "선택 안 됨")} accessibility-traits={props["accessibility-traits"] ?? (context.disabled ? "disabled" : "button")} />;
98
+ }
99
+ var ListRadioItem = React.forwardRef((props, ref) => {
100
+ const { children, className, style, disabled = false, value, ...restProps } = props;
101
+ const [variantProps, remainingProps] = listItem.splitVariantProps(restProps);
102
+ const [accessibilityProps] = splitAccessibilityProps(remainingProps);
103
+ const interactionRootClassName = listItem().interactionRoot;
104
+ return <RadioGroupItem ref={ref} value={value} disabled={disabled} className={interactionRootClassName}>
105
+ <ListRadioItemSurface {...variantProps} className={className} style={style} {...accessibilityProps}>
106
+ {children}
107
+ </ListRadioItemSurface>
108
+ </RadioGroupItem>;
109
+ });
110
+ ListRadioItem.displayName = "ListRadioItem";
111
+ function ListSwitchItemSurface(props) {
112
+ const context = useSwitchContext("ListSwitchItem");
113
+ return <ListItemSurface {...props} disabled={context.disabled} pressed={context.pressed} accessibility-element={props["accessibility-element"] ?? true} accessibility-role-description={props["accessibility-role-description"] ?? "switch"} accessibility-value={props["accessibility-value"] ?? (context.checked ? "켜짐" : "꺼짐")} accessibility-traits={props["accessibility-traits"] ?? (context.disabled ? "disabled" : "button")} />;
114
+ }
115
+ var ListSwitchItem = React.forwardRef((props, ref) => {
116
+ const { children, className, style, disabled = false, ...restProps } = props;
117
+ const [variantProps, remainingProps] = listItem.splitVariantProps(restProps);
118
+ const [accessibilityProps, switchProps] = splitAccessibilityProps(remainingProps);
119
+ const interactionRootClassName = listItem().interactionRoot;
120
+ return <SwitchRoot ref={ref} {...switchProps} disabled={disabled} className={interactionRootClassName}>
121
+ <ListSwitchItemSurface {...variantProps} className={className} style={style} {...accessibilityProps}>
122
+ {children}
123
+ </ListSwitchItemSurface>
124
+ </SwitchRoot>;
125
+ });
126
+ ListSwitchItem.displayName = "ListSwitchItem";
127
+ var ListContent = React.forwardRef((props, ref) => {
128
+ const { children, className, style, ...nativeProps } = props;
129
+ const classes = useClassNames();
130
+ return <view {...ref ? { ref } : {}} {...nativeProps} className={clsx(classes.content, className)} style={style}>
131
+ {children}
132
+ </view>;
133
+ });
134
+ ListContent.displayName = "ListContent";
135
+ var ListPrefix = React.forwardRef((props, ref) => {
136
+ const { children, className, style, ...nativeProps } = props;
137
+ const classes = useClassNames();
138
+ return <view {...ref ? { ref } : {}} {...nativeProps} className={clsx(classes.prefix, className)} style={style}>
139
+ {children}
140
+ </view>;
141
+ });
142
+ ListPrefix.displayName = "ListPrefix";
143
+ var ListSuffix = React.forwardRef((props, ref) => {
144
+ const { children, className, style, ...nativeProps } = props;
145
+ const classes = useClassNames();
146
+ return <view {...ref ? { ref } : {}} {...nativeProps} className={clsx(classes.suffix, className)} style={style}>
147
+ {children}
148
+ </view>;
149
+ });
150
+ ListSuffix.displayName = "ListSuffix";
151
+ var ListTitle = React.forwardRef((props, ref) => {
152
+ const { children, className, style, ...nativeProps } = props;
153
+ const classes = useClassNames();
154
+ return <text {...ref ? { ref } : {}} {...nativeProps} className={clsx(classes.title, className)} style={style}>
155
+ {children}
156
+ </text>;
157
+ });
158
+ ListTitle.displayName = "ListTitle";
159
+ var ListDetail = React.forwardRef((props, ref) => {
160
+ const { children, className, style, ...nativeProps } = props;
161
+ const classes = useClassNames();
162
+ return <text {...ref ? { ref } : {}} {...nativeProps} className={clsx(classes.detail, className)} style={style}>
163
+ {children}
164
+ </text>;
165
+ });
166
+ ListDetail.displayName = "ListDetail";
167
+ var ListHeader = React.forwardRef((props, ref) => {
168
+ const [variantProps, restProps] = listHeader.splitVariantProps(props);
169
+ const { children, className, style, ...nativeProps } = restProps;
170
+ return <text {...ref ? { ref } : {}} {...nativeProps} className={clsx(listHeader(variantProps), className)} style={style}>
171
+ {children}
172
+ </text>;
173
+ });
174
+ ListHeader.displayName = "ListHeader";
175
+ //#endregion
176
+ export { ListButtonItem, ListCheckboxItem, ListContent, ListDetail, ListHeader, ListItem, ListPrefix, ListRadioItem, ListRoot, ListSuffix, ListSwitchItem, ListTitle };
@@ -0,0 +1,2 @@
1
+ export { ListButtonItem as ButtonItem, ListCheckboxItem as CheckboxItem, ListContent as Content, ListDetail as Detail, ListItem as Item, ListPrefix as Prefix, ListRadioItem as RadioItem, ListRoot as Root, ListSuffix as Suffix, ListSwitchItem as SwitchItem, ListTitle as Title, type ListButtonItemProps as ButtonItemProps, type ListCheckboxItemProps as CheckboxItemProps, type ListContentProps as ContentProps, type ListDetailProps as DetailProps, type ListItemProps as ItemProps, type ListPrefixProps as PrefixProps, type ListRadioItemProps as RadioItemProps, type ListRootProps as RootProps, type ListSuffixProps as SuffixProps, type ListSwitchItemProps as SwitchItemProps, type ListTitleProps as TitleProps, } from './List';
2
+ //# sourceMappingURL=List.namespace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"List.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/List/List.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,UAAU,EAC5B,gBAAgB,IAAI,YAAY,EAChC,WAAW,IAAI,OAAO,EACtB,UAAU,IAAI,MAAM,EACpB,QAAQ,IAAI,IAAI,EAChB,UAAU,IAAI,MAAM,EACpB,aAAa,IAAI,SAAS,EAC1B,QAAQ,IAAI,IAAI,EAChB,UAAU,IAAI,MAAM,EACpB,cAAc,IAAI,UAAU,EAC5B,SAAS,IAAI,KAAK,EAClB,KAAK,mBAAmB,IAAI,eAAe,EAC3C,KAAK,qBAAqB,IAAI,iBAAiB,EAC/C,KAAK,gBAAgB,IAAI,YAAY,EACrC,KAAK,eAAe,IAAI,WAAW,EACnC,KAAK,aAAa,IAAI,SAAS,EAC/B,KAAK,eAAe,IAAI,WAAW,EACnC,KAAK,kBAAkB,IAAI,cAAc,EACzC,KAAK,aAAa,IAAI,SAAS,EAC/B,KAAK,eAAe,IAAI,WAAW,EACnC,KAAK,mBAAmB,IAAI,eAAe,EAC3C,KAAK,cAAc,IAAI,UAAU,GAClC,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
2
+ import { ListButtonItem, ListCheckboxItem, ListContent, ListDetail, ListItem, ListPrefix, ListRadioItem, ListRoot, ListSuffix, ListSwitchItem, ListTitle } from "./List.jsx";
3
+ //#region src/components/List/List.namespace.ts
4
+ var List_namespace_exports = /* @__PURE__ */ __exportAll({
5
+ ButtonItem: () => ListButtonItem,
6
+ CheckboxItem: () => ListCheckboxItem,
7
+ Content: () => ListContent,
8
+ Detail: () => ListDetail,
9
+ Item: () => ListItem,
10
+ Prefix: () => ListPrefix,
11
+ RadioItem: () => ListRadioItem,
12
+ Root: () => ListRoot,
13
+ Suffix: () => ListSuffix,
14
+ SwitchItem: () => ListSwitchItem,
15
+ Title: () => ListTitle
16
+ });
17
+ //#endregion
18
+ export { List_namespace_exports };
@@ -0,0 +1,3 @@
1
+ export * from './List';
2
+ export * as List from './List.namespace';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAEvB,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MannerTemp.d.ts","sourceRoot":"","sources":["../../../src/components/MannerTemp/MannerTemp.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AAGpG,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAGxC,OAAO,KAAK,EAAE,sBAAsB,EAAe,MAAM,aAAa,CAAC;AAGvE,KAAK,eAAe,GAAG,WAAW,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC,CAAC;AAiBpE,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAED,eAAO,MAAM,eAAe,sFAe1B,CAAC;AAQH;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,sBAAsB,EAAE,sBAAsB;CAAG;AAE1F,eAAO,MAAM,UAAU,iFAqBrB,CAAC"}
1
+ {"version":3,"file":"MannerTemp.d.ts","sourceRoot":"","sources":["../../../src/components/MannerTemp/MannerTemp.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AAGpG,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAGxC,OAAO,KAAK,EAAE,sBAAsB,EAAe,MAAM,aAAa,CAAC;AAIvE,KAAK,eAAe,GAAG,WAAW,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC,CAAC;AAiBpE,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAED,eAAO,MAAM,eAAe,sFAc1B,CAAC;AAQH;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,sBAAsB,EAAE,sBAAsB;CAAG;AAE1F,eAAO,MAAM,UAAU,iFAoBrB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { toArray } from "../../utils/children.js";
2
+ import { mergeProps } from "../../utils/merge-props.js";
2
3
  import * as React from "@lynx-js/react";
3
4
  import { isValidElement } from "@lynx-js/react";
4
5
  import clsx from "clsx";
@@ -21,7 +22,7 @@ var MannerTempEmote = React.forwardRef((props, ref) => {
21
22
  const contextLevel = React.useContext(MannerTempLevelContext);
22
23
  const { level = contextLevel ?? "l1", children: _children, className, ...nativeProps } = props;
23
24
  const classes = mannerTemp({ level });
24
- return <image {...ref ? { ref } : {}} {...nativeProps} src={emoteSources[level]} mode="aspectFit" accessibility-elements-hidden={true} className={clsx(classes.emote, className)} />;
25
+ return <image {...mergeProps(ref ? { ref } : {}, nativeProps)} src={emoteSources[level]} mode="aspectFit" accessibility-elements-hidden={true} className={clsx(classes.emote, className)} />;
25
26
  });
26
27
  MannerTempEmote.displayName = "MannerTempEmote";
27
28
  function isMannerTempEmote(node) {
@@ -36,7 +37,7 @@ var MannerTemp = React.forwardRef((props, ref) => {
36
37
  const labelChildren = childArray.filter((child) => !isMannerTempEmote(child));
37
38
  const level = variantProps.level ?? "l1";
38
39
  return <MannerTempLevelContext.Provider value={level}>
39
- <view {...ref ? { ref } : {}} {...nativeProps} className={clsx(classes.root, className)}>
40
+ <view {...mergeProps(ref ? { ref } : {}, nativeProps)} className={clsx(classes.root, className)}>
40
41
  <text className={classes.label}>{labelChildren}</text>
41
42
  {emoteChildren}
42
43
  </view>
@@ -1 +1 @@
1
- {"version":3,"file":"MannerTempBadge.d.ts","sourceRoot":"","sources":["../../../src/components/MannerTempBadge/MannerTempBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,iDAAiD,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAExC,OAAO,KAAK,EAAE,sBAAsB,EAAe,MAAM,aAAa,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,WAAW,oBAAqB,SAAQ,2BAA2B,EAAE,sBAAsB;CAAG;AAEpG,eAAO,MAAM,eAAe,sFAc1B,CAAC"}
1
+ {"version":3,"file":"MannerTempBadge.d.ts","sourceRoot":"","sources":["../../../src/components/MannerTempBadge/MannerTempBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,iDAAiD,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAExC,OAAO,KAAK,EAAE,sBAAsB,EAAe,MAAM,aAAa,CAAC;AAGvE;;;;;GAKG;AACH,MAAM,WAAW,oBAAqB,SAAQ,2BAA2B,EAAE,sBAAsB;CAAG;AAEpG,eAAO,MAAM,eAAe,sFAa1B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { mergeProps } from "../../utils/merge-props.js";
1
2
  import * as React from "@lynx-js/react";
2
3
  import clsx from "clsx";
3
4
  import { mannerTempBadge } from "@seed-design/lynx-css/recipes/manner-temp-badge";
@@ -6,7 +7,7 @@ var MannerTempBadge = React.forwardRef((props, ref) => {
6
7
  const [variantProps, otherProps] = mannerTempBadge.splitVariantProps(props);
7
8
  const classes = mannerTempBadge(variantProps);
8
9
  const { children, className, ...nativeProps } = otherProps;
9
- return <view {...ref ? { ref } : {}} {...nativeProps} className={clsx(classes.root, className)}>
10
+ return <view {...mergeProps(ref ? { ref } : {}, nativeProps)} className={clsx(classes.root, className)}>
10
11
  <text className={classes.label}>{children}</text>
11
12
  </view>;
12
13
  });
@@ -0,0 +1,69 @@
1
+ import { BaseEvent } from '@lynx-js/types';
2
+ import { MenuVariantProps } from '@seed-design/lynx-css/recipes/menu';
3
+ import { MenuItemVariantProps } from '@seed-design/lynx-css/recipes/menu-item';
4
+ import { LynxAccessibilityProps, LynxPressableProps, LynxStyledElementProps } from '../../types';
5
+ import { PrefixIcon, SuffixIcon } from '../Icon/Icon';
6
+ import { Placement as MenuPlacement } from '../private/Positioning';
7
+ import * as React from "@lynx-js/react";
8
+ type MenuPublicVariantProps = Omit<MenuVariantProps, "open" | "positioned" | "size"> & {
9
+ size?: "small" | "medium" | "responsive";
10
+ };
11
+ type MenuItemPublicVariantProps = Omit<MenuItemVariantProps, "size" | "disabled" | "pressed">;
12
+ export type MenuOpenChangeReason = "trigger" | "interactOutside" | "itemClick" | "dismiss";
13
+ export interface MenuOpenChangeDetails {
14
+ reason: MenuOpenChangeReason;
15
+ event: BaseEvent;
16
+ }
17
+ export interface MenuRootProps extends MenuPublicVariantProps, LynxStyledElementProps {
18
+ open?: boolean;
19
+ defaultOpen?: boolean;
20
+ onOpenChange?: (open: boolean, details: MenuOpenChangeDetails) => void;
21
+ disabled?: boolean;
22
+ placement?: MenuPlacement;
23
+ gutter?: number;
24
+ overflowPadding?: number;
25
+ matchReferenceWidth?: boolean;
26
+ }
27
+ /**
28
+ * @platform Lynx
29
+ *
30
+ * Lynx menu supports native tap and accessibility semantics. It does not expose
31
+ * web DOM focus, keyboard navigation, typeahead, `asChild`, or nested submenus.
32
+ */
33
+ export declare const MenuRoot: React.ForwardRefExoticComponent<MenuRootProps & React.RefAttributes<unknown>>;
34
+ export interface MenuAnchorProps extends LynxStyledElementProps {
35
+ }
36
+ export declare const MenuAnchor: React.ForwardRefExoticComponent<MenuAnchorProps & React.RefAttributes<unknown>>;
37
+ export interface MenuTriggerProps extends LynxStyledElementProps, LynxPressableProps, LynxAccessibilityProps {
38
+ disabled?: boolean;
39
+ }
40
+ export declare const MenuTrigger: React.ForwardRefExoticComponent<MenuTriggerProps & React.RefAttributes<unknown>>;
41
+ export interface MenuContentProps extends LynxStyledElementProps {
42
+ }
43
+ export declare const MenuContent: React.ForwardRefExoticComponent<MenuContentProps & React.RefAttributes<unknown>>;
44
+ /** The scroll viewport is supplied by `MenuContent`; this slot styles custom scroll content only. */
45
+ export interface MenuScrollAreaProps extends LynxStyledElementProps {
46
+ }
47
+ export declare const MenuScrollArea: React.ForwardRefExoticComponent<MenuScrollAreaProps & React.RefAttributes<unknown>>;
48
+ export interface MenuGroupProps extends LynxStyledElementProps {
49
+ }
50
+ export declare const MenuGroup: React.ForwardRefExoticComponent<MenuGroupProps & React.RefAttributes<unknown>>;
51
+ export interface MenuGroupLabelProps extends LynxStyledElementProps, LynxAccessibilityProps {
52
+ }
53
+ export declare const MenuGroupLabel: React.ForwardRefExoticComponent<MenuGroupLabelProps & React.RefAttributes<unknown>>;
54
+ export interface MenuItemProps extends MenuItemPublicVariantProps, LynxStyledElementProps, LynxPressableProps, LynxAccessibilityProps {
55
+ disabled?: boolean;
56
+ }
57
+ export declare const MenuItem: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<unknown>>;
58
+ export interface MenuItemBodyProps extends LynxStyledElementProps {
59
+ }
60
+ export declare const MenuItemBody: React.ForwardRefExoticComponent<MenuItemBodyProps & React.RefAttributes<unknown>>;
61
+ export interface MenuItemLabelProps extends LynxStyledElementProps {
62
+ }
63
+ export declare const MenuItemLabel: React.ForwardRefExoticComponent<MenuItemLabelProps & React.RefAttributes<unknown>>;
64
+ export interface MenuItemDescriptionProps extends LynxStyledElementProps {
65
+ }
66
+ export declare const MenuItemDescription: React.ForwardRefExoticComponent<MenuItemDescriptionProps & React.RefAttributes<unknown>>;
67
+ export { PrefixIcon as MenuPrefixIcon, SuffixIcon as MenuSuffixIcon };
68
+ export type { MenuPlacement };
69
+ //# sourceMappingURL=Menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,gBAAgB,CAAC;AAG1D,OAAO,EAAQ,KAAK,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAY,KAAK,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAK9F,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EAIvB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAoB,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAEL,KAAK,SAAS,IAAI,aAAa,EAGhC,MAAM,wBAAwB,CAAC;AAqBhC,KAAK,sBAAsB,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,YAAY,GAAG,MAAM,CAAC,GAAG;IACrF,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,YAAY,CAAC;CAC1C,CAAC;AACF,KAAK,0BAA0B,GAAG,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC;AAS9F,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,SAAS,CAAC;AAE3F,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,KAAK,EAAE,SAAS,CAAC;CAClB;AAkGD,MAAM,WAAW,aAAc,SAAQ,sB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