@metamask-previews/design-system-shared 0.21.0-preview.1f40f69f → 0.23.0-preview.0a4d6f8

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 (253) hide show
  1. package/CHANGELOG.md +33 -1
  2. package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.cjs +7 -0
  3. package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.cjs.map +1 -0
  4. package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.d.cts +11 -0
  5. package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.d.cts.map +1 -0
  6. package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.d.mts +11 -0
  7. package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.d.mts.map +1 -0
  8. package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.mjs +4 -0
  9. package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.mjs.map +1 -0
  10. package/dist/contexts/FilterButtonGroup/index.cjs +6 -0
  11. package/dist/contexts/FilterButtonGroup/index.cjs.map +1 -0
  12. package/dist/contexts/FilterButtonGroup/index.d.cts +2 -0
  13. package/dist/contexts/FilterButtonGroup/index.d.cts.map +1 -0
  14. package/dist/contexts/FilterButtonGroup/index.d.mts +2 -0
  15. package/dist/contexts/FilterButtonGroup/index.d.mts.map +1 -0
  16. package/dist/contexts/FilterButtonGroup/index.mjs +2 -0
  17. package/dist/contexts/FilterButtonGroup/index.mjs.map +1 -0
  18. package/dist/index.cjs +13 -8
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +11 -4
  21. package/dist/index.d.cts.map +1 -1
  22. package/dist/index.d.mts +11 -4
  23. package/dist/index.d.mts.map +1 -1
  24. package/dist/index.mjs +7 -4
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/types/AvatarIcon/AvatarIcon.types.cjs +2 -2
  27. package/dist/types/AvatarIcon/AvatarIcon.types.cjs.map +1 -1
  28. package/dist/types/AvatarIcon/AvatarIcon.types.d.cts +3 -3
  29. package/dist/types/AvatarIcon/AvatarIcon.types.d.mts +3 -3
  30. package/dist/types/AvatarIcon/AvatarIcon.types.mjs +2 -2
  31. package/dist/types/AvatarIcon/AvatarIcon.types.mjs.map +1 -1
  32. package/dist/types/AvatarNetwork/AvatarNetwork.types.cjs +3 -0
  33. package/dist/types/AvatarNetwork/AvatarNetwork.types.cjs.map +1 -1
  34. package/dist/types/AvatarNetwork/AvatarNetwork.types.d.cts +16 -3
  35. package/dist/types/AvatarNetwork/AvatarNetwork.types.d.cts.map +1 -1
  36. package/dist/types/AvatarNetwork/AvatarNetwork.types.d.mts +16 -3
  37. package/dist/types/AvatarNetwork/AvatarNetwork.types.d.mts.map +1 -1
  38. package/dist/types/AvatarNetwork/AvatarNetwork.types.mjs +2 -1
  39. package/dist/types/AvatarNetwork/AvatarNetwork.types.mjs.map +1 -1
  40. package/dist/types/AvatarNetwork/index.cjs +3 -0
  41. package/dist/types/AvatarNetwork/index.cjs.map +1 -1
  42. package/dist/types/AvatarNetwork/index.d.cts +1 -1
  43. package/dist/types/AvatarNetwork/index.d.cts.map +1 -1
  44. package/dist/types/AvatarNetwork/index.d.mts +1 -1
  45. package/dist/types/AvatarNetwork/index.d.mts.map +1 -1
  46. package/dist/types/AvatarNetwork/index.mjs +1 -1
  47. package/dist/types/AvatarNetwork/index.mjs.map +1 -1
  48. package/dist/types/Content/Content.types.cjs.map +1 -1
  49. package/dist/types/Content/Content.types.d.cts +0 -20
  50. package/dist/types/Content/Content.types.d.cts.map +1 -1
  51. package/dist/types/Content/Content.types.d.mts +0 -20
  52. package/dist/types/Content/Content.types.d.mts.map +1 -1
  53. package/dist/types/Content/Content.types.mjs.map +1 -1
  54. package/dist/types/{SegmentButton/SegmentButton.types.cjs → FilterButton/FilterButton.types.cjs} +4 -4
  55. package/dist/types/FilterButton/FilterButton.types.cjs.map +1 -0
  56. package/dist/types/FilterButton/FilterButton.types.d.cts +31 -0
  57. package/dist/types/FilterButton/FilterButton.types.d.cts.map +1 -0
  58. package/dist/types/FilterButton/FilterButton.types.d.mts +31 -0
  59. package/dist/types/FilterButton/FilterButton.types.d.mts.map +1 -0
  60. package/dist/types/{SegmentButton/SegmentButton.types.mjs → FilterButton/FilterButton.types.mjs} +3 -3
  61. package/dist/types/FilterButton/FilterButton.types.mjs.map +1 -0
  62. package/dist/types/FilterButton/index.cjs +6 -0
  63. package/dist/types/FilterButton/index.cjs.map +1 -0
  64. package/dist/types/FilterButton/index.d.cts +2 -0
  65. package/dist/types/FilterButton/index.d.cts.map +1 -0
  66. package/dist/types/FilterButton/index.d.mts +2 -0
  67. package/dist/types/FilterButton/index.d.mts.map +1 -0
  68. package/dist/types/FilterButton/index.mjs +2 -0
  69. package/dist/types/FilterButton/index.mjs.map +1 -0
  70. package/dist/types/FilterButtonGroup/FilterButtonGroup.types.cjs +3 -0
  71. package/dist/types/FilterButtonGroup/FilterButtonGroup.types.cjs.map +1 -0
  72. package/dist/types/FilterButtonGroup/FilterButtonGroup.types.d.cts +20 -0
  73. package/dist/types/FilterButtonGroup/FilterButtonGroup.types.d.cts.map +1 -0
  74. package/dist/types/FilterButtonGroup/FilterButtonGroup.types.d.mts +20 -0
  75. package/dist/types/FilterButtonGroup/FilterButtonGroup.types.d.mts.map +1 -0
  76. package/dist/types/FilterButtonGroup/FilterButtonGroup.types.mjs +2 -0
  77. package/dist/types/FilterButtonGroup/FilterButtonGroup.types.mjs.map +1 -0
  78. package/dist/types/FilterButtonGroup/index.cjs.map +1 -0
  79. package/dist/types/FilterButtonGroup/index.d.cts +2 -0
  80. package/dist/types/FilterButtonGroup/index.d.cts.map +1 -0
  81. package/dist/types/FilterButtonGroup/index.d.mts +2 -0
  82. package/dist/types/FilterButtonGroup/index.d.mts.map +1 -0
  83. package/dist/types/FilterButtonGroup/index.mjs.map +1 -0
  84. package/dist/types/Icon/Icon.types.cjs +1 -0
  85. package/dist/types/Icon/Icon.types.cjs.map +1 -1
  86. package/dist/types/Icon/Icon.types.d.cts +1 -0
  87. package/dist/types/Icon/Icon.types.d.cts.map +1 -1
  88. package/dist/types/Icon/Icon.types.d.mts +1 -0
  89. package/dist/types/Icon/Icon.types.d.mts.map +1 -1
  90. package/dist/types/Icon/Icon.types.mjs +1 -0
  91. package/dist/types/Icon/Icon.types.mjs.map +1 -1
  92. package/dist/types/IconAlert/IconAlert.types.cjs +2 -2
  93. package/dist/types/IconAlert/IconAlert.types.cjs.map +1 -1
  94. package/dist/types/IconAlert/IconAlert.types.d.cts +2 -2
  95. package/dist/types/IconAlert/IconAlert.types.d.mts +2 -2
  96. package/dist/types/IconAlert/IconAlert.types.mjs +2 -2
  97. package/dist/types/IconAlert/IconAlert.types.mjs.map +1 -1
  98. package/dist/types/{SegmentGroup/SegmentGroup.types.cjs → ListItem/ListItem.types.cjs} +1 -1
  99. package/dist/types/ListItem/ListItem.types.cjs.map +1 -0
  100. package/dist/types/ListItem/ListItem.types.d.cts +31 -0
  101. package/dist/types/ListItem/ListItem.types.d.cts.map +1 -0
  102. package/dist/types/ListItem/ListItem.types.d.mts +31 -0
  103. package/dist/types/ListItem/ListItem.types.d.mts.map +1 -0
  104. package/dist/types/ListItem/ListItem.types.mjs +2 -0
  105. package/dist/types/ListItem/ListItem.types.mjs.map +1 -0
  106. package/dist/types/ListItem/index.cjs +3 -0
  107. package/dist/types/ListItem/index.cjs.map +1 -0
  108. package/dist/types/ListItem/index.d.cts +2 -0
  109. package/dist/types/ListItem/index.d.cts.map +1 -0
  110. package/dist/types/ListItem/index.d.mts +2 -0
  111. package/dist/types/ListItem/index.d.mts.map +1 -0
  112. package/dist/types/ListItem/index.mjs +2 -0
  113. package/dist/types/ListItem/index.mjs.map +1 -0
  114. package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.cjs +3 -0
  115. package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.cjs.map +1 -0
  116. package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.d.cts +11 -0
  117. package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.d.cts.map +1 -0
  118. package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.d.mts +11 -0
  119. package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.d.mts.map +1 -0
  120. package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.mjs +2 -0
  121. package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.mjs.map +1 -0
  122. package/dist/types/ListItemMultiSelect/index.cjs +3 -0
  123. package/dist/types/ListItemMultiSelect/index.cjs.map +1 -0
  124. package/dist/types/ListItemMultiSelect/index.d.cts +2 -0
  125. package/dist/types/ListItemMultiSelect/index.d.cts.map +1 -0
  126. package/dist/types/ListItemMultiSelect/index.d.mts +2 -0
  127. package/dist/types/ListItemMultiSelect/index.d.mts.map +1 -0
  128. package/dist/types/ListItemMultiSelect/index.mjs +2 -0
  129. package/dist/types/ListItemMultiSelect/index.mjs.map +1 -0
  130. package/dist/types/ListItemSelect/ListItemSelect.types.cjs +3 -0
  131. package/dist/types/ListItemSelect/ListItemSelect.types.cjs.map +1 -0
  132. package/dist/types/ListItemSelect/ListItemSelect.types.d.cts +16 -0
  133. package/dist/types/ListItemSelect/ListItemSelect.types.d.cts.map +1 -0
  134. package/dist/types/ListItemSelect/ListItemSelect.types.d.mts +16 -0
  135. package/dist/types/ListItemSelect/ListItemSelect.types.d.mts.map +1 -0
  136. package/dist/types/ListItemSelect/ListItemSelect.types.mjs +2 -0
  137. package/dist/types/ListItemSelect/ListItemSelect.types.mjs.map +1 -0
  138. package/dist/types/ListItemSelect/index.cjs +3 -0
  139. package/dist/types/ListItemSelect/index.cjs.map +1 -0
  140. package/dist/types/ListItemSelect/index.d.cts +2 -0
  141. package/dist/types/ListItemSelect/index.d.cts.map +1 -0
  142. package/dist/types/ListItemSelect/index.d.mts +2 -0
  143. package/dist/types/ListItemSelect/index.d.mts.map +1 -0
  144. package/dist/types/ListItemSelect/index.mjs +2 -0
  145. package/dist/types/ListItemSelect/index.mjs.map +1 -0
  146. package/dist/types/SegmentedControl/SegmentedControl.types.cjs +3 -0
  147. package/dist/types/SegmentedControl/SegmentedControl.types.cjs.map +1 -0
  148. package/dist/types/SegmentedControl/SegmentedControl.types.d.cts +28 -0
  149. package/dist/types/SegmentedControl/SegmentedControl.types.d.cts.map +1 -0
  150. package/dist/types/SegmentedControl/SegmentedControl.types.d.mts +28 -0
  151. package/dist/types/SegmentedControl/SegmentedControl.types.d.mts.map +1 -0
  152. package/dist/types/SegmentedControl/SegmentedControl.types.mjs +2 -0
  153. package/dist/types/SegmentedControl/SegmentedControl.types.mjs.map +1 -0
  154. package/dist/types/SegmentedControl/index.cjs +3 -0
  155. package/dist/types/SegmentedControl/index.cjs.map +1 -0
  156. package/dist/types/SegmentedControl/index.d.cts +2 -0
  157. package/dist/types/SegmentedControl/index.d.cts.map +1 -0
  158. package/dist/types/SegmentedControl/index.d.mts +2 -0
  159. package/dist/types/SegmentedControl/index.d.mts.map +1 -0
  160. package/dist/types/SegmentedControl/index.mjs +2 -0
  161. package/dist/types/SegmentedControl/index.mjs.map +1 -0
  162. package/dist/types/Switch/Switch.types.cjs +3 -0
  163. package/dist/types/Switch/Switch.types.cjs.map +1 -0
  164. package/dist/types/Switch/Switch.types.d.cts +23 -0
  165. package/dist/types/Switch/Switch.types.d.cts.map +1 -0
  166. package/dist/types/Switch/Switch.types.d.mts +23 -0
  167. package/dist/types/Switch/Switch.types.d.mts.map +1 -0
  168. package/dist/types/Switch/Switch.types.mjs +2 -0
  169. package/dist/types/Switch/Switch.types.mjs.map +1 -0
  170. package/dist/types/Switch/index.cjs +3 -0
  171. package/dist/types/Switch/index.cjs.map +1 -0
  172. package/dist/types/Switch/index.d.cts +2 -0
  173. package/dist/types/Switch/index.d.cts.map +1 -0
  174. package/dist/types/Switch/index.d.mts +2 -0
  175. package/dist/types/Switch/index.d.mts.map +1 -0
  176. package/dist/types/Switch/index.mjs +2 -0
  177. package/dist/types/Switch/index.mjs.map +1 -0
  178. package/dist/types/Tag/Tag.types.cjs +1 -1
  179. package/dist/types/Tag/Tag.types.cjs.map +1 -1
  180. package/dist/types/Tag/Tag.types.d.cts +1 -1
  181. package/dist/types/Tag/Tag.types.d.mts +1 -1
  182. package/dist/types/Tag/Tag.types.mjs +1 -1
  183. package/dist/types/Tag/Tag.types.mjs.map +1 -1
  184. package/dist/types/TextButton/TextButton.types.cjs +3 -0
  185. package/dist/types/TextButton/TextButton.types.cjs.map +1 -0
  186. package/dist/types/TextButton/TextButton.types.d.cts +12 -0
  187. package/dist/types/TextButton/TextButton.types.d.cts.map +1 -0
  188. package/dist/types/TextButton/TextButton.types.d.mts +12 -0
  189. package/dist/types/TextButton/TextButton.types.d.mts.map +1 -0
  190. package/dist/types/TextButton/TextButton.types.mjs +2 -0
  191. package/dist/types/TextButton/TextButton.types.mjs.map +1 -0
  192. package/dist/types/TextButton/index.cjs +3 -0
  193. package/dist/types/TextButton/index.cjs.map +1 -0
  194. package/dist/types/TextButton/index.d.cts +2 -0
  195. package/dist/types/TextButton/index.d.cts.map +1 -0
  196. package/dist/types/TextButton/index.d.mts +2 -0
  197. package/dist/types/TextButton/index.d.mts.map +1 -0
  198. package/dist/types/TextButton/index.mjs +2 -0
  199. package/dist/types/TextButton/index.mjs.map +1 -0
  200. package/dist/utils/merge-tw-class-name.cjs +23 -0
  201. package/dist/utils/merge-tw-class-name.cjs.map +1 -0
  202. package/dist/utils/merge-tw-class-name.d.cts +19 -0
  203. package/dist/utils/merge-tw-class-name.d.cts.map +1 -0
  204. package/dist/utils/merge-tw-class-name.d.mts +19 -0
  205. package/dist/utils/merge-tw-class-name.d.mts.map +1 -0
  206. package/dist/utils/merge-tw-class-name.mjs +19 -0
  207. package/dist/utils/merge-tw-class-name.mjs.map +1 -0
  208. package/package.json +1 -1
  209. package/dist/contexts/SegmentGroup/SegmentGroup.context.cjs +0 -7
  210. package/dist/contexts/SegmentGroup/SegmentGroup.context.cjs.map +0 -1
  211. package/dist/contexts/SegmentGroup/SegmentGroup.context.d.cts +0 -8
  212. package/dist/contexts/SegmentGroup/SegmentGroup.context.d.cts.map +0 -1
  213. package/dist/contexts/SegmentGroup/SegmentGroup.context.d.mts +0 -8
  214. package/dist/contexts/SegmentGroup/SegmentGroup.context.d.mts.map +0 -1
  215. package/dist/contexts/SegmentGroup/SegmentGroup.context.mjs +0 -4
  216. package/dist/contexts/SegmentGroup/SegmentGroup.context.mjs.map +0 -1
  217. package/dist/contexts/SegmentGroup/index.cjs +0 -6
  218. package/dist/contexts/SegmentGroup/index.cjs.map +0 -1
  219. package/dist/contexts/SegmentGroup/index.d.cts +0 -2
  220. package/dist/contexts/SegmentGroup/index.d.cts.map +0 -1
  221. package/dist/contexts/SegmentGroup/index.d.mts +0 -2
  222. package/dist/contexts/SegmentGroup/index.d.mts.map +0 -1
  223. package/dist/contexts/SegmentGroup/index.mjs +0 -2
  224. package/dist/contexts/SegmentGroup/index.mjs.map +0 -1
  225. package/dist/types/SegmentButton/SegmentButton.types.cjs.map +0 -1
  226. package/dist/types/SegmentButton/SegmentButton.types.d.cts +0 -31
  227. package/dist/types/SegmentButton/SegmentButton.types.d.cts.map +0 -1
  228. package/dist/types/SegmentButton/SegmentButton.types.d.mts +0 -31
  229. package/dist/types/SegmentButton/SegmentButton.types.d.mts.map +0 -1
  230. package/dist/types/SegmentButton/SegmentButton.types.mjs.map +0 -1
  231. package/dist/types/SegmentButton/index.cjs +0 -6
  232. package/dist/types/SegmentButton/index.cjs.map +0 -1
  233. package/dist/types/SegmentButton/index.d.cts +0 -2
  234. package/dist/types/SegmentButton/index.d.cts.map +0 -1
  235. package/dist/types/SegmentButton/index.d.mts +0 -2
  236. package/dist/types/SegmentButton/index.d.mts.map +0 -1
  237. package/dist/types/SegmentButton/index.mjs +0 -2
  238. package/dist/types/SegmentButton/index.mjs.map +0 -1
  239. package/dist/types/SegmentGroup/SegmentGroup.types.cjs.map +0 -1
  240. package/dist/types/SegmentGroup/SegmentGroup.types.d.cts +0 -20
  241. package/dist/types/SegmentGroup/SegmentGroup.types.d.cts.map +0 -1
  242. package/dist/types/SegmentGroup/SegmentGroup.types.d.mts +0 -20
  243. package/dist/types/SegmentGroup/SegmentGroup.types.d.mts.map +0 -1
  244. package/dist/types/SegmentGroup/SegmentGroup.types.mjs +0 -2
  245. package/dist/types/SegmentGroup/SegmentGroup.types.mjs.map +0 -1
  246. package/dist/types/SegmentGroup/index.cjs.map +0 -1
  247. package/dist/types/SegmentGroup/index.d.cts +0 -2
  248. package/dist/types/SegmentGroup/index.d.cts.map +0 -1
  249. package/dist/types/SegmentGroup/index.d.mts +0 -2
  250. package/dist/types/SegmentGroup/index.d.mts.map +0 -1
  251. package/dist/types/SegmentGroup/index.mjs.map +0 -1
  252. /package/dist/types/{SegmentGroup → FilterButtonGroup}/index.cjs +0 -0
  253. /package/dist/types/{SegmentGroup → FilterButtonGroup}/index.mjs +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.23.0]
11
+
12
+ ### Added
13
+
14
+ - Added `SwitchPropsShared` for cross-platform `Switch` support ([#1022](https://github.com/MetaMask/metamask-design-system/pull/1022))
15
+ - Added `SegmentedControlPropsShared` for cross-platform `SegmentedControl` support ([#1242](https://github.com/MetaMask/metamask-design-system/pull/1242))
16
+ - Added `ListItemSelectPropsShared` and `ListItemMultiSelectPropsShared` for cross-platform list selection rows ([#1230](https://github.com/MetaMask/metamask-design-system/pull/1230))
17
+ - Added `Trophy` to `IconName` ([#1235](https://github.com/MetaMask/metamask-design-system/pull/1235))
18
+
19
+ ### Changed
20
+
21
+ - Added `accessoryGap` to `ListItemPropsShared` to control spacing between row accessories and inner content ([#1232](https://github.com/MetaMask/metamask-design-system/pull/1232))
22
+ - **BREAKING:** Renamed `SegmentButton`/`SegmentGroup` shared types and context to `FilterButton`/`FilterButtonGroup`; prop shapes are unchanged ([#1240](https://github.com/MetaMask/metamask-design-system/pull/1240))
23
+ - See [Migration Guide](./MIGRATION.md#from-version-0220-to-0230)
24
+ - **BREAKING:** Removed `startAccessory`/`endAccessory` from `ContentPropsShared` and removed `topAccessory`/`bottomAccessory`; row accessories belong on `ListItemPropsShared` instead ([#1231](https://github.com/MetaMask/metamask-design-system/pull/1231))
25
+ - See [design-system-react-native Migration Guide](../design-system-react-native/MIGRATION.md#content-shell-accessories-removed-row-accessories-moved-to-listitem)
26
+
27
+ ## [0.22.0]
28
+
29
+ ### Added
30
+
31
+ - Added `ListItemPropsShared` and related shared types for cross-platform `ListItem` support ([#1203](https://github.com/MetaMask/metamask-design-system/pull/1203))
32
+ - Added `ToastPropsShared`, `ToastSeverity`, and `Toast` animation constants to shared package, consolidating the Toast type definitions used by React and React Native ([#1190](https://github.com/MetaMask/metamask-design-system/pull/1190))
33
+ - Added `TextButtonPropsShared` to align `TextButton` API across React and React Native ([#1224](https://github.com/MetaMask/metamask-design-system/pull/1224))
34
+ - Added `AvatarNetworkSize` as a named export from the shared package ([#1225](https://github.com/MetaMask/metamask-design-system/pull/1225))
35
+
36
+ ### Changed
37
+
38
+ - **BREAKING:** `AvatarIconSeverity.Error`, `IconAlertSeverity.Error`, and `TagSeverity.Error` renamed to `.Danger`; severity vocabulary standardized to use `Danger` for destructive/critical states ([#1159](https://github.com/MetaMask/metamask-design-system/pull/1159))
39
+
10
40
  ## [0.21.0]
11
41
 
12
42
  ### Added
@@ -219,7 +249,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
219
249
  - **Initial release** - MetaMask Design System Shared
220
250
  - Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
221
251
 
222
- [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.21.0...HEAD
252
+ [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.23.0...HEAD
253
+ [0.23.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.22.0...@metamask/design-system-shared@0.23.0
254
+ [0.22.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.21.0...@metamask/design-system-shared@0.22.0
223
255
  [0.21.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.20.0...@metamask/design-system-shared@0.21.0
224
256
  [0.20.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.19.0...@metamask/design-system-shared@0.20.0
225
257
  [0.19.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.18.0...@metamask/design-system-shared@0.19.0
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterButtonGroupContext = void 0;
4
+ const react_1 = require("react");
5
+ exports.FilterButtonGroupContext = (0, react_1.createContext)(null);
6
+ exports.FilterButtonGroupContext.displayName = 'FilterButtonGroupContext';
7
+ //# sourceMappingURL=FilterButtonGroup.context.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterButtonGroup.context.cjs","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/FilterButtonGroup.context.ts"],"names":[],"mappings":";;;AAAA,iCAAsC;AAazB,QAAA,wBAAwB,GACnC,IAAA,qBAAa,EAAuC,IAAI,CAAC,CAAC;AAE5D,gCAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC","sourcesContent":["import { createContext } from 'react';\n\nimport type { ButtonBaseSize } from '../../types/ButtonBase/ButtonBase.types';\nimport type { FilterButtonVariant } from '../../types/FilterButton/FilterButton.types';\n\nexport type FilterButtonGroupContextValue = {\n value: string;\n onChange: (nextValue: string) => void;\n variant?: FilterButtonVariant;\n size?: ButtonBaseSize;\n isEqualWidth?: boolean;\n};\n\nexport const FilterButtonGroupContext =\n createContext<FilterButtonGroupContextValue | null>(null);\n\nFilterButtonGroupContext.displayName = 'FilterButtonGroupContext';\n"]}
@@ -0,0 +1,11 @@
1
+ import type { ButtonBaseSize } from "../../types/ButtonBase/ButtonBase.types.cjs";
2
+ import type { FilterButtonVariant } from "../../types/FilterButton/FilterButton.types.cjs";
3
+ export type FilterButtonGroupContextValue = {
4
+ value: string;
5
+ onChange: (nextValue: string) => void;
6
+ variant?: FilterButtonVariant;
7
+ size?: ButtonBaseSize;
8
+ isEqualWidth?: boolean;
9
+ };
10
+ export declare const FilterButtonGroupContext: import("react").Context<FilterButtonGroupContextValue | null>;
11
+ //# sourceMappingURL=FilterButtonGroup.context.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterButtonGroup.context.d.cts","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/FilterButtonGroup.context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,oDAAgD;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,wDAAoD;AAEvF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,+DACsB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { ButtonBaseSize } from "../../types/ButtonBase/ButtonBase.types.mjs";
2
+ import type { FilterButtonVariant } from "../../types/FilterButton/FilterButton.types.mjs";
3
+ export type FilterButtonGroupContextValue = {
4
+ value: string;
5
+ onChange: (nextValue: string) => void;
6
+ variant?: FilterButtonVariant;
7
+ size?: ButtonBaseSize;
8
+ isEqualWidth?: boolean;
9
+ };
10
+ export declare const FilterButtonGroupContext: import("react").Context<FilterButtonGroupContextValue | null>;
11
+ //# sourceMappingURL=FilterButtonGroup.context.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterButtonGroup.context.d.mts","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/FilterButtonGroup.context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,oDAAgD;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,wDAAoD;AAEvF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,+DACsB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { createContext } from "react";
2
+ export const FilterButtonGroupContext = createContext(null);
3
+ FilterButtonGroupContext.displayName = 'FilterButtonGroupContext';
4
+ //# sourceMappingURL=FilterButtonGroup.context.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterButtonGroup.context.mjs","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/FilterButtonGroup.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc;AAatC,MAAM,CAAC,MAAM,wBAAwB,GACnC,aAAa,CAAuC,IAAI,CAAC,CAAC;AAE5D,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC","sourcesContent":["import { createContext } from 'react';\n\nimport type { ButtonBaseSize } from '../../types/ButtonBase/ButtonBase.types';\nimport type { FilterButtonVariant } from '../../types/FilterButton/FilterButton.types';\n\nexport type FilterButtonGroupContextValue = {\n value: string;\n onChange: (nextValue: string) => void;\n variant?: FilterButtonVariant;\n size?: ButtonBaseSize;\n isEqualWidth?: boolean;\n};\n\nexport const FilterButtonGroupContext =\n createContext<FilterButtonGroupContextValue | null>(null);\n\nFilterButtonGroupContext.displayName = 'FilterButtonGroupContext';\n"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterButtonGroupContext = void 0;
4
+ var FilterButtonGroup_context_1 = require("./FilterButtonGroup.context.cjs");
5
+ Object.defineProperty(exports, "FilterButtonGroupContext", { enumerable: true, get: function () { return FilterButtonGroup_context_1.FilterButtonGroupContext; } });
6
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/index.ts"],"names":[],"mappings":";;;AAAA,6EAGqC;AAFnC,qIAAA,wBAAwB,OAAA","sourcesContent":["export {\n FilterButtonGroupContext,\n type FilterButtonGroupContextValue,\n} from './FilterButtonGroup.context';\n"]}
@@ -0,0 +1,2 @@
1
+ export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from "./FilterButtonGroup.context.cjs";
2
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,wCAAoC"}
@@ -0,0 +1,2 @@
1
+ export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from "./FilterButtonGroup.context.mjs";
2
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,wCAAoC"}
@@ -0,0 +1,2 @@
1
+ export { FilterButtonGroupContext } from "./FilterButtonGroup.context.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAEzB,wCAAoC","sourcesContent":["export {\n FilterButtonGroupContext,\n type FilterButtonGroupContextValue,\n} from './FilterButtonGroup.context';\n"]}
package/dist/index.cjs CHANGED
@@ -1,13 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SensitiveTextLength = exports.AvatarGroupVariant = exports.AvatarGroupSize = exports.IconSize = exports.IconName = exports.IconColor = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.TagSeverity = exports.AvatarFaviconSize = exports.TextVariant = exports.TextColor = exports.FontWeight = exports.FontStyle = exports.FontFamily = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.ButtonIconVariant = exports.ButtonIconSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.ButtonVariant = exports.ButtonSize = exports.ButtonHeroSize = exports.ButtonBaseSize = exports.KeyValueRowVariant = exports.HeaderSearchVariant = exports.TOAST_VISIBILITY_DURATION = exports.TOAST_ANIMATION_DURATION = exports.IconAlertSeverity = exports.HelpTextSeverity = exports.ContentVerticalAlignment = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = exports.AvatarIconSeverity = exports.AvatarIconSize = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.generateIconSeed = exports.isEthereumAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = exports.extractAccountAddress = void 0;
4
- exports.ToastSeverity = exports.SelectButtonVariant = exports.SelectButtonEndArrow = exports.SelectButtonSize = exports.SegmentGroupContext = exports.SegmentButtonVariant = void 0;
3
+ exports.AvatarGroupSize = exports.IconSize = exports.IconName = exports.IconColor = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.TagSeverity = exports.AvatarFaviconSize = exports.TextVariant = exports.TextColor = exports.FontWeight = exports.FontStyle = exports.FontFamily = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.ButtonIconVariant = exports.ButtonIconSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.AvatarNetworkSize = exports.ButtonVariant = exports.ButtonSize = exports.ButtonHeroSize = exports.ButtonBaseSize = exports.KeyValueRowVariant = exports.HeaderSearchVariant = exports.TOAST_VISIBILITY_DURATION = exports.TOAST_ANIMATION_DURATION = exports.IconAlertSeverity = exports.HelpTextSeverity = exports.ContentVerticalAlignment = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = exports.AvatarIconSeverity = exports.AvatarIconSize = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.mergeTwClassName = exports.generateIconSeed = exports.isEthereumAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = exports.extractAccountAddress = void 0;
4
+ exports.ToastSeverity = exports.SelectButtonVariant = exports.SelectButtonEndArrow = exports.SelectButtonSize = exports.FilterButtonGroupContext = exports.FilterButtonVariant = exports.SensitiveTextLength = exports.AvatarGroupVariant = void 0;
5
5
  var caip_address_1 = require("./utils/caip-address.cjs");
6
6
  Object.defineProperty(exports, "extractAccountAddress", { enumerable: true, get: function () { return caip_address_1.extractAccountAddress; } });
7
7
  Object.defineProperty(exports, "generateSeedEthereum", { enumerable: true, get: function () { return caip_address_1.generateSeedEthereum; } });
8
8
  Object.defineProperty(exports, "generateSeedNonEthereum", { enumerable: true, get: function () { return caip_address_1.generateSeedNonEthereum; } });
9
9
  Object.defineProperty(exports, "isEthereumAddress", { enumerable: true, get: function () { return caip_address_1.isEthereumAddress; } });
10
10
  Object.defineProperty(exports, "generateIconSeed", { enumerable: true, get: function () { return caip_address_1.generateIconSeed; } });
11
+ var merge_tw_class_name_1 = require("./utils/merge-tw-class-name.cjs");
12
+ Object.defineProperty(exports, "mergeTwClassName", { enumerable: true, get: function () { return merge_tw_class_name_1.mergeTwClassName; } });
11
13
  // AvatarBase types (ADR-0003 + ADR-0004)
12
14
  var AvatarBase_1 = require("./types/AvatarBase/index.cjs");
13
15
  Object.defineProperty(exports, "AvatarBaseSize", { enumerable: true, get: function () { return AvatarBase_1.AvatarBaseSize; } });
@@ -50,6 +52,9 @@ Object.defineProperty(exports, "ButtonSize", { enumerable: true, get: function (
50
52
  // Button types (ADR-0003 + ADR-0004)
51
53
  var Button_1 = require("./types/Button/index.cjs");
52
54
  Object.defineProperty(exports, "ButtonVariant", { enumerable: true, get: function () { return Button_1.ButtonVariant; } });
55
+ // AvatarNetwork types (ADR-0003 + ADR-0004)
56
+ var AvatarNetwork_1 = require("./types/AvatarNetwork/index.cjs");
57
+ Object.defineProperty(exports, "AvatarNetworkSize", { enumerable: true, get: function () { return AvatarNetwork_1.AvatarNetworkSize; } });
53
58
  // AvatarToken types (ADR-0003 + ADR-0004)
54
59
  var AvatarToken_1 = require("./types/AvatarToken/index.cjs");
55
60
  Object.defineProperty(exports, "AvatarTokenSize", { enumerable: true, get: function () { return AvatarToken_1.AvatarTokenSize; } });
@@ -100,12 +105,12 @@ Object.defineProperty(exports, "AvatarGroupVariant", { enumerable: true, get: fu
100
105
  // SensitiveText types (ADR-0003 + ADR-0004)
101
106
  var SensitiveText_1 = require("./types/SensitiveText/index.cjs");
102
107
  Object.defineProperty(exports, "SensitiveTextLength", { enumerable: true, get: function () { return SensitiveText_1.SensitiveTextLength; } });
103
- // SegmentButton types (ADR-0003 + ADR-0004)
104
- var SegmentButton_1 = require("./types/SegmentButton/index.cjs");
105
- Object.defineProperty(exports, "SegmentButtonVariant", { enumerable: true, get: function () { return SegmentButton_1.SegmentButtonVariant; } });
106
- // SegmentGroup context (ADR-0003 + ADR-0004)
107
- var SegmentGroup_1 = require("./contexts/SegmentGroup/index.cjs");
108
- Object.defineProperty(exports, "SegmentGroupContext", { enumerable: true, get: function () { return SegmentGroup_1.SegmentGroupContext; } });
108
+ // FilterButton types (ADR-0003 + ADR-0004)
109
+ var FilterButton_1 = require("./types/FilterButton/index.cjs");
110
+ Object.defineProperty(exports, "FilterButtonVariant", { enumerable: true, get: function () { return FilterButton_1.FilterButtonVariant; } });
111
+ // FilterButtonGroup context (ADR-0003 + ADR-0004)
112
+ var FilterButtonGroup_1 = require("./contexts/FilterButtonGroup/index.cjs");
113
+ Object.defineProperty(exports, "FilterButtonGroupContext", { enumerable: true, get: function () { return FilterButtonGroup_1.FilterButtonGroupContext; } });
109
114
  // SelectButton types (ADR-0003 + ADR-0004)
110
115
  var SelectButton_1 = require("./types/SelectButton/index.cjs");
111
116
  Object.defineProperty(exports, "SelectButtonSize", { enumerable: true, get: function () { return SelectButton_1.SelectButtonSize; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,yDAM8B;AAL5B,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,uHAAA,uBAAuB,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,6GAAA,eAAe,OAAA;AAIjB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,gHAAA,kBAAkB,OAAA;AAIpB,yCAAyC;AACzC,2DAAgF;AAAvE,4GAAA,cAAc,OAAA;AAEvB,0CAA0C;AAC1C,6DAI6B;AAH3B,gHAAA,iBAAiB,OAAA;AACjB,8GAAA,eAAe,OAAA;AAIjB,sCAAsC;AACtC,qDAGyB;AAFvB,mHAAA,wBAAwB,OAAA;AAI1B,uCAAuC;AACvC,uDAA8E;AAArE,4GAAA,gBAAgB,OAAA;AAEzB,wCAAwC;AACxC,yDAG2B;AAFzB,8GAAA,iBAAiB,OAAA;AAUnB,yBAAyB;AACzB,iDAGuB;AAFrB,iH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AA,QAAQ,OAAA;AAIV,0CAA0C;AAC1C,6DAI6B;AAH3B,8GAAA,eAAe,OAAA;AACf,iHAAA,kBAAkB,OAAA;AAIpB,4CAA4C;AAC5C,iEAI+B;AAH7B,oHAAA,mBAAmB,OAAA;AAKrB,4CAA4C;AAC5C,iEAG+B;AAF7B,qHAAA,oBAAoB,OAAA;AAOtB,6CAA6C;AAC7C,kEAGiC;AAF/B,mHAAA,mBAAmB,OAAA;AAIrB,2CAA2C;AAC3C,+DAK8B;AAJ5B,gHAAA,gBAAgB,OAAA;AAChB,oHAAA,oBAAoB,OAAA;AACpB,mHAAA,mBAAmB,OAAA;AAOrB,oCAAoC;AACpC,iDAAqE;AAA5D,sGAAA,aAAa,OAAA","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// AvatarIcon types (ADR-0003 + ADR-0004)\nexport {\n AvatarIconSize,\n AvatarIconSeverity,\n type AvatarIconPropsShared,\n} from './types/AvatarIcon';\n\n// BadgeCount types (ADR-0003 + ADR-0004)\nexport { BadgeCountSize, type BadgeCountPropsShared } from './types/BadgeCount';\n\n// BadgeStatus types (ADR-0003 + ADR-0004)\nexport {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './types/BadgeStatus';\n\n// Content types (ADR-0003 + ADR-0004)\nexport {\n ContentVerticalAlignment,\n type ContentPropsShared,\n} from './types/Content';\n\n// HelpText types (ADR-0003 + ADR-0004)\nexport { HelpTextSeverity, type HelpTextPropsShared } from './types/HelpText';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// Toast types (ADR-0004)\nexport {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './types/Toast';\n\n// TitleHub types (ADR-0004)\nexport { type TitleHubPropsShared } from './types/TitleHub';\n\n// TitleAlert types (ADR-0004)\nexport { type TitleAlertPropsShared } from './types/TitleAlert';\n\n// TitleStandard types (ADR-0004)\nexport { type TitleStandardPropsShared } from './types/TitleStandard';\n\n// TitleSubpage types (ADR-0004)\nexport { type TitleSubpagePropsShared } from './types/TitleSubpage';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// ButtonBase types (ADR-0003 + ADR-0004)\nexport {\n ButtonBaseSize,\n ButtonHeroSize,\n ButtonSize,\n type ButtonBasePropsShared,\n} from './types/ButtonBase';\n\n// Button types (ADR-0003 + ADR-0004)\nexport { ButtonVariant, type ButtonPropsShared } from './types/Button';\n\n// AvatarNetwork types (ADR-0004)\nexport { type AvatarNetworkPropsShared } from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BadgeIcon types (ADR-0004)\nexport { type BadgeIconPropsShared } from './types/BadgeIcon';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n// ButtonIcon types (ADR-0003 + ADR-0004)\nexport {\n ButtonIconSize,\n ButtonIconVariant,\n type ButtonIconPropsShared,\n} from './types/ButtonIcon';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// TextField types (ADR-0004)\nexport { type TextFieldPropsShared } from './types/TextField';\n\n// TextArea types (ADR-0004)\nexport { type TextAreaPropsShared } from './types/TextArea';\n\n// Input types (ADR-0004)\nexport { type InputPropsShared } from './types/Input';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n\n// Tag types (ADR-0003 + ADR-0004)\nexport { TagSeverity, type TagPropsShared } from './types/Tag';\n\n// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n\n// AvatarGroup types (ADR-0003 + ADR-0004)\nexport {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './types/AvatarGroup';\n\n// SensitiveText types (ADR-0003 + ADR-0004)\nexport {\n SensitiveTextLength,\n type CustomLength,\n type SensitiveTextPropsShared,\n} from './types/SensitiveText';\n\n// SegmentButton types (ADR-0003 + ADR-0004)\nexport {\n SegmentButtonVariant,\n type SegmentButtonPropsShared,\n} from './types/SegmentButton';\n\n// SegmentGroup types (ADR-0003 + ADR-0004)\nexport { type SegmentGroupPropsShared } from './types/SegmentGroup';\n\n// SegmentGroup context (ADR-0003 + ADR-0004)\nexport {\n SegmentGroupContext,\n type SegmentGroupContextValue,\n} from './contexts/SegmentGroup';\n\n// SelectButton types (ADR-0003 + ADR-0004)\nexport {\n SelectButtonSize,\n SelectButtonEndArrow,\n SelectButtonVariant,\n type SelectButtonPropsShared,\n} from './types/SelectButton';\n\n// SectionHeader types (ADR-0004)\nexport { type SectionHeaderPropsShared } from './types/SectionHeader';\n\n// Toast types (ADR-0003 + ADR-0004)\nexport { ToastSeverity, type ToastPropsShared } from './types/Toast';\n"]}
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,yDAM8B;AAL5B,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,uHAAA,uBAAuB,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,uEAA+D;AAAtD,uHAAA,gBAAgB,OAAA;AAEzB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,6GAAA,eAAe,OAAA;AAIjB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,gHAAA,kBAAkB,OAAA;AAIpB,yCAAyC;AACzC,2DAAgF;AAAvE,4GAAA,cAAc,OAAA;AAEvB,0CAA0C;A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BAAiB,OAAA;AAOnB,kCAAkC;AAClC,6CAA+D;AAAtD,kGAAA,WAAW,OAAA;AAEpB,kCAAkC;AAClC,6CAUqB;AATnB,uGAAA,gBAAgB,OAAA;AAChB,kGAAA,WAAW,OAAA;AACX,oGAAA,aAAa,OAAA;AACb,wGAAA,iBAAiB,OAAA;AACjB,yGAAA,kBAAkB,OAAA;AAClB,qGAAA,cAAc,OAAA;AAMhB,mCAAmC;AACnC,+CAKsB;AAJpB,iGAAA,SAAS,OAAA;AACT,gGAAA,QAAQ,OAAA;AACR,gGAAA,QAAQ,OAAA;AAIV,0CAA0C;AAC1C,6DAI6B;AAH3B,8GAAA,eAAe,OAAA;AACf,iHAAA,kBAAkB,OAAA;AAIpB,4CAA4C;AAC5C,iEAI+B;AAH7B,oHAAA,mBAAmB,OAAA;AAKrB,2CAA2C;AAC3C,+DAG8B;AAF5B,mHAAA,mBAAmB,OAAA;AAarB,kDAAkD;AAClD,4EAGsC;AAFpC,6HAAA,wBAAwB,OAAA;AAI1B,2CAA2C;AAC3C,+DAK8B;AAJ5B,gHAAA,gBAAgB,OAAA;AAChB,oHAAA,oBAAoB,OAAA;AACpB,mHAAA,mBAAmB,OAAA;AAOrB,oCAAoC;AACpC,iDAAqE;AAA5D,sGAAA,aAAa,OAAA","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\nexport { mergeTwClassName } from './utils/merge-tw-class-name';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// AvatarIcon types (ADR-0003 + ADR-0004)\nexport {\n AvatarIconSize,\n AvatarIconSeverity,\n type AvatarIconPropsShared,\n} from './types/AvatarIcon';\n\n// BadgeCount types (ADR-0003 + ADR-0004)\nexport { BadgeCountSize, type BadgeCountPropsShared } from './types/BadgeCount';\n\n// BadgeStatus types (ADR-0003 + ADR-0004)\nexport {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './types/BadgeStatus';\n\n// Content types (ADR-0003 + ADR-0004)\nexport {\n ContentVerticalAlignment,\n type ContentPropsShared,\n} from './types/Content';\n\n// ListItem types (ADR-0004)\nexport { type ListItemPropsShared } from './types/ListItem';\n\n// ListItemSelect types (ADR-0004)\nexport { type ListItemSelectPropsShared } from './types/ListItemSelect';\n\n// ListItemMultiSelect types (ADR-0004)\nexport { type ListItemMultiSelectPropsShared } from './types/ListItemMultiSelect';\n\n// HelpText types (ADR-0003 + ADR-0004)\nexport { HelpTextSeverity, type HelpTextPropsShared } from './types/HelpText';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// Toast types (ADR-0004)\nexport {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './types/Toast';\n\n// TitleHub types (ADR-0004)\nexport { type TitleHubPropsShared } from './types/TitleHub';\n\n// TitleAlert types (ADR-0004)\nexport { type TitleAlertPropsShared } from './types/TitleAlert';\n\n// TitleStandard types (ADR-0004)\nexport { type TitleStandardPropsShared } from './types/TitleStandard';\n\n// TitleSubpage types (ADR-0004)\nexport { type TitleSubpagePropsShared } from './types/TitleSubpage';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// ButtonBase types (ADR-0003 + ADR-0004)\nexport {\n ButtonBaseSize,\n ButtonHeroSize,\n ButtonSize,\n type ButtonBasePropsShared,\n} from './types/ButtonBase';\n\n// Button types (ADR-0003 + ADR-0004)\nexport { ButtonVariant, type ButtonPropsShared } from './types/Button';\n\n// AvatarNetwork types (ADR-0003 + ADR-0004)\nexport {\n AvatarNetworkSize,\n type AvatarNetworkPropsShared,\n} from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BadgeIcon types (ADR-0004)\nexport { type BadgeIconPropsShared } from './types/BadgeIcon';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n\n// ButtonIcon types (ADR-0003 + ADR-0004)\nexport {\n ButtonIconSize,\n ButtonIconVariant,\n type ButtonIconPropsShared,\n} from './types/ButtonIcon';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// TextButton types (ADR-0004)\nexport { type TextButtonPropsShared } from './types/TextButton';\n\n// TextField types (ADR-0004)\nexport { type TextFieldPropsShared } from './types/TextField';\n\n// TextArea types (ADR-0004)\nexport { type TextAreaPropsShared } from './types/TextArea';\n\n// Input types (ADR-0004)\nexport { type InputPropsShared } from './types/Input';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n\n// Tag types (ADR-0003 + ADR-0004)\nexport { TagSeverity, type TagPropsShared } from './types/Tag';\n\n// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n\n// AvatarGroup types (ADR-0003 + ADR-0004)\nexport {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './types/AvatarGroup';\n\n// SensitiveText types (ADR-0003 + ADR-0004)\nexport {\n SensitiveTextLength,\n type CustomLength,\n type SensitiveTextPropsShared,\n} from './types/SensitiveText';\n\n// FilterButton types (ADR-0003 + ADR-0004)\nexport {\n FilterButtonVariant,\n type FilterButtonPropsShared,\n} from './types/FilterButton';\n\n// FilterButtonGroup types (ADR-0003 + ADR-0004)\nexport { type FilterButtonGroupPropsShared } from './types/FilterButtonGroup';\n\n// SegmentedControl types (ADR-0004)\nexport { type SegmentedControlPropsShared } from './types/SegmentedControl';\n\n// Switch types (ADR-0004)\nexport { type SwitchPropsShared } from './types/Switch';\n\n// FilterButtonGroup context (ADR-0003 + ADR-0004)\nexport {\n FilterButtonGroupContext,\n type FilterButtonGroupContextValue,\n} from './contexts/FilterButtonGroup';\n\n// SelectButton types (ADR-0003 + ADR-0004)\nexport {\n SelectButtonSize,\n SelectButtonEndArrow,\n SelectButtonVariant,\n type SelectButtonPropsShared,\n} from './types/SelectButton';\n\n// SectionHeader types (ADR-0004)\nexport { type SectionHeaderPropsShared } from './types/SectionHeader';\n\n// Toast types (ADR-0003 + ADR-0004)\nexport { ToastSeverity, type ToastPropsShared } from './types/Toast';\n"]}
package/dist/index.d.cts CHANGED
@@ -1,9 +1,13 @@
1
1
  export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed, } from "./utils/caip-address.cjs";
2
+ export { mergeTwClassName } from "./utils/merge-tw-class-name.cjs";
2
3
  export { AvatarBaseSize, AvatarBaseShape, type AvatarBasePropsShared, } from "./types/AvatarBase/index.cjs";
3
4
  export { AvatarIconSize, AvatarIconSeverity, type AvatarIconPropsShared, } from "./types/AvatarIcon/index.cjs";
4
5
  export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.cjs";
5
6
  export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.cjs";
6
7
  export { ContentVerticalAlignment, type ContentPropsShared, } from "./types/Content/index.cjs";
8
+ export { type ListItemPropsShared } from "./types/ListItem/index.cjs";
9
+ export { type ListItemSelectPropsShared } from "./types/ListItemSelect/index.cjs";
10
+ export { type ListItemMultiSelectPropsShared } from "./types/ListItemMultiSelect/index.cjs";
7
11
  export { HelpTextSeverity, type HelpTextPropsShared } from "./types/HelpText/index.cjs";
8
12
  export { IconAlertSeverity, type IconAlertPropsShared, } from "./types/IconAlert/index.cjs";
9
13
  export { type BannerBasePropsShared } from "./types/BannerBase/index.cjs";
@@ -21,7 +25,7 @@ export { KeyValueRowVariant, type KeyValueRowPropsShared, } from "./types/KeyVal
21
25
  export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.cjs";
22
26
  export { ButtonBaseSize, ButtonHeroSize, ButtonSize, type ButtonBasePropsShared, } from "./types/ButtonBase/index.cjs";
23
27
  export { ButtonVariant, type ButtonPropsShared } from "./types/Button/index.cjs";
24
- export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.cjs";
28
+ export { AvatarNetworkSize, type AvatarNetworkPropsShared, } from "./types/AvatarNetwork/index.cjs";
25
29
  export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.cjs";
26
30
  export { type BadgeIconPropsShared } from "./types/BadgeIcon/index.cjs";
27
31
  export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.cjs";
@@ -30,6 +34,7 @@ export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition, type BadgeWrappe
30
34
  export { ButtonIconSize, ButtonIconVariant, type ButtonIconPropsShared, } from "./types/ButtonIcon/index.cjs";
31
35
  export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.cjs";
32
36
  export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.cjs";
37
+ export { type TextButtonPropsShared } from "./types/TextButton/index.cjs";
33
38
  export { type TextFieldPropsShared } from "./types/TextField/index.cjs";
34
39
  export { type TextAreaPropsShared } from "./types/TextArea/index.cjs";
35
40
  export { type InputPropsShared } from "./types/Input/index.cjs";
@@ -40,9 +45,11 @@ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBac
40
45
  export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.cjs";
41
46
  export { AvatarGroupSize, AvatarGroupVariant, type AvatarGroupPropsShared, } from "./types/AvatarGroup/index.cjs";
42
47
  export { SensitiveTextLength, type CustomLength, type SensitiveTextPropsShared, } from "./types/SensitiveText/index.cjs";
43
- export { SegmentButtonVariant, type SegmentButtonPropsShared, } from "./types/SegmentButton/index.cjs";
44
- export { type SegmentGroupPropsShared } from "./types/SegmentGroup/index.cjs";
45
- export { SegmentGroupContext, type SegmentGroupContextValue, } from "./contexts/SegmentGroup/index.cjs";
48
+ export { FilterButtonVariant, type FilterButtonPropsShared, } from "./types/FilterButton/index.cjs";
49
+ export { type FilterButtonGroupPropsShared } from "./types/FilterButtonGroup/index.cjs";
50
+ export { type SegmentedControlPropsShared } from "./types/SegmentedControl/index.cjs";
51
+ export { type SwitchPropsShared } from "./types/Switch/index.cjs";
52
+ export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from "./contexts/FilterButtonGroup/index.cjs";
46
53
  export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.cjs";
47
54
  export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.cjs";
48
55
  export { ToastSeverity, type ToastPropsShared } from "./types/Toast/index.cjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;AAG9B,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,qBAAqB,GAC3B,qCAA2B;AAG5B,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,KAAK,qBAAqB,GAC3B,qCAA2B;AAG5B,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,qCAA2B;AAGhF,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EACL,wBAAwB,EACxB,KAAK,kBAAkB,GACxB,kCAAwB;AAGzB,OAAO,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,mCAAyB;AAG9E,OAAO,EACL,iBAAiB,EACjB,KAAK,oBAAoB,GAC1B,oCAA0B;AAG3B,OAAO,EAAE,KAAK,qBAAqB,EAAE,qCAA2B;AAGhE,OAAO,EAAE,KAAK,yBAAyB,EAAE,yCAA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,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EAAE,KAAK,mBAAmB,EAAE,mCAAyB;AAG5D,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,8BAAoB;AAG/D,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,8BAAoB;AAGrB,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,KAAK,eAAe,GACrB,+BAAqB;AAGtB,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EACL,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EACL,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,4BAA4B,EAAE,4CAAkC;AAG9E,OAAO,EAAE,KAAK,2BAA2B,EAAE,2CAAiC;AAG5E,OAAO,EAAE,KAAK,iBAAiB,EAAE,iCAAuB;AAGxD,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,+CAAqC;AAGtC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,gCAAsB"}
package/dist/index.d.mts CHANGED
@@ -1,9 +1,13 @@
1
1
  export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed, } from "./utils/caip-address.mjs";
2
+ export { mergeTwClassName } from "./utils/merge-tw-class-name.mjs";
2
3
  export { AvatarBaseSize, AvatarBaseShape, type AvatarBasePropsShared, } from "./types/AvatarBase/index.mjs";
3
4
  export { AvatarIconSize, AvatarIconSeverity, type AvatarIconPropsShared, } from "./types/AvatarIcon/index.mjs";
4
5
  export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.mjs";
5
6
  export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.mjs";
6
7
  export { ContentVerticalAlignment, type ContentPropsShared, } from "./types/Content/index.mjs";
8
+ export { type ListItemPropsShared } from "./types/ListItem/index.mjs";
9
+ export { type ListItemSelectPropsShared } from "./types/ListItemSelect/index.mjs";
10
+ export { type ListItemMultiSelectPropsShared } from "./types/ListItemMultiSelect/index.mjs";
7
11
  export { HelpTextSeverity, type HelpTextPropsShared } from "./types/HelpText/index.mjs";
8
12
  export { IconAlertSeverity, type IconAlertPropsShared, } from "./types/IconAlert/index.mjs";
9
13
  export { type BannerBasePropsShared } from "./types/BannerBase/index.mjs";
@@ -21,7 +25,7 @@ export { KeyValueRowVariant, type KeyValueRowPropsShared, } from "./types/KeyVal
21
25
  export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.mjs";
22
26
  export { ButtonBaseSize, ButtonHeroSize, ButtonSize, type ButtonBasePropsShared, } from "./types/ButtonBase/index.mjs";
23
27
  export { ButtonVariant, type ButtonPropsShared } from "./types/Button/index.mjs";
24
- export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.mjs";
28
+ export { AvatarNetworkSize, type AvatarNetworkPropsShared, } from "./types/AvatarNetwork/index.mjs";
25
29
  export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.mjs";
26
30
  export { type BadgeIconPropsShared } from "./types/BadgeIcon/index.mjs";
27
31
  export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.mjs";
@@ -30,6 +34,7 @@ export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition, type BadgeWrappe
30
34
  export { ButtonIconSize, ButtonIconVariant, type ButtonIconPropsShared, } from "./types/ButtonIcon/index.mjs";
31
35
  export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.mjs";
32
36
  export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.mjs";
37
+ export { type TextButtonPropsShared } from "./types/TextButton/index.mjs";
33
38
  export { type TextFieldPropsShared } from "./types/TextField/index.mjs";
34
39
  export { type TextAreaPropsShared } from "./types/TextArea/index.mjs";
35
40
  export { type InputPropsShared } from "./types/Input/index.mjs";
@@ -40,9 +45,11 @@ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBac
40
45
  export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.mjs";
41
46
  export { AvatarGroupSize, AvatarGroupVariant, type AvatarGroupPropsShared, } from "./types/AvatarGroup/index.mjs";
42
47
  export { SensitiveTextLength, type CustomLength, type SensitiveTextPropsShared, } from "./types/SensitiveText/index.mjs";
43
- export { SegmentButtonVariant, type SegmentButtonPropsShared, } from "./types/SegmentButton/index.mjs";
44
- export { type SegmentGroupPropsShared } from "./types/SegmentGroup/index.mjs";
45
- export { SegmentGroupContext, type SegmentGroupContextValue, } from "./contexts/SegmentGroup/index.mjs";
48
+ export { FilterButtonVariant, type FilterButtonPropsShared, } from "./types/FilterButton/index.mjs";
49
+ export { type FilterButtonGroupPropsShared } from "./types/FilterButtonGroup/index.mjs";
50
+ export { type SegmentedControlPropsShared } from "./types/SegmentedControl/index.mjs";
51
+ export { type SwitchPropsShared } from "./types/Switch/index.mjs";
52
+ export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from "./contexts/FilterButtonGroup/index.mjs";
46
53
  export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.mjs";
47
54
  export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.mjs";
48
55
  export { ToastSeverity, type ToastPropsShared } from "./types/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,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EACL,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,4BAA4B,EAAE,4CAAkC;AAG9E,OAAO,EAAE,KAAK,2BAA2B,EAAE,2CAAiC;AAG5E,OAAO,EAAE,KAAK,iBAAiB,EAAE,iCAAuB;AAGxD,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,+CAAqC;AAGtC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,gCAAsB"}
package/dist/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed } from "./utils/caip-address.mjs";
2
+ export { mergeTwClassName } from "./utils/merge-tw-class-name.mjs";
2
3
  // AvatarBase types (ADR-0003 + ADR-0004)
3
4
  export { AvatarBaseSize, AvatarBaseShape } from "./types/AvatarBase/index.mjs";
4
5
  // AvatarIcon types (ADR-0003 + ADR-0004)
@@ -23,6 +24,8 @@ export { KeyValueRowVariant } from "./types/KeyValueRow/index.mjs";
23
24
  export { ButtonBaseSize, ButtonHeroSize, ButtonSize } from "./types/ButtonBase/index.mjs";
24
25
  // Button types (ADR-0003 + ADR-0004)
25
26
  export { ButtonVariant } from "./types/Button/index.mjs";
27
+ // AvatarNetwork types (ADR-0003 + ADR-0004)
28
+ export { AvatarNetworkSize } from "./types/AvatarNetwork/index.mjs";
26
29
  // AvatarToken types (ADR-0003 + ADR-0004)
27
30
  export { AvatarTokenSize } from "./types/AvatarToken/index.mjs";
28
31
  // BannerAlert types (ADR-0003 + ADR-0004)
@@ -46,10 +49,10 @@ export { IconColor, IconName, IconSize } from "./types/Icon/index.mjs";
46
49
  export { AvatarGroupSize, AvatarGroupVariant } from "./types/AvatarGroup/index.mjs";
47
50
  // SensitiveText types (ADR-0003 + ADR-0004)
48
51
  export { SensitiveTextLength } from "./types/SensitiveText/index.mjs";
49
- // SegmentButton types (ADR-0003 + ADR-0004)
50
- export { SegmentButtonVariant } from "./types/SegmentButton/index.mjs";
51
- // SegmentGroup context (ADR-0003 + ADR-0004)
52
- export { SegmentGroupContext } from "./contexts/SegmentGroup/index.mjs";
52
+ // FilterButton types (ADR-0003 + ADR-0004)
53
+ export { FilterButtonVariant } from "./types/FilterButton/index.mjs";
54
+ // FilterButtonGroup context (ADR-0003 + ADR-0004)
55
+ export { FilterButtonGroupContext } from "./contexts/FilterButtonGroup/index.mjs";
53
56
  // SelectButton types (ADR-0003 + ADR-0004)
54
57
  export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant } from "./types/SelectButton/index.mjs";
55
58
  // Toast types (ADR-0003 + ADR-0004)
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EACjB,iCAA6B;AAE9B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,eAAe,EAEhB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,kBAAkB,EAEnB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EAAE,cAAc,EAA8B,qCAA2B;AAEhF,0CAA0C;AAC1C,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,sCAA4B;AAE7B,sCAAsC;AACtC,OAAO,EACL,wBAAwB,EAEzB,kCAAwB;AAEzB,uCAAuC;AACvC,OAAO,EAAE,gBAAgB,EAA4B,mCAAyB;AAE9E,wCAAwC;AACxC,OAAO,EACL,iBAAiB,EAElB,oCA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AC7C,OAAO,EACL,mBAAmB,EAEpB,0CAAgC;AAEjC,2CAA2C;AAC3C,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EAEpB,uCAA6B;AAK9B,oCAAoC;AACpC,OAAO,EAAE,aAAa,EAAyB,gCAAsB","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// AvatarIcon types (ADR-0003 + ADR-0004)\nexport {\n AvatarIconSize,\n AvatarIconSeverity,\n type AvatarIconPropsShared,\n} from './types/AvatarIcon';\n\n// BadgeCount types (ADR-0003 + ADR-0004)\nexport { BadgeCountSize, type BadgeCountPropsShared } from './types/BadgeCount';\n\n// BadgeStatus types (ADR-0003 + ADR-0004)\nexport {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './types/BadgeStatus';\n\n// Content types (ADR-0003 + ADR-0004)\nexport {\n ContentVerticalAlignment,\n type ContentPropsShared,\n} from './types/Content';\n\n// HelpText types (ADR-0003 + ADR-0004)\nexport { HelpTextSeverity, type HelpTextPropsShared } from './types/HelpText';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// Toast types (ADR-0004)\nexport {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './types/Toast';\n\n// TitleHub types (ADR-0004)\nexport { type TitleHubPropsShared } from './types/TitleHub';\n\n// TitleAlert types (ADR-0004)\nexport { type TitleAlertPropsShared } from './types/TitleAlert';\n\n// TitleStandard types (ADR-0004)\nexport { type TitleStandardPropsShared } from './types/TitleStandard';\n\n// TitleSubpage types (ADR-0004)\nexport { type TitleSubpagePropsShared } from './types/TitleSubpage';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// ButtonBase types (ADR-0003 + ADR-0004)\nexport {\n ButtonBaseSize,\n ButtonHeroSize,\n ButtonSize,\n type ButtonBasePropsShared,\n} from './types/ButtonBase';\n\n// Button types (ADR-0003 + ADR-0004)\nexport { ButtonVariant, type ButtonPropsShared } from './types/Button';\n\n// AvatarNetwork types (ADR-0004)\nexport { type AvatarNetworkPropsShared } from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BadgeIcon types (ADR-0004)\nexport { type BadgeIconPropsShared } from './types/BadgeIcon';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n// ButtonIcon types (ADR-0003 + ADR-0004)\nexport {\n ButtonIconSize,\n ButtonIconVariant,\n type ButtonIconPropsShared,\n} from './types/ButtonIcon';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// TextField types (ADR-0004)\nexport { type TextFieldPropsShared } from './types/TextField';\n\n// TextArea types (ADR-0004)\nexport { type TextAreaPropsShared } from './types/TextArea';\n\n// Input types (ADR-0004)\nexport { type InputPropsShared } from './types/Input';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n\n// Tag types (ADR-0003 + ADR-0004)\nexport { TagSeverity, type TagPropsShared } from './types/Tag';\n\n// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n\n// AvatarGroup types (ADR-0003 + ADR-0004)\nexport {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './types/AvatarGroup';\n\n// SensitiveText types (ADR-0003 + ADR-0004)\nexport {\n SensitiveTextLength,\n type CustomLength,\n type SensitiveTextPropsShared,\n} from './types/SensitiveText';\n\n// SegmentButton types (ADR-0003 + ADR-0004)\nexport {\n SegmentButtonVariant,\n type SegmentButtonPropsShared,\n} from './types/SegmentButton';\n\n// SegmentGroup types (ADR-0003 + ADR-0004)\nexport { type SegmentGroupPropsShared } from './types/SegmentGroup';\n\n// SegmentGroup context (ADR-0003 + ADR-0004)\nexport {\n SegmentGroupContext,\n type SegmentGroupContextValue,\n} from './contexts/SegmentGroup';\n\n// SelectButton types (ADR-0003 + ADR-0004)\nexport {\n SelectButtonSize,\n SelectButtonEndArrow,\n SelectButtonVariant,\n type SelectButtonPropsShared,\n} from './types/SelectButton';\n\n// SectionHeader types (ADR-0004)\nexport { type SectionHeaderPropsShared } from './types/SectionHeader';\n\n// Toast types (ADR-0003 + ADR-0004)\nexport { ToastSeverity, type ToastPropsShared } from './types/Toast';\n"]}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EACjB,iCAA6B;AAE9B,OAAO,EAAE,gBAAgB,EAAE,wCAAoC;AAE/D,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,eAAe,EAEhB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,kBAAkB,EAEnB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EAAE,cAAc,EAA8B,qCAA2B;AAEhF,0CAA0C;AAC1C,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,sCAA4B;AAE7B,sCAAsC;AACtC,OAAO,EACL,wBAAwB,EAEzB,kCAAwB;AAWzB,uCAAuC;AACvC,OAAO,EAAE,gBAAgB,EAA4B,mCAAyB;AAE9E,wCAAwC;AACxC,OAAO,EACL,iBAAiB,EAElB,oCAA0B;AAQ3B,yBAAyB;AACzB,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EAC1B,gCAAsB;AAoBvB,2CAA2C;AAC3C,OAAO,EACL,mBAAmB,EAIpB,uCAA6B;AAK9B,0CAA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oB,EACpB,mBAAmB,EAEpB,uCAA6B;AAK9B,oCAAoC;AACpC,OAAO,EAAE,aAAa,EAAyB,gCAAsB","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\nexport { mergeTwClassName } from './utils/merge-tw-class-name';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// AvatarIcon types (ADR-0003 + ADR-0004)\nexport {\n AvatarIconSize,\n AvatarIconSeverity,\n type AvatarIconPropsShared,\n} from './types/AvatarIcon';\n\n// BadgeCount types (ADR-0003 + ADR-0004)\nexport { BadgeCountSize, type BadgeCountPropsShared } from './types/BadgeCount';\n\n// BadgeStatus types (ADR-0003 + ADR-0004)\nexport {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './types/BadgeStatus';\n\n// Content types (ADR-0003 + ADR-0004)\nexport {\n ContentVerticalAlignment,\n type ContentPropsShared,\n} from './types/Content';\n\n// ListItem types (ADR-0004)\nexport { type ListItemPropsShared } from './types/ListItem';\n\n// ListItemSelect types (ADR-0004)\nexport { type ListItemSelectPropsShared } from './types/ListItemSelect';\n\n// ListItemMultiSelect types (ADR-0004)\nexport { type ListItemMultiSelectPropsShared } from './types/ListItemMultiSelect';\n\n// HelpText types (ADR-0003 + ADR-0004)\nexport { HelpTextSeverity, type HelpTextPropsShared } from './types/HelpText';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// Toast types (ADR-0004)\nexport {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './types/Toast';\n\n// TitleHub types (ADR-0004)\nexport { type TitleHubPropsShared } from './types/TitleHub';\n\n// TitleAlert types (ADR-0004)\nexport { type TitleAlertPropsShared } from './types/TitleAlert';\n\n// TitleStandard types (ADR-0004)\nexport { type TitleStandardPropsShared } from './types/TitleStandard';\n\n// TitleSubpage types (ADR-0004)\nexport { type TitleSubpagePropsShared } from './types/TitleSubpage';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// ButtonBase types (ADR-0003 + ADR-0004)\nexport {\n ButtonBaseSize,\n ButtonHeroSize,\n ButtonSize,\n type ButtonBasePropsShared,\n} from './types/ButtonBase';\n\n// Button types (ADR-0003 + ADR-0004)\nexport { ButtonVariant, type ButtonPropsShared } from './types/Button';\n\n// AvatarNetwork types (ADR-0003 + ADR-0004)\nexport {\n AvatarNetworkSize,\n type AvatarNetworkPropsShared,\n} from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BadgeIcon types (ADR-0004)\nexport { type BadgeIconPropsShared } from './types/BadgeIcon';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n\n// ButtonIcon types (ADR-0003 + ADR-0004)\nexport {\n ButtonIconSize,\n ButtonIconVariant,\n type ButtonIconPropsShared,\n} from './types/ButtonIcon';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// TextButton types (ADR-0004)\nexport { type TextButtonPropsShared } from './types/TextButton';\n\n// TextField types (ADR-0004)\nexport { type TextFieldPropsShared } from './types/TextField';\n\n// TextArea types (ADR-0004)\nexport { type TextAreaPropsShared } from './types/TextArea';\n\n// Input types (ADR-0004)\nexport { type InputPropsShared } from './types/Input';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n\n// Tag types (ADR-0003 + ADR-0004)\nexport { TagSeverity, type TagPropsShared } from './types/Tag';\n\n// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n\n// AvatarGroup types (ADR-0003 + ADR-0004)\nexport {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './types/AvatarGroup';\n\n// SensitiveText types (ADR-0003 + ADR-0004)\nexport {\n SensitiveTextLength,\n type CustomLength,\n type SensitiveTextPropsShared,\n} from './types/SensitiveText';\n\n// FilterButton types (ADR-0003 + ADR-0004)\nexport {\n FilterButtonVariant,\n type FilterButtonPropsShared,\n} from './types/FilterButton';\n\n// FilterButtonGroup types (ADR-0003 + ADR-0004)\nexport { type FilterButtonGroupPropsShared } from './types/FilterButtonGroup';\n\n// SegmentedControl types (ADR-0004)\nexport { type SegmentedControlPropsShared } from './types/SegmentedControl';\n\n// Switch types (ADR-0004)\nexport { type SwitchPropsShared } from './types/Switch';\n\n// FilterButtonGroup context (ADR-0003 + ADR-0004)\nexport {\n FilterButtonGroupContext,\n type FilterButtonGroupContextValue,\n} from './contexts/FilterButtonGroup';\n\n// SelectButton types (ADR-0003 + ADR-0004)\nexport {\n SelectButtonSize,\n SelectButtonEndArrow,\n SelectButtonVariant,\n type SelectButtonPropsShared,\n} from './types/SelectButton';\n\n// SectionHeader types (ADR-0004)\nexport { type SectionHeaderPropsShared } from './types/SectionHeader';\n\n// Toast types (ADR-0003 + ADR-0004)\nexport { ToastSeverity, type ToastPropsShared } from './types/Toast';\n"]}
@@ -21,9 +21,9 @@ exports.AvatarIconSeverity = {
21
21
  */
22
22
  Success: 'success',
23
23
  /**
24
- * Represents an error severity
24
+ * Represents a danger (destructive) severity
25
25
  */
26
- Error: 'error',
26
+ Danger: 'danger',
27
27
  /**
28
28
  * Represents a warning severity
29
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarIcon.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarIcon/AvatarIcon.types.ts"],"names":[],"mappings":";;;AAGA,sDAAiE;AAAxD,4GAAA,cAAc,OAAkB;AAEzC;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAChC;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,OAAO,EAAE,SAAS;CACV,CAAC","sourcesContent":["import type { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\nimport type { IconName } from '../Icon/Icon.types';\n\nexport { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\n\n/**\n * AvatarIcon - severity\n * Convert from enum to const object (ADR-0003)\n */\nexport const AvatarIconSeverity = {\n /**\n * Represents a neutral severity\n */\n Neutral: 'neutral',\n /**\n * Represents an info severity\n */\n Info: 'info',\n /**\n * Represents a success severity\n */\n Success: 'success',\n /**\n * Represents an error severity\n */\n Error: 'error',\n /**\n * Represents a warning severity\n */\n Warning: 'warning',\n} as const;\nexport type AvatarIconSeverity =\n (typeof AvatarIconSeverity)[keyof typeof AvatarIconSeverity];\n\n/**\n * AvatarIcon component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type AvatarIconPropsShared = {\n /**\n * Required icon name from the icon set\n */\n iconName: IconName;\n /**\n * Optional prop to control the size of the avatar\n *\n * @default AvatarIconSize.Md\n */\n size?: AvatarIconSize;\n /**\n * Optional prop to control the severity of the avatar\n * Possible values:\n * - AvatarIconSeverity.Neutral\n * - AvatarIconSeverity.Info\n * - AvatarIconSeverity.Success\n * - AvatarIconSeverity.Error\n * - AvatarIconSeverity.Warning\n *\n * @default AvatarIconSeverity.Neutral\n */\n severity?: AvatarIconSeverity;\n};\n"]}
1
+ {"version":3,"file":"AvatarIcon.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarIcon/AvatarIcon.types.ts"],"names":[],"mappings":";;;AAGA,sDAAiE;AAAxD,4GAAA,cAAc,OAAkB;AAEzC;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAChC;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,OAAO,EAAE,SAAS;CACV,CAAC","sourcesContent":["import type { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\nimport type { IconName } from '../Icon/Icon.types';\n\nexport { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\n\n/**\n * AvatarIcon - severity\n * Convert from enum to const object (ADR-0003)\n */\nexport const AvatarIconSeverity = {\n /**\n * Represents a neutral severity\n */\n Neutral: 'neutral',\n /**\n * Represents an info severity\n */\n Info: 'info',\n /**\n * Represents a success severity\n */\n Success: 'success',\n /**\n * Represents a danger (destructive) severity\n */\n Danger: 'danger',\n /**\n * Represents a warning severity\n */\n Warning: 'warning',\n} as const;\nexport type AvatarIconSeverity =\n (typeof AvatarIconSeverity)[keyof typeof AvatarIconSeverity];\n\n/**\n * AvatarIcon component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type AvatarIconPropsShared = {\n /**\n * Required icon name from the icon set\n */\n iconName: IconName;\n /**\n * Optional prop to control the size of the avatar\n *\n * @default AvatarIconSize.Md\n */\n size?: AvatarIconSize;\n /**\n * Optional prop to control the severity of the avatar\n * Possible values:\n * - AvatarIconSeverity.Neutral\n * - AvatarIconSeverity.Info\n * - AvatarIconSeverity.Success\n * - AvatarIconSeverity.Danger\n * - AvatarIconSeverity.Warning\n *\n * @default AvatarIconSeverity.Neutral\n */\n severity?: AvatarIconSeverity;\n};\n"]}
@@ -19,9 +19,9 @@ export declare const AvatarIconSeverity: {
19
19
  */
20
20
  readonly Success: "success";
21
21
  /**
22
- * Represents an error severity
22
+ * Represents a danger (destructive) severity
23
23
  */
24
- readonly Error: "error";
24
+ readonly Danger: "danger";
25
25
  /**
26
26
  * Represents a warning severity
27
27
  */
@@ -49,7 +49,7 @@ export type AvatarIconPropsShared = {
49
49
  * - AvatarIconSeverity.Neutral
50
50
  * - AvatarIconSeverity.Info
51
51
  * - AvatarIconSeverity.Success
52
- * - AvatarIconSeverity.Error
52
+ * - AvatarIconSeverity.Danger
53
53
  * - AvatarIconSeverity.Warning
54
54
  *
55
55
  * @default AvatarIconSeverity.Neutral
@@ -19,9 +19,9 @@ export declare const AvatarIconSeverity: {
19
19
  */
20
20
  readonly Success: "success";
21
21
  /**
22
- * Represents an error severity
22
+ * Represents a danger (destructive) severity
23
23
  */
24
- readonly Error: "error";
24
+ readonly Danger: "danger";
25
25
  /**
26
26
  * Represents a warning severity
27
27
  */
@@ -49,7 +49,7 @@ export type AvatarIconPropsShared = {
49
49
  * - AvatarIconSeverity.Neutral
50
50
  * - AvatarIconSeverity.Info
51
51
  * - AvatarIconSeverity.Success
52
- * - AvatarIconSeverity.Error
52
+ * - AvatarIconSeverity.Danger
53
53
  * - AvatarIconSeverity.Warning
54
54
  *
55
55
  * @default AvatarIconSeverity.Neutral
@@ -17,9 +17,9 @@ export const AvatarIconSeverity = {
17
17
  */
18
18
  Success: 'success',
19
19
  /**
20
- * Represents an error severity
20
+ * Represents a danger (destructive) severity
21
21
  */
22
- Error: 'error',
22
+ Danger: 'danger',
23
23
  /**
24
24
  * Represents a warning severity
25
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarIcon.types.mjs","sourceRoot":"","sources":["../../../src/types/AvatarIcon/AvatarIcon.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,gCAAsB;AAEjE;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,OAAO,EAAE,SAAS;CACV,CAAC","sourcesContent":["import type { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\nimport type { IconName } from '../Icon/Icon.types';\n\nexport { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\n\n/**\n * AvatarIcon - severity\n * Convert from enum to const object (ADR-0003)\n */\nexport const AvatarIconSeverity = {\n /**\n * Represents a neutral severity\n */\n Neutral: 'neutral',\n /**\n * Represents an info severity\n */\n Info: 'info',\n /**\n * Represents a success severity\n */\n Success: 'success',\n /**\n * Represents an error severity\n */\n Error: 'error',\n /**\n * Represents a warning severity\n */\n Warning: 'warning',\n} as const;\nexport type AvatarIconSeverity =\n (typeof AvatarIconSeverity)[keyof typeof AvatarIconSeverity];\n\n/**\n * AvatarIcon component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type AvatarIconPropsShared = {\n /**\n * Required icon name from the icon set\n */\n iconName: IconName;\n /**\n * Optional prop to control the size of the avatar\n *\n * @default AvatarIconSize.Md\n */\n size?: AvatarIconSize;\n /**\n * Optional prop to control the severity of the avatar\n * Possible values:\n * - AvatarIconSeverity.Neutral\n * - AvatarIconSeverity.Info\n * - AvatarIconSeverity.Success\n * - AvatarIconSeverity.Error\n * - AvatarIconSeverity.Warning\n *\n * @default AvatarIconSeverity.Neutral\n */\n severity?: AvatarIconSeverity;\n};\n"]}
1
+ {"version":3,"file":"AvatarIcon.types.mjs","sourceRoot":"","sources":["../../../src/types/AvatarIcon/AvatarIcon.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,gCAAsB;AAEjE;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,OAAO,EAAE,SAAS;CACV,CAAC","sourcesContent":["import type { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\nimport type { IconName } from '../Icon/Icon.types';\n\nexport { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\n\n/**\n * AvatarIcon - severity\n * Convert from enum to const object (ADR-0003)\n */\nexport const AvatarIconSeverity = {\n /**\n * Represents a neutral severity\n */\n Neutral: 'neutral',\n /**\n * Represents an info severity\n */\n Info: 'info',\n /**\n * Represents a success severity\n */\n Success: 'success',\n /**\n * Represents a danger (destructive) severity\n */\n Danger: 'danger',\n /**\n * Represents a warning severity\n */\n Warning: 'warning',\n} as const;\nexport type AvatarIconSeverity =\n (typeof AvatarIconSeverity)[keyof typeof AvatarIconSeverity];\n\n/**\n * AvatarIcon component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type AvatarIconPropsShared = {\n /**\n * Required icon name from the icon set\n */\n iconName: IconName;\n /**\n * Optional prop to control the size of the avatar\n *\n * @default AvatarIconSize.Md\n */\n size?: AvatarIconSize;\n /**\n * Optional prop to control the severity of the avatar\n * Possible values:\n * - AvatarIconSeverity.Neutral\n * - AvatarIconSeverity.Info\n * - AvatarIconSeverity.Success\n * - AvatarIconSeverity.Danger\n * - AvatarIconSeverity.Warning\n *\n * @default AvatarIconSeverity.Neutral\n */\n severity?: AvatarIconSeverity;\n};\n"]}
@@ -1,3 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AvatarNetworkSize = void 0;
4
+ const AvatarBase_types_1 = require("../AvatarBase/AvatarBase.types.cjs");
5
+ exports.AvatarNetworkSize = AvatarBase_types_1.AvatarBaseSize;
3
6
  //# sourceMappingURL=AvatarNetwork.types.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarNetwork.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarNetwork/AvatarNetwork.types.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * AvatarNetwork component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n * Note: AvatarNetworkSize is not included here because it inherits from\n * AvatarBaseSize which will be migrated separately (DSYS-473).\n */\nexport type AvatarNetworkPropsShared = {\n /**\n * Optional name of the network.\n * Used as alt text for the image, and the first letter is used as fallback\n * text when no explicit fallbackText is provided.\n */\n name?: string;\n /**\n * Optional text to display when no image is provided or when the image\n * fails to load. If not provided, the first letter of name is used.\n */\n fallbackText?: string;\n};\n"]}
1
+ {"version":3,"file":"AvatarNetwork.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarNetwork/AvatarNetwork.types.ts"],"names":[],"mappings":";;;AAAA,yEAAgE;AAEnD,QAAA,iBAAiB,GAAG,iCAAc,CAAC","sourcesContent":["import { AvatarBaseSize } from '../AvatarBase/AvatarBase.types';\n\nexport const AvatarNetworkSize = AvatarBaseSize;\nexport type AvatarNetworkSize = AvatarBaseSize;\n\n/**\n * AvatarNetwork component shared props (ADR-0003 + ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type AvatarNetworkPropsShared = {\n /**\n * Optional name of the network.\n * Used as alt text for the image, and the first letter is used as fallback\n * text when no explicit fallbackText is provided.\n */\n name?: string;\n /**\n * Optional text to display when no image is provided or when the image\n * fails to load. If not provided, the first letter of name is used.\n */\n fallbackText?: string;\n /**\n * Optional prop to control the size of the avatar network.\n *\n * @default AvatarNetworkSize.Md\n */\n size?: AvatarNetworkSize;\n};\n"]}