@databricks/design-system 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1703 -347
  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 +1 -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 +1 -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 +3 -1
  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 +227 -227
  518. package/dist/index.css +304 -304
  519. package/dist/index.d.ts +2 -0
  520. package/dist/index.d.ts.map +1 -0
  521. package/dist/index.js +1761 -389
  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',
@@ -17453,248 +17453,1510 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
17453
17453
  });
17454
17454
  }
17455
17455
 
17456
- return children;
17457
- }
17458
- }]);
17459
-
17460
- return ErrorBoundary;
17461
- }(React.Component);
17462
-
17463
- var __rest$H = undefined && undefined.__rest || function (s, e) {
17464
- var t = {};
17465
-
17466
- for (var p in s) {
17467
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
17468
- }
17469
-
17470
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17471
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
17472
- }
17473
- return t;
17474
- };
17475
- var iconMapFilled = {
17476
- success: CheckCircleFilled,
17477
- info: InfoCircleFilled,
17478
- error: CloseCircleFilled,
17479
- warning: ExclamationCircleFilled
17480
- };
17481
- var iconMapOutlined = {
17482
- success: CheckCircleOutlined,
17483
- info: InfoCircleOutlined,
17484
- error: CloseCircleOutlined,
17485
- warning: ExclamationCircleOutlined
17486
- };
17487
-
17488
- var Alert$1 = function Alert(_a) {
17489
- var _classNames2;
17490
-
17491
- var description = _a.description,
17492
- customizePrefixCls = _a.prefixCls,
17493
- message = _a.message,
17494
- banner = _a.banner,
17495
- _a$className = _a.className,
17496
- className = _a$className === void 0 ? '' : _a$className,
17497
- style = _a.style,
17498
- onMouseEnter = _a.onMouseEnter,
17499
- onMouseLeave = _a.onMouseLeave,
17500
- onClick = _a.onClick,
17501
- afterClose = _a.afterClose,
17502
- showIcon = _a.showIcon,
17503
- closable = _a.closable,
17504
- closeText = _a.closeText,
17505
- action = _a.action,
17506
- props = __rest$H(_a, ["description", "prefixCls", "message", "banner", "className", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "action"]);
17507
-
17508
- var _React$useState = React.useState(false),
17509
- _React$useState2 = _slicedToArray$3(_React$useState, 2),
17510
- closed = _React$useState2[0],
17511
- setClosed = _React$useState2[1];
17512
-
17513
- var ref = React.useRef();
17456
+ return children;
17457
+ }
17458
+ }]);
17459
+
17460
+ return ErrorBoundary;
17461
+ }(React.Component);
17462
+
17463
+ var __rest$H = undefined && undefined.__rest || function (s, e) {
17464
+ var t = {};
17465
+
17466
+ for (var p in s) {
17467
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
17468
+ }
17469
+
17470
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17471
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
17472
+ }
17473
+ return t;
17474
+ };
17475
+ var iconMapFilled = {
17476
+ success: CheckCircleFilled,
17477
+ info: InfoCircleFilled,
17478
+ error: CloseCircleFilled,
17479
+ warning: ExclamationCircleFilled
17480
+ };
17481
+ var iconMapOutlined = {
17482
+ success: CheckCircleOutlined,
17483
+ info: InfoCircleOutlined,
17484
+ error: CloseCircleOutlined,
17485
+ warning: ExclamationCircleOutlined
17486
+ };
17487
+
17488
+ var Alert$1 = function Alert(_a) {
17489
+ var _classNames2;
17490
+
17491
+ var description = _a.description,
17492
+ customizePrefixCls = _a.prefixCls,
17493
+ message = _a.message,
17494
+ banner = _a.banner,
17495
+ _a$className = _a.className,
17496
+ className = _a$className === void 0 ? '' : _a$className,
17497
+ style = _a.style,
17498
+ onMouseEnter = _a.onMouseEnter,
17499
+ onMouseLeave = _a.onMouseLeave,
17500
+ onClick = _a.onClick,
17501
+ afterClose = _a.afterClose,
17502
+ showIcon = _a.showIcon,
17503
+ closable = _a.closable,
17504
+ closeText = _a.closeText,
17505
+ action = _a.action,
17506
+ props = __rest$H(_a, ["description", "prefixCls", "message", "banner", "className", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "action"]);
17507
+
17508
+ var _React$useState = React.useState(false),
17509
+ _React$useState2 = _slicedToArray$3(_React$useState, 2),
17510
+ closed = _React$useState2[0],
17511
+ setClosed = _React$useState2[1];
17512
+
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,
@@ -52376,12 +53643,12 @@ var generalVariables = antdGeneralVariables;
52376
53643
  const FONT_SIZE_BASE = 13; // Less variables that are used by AntD
52377
53644
 
52378
53645
  const antdTypography = {
52379
- fontSizeSm: FONT_SIZE_BASE - 2,
53646
+ fontSizeSm: 12,
52380
53647
  fontSizeBase: FONT_SIZE_BASE,
52381
53648
  fontSizeMd: FONT_SIZE_BASE,
52382
- fontSizeLg: FONT_SIZE_BASE + 6,
52383
- fontSizeXl: FONT_SIZE_BASE + 8,
52384
- fontSizeXxl: FONT_SIZE_BASE + 18,
53649
+ fontSizeLg: 18,
53650
+ fontSizeXl: 22,
53651
+ fontSizeXxl: 32,
52385
53652
  lineHeightSm: '16px',
52386
53653
  lineHeightBase: '20px',
52387
53654
  lineHeightMd: '20px',
@@ -52521,13 +53788,12 @@ const DesignSystemProvider = _ref => {
52521
53788
  theme: themeName,
52522
53789
  enableAnimation = false,
52523
53790
  zIndexBase = 1000,
52524
- isCompact = false,
52525
53791
  getPopupContainer
52526
53792
  } = _ref;
52527
53793
  const theme = useMemo$1(() => getTheme(themeName || 'default', {
52528
53794
  enableAnimation,
52529
53795
  zIndexBase,
52530
- isCompact
53796
+ isCompact: true
52531
53797
  }), // TODO: revisit this
52532
53798
  // eslint-disable-next-line react-hooks/exhaustive-deps
52533
53799
  [themeName, zIndexBase]);
@@ -52535,9 +53801,9 @@ const DesignSystemProvider = _ref => {
52535
53801
  theme: themeName,
52536
53802
  enableAnimation,
52537
53803
  zIndexBase,
52538
- isCompact,
53804
+ isCompact: true,
52539
53805
  getPopupContainer
52540
- }), [themeName, enableAnimation, zIndexBase, isCompact, getPopupContainer]);
53806
+ }), [themeName, enableAnimation, zIndexBase, getPopupContainer]);
52541
53807
  const classNamePrefix = getClassNamePrefix(theme);
52542
53808
  const value = useMemo$1(() => {
52543
53809
  return {
@@ -52568,23 +53834,6 @@ const DesignSystemProvider = _ref => {
52568
53834
  })
52569
53835
  });
52570
53836
  };
52571
- const ApplyCompactDesignSystemTheme = _ref2 => {
52572
- let {
52573
- children
52574
- } = _ref2;
52575
- const parentDesignSystemProviderProps = useContext(DesignSystemProviderPropsContext);
52576
-
52577
- if (parentDesignSystemProviderProps === null) {
52578
- throw new Error("ApplyCompactDesignSystemTheme cannot be used standalone - DesignSystemProvider must exist in the React context");
52579
- }
52580
-
52581
- const newProps = useMemo$1(() => ({ ...parentDesignSystemProviderProps,
52582
- isCompact: true
52583
- }), [parentDesignSystemProviderProps]);
52584
- return jsx(DesignSystemProvider, { ...newProps,
52585
- children: children
52586
- });
52587
- };
52588
53837
 
52589
53838
  const Alert = _ref => {
52590
53839
  let {
@@ -52736,7 +53985,7 @@ const Breadcrumb = _ref => {
52736
53985
  }
52737
53986
  }, process.env.NODE_ENV === "production" ? "" : ";label:styles;");
52738
53987
  return jsx(Breadcrumb$2, {
52739
- separator: ">",
53988
+ separator: jsx(ChevronRightIcon, {}),
52740
53989
  ...props,
52741
53990
  ...dangerouslySetAntdProps,
52742
53991
  css: /*#__PURE__*/css$1(getAnimationCss(theme.options.enableAnimation), styles, process.env.NODE_ENV === "production" ? "" : ";label:Breadcrumb;")
@@ -52805,6 +54054,7 @@ function getDefaultStyles(theme) {
52805
54054
  backgroundColor: theme.colors.actionDefaultBackgroundDefault,
52806
54055
  borderColor: theme.colors.actionDefaultBorderDefault,
52807
54056
  color: theme.colors.actionDefaultTextDefault,
54057
+ lineHeight: theme.typography.lineHeightBase,
52808
54058
  '&:hover': {
52809
54059
  backgroundColor: theme.colors.actionDefaultBackgroundHover,
52810
54060
  borderColor: theme.colors.actionDefaultBorderHover,
@@ -52835,7 +54085,7 @@ function getPrimaryStyles(theme) {
52835
54085
  }
52836
54086
  };
52837
54087
  }
52838
- function getTertiaryStyles(theme) {
54088
+ function getLinkStyles(theme) {
52839
54089
  return {
52840
54090
  backgroundColor: theme.colors.actionTertiaryBackgroundDefault,
52841
54091
  borderColor: theme.colors.actionTertiaryBackgroundDefault,
@@ -52921,7 +54171,8 @@ const getButtonEmotionStyles = _ref => {
52921
54171
  withIcon,
52922
54172
  onlyIcon,
52923
54173
  enableAnimation,
52924
- size
54174
+ size,
54175
+ type
52925
54176
  } = _ref;
52926
54177
  const clsIcon = ".".concat(theme.general.iconfontCssPrefix);
52927
54178
  const clsLoadingIcon = ".".concat(classNamePrefix, "-btn-loading-icon");
@@ -52938,10 +54189,7 @@ const getButtonEmotionStyles = _ref => {
52938
54189
  padding: theme.options.isCompact || size === 'small' ? '4px 12px' : '8px 16px',
52939
54190
  ...(size === 'ultrasmall' && {
52940
54191
  padding: '0 8px'
52941
- }),
52942
- '> span': {
52943
- verticalAlign: 'middle'
52944
- }
54192
+ })
52945
54193
  }
52946
54194
  }),
52947
54195
  ...((theme.options.isCompact || size === 'small') && {
@@ -52969,14 +54217,16 @@ const getButtonEmotionStyles = _ref => {
52969
54217
  ...getDefaultStyles(theme),
52970
54218
  ["&".concat(classPrimary)]: { ...getPrimaryStyles(theme)
52971
54219
  },
52972
- ["&".concat(classLink)]: { ...getTertiaryStyles(theme),
52973
- padding: 'unset',
52974
- height: 'auto',
52975
- border: 'none',
52976
- boxShadow: 'none',
52977
- '&[disabled],&:hover': {
52978
- background: 'none'
52979
- }
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
+ })
52980
54230
  },
52981
54231
  ["&".concat(classDangerous).concat(classPrimary)]: { ...getPrimaryDangerStyles(theme)
52982
54232
  },
@@ -53031,7 +54281,7 @@ const getButtonEmotionStyles = _ref => {
53031
54281
  verticalAlign: -5,
53032
54282
  lineHeight: 0,
53033
54283
  ...(onlyIcon && {
53034
- verticalAlign: theme.options.isCompact || size === 'small' ? -2 : -5
54284
+ verticalAlign: theme.options.isCompact || size === 'small' ? -3 : -5
53035
54285
  }),
53036
54286
  ...((theme.options.isCompact || size === 'small') && {
53037
54287
  fontSize: theme.general.buttonInnerHeight - 4,
@@ -53078,6 +54328,7 @@ _ref2, ref) {
53078
54328
  dangerouslySetAntdProps,
53079
54329
  children,
53080
54330
  size,
54331
+ type,
53081
54332
  ...props
53082
54333
  } = _ref2;
53083
54334
  const {
@@ -53093,10 +54344,13 @@ _ref2, ref) {
53093
54344
  onlyIcon: Boolean(props.icon && !children),
53094
54345
  danger: Boolean(props.danger),
53095
54346
  enableAnimation: theme.options.enableAnimation,
53096
- size: size || 'middle'
54347
+ size: size || 'middle',
54348
+ type
53097
54349
  }),
54350
+ href: props.disabled ? undefined : props.href,
53098
54351
  ...dangerouslySetAntdProps,
53099
54352
  ref: ref,
54353
+ type: type === 'tertiary' ? 'link' : type,
53100
54354
  children: children && jsx("span", {
53101
54355
  children: children
53102
54356
  })
@@ -53119,7 +54373,9 @@ function getCheckboxEmotionStyles(clsPrefix, theme) {
53119
54373
  const pressSelector = "".concat(classInput, ":active + ").concat(classInner);
53120
54374
  const styles = {
53121
54375
  // Top level styles are for the unchecked state
53122
- [classInner]: {},
54376
+ [classInner]: {
54377
+ borderColor: theme.colors.actionDefaultBorderDefault
54378
+ },
53123
54379
  // Keyboard focus
53124
54380
  ["".concat(classInput, ":focus-visible + ").concat(classInner)]: {
53125
54381
  outlineWidth: '2px',
@@ -53255,12 +54511,14 @@ const DuboisCheckbox = /*#__PURE__*/forwardRef(function Checkbox(_ref, ref) {
53255
54511
  });
53256
54512
  const CheckboxGroup = /*#__PURE__*/forwardRef(function CheckboxGroup(props, ref) {
53257
54513
  const {
53258
- theme
54514
+ theme,
54515
+ getPrefixedClassName
53259
54516
  } = useDesignSystemTheme();
54517
+ const clsPrefix = getPrefixedClassName('checkbox');
53260
54518
  return jsx(AntDCheckbox.Group, {
53261
54519
  ref: ref,
53262
54520
  ...props,
53263
- css: /*#__PURE__*/css$1(getAnimationCss(theme.options.enableAnimation), process.env.NODE_ENV === "production" ? "" : ";label:CheckboxGroup;")
54521
+ css: getCheckboxEmotionStyles(clsPrefix, theme)
53264
54522
  });
53265
54523
  });
53266
54524
  const CheckboxNamespace = Object.assign(DuboisCheckbox, {
@@ -53382,7 +54640,7 @@ function getEmotionStyles(clsPrefix, theme) {
53382
54640
  const classSeparator = ".".concat(clsPrefix, "-separator");
53383
54641
  const classSuffix = ".".concat(clsPrefix, "-suffix");
53384
54642
  const styles = {
53385
- height: 40,
54643
+ height: theme.options.isCompact ? 32 : 40,
53386
54644
  borderRadius: theme.borders.borderRadiusMd,
53387
54645
  borderColor: theme.colors.border,
53388
54646
  color: theme.colors.textPrimary,
@@ -54054,6 +55312,7 @@ function getLevelStyles(theme, props) {
54054
55312
  case 1:
54055
55313
  return /*#__PURE__*/css$1({
54056
55314
  '&&': {
55315
+ // TODO:FEINF-697 Move from XXL to XL
54057
55316
  fontSize: theme.typography.fontSizeXxl,
54058
55317
  lineHeight: theme.typography.lineHeightXxl,
54059
55318
  fontWeight: theme.typography.typographyBoldFontWeight
@@ -54063,6 +55322,7 @@ function getLevelStyles(theme, props) {
54063
55322
  case 2:
54064
55323
  return /*#__PURE__*/css$1({
54065
55324
  '&&': {
55325
+ // TODO:FEINF-697 Move from XL to LG, consider moving some usages of level 2 up to level 1
54066
55326
  fontSize: theme.typography.fontSizeXl,
54067
55327
  lineHeight: theme.typography.lineHeightXl,
54068
55328
  fontWeight: theme.typography.typographyBoldFontWeight
@@ -54070,15 +55330,6 @@ function getLevelStyles(theme, props) {
54070
55330
  }, process.env.NODE_ENV === "production" ? "" : ";label:getLevelStyles;");
54071
55331
 
54072
55332
  case 3:
54073
- return /*#__PURE__*/css$1({
54074
- '&&': {
54075
- fontSize: theme.typography.fontSizeLg,
54076
- lineHeight: theme.typography.lineHeightLg,
54077
- fontWeight: theme.typography.typographyBoldFontWeight
54078
- }
54079
- }, process.env.NODE_ENV === "production" ? "" : ";label:getLevelStyles;");
54080
-
54081
- case 4:
54082
55333
  default:
54083
55334
  return /*#__PURE__*/css$1({
54084
55335
  '&&': {
@@ -54122,7 +55373,7 @@ function Title(userProps) {
54122
55373
  });
54123
55374
  }
54124
55375
 
54125
- 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)."; }
55376
+ 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)."; }
54126
55377
 
54127
55378
  const getHeaderStyles = (clsPrefix, theme) => {
54128
55379
  const breadcrumbClass = ".".concat(clsPrefix, "-breadcrumb");
@@ -54135,13 +55386,13 @@ const getHeaderStyles = (clsPrefix, theme) => {
54135
55386
  return /*#__PURE__*/css$1(importantify(styles), process.env.NODE_ENV === "production" ? "" : ";label:getHeaderStyles;");
54136
55387
  };
54137
55388
 
54138
- var _ref$1 = process.env.NODE_ENV === "production" ? {
55389
+ var _ref$3 = process.env.NODE_ENV === "production" ? {
54139
55390
  name: "5s4ezj",
54140
55391
  styles: "display:inline-flex;vertical-align:middle;align-items:center;margin-left:8px"
54141
55392
  } : {
54142
55393
  name: "gxikdi-titleAddOnsWrapper",
54143
55394
  styles: "display:inline-flex;vertical-align:middle;align-items:center;margin-left:8px;label:titleAddOnsWrapper;",
54144
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
55395
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
54145
55396
  };
54146
55397
 
54147
55398
  var _ref2$2 = process.env.NODE_ENV === "production" ? {
@@ -54150,7 +55401,7 @@ var _ref2$2 = process.env.NODE_ENV === "production" ? {
54150
55401
  } : {
54151
55402
  name: "ozrfom-buttonContainer",
54152
55403
  styles: "margin-left:8px;label:buttonContainer;",
54153
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
55404
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
54154
55405
  };
54155
55406
 
54156
55407
  var _ref3$1 = process.env.NODE_ENV === "production" ? {
@@ -54159,7 +55410,7 @@ var _ref3$1 = process.env.NODE_ENV === "production" ? {
54159
55410
  } : {
54160
55411
  name: "abhq57-title",
54161
55412
  styles: "margin-top:0;margin-bottom:0 !important;label:title;",
54162
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
55413
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
54163
55414
  };
54164
55415
 
54165
55416
  var _ref4$2 = process.env.NODE_ENV === "production" ? {
@@ -54168,7 +55419,7 @@ var _ref4$2 = process.env.NODE_ENV === "production" ? {
54168
55419
  } : {
54169
55420
  name: "m9gz0x-titleWrapper",
54170
55421
  styles: "display:flex;align-items:flex-start;justify-content:space-between;label:titleWrapper;",
54171
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
55422
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
54172
55423
  };
54173
55424
 
54174
55425
  const Header$1 = props => {
@@ -54190,11 +55441,11 @@ const Header$1 = props => {
54190
55441
  titleIfOtherElementsPresent: /*#__PURE__*/css$1({
54191
55442
  marginTop: 6,
54192
55443
  ...(theme.options.isCompact && {
54193
- marginTop: 4
55444
+ marginTop: 2
54194
55445
  })
54195
55446
  }, process.env.NODE_ENV === "production" ? "" : ";label:titleIfOtherElementsPresent;"),
54196
55447
  buttonContainer: _ref2$2,
54197
- titleAddOnsWrapper: _ref$1
55448
+ titleAddOnsWrapper: _ref$3
54198
55449
  };
54199
55450
  return jsxs("div", {
54200
55451
  css: [getHeaderStyles(clsPrefix, theme), props.dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Header;"],
@@ -54223,25 +55474,49 @@ const Header$1 = props => {
54223
55474
 
54224
55475
  const getInputEmotionStyles = (clsPrefix, theme) => {
54225
55476
  const affixClass = ".".concat(clsPrefix, "-input-affix-wrapper");
54226
- const inputClass = ".".concat(clsPrefix, "-input");
55477
+ const affixClassFocused = ".".concat(clsPrefix, "-input-affix-wrapper-focused");
54227
55478
  const styles = {
54228
55479
  '&&': {
54229
55480
  lineHeight: theme.typography.lineHeightBase,
54230
55481
  paddingTop: theme.options.isCompact ? 5 : 9,
54231
55482
  paddingBottom: theme.options.isCompact ? 5 : 9,
54232
- minHeight: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase
55483
+ minHeight: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase,
55484
+ '&:hover': {
55485
+ borderColor: theme.colors.actionPrimaryBackgroundHover
55486
+ },
55487
+ '&:focus': {
55488
+ outlineColor: theme.colors.actionPrimaryBackgroundDefault,
55489
+ outlineWidth: 2,
55490
+ outlineStyle: 'solid',
55491
+ boxShadow: 'none',
55492
+ borderColor: 'transparent'
55493
+ },
55494
+ '&:disabled': {
55495
+ backgroundColor: theme.colors.actionDisabledBackground,
55496
+ color: theme.colors.actionDisabledText
55497
+ }
54233
55498
  },
54234
- ["&.".concat(affixClass)]: {
55499
+ ["&".concat(affixClass)]: {
54235
55500
  lineHeight: theme.typography.lineHeightBase,
54236
55501
  paddingTop: theme.options.isCompact ? 5 : 9,
54237
55502
  paddingBottom: theme.options.isCompact ? 5 : 9,
54238
55503
  minHeight: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase,
54239
55504
  '::before': {
54240
55505
  lineHeight: theme.typography.lineHeightBase
55506
+ },
55507
+ '&:hover': {
55508
+ borderColor: theme.colors.actionPrimaryBackgroundHover
54241
55509
  }
54242
55510
  },
54243
- [inputClass]: {
54244
- lineHeight: theme.typography.lineHeightBase
55511
+ ["&".concat(affixClassFocused)]: {
55512
+ boxShadow: 'none',
55513
+ '&&, &:focus': {
55514
+ outlineColor: theme.colors.actionPrimaryBackgroundDefault,
55515
+ outlineWidth: 2,
55516
+ outlineStyle: 'solid',
55517
+ boxShadow: 'none',
55518
+ borderColor: 'transparent'
55519
+ }
54245
55520
  },
54246
55521
  ...getAnimationCss(theme.options.enableAnimation)
54247
55522
  };
@@ -54351,7 +55626,7 @@ Menu.SubMenu = function SubMenu(props) {
54351
55626
  });
54352
55627
  };
54353
55628
 
54354
- 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)."; }
55629
+ 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)."; }
54355
55630
  const SIZE_PRESETS = {
54356
55631
  normal: 640,
54357
55632
  wide: 880
@@ -54392,6 +55667,7 @@ const getModalEmotionStyles = args => {
54392
55667
  paddingTop: theme.options.isCompact ? theme.spacing.lg : MODAL_PADDING$1 / 2,
54393
55668
  paddingLeft: MODAL_PADDING$1,
54394
55669
  paddingRight: MODAL_PADDING$1,
55670
+ marginTop: 'auto',
54395
55671
  ["".concat(classNameButton, " + ").concat(classNameButton, ":not(").concat(classNameDropdownTrigger, ")")]: {
54396
55672
  marginLeft: theme.spacing.sm
54397
55673
  }
@@ -54548,7 +55824,7 @@ var _ref2$1 = process.env.NODE_ENV === "production" ? {
54548
55824
  } : {
54549
55825
  name: "1jkwrsj-titleComp",
54550
55826
  styles: "position:relative;display:inline-flex;align-items:center;label:titleComp;",
54551
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$4
55827
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$6
54552
55828
  };
54553
55829
 
54554
55830
  var _ref3 = process.env.NODE_ENV === "production" ? {
@@ -54557,7 +55833,7 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
54557
55833
  } : {
54558
55834
  name: "i303lp-titleComp",
54559
55835
  styles: "padding-left:6px;label:titleComp;",
54560
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$4
55836
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$6
54561
55837
  };
54562
55838
 
54563
55839
  var _ref4$1 = process.env.NODE_ENV === "production" ? {
@@ -54566,7 +55842,7 @@ var _ref4$1 = process.env.NODE_ENV === "production" ? {
54566
55842
  } : {
54567
55843
  name: "boqyz4-titleComp",
54568
55844
  styles: "position:relative;label:titleComp;",
54569
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$4
55845
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$6
54570
55846
  };
54571
55847
 
54572
55848
  function DangerModal(props) {
@@ -54703,15 +55979,15 @@ const defaultProps = {
54703
55979
  duration: 3
54704
55980
  };
54705
55981
 
54706
- 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)."; }
55982
+ 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)."; }
54707
55983
 
54708
- var _ref = process.env.NODE_ENV === "production" ? {
55984
+ var _ref$2 = process.env.NODE_ENV === "production" ? {
54709
55985
  name: "1dw6hj0",
54710
55986
  styles: "padding-left:16px;padding-right:16px"
54711
55987
  } : {
54712
55988
  name: "xioo5t-PageWrapper",
54713
55989
  styles: "padding-left:16px;padding-right:16px;label:PageWrapper;",
54714
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
55990
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$5
54715
55991
  };
54716
55992
 
54717
55993
  const PageWrapper = _ref2 => {
@@ -54719,7 +55995,7 @@ const PageWrapper = _ref2 => {
54719
55995
  children
54720
55996
  } = _ref2;
54721
55997
  return jsx("div", {
54722
- css: _ref,
55998
+ css: _ref$2,
54723
55999
  children: children
54724
56000
  });
54725
56001
  };
@@ -54865,14 +56141,14 @@ const Popover = props => {
54865
56141
  });
54866
56142
  };
54867
56143
 
54868
- 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)."; }
56144
+ 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)."; }
54869
56145
  const verticalGroupEmotionStyles = process.env.NODE_ENV === "production" ? {
54870
56146
  name: "yea6ot",
54871
56147
  styles: "display:flex;flex-direction:column;flex-wrap:wrap"
54872
56148
  } : {
54873
56149
  name: "1ydgy2-verticalGroupEmotionStyles",
54874
56150
  styles: "display:flex;flex-direction:column;flex-wrap:wrap;label:verticalGroupEmotionStyles;",
54875
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
56151
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$4
54876
56152
  };
54877
56153
 
54878
56154
  const radioOverrideEmotionStyles = _ref => {
@@ -55130,7 +56406,7 @@ const SegmentedControlGroup = /*#__PURE__*/forwardRef(function SegmentedControlG
55130
56406
  });
55131
56407
  });
55132
56408
 
55133
- 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)."; }
56409
+ 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)."; }
55134
56410
 
55135
56411
  function getSelectEmotionStyles(_ref) {
55136
56412
  let {
@@ -55145,6 +56421,7 @@ function getSelectEmotionStyles(_ref) {
55145
56421
  const classMultiple = ".".concat(clsPrefix, "-multiple");
55146
56422
  const classItem = ".".concat(clsPrefix, "-selection-item");
55147
56423
  const classItemOverflow = ".".concat(clsPrefix, "-selection-overflow-item");
56424
+ const classItemOverflowSuffix = ".".concat(clsPrefix, "-selection-overflow-item-suffix");
55148
56425
  const classArrow = ".".concat(clsPrefix, "-arrow");
55149
56426
  const classArrowLoading = ".".concat(clsPrefix, "-arrow-loading");
55150
56427
  const classPlaceholder = ".".concat(clsPrefix, "-selection-placeholder");
@@ -55166,7 +56443,6 @@ function getSelectEmotionStyles(_ref) {
55166
56443
  // to make sure the whole select is clickable.
55167
56444
  paddingRight: 0,
55168
56445
  color: theme.colors.textPrimary,
55169
- borderColor: theme.colors.actionDefaultBorderDefault,
55170
56446
  backgroundColor: 'transparent',
55171
56447
  height: theme.options.isCompact ? theme.general.heightSm : theme.general.heightBase,
55172
56448
  '::after': {
@@ -55193,7 +56469,8 @@ function getSelectEmotionStyles(_ref) {
55193
56469
  right: 24,
55194
56470
  left: 12,
55195
56471
  [classSearchInput]: {
55196
- color: theme.colors.actionDefaultTextDefault
56472
+ color: theme.colors.actionDefaultTextDefault,
56473
+ height: 24
55197
56474
  }
55198
56475
  },
55199
56476
  ["&".concat(classSingle)]: {
@@ -55213,7 +56490,7 @@ function getSelectEmotionStyles(_ref) {
55213
56490
  },
55214
56491
  ["&".concat(classFocused)]: {
55215
56492
  [classSelector]: {
55216
- outlineColor: theme.colors.primary,
56493
+ outlineColor: theme.colors.actionPrimaryBackgroundDefault,
55217
56494
  outlineWidth: 2,
55218
56495
  outlineStyle: 'solid',
55219
56496
  borderColor: 'transparent',
@@ -55252,6 +56529,14 @@ function getSelectEmotionStyles(_ref) {
55252
56529
  fontSize: 13
55253
56530
  }
55254
56531
  },
56532
+ [classPlaceholder]: {
56533
+ color: theme.colors.textSecondary,
56534
+ right: 'auto',
56535
+ left: 'auto',
56536
+ paddingRight: 32,
56537
+ lineHeight: theme.typography.lineHeightBase,
56538
+ alignSelf: 'center'
56539
+ },
55255
56540
  ["&".concat(classMultiple)]: {
55256
56541
  [classSelector]: {
55257
56542
  paddingTop: 3,
@@ -55299,7 +56584,19 @@ function getSelectEmotionStyles(_ref) {
55299
56584
  },
55300
56585
  ["&".concat(classAllowClear)]: {
55301
56586
  [classSearchClear]: {
55302
- top: theme.options.isCompact ? 17 : 20
56587
+ top: theme.options.isCompact ? 16 : 20
56588
+ }
56589
+ },
56590
+ [classPlaceholder]: {
56591
+ // Compensate for the caret placeholder width
56592
+ paddingLeft: 4,
56593
+ color: theme.colors.textPlaceholder
56594
+ },
56595
+ ["&:not(".concat(classFocused, ")")]: {
56596
+ [classItemOverflowSuffix]: {
56597
+ // Do not keep the caret's placeholder at full height when not focused,
56598
+ // because it introduces a new line even when not focused. Using display: none would break the caret
56599
+ height: 0
55303
56600
  }
55304
56601
  }
55305
56602
  },
@@ -55320,11 +56617,6 @@ function getSelectEmotionStyles(_ref) {
55320
56617
  opacity: 100
55321
56618
  }
55322
56619
  },
55323
- [classPlaceholder]: {
55324
- color: theme.colors.textPrimary,
55325
- right: 'auto',
55326
- left: 'auto'
55327
- },
55328
56620
  [classCloseButton]: {
55329
56621
  color: theme.colors.textPrimary,
55330
56622
  borderTopRightRadius: theme.borders.borderRadiusMd,
@@ -55400,6 +56692,7 @@ function getLoadingIconStyles(theme) {
55400
56692
  }
55401
56693
 
55402
56694
  const DuboisRefForwardedSelect = /*#__PURE__*/forwardRef(DuboisSelect);
56695
+ const scrollbarVisibleItemsCount = 8;
55403
56696
 
55404
56697
  var _ref4 = process.env.NODE_ENV === "production" ? {
55405
56698
  name: "14is9qy",
@@ -55407,7 +56700,7 @@ var _ref4 = process.env.NODE_ENV === "production" ? {
55407
56700
  } : {
55408
56701
  name: "14is9qy",
55409
56702
  styles: "font-size:20px",
55410
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
56703
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
55411
56704
  };
55412
56705
 
55413
56706
  function DuboisSelect(_ref2, ref) {
@@ -55416,6 +56709,7 @@ function DuboisSelect(_ref2, ref) {
55416
56709
  loading,
55417
56710
  mode,
55418
56711
  dangerouslySetAntdProps,
56712
+ virtual,
55419
56713
  ...restProps
55420
56714
  } = _ref2;
55421
56715
  const {
@@ -55463,7 +56757,10 @@ function DuboisSelect(_ref2, ref) {
55463
56757
  maxTagPlaceholder: items => "+ ".concat(items.length, " more"),
55464
56758
  mode: mode,
55465
56759
  loading: loading,
55466
- filterOption: true,
56760
+ filterOption: true // This is needed to avoid ghost scrollbar that generates error when clicked on exactly 8 elements
56761
+ // Because by default AntD uses true for virtual, we want to replicate the same even if there are no children
56762
+ ,
56763
+ virtual: virtual || !children || Array.isArray(children) && children.length !== scrollbarVisibleItemsCount,
55467
56764
  optionFilterProp: 'children',
55468
56765
  ...restProps,
55469
56766
  ...dangerouslySetAntdProps,
@@ -55544,6 +56841,8 @@ const Spinner = _ref => {
55544
56841
  });
55545
56842
  };
55546
56843
 
56844
+ 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)."; }
56845
+
55547
56846
  function getSplitButtonEmotionStyles(classNamePrefix, theme) {
55548
56847
  const classDefault = ".".concat(classNamePrefix, "-btn");
55549
56848
  const classPrimary = ".".concat(classNamePrefix, "-btn-primary");
@@ -55602,6 +56901,15 @@ function getSplitButtonEmotionStyles(classNamePrefix, theme) {
55602
56901
  return /*#__PURE__*/css$1(importantStyles, process.env.NODE_ENV === "production" ? "" : ";label:getSplitButtonEmotionStyles;");
55603
56902
  }
55604
56903
 
56904
+ var _ref$1 = process.env.NODE_ENV === "production" ? {
56905
+ name: "jjj6u2",
56906
+ styles: "display:inline-flex;position:relative"
56907
+ } : {
56908
+ name: "4yj1tb-SplitButton",
56909
+ styles: "display:inline-flex;position:relative;label:SplitButton;",
56910
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
56911
+ };
56912
+
55605
56913
  const SplitButton = props => {
55606
56914
  const {
55607
56915
  theme,
@@ -55612,22 +56920,43 @@ const SplitButton = props => {
55612
56920
  icon,
55613
56921
  menu,
55614
56922
  type,
56923
+ loading,
55615
56924
  dangerouslySetAntdProps,
55616
56925
  ...dropdownButtonProps
55617
56926
  } = props;
55618
- return jsxs(Dropdown$2.Button, { ...dropdownButtonProps,
55619
- overlay: menu,
55620
- trigger: ['click'],
55621
- css: getSplitButtonEmotionStyles(classNamePrefix, theme),
55622
- icon: jsx(ChevronDownIcon, {
55623
- css: /*#__PURE__*/css$1({
55624
- fontSize: theme.general.iconSize
55625
- }, process.env.NODE_ENV === "production" ? "" : ";label:SplitButton;")
55626
- }),
55627
- placement: "bottomCenter",
55628
- type: type === 'default' ? undefined : type,
55629
- ...dangerouslySetAntdProps,
55630
- children: [icon, children]
56927
+ const [width, setWidth] = useState(0); // Set the width to the button's width in regular state to later use when in loading state
56928
+ // We do this to have just a loading icon in loading state at the normal width to avoid flicker and width changes in page
56929
+
56930
+ const ref = useCallback(node => {
56931
+ if (node && !loading) {
56932
+ setWidth(node.getBoundingClientRect().width);
56933
+ }
56934
+ }, [loading]);
56935
+ return jsx("div", {
56936
+ ref: ref,
56937
+ css: _ref$1,
56938
+ children: loading ? jsx(Button, {
56939
+ type: type === 'default' ? undefined : type,
56940
+ style: {
56941
+ width: width
56942
+ },
56943
+ children: jsx(LoadingIcon, {
56944
+ spin: true
56945
+ })
56946
+ }) : jsxs(Dropdown$2.Button, { ...dropdownButtonProps,
56947
+ overlay: menu,
56948
+ trigger: ['click'],
56949
+ css: getSplitButtonEmotionStyles(classNamePrefix, theme),
56950
+ icon: jsx(ChevronDownIcon, {
56951
+ css: /*#__PURE__*/css$1({
56952
+ fontSize: theme.general.iconSize
56953
+ }, process.env.NODE_ENV === "production" ? "" : ";label:SplitButton;")
56954
+ }),
56955
+ placement: "bottomCenter",
56956
+ type: type === 'default' ? undefined : type,
56957
+ ...dangerouslySetAntdProps,
56958
+ children: [icon, children]
56959
+ })
55631
56960
  });
55632
56961
  };
55633
56962
 
@@ -55685,8 +57014,11 @@ const getScrollableInFlexibleContainerStyles = clsPrefix => {
55685
57014
  }
55686
57015
  };
55687
57016
  return /*#__PURE__*/css$1(styles, process.env.NODE_ENV === "production" ? "" : ";label:getScrollableInFlexibleContainerStyles;");
55688
- }; // eslint-disable-next-line @typescript-eslint/ban-types
57017
+ };
55689
57018
 
57019
+ const DEFAULT_LOADING_SPIN_PROPS = {
57020
+ indicator: jsx(Spinner, {})
57021
+ }; // eslint-disable-next-line @typescript-eslint/ban-types
55690
57022
 
55691
57023
  const Table = props => {
55692
57024
  const {
@@ -55694,10 +57026,15 @@ const Table = props => {
55694
57026
  theme
55695
57027
  } = useDesignSystemTheme();
55696
57028
  const {
57029
+ loading,
55697
57030
  scrollableInFlexibleContainer,
55698
57031
  ...tableProps
55699
57032
  } = props;
55700
- return jsx(Table$1, {
57033
+ return jsx(Table$1 // NOTE(FEINF-1273): The default loading indicator from AntD does not animate
57034
+ // and the design system spinner is recommended over the AntD one. Therefore,
57035
+ // if `loading` is `true`, render the design system <Spinner/> component.
57036
+ , {
57037
+ loading: loading === true ? DEFAULT_LOADING_SPIN_PROPS : loading,
55701
57038
  scroll: scrollableInFlexibleContainer ? {
55702
57039
  y: 'auto'
55703
57040
  } : undefined,
@@ -55851,6 +57188,7 @@ const Tabs = _ref => {
55851
57188
  onChange,
55852
57189
  onEdit,
55853
57190
  children,
57191
+ destroyInactiveTabPane = false,
55854
57192
  dangerouslySetAntdProps = {},
55855
57193
  dangerouslyAppendEmotionCSS = {}
55856
57194
  } = _ref;
@@ -55863,6 +57201,7 @@ const Tabs = _ref => {
55863
57201
  defaultActiveKey: defaultActiveKey,
55864
57202
  onChange: onChange,
55865
57203
  onEdit: onEdit,
57204
+ destroyInactiveTabPane: destroyInactiveTabPane,
55866
57205
  type: editable ? 'editable-card' : 'card',
55867
57206
  addIcon: jsx(PlusIcon, {
55868
57207
  css: /*#__PURE__*/css$1({
@@ -56067,7 +57406,7 @@ const Tooltip = _ref => {
56067
57406
  });
56068
57407
  };
56069
57408
 
56070
- 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)."; }
57409
+ 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)."; }
56071
57410
 
56072
57411
  /**
56073
57412
  * These styles share some aspects with the styles in the main `Checkbox.tsx` component.
@@ -56276,7 +57615,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
56276
57615
  } : {
56277
57616
  name: "wh1oly-Tree",
56278
57617
  styles: "font-size:24px!important;label:Tree;",
56279
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
57618
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
56280
57619
  };
56281
57620
 
56282
57621
  function Tree(_ref) {
@@ -56311,6 +57650,39 @@ function Tree(_ref) {
56311
57650
  });
56312
57651
  }
56313
57652
 
57653
+ 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)."; }
57654
+
57655
+ var _ref = process.env.NODE_ENV === "production" ? {
57656
+ name: "mgrjgu",
57657
+ styles: "margin-left:2px"
57658
+ } : {
57659
+ name: "7kmwq-Link",
57660
+ styles: "margin-left:2px;label:Link;",
57661
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
57662
+ };
57663
+
57664
+ function Link(props) {
57665
+ const {
57666
+ children,
57667
+ openInNewTab,
57668
+ ...restProps
57669
+ } = props;
57670
+ const openInNewTabProps = getOpenInNewTabProps(openInNewTab);
57671
+ return jsxs(AntDTypography.Link, { ...restProps,
57672
+ ...openInNewTabProps,
57673
+ children: [children, openInNewTab ? jsx(NewWindowIcon, {
57674
+ css: _ref
57675
+ }) : null]
57676
+ });
57677
+ }
57678
+
57679
+ function getOpenInNewTabProps(openInNewTab) {
57680
+ return openInNewTab ? {
57681
+ rel: 'noopener noreferrer',
57682
+ target: '_blank'
57683
+ } : undefined;
57684
+ }
57685
+
56314
57686
  const {
56315
57687
  Paragraph: AntDParagraph
56316
57688
  } = AntDTypography;
@@ -56458,7 +57830,7 @@ function Typography(props) {
56458
57830
  Typography.Text = Text;
56459
57831
  Typography.Title = Title;
56460
57832
  Typography.Paragraph = Paragraph;
56461
- Typography.Link = AntDTypography.Link;
57833
+ Typography.Link = Link;
56462
57834
 
56463
- 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, useThemedStyles };
57835
+ 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 };
56464
57836
  //# sourceMappingURL=index.js.map