@databricks/design-system 1.1.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/dist/antd-vars.d.ts +1 -0
  2. package/dist/antd-vars.d.ts.map +1 -0
  3. package/dist/cjs/index.js +1764 -346
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/design-system/Alert/Alert.d.ts +1 -0
  6. package/dist/design-system/Alert/Alert.d.ts.map +1 -0
  7. package/dist/design-system/Alert/index.d.ts +1 -0
  8. package/dist/design-system/Alert/index.d.ts.map +1 -0
  9. package/dist/design-system/AutoComplete/AutoComplete.d.ts +1 -0
  10. package/dist/design-system/AutoComplete/AutoComplete.d.ts.map +1 -0
  11. package/dist/design-system/AutoComplete/index.d.ts +1 -0
  12. package/dist/design-system/AutoComplete/index.d.ts.map +1 -0
  13. package/dist/design-system/Breadcrumb/Breadcrumb.d.ts +1 -0
  14. package/dist/design-system/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  15. package/dist/design-system/Breadcrumb/index.d.ts +1 -0
  16. package/dist/design-system/Breadcrumb/index.d.ts.map +1 -0
  17. package/dist/design-system/Button/Button.d.ts +4 -2
  18. package/dist/design-system/Button/Button.d.ts.map +1 -0
  19. package/dist/design-system/Button/Button.test.d.ts +1 -0
  20. package/dist/design-system/Button/Button.test.d.ts.map +1 -0
  21. package/dist/design-system/Button/index.d.ts +1 -0
  22. package/dist/design-system/Button/index.d.ts.map +1 -0
  23. package/dist/design-system/Button/styles.d.ts +2 -1
  24. package/dist/design-system/Button/styles.d.ts.map +1 -0
  25. package/dist/design-system/Checkbox/Checkbox.d.ts +1 -0
  26. package/dist/design-system/Checkbox/Checkbox.d.ts.map +1 -0
  27. package/dist/design-system/Checkbox/Checkbox.test.d.ts +1 -0
  28. package/dist/design-system/Checkbox/Checkbox.test.d.ts.map +1 -0
  29. package/dist/design-system/Checkbox/index.d.ts +1 -0
  30. package/dist/design-system/Checkbox/index.d.ts.map +1 -0
  31. package/dist/design-system/Collapse/Collapse.d.ts +1 -0
  32. package/dist/design-system/Collapse/Collapse.d.ts.map +1 -0
  33. package/dist/design-system/Collapse/index.d.ts +1 -0
  34. package/dist/design-system/Collapse/index.d.ts.map +1 -0
  35. package/dist/design-system/DatePicker/DatePicker.d.ts +1 -0
  36. package/dist/design-system/DatePicker/DatePicker.d.ts.map +1 -0
  37. package/dist/design-system/DatePicker/index.d.ts +1 -0
  38. package/dist/design-system/DatePicker/index.d.ts.map +1 -0
  39. package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts +1 -6
  40. package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -0
  41. package/dist/design-system/DesignSystemProvider/index.d.ts +1 -0
  42. package/dist/design-system/DesignSystemProvider/index.d.ts.map +1 -0
  43. package/dist/design-system/Dropdown/Dropdown.d.ts +1 -0
  44. package/dist/design-system/Dropdown/Dropdown.d.ts.map +1 -0
  45. package/dist/design-system/Dropdown/index.d.ts +1 -0
  46. package/dist/design-system/Dropdown/index.d.ts.map +1 -0
  47. package/dist/design-system/DropdownMenu/DropdownMenu.d.ts +2 -1
  48. package/dist/design-system/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  49. package/dist/design-system/DropdownMenu/index.d.ts +1 -0
  50. package/dist/design-system/DropdownMenu/index.d.ts.map +1 -0
  51. package/dist/design-system/Form/Form.d.ts +1 -0
  52. package/dist/design-system/Form/Form.d.ts.map +1 -0
  53. package/dist/design-system/Form/index.d.ts +1 -0
  54. package/dist/design-system/Form/index.d.ts.map +1 -0
  55. package/dist/design-system/Grid/Col.d.ts +1 -0
  56. package/dist/design-system/Grid/Col.d.ts.map +1 -0
  57. package/dist/design-system/Grid/Row.d.ts +1 -0
  58. package/dist/design-system/Grid/Row.d.ts.map +1 -0
  59. package/dist/design-system/Grid/index.d.ts +1 -0
  60. package/dist/design-system/Grid/index.d.ts.map +1 -0
  61. package/dist/design-system/Header/Header.d.ts +1 -0
  62. package/dist/design-system/Header/Header.d.ts.map +1 -0
  63. package/dist/design-system/Header/index.d.ts +1 -0
  64. package/dist/design-system/Header/index.d.ts.map +1 -0
  65. package/dist/design-system/Hooks/index.d.ts +2 -0
  66. package/dist/design-system/Hooks/index.d.ts.map +1 -0
  67. package/dist/design-system/Hooks/useDesignSystemContext.d.ts +1 -0
  68. package/dist/design-system/Hooks/useDesignSystemContext.d.ts.map +1 -0
  69. package/dist/design-system/Hooks/useDesignSystemTheme.d.ts +1 -0
  70. package/dist/design-system/Hooks/useDesignSystemTheme.d.ts.map +1 -0
  71. package/dist/design-system/Hooks/useThemedStyles.d.ts +29 -0
  72. package/dist/design-system/Hooks/useThemedStyles.d.ts.map +1 -0
  73. package/dist/design-system/Icon/Icon.d.ts +1 -0
  74. package/dist/design-system/Icon/Icon.d.ts.map +1 -0
  75. package/dist/design-system/Icon/__generated/icons/AIcon.d.ts +1 -0
  76. package/dist/design-system/Icon/__generated/icons/AIcon.d.ts.map +1 -0
  77. package/dist/design-system/Icon/__generated/icons/AlignCenterIcon.d.ts +1 -0
  78. package/dist/design-system/Icon/__generated/icons/AlignCenterIcon.d.ts.map +1 -0
  79. package/dist/design-system/Icon/__generated/icons/AlignLeftIcon.d.ts +1 -0
  80. package/dist/design-system/Icon/__generated/icons/AlignLeftIcon.d.ts.map +1 -0
  81. package/dist/design-system/Icon/__generated/icons/AlignRightIcon.d.ts +1 -0
  82. package/dist/design-system/Icon/__generated/icons/AlignRightIcon.d.ts.map +1 -0
  83. package/dist/design-system/Icon/__generated/icons/ArrowDownIcon.d.ts +1 -0
  84. package/dist/design-system/Icon/__generated/icons/ArrowDownIcon.d.ts.map +1 -0
  85. package/dist/design-system/Icon/__generated/icons/ArrowLeftIcon.d.ts +1 -0
  86. package/dist/design-system/Icon/__generated/icons/ArrowLeftIcon.d.ts.map +1 -0
  87. package/dist/design-system/Icon/__generated/icons/ArrowRightIcon.d.ts +1 -0
  88. package/dist/design-system/Icon/__generated/icons/ArrowRightIcon.d.ts.map +1 -0
  89. package/dist/design-system/Icon/__generated/icons/ArrowUpIcon.d.ts +1 -0
  90. package/dist/design-system/Icon/__generated/icons/ArrowUpIcon.d.ts.map +1 -0
  91. package/dist/design-system/Icon/__generated/icons/ArrowsUpDownIcon.d.ts +1 -0
  92. package/dist/design-system/Icon/__generated/icons/ArrowsUpDownIcon.d.ts.map +1 -0
  93. package/dist/design-system/Icon/__generated/icons/BarChartIcon.d.ts +1 -0
  94. package/dist/design-system/Icon/__generated/icons/BarChartIcon.d.ts.map +1 -0
  95. package/dist/design-system/Icon/__generated/icons/BeakerIcon.d.ts +1 -0
  96. package/dist/design-system/Icon/__generated/icons/BeakerIcon.d.ts.map +1 -0
  97. package/dist/design-system/Icon/__generated/icons/BookIcon.d.ts +1 -0
  98. package/dist/design-system/Icon/__generated/icons/BookIcon.d.ts.map +1 -0
  99. package/dist/design-system/Icon/__generated/icons/BookmarkBorderIcon.d.ts +1 -0
  100. package/dist/design-system/Icon/__generated/icons/BookmarkBorderIcon.d.ts.map +1 -0
  101. package/dist/design-system/Icon/__generated/icons/BookmarkFillIcon.d.ts +1 -0
  102. package/dist/design-system/Icon/__generated/icons/BookmarkFillIcon.d.ts.map +1 -0
  103. package/dist/design-system/Icon/__generated/icons/BriefcaseFillIcon.d.ts +1 -0
  104. package/dist/design-system/Icon/__generated/icons/BriefcaseFillIcon.d.ts.map +1 -0
  105. package/dist/design-system/Icon/__generated/icons/BriefcaseIcon.d.ts +1 -0
  106. package/dist/design-system/Icon/__generated/icons/BriefcaseIcon.d.ts.map +1 -0
  107. package/dist/design-system/Icon/__generated/icons/CalendarEventIcon.d.ts +1 -0
  108. package/dist/design-system/Icon/__generated/icons/CalendarEventIcon.d.ts.map +1 -0
  109. package/dist/design-system/Icon/__generated/icons/CalendarIcon.d.ts +1 -0
  110. package/dist/design-system/Icon/__generated/icons/CalendarIcon.d.ts.map +1 -0
  111. package/dist/design-system/Icon/__generated/icons/CaretDownSquareIcon.d.ts +1 -0
  112. package/dist/design-system/Icon/__generated/icons/CaretDownSquareIcon.d.ts.map +1 -0
  113. package/dist/design-system/Icon/__generated/icons/CaretUpSquareIcon.d.ts +1 -0
  114. package/dist/design-system/Icon/__generated/icons/CaretUpSquareIcon.d.ts.map +1 -0
  115. package/dist/design-system/Icon/__generated/icons/CheckCircleBorderIcon.d.ts +1 -0
  116. package/dist/design-system/Icon/__generated/icons/CheckCircleBorderIcon.d.ts.map +1 -0
  117. package/dist/design-system/Icon/__generated/icons/CheckCircleFillIcon.d.ts +1 -0
  118. package/dist/design-system/Icon/__generated/icons/CheckCircleFillIcon.d.ts.map +1 -0
  119. package/dist/design-system/Icon/__generated/icons/CheckIcon.d.ts +1 -0
  120. package/dist/design-system/Icon/__generated/icons/CheckIcon.d.ts.map +1 -0
  121. package/dist/design-system/Icon/__generated/icons/CheckLineIcon.d.ts +1 -0
  122. package/dist/design-system/Icon/__generated/icons/CheckLineIcon.d.ts.map +1 -0
  123. package/dist/design-system/Icon/__generated/icons/ChecklistIcon.d.ts +1 -0
  124. package/dist/design-system/Icon/__generated/icons/ChecklistIcon.d.ts.map +1 -0
  125. package/dist/design-system/Icon/__generated/icons/ChevronDoubleDownIcon.d.ts +1 -0
  126. package/dist/design-system/Icon/__generated/icons/ChevronDoubleDownIcon.d.ts.map +1 -0
  127. package/dist/design-system/Icon/__generated/icons/ChevronDoubleLeftIcon.d.ts +1 -0
  128. package/dist/design-system/Icon/__generated/icons/ChevronDoubleLeftIcon.d.ts.map +1 -0
  129. package/dist/design-system/Icon/__generated/icons/ChevronDoubleRightIcon.d.ts +1 -0
  130. package/dist/design-system/Icon/__generated/icons/ChevronDoubleRightIcon.d.ts.map +1 -0
  131. package/dist/design-system/Icon/__generated/icons/ChevronDoubleUpIcon.d.ts +1 -0
  132. package/dist/design-system/Icon/__generated/icons/ChevronDoubleUpIcon.d.ts.map +1 -0
  133. package/dist/design-system/Icon/__generated/icons/ChevronDownIcon.d.ts +1 -0
  134. package/dist/design-system/Icon/__generated/icons/ChevronDownIcon.d.ts.map +1 -0
  135. package/dist/design-system/Icon/__generated/icons/ChevronLeftIcon.d.ts +1 -0
  136. package/dist/design-system/Icon/__generated/icons/ChevronLeftIcon.d.ts.map +1 -0
  137. package/dist/design-system/Icon/__generated/icons/ChevronRightIcon.d.ts +1 -0
  138. package/dist/design-system/Icon/__generated/icons/ChevronRightIcon.d.ts.map +1 -0
  139. package/dist/design-system/Icon/__generated/icons/ChevronUpIcon.d.ts +1 -0
  140. package/dist/design-system/Icon/__generated/icons/ChevronUpIcon.d.ts.map +1 -0
  141. package/dist/design-system/Icon/__generated/icons/CircleIcon.d.ts +1 -0
  142. package/dist/design-system/Icon/__generated/icons/CircleIcon.d.ts.map +1 -0
  143. package/dist/design-system/Icon/__generated/icons/ClipboardIcon.d.ts +1 -0
  144. package/dist/design-system/Icon/__generated/icons/ClipboardIcon.d.ts.map +1 -0
  145. package/dist/design-system/Icon/__generated/icons/Clock1Icon.d.ts +1 -0
  146. package/dist/design-system/Icon/__generated/icons/Clock1Icon.d.ts.map +1 -0
  147. package/dist/design-system/Icon/__generated/icons/ClockIcon.d.ts +1 -0
  148. package/dist/design-system/Icon/__generated/icons/ClockIcon.d.ts.map +1 -0
  149. package/dist/design-system/Icon/__generated/icons/CloseIcon.d.ts +1 -0
  150. package/dist/design-system/Icon/__generated/icons/CloseIcon.d.ts.map +1 -0
  151. package/dist/design-system/Icon/__generated/icons/CloudDownloadIcon.d.ts +1 -0
  152. package/dist/design-system/Icon/__generated/icons/CloudDownloadIcon.d.ts.map +1 -0
  153. package/dist/design-system/Icon/__generated/icons/CloudIcon.d.ts +1 -0
  154. package/dist/design-system/Icon/__generated/icons/CloudIcon.d.ts.map +1 -0
  155. package/dist/design-system/Icon/__generated/icons/CloudOffIcon.d.ts +1 -0
  156. package/dist/design-system/Icon/__generated/icons/CloudOffIcon.d.ts.map +1 -0
  157. package/dist/design-system/Icon/__generated/icons/CloudUploadIcon.d.ts +1 -0
  158. package/dist/design-system/Icon/__generated/icons/CloudUploadIcon.d.ts.map +1 -0
  159. package/dist/design-system/Icon/__generated/icons/ClusterIcon.d.ts +1 -0
  160. package/dist/design-system/Icon/__generated/icons/ClusterIcon.d.ts.map +1 -0
  161. package/dist/design-system/Icon/__generated/icons/ClustersIcon.d.ts +1 -0
  162. package/dist/design-system/Icon/__generated/icons/ClustersIcon.d.ts.map +1 -0
  163. package/dist/design-system/Icon/__generated/icons/CodeIcon.d.ts +1 -0
  164. package/dist/design-system/Icon/__generated/icons/CodeIcon.d.ts.map +1 -0
  165. package/dist/design-system/Icon/__generated/icons/CopyIcon.d.ts +1 -0
  166. package/dist/design-system/Icon/__generated/icons/CopyIcon.d.ts.map +1 -0
  167. package/dist/design-system/Icon/__generated/icons/DIcon.d.ts +1 -0
  168. package/dist/design-system/Icon/__generated/icons/DIcon.d.ts.map +1 -0
  169. package/dist/design-system/Icon/__generated/icons/DashIcon.d.ts +1 -0
  170. package/dist/design-system/Icon/__generated/icons/DashIcon.d.ts.map +1 -0
  171. package/dist/design-system/Icon/__generated/icons/DashboardIcon.d.ts +1 -0
  172. package/dist/design-system/Icon/__generated/icons/DashboardIcon.d.ts.map +1 -0
  173. package/dist/design-system/Icon/__generated/icons/DataIcon.d.ts +1 -0
  174. package/dist/design-system/Icon/__generated/icons/DataIcon.d.ts.map +1 -0
  175. package/dist/design-system/Icon/__generated/icons/DatabaseIcon.d.ts +1 -0
  176. package/dist/design-system/Icon/__generated/icons/DatabaseIcon.d.ts.map +1 -0
  177. package/dist/design-system/Icon/__generated/icons/DownloadIcon.d.ts +1 -0
  178. package/dist/design-system/Icon/__generated/icons/DownloadIcon.d.ts.map +1 -0
  179. package/dist/design-system/Icon/__generated/icons/DragIcon.d.ts +1 -0
  180. package/dist/design-system/Icon/__generated/icons/DragIcon.d.ts.map +1 -0
  181. package/dist/design-system/Icon/__generated/icons/ErrorBorderIcon.d.ts +1 -0
  182. package/dist/design-system/Icon/__generated/icons/ErrorBorderIcon.d.ts.map +1 -0
  183. package/dist/design-system/Icon/__generated/icons/ErrorFillIcon.d.ts +1 -0
  184. package/dist/design-system/Icon/__generated/icons/ErrorFillIcon.d.ts.map +1 -0
  185. package/dist/design-system/Icon/__generated/icons/ExpandLessIcon.d.ts +1 -0
  186. package/dist/design-system/Icon/__generated/icons/ExpandLessIcon.d.ts.map +1 -0
  187. package/dist/design-system/Icon/__generated/icons/ExpandMoreIcon.d.ts +1 -0
  188. package/dist/design-system/Icon/__generated/icons/ExpandMoreIcon.d.ts.map +1 -0
  189. package/dist/design-system/Icon/__generated/icons/ExperimentIcon.d.ts +1 -0
  190. package/dist/design-system/Icon/__generated/icons/ExperimentIcon.d.ts.map +1 -0
  191. package/dist/design-system/Icon/__generated/icons/FeatureStoreIcon.d.ts +1 -0
  192. package/dist/design-system/Icon/__generated/icons/FeatureStoreIcon.d.ts.map +1 -0
  193. package/dist/design-system/Icon/__generated/icons/FileCodeIcon.d.ts +1 -0
  194. package/dist/design-system/Icon/__generated/icons/FileCodeIcon.d.ts.map +1 -0
  195. package/dist/design-system/Icon/__generated/icons/FileDocumentIcon.d.ts +1 -0
  196. package/dist/design-system/Icon/__generated/icons/FileDocumentIcon.d.ts.map +1 -0
  197. package/dist/design-system/Icon/__generated/icons/FileIcon.d.ts +1 -0
  198. package/dist/design-system/Icon/__generated/icons/FileIcon.d.ts.map +1 -0
  199. package/dist/design-system/Icon/__generated/icons/FileImageIcon.d.ts +1 -0
  200. package/dist/design-system/Icon/__generated/icons/FileImageIcon.d.ts.map +1 -0
  201. package/dist/design-system/Icon/__generated/icons/FileModelIcon.d.ts +1 -0
  202. package/dist/design-system/Icon/__generated/icons/FileModelIcon.d.ts.map +1 -0
  203. package/dist/design-system/Icon/__generated/icons/FilterIcon.d.ts +1 -0
  204. package/dist/design-system/Icon/__generated/icons/FilterIcon.d.ts.map +1 -0
  205. package/dist/design-system/Icon/__generated/icons/Folder1Icon.d.ts +1 -0
  206. package/dist/design-system/Icon/__generated/icons/Folder1Icon.d.ts.map +1 -0
  207. package/dist/design-system/Icon/__generated/icons/FolderIcon.d.ts +1 -0
  208. package/dist/design-system/Icon/__generated/icons/FolderIcon.d.ts.map +1 -0
  209. package/dist/design-system/Icon/__generated/icons/ForkIcon.d.ts +1 -0
  210. package/dist/design-system/Icon/__generated/icons/ForkIcon.d.ts.map +1 -0
  211. package/dist/design-system/Icon/__generated/icons/FullscreenExitIcon.d.ts +1 -0
  212. package/dist/design-system/Icon/__generated/icons/FullscreenExitIcon.d.ts.map +1 -0
  213. package/dist/design-system/Icon/__generated/icons/FullscreenIcon.d.ts +1 -0
  214. package/dist/design-system/Icon/__generated/icons/FullscreenIcon.d.ts.map +1 -0
  215. package/dist/design-system/Icon/__generated/icons/Gear1Icon.d.ts +1 -0
  216. package/dist/design-system/Icon/__generated/icons/Gear1Icon.d.ts.map +1 -0
  217. package/dist/design-system/Icon/__generated/icons/GearIcon.d.ts +1 -0
  218. package/dist/design-system/Icon/__generated/icons/GearIcon.d.ts.map +1 -0
  219. package/dist/design-system/Icon/__generated/icons/GridDashIcon.d.ts +1 -0
  220. package/dist/design-system/Icon/__generated/icons/GridDashIcon.d.ts.map +1 -0
  221. package/dist/design-system/Icon/__generated/icons/GridIcon.d.ts +1 -0
  222. package/dist/design-system/Icon/__generated/icons/GridIcon.d.ts.map +1 -0
  223. package/dist/design-system/Icon/__generated/icons/H1Icon.d.ts +1 -0
  224. package/dist/design-system/Icon/__generated/icons/H1Icon.d.ts.map +1 -0
  225. package/dist/design-system/Icon/__generated/icons/H2Icon.d.ts +1 -0
  226. package/dist/design-system/Icon/__generated/icons/H2Icon.d.ts.map +1 -0
  227. package/dist/design-system/Icon/__generated/icons/H3Icon.d.ts +1 -0
  228. package/dist/design-system/Icon/__generated/icons/H3Icon.d.ts.map +1 -0
  229. package/dist/design-system/Icon/__generated/icons/HistoryIcon.d.ts +1 -0
  230. package/dist/design-system/Icon/__generated/icons/HistoryIcon.d.ts.map +1 -0
  231. package/dist/design-system/Icon/__generated/icons/HomeIcon.d.ts +1 -0
  232. package/dist/design-system/Icon/__generated/icons/HomeIcon.d.ts.map +1 -0
  233. package/dist/design-system/Icon/__generated/icons/ImageIcon.d.ts +1 -0
  234. package/dist/design-system/Icon/__generated/icons/ImageIcon.d.ts.map +1 -0
  235. package/dist/design-system/Icon/__generated/icons/IndentDecreaseIcon.d.ts +1 -0
  236. package/dist/design-system/Icon/__generated/icons/IndentDecreaseIcon.d.ts.map +1 -0
  237. package/dist/design-system/Icon/__generated/icons/IndentIncreaseIcon.d.ts +1 -0
  238. package/dist/design-system/Icon/__generated/icons/IndentIncreaseIcon.d.ts.map +1 -0
  239. package/dist/design-system/Icon/__generated/icons/InfoBorderIcon.d.ts +1 -0
  240. package/dist/design-system/Icon/__generated/icons/InfoBorderIcon.d.ts.map +1 -0
  241. package/dist/design-system/Icon/__generated/icons/InfoFillIcon.d.ts +1 -0
  242. package/dist/design-system/Icon/__generated/icons/InfoFillIcon.d.ts.map +1 -0
  243. package/dist/design-system/Icon/__generated/icons/KeyboardIcon.d.ts +1 -0
  244. package/dist/design-system/Icon/__generated/icons/KeyboardIcon.d.ts.map +1 -0
  245. package/dist/design-system/Icon/__generated/icons/LayerIcon.d.ts +1 -0
  246. package/dist/design-system/Icon/__generated/icons/LayerIcon.d.ts.map +1 -0
  247. package/dist/design-system/Icon/__generated/icons/LifesaverIcon.d.ts +1 -0
  248. package/dist/design-system/Icon/__generated/icons/LifesaverIcon.d.ts.map +1 -0
  249. package/dist/design-system/Icon/__generated/icons/LightningIcon.d.ts +1 -0
  250. package/dist/design-system/Icon/__generated/icons/LightningIcon.d.ts.map +1 -0
  251. package/dist/design-system/Icon/__generated/icons/LinkIcon.d.ts +1 -0
  252. package/dist/design-system/Icon/__generated/icons/LinkIcon.d.ts.map +1 -0
  253. package/dist/design-system/Icon/__generated/icons/LinkRemoveIcon.d.ts +1 -0
  254. package/dist/design-system/Icon/__generated/icons/LinkRemoveIcon.d.ts.map +1 -0
  255. package/dist/design-system/Icon/__generated/icons/ListBorderIcon.d.ts +1 -0
  256. package/dist/design-system/Icon/__generated/icons/ListBorderIcon.d.ts.map +1 -0
  257. package/dist/design-system/Icon/__generated/icons/ListIcon.d.ts +1 -0
  258. package/dist/design-system/Icon/__generated/icons/ListIcon.d.ts.map +1 -0
  259. package/dist/design-system/Icon/__generated/icons/LoadingIcon.d.ts +1 -0
  260. package/dist/design-system/Icon/__generated/icons/LoadingIcon.d.ts.map +1 -0
  261. package/dist/design-system/Icon/__generated/icons/LockBorderIcon.d.ts +1 -0
  262. package/dist/design-system/Icon/__generated/icons/LockBorderIcon.d.ts.map +1 -0
  263. package/dist/design-system/Icon/__generated/icons/LockFillIcon.d.ts +1 -0
  264. package/dist/design-system/Icon/__generated/icons/LockFillIcon.d.ts.map +1 -0
  265. package/dist/design-system/Icon/__generated/icons/LockUnlockedIcon.d.ts +1 -0
  266. package/dist/design-system/Icon/__generated/icons/LockUnlockedIcon.d.ts.map +1 -0
  267. package/dist/design-system/Icon/__generated/icons/MIcon.d.ts +1 -0
  268. package/dist/design-system/Icon/__generated/icons/MIcon.d.ts.map +1 -0
  269. package/dist/design-system/Icon/__generated/icons/MinusBoxIcon.d.ts +1 -0
  270. package/dist/design-system/Icon/__generated/icons/MinusBoxIcon.d.ts.map +1 -0
  271. package/dist/design-system/Icon/__generated/icons/MinusCircleBorderIcon.d.ts +1 -0
  272. package/dist/design-system/Icon/__generated/icons/MinusCircleBorderIcon.d.ts.map +1 -0
  273. package/dist/design-system/Icon/__generated/icons/MinusCircleFillIcon.d.ts +1 -0
  274. package/dist/design-system/Icon/__generated/icons/MinusCircleFillIcon.d.ts.map +1 -0
  275. package/dist/design-system/Icon/__generated/icons/ModelsIcon.d.ts +1 -0
  276. package/dist/design-system/Icon/__generated/icons/ModelsIcon.d.ts.map +1 -0
  277. package/dist/design-system/Icon/__generated/icons/NewWindowIcon.d.ts +1 -0
  278. package/dist/design-system/Icon/__generated/icons/NewWindowIcon.d.ts.map +1 -0
  279. package/dist/design-system/Icon/__generated/icons/NoIcon.d.ts +1 -0
  280. package/dist/design-system/Icon/__generated/icons/NoIcon.d.ts.map +1 -0
  281. package/dist/design-system/Icon/__generated/icons/NotebookIcon.d.ts +1 -0
  282. package/dist/design-system/Icon/__generated/icons/NotebookIcon.d.ts.map +1 -0
  283. package/dist/design-system/Icon/__generated/icons/NotificationIcon.d.ts +1 -0
  284. package/dist/design-system/Icon/__generated/icons/NotificationIcon.d.ts.map +1 -0
  285. package/dist/design-system/Icon/__generated/icons/NotificationsIcon.d.ts +1 -0
  286. package/dist/design-system/Icon/__generated/icons/NotificationsIcon.d.ts.map +1 -0
  287. package/dist/design-system/Icon/__generated/icons/OfficeIcon.d.ts +1 -0
  288. package/dist/design-system/Icon/__generated/icons/OfficeIcon.d.ts.map +1 -0
  289. package/dist/design-system/Icon/__generated/icons/OverflowIcon.d.ts +1 -0
  290. package/dist/design-system/Icon/__generated/icons/OverflowIcon.d.ts.map +1 -0
  291. package/dist/design-system/Icon/__generated/icons/PageBottomIcon.d.ts +1 -0
  292. package/dist/design-system/Icon/__generated/icons/PageBottomIcon.d.ts.map +1 -0
  293. package/dist/design-system/Icon/__generated/icons/PageFirstIcon.d.ts +1 -0
  294. package/dist/design-system/Icon/__generated/icons/PageFirstIcon.d.ts.map +1 -0
  295. package/dist/design-system/Icon/__generated/icons/PageLastIcon.d.ts +1 -0
  296. package/dist/design-system/Icon/__generated/icons/PageLastIcon.d.ts.map +1 -0
  297. package/dist/design-system/Icon/__generated/icons/PageTopIcon.d.ts +1 -0
  298. package/dist/design-system/Icon/__generated/icons/PageTopIcon.d.ts.map +1 -0
  299. package/dist/design-system/Icon/__generated/icons/PencilIcon.d.ts +1 -0
  300. package/dist/design-system/Icon/__generated/icons/PencilIcon.d.ts.map +1 -0
  301. package/dist/design-system/Icon/__generated/icons/PinBorderIcon.d.ts +1 -0
  302. package/dist/design-system/Icon/__generated/icons/PinBorderIcon.d.ts.map +1 -0
  303. package/dist/design-system/Icon/__generated/icons/PinCancelIcon.d.ts +1 -0
  304. package/dist/design-system/Icon/__generated/icons/PinCancelIcon.d.ts.map +1 -0
  305. package/dist/design-system/Icon/__generated/icons/PinFillIcon.d.ts +1 -0
  306. package/dist/design-system/Icon/__generated/icons/PinFillIcon.d.ts.map +1 -0
  307. package/dist/design-system/Icon/__generated/icons/PinXIcon.d.ts +1 -0
  308. package/dist/design-system/Icon/__generated/icons/PinXIcon.d.ts.map +1 -0
  309. package/dist/design-system/Icon/__generated/icons/PlayCircleBorderIcon.d.ts +1 -0
  310. package/dist/design-system/Icon/__generated/icons/PlayCircleBorderIcon.d.ts.map +1 -0
  311. package/dist/design-system/Icon/__generated/icons/PlayCircleFillIcon.d.ts +1 -0
  312. package/dist/design-system/Icon/__generated/icons/PlayCircleFillIcon.d.ts.map +1 -0
  313. package/dist/design-system/Icon/__generated/icons/PlayIcon.d.ts +1 -0
  314. package/dist/design-system/Icon/__generated/icons/PlayIcon.d.ts.map +1 -0
  315. package/dist/design-system/Icon/__generated/icons/PlusCircleBorderIcon.d.ts +1 -0
  316. package/dist/design-system/Icon/__generated/icons/PlusCircleBorderIcon.d.ts.map +1 -0
  317. package/dist/design-system/Icon/__generated/icons/PlusCircleFillIcon.d.ts +1 -0
  318. package/dist/design-system/Icon/__generated/icons/PlusCircleFillIcon.d.ts.map +1 -0
  319. package/dist/design-system/Icon/__generated/icons/PlusIcon.d.ts +1 -0
  320. package/dist/design-system/Icon/__generated/icons/PlusIcon.d.ts.map +1 -0
  321. package/dist/design-system/Icon/__generated/icons/PlusSquareIcon.d.ts +1 -0
  322. package/dist/design-system/Icon/__generated/icons/PlusSquareIcon.d.ts.map +1 -0
  323. package/dist/design-system/Icon/__generated/icons/QueryEditorIcon.d.ts +1 -0
  324. package/dist/design-system/Icon/__generated/icons/QueryEditorIcon.d.ts.map +1 -0
  325. package/dist/design-system/Icon/__generated/icons/QueryIcon.d.ts +1 -0
  326. package/dist/design-system/Icon/__generated/icons/QueryIcon.d.ts.map +1 -0
  327. package/dist/design-system/Icon/__generated/icons/QueryListViewIcon.d.ts +1 -0
  328. package/dist/design-system/Icon/__generated/icons/QueryListViewIcon.d.ts.map +1 -0
  329. package/dist/design-system/Icon/__generated/icons/QueryNavIcon.d.ts +1 -0
  330. package/dist/design-system/Icon/__generated/icons/QueryNavIcon.d.ts.map +1 -0
  331. package/dist/design-system/Icon/__generated/icons/QuestionMarkBorderIcon.d.ts +1 -0
  332. package/dist/design-system/Icon/__generated/icons/QuestionMarkBorderIcon.d.ts.map +1 -0
  333. package/dist/design-system/Icon/__generated/icons/QuestionMarkFillIcon.d.ts +1 -0
  334. package/dist/design-system/Icon/__generated/icons/QuestionMarkFillIcon.d.ts.map +1 -0
  335. package/dist/design-system/Icon/__generated/icons/ReaderModeIcon.d.ts +1 -0
  336. package/dist/design-system/Icon/__generated/icons/ReaderModeIcon.d.ts.map +1 -0
  337. package/dist/design-system/Icon/__generated/icons/ReposIcon.d.ts +1 -0
  338. package/dist/design-system/Icon/__generated/icons/ReposIcon.d.ts.map +1 -0
  339. package/dist/design-system/Icon/__generated/icons/SchoolIcon.d.ts +1 -0
  340. package/dist/design-system/Icon/__generated/icons/SchoolIcon.d.ts.map +1 -0
  341. package/dist/design-system/Icon/__generated/icons/Search1Icon.d.ts +1 -0
  342. package/dist/design-system/Icon/__generated/icons/Search1Icon.d.ts.map +1 -0
  343. package/dist/design-system/Icon/__generated/icons/SearchIcon.d.ts +1 -0
  344. package/dist/design-system/Icon/__generated/icons/SearchIcon.d.ts.map +1 -0
  345. package/dist/design-system/Icon/__generated/icons/SecurityIcon.d.ts +1 -0
  346. package/dist/design-system/Icon/__generated/icons/SecurityIcon.d.ts.map +1 -0
  347. package/dist/design-system/Icon/__generated/icons/ShareIcon.d.ts +1 -0
  348. package/dist/design-system/Icon/__generated/icons/ShareIcon.d.ts.map +1 -0
  349. package/dist/design-system/Icon/__generated/icons/SidebarAutoIcon.d.ts +1 -0
  350. package/dist/design-system/Icon/__generated/icons/SidebarAutoIcon.d.ts.map +1 -0
  351. package/dist/design-system/Icon/__generated/icons/SidebarCollapseIcon.d.ts +1 -0
  352. package/dist/design-system/Icon/__generated/icons/SidebarCollapseIcon.d.ts.map +1 -0
  353. package/dist/design-system/Icon/__generated/icons/SidebarExpandIcon.d.ts +1 -0
  354. package/dist/design-system/Icon/__generated/icons/SidebarExpandIcon.d.ts.map +1 -0
  355. package/dist/design-system/Icon/__generated/icons/SidebarIcon.d.ts +1 -0
  356. package/dist/design-system/Icon/__generated/icons/SidebarIcon.d.ts.map +1 -0
  357. package/dist/design-system/Icon/__generated/icons/SpeechBubbleIcon.d.ts +1 -0
  358. package/dist/design-system/Icon/__generated/icons/SpeechBubbleIcon.d.ts.map +1 -0
  359. package/dist/design-system/Icon/__generated/icons/SpeechBubblePlusIcon.d.ts +1 -0
  360. package/dist/design-system/Icon/__generated/icons/SpeechBubblePlusIcon.d.ts.map +1 -0
  361. package/dist/design-system/Icon/__generated/icons/StarBorderIcon.d.ts +1 -0
  362. package/dist/design-system/Icon/__generated/icons/StarBorderIcon.d.ts.map +1 -0
  363. package/dist/design-system/Icon/__generated/icons/StarFillIcon.d.ts +1 -0
  364. package/dist/design-system/Icon/__generated/icons/StarFillIcon.d.ts.map +1 -0
  365. package/dist/design-system/Icon/__generated/icons/StopCircleBorderIcon.d.ts +1 -0
  366. package/dist/design-system/Icon/__generated/icons/StopCircleBorderIcon.d.ts.map +1 -0
  367. package/dist/design-system/Icon/__generated/icons/StopCricleFillIcon.d.ts +1 -0
  368. package/dist/design-system/Icon/__generated/icons/StopCricleFillIcon.d.ts.map +1 -0
  369. package/dist/design-system/Icon/__generated/icons/StopIcon.d.ts +1 -0
  370. package/dist/design-system/Icon/__generated/icons/StopIcon.d.ts.map +1 -0
  371. package/dist/design-system/Icon/__generated/icons/StreamIcon.d.ts +1 -0
  372. package/dist/design-system/Icon/__generated/icons/StreamIcon.d.ts.map +1 -0
  373. package/dist/design-system/Icon/__generated/icons/SyncIcon.d.ts +1 -0
  374. package/dist/design-system/Icon/__generated/icons/SyncIcon.d.ts.map +1 -0
  375. package/dist/design-system/Icon/__generated/icons/TableIcon.d.ts +1 -0
  376. package/dist/design-system/Icon/__generated/icons/TableIcon.d.ts.map +1 -0
  377. package/dist/design-system/Icon/__generated/icons/TrashIcon.d.ts +1 -0
  378. package/dist/design-system/Icon/__generated/icons/TrashIcon.d.ts.map +1 -0
  379. package/dist/design-system/Icon/__generated/icons/TreeIcon.d.ts +1 -0
  380. package/dist/design-system/Icon/__generated/icons/TreeIcon.d.ts.map +1 -0
  381. package/dist/design-system/Icon/__generated/icons/UploadIcon.d.ts +1 -0
  382. package/dist/design-system/Icon/__generated/icons/UploadIcon.d.ts.map +1 -0
  383. package/dist/design-system/Icon/__generated/icons/UsbIcon.d.ts +1 -0
  384. package/dist/design-system/Icon/__generated/icons/UsbIcon.d.ts.map +1 -0
  385. package/dist/design-system/Icon/__generated/icons/UserBadgeIcon.d.ts +1 -0
  386. package/dist/design-system/Icon/__generated/icons/UserBadgeIcon.d.ts.map +1 -0
  387. package/dist/design-system/Icon/__generated/icons/UserCircleIcon.d.ts +1 -0
  388. package/dist/design-system/Icon/__generated/icons/UserCircleIcon.d.ts.map +1 -0
  389. package/dist/design-system/Icon/__generated/icons/UserGroupIcon.d.ts +1 -0
  390. package/dist/design-system/Icon/__generated/icons/UserGroupIcon.d.ts.map +1 -0
  391. package/dist/design-system/Icon/__generated/icons/UserIcon.d.ts +1 -0
  392. package/dist/design-system/Icon/__generated/icons/UserIcon.d.ts.map +1 -0
  393. package/dist/design-system/Icon/__generated/icons/VideosIcon.d.ts +1 -0
  394. package/dist/design-system/Icon/__generated/icons/VideosIcon.d.ts.map +1 -0
  395. package/dist/design-system/Icon/__generated/icons/WarningBorderIcon.d.ts +1 -0
  396. package/dist/design-system/Icon/__generated/icons/WarningBorderIcon.d.ts.map +1 -0
  397. package/dist/design-system/Icon/__generated/icons/WarningFillIcon.d.ts +1 -0
  398. package/dist/design-system/Icon/__generated/icons/WarningFillIcon.d.ts.map +1 -0
  399. package/dist/design-system/Icon/__generated/icons/XCircleBorderIcon.d.ts +1 -0
  400. package/dist/design-system/Icon/__generated/icons/XCircleBorderIcon.d.ts.map +1 -0
  401. package/dist/design-system/Icon/__generated/icons/XCircleFillIcon.d.ts +1 -0
  402. package/dist/design-system/Icon/__generated/icons/XCircleFillIcon.d.ts.map +1 -0
  403. package/dist/design-system/Icon/__generated/icons/ZoomInIcon.d.ts +1 -0
  404. package/dist/design-system/Icon/__generated/icons/ZoomInIcon.d.ts.map +1 -0
  405. package/dist/design-system/Icon/__generated/icons/ZoomOutIcon.d.ts +1 -0
  406. package/dist/design-system/Icon/__generated/icons/ZoomOutIcon.d.ts.map +1 -0
  407. package/dist/design-system/Icon/__generated/icons/index.d.ts +1 -0
  408. package/dist/design-system/Icon/__generated/icons/index.d.ts.map +1 -0
  409. package/dist/design-system/Icon/iconMap.d.ts +1 -0
  410. package/dist/design-system/Icon/iconMap.d.ts.map +1 -0
  411. package/dist/design-system/Icon/index.d.ts +1 -0
  412. package/dist/design-system/Icon/index.d.ts.map +1 -0
  413. package/dist/design-system/Input/Input.d.ts +1 -0
  414. package/dist/design-system/Input/Input.d.ts.map +1 -0
  415. package/dist/design-system/Input/index.d.ts +1 -0
  416. package/dist/design-system/Input/index.d.ts.map +1 -0
  417. package/dist/design-system/Layout/Layout.d.ts +1 -0
  418. package/dist/design-system/Layout/Layout.d.ts.map +1 -0
  419. package/dist/design-system/Layout/index.d.ts +1 -0
  420. package/dist/design-system/Layout/index.d.ts.map +1 -0
  421. package/dist/design-system/Menu/Menu.d.ts +1 -0
  422. package/dist/design-system/Menu/Menu.d.ts.map +1 -0
  423. package/dist/design-system/Menu/index.d.ts +1 -0
  424. package/dist/design-system/Menu/index.d.ts.map +1 -0
  425. package/dist/design-system/Modal/Modal.d.ts +1 -0
  426. package/dist/design-system/Modal/Modal.d.ts.map +1 -0
  427. package/dist/design-system/Modal/index.d.ts +1 -0
  428. package/dist/design-system/Modal/index.d.ts.map +1 -0
  429. package/dist/design-system/Notification/Notification.d.ts +3 -1
  430. package/dist/design-system/Notification/Notification.d.ts.map +1 -0
  431. package/dist/design-system/Notification/Notification.test.d.ts +1 -0
  432. package/dist/design-system/Notification/Notification.test.d.ts.map +1 -0
  433. package/dist/design-system/Notification/index.d.ts +1 -0
  434. package/dist/design-system/Notification/index.d.ts.map +1 -0
  435. package/dist/design-system/PageWrapper/PageWrapper.d.ts +1 -0
  436. package/dist/design-system/PageWrapper/PageWrapper.d.ts.map +1 -0
  437. package/dist/design-system/PageWrapper/index.d.ts +1 -0
  438. package/dist/design-system/PageWrapper/index.d.ts.map +1 -0
  439. package/dist/design-system/Pagination/index.d.ts +1 -0
  440. package/dist/design-system/Pagination/index.d.ts.map +1 -0
  441. package/dist/design-system/Popover/Popover.d.ts +1 -0
  442. package/dist/design-system/Popover/Popover.d.ts.map +1 -0
  443. package/dist/design-system/Popover/index.d.ts +1 -0
  444. package/dist/design-system/Popover/index.d.ts.map +1 -0
  445. package/dist/design-system/Radio/Radio.d.ts +1 -0
  446. package/dist/design-system/Radio/Radio.d.ts.map +1 -0
  447. package/dist/design-system/Radio/index.d.ts +1 -0
  448. package/dist/design-system/Radio/index.d.ts.map +1 -0
  449. package/dist/design-system/SegmentedControl/SegmentedControl.d.ts +1 -0
  450. package/dist/design-system/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  451. package/dist/design-system/SegmentedControl/index.d.ts +1 -0
  452. package/dist/design-system/SegmentedControl/index.d.ts.map +1 -0
  453. package/dist/design-system/Select/Select.d.ts +2 -1
  454. package/dist/design-system/Select/Select.d.ts.map +1 -0
  455. package/dist/design-system/Select/index.d.ts +1 -0
  456. package/dist/design-system/Select/index.d.ts.map +1 -0
  457. package/dist/design-system/Skeleton/Skeleton.d.ts +1 -0
  458. package/dist/design-system/Skeleton/Skeleton.d.ts.map +1 -0
  459. package/dist/design-system/Skeleton/index.d.ts +1 -0
  460. package/dist/design-system/Skeleton/index.d.ts.map +1 -0
  461. package/dist/design-system/Space/Space.d.ts +1 -0
  462. package/dist/design-system/Space/Space.d.ts.map +1 -0
  463. package/dist/design-system/Space/index.d.ts +1 -0
  464. package/dist/design-system/Space/index.d.ts.map +1 -0
  465. package/dist/design-system/Spacer/Spacer.d.ts +1 -0
  466. package/dist/design-system/Spacer/Spacer.d.ts.map +1 -0
  467. package/dist/design-system/Spacer/index.d.ts +1 -0
  468. package/dist/design-system/Spacer/index.d.ts.map +1 -0
  469. package/dist/design-system/Spinner/Spinner.d.ts +1 -0
  470. package/dist/design-system/Spinner/Spinner.d.ts.map +1 -0
  471. package/dist/design-system/Spinner/index.d.ts +1 -0
  472. package/dist/design-system/Spinner/index.d.ts.map +1 -0
  473. package/dist/design-system/SplitButton/SplitButton.d.ts +2 -0
  474. package/dist/design-system/SplitButton/SplitButton.d.ts.map +1 -0
  475. package/dist/design-system/SplitButton/index.d.ts +1 -0
  476. package/dist/design-system/SplitButton/index.d.ts.map +1 -0
  477. package/dist/design-system/Switch/Switch.d.ts +1 -0
  478. package/dist/design-system/Switch/Switch.d.ts.map +1 -0
  479. package/dist/design-system/Switch/index.d.ts +1 -0
  480. package/dist/design-system/Switch/index.d.ts.map +1 -0
  481. package/dist/design-system/Table/Table.d.ts +1 -0
  482. package/dist/design-system/Table/Table.d.ts.map +1 -0
  483. package/dist/design-system/Table/index.d.ts +1 -0
  484. package/dist/design-system/Table/index.d.ts.map +1 -0
  485. package/dist/design-system/Tabs/index.d.ts +6 -1
  486. package/dist/design-system/Tabs/index.d.ts.map +1 -0
  487. package/dist/design-system/Tag/index.d.ts +1 -0
  488. package/dist/design-system/Tag/index.d.ts.map +1 -0
  489. package/dist/design-system/Tooltip/Tooltip.d.ts +1 -0
  490. package/dist/design-system/Tooltip/Tooltip.d.ts.map +1 -0
  491. package/dist/design-system/Tooltip/index.d.ts +1 -0
  492. package/dist/design-system/Tooltip/index.d.ts.map +1 -0
  493. package/dist/design-system/Tree/Tree.d.ts +1 -0
  494. package/dist/design-system/Tree/Tree.d.ts.map +1 -0
  495. package/dist/design-system/Tree/index.d.ts +1 -0
  496. package/dist/design-system/Tree/index.d.ts.map +1 -0
  497. package/dist/design-system/Typography/Link.d.ts +14 -0
  498. package/dist/design-system/Typography/Link.d.ts.map +1 -0
  499. package/dist/design-system/Typography/Paragraph.d.ts +1 -0
  500. package/dist/design-system/Typography/Paragraph.d.ts.map +1 -0
  501. package/dist/design-system/Typography/Text.d.ts +1 -0
  502. package/dist/design-system/Typography/Text.d.ts.map +1 -0
  503. package/dist/design-system/Typography/Title.d.ts +1 -0
  504. package/dist/design-system/Typography/Title.d.ts.map +1 -0
  505. package/dist/design-system/Typography/Typography.d.ts +2 -1
  506. package/dist/design-system/Typography/Typography.d.ts.map +1 -0
  507. package/dist/design-system/Typography/index.d.ts +1 -0
  508. package/dist/design-system/Typography/index.d.ts.map +1 -0
  509. package/dist/design-system/constants.d.ts +1 -0
  510. package/dist/design-system/constants.d.ts.map +1 -0
  511. package/dist/design-system/index.d.ts +1 -0
  512. package/dist/design-system/index.d.ts.map +1 -0
  513. package/dist/design-system/types.d.ts +1 -0
  514. package/dist/design-system/types.d.ts.map +1 -0
  515. package/dist/design-system/utils/css-utils.d.ts +1 -0
  516. package/dist/design-system/utils/css-utils.d.ts.map +1 -0
  517. package/dist/index-dark.css +431 -431
  518. package/dist/index.css +508 -508
  519. package/dist/index.d.ts +2 -0
  520. package/dist/index.d.ts.map +1 -0
  521. package/dist/index.js +1763 -336
  522. package/dist/index.js.map +1 -1
  523. package/dist/rollup-less-tilde-importer.d.ts +1 -0
  524. package/dist/rollup-less-tilde-importer.d.ts.map +1 -0
  525. package/dist/theme/borders.d.ts +1 -0
  526. package/dist/theme/borders.d.ts.map +1 -0
  527. package/dist/theme/colorList.d.ts +3 -0
  528. package/dist/theme/colorList.d.ts.map +1 -0
  529. package/dist/theme/colors.d.ts +11 -7
  530. package/dist/theme/colors.d.ts.map +1 -0
  531. package/dist/theme/convertToLessVars.d.ts +1 -0
  532. package/dist/theme/convertToLessVars.d.ts.map +1 -0
  533. package/dist/theme/generalVariables.d.ts +1 -0
  534. package/dist/theme/generalVariables.d.ts.map +1 -0
  535. package/dist/theme/index.d.ts +1 -0
  536. package/dist/theme/index.d.ts.map +1 -0
  537. package/dist/theme/spacing.d.ts +1 -0
  538. package/dist/theme/spacing.d.ts.map +1 -0
  539. package/dist/theme/typography.d.ts +1 -0
  540. package/dist/theme/typography.d.ts.map +1 -0
  541. package/package.json +21 -19
  542. package/dist/.pkgr-sources-hash +0 -1
  543. package/dist/design-system/DesignSystemProvider/DesignSystemProvider.test.d.ts +0 -1
package/dist/index.js CHANGED
@@ -12856,7 +12856,7 @@ var Portal = /*#__PURE__*/forwardRef(function (props, ref) {
12856
12856
  return containerRef.current ? /*#__PURE__*/ReactDOM__default.createPortal(children, containerRef.current) : null;
12857
12857
  });
12858
12858
 
12859
- function isPointsEq$1(a1, a2, isAlignPoint) {
12859
+ function isPointsEq$2(a1, a2, isAlignPoint) {
12860
12860
  if (isAlignPoint) {
12861
12861
  return a1[0] === a2[0];
12862
12862
  }
@@ -12864,18 +12864,18 @@ function isPointsEq$1(a1, a2, isAlignPoint) {
12864
12864
  return a1[0] === a2[0] && a1[1] === a2[1];
12865
12865
  }
12866
12866
 
12867
- function getAlignFromPlacement$1(builtinPlacements, placementStr, align) {
12867
+ function getAlignFromPlacement$2(builtinPlacements, placementStr, align) {
12868
12868
  var baseAlign = builtinPlacements[placementStr] || {};
12869
12869
  return _objectSpread$5(_objectSpread$5({}, baseAlign), align);
12870
12870
  }
12871
- function getAlignPopupClassName$1(builtinPlacements, prefixCls, align, isAlignPoint) {
12871
+ function getAlignPopupClassName$2(builtinPlacements, prefixCls, align, isAlignPoint) {
12872
12872
  var points = align.points;
12873
12873
  var placements = Object.keys(builtinPlacements);
12874
12874
 
12875
12875
  for (var i = 0; i < placements.length; i += 1) {
12876
12876
  var placement = placements[i];
12877
12877
 
12878
- if (isPointsEq$1(builtinPlacements[placement].points, points, isAlignPoint)) {
12878
+ if (isPointsEq$2(builtinPlacements[placement].points, points, isAlignPoint)) {
12879
12879
  return "".concat(prefixCls, "-placement-").concat(placement);
12880
12880
  }
12881
12881
  }
@@ -12883,7 +12883,7 @@ function getAlignPopupClassName$1(builtinPlacements, prefixCls, align, isAlignPo
12883
12883
  return '';
12884
12884
  }
12885
12885
 
12886
- function getMotion$3(_ref) {
12886
+ function getMotion$4(_ref) {
12887
12887
  var prefixCls = _ref.prefixCls,
12888
12888
  motion = _ref.motion,
12889
12889
  animation = _ref.animation,
@@ -12908,7 +12908,7 @@ function getMotion$3(_ref) {
12908
12908
  return null;
12909
12909
  }
12910
12910
 
12911
- function Mask$2(props) {
12911
+ function Mask$3(props) {
12912
12912
  var prefixCls = props.prefixCls,
12913
12913
  visible = props.visible,
12914
12914
  zIndex = props.zIndex,
@@ -12926,7 +12926,7 @@ function Mask$2(props) {
12926
12926
  if (maskMotion || maskTransitionName || maskAnimation) {
12927
12927
  motion = _objectSpread$5({
12928
12928
  motionAppear: true
12929
- }, getMotion$3({
12929
+ }, getMotion$4({
12930
12930
  motion: maskMotion,
12931
12931
  prefixCls: prefixCls,
12932
12932
  transitionName: maskTransitionName,
@@ -14610,8 +14610,8 @@ var Align = function Align(_ref, ref) {
14610
14610
  var RefAlign = /*#__PURE__*/React__default.forwardRef(Align);
14611
14611
  RefAlign.displayName = 'Align';
14612
14612
 
14613
- var StatusQueue$1 = ['measure', 'align', null, 'motion'];
14614
- var useVisibleStatus$1 = (function (visible, doMeasure) {
14613
+ var StatusQueue$2 = ['measure', 'align', null, 'motion'];
14614
+ var useVisibleStatus$2 = (function (visible, doMeasure) {
14615
14615
  var _useState = useState(null),
14616
14616
  _useState2 = _slicedToArray$3(_useState, 2),
14617
14617
  status = _useState2[0],
@@ -14668,8 +14668,8 @@ var useVisibleStatus$1 = (function (visible, doMeasure) {
14668
14668
  while (1) {
14669
14669
  switch (_context.prev = _context.next) {
14670
14670
  case 0:
14671
- index = StatusQueue$1.indexOf(status);
14672
- nextStatus = StatusQueue$1[index + 1];
14671
+ index = StatusQueue$2.indexOf(status);
14672
+ nextStatus = StatusQueue$2[index + 1];
14673
14673
 
14674
14674
  if (nextStatus && index !== -1) {
14675
14675
  setStatus(nextStatus);
@@ -14693,7 +14693,7 @@ var useVisibleStatus$1 = (function (visible, doMeasure) {
14693
14693
  return [status, goNextStatus];
14694
14694
  });
14695
14695
 
14696
- var useStretchStyle$1 = (function (stretch) {
14696
+ var useStretchStyle$2 = (function (stretch) {
14697
14697
  var _React$useState = React.useState({
14698
14698
  width: 0,
14699
14699
  height: 0
@@ -14735,7 +14735,7 @@ var useStretchStyle$1 = (function (stretch) {
14735
14735
  return [style, measureStretch];
14736
14736
  });
14737
14737
 
14738
- var PopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14738
+ var PopupInner$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14739
14739
  var visible = props.visible,
14740
14740
  prefixCls = props.prefixCls,
14741
14741
  className = props.className,
@@ -14763,7 +14763,7 @@ var PopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14763
14763
  setAlignedClassName = _useState2[1]; // ======================= Measure ========================
14764
14764
 
14765
14765
 
14766
- var _useStretchStyle = useStretchStyle$1(stretch),
14766
+ var _useStretchStyle = useStretchStyle$2(stretch),
14767
14767
  _useStretchStyle2 = _slicedToArray$3(_useStretchStyle, 2),
14768
14768
  stretchStyle = _useStretchStyle2[0],
14769
14769
  measureStretchStyle = _useStretchStyle2[1];
@@ -14775,7 +14775,7 @@ var PopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14775
14775
  } // ======================== Status ========================
14776
14776
 
14777
14777
 
14778
- var _useVisibleStatus = useVisibleStatus$1(visible, doMeasure),
14778
+ var _useVisibleStatus = useVisibleStatus$2(visible, doMeasure),
14779
14779
  _useVisibleStatus2 = _slicedToArray$3(_useVisibleStatus, 2),
14780
14780
  status = _useVisibleStatus2[0],
14781
14781
  goNextStatus = _useVisibleStatus2[1]; // ======================== Aligns ========================
@@ -14820,7 +14820,7 @@ var PopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14820
14820
  } // ======================== Motion ========================
14821
14821
 
14822
14822
 
14823
- var motion = _objectSpread$5({}, getMotion$3(props));
14823
+ var motion = _objectSpread$5({}, getMotion$4(props));
14824
14824
 
14825
14825
  ['onAppearEnd', 'onEnterEnd', 'onLeaveEnd'].forEach(function (eventName) {
14826
14826
  var originHandler = motion[eventName];
@@ -14906,9 +14906,9 @@ var PopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14906
14906
  }, childNode));
14907
14907
  });
14908
14908
  });
14909
- PopupInner$1.displayName = 'PopupInner';
14909
+ PopupInner$2.displayName = 'PopupInner';
14910
14910
 
14911
- var MobilePopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14911
+ var MobilePopupInner$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14912
14912
  var prefixCls = props.prefixCls,
14913
14913
  visible = props.visible,
14914
14914
  zIndex = props.zIndex,
@@ -14963,9 +14963,9 @@ var MobilePopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
14963
14963
  }, childNode);
14964
14964
  });
14965
14965
  });
14966
- MobilePopupInner$1.displayName = 'MobilePopupInner';
14966
+ MobilePopupInner$2.displayName = 'MobilePopupInner';
14967
14967
 
14968
- var Popup$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14968
+ var Popup$2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14969
14969
  var visible = _ref.visible,
14970
14970
  mobile = _ref.mobile,
14971
14971
  props = _objectWithoutProperties$1(_ref, ["visible", "mobile"]);
@@ -14993,26 +14993,26 @@ var Popup$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14993
14993
  setInMobile(isMobile());
14994
14994
  }
14995
14995
  }, [visible, mobile]);
14996
- var popupNode = inMobile ? /*#__PURE__*/React.createElement(MobilePopupInner$1, _extends$1({}, cloneProps, {
14996
+ var popupNode = inMobile ? /*#__PURE__*/React.createElement(MobilePopupInner$2, _extends$1({}, cloneProps, {
14997
14997
  mobile: mobile,
14998
14998
  ref: ref
14999
- })) : /*#__PURE__*/React.createElement(PopupInner$1, _extends$1({}, cloneProps, {
14999
+ })) : /*#__PURE__*/React.createElement(PopupInner$2, _extends$1({}, cloneProps, {
15000
15000
  ref: ref
15001
15001
  })); // We can use fragment directly but this may failed some selector usage. Keep as origin logic
15002
15002
 
15003
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Mask$2, cloneProps), popupNode);
15003
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Mask$3, cloneProps), popupNode);
15004
15004
  });
15005
- Popup$1.displayName = 'Popup';
15005
+ Popup$2.displayName = 'Popup';
15006
15006
 
15007
- var TriggerContext$1 = /*#__PURE__*/React.createContext(null);
15007
+ var TriggerContext$2 = /*#__PURE__*/React.createContext(null);
15008
15008
 
15009
- function noop$3() {}
15009
+ function noop$4() {}
15010
15010
 
15011
- function returnEmptyString$1() {
15011
+ function returnEmptyString$2() {
15012
15012
  return '';
15013
15013
  }
15014
15014
 
15015
- function returnDocument$1(element) {
15015
+ function returnDocument$2(element) {
15016
15016
  if (element) {
15017
15017
  return element.ownerDocument;
15018
15018
  }
@@ -15020,12 +15020,12 @@ function returnDocument$1(element) {
15020
15020
  return window.document;
15021
15021
  }
15022
15022
 
15023
- var ALL_HANDLERS$1 = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur', 'onContextMenu'];
15023
+ var ALL_HANDLERS$2 = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur', 'onContextMenu'];
15024
15024
  /**
15025
15025
  * Internal usage. Do not use in your code since this will be removed.
15026
15026
  */
15027
15027
 
15028
- function generateTrigger$1(PortalComponent) {
15028
+ function generateTrigger$2(PortalComponent) {
15029
15029
  var Trigger = /*#__PURE__*/function (_React$Component) {
15030
15030
  _inherits$1(Trigger, _React$Component);
15031
15031
 
@@ -15224,7 +15224,7 @@ function generateTrigger$1(PortalComponent) {
15224
15224
  getPopupClassNameFromAlign = _this$props.getPopupClassNameFromAlign;
15225
15225
 
15226
15226
  if (popupPlacement && builtinPlacements) {
15227
- className.push(getAlignPopupClassName$1(builtinPlacements, prefixCls, align, alignPoint));
15227
+ className.push(getAlignPopupClassName$2(builtinPlacements, prefixCls, align, alignPoint));
15228
15228
  }
15229
15229
 
15230
15230
  if (getPopupClassNameFromAlign) {
@@ -15272,7 +15272,7 @@ function generateTrigger$1(PortalComponent) {
15272
15272
 
15273
15273
  mouseProps.onMouseDown = _this.onPopupMouseDown;
15274
15274
  mouseProps.onTouchStart = _this.onPopupMouseDown;
15275
- return /*#__PURE__*/React.createElement(Popup$1, _extends$1({
15275
+ return /*#__PURE__*/React.createElement(Popup$2, _extends$1({
15276
15276
  prefixCls: prefixCls,
15277
15277
  destroyPopupOnHide: destroyPopupOnHide,
15278
15278
  visible: popupVisible,
@@ -15376,7 +15376,7 @@ function generateTrigger$1(PortalComponent) {
15376
15376
  prevPopupVisible: popupVisible,
15377
15377
  popupVisible: popupVisible
15378
15378
  };
15379
- ALL_HANDLERS$1.forEach(function (h) {
15379
+ ALL_HANDLERS$2.forEach(function (h) {
15380
15380
  _this["fire".concat(h)] = function (e) {
15381
15381
  _this.fireEvents(h, e);
15382
15382
  };
@@ -15453,7 +15453,7 @@ function generateTrigger$1(PortalComponent) {
15453
15453
  builtinPlacements = props.builtinPlacements;
15454
15454
 
15455
15455
  if (popupPlacement && builtinPlacements) {
15456
- return getAlignFromPlacement$1(builtinPlacements, popupPlacement, popupAlign);
15456
+ return getAlignFromPlacement$2(builtinPlacements, popupPlacement, popupAlign);
15457
15457
  }
15458
15458
 
15459
15459
  return popupAlign;
@@ -15730,7 +15730,7 @@ function generateTrigger$1(PortalComponent) {
15730
15730
  portal = null;
15731
15731
  }
15732
15732
 
15733
- return /*#__PURE__*/React.createElement(TriggerContext$1.Provider, {
15733
+ return /*#__PURE__*/React.createElement(TriggerContext$2.Provider, {
15734
15734
  value: this.triggerContextValue
15735
15735
  }, trigger, portal);
15736
15736
  }
@@ -15752,14 +15752,14 @@ function generateTrigger$1(PortalComponent) {
15752
15752
  return Trigger;
15753
15753
  }(React.Component);
15754
15754
 
15755
- Trigger.contextType = TriggerContext$1;
15755
+ Trigger.contextType = TriggerContext$2;
15756
15756
  Trigger.defaultProps = {
15757
15757
  prefixCls: 'rc-trigger-popup',
15758
- getPopupClassNameFromAlign: returnEmptyString$1,
15759
- getDocument: returnDocument$1,
15760
- onPopupVisibleChange: noop$3,
15761
- afterPopupVisibleChange: noop$3,
15762
- onPopupAlign: noop$3,
15758
+ getPopupClassNameFromAlign: returnEmptyString$2,
15759
+ getDocument: returnDocument$2,
15760
+ onPopupVisibleChange: noop$4,
15761
+ afterPopupVisibleChange: noop$4,
15762
+ onPopupAlign: noop$4,
15763
15763
  popupClassName: '',
15764
15764
  mouseEnterDelay: 0,
15765
15765
  mouseLeaveDelay: 0.1,
@@ -15778,7 +15778,7 @@ function generateTrigger$1(PortalComponent) {
15778
15778
  };
15779
15779
  return Trigger;
15780
15780
  }
15781
- var Trigger$2 = generateTrigger$1(Portal);
15781
+ var Trigger$3 = generateTrigger$2(Portal);
15782
15782
 
15783
15783
  var getBuiltInPlacements = function getBuiltInPlacements(dropdownMatchSelectWidth) {
15784
15784
  // Enable horizontal overflow auto-adjustment when a custom dropdown width is provided
@@ -15874,7 +15874,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
15874
15874
  popupStyle.width = containerWidth;
15875
15875
  }
15876
15876
 
15877
- return /*#__PURE__*/React.createElement(Trigger$2, _extends$1({}, restProps, {
15877
+ return /*#__PURE__*/React.createElement(Trigger$3, _extends$1({}, restProps, {
15878
15878
  showAction: onPopupVisibleChange ? ['click'] : [],
15879
15879
  hideAction: onPopupVisibleChange ? ['click'] : [],
15880
15880
  popupPlacement: direction === 'rtl' ? 'bottomRight' : 'bottomLeft',
@@ -17510,191 +17510,1453 @@ var Alert$1 = function Alert(_a) {
17510
17510
  closed = _React$useState2[0],
17511
17511
  setClosed = _React$useState2[1];
17512
17512
 
17513
- var ref = React.useRef();
17513
+ var ref = React.useRef();
17514
+
17515
+ var _React$useContext = React.useContext(ConfigContext),
17516
+ getPrefixCls = _React$useContext.getPrefixCls,
17517
+ direction = _React$useContext.direction;
17518
+
17519
+ var prefixCls = getPrefixCls('alert', customizePrefixCls);
17520
+
17521
+ var handleClose = function handleClose(e) {
17522
+ var _a;
17523
+
17524
+ setClosed(true);
17525
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props, e);
17526
+ };
17527
+
17528
+ var getType = function getType() {
17529
+ var type = props.type;
17530
+
17531
+ if (type !== undefined) {
17532
+ return type;
17533
+ } // banner 模式默认为警告
17534
+
17535
+
17536
+ return banner ? 'warning' : 'info';
17537
+ }; // closeable when closeText is assigned
17538
+
17539
+
17540
+ var isClosable = closeText ? true : closable;
17541
+ var type = getType();
17542
+
17543
+ var renderIconNode = function renderIconNode() {
17544
+ var icon = props.icon; // use outline icon in alert with description
17545
+
17546
+ var iconType = (description ? iconMapOutlined : iconMapFilled)[type] || null;
17547
+
17548
+ if (icon) {
17549
+ return replaceElement(icon, /*#__PURE__*/React.createElement("span", {
17550
+ className: "".concat(prefixCls, "-icon")
17551
+ }, icon), function () {
17552
+ return {
17553
+ className: classNames("".concat(prefixCls, "-icon"), _defineProperty$4({}, icon.props.className, icon.props.className))
17554
+ };
17555
+ });
17556
+ }
17557
+
17558
+ return /*#__PURE__*/React.createElement(iconType, {
17559
+ className: "".concat(prefixCls, "-icon")
17560
+ });
17561
+ };
17562
+
17563
+ var renderCloseIcon = function renderCloseIcon() {
17564
+ return isClosable ? /*#__PURE__*/React.createElement("button", {
17565
+ type: "button",
17566
+ onClick: handleClose,
17567
+ className: "".concat(prefixCls, "-close-icon"),
17568
+ tabIndex: 0
17569
+ }, closeText ? /*#__PURE__*/React.createElement("span", {
17570
+ className: "".concat(prefixCls, "-close-text")
17571
+ }, closeText) : /*#__PURE__*/React.createElement(CloseOutlined, null)) : null;
17572
+ }; // banner 模式默认有 Icon
17573
+
17574
+
17575
+ var isShowIcon = banner && showIcon === undefined ? true : showIcon;
17576
+ var alertCls = classNames(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames2 = {}, _defineProperty$4(_classNames2, "".concat(prefixCls, "-with-description"), !!description), _defineProperty$4(_classNames2, "".concat(prefixCls, "-no-icon"), !isShowIcon), _defineProperty$4(_classNames2, "".concat(prefixCls, "-banner"), !!banner), _defineProperty$4(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames2), className);
17577
+ var dataOrAriaProps = getDataOrAriaProps$1(props);
17578
+ return /*#__PURE__*/React.createElement(CSSMotion, {
17579
+ visible: !closed,
17580
+ motionName: "".concat(prefixCls, "-motion"),
17581
+ motionAppear: false,
17582
+ motionEnter: false,
17583
+ onLeaveStart: function onLeaveStart(node) {
17584
+ return {
17585
+ maxHeight: node.offsetHeight
17586
+ };
17587
+ },
17588
+ onLeaveEnd: afterClose
17589
+ }, function (_ref) {
17590
+ var motionClassName = _ref.className,
17591
+ motionStyle = _ref.style;
17592
+ return /*#__PURE__*/React.createElement("div", _extends$1({
17593
+ ref: ref,
17594
+ "data-show": !closed,
17595
+ className: classNames(alertCls, motionClassName),
17596
+ style: _extends$1(_extends$1({}, style), motionStyle),
17597
+ onMouseEnter: onMouseEnter,
17598
+ onMouseLeave: onMouseLeave,
17599
+ onClick: onClick,
17600
+ role: "alert"
17601
+ }, dataOrAriaProps), isShowIcon ? renderIconNode() : null, /*#__PURE__*/React.createElement("div", {
17602
+ className: "".concat(prefixCls, "-content")
17603
+ }, /*#__PURE__*/React.createElement("div", {
17604
+ className: "".concat(prefixCls, "-message")
17605
+ }, message), /*#__PURE__*/React.createElement("div", {
17606
+ className: "".concat(prefixCls, "-description")
17607
+ }, description)), action ? /*#__PURE__*/React.createElement("div", {
17608
+ className: "".concat(prefixCls, "-action")
17609
+ }, action) : null, renderCloseIcon());
17610
+ });
17611
+ };
17612
+
17613
+ Alert$1.ErrorBoundary = ErrorBoundary;
17614
+ var AntDAlert = Alert$1;
17615
+
17616
+ var responsiveArray = ['xxl', 'xl', 'lg', 'md', 'sm', 'xs'];
17617
+ var responsiveMap = {
17618
+ xs: '(max-width: 575px)',
17619
+ sm: '(min-width: 576px)',
17620
+ md: '(min-width: 768px)',
17621
+ lg: '(min-width: 992px)',
17622
+ xl: '(min-width: 1200px)',
17623
+ xxl: '(min-width: 1600px)'
17624
+ };
17625
+ var subscribers = new Map();
17626
+ var subUid = -1;
17627
+ var screens = {};
17628
+ var responsiveObserve = {
17629
+ matchHandlers: {},
17630
+ dispatch: function dispatch(pointMap) {
17631
+ screens = pointMap;
17632
+ subscribers.forEach(function (func) {
17633
+ return func(screens);
17634
+ });
17635
+ return subscribers.size >= 1;
17636
+ },
17637
+ subscribe: function subscribe(func) {
17638
+ if (!subscribers.size) this.register();
17639
+ subUid += 1;
17640
+ subscribers.set(subUid, func);
17641
+ func(screens);
17642
+ return subUid;
17643
+ },
17644
+ unsubscribe: function unsubscribe(token) {
17645
+ subscribers["delete"](token);
17646
+ if (!subscribers.size) this.unregister();
17647
+ },
17648
+ unregister: function unregister() {
17649
+ var _this = this;
17650
+
17651
+ Object.keys(responsiveMap).forEach(function (screen) {
17652
+ var matchMediaQuery = responsiveMap[screen];
17653
+ var handler = _this.matchHandlers[matchMediaQuery];
17654
+ handler === null || handler === void 0 ? void 0 : handler.mql.removeListener(handler === null || handler === void 0 ? void 0 : handler.listener);
17655
+ });
17656
+ subscribers.clear();
17657
+ },
17658
+ register: function register() {
17659
+ var _this2 = this;
17660
+
17661
+ Object.keys(responsiveMap).forEach(function (screen) {
17662
+ var matchMediaQuery = responsiveMap[screen];
17663
+
17664
+ var listener = function listener(_ref) {
17665
+ var matches = _ref.matches;
17666
+
17667
+ _this2.dispatch(_extends$1(_extends$1({}, screens), _defineProperty$4({}, screen, matches)));
17668
+ };
17669
+
17670
+ var mql = window.matchMedia(matchMediaQuery);
17671
+ mql.addListener(listener);
17672
+ _this2.matchHandlers[matchMediaQuery] = {
17673
+ mql: mql,
17674
+ listener: listener
17675
+ };
17676
+ listener(mql);
17677
+ });
17678
+ }
17679
+ };
17680
+ var ResponsiveObserve = responsiveObserve;
17681
+
17682
+ function useBreakpoint() {
17683
+ var _useState = useState({}),
17684
+ _useState2 = _slicedToArray$3(_useState, 2),
17685
+ screens = _useState2[0],
17686
+ setScreens = _useState2[1];
17687
+
17688
+ useEffect(function () {
17689
+ var token = ResponsiveObserve.subscribe(function (supportScreens) {
17690
+ setScreens(supportScreens);
17691
+ });
17692
+ return function () {
17693
+ return ResponsiveObserve.unsubscribe(token);
17694
+ };
17695
+ }, []);
17696
+ return screens;
17697
+ }
17698
+
17699
+ function isPointsEq$1(a1, a2, isAlignPoint) {
17700
+ if (isAlignPoint) {
17701
+ return a1[0] === a2[0];
17702
+ }
17703
+
17704
+ return a1[0] === a2[0] && a1[1] === a2[1];
17705
+ }
17706
+
17707
+ function getAlignFromPlacement$1(builtinPlacements, placementStr, align) {
17708
+ var baseAlign = builtinPlacements[placementStr] || {};
17709
+ return _objectSpread$5(_objectSpread$5({}, baseAlign), align);
17710
+ }
17711
+ function getAlignPopupClassName$1(builtinPlacements, prefixCls, align, isAlignPoint) {
17712
+ var points = align.points;
17713
+ var placements = Object.keys(builtinPlacements);
17714
+
17715
+ for (var i = 0; i < placements.length; i += 1) {
17716
+ var placement = placements[i];
17717
+
17718
+ if (isPointsEq$1(builtinPlacements[placement].points, points, isAlignPoint)) {
17719
+ return "".concat(prefixCls, "-placement-").concat(placement);
17720
+ }
17721
+ }
17722
+
17723
+ return '';
17724
+ }
17725
+
17726
+ function getMotion$3(_ref) {
17727
+ var prefixCls = _ref.prefixCls,
17728
+ motion = _ref.motion,
17729
+ animation = _ref.animation,
17730
+ transitionName = _ref.transitionName;
17731
+
17732
+ if (motion) {
17733
+ return motion;
17734
+ }
17735
+
17736
+ if (animation) {
17737
+ return {
17738
+ motionName: "".concat(prefixCls, "-").concat(animation)
17739
+ };
17740
+ }
17741
+
17742
+ if (transitionName) {
17743
+ return {
17744
+ motionName: transitionName
17745
+ };
17746
+ }
17747
+
17748
+ return null;
17749
+ }
17750
+
17751
+ function Mask$2(props) {
17752
+ var prefixCls = props.prefixCls,
17753
+ visible = props.visible,
17754
+ zIndex = props.zIndex,
17755
+ mask = props.mask,
17756
+ maskMotion = props.maskMotion,
17757
+ maskAnimation = props.maskAnimation,
17758
+ maskTransitionName = props.maskTransitionName;
17759
+
17760
+ if (!mask) {
17761
+ return null;
17762
+ }
17763
+
17764
+ var motion = {};
17765
+
17766
+ if (maskMotion || maskTransitionName || maskAnimation) {
17767
+ motion = _objectSpread$5({
17768
+ motionAppear: true
17769
+ }, getMotion$3({
17770
+ motion: maskMotion,
17771
+ prefixCls: prefixCls,
17772
+ transitionName: maskTransitionName,
17773
+ animation: maskAnimation
17774
+ }));
17775
+ }
17776
+
17777
+ return /*#__PURE__*/React.createElement(CSSMotion, _extends$1({}, motion, {
17778
+ visible: visible,
17779
+ removeOnLeave: true
17780
+ }), function (_ref) {
17781
+ var className = _ref.className;
17782
+ return /*#__PURE__*/React.createElement("div", {
17783
+ style: {
17784
+ zIndex: zIndex
17785
+ },
17786
+ className: classNames("".concat(prefixCls, "-mask"), className)
17787
+ });
17788
+ });
17789
+ }
17790
+
17791
+ var StatusQueue$1 = ['measure', 'align', null, 'motion'];
17792
+ var useVisibleStatus$1 = (function (visible, doMeasure) {
17793
+ var _useState = useState(null),
17794
+ _useState2 = _slicedToArray$3(_useState, 2),
17795
+ status = _useState2[0],
17796
+ setInternalStatus = _useState2[1];
17797
+
17798
+ var rafRef = useRef();
17799
+ var destroyRef = useRef(false);
17800
+
17801
+ function setStatus(nextStatus) {
17802
+ if (!destroyRef.current) {
17803
+ setInternalStatus(nextStatus);
17804
+ }
17805
+ }
17806
+
17807
+ function cancelRaf() {
17808
+ wrapperRaf$2.cancel(rafRef.current);
17809
+ }
17810
+
17811
+ function goNextStatus(callback) {
17812
+ cancelRaf();
17813
+ rafRef.current = wrapperRaf$2(function () {
17814
+ // Only align should be manually trigger
17815
+ setStatus(function (prev) {
17816
+ switch (status) {
17817
+ case 'align':
17818
+ return 'motion';
17819
+
17820
+ case 'motion':
17821
+ return 'stable';
17822
+ }
17823
+
17824
+ return prev;
17825
+ });
17826
+ callback === null || callback === void 0 ? void 0 : callback();
17827
+ });
17828
+ } // Init status
17829
+
17830
+
17831
+ useEffect(function () {
17832
+ setStatus('measure');
17833
+ }, [visible]); // Go next status
17834
+
17835
+ useEffect(function () {
17836
+ switch (status) {
17837
+ case 'measure':
17838
+ doMeasure();
17839
+ break;
17840
+ }
17841
+
17842
+ if (status) {
17843
+ rafRef.current = wrapperRaf$2( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
17844
+ var index, nextStatus;
17845
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
17846
+ while (1) {
17847
+ switch (_context.prev = _context.next) {
17848
+ case 0:
17849
+ index = StatusQueue$1.indexOf(status);
17850
+ nextStatus = StatusQueue$1[index + 1];
17851
+
17852
+ if (nextStatus && index !== -1) {
17853
+ setStatus(nextStatus);
17854
+ }
17855
+
17856
+ case 3:
17857
+ case "end":
17858
+ return _context.stop();
17859
+ }
17860
+ }
17861
+ }, _callee);
17862
+ })));
17863
+ }
17864
+ }, [status]);
17865
+ useEffect(function () {
17866
+ return function () {
17867
+ destroyRef.current = true;
17868
+ cancelRaf();
17869
+ };
17870
+ }, []);
17871
+ return [status, goNextStatus];
17872
+ });
17873
+
17874
+ var useStretchStyle$1 = (function (stretch) {
17875
+ var _React$useState = React.useState({
17876
+ width: 0,
17877
+ height: 0
17878
+ }),
17879
+ _React$useState2 = _slicedToArray$3(_React$useState, 2),
17880
+ targetSize = _React$useState2[0],
17881
+ setTargetSize = _React$useState2[1];
17882
+
17883
+ function measureStretch(element) {
17884
+ setTargetSize({
17885
+ width: element.offsetWidth,
17886
+ height: element.offsetHeight
17887
+ });
17888
+ } // Merge stretch style
17889
+
17890
+
17891
+ var style = React.useMemo(function () {
17892
+ var sizeStyle = {};
17893
+
17894
+ if (stretch) {
17895
+ var width = targetSize.width,
17896
+ height = targetSize.height; // Stretch with target
17897
+
17898
+ if (stretch.indexOf('height') !== -1 && height) {
17899
+ sizeStyle.height = height;
17900
+ } else if (stretch.indexOf('minHeight') !== -1 && height) {
17901
+ sizeStyle.minHeight = height;
17902
+ }
17903
+
17904
+ if (stretch.indexOf('width') !== -1 && width) {
17905
+ sizeStyle.width = width;
17906
+ } else if (stretch.indexOf('minWidth') !== -1 && width) {
17907
+ sizeStyle.minWidth = width;
17908
+ }
17909
+ }
17910
+
17911
+ return sizeStyle;
17912
+ }, [stretch, targetSize]);
17913
+ return [style, measureStretch];
17914
+ });
17915
+
17916
+ var PopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
17917
+ var visible = props.visible,
17918
+ prefixCls = props.prefixCls,
17919
+ className = props.className,
17920
+ style = props.style,
17921
+ children = props.children,
17922
+ zIndex = props.zIndex,
17923
+ stretch = props.stretch,
17924
+ destroyPopupOnHide = props.destroyPopupOnHide,
17925
+ forceRender = props.forceRender,
17926
+ align = props.align,
17927
+ point = props.point,
17928
+ getRootDomNode = props.getRootDomNode,
17929
+ getClassNameFromAlign = props.getClassNameFromAlign,
17930
+ onAlign = props.onAlign,
17931
+ onMouseEnter = props.onMouseEnter,
17932
+ onMouseLeave = props.onMouseLeave,
17933
+ onMouseDown = props.onMouseDown,
17934
+ onTouchStart = props.onTouchStart;
17935
+ var alignRef = useRef();
17936
+ var elementRef = useRef();
17937
+
17938
+ var _useState = useState(),
17939
+ _useState2 = _slicedToArray$3(_useState, 2),
17940
+ alignedClassName = _useState2[0],
17941
+ setAlignedClassName = _useState2[1]; // ======================= Measure ========================
17942
+
17943
+
17944
+ var _useStretchStyle = useStretchStyle$1(stretch),
17945
+ _useStretchStyle2 = _slicedToArray$3(_useStretchStyle, 2),
17946
+ stretchStyle = _useStretchStyle2[0],
17947
+ measureStretchStyle = _useStretchStyle2[1];
17948
+
17949
+ function doMeasure() {
17950
+ if (stretch) {
17951
+ measureStretchStyle(getRootDomNode());
17952
+ }
17953
+ } // ======================== Status ========================
17954
+
17955
+
17956
+ var _useVisibleStatus = useVisibleStatus$1(visible, doMeasure),
17957
+ _useVisibleStatus2 = _slicedToArray$3(_useVisibleStatus, 2),
17958
+ status = _useVisibleStatus2[0],
17959
+ goNextStatus = _useVisibleStatus2[1]; // ======================== Aligns ========================
17960
+
17961
+
17962
+ var prepareResolveRef = useRef(); // `target` on `rc-align` can accept as a function to get the bind element or a point.
17963
+ // ref: https://www.npmjs.com/package/rc-align
17964
+
17965
+ function getAlignTarget() {
17966
+ if (point) {
17967
+ return point;
17968
+ }
17969
+
17970
+ return getRootDomNode;
17971
+ }
17972
+
17973
+ function forceAlign() {
17974
+ var _alignRef$current;
17975
+
17976
+ (_alignRef$current = alignRef.current) === null || _alignRef$current === void 0 ? void 0 : _alignRef$current.forceAlign();
17977
+ }
17978
+
17979
+ function onInternalAlign(popupDomNode, matchAlign) {
17980
+ if (status === 'align') {
17981
+ var nextAlignedClassName = getClassNameFromAlign(matchAlign);
17982
+ setAlignedClassName(nextAlignedClassName); // Repeat until not more align needed
17983
+
17984
+ if (alignedClassName !== nextAlignedClassName) {
17985
+ Promise.resolve().then(function () {
17986
+ forceAlign();
17987
+ });
17988
+ } else {
17989
+ goNextStatus(function () {
17990
+ var _prepareResolveRef$cu;
17991
+
17992
+ (_prepareResolveRef$cu = prepareResolveRef.current) === null || _prepareResolveRef$cu === void 0 ? void 0 : _prepareResolveRef$cu.call(prepareResolveRef);
17993
+ });
17994
+ }
17995
+
17996
+ onAlign === null || onAlign === void 0 ? void 0 : onAlign(popupDomNode, matchAlign);
17997
+ }
17998
+ } // ======================== Motion ========================
17999
+
18000
+
18001
+ var motion = _objectSpread$5({}, getMotion$3(props));
18002
+
18003
+ ['onAppearEnd', 'onEnterEnd', 'onLeaveEnd'].forEach(function (eventName) {
18004
+ var originHandler = motion[eventName];
18005
+
18006
+ motion[eventName] = function (element, event) {
18007
+ goNextStatus();
18008
+ return originHandler === null || originHandler === void 0 ? void 0 : originHandler(element, event);
18009
+ };
18010
+ });
18011
+
18012
+ function onShowPrepare() {
18013
+ return new Promise(function (resolve) {
18014
+ prepareResolveRef.current = resolve;
18015
+ });
18016
+ } // Go to stable directly when motion not provided
18017
+
18018
+
18019
+ React.useEffect(function () {
18020
+ if (!motion.motionName && status === 'motion') {
18021
+ goNextStatus();
18022
+ }
18023
+ }, [motion.motionName, status]); // ========================= Refs =========================
18024
+
18025
+ React.useImperativeHandle(ref, function () {
18026
+ return {
18027
+ forceAlign: forceAlign,
18028
+ getElement: function getElement() {
18029
+ return elementRef.current;
18030
+ }
18031
+ };
18032
+ }); // ======================== Render ========================
18033
+
18034
+ var mergedStyle = _objectSpread$5(_objectSpread$5({}, stretchStyle), {}, {
18035
+ zIndex: zIndex,
18036
+ opacity: status === 'motion' || status === 'stable' || !visible ? undefined : 0,
18037
+ pointerEvents: status === 'stable' ? undefined : 'none'
18038
+ }, style); // Align status
18039
+
18040
+
18041
+ var alignDisabled = true;
18042
+
18043
+ if ((align === null || align === void 0 ? void 0 : align.points) && (status === 'align' || status === 'stable')) {
18044
+ alignDisabled = false;
18045
+ }
18046
+
18047
+ var childNode = children; // Wrapper when multiple children
18048
+
18049
+ if (React.Children.count(children) > 1) {
18050
+ childNode = /*#__PURE__*/React.createElement("div", {
18051
+ className: "".concat(prefixCls, "-content")
18052
+ }, children);
18053
+ }
18054
+
18055
+ return /*#__PURE__*/React.createElement(CSSMotion, _extends$1({
18056
+ visible: visible,
18057
+ ref: elementRef,
18058
+ leavedClassName: "".concat(prefixCls, "-hidden")
18059
+ }, motion, {
18060
+ onAppearPrepare: onShowPrepare,
18061
+ onEnterPrepare: onShowPrepare,
18062
+ removeOnLeave: destroyPopupOnHide,
18063
+ forceRender: forceRender
18064
+ }), function (_ref, motionRef) {
18065
+ var motionClassName = _ref.className,
18066
+ motionStyle = _ref.style;
18067
+ var mergedClassName = classNames(prefixCls, className, alignedClassName, motionClassName);
18068
+ return /*#__PURE__*/React.createElement(RefAlign, {
18069
+ target: getAlignTarget(),
18070
+ key: "popup",
18071
+ ref: alignRef,
18072
+ monitorWindowResize: true,
18073
+ disabled: alignDisabled,
18074
+ align: align,
18075
+ onAlign: onInternalAlign
18076
+ }, /*#__PURE__*/React.createElement("div", {
18077
+ ref: motionRef,
18078
+ className: mergedClassName,
18079
+ onMouseEnter: onMouseEnter,
18080
+ onMouseLeave: onMouseLeave,
18081
+ onMouseDownCapture: onMouseDown,
18082
+ onTouchStartCapture: onTouchStart,
18083
+ style: _objectSpread$5(_objectSpread$5({}, motionStyle), mergedStyle)
18084
+ }, childNode));
18085
+ });
18086
+ });
18087
+ PopupInner$1.displayName = 'PopupInner';
18088
+
18089
+ var MobilePopupInner$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
18090
+ var prefixCls = props.prefixCls,
18091
+ visible = props.visible,
18092
+ zIndex = props.zIndex,
18093
+ children = props.children,
18094
+ _props$mobile = props.mobile;
18095
+ _props$mobile = _props$mobile === void 0 ? {} : _props$mobile;
18096
+ var popupClassName = _props$mobile.popupClassName,
18097
+ popupStyle = _props$mobile.popupStyle,
18098
+ _props$mobile$popupMo = _props$mobile.popupMotion,
18099
+ popupMotion = _props$mobile$popupMo === void 0 ? {} : _props$mobile$popupMo,
18100
+ popupRender = _props$mobile.popupRender;
18101
+ var elementRef = React.useRef(); // ========================= Refs =========================
18102
+
18103
+ React.useImperativeHandle(ref, function () {
18104
+ return {
18105
+ forceAlign: function forceAlign() {},
18106
+ getElement: function getElement() {
18107
+ return elementRef.current;
18108
+ }
18109
+ };
18110
+ }); // ======================== Render ========================
18111
+
18112
+ var mergedStyle = _objectSpread$5({
18113
+ zIndex: zIndex
18114
+ }, popupStyle);
18115
+
18116
+ var childNode = children; // Wrapper when multiple children
18117
+
18118
+ if (React.Children.count(children) > 1) {
18119
+ childNode = /*#__PURE__*/React.createElement("div", {
18120
+ className: "".concat(prefixCls, "-content")
18121
+ }, children);
18122
+ } // Mobile support additional render
18123
+
18124
+
18125
+ if (popupRender) {
18126
+ childNode = popupRender(childNode);
18127
+ }
18128
+
18129
+ return /*#__PURE__*/React.createElement(CSSMotion, _extends$1({
18130
+ visible: visible,
18131
+ ref: elementRef,
18132
+ removeOnLeave: true
18133
+ }, popupMotion), function (_ref, motionRef) {
18134
+ var motionClassName = _ref.className,
18135
+ motionStyle = _ref.style;
18136
+ var mergedClassName = classNames(prefixCls, popupClassName, motionClassName);
18137
+ return /*#__PURE__*/React.createElement("div", {
18138
+ ref: motionRef,
18139
+ className: mergedClassName,
18140
+ style: _objectSpread$5(_objectSpread$5({}, motionStyle), mergedStyle)
18141
+ }, childNode);
18142
+ });
18143
+ });
18144
+ MobilePopupInner$1.displayName = 'MobilePopupInner';
18145
+
18146
+ var Popup$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
18147
+ var visible = _ref.visible,
18148
+ mobile = _ref.mobile,
18149
+ props = _objectWithoutProperties$1(_ref, ["visible", "mobile"]);
18150
+
18151
+ var _useState = useState(visible),
18152
+ _useState2 = _slicedToArray$3(_useState, 2),
18153
+ innerVisible = _useState2[0],
18154
+ serInnerVisible = _useState2[1];
18155
+
18156
+ var _useState3 = useState(false),
18157
+ _useState4 = _slicedToArray$3(_useState3, 2),
18158
+ inMobile = _useState4[0],
18159
+ setInMobile = _useState4[1];
18160
+
18161
+ var cloneProps = _objectSpread$5(_objectSpread$5({}, props), {}, {
18162
+ visible: innerVisible
18163
+ }); // We check mobile in visible changed here.
18164
+ // And this also delay set `innerVisible` to avoid popup component render flash
18165
+
18166
+
18167
+ useEffect(function () {
18168
+ serInnerVisible(visible);
18169
+
18170
+ if (visible && mobile) {
18171
+ setInMobile(isMobile());
18172
+ }
18173
+ }, [visible, mobile]);
18174
+ var popupNode = inMobile ? /*#__PURE__*/React.createElement(MobilePopupInner$1, _extends$1({}, cloneProps, {
18175
+ mobile: mobile,
18176
+ ref: ref
18177
+ })) : /*#__PURE__*/React.createElement(PopupInner$1, _extends$1({}, cloneProps, {
18178
+ ref: ref
18179
+ })); // We can use fragment directly but this may failed some selector usage. Keep as origin logic
18180
+
18181
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Mask$2, cloneProps), popupNode);
18182
+ });
18183
+ Popup$1.displayName = 'Popup';
18184
+
18185
+ var TriggerContext$1 = /*#__PURE__*/React.createContext(null);
18186
+
18187
+ function noop$3() {}
18188
+
18189
+ function returnEmptyString$1() {
18190
+ return '';
18191
+ }
18192
+
18193
+ function returnDocument$1(element) {
18194
+ if (element) {
18195
+ return element.ownerDocument;
18196
+ }
18197
+
18198
+ return window.document;
18199
+ }
18200
+
18201
+ var ALL_HANDLERS$1 = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'onMouseLeave', 'onFocus', 'onBlur', 'onContextMenu'];
18202
+ /**
18203
+ * Internal usage. Do not use in your code since this will be removed.
18204
+ */
18205
+
18206
+ function generateTrigger$1(PortalComponent) {
18207
+ var Trigger = /*#__PURE__*/function (_React$Component) {
18208
+ _inherits$1(Trigger, _React$Component);
18209
+
18210
+ var _super = _createSuper$4(Trigger);
18211
+
18212
+ function Trigger(props) {
18213
+ var _this;
18214
+
18215
+ _classCallCheck$2(this, Trigger);
18216
+
18217
+ _this = _super.call(this, props);
18218
+ _this.popupRef = /*#__PURE__*/React.createRef();
18219
+ _this.triggerRef = /*#__PURE__*/React.createRef();
18220
+
18221
+ _this.onMouseEnter = function (e) {
18222
+ var mouseEnterDelay = _this.props.mouseEnterDelay;
18223
+
18224
+ _this.fireEvents('onMouseEnter', e);
18225
+
18226
+ _this.delaySetPopupVisible(true, mouseEnterDelay, mouseEnterDelay ? null : e);
18227
+ };
18228
+
18229
+ _this.onMouseMove = function (e) {
18230
+ _this.fireEvents('onMouseMove', e);
18231
+
18232
+ _this.setPoint(e);
18233
+ };
18234
+
18235
+ _this.onMouseLeave = function (e) {
18236
+ _this.fireEvents('onMouseLeave', e);
18237
+
18238
+ _this.delaySetPopupVisible(false, _this.props.mouseLeaveDelay);
18239
+ };
18240
+
18241
+ _this.onPopupMouseEnter = function () {
18242
+ _this.clearDelayTimer();
18243
+ };
18244
+
18245
+ _this.onPopupMouseLeave = function (e) {
18246
+ var _this$popupRef$curren; // https://github.com/react-component/trigger/pull/13
18247
+ // react bug?
18248
+
18249
+
18250
+ if (e.relatedTarget && !e.relatedTarget.setTimeout && contains$1((_this$popupRef$curren = _this.popupRef.current) === null || _this$popupRef$curren === void 0 ? void 0 : _this$popupRef$curren.getElement(), e.relatedTarget)) {
18251
+ return;
18252
+ }
18253
+
18254
+ _this.delaySetPopupVisible(false, _this.props.mouseLeaveDelay);
18255
+ };
18256
+
18257
+ _this.onFocus = function (e) {
18258
+ _this.fireEvents('onFocus', e); // incase focusin and focusout
18259
+
18260
+
18261
+ _this.clearDelayTimer();
18262
+
18263
+ if (_this.isFocusToShow()) {
18264
+ _this.focusTime = Date.now();
18265
+
18266
+ _this.delaySetPopupVisible(true, _this.props.focusDelay);
18267
+ }
18268
+ };
18269
+
18270
+ _this.onMouseDown = function (e) {
18271
+ _this.fireEvents('onMouseDown', e);
18272
+
18273
+ _this.preClickTime = Date.now();
18274
+ };
18275
+
18276
+ _this.onTouchStart = function (e) {
18277
+ _this.fireEvents('onTouchStart', e);
18278
+
18279
+ _this.preTouchTime = Date.now();
18280
+ };
18281
+
18282
+ _this.onBlur = function (e) {
18283
+ _this.fireEvents('onBlur', e);
18284
+
18285
+ _this.clearDelayTimer();
18286
+
18287
+ if (_this.isBlurToHide()) {
18288
+ _this.delaySetPopupVisible(false, _this.props.blurDelay);
18289
+ }
18290
+ };
18291
+
18292
+ _this.onContextMenu = function (e) {
18293
+ e.preventDefault();
18294
+
18295
+ _this.fireEvents('onContextMenu', e);
18296
+
18297
+ _this.setPopupVisible(true, e);
18298
+ };
18299
+
18300
+ _this.onContextMenuClose = function () {
18301
+ if (_this.isContextMenuToShow()) {
18302
+ _this.close();
18303
+ }
18304
+ };
18305
+
18306
+ _this.onClick = function (event) {
18307
+ _this.fireEvents('onClick', event); // focus will trigger click
18308
+
18309
+
18310
+ if (_this.focusTime) {
18311
+ var preTime;
18312
+
18313
+ if (_this.preClickTime && _this.preTouchTime) {
18314
+ preTime = Math.min(_this.preClickTime, _this.preTouchTime);
18315
+ } else if (_this.preClickTime) {
18316
+ preTime = _this.preClickTime;
18317
+ } else if (_this.preTouchTime) {
18318
+ preTime = _this.preTouchTime;
18319
+ }
18320
+
18321
+ if (Math.abs(preTime - _this.focusTime) < 20) {
18322
+ return;
18323
+ }
18324
+
18325
+ _this.focusTime = 0;
18326
+ }
18327
+
18328
+ _this.preClickTime = 0;
18329
+ _this.preTouchTime = 0; // Only prevent default when all the action is click.
18330
+ // https://github.com/ant-design/ant-design/issues/17043
18331
+ // https://github.com/ant-design/ant-design/issues/17291
18332
+
18333
+ if (_this.isClickToShow() && (_this.isClickToHide() || _this.isBlurToHide()) && event && event.preventDefault) {
18334
+ event.preventDefault();
18335
+ }
18336
+
18337
+ var nextVisible = !_this.state.popupVisible;
18338
+
18339
+ if (_this.isClickToHide() && !nextVisible || nextVisible && _this.isClickToShow()) {
18340
+ _this.setPopupVisible(!_this.state.popupVisible, event);
18341
+ }
18342
+ };
18343
+
18344
+ _this.onPopupMouseDown = function () {
18345
+ _this.hasPopupMouseDown = true;
18346
+ clearTimeout(_this.mouseDownTimeout);
18347
+ _this.mouseDownTimeout = window.setTimeout(function () {
18348
+ _this.hasPopupMouseDown = false;
18349
+ }, 0);
18350
+
18351
+ if (_this.context) {
18352
+ var _this$context;
18353
+
18354
+ (_this$context = _this.context).onPopupMouseDown.apply(_this$context, arguments);
18355
+ }
18356
+ };
18357
+
18358
+ _this.onDocumentClick = function (event) {
18359
+ if (_this.props.mask && !_this.props.maskClosable) {
18360
+ return;
18361
+ }
18362
+
18363
+ var target = event.target;
18364
+
18365
+ var root = _this.getRootDomNode();
18366
+
18367
+ var popupNode = _this.getPopupDomNode();
18368
+
18369
+ if ( // mousedown on the target should also close popup when action is contextMenu.
18370
+ // https://github.com/ant-design/ant-design/issues/29853
18371
+ (!contains$1(root, target) || _this.isContextMenuOnly()) && !contains$1(popupNode, target) && !_this.hasPopupMouseDown) {
18372
+ _this.close();
18373
+ }
18374
+ };
18375
+
18376
+ _this.getRootDomNode = function () {
18377
+ var getTriggerDOMNode = _this.props.getTriggerDOMNode;
18378
+
18379
+ if (getTriggerDOMNode) {
18380
+ return getTriggerDOMNode(_this.triggerRef.current);
18381
+ }
18382
+
18383
+ try {
18384
+ var domNode = findDOMNode$2(_this.triggerRef.current);
18385
+
18386
+ if (domNode) {
18387
+ return domNode;
18388
+ }
18389
+ } catch (err) {// Do nothing
18390
+ }
18391
+
18392
+ return ReactDOM__default.findDOMNode(_assertThisInitialized$1(_this));
18393
+ };
18394
+
18395
+ _this.getPopupClassNameFromAlign = function (align) {
18396
+ var className = [];
18397
+ var _this$props = _this.props,
18398
+ popupPlacement = _this$props.popupPlacement,
18399
+ builtinPlacements = _this$props.builtinPlacements,
18400
+ prefixCls = _this$props.prefixCls,
18401
+ alignPoint = _this$props.alignPoint,
18402
+ getPopupClassNameFromAlign = _this$props.getPopupClassNameFromAlign;
18403
+
18404
+ if (popupPlacement && builtinPlacements) {
18405
+ className.push(getAlignPopupClassName$1(builtinPlacements, prefixCls, align, alignPoint));
18406
+ }
18407
+
18408
+ if (getPopupClassNameFromAlign) {
18409
+ className.push(getPopupClassNameFromAlign(align));
18410
+ }
18411
+
18412
+ return className.join(' ');
18413
+ };
18414
+
18415
+ _this.getComponent = function () {
18416
+ var _this$props2 = _this.props,
18417
+ prefixCls = _this$props2.prefixCls,
18418
+ destroyPopupOnHide = _this$props2.destroyPopupOnHide,
18419
+ popupClassName = _this$props2.popupClassName,
18420
+ onPopupAlign = _this$props2.onPopupAlign,
18421
+ popupMotion = _this$props2.popupMotion,
18422
+ popupAnimation = _this$props2.popupAnimation,
18423
+ popupTransitionName = _this$props2.popupTransitionName,
18424
+ popupStyle = _this$props2.popupStyle,
18425
+ mask = _this$props2.mask,
18426
+ maskAnimation = _this$props2.maskAnimation,
18427
+ maskTransitionName = _this$props2.maskTransitionName,
18428
+ maskMotion = _this$props2.maskMotion,
18429
+ zIndex = _this$props2.zIndex,
18430
+ popup = _this$props2.popup,
18431
+ stretch = _this$props2.stretch,
18432
+ alignPoint = _this$props2.alignPoint,
18433
+ mobile = _this$props2.mobile,
18434
+ forceRender = _this$props2.forceRender;
18435
+ var _this$state = _this.state,
18436
+ popupVisible = _this$state.popupVisible,
18437
+ point = _this$state.point;
18438
+
18439
+ var align = _this.getPopupAlign();
18440
+
18441
+ var mouseProps = {};
18442
+
18443
+ if (_this.isMouseEnterToShow()) {
18444
+ mouseProps.onMouseEnter = _this.onPopupMouseEnter;
18445
+ }
18446
+
18447
+ if (_this.isMouseLeaveToHide()) {
18448
+ mouseProps.onMouseLeave = _this.onPopupMouseLeave;
18449
+ }
18450
+
18451
+ mouseProps.onMouseDown = _this.onPopupMouseDown;
18452
+ mouseProps.onTouchStart = _this.onPopupMouseDown;
18453
+ return /*#__PURE__*/React.createElement(Popup$1, _extends$1({
18454
+ prefixCls: prefixCls,
18455
+ destroyPopupOnHide: destroyPopupOnHide,
18456
+ visible: popupVisible,
18457
+ point: alignPoint && point,
18458
+ className: popupClassName,
18459
+ align: align,
18460
+ onAlign: onPopupAlign,
18461
+ animation: popupAnimation,
18462
+ getClassNameFromAlign: _this.getPopupClassNameFromAlign
18463
+ }, mouseProps, {
18464
+ stretch: stretch,
18465
+ getRootDomNode: _this.getRootDomNode,
18466
+ style: popupStyle,
18467
+ mask: mask,
18468
+ zIndex: zIndex,
18469
+ transitionName: popupTransitionName,
18470
+ maskAnimation: maskAnimation,
18471
+ maskTransitionName: maskTransitionName,
18472
+ maskMotion: maskMotion,
18473
+ ref: _this.popupRef,
18474
+ motion: popupMotion,
18475
+ mobile: mobile,
18476
+ forceRender: forceRender
18477
+ }), typeof popup === 'function' ? popup() : popup);
18478
+ };
18479
+
18480
+ _this.attachParent = function (popupContainer) {
18481
+ wrapperRaf$2.cancel(_this.attachId);
18482
+ var _this$props3 = _this.props,
18483
+ getPopupContainer = _this$props3.getPopupContainer,
18484
+ getDocument = _this$props3.getDocument;
18485
+
18486
+ var domNode = _this.getRootDomNode();
18487
+
18488
+ var mountNode;
18489
+
18490
+ if (!getPopupContainer) {
18491
+ mountNode = getDocument(_this.getRootDomNode()).body;
18492
+ } else if (domNode || getPopupContainer.length === 0) {
18493
+ // Compatible for legacy getPopupContainer with domNode argument.
18494
+ // If no need `domNode` argument, will call directly.
18495
+ // https://codesandbox.io/s/eloquent-mclean-ss93m?file=/src/App.js
18496
+ mountNode = getPopupContainer(domNode);
18497
+ }
18498
+
18499
+ if (mountNode) {
18500
+ mountNode.appendChild(popupContainer);
18501
+ } else {
18502
+ // Retry after frame render in case parent not ready
18503
+ _this.attachId = wrapperRaf$2(function () {
18504
+ _this.attachParent(popupContainer);
18505
+ });
18506
+ }
18507
+ };
18508
+
18509
+ _this.getContainer = function () {
18510
+ var getDocument = _this.props.getDocument;
18511
+ var popupContainer = getDocument(_this.getRootDomNode()).createElement('div'); // Make sure default popup container will never cause scrollbar appearing
18512
+ // https://github.com/react-component/trigger/issues/41
18513
+
18514
+ popupContainer.style.position = 'absolute';
18515
+ popupContainer.style.top = '0';
18516
+ popupContainer.style.left = '0';
18517
+ popupContainer.style.width = '100%';
18518
+
18519
+ _this.attachParent(popupContainer);
18520
+
18521
+ return popupContainer;
18522
+ };
18523
+
18524
+ _this.setPoint = function (point) {
18525
+ var alignPoint = _this.props.alignPoint;
18526
+ if (!alignPoint || !point) return;
18527
+
18528
+ _this.setState({
18529
+ point: {
18530
+ pageX: point.pageX,
18531
+ pageY: point.pageY
18532
+ }
18533
+ });
18534
+ };
18535
+
18536
+ _this.handlePortalUpdate = function () {
18537
+ if (_this.state.prevPopupVisible !== _this.state.popupVisible) {
18538
+ _this.props.afterPopupVisibleChange(_this.state.popupVisible);
18539
+ }
18540
+ };
18541
+
18542
+ _this.triggerContextValue = {
18543
+ onPopupMouseDown: _this.onPopupMouseDown
18544
+ };
18545
+ var popupVisible;
18546
+
18547
+ if ('popupVisible' in props) {
18548
+ popupVisible = !!props.popupVisible;
18549
+ } else {
18550
+ popupVisible = !!props.defaultPopupVisible;
18551
+ }
18552
+
18553
+ _this.state = {
18554
+ prevPopupVisible: popupVisible,
18555
+ popupVisible: popupVisible
18556
+ };
18557
+ ALL_HANDLERS$1.forEach(function (h) {
18558
+ _this["fire".concat(h)] = function (e) {
18559
+ _this.fireEvents(h, e);
18560
+ };
18561
+ });
18562
+ return _this;
18563
+ }
18564
+
18565
+ _createClass$2(Trigger, [{
18566
+ key: "componentDidMount",
18567
+ value: function componentDidMount() {
18568
+ this.componentDidUpdate();
18569
+ }
18570
+ }, {
18571
+ key: "componentDidUpdate",
18572
+ value: function componentDidUpdate() {
18573
+ var props = this.props;
18574
+ var state = this.state; // We must listen to `mousedown` or `touchstart`, edge case:
18575
+ // https://github.com/ant-design/ant-design/issues/5804
18576
+ // https://github.com/react-component/calendar/issues/250
18577
+ // https://github.com/react-component/trigger/issues/50
18578
+
18579
+ if (state.popupVisible) {
18580
+ var currentDocument;
18581
+
18582
+ if (!this.clickOutsideHandler && (this.isClickToHide() || this.isContextMenuToShow())) {
18583
+ currentDocument = props.getDocument(this.getRootDomNode());
18584
+ this.clickOutsideHandler = addEventListenerWrap$1(currentDocument, 'mousedown', this.onDocumentClick);
18585
+ } // always hide on mobile
18586
+
18587
+
18588
+ if (!this.touchOutsideHandler) {
18589
+ currentDocument = currentDocument || props.getDocument(this.getRootDomNode());
18590
+ this.touchOutsideHandler = addEventListenerWrap$1(currentDocument, 'touchstart', this.onDocumentClick);
18591
+ } // close popup when trigger type contains 'onContextMenu' and document is scrolling.
18592
+
18593
+
18594
+ if (!this.contextMenuOutsideHandler1 && this.isContextMenuToShow()) {
18595
+ currentDocument = currentDocument || props.getDocument(this.getRootDomNode());
18596
+ this.contextMenuOutsideHandler1 = addEventListenerWrap$1(currentDocument, 'scroll', this.onContextMenuClose);
18597
+ } // close popup when trigger type contains 'onContextMenu' and window is blur.
18598
+
18599
+
18600
+ if (!this.contextMenuOutsideHandler2 && this.isContextMenuToShow()) {
18601
+ this.contextMenuOutsideHandler2 = addEventListenerWrap$1(window, 'blur', this.onContextMenuClose);
18602
+ }
18603
+
18604
+ return;
18605
+ }
18606
+
18607
+ this.clearOutsideHandler();
18608
+ }
18609
+ }, {
18610
+ key: "componentWillUnmount",
18611
+ value: function componentWillUnmount() {
18612
+ this.clearDelayTimer();
18613
+ this.clearOutsideHandler();
18614
+ clearTimeout(this.mouseDownTimeout);
18615
+ wrapperRaf$2.cancel(this.attachId);
18616
+ }
18617
+ }, {
18618
+ key: "getPopupDomNode",
18619
+ value: function getPopupDomNode() {
18620
+ var _this$popupRef$curren2; // for test
18621
+
18622
+
18623
+ return ((_this$popupRef$curren2 = this.popupRef.current) === null || _this$popupRef$curren2 === void 0 ? void 0 : _this$popupRef$curren2.getElement()) || null;
18624
+ }
18625
+ }, {
18626
+ key: "getPopupAlign",
18627
+ value: function getPopupAlign() {
18628
+ var props = this.props;
18629
+ var popupPlacement = props.popupPlacement,
18630
+ popupAlign = props.popupAlign,
18631
+ builtinPlacements = props.builtinPlacements;
18632
+
18633
+ if (popupPlacement && builtinPlacements) {
18634
+ return getAlignFromPlacement$1(builtinPlacements, popupPlacement, popupAlign);
18635
+ }
18636
+
18637
+ return popupAlign;
18638
+ }
18639
+ /**
18640
+ * @param popupVisible Show or not the popup element
18641
+ * @param event SyntheticEvent, used for `pointAlign`
18642
+ */
18643
+
18644
+ }, {
18645
+ key: "setPopupVisible",
18646
+ value: function setPopupVisible(popupVisible, event) {
18647
+ var alignPoint = this.props.alignPoint;
18648
+ var prevPopupVisible = this.state.popupVisible;
18649
+ this.clearDelayTimer();
18650
+
18651
+ if (prevPopupVisible !== popupVisible) {
18652
+ if (!('popupVisible' in this.props)) {
18653
+ this.setState({
18654
+ popupVisible: popupVisible,
18655
+ prevPopupVisible: prevPopupVisible
18656
+ });
18657
+ }
18658
+
18659
+ this.props.onPopupVisibleChange(popupVisible);
18660
+ } // Always record the point position since mouseEnterDelay will delay the show
18661
+
18662
+
18663
+ if (alignPoint && event && popupVisible) {
18664
+ this.setPoint(event);
18665
+ }
18666
+ }
18667
+ }, {
18668
+ key: "delaySetPopupVisible",
18669
+ value: function delaySetPopupVisible(visible, delayS, event) {
18670
+ var _this2 = this;
18671
+
18672
+ var delay = delayS * 1000;
18673
+ this.clearDelayTimer();
18674
+
18675
+ if (delay) {
18676
+ var point = event ? {
18677
+ pageX: event.pageX,
18678
+ pageY: event.pageY
18679
+ } : null;
18680
+ this.delayTimer = window.setTimeout(function () {
18681
+ _this2.setPopupVisible(visible, point);
18682
+
18683
+ _this2.clearDelayTimer();
18684
+ }, delay);
18685
+ } else {
18686
+ this.setPopupVisible(visible, event);
18687
+ }
18688
+ }
18689
+ }, {
18690
+ key: "clearDelayTimer",
18691
+ value: function clearDelayTimer() {
18692
+ if (this.delayTimer) {
18693
+ clearTimeout(this.delayTimer);
18694
+ this.delayTimer = null;
18695
+ }
18696
+ }
18697
+ }, {
18698
+ key: "clearOutsideHandler",
18699
+ value: function clearOutsideHandler() {
18700
+ if (this.clickOutsideHandler) {
18701
+ this.clickOutsideHandler.remove();
18702
+ this.clickOutsideHandler = null;
18703
+ }
18704
+
18705
+ if (this.contextMenuOutsideHandler1) {
18706
+ this.contextMenuOutsideHandler1.remove();
18707
+ this.contextMenuOutsideHandler1 = null;
18708
+ }
18709
+
18710
+ if (this.contextMenuOutsideHandler2) {
18711
+ this.contextMenuOutsideHandler2.remove();
18712
+ this.contextMenuOutsideHandler2 = null;
18713
+ }
18714
+
18715
+ if (this.touchOutsideHandler) {
18716
+ this.touchOutsideHandler.remove();
18717
+ this.touchOutsideHandler = null;
18718
+ }
18719
+ }
18720
+ }, {
18721
+ key: "createTwoChains",
18722
+ value: function createTwoChains(event) {
18723
+ var childPros = this.props.children.props;
18724
+ var props = this.props;
18725
+
18726
+ if (childPros[event] && props[event]) {
18727
+ return this["fire".concat(event)];
18728
+ }
18729
+
18730
+ return childPros[event] || props[event];
18731
+ }
18732
+ }, {
18733
+ key: "isClickToShow",
18734
+ value: function isClickToShow() {
18735
+ var _this$props4 = this.props,
18736
+ action = _this$props4.action,
18737
+ showAction = _this$props4.showAction;
18738
+ return action.indexOf('click') !== -1 || showAction.indexOf('click') !== -1;
18739
+ }
18740
+ }, {
18741
+ key: "isContextMenuOnly",
18742
+ value: function isContextMenuOnly() {
18743
+ var action = this.props.action;
18744
+ return action === 'contextMenu' || action.length === 1 && action[0] === 'contextMenu';
18745
+ }
18746
+ }, {
18747
+ key: "isContextMenuToShow",
18748
+ value: function isContextMenuToShow() {
18749
+ var _this$props5 = this.props,
18750
+ action = _this$props5.action,
18751
+ showAction = _this$props5.showAction;
18752
+ return action.indexOf('contextMenu') !== -1 || showAction.indexOf('contextMenu') !== -1;
18753
+ }
18754
+ }, {
18755
+ key: "isClickToHide",
18756
+ value: function isClickToHide() {
18757
+ var _this$props6 = this.props,
18758
+ action = _this$props6.action,
18759
+ hideAction = _this$props6.hideAction;
18760
+ return action.indexOf('click') !== -1 || hideAction.indexOf('click') !== -1;
18761
+ }
18762
+ }, {
18763
+ key: "isMouseEnterToShow",
18764
+ value: function isMouseEnterToShow() {
18765
+ var _this$props7 = this.props,
18766
+ action = _this$props7.action,
18767
+ showAction = _this$props7.showAction;
18768
+ return action.indexOf('hover') !== -1 || showAction.indexOf('mouseEnter') !== -1;
18769
+ }
18770
+ }, {
18771
+ key: "isMouseLeaveToHide",
18772
+ value: function isMouseLeaveToHide() {
18773
+ var _this$props8 = this.props,
18774
+ action = _this$props8.action,
18775
+ hideAction = _this$props8.hideAction;
18776
+ return action.indexOf('hover') !== -1 || hideAction.indexOf('mouseLeave') !== -1;
18777
+ }
18778
+ }, {
18779
+ key: "isFocusToShow",
18780
+ value: function isFocusToShow() {
18781
+ var _this$props9 = this.props,
18782
+ action = _this$props9.action,
18783
+ showAction = _this$props9.showAction;
18784
+ return action.indexOf('focus') !== -1 || showAction.indexOf('focus') !== -1;
18785
+ }
18786
+ }, {
18787
+ key: "isBlurToHide",
18788
+ value: function isBlurToHide() {
18789
+ var _this$props10 = this.props,
18790
+ action = _this$props10.action,
18791
+ hideAction = _this$props10.hideAction;
18792
+ return action.indexOf('focus') !== -1 || hideAction.indexOf('blur') !== -1;
18793
+ }
18794
+ }, {
18795
+ key: "forcePopupAlign",
18796
+ value: function forcePopupAlign() {
18797
+ if (this.state.popupVisible) {
18798
+ var _this$popupRef$curren3;
18799
+
18800
+ (_this$popupRef$curren3 = this.popupRef.current) === null || _this$popupRef$curren3 === void 0 ? void 0 : _this$popupRef$curren3.forceAlign();
18801
+ }
18802
+ }
18803
+ }, {
18804
+ key: "fireEvents",
18805
+ value: function fireEvents(type, e) {
18806
+ var childCallback = this.props.children.props[type];
17514
18807
 
17515
- var _React$useContext = React.useContext(ConfigContext),
17516
- getPrefixCls = _React$useContext.getPrefixCls,
17517
- direction = _React$useContext.direction;
18808
+ if (childCallback) {
18809
+ childCallback(e);
18810
+ }
17518
18811
 
17519
- var prefixCls = getPrefixCls('alert', customizePrefixCls);
18812
+ var callback = this.props[type];
17520
18813
 
17521
- var handleClose = function handleClose(e) {
17522
- var _a;
18814
+ if (callback) {
18815
+ callback(e);
18816
+ }
18817
+ }
18818
+ }, {
18819
+ key: "close",
18820
+ value: function close() {
18821
+ this.setPopupVisible(false);
18822
+ }
18823
+ }, {
18824
+ key: "render",
18825
+ value: function render() {
18826
+ var popupVisible = this.state.popupVisible;
18827
+ var _this$props11 = this.props,
18828
+ children = _this$props11.children,
18829
+ forceRender = _this$props11.forceRender,
18830
+ alignPoint = _this$props11.alignPoint,
18831
+ className = _this$props11.className,
18832
+ autoDestroy = _this$props11.autoDestroy;
18833
+ var child = React.Children.only(children);
18834
+ var newChildProps = {
18835
+ key: 'trigger'
18836
+ }; // ============================== Visible Handlers ==============================
18837
+ // >>> ContextMenu
17523
18838
 
17524
- setClosed(true);
17525
- (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props, e);
17526
- };
18839
+ if (this.isContextMenuToShow()) {
18840
+ newChildProps.onContextMenu = this.onContextMenu;
18841
+ } else {
18842
+ newChildProps.onContextMenu = this.createTwoChains('onContextMenu');
18843
+ } // >>> Click
17527
18844
 
17528
- var getType = function getType() {
17529
- var type = props.type;
17530
18845
 
17531
- if (type !== undefined) {
17532
- return type;
17533
- } // banner 模式默认为警告
18846
+ if (this.isClickToHide() || this.isClickToShow()) {
18847
+ newChildProps.onClick = this.onClick;
18848
+ newChildProps.onMouseDown = this.onMouseDown;
18849
+ newChildProps.onTouchStart = this.onTouchStart;
18850
+ } else {
18851
+ newChildProps.onClick = this.createTwoChains('onClick');
18852
+ newChildProps.onMouseDown = this.createTwoChains('onMouseDown');
18853
+ newChildProps.onTouchStart = this.createTwoChains('onTouchStart');
18854
+ } // >>> Hover(enter)
17534
18855
 
17535
18856
 
17536
- return banner ? 'warning' : 'info';
17537
- }; // closeable when closeText is assigned
18857
+ if (this.isMouseEnterToShow()) {
18858
+ newChildProps.onMouseEnter = this.onMouseEnter; // Point align
17538
18859
 
18860
+ if (alignPoint) {
18861
+ newChildProps.onMouseMove = this.onMouseMove;
18862
+ }
18863
+ } else {
18864
+ newChildProps.onMouseEnter = this.createTwoChains('onMouseEnter');
18865
+ } // >>> Hover(leave)
17539
18866
 
17540
- var isClosable = closeText ? true : closable;
17541
- var type = getType();
17542
18867
 
17543
- var renderIconNode = function renderIconNode() {
17544
- var icon = props.icon; // use outline icon in alert with description
18868
+ if (this.isMouseLeaveToHide()) {
18869
+ newChildProps.onMouseLeave = this.onMouseLeave;
18870
+ } else {
18871
+ newChildProps.onMouseLeave = this.createTwoChains('onMouseLeave');
18872
+ } // >>> Focus
17545
18873
 
17546
- var iconType = (description ? iconMapOutlined : iconMapFilled)[type] || null;
17547
18874
 
17548
- if (icon) {
17549
- return replaceElement(icon, /*#__PURE__*/React.createElement("span", {
17550
- className: "".concat(prefixCls, "-icon")
17551
- }, icon), function () {
17552
- return {
17553
- className: classNames("".concat(prefixCls, "-icon"), _defineProperty$4({}, icon.props.className, icon.props.className))
17554
- };
17555
- });
17556
- }
18875
+ if (this.isFocusToShow() || this.isBlurToHide()) {
18876
+ newChildProps.onFocus = this.onFocus;
18877
+ newChildProps.onBlur = this.onBlur;
18878
+ } else {
18879
+ newChildProps.onFocus = this.createTwoChains('onFocus');
18880
+ newChildProps.onBlur = this.createTwoChains('onBlur');
18881
+ } // =================================== Render ===================================
17557
18882
 
17558
- return /*#__PURE__*/React.createElement(iconType, {
17559
- className: "".concat(prefixCls, "-icon")
17560
- });
17561
- };
17562
18883
 
17563
- var renderCloseIcon = function renderCloseIcon() {
17564
- return isClosable ? /*#__PURE__*/React.createElement("button", {
17565
- type: "button",
17566
- onClick: handleClose,
17567
- className: "".concat(prefixCls, "-close-icon"),
17568
- tabIndex: 0
17569
- }, closeText ? /*#__PURE__*/React.createElement("span", {
17570
- className: "".concat(prefixCls, "-close-text")
17571
- }, closeText) : /*#__PURE__*/React.createElement(CloseOutlined, null)) : null;
17572
- }; // banner 模式默认有 Icon
18884
+ var childrenClassName = classNames(child && child.props && child.props.className, className);
17573
18885
 
18886
+ if (childrenClassName) {
18887
+ newChildProps.className = childrenClassName;
18888
+ }
17574
18889
 
17575
- var isShowIcon = banner && showIcon === undefined ? true : showIcon;
17576
- var alertCls = classNames(prefixCls, "".concat(prefixCls, "-").concat(type), (_classNames2 = {}, _defineProperty$4(_classNames2, "".concat(prefixCls, "-with-description"), !!description), _defineProperty$4(_classNames2, "".concat(prefixCls, "-no-icon"), !isShowIcon), _defineProperty$4(_classNames2, "".concat(prefixCls, "-banner"), !!banner), _defineProperty$4(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames2), className);
17577
- var dataOrAriaProps = getDataOrAriaProps$1(props);
17578
- return /*#__PURE__*/React.createElement(CSSMotion, {
17579
- visible: !closed,
17580
- motionName: "".concat(prefixCls, "-motion"),
17581
- motionAppear: false,
17582
- motionEnter: false,
17583
- onLeaveStart: function onLeaveStart(node) {
17584
- return {
17585
- maxHeight: node.offsetHeight
17586
- };
17587
- },
17588
- onLeaveEnd: afterClose
17589
- }, function (_ref) {
17590
- var motionClassName = _ref.className,
17591
- motionStyle = _ref.style;
17592
- return /*#__PURE__*/React.createElement("div", _extends$1({
17593
- ref: ref,
17594
- "data-show": !closed,
17595
- className: classNames(alertCls, motionClassName),
17596
- style: _extends$1(_extends$1({}, style), motionStyle),
17597
- onMouseEnter: onMouseEnter,
17598
- onMouseLeave: onMouseLeave,
17599
- onClick: onClick,
17600
- role: "alert"
17601
- }, dataOrAriaProps), isShowIcon ? renderIconNode() : null, /*#__PURE__*/React.createElement("div", {
17602
- className: "".concat(prefixCls, "-content")
17603
- }, /*#__PURE__*/React.createElement("div", {
17604
- className: "".concat(prefixCls, "-message")
17605
- }, message), /*#__PURE__*/React.createElement("div", {
17606
- className: "".concat(prefixCls, "-description")
17607
- }, description)), action ? /*#__PURE__*/React.createElement("div", {
17608
- className: "".concat(prefixCls, "-action")
17609
- }, action) : null, renderCloseIcon());
17610
- });
17611
- };
18890
+ var cloneProps = _objectSpread$5({}, newChildProps);
17612
18891
 
17613
- Alert$1.ErrorBoundary = ErrorBoundary;
17614
- var AntDAlert = Alert$1;
18892
+ if (supportRef$1(child)) {
18893
+ cloneProps.ref = composeRef$2(this.triggerRef, child.ref);
18894
+ }
17615
18895
 
17616
- var responsiveArray = ['xxl', 'xl', 'lg', 'md', 'sm', 'xs'];
17617
- var responsiveMap = {
17618
- xs: '(max-width: 575px)',
17619
- sm: '(min-width: 576px)',
17620
- md: '(min-width: 768px)',
17621
- lg: '(min-width: 992px)',
17622
- xl: '(min-width: 1200px)',
17623
- xxl: '(min-width: 1600px)'
17624
- };
17625
- var subscribers = new Map();
17626
- var subUid = -1;
17627
- var screens = {};
17628
- var responsiveObserve = {
17629
- matchHandlers: {},
17630
- dispatch: function dispatch(pointMap) {
17631
- screens = pointMap;
17632
- subscribers.forEach(function (func) {
17633
- return func(screens);
17634
- });
17635
- return subscribers.size >= 1;
17636
- },
17637
- subscribe: function subscribe(func) {
17638
- if (!subscribers.size) this.register();
17639
- subUid += 1;
17640
- subscribers.set(subUid, func);
17641
- func(screens);
17642
- return subUid;
17643
- },
17644
- unsubscribe: function unsubscribe(token) {
17645
- subscribers["delete"](token);
17646
- if (!subscribers.size) this.unregister();
17647
- },
17648
- unregister: function unregister() {
17649
- var _this = this;
18896
+ var trigger = /*#__PURE__*/React.cloneElement(child, cloneProps);
18897
+ var portal; // prevent unmounting after it's rendered
17650
18898
 
17651
- Object.keys(responsiveMap).forEach(function (screen) {
17652
- var matchMediaQuery = responsiveMap[screen];
17653
- var handler = _this.matchHandlers[matchMediaQuery];
17654
- handler === null || handler === void 0 ? void 0 : handler.mql.removeListener(handler === null || handler === void 0 ? void 0 : handler.listener);
17655
- });
17656
- subscribers.clear();
17657
- },
17658
- register: function register() {
17659
- var _this2 = this;
18899
+ if (popupVisible || this.popupRef.current || forceRender) {
18900
+ portal = /*#__PURE__*/React.createElement(PortalComponent, {
18901
+ key: "portal",
18902
+ getContainer: this.getContainer,
18903
+ didUpdate: this.handlePortalUpdate
18904
+ }, this.getComponent());
18905
+ }
17660
18906
 
17661
- Object.keys(responsiveMap).forEach(function (screen) {
17662
- var matchMediaQuery = responsiveMap[screen];
18907
+ if (!popupVisible && autoDestroy) {
18908
+ portal = null;
18909
+ }
17663
18910
 
17664
- var listener = function listener(_ref) {
17665
- var matches = _ref.matches;
18911
+ return /*#__PURE__*/React.createElement(TriggerContext$1.Provider, {
18912
+ value: this.triggerContextValue
18913
+ }, trigger, portal);
18914
+ }
18915
+ }], [{
18916
+ key: "getDerivedStateFromProps",
18917
+ value: function getDerivedStateFromProps(_ref, prevState) {
18918
+ var popupVisible = _ref.popupVisible;
18919
+ var newState = {};
17666
18920
 
17667
- _this2.dispatch(_extends$1(_extends$1({}, screens), _defineProperty$4({}, screen, matches)));
17668
- };
18921
+ if (popupVisible !== undefined && prevState.popupVisible !== popupVisible) {
18922
+ newState.popupVisible = popupVisible;
18923
+ newState.prevPopupVisible = prevState.popupVisible;
18924
+ }
17669
18925
 
17670
- var mql = window.matchMedia(matchMediaQuery);
17671
- mql.addListener(listener);
17672
- _this2.matchHandlers[matchMediaQuery] = {
17673
- mql: mql,
17674
- listener: listener
17675
- };
17676
- listener(mql);
17677
- });
17678
- }
17679
- };
17680
- var ResponsiveObserve = responsiveObserve;
18926
+ return newState;
18927
+ }
18928
+ }]);
17681
18929
 
17682
- function useBreakpoint() {
17683
- var _useState = useState({}),
17684
- _useState2 = _slicedToArray$3(_useState, 2),
17685
- screens = _useState2[0],
17686
- setScreens = _useState2[1];
18930
+ return Trigger;
18931
+ }(React.Component);
17687
18932
 
17688
- useEffect(function () {
17689
- var token = ResponsiveObserve.subscribe(function (supportScreens) {
17690
- setScreens(supportScreens);
17691
- });
17692
- return function () {
17693
- return ResponsiveObserve.unsubscribe(token);
17694
- };
17695
- }, []);
17696
- return screens;
18933
+ Trigger.contextType = TriggerContext$1;
18934
+ Trigger.defaultProps = {
18935
+ prefixCls: 'rc-trigger-popup',
18936
+ getPopupClassNameFromAlign: returnEmptyString$1,
18937
+ getDocument: returnDocument$1,
18938
+ onPopupVisibleChange: noop$3,
18939
+ afterPopupVisibleChange: noop$3,
18940
+ onPopupAlign: noop$3,
18941
+ popupClassName: '',
18942
+ mouseEnterDelay: 0,
18943
+ mouseLeaveDelay: 0.1,
18944
+ focusDelay: 0,
18945
+ blurDelay: 0.15,
18946
+ popupStyle: {},
18947
+ destroyPopupOnHide: false,
18948
+ popupAlign: {},
18949
+ defaultPopupVisible: false,
18950
+ mask: false,
18951
+ maskClosable: true,
18952
+ action: [],
18953
+ showAction: [],
18954
+ hideAction: [],
18955
+ autoDestroy: false
18956
+ };
18957
+ return Trigger;
17697
18958
  }
18959
+ var Trigger$2 = generateTrigger$1(Portal);
17698
18960
 
17699
18961
  var autoAdjustOverflow$3 = {
17700
18962
  adjustX: 1,
@@ -48053,7 +49315,7 @@ var __rest$1 = undefined && undefined.__rest || function (s, e) {
48053
49315
  return t;
48054
49316
  };
48055
49317
 
48056
- var Link = function Link(_a, ref) {
49318
+ var Link$1 = function Link(_a, ref) {
48057
49319
  var ellipsis = _a.ellipsis,
48058
49320
  rel = _a.rel,
48059
49321
  restProps = __rest$1(_a, ["ellipsis", "rel"]);
@@ -48080,7 +49342,7 @@ var Link = function Link(_a, ref) {
48080
49342
  }));
48081
49343
  };
48082
49344
 
48083
- var Link$1 = /*#__PURE__*/React.forwardRef(Link);
49345
+ var Link$2 = /*#__PURE__*/React.forwardRef(Link$1);
48084
49346
 
48085
49347
  var __rest = undefined && undefined.__rest || function (s, e) {
48086
49348
  var t = {};
@@ -48127,7 +49389,7 @@ var Paragraph$2 = Paragraph$1;
48127
49389
 
48128
49390
  var Typography$1 = OriginTypography;
48129
49391
  Typography$1.Text = Text$2;
48130
- Typography$1.Link = Link$1;
49392
+ Typography$1.Link = Link$2;
48131
49393
  Typography$1.Title = Title$2;
48132
49394
  Typography$1.Paragraph = Paragraph$2;
48133
49395
  var AntDTypography = Typography$1;
@@ -48137,21 +49399,22 @@ const Icon = props => {
48137
49399
  component: Component,
48138
49400
  ...otherProps
48139
49401
  } = props;
49402
+ const MemoizedComponent = useMemo$1(() => Component ? _ref => {
49403
+ let {
49404
+ fill,
49405
+ ...iconProps
49406
+ } = _ref;
49407
+ return (// We don't rely on top-level fills for our colors. Fills are specified
49408
+ // with "currentColor" on children of the top-most svg.
49409
+ jsx(Component, {
49410
+ fill: "none",
49411
+ ...iconProps
49412
+ })
49413
+ );
49414
+ } : undefined, [Component]);
48140
49415
  return jsx(AntDIcon, {
48141
49416
  style: {},
48142
- component: !Component ? undefined : _ref => {
48143
- let {
48144
- fill,
48145
- ...iconProps
48146
- } = _ref;
48147
- return (// We don't rely on top-level fills for our colors. Fills are specified
48148
- // with "currentColor" on children of the top-most svg.
48149
- jsx(Component, {
48150
- fill: "none",
48151
- ...iconProps
48152
- })
48153
- );
48154
- },
49417
+ component: MemoizedComponent,
48155
49418
  ...otherProps
48156
49419
  });
48157
49420
  };
@@ -52091,12 +53354,12 @@ const colorPalettePrimary = {
52091
53354
  white: '#FFFFFF',
52092
53355
  grey100: '#F2F5F7',
52093
53356
  grey200: '#E4EBF0',
52094
- grey300: '#CEDBE5',
53357
+ grey300: '#CDDAE5',
52095
53358
  grey400: '#BDCDDB',
52096
53359
  grey500: '#8297A8',
52097
53360
  grey600: '#5D7283',
52098
53361
  grey700: '#44535F',
52099
- grey800: '#20272E',
53362
+ grey800: '#1F272D',
52100
53363
  red100: '#FFF5F7',
52101
53364
  red200: '#FDE2E8',
52102
53365
  red300: '#FBD0D8',
@@ -52172,6 +53435,7 @@ const lightColorList = {
52172
53435
  borderDecorative: colorPalettePrimary.grey300,
52173
53436
  textPrimary: colorPalettePrimary.grey800,
52174
53437
  textSecondary: colorPalettePrimary.grey600,
53438
+ textPlaceholder: colorPalettePrimary.grey400,
52175
53439
  textValidationDanger: colorPalettePrimary.red600,
52176
53440
  textValidationSuccess: colorPalettePrimary.green600,
52177
53441
  textValidationWarning: colorPalettePrimary.yellow600,
@@ -52193,6 +53457,8 @@ const lightColorList = {
52193
53457
  tagPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),
52194
53458
  tagIconHover: chroma(colorPalettePrimary.white).alpha(0.8).hex(),
52195
53459
  tagIconPress: chroma(colorPalettePrimary.white).alpha(0.76).hex(),
53460
+ // Typography
53461
+ typographyCodeBg: chroma(colorPalettePrimary.grey600).alpha(0.08).hex(),
52196
53462
  tooltipBackgroundTooltip: colorPalettePrimary.grey800,
52197
53463
  ...unstableColors
52198
53464
  };
@@ -52230,6 +53496,7 @@ const darkColorList = {
52230
53496
  borderDecorative: chroma(colorPalettePrimary.white).alpha(0.24).hex(),
52231
53497
  textPrimary: chroma(colorPalettePrimary.white).alpha(0.84).hex(),
52232
53498
  textSecondary: chroma(colorPalettePrimary.white).alpha(0.6).hex(),
53499
+ textPlaceholder: chroma(colorPalettePrimary.grey400).alpha(0.84).hex(),
52233
53500
  textValidationDanger: chroma(colorPalettePrimary.red400).alpha(0.84).hex(),
52234
53501
  textValidationSuccess: chroma(colorPalettePrimary.green400).alpha(0.84).hex(),
52235
53502
  textValidationWarning: chroma(colorPalettePrimary.yellow400).alpha(0.84).hex(),
@@ -52251,6 +53518,8 @@ const darkColorList = {
52251
53518
  tagPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),
52252
53519
  tagIconHover: chroma(colorPalettePrimary.white).alpha(0.8).hex(),
52253
53520
  tagIconPress: chroma(colorPalettePrimary.white).alpha(0.76).hex(),
53521
+ // Typography
53522
+ typographyCodeBg: chroma(colorPalettePrimary.white).alpha(0.16).hex(),
52254
53523
  tooltipBackgroundTooltip: chroma(colorPalettePrimary.white).alpha(0.6).hex(),
52255
53524
  // Missing in list
52256
53525
  backgroundDanger: 'rgba(200,45,76,0.08)',
@@ -52295,10 +53564,8 @@ const deprecatedColors = {
52295
53564
  radioDefaultBackground: '#FFFFFF',
52296
53565
  radioInteractiveHoverSecondary: 'rgba(34, 115, 181, 0.08)',
52297
53566
  // Fade of Interactive Available
52298
- radioInteractivePressSecondary: 'rgba(34, 115, 181, 0.16)',
52299
- // Fade of Interactive Available
52300
- // Typography colors
52301
- typographyCodeBg: 'rgba(32, 39, 46, 0.08)'
53567
+ radioInteractivePressSecondary: 'rgba(34, 115, 181, 0.16)' // Fade of Interactive Available
53568
+
52302
53569
  };
52303
53570
  function getColors(theme) {
52304
53571
  return { ...deprecatedColors,
@@ -52373,7 +53640,7 @@ const antdGeneralVariables = {
52373
53640
  };
52374
53641
  var generalVariables = antdGeneralVariables;
52375
53642
 
52376
- const FONT_SIZE_BASE = 14; // Less variables that are used by AntD
53643
+ const FONT_SIZE_BASE = 13; // Less variables that are used by AntD
52377
53644
 
52378
53645
  const antdTypography = {
52379
53646
  fontSizeSm: 12,
@@ -52453,6 +53720,43 @@ function WithDesignSystemThemeHoc(Component) {
52453
53720
  };
52454
53721
  }
52455
53722
 
53723
+ /**
53724
+ * A helper hook that allows quick creation of theme-dependent styles.
53725
+ * Results in more compact code than using useMemo and
53726
+ * useDesignSystemTheme separately.
53727
+ *
53728
+ * @example
53729
+ * const styles = useThemedStyles((theme) => ({
53730
+ * overlay: {
53731
+ * backgroundColor: theme.colors.backgroundPrimary,
53732
+ * borderRadius: theme.borders.borderRadiusMd,
53733
+ * },
53734
+ * wrapper: {
53735
+ * display: 'flex',
53736
+ * gap: theme.spacing.md,
53737
+ * },
53738
+ * }));
53739
+
53740
+ * <div css={styles.overlay}>...</div>
53741
+ *
53742
+ * @param styleFactory Factory function that accepts theme object as a parameter and returns
53743
+ * the style object. **Note**: factory function body is being memoized internally and is intended
53744
+ * to be used only for simple style objects that depend solely on the theme. If you want to use
53745
+ * styles that change depending on external values (state, props etc.) you should use
53746
+ * `useDesignSystemTheme` directly with your own reaction mechanism.
53747
+ * @returns The constructed style object
53748
+ */
53749
+
53750
+ const useThemedStyles = styleFactory => {
53751
+ const {
53752
+ theme
53753
+ } = useDesignSystemTheme(); // We can assume that the factory function won't change and we're
53754
+ // observing theme changes only.
53755
+
53756
+ const styleFactoryRef = useRef(styleFactory);
53757
+ return useMemo$1(() => styleFactoryRef.current(theme), [theme]);
53758
+ };
53759
+
52456
53760
  const DuboisContextDefaults = {
52457
53761
  enableAnimation: false,
52458
53762
  theme: 'default',
@@ -52484,13 +53788,12 @@ const DesignSystemProvider = _ref => {
52484
53788
  theme: themeName,
52485
53789
  enableAnimation = false,
52486
53790
  zIndexBase = 1000,
52487
- isCompact = false,
52488
53791
  getPopupContainer
52489
53792
  } = _ref;
52490
53793
  const theme = useMemo$1(() => getTheme(themeName || 'default', {
52491
53794
  enableAnimation,
52492
53795
  zIndexBase,
52493
- isCompact
53796
+ isCompact: true
52494
53797
  }), // TODO: revisit this
52495
53798
  // eslint-disable-next-line react-hooks/exhaustive-deps
52496
53799
  [themeName, zIndexBase]);
@@ -52498,9 +53801,9 @@ const DesignSystemProvider = _ref => {
52498
53801
  theme: themeName,
52499
53802
  enableAnimation,
52500
53803
  zIndexBase,
52501
- isCompact,
53804
+ isCompact: true,
52502
53805
  getPopupContainer
52503
- }), [themeName, enableAnimation, zIndexBase, isCompact, getPopupContainer]);
53806
+ }), [themeName, enableAnimation, zIndexBase, getPopupContainer]);
52504
53807
  const classNamePrefix = getClassNamePrefix(theme);
52505
53808
  const value = useMemo$1(() => {
52506
53809
  return {
@@ -52531,23 +53834,6 @@ const DesignSystemProvider = _ref => {
52531
53834
  })
52532
53835
  });
52533
53836
  };
52534
- const ApplyCompactDesignSystemTheme = _ref2 => {
52535
- let {
52536
- children
52537
- } = _ref2;
52538
- const parentDesignSystemProviderProps = useContext(DesignSystemProviderPropsContext);
52539
-
52540
- if (parentDesignSystemProviderProps === null) {
52541
- throw new Error("ApplyCompactDesignSystemTheme cannot be used standalone - DesignSystemProvider must exist in the React context");
52542
- }
52543
-
52544
- const newProps = useMemo$1(() => ({ ...parentDesignSystemProviderProps,
52545
- isCompact: true
52546
- }), [parentDesignSystemProviderProps]);
52547
- return jsx(DesignSystemProvider, { ...newProps,
52548
- children: children
52549
- });
52550
- };
52551
53837
 
52552
53838
  const Alert = _ref => {
52553
53839
  let {
@@ -52699,7 +53985,7 @@ const Breadcrumb = _ref => {
52699
53985
  }
52700
53986
  }, process.env.NODE_ENV === "production" ? "" : ";label:styles;");
52701
53987
  return jsx(Breadcrumb$2, {
52702
- separator: ">",
53988
+ separator: jsx(ChevronRightIcon, {}),
52703
53989
  ...props,
52704
53990
  ...dangerouslySetAntdProps,
52705
53991
  css: /*#__PURE__*/css$1(getAnimationCss(theme.options.enableAnimation), styles, process.env.NODE_ENV === "production" ? "" : ";label:Breadcrumb;")
@@ -52768,6 +54054,7 @@ function getDefaultStyles(theme) {
52768
54054
  backgroundColor: theme.colors.actionDefaultBackgroundDefault,
52769
54055
  borderColor: theme.colors.actionDefaultBorderDefault,
52770
54056
  color: theme.colors.actionDefaultTextDefault,
54057
+ lineHeight: theme.typography.lineHeightBase,
52771
54058
  '&:hover': {
52772
54059
  backgroundColor: theme.colors.actionDefaultBackgroundHover,
52773
54060
  borderColor: theme.colors.actionDefaultBorderHover,
@@ -52798,7 +54085,7 @@ function getPrimaryStyles(theme) {
52798
54085
  }
52799
54086
  };
52800
54087
  }
52801
- function getTertiaryStyles(theme) {
54088
+ function getLinkStyles(theme) {
52802
54089
  return {
52803
54090
  backgroundColor: theme.colors.actionTertiaryBackgroundDefault,
52804
54091
  borderColor: theme.colors.actionTertiaryBackgroundDefault,
@@ -52884,7 +54171,8 @@ const getButtonEmotionStyles = _ref => {
52884
54171
  withIcon,
52885
54172
  onlyIcon,
52886
54173
  enableAnimation,
52887
- size
54174
+ size,
54175
+ type
52888
54176
  } = _ref;
52889
54177
  const clsIcon = ".".concat(theme.general.iconfontCssPrefix);
52890
54178
  const clsLoadingIcon = ".".concat(classNamePrefix, "-btn-loading-icon");
@@ -52901,10 +54189,7 @@ const getButtonEmotionStyles = _ref => {
52901
54189
  padding: theme.options.isCompact || size === 'small' ? '4px 12px' : '8px 16px',
52902
54190
  ...(size === 'ultrasmall' && {
52903
54191
  padding: '0 8px'
52904
- }),
52905
- '> span': {
52906
- verticalAlign: 'middle'
52907
- }
54192
+ })
52908
54193
  }
52909
54194
  }),
52910
54195
  ...((theme.options.isCompact || size === 'small') && {
@@ -52932,14 +54217,16 @@ const getButtonEmotionStyles = _ref => {
52932
54217
  ...getDefaultStyles(theme),
52933
54218
  ["&".concat(classPrimary)]: { ...getPrimaryStyles(theme)
52934
54219
  },
52935
- ["&".concat(classLink)]: { ...getTertiaryStyles(theme),
52936
- padding: 'unset',
52937
- height: 'auto',
52938
- border: 'none',
52939
- boxShadow: 'none',
52940
- '&[disabled],&:hover': {
52941
- background: 'none'
52942
- }
54220
+ ["&".concat(classLink)]: { ...getLinkStyles(theme),
54221
+ ...(type === 'link' && {
54222
+ padding: 'unset',
54223
+ height: 'auto',
54224
+ border: 'none',
54225
+ boxShadow: 'none',
54226
+ '&[disabled],&:hover': {
54227
+ background: 'none'
54228
+ }
54229
+ })
52943
54230
  },
52944
54231
  ["&".concat(classDangerous).concat(classPrimary)]: { ...getPrimaryDangerStyles(theme)
52945
54232
  },
@@ -52994,7 +54281,7 @@ const getButtonEmotionStyles = _ref => {
52994
54281
  verticalAlign: -5,
52995
54282
  lineHeight: 0,
52996
54283
  ...(onlyIcon && {
52997
- verticalAlign: theme.options.isCompact || size === 'small' ? -2 : -5
54284
+ verticalAlign: theme.options.isCompact || size === 'small' ? -3 : -5
52998
54285
  }),
52999
54286
  ...((theme.options.isCompact || size === 'small') && {
53000
54287
  fontSize: theme.general.buttonInnerHeight - 4,
@@ -53041,6 +54328,7 @@ _ref2, ref) {
53041
54328
  dangerouslySetAntdProps,
53042
54329
  children,
53043
54330
  size,
54331
+ type,
53044
54332
  ...props
53045
54333
  } = _ref2;
53046
54334
  const {
@@ -53056,10 +54344,13 @@ _ref2, ref) {
53056
54344
  onlyIcon: Boolean(props.icon && !children),
53057
54345
  danger: Boolean(props.danger),
53058
54346
  enableAnimation: theme.options.enableAnimation,
53059
- size: size || 'middle'
54347
+ size: size || 'middle',
54348
+ type
53060
54349
  }),
54350
+ href: props.disabled ? undefined : props.href,
53061
54351
  ...dangerouslySetAntdProps,
53062
54352
  ref: ref,
54353
+ type: type === 'tertiary' ? 'link' : type,
53063
54354
  children: children && jsx("span", {
53064
54355
  children: children
53065
54356
  })
@@ -53082,7 +54373,9 @@ function getCheckboxEmotionStyles(clsPrefix, theme) {
53082
54373
  const pressSelector = "".concat(classInput, ":active + ").concat(classInner);
53083
54374
  const styles = {
53084
54375
  // Top level styles are for the unchecked state
53085
- [classInner]: {},
54376
+ [classInner]: {
54377
+ borderColor: theme.colors.actionDefaultBorderDefault
54378
+ },
53086
54379
  // Keyboard focus
53087
54380
  ["".concat(classInput, ":focus-visible + ").concat(classInner)]: {
53088
54381
  outlineWidth: '2px',
@@ -53218,12 +54511,14 @@ const DuboisCheckbox = /*#__PURE__*/forwardRef(function Checkbox(_ref, ref) {
53218
54511
  });
53219
54512
  const CheckboxGroup = /*#__PURE__*/forwardRef(function CheckboxGroup(props, ref) {
53220
54513
  const {
53221
- theme
54514
+ theme,
54515
+ getPrefixedClassName
53222
54516
  } = useDesignSystemTheme();
54517
+ const clsPrefix = getPrefixedClassName('checkbox');
53223
54518
  return jsx(AntDCheckbox.Group, {
53224
54519
  ref: ref,
53225
54520
  ...props,
53226
- css: /*#__PURE__*/css$1(getAnimationCss(theme.options.enableAnimation), process.env.NODE_ENV === "production" ? "" : ";label:CheckboxGroup;")
54521
+ css: getCheckboxEmotionStyles(clsPrefix, theme)
53227
54522
  });
53228
54523
  });
53229
54524
  const CheckboxNamespace = Object.assign(DuboisCheckbox, {
@@ -53296,6 +54591,12 @@ function getCollapseEmotionStyles(clsPrefix, theme) {
53296
54591
  [classContentBox]: {
53297
54592
  padding: '8px 16px 16px'
53298
54593
  },
54594
+ ...(theme.options.isCompact && {
54595
+ ["& > ".concat(classItem, " > ").concat(classHeader)]: {
54596
+ padding: '6px 44px 6px 0',
54597
+ lineHeight: theme.typography.lineHeightBase
54598
+ }
54599
+ }),
53299
54600
  ...getAnimationCss(theme.options.enableAnimation)
53300
54601
  };
53301
54602
  return /*#__PURE__*/css$1(styles, process.env.NODE_ENV === "production" ? "" : ";label:getCollapseEmotionStyles;");
@@ -53339,7 +54640,7 @@ function getEmotionStyles(clsPrefix, theme) {
53339
54640
  const classSeparator = ".".concat(clsPrefix, "-separator");
53340
54641
  const classSuffix = ".".concat(clsPrefix, "-suffix");
53341
54642
  const styles = {
53342
- height: 40,
54643
+ height: theme.options.isCompact ? 32 : 40,
53343
54644
  borderRadius: theme.borders.borderRadiusMd,
53344
54645
  borderColor: theme.colors.border,
53345
54646
  color: theme.colors.textPrimary,
@@ -53917,7 +55218,7 @@ var DropdownMenu = /*#__PURE__*/Object.freeze({
53917
55218
  IconWrapper: IconWrapper
53918
55219
  });
53919
55220
 
53920
- const getFormEmotionStyles = _ref => {
55221
+ const getFormItemEmotionStyles = _ref => {
53921
55222
  let {
53922
55223
  theme,
53923
55224
  clsPrefix
@@ -53931,7 +55232,8 @@ const getFormEmotionStyles = _ref => {
53931
55232
  lineHeight: theme.typography.lineHeightBase
53932
55233
  },
53933
55234
  [clsFormItemExplain]: {
53934
- fontSize: theme.typography.fontSizeSm
55235
+ fontSize: theme.typography.fontSizeSm,
55236
+ margin: 0
53935
55237
  },
53936
55238
  [clsFormItemInputControl]: {
53937
55239
  minHeight: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase
@@ -53940,7 +55242,7 @@ const getFormEmotionStyles = _ref => {
53940
55242
  border: 'none'
53941
55243
  },
53942
55244
  ...getAnimationCss(theme.options.enableAnimation)
53943
- }, process.env.NODE_ENV === "production" ? "" : ";label:getFormEmotionStyles;");
55245
+ }, process.env.NODE_ENV === "production" ? "" : ";label:getFormItemEmotionStyles;");
53944
55246
  };
53945
55247
 
53946
55248
  const FormDubois = /*#__PURE__*/forwardRef(function Form(_ref2, ref) {
@@ -53948,26 +55250,28 @@ const FormDubois = /*#__PURE__*/forwardRef(function Form(_ref2, ref) {
53948
55250
  dangerouslySetAntdProps,
53949
55251
  ...props
53950
55252
  } = _ref2;
53951
- const {
53952
- theme,
53953
- classNamePrefix
53954
- } = useDesignSystemTheme();
53955
55253
  const mergedProps = { ...props,
53956
55254
  layout: props.layout || 'vertical',
53957
55255
  requiredMark: props.requiredMark || false
53958
55256
  };
53959
55257
  return jsx(AntDForm, { ...mergedProps,
53960
55258
  ref: ref,
53961
- css: getFormEmotionStyles({
53962
- theme,
53963
- clsPrefix: classNamePrefix
53964
- }),
53965
55259
  ...dangerouslySetAntdProps
53966
55260
  });
53967
55261
  });
53968
55262
 
53969
- const FormItem = props => jsx(AntDForm.Item, { ...props
53970
- });
55263
+ const FormItem = props => {
55264
+ const {
55265
+ theme,
55266
+ classNamePrefix
55267
+ } = useDesignSystemTheme();
55268
+ return jsx(AntDForm.Item, { ...props,
55269
+ css: getFormItemEmotionStyles({
55270
+ theme,
55271
+ clsPrefix: classNamePrefix
55272
+ })
55273
+ });
55274
+ };
53971
55275
 
53972
55276
  const FormNamespace = Object.assign(FormDubois, {
53973
55277
  Item: FormItem,
@@ -54076,7 +55380,7 @@ function Title(userProps) {
54076
55380
  });
54077
55381
  }
54078
55382
 
54079
- function _EMOTION_STRINGIFIED_CSS_ERROR__$5() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
55383
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$7() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
54080
55384
 
54081
55385
  const getHeaderStyles = (clsPrefix, theme) => {
54082
55386
  const breadcrumbClass = ".".concat(clsPrefix, "-breadcrumb");
@@ -54089,13 +55393,13 @@ const getHeaderStyles = (clsPrefix, theme) => {
54089
55393
  return /*#__PURE__*/css$1(importantify(styles), process.env.NODE_ENV === "production" ? "" : ";label:getHeaderStyles;");
54090
55394
  };
54091
55395
 
54092
- var _ref$1 = process.env.NODE_ENV === "production" ? {
55396
+ var _ref$3 = process.env.NODE_ENV === "production" ? {
54093
55397
  name: "5s4ezj",
54094
55398
  styles: "display:inline-flex;vertical-align:middle;align-items:center;margin-left:8px"
54095
55399
  } : {
54096
55400
  name: "gxikdi-titleAddOnsWrapper",
54097
55401
  styles: "display:inline-flex;vertical-align:middle;align-items:center;margin-left:8px;label:titleAddOnsWrapper;",
54098
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
55402
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
54099
55403
  };
54100
55404
 
54101
55405
  var _ref2$2 = process.env.NODE_ENV === "production" ? {
@@ -54104,7 +55408,7 @@ var _ref2$2 = process.env.NODE_ENV === "production" ? {
54104
55408
  } : {
54105
55409
  name: "ozrfom-buttonContainer",
54106
55410
  styles: "margin-left:8px;label:buttonContainer;",
54107
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
55411
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
54108
55412
  };
54109
55413
 
54110
55414
  var _ref3$1 = process.env.NODE_ENV === "production" ? {
@@ -54113,7 +55417,7 @@ var _ref3$1 = process.env.NODE_ENV === "production" ? {
54113
55417
  } : {
54114
55418
  name: "abhq57-title",
54115
55419
  styles: "margin-top:0;margin-bottom:0 !important;label:title;",
54116
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
55420
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
54117
55421
  };
54118
55422
 
54119
55423
  var _ref4$2 = process.env.NODE_ENV === "production" ? {
@@ -54122,7 +55426,7 @@ var _ref4$2 = process.env.NODE_ENV === "production" ? {
54122
55426
  } : {
54123
55427
  name: "m9gz0x-titleWrapper",
54124
55428
  styles: "display:flex;align-items:flex-start;justify-content:space-between;label:titleWrapper;",
54125
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
55429
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
54126
55430
  };
54127
55431
 
54128
55432
  const Header$1 = props => {
@@ -54144,11 +55448,11 @@ const Header$1 = props => {
54144
55448
  titleIfOtherElementsPresent: /*#__PURE__*/css$1({
54145
55449
  marginTop: 6,
54146
55450
  ...(theme.options.isCompact && {
54147
- marginTop: 4
55451
+ marginTop: 2
54148
55452
  })
54149
55453
  }, process.env.NODE_ENV === "production" ? "" : ";label:titleIfOtherElementsPresent;"),
54150
55454
  buttonContainer: _ref2$2,
54151
- titleAddOnsWrapper: _ref$1
55455
+ titleAddOnsWrapper: _ref$3
54152
55456
  };
54153
55457
  return jsxs("div", {
54154
55458
  css: [getHeaderStyles(clsPrefix, theme), props.dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Header;"],
@@ -54177,25 +55481,49 @@ const Header$1 = props => {
54177
55481
 
54178
55482
  const getInputEmotionStyles = (clsPrefix, theme) => {
54179
55483
  const affixClass = ".".concat(clsPrefix, "-input-affix-wrapper");
54180
- const inputClass = ".".concat(clsPrefix, "-input");
55484
+ const affixClassFocused = ".".concat(clsPrefix, "-input-affix-wrapper-focused");
54181
55485
  const styles = {
54182
55486
  '&&': {
54183
55487
  lineHeight: theme.typography.lineHeightBase,
54184
55488
  paddingTop: theme.options.isCompact ? 5 : 9,
54185
55489
  paddingBottom: theme.options.isCompact ? 5 : 9,
54186
- minHeight: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase
55490
+ minHeight: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase,
55491
+ '&:hover': {
55492
+ borderColor: theme.colors.actionPrimaryBackgroundHover
55493
+ },
55494
+ '&:focus': {
55495
+ outlineColor: theme.colors.actionPrimaryBackgroundDefault,
55496
+ outlineWidth: 2,
55497
+ outlineStyle: 'solid',
55498
+ boxShadow: 'none',
55499
+ borderColor: 'transparent'
55500
+ },
55501
+ '&:disabled': {
55502
+ backgroundColor: theme.colors.actionDisabledBackground,
55503
+ color: theme.colors.actionDisabledText
55504
+ }
54187
55505
  },
54188
- ["&.".concat(affixClass)]: {
55506
+ ["&".concat(affixClass)]: {
54189
55507
  lineHeight: theme.typography.lineHeightBase,
54190
55508
  paddingTop: theme.options.isCompact ? 5 : 9,
54191
55509
  paddingBottom: theme.options.isCompact ? 5 : 9,
54192
55510
  minHeight: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase,
54193
55511
  '::before': {
54194
55512
  lineHeight: theme.typography.lineHeightBase
55513
+ },
55514
+ '&:hover': {
55515
+ borderColor: theme.colors.actionPrimaryBackgroundHover
54195
55516
  }
54196
55517
  },
54197
- [inputClass]: {
54198
- lineHeight: theme.typography.lineHeightBase
55518
+ ["&".concat(affixClassFocused)]: {
55519
+ boxShadow: 'none',
55520
+ '&&, &:focus': {
55521
+ outlineColor: theme.colors.actionPrimaryBackgroundDefault,
55522
+ outlineWidth: 2,
55523
+ outlineStyle: 'solid',
55524
+ boxShadow: 'none',
55525
+ borderColor: 'transparent'
55526
+ }
54199
55527
  },
54200
55528
  ...getAnimationCss(theme.options.enableAnimation)
54201
55529
  };
@@ -54305,7 +55633,7 @@ Menu.SubMenu = function SubMenu(props) {
54305
55633
  });
54306
55634
  };
54307
55635
 
54308
- function _EMOTION_STRINGIFIED_CSS_ERROR__$4() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
55636
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$6() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
54309
55637
  const SIZE_PRESETS = {
54310
55638
  normal: 640,
54311
55639
  wide: 880
@@ -54336,7 +55664,6 @@ const getModalEmotionStyles = args => {
54336
55664
  const bodyMaxHeight = "calc(".concat(modalMaxHeight, " - ").concat(headerHeight, "px - ").concat(footerHeight, "px - ").concat(contentBottomPadding, "px)");
54337
55665
  return /*#__PURE__*/css$1({
54338
55666
  [classNameHeader]: {
54339
- height: headerHeight,
54340
55667
  paddingTop: theme.options.isCompact ? theme.spacing.md : MODAL_PADDING$1,
54341
55668
  paddingLeft: theme.options.isCompact ? theme.spacing.lg : MODAL_PADDING$1,
54342
55669
  paddingRight: theme.options.isCompact ? theme.spacing.md : MODAL_PADDING$1,
@@ -54347,6 +55674,7 @@ const getModalEmotionStyles = args => {
54347
55674
  paddingTop: theme.options.isCompact ? theme.spacing.lg : MODAL_PADDING$1 / 2,
54348
55675
  paddingLeft: MODAL_PADDING$1,
54349
55676
  paddingRight: MODAL_PADDING$1,
55677
+ marginTop: 'auto',
54350
55678
  ["".concat(classNameButton, " + ").concat(classNameButton, ":not(").concat(classNameDropdownTrigger, ")")]: {
54351
55679
  marginLeft: theme.spacing.sm
54352
55680
  }
@@ -54391,9 +55719,10 @@ const getModalEmotionStyles = args => {
54391
55719
  fontSize: theme.typography.fontSizeXl,
54392
55720
  lineHeight: theme.typography.lineHeightXl,
54393
55721
  fontWeight: theme.typography.typographyBoldFontWeight,
55722
+ paddingRight: MODAL_PADDING$1,
54394
55723
  // Don't impact regular size
54395
55724
  ...(theme.options.isCompact && {
54396
- height: headerHeight / 2,
55725
+ minHeight: headerHeight / 2,
54397
55726
  display: 'flex',
54398
55727
  alignItems: 'center'
54399
55728
  })
@@ -54402,7 +55731,9 @@ const getModalEmotionStyles = args => {
54402
55731
  maxHeight: modalMaxHeight,
54403
55732
  height: maxedOutHeight ? modalMaxHeight : '',
54404
55733
  overflow: 'hidden',
54405
- paddingBottom: contentBottomPadding
55734
+ paddingBottom: contentBottomPadding,
55735
+ display: 'flex',
55736
+ flexDirection: 'column'
54406
55737
  },
54407
55738
  [classNameBody]: {
54408
55739
  overflowY: 'auto',
@@ -54500,7 +55831,7 @@ var _ref2$1 = process.env.NODE_ENV === "production" ? {
54500
55831
  } : {
54501
55832
  name: "1jkwrsj-titleComp",
54502
55833
  styles: "position:relative;display:inline-flex;align-items:center;label:titleComp;",
54503
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$4
55834
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$6
54504
55835
  };
54505
55836
 
54506
55837
  var _ref3 = process.env.NODE_ENV === "production" ? {
@@ -54509,7 +55840,7 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
54509
55840
  } : {
54510
55841
  name: "i303lp-titleComp",
54511
55842
  styles: "padding-left:6px;label:titleComp;",
54512
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$4
55843
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$6
54513
55844
  };
54514
55845
 
54515
55846
  var _ref4$1 = process.env.NODE_ENV === "production" ? {
@@ -54518,7 +55849,7 @@ var _ref4$1 = process.env.NODE_ENV === "production" ? {
54518
55849
  } : {
54519
55850
  name: "boqyz4-titleComp",
54520
55851
  styles: "position:relative;label:titleComp;",
54521
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$4
55852
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$6
54522
55853
  };
54523
55854
 
54524
55855
  function DangerModal(props) {
@@ -54655,15 +55986,15 @@ const defaultProps = {
54655
55986
  duration: 3
54656
55987
  };
54657
55988
 
54658
- function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
55989
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$5() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
54659
55990
 
54660
- var _ref = process.env.NODE_ENV === "production" ? {
55991
+ var _ref$2 = process.env.NODE_ENV === "production" ? {
54661
55992
  name: "1dw6hj0",
54662
55993
  styles: "padding-left:16px;padding-right:16px"
54663
55994
  } : {
54664
55995
  name: "xioo5t-PageWrapper",
54665
55996
  styles: "padding-left:16px;padding-right:16px;label:PageWrapper;",
54666
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
55997
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
54667
55998
  };
54668
55999
 
54669
56000
  const PageWrapper = _ref2 => {
@@ -54671,7 +56002,7 @@ const PageWrapper = _ref2 => {
54671
56002
  children
54672
56003
  } = _ref2;
54673
56004
  return jsx("div", {
54674
- css: _ref,
56005
+ css: _ref$2,
54675
56006
  children: children
54676
56007
  });
54677
56008
  };
@@ -54817,14 +56148,14 @@ const Popover = props => {
54817
56148
  });
54818
56149
  };
54819
56150
 
54820
- function _EMOTION_STRINGIFIED_CSS_ERROR__$2() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
56151
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$4() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
54821
56152
  const verticalGroupEmotionStyles = process.env.NODE_ENV === "production" ? {
54822
56153
  name: "yea6ot",
54823
56154
  styles: "display:flex;flex-direction:column;flex-wrap:wrap"
54824
56155
  } : {
54825
56156
  name: "1ydgy2-verticalGroupEmotionStyles",
54826
56157
  styles: "display:flex;flex-direction:column;flex-wrap:wrap;label:verticalGroupEmotionStyles;",
54827
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
56158
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$4
54828
56159
  };
54829
56160
 
54830
56161
  const radioOverrideEmotionStyles = _ref => {
@@ -55082,7 +56413,7 @@ const SegmentedControlGroup = /*#__PURE__*/forwardRef(function SegmentedControlG
55082
56413
  });
55083
56414
  });
55084
56415
 
55085
- function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
56416
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
55086
56417
 
55087
56418
  function getSelectEmotionStyles(_ref) {
55088
56419
  let {
@@ -55097,6 +56428,7 @@ function getSelectEmotionStyles(_ref) {
55097
56428
  const classMultiple = ".".concat(clsPrefix, "-multiple");
55098
56429
  const classItem = ".".concat(clsPrefix, "-selection-item");
55099
56430
  const classItemOverflow = ".".concat(clsPrefix, "-selection-overflow-item");
56431
+ const classItemOverflowSuffix = ".".concat(clsPrefix, "-selection-overflow-item-suffix");
55100
56432
  const classArrow = ".".concat(clsPrefix, "-arrow");
55101
56433
  const classArrowLoading = ".".concat(clsPrefix, "-arrow-loading");
55102
56434
  const classPlaceholder = ".".concat(clsPrefix, "-selection-placeholder");
@@ -55118,7 +56450,6 @@ function getSelectEmotionStyles(_ref) {
55118
56450
  // to make sure the whole select is clickable.
55119
56451
  paddingRight: 0,
55120
56452
  color: theme.colors.textPrimary,
55121
- borderColor: theme.colors.actionDefaultBorderDefault,
55122
56453
  backgroundColor: 'transparent',
55123
56454
  height: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase,
55124
56455
  '::after': {
@@ -55145,7 +56476,8 @@ function getSelectEmotionStyles(_ref) {
55145
56476
  right: 24,
55146
56477
  left: 12,
55147
56478
  [classSearchInput]: {
55148
- color: theme.colors.actionDefaultTextDefault
56479
+ color: theme.colors.actionDefaultTextDefault,
56480
+ height: 24
55149
56481
  }
55150
56482
  },
55151
56483
  ["&".concat(classSingle)]: {
@@ -55165,7 +56497,7 @@ function getSelectEmotionStyles(_ref) {
55165
56497
  },
55166
56498
  ["&".concat(classFocused)]: {
55167
56499
  [classSelector]: {
55168
- outlineColor: theme.colors.primary,
56500
+ outlineColor: theme.colors.actionPrimaryBackgroundDefault,
55169
56501
  outlineWidth: 2,
55170
56502
  outlineStyle: 'solid',
55171
56503
  borderColor: 'transparent',
@@ -55204,6 +56536,14 @@ function getSelectEmotionStyles(_ref) {
55204
56536
  fontSize: 13
55205
56537
  }
55206
56538
  },
56539
+ [classPlaceholder]: {
56540
+ color: theme.colors.textSecondary,
56541
+ right: 'auto',
56542
+ left: 'auto',
56543
+ paddingRight: 32,
56544
+ lineHeight: theme.typography.lineHeightBase,
56545
+ alignSelf: 'center'
56546
+ },
55207
56547
  ["&".concat(classMultiple)]: {
55208
56548
  [classSelector]: {
55209
56549
  paddingTop: 3,
@@ -55251,7 +56591,19 @@ function getSelectEmotionStyles(_ref) {
55251
56591
  },
55252
56592
  ["&".concat(classAllowClear)]: {
55253
56593
  [classSearchClear]: {
55254
- top: theme.options.isCompact ? 17 : 20
56594
+ top: theme.options.isCompact ? 16 : 20
56595
+ }
56596
+ },
56597
+ [classPlaceholder]: {
56598
+ // Compensate for the caret placeholder width
56599
+ paddingLeft: 4,
56600
+ color: theme.colors.textPlaceholder
56601
+ },
56602
+ ["&:not(".concat(classFocused, ")")]: {
56603
+ [classItemOverflowSuffix]: {
56604
+ // Do not keep the caret's placeholder at full height when not focused,
56605
+ // because it introduces a new line even when not focused. Using display: none would break the caret
56606
+ height: 0
55255
56607
  }
55256
56608
  }
55257
56609
  },
@@ -55272,11 +56624,6 @@ function getSelectEmotionStyles(_ref) {
55272
56624
  opacity: 100
55273
56625
  }
55274
56626
  },
55275
- [classPlaceholder]: {
55276
- color: theme.colors.textPrimary,
55277
- right: 'auto',
55278
- left: 'auto'
55279
- },
55280
56627
  [classCloseButton]: {
55281
56628
  color: theme.colors.textPrimary,
55282
56629
  borderTopRightRadius: theme.borders.borderRadiusMd,
@@ -55352,6 +56699,7 @@ function getLoadingIconStyles(theme) {
55352
56699
  }
55353
56700
 
55354
56701
  const DuboisRefForwardedSelect = /*#__PURE__*/forwardRef(DuboisSelect);
56702
+ const scrollbarVisibleItemsCount = 8;
55355
56703
 
55356
56704
  var _ref4 = process.env.NODE_ENV === "production" ? {
55357
56705
  name: "14is9qy",
@@ -55359,7 +56707,7 @@ var _ref4 = process.env.NODE_ENV === "production" ? {
55359
56707
  } : {
55360
56708
  name: "14is9qy",
55361
56709
  styles: "font-size:20px",
55362
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
56710
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
55363
56711
  };
55364
56712
 
55365
56713
  function DuboisSelect(_ref2, ref) {
@@ -55368,6 +56716,7 @@ function DuboisSelect(_ref2, ref) {
55368
56716
  loading,
55369
56717
  mode,
55370
56718
  dangerouslySetAntdProps,
56719
+ virtual,
55371
56720
  ...restProps
55372
56721
  } = _ref2;
55373
56722
  const {
@@ -55415,7 +56764,10 @@ function DuboisSelect(_ref2, ref) {
55415
56764
  maxTagPlaceholder: items => "+ ".concat(items.length, " more"),
55416
56765
  mode: mode,
55417
56766
  loading: loading,
55418
- filterOption: true,
56767
+ filterOption: true // This is needed to avoid ghost scrollbar that generates error when clicked on exactly 8 elements
56768
+ // Because by default AntD uses true for virtual, we want to replicate the same even if there are no children
56769
+ ,
56770
+ virtual: virtual || !children || Array.isArray(children) && children.length !== scrollbarVisibleItemsCount,
55419
56771
  optionFilterProp: 'children',
55420
56772
  ...restProps,
55421
56773
  ...dangerouslySetAntdProps,
@@ -55496,6 +56848,8 @@ const Spinner = _ref => {
55496
56848
  });
55497
56849
  };
55498
56850
 
56851
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$2() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
56852
+
55499
56853
  function getSplitButtonEmotionStyles(classNamePrefix, theme) {
55500
56854
  const classDefault = ".".concat(classNamePrefix, "-btn");
55501
56855
  const classPrimary = ".".concat(classNamePrefix, "-btn-primary");
@@ -55554,6 +56908,15 @@ function getSplitButtonEmotionStyles(classNamePrefix, theme) {
55554
56908
  return /*#__PURE__*/css$1(importantStyles, process.env.NODE_ENV === "production" ? "" : ";label:getSplitButtonEmotionStyles;");
55555
56909
  }
55556
56910
 
56911
+ var _ref$1 = process.env.NODE_ENV === "production" ? {
56912
+ name: "jjj6u2",
56913
+ styles: "display:inline-flex;position:relative"
56914
+ } : {
56915
+ name: "4yj1tb-SplitButton",
56916
+ styles: "display:inline-flex;position:relative;label:SplitButton;",
56917
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
56918
+ };
56919
+
55557
56920
  const SplitButton = props => {
55558
56921
  const {
55559
56922
  theme,
@@ -55564,22 +56927,43 @@ const SplitButton = props => {
55564
56927
  icon,
55565
56928
  menu,
55566
56929
  type,
56930
+ loading,
55567
56931
  dangerouslySetAntdProps,
55568
56932
  ...dropdownButtonProps
55569
56933
  } = props;
55570
- return jsxs(Dropdown$2.Button, { ...dropdownButtonProps,
55571
- overlay: menu,
55572
- trigger: ['click'],
55573
- css: getSplitButtonEmotionStyles(classNamePrefix, theme),
55574
- icon: jsx(ChevronDownIcon, {
55575
- css: /*#__PURE__*/css$1({
55576
- fontSize: theme.general.iconSize
55577
- }, process.env.NODE_ENV === "production" ? "" : ";label:SplitButton;")
55578
- }),
55579
- placement: "bottomCenter",
55580
- type: type === 'default' ? undefined : type,
55581
- ...dangerouslySetAntdProps,
55582
- children: [icon, children]
56934
+ const [width, setWidth] = useState(0); // Set the width to the button's width in regular state to later use when in loading state
56935
+ // We do this to have just a loading icon in loading state at the normal width to avoid flicker and width changes in page
56936
+
56937
+ const ref = useCallback(node => {
56938
+ if (node && !loading) {
56939
+ setWidth(node.getBoundingClientRect().width);
56940
+ }
56941
+ }, [loading]);
56942
+ return jsx("div", {
56943
+ ref: ref,
56944
+ css: _ref$1,
56945
+ children: loading ? jsx(Button, {
56946
+ type: type === 'default' ? undefined : type,
56947
+ style: {
56948
+ width: width
56949
+ },
56950
+ children: jsx(LoadingIcon, {
56951
+ spin: true
56952
+ })
56953
+ }) : jsxs(Dropdown$2.Button, { ...dropdownButtonProps,
56954
+ overlay: menu,
56955
+ trigger: ['click'],
56956
+ css: getSplitButtonEmotionStyles(classNamePrefix, theme),
56957
+ icon: jsx(ChevronDownIcon, {
56958
+ css: /*#__PURE__*/css$1({
56959
+ fontSize: theme.general.iconSize
56960
+ }, process.env.NODE_ENV === "production" ? "" : ";label:SplitButton;")
56961
+ }),
56962
+ placement: "bottomCenter",
56963
+ type: type === 'default' ? undefined : type,
56964
+ ...dangerouslySetAntdProps,
56965
+ children: [icon, children]
56966
+ })
55583
56967
  });
55584
56968
  };
55585
56969
 
@@ -55637,8 +57021,11 @@ const getScrollableInFlexibleContainerStyles = clsPrefix => {
55637
57021
  }
55638
57022
  };
55639
57023
  return /*#__PURE__*/css$1(styles, process.env.NODE_ENV === "production" ? "" : ";label:getScrollableInFlexibleContainerStyles;");
55640
- }; // eslint-disable-next-line @typescript-eslint/ban-types
57024
+ };
55641
57025
 
57026
+ const DEFAULT_LOADING_SPIN_PROPS = {
57027
+ indicator: jsx(Spinner, {})
57028
+ }; // eslint-disable-next-line @typescript-eslint/ban-types
55642
57029
 
55643
57030
  const Table = props => {
55644
57031
  const {
@@ -55646,10 +57033,15 @@ const Table = props => {
55646
57033
  theme
55647
57034
  } = useDesignSystemTheme();
55648
57035
  const {
57036
+ loading,
55649
57037
  scrollableInFlexibleContainer,
55650
57038
  ...tableProps
55651
57039
  } = props;
55652
- return jsx(Table$1, {
57040
+ return jsx(Table$1 // NOTE(FEINF-1273): The default loading indicator from AntD does not animate
57041
+ // and the design system spinner is recommended over the AntD one. Therefore,
57042
+ // if `loading` is `true`, render the design system <Spinner/> component.
57043
+ , {
57044
+ loading: loading === true ? DEFAULT_LOADING_SPIN_PROPS : loading,
55653
57045
  scroll: scrollableInFlexibleContainer ? {
55654
57046
  y: 'auto'
55655
57047
  } : undefined,
@@ -55803,6 +57195,7 @@ const Tabs = _ref => {
55803
57195
  onChange,
55804
57196
  onEdit,
55805
57197
  children,
57198
+ destroyInactiveTabPane = false,
55806
57199
  dangerouslySetAntdProps = {},
55807
57200
  dangerouslyAppendEmotionCSS = {}
55808
57201
  } = _ref;
@@ -55815,6 +57208,7 @@ const Tabs = _ref => {
55815
57208
  defaultActiveKey: defaultActiveKey,
55816
57209
  onChange: onChange,
55817
57210
  onEdit: onEdit,
57211
+ destroyInactiveTabPane: destroyInactiveTabPane,
55818
57212
  type: editable ? 'editable-card' : 'card',
55819
57213
  addIcon: jsx(PlusIcon, {
55820
57214
  css: /*#__PURE__*/css$1({
@@ -56019,7 +57413,7 @@ const Tooltip = _ref => {
56019
57413
  });
56020
57414
  };
56021
57415
 
56022
- function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
57416
+ function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
56023
57417
 
56024
57418
  /**
56025
57419
  * These styles share some aspects with the styles in the main `Checkbox.tsx` component.
@@ -56228,7 +57622,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
56228
57622
  } : {
56229
57623
  name: "wh1oly-Tree",
56230
57624
  styles: "font-size:24px!important;label:Tree;",
56231
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
57625
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
56232
57626
  };
56233
57627
 
56234
57628
  function Tree(_ref) {
@@ -56263,6 +57657,39 @@ function Tree(_ref) {
56263
57657
  });
56264
57658
  }
56265
57659
 
57660
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
57661
+
57662
+ var _ref = process.env.NODE_ENV === "production" ? {
57663
+ name: "mgrjgu",
57664
+ styles: "margin-left:2px"
57665
+ } : {
57666
+ name: "7kmwq-Link",
57667
+ styles: "margin-left:2px;label:Link;",
57668
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
57669
+ };
57670
+
57671
+ function Link(props) {
57672
+ const {
57673
+ children,
57674
+ openInNewTab,
57675
+ ...restProps
57676
+ } = props;
57677
+ const openInNewTabProps = getOpenInNewTabProps(openInNewTab);
57678
+ return jsxs(AntDTypography.Link, { ...restProps,
57679
+ ...openInNewTabProps,
57680
+ children: [children, openInNewTab ? jsx(NewWindowIcon, {
57681
+ css: _ref
57682
+ }) : null]
57683
+ });
57684
+ }
57685
+
57686
+ function getOpenInNewTabProps(openInNewTab) {
57687
+ return openInNewTab ? {
57688
+ rel: 'noopener noreferrer',
57689
+ target: '_blank'
57690
+ } : undefined;
57691
+ }
57692
+
56266
57693
  const {
56267
57694
  Paragraph: AntDParagraph
56268
57695
  } = AntDTypography;
@@ -56410,7 +57837,7 @@ function Typography(props) {
56410
57837
  Typography.Text = Text;
56411
57838
  Typography.Title = Title;
56412
57839
  Typography.Paragraph = Paragraph;
56413
- Typography.Link = AntDTypography.Link;
57840
+ Typography.Link = Link;
56414
57841
 
56415
- export { AIcon, Alert, AlignCenterIcon, AlignLeftIcon, AlignRightIcon, ApplyCompactDesignSystemTheme, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowsUpDownIcon, AutoComplete, BarChartIcon, BeakerIcon, BookIcon, BookmarkBorderIcon, BookmarkFillIcon, Breadcrumb, BriefcaseFillIcon, BriefcaseIcon, Button, CalendarEventIcon, CalendarIcon, CaretDownSquareIcon, CaretUpSquareIcon, CheckCircleBorderIcon, CheckCircleFillIcon, CheckIcon, CheckLineIcon, Checkbox, ChecklistIcon, ChevronDoubleDownIcon, ChevronDoubleLeftIcon, ChevronDoubleRightIcon, ChevronDoubleUpIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleIcon, ClipboardIcon, Clock1Icon, ClockIcon, CloseIcon, CloudDownloadIcon, CloudIcon, CloudOffIcon, CloudUploadIcon, ClusterIcon, ClustersIcon, CodeIcon, Col, Collapse, CollapsePanel, CopyIcon, DIcon, DangerModal, DashIcon, DashboardIcon, DataIcon, DatabaseIcon, DesignSystemContext, DesignSystemProvider, DownloadIcon, DragIcon, Dropdown, DropdownMenu, DuboisDatePicker, ErrorBorderIcon, ErrorFillIcon, ExpandLessIcon, ExpandMoreIcon, ExperimentIcon, FeatureStoreIcon, FileCodeIcon, FileDocumentIcon, FileIcon, FileImageIcon, FileModelIcon, FilterIcon, Folder1Icon, FolderIcon, ForkIcon, Form, FormDubois, FullscreenExitIcon, FullscreenIcon, Gear1Icon, GearIcon, GridDashIcon, GridIcon, H1Icon, H2Icon, H3Icon, Header$1 as Header, HistoryIcon, HomeIcon, Icon, ImageIcon, IndentDecreaseIcon, IndentIncreaseIcon, InfoBorderIcon, InfoFillIcon, Input, KeyboardIcon, LayerIcon, Layout, LegacyDatePicker, LifesaverIcon, LightningIcon, LinkIcon, LinkRemoveIcon, ListBorderIcon, ListIcon, LoadingIcon, LockBorderIcon, LockFillIcon, LockUnlockedIcon, MIcon, Menu, MinusBoxIcon, MinusCircleBorderIcon, MinusCircleFillIcon, Modal, ModelsIcon, NewWindowIcon, NoIcon, NotebookIcon, NotificationIcon, NotificationsIcon, OfficeIcon, Option, OverflowIcon, PageBottomIcon, PageFirstIcon, PageLastIcon, PageTopIcon, PageWrapper, Pagination, PencilIcon, PinBorderIcon, PinCancelIcon, PinFillIcon, PinXIcon, PlayCircleBorderIcon, PlayCircleFillIcon, PlayIcon, PlusCircleBorderIcon, PlusCircleFillIcon, PlusIcon, PlusSquareIcon, Popover, QueryEditorIcon, QueryIcon, QueryListViewIcon, QueryNavIcon, QuestionMarkBorderIcon, QuestionMarkFillIcon, ROW_GUTTER_SIZE, Radio, ReaderModeIcon, ReposIcon, Row, SchoolIcon, Search1Icon, SearchIcon, SecurityIcon, SegmentedControlButton, SegmentedControlGroup, Select, ShareIcon, SidebarAutoIcon, SidebarCollapseIcon, SidebarExpandIcon, SidebarIcon, Skeleton, Space, Spacer, SpeechBubbleIcon, SpeechBubblePlusIcon, Spinner, SplitButton, StarBorderIcon, StarFillIcon, StopCircleBorderIcon, StopCricleFillIcon, StopIcon, StreamIcon, Switch, SyncIcon, TabPane, Table, TableIcon, Tabs, Tag, Tooltip, TrashIcon, Tree, TreeIcon, Typography, UploadIcon, UsbIcon, UserBadgeIcon, UserCircleIcon, UserGroupIcon, UserIcon, VideosIcon, WarningBorderIcon, WarningFillIcon, WithDesignSystemThemeHoc, XCircleBorderIcon, XCircleFillIcon, ZoomInIcon, ZoomOutIcon, __INTERNAL_DO_NOT_USE__FormItem, __INTERNAL_DO_NOT_USE__Group, __INTERNAL_DO_NOT_USE__HorizontalGroup, __INTERNAL_DO_NOT_USE__Option, __INTERNAL_DO_NOT_USE__Password, __INTERNAL_DO_NOT_USE__TextArea, __INTERNAL_DO_NOT_USE__VerticalGroup, getAnimationCss, getButtonEmotionStyles, getPaginationEmotionStyles, getTabEmotionStyles, useDesignSystemTheme, useNotification };
57842
+ export { AIcon, Alert, AlignCenterIcon, AlignLeftIcon, AlignRightIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowsUpDownIcon, AutoComplete, BarChartIcon, BeakerIcon, BookIcon, BookmarkBorderIcon, BookmarkFillIcon, Breadcrumb, BriefcaseFillIcon, BriefcaseIcon, Button, CalendarEventIcon, CalendarIcon, CaretDownSquareIcon, CaretUpSquareIcon, CheckCircleBorderIcon, CheckCircleFillIcon, CheckIcon, CheckLineIcon, Checkbox, ChecklistIcon, ChevronDoubleDownIcon, ChevronDoubleLeftIcon, ChevronDoubleRightIcon, ChevronDoubleUpIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleIcon, ClipboardIcon, Clock1Icon, ClockIcon, CloseIcon, CloudDownloadIcon, CloudIcon, CloudOffIcon, CloudUploadIcon, ClusterIcon, ClustersIcon, CodeIcon, Col, Collapse, CollapsePanel, CopyIcon, DIcon, DangerModal, DashIcon, DashboardIcon, DataIcon, DatabaseIcon, DesignSystemContext, DesignSystemProvider, DownloadIcon, DragIcon, Dropdown, DropdownMenu, DuboisDatePicker, ErrorBorderIcon, ErrorFillIcon, ExpandLessIcon, ExpandMoreIcon, ExperimentIcon, FeatureStoreIcon, FileCodeIcon, FileDocumentIcon, FileIcon, FileImageIcon, FileModelIcon, FilterIcon, Folder1Icon, FolderIcon, ForkIcon, Form, FormDubois, FullscreenExitIcon, FullscreenIcon, Gear1Icon, GearIcon, GridDashIcon, GridIcon, H1Icon, H2Icon, H3Icon, Header$1 as Header, HistoryIcon, HomeIcon, Icon, ImageIcon, IndentDecreaseIcon, IndentIncreaseIcon, InfoBorderIcon, InfoFillIcon, Input, KeyboardIcon, LayerIcon, Layout, LegacyDatePicker, LifesaverIcon, LightningIcon, LinkIcon, LinkRemoveIcon, ListBorderIcon, ListIcon, LoadingIcon, LockBorderIcon, LockFillIcon, LockUnlockedIcon, MIcon, Menu, MinusBoxIcon, MinusCircleBorderIcon, MinusCircleFillIcon, Modal, ModelsIcon, NewWindowIcon, NoIcon, NotebookIcon, NotificationIcon, NotificationsIcon, OfficeIcon, Option, OverflowIcon, PageBottomIcon, PageFirstIcon, PageLastIcon, PageTopIcon, PageWrapper, Pagination, PencilIcon, PinBorderIcon, PinCancelIcon, PinFillIcon, PinXIcon, PlayCircleBorderIcon, PlayCircleFillIcon, PlayIcon, PlusCircleBorderIcon, PlusCircleFillIcon, PlusIcon, PlusSquareIcon, Popover, QueryEditorIcon, QueryIcon, QueryListViewIcon, QueryNavIcon, QuestionMarkBorderIcon, QuestionMarkFillIcon, ROW_GUTTER_SIZE, Radio, ReaderModeIcon, ReposIcon, Row, SchoolIcon, Search1Icon, SearchIcon, SecurityIcon, SegmentedControlButton, SegmentedControlGroup, Select, ShareIcon, SidebarAutoIcon, SidebarCollapseIcon, SidebarExpandIcon, SidebarIcon, Skeleton, Space, Spacer, SpeechBubbleIcon, SpeechBubblePlusIcon, Spinner, SplitButton, StarBorderIcon, StarFillIcon, StopCircleBorderIcon, StopCricleFillIcon, StopIcon, StreamIcon, Switch, SyncIcon, TabPane, Table, TableIcon, Tabs, Tag, Tooltip, TrashIcon, Tree, TreeIcon, Typography, UploadIcon, UsbIcon, UserBadgeIcon, UserCircleIcon, UserGroupIcon, UserIcon, VideosIcon, WarningBorderIcon, WarningFillIcon, WithDesignSystemThemeHoc, XCircleBorderIcon, XCircleFillIcon, ZoomInIcon, ZoomOutIcon, __INTERNAL_DO_NOT_USE__FormItem, __INTERNAL_DO_NOT_USE__Group, __INTERNAL_DO_NOT_USE__HorizontalGroup, __INTERNAL_DO_NOT_USE__Option, __INTERNAL_DO_NOT_USE__Password, __INTERNAL_DO_NOT_USE__TextArea, __INTERNAL_DO_NOT_USE__VerticalGroup, getAnimationCss, getButtonEmotionStyles, getPaginationEmotionStyles, getTabEmotionStyles, useDesignSystemTheme, useNotification, useThemedStyles };
56416
57843
  //# sourceMappingURL=index.js.map