@papillonarts/components 0.49.0 → 0.49.1

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 (344) hide show
  1. package/LICENSE +1 -1
  2. package/build/Legacy/Alert/Alert.const.d.ts +4 -0
  3. package/build/Legacy/Alert/Alert.const.d.ts.map +1 -0
  4. package/build/Legacy/Alert/Alert.const.js +26 -0
  5. package/build/Legacy/Alert/Alert.d.ts +2 -2
  6. package/build/Legacy/Alert/Alert.d.ts.map +1 -1
  7. package/build/Legacy/Alert/Alert.js +47 -49
  8. package/build/Legacy/Alert/Alert.type.d.ts +0 -2
  9. package/build/Legacy/Alert/Alert.type.d.ts.map +1 -1
  10. package/build/Legacy/Alert/Alert.type.js +1 -24
  11. package/build/Legacy/Alert/index.d.ts +1 -1
  12. package/build/Legacy/Alert/index.d.ts.map +1 -1
  13. package/build/Legacy/Alert/index.js +3 -3
  14. package/build/Legacy/Blankslate/Blankslate.const.d.ts +4 -0
  15. package/build/Legacy/Blankslate/Blankslate.const.d.ts.map +1 -0
  16. package/build/Legacy/Blankslate/Blankslate.const.js +18 -0
  17. package/build/Legacy/Blankslate/Blankslate.d.ts +1 -1
  18. package/build/Legacy/Blankslate/Blankslate.d.ts.map +1 -1
  19. package/build/Legacy/Blankslate/Blankslate.js +17 -14
  20. package/build/Legacy/Blankslate/Blankslate.type.d.ts +0 -2
  21. package/build/Legacy/Blankslate/Blankslate.type.d.ts.map +1 -1
  22. package/build/Legacy/Blankslate/Blankslate.type.js +1 -14
  23. package/build/Legacy/Blankslate/index.d.ts +1 -1
  24. package/build/Legacy/Blankslate/index.d.ts.map +1 -1
  25. package/build/Legacy/Blankslate/index.js +3 -3
  26. package/build/Legacy/Breadcrumb/Breadcrumb.const.d.ts +4 -0
  27. package/build/Legacy/Breadcrumb/Breadcrumb.const.d.ts.map +1 -0
  28. package/build/Legacy/Breadcrumb/Breadcrumb.const.js +14 -0
  29. package/build/Legacy/Breadcrumb/Breadcrumb.d.ts +1 -1
  30. package/build/Legacy/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  31. package/build/Legacy/Breadcrumb/Breadcrumb.js +50 -46
  32. package/build/Legacy/Breadcrumb/Breadcrumb.type.d.ts +0 -2
  33. package/build/Legacy/Breadcrumb/Breadcrumb.type.d.ts.map +1 -1
  34. package/build/Legacy/Breadcrumb/Breadcrumb.type.js +1 -10
  35. package/build/Legacy/Breadcrumb/index.d.ts +1 -1
  36. package/build/Legacy/Breadcrumb/index.d.ts.map +1 -1
  37. package/build/Legacy/Breadcrumb/index.js +3 -3
  38. package/build/Legacy/Button/Button.const.d.ts +9 -0
  39. package/build/Legacy/Button/Button.const.d.ts.map +1 -0
  40. package/build/Legacy/Button/Button.const.js +48 -0
  41. package/build/Legacy/Button/Button.d.ts +1 -1
  42. package/build/Legacy/Button/Button.d.ts.map +1 -1
  43. package/build/Legacy/Button/Button.js +60 -66
  44. package/build/Legacy/Button/Button.type.d.ts +0 -7
  45. package/build/Legacy/Button/Button.type.d.ts.map +1 -1
  46. package/build/Legacy/Button/Button.type.js +1 -44
  47. package/build/Legacy/Button/index.d.ts +1 -1
  48. package/build/Legacy/Button/index.d.ts.map +1 -1
  49. package/build/Legacy/Button/index.js +8 -8
  50. package/build/Legacy/Dropdown/Dropdown.const.d.ts +4 -0
  51. package/build/Legacy/Dropdown/Dropdown.const.d.ts.map +1 -0
  52. package/build/Legacy/Dropdown/Dropdown.const.js +18 -0
  53. package/build/Legacy/Dropdown/Dropdown.d.ts +1 -1
  54. package/build/Legacy/Dropdown/Dropdown.d.ts.map +1 -1
  55. package/build/Legacy/Dropdown/Dropdown.js +49 -51
  56. package/build/Legacy/Dropdown/Dropdown.type.d.ts +0 -2
  57. package/build/Legacy/Dropdown/Dropdown.type.d.ts.map +1 -1
  58. package/build/Legacy/Dropdown/Dropdown.type.js +1 -14
  59. package/build/Legacy/Dropdown/index.d.ts +2 -1
  60. package/build/Legacy/Dropdown/index.d.ts.map +1 -1
  61. package/build/Legacy/Dropdown/index.js +3 -3
  62. package/build/Legacy/ErrorBoundary/ErrorBoundary.d.ts +3 -2
  63. package/build/Legacy/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  64. package/build/Legacy/ErrorBoundary/ErrorBoundary.js +31 -45
  65. package/build/Legacy/ErrorBoundary/index.js +1 -1
  66. package/build/Legacy/Form/Checkbox/Checkbox.const.d.ts +5 -0
  67. package/build/Legacy/Form/Checkbox/Checkbox.const.d.ts.map +1 -0
  68. package/build/Legacy/Form/Checkbox/Checkbox.const.js +22 -0
  69. package/build/Legacy/Form/Checkbox/Checkbox.d.ts +1 -1
  70. package/build/Legacy/Form/Checkbox/Checkbox.d.ts.map +1 -1
  71. package/build/Legacy/Form/Checkbox/Checkbox.js +22 -25
  72. package/build/Legacy/Form/Checkbox/Checkbox.type.d.ts +0 -3
  73. package/build/Legacy/Form/Checkbox/Checkbox.type.d.ts.map +1 -1
  74. package/build/Legacy/Form/Checkbox/Checkbox.type.js +1 -18
  75. package/build/Legacy/Form/Checkbox/index.d.ts +1 -1
  76. package/build/Legacy/Form/Checkbox/index.d.ts.map +1 -1
  77. package/build/Legacy/Form/Checkbox/index.js +3 -3
  78. package/build/Legacy/Form/Input/Input.const.d.ts +5 -0
  79. package/build/Legacy/Form/Input/Input.const.d.ts.map +1 -0
  80. package/build/Legacy/Form/Input/Input.const.js +30 -0
  81. package/build/Legacy/Form/Input/Input.d.ts +1 -1
  82. package/build/Legacy/Form/Input/Input.d.ts.map +1 -1
  83. package/build/Legacy/Form/Input/Input.js +25 -32
  84. package/build/Legacy/Form/Input/Input.type.d.ts +0 -3
  85. package/build/Legacy/Form/Input/Input.type.d.ts.map +1 -1
  86. package/build/Legacy/Form/Input/Input.type.js +1 -26
  87. package/build/Legacy/Form/Input/index.d.ts +1 -1
  88. package/build/Legacy/Form/Input/index.d.ts.map +1 -1
  89. package/build/Legacy/Form/Input/index.js +4 -4
  90. package/build/Legacy/Form/Radio/Radio.const.d.ts +5 -0
  91. package/build/Legacy/Form/Radio/Radio.const.d.ts.map +1 -0
  92. package/build/Legacy/Form/Radio/Radio.const.js +22 -0
  93. package/build/Legacy/Form/Radio/Radio.d.ts +1 -1
  94. package/build/Legacy/Form/Radio/Radio.d.ts.map +1 -1
  95. package/build/Legacy/Form/Radio/Radio.js +19 -24
  96. package/build/Legacy/Form/Radio/Radio.type.d.ts +0 -3
  97. package/build/Legacy/Form/Radio/Radio.type.d.ts.map +1 -1
  98. package/build/Legacy/Form/Radio/Radio.type.js +1 -18
  99. package/build/Legacy/Form/Radio/index.d.ts +1 -1
  100. package/build/Legacy/Form/Radio/index.d.ts.map +1 -1
  101. package/build/Legacy/Form/Radio/index.js +3 -3
  102. package/build/Legacy/Form/index.js +1 -1
  103. package/build/Legacy/Grid/DisplayTable/DisplayTable.const.d.ts +3 -0
  104. package/build/Legacy/Grid/DisplayTable/DisplayTable.const.d.ts.map +1 -0
  105. package/build/Legacy/Grid/DisplayTable/DisplayTable.const.js +11 -0
  106. package/build/Legacy/Grid/DisplayTable/DisplayTable.d.ts +1 -1
  107. package/build/Legacy/Grid/DisplayTable/DisplayTable.d.ts.map +1 -1
  108. package/build/Legacy/Grid/DisplayTable/DisplayTable.js +26 -31
  109. package/build/Legacy/Grid/DisplayTable/DisplayTable.type.d.ts +0 -1
  110. package/build/Legacy/Grid/DisplayTable/DisplayTable.type.d.ts.map +1 -1
  111. package/build/Legacy/Grid/DisplayTable/DisplayTable.type.js +1 -7
  112. package/build/Legacy/Grid/DisplayTable/index.js +1 -1
  113. package/build/Legacy/Grid/FlexGrid/FlexGrid.const.d.ts +5 -0
  114. package/build/Legacy/Grid/FlexGrid/FlexGrid.const.d.ts.map +1 -0
  115. package/build/Legacy/Grid/FlexGrid/FlexGrid.const.js +28 -0
  116. package/build/Legacy/Grid/FlexGrid/FlexGrid.d.ts +1 -1
  117. package/build/Legacy/Grid/FlexGrid/FlexGrid.d.ts.map +1 -1
  118. package/build/Legacy/Grid/FlexGrid/FlexGrid.js +148 -167
  119. package/build/Legacy/Grid/FlexGrid/FlexGrid.type.d.ts +1 -4
  120. package/build/Legacy/Grid/FlexGrid/FlexGrid.type.d.ts.map +1 -1
  121. package/build/Legacy/Grid/FlexGrid/FlexGrid.type.js +1 -24
  122. package/build/Legacy/Grid/FlexGrid/index.d.ts +1 -1
  123. package/build/Legacy/Grid/FlexGrid/index.d.ts.map +1 -1
  124. package/build/Legacy/Grid/FlexGrid/index.js +4 -4
  125. package/build/Legacy/Grid/index.js +1 -1
  126. package/build/Legacy/Icon/Icon.const.d.ts +656 -0
  127. package/build/Legacy/Icon/Icon.const.d.ts.map +1 -0
  128. package/build/Legacy/Icon/Icon.const.js +678 -0
  129. package/build/Legacy/Icon/Icon.d.ts +1 -1
  130. package/build/Legacy/Icon/Icon.d.ts.map +1 -1
  131. package/build/Legacy/Icon/Icon.js +33 -44
  132. package/build/Legacy/Icon/Icon.part.js +645 -645
  133. package/build/Legacy/Icon/Icon.type.d.ts +0 -654
  134. package/build/Legacy/Icon/Icon.type.d.ts.map +1 -1
  135. package/build/Legacy/Icon/Icon.type.js +1 -674
  136. package/build/Legacy/Icon/index.d.ts +1 -1
  137. package/build/Legacy/Icon/index.d.ts.map +1 -1
  138. package/build/Legacy/Icon/index.js +4 -4
  139. package/build/Legacy/Label/Label.const.d.ts +6 -0
  140. package/build/Legacy/Label/Label.const.d.ts.map +1 -0
  141. package/build/Legacy/Label/Label.const.js +26 -0
  142. package/build/Legacy/Label/Label.d.ts +1 -1
  143. package/build/Legacy/Label/Label.d.ts.map +1 -1
  144. package/build/Legacy/Label/Label.js +16 -15
  145. package/build/Legacy/Label/Label.type.d.ts +0 -4
  146. package/build/Legacy/Label/Label.type.d.ts.map +1 -1
  147. package/build/Legacy/Label/Label.type.js +1 -22
  148. package/build/Legacy/Label/index.js +1 -1
  149. package/build/Legacy/Loader/Loader.const.d.ts +4 -0
  150. package/build/Legacy/Loader/Loader.const.d.ts.map +1 -0
  151. package/build/Legacy/Loader/Loader.const.js +15 -0
  152. package/build/Legacy/Loader/Loader.d.ts +1 -1
  153. package/build/Legacy/Loader/Loader.d.ts.map +1 -1
  154. package/build/Legacy/Loader/Loader.js +19 -19
  155. package/build/Legacy/Loader/Loader.type.d.ts +0 -2
  156. package/build/Legacy/Loader/Loader.type.d.ts.map +1 -1
  157. package/build/Legacy/Loader/Loader.type.js +1 -11
  158. package/build/Legacy/Loader/index.d.ts +1 -1
  159. package/build/Legacy/Loader/index.d.ts.map +1 -1
  160. package/build/Legacy/Loader/index.js +3 -3
  161. package/build/Legacy/Markdown/Markdown.const.d.ts +4 -0
  162. package/build/Legacy/Markdown/Markdown.const.d.ts.map +1 -0
  163. package/build/Legacy/Markdown/Markdown.const.js +14 -0
  164. package/build/Legacy/Markdown/Markdown.d.ts +1 -1
  165. package/build/Legacy/Markdown/Markdown.d.ts.map +1 -1
  166. package/build/Legacy/Markdown/Markdown.js +20 -16
  167. package/build/Legacy/Markdown/Markdown.type.d.ts +0 -2
  168. package/build/Legacy/Markdown/Markdown.type.d.ts.map +1 -1
  169. package/build/Legacy/Markdown/Markdown.type.js +1 -10
  170. package/build/Legacy/Markdown/index.js +1 -1
  171. package/build/Legacy/Navigation/Menu/Menu.const.d.ts +3 -0
  172. package/build/Legacy/Navigation/Menu/Menu.const.d.ts.map +1 -0
  173. package/build/Legacy/Navigation/Menu/Menu.const.js +10 -0
  174. package/build/Legacy/Navigation/Menu/Menu.d.ts +1 -1
  175. package/build/Legacy/Navigation/Menu/Menu.d.ts.map +1 -1
  176. package/build/Legacy/Navigation/Menu/Menu.js +40 -42
  177. package/build/Legacy/Navigation/Menu/Menu.type.d.ts +0 -1
  178. package/build/Legacy/Navigation/Menu/Menu.type.d.ts.map +1 -1
  179. package/build/Legacy/Navigation/Menu/Menu.type.js +1 -6
  180. package/build/Legacy/Navigation/Menu/index.js +1 -1
  181. package/build/Legacy/Navigation/TabNav/TabNav.const.d.ts +4 -0
  182. package/build/Legacy/Navigation/TabNav/TabNav.const.d.ts.map +1 -0
  183. package/build/Legacy/Navigation/TabNav/TabNav.const.js +16 -0
  184. package/build/Legacy/Navigation/TabNav/TabNav.d.ts +1 -1
  185. package/build/Legacy/Navigation/TabNav/TabNav.d.ts.map +1 -1
  186. package/build/Legacy/Navigation/TabNav/TabNav.js +79 -79
  187. package/build/Legacy/Navigation/TabNav/TabNav.type.d.ts +1 -3
  188. package/build/Legacy/Navigation/TabNav/TabNav.type.d.ts.map +1 -1
  189. package/build/Legacy/Navigation/TabNav/TabNav.type.js +1 -12
  190. package/build/Legacy/Navigation/TabNav/index.d.ts +1 -1
  191. package/build/Legacy/Navigation/TabNav/index.d.ts.map +1 -1
  192. package/build/Legacy/Navigation/TabNav/index.js +3 -3
  193. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.const.d.ts +5 -0
  194. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.const.d.ts.map +1 -0
  195. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.const.js +20 -0
  196. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.d.ts +1 -1
  197. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.d.ts.map +1 -1
  198. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.js +64 -63
  199. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.type.d.ts +0 -3
  200. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.type.d.ts.map +1 -1
  201. package/build/Legacy/Navigation/UnderlineNav/UnderlineNav.type.js +1 -16
  202. package/build/Legacy/Navigation/UnderlineNav/index.d.ts +1 -1
  203. package/build/Legacy/Navigation/UnderlineNav/index.d.ts.map +1 -1
  204. package/build/Legacy/Navigation/UnderlineNav/index.js +4 -4
  205. package/build/Legacy/Navigation/index.js +1 -1
  206. package/build/Legacy/Pagination/PreviousNext/PreviousNext.const.d.ts +4 -0
  207. package/build/Legacy/Pagination/PreviousNext/PreviousNext.const.d.ts.map +1 -0
  208. package/build/Legacy/Pagination/PreviousNext/PreviousNext.const.js +30 -0
  209. package/build/Legacy/Pagination/PreviousNext/PreviousNext.d.ts +1 -1
  210. package/build/Legacy/Pagination/PreviousNext/PreviousNext.d.ts.map +1 -1
  211. package/build/Legacy/Pagination/PreviousNext/PreviousNext.js +46 -40
  212. package/build/Legacy/Pagination/PreviousNext/PreviousNext.type.d.ts +0 -2
  213. package/build/Legacy/Pagination/PreviousNext/PreviousNext.type.d.ts.map +1 -1
  214. package/build/Legacy/Pagination/PreviousNext/PreviousNext.type.js +1 -26
  215. package/build/Legacy/Pagination/PreviousNext/index.d.ts +1 -1
  216. package/build/Legacy/Pagination/PreviousNext/index.d.ts.map +1 -1
  217. package/build/Legacy/Pagination/PreviousNext/index.js +3 -3
  218. package/build/Legacy/Pagination/index.js +1 -1
  219. package/build/Legacy/Popover/Popover.const.d.ts +5 -0
  220. package/build/Legacy/Popover/Popover.const.d.ts.map +1 -0
  221. package/build/Legacy/Popover/Popover.const.js +29 -0
  222. package/build/Legacy/Popover/Popover.d.ts +1 -1
  223. package/build/Legacy/Popover/Popover.d.ts.map +1 -1
  224. package/build/Legacy/Popover/Popover.js +41 -25
  225. package/build/Legacy/Popover/Popover.type.d.ts +0 -3
  226. package/build/Legacy/Popover/Popover.type.d.ts.map +1 -1
  227. package/build/Legacy/Popover/Popover.type.js +1 -25
  228. package/build/Legacy/Popover/index.d.ts +1 -1
  229. package/build/Legacy/Popover/index.d.ts.map +1 -1
  230. package/build/Legacy/Popover/index.js +4 -4
  231. package/build/Legacy/Progress/Progress.const.d.ts +4 -0
  232. package/build/Legacy/Progress/Progress.const.d.ts.map +1 -0
  233. package/build/Legacy/Progress/Progress.const.js +15 -0
  234. package/build/Legacy/Progress/Progress.d.ts +1 -1
  235. package/build/Legacy/Progress/Progress.d.ts.map +1 -1
  236. package/build/Legacy/Progress/Progress.js +15 -14
  237. package/build/Legacy/Progress/Progress.type.d.ts +0 -2
  238. package/build/Legacy/Progress/Progress.type.d.ts.map +1 -1
  239. package/build/Legacy/Progress/Progress.type.js +1 -11
  240. package/build/Legacy/Progress/index.d.ts +1 -1
  241. package/build/Legacy/Progress/index.d.ts.map +1 -1
  242. package/build/Legacy/Progress/index.js +3 -3
  243. package/build/Legacy/Select/Select.const.d.ts +4 -0
  244. package/build/Legacy/Select/Select.const.d.ts.map +1 -0
  245. package/build/Legacy/Select/Select.const.js +15 -0
  246. package/build/Legacy/Select/Select.d.ts +1 -1
  247. package/build/Legacy/Select/Select.d.ts.map +1 -1
  248. package/build/Legacy/Select/Select.js +31 -35
  249. package/build/Legacy/Select/Select.type.d.ts +0 -2
  250. package/build/Legacy/Select/Select.type.d.ts.map +1 -1
  251. package/build/Legacy/Select/Select.type.js +1 -11
  252. package/build/Legacy/Select/index.d.ts +1 -1
  253. package/build/Legacy/Select/index.d.ts.map +1 -1
  254. package/build/Legacy/Select/index.js +3 -3
  255. package/build/Legacy/SelectMenu/SelectMenu.const.d.ts +3 -0
  256. package/build/Legacy/SelectMenu/SelectMenu.const.d.ts.map +1 -0
  257. package/build/Legacy/SelectMenu/SelectMenu.const.js +10 -0
  258. package/build/Legacy/SelectMenu/SelectMenu.d.ts +1 -1
  259. package/build/Legacy/SelectMenu/SelectMenu.d.ts.map +1 -1
  260. package/build/Legacy/SelectMenu/SelectMenu.js +42 -46
  261. package/build/Legacy/SelectMenu/SelectMenu.type.d.ts +0 -1
  262. package/build/Legacy/SelectMenu/SelectMenu.type.d.ts.map +1 -1
  263. package/build/Legacy/SelectMenu/SelectMenu.type.js +1 -6
  264. package/build/Legacy/SelectMenu/index.js +1 -1
  265. package/build/Legacy/Subhead/Subhead.const.d.ts +3 -0
  266. package/build/Legacy/Subhead/Subhead.const.d.ts.map +1 -0
  267. package/build/Legacy/Subhead/Subhead.const.js +10 -0
  268. package/build/Legacy/Subhead/Subhead.d.ts +1 -1
  269. package/build/Legacy/Subhead/Subhead.d.ts.map +1 -1
  270. package/build/Legacy/Subhead/Subhead.js +12 -12
  271. package/build/Legacy/Subhead/Subhead.type.d.ts +0 -1
  272. package/build/Legacy/Subhead/Subhead.type.d.ts.map +1 -1
  273. package/build/Legacy/Subhead/Subhead.type.js +1 -6
  274. package/build/Legacy/Subhead/index.js +1 -1
  275. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.const.d.ts +6 -0
  276. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.const.d.ts.map +1 -0
  277. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.const.js +25 -0
  278. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.d.ts +1 -1
  279. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.d.ts.map +1 -1
  280. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.js +7 -9
  281. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.d.ts +0 -4
  282. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.d.ts.map +1 -1
  283. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighter.type.js +1 -21
  284. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterHLJS.d.ts +1 -1
  285. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterHLJS.d.ts.map +1 -1
  286. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterHLJS.js +9 -10
  287. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterPrism.d.ts +1 -1
  288. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterPrism.d.ts.map +1 -1
  289. package/build/Legacy/SyntaxHighlighter/SyntaxHighlighterPrism.js +10 -11
  290. package/build/Legacy/SyntaxHighlighter/index.d.ts +1 -1
  291. package/build/Legacy/SyntaxHighlighter/index.d.ts.map +1 -1
  292. package/build/Legacy/SyntaxHighlighter/index.js +5 -5
  293. package/build/Legacy/Toast/Toast.const.d.ts +4 -0
  294. package/build/Legacy/Toast/Toast.const.d.ts.map +1 -0
  295. package/build/Legacy/Toast/Toast.const.js +18 -0
  296. package/build/Legacy/Toast/Toast.d.ts +1 -1
  297. package/build/Legacy/Toast/Toast.d.ts.map +1 -1
  298. package/build/Legacy/Toast/Toast.js +23 -23
  299. package/build/Legacy/Toast/Toast.type.d.ts +0 -2
  300. package/build/Legacy/Toast/Toast.type.d.ts.map +1 -1
  301. package/build/Legacy/Toast/Toast.type.js +1 -14
  302. package/build/Legacy/Toast/index.d.ts +1 -1
  303. package/build/Legacy/Toast/index.d.ts.map +1 -1
  304. package/build/Legacy/Toast/index.js +3 -3
  305. package/build/Legacy/index.js +1 -1
  306. package/build/Modern/Avatar/Avatar.d.ts +1 -1
  307. package/build/Modern/Avatar/Avatar.d.ts.map +1 -1
  308. package/build/Modern/Avatar/Avatar.js +23 -30
  309. package/build/Modern/Avatar/index.js +1 -1
  310. package/build/Modern/AvatarStack/AvatarStack.d.ts +2 -2
  311. package/build/Modern/AvatarStack/AvatarStack.d.ts.map +1 -1
  312. package/build/Modern/AvatarStack/AvatarStack.js +53 -57
  313. package/build/Modern/AvatarStack/index.js +1 -1
  314. package/build/Modern/Flash/Flash.d.ts +1 -1
  315. package/build/Modern/Flash/Flash.d.ts.map +1 -1
  316. package/build/Modern/Flash/Flash.js +13 -17
  317. package/build/Modern/Flash/index.js +1 -1
  318. package/build/Modern/Link/Link.d.ts +3 -3
  319. package/build/Modern/Link/Link.d.ts.map +1 -1
  320. package/build/Modern/Link/Link.js +20 -22
  321. package/build/Modern/Link/index.js +1 -1
  322. package/build/Modern/Pagination/Pagination.d.ts +2 -2
  323. package/build/Modern/Pagination/Pagination.d.ts.map +1 -1
  324. package/build/Modern/Pagination/Pagination.js +68 -79
  325. package/build/Modern/Pagination/Pagination.model.js +30 -34
  326. package/build/Modern/Pagination/index.js +1 -1
  327. package/build/Modern/hooks/index.js +2 -2
  328. package/build/Modern/hooks/useMedia.d.ts +2 -2
  329. package/build/Modern/hooks/useMedia.d.ts.map +1 -1
  330. package/build/Modern/hooks/useMedia.js +29 -38
  331. package/build/Modern/hooks/useRefObjectAsForwardedRef.js +1 -3
  332. package/build/Modern/hooks/useResponsiveValue.js +6 -10
  333. package/build/Modern/index.d.ts +1 -1
  334. package/build/Modern/index.js +1 -1
  335. package/build/Modern/utils/environment.js +1 -2
  336. package/build/Modern/utils/hasInteractiveNodes.js +11 -15
  337. package/build/Modern/utils/modern-polymorphic.js +1 -1
  338. package/build/Modern/utils/polymorphic.d.ts +1 -1
  339. package/build/Modern/utils/polymorphic.d.ts.map +1 -1
  340. package/build/Modern/utils/testing.js +2 -2
  341. package/build/Modern/utils/types/index.js +3 -3
  342. package/build/Modern/utils/warning.js +4 -7
  343. package/build/index.js +2 -2
  344. package/package.json +4 -4
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.MatchMedia = MatchMedia;
8
7
  exports.useMedia = useMedia;
9
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
8
  var _react = require("react");
11
9
  var _environment = require("../utils/environment");
12
10
  var _warning = require("../utils/warning");
@@ -23,33 +21,29 @@ var _jsxRuntime = require("react/jsx-runtime");
23
21
  * const coarsePointer = useMedia('(pointer: coarse)');
24
22
  * // ...
25
23
  * }
26
- */
27
- function useMedia(mediaQueryString, defaultState) {
28
- var features = (0, _react.useContext)(MatchMediaContext);
29
- var _useState = (0, _react.useState)(function () {
30
- if (features[mediaQueryString] !== undefined) {
31
- return features[mediaQueryString];
32
- }
24
+ */function useMedia(mediaQueryString, defaultState) {
25
+ const features = (0, _react.useContext)(MatchMediaContext);
26
+ const [matches, setMatches] = (0, _react.useState)(() => {
27
+ if (features[mediaQueryString] !== undefined) {
28
+ return features[mediaQueryString];
29
+ }
33
30
 
34
- // Prevent a React hydration mismatch when a default value is provided by not defaulting to window.matchMedia(query).matches.
35
- if (defaultState !== undefined) {
36
- return defaultState;
37
- }
38
- if (_environment.canUseDOM) {
39
- return window.matchMedia(mediaQueryString).matches;
40
- }
31
+ // Prevent a React hydration mismatch when a default value is provided by not defaulting to window.matchMedia(query).matches.
32
+ if (defaultState !== undefined) {
33
+ return defaultState;
34
+ }
35
+ if (_environment.canUseDOM) {
36
+ return window.matchMedia(mediaQueryString).matches;
37
+ }
41
38
 
42
- // A default value has not been provided, and you are rendering on the server, warn of a possible hydration mismatch when defaulting to false.
43
- (0, _warning.warning)(true, '`useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches.');
44
- return false;
45
- }),
46
- _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
47
- matches = _useState2[0],
48
- setMatches = _useState2[1];
39
+ // A default value has not been provided, and you are rendering on the server, warn of a possible hydration mismatch when defaulting to false.
40
+ (0, _warning.warning)(true, '`useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches.');
41
+ return false;
42
+ });
49
43
  if (features[mediaQueryString] !== undefined && matches !== features[mediaQueryString]) {
50
44
  setMatches(features[mediaQueryString]);
51
45
  }
52
- (0, _react.useEffect)(function () {
46
+ (0, _react.useEffect)(() => {
53
47
  // If `mediaQueryString` is present in features through `context` defer to
54
48
  // the value present instead of checking with matchMedia
55
49
  if (features[mediaQueryString] !== undefined) {
@@ -58,7 +52,7 @@ function useMedia(mediaQueryString, defaultState) {
58
52
  function listener(event) {
59
53
  setMatches(event.matches);
60
54
  }
61
- var mediaQueryList = window.matchMedia(mediaQueryString);
55
+ const mediaQueryList = window.matchMedia(mediaQueryString);
62
56
 
63
57
  // Support fallback to `addListener` for broader browser support
64
58
  // @ts-ignore this is not present in Safari <14
@@ -72,7 +66,7 @@ function useMedia(mediaQueryString, defaultState) {
72
66
  // Make sure the media query list is in sync with the matches state
73
67
 
74
68
  setMatches(mediaQueryList.matches);
75
- return function () {
69
+ return () => {
76
70
  // @ts-ignore this is not present in Safari <14
77
71
 
78
72
  if (mediaQueryList.addEventListener) {
@@ -87,8 +81,8 @@ function useMedia(mediaQueryString, defaultState) {
87
81
  // Used to keep track of overrides to specific media query features, this should
88
82
  // be used for development and demo purposes to emulate specific features if
89
83
  // unavailable through devtools
90
- var MatchMediaContext = /*#__PURE__*/(0, _react.createContext)({});
91
- var defaultFeatures = {};
84
+ const MatchMediaContext = /*#__PURE__*/(0, _react.createContext)({});
85
+ const defaultFeatures = {};
92
86
 
93
87
  /**
94
88
  * Use `MatchMedia` to emulate media conditions by passing in feature
@@ -104,11 +98,11 @@ var defaultFeatures = {};
104
98
  * <Children />
105
99
  * </MatchMedia>
106
100
  */
107
- function MatchMedia(_ref) {
108
- var children = _ref.children,
109
- _ref$features = _ref.features,
110
- features = _ref$features === void 0 ? defaultFeatures : _ref$features;
111
- var value = useShallowObject(features);
101
+ function MatchMedia({
102
+ children,
103
+ features = defaultFeatures
104
+ }) {
105
+ const value = useShallowObject(features);
112
106
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(MatchMediaContext.Provider, {
113
107
  value: value,
114
108
  children: children
@@ -123,12 +117,9 @@ function MatchMedia(_ref) {
123
117
  * shallow equality check is false each time the hook is called
124
118
  */
125
119
  function useShallowObject(object) {
126
- var _useState3 = (0, _react.useState)(object),
127
- _useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
128
- value = _useState4[0],
129
- setValue = _useState4[1];
120
+ const [value, setValue] = (0, _react.useState)(object);
130
121
  if (value !== object) {
131
- var match = Object.keys(object).every(function (key) {
122
+ const match = Object.keys(object).every(key => {
132
123
  return object[key] === value[key];
133
124
  });
134
125
  if (!match) {
@@ -13,7 +13,5 @@ var _react = require("react");
13
13
  * **NOTE**: The `refObject` should be passed to the underlying element, NOT the `forwardedRef`.
14
14
  */
15
15
  function useRefObjectAsForwardedRef(forwardedRef, refObject) {
16
- (0, _react.useImperativeHandle)(forwardedRef, function () {
17
- return refObject.current;
18
- });
16
+ (0, _react.useImperativeHandle)(forwardedRef, () => refObject.current);
19
17
  }
@@ -1,13 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.isResponsiveValue = isResponsiveValue;
8
7
  exports.useResponsiveValue = useResponsiveValue;
9
8
  exports.viewportRanges = void 0;
10
- var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
11
9
  var _useMedia = require("./useMedia");
12
10
  // This file contains utilities for working with responsive values.
13
11
 
@@ -15,7 +13,7 @@ var _useMedia = require("./useMedia");
15
13
  // because they use `em` units inside `calc()` (e.g., calc(48em - 0.02px)).
16
14
  // As a temporary workaround, we're hardcoding the viewport ranges in `px` units.
17
15
  // TODO: Use viewport range tokens from @primer/primitives
18
- var viewportRanges = exports.viewportRanges = {
16
+ const viewportRanges = exports.viewportRanges = {
19
17
  narrow: '(max-width: calc(768px - 0.02px))',
20
18
  // < 768px
21
19
  regular: '(min-width: 768px)',
@@ -34,9 +32,7 @@ var viewportRanges = exports.viewportRanges = {
34
32
  * In other words, is it an object with viewport range keys?
35
33
  */
36
34
  function isResponsiveValue(value) {
37
- return (0, _typeof2["default"])(value) === 'object' && Object.keys(value).some(function (key) {
38
- return ['narrow', 'regular', 'wide'].includes(key);
39
- });
35
+ return typeof value === 'object' && Object.keys(value).some(key => ['narrow', 'regular', 'wide'].includes(key));
40
36
  }
41
37
 
42
38
  /**
@@ -51,12 +47,12 @@ function isResponsiveValue(value) {
51
47
  function useResponsiveValue(value, fallback) {
52
48
  // Check viewport size
53
49
  // TODO: What is the performance cost of creating media query listeners in this hook?
54
- var isNarrowViewport = (0, _useMedia.useMedia)(viewportRanges.narrow, false);
55
- var isRegularViewport = (0, _useMedia.useMedia)(viewportRanges.regular, false);
56
- var isWideViewport = (0, _useMedia.useMedia)(viewportRanges.wide, false);
50
+ const isNarrowViewport = (0, _useMedia.useMedia)(viewportRanges.narrow, false);
51
+ const isRegularViewport = (0, _useMedia.useMedia)(viewportRanges.regular, false);
52
+ const isWideViewport = (0, _useMedia.useMedia)(viewportRanges.wide, false);
57
53
  if (isResponsiveValue(value)) {
58
54
  // If we've reached this line, we know that value is a responsive value
59
- var responsiveValue = value;
55
+ const responsiveValue = value;
60
56
  if (isNarrowViewport && 'narrow' in Object(responsiveValue)) {
61
57
  return Object(responsiveValue).narrow;
62
58
  } else if (isWideViewport && 'wide' in Object(responsiveValue)) {
@@ -16,7 +16,7 @@ export declare const Modern: {
16
16
  } & Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
17
17
  };
18
18
  AvatarStack: {
19
- AvatarStack: ({ children, variant, shape, alignRight, disableExpand, size, className, style, "data-testid": dataTestId, }: import("./AvatarStack").AvatarStackProps) => import("react/jsx-runtime").JSX.Element;
19
+ AvatarStack: ({ children, variant, shape, alignRight, disableExpand, size, className, style, "data-testid": dataTestId, }: import("./AvatarStack").AvatarStackProps) => import("react").JSX.Element;
20
20
  };
21
21
  Flash: {
22
22
  Flash: import("./utils/polymorphic").ForwardRefComponent<"div", import("./Flash").FlashProps>;
@@ -10,7 +10,7 @@ var _AvatarStack = require("./AvatarStack");
10
10
  var _Flash = require("./Flash");
11
11
  var _Link = require("./Link");
12
12
  var _Pagination = require("./Pagination");
13
- var Modern = exports.Modern = {
13
+ const Modern = exports.Modern = {
14
14
  Avatar: {
15
15
  Avatar: _Avatar.Avatar
16
16
  },
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.canUseDOM = void 0;
7
- var _window$document$crea, _window;
8
7
  /**
9
8
  * Indicate whether current execution environment can access the DOM.
10
9
  *
11
10
  * @see https://github.com/facebook/fbjs/blob/4d1751311d3f67af2dcce2e40df8512a23c7b9c6/packages/fbjs/src/core/ExecutionEnvironment.js#L12
12
11
  */
13
- var canUseDOM = exports.canUseDOM = (_window$document$crea = (_window = window) === null || _window === void 0 || (_window = _window.document) === null || _window === void 0 ? void 0 : _window.createElement) !== null && _window$document$crea !== void 0 ? _window$document$crea : false;
12
+ const canUseDOM = exports.canUseDOM = window?.document?.createElement ?? false;
@@ -1,24 +1,20 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.hasInteractiveNodes = hasInteractiveNodes;
8
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
9
- var nonValidSelectors = {
7
+ const nonValidSelectors = {
10
8
  disabled: '[disabled]',
11
9
  hidden: '[hidden]',
12
10
  inert: '[inert]',
13
11
  negativeTabIndex: '[tabindex="-1"]'
14
12
  };
15
- var interactiveElementsSelectors = ["a[href]", "button", 'summary', 'select', 'input:not([type=hidden])', 'textarea', '[tabindex="0"]', "audio[controls]", "video[controls]", "[contenteditable]"];
16
- var interactiveElements = interactiveElementsSelectors.map(function (selector) {
17
- return "".concat(selector, ":not(").concat(Object.values(nonValidSelectors).join('):not('), ")");
18
- });
13
+ const interactiveElementsSelectors = [`a[href]`, `button`, 'summary', 'select', 'input:not([type=hidden])', 'textarea', '[tabindex="0"]', `audio[controls]`, `video[controls]`, `[contenteditable]`];
14
+ const interactiveElements = interactiveElementsSelectors.map(selector => `${selector}:not(${Object.values(nonValidSelectors).join('):not(')})`);
19
15
 
20
16
  // Combined selector for fast querySelector check
21
- var interactiveSelector = interactiveElements.join(', ');
17
+ const interactiveSelector = interactiveElements.join(', ');
22
18
 
23
19
  /**
24
20
  * Finds interactive nodes within the passed node.
@@ -35,14 +31,14 @@ function hasInteractiveNodes(node, ignoreNodes) {
35
31
  // We only need to confirm if at least one interactive node exists.
36
32
  // If one does exist, we can abort early.
37
33
 
38
- var nodesToIgnore = ignoreNodes ? [node].concat((0, _toConsumableArray2["default"])(ignoreNodes)) : [node];
34
+ const nodesToIgnore = ignoreNodes ? [node, ...ignoreNodes] : [node];
39
35
 
40
36
  // Performance optimization: Use querySelectorAll with combined selector first
41
37
  // This avoids recursive getComputedStyle calls for each node
42
- var candidates = node.querySelectorAll(interactiveSelector);
38
+ const candidates = node.querySelectorAll(interactiveSelector);
43
39
  // eslint-disable-next-line @typescript-eslint/prefer-for-of
44
- for (var i = 0; i < candidates.length; i++) {
45
- var candidate = candidates[i];
40
+ for (let i = 0; i < candidates.length; i++) {
41
+ const candidate = candidates[i];
46
42
  if (!nodesToIgnore.includes(candidate) && !isNonValidInteractiveNode(candidate)) {
47
43
  return true;
48
44
  }
@@ -53,12 +49,12 @@ function hasInteractiveNodes(node, ignoreNodes) {
53
49
  // Note: Only call getComputedStyle when CSS-based checks are insufficient
54
50
  function isNonValidInteractiveNode(node) {
55
51
  // Fast path: Check attribute-based states first (no style recalc needed)
56
- var isNonInteractive = node.matches('[disabled], [hidden], [inert]');
52
+ const isNonInteractive = node.matches('[disabled], [hidden], [inert]');
57
53
  if (isNonInteractive) return true;
58
54
 
59
55
  // Only call getComputedStyle if attribute checks passed
60
56
  // This is necessary for display:none and visibility:hidden which aren't detectable via attributes
61
- var nodeStyle = getComputedStyle(node);
62
- var isHiddenVisually = nodeStyle.display === 'none' || nodeStyle.visibility === 'hidden';
57
+ const nodeStyle = getComputedStyle(node);
58
+ const isHiddenVisually = nodeStyle.display === 'none' || nodeStyle.visibility === 'hidden';
63
59
  return isHiddenVisually;
64
60
  }
@@ -20,7 +20,7 @@ var _react = require("react");
20
20
  /**
21
21
  * Cast forwardRef to the fixed version with better type inference
22
22
  */
23
- var fixedForwardRef = exports.fixedForwardRef = _react.forwardRef;
23
+ const fixedForwardRef = exports.fixedForwardRef = _react.forwardRef;
24
24
 
25
25
  /**
26
26
  * Simplified polymorphic props type that handles the common pattern of
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * @see https://github.com/radix-ui/primitives/blob/17ffcb7aaa42cbd36b3c210ba86d7d73d218e5be/packages/react/polymorphic/src/polymorphic.ts
6
6
  */
7
- import * as React from 'react';
7
+ import type * as React from 'react';
8
8
  import type { JSX } from 'react';
9
9
  import type { SlotMarker } from './types/Slots';
10
10
  type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
@@ -1 +1 @@
1
- {"version":3,"file":"polymorphic.d.ts","sourceRoot":"","sources":["../../../src/Modern/utils/polymorphic.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAK/C,KAAK,KAAK,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,CAAA;AAEtD;;GAEG;AACH,KAAK,QAAQ,CAAC,CAAC,IAAI,CAAC,SAAS,mBAAmB,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAA;AAEvE;;GAEG;AACH,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,mBAAmB,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;AAElF,KAAK,yBAAyB,CAAC,CAAC,EAAE,QAAQ,IAAI,KAAK,CAAC,yBAAyB,CAC3E,KAAK,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,QAAQ,GAAG;IAAE,EAAE,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC,CACnG,CAAA;AAMD,UAAU,mBAAmB,CAC3B,sBAAsB,EACtB,QAAQ,GAAG,EAAE,CAMb,SAAQ,yBAAyB,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAAE,UAAU;IAC/E;;;;;;;OAOG;IACH,CAAC,EAAE,GAAG,sBAAsB,EAC1B,KAAK,EAAE,EAAE,SAAS,EAAE,GAChB;QAAE,EAAE,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAA;KAAE,GACnC,EAAE,SAAS,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,GACrC,KAAK,CAAC,CAAC,EAAE,QAAQ,GAAG;QAAE,EAAE,EAAE,EAAE,CAAA;KAAE,CAAC,GAC/B,EAAE,SAAS,MAAM,GAAG,CAAC,iBAAiB,GACpC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC,EAAE,QAAQ,GAAG;QAAE,EAAE,EAAE,EAAE,CAAA;KAAE,CAAC,GACvD,KAAK,GACZ,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;CAClC;AAED,YAAY,EAAE,mBAAmB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"polymorphic.d.ts","sourceRoot":"","sources":["../../../src/Modern/utils/polymorphic.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAK/C,KAAK,KAAK,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,CAAA;AAEtD;;GAEG;AACH,KAAK,QAAQ,CAAC,CAAC,IAAI,CAAC,SAAS,mBAAmB,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAA;AAEvE;;GAEG;AACH,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,mBAAmB,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;AAElF,KAAK,yBAAyB,CAAC,CAAC,EAAE,QAAQ,IAAI,KAAK,CAAC,yBAAyB,CAC3E,KAAK,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,QAAQ,GAAG;IAAE,EAAE,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC,CACnG,CAAA;AAMD,UAAU,mBAAmB,CAC3B,sBAAsB,EACtB,QAAQ,GAAG,EAAE,CAMb,SAAQ,yBAAyB,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAAE,UAAU;IAC/E;;;;;;;OAOG;IACH,CAAC,EAAE,GAAG,sBAAsB,EAC1B,KAAK,EAAE,EAAE,SAAS,EAAE,GAChB;QAAE,EAAE,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAA;KAAE,GACnC,EAAE,SAAS,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,GACrC,KAAK,CAAC,CAAC,EAAE,QAAQ,GAAG;QAAE,EAAE,EAAE,EAAE,CAAA;KAAE,CAAC,GAC/B,EAAE,SAAS,MAAM,GAAG,CAAC,iBAAiB,GACpC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC,EAAE,QAAQ,GAAG;QAAE,EAAE,EAAE,EAAE,CAAA;KAAE,CAAC,GACvD,KAAK,GACZ,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;CAClC;AAED,YAAY,EAAE,mBAAmB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAA"}
@@ -10,12 +10,12 @@ var _jsxRuntime = require("react/jsx-runtime");
10
10
  /* eslint-disable jest/no-export, jest/no-conditional-expect */
11
11
 
12
12
  function implementsClassName(Component, baseClassName) {
13
- test('renders with the custom className', function () {
13
+ test('renders with the custom className', () => {
14
14
  (0, _react.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
15
15
  className: "test-class",
16
16
  "data-testid": "className-test"
17
17
  }));
18
- var element = _react.screen.getByTestId('className-test');
18
+ const element = _react.screen.getByTestId('className-test');
19
19
  expect(element).toBeInTheDocument();
20
20
  if (baseClassName) {
21
21
  expect(element).toHaveClass(baseClassName);
@@ -9,7 +9,7 @@ Object.keys(_ComponentProps).forEach(function (key) {
9
9
  if (key in exports && exports[key] === _ComponentProps[key]) return;
10
10
  Object.defineProperty(exports, key, {
11
11
  enumerable: true,
12
- get: function get() {
12
+ get: function () {
13
13
  return _ComponentProps[key];
14
14
  }
15
15
  });
@@ -20,7 +20,7 @@ Object.keys(_Slots).forEach(function (key) {
20
20
  if (key in exports && exports[key] === _Slots[key]) return;
21
21
  Object.defineProperty(exports, key, {
22
22
  enumerable: true,
23
- get: function get() {
23
+ get: function () {
24
24
  return _Slots[key];
25
25
  }
26
26
  });
@@ -31,7 +31,7 @@ Object.keys(_ViewportRangeKeys).forEach(function (key) {
31
31
  if (key in exports && exports[key] === _ViewportRangeKeys[key]) return;
32
32
  Object.defineProperty(exports, key, {
33
33
  enumerable: true,
34
- get: function get() {
34
+ get: function () {
35
35
  return _ViewportRangeKeys[key];
36
36
  }
37
37
  });
@@ -5,19 +5,16 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.warning = exports.warn = void 0;
7
7
  function emptyFunction() {}
8
- var warn = exports.warn = process.env.NODE_ENV !== 'production' ? function warn(message) {
8
+ const warn = exports.warn = process.env.NODE_ENV !== 'production' ? function warn(message) {
9
9
  console.warn('Warning:', message);
10
10
  } : emptyFunction;
11
11
 
12
12
  // Inspired by warning by fbjs
13
13
  // @see https://github.com/facebook/fbjs/blob/main/packages/fbjs/src/__forks__/warning.js
14
- var warning = exports.warning = process.env.NODE_ENV !== 'production' ? function warning(condition, format) {
15
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
16
- args[_key - 2] = arguments[_key];
17
- }
14
+ const warning = exports.warning = process.env.NODE_ENV !== 'production' ? function warning(condition, format, ...args) {
18
15
  if (condition) {
19
- var index = 0;
20
- var message = format.replace(/%s/g, function () {
16
+ let index = 0;
17
+ const message = format.replace(/%s/g, () => {
21
18
  return args[index++];
22
19
  });
23
20
  warn(message);
package/build/index.js CHANGED
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Legacy", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Legacy.Legacy;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "Modern", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _Modern.Modern;
16
16
  }
17
17
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonarts/components",
3
- "version": "0.49.0",
3
+ "version": "0.49.1",
4
4
  "description": "Papillon Arts Components",
5
5
  "homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/components",
6
6
  "repository": {
@@ -26,8 +26,8 @@
26
26
  "build-release": "npm run build"
27
27
  },
28
28
  "dependencies": {
29
- "@papillonarts/css": "^0.49.0",
30
- "@papillonarts/library": "^0.49.0"
29
+ "@papillonarts/css": "^0.49.1",
30
+ "@papillonarts/library": "^0.49.1"
31
31
  },
32
- "gitHead": "73a2726fae9337d5f4aaf6577d9e7bbe5c894200"
32
+ "gitHead": "99aeb0ec52f96fcd66e8c4c6639e5e1265de6873"
33
33
  }