@protonradio/proton-ui 0.11.5 → 0.11.6

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 (498) hide show
  1. package/dist/_virtual/jsx-runtime.cjs.js +2 -0
  2. package/dist/_virtual/jsx-runtime.cjs.js.map +1 -0
  3. package/dist/_virtual/jsx-runtime.es.js +5 -0
  4. package/dist/_virtual/jsx-runtime.es.js.map +1 -0
  5. package/dist/_virtual/react-jsx-runtime.development.cjs.js +2 -0
  6. package/dist/_virtual/react-jsx-runtime.development.cjs.js.map +1 -0
  7. package/dist/_virtual/react-jsx-runtime.development.es.js +5 -0
  8. package/dist/_virtual/react-jsx-runtime.development.es.js.map +1 -0
  9. package/dist/_virtual/react-jsx-runtime.production.min.cjs.js +2 -0
  10. package/dist/_virtual/react-jsx-runtime.production.min.cjs.js.map +1 -0
  11. package/dist/_virtual/react-jsx-runtime.production.min.es.js +5 -0
  12. package/dist/_virtual/react-jsx-runtime.production.min.es.js.map +1 -0
  13. package/dist/assets/svg/icons.svg.cjs.js +2 -0
  14. package/dist/assets/svg/icons.svg.cjs.js.map +1 -0
  15. package/dist/assets/svg/icons.svg.es.js +5 -0
  16. package/dist/assets/svg/icons.svg.es.js.map +1 -0
  17. package/dist/components/ActionMenu/ActionMenu.cjs.js +2 -0
  18. package/dist/components/ActionMenu/ActionMenu.cjs.js.map +1 -0
  19. package/dist/components/ActionMenu/ActionMenu.es.js +262 -0
  20. package/dist/components/ActionMenu/ActionMenu.es.js.map +1 -0
  21. package/dist/components/Badge/Badge.cjs.js +2 -0
  22. package/dist/components/Badge/Badge.cjs.js.map +1 -0
  23. package/dist/components/Badge/Badge.es.js +25 -0
  24. package/dist/components/Badge/Badge.es.js.map +1 -0
  25. package/dist/components/Banner/Banner.cjs.js +2 -0
  26. package/dist/components/Banner/Banner.cjs.js.map +1 -0
  27. package/dist/components/Banner/Banner.es.js +131 -0
  28. package/dist/components/Banner/Banner.es.js.map +1 -0
  29. package/dist/components/Button/Button.cjs.js +2 -0
  30. package/dist/components/Button/Button.cjs.js.map +1 -0
  31. package/dist/components/Button/Button.es.js +99 -0
  32. package/dist/components/Button/Button.es.js.map +1 -0
  33. package/dist/components/ButtonGroup/ButtonGroup.cjs.js +2 -0
  34. package/dist/components/ButtonGroup/ButtonGroup.cjs.js.map +1 -0
  35. package/dist/components/ButtonGroup/ButtonGroup.es.js +51 -0
  36. package/dist/components/ButtonGroup/ButtonGroup.es.js.map +1 -0
  37. package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js +2 -0
  38. package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js.map +1 -0
  39. package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js +80 -0
  40. package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js.map +1 -0
  41. package/dist/components/DataTable/DataTable.cjs.js +2 -0
  42. package/dist/components/DataTable/DataTable.cjs.js.map +1 -0
  43. package/dist/components/DataTable/DataTable.es.js +137 -0
  44. package/dist/components/DataTable/DataTable.es.js.map +1 -0
  45. package/dist/components/Dialog/Dialog.cjs.js +2 -0
  46. package/dist/components/Dialog/Dialog.cjs.js.map +1 -0
  47. package/dist/components/Dialog/Dialog.es.js +15 -0
  48. package/dist/components/Dialog/Dialog.es.js.map +1 -0
  49. package/dist/components/Elevation/Elevation.cjs.js +2 -0
  50. package/dist/components/Elevation/Elevation.cjs.js.map +1 -0
  51. package/dist/components/Elevation/Elevation.es.js +33 -0
  52. package/dist/components/Elevation/Elevation.es.js.map +1 -0
  53. package/dist/components/Icon/Icon.cjs.js +2 -0
  54. package/dist/components/Icon/Icon.cjs.js.map +1 -0
  55. package/dist/components/Icon/Icon.es.js +42 -0
  56. package/dist/components/Icon/Icon.es.js.map +1 -0
  57. package/dist/components/ImageBackground/ImageBackground.cjs.js +2 -0
  58. package/dist/components/ImageBackground/ImageBackground.cjs.js.map +1 -0
  59. package/dist/components/ImageBackground/ImageBackground.es.js +55 -0
  60. package/dist/components/ImageBackground/ImageBackground.es.js.map +1 -0
  61. package/dist/components/Input/BaseInput/Input.cjs.js +2 -0
  62. package/dist/components/Input/BaseInput/Input.cjs.js.map +1 -0
  63. package/dist/components/Input/BaseInput/Input.es.js +182 -0
  64. package/dist/components/Input/BaseInput/Input.es.js.map +1 -0
  65. package/dist/components/Input/CopyInput/CopyInput.cjs.js +2 -0
  66. package/dist/components/Input/CopyInput/CopyInput.cjs.js.map +1 -0
  67. package/dist/components/Input/CopyInput/CopyInput.es.js +83 -0
  68. package/dist/components/Input/CopyInput/CopyInput.es.js.map +1 -0
  69. package/dist/components/Input/SearchInput/SearchInput.cjs.js +2 -0
  70. package/dist/components/Input/SearchInput/SearchInput.cjs.js.map +1 -0
  71. package/dist/components/Input/SearchInput/SearchInput.es.js +118 -0
  72. package/dist/components/Input/SearchInput/SearchInput.es.js.map +1 -0
  73. package/dist/components/Menu/MenuTrigger.cjs.js +2 -0
  74. package/dist/components/Menu/MenuTrigger.cjs.js.map +1 -0
  75. package/dist/components/Menu/MenuTrigger.es.js +89 -0
  76. package/dist/components/Menu/MenuTrigger.es.js.map +1 -0
  77. package/dist/components/Menu/PopoverMenu.cjs.js +2 -0
  78. package/dist/components/Menu/PopoverMenu.cjs.js.map +1 -0
  79. package/dist/components/Menu/PopoverMenu.es.js +122 -0
  80. package/dist/components/Menu/PopoverMenu.es.js.map +1 -0
  81. package/dist/components/Modal/Modal.cjs.js +2 -0
  82. package/dist/components/Modal/Modal.cjs.js.map +1 -0
  83. package/dist/components/Modal/Modal.es.js +122 -0
  84. package/dist/components/Modal/Modal.es.js.map +1 -0
  85. package/dist/components/Popover/Popover.cjs.js +2 -0
  86. package/dist/components/Popover/Popover.cjs.js.map +1 -0
  87. package/dist/components/Popover/Popover.es.js +53 -0
  88. package/dist/components/Popover/Popover.es.js.map +1 -0
  89. package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js +2 -0
  90. package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js.map +1 -0
  91. package/dist/components/ScreenOverlay/ScreenOverlay.es.js +44 -0
  92. package/dist/components/ScreenOverlay/ScreenOverlay.es.js.map +1 -0
  93. package/dist/components/Select/Select.cjs.js +2 -0
  94. package/dist/components/Select/Select.cjs.js.map +1 -0
  95. package/dist/components/Select/Select.es.js +224 -0
  96. package/dist/components/Select/Select.es.js.map +1 -0
  97. package/dist/components/Switch/Switch.cjs.js +2 -0
  98. package/dist/components/Switch/Switch.cjs.js.map +1 -0
  99. package/dist/components/Switch/Switch.es.js +40 -0
  100. package/dist/components/Switch/Switch.es.js.map +1 -0
  101. package/dist/components/Table/Collection/CompoundComponents.cjs.js +2 -0
  102. package/dist/components/Table/Collection/CompoundComponents.cjs.js.map +1 -0
  103. package/dist/components/Table/Collection/CompoundComponents.es.js +9 -0
  104. package/dist/components/Table/Collection/CompoundComponents.es.js.map +1 -0
  105. package/dist/components/Table/Collection/collectionParser.cjs.js +2 -0
  106. package/dist/components/Table/Collection/collectionParser.cjs.js.map +1 -0
  107. package/dist/components/Table/Collection/collectionParser.es.js +54 -0
  108. package/dist/components/Table/Collection/collectionParser.es.js.map +1 -0
  109. package/dist/components/Table/Collection/useTableCollection.cjs.js +2 -0
  110. package/dist/components/Table/Collection/useTableCollection.cjs.js.map +1 -0
  111. package/dist/components/Table/Collection/useTableCollection.es.js +59 -0
  112. package/dist/components/Table/Collection/useTableCollection.es.js.map +1 -0
  113. package/dist/components/Table/Table.cjs.js +2 -0
  114. package/dist/components/Table/Table.cjs.js.map +1 -0
  115. package/dist/components/Table/Table.es.js +89 -0
  116. package/dist/components/Table/Table.es.js.map +1 -0
  117. package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js +2 -0
  118. package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js.map +1 -0
  119. package/dist/components/Text/TextEllipsis/TextEllipsis.es.js +30 -0
  120. package/dist/components/Text/TextEllipsis/TextEllipsis.es.js.map +1 -0
  121. package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js +2 -0
  122. package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js.map +1 -0
  123. package/dist/components/Text/TextEmphasis/TextEmphasis.es.js +54 -0
  124. package/dist/components/Text/TextEmphasis/TextEmphasis.es.js.map +1 -0
  125. package/dist/components/ThemeProvider.cjs.js +2 -0
  126. package/dist/components/ThemeProvider.cjs.js.map +1 -0
  127. package/dist/components/ThemeProvider.es.js +43 -0
  128. package/dist/components/ThemeProvider.es.js.map +1 -0
  129. package/dist/components/Tombstone/Tombstone.cjs.js +2 -0
  130. package/dist/components/Tombstone/Tombstone.cjs.js.map +1 -0
  131. package/dist/components/Tombstone/Tombstone.es.js +35 -0
  132. package/dist/components/Tombstone/Tombstone.es.js.map +1 -0
  133. package/dist/components/Tooltip/Tooltip.cjs.js +2 -0
  134. package/dist/components/Tooltip/Tooltip.cjs.js.map +1 -0
  135. package/dist/components/Tooltip/Tooltip.es.js +78 -0
  136. package/dist/components/Tooltip/Tooltip.es.js.map +1 -0
  137. package/dist/components/Waveform/Waveform.cjs.js +2 -0
  138. package/dist/components/Waveform/Waveform.cjs.js.map +1 -0
  139. package/dist/components/Waveform/Waveform.es.js +163 -0
  140. package/dist/components/Waveform/Waveform.es.js.map +1 -0
  141. package/dist/components/Waveform/WaveformBar.cjs.js +2 -0
  142. package/dist/components/Waveform/WaveformBar.cjs.js.map +1 -0
  143. package/dist/components/Waveform/WaveformBar.es.js +74 -0
  144. package/dist/components/Waveform/WaveformBar.es.js.map +1 -0
  145. package/dist/constants/breakpoint.cjs.js +2 -0
  146. package/dist/constants/breakpoint.cjs.js.map +1 -0
  147. package/dist/{breakpoint-9y1_8U_b.mjs → constants/breakpoint.es.js} +2 -2
  148. package/dist/constants/breakpoint.es.js.map +1 -0
  149. package/dist/constants/placement.cjs.js +2 -0
  150. package/dist/constants/placement.cjs.js.map +1 -0
  151. package/dist/constants/placement.es.js +28 -0
  152. package/dist/constants/placement.es.js.map +1 -0
  153. package/dist/constants.cjs.js +1 -1
  154. package/dist/constants.cjs.js.map +1 -1
  155. package/dist/constants.es.js +3 -26
  156. package/dist/constants.es.js.map +1 -1
  157. package/dist/design/colors.cjs.js +2 -0
  158. package/dist/design/colors.cjs.js.map +1 -0
  159. package/dist/{colors-CWaj9dFz.mjs → design/colors.es.js} +7 -7
  160. package/dist/design/colors.es.js.map +1 -0
  161. package/dist/design/darkTheme/colors.cjs.js +2 -0
  162. package/dist/{colors-Ceyo4oCJ.mjs.map → design/darkTheme/colors.cjs.js.map} +1 -1
  163. package/dist/{colors-Ceyo4oCJ.mjs → design/darkTheme/colors.es.js} +13 -13
  164. package/dist/{colors-CebzFjpe.js.map → design/darkTheme/colors.es.js.map} +1 -1
  165. package/dist/design/darkTheme/stylesheet.cjs.js +2 -0
  166. package/dist/design/darkTheme/stylesheet.cjs.js.map +1 -0
  167. package/dist/design/darkTheme/stylesheet.es.js +52 -0
  168. package/dist/design/darkTheme/stylesheet.es.js.map +1 -0
  169. package/dist/design/generateStylesheet.cjs.js +2 -0
  170. package/dist/design/generateStylesheet.cjs.js.map +1 -0
  171. package/dist/design/generateStylesheet.es.js +26 -0
  172. package/dist/design/generateStylesheet.es.js.map +1 -0
  173. package/dist/design/lightTheme/colors.cjs.js +2 -0
  174. package/dist/{colors-DMkDnu4U.mjs.map → design/lightTheme/colors.cjs.js.map} +1 -1
  175. package/dist/{colors-DMkDnu4U.mjs → design/lightTheme/colors.es.js} +11 -11
  176. package/dist/{colors-DL1dYffC.js.map → design/lightTheme/colors.es.js.map} +1 -1
  177. package/dist/design/lightTheme/stylesheet.cjs.js +2 -0
  178. package/dist/design/lightTheme/stylesheet.cjs.js.map +1 -0
  179. package/dist/design/lightTheme/stylesheet.es.js +52 -0
  180. package/dist/design/lightTheme/stylesheet.es.js.map +1 -0
  181. package/dist/design/theme.cjs.js +2 -0
  182. package/dist/design/theme.cjs.js.map +1 -0
  183. package/dist/design/theme.es.js +12 -0
  184. package/dist/design/theme.es.js.map +1 -0
  185. package/dist/hooks/useBreakpoint.cjs.js +2 -0
  186. package/dist/hooks/useBreakpoint.cjs.js.map +1 -0
  187. package/dist/hooks/useBreakpoint.es.js +17 -0
  188. package/dist/hooks/useBreakpoint.es.js.map +1 -0
  189. package/dist/hooks/useIsClosing.cjs.js +2 -0
  190. package/dist/hooks/useIsClosing.cjs.js.map +1 -0
  191. package/dist/hooks/useIsClosing.es.js +30 -0
  192. package/dist/hooks/useIsClosing.es.js.map +1 -0
  193. package/dist/hooks/useLockBodyScroll.cjs.js +2 -0
  194. package/dist/hooks/useLockBodyScroll.cjs.js.map +1 -0
  195. package/dist/hooks/useLockBodyScroll.es.js +14 -0
  196. package/dist/hooks/useLockBodyScroll.es.js.map +1 -0
  197. package/dist/hooks/usePalette.cjs.js +2 -0
  198. package/dist/hooks/usePalette.cjs.js.map +1 -0
  199. package/dist/hooks/usePalette.es.js +37 -0
  200. package/dist/hooks/usePalette.es.js.map +1 -0
  201. package/dist/hooks.cjs.js +1 -1
  202. package/dist/hooks.cjs.js.map +1 -1
  203. package/dist/hooks.es.js +8 -37
  204. package/dist/hooks.es.js.map +1 -1
  205. package/dist/index.cjs.js +1 -17
  206. package/dist/index.cjs.js.map +1 -1
  207. package/dist/index.d.ts +67 -105
  208. package/dist/index.es.js +60 -8700
  209. package/dist/index.es.js.map +1 -1
  210. package/dist/node_modules/@react-aria/button/dist/useButton.cjs.js +2 -0
  211. package/dist/node_modules/@react-aria/button/dist/useButton.cjs.js.map +1 -0
  212. package/dist/node_modules/@react-aria/button/dist/useButton.es.js +47 -0
  213. package/dist/node_modules/@react-aria/button/dist/useButton.es.js.map +1 -0
  214. package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js +2 -0
  215. package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js.map +1 -0
  216. package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js +44 -0
  217. package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js.map +1 -0
  218. package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js +2 -0
  219. package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js.map +1 -0
  220. package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js +423 -0
  221. package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js.map +1 -0
  222. package/dist/node_modules/@react-aria/focus/dist/isElementVisible.cjs.js +2 -0
  223. package/dist/node_modules/@react-aria/focus/dist/isElementVisible.cjs.js.map +1 -0
  224. package/dist/node_modules/@react-aria/focus/dist/isElementVisible.es.js +23 -0
  225. package/dist/node_modules/@react-aria/focus/dist/isElementVisible.es.js.map +1 -0
  226. package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js +2 -0
  227. package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js.map +1 -0
  228. package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js +76 -0
  229. package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js.map +1 -0
  230. package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js +2 -0
  231. package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js.map +1 -0
  232. package/dist/node_modules/@react-aria/i18n/dist/context.es.js +11 -0
  233. package/dist/node_modules/@react-aria/i18n/dist/context.es.js.map +1 -0
  234. package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js +2 -0
  235. package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js.map +1 -0
  236. package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js +30 -0
  237. package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js.map +1 -0
  238. package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js +2 -0
  239. package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js.map +1 -0
  240. package/dist/node_modules/@react-aria/i18n/dist/utils.es.js +45 -0
  241. package/dist/node_modules/@react-aria/i18n/dist/utils.es.js.map +1 -0
  242. package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js +2 -0
  243. package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js.map +1 -0
  244. package/dist/node_modules/@react-aria/interactions/dist/context.es.js +10 -0
  245. package/dist/node_modules/@react-aria/interactions/dist/context.es.js.map +1 -0
  246. package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js +2 -0
  247. package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js.map +1 -0
  248. package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js +29 -0
  249. package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js.map +1 -0
  250. package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js +2 -0
  251. package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js.map +1 -0
  252. package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js +15 -0
  253. package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js.map +1 -0
  254. package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js +2 -0
  255. package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js.map +1 -0
  256. package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js +35 -0
  257. package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js.map +1 -0
  258. package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js +2 -0
  259. package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js.map +1 -0
  260. package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js +30 -0
  261. package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js.map +1 -0
  262. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js +2 -0
  263. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js.map +1 -0
  264. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js +63 -0
  265. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js.map +1 -0
  266. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js +2 -0
  267. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js.map +1 -0
  268. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js +56 -0
  269. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js.map +1 -0
  270. package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js +2 -0
  271. package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js.map +1 -0
  272. package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js +42 -0
  273. package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js.map +1 -0
  274. package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.cjs.js +2 -0
  275. package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.cjs.js.map +1 -0
  276. package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.es.js +51 -0
  277. package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.es.js.map +1 -0
  278. package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js +2 -0
  279. package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js.map +1 -0
  280. package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js +13 -0
  281. package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js.map +1 -0
  282. package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js +2 -0
  283. package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js.map +1 -0
  284. package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js +375 -0
  285. package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js.map +1 -0
  286. package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js +2 -0
  287. package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js.map +1 -0
  288. package/dist/node_modules/@react-aria/interactions/dist/utils.es.js +92 -0
  289. package/dist/node_modules/@react-aria/interactions/dist/utils.es.js.map +1 -0
  290. package/dist/node_modules/@react-aria/label/dist/useField.cjs.js +2 -0
  291. package/dist/node_modules/@react-aria/label/dist/useField.cjs.js.map +1 -0
  292. package/dist/node_modules/@react-aria/label/dist/useField.es.js +36 -0
  293. package/dist/node_modules/@react-aria/label/dist/useField.es.js.map +1 -0
  294. package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js +2 -0
  295. package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js.map +1 -0
  296. package/dist/node_modules/@react-aria/label/dist/useLabel.es.js +23 -0
  297. package/dist/node_modules/@react-aria/label/dist/useLabel.es.js.map +1 -0
  298. package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js +2 -0
  299. package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js.map +1 -0
  300. package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js +16 -0
  301. package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js.map +1 -0
  302. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js +2 -0
  303. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js.map +1 -0
  304. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js +64 -0
  305. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js.map +1 -0
  306. package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.cjs.js +2 -0
  307. package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.cjs.js.map +1 -0
  308. package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.es.js +30 -0
  309. package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.es.js.map +1 -0
  310. package/dist/node_modules/@react-aria/overlays/dist/useOverlay.cjs.js +2 -0
  311. package/dist/node_modules/@react-aria/overlays/dist/useOverlay.cjs.js.map +1 -0
  312. package/dist/node_modules/@react-aria/overlays/dist/useOverlay.es.js +53 -0
  313. package/dist/node_modules/@react-aria/overlays/dist/useOverlay.es.js.map +1 -0
  314. package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs.js +2 -0
  315. package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs.js.map +1 -0
  316. package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.es.js +98 -0
  317. package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.es.js.map +1 -0
  318. package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js +2 -0
  319. package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js.map +1 -0
  320. package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js +58 -0
  321. package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js.map +1 -0
  322. package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js +2 -0
  323. package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js.map +1 -0
  324. package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js +78 -0
  325. package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js.map +1 -0
  326. package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js +2 -0
  327. package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js.map +1 -0
  328. package/dist/node_modules/@react-aria/radio/dist/utils.es.js +5 -0
  329. package/dist/node_modules/@react-aria/radio/dist/utils.es.js.map +1 -0
  330. package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js +2 -0
  331. package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js.map +1 -0
  332. package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js +19 -0
  333. package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js.map +1 -0
  334. package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js +2 -0
  335. package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js.map +1 -0
  336. package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js +20 -0
  337. package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js.map +1 -0
  338. package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js +2 -0
  339. package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js.map +1 -0
  340. package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js +48 -0
  341. package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js.map +1 -0
  342. package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js +2 -0
  343. package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js.map +1 -0
  344. package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js +41 -0
  345. package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js.map +1 -0
  346. package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js +2 -0
  347. package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js.map +1 -0
  348. package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js +110 -0
  349. package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js.map +1 -0
  350. package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.cjs.js +2 -0
  351. package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.cjs.js.map +1 -0
  352. package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.es.js +30 -0
  353. package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.es.js.map +1 -0
  354. package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js +2 -0
  355. package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js.map +1 -0
  356. package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js +33 -0
  357. package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js.map +1 -0
  358. package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js +2 -0
  359. package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js.map +1 -0
  360. package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js +19 -0
  361. package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js.map +1 -0
  362. package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js +2 -0
  363. package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js.map +1 -0
  364. package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js +31 -0
  365. package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js.map +1 -0
  366. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js +2 -0
  367. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js.map +1 -0
  368. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js +9 -0
  369. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js.map +1 -0
  370. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js +2 -0
  371. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js.map +1 -0
  372. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js +8 -0
  373. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js.map +1 -0
  374. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js +2 -0
  375. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js.map +1 -0
  376. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js +13 -0
  377. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js.map +1 -0
  378. package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js +2 -0
  379. package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js.map +1 -0
  380. package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js +9 -0
  381. package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js.map +1 -0
  382. package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js +2 -0
  383. package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js.map +1 -0
  384. package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js +11 -0
  385. package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js.map +1 -0
  386. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js +2 -0
  387. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js.map +1 -0
  388. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js +9 -0
  389. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js.map +1 -0
  390. package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js +2 -0
  391. package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js.map +1 -0
  392. package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js +11 -0
  393. package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js.map +1 -0
  394. package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js +2 -0
  395. package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js.map +1 -0
  396. package/dist/node_modules/color2k/dist/index.exports.import.es.es.js +171 -0
  397. package/dist/node_modules/color2k/dist/index.exports.import.es.es.js.map +1 -0
  398. package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +23 -0
  399. package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js.map +1 -0
  400. package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +609 -0
  401. package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js.map +1 -0
  402. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +10 -0
  403. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js.map +1 -0
  404. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +29 -0
  405. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js.map +1 -0
  406. package/dist/node_modules/react/jsx-runtime.cjs.js +2 -0
  407. package/dist/node_modules/react/jsx-runtime.cjs.js.map +1 -0
  408. package/dist/node_modules/react/jsx-runtime.es.js +9 -0
  409. package/dist/node_modules/react/jsx-runtime.es.js.map +1 -0
  410. package/dist/node_modules/react-aria-components/dist/OverlayArrow.cjs.js +2 -0
  411. package/dist/node_modules/react-aria-components/dist/OverlayArrow.cjs.js.map +1 -0
  412. package/dist/node_modules/react-aria-components/dist/OverlayArrow.es.js +37 -0
  413. package/dist/node_modules/react-aria-components/dist/OverlayArrow.es.js.map +1 -0
  414. package/dist/node_modules/react-aria-components/dist/Tooltip.cjs.js +2 -0
  415. package/dist/node_modules/react-aria-components/dist/Tooltip.cjs.js.map +1 -0
  416. package/dist/node_modules/react-aria-components/dist/Tooltip.es.js +97 -0
  417. package/dist/node_modules/react-aria-components/dist/Tooltip.es.js.map +1 -0
  418. package/dist/node_modules/react-aria-components/dist/utils.cjs.js +2 -0
  419. package/dist/node_modules/react-aria-components/dist/utils.cjs.js.map +1 -0
  420. package/dist/node_modules/react-aria-components/dist/utils.es.js +89 -0
  421. package/dist/node_modules/react-aria-components/dist/utils.es.js.map +1 -0
  422. package/dist/style.css +1 -1
  423. package/dist/theme/dark.cjs.js +1 -1
  424. package/dist/theme/dark.cjs.js.map +1 -1
  425. package/dist/theme/dark.es.js +8 -55
  426. package/dist/theme/dark.es.js.map +1 -1
  427. package/dist/theme/light.cjs.js +1 -1
  428. package/dist/theme/light.cjs.js.map +1 -1
  429. package/dist/theme/light.es.js +8 -55
  430. package/dist/theme/light.es.js.map +1 -1
  431. package/dist/theme.cjs.js +1 -1
  432. package/dist/theme.cjs.js.map +1 -1
  433. package/dist/theme.es.js +9 -15
  434. package/dist/theme.es.js.map +1 -1
  435. package/dist/utils/color2k.cjs.js +2 -0
  436. package/dist/utils/color2k.cjs.js.map +1 -0
  437. package/dist/utils/color2k.es.js +14 -0
  438. package/dist/utils/color2k.es.js.map +1 -0
  439. package/dist/utils/copy.cjs.js +2 -0
  440. package/dist/utils/copy.cjs.js.map +1 -0
  441. package/dist/{copy-qSgElu2b.mjs → utils/copy.es.js} +2 -2
  442. package/dist/utils/copy.es.js.map +1 -0
  443. package/dist/utils/image.cjs.js +2 -0
  444. package/dist/utils/image.cjs.js.map +1 -0
  445. package/dist/utils/image.es.js +28 -0
  446. package/dist/utils/image.es.js.map +1 -0
  447. package/dist/utils/navigation.cjs.js +2 -0
  448. package/dist/utils/navigation.cjs.js.map +1 -0
  449. package/dist/utils/navigation.es.js +12 -0
  450. package/dist/utils/navigation.es.js.map +1 -0
  451. package/dist/utils/palette.cjs.js +2 -0
  452. package/dist/utils/palette.cjs.js.map +1 -0
  453. package/dist/utils/palette.es.js +183 -0
  454. package/dist/utils/palette.es.js.map +1 -0
  455. package/dist/utils/string.cjs.js +2 -0
  456. package/dist/utils/string.cjs.js.map +1 -0
  457. package/dist/utils/string.es.js +8 -0
  458. package/dist/utils/string.es.js.map +1 -0
  459. package/dist/utils.cjs.js +1 -1
  460. package/dist/utils.es.js +19 -16
  461. package/dist/utils.es.js.map +1 -1
  462. package/package.json +6 -10
  463. package/dist/Button-BLlr5ezy.js +0 -31
  464. package/dist/Button-BLlr5ezy.js.map +0 -1
  465. package/dist/Button-DuAhPJPD.mjs +0 -727
  466. package/dist/Button-DuAhPJPD.mjs.map +0 -1
  467. package/dist/Button.cjs.js +0 -2
  468. package/dist/Button.cjs.js.map +0 -1
  469. package/dist/Button.d.ts +0 -53
  470. package/dist/Button.es.js +0 -9
  471. package/dist/Button.es.js.map +0 -1
  472. package/dist/breakpoint-9y1_8U_b.mjs.map +0 -1
  473. package/dist/breakpoint-DtqbboOa.js +0 -2
  474. package/dist/breakpoint-DtqbboOa.js.map +0 -1
  475. package/dist/color2k-CpDB_dpw.mjs +0 -168
  476. package/dist/color2k-CpDB_dpw.mjs.map +0 -1
  477. package/dist/color2k-DCgwXUem.js +0 -2
  478. package/dist/color2k-DCgwXUem.js.map +0 -1
  479. package/dist/colors-CWaj9dFz.mjs.map +0 -1
  480. package/dist/colors-CebzFjpe.js +0 -2
  481. package/dist/colors-CmSJBHaf.js +0 -2
  482. package/dist/colors-CmSJBHaf.js.map +0 -1
  483. package/dist/colors-DL1dYffC.js +0 -2
  484. package/dist/copy-DxIZCnfT.js +0 -2
  485. package/dist/copy-DxIZCnfT.js.map +0 -1
  486. package/dist/copy-qSgElu2b.mjs.map +0 -1
  487. package/dist/image-CUSfY1_T.js +0 -2
  488. package/dist/image-CUSfY1_T.js.map +0 -1
  489. package/dist/image-DFyN0Kd9.mjs +0 -207
  490. package/dist/image-DFyN0Kd9.mjs.map +0 -1
  491. package/dist/navigation-DdxS0JoV.js +0 -2
  492. package/dist/navigation-DdxS0JoV.js.map +0 -1
  493. package/dist/navigation-DsfDNfej.mjs +0 -16
  494. package/dist/navigation-DsfDNfej.mjs.map +0 -1
  495. package/dist/useBreakpoint-CjRyGKN-.mjs +0 -53
  496. package/dist/useBreakpoint-CjRyGKN-.mjs.map +0 -1
  497. package/dist/useBreakpoint-DA-JqOu3.js +0 -2
  498. package/dist/useBreakpoint-DA-JqOu3.js.map +0 -1
@@ -1,727 +0,0 @@
1
- import je, { forwardRef as dr, useRef as vr, useLayoutEffect as pr } from "react";
2
- import { i as gr, c as xe, h as mr } from "./navigation-DsfDNfej.mjs";
3
- var te = { exports: {} }, L = {};
4
- /**
5
- * @license React
6
- * react-jsx-runtime.production.min.js
7
- *
8
- * Copyright (c) Facebook, Inc. and its affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var we;
14
- function yr() {
15
- if (we) return L;
16
- we = 1;
17
- var I = je, T = Symbol.for("react.element"), P = Symbol.for("react.fragment"), R = Object.prototype.hasOwnProperty, y = I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, O = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function b(_, s, S) {
19
- var d, f = {}, h = null, x = null;
20
- S !== void 0 && (h = "" + S), s.key !== void 0 && (h = "" + s.key), s.ref !== void 0 && (x = s.ref);
21
- for (d in s) R.call(s, d) && !O.hasOwnProperty(d) && (f[d] = s[d]);
22
- if (_ && _.defaultProps) for (d in s = _.defaultProps, s) f[d] === void 0 && (f[d] = s[d]);
23
- return { $$typeof: T, type: _, key: h, ref: x, props: f, _owner: y.current };
24
- }
25
- return L.Fragment = P, L.jsx = b, L.jsxs = b, L;
26
- }
27
- var N = {};
28
- /**
29
- * @license React
30
- * react-jsx-runtime.development.js
31
- *
32
- * Copyright (c) Facebook, Inc. and its affiliates.
33
- *
34
- * This source code is licensed under the MIT license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- */
37
- var Ce;
38
- function br() {
39
- return Ce || (Ce = 1, process.env.NODE_ENV !== "production" && function() {
40
- var I = je, T = Symbol.for("react.element"), P = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), _ = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), $ = Symbol.iterator, U = "@@iterator";
41
- function w(e) {
42
- if (e === null || typeof e != "object")
43
- return null;
44
- var r = $ && e[$] || e[U];
45
- return typeof r == "function" ? r : null;
46
- }
47
- var k = I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
- function v(e) {
49
- {
50
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
51
- t[n - 1] = arguments[n];
52
- Pe("error", e, t);
53
- }
54
- }
55
- function Pe(e, r, t) {
56
- {
57
- var n = k.ReactDebugCurrentFrame, i = n.getStackAddendum();
58
- i !== "" && (r += "%s", t = t.concat([i]));
59
- var u = t.map(function(o) {
60
- return String(o);
61
- });
62
- u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
63
- }
64
- }
65
- var ke = !1, Fe = !1, Ae = !1, De = !1, Ie = !1, ne;
66
- ne = Symbol.for("react.module.reference");
67
- function $e(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === R || e === O || Ie || e === y || e === S || e === d || De || e === x || ke || Fe || Ae || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === f || e.$$typeof === b || e.$$typeof === _ || e.$$typeof === s || // This needs to include all possible module reference object
69
- // types supported by any Flight configuration anywhere since
70
- // we don't know which Flight build this will end up being used
71
- // with.
72
- e.$$typeof === ne || e.getModuleId !== void 0));
73
- }
74
- function We(e, r, t) {
75
- var n = e.displayName;
76
- if (n)
77
- return n;
78
- var i = r.displayName || r.name || "";
79
- return i !== "" ? t + "(" + i + ")" : t;
80
- }
81
- function ae(e) {
82
- return e.displayName || "Context";
83
- }
84
- function E(e) {
85
- if (e == null)
86
- return null;
87
- if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
88
- return e.displayName || e.name || null;
89
- if (typeof e == "string")
90
- return e;
91
- switch (e) {
92
- case R:
93
- return "Fragment";
94
- case P:
95
- return "Portal";
96
- case O:
97
- return "Profiler";
98
- case y:
99
- return "StrictMode";
100
- case S:
101
- return "Suspense";
102
- case d:
103
- return "SuspenseList";
104
- }
105
- if (typeof e == "object")
106
- switch (e.$$typeof) {
107
- case _:
108
- var r = e;
109
- return ae(r) + ".Consumer";
110
- case b:
111
- var t = e;
112
- return ae(t._context) + ".Provider";
113
- case s:
114
- return We(e, e.render, "ForwardRef");
115
- case f:
116
- var n = e.displayName || null;
117
- return n !== null ? n : E(e.type) || "Memo";
118
- case h: {
119
- var i = e, u = i._payload, o = i._init;
120
- try {
121
- return E(o(u));
122
- } catch {
123
- return null;
124
- }
125
- }
126
- }
127
- return null;
128
- }
129
- var C = Object.assign, W = 0, oe, ie, ue, se, le, ce, fe;
130
- function de() {
131
- }
132
- de.__reactDisabledLog = !0;
133
- function Ye() {
134
- {
135
- if (W === 0) {
136
- oe = console.log, ie = console.info, ue = console.warn, se = console.error, le = console.group, ce = console.groupCollapsed, fe = console.groupEnd;
137
- var e = {
138
- configurable: !0,
139
- enumerable: !0,
140
- value: de,
141
- writable: !0
142
- };
143
- Object.defineProperties(console, {
144
- info: e,
145
- log: e,
146
- warn: e,
147
- error: e,
148
- group: e,
149
- groupCollapsed: e,
150
- groupEnd: e
151
- });
152
- }
153
- W++;
154
- }
155
- }
156
- function Be() {
157
- {
158
- if (W--, W === 0) {
159
- var e = {
160
- configurable: !0,
161
- enumerable: !0,
162
- writable: !0
163
- };
164
- Object.defineProperties(console, {
165
- log: C({}, e, {
166
- value: oe
167
- }),
168
- info: C({}, e, {
169
- value: ie
170
- }),
171
- warn: C({}, e, {
172
- value: ue
173
- }),
174
- error: C({}, e, {
175
- value: se
176
- }),
177
- group: C({}, e, {
178
- value: le
179
- }),
180
- groupCollapsed: C({}, e, {
181
- value: ce
182
- }),
183
- groupEnd: C({}, e, {
184
- value: fe
185
- })
186
- });
187
- }
188
- W < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
- }
190
- }
191
- var q = k.ReactCurrentDispatcher, G;
192
- function V(e, r, t) {
193
- {
194
- if (G === void 0)
195
- try {
196
- throw Error();
197
- } catch (i) {
198
- var n = i.stack.trim().match(/\n( *(at )?)/);
199
- G = n && n[1] || "";
200
- }
201
- return `
202
- ` + G + e;
203
- }
204
- }
205
- var z = !1, M;
206
- {
207
- var Le = typeof WeakMap == "function" ? WeakMap : Map;
208
- M = new Le();
209
- }
210
- function ve(e, r) {
211
- if (!e || z)
212
- return "";
213
- {
214
- var t = M.get(e);
215
- if (t !== void 0)
216
- return t;
217
- }
218
- var n;
219
- z = !0;
220
- var i = Error.prepareStackTrace;
221
- Error.prepareStackTrace = void 0;
222
- var u;
223
- u = q.current, q.current = null, Ye();
224
- try {
225
- if (r) {
226
- var o = function() {
227
- throw Error();
228
- };
229
- if (Object.defineProperty(o.prototype, "props", {
230
- set: function() {
231
- throw Error();
232
- }
233
- }), typeof Reflect == "object" && Reflect.construct) {
234
- try {
235
- Reflect.construct(o, []);
236
- } catch (g) {
237
- n = g;
238
- }
239
- Reflect.construct(e, [], o);
240
- } else {
241
- try {
242
- o.call();
243
- } catch (g) {
244
- n = g;
245
- }
246
- e.call(o.prototype);
247
- }
248
- } else {
249
- try {
250
- throw Error();
251
- } catch (g) {
252
- n = g;
253
- }
254
- e();
255
- }
256
- } catch (g) {
257
- if (g && n && typeof g.stack == "string") {
258
- for (var a = g.stack.split(`
259
- `), p = n.stack.split(`
260
- `), l = a.length - 1, c = p.length - 1; l >= 1 && c >= 0 && a[l] !== p[c]; )
261
- c--;
262
- for (; l >= 1 && c >= 0; l--, c--)
263
- if (a[l] !== p[c]) {
264
- if (l !== 1 || c !== 1)
265
- do
266
- if (l--, c--, c < 0 || a[l] !== p[c]) {
267
- var m = `
268
- ` + a[l].replace(" at new ", " at ");
269
- return e.displayName && m.includes("<anonymous>") && (m = m.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, m), m;
270
- }
271
- while (l >= 1 && c >= 0);
272
- break;
273
- }
274
- }
275
- } finally {
276
- z = !1, q.current = u, Be(), Error.prepareStackTrace = i;
277
- }
278
- var A = e ? e.displayName || e.name : "", j = A ? V(A) : "";
279
- return typeof e == "function" && M.set(e, j), j;
280
- }
281
- function Ne(e, r, t) {
282
- return ve(e, !1);
283
- }
284
- function Ue(e) {
285
- var r = e.prototype;
286
- return !!(r && r.isReactComponent);
287
- }
288
- function J(e, r, t) {
289
- if (e == null)
290
- return "";
291
- if (typeof e == "function")
292
- return ve(e, Ue(e));
293
- if (typeof e == "string")
294
- return V(e);
295
- switch (e) {
296
- case S:
297
- return V("Suspense");
298
- case d:
299
- return V("SuspenseList");
300
- }
301
- if (typeof e == "object")
302
- switch (e.$$typeof) {
303
- case s:
304
- return Ne(e.render);
305
- case f:
306
- return J(e.type);
307
- case h: {
308
- var n = e, i = n._payload, u = n._init;
309
- try {
310
- return J(u(i));
311
- } catch {
312
- }
313
- }
314
- }
315
- return "";
316
- }
317
- var Y = Object.prototype.hasOwnProperty, pe = {}, ge = k.ReactDebugCurrentFrame;
318
- function K(e) {
319
- if (e) {
320
- var r = J(e.type);
321
- ge.setExtraStackFrame(r);
322
- } else
323
- ge.setExtraStackFrame(null);
324
- }
325
- function Ve(e, r, t, n, i) {
326
- {
327
- var u = Function.call.bind(Y);
328
- for (var o in e)
329
- if (u(e, o)) {
330
- var a = void 0;
331
- try {
332
- if (typeof e[o] != "function") {
333
- var p = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw p.name = "Invariant Violation", p;
335
- }
336
- a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (l) {
338
- a = l;
339
- }
340
- a && !(a instanceof Error) && (K(i), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), K(null)), a instanceof Error && !(a.message in pe) && (pe[a.message] = !0, K(i), v("Failed %s type: %s", t, a.message), K(null));
341
- }
342
- }
343
- }
344
- var Me = Array.isArray;
345
- function X(e) {
346
- return Me(e);
347
- }
348
- function Je(e) {
349
- {
350
- var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
- return t;
352
- }
353
- }
354
- function Ke(e) {
355
- try {
356
- return !1;
357
- } catch {
358
- return !0;
359
- }
360
- }
361
- function qe(e) {
362
- return "" + e;
363
- }
364
- function me(e) {
365
- if (Ke())
366
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), qe(e);
367
- }
368
- var B = k.ReactCurrentOwner, Ge = {
369
- key: !0,
370
- ref: !0,
371
- __self: !0,
372
- __source: !0
373
- }, ye, be, H;
374
- H = {};
375
- function ze(e) {
376
- if (Y.call(e, "ref")) {
377
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
378
- if (r && r.isReactWarning)
379
- return !1;
380
- }
381
- return e.ref !== void 0;
382
- }
383
- function Xe(e) {
384
- if (Y.call(e, "key")) {
385
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
386
- if (r && r.isReactWarning)
387
- return !1;
388
- }
389
- return e.key !== void 0;
390
- }
391
- function He(e, r) {
392
- if (typeof e.ref == "string" && B.current && r && B.current.stateNode !== r) {
393
- var t = E(B.current.type);
394
- H[t] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', E(B.current.type), e.ref), H[t] = !0);
395
- }
396
- }
397
- function Ze(e, r) {
398
- {
399
- var t = function() {
400
- ye || (ye = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
401
- };
402
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
403
- get: t,
404
- configurable: !0
405
- });
406
- }
407
- }
408
- function Qe(e, r) {
409
- {
410
- var t = function() {
411
- be || (be = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
412
- };
413
- t.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
- get: t,
415
- configurable: !0
416
- });
417
- }
418
- }
419
- var er = function(e, r, t, n, i, u, o) {
420
- var a = {
421
- // This tag allows us to uniquely identify this as a React Element
422
- $$typeof: T,
423
- // Built-in properties that belong on the element
424
- type: e,
425
- key: r,
426
- ref: t,
427
- props: o,
428
- // Record the component responsible for creating this element.
429
- _owner: u
430
- };
431
- return a._store = {}, Object.defineProperty(a._store, "validated", {
432
- configurable: !1,
433
- enumerable: !1,
434
- writable: !0,
435
- value: !1
436
- }), Object.defineProperty(a, "_self", {
437
- configurable: !1,
438
- enumerable: !1,
439
- writable: !1,
440
- value: n
441
- }), Object.defineProperty(a, "_source", {
442
- configurable: !1,
443
- enumerable: !1,
444
- writable: !1,
445
- value: i
446
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
447
- };
448
- function rr(e, r, t, n, i) {
449
- {
450
- var u, o = {}, a = null, p = null;
451
- t !== void 0 && (me(t), a = "" + t), Xe(r) && (me(r.key), a = "" + r.key), ze(r) && (p = r.ref, He(r, i));
452
- for (u in r)
453
- Y.call(r, u) && !Ge.hasOwnProperty(u) && (o[u] = r[u]);
454
- if (e && e.defaultProps) {
455
- var l = e.defaultProps;
456
- for (u in l)
457
- o[u] === void 0 && (o[u] = l[u]);
458
- }
459
- if (a || p) {
460
- var c = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
- a && Ze(o, c), p && Qe(o, c);
462
- }
463
- return er(e, a, p, i, n, B.current, o);
464
- }
465
- }
466
- var Z = k.ReactCurrentOwner, he = k.ReactDebugCurrentFrame;
467
- function F(e) {
468
- if (e) {
469
- var r = J(e.type);
470
- he.setExtraStackFrame(r);
471
- } else
472
- he.setExtraStackFrame(null);
473
- }
474
- var Q;
475
- Q = !1;
476
- function ee(e) {
477
- return typeof e == "object" && e !== null && e.$$typeof === T;
478
- }
479
- function Ee() {
480
- {
481
- if (Z.current) {
482
- var e = E(Z.current.type);
483
- if (e)
484
- return `
485
-
486
- Check the render method of \`` + e + "`.";
487
- }
488
- return "";
489
- }
490
- }
491
- function tr(e) {
492
- return "";
493
- }
494
- var Re = {};
495
- function nr(e) {
496
- {
497
- var r = Ee();
498
- if (!r) {
499
- var t = typeof e == "string" ? e : e.displayName || e.name;
500
- t && (r = `
501
-
502
- Check the top-level render call using <` + t + ">.");
503
- }
504
- return r;
505
- }
506
- }
507
- function _e(e, r) {
508
- {
509
- if (!e._store || e._store.validated || e.key != null)
510
- return;
511
- e._store.validated = !0;
512
- var t = nr(r);
513
- if (Re[t])
514
- return;
515
- Re[t] = !0;
516
- var n = "";
517
- e && e._owner && e._owner !== Z.current && (n = " It was passed a child from " + E(e._owner.type) + "."), F(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), F(null);
518
- }
519
- }
520
- function Te(e, r) {
521
- {
522
- if (typeof e != "object")
523
- return;
524
- if (X(e))
525
- for (var t = 0; t < e.length; t++) {
526
- var n = e[t];
527
- ee(n) && _e(n, r);
528
- }
529
- else if (ee(e))
530
- e._store && (e._store.validated = !0);
531
- else if (e) {
532
- var i = w(e);
533
- if (typeof i == "function" && i !== e.entries)
534
- for (var u = i.call(e), o; !(o = u.next()).done; )
535
- ee(o.value) && _e(o.value, r);
536
- }
537
- }
538
- }
539
- function ar(e) {
540
- {
541
- var r = e.type;
542
- if (r == null || typeof r == "string")
543
- return;
544
- var t;
545
- if (typeof r == "function")
546
- t = r.propTypes;
547
- else if (typeof r == "object" && (r.$$typeof === s || // Note: Memo only checks outer props here.
548
- // Inner props are checked in the reconciler.
549
- r.$$typeof === f))
550
- t = r.propTypes;
551
- else
552
- return;
553
- if (t) {
554
- var n = E(r);
555
- Ve(t, e.props, "prop", n, e);
556
- } else if (r.PropTypes !== void 0 && !Q) {
557
- Q = !0;
558
- var i = E(r);
559
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
560
- }
561
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
- }
563
- }
564
- function or(e) {
565
- {
566
- for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
567
- var n = r[t];
568
- if (n !== "children" && n !== "key") {
569
- F(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), F(null);
570
- break;
571
- }
572
- }
573
- e.ref !== null && (F(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
574
- }
575
- }
576
- var Oe = {};
577
- function Se(e, r, t, n, i, u) {
578
- {
579
- var o = $e(e);
580
- if (!o) {
581
- var a = "";
582
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
- var p = tr();
584
- p ? a += p : a += Ee();
585
- var l;
586
- e === null ? l = "null" : X(e) ? l = "array" : e !== void 0 && e.$$typeof === T ? (l = "<" + (E(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : l = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", l, a);
587
- }
588
- var c = rr(e, r, t, i, u);
589
- if (c == null)
590
- return c;
591
- if (o) {
592
- var m = r.children;
593
- if (m !== void 0)
594
- if (n)
595
- if (X(m)) {
596
- for (var A = 0; A < m.length; A++)
597
- Te(m[A], e);
598
- Object.freeze && Object.freeze(m);
599
- } else
600
- v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
601
- else
602
- Te(m, e);
603
- }
604
- if (Y.call(r, "key")) {
605
- var j = E(e), g = Object.keys(r).filter(function(fr) {
606
- return fr !== "key";
607
- }), re = g.length > 0 ? "{key: someKey, " + g.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!Oe[j + re]) {
609
- var cr = g.length > 0 ? "{" + g.join(": ..., ") + ": ...}" : "{}";
610
- v(`A props object containing a "key" prop is being spread into JSX:
611
- let props = %s;
612
- <%s {...props} />
613
- React keys must be passed directly to JSX without using spread:
614
- let props = %s;
615
- <%s key={someKey} {...props} />`, re, j, cr, j), Oe[j + re] = !0;
616
- }
617
- }
618
- return e === R ? or(c) : ar(c), c;
619
- }
620
- }
621
- function ir(e, r, t) {
622
- return Se(e, r, t, !0);
623
- }
624
- function ur(e, r, t) {
625
- return Se(e, r, t, !1);
626
- }
627
- var sr = ur, lr = ir;
628
- N.Fragment = R, N.jsx = sr, N.jsxs = lr;
629
- }()), N;
630
- }
631
- process.env.NODE_ENV === "production" ? te.exports = yr() : te.exports = br();
632
- var D = te.exports;
633
- const _r = {
634
- primary: "primary",
635
- secondary: "secondary",
636
- success: "success",
637
- danger: "danger",
638
- translucent: "translucent"
639
- }, Tr = {
640
- small: "small",
641
- medium: "medium",
642
- large: "large",
643
- xlarge: "xlarge",
644
- "2xlarge": "2xlarge"
645
- }, hr = dr(
646
- ({
647
- variant: I = "primary",
648
- size: T = "medium",
649
- fullWidth: P = !1,
650
- icon: R,
651
- to: y,
652
- target: O,
653
- onPress: b,
654
- type: _ = "button",
655
- isDisabled: s,
656
- "data-testid": S,
657
- children: d
658
- }, f) => {
659
- const h = y && gr(y), x = vr(null);
660
- pr(() => {
661
- typeof f == "function" ? f(x.current) : f && (f.current = x.current);
662
- }, [f]);
663
- const $ = {
664
- className: xe(
665
- "proton-Button",
666
- `proton-Button--${I}`,
667
- P && "proton-Button--fullWidth",
668
- s && "proton-Button--disabled",
669
- T && `proton-Button--${T}`
670
- ),
671
- "data-testid": S,
672
- ...y && { "aria-disabled": s },
673
- ...s && { tabIndex: -1 }
674
- }, U = /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
675
- R && /* @__PURE__ */ D.jsx(
676
- "div",
677
- {
678
- className: xe(
679
- "proton-Button__icon-decorator",
680
- P && "proton-Button__icon-decorator--fullWidth"
681
- ),
682
- children: R
683
- }
684
- ),
685
- d && /* @__PURE__ */ D.jsx("div", { className: "proton-Button__text", children: d })
686
- ] });
687
- return y ? /* @__PURE__ */ D.jsx(
688
- "a",
689
- {
690
- ...$,
691
- href: y,
692
- target: O || (h ? "_blank" : void 0),
693
- rel: h || O === "_blank" ? "noopener noreferrer" : void 0,
694
- ref: f,
695
- onClick: (w) => {
696
- if (s) {
697
- w.preventDefault();
698
- return;
699
- }
700
- !h && !O && mr(w, y), b == null || b(w);
701
- },
702
- role: "button",
703
- children: U
704
- }
705
- ) : /* @__PURE__ */ D.jsx(
706
- "button",
707
- {
708
- ...$,
709
- type: _,
710
- disabled: s,
711
- ref: f,
712
- onClick: (w) => {
713
- !s && b && b(w);
714
- },
715
- children: U
716
- }
717
- );
718
- }
719
- );
720
- hr.displayName = "ProtonUIButton";
721
- export {
722
- hr as B,
723
- _r as a,
724
- Tr as b,
725
- D as j
726
- };
727
- //# sourceMappingURL=Button-DuAhPJPD.mjs.map