@sisense/sdk-shared-ui 1.27.1 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/dist/CheckableList-BLLCGCKX.cjs +1 -0
  2. package/dist/CheckableList-CC7iKnHq.js +21 -0
  3. package/dist/Checkbox-CrbGw8d7.js +513 -0
  4. package/dist/Checkbox-Dy9BTXfS.cjs +1 -0
  5. package/dist/DEPRECATED_Button-D2XS1y1r.cjs +1 -0
  6. package/dist/DEPRECATED_Button-m2ifXo3Q.js +87 -0
  7. package/dist/DEPRECATED_Checkbox-CYomxatm.cjs +1 -0
  8. package/dist/DEPRECATED_Checkbox-DWtXr5K7.js +63 -0
  9. package/dist/DEPRECATED_Icon-BQ4AqiI1.js +56 -0
  10. package/dist/DEPRECATED_Icon-iUszZb09.cjs +1 -0
  11. package/dist/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
  12. package/dist/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
  13. package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +2316 -0
  14. package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +27 -0
  15. package/dist/Dropdown-BtZZ4fY6.cjs +1 -0
  16. package/dist/Dropdown-BxoUPsca.js +231 -0
  17. package/dist/Icon-B1V-T6UH.cjs +1 -0
  18. package/dist/Icon-Cs6oGRgo.js +110 -0
  19. package/dist/Input-BghWSV2Z.js +119 -0
  20. package/dist/Input-Cd6a2FUC.cjs +1 -0
  21. package/dist/LazyLoader-DB86QSSx.js +18 -0
  22. package/dist/LazyLoader-gOLNhxc-.cjs +1 -0
  23. package/dist/Menu-BfAQOpHl.cjs +1 -0
  24. package/dist/Menu-C5wQnuq6.js +1212 -0
  25. package/dist/Popover-0n4kd3ut.js +49 -0
  26. package/dist/Popover-Bp5g_ws9.cjs +1 -0
  27. package/dist/RadioButton-BpAksn2s.js +70 -0
  28. package/dist/RadioButton-Ds-0wj0r.cjs +1 -0
  29. package/dist/SvgIcon-LwOuESoH.js +238 -0
  30. package/dist/SvgIcon-SnObJHZS.cjs +1 -0
  31. package/dist/TablePagination-B8I5QURH.js +7929 -0
  32. package/dist/TablePagination-DH0TZ21v.cjs +31 -0
  33. package/dist/ThemeProvider-aq1EWT1u.js +5041 -0
  34. package/dist/ThemeProvider-sqppyE-5.cjs +114 -0
  35. package/dist/Tooltip-Dokek6y8.cjs +7 -0
  36. package/dist/Tooltip-vVc6Lxew.js +2153 -0
  37. package/dist/TransitionGroupContext-BlR3HYBG.cjs +4 -0
  38. package/dist/TransitionGroupContext-Ci_clMyv.js +120 -0
  39. package/dist/Typography-C891hjk2.js +497 -0
  40. package/dist/Typography-vldQClJj.cjs +1 -0
  41. package/dist/align.interface-B17uA473.cjs +1 -0
  42. package/dist/align.interface-DdWsijrT.js +4 -0
  43. package/dist/assertThisInitialized-BSnhOY1M.cjs +1 -0
  44. package/dist/assertThisInitialized-lz6cHcRv.js +8 -0
  45. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  46. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  47. package/dist/createSvgIcon-CXJWSg3i.js +902 -0
  48. package/dist/createSvgIcon-DF4qzIJY.cjs +74 -0
  49. package/dist/extends-DX42hfxm.js +13 -0
  50. package/dist/extends-q0Hkx4pQ.cjs +1 -0
  51. package/dist/index-B-zZeebW.cjs +20 -0
  52. package/dist/index-D0lMis-I.js +667 -0
  53. package/dist/index.cjs +1 -0
  54. package/dist/index.d.ts +2 -0
  55. package/dist/index.d.ts.map +1 -0
  56. package/dist/lib/CheckableList/CheckableList.cjs +1 -0
  57. package/dist/lib/CheckableList/CheckableList.d.ts +16 -0
  58. package/dist/lib/CheckableList/CheckableList.d.ts.map +1 -0
  59. package/dist/lib/CheckableList/CheckableList.js +5 -0
  60. package/dist/lib/CheckableList/index.d.ts +4 -0
  61. package/dist/lib/CheckableList/index.d.ts.map +1 -0
  62. package/dist/lib/Checkbox/Checkbox.cjs +1 -0
  63. package/dist/lib/Checkbox/Checkbox.d.ts +20 -0
  64. package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -0
  65. package/dist/lib/Checkbox/Checkbox.js +5 -0
  66. package/dist/lib/Checkbox/index.d.ts +4 -0
  67. package/dist/lib/Checkbox/index.d.ts.map +1 -0
  68. package/dist/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
  69. package/dist/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
  70. package/{src/lib/Checkbox/themes/index.ts → dist/lib/Checkbox/themes/index.d.ts} +1 -0
  71. package/dist/lib/Checkbox/themes/index.d.ts.map +1 -0
  72. package/dist/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
  73. package/dist/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
  74. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
  75. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
  76. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
  77. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
  78. package/dist/lib/DEPRECATED_Button/index.d.ts +4 -0
  79. package/dist/lib/DEPRECATED_Button/index.d.ts.map +1 -0
  80. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
  81. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
  82. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
  83. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
  84. package/dist/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
  85. package/dist/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
  86. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
  87. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
  88. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
  89. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
  90. package/dist/lib/DEPRECATED_Icon/index.d.ts +4 -0
  91. package/dist/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
  92. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
  93. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
  94. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
  95. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
  96. package/dist/lib/DEPRECATED_Toggle/index.d.ts +4 -0
  97. package/dist/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
  98. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
  99. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
  100. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
  101. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
  102. package/dist/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
  103. package/dist/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
  104. package/dist/lib/Dropdown/Dropdown.cjs +1 -0
  105. package/dist/lib/Dropdown/Dropdown.d.ts +32 -0
  106. package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -0
  107. package/dist/lib/Dropdown/Dropdown.js +5 -0
  108. package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
  109. package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
  110. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
  111. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
  112. package/{src/lib/Dropdown/DropdownButton/DropdownButtonBody/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts} +1 -0
  113. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
  114. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
  115. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
  116. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
  117. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
  118. package/{src/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts} +1 -0
  119. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
  120. package/{src/lib/Dropdown/DropdownButton/hooks/index.tsx → dist/lib/Dropdown/DropdownButton/hooks/index.d.ts} +1 -0
  121. package/dist/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
  122. package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
  123. package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
  124. package/{src/lib/Dropdown/DropdownButton/index.ts → dist/lib/Dropdown/DropdownButton/index.d.ts} +1 -0
  125. package/dist/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
  126. package/{src/lib/Dropdown/hooks/index.tsx → dist/lib/Dropdown/hooks/index.d.ts} +1 -0
  127. package/dist/lib/Dropdown/hooks/index.d.ts.map +1 -0
  128. package/dist/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
  129. package/dist/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
  130. package/dist/lib/Dropdown/index.d.ts +5 -0
  131. package/dist/lib/Dropdown/index.d.ts.map +1 -0
  132. package/dist/lib/Dropdown/types.d.ts +12 -0
  133. package/dist/lib/Dropdown/types.d.ts.map +1 -0
  134. package/dist/lib/Icon/Icon.cjs +1 -0
  135. package/dist/lib/Icon/Icon.d.ts +13 -0
  136. package/dist/lib/Icon/Icon.d.ts.map +1 -0
  137. package/dist/lib/Icon/Icon.js +5 -0
  138. package/dist/lib/Icon/index.d.ts +4 -0
  139. package/dist/lib/Icon/index.d.ts.map +1 -0
  140. package/dist/lib/Icon/themes/iconTheme.d.ts +8 -0
  141. package/dist/lib/Icon/themes/iconTheme.d.ts.map +1 -0
  142. package/{src/lib/Icon/themes/index.ts → dist/lib/Icon/themes/index.d.ts} +1 -0
  143. package/dist/lib/Icon/themes/index.d.ts.map +1 -0
  144. package/dist/lib/Icon/themes/uiCustomization.d.ts +2 -0
  145. package/dist/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
  146. package/dist/lib/Input/Input.cjs +1 -0
  147. package/dist/lib/Input/Input.d.ts +28 -0
  148. package/dist/lib/Input/Input.d.ts.map +1 -0
  149. package/dist/lib/Input/Input.js +5 -0
  150. package/dist/lib/Input/index.d.ts +4 -0
  151. package/dist/lib/Input/index.d.ts.map +1 -0
  152. package/dist/lib/LazyLoader/LazyLoader.cjs +1 -0
  153. package/dist/lib/LazyLoader/LazyLoader.d.ts +9 -0
  154. package/dist/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
  155. package/dist/lib/LazyLoader/LazyLoader.js +5 -0
  156. package/dist/lib/LazyLoader/index.d.ts +4 -0
  157. package/dist/lib/LazyLoader/index.d.ts.map +1 -0
  158. package/dist/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
  159. package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
  160. package/{src/lib/Menu/Confirmation/index.ts → dist/lib/Menu/Confirmation/index.d.ts} +1 -0
  161. package/dist/lib/Menu/Confirmation/index.d.ts.map +1 -0
  162. package/dist/lib/Menu/Confirmation/translation.d.ts +2 -0
  163. package/dist/lib/Menu/Confirmation/translation.d.ts.map +1 -0
  164. package/dist/lib/Menu/Menu.cjs +1 -0
  165. package/dist/lib/Menu/Menu.d.ts +80 -0
  166. package/dist/lib/Menu/Menu.d.ts.map +1 -0
  167. package/dist/lib/Menu/Menu.js +8 -0
  168. package/dist/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
  169. package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
  170. package/{src/lib/Menu/MenuItem/index.ts → dist/lib/Menu/MenuItem/index.d.ts} +1 -0
  171. package/dist/lib/Menu/MenuItem/index.d.ts.map +1 -0
  172. package/{src/lib/Menu/index.ts → dist/lib/Menu/index.d.ts} +2 -2
  173. package/dist/lib/Menu/index.d.ts.map +1 -0
  174. package/dist/lib/Menu/utils.d.ts +6 -0
  175. package/dist/lib/Menu/utils.d.ts.map +1 -0
  176. package/dist/lib/Popover/Popover.cjs +1 -0
  177. package/dist/lib/Popover/Popover.d.ts +16 -0
  178. package/dist/lib/Popover/Popover.d.ts.map +1 -0
  179. package/dist/lib/Popover/Popover.js +7 -0
  180. package/dist/lib/Popover/align.interface.d.ts +23 -0
  181. package/dist/lib/Popover/align.interface.d.ts.map +1 -0
  182. package/{src/lib/Popover/index.ts → dist/lib/Popover/index.d.ts} +2 -2
  183. package/dist/lib/Popover/index.d.ts.map +1 -0
  184. package/dist/lib/RadioButton/RadioButton.cjs +1 -0
  185. package/dist/lib/RadioButton/RadioButton.d.ts +20 -0
  186. package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -0
  187. package/dist/lib/RadioButton/RadioButton.js +5 -0
  188. package/dist/lib/RadioButton/index.d.ts +4 -0
  189. package/dist/lib/RadioButton/index.d.ts.map +1 -0
  190. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
  191. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
  192. package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
  193. package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
  194. package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
  195. package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
  196. package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
  197. package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
  198. package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
  199. package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
  200. package/dist/lib/TablePagination/TablePagination.cjs +1 -0
  201. package/dist/lib/TablePagination/TablePagination.d.ts +19 -0
  202. package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -0
  203. package/dist/lib/TablePagination/TablePagination.js +5 -0
  204. package/dist/lib/TablePagination/TablePaginationContext.d.ts +3 -0
  205. package/dist/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
  206. package/dist/lib/TablePagination/index.d.ts +4 -0
  207. package/dist/lib/TablePagination/index.d.ts.map +1 -0
  208. package/{src/lib/TablePagination/themes/index.ts → dist/lib/TablePagination/themes/index.d.ts} +1 -0
  209. package/dist/lib/TablePagination/themes/index.d.ts.map +1 -0
  210. package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
  211. package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
  212. package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
  213. package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
  214. package/dist/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
  215. package/dist/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
  216. package/dist/lib/Tooltip/Tooltip.cjs +1 -0
  217. package/dist/lib/Tooltip/Tooltip.d.ts +10 -0
  218. package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -0
  219. package/dist/lib/Tooltip/Tooltip.js +7 -0
  220. package/{src/lib/Tooltip/index.ts → dist/lib/Tooltip/index.d.ts} +2 -2
  221. package/dist/lib/Tooltip/index.d.ts.map +1 -0
  222. package/{src/lib/Tooltip/themes/index.ts → dist/lib/Tooltip/themes/index.d.ts} +1 -0
  223. package/dist/lib/Tooltip/themes/index.d.ts.map +1 -0
  224. package/dist/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
  225. package/dist/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
  226. package/dist/lib/Typography/Typography.cjs +1 -0
  227. package/dist/lib/Typography/Typography.d.ts +11 -0
  228. package/dist/lib/Typography/Typography.d.ts.map +1 -0
  229. package/dist/lib/Typography/Typography.js +7 -0
  230. package/{src/lib/Typography/index.ts → dist/lib/Typography/index.d.ts} +2 -2
  231. package/dist/lib/Typography/index.d.ts.map +1 -0
  232. package/{src/lib/Typography/themes/index.ts → dist/lib/Typography/themes/index.d.ts} +1 -0
  233. package/dist/lib/Typography/themes/index.d.ts.map +1 -0
  234. package/dist/lib/Typography/themes/typographyTheme.d.ts +21 -0
  235. package/dist/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
  236. package/dist/lib/Typography/themes/uiCustomization.d.ts +2 -0
  237. package/dist/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
  238. package/dist/lib/constants/styleguideConstants.d.ts +9 -0
  239. package/dist/lib/constants/styleguideConstants.d.ts.map +1 -0
  240. package/{src/lib/index.ts → dist/lib/index.d.ts} +1 -0
  241. package/dist/lib/index.d.ts.map +1 -0
  242. package/{src/lib/themes/colors/index.ts → dist/lib/themes/colors/index.d.ts} +1 -0
  243. package/dist/lib/themes/colors/index.d.ts.map +1 -0
  244. package/dist/lib/themes/colors/siColors.d.ts +140 -0
  245. package/dist/lib/themes/colors/siColors.d.ts.map +1 -0
  246. package/{src/lib/themes/index.ts → dist/lib/themes/index.d.ts} +1 -0
  247. package/dist/lib/themes/index.d.ts.map +1 -0
  248. package/dist/lib/themes/themes.cjs +2 -0
  249. package/dist/lib/themes/themes.js +142 -0
  250. package/dist/lib/themes/types/SisenseTheme.d.ts +12 -0
  251. package/dist/lib/themes/types/SisenseTheme.d.ts.map +1 -0
  252. package/{src/lib/themes/types/index.ts → dist/lib/themes/types/index.d.ts} +1 -0
  253. package/dist/lib/themes/types/index.d.ts.map +1 -0
  254. package/dist/package.json +208 -0
  255. package/dist/setPrototypeOf-BmHXYjK5.cjs +1 -0
  256. package/dist/setPrototypeOf-CEtRTXk2.js +19 -0
  257. package/dist/styleguideConstants-CtXkvIZK.cjs +1 -0
  258. package/dist/styleguideConstants-D4Yls16w.js +11 -0
  259. package/dist/useSlot-BfQr8KCN.js +803 -0
  260. package/dist/useSlot-C3-OaWva.cjs +1 -0
  261. package/dist/useTheme-CtIZL8WJ.js +8 -0
  262. package/dist/useTheme-DJmNR5EL.cjs +1 -0
  263. package/package.json +4 -1
  264. package/.eslintignore +0 -4
  265. package/.prettierignore +0 -11
  266. package/.storybook/main.ts +0 -44
  267. package/.storybook/preview-head.html +0 -4
  268. package/.storybook/preview.tsx +0 -34
  269. package/src/index.ts +0 -1
  270. package/src/lib/@types/sass.d.ts +0 -19
  271. package/src/lib/CheckableList/CheckableList.module.scss +0 -13
  272. package/src/lib/CheckableList/CheckableList.test.tsx +0 -61
  273. package/src/lib/CheckableList/CheckableList.tsx +0 -41
  274. package/src/lib/CheckableList/index.ts +0 -4
  275. package/src/lib/Checkbox/Checkbox.tsx +0 -28
  276. package/src/lib/Checkbox/index.ts +0 -4
  277. package/src/lib/Checkbox/themes/checkboxTheme.ts +0 -42
  278. package/src/lib/Checkbox/themes/uiCustomization.ts +0 -28
  279. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.module.scss +0 -57
  280. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.stories.tsx +0 -169
  281. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.test.tsx +0 -154
  282. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.tsx +0 -129
  283. package/src/lib/DEPRECATED_Button/index.ts +0 -4
  284. package/src/lib/DEPRECATED_Checkbox/Checkbox.module.scss +0 -49
  285. package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.test.tsx +0 -131
  286. package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.tsx +0 -103
  287. package/src/lib/DEPRECATED_Checkbox/index.ts +0 -4
  288. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.module.scss +0 -7
  289. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.stories.tsx +0 -27
  290. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.test.tsx +0 -105
  291. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.tsx +0 -91
  292. package/src/lib/DEPRECATED_Icon/index.ts +0 -4
  293. package/src/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.tsx +0 -49
  294. package/src/lib/DEPRECATED_Toggle/index.ts +0 -4
  295. package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.module.scss +0 -115
  296. package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.tsx +0 -68
  297. package/src/lib/DEPRECATED_Tooltip/index.ts +0 -4
  298. package/src/lib/Dropdown/Dropdown.module.scss +0 -9
  299. package/src/lib/Dropdown/Dropdown.tsx +0 -150
  300. package/src/lib/Dropdown/DropdownButton/DropdownButton.module.scss +0 -49
  301. package/src/lib/Dropdown/DropdownButton/DropdownButton.tsx +0 -81
  302. package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.test.tsx +0 -121
  303. package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.tsx +0 -39
  304. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.module.scss +0 -20
  305. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.tsx +0 -44
  306. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.ts +0 -1
  307. package/src/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.ts +0 -51
  308. package/src/lib/Dropdown/hooks/useDropdown.ts +0 -29
  309. package/src/lib/Dropdown/index.ts +0 -5
  310. package/src/lib/Dropdown/types.ts +0 -17
  311. package/src/lib/Icon/Icon.tsx +0 -118
  312. package/src/lib/Icon/index.ts +0 -4
  313. package/src/lib/Icon/themes/iconTheme.tsx +0 -38
  314. package/src/lib/Icon/themes/uiCustomization.ts +0 -9
  315. package/src/lib/Input/Input.module.scss +0 -97
  316. package/src/lib/Input/Input.test.tsx +0 -177
  317. package/src/lib/Input/Input.tsx +0 -134
  318. package/src/lib/Input/index.ts +0 -4
  319. package/src/lib/LazyLoader/LazyLoader.module.scss +0 -18
  320. package/src/lib/LazyLoader/LazyLoader.tsx +0 -42
  321. package/src/lib/LazyLoader/index.ts +0 -4
  322. package/src/lib/Menu/Confirmation/Confirmation.module.scss +0 -48
  323. package/src/lib/Menu/Confirmation/Confirmation.tsx +0 -45
  324. package/src/lib/Menu/Confirmation/translation.ts +0 -17
  325. package/src/lib/Menu/Menu.module.scss +0 -178
  326. package/src/lib/Menu/Menu.tsx +0 -363
  327. package/src/lib/Menu/MenuItem/MenuItem.test.tsx +0 -241
  328. package/src/lib/Menu/MenuItem/MenuItem.tsx +0 -186
  329. package/src/lib/Menu/utils.ts +0 -13
  330. package/src/lib/Popover/Popover.module.scss +0 -15
  331. package/src/lib/Popover/Popover.tsx +0 -92
  332. package/src/lib/Popover/align.interface.ts +0 -20
  333. package/src/lib/RadioButton/RadioButton.module.scss +0 -22
  334. package/src/lib/RadioButton/RadioButton.tsx +0 -89
  335. package/src/lib/RadioButton/index.ts +0 -4
  336. package/src/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.tsx +0 -87
  337. package/src/lib/TablePagination/PaginationActionsComponent/index.ts +0 -4
  338. package/src/lib/TablePagination/PaginationActionsComponent/themes/index.ts +0 -4
  339. package/src/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.tsx +0 -70
  340. package/src/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.ts +0 -17
  341. package/src/lib/TablePagination/TablePagination.tsx +0 -148
  342. package/src/lib/TablePagination/TablePaginationContext.ts +0 -4
  343. package/src/lib/TablePagination/index.ts +0 -4
  344. package/src/lib/TablePagination/themes/tablePaginationResponsiveDesign.ts +0 -33
  345. package/src/lib/TablePagination/themes/tablePaginationTheme.tsx +0 -128
  346. package/src/lib/TablePagination/themes/uiCustomization.ts +0 -50
  347. package/src/lib/Tooltip/Tooltip.module.scss +0 -125
  348. package/src/lib/Tooltip/Tooltip.tsx +0 -34
  349. package/src/lib/Tooltip/themes/tooltipTheme.ts +0 -30
  350. package/src/lib/Typography/Typography.tsx +0 -28
  351. package/src/lib/Typography/themes/typographyTheme.tsx +0 -170
  352. package/src/lib/Typography/themes/uiCustomization.ts +0 -10
  353. package/src/lib/constants/styleguideConstants.ts +0 -8
  354. package/src/lib/styles/colors.module.scss +0 -10
  355. package/src/lib/styles/sisenseStyleguideReactColors.scss +0 -57
  356. package/src/lib/styles/style_styleguide_react/_variables.deprecated.scss +0 -107
  357. package/src/lib/styles/style_styleguide_react/_variables.scss +0 -100
  358. package/src/lib/styles/style_styleguide_react/base.scss +0 -9
  359. package/src/lib/styles/style_styleguide_react/colors.scss +0 -71
  360. package/src/lib/styles/style_styleguide_react/exports/colors.exports.scss +0 -69
  361. package/src/lib/styles/style_styleguide_react/exports/fonts.exports.scss +0 -33
  362. package/src/lib/styles/style_styleguide_react/fonts.scss +0 -27
  363. package/src/lib/styles/style_styleguide_react/mixins.scss +0 -90
  364. package/src/lib/themes/colors/siColors.ts +0 -143
  365. package/src/lib/themes/types/SisenseTheme.ts +0 -12
  366. package/tsconfig.eslint.json +0 -12
  367. package/tsconfig.json +0 -17
  368. package/tsconfig.lib.json +0 -22
  369. package/tsconfig.spec.json +0 -21
  370. package/vite.config.ts +0 -140
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),t=require("./DEPRECATED_Icon-iUszZb09.cjs"),l="CheckableList-module__item___Hs9v4",o="CheckableList-module__icon___1KLyd",c={item:l,icon:o},d=({items:a,className:n,onChange:i})=>s.jsx("div",{className:n,children:a.map(e=>s.jsxs("div",{className:c.item,onClick:()=>i(e.value),"data-testid":e.dataTestId,children:[s.jsx("span",{className:c.name,children:e.name}),e.checked&&s.jsx(t.DEPRECATED_Icon,{className:c.icon,name:"general-vi-small-white"})]},e.value))});exports.CheckableList=d;
@@ -0,0 +1,21 @@
1
+ import { jsx as s, jsxs as l } from "react/jsx-runtime";
2
+ import { D as t } from "./DEPRECATED_Icon-BQ4AqiI1.js";
3
+ const o = "CheckableList-module__item___Hs9v4", m = "CheckableList-module__icon___1KLyd", a = {
4
+ item: o,
5
+ icon: m
6
+ }, _ = ({ items: c, className: n, onChange: i }) => /* @__PURE__ */ s("div", { className: n, children: c.map((e) => /* @__PURE__ */ l(
7
+ "div",
8
+ {
9
+ className: a.item,
10
+ onClick: () => i(e.value),
11
+ "data-testid": e.dataTestId,
12
+ children: [
13
+ /* @__PURE__ */ s("span", { className: a.name, children: e.name }),
14
+ e.checked && /* @__PURE__ */ s(t, { className: a.icon, name: "general-vi-small-white" })
15
+ ]
16
+ },
17
+ e.value
18
+ )) });
19
+ export {
20
+ _ as C
21
+ };
@@ -0,0 +1,513 @@
1
+ import { jsxs as oe, jsx as a } from "react/jsx-runtime";
2
+ import * as S from "react";
3
+ import { forwardRef as te } from "react";
4
+ import { g as q, b as U, s as z, r as V, f as H, d as m, h as L, m as se, e as ne, n as M, a as ae, T as re } from "./ThemeProvider-aq1EWT1u.js";
5
+ import { P as e } from "./index-D0lMis-I.js";
6
+ import { B as ce, u as ie, c as O } from "./createSvgIcon-CXJWSg3i.js";
7
+ import { u as le, r as D } from "./TransitionGroupContext-Ci_clMyv.js";
8
+ import { c as N } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
9
+ import { siColors as E } from "./lib/themes/themes.js";
10
+ function de(o) {
11
+ return q("PrivateSwitchBase", o);
12
+ }
13
+ U("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
14
+ const pe = (o) => {
15
+ const {
16
+ classes: t,
17
+ checked: s,
18
+ disabled: n,
19
+ edge: r
20
+ } = o, l = {
21
+ root: ["root", s && "checked", n && "disabled", r && `edge${m(r)}`],
22
+ input: ["input"]
23
+ };
24
+ return L(l, de, t);
25
+ }, ue = z(ce)({
26
+ padding: 9,
27
+ borderRadius: "50%",
28
+ variants: [{
29
+ props: {
30
+ edge: "start",
31
+ size: "small"
32
+ },
33
+ style: {
34
+ marginLeft: -3
35
+ }
36
+ }, {
37
+ props: ({
38
+ edge: o,
39
+ ownerState: t
40
+ }) => o === "start" && t.size !== "small",
41
+ style: {
42
+ marginLeft: -12
43
+ }
44
+ }, {
45
+ props: {
46
+ edge: "end",
47
+ size: "small"
48
+ },
49
+ style: {
50
+ marginRight: -3
51
+ }
52
+ }, {
53
+ props: ({
54
+ edge: o,
55
+ ownerState: t
56
+ }) => o === "end" && t.size !== "small",
57
+ style: {
58
+ marginRight: -12
59
+ }
60
+ }]
61
+ }), fe = z("input", {
62
+ shouldForwardProp: V
63
+ })({
64
+ cursor: "inherit",
65
+ position: "absolute",
66
+ opacity: 0,
67
+ width: "100%",
68
+ height: "100%",
69
+ top: 0,
70
+ left: 0,
71
+ margin: 0,
72
+ padding: 0,
73
+ zIndex: 1
74
+ }), _ = /* @__PURE__ */ S.forwardRef(function(t, s) {
75
+ const {
76
+ autoFocus: n,
77
+ checked: r,
78
+ checkedIcon: l,
79
+ className: p,
80
+ defaultChecked: d,
81
+ disabled: k,
82
+ disableFocusRipple: C = !1,
83
+ edge: u = !1,
84
+ icon: g,
85
+ id: I,
86
+ inputProps: R,
87
+ inputRef: y,
88
+ name: v,
89
+ onBlur: f,
90
+ onChange: h,
91
+ onFocus: P,
92
+ readOnly: G,
93
+ required: J = !1,
94
+ tabIndex: K,
95
+ type: x,
96
+ value: F,
97
+ ...Q
98
+ } = t, [T, W] = le({
99
+ controlled: r,
100
+ default: !!d,
101
+ name: "SwitchBase",
102
+ state: "checked"
103
+ }), i = ie(), X = (c) => {
104
+ P && P(c), i && i.onFocus && i.onFocus(c);
105
+ }, Y = (c) => {
106
+ f && f(c), i && i.onBlur && i.onBlur(c);
107
+ }, Z = (c) => {
108
+ if (c.nativeEvent.defaultPrevented)
109
+ return;
110
+ const j = c.target.checked;
111
+ W(j), h && h(c, j);
112
+ };
113
+ let b = k;
114
+ i && typeof b > "u" && (b = i.disabled);
115
+ const ee = x === "checkbox" || x === "radio", B = {
116
+ ...t,
117
+ checked: T,
118
+ disabled: b,
119
+ disableFocusRipple: C,
120
+ edge: u
121
+ }, $ = pe(B);
122
+ return /* @__PURE__ */ oe(ue, {
123
+ component: "span",
124
+ className: H($.root, p),
125
+ centerRipple: !0,
126
+ focusRipple: !C,
127
+ disabled: b,
128
+ tabIndex: null,
129
+ role: void 0,
130
+ onFocus: X,
131
+ onBlur: Y,
132
+ ownerState: B,
133
+ ref: s,
134
+ ...Q,
135
+ children: [/* @__PURE__ */ a(fe, {
136
+ autoFocus: n,
137
+ checked: r,
138
+ defaultChecked: d,
139
+ className: $.input,
140
+ disabled: b,
141
+ id: ee ? I : void 0,
142
+ name: v,
143
+ onChange: Z,
144
+ readOnly: G,
145
+ ref: y,
146
+ required: J,
147
+ ownerState: B,
148
+ tabIndex: K,
149
+ type: x,
150
+ ...x === "checkbox" && F === void 0 ? {} : {
151
+ value: F
152
+ },
153
+ ...R
154
+ }), T ? l : g]
155
+ });
156
+ });
157
+ process.env.NODE_ENV !== "production" && (_.propTypes = {
158
+ /**
159
+ * If `true`, the `input` element is focused during the first mount.
160
+ */
161
+ autoFocus: e.bool,
162
+ /**
163
+ * If `true`, the component is checked.
164
+ */
165
+ checked: e.bool,
166
+ /**
167
+ * The icon to display when the component is checked.
168
+ */
169
+ checkedIcon: e.node.isRequired,
170
+ /**
171
+ * Override or extend the styles applied to the component.
172
+ */
173
+ classes: e.object,
174
+ /**
175
+ * @ignore
176
+ */
177
+ className: e.string,
178
+ /**
179
+ * @ignore
180
+ */
181
+ defaultChecked: e.bool,
182
+ /**
183
+ * If `true`, the component is disabled.
184
+ */
185
+ disabled: e.bool,
186
+ /**
187
+ * If `true`, the keyboard focus ripple is disabled.
188
+ * @default false
189
+ */
190
+ disableFocusRipple: e.bool,
191
+ /**
192
+ * If given, uses a negative margin to counteract the padding on one
193
+ * side (this is often helpful for aligning the left or right
194
+ * side of the icon with content above or below, without ruining the border
195
+ * size and shape).
196
+ * @default false
197
+ */
198
+ edge: e.oneOf(["end", "start", !1]),
199
+ /**
200
+ * The icon to display when the component is unchecked.
201
+ */
202
+ icon: e.node.isRequired,
203
+ /**
204
+ * The id of the `input` element.
205
+ */
206
+ id: e.string,
207
+ /**
208
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
209
+ */
210
+ inputProps: e.object,
211
+ /**
212
+ * Pass a ref to the `input` element.
213
+ */
214
+ inputRef: D,
215
+ /*
216
+ * @ignore
217
+ */
218
+ name: e.string,
219
+ /**
220
+ * @ignore
221
+ */
222
+ onBlur: e.func,
223
+ /**
224
+ * Callback fired when the state is changed.
225
+ *
226
+ * @param {object} event The event source of the callback.
227
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
228
+ */
229
+ onChange: e.func,
230
+ /**
231
+ * @ignore
232
+ */
233
+ onFocus: e.func,
234
+ /**
235
+ * It prevents the user from changing the value of the field
236
+ * (not from interacting with the field).
237
+ */
238
+ readOnly: e.bool,
239
+ /**
240
+ * If `true`, the `input` element is required.
241
+ */
242
+ required: e.bool,
243
+ /**
244
+ * The system prop that allows defining system overrides as well as additional CSS styles.
245
+ */
246
+ sx: e.object,
247
+ /**
248
+ * @ignore
249
+ */
250
+ tabIndex: e.oneOfType([e.number, e.string]),
251
+ /**
252
+ * The input component prop `type`.
253
+ */
254
+ type: e.string.isRequired,
255
+ /**
256
+ * The value of the component.
257
+ */
258
+ value: e.any
259
+ });
260
+ const he = O(/* @__PURE__ */ a("path", {
261
+ d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
262
+ }), "CheckBoxOutlineBlank"), be = O(/* @__PURE__ */ a("path", {
263
+ d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
264
+ }), "CheckBox"), me = O(/* @__PURE__ */ a("path", {
265
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
266
+ }), "IndeterminateCheckBox");
267
+ function ke(o) {
268
+ return q("MuiCheckbox", o);
269
+ }
270
+ const w = U("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Ce = (o) => {
271
+ const {
272
+ classes: t,
273
+ indeterminate: s,
274
+ color: n,
275
+ size: r
276
+ } = o, l = {
277
+ root: ["root", s && "indeterminate", `color${m(n)}`, `size${m(r)}`]
278
+ }, p = L(l, ke, t);
279
+ return {
280
+ ...t,
281
+ // forward the disabled and checked classes to the SwitchBase
282
+ ...p
283
+ };
284
+ }, ge = z(_, {
285
+ shouldForwardProp: (o) => V(o) || o === "classes",
286
+ name: "MuiCheckbox",
287
+ slot: "Root",
288
+ overridesResolver: (o, t) => {
289
+ const {
290
+ ownerState: s
291
+ } = o;
292
+ return [t.root, s.indeterminate && t.indeterminate, t[`size${m(s.size)}`], s.color !== "default" && t[`color${m(s.color)}`]];
293
+ }
294
+ })(se(({
295
+ theme: o
296
+ }) => ({
297
+ color: (o.vars || o).palette.text.secondary,
298
+ variants: [{
299
+ props: {
300
+ color: "default",
301
+ disableRipple: !1
302
+ },
303
+ style: {
304
+ "&:hover": {
305
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : M(o.palette.action.active, o.palette.action.hoverOpacity)
306
+ }
307
+ }
308
+ }, ...Object.entries(o.palette).filter(N()).map(([t]) => ({
309
+ props: {
310
+ color: t,
311
+ disableRipple: !1
312
+ },
313
+ style: {
314
+ "&:hover": {
315
+ backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : M(o.palette[t].main, o.palette.action.hoverOpacity)
316
+ }
317
+ }
318
+ })), ...Object.entries(o.palette).filter(N()).map(([t]) => ({
319
+ props: {
320
+ color: t
321
+ },
322
+ style: {
323
+ [`&.${w.checked}, &.${w.indeterminate}`]: {
324
+ color: (o.vars || o).palette[t].main
325
+ },
326
+ [`&.${w.disabled}`]: {
327
+ color: (o.vars || o).palette.action.disabled
328
+ }
329
+ }
330
+ })), {
331
+ // Should be last to override other colors
332
+ props: {
333
+ disableRipple: !1
334
+ },
335
+ style: {
336
+ // Reset on touch devices, it doesn't add specificity
337
+ "&:hover": {
338
+ "@media (hover: none)": {
339
+ backgroundColor: "transparent"
340
+ }
341
+ }
342
+ }
343
+ }]
344
+ }))), ye = /* @__PURE__ */ a(be, {}), ve = /* @__PURE__ */ a(he, {}), xe = /* @__PURE__ */ a(me, {}), A = /* @__PURE__ */ S.forwardRef(function(t, s) {
345
+ const n = ne({
346
+ props: t,
347
+ name: "MuiCheckbox"
348
+ }), {
349
+ checkedIcon: r = ye,
350
+ color: l = "primary",
351
+ icon: p = ve,
352
+ indeterminate: d = !1,
353
+ indeterminateIcon: k = xe,
354
+ inputProps: C,
355
+ size: u = "medium",
356
+ disableRipple: g = !1,
357
+ className: I,
358
+ ...R
359
+ } = n, y = d ? k : p, v = d ? k : r, f = {
360
+ ...n,
361
+ disableRipple: g,
362
+ color: l,
363
+ indeterminate: d,
364
+ size: u
365
+ }, h = Ce(f);
366
+ return /* @__PURE__ */ a(ge, {
367
+ type: "checkbox",
368
+ inputProps: {
369
+ "data-indeterminate": d,
370
+ ...C
371
+ },
372
+ icon: /* @__PURE__ */ S.cloneElement(y, {
373
+ fontSize: y.props.fontSize ?? u
374
+ }),
375
+ checkedIcon: /* @__PURE__ */ S.cloneElement(v, {
376
+ fontSize: v.props.fontSize ?? u
377
+ }),
378
+ ownerState: f,
379
+ ref: s,
380
+ className: H(h.root, I),
381
+ disableRipple: g,
382
+ ...R,
383
+ classes: h
384
+ });
385
+ });
386
+ process.env.NODE_ENV !== "production" && (A.propTypes = {
387
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
388
+ // │ These PropTypes are generated from the TypeScript type definitions. │
389
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
390
+ // └─────────────────────────────────────────────────────────────────────┘
391
+ /**
392
+ * If `true`, the component is checked.
393
+ */
394
+ checked: e.bool,
395
+ /**
396
+ * The icon to display when the component is checked.
397
+ * @default <CheckBoxIcon />
398
+ */
399
+ checkedIcon: e.node,
400
+ /**
401
+ * Override or extend the styles applied to the component.
402
+ */
403
+ classes: e.object,
404
+ /**
405
+ * @ignore
406
+ */
407
+ className: e.string,
408
+ /**
409
+ * The color of the component.
410
+ * It supports both default and custom theme colors, which can be added as shown in the
411
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
412
+ * @default 'primary'
413
+ */
414
+ color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
415
+ /**
416
+ * The default checked state. Use when the component is not controlled.
417
+ */
418
+ defaultChecked: e.bool,
419
+ /**
420
+ * If `true`, the component is disabled.
421
+ * @default false
422
+ */
423
+ disabled: e.bool,
424
+ /**
425
+ * If `true`, the ripple effect is disabled.
426
+ * @default false
427
+ */
428
+ disableRipple: e.bool,
429
+ /**
430
+ * The icon to display when the component is unchecked.
431
+ * @default <CheckBoxOutlineBlankIcon />
432
+ */
433
+ icon: e.node,
434
+ /**
435
+ * The id of the `input` element.
436
+ */
437
+ id: e.string,
438
+ /**
439
+ * If `true`, the component appears indeterminate.
440
+ * This does not set the native input element to indeterminate due
441
+ * to inconsistent behavior across browsers.
442
+ * However, we set a `data-indeterminate` attribute on the `input`.
443
+ * @default false
444
+ */
445
+ indeterminate: e.bool,
446
+ /**
447
+ * The icon to display when the component is indeterminate.
448
+ * @default <IndeterminateCheckBoxIcon />
449
+ */
450
+ indeterminateIcon: e.node,
451
+ /**
452
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
453
+ */
454
+ inputProps: e.object,
455
+ /**
456
+ * Pass a ref to the `input` element.
457
+ */
458
+ inputRef: D,
459
+ /**
460
+ * Callback fired when the state is changed.
461
+ *
462
+ * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
463
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
464
+ */
465
+ onChange: e.func,
466
+ /**
467
+ * If `true`, the `input` element is required.
468
+ * @default false
469
+ */
470
+ required: e.bool,
471
+ /**
472
+ * The size of the component.
473
+ * `small` is equivalent to the dense checkbox styling.
474
+ * @default 'medium'
475
+ */
476
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
477
+ /**
478
+ * The system prop that allows defining system overrides as well as additional CSS styles.
479
+ */
480
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
481
+ /**
482
+ * The value of the component. The DOM API casts this to a string.
483
+ * The browser uses "on" as the default value.
484
+ */
485
+ value: e.any
486
+ });
487
+ const Se = ae({
488
+ components: {
489
+ MuiCheckbox: {
490
+ styleOverrides: {
491
+ root: {
492
+ width: "28px",
493
+ height: "28px",
494
+ "&.Mui-disabled": {
495
+ opacity: 0.5
496
+ },
497
+ "&:hover": {
498
+ backgroundColor: E.StInteractionColors.defaultHover
499
+ },
500
+ "& .MuiSvgIcon-root": {
501
+ fontSize: 14,
502
+ fill: E.StUiColors.default
503
+ }
504
+ }
505
+ }
506
+ }
507
+ }
508
+ }), Te = te(
509
+ ({ theme: o = Se, dataTestId: t, ...s }, n) => /* @__PURE__ */ a(re, { theme: o, children: /* @__PURE__ */ a(A, { "data-testid": t, ref: n, ...s }) })
510
+ );
511
+ export {
512
+ Te as C
513
+ };
@@ -0,0 +1 @@
1
+ "use strict";const a=require("react/jsx-runtime"),N=require("react"),s=require("./ThemeProvider-sqppyE-5.cjs"),e=require("./index-B-zZeebW.cjs"),P=require("./createSvgIcon-DF4qzIJY.cjs"),O=require("./TransitionGroupContext-BlR3HYBG.cjs"),$=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),M=require("./lib/themes/themes.cjs");function Q(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const x=Q(N);function W(o){return s.generateUtilityClass("PrivateSwitchBase",o)}s.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const X=o=>{const{classes:t,checked:r,disabled:n,edge:c}=o,l={root:["root",r&&"checked",n&&"disabled",c&&`edge${s.capitalize(c)}`],input:["input"]};return s.composeClasses(l,W,t)},Y=s.styled(P.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:t})=>o==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:t})=>o==="end"&&t.size!=="small",style:{marginRight:-12}}]}),Z=s.styled("input",{shouldForwardProp:s.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),U=x.forwardRef(function(t,r){const{autoFocus:n,checked:c,checkedIcon:l,className:u,defaultChecked:d,disabled:T,disableFocusRipple:m=!1,edge:y=!1,icon:g,id:S,inputProps:I,inputRef:C,name:k,onBlur:f,onChange:h,onFocus:w,readOnly:E,required:_=!1,tabIndex:H,type:v,value:j,...D}=t,[B,L]=O.useControlled({controlled:c,default:!!d,name:"SwitchBase",state:"checked"}),p=P.useFormControl(),G=i=>{w&&w(i),p&&p.onFocus&&p.onFocus(i)},A=i=>{f&&f(i),p&&p.onBlur&&p.onBlur(i)},J=i=>{if(i.nativeEvent.defaultPrevented)return;const q=i.target.checked;L(q),h&&h(i,q)};let b=T;p&&typeof b>"u"&&(b=p.disabled);const K=v==="checkbox"||v==="radio",z={...t,checked:B,disabled:b,disableFocusRipple:m,edge:y},F=X(z);return a.jsxs(Y,{component:"span",className:s.clsx(F.root,u),centerRipple:!0,focusRipple:!m,disabled:b,tabIndex:null,role:void 0,onFocus:G,onBlur:A,ownerState:z,ref:r,...D,children:[a.jsx(Z,{autoFocus:n,checked:c,defaultChecked:d,className:F.input,disabled:b,id:K?S:void 0,name:k,onChange:J,readOnly:E,ref:C,required:_,ownerState:z,tabIndex:H,type:v,...v==="checkbox"&&j===void 0?{}:{value:j},...I}),B?l:g]})});process.env.NODE_ENV!=="production"&&(U.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:O.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});const ee=P.createSvgIcon(a.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),oe=P.createSvgIcon(a.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),te=P.createSvgIcon(a.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function se(o){return s.generateUtilityClass("MuiCheckbox",o)}const R=s.generateUtilityClasses("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),re=o=>{const{classes:t,indeterminate:r,color:n,size:c}=o,l={root:["root",r&&"indeterminate",`color${s.capitalize(n)}`,`size${s.capitalize(c)}`]},u=s.composeClasses(l,se,t);return{...t,...u}},ne=s.styled(U,{shouldForwardProp:o=>s.rootShouldForwardProp(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.indeterminate&&t.indeterminate,t[`size${s.capitalize(r.size)}`],r.color!=="default"&&t[`color${s.capitalize(r.color)}`]]}})(s.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette.action.active,o.palette.action.hoverOpacity)}}},...Object.entries(o.palette).filter($.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette[t].main,o.palette.action.hoverOpacity)}}})),...Object.entries(o.palette).filter($.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{[`&.${R.checked}, &.${R.indeterminate}`]:{color:(o.vars||o).palette[t].main},[`&.${R.disabled}`]:{color:(o.vars||o).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),ae=a.jsx(oe,{}),ce=a.jsx(ee,{}),ie=a.jsx(te,{}),V=x.forwardRef(function(t,r){const n=s.useDefaultProps({props:t,name:"MuiCheckbox"}),{checkedIcon:c=ae,color:l="primary",icon:u=ce,indeterminate:d=!1,indeterminateIcon:T=ie,inputProps:m,size:y="medium",disableRipple:g=!1,className:S,...I}=n,C=d?T:u,k=d?T:c,f={...n,disableRipple:g,color:l,indeterminate:d,size:y},h=re(f);return a.jsx(ne,{type:"checkbox",inputProps:{"data-indeterminate":d,...m},icon:x.cloneElement(C,{fontSize:C.props.fontSize??y}),checkedIcon:x.cloneElement(k,{fontSize:k.props.fontSize??y}),ownerState:f,ref:r,className:s.clsx(h.root,S),disableRipple:g,...I,classes:h})});process.env.NODE_ENV!=="production"&&(V.propTypes={checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,icon:e.PropTypes.node,id:e.PropTypes.string,indeterminate:e.PropTypes.bool,indeterminateIcon:e.PropTypes.node,inputProps:e.PropTypes.object,inputRef:O.refType,onChange:e.PropTypes.func,required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),value:e.PropTypes.any});const pe=s.createTheme$1({components:{MuiCheckbox:{styleOverrides:{root:{width:"28px",height:"28px","&.Mui-disabled":{opacity:.5},"&:hover":{backgroundColor:M.siColors.StInteractionColors.defaultHover},"& .MuiSvgIcon-root":{fontSize:14,fill:M.siColors.StUiColors.default}}}}}}),le=N.forwardRef(({theme:o=pe,dataTestId:t,...r},n)=>a.jsx(s.ThemeProvider,{theme:o,children:a.jsx(V,{"data-testid":t,ref:n,...r})}));exports.Checkbox=le;
@@ -0,0 +1 @@
1
+ "use strict";const o=require("react/jsx-runtime"),t=require("./index-B-zZeebW.cjs"),e=require("classnames"),C=require("./DEPRECATED_Icon-iUszZb09.cjs"),S="DEPRECATED_Button-module__sharedComponentsButton___wmUpf",j="DEPRECATED_Button-module__sharedComponentsButtonText___CsYPy",q="DEPRECATED_Button-module__btnSecondary___Ga6J-",a={sharedComponentsButton:S,sharedComponentsButtonText:j,btnSecondary:q},k=" ",r=T=>{const{allowDisabledTitle:b,className:_,disabled:n,hoverSuffix:c,iconClassName:y,iconName:i,transparent:P,text:s,trailingIconName:l,title:p,dark:E,gray:D,secondary:x,dataTestId:g,ariaLabel:h="button",...B}=T,N=e("btn",{"btn--disabled":n,"btn--transp":P,"btn--dark":E,"btn--icon":!s,"btn--gray":D,[a.btnSecondary]:x},a.sharedComponentsButton,_),d=e("btn__icon",y),m=i&&o.jsx(C.DEPRECATED_Icon,{className:d,name:i,disabled:n,hoverSuffix:c}),R=e("btn__text",a.sharedComponentsButtonText),u=s&&o.jsx("span",{className:R,children:s}),A=m&&u&&k,I=l&&o.jsx(C.DEPRECATED_Icon,{className:d,name:l,disabled:n,hoverSuffix:c}),f={disabled:n,title:p&&(!n||b)?p:void 0,...B};return o.jsxs("button",{...f,className:N,"data-testid":g,"aria-label":h,children:[m,A,u,I]})};r.propTypes={allowDisabledTitle:t.PropTypes.bool,className:t.PropTypes.string,disabled:t.PropTypes.bool,hoverSuffix:t.PropTypes.string,iconClassName:t.PropTypes.string,iconName:t.PropTypes.string,onClick:t.PropTypes.func.isRequired,text:t.PropTypes.string,title:t.PropTypes.string,trailingIconName:t.PropTypes.string,transparent:t.PropTypes.bool,dark:t.PropTypes.bool,gray:t.PropTypes.bool};r.defaultProps={allowDisabledTitle:!1};exports.DEPRECATED_Button=r;
@@ -0,0 +1,87 @@
1
+ import { jsxs as R, jsx as s } from "react/jsx-runtime";
2
+ import { P as t } from "./index-D0lMis-I.js";
3
+ import e from "classnames";
4
+ import { D as b } from "./DEPRECATED_Icon-BQ4AqiI1.js";
5
+ const k = "DEPRECATED_Button-module__sharedComponentsButton___wmUpf", w = "DEPRECATED_Button-module__sharedComponentsButtonText___CsYPy", v = "DEPRECATED_Button-module__btnSecondary___Ga6J-", a = {
6
+ sharedComponentsButton: k,
7
+ sharedComponentsButtonText: w,
8
+ btnSecondary: v
9
+ }, j = " ", C = (u) => {
10
+ const {
11
+ allowDisabledTitle: _,
12
+ className: E,
13
+ disabled: n,
14
+ hoverSuffix: r,
15
+ iconClassName: x,
16
+ iconName: l,
17
+ transparent: D,
18
+ text: o,
19
+ trailingIconName: i,
20
+ title: c,
21
+ dark: T,
22
+ gray: y,
23
+ secondary: g,
24
+ dataTestId: h,
25
+ ariaLabel: N = "button",
26
+ ...f
27
+ } = u, B = e(
28
+ "btn",
29
+ {
30
+ "btn--disabled": n,
31
+ "btn--transp": D,
32
+ "btn--dark": T,
33
+ "btn--icon": !o,
34
+ "btn--gray": y,
35
+ [a.btnSecondary]: g
36
+ },
37
+ a.sharedComponentsButton,
38
+ E
39
+ ), m = e("btn__icon", x), d = l && /* @__PURE__ */ s(
40
+ b,
41
+ {
42
+ className: m,
43
+ name: l,
44
+ disabled: n,
45
+ hoverSuffix: r
46
+ }
47
+ ), P = e("btn__text", a.sharedComponentsButtonText), p = o && /* @__PURE__ */ s("span", { className: P, children: o }), I = d && p && j, S = i && /* @__PURE__ */ s(
48
+ b,
49
+ {
50
+ className: m,
51
+ name: i,
52
+ disabled: n,
53
+ hoverSuffix: r
54
+ }
55
+ ), A = {
56
+ disabled: n,
57
+ title: c && (!n || _) ? c : void 0,
58
+ ...f
59
+ };
60
+ return /* @__PURE__ */ R("button", { ...A, className: B, "data-testid": h, "aria-label": N, children: [
61
+ d,
62
+ I,
63
+ p,
64
+ S
65
+ ] });
66
+ };
67
+ C.propTypes = {
68
+ allowDisabledTitle: t.bool,
69
+ className: t.string,
70
+ disabled: t.bool,
71
+ hoverSuffix: t.string,
72
+ iconClassName: t.string,
73
+ iconName: t.string,
74
+ onClick: t.func.isRequired,
75
+ text: t.string,
76
+ title: t.string,
77
+ trailingIconName: t.string,
78
+ transparent: t.bool,
79
+ dark: t.bool,
80
+ gray: t.bool
81
+ };
82
+ C.defaultProps = {
83
+ allowDisabledTitle: !1
84
+ };
85
+ export {
86
+ C as D
87
+ };
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),n=require("classnames"),D=require("./DEPRECATED_Icon-iUszZb09.cjs"),I="Checkbox-module__transparent___wi79A",v="Checkbox-module__icon___Hm4xR",P="Checkbox-module__disabled___sHRTv",R="Checkbox-module__sharedComponentsInputCheckbox___VU8jI",c={transparent:I,icon:v,disabled:P,sharedComponentsInputCheckbox:R},T=p=>{const{className:x,disabled:o,inline:_,text:d,textClassName:m,title:t,transparent:h,dataTestId:C,iconName:a,onDescriptionClick:i,inputCheckboxClassName:b,...k}=p,l={disabled:o,...k};t&&!o&&(l.title=t);const e="custom-checkbox",u=n(e,{"custom-checkbox--inline":_,[c.disabled]:o},x),N=n(`${e}__icon`,"app-icon app-icon--form-checkbox-mark",{[c.transparent]:h}),E=n(`${e}__text`,m),r=i?j=>{i(),j.preventDefault()}:void 0;return s.jsx("div",{className:u,children:s.jsxs("label",{className:`${e}__label`,children:[s.jsxs("div",{className:n(c.sharedComponentsInputCheckbox,b),children:[s.jsx("input",{type:"checkbox",className:`${e}__input`,"data-testid":C,...l}),s.jsx("span",{className:N,children:s.jsx("svg",{className:"app-icon__svg",children:s.jsx("use",{xlinkHref:"#form-checkbox-mark"})})})]}),a&&s.jsx(D.DEPRECATED_Icon,{name:a,className:c.icon,onClick:r}),s.jsx("span",{className:E,onClick:r,children:d})]})})};exports.DEPRECATED_Checkbox=T;