@czi-sds/components 15.3.0 → 15.4.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 (513) hide show
  1. package/dist/index.cjs.d.ts +132 -80
  2. package/dist/index.cjs.js +926 -734
  3. package/dist/index.esm.d.ts +132 -80
  4. package/dist/index.esm.js +928 -737
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/package.json +2 -2
  7. package/dist/src/common/helpers/scrollStop.d.ts +0 -8
  8. package/dist/src/common/helpers/scrollStop.js +0 -54
  9. package/dist/src/common/storybookConstants.d.ts +0 -3
  10. package/dist/src/common/storybookConstants.js +0 -2
  11. package/dist/src/common/utils.d.ts +0 -2
  12. package/dist/src/common/utils.js +0 -9
  13. package/dist/src/common/warnings.d.ts +0 -10
  14. package/dist/src/common/warnings.js +0 -60
  15. package/dist/src/common/warnings.test.d.ts +0 -1
  16. package/dist/src/common/warnings.test.js +0 -19
  17. package/dist/src/core/Accordion/Accordion.namespace-test.d.ts +0 -1
  18. package/dist/src/core/Accordion/Accordion.namespace-test.js +0 -18
  19. package/dist/src/core/Accordion/__snapshots__/index.test.js.snap +0 -64
  20. package/dist/src/core/Accordion/components/AccordionDetails/index.d.ts +0 -3
  21. package/dist/src/core/Accordion/components/AccordionDetails/index.js +0 -9
  22. package/dist/src/core/Accordion/components/AccordionDetails/style.d.ts +0 -2
  23. package/dist/src/core/Accordion/components/AccordionDetails/style.js +0 -16
  24. package/dist/src/core/Accordion/components/AccordionHeader/index.d.ts +0 -7
  25. package/dist/src/core/Accordion/components/AccordionHeader/index.js +0 -13
  26. package/dist/src/core/Accordion/components/AccordionHeader/style.d.ts +0 -27
  27. package/dist/src/core/Accordion/components/AccordionHeader/style.js +0 -21
  28. package/dist/src/core/Accordion/index.d.ts +0 -12
  29. package/dist/src/core/Accordion/index.js +0 -38
  30. package/dist/src/core/Accordion/index.stories.d.ts +0 -28
  31. package/dist/src/core/Accordion/index.stories.js +0 -82
  32. package/dist/src/core/Accordion/index.test.d.ts +0 -1
  33. package/dist/src/core/Accordion/index.test.js +0 -58
  34. package/dist/src/core/Accordion/style.d.ts +0 -30
  35. package/dist/src/core/Accordion/style.js +0 -28
  36. package/dist/src/core/Alert/index.d.ts +0 -7
  37. package/dist/src/core/Alert/index.js +0 -22
  38. package/dist/src/core/Alert/index.stories.d.ts +0 -19
  39. package/dist/src/core/Alert/index.stories.js +0 -70
  40. package/dist/src/core/Alert/style.d.ts +0 -1
  41. package/dist/src/core/Alert/style.js +0 -23
  42. package/dist/src/core/Banner/Banner.namespace-test.d.ts +0 -1
  43. package/dist/src/core/Banner/Banner.namespace-test.js +0 -18
  44. package/dist/src/core/Banner/banner.test.d.ts +0 -1
  45. package/dist/src/core/Banner/banner.test.js +0 -126
  46. package/dist/src/core/Banner/index.d.ts +0 -11
  47. package/dist/src/core/Banner/index.js +0 -47
  48. package/dist/src/core/Banner/index.stories.d.ts +0 -46
  49. package/dist/src/core/Banner/index.stories.js +0 -106
  50. package/dist/src/core/Banner/style.d.ts +0 -13
  51. package/dist/src/core/Banner/style.js +0 -55
  52. package/dist/src/core/Button/Button.namespace-test.d.ts +0 -1
  53. package/dist/src/core/Button/Button.namespace-test.js +0 -18
  54. package/dist/src/core/Button/index.d.ts +0 -18
  55. package/dist/src/core/Button/index.js +0 -54
  56. package/dist/src/core/Button/index.stories.d.ts +0 -72
  57. package/dist/src/core/Button/index.stories.js +0 -215
  58. package/dist/src/core/Button/index.test.d.ts +0 -1
  59. package/dist/src/core/Button/index.test.js +0 -40
  60. package/dist/src/core/Button/style.d.ts +0 -180
  61. package/dist/src/core/Button/style.js +0 -59
  62. package/dist/src/core/ButtonDropdown/ButtonDropdown.namespace-test.d.ts +0 -1
  63. package/dist/src/core/ButtonDropdown/ButtonDropdown.namespace-test.js +0 -18
  64. package/dist/src/core/ButtonDropdown/index.d.ts +0 -18
  65. package/dist/src/core/ButtonDropdown/index.js +0 -30
  66. package/dist/src/core/ButtonDropdown/index.stories.d.ts +0 -35
  67. package/dist/src/core/ButtonDropdown/index.stories.js +0 -79
  68. package/dist/src/core/ButtonDropdown/index.test.d.ts +0 -1
  69. package/dist/src/core/ButtonDropdown/index.test.js +0 -41
  70. package/dist/src/core/ButtonIcon/ButtonIcon.namespace-test.d.ts +0 -1
  71. package/dist/src/core/ButtonIcon/ButtonIcon.namespace-test.js +0 -18
  72. package/dist/src/core/ButtonIcon/index.d.ts +0 -15
  73. package/dist/src/core/ButtonIcon/index.js +0 -34
  74. package/dist/src/core/ButtonIcon/index.stories.d.ts +0 -39
  75. package/dist/src/core/ButtonIcon/index.stories.js +0 -239
  76. package/dist/src/core/ButtonIcon/index.test.d.ts +0 -1
  77. package/dist/src/core/ButtonIcon/index.test.js +0 -41
  78. package/dist/src/core/ButtonIcon/style.d.ts +0 -41
  79. package/dist/src/core/ButtonIcon/style.js +0 -68
  80. package/dist/src/core/Callout/Callout.namespace-test.d.ts +0 -1
  81. package/dist/src/core/Callout/Callout.namespace-test.js +0 -18
  82. package/dist/src/core/Callout/components/CalloutTitle/index.d.ts +0 -3
  83. package/dist/src/core/Callout/components/CalloutTitle/index.js +0 -9
  84. package/dist/src/core/Callout/components/CalloutTitle/style.d.ts +0 -1
  85. package/dist/src/core/Callout/components/CalloutTitle/style.js +0 -16
  86. package/dist/src/core/Callout/index.d.ts +0 -18
  87. package/dist/src/core/Callout/index.js +0 -89
  88. package/dist/src/core/Callout/index.stories.d.ts +0 -14
  89. package/dist/src/core/Callout/index.stories.js +0 -80
  90. package/dist/src/core/Callout/style.d.ts +0 -7
  91. package/dist/src/core/Callout/style.js +0 -31
  92. package/dist/src/core/CellBasic/CellBasic.namespace-test.d.ts +0 -1
  93. package/dist/src/core/CellBasic/CellBasic.namespace-test.js +0 -7
  94. package/dist/src/core/CellBasic/index.d.ts +0 -21
  95. package/dist/src/core/CellBasic/index.js +0 -32
  96. package/dist/src/core/CellBasic/index.stories.d.ts +0 -33
  97. package/dist/src/core/CellBasic/index.stories.js +0 -143
  98. package/dist/src/core/CellBasic/index.test.d.ts +0 -1
  99. package/dist/src/core/CellBasic/index.test.js +0 -124
  100. package/dist/src/core/CellBasic/style.d.ts +0 -18
  101. package/dist/src/core/CellBasic/style.js +0 -86
  102. package/dist/src/core/CellComponent/CellComponent.namespace-test.d.ts +0 -1
  103. package/dist/src/core/CellComponent/CellComponent.namespace-test.js +0 -7
  104. package/dist/src/core/CellComponent/index.d.ts +0 -8
  105. package/dist/src/core/CellComponent/index.js +0 -21
  106. package/dist/src/core/CellComponent/index.stories.d.ts +0 -21
  107. package/dist/src/core/CellComponent/index.stories.js +0 -92
  108. package/dist/src/core/CellComponent/index.test.d.ts +0 -1
  109. package/dist/src/core/CellComponent/index.test.js +0 -110
  110. package/dist/src/core/CellComponent/style.d.ts +0 -9
  111. package/dist/src/core/CellComponent/style.js +0 -32
  112. package/dist/src/core/CellHeader/CellHeader.namespace-test.d.ts +0 -1
  113. package/dist/src/core/CellHeader/CellHeader.namespace-test.js +0 -8
  114. package/dist/src/core/CellHeader/index.d.ts +0 -20
  115. package/dist/src/core/CellHeader/index.js +0 -47
  116. package/dist/src/core/CellHeader/index.stories.d.ts +0 -26
  117. package/dist/src/core/CellHeader/index.stories.js +0 -128
  118. package/dist/src/core/CellHeader/index.test.d.ts +0 -1
  119. package/dist/src/core/CellHeader/index.test.js +0 -112
  120. package/dist/src/core/CellHeader/style.d.ts +0 -9
  121. package/dist/src/core/CellHeader/style.js +0 -50
  122. package/dist/src/core/Chip/index.d.ts +0 -9
  123. package/dist/src/core/Chip/index.js +0 -29
  124. package/dist/src/core/Chip/index.stories.d.ts +0 -58
  125. package/dist/src/core/Chip/index.stories.js +0 -90
  126. package/dist/src/core/Chip/style.d.ts +0 -26
  127. package/dist/src/core/Chip/style.js +0 -95
  128. package/dist/src/core/ComplexFilter/ComplexFilter.namespace-test.d.ts +0 -1
  129. package/dist/src/core/ComplexFilter/ComplexFilter.namespace-test.js +0 -20
  130. package/dist/src/core/ComplexFilter/components/Chips/index.d.ts +0 -8
  131. package/dist/src/core/ComplexFilter/components/Chips/index.js +0 -21
  132. package/dist/src/core/ComplexFilter/index.d.ts +0 -23
  133. package/dist/src/core/ComplexFilter/index.js +0 -119
  134. package/dist/src/core/ComplexFilter/index.stories.d.ts +0 -33
  135. package/dist/src/core/ComplexFilter/index.stories.js +0 -126
  136. package/dist/src/core/ComplexFilter/index.test.d.ts +0 -1
  137. package/dist/src/core/ComplexFilter/index.test.js +0 -51
  138. package/dist/src/core/ComplexFilter/style.d.ts +0 -3
  139. package/dist/src/core/ComplexFilter/style.js +0 -15
  140. package/dist/src/core/Dialog/Dialog.namespace-test.d.ts +0 -1
  141. package/dist/src/core/Dialog/Dialog.namespace-test.js +0 -8
  142. package/dist/src/core/Dialog/__snapshots__/index.test.js.snap +0 -382
  143. package/dist/src/core/Dialog/components/common.d.ts +0 -6
  144. package/dist/src/core/Dialog/components/common.js +0 -5
  145. package/dist/src/core/Dialog/index.d.ts +0 -18
  146. package/dist/src/core/Dialog/index.js +0 -50
  147. package/dist/src/core/Dialog/index.stories.d.ts +0 -46
  148. package/dist/src/core/Dialog/index.stories.js +0 -147
  149. package/dist/src/core/Dialog/index.test.d.ts +0 -1
  150. package/dist/src/core/Dialog/index.test.js +0 -62
  151. package/dist/src/core/DialogActions/index.d.ts +0 -9
  152. package/dist/src/core/DialogActions/index.js +0 -23
  153. package/dist/src/core/DialogActions/style.d.ts +0 -5
  154. package/dist/src/core/DialogActions/style.js +0 -20
  155. package/dist/src/core/DialogContent/index.d.ts +0 -5
  156. package/dist/src/core/DialogContent/index.js +0 -23
  157. package/dist/src/core/DialogContent/style.d.ts +0 -1
  158. package/dist/src/core/DialogContent/style.js +0 -11
  159. package/dist/src/core/DialogPaper/index.d.ts +0 -8
  160. package/dist/src/core/DialogPaper/index.js +0 -27
  161. package/dist/src/core/DialogPaper/style.d.ts +0 -16
  162. package/dist/src/core/DialogPaper/style.js +0 -44
  163. package/dist/src/core/DialogTitle/components/CloseButton/index.d.ts +0 -5
  164. package/dist/src/core/DialogTitle/components/CloseButton/index.js +0 -31
  165. package/dist/src/core/DialogTitle/components/CloseButton/style.d.ts +0 -2
  166. package/dist/src/core/DialogTitle/components/CloseButton/style.js +0 -18
  167. package/dist/src/core/DialogTitle/index.d.ts +0 -14
  168. package/dist/src/core/DialogTitle/index.js +0 -42
  169. package/dist/src/core/DialogTitle/style.d.ts +0 -46
  170. package/dist/src/core/DialogTitle/style.js +0 -20
  171. package/dist/src/core/Dropdown/Dropdown.namespace-test.d.ts +0 -1
  172. package/dist/src/core/Dropdown/Dropdown.namespace-test.js +0 -20
  173. package/dist/src/core/Dropdown/index.d.ts +0 -31
  174. package/dist/src/core/Dropdown/index.js +0 -160
  175. package/dist/src/core/Dropdown/index.stories.d.ts +0 -68
  176. package/dist/src/core/Dropdown/index.stories.js +0 -215
  177. package/dist/src/core/Dropdown/index.test.d.ts +0 -1
  178. package/dist/src/core/Dropdown/index.test.js +0 -229
  179. package/dist/src/core/Dropdown/style.d.ts +0 -5
  180. package/dist/src/core/Dropdown/style.js +0 -19
  181. package/dist/src/core/DropdownMenu/DropdownMenu.namespace-test.d.ts +0 -1
  182. package/dist/src/core/DropdownMenu/DropdownMenu.namespace-test.js +0 -20
  183. package/dist/src/core/DropdownMenu/GITHUB_LABELS.d.ts +0 -2
  184. package/dist/src/core/DropdownMenu/GITHUB_LABELS.js +0 -83
  185. package/dist/src/core/DropdownMenu/index.d.ts +0 -42
  186. package/dist/src/core/DropdownMenu/index.js +0 -83
  187. package/dist/src/core/DropdownMenu/index.stories.d.ts +0 -55
  188. package/dist/src/core/DropdownMenu/index.stories.js +0 -438
  189. package/dist/src/core/DropdownMenu/index.test.d.ts +0 -1
  190. package/dist/src/core/DropdownMenu/index.test.js +0 -51
  191. package/dist/src/core/DropdownMenu/style.d.ts +0 -40
  192. package/dist/src/core/DropdownMenu/style.js +0 -85
  193. package/dist/src/core/Icon/Icon.namespace-test.d.ts +0 -1
  194. package/dist/src/core/Icon/Icon.namespace-test.js +0 -7
  195. package/dist/src/core/Icon/index.d.ts +0 -14
  196. package/dist/src/core/Icon/index.js +0 -25
  197. package/dist/src/core/Icon/index.stories.d.ts +0 -34
  198. package/dist/src/core/Icon/index.stories.js +0 -171
  199. package/dist/src/core/Icon/map.d.ts +0 -98
  200. package/dist/src/core/Icon/map.js +0 -476
  201. package/dist/src/core/Icon/style.d.ts +0 -36
  202. package/dist/src/core/Icon/style.js +0 -42
  203. package/dist/src/core/InputCheckbox/InputCheckbox.namespace-test.d.ts +0 -1
  204. package/dist/src/core/InputCheckbox/InputCheckbox.namespace-test.js +0 -9
  205. package/dist/src/core/InputCheckbox/index.d.ts +0 -13
  206. package/dist/src/core/InputCheckbox/index.js +0 -55
  207. package/dist/src/core/InputCheckbox/index.stories.d.ts +0 -35
  208. package/dist/src/core/InputCheckbox/index.stories.js +0 -119
  209. package/dist/src/core/InputCheckbox/index.test.d.ts +0 -1
  210. package/dist/src/core/InputCheckbox/index.test.js +0 -62
  211. package/dist/src/core/InputCheckbox/styles.d.ts +0 -6
  212. package/dist/src/core/InputCheckbox/styles.js +0 -24
  213. package/dist/src/core/InputDropdown/InputDropdown.namespace-test.d.ts +0 -1
  214. package/dist/src/core/InputDropdown/InputDropdown.namespace-test.js +0 -8
  215. package/dist/src/core/InputDropdown/index.d.ts +0 -8
  216. package/dist/src/core/InputDropdown/index.js +0 -83
  217. package/dist/src/core/InputDropdown/index.stories.d.ts +0 -59
  218. package/dist/src/core/InputDropdown/index.stories.js +0 -264
  219. package/dist/src/core/InputDropdown/index.test.d.ts +0 -1
  220. package/dist/src/core/InputDropdown/index.test.js +0 -58
  221. package/dist/src/core/InputDropdown/style.d.ts +0 -38
  222. package/dist/src/core/InputDropdown/style.js +0 -130
  223. package/dist/src/core/InputRadio/InputRadio.namespace-test.d.ts +0 -1
  224. package/dist/src/core/InputRadio/InputRadio.namespace-test.js +0 -8
  225. package/dist/src/core/InputRadio/index.d.ts +0 -14
  226. package/dist/src/core/InputRadio/index.js +0 -40
  227. package/dist/src/core/InputRadio/index.stories.d.ts +0 -32
  228. package/dist/src/core/InputRadio/index.stories.js +0 -64
  229. package/dist/src/core/InputRadio/index.test.d.ts +0 -1
  230. package/dist/src/core/InputRadio/index.test.js +0 -92
  231. package/dist/src/core/InputRadio/style.d.ts +0 -6
  232. package/dist/src/core/InputRadio/style.js +0 -24
  233. package/dist/src/core/InputSearch/InputSearch.namespace-test.d.ts +0 -1
  234. package/dist/src/core/InputSearch/InputSearch.namespace-test.js +0 -8
  235. package/dist/src/core/InputSearch/index.d.ts +0 -16
  236. package/dist/src/core/InputSearch/index.js +0 -75
  237. package/dist/src/core/InputSearch/index.stories.d.ts +0 -35
  238. package/dist/src/core/InputSearch/index.stories.js +0 -104
  239. package/dist/src/core/InputSearch/index.test.d.ts +0 -1
  240. package/dist/src/core/InputSearch/index.test.js +0 -70
  241. package/dist/src/core/InputSearch/style.d.ts +0 -12
  242. package/dist/src/core/InputSearch/style.js +0 -47
  243. package/dist/src/core/InputSlider/InputSlider.namespace-test.d.ts +0 -1
  244. package/dist/src/core/InputSlider/InputSlider.namespace-test.js +0 -7
  245. package/dist/src/core/InputSlider/__snapshots__/index.test.js.snap +0 -124
  246. package/dist/src/core/InputSlider/index.d.ts +0 -8
  247. package/dist/src/core/InputSlider/index.js +0 -23
  248. package/dist/src/core/InputSlider/index.stories.d.ts +0 -43
  249. package/dist/src/core/InputSlider/index.stories.js +0 -160
  250. package/dist/src/core/InputSlider/index.test.d.ts +0 -1
  251. package/dist/src/core/InputSlider/index.test.js +0 -52
  252. package/dist/src/core/InputSlider/style.d.ts +0 -76
  253. package/dist/src/core/InputSlider/style.js +0 -34
  254. package/dist/src/core/InputText/InputText.namespace-test.d.ts +0 -1
  255. package/dist/src/core/InputText/InputText.namespace-test.js +0 -7
  256. package/dist/src/core/InputText/__snapshots__/index.test.js.snap +0 -10
  257. package/dist/src/core/InputText/index.d.ts +0 -14
  258. package/dist/src/core/InputText/index.js +0 -52
  259. package/dist/src/core/InputText/index.stories.d.ts +0 -29
  260. package/dist/src/core/InputText/index.stories.js +0 -100
  261. package/dist/src/core/InputText/index.test.d.ts +0 -1
  262. package/dist/src/core/InputText/index.test.js +0 -67
  263. package/dist/src/core/InputText/style.d.ts +0 -13
  264. package/dist/src/core/InputText/style.js +0 -45
  265. package/dist/src/core/InputToggle/InputToggle.namespace-test.d.ts +0 -1
  266. package/dist/src/core/InputToggle/InputToggle.namespace-test.js +0 -7
  267. package/dist/src/core/InputToggle/__snapshots__/index.test.js.snap +0 -26
  268. package/dist/src/core/InputToggle/index.d.ts +0 -7
  269. package/dist/src/core/InputToggle/index.js +0 -42
  270. package/dist/src/core/InputToggle/index.stories.d.ts +0 -20
  271. package/dist/src/core/InputToggle/index.stories.js +0 -63
  272. package/dist/src/core/InputToggle/index.test.d.ts +0 -1
  273. package/dist/src/core/InputToggle/index.test.js +0 -52
  274. package/dist/src/core/InputToggle/style.d.ts +0 -9
  275. package/dist/src/core/InputToggle/style.js +0 -38
  276. package/dist/src/core/Link/Link.namespace-test.d.ts +0 -1
  277. package/dist/src/core/Link/Link.namespace-test.js +0 -7
  278. package/dist/src/core/Link/index.d.ts +0 -8
  279. package/dist/src/core/Link/index.js +0 -28
  280. package/dist/src/core/Link/index.stories.d.ts +0 -27
  281. package/dist/src/core/Link/index.stories.js +0 -99
  282. package/dist/src/core/Link/style.d.ts +0 -9
  283. package/dist/src/core/Link/style.js +0 -30
  284. package/dist/src/core/List/List.namespace-test.d.ts +0 -1
  285. package/dist/src/core/List/List.namespace-test.js +0 -7
  286. package/dist/src/core/List/index.d.ts +0 -8
  287. package/dist/src/core/List/index.js +0 -23
  288. package/dist/src/core/List/index.stories.d.ts +0 -4
  289. package/dist/src/core/List/index.stories.js +0 -30
  290. package/dist/src/core/List/style.d.ts +0 -17
  291. package/dist/src/core/List/style.js +0 -33
  292. package/dist/src/core/ListItem/ListItem.namespace-test.d.ts +0 -1
  293. package/dist/src/core/ListItem/ListItem.namespace-test.js +0 -7
  294. package/dist/src/core/ListItem/index.d.ts +0 -9
  295. package/dist/src/core/ListItem/index.js +0 -24
  296. package/dist/src/core/ListItem/style.d.ts +0 -26
  297. package/dist/src/core/ListItem/style.js +0 -56
  298. package/dist/src/core/ListSubheader/ListSubheader.namespace-test.d.ts +0 -1
  299. package/dist/src/core/ListSubheader/ListSubheader.namespace-test.js +0 -7
  300. package/dist/src/core/ListSubheader/index.d.ts +0 -7
  301. package/dist/src/core/ListSubheader/index.js +0 -22
  302. package/dist/src/core/ListSubheader/style.d.ts +0 -12
  303. package/dist/src/core/ListSubheader/style.js +0 -16
  304. package/dist/src/core/LoadingIndicator/LoadingIndicator.namespace-test.d.ts +0 -1
  305. package/dist/src/core/LoadingIndicator/LoadingIndicator.namespace-test.js +0 -7
  306. package/dist/src/core/LoadingIndicator/index.d.ts +0 -4
  307. package/dist/src/core/LoadingIndicator/index.js +0 -13
  308. package/dist/src/core/LoadingIndicator/index.stories.d.ts +0 -24
  309. package/dist/src/core/LoadingIndicator/index.stories.js +0 -77
  310. package/dist/src/core/LoadingIndicator/index.test.d.ts +0 -1
  311. package/dist/src/core/LoadingIndicator/index.test.js +0 -41
  312. package/dist/src/core/LoadingIndicator/style.d.ts +0 -7
  313. package/dist/src/core/LoadingIndicator/style.js +0 -36
  314. package/dist/src/core/Menu/Menu.namespace-test.d.ts +0 -1
  315. package/dist/src/core/Menu/Menu.namespace-test.js +0 -8
  316. package/dist/src/core/Menu/index.d.ts +0 -7
  317. package/dist/src/core/Menu/index.js +0 -30
  318. package/dist/src/core/Menu/index.stories.d.ts +0 -17
  319. package/dist/src/core/Menu/index.stories.js +0 -55
  320. package/dist/src/core/Menu/style.d.ts +0 -1
  321. package/dist/src/core/Menu/style.js +0 -15
  322. package/dist/src/core/MenuItem/MenuItem.namespace-test.d.ts +0 -1
  323. package/dist/src/core/MenuItem/MenuItem.namespace-test.js +0 -8
  324. package/dist/src/core/MenuItem/index.d.ts +0 -21
  325. package/dist/src/core/MenuItem/index.js +0 -42
  326. package/dist/src/core/MenuItem/index.stories.d.ts +0 -35
  327. package/dist/src/core/MenuItem/index.stories.js +0 -188
  328. package/dist/src/core/MenuItem/index.test.d.ts +0 -1
  329. package/dist/src/core/MenuItem/index.test.js +0 -41
  330. package/dist/src/core/MenuItem/style.d.ts +0 -65
  331. package/dist/src/core/MenuItem/style.js +0 -58
  332. package/dist/src/core/MenuSelect/index.d.ts +0 -19
  333. package/dist/src/core/MenuSelect/index.js +0 -70
  334. package/dist/src/core/MenuSelect/index.stories.d.ts +0 -34
  335. package/dist/src/core/MenuSelect/index.stories.js +0 -154
  336. package/dist/src/core/MenuSelect/style.d.ts +0 -12
  337. package/dist/src/core/MenuSelect/style.js +0 -45
  338. package/dist/src/core/NavigationJumpTo/NavigationJumpTo.namespace-test.d.ts +0 -1
  339. package/dist/src/core/NavigationJumpTo/NavigationJumpTo.namespace-test.js +0 -13
  340. package/dist/src/core/NavigationJumpTo/__snapshots__/index.test.js.snap +0 -319
  341. package/dist/src/core/NavigationJumpTo/index.d.ts +0 -13
  342. package/dist/src/core/NavigationJumpTo/index.js +0 -122
  343. package/dist/src/core/NavigationJumpTo/index.stories.d.ts +0 -56
  344. package/dist/src/core/NavigationJumpTo/index.stories.js +0 -218
  345. package/dist/src/core/NavigationJumpTo/index.test.d.ts +0 -1
  346. package/dist/src/core/NavigationJumpTo/index.test.js +0 -87
  347. package/dist/src/core/NavigationJumpTo/style.d.ts +0 -106
  348. package/dist/src/core/NavigationJumpTo/style.js +0 -27
  349. package/dist/src/core/NavigationJumpTo/useIntersection.d.ts +0 -19
  350. package/dist/src/core/NavigationJumpTo/useIntersection.js +0 -67
  351. package/dist/src/core/Notification/Notification.namespace-test.d.ts +0 -1
  352. package/dist/src/core/Notification/Notification.namespace-test.js +0 -8
  353. package/dist/src/core/Notification/index.d.ts +0 -17
  354. package/dist/src/core/Notification/index.js +0 -70
  355. package/dist/src/core/Notification/index.stories.d.ts +0 -43
  356. package/dist/src/core/Notification/index.stories.js +0 -186
  357. package/dist/src/core/Notification/index.test.d.ts +0 -1
  358. package/dist/src/core/Notification/index.test.js +0 -115
  359. package/dist/src/core/Notification/style.d.ts +0 -1
  360. package/dist/src/core/Notification/style.js +0 -26
  361. package/dist/src/core/Pagination/Pagination.namespace-test.d.ts +0 -1
  362. package/dist/src/core/Pagination/Pagination.namespace-test.js +0 -8
  363. package/dist/src/core/Pagination/components/PageListDropdown/index.d.ts +0 -7
  364. package/dist/src/core/Pagination/components/PageListDropdown/index.js +0 -27
  365. package/dist/src/core/Pagination/components/PageListDropdown/style.d.ts +0 -1
  366. package/dist/src/core/Pagination/components/PageListDropdown/style.js +0 -14
  367. package/dist/src/core/Pagination/index.d.ts +0 -15
  368. package/dist/src/core/Pagination/index.js +0 -47
  369. package/dist/src/core/Pagination/index.stories.d.ts +0 -21
  370. package/dist/src/core/Pagination/index.stories.js +0 -99
  371. package/dist/src/core/Pagination/index.test.d.ts +0 -1
  372. package/dist/src/core/Pagination/index.test.js +0 -128
  373. package/dist/src/core/Pagination/style.d.ts +0 -13
  374. package/dist/src/core/Pagination/style.js +0 -62
  375. package/dist/src/core/Pagination/usePagination.d.ts +0 -9
  376. package/dist/src/core/Pagination/usePagination.js +0 -69
  377. package/dist/src/core/SegmentedControl/SegmentedControl.namespace-test.d.ts +0 -1
  378. package/dist/src/core/SegmentedControl/SegmentedControl.namespace-test.js +0 -12
  379. package/dist/src/core/SegmentedControl/index.d.ts +0 -15
  380. package/dist/src/core/SegmentedControl/index.js +0 -38
  381. package/dist/src/core/SegmentedControl/index.stories.d.ts +0 -49
  382. package/dist/src/core/SegmentedControl/index.stories.js +0 -128
  383. package/dist/src/core/SegmentedControl/index.test.d.ts +0 -1
  384. package/dist/src/core/SegmentedControl/index.test.js +0 -41
  385. package/dist/src/core/SegmentedControl/style.d.ts +0 -2
  386. package/dist/src/core/SegmentedControl/style.js +0 -23
  387. package/dist/src/core/Table/Table.namespace-test.d.ts +0 -1
  388. package/dist/src/core/Table/Table.namespace-test.js +0 -7
  389. package/dist/src/core/Table/components/common.d.ts +0 -6
  390. package/dist/src/core/Table/components/common.js +0 -5
  391. package/dist/src/core/Table/index.d.ts +0 -7
  392. package/dist/src/core/Table/index.js +0 -21
  393. package/dist/src/core/Table/index.stories.d.ts +0 -18
  394. package/dist/src/core/Table/index.stories.js +0 -64
  395. package/dist/src/core/Table/index.test.d.ts +0 -1
  396. package/dist/src/core/Table/index.test.js +0 -89
  397. package/dist/src/core/Table/style.d.ts +0 -2
  398. package/dist/src/core/Table/style.js +0 -10
  399. package/dist/src/core/TableHeader/TableHeader.namespace-test.d.ts +0 -1
  400. package/dist/src/core/TableHeader/TableHeader.namespace-test.js +0 -7
  401. package/dist/src/core/TableHeader/index.d.ts +0 -6
  402. package/dist/src/core/TableHeader/index.js +0 -25
  403. package/dist/src/core/TableHeader/index.stories.d.ts +0 -12
  404. package/dist/src/core/TableHeader/index.stories.js +0 -38
  405. package/dist/src/core/TableHeader/index.test.d.ts +0 -1
  406. package/dist/src/core/TableHeader/index.test.js +0 -41
  407. package/dist/src/core/TableHeader/style.d.ts +0 -2
  408. package/dist/src/core/TableHeader/style.js +0 -14
  409. package/dist/src/core/TableRow/TableRow.namespace-test.d.ts +0 -1
  410. package/dist/src/core/TableRow/TableRow.namespace-test.js +0 -7
  411. package/dist/src/core/TableRow/__snapshots__/index.test.js.snap +0 -100
  412. package/dist/src/core/TableRow/index.d.ts +0 -13
  413. package/dist/src/core/TableRow/index.js +0 -28
  414. package/dist/src/core/TableRow/index.stories.d.ts +0 -24
  415. package/dist/src/core/TableRow/index.stories.js +0 -77
  416. package/dist/src/core/TableRow/index.test.d.ts +0 -1
  417. package/dist/src/core/TableRow/index.test.js +0 -92
  418. package/dist/src/core/TableRow/style.d.ts +0 -10
  419. package/dist/src/core/TableRow/style.js +0 -34
  420. package/dist/src/core/Tabs/Tabs.namespace-test.d.ts +0 -1
  421. package/dist/src/core/Tabs/Tabs.namespace-test.js +0 -8
  422. package/dist/src/core/Tabs/__snapshots__/index.test.js.snap +0 -46
  423. package/dist/src/core/Tabs/components/LabelWithCount/index.d.ts +0 -7
  424. package/dist/src/core/Tabs/components/LabelWithCount/index.js +0 -11
  425. package/dist/src/core/Tabs/components/LabelWithCount/style.d.ts +0 -10
  426. package/dist/src/core/Tabs/components/LabelWithCount/style.js +0 -43
  427. package/dist/src/core/Tabs/components/common.d.ts +0 -5
  428. package/dist/src/core/Tabs/components/common.js +0 -5
  429. package/dist/src/core/Tabs/index.d.ts +0 -13
  430. package/dist/src/core/Tabs/index.js +0 -89
  431. package/dist/src/core/Tabs/index.stories.d.ts +0 -38
  432. package/dist/src/core/Tabs/index.stories.js +0 -154
  433. package/dist/src/core/Tabs/index.test.d.ts +0 -1
  434. package/dist/src/core/Tabs/index.test.js +0 -48
  435. package/dist/src/core/Tabs/style.d.ts +0 -115
  436. package/dist/src/core/Tabs/style.js +0 -53
  437. package/dist/src/core/Tag/Tag.namespace-test.d.ts +0 -1
  438. package/dist/src/core/Tag/Tag.namespace-test.js +0 -7
  439. package/dist/src/core/Tag/index.d.ts +0 -17
  440. package/dist/src/core/Tag/index.js +0 -27
  441. package/dist/src/core/Tag/index.stories.d.ts +0 -98
  442. package/dist/src/core/Tag/index.stories.js +0 -238
  443. package/dist/src/core/Tag/index.test.d.ts +0 -1
  444. package/dist/src/core/Tag/index.test.js +0 -40
  445. package/dist/src/core/Tag/index.testUtils.d.ts +0 -8
  446. package/dist/src/core/Tag/index.testUtils.js +0 -108
  447. package/dist/src/core/Tag/style.d.ts +0 -29
  448. package/dist/src/core/Tag/style.js +0 -100
  449. package/dist/src/core/TagFilter/TagFilter.namespace-test.d.ts +0 -1
  450. package/dist/src/core/TagFilter/TagFilter.namespace-test.js +0 -8
  451. package/dist/src/core/TagFilter/__snapshots__/index.test.js.snap +0 -46
  452. package/dist/src/core/TagFilter/index.d.ts +0 -12
  453. package/dist/src/core/TagFilter/index.js +0 -23
  454. package/dist/src/core/TagFilter/index.stories.d.ts +0 -44
  455. package/dist/src/core/TagFilter/index.stories.js +0 -121
  456. package/dist/src/core/TagFilter/index.test.d.ts +0 -1
  457. package/dist/src/core/TagFilter/index.test.js +0 -40
  458. package/dist/src/core/TagFilter/style.d.ts +0 -7
  459. package/dist/src/core/TagFilter/style.js +0 -19
  460. package/dist/src/core/Tooltip/Tooltip.namespace-test.d.ts +0 -1
  461. package/dist/src/core/Tooltip/Tooltip.namespace-test.js +0 -7
  462. package/dist/src/core/Tooltip/index.d.ts +0 -14
  463. package/dist/src/core/Tooltip/index.js +0 -87
  464. package/dist/src/core/Tooltip/index.stories.d.ts +0 -48
  465. package/dist/src/core/Tooltip/index.stories.js +0 -257
  466. package/dist/src/core/Tooltip/index.test.d.ts +0 -1
  467. package/dist/src/core/Tooltip/index.test.js +0 -102
  468. package/dist/src/core/Tooltip/style.d.ts +0 -23
  469. package/dist/src/core/Tooltip/style.js +0 -47
  470. package/dist/src/core/TooltipCondensed/TooltipCondensed.namespace-test.d.ts +0 -1
  471. package/dist/src/core/TooltipCondensed/TooltipCondensed.namespace-test.js +0 -7
  472. package/dist/src/core/TooltipCondensed/index.d.ts +0 -13
  473. package/dist/src/core/TooltipCondensed/index.js +0 -43
  474. package/dist/src/core/TooltipCondensed/index.stories.d.ts +0 -27
  475. package/dist/src/core/TooltipCondensed/index.stories.js +0 -72
  476. package/dist/src/core/TooltipCondensed/index.test.d.ts +0 -1
  477. package/dist/src/core/TooltipCondensed/index.test.js +0 -85
  478. package/dist/src/core/TooltipCondensed/style.d.ts +0 -6
  479. package/dist/src/core/TooltipCondensed/style.js +0 -22
  480. package/dist/src/core/TooltipTable/TooltipTable.namespace-test.d.ts +0 -1
  481. package/dist/src/core/TooltipTable/TooltipTable.namespace-test.js +0 -23
  482. package/dist/src/core/TooltipTable/__snapshots__/index.test.js.snap +0 -272
  483. package/dist/src/core/TooltipTable/index.d.ts +0 -8
  484. package/dist/src/core/TooltipTable/index.js +0 -35
  485. package/dist/src/core/TooltipTable/index.stories.d.ts +0 -32
  486. package/dist/src/core/TooltipTable/index.stories.js +0 -128
  487. package/dist/src/core/TooltipTable/index.test.d.ts +0 -1
  488. package/dist/src/core/TooltipTable/index.test.js +0 -109
  489. package/dist/src/core/TooltipTable/style.d.ts +0 -25
  490. package/dist/src/core/TooltipTable/style.js +0 -46
  491. package/dist/src/core/styles/common/constants/black.d.ts +0 -3
  492. package/dist/src/core/styles/common/constants/black.js +0 -7
  493. package/dist/src/core/styles/common/constants/boxShadows.d.ts +0 -5
  494. package/dist/src/core/styles/common/constants/boxShadows.js +0 -9
  495. package/dist/src/core/styles/common/constants/fontWeights.d.ts +0 -7
  496. package/dist/src/core/styles/common/constants/fontWeights.js +0 -11
  497. package/dist/src/core/styles/common/constants/gray.d.ts +0 -8
  498. package/dist/src/core/styles/common/constants/gray.js +0 -12
  499. package/dist/src/core/styles/common/constants/spaces.d.ts +0 -11
  500. package/dist/src/core/styles/common/constants/spaces.js +0 -15
  501. package/dist/src/core/styles/common/constants/white.d.ts +0 -3
  502. package/dist/src/core/styles/common/constants/white.js +0 -7
  503. package/dist/src/core/styles/common/defaultTheme.d.ts +0 -129
  504. package/dist/src/core/styles/common/defaultTheme.js +0 -414
  505. package/dist/src/core/styles/common/mixins/fonts.d.ts +0 -27
  506. package/dist/src/core/styles/common/mixins/fonts.js +0 -60
  507. package/dist/src/core/styles/common/selectors/theme.d.ts +0 -15
  508. package/dist/src/core/styles/common/selectors/theme.js +0 -63
  509. package/dist/src/core/styles/index.d.ts +0 -3
  510. package/dist/src/core/styles/index.js +0 -19
  511. package/dist/src/index.d.ts +0 -100
  512. package/dist/src/index.js +0 -170
  513. package/dist/tsconfig-namespace-check.tsbuildinfo +0 -1
@@ -1,180 +0,0 @@
1
- /// <reference types="react" />
2
- import { CommonThemeProps } from "../styles";
3
- export declare const RoundedButton: import("@emotion/styled").StyledComponent<{
4
- children?: import("react").ReactNode;
5
- classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
6
- color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
7
- disabled?: boolean | undefined;
8
- disableElevation?: boolean | undefined;
9
- disableFocusRipple?: boolean | undefined;
10
- endIcon?: import("react").ReactNode;
11
- fullWidth?: boolean | undefined;
12
- href?: string | undefined;
13
- size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
14
- startIcon?: import("react").ReactNode;
15
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
16
- variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
17
- } & Omit<{
18
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
19
- centerRipple?: boolean | undefined;
20
- children?: import("react").ReactNode;
21
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
22
- disabled?: boolean | undefined;
23
- disableRipple?: boolean | undefined;
24
- disableTouchRipple?: boolean | undefined;
25
- focusRipple?: boolean | undefined;
26
- focusVisibleClassName?: string | undefined;
27
- LinkComponent?: import("react").ElementType<any> | undefined;
28
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
29
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
30
- tabIndex?: number | undefined;
31
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
32
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
33
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
34
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
35
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "color" | "disabled" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
36
- children?: import("react").ReactNode;
37
- }, {}, {}>;
38
- export declare const SquareButton: import("@emotion/styled").StyledComponent<{
39
- children?: import("react").ReactNode;
40
- classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
41
- color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
42
- disabled?: boolean | undefined;
43
- disableElevation?: boolean | undefined;
44
- disableFocusRipple?: boolean | undefined;
45
- endIcon?: import("react").ReactNode;
46
- fullWidth?: boolean | undefined;
47
- href?: string | undefined;
48
- size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
49
- startIcon?: import("react").ReactNode;
50
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
51
- variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
52
- } & Omit<{
53
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
54
- centerRipple?: boolean | undefined;
55
- children?: import("react").ReactNode;
56
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
57
- disabled?: boolean | undefined;
58
- disableRipple?: boolean | undefined;
59
- disableTouchRipple?: boolean | undefined;
60
- focusRipple?: boolean | undefined;
61
- focusVisibleClassName?: string | undefined;
62
- LinkComponent?: import("react").ElementType<any> | undefined;
63
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
64
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
65
- tabIndex?: number | undefined;
66
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
67
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
68
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
69
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
70
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "color" | "disabled" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
71
- interface IsAllCaps extends CommonThemeProps {
72
- isAllCaps?: boolean;
73
- }
74
- export declare const PrimaryMinimalButton: import("@emotion/styled").StyledComponent<{
75
- children?: import("react").ReactNode;
76
- classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
77
- color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
78
- disabled?: boolean | undefined;
79
- disableElevation?: boolean | undefined;
80
- disableFocusRipple?: boolean | undefined;
81
- endIcon?: import("react").ReactNode;
82
- fullWidth?: boolean | undefined;
83
- href?: string | undefined;
84
- size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
85
- startIcon?: import("react").ReactNode;
86
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
87
- variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
88
- } & Omit<{
89
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
90
- centerRipple?: boolean | undefined;
91
- children?: import("react").ReactNode;
92
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
93
- disabled?: boolean | undefined;
94
- disableRipple?: boolean | undefined;
95
- disableTouchRipple?: boolean | undefined;
96
- focusRipple?: boolean | undefined;
97
- focusVisibleClassName?: string | undefined;
98
- LinkComponent?: import("react").ElementType<any> | undefined;
99
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
100
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
101
- tabIndex?: number | undefined;
102
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
103
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
104
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
105
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
106
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "color" | "disabled" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & IsAllCaps & {
107
- children?: import("react").ReactNode;
108
- }, {}, {}>;
109
- export declare const SecondaryMinimalButton: import("@emotion/styled").StyledComponent<{
110
- children?: import("react").ReactNode;
111
- classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
112
- color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
113
- disabled?: boolean | undefined;
114
- disableElevation?: boolean | undefined;
115
- disableFocusRipple?: boolean | undefined;
116
- endIcon?: import("react").ReactNode;
117
- fullWidth?: boolean | undefined;
118
- href?: string | undefined;
119
- size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
120
- startIcon?: import("react").ReactNode;
121
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
122
- variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
123
- } & Omit<{
124
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
125
- centerRipple?: boolean | undefined;
126
- children?: import("react").ReactNode;
127
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
128
- disabled?: boolean | undefined;
129
- disableRipple?: boolean | undefined;
130
- disableTouchRipple?: boolean | undefined;
131
- focusRipple?: boolean | undefined;
132
- focusVisibleClassName?: string | undefined;
133
- LinkComponent?: import("react").ElementType<any> | undefined;
134
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
135
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
136
- tabIndex?: number | undefined;
137
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
138
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
139
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
140
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
141
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "color" | "disabled" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & IsAllCaps & {
142
- children?: import("react").ReactNode;
143
- }, {}, {}>;
144
- interface IsRounded extends CommonThemeProps {
145
- isRounded?: boolean;
146
- }
147
- export declare const StyledButton: import("@emotion/styled").StyledComponent<{
148
- children?: import("react").ReactNode;
149
- classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
150
- color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning", import("@mui/material").ButtonPropsColorOverrides> | undefined;
151
- disabled?: boolean | undefined;
152
- disableElevation?: boolean | undefined;
153
- disableFocusRipple?: boolean | undefined;
154
- endIcon?: import("react").ReactNode;
155
- fullWidth?: boolean | undefined;
156
- href?: string | undefined;
157
- size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
158
- startIcon?: import("react").ReactNode;
159
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
160
- variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
161
- } & Omit<{
162
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
163
- centerRipple?: boolean | undefined;
164
- children?: import("react").ReactNode;
165
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
166
- disabled?: boolean | undefined;
167
- disableRipple?: boolean | undefined;
168
- disableTouchRipple?: boolean | undefined;
169
- focusRipple?: boolean | undefined;
170
- focusVisibleClassName?: string | undefined;
171
- LinkComponent?: import("react").ElementType<any> | undefined;
172
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
173
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
174
- tabIndex?: number | undefined;
175
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
176
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
177
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
178
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
179
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "color" | "disabled" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & IsRounded, {}, {}>;
180
- export {};
@@ -1,59 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.StyledButton = exports.SecondaryMinimalButton = exports.PrimaryMinimalButton = exports.SquareButton = exports.RoundedButton = void 0;
8
- var material_1 = require("@mui/material");
9
- var styles_1 = require("@mui/material/styles");
10
- var styles_2 = require("../styles");
11
- var sdsPropNames = ["isAllCaps", "isRounded", "sdsStyle", "sdsType"];
12
- var ButtonBase = (0, styles_1.styled)(material_1.Button, {
13
- shouldForwardProp: function (prop) { return !sdsPropNames.includes(prop); },
14
- })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-shadow: none;\n ", "\n"], ["\n box-shadow: none;\n ", "\n"])), function (props) {
15
- var variant = props.variant;
16
- var colors = (0, styles_2.getColors)(props);
17
- var spacings = (0, styles_2.getSpaces)(props);
18
- var containedPadding = "".concat(spacings === null || spacings === void 0 ? void 0 : spacings.xs, "px ").concat(spacings === null || spacings === void 0 ? void 0 : spacings.l, "px");
19
- // (thuang): outline variant has border 1px, so padding needs to be smaller
20
- var outlinedPadding = "".concat(((spacings === null || spacings === void 0 ? void 0 : spacings.xs) || 0) - 1, "px ").concat(((spacings === null || spacings === void 0 ? void 0 : spacings.l) || 0) - 1, "px");
21
- var padding = variant === "outlined" ? outlinedPadding : containedPadding;
22
- var outlineBorder = variant === "outlined" ? "border-color: ".concat(colors === null || colors === void 0 ? void 0 : colors.primary[400], ";") : "";
23
- return "\n ".concat(outlineBorder, "\n padding: ").concat(padding, ";\n min-width: 120px;\n height: 34px;\n &:hover {\n color: white;\n background-color: ").concat(colors === null || colors === void 0 ? void 0 : colors.primary[500], ";\n box-shadow: none;\n }\n &:focus-visible {\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n }\n &:active {\n color: white;\n background-color: ").concat(colors === null || colors === void 0 ? void 0 : colors.primary[600], ";\n box-shadow: none;\n }\n &:disabled {\n color: ").concat(colors === null || colors === void 0 ? void 0 : colors.gray[400], ";\n background-color: ").concat(colors === null || colors === void 0 ? void 0 : colors.gray[300], ";\n border-color: ").concat(colors === null || colors === void 0 ? void 0 : colors.gray[300], ";\n }\n .MuiButton-startIcon {\n margin-right: ").concat(spacings === null || spacings === void 0 ? void 0 : spacings.m, "px;\n }\n .MuiButton-endIcon {\n margin-left: ").concat(spacings === null || spacings === void 0 ? void 0 : spacings.m, "px;\n }\n ");
24
- });
25
- exports.RoundedButton = (0, styles_1.styled)(ButtonBase, {
26
- shouldForwardProp: function (prop) { return !sdsPropNames.includes(prop); },
27
- })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
28
- var corners = (0, styles_2.getCorners)(props);
29
- return "\n border-radius: ".concat(corners === null || corners === void 0 ? void 0 : corners.l, "px;\n ");
30
- });
31
- exports.SquareButton = ButtonBase;
32
- var MinimalButton = (0, styles_1.styled)(material_1.Button, {
33
- shouldForwardProp: function (prop) { return !sdsPropNames.includes(prop); },
34
- })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n\n ", "\n &:hover, &:focus-visible {\n background-color: transparent;\n }\n &:focus-visible {\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n }\n"], ["\n ", "\n\n ", "\n &:hover, &:focus-visible {\n background-color: transparent;\n }\n &:focus-visible {\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n }\n"])), function (props) {
35
- var spacings = (0, styles_2.getSpaces)(props);
36
- return "\n padding: ".concat(spacings === null || spacings === void 0 ? void 0 : spacings.xxs, "px 0;\n ");
37
- }, function (props) {
38
- if (props === null || props === void 0 ? void 0 : props.isAllCaps) {
39
- return styles_2.fontCapsXxxs;
40
- }
41
- return "";
42
- });
43
- var minimal = function (props) {
44
- var colors = (0, styles_2.getColors)(props);
45
- var spaces = (0, styles_2.getSpaces)(props);
46
- return "\n &:hover, &:focus-visible {\n color: ".concat(colors === null || colors === void 0 ? void 0 : colors.primary[500], ";\n }\n &:active {\n color: ").concat(colors === null || colors === void 0 ? void 0 : colors.primary[600], ";\n }\n &:disabled {\n color: ").concat(colors === null || colors === void 0 ? void 0 : colors.gray[400], ";\n }\n\n .MuiButton-startIcon {\n margin-right: ").concat(spaces === null || spaces === void 0 ? void 0 : spaces.xxs, "px;\n }\n ");
47
- };
48
- exports.PrimaryMinimalButton = (0, styles_1.styled)(MinimalButton)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), minimal);
49
- exports.SecondaryMinimalButton = (0, styles_1.styled)(MinimalButton)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n color: #000;\n"], ["\n ", "\n color: #000;\n"])), minimal);
50
- exports.StyledButton = (0, styles_1.styled)(material_1.Button, {
51
- shouldForwardProp: function (prop) { return !sdsPropNames.includes(prop); },
52
- })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n &:focus-visible {\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n }\n ", "\n"], ["\n &:focus-visible {\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n }\n ", "\n"])), function (props) {
53
- if (!props.isRounded)
54
- return "";
55
- var corners = (0, styles_2.getCorners)(props);
56
- var spacings = (0, styles_2.getSpaces)(props);
57
- return "\n border-radius: ".concat(corners === null || corners === void 0 ? void 0 : corners.l, "px;\n padding: ").concat(spacings === null || spacings === void 0 ? void 0 : spacings.xs, "px ").concat(spacings === null || spacings === void 0 ? void 0 : spacings.l, "px;\n min-width: 120px;\n height: 34px;\n ");
58
- });
59
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- var jsx_runtime_1 = require("react/jsx-runtime");
15
- var components_1 = require("@czi-sds/components");
16
- var ButtonDropdownNameSpaceTest = function (props) {
17
- return ((0, jsx_runtime_1.jsx)(components_1.ButtonDropdown, __assign({ sdsType: "primary", sdsStyle: "rounded", icon: (0, jsx_runtime_1.jsx)(components_1.Icon, { sdsIcon: "download", sdsSize: "l", sdsType: "button" }) }, props, { children: "Button Dropdown" })));
18
- };
@@ -1,18 +0,0 @@
1
- import { ButtonProps as RawButtonProps } from "@mui/material";
2
- import React from "react";
3
- interface SdsProps {
4
- icon?: JSX.Element;
5
- isRounded?: boolean;
6
- sdsStyle?: "rounded" | "square";
7
- sdsType?: "primary" | "secondary";
8
- }
9
- export type ButtonDropdownProps<C extends React.ElementType = "button"> = Omit<RawButtonProps<C, {
10
- component?: C;
11
- }>, "nonce" | "rev" | "rel" | "autoFocus" | "content"> & SdsProps;
12
- /**
13
- * @see https://mui.com/material-ui/react-button/
14
- */
15
- declare const ButtonDropdown: React.ForwardRefExoticComponent<Pick<Omit<RawButtonProps<React.ElementType<any>, {
16
- component?: React.ElementType<any> | undefined;
17
- }>, "content" | "autoFocus" | "nonce" | "rel" | "rev"> & SdsProps, string | number | symbol> & React.RefAttributes<HTMLButtonElement>>;
18
- export default ButtonDropdown;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var jsx_runtime_1 = require("react/jsx-runtime");
18
- var react_1 = __importDefault(require("react"));
19
- var Button_1 = __importDefault(require("../Button"));
20
- var Icon_1 = __importDefault(require("../Icon"));
21
- /**
22
- * @see https://mui.com/material-ui/react-button/
23
- */
24
- var ButtonDropdown = react_1.default.forwardRef(function (props, ref) {
25
- var icon = props === null || props === void 0 ? void 0 : props.icon;
26
- var sdsStyle = props === null || props === void 0 ? void 0 : props.sdsStyle;
27
- var sdsType = props === null || props === void 0 ? void 0 : props.sdsType;
28
- return ((0, jsx_runtime_1.jsx)(Button_1.default, __assign({}, props, { endIcon: (0, jsx_runtime_1.jsx)(Icon_1.default, { sdsIcon: "chevronDown", sdsSize: "s", sdsType: "button" }), sdsStyle: sdsStyle, ref: ref, sdsType: sdsType, startIcon: icon })));
29
- });
30
- exports.default = ButtonDropdown;
@@ -1,35 +0,0 @@
1
- import { Args } from "@storybook/react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Args>;
3
- export default _default;
4
- export declare const Default: {
5
- args: {
6
- disabled: boolean;
7
- icon: JSX.Element;
8
- onClick: import("@storybook/addon-actions").HandlerFunction;
9
- sdsStyle: string;
10
- sdsType: string;
11
- };
12
- };
13
- export declare const LivePreview: {
14
- parameters: {
15
- snapshot: {
16
- skip: boolean;
17
- };
18
- };
19
- render: (args: Args) => JSX.Element;
20
- };
21
- export declare const Test: {
22
- args: {
23
- disabled: boolean;
24
- icon: JSX.Element;
25
- onClick: import("@storybook/addon-actions").HandlerFunction;
26
- sdsStyle: string;
27
- sdsType: string;
28
- };
29
- parameters: {
30
- snapshot: {
31
- skip: boolean;
32
- };
33
- };
34
- render: (props: Args) => JSX.Element;
35
- };
@@ -1,79 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Test = exports.LivePreview = exports.Default = void 0;
18
- var jsx_runtime_1 = require("react/jsx-runtime");
19
- var addon_actions_1 = require("@storybook/addon-actions");
20
- var Icon_1 = __importDefault(require("../Icon"));
21
- var index_1 = __importDefault(require("./index"));
22
- var text = "Label";
23
- var actions = {
24
- onClick: (0, addon_actions_1.action)("onClick"),
25
- };
26
- var ButtonDropdown = function (props) {
27
- return (0, jsx_runtime_1.jsx)(index_1.default, __assign({}, props, { children: text }));
28
- };
29
- exports.default = {
30
- component: ButtonDropdown,
31
- title: "ButtonDropdown",
32
- };
33
- // Default
34
- exports.Default = {
35
- args: {
36
- disabled: false,
37
- icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { sdsIcon: "download", sdsSize: "l", sdsType: "button" }),
38
- onClick: actions.onClick,
39
- sdsStyle: "square",
40
- sdsType: "primary",
41
- },
42
- };
43
- // LivePreview
44
- var livePreviewWrapperStyle = {
45
- display: "grid",
46
- gridColumnGap: 10,
47
- gridRowGap: 24,
48
- gridTemplateColumns: "repeat(4, min-content)",
49
- gridTemplateRows: "repeat(2, auto)",
50
- };
51
- function LivePreviewDemo(props) {
52
- return ((0, jsx_runtime_1.jsxs)("div", { style: livePreviewWrapperStyle, children: [(0, jsx_runtime_1.jsx)("div", { style: { gridArea: "1/1/2/2" }, children: (0, jsx_runtime_1.jsx)(ButtonDropdown, __assign({ sdsType: "primary", sdsStyle: "rounded", icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { sdsIcon: "download", sdsSize: "l", sdsType: "button" }) }, props, { children: text })) }), (0, jsx_runtime_1.jsx)("div", { style: { gridArea: "1/2/2/3" }, children: (0, jsx_runtime_1.jsx)(ButtonDropdown, __assign({ sdsType: "secondary", sdsStyle: "rounded", icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { sdsIcon: "download", sdsSize: "l", sdsType: "button" }) }, props, { children: text })) }), (0, jsx_runtime_1.jsx)("div", { style: { gridArea: "2/1/3/2" }, children: (0, jsx_runtime_1.jsx)(ButtonDropdown, __assign({ sdsType: "primary", sdsStyle: "square", icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { sdsIcon: "download", sdsSize: "l", sdsType: "button" }) }, props, { children: text })) }), (0, jsx_runtime_1.jsx)("div", { style: { gridArea: "2/2/3/3" }, children: (0, jsx_runtime_1.jsx)(ButtonDropdown, __assign({ sdsType: "secondary", sdsStyle: "square", icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { sdsIcon: "download", sdsSize: "l", sdsType: "button" }) }, props, { children: text })) })] }));
53
- }
54
- exports.LivePreview = {
55
- parameters: {
56
- snapshot: {
57
- skip: true,
58
- },
59
- },
60
- render: function (args) { return (0, jsx_runtime_1.jsx)(LivePreviewDemo, __assign({}, args)); },
61
- };
62
- // Test
63
- exports.Test = {
64
- args: {
65
- disabled: false,
66
- icon: (0, jsx_runtime_1.jsx)(Icon_1.default, { sdsIcon: "download", sdsSize: "l", sdsType: "button" }),
67
- onClick: actions.onClick,
68
- sdsStyle: "rounded",
69
- sdsType: "primary",
70
- },
71
- parameters: {
72
- snapshot: {
73
- skip: true,
74
- },
75
- },
76
- render: function (props) {
77
- return ((0, jsx_runtime_1.jsx)(ButtonDropdown, __assign({ "data-testid": "button-dropdown" }, props, { children: text })));
78
- },
79
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- var jsx_runtime_1 = require("react/jsx-runtime");
27
- var story_utils_1 = require("@chanzuckerberg/story-utils");
28
- var react_1 = require("@storybook/react");
29
- var react_2 = require("@testing-library/react");
30
- var snapshotTestStoryFile = __importStar(require("./index.stories"));
31
- var index_stories_1 = __importStar(require("./index.stories"));
32
- // Returns a component that already contain all decorators from story level, meta level and global level.
33
- var Test = (0, react_1.composeStory)(index_stories_1.Test, index_stories_1.default);
34
- describe("<ButtonDropdown />", function () {
35
- (0, story_utils_1.generateSnapshots)(snapshotTestStoryFile);
36
- it("renders ButtonDropdown component", function () {
37
- (0, react_2.render)((0, jsx_runtime_1.jsx)(Test, {}));
38
- var elements = react_2.screen.getAllByTestId("button-dropdown");
39
- expect(elements.length).toBeTruthy();
40
- });
41
- });
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- var jsx_runtime_1 = require("react/jsx-runtime");
15
- var components_1 = require("@czi-sds/components");
16
- var ButtonIconNameSpaceTest = function (props) {
17
- return ((0, jsx_runtime_1.jsx)(components_1.ButtonIcon, __assign({ size: "large", sdsType: "primary" }, props, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { sdsIcon: "download", sdsSize: "l", sdsType: "button" }) })));
18
- };
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import { IconButtonProps as RawButtonIconProps } from "@mui/material";
3
- import { IconNameToSizes, IconProps } from "../Icon";
4
- import { ButtonIconExtraProps, ButtonIconSizeToTypes } from "./style";
5
- export type { ButtonIconProps, ButtonIconSizeToTypes };
6
- export interface ButtonIconInternalProps<IconName extends keyof IconNameToSizes> {
7
- sdsIcon: IconName;
8
- sdsIconProps?: Partial<IconProps<IconName>>;
9
- }
10
- type ButtonIconProps<IconName extends keyof IconNameToSizes, ButtonIconSize extends keyof ButtonIconSizeToTypes> = ButtonIconExtraProps<ButtonIconSize> & Omit<RawButtonIconProps, "nonce" | "rev" | "rel" | "autoFocus" | "content"> & ButtonIconInternalProps<IconName>;
11
- /**
12
- * @see https://mui.com/material-ui/react-button/#icon-buttons
13
- */
14
- declare const ButtonIcon: import("react").ForwardRefExoticComponent<Pick<ButtonIconExtraProps<keyof ButtonIconSizeToTypes> & Omit<RawButtonIconProps, "content" | "autoFocus" | "nonce" | "rel" | "rev"> & ButtonIconInternalProps<keyof IconNameToSizes>, keyof import("@mui/material/OverridableComponent").CommonProps | "onChange" | "children" | "sx" | "color" | "translate" | "form" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "size" | "name" | "type" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "edge" | keyof ButtonIconExtraProps<keyof ButtonIconSizeToTypes> | keyof ButtonIconInternalProps<keyof IconNameToSizes>> & import("react").RefAttributes<HTMLButtonElement | null>>;
15
- export default ButtonIcon;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var jsx_runtime_1 = require("react/jsx-runtime");
18
- var react_1 = require("react");
19
- var Icon_1 = __importDefault(require("../Icon"));
20
- var style_1 = require("./style");
21
- var ButtonIconSizeToSdsIconSize = {
22
- large: "xl",
23
- medium: "l",
24
- small: "s",
25
- };
26
- /**
27
- * @see https://mui.com/material-ui/react-button/#icon-buttons
28
- */
29
- var ButtonIcon = (0, react_1.forwardRef)(function ButtonIcon(props, ref) {
30
- var sdsIcon = props.sdsIcon, _a = props.sdsSize, sdsSize = _a === void 0 ? "large" : _a, sdsIconProps = props.sdsIconProps;
31
- var iconSize = ButtonIconSizeToSdsIconSize[sdsSize];
32
- return ((0, jsx_runtime_1.jsx)(style_1.StyledButtonIcon, __assign({}, props, { ref: ref, children: (0, jsx_runtime_1.jsx)(Icon_1.default, __assign({ sdsType: "iconButton" }, sdsIconProps, { sdsIcon: sdsIcon, sdsSize: iconSize })) })));
33
- });
34
- exports.default = ButtonIcon;
@@ -1,39 +0,0 @@
1
- import { Args } from "@storybook/react";
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, Args>;
3
- export default _default;
4
- export declare const Default: {
5
- args: {
6
- "aria-label": string;
7
- disabled: boolean;
8
- sdsIcon: string;
9
- sdsSize: string;
10
- sdsType: string;
11
- };
12
- };
13
- export declare const LivePreview: {
14
- parameters: {
15
- snapshot: {
16
- skip: boolean;
17
- };
18
- };
19
- render: (args: Args) => JSX.Element;
20
- };
21
- export declare const ScreenshotTest: {
22
- parameters: {
23
- controls: {
24
- exclude: string[];
25
- };
26
- snapshot: {
27
- skip: boolean;
28
- };
29
- };
30
- render: (args: Args) => JSX.Element;
31
- };
32
- export declare const Test: {
33
- parameters: {
34
- snapshot: {
35
- skip: boolean;
36
- };
37
- };
38
- render: () => JSX.Element;
39
- };