@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
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2025 MTS.
3
+ Copyright (c) 2026 MTS.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,4 @@
1
+ import type { IAlertDefault, IAlertVariant } from './Alert.type';
2
+ export declare const AlertVariant: IAlertVariant;
3
+ export declare const AlertDefault: IAlertDefault;
4
+ //# sourceMappingURL=Alert.const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.const.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEhE,eAAO,MAAM,YAAY,EAAE,aAQ1B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,aAU1B,CAAA"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AlertVariant = exports.AlertDefault = void 0;
7
+ const AlertVariant = exports.AlertVariant = {
8
+ Default: 'default',
9
+ Info: 'info',
10
+ Warning: 'warning',
11
+ Error: 'error',
12
+ Success: 'success',
13
+ Full: 'full',
14
+ Banner: 'banner'
15
+ };
16
+ const AlertDefault = exports.AlertDefault = {
17
+ DataTestId: {
18
+ default: 'default',
19
+ approve: 'approve',
20
+ cancel: 'cancel',
21
+ input: 'input'
22
+ },
23
+ ClassName: null,
24
+ Variant: AlertVariant.Default,
25
+ Consent: null
26
+ };
@@ -1,4 +1,4 @@
1
- import { JSX } from 'react';
2
- import { IAlert } from './Alert.type';
1
+ import type { JSX } from 'react';
2
+ import type { IAlert } from './Alert.type';
3
3
  export declare function Alert({ dataTestId, className, variant, children, consent, }: IAlert): JSX.Element;
4
4
  //# sourceMappingURL=Alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA8B,GAAG,EAAgC,MAAM,OAAO,CAAA;AAOrF,OAAO,EAA8B,MAAM,EAAE,MAAM,cAAc,CAAA;AAEjE,wBAAgB,KAAK,CAAC,EACpB,UAAoC,EACpC,SAAkC,EAClC,OAA8B,EAC9B,QAAQ,EACR,OAAO,GACR,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAsFtB"}
1
+ {"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAe,GAAG,EAAiB,MAAM,OAAO,CAAA;AAS5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAE1C,wBAAgB,KAAK,CAAC,EACpB,UAAoC,EACpC,SAAkC,EAClC,OAA8B,EAC9B,QAAQ,EACR,OAAO,GACR,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAsFtB"}
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.Alert = Alert;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
8
  var _margin = _interopRequireDefault(require("@papillonarts/css/utilities/margin.scss"));
11
9
  var _classnames = _interopRequireDefault(require("classnames"));
12
10
  var _react = require("react");
@@ -14,35 +12,37 @@ var _Button = require("../Button");
14
12
  var _Button2 = _interopRequireDefault(require("../Button/Button.scss"));
15
13
  var _Input = require("../Form/Input");
16
14
  var _Icon = require("../Icon");
17
- var _Icon2 = require("../Icon/Icon.type");
18
- var _Alert = _interopRequireDefault(require("./Alert.scss"));
19
- var _Alert2 = require("./Alert.type");
15
+ var _Icon2 = require("../Icon/Icon.const");
16
+ var _Alert = require("./Alert.const");
17
+ var _Alert2 = _interopRequireDefault(require("./Alert.scss"));
20
18
  var _jsxRuntime = require("react/jsx-runtime");
21
- function Alert(_ref) {
22
- var _consent$action3;
23
- var _ref$dataTestId = _ref.dataTestId,
24
- dataTestId = _ref$dataTestId === void 0 ? _Alert2.AlertDefault.DataTestId : _ref$dataTestId,
25
- _ref$className = _ref.className,
26
- className = _ref$className === void 0 ? _Alert2.AlertDefault.ClassName : _ref$className,
27
- _ref$variant = _ref.variant,
28
- variant = _ref$variant === void 0 ? _Alert2.AlertDefault.Variant : _ref$variant,
29
- children = _ref.children,
30
- consent = _ref.consent;
31
- var _useState = (0, _react.useState)(''),
32
- _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
33
- consentValue = _useState2[0],
34
- setConsentValue = _useState2[1];
19
+ function Alert({
20
+ dataTestId = _Alert.AlertDefault.DataTestId,
21
+ className = _Alert.AlertDefault.ClassName,
22
+ variant = _Alert.AlertDefault.Variant,
23
+ children,
24
+ consent
25
+ }) {
26
+ const [consentValue, setConsentValue] = (0, _react.useState)('');
35
27
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
36
- "data-testid": dataTestId === null || dataTestId === void 0 ? void 0 : dataTestId["default"],
28
+ "data-testid": dataTestId?.default,
37
29
  className: className,
38
30
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
39
- className: (0, _classnames["default"])(_Alert["default"]['flash-messages']),
31
+ className: (0, _classnames.default)(_Alert2.default['flash-messages']),
40
32
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
41
- className: (0, _classnames["default"])(_Alert["default"].flash, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _Alert["default"].flash, variant === _Alert2.AlertVariant.Default), _Alert["default"]['flash-info'], variant === _Alert2.AlertVariant.Info), _Alert["default"]['flash-warn'], variant === _Alert2.AlertVariant.Warning), _Alert["default"]['flash-error'], variant === _Alert2.AlertVariant.Error), _Alert["default"]['flash-success'], variant === _Alert2.AlertVariant.Success), _Alert["default"]['flash-full'], variant === _Alert2.AlertVariant.Full), _Alert["default"]['flash-banner'], variant === _Alert2.AlertVariant.Banner)),
33
+ className: (0, _classnames.default)(_Alert2.default.flash, {
34
+ [_Alert2.default.flash]: variant === _Alert.AlertVariant.Default,
35
+ [_Alert2.default['flash-info']]: variant === _Alert.AlertVariant.Info,
36
+ [_Alert2.default['flash-warn']]: variant === _Alert.AlertVariant.Warning,
37
+ [_Alert2.default['flash-error']]: variant === _Alert.AlertVariant.Error,
38
+ [_Alert2.default['flash-success']]: variant === _Alert.AlertVariant.Success,
39
+ [_Alert2.default['flash-full']]: variant === _Alert.AlertVariant.Full,
40
+ [_Alert2.default['flash-banner']]: variant === _Alert.AlertVariant.Banner
41
+ }),
42
42
  children: [consent && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
43
43
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
44
- dataTestId: dataTestId === null || dataTestId === void 0 ? void 0 : dataTestId.cancel,
45
- className: (0, _classnames["default"])(_Button2["default"].btn, _Button2["default"]['btn-sm'], _Button2["default"].primary, _Alert["default"]['flash-action']),
44
+ dataTestId: dataTestId?.cancel,
45
+ className: (0, _classnames.default)(_Button2.default.btn, _Button2.default['btn-sm'], _Button2.default.primary, _Alert2.default['flash-action']),
46
46
  text: "Cancel",
47
47
  icon: {
48
48
  name: _Icon2.IconName.XCircleFill16,
@@ -50,14 +50,13 @@ function Alert(_ref) {
50
50
  },
51
51
  variant: _Button.ButtonVariant.Default,
52
52
  inputType: _Button.ButtonInputType.Submit,
53
- onClick: function onClick() {
54
- var _consent$action;
55
- consent === null || consent === void 0 || (_consent$action = consent.action) === null || _consent$action === void 0 || _consent$action.cancel();
53
+ onClick: () => {
54
+ consent?.action?.cancel();
56
55
  setConsentValue('');
57
56
  }
58
57
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
59
- dataTestId: dataTestId === null || dataTestId === void 0 ? void 0 : dataTestId.approve,
60
- className: (0, _classnames["default"])(_Button2["default"].btn, _Button2["default"]['btn-sm'], _Button2["default"].primary, _Alert["default"]['flash-action']),
58
+ dataTestId: dataTestId?.approve,
59
+ className: (0, _classnames.default)(_Button2.default.btn, _Button2.default['btn-sm'], _Button2.default.primary, _Alert2.default['flash-action']),
61
60
  text: "Approve",
62
61
  icon: {
63
62
  name: _Icon2.IconName.CheckCircleFill16,
@@ -65,48 +64,47 @@ function Alert(_ref) {
65
64
  },
66
65
  variant: _Button.ButtonVariant.Primary,
67
66
  inputType: _Button.ButtonInputType.Submit,
68
- autoFocus: consent !== null && consent !== void 0 && consent.hasInput ? false : true // eslint-disable-line
67
+ autoFocus: consent?.hasInput ? false : true // eslint-disable-line
69
68
  ,
70
- onClick: consent !== null && consent !== void 0 && consent.hasInput ? function () {
69
+ onClick: consent?.hasInput ? () => {
71
70
  if (consentValue !== '') {
72
- var _consent$action2;
73
- consent === null || consent === void 0 || (_consent$action2 = consent.action) === null || _consent$action2 === void 0 || _consent$action2.approve(consentValue);
71
+ consent?.action?.approve(consentValue);
74
72
  setConsentValue('');
75
73
  }
76
- } : consent === null || consent === void 0 || (_consent$action3 = consent.action) === null || _consent$action3 === void 0 ? void 0 : _consent$action3.approve
74
+ } : consent?.action?.approve
77
75
  })]
78
- }), variant === _Alert2.AlertVariant.Info && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
79
- className: (_margin["default"]['mr-2'], _Alert["default"].octicon),
76
+ }), variant === _Alert.AlertVariant.Info && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
77
+ className: (_margin.default['mr-2'], _Alert2.default.octicon),
80
78
  icon: _Icon2.IconName.Info16,
81
79
  size: _Icon.IconSize.Small
82
- }), variant === _Alert2.AlertVariant.Warning && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
83
- className: (_margin["default"]['mr-2'], _Alert["default"].octicon),
80
+ }), variant === _Alert.AlertVariant.Warning && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
81
+ className: (_margin.default['mr-2'], _Alert2.default.octicon),
84
82
  icon: _Icon2.IconName.Alert16,
85
83
  size: _Icon.IconSize.Small
86
- }), variant === _Alert2.AlertVariant.Error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
87
- className: (_margin["default"]['mr-2'], _Alert["default"].octicon),
84
+ }), variant === _Alert.AlertVariant.Error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
85
+ className: (_margin.default['mr-2'], _Alert2.default.octicon),
88
86
  icon: _Icon2.IconName.XCircle16,
89
87
  size: _Icon.IconSize.Small
90
- }), variant === _Alert2.AlertVariant.Success && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
91
- className: _margin["default"]['mr-2'],
88
+ }), variant === _Alert.AlertVariant.Success && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
89
+ className: _margin.default['mr-2'],
92
90
  icon: _Icon2.IconName.CheckCircle16,
93
91
  size: _Icon.IconSize.Small
94
92
  }), consent && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
95
- className: (_margin["default"]['mr-2'], _Alert["default"].octicon),
93
+ className: (_margin.default['mr-2'], _Alert2.default.octicon),
96
94
  icon: _Icon2.IconName.Question16,
97
95
  size: _Icon.IconSize.Small
98
- }), children, (consent === null || consent === void 0 ? void 0 : consent.hasInput) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.Input, {
99
- dataTestId: dataTestId === null || dataTestId === void 0 ? void 0 : dataTestId.input,
100
- className: _Alert["default"]['flash-action'],
96
+ }), children, consent?.hasInput && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Input.Input, {
97
+ dataTestId: dataTestId?.input,
98
+ className: _Alert2.default['flash-action'],
101
99
  value: consentValue,
102
100
  placeholder: "",
103
101
  ariaAttr: {
104
102
  label: ''
105
103
  },
106
- onChange: function onChange(event) {
104
+ onChange: event => {
107
105
  setConsentValue(event.target.value);
108
106
  },
109
- onKeyUp: function onKeyUp(event) {
107
+ onKeyUp: event => {
110
108
  setConsentValue(event.target.value);
111
109
  },
112
110
  autoFocus: true // eslint-disable-line
@@ -8,14 +8,12 @@ export interface IAlertVariant {
8
8
  Full: string;
9
9
  Banner: string;
10
10
  }
11
- export declare const AlertVariant: IAlertVariant;
12
11
  export interface IAlertDefault {
13
12
  DataTestId: IAlertDataTestId;
14
13
  ClassName: string | null;
15
14
  Variant: string;
16
15
  Consent: string | null;
17
16
  }
18
- export declare const AlertDefault: IAlertDefault;
19
17
  export interface IAlertConsentAction {
20
18
  approve?: (value?: string) => void;
21
19
  cancel?: (value?: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"Alert.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,YAAY,EAAE,aAQ1B,CAAA;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,gBAAgB,CAAA;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AAED,eAAO,MAAM,YAAY,EAAE,aAU1B,CAAA;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,mBAAmB,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAGD,MAAM,WAAW,MAAM;IACrB,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,CAAC,EAAE,aAAa,CAAA;CACxB"}
1
+ {"version":3,"file":"Alert.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/Alert.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;CACf;AACD,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,gBAAgB,CAAA;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AACD,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AACD,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,mBAAmB,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AACD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AACD,MAAM,WAAW,MAAM;IACrB,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,CAAC,EAAE,aAAa,CAAA;CACxB"}
@@ -2,27 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- exports.AlertVariant = exports.AlertDefault = void 0;
7
- var AlertVariant = exports.AlertVariant = {
8
- Default: 'default',
9
- Info: 'info',
10
- Warning: 'warning',
11
- Error: 'error',
12
- Success: 'success',
13
- Full: 'full',
14
- Banner: 'banner'
15
- };
16
- var AlertDefault = exports.AlertDefault = {
17
- DataTestId: {
18
- "default": 'default',
19
- approve: 'approve',
20
- cancel: 'cancel',
21
- input: 'input'
22
- },
23
- ClassName: null,
24
- Variant: AlertVariant.Default,
25
- Consent: null
26
- };
27
-
28
- // https://react.dev/learn/typescript#typing-children
5
+ });
@@ -1,4 +1,4 @@
1
1
  export { Alert } from './Alert';
2
- export { AlertVariant } from './Alert.type';
2
+ export { AlertVariant } from './Alert.const';
3
3
  export type { IAlert, IAlertConsent, IAlertConsentAction, IAlertDataTestId } from './Alert.type';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA"}
@@ -5,15 +5,15 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Alert", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Alert.Alert;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "AlertVariant", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _Alert2.AlertVariant;
16
16
  }
17
17
  });
18
18
  var _Alert = require("./Alert");
19
- var _Alert2 = require("./Alert.type");
19
+ var _Alert2 = require("./Alert.const");
@@ -0,0 +1,4 @@
1
+ import type { IBlankslateDefault, IBlankslateVariant } from './Blankslate.type';
2
+ export declare const BlankslateVariant: IBlankslateVariant;
3
+ export declare const BlankslateDefault: IBlankslateDefault;
4
+ //# sourceMappingURL=Blankslate.const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Blankslate.const.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAE/E,eAAO,MAAM,iBAAiB,EAAE,kBAM/B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,kBAI/B,CAAA"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.BlankslateVariant = exports.BlankslateDefault = void 0;
7
+ const BlankslateVariant = exports.BlankslateVariant = {
8
+ Default: 'default',
9
+ Narrow: 'narrow',
10
+ Capped: 'capped',
11
+ Spacious: 'spacious',
12
+ Large: 'large'
13
+ };
14
+ const BlankslateDefault = exports.BlankslateDefault = {
15
+ ClassName: null,
16
+ Variant: BlankslateVariant.Default,
17
+ HasCleanBackground: false
18
+ };
@@ -1,4 +1,4 @@
1
1
  import type { JSX } from 'react';
2
- import { IBlankslate } from './Blankslate.type';
2
+ import type { IBlankslate } from './Blankslate.type';
3
3
  export declare function Blankslate({ className, heading, text, variant, hasCleanBackground, }: IBlankslate): JSX.Element;
4
4
  //# sourceMappingURL=Blankslate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Blankslate.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAEhC,OAAO,EAAwC,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAErF,wBAAgB,UAAU,CAAC,EACzB,SAAuC,EACvC,OAAO,EACP,IAAI,EACJ,OAAmC,EACnC,kBAAyD,GAC1D,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CAe3B"}
1
+ {"version":3,"file":"Blankslate.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAGhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEpD,wBAAgB,UAAU,CAAC,EACzB,SAAuC,EACvC,OAAO,EACP,IAAI,EACJ,OAAmC,EACnC,kBAAyD,GAC1D,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CAe3B"}
@@ -1,26 +1,29 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.Blankslate = Blankslate;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
8
  var _classnames = _interopRequireDefault(require("classnames"));
10
- var _Blankslate = _interopRequireDefault(require("./Blankslate.scss"));
11
- var _Blankslate2 = require("./Blankslate.type");
9
+ var _Blankslate = require("./Blankslate.const");
10
+ var _Blankslate2 = _interopRequireDefault(require("./Blankslate.scss"));
12
11
  var _jsxRuntime = require("react/jsx-runtime");
13
- function Blankslate(_ref) {
14
- var _ref$className = _ref.className,
15
- className = _ref$className === void 0 ? _Blankslate2.BlankslateDefault.ClassName : _ref$className,
16
- heading = _ref.heading,
17
- text = _ref.text,
18
- _ref$variant = _ref.variant,
19
- variant = _ref$variant === void 0 ? _Blankslate2.BlankslateDefault.Variant : _ref$variant,
20
- _ref$hasCleanBackgrou = _ref.hasCleanBackground,
21
- hasCleanBackground = _ref$hasCleanBackgrou === void 0 ? _Blankslate2.BlankslateDefault.HasCleanBackground : _ref$hasCleanBackgrou;
12
+ function Blankslate({
13
+ className = _Blankslate.BlankslateDefault.ClassName,
14
+ heading,
15
+ text,
16
+ variant = _Blankslate.BlankslateDefault.Variant,
17
+ hasCleanBackground = _Blankslate.BlankslateDefault.HasCleanBackground
18
+ }) {
22
19
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
23
- className: (0, _classnames["default"])(className, _Blankslate["default"].blankslate, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])({}, _Blankslate["default"]['blankslate-narrow'], variant === _Blankslate2.BlankslateVariant.Narrow), _Blankslate["default"]['blankslate-capped'], variant === _Blankslate2.BlankslateVariant.Capped === true), _Blankslate["default"]['blankslate-spacious'], variant === _Blankslate2.BlankslateVariant.Spacious), _Blankslate["default"]['blankslate-large'], variant === _Blankslate2.BlankslateVariant.Large), _Blankslate["default"]['blankslate-clean-background'], hasCleanBackground === true)),
20
+ className: (0, _classnames.default)(className, _Blankslate2.default.blankslate, {
21
+ [_Blankslate2.default['blankslate-narrow']]: variant === _Blankslate.BlankslateVariant.Narrow,
22
+ [_Blankslate2.default['blankslate-capped']]: variant === _Blankslate.BlankslateVariant.Capped === true,
23
+ [_Blankslate2.default['blankslate-spacious']]: variant === _Blankslate.BlankslateVariant.Spacious,
24
+ [_Blankslate2.default['blankslate-large']]: variant === _Blankslate.BlankslateVariant.Large,
25
+ [_Blankslate2.default['blankslate-clean-background']]: hasCleanBackground === true
26
+ }),
24
27
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("h3", {
25
28
  children: heading
26
29
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
@@ -5,13 +5,11 @@ export interface IBlankslateVariant {
5
5
  Spacious: string;
6
6
  Large: string;
7
7
  }
8
- export declare const BlankslateVariant: IBlankslateVariant;
9
8
  export interface IBlankslateDefault {
10
9
  ClassName: string | null;
11
10
  Variant: string;
12
11
  HasCleanBackground: boolean;
13
12
  }
14
- export declare const BlankslateDefault: IBlankslateDefault;
15
13
  export interface IBlankslate {
16
14
  className?: string | null;
17
15
  heading: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Blankslate.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,iBAAiB,EAAE,kBAM/B,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,kBAAkB,EAAE,OAAO,CAAA;CAC5B;AAED,eAAO,MAAM,iBAAiB,EAAE,kBAI/B,CAAA;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B"}
1
+ {"version":3,"file":"Blankslate.type.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/Blankslate.type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd;AACD,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,kBAAkB,EAAE,OAAO,CAAA;CAC5B;AACD,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B"}
@@ -2,17 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- exports.BlankslateVariant = exports.BlankslateDefault = void 0;
7
- var BlankslateVariant = exports.BlankslateVariant = {
8
- Default: 'default',
9
- Narrow: 'narrow',
10
- Capped: 'capped',
11
- Spacious: 'spacious',
12
- Large: 'large'
13
- };
14
- var BlankslateDefault = exports.BlankslateDefault = {
15
- ClassName: null,
16
- Variant: BlankslateVariant.Default,
17
- HasCleanBackground: false
18
- };
5
+ });
@@ -1,3 +1,3 @@
1
1
  export { Blankslate } from './Blankslate';
2
- export { BlankslateVariant } from './Blankslate.type';
2
+ export { BlankslateVariant } from './Blankslate.const';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Blankslate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -5,15 +5,15 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  Object.defineProperty(exports, "Blankslate", {
7
7
  enumerable: true,
8
- get: function get() {
8
+ get: function () {
9
9
  return _Blankslate.Blankslate;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "BlankslateVariant", {
13
13
  enumerable: true,
14
- get: function get() {
14
+ get: function () {
15
15
  return _Blankslate2.BlankslateVariant;
16
16
  }
17
17
  });
18
18
  var _Blankslate = require("./Blankslate");
19
- var _Blankslate2 = require("./Blankslate.type");
19
+ var _Blankslate2 = require("./Blankslate.const");
@@ -0,0 +1,4 @@
1
+ import type { IBreadcrumbDefault, IBreadcrumbState } from './Breadcrumb.type';
2
+ export declare const BreadcrumbState: IBreadcrumbState;
3
+ export declare const BreadcrumbDefault: IBreadcrumbDefault;
4
+ //# sourceMappingURL=Breadcrumb.const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Breadcrumb.const.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Breadcrumb/Breadcrumb.const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAE7E,eAAO,MAAM,eAAe,EAAE,gBAG7B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,kBAG/B,CAAA"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.BreadcrumbState = exports.BreadcrumbDefault = void 0;
7
+ const BreadcrumbState = exports.BreadcrumbState = {
8
+ Active: 'active',
9
+ Inactive: 'inactive'
10
+ };
11
+ const BreadcrumbDefault = exports.BreadcrumbDefault = {
12
+ ClassName: null,
13
+ State: BreadcrumbState.Active
14
+ };
@@ -1,4 +1,4 @@
1
1
  import type { JSX } from 'react';
2
- import { IBreadcrumb } from './Breadcrumb.type';
2
+ import type { IBreadcrumb } from './Breadcrumb.type';
3
3
  export declare function Breadcrumb({ className, ariaAttr, items, onClick, state, }: IBreadcrumb): JSX.Element;
4
4
  //# sourceMappingURL=Breadcrumb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAGhC,OAAO,EAAsC,WAAW,EAAuB,MAAM,mBAAmB,CAAA;AAExG,wBAAgB,UAAU,CAAC,EACzB,SAAuC,EACvC,QAAQ,EACR,KAAK,EACL,OAAO,EACP,KAA+B,GAChC,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CA6C3B"}
1
+ {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/Legacy/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAIhC,OAAO,KAAK,EAAE,WAAW,EAAuB,MAAM,mBAAmB,CAAA;AAEzE,wBAAgB,UAAU,CAAC,EACzB,SAAuC,EACvC,QAAQ,EACR,KAAK,EACL,OAAO,EACP,KAA+B,GAChC,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CA6C3B"}