@retray-dev/ui-kit 12.1.0 → 12.2.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 (190) hide show
  1. package/COMPONENTS.md +98 -4
  2. package/README.md +4 -4
  3. package/dist/Accordion.d.mts +6 -0
  4. package/dist/Accordion.d.ts +6 -0
  5. package/dist/Accordion.js +16 -0
  6. package/dist/Accordion.mjs +2 -2
  7. package/dist/AlertBanner.js +2 -0
  8. package/dist/AlertBanner.mjs +2 -2
  9. package/dist/AppHeader.js +2 -0
  10. package/dist/AppHeader.mjs +3 -3
  11. package/dist/Avatar.js +2 -0
  12. package/dist/Avatar.mjs +2 -2
  13. package/dist/Badge.js +2 -0
  14. package/dist/Badge.mjs +2 -2
  15. package/dist/Button.js +17 -17
  16. package/dist/Button.mjs +2 -2
  17. package/dist/Card.js +2 -0
  18. package/dist/Card.mjs +2 -2
  19. package/dist/CategoryStrip.js +2 -0
  20. package/dist/CategoryStrip.mjs +2 -2
  21. package/dist/Checkbox.js +2 -0
  22. package/dist/Checkbox.mjs +2 -2
  23. package/dist/Chip.js +2 -0
  24. package/dist/Chip.mjs +2 -2
  25. package/dist/ConfirmDialog.js +26 -20
  26. package/dist/ConfirmDialog.mjs +3 -3
  27. package/dist/CurrencyDisplay.js +2 -0
  28. package/dist/CurrencyDisplay.mjs +2 -2
  29. package/dist/CurrencyInput.js +2 -0
  30. package/dist/CurrencyInput.mjs +3 -3
  31. package/dist/DetailRow.js +2 -0
  32. package/dist/DetailRow.mjs +2 -2
  33. package/dist/EmptyState.js +17 -17
  34. package/dist/EmptyState.mjs +3 -3
  35. package/dist/ErrorBoundary.js +2 -0
  36. package/dist/ErrorBoundary.mjs +2 -2
  37. package/dist/Form.js +2 -0
  38. package/dist/Form.mjs +2 -2
  39. package/dist/IconButton.js +2 -0
  40. package/dist/IconButton.mjs +2 -2
  41. package/dist/IconPicker.js +2 -0
  42. package/dist/IconPicker.mjs +3 -3
  43. package/dist/ImageUpload.d.mts +3 -1
  44. package/dist/ImageUpload.d.ts +3 -1
  45. package/dist/ImageUpload.js +10 -3
  46. package/dist/ImageUpload.mjs +3 -3
  47. package/dist/ImageViewer.js +2 -0
  48. package/dist/ImageViewer.mjs +4 -4
  49. package/dist/Input.js +2 -0
  50. package/dist/Input.mjs +2 -2
  51. package/dist/LabelValue.js +2 -0
  52. package/dist/LabelValue.mjs +2 -2
  53. package/dist/ListGroup.js +2 -0
  54. package/dist/ListGroup.mjs +2 -2
  55. package/dist/ListItem.js +2 -0
  56. package/dist/ListItem.mjs +2 -2
  57. package/dist/MediaCard.js +2 -0
  58. package/dist/MediaCard.mjs +2 -2
  59. package/dist/MenuGroup.js +2 -0
  60. package/dist/MenuGroup.mjs +2 -2
  61. package/dist/MenuItem.js +2 -0
  62. package/dist/MenuItem.mjs +2 -2
  63. package/dist/MonthPicker.js +2 -0
  64. package/dist/MonthPicker.mjs +2 -2
  65. package/dist/NumberStepper.js +2 -0
  66. package/dist/NumberStepper.mjs +2 -2
  67. package/dist/PagerDots.js +2 -0
  68. package/dist/PagerDots.mjs +2 -2
  69. package/dist/PricingCard.js +17 -17
  70. package/dist/PricingCard.mjs +4 -4
  71. package/dist/Progress.js +2 -0
  72. package/dist/Progress.mjs +2 -2
  73. package/dist/RadioGroup.js +2 -0
  74. package/dist/RadioGroup.mjs +2 -2
  75. package/dist/RetrayProvider.d.mts +1 -1
  76. package/dist/RetrayProvider.d.ts +1 -1
  77. package/dist/RetrayProvider.js +2 -0
  78. package/dist/RetrayProvider.mjs +3 -3
  79. package/dist/Select.js +2 -0
  80. package/dist/Select.mjs +2 -2
  81. package/dist/SelectableCard.d.mts +27 -0
  82. package/dist/SelectableCard.d.ts +27 -0
  83. package/dist/SelectableCard.js +511 -0
  84. package/dist/SelectableCard.mjs +8 -0
  85. package/dist/SelectableGrid.js +2 -0
  86. package/dist/SelectableGrid.mjs +2 -2
  87. package/dist/Separator.js +2 -0
  88. package/dist/Separator.mjs +2 -2
  89. package/dist/Sheet.js +11 -3
  90. package/dist/Sheet.mjs +2 -2
  91. package/dist/SheetSelect.js +2 -0
  92. package/dist/SheetSelect.mjs +2 -2
  93. package/dist/Skeleton.d.mts +3 -1
  94. package/dist/Skeleton.d.ts +3 -1
  95. package/dist/Skeleton.js +5 -2
  96. package/dist/Skeleton.mjs +2 -2
  97. package/dist/Slider.js +2 -0
  98. package/dist/Slider.mjs +2 -2
  99. package/dist/Spinner.js +2 -0
  100. package/dist/Spinner.mjs +2 -2
  101. package/dist/Stats.d.mts +4 -1
  102. package/dist/Stats.d.ts +4 -1
  103. package/dist/Stats.js +27 -3
  104. package/dist/Stats.mjs +2 -2
  105. package/dist/Switch.js +2 -0
  106. package/dist/Switch.mjs +2 -2
  107. package/dist/TabBar.js +2 -0
  108. package/dist/TabBar.mjs +2 -2
  109. package/dist/Tabs.js +2 -0
  110. package/dist/Tabs.mjs +2 -2
  111. package/dist/Text.js +2 -0
  112. package/dist/Text.mjs +2 -2
  113. package/dist/Textarea.js +2 -0
  114. package/dist/Textarea.mjs +2 -2
  115. package/dist/Toast.js +2 -0
  116. package/dist/Toast.mjs +2 -2
  117. package/dist/Toggle.js +2 -0
  118. package/dist/Toggle.mjs +2 -2
  119. package/dist/{chunk-JNVAIDLK.mjs → chunk-2BA3JMKK.mjs} +1 -1
  120. package/dist/{chunk-X26S5EVZ.mjs → chunk-2HFD4IHU.mjs} +1 -1
  121. package/dist/{chunk-ZHMSAYLT.mjs → chunk-2LG326TT.mjs} +1 -1
  122. package/dist/chunk-2P2CB235.mjs +236 -0
  123. package/dist/{chunk-MYZ2EDYU.mjs → chunk-3XCFYSX4.mjs} +1 -1
  124. package/dist/{chunk-DOGIPOF5.mjs → chunk-4J2PXL36.mjs} +16 -18
  125. package/dist/{chunk-V6NFJXKO.mjs → chunk-4OORJ2DY.mjs} +1 -1
  126. package/dist/{chunk-5OLNXP3S.mjs → chunk-4XOB5TTD.mjs} +26 -4
  127. package/dist/{chunk-P64WHW4A.mjs → chunk-57V2LXCK.mjs} +1 -1
  128. package/dist/{chunk-HJ46DTJE.mjs → chunk-7AFZWSCI.mjs} +1 -1
  129. package/dist/{chunk-AQEVCEXV.mjs → chunk-7ELGZ66G.mjs} +1 -1
  130. package/dist/{chunk-I4V5XZPS.mjs → chunk-AENAVIKT.mjs} +1 -1
  131. package/dist/{chunk-2CBQKU7H.mjs → chunk-BXF4AMHY.mjs} +1 -1
  132. package/dist/{chunk-JULSIZDM.mjs → chunk-C43HRKXH.mjs} +1 -1
  133. package/dist/{chunk-GK4VRMNE.mjs → chunk-CF27NBXO.mjs} +11 -6
  134. package/dist/{chunk-PGERH3P7.mjs → chunk-DF7JA72E.mjs} +1 -1
  135. package/dist/{chunk-F4V6XLP4.mjs → chunk-E5UKLSJZ.mjs} +3 -3
  136. package/dist/{chunk-FUVYSVGR.mjs → chunk-EDLCGYIO.mjs} +1 -1
  137. package/dist/{chunk-N4ZPVCJH.mjs → chunk-ELGEOM7I.mjs} +1 -1
  138. package/dist/{chunk-FA2KMTH5.mjs → chunk-F3YTWO3T.mjs} +1 -1
  139. package/dist/{chunk-3UYAZ7I4.mjs → chunk-GH67YXG6.mjs} +1 -1
  140. package/dist/{chunk-357YO24D.mjs → chunk-GUTDFUNF.mjs} +1 -1
  141. package/dist/{chunk-7HSILTC4.mjs → chunk-HC4VVCWY.mjs} +2 -2
  142. package/dist/{chunk-WOEWGSTU.mjs → chunk-HEDQPK4I.mjs} +1 -1
  143. package/dist/{chunk-3GEYJ7I5.mjs → chunk-IVSRW4HS.mjs} +1 -1
  144. package/dist/{chunk-P73V2EKS.mjs → chunk-KSUWPU2F.mjs} +1 -1
  145. package/dist/{chunk-BCWEHE34.mjs → chunk-LIS6I5UP.mjs} +1 -1
  146. package/dist/{chunk-J6Q2YJEV.mjs → chunk-LNPKGWBG.mjs} +1 -1
  147. package/dist/{chunk-DF6DU42P.mjs → chunk-LOBLCFMN.mjs} +1 -1
  148. package/dist/{chunk-2A2LEFZG.mjs → chunk-LPV4NJJK.mjs} +2 -2
  149. package/dist/{chunk-FFTYLPSB.mjs → chunk-M3C7XM2M.mjs} +11 -5
  150. package/dist/{chunk-BQZE3HAW.mjs → chunk-MEPSKGBO.mjs} +1 -1
  151. package/dist/{chunk-ISY26JQJ.mjs → chunk-MVMGPZN6.mjs} +2 -2
  152. package/dist/{chunk-265G6A46.mjs → chunk-NHDI3VQB.mjs} +15 -1
  153. package/dist/{chunk-D3Y2T42P.mjs → chunk-NJG7DHVF.mjs} +1 -1
  154. package/dist/{chunk-LRM4AVYY.mjs → chunk-NLZY4TXU.mjs} +1 -1
  155. package/dist/{chunk-OULVKTWL.mjs → chunk-OLVJFKXS.mjs} +1 -1
  156. package/dist/{chunk-BOVUP27T.mjs → chunk-QDAZGZUF.mjs} +4 -3
  157. package/dist/{chunk-S3KJCPEJ.mjs → chunk-QOLWA2PW.mjs} +1 -1
  158. package/dist/{chunk-JCZQOY4O.mjs → chunk-QXDGGOLC.mjs} +12 -6
  159. package/dist/{chunk-4WFMPFZB.mjs → chunk-RJNLAH76.mjs} +1 -1
  160. package/dist/{chunk-HLMPMUK2.mjs → chunk-RMRS44MQ.mjs} +1 -1
  161. package/dist/{chunk-KHYX4IOM.mjs → chunk-SAWUXP3A.mjs} +2 -2
  162. package/dist/{chunk-2I2AYECM.mjs → chunk-TS7DGUIR.mjs} +1 -1
  163. package/dist/{chunk-3N2M3WZL.mjs → chunk-UBUXUMER.mjs} +1 -1
  164. package/dist/{chunk-AKM4EPOT.mjs → chunk-ULGNQPNE.mjs} +1 -1
  165. package/dist/{chunk-FVTVCJAH.mjs → chunk-UNNRUJTM.mjs} +1 -1
  166. package/dist/{chunk-DI7CBDL6.mjs → chunk-UQ4742ET.mjs} +1 -1
  167. package/dist/{chunk-EFLFRAHD.mjs → chunk-VJBUCITV.mjs} +1 -1
  168. package/dist/{chunk-QSFV2P7O.mjs → chunk-YMYIEVZP.mjs} +1 -1
  169. package/dist/{chunk-EMUWGDWC.mjs → chunk-YTXRIXNZ.mjs} +2 -0
  170. package/dist/{chunk-XBAGGKLW.mjs → chunk-ZIMY2QUM.mjs} +2 -2
  171. package/dist/{chunk-NXI4YDZ2.mjs → chunk-ZR6HSEAB.mjs} +1 -1
  172. package/dist/{index-wt-orHUi.d.ts → index-CY34hxPN.d.mts} +1 -0
  173. package/dist/{index-wt-orHUi.d.mts → index-CY34hxPN.d.ts} +1 -0
  174. package/dist/index.d.mts +3 -2
  175. package/dist/index.d.ts +3 -2
  176. package/dist/index.js +733 -453
  177. package/dist/index.mjs +53 -52
  178. package/package.json +1 -1
  179. package/src/components/Accordion/Accordion.tsx +20 -0
  180. package/src/components/Button/Button.tsx +29 -26
  181. package/src/components/ConfirmDialog/ConfirmDialog.tsx +10 -3
  182. package/src/components/ImageUpload/ImageUpload.tsx +10 -3
  183. package/src/components/SelectableCard/SelectableCard.tsx +304 -0
  184. package/src/components/SelectableCard/index.ts +1 -0
  185. package/src/components/Sheet/Sheet.tsx +10 -3
  186. package/src/components/Skeleton/Skeleton.tsx +5 -2
  187. package/src/components/Stats/Stats.tsx +35 -7
  188. package/src/index.ts +1 -0
  189. package/src/theme/colors.ts +7 -0
  190. package/src/theme/types.ts +4 -1
@@ -1,5 +1,5 @@
1
- export { ListGroup, ListGroupFooter, ListGroupHeader } from './chunk-JULSIZDM.mjs';
1
+ export { ListGroup, ListGroupFooter, ListGroupHeader } from './chunk-C43HRKXH.mjs';
2
2
  import './chunk-QY3X2UYR.mjs';
3
- import './chunk-EMUWGDWC.mjs';
3
+ import './chunk-YTXRIXNZ.mjs';
4
4
  import './chunk-2CE3TQVY.mjs';
5
5
  import './chunk-Y6FXYEAI.mjs';
package/dist/ListItem.js CHANGED
@@ -163,6 +163,7 @@ function deriveColors(t, scheme) {
163
163
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
164
164
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
165
165
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
166
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
166
167
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
167
168
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
168
169
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -175,6 +176,7 @@ function deriveColors(t, scheme) {
175
176
  foregroundMuted,
176
177
  surface,
177
178
  surfaceStrong,
179
+ skeleton,
178
180
  destructiveTint,
179
181
  destructiveBorder,
180
182
  successTint,
package/dist/ListItem.mjs CHANGED
@@ -1,9 +1,9 @@
1
- export { ListItem } from './chunk-FUVYSVGR.mjs';
1
+ export { ListItem } from './chunk-EDLCGYIO.mjs';
2
2
  import './chunk-3DKJ2GIC.mjs';
3
3
  import './chunk-EJ7ZPXOH.mjs';
4
4
  import './chunk-DVK4G2GT.mjs';
5
5
  import './chunk-QY3X2UYR.mjs';
6
6
  import './chunk-KA7LTET3.mjs';
7
- import './chunk-EMUWGDWC.mjs';
7
+ import './chunk-YTXRIXNZ.mjs';
8
8
  import './chunk-2CE3TQVY.mjs';
9
9
  import './chunk-Y6FXYEAI.mjs';
package/dist/MediaCard.js CHANGED
@@ -162,6 +162,7 @@ function deriveColors(t, scheme) {
162
162
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
163
163
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
164
164
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
165
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
165
166
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
166
167
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
167
168
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -174,6 +175,7 @@ function deriveColors(t, scheme) {
174
175
  foregroundMuted,
175
176
  surface,
176
177
  surfaceStrong,
178
+ skeleton,
177
179
  destructiveTint,
178
180
  destructiveBorder,
179
181
  successTint,
@@ -1,9 +1,9 @@
1
- export { MediaCard } from './chunk-AQEVCEXV.mjs';
1
+ export { MediaCard } from './chunk-7ELGZ66G.mjs';
2
2
  import './chunk-YNROWHQJ.mjs';
3
3
  import './chunk-EJ7ZPXOH.mjs';
4
4
  import './chunk-DVK4G2GT.mjs';
5
5
  import './chunk-QY3X2UYR.mjs';
6
6
  import './chunk-KA7LTET3.mjs';
7
- import './chunk-EMUWGDWC.mjs';
7
+ import './chunk-YTXRIXNZ.mjs';
8
8
  import './chunk-2CE3TQVY.mjs';
9
9
  import './chunk-Y6FXYEAI.mjs';
package/dist/MenuGroup.js CHANGED
@@ -89,6 +89,7 @@ function deriveColors(t, scheme) {
89
89
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
90
90
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
91
91
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
92
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
92
93
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
93
94
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
94
95
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -101,6 +102,7 @@ function deriveColors(t, scheme) {
101
102
  foregroundMuted,
102
103
  surface,
103
104
  surfaceStrong,
105
+ skeleton,
104
106
  destructiveTint,
105
107
  destructiveBorder,
106
108
  successTint,
@@ -1,5 +1,5 @@
1
- export { MenuGroup, MenuGroupFooter, MenuGroupHeader } from './chunk-AKM4EPOT.mjs';
1
+ export { MenuGroup, MenuGroupFooter, MenuGroupHeader } from './chunk-ULGNQPNE.mjs';
2
2
  import './chunk-QY3X2UYR.mjs';
3
- import './chunk-EMUWGDWC.mjs';
3
+ import './chunk-YTXRIXNZ.mjs';
4
4
  import './chunk-2CE3TQVY.mjs';
5
5
  import './chunk-Y6FXYEAI.mjs';
package/dist/MenuItem.js CHANGED
@@ -163,6 +163,7 @@ function deriveColors(t, scheme) {
163
163
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
164
164
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
165
165
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
166
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
166
167
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
167
168
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
168
169
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -175,6 +176,7 @@ function deriveColors(t, scheme) {
175
176
  foregroundMuted,
176
177
  surface,
177
178
  surfaceStrong,
179
+ skeleton,
178
180
  destructiveTint,
179
181
  destructiveBorder,
180
182
  successTint,
package/dist/MenuItem.mjs CHANGED
@@ -1,9 +1,9 @@
1
- export { MenuItem } from './chunk-DI7CBDL6.mjs';
1
+ export { MenuItem } from './chunk-UQ4742ET.mjs';
2
2
  import './chunk-3DKJ2GIC.mjs';
3
3
  import './chunk-EJ7ZPXOH.mjs';
4
4
  import './chunk-DVK4G2GT.mjs';
5
5
  import './chunk-QY3X2UYR.mjs';
6
6
  import './chunk-KA7LTET3.mjs';
7
- import './chunk-EMUWGDWC.mjs';
7
+ import './chunk-YTXRIXNZ.mjs';
8
8
  import './chunk-2CE3TQVY.mjs';
9
9
  import './chunk-Y6FXYEAI.mjs';
@@ -149,6 +149,7 @@ function deriveColors(t, scheme) {
149
149
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
150
150
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
151
151
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
152
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
152
153
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
153
154
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
154
155
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -161,6 +162,7 @@ function deriveColors(t, scheme) {
161
162
  foregroundMuted,
162
163
  surface,
163
164
  surfaceStrong,
165
+ skeleton,
164
166
  destructiveTint,
165
167
  destructiveBorder,
166
168
  successTint,
@@ -1,5 +1,5 @@
1
- export { MonthPicker, dateToMonthPickerValue, monthPickerValueToDate } from './chunk-I4V5XZPS.mjs';
1
+ export { MonthPicker, dateToMonthPickerValue, monthPickerValueToDate } from './chunk-AENAVIKT.mjs';
2
2
  import './chunk-EJ7ZPXOH.mjs';
3
- import './chunk-EMUWGDWC.mjs';
3
+ import './chunk-YTXRIXNZ.mjs';
4
4
  import './chunk-2CE3TQVY.mjs';
5
5
  import './chunk-Y6FXYEAI.mjs';
@@ -162,6 +162,7 @@ function deriveColors(t, scheme) {
162
162
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
163
163
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
164
164
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
165
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
165
166
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
166
167
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
167
168
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -174,6 +175,7 @@ function deriveColors(t, scheme) {
174
175
  foregroundMuted,
175
176
  surface,
176
177
  surfaceStrong,
178
+ skeleton,
177
179
  destructiveTint,
178
180
  destructiveBorder,
179
181
  successTint,
@@ -1,9 +1,9 @@
1
- export { NumberStepper } from './chunk-N4ZPVCJH.mjs';
1
+ export { NumberStepper } from './chunk-ELGEOM7I.mjs';
2
2
  import './chunk-3DKJ2GIC.mjs';
3
3
  import './chunk-EJ7ZPXOH.mjs';
4
4
  import './chunk-DVK4G2GT.mjs';
5
5
  import './chunk-QY3X2UYR.mjs';
6
6
  import './chunk-KA7LTET3.mjs';
7
- import './chunk-EMUWGDWC.mjs';
7
+ import './chunk-YTXRIXNZ.mjs';
8
8
  import './chunk-2CE3TQVY.mjs';
9
9
  import './chunk-Y6FXYEAI.mjs';
package/dist/PagerDots.js CHANGED
@@ -108,6 +108,7 @@ function deriveColors(t, scheme) {
108
108
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
109
109
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
110
110
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
111
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
111
112
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
112
113
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
113
114
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -120,6 +121,7 @@ function deriveColors(t, scheme) {
120
121
  foregroundMuted,
121
122
  surface,
122
123
  surfaceStrong,
124
+ skeleton,
123
125
  destructiveTint,
124
126
  destructiveBorder,
125
127
  successTint,
@@ -1,7 +1,7 @@
1
- export { PagerDots } from './chunk-OULVKTWL.mjs';
1
+ export { PagerDots } from './chunk-OLVJFKXS.mjs';
2
2
  import './chunk-EJ7ZPXOH.mjs';
3
3
  import './chunk-DVK4G2GT.mjs';
4
4
  import './chunk-KA7LTET3.mjs';
5
- import './chunk-EMUWGDWC.mjs';
5
+ import './chunk-YTXRIXNZ.mjs';
6
6
  import './chunk-2CE3TQVY.mjs';
7
7
  import './chunk-Y6FXYEAI.mjs';
@@ -108,6 +108,7 @@ function deriveColors(t, scheme) {
108
108
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
109
109
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
110
110
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
111
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
111
112
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
112
113
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
113
114
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -120,6 +121,7 @@ function deriveColors(t, scheme) {
120
121
  foregroundMuted,
121
122
  surface,
122
123
  surfaceStrong,
124
+ skeleton,
123
125
  destructiveTint,
124
126
  destructiveBorder,
125
127
  successTint,
@@ -350,24 +352,26 @@ function ButtonBase({
350
352
  impactMedium();
351
353
  onPress?.();
352
354
  };
353
- const containerVariantStyle = {
355
+ const containerVariantStyle = isDisabled ? {
356
+ primary: { backgroundColor: colors.surface },
357
+ secondary: { backgroundColor: "transparent", borderWidth: 1.5, borderColor: colors.border },
358
+ text: { backgroundColor: "transparent" },
359
+ destructive: { backgroundColor: colors.surface }
360
+ }[variant] : {
354
361
  primary: { backgroundColor: colors.primary },
355
362
  secondary: { backgroundColor: "transparent", borderWidth: 1.5, borderColor: colors.primary },
356
363
  text: { backgroundColor: "transparent" },
357
364
  destructive: { backgroundColor: colors.destructive }
358
365
  }[variant];
359
- const labelVariantStyle = {
360
- primary: { color: colors.primaryForeground },
361
- secondary: { color: colors.primary },
362
- // AUDIT FIX: was colors.foreground — visually indistinguishable from plain text,
363
- // no affordance that it's a CTA. Now uses accentResolved so text-only buttons
364
- // carry the brand voltage. Falls back to primary when no accent is defined.
365
- text: { color: colors.accentResolved },
366
- destructive: { color: colors.destructiveForeground }
366
+ const labelColor = isDisabled ? colors.foregroundMuted : {
367
+ primary: colors.primaryForeground,
368
+ secondary: colors.primary,
369
+ text: colors.accentResolved,
370
+ destructive: colors.destructiveForeground
367
371
  }[variant];
368
- const textColor = iconColor ?? labelVariantStyle.color;
372
+ const textColor = iconColor ?? labelColor;
369
373
  const effectiveIcon = iconName ? renderIcon(iconName, iconSizeMap[size], textColor) : typeof icon === "function" ? icon({ label, size, variant, color: textColor }) : icon;
370
- const spinnerColor = variant === "destructive" ? colors.destructiveForeground : variant === "primary" ? colors.primaryForeground : colors.accentResolved;
374
+ const spinnerColor = isDisabled ? colors.foregroundMuted : variant === "destructive" ? colors.destructiveForeground : variant === "primary" ? colors.primaryForeground : colors.accentResolved;
371
375
  const styleArray = Array.isArray(style) ? style : style ? [style] : [];
372
376
  const flatStyle = reactNative.StyleSheet.flatten(styleArray);
373
377
  const { flex, ...restStyle } = flatStyle || {};
@@ -379,7 +383,6 @@ function ButtonBase({
379
383
  containerVariantStyle,
380
384
  containerSizeStyles[size],
381
385
  fullWidth && styles.fullWidth,
382
- isDisabled && styles.disabled,
383
386
  restStyle
384
387
  ],
385
388
  enabled: !isDisabled,
@@ -395,7 +398,7 @@ function ButtonBase({
395
398
  loading ? /* @__PURE__ */ React3__default.default.createElement(React3__default.default.Fragment, null, /* @__PURE__ */ React3__default.default.createElement(reactNative.ActivityIndicator, { size: "small", color: spinnerColor, style: { marginRight: s(6) } }), /* @__PURE__ */ React3__default.default.createElement(
396
399
  reactNative.Text,
397
400
  {
398
- style: [styles.label, labelVariantStyle, labelSizeStyles[size], styles.labelLoading],
401
+ style: [styles.label, { color: labelColor }, labelSizeStyles[size], styles.labelLoading],
399
402
  allowFontScaling: true,
400
403
  numberOfLines: 1
401
404
  },
@@ -403,7 +406,7 @@ function ButtonBase({
403
406
  )) : /* @__PURE__ */ React3__default.default.createElement(React3__default.default.Fragment, null, effectiveIcon && iconPosition === "left" && /* @__PURE__ */ React3__default.default.createElement(React3__default.default.Fragment, null, effectiveIcon), /* @__PURE__ */ React3__default.default.createElement(
404
407
  reactNative.Text,
405
408
  {
406
- style: [styles.label, labelVariantStyle, labelSizeStyles[size], effectiveIcon ? styles.labelWithIcon : void 0],
409
+ style: [styles.label, { color: labelColor }, labelSizeStyles[size], effectiveIcon ? styles.labelWithIcon : void 0],
407
410
  allowFontScaling: true,
408
411
  numberOfLines: 1
409
412
  },
@@ -422,9 +425,6 @@ var styles = reactNative.StyleSheet.create({
422
425
  fullWidth: {
423
426
  width: "100%"
424
427
  },
425
- disabled: {
426
- opacity: 0.45
427
- },
428
428
  label: {
429
429
  fontFamily: "Sohne-Medium",
430
430
  flexShrink: 1
@@ -1,11 +1,11 @@
1
- export { PricingCard } from './chunk-F4V6XLP4.mjs';
2
- import './chunk-3UYAZ7I4.mjs';
3
- import './chunk-DOGIPOF5.mjs';
1
+ export { PricingCard } from './chunk-E5UKLSJZ.mjs';
2
+ import './chunk-GH67YXG6.mjs';
3
+ import './chunk-4J2PXL36.mjs';
4
4
  import './chunk-3DKJ2GIC.mjs';
5
5
  import './chunk-EJ7ZPXOH.mjs';
6
6
  import './chunk-DVK4G2GT.mjs';
7
7
  import './chunk-QY3X2UYR.mjs';
8
8
  import './chunk-KA7LTET3.mjs';
9
- import './chunk-EMUWGDWC.mjs';
9
+ import './chunk-YTXRIXNZ.mjs';
10
10
  import './chunk-2CE3TQVY.mjs';
11
11
  import './chunk-Y6FXYEAI.mjs';
package/dist/Progress.js CHANGED
@@ -91,6 +91,7 @@ function deriveColors(t, scheme) {
91
91
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
92
92
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
93
93
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
94
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
94
95
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
95
96
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
96
97
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -103,6 +104,7 @@ function deriveColors(t, scheme) {
103
104
  foregroundMuted,
104
105
  surface,
105
106
  surfaceStrong,
107
+ skeleton,
106
108
  destructiveTint,
107
109
  destructiveBorder,
108
110
  successTint,
package/dist/Progress.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { Progress } from './chunk-2I2AYECM.mjs';
1
+ export { Progress } from './chunk-TS7DGUIR.mjs';
2
2
  import './chunk-DVK4G2GT.mjs';
3
- import './chunk-EMUWGDWC.mjs';
3
+ import './chunk-YTXRIXNZ.mjs';
4
4
  import './chunk-2CE3TQVY.mjs';
5
5
  import './chunk-Y6FXYEAI.mjs';
@@ -151,6 +151,7 @@ function deriveColors(t, scheme) {
151
151
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
152
152
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
153
153
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
154
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
154
155
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
155
156
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
156
157
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -163,6 +164,7 @@ function deriveColors(t, scheme) {
163
164
  foregroundMuted,
164
165
  surface,
165
166
  surfaceStrong,
167
+ skeleton,
166
168
  destructiveTint,
167
169
  destructiveBorder,
168
170
  successTint,
@@ -1,7 +1,7 @@
1
- export { RadioGroup } from './chunk-J6Q2YJEV.mjs';
1
+ export { RadioGroup } from './chunk-LNPKGWBG.mjs';
2
2
  import './chunk-YNROWHQJ.mjs';
3
3
  import './chunk-EJ7ZPXOH.mjs';
4
4
  import './chunk-DVK4G2GT.mjs';
5
- import './chunk-EMUWGDWC.mjs';
5
+ import './chunk-YTXRIXNZ.mjs';
6
6
  import './chunk-2CE3TQVY.mjs';
7
7
  import './chunk-Y6FXYEAI.mjs';
@@ -1,2 +1,2 @@
1
- export { c as RetrayProvider, d as RetrayProviderProps } from './index-wt-orHUi.mjs';
1
+ export { c as RetrayProvider, d as RetrayProviderProps } from './index-CY34hxPN.mjs';
2
2
  import 'react';
@@ -1,2 +1,2 @@
1
- export { c as RetrayProvider, d as RetrayProviderProps } from './index-wt-orHUi.js';
1
+ export { c as RetrayProvider, d as RetrayProviderProps } from './index-CY34hxPN.js';
2
2
  import 'react';
@@ -112,6 +112,7 @@ function deriveColors(t, scheme) {
112
112
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
113
113
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
114
114
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
115
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
115
116
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
116
117
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
117
118
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -124,6 +125,7 @@ function deriveColors(t, scheme) {
124
125
  foregroundMuted,
125
126
  surface,
126
127
  surfaceStrong,
128
+ skeleton,
127
129
  destructiveTint,
128
130
  destructiveBorder,
129
131
  successTint,
@@ -1,5 +1,5 @@
1
- export { RetrayProvider } from './chunk-XBAGGKLW.mjs';
2
- import './chunk-QSFV2P7O.mjs';
3
- import './chunk-EMUWGDWC.mjs';
1
+ export { RetrayProvider } from './chunk-ZIMY2QUM.mjs';
2
+ import './chunk-YMYIEVZP.mjs';
3
+ import './chunk-YTXRIXNZ.mjs';
4
4
  import './chunk-2CE3TQVY.mjs';
5
5
  import './chunk-Y6FXYEAI.mjs';
package/dist/Select.js CHANGED
@@ -152,6 +152,7 @@ function deriveColors(t, scheme) {
152
152
  const foregroundMuted = mixWithBackground(t.foreground, bg, 0.62);
153
153
  const surface = dark ? lighten(bg, -0.06) : darken(bg, 0.04);
154
154
  const surfaceStrong = dark ? lighten(bg, -0.12) : darken(bg, 0.08);
155
+ const skeleton = dark ? lighten(bg, -0.1) : darken(bg, 0.1);
155
156
  const destructiveTint = dark ? withAlphaOnDark(t.destructive, 0.15, bg) : withAlphaOnWhite(t.destructive, 0.08);
156
157
  const destructiveBorder = dark ? withAlphaOnDark(t.destructive, 0.45, bg) : withAlphaOnWhite(t.destructive, 0.3);
157
158
  const successTint = dark ? withAlphaOnDark(t.success, 0.15, bg) : withAlphaOnWhite(t.success, 0.08);
@@ -164,6 +165,7 @@ function deriveColors(t, scheme) {
164
165
  foregroundMuted,
165
166
  surface,
166
167
  surfaceStrong,
168
+ skeleton,
167
169
  destructiveTint,
168
170
  destructiveBorder,
169
171
  successTint,
package/dist/Select.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { Select } from './chunk-WOEWGSTU.mjs';
1
+ export { Select } from './chunk-HEDQPK4I.mjs';
2
2
  import './chunk-YNROWHQJ.mjs';
3
3
  import './chunk-EJ7ZPXOH.mjs';
4
4
  import './chunk-DVK4G2GT.mjs';
5
- import './chunk-EMUWGDWC.mjs';
5
+ import './chunk-YTXRIXNZ.mjs';
6
6
  import './chunk-2CE3TQVY.mjs';
7
7
  import './chunk-Y6FXYEAI.mjs';
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+
4
+ type SelectType = 'radio' | 'checkbox';
5
+ type CardVariant = 'elevated' | 'outlined' | 'filled';
6
+ interface SelectableCardGroupProps {
7
+ type: SelectType;
8
+ value: string | string[];
9
+ onValueChange: (value: string | string[]) => void;
10
+ variant?: CardVariant;
11
+ gap?: number;
12
+ style?: ViewStyle;
13
+ children: React.ReactNode;
14
+ }
15
+ declare function SelectableCardGroup({ type, value, onValueChange, variant, gap, style, children, }: SelectableCardGroupProps): React.JSX.Element;
16
+ interface SelectableCardProps {
17
+ value: string;
18
+ title: string;
19
+ description?: string;
20
+ iconName?: string;
21
+ icon?: React.ReactNode;
22
+ disabled?: boolean;
23
+ style?: ViewStyle;
24
+ }
25
+ declare function SelectableCard({ value, title, description, iconName, icon, disabled, style, }: SelectableCardProps): React.JSX.Element;
26
+
27
+ export { SelectableCard, SelectableCardGroup, type SelectableCardGroupProps, type SelectableCardProps };
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { ViewStyle } from 'react-native';
3
+
4
+ type SelectType = 'radio' | 'checkbox';
5
+ type CardVariant = 'elevated' | 'outlined' | 'filled';
6
+ interface SelectableCardGroupProps {
7
+ type: SelectType;
8
+ value: string | string[];
9
+ onValueChange: (value: string | string[]) => void;
10
+ variant?: CardVariant;
11
+ gap?: number;
12
+ style?: ViewStyle;
13
+ children: React.ReactNode;
14
+ }
15
+ declare function SelectableCardGroup({ type, value, onValueChange, variant, gap, style, children, }: SelectableCardGroupProps): React.JSX.Element;
16
+ interface SelectableCardProps {
17
+ value: string;
18
+ title: string;
19
+ description?: string;
20
+ iconName?: string;
21
+ icon?: React.ReactNode;
22
+ disabled?: boolean;
23
+ style?: ViewStyle;
24
+ }
25
+ declare function SelectableCard({ value, title, description, iconName, icon, disabled, style, }: SelectableCardProps): React.JSX.Element;
26
+
27
+ export { SelectableCard, SelectableCardGroup, type SelectableCardGroupProps, type SelectableCardProps };