@databricks/design-system 1.12.14 → 1.12.15

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 (426) hide show
  1. package/dist/{Stepper-839336b1.js → Stepper-a0fb4d9b.js} +1302 -1172
  2. package/dist/Stepper-a0fb4d9b.js.map +1 -0
  3. package/dist/design-system/Avatar/Avatar.d.ts +40 -0
  4. package/dist/design-system/Avatar/Avatar.d.ts.map +1 -0
  5. package/dist/design-system/Avatar/SvgDatabricksIcon.d.ts +3 -0
  6. package/dist/design-system/Avatar/SvgDatabricksIcon.d.ts.map +1 -0
  7. package/dist/design-system/Avatar/SvgSparkleIcon.d.ts +3 -0
  8. package/dist/design-system/Avatar/SvgSparkleIcon.d.ts.map +1 -0
  9. package/dist/design-system/Avatar/SvgUserIcon.d.ts +3 -0
  10. package/dist/design-system/Avatar/SvgUserIcon.d.ts.map +1 -0
  11. package/dist/design-system/Avatar/index.d.ts +2 -0
  12. package/dist/design-system/Avatar/index.d.ts.map +1 -0
  13. package/dist/design-system/Button/Button.d.ts +2 -13
  14. package/dist/design-system/Button/Button.d.ts.map +1 -1
  15. package/dist/design-system/ContextMenu/ContextMenu.d.ts +28 -23
  16. package/dist/design-system/ContextMenu/ContextMenu.d.ts.map +1 -1
  17. package/dist/design-system/DatePicker/DatePicker.d.ts +25 -15
  18. package/dist/design-system/DatePicker/DatePicker.d.ts.map +1 -1
  19. package/dist/design-system/DesignSystemEventProvider/DesignSystemEventProvider.d.ts +2 -1
  20. package/dist/design-system/DesignSystemEventProvider/DesignSystemEventProvider.d.ts.map +1 -1
  21. package/dist/design-system/DialogCombobox/DialogComboboxContent.d.ts.map +1 -1
  22. package/dist/design-system/DialogCombobox/index.d.ts +1 -0
  23. package/dist/design-system/DialogCombobox/index.d.ts.map +1 -1
  24. package/dist/design-system/DialogCombobox/shared.d.ts.map +1 -1
  25. package/dist/design-system/DropdownMenu/DropdownMenu.d.ts +2 -2
  26. package/dist/design-system/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  27. package/dist/design-system/FormV2/RHFAdapters.d.ts +17 -10
  28. package/dist/design-system/FormV2/RHFAdapters.d.ts.map +1 -1
  29. package/dist/design-system/Icon/Icon.d.ts +1 -1
  30. package/dist/design-system/Icon/__generated/icons/AlignCenterIcon.d.ts +1 -1
  31. package/dist/design-system/Icon/__generated/icons/AlignLeftIcon.d.ts +1 -1
  32. package/dist/design-system/Icon/__generated/icons/AlignRightIcon.d.ts +1 -1
  33. package/dist/design-system/Icon/__generated/icons/AppIcon.d.ts +1 -1
  34. package/dist/design-system/Icon/__generated/icons/ArrowDownIcon.d.ts +1 -1
  35. package/dist/design-system/Icon/__generated/icons/ArrowInIcon.d.ts +1 -1
  36. package/dist/design-system/Icon/__generated/icons/ArrowLeftIcon.d.ts +1 -1
  37. package/dist/design-system/Icon/__generated/icons/ArrowRightIcon.d.ts +1 -1
  38. package/dist/design-system/Icon/__generated/icons/ArrowUpIcon.d.ts +1 -1
  39. package/dist/design-system/Icon/__generated/icons/ArrowsUpDownIcon.d.ts +1 -1
  40. package/dist/design-system/Icon/__generated/icons/AssistantIcon.d.ts +1 -1
  41. package/dist/design-system/Icon/__generated/icons/BadgeCodeIcon.d.ts +1 -1
  42. package/dist/design-system/Icon/__generated/icons/BadgeCodeOffIcon.d.ts +1 -1
  43. package/dist/design-system/Icon/__generated/icons/BarChartIcon.d.ts +1 -1
  44. package/dist/design-system/Icon/__generated/icons/BarGroupedIcon.d.ts +1 -1
  45. package/dist/design-system/Icon/__generated/icons/BarStackedIcon.d.ts +1 -1
  46. package/dist/design-system/Icon/__generated/icons/BarStackedPercentageIcon.d.ts +1 -1
  47. package/dist/design-system/Icon/__generated/icons/BeakerIcon.d.ts +1 -1
  48. package/dist/design-system/Icon/__generated/icons/BinaryIcon.d.ts +1 -1
  49. package/dist/design-system/Icon/__generated/icons/BoldIcon.d.ts +1 -1
  50. package/dist/design-system/Icon/__generated/icons/BookIcon.d.ts +1 -1
  51. package/dist/design-system/Icon/__generated/icons/BookmarkFillIcon.d.ts +1 -1
  52. package/dist/design-system/Icon/__generated/icons/BookmarkIcon.d.ts +1 -1
  53. package/dist/design-system/Icon/__generated/icons/BooksIcon.d.ts +1 -1
  54. package/dist/design-system/Icon/__generated/icons/BracketsCurlyIcon.d.ts +1 -1
  55. package/dist/design-system/Icon/__generated/icons/BracketsSquareIcon.d.ts +1 -1
  56. package/dist/design-system/Icon/__generated/icons/BracketsXIcon.d.ts +1 -1
  57. package/dist/design-system/Icon/__generated/icons/BranchIcon.d.ts +1 -1
  58. package/dist/design-system/Icon/__generated/icons/BriefcaseFillIcon.d.ts +1 -1
  59. package/dist/design-system/Icon/__generated/icons/BriefcaseIcon.d.ts +1 -1
  60. package/dist/design-system/Icon/__generated/icons/CalendarClockIcon.d.ts +1 -1
  61. package/dist/design-system/Icon/__generated/icons/CalendarEventIcon.d.ts +1 -1
  62. package/dist/design-system/Icon/__generated/icons/CalendarIcon.d.ts +1 -1
  63. package/dist/design-system/Icon/__generated/icons/CaretDownSquareIcon.d.ts +1 -1
  64. package/dist/design-system/Icon/__generated/icons/CaretUpSquareIcon.d.ts +1 -1
  65. package/dist/design-system/Icon/__generated/icons/CatalogCloudIcon.d.ts +1 -1
  66. package/dist/design-system/Icon/__generated/icons/CatalogIcon.d.ts +1 -1
  67. package/dist/design-system/Icon/__generated/icons/CatalogOffIcon.d.ts +1 -1
  68. package/dist/design-system/Icon/__generated/icons/ChartLineIcon.d.ts +1 -1
  69. package/dist/design-system/Icon/__generated/icons/CheckCircleBadgeIcon.d.ts +1 -1
  70. package/dist/design-system/Icon/__generated/icons/CheckCircleFillIcon.d.ts +1 -1
  71. package/dist/design-system/Icon/__generated/icons/CheckCircleIcon.d.ts +1 -1
  72. package/dist/design-system/Icon/__generated/icons/CheckIcon.d.ts +1 -1
  73. package/dist/design-system/Icon/__generated/icons/CheckLineIcon.d.ts +1 -1
  74. package/dist/design-system/Icon/__generated/icons/CheckboxIcon.d.ts +1 -1
  75. package/dist/design-system/Icon/__generated/icons/ChecklistIcon.d.ts +1 -1
  76. package/dist/design-system/Icon/__generated/icons/ChevronDoubleDownIcon.d.ts +1 -1
  77. package/dist/design-system/Icon/__generated/icons/ChevronDoubleLeftIcon.d.ts +1 -1
  78. package/dist/design-system/Icon/__generated/icons/ChevronDoubleRightIcon.d.ts +1 -1
  79. package/dist/design-system/Icon/__generated/icons/ChevronDoubleUpIcon.d.ts +1 -1
  80. package/dist/design-system/Icon/__generated/icons/ChevronDownIcon.d.ts +1 -1
  81. package/dist/design-system/Icon/__generated/icons/ChevronLeftIcon.d.ts +1 -1
  82. package/dist/design-system/Icon/__generated/icons/ChevronRightIcon.d.ts +1 -1
  83. package/dist/design-system/Icon/__generated/icons/ChevronUpIcon.d.ts +1 -1
  84. package/dist/design-system/Icon/__generated/icons/CircleIcon.d.ts +1 -1
  85. package/dist/design-system/Icon/__generated/icons/ClipboardIcon.d.ts +1 -1
  86. package/dist/design-system/Icon/__generated/icons/ClockIcon.d.ts +1 -1
  87. package/dist/design-system/Icon/__generated/icons/ClockKeyIcon.d.ts +1 -1
  88. package/dist/design-system/Icon/__generated/icons/CloseIcon.d.ts +1 -1
  89. package/dist/design-system/Icon/__generated/icons/CloudDownloadIcon.d.ts +1 -1
  90. package/dist/design-system/Icon/__generated/icons/CloudIcon.d.ts +1 -1
  91. package/dist/design-system/Icon/__generated/icons/CloudKeyIcon.d.ts +1 -1
  92. package/dist/design-system/Icon/__generated/icons/CloudModelIcon.d.ts +1 -1
  93. package/dist/design-system/Icon/__generated/icons/CloudOffIcon.d.ts +1 -1
  94. package/dist/design-system/Icon/__generated/icons/CloudUploadIcon.d.ts +1 -1
  95. package/dist/design-system/Icon/__generated/icons/CodeIcon.d.ts +1 -1
  96. package/dist/design-system/Icon/__generated/icons/ColorFillIcon.d.ts +1 -1
  97. package/dist/design-system/Icon/__generated/icons/ColumnIcon.d.ts +1 -1
  98. package/dist/design-system/Icon/__generated/icons/ColumnsIcon.d.ts +1 -1
  99. package/dist/design-system/Icon/__generated/icons/ConnectIcon.d.ts +1 -1
  100. package/dist/design-system/Icon/__generated/icons/CopyIcon.d.ts +1 -1
  101. package/dist/design-system/Icon/__generated/icons/CursorIcon.d.ts +1 -1
  102. package/dist/design-system/Icon/__generated/icons/CursorTypeIcon.d.ts +1 -1
  103. package/dist/design-system/Icon/__generated/icons/DIcon.d.ts +1 -1
  104. package/dist/design-system/Icon/__generated/icons/DagIcon.d.ts +1 -1
  105. package/dist/design-system/Icon/__generated/icons/DangerFillIcon.d.ts +1 -1
  106. package/dist/design-system/Icon/__generated/icons/DangerIcon.d.ts +1 -1
  107. package/dist/design-system/Icon/__generated/icons/DashIcon.d.ts +1 -1
  108. package/dist/design-system/Icon/__generated/icons/DashboardIcon.d.ts +1 -1
  109. package/dist/design-system/Icon/__generated/icons/DataIcon.d.ts +1 -1
  110. package/dist/design-system/Icon/__generated/icons/DatabaseIcon.d.ts +1 -1
  111. package/dist/design-system/Icon/__generated/icons/DecimalIcon.d.ts +1 -1
  112. package/dist/design-system/Icon/__generated/icons/DotsCircleIcon.d.ts +1 -1
  113. package/dist/design-system/Icon/__generated/icons/DownloadIcon.d.ts +1 -1
  114. package/dist/design-system/Icon/__generated/icons/DragIcon.d.ts +1 -1
  115. package/dist/design-system/Icon/__generated/icons/ErdIcon.d.ts +1 -1
  116. package/dist/design-system/Icon/__generated/icons/ExpandLessIcon.d.ts +1 -1
  117. package/dist/design-system/Icon/__generated/icons/ExpandMoreIcon.d.ts +1 -1
  118. package/dist/design-system/Icon/__generated/icons/FaceFrownIcon.d.ts +1 -1
  119. package/dist/design-system/Icon/__generated/icons/FaceNeutralIcon.d.ts +1 -1
  120. package/dist/design-system/Icon/__generated/icons/FaceSmileIcon.d.ts +1 -1
  121. package/dist/design-system/Icon/__generated/icons/FileCodeIcon.d.ts +1 -1
  122. package/dist/design-system/Icon/__generated/icons/FileDocumentIcon.d.ts +1 -1
  123. package/dist/design-system/Icon/__generated/icons/FileIcon.d.ts +1 -1
  124. package/dist/design-system/Icon/__generated/icons/FileImageIcon.d.ts +1 -1
  125. package/dist/design-system/Icon/__generated/icons/FileModelIcon.d.ts +1 -1
  126. package/dist/design-system/Icon/__generated/icons/FilterIcon.d.ts +1 -1
  127. package/dist/design-system/Icon/__generated/icons/FloatIcon.d.ts +1 -1
  128. package/dist/design-system/Icon/__generated/icons/FolderBranchIcon.d.ts +1 -1
  129. package/dist/design-system/Icon/__generated/icons/FolderCloudFilledIcon.d.ts +1 -1
  130. package/dist/design-system/Icon/__generated/icons/FolderCloudIcon.d.ts +1 -1
  131. package/dist/design-system/Icon/__generated/icons/FolderFillIcon.d.ts +1 -1
  132. package/dist/design-system/Icon/__generated/icons/FolderIcon.d.ts +1 -1
  133. package/dist/design-system/Icon/__generated/icons/FontIcon.d.ts +1 -1
  134. package/dist/design-system/Icon/__generated/icons/ForkIcon.d.ts +1 -1
  135. package/dist/design-system/Icon/__generated/icons/FullscreenExitIcon.d.ts +1 -1
  136. package/dist/design-system/Icon/__generated/icons/FullscreenIcon.d.ts +1 -1
  137. package/dist/design-system/Icon/__generated/icons/FunctionIcon.d.ts +1 -1
  138. package/dist/design-system/Icon/__generated/icons/GearFillIcon.d.ts +1 -1
  139. package/dist/design-system/Icon/__generated/icons/GearIcon.d.ts +1 -1
  140. package/dist/design-system/Icon/__generated/icons/GiftIcon.d.ts +1 -1
  141. package/dist/design-system/Icon/__generated/icons/GitCommitIcon.d.ts +1 -1
  142. package/dist/design-system/Icon/__generated/icons/GlobeIcon.d.ts +1 -1
  143. package/dist/design-system/Icon/__generated/icons/GridDashIcon.d.ts +1 -1
  144. package/dist/design-system/Icon/__generated/icons/GridIcon.d.ts +1 -1
  145. package/dist/design-system/Icon/__generated/icons/H1Icon.d.ts +1 -1
  146. package/dist/design-system/Icon/__generated/icons/H2Icon.d.ts +1 -1
  147. package/dist/design-system/Icon/__generated/icons/H3Icon.d.ts +1 -1
  148. package/dist/design-system/Icon/__generated/icons/HistoryIcon.d.ts +1 -1
  149. package/dist/design-system/Icon/__generated/icons/HomeIcon.d.ts +1 -1
  150. package/dist/design-system/Icon/__generated/icons/ImageIcon.d.ts +1 -1
  151. package/dist/design-system/Icon/__generated/icons/IndentDecreaseIcon.d.ts +1 -1
  152. package/dist/design-system/Icon/__generated/icons/IndentIncreaseIcon.d.ts +1 -1
  153. package/dist/design-system/Icon/__generated/icons/InfinityIcon.d.ts +1 -1
  154. package/dist/design-system/Icon/__generated/icons/InfoFillIcon.d.ts +1 -1
  155. package/dist/design-system/Icon/__generated/icons/InfoIcon.d.ts +1 -1
  156. package/dist/design-system/Icon/__generated/icons/IngestionIcon.d.ts +1 -1
  157. package/dist/design-system/Icon/__generated/icons/ItalicIcon.d.ts +1 -1
  158. package/dist/design-system/Icon/__generated/icons/KeyIcon.d.ts +1 -1
  159. package/dist/design-system/Icon/__generated/icons/KeyboardIcon.d.ts +1 -1
  160. package/dist/design-system/Icon/__generated/icons/LayerGraphIcon.d.ts +1 -1
  161. package/dist/design-system/Icon/__generated/icons/LayerIcon.d.ts +1 -1
  162. package/dist/design-system/Icon/__generated/icons/LettersIcon.d.ts +1 -1
  163. package/dist/design-system/Icon/__generated/icons/LibrariesIcon.d.ts +1 -1
  164. package/dist/design-system/Icon/__generated/icons/LightningIcon.d.ts +1 -1
  165. package/dist/design-system/Icon/__generated/icons/LinkIcon.d.ts +1 -1
  166. package/dist/design-system/Icon/__generated/icons/LinkOffIcon.d.ts +1 -1
  167. package/dist/design-system/Icon/__generated/icons/ListBorderIcon.d.ts +1 -1
  168. package/dist/design-system/Icon/__generated/icons/ListClearIcon.d.ts +1 -1
  169. package/dist/design-system/Icon/__generated/icons/ListIcon.d.ts +1 -1
  170. package/dist/design-system/Icon/__generated/icons/LoadingIcon.d.ts +1 -1
  171. package/dist/design-system/Icon/__generated/icons/LockFillIcon.d.ts +1 -1
  172. package/dist/design-system/Icon/__generated/icons/LockIcon.d.ts +1 -1
  173. package/dist/design-system/Icon/__generated/icons/LockUnlockedIcon.d.ts +1 -1
  174. package/dist/design-system/Icon/__generated/icons/MIcon.d.ts +1 -1
  175. package/dist/design-system/Icon/__generated/icons/MailIcon.d.ts +1 -1
  176. package/dist/design-system/Icon/__generated/icons/MegaphoneIcon.d.ts +1 -1
  177. package/dist/design-system/Icon/__generated/icons/MenuIcon.d.ts +1 -1
  178. package/dist/design-system/Icon/__generated/icons/MinusBoxIcon.d.ts +1 -1
  179. package/dist/design-system/Icon/__generated/icons/MinusCircleFillIcon.d.ts +1 -1
  180. package/dist/design-system/Icon/__generated/icons/MinusCircleIcon.d.ts +1 -1
  181. package/dist/design-system/Icon/__generated/icons/ModelsIcon.d.ts +1 -1
  182. package/dist/design-system/Icon/__generated/icons/NewWindowIcon.d.ts +1 -1
  183. package/dist/design-system/Icon/__generated/icons/NoIcon.d.ts +1 -1
  184. package/dist/design-system/Icon/__generated/icons/NotebookIcon.d.ts +1 -1
  185. package/dist/design-system/Icon/__generated/icons/NotificationIcon.d.ts +1 -1
  186. package/dist/design-system/Icon/__generated/icons/NotificationOffIcon.d.ts +1 -1
  187. package/dist/design-system/Icon/__generated/icons/NumbersIcon.d.ts +1 -1
  188. package/dist/design-system/Icon/__generated/icons/OfficeIcon.d.ts +1 -1
  189. package/dist/design-system/Icon/__generated/icons/OverflowIcon.d.ts +1 -1
  190. package/dist/design-system/Icon/__generated/icons/PageBottomIcon.d.ts +1 -1
  191. package/dist/design-system/Icon/__generated/icons/PageFirstIcon.d.ts +1 -1
  192. package/dist/design-system/Icon/__generated/icons/PageLastIcon.d.ts +1 -1
  193. package/dist/design-system/Icon/__generated/icons/PageTopIcon.d.ts +1 -1
  194. package/dist/design-system/Icon/__generated/icons/PauseIcon.d.ts +1 -1
  195. package/dist/design-system/Icon/__generated/icons/PencilIcon.d.ts +1 -1
  196. package/dist/design-system/Icon/__generated/icons/PinCancelIcon.d.ts +1 -1
  197. package/dist/design-system/Icon/__generated/icons/PinFillIcon.d.ts +1 -1
  198. package/dist/design-system/Icon/__generated/icons/PinIcon.d.ts +1 -1
  199. package/dist/design-system/Icon/__generated/icons/PipelineIcon.d.ts +1 -1
  200. package/dist/design-system/Icon/__generated/icons/PlayCircleFillIcon.d.ts +1 -1
  201. package/dist/design-system/Icon/__generated/icons/PlayCircleIcon.d.ts +1 -1
  202. package/dist/design-system/Icon/__generated/icons/PlayIcon.d.ts +1 -1
  203. package/dist/design-system/Icon/__generated/icons/PlugIcon.d.ts +1 -1
  204. package/dist/design-system/Icon/__generated/icons/PlusCircleFillIcon.d.ts +1 -1
  205. package/dist/design-system/Icon/__generated/icons/PlusCircleIcon.d.ts +1 -1
  206. package/dist/design-system/Icon/__generated/icons/PlusIcon.d.ts +1 -1
  207. package/dist/design-system/Icon/__generated/icons/PlusSquareIcon.d.ts +1 -1
  208. package/dist/design-system/Icon/__generated/icons/QueryEditorIcon.d.ts +1 -1
  209. package/dist/design-system/Icon/__generated/icons/QueryIcon.d.ts +1 -1
  210. package/dist/design-system/Icon/__generated/icons/QuestionMarkFillIcon.d.ts +1 -1
  211. package/dist/design-system/Icon/__generated/icons/QuestionMarkIcon.d.ts +1 -1
  212. package/dist/design-system/Icon/__generated/icons/QuestionMarkSpeechBubbleIcon.d.ts +1 -1
  213. package/dist/design-system/Icon/__generated/icons/ReaderModeIcon.d.ts +1 -1
  214. package/dist/design-system/Icon/__generated/icons/RedoIcon.d.ts +1 -1
  215. package/dist/design-system/Icon/__generated/icons/RefreshIcon.d.ts +1 -1
  216. package/dist/design-system/Icon/__generated/icons/RobotIcon.d.ts +1 -1
  217. package/dist/design-system/Icon/__generated/icons/RunningIcon.d.ts +5 -0
  218. package/dist/design-system/Icon/__generated/icons/RunningIcon.d.ts.map +1 -0
  219. package/dist/design-system/Icon/__generated/icons/SaveIcon.d.ts +1 -1
  220. package/dist/design-system/Icon/__generated/icons/SchemaIcon.d.ts +5 -0
  221. package/dist/design-system/Icon/__generated/icons/SchemaIcon.d.ts.map +1 -0
  222. package/dist/design-system/Icon/__generated/icons/SchoolIcon.d.ts +1 -1
  223. package/dist/design-system/Icon/__generated/icons/SearchIcon.d.ts +1 -1
  224. package/dist/design-system/Icon/__generated/icons/SecurityIcon.d.ts +1 -1
  225. package/dist/design-system/Icon/__generated/icons/SendIcon.d.ts +1 -1
  226. package/dist/design-system/Icon/__generated/icons/ShareIcon.d.ts +1 -1
  227. package/dist/design-system/Icon/__generated/icons/SidebarAutoIcon.d.ts +1 -1
  228. package/dist/design-system/Icon/__generated/icons/SidebarCollapseIcon.d.ts +1 -1
  229. package/dist/design-system/Icon/__generated/icons/SidebarExpandIcon.d.ts +1 -1
  230. package/dist/design-system/Icon/__generated/icons/SidebarIcon.d.ts +1 -1
  231. package/dist/design-system/Icon/__generated/icons/SlidersIcon.d.ts +1 -1
  232. package/dist/design-system/Icon/__generated/icons/SortAlphabeticalAscendingIcon.d.ts +1 -1
  233. package/dist/design-system/Icon/__generated/icons/SortAlphabeticalDescendingIcon.d.ts +1 -1
  234. package/dist/design-system/Icon/__generated/icons/SortAlphabeticalLeftIcon.d.ts +1 -1
  235. package/dist/design-system/Icon/__generated/icons/SortAlphabeticalRightIcon.d.ts +1 -1
  236. package/dist/design-system/Icon/__generated/icons/SortAscendingIcon.d.ts +1 -1
  237. package/dist/design-system/Icon/__generated/icons/SortDescendingIcon.d.ts +1 -1
  238. package/dist/design-system/Icon/__generated/icons/SortUnsortedIcon.d.ts +1 -1
  239. package/dist/design-system/Icon/__generated/icons/SparkleIcon.d.ts +1 -1
  240. package/dist/design-system/Icon/__generated/icons/SpeechBubbleIcon.d.ts +1 -1
  241. package/dist/design-system/Icon/__generated/icons/SpeechBubblePlusIcon.d.ts +1 -1
  242. package/dist/design-system/Icon/__generated/icons/SpeechBubbleQuestionMarkIcon.d.ts +1 -1
  243. package/dist/design-system/Icon/__generated/icons/StarFillIcon.d.ts +1 -1
  244. package/dist/design-system/Icon/__generated/icons/StarIcon.d.ts +1 -1
  245. package/dist/design-system/Icon/__generated/icons/StepIntoIcon.d.ts +1 -1
  246. package/dist/design-system/Icon/__generated/icons/StepOutIcon.d.ts +1 -1
  247. package/dist/design-system/Icon/__generated/icons/StepOverIcon.d.ts +1 -1
  248. package/dist/design-system/Icon/__generated/icons/StopCircleFillIcon.d.ts +1 -1
  249. package/dist/design-system/Icon/__generated/icons/StopCircleIcon.d.ts +1 -1
  250. package/dist/design-system/Icon/__generated/icons/StopIcon.d.ts +1 -1
  251. package/dist/design-system/Icon/__generated/icons/StorefrontIcon.d.ts +1 -1
  252. package/dist/design-system/Icon/__generated/icons/StreamIcon.d.ts +1 -1
  253. package/dist/design-system/Icon/__generated/icons/SyncIcon.d.ts +1 -1
  254. package/dist/design-system/Icon/__generated/icons/TableGlassesIcon.d.ts +1 -1
  255. package/dist/design-system/Icon/__generated/icons/TableIcon.d.ts +1 -1
  256. package/dist/design-system/Icon/__generated/icons/TableLightningIcon.d.ts +1 -1
  257. package/dist/design-system/Icon/__generated/icons/TableOnlineViewIcon.d.ts +1 -1
  258. package/dist/design-system/Icon/__generated/icons/TableStreamIcon.d.ts +1 -1
  259. package/dist/design-system/Icon/__generated/icons/TableVectorIcon.d.ts +1 -1
  260. package/dist/design-system/Icon/__generated/icons/TableViewIcon.d.ts +1 -1
  261. package/dist/design-system/Icon/__generated/icons/TagIcon.d.ts +5 -0
  262. package/dist/design-system/Icon/__generated/icons/TagIcon.d.ts.map +1 -0
  263. package/dist/design-system/Icon/__generated/icons/TargetIcon.d.ts +1 -1
  264. package/dist/design-system/Icon/__generated/icons/TextBoxIcon.d.ts +1 -1
  265. package/dist/design-system/Icon/__generated/icons/ThumbsDownIcon.d.ts +1 -1
  266. package/dist/design-system/Icon/__generated/icons/ThumbsUpIcon.d.ts +1 -1
  267. package/dist/design-system/Icon/__generated/icons/TrashIcon.d.ts +1 -1
  268. package/dist/design-system/Icon/__generated/icons/TreeIcon.d.ts +1 -1
  269. package/dist/design-system/Icon/__generated/icons/UnderlineIcon.d.ts +1 -1
  270. package/dist/design-system/Icon/__generated/icons/UndoIcon.d.ts +1 -1
  271. package/dist/design-system/Icon/__generated/icons/UploadIcon.d.ts +1 -1
  272. package/dist/design-system/Icon/__generated/icons/UsbIcon.d.ts +1 -1
  273. package/dist/design-system/Icon/__generated/icons/UserBadgeIcon.d.ts +1 -1
  274. package/dist/design-system/Icon/__generated/icons/UserCircleIcon.d.ts +1 -1
  275. package/dist/design-system/Icon/__generated/icons/UserGroupIcon.d.ts +1 -1
  276. package/dist/design-system/Icon/__generated/icons/UserIcon.d.ts +1 -1
  277. package/dist/design-system/Icon/__generated/icons/VectorTableIcon.d.ts +1 -1
  278. package/dist/design-system/Icon/__generated/icons/VisibleIcon.d.ts +1 -1
  279. package/dist/design-system/Icon/__generated/icons/VisibleOffIcon.d.ts +1 -1
  280. package/dist/design-system/Icon/__generated/icons/WarningFillIcon.d.ts +1 -1
  281. package/dist/design-system/Icon/__generated/icons/WarningIcon.d.ts +1 -1
  282. package/dist/design-system/Icon/__generated/icons/WorkflowsIcon.d.ts +1 -1
  283. package/dist/design-system/Icon/__generated/icons/WorkspacesIcon.d.ts +1 -1
  284. package/dist/design-system/Icon/__generated/icons/XCircleFillIcon.d.ts +1 -1
  285. package/dist/design-system/Icon/__generated/icons/XCircleIcon.d.ts +1 -1
  286. package/dist/design-system/Icon/__generated/icons/ZoomInIcon.d.ts +1 -1
  287. package/dist/design-system/Icon/__generated/icons/ZoomMarqueeSelection.d.ts +1 -1
  288. package/dist/design-system/Icon/__generated/icons/ZoomOutIcon.d.ts +1 -1
  289. package/dist/design-system/Icon/__generated/icons/index.d.ts +3 -0
  290. package/dist/design-system/Icon/__generated/icons/index.d.ts.map +1 -1
  291. package/dist/design-system/Input/Group.d.ts.map +1 -1
  292. package/dist/design-system/Input/Input.d.ts.map +1 -1
  293. package/dist/design-system/Input/common.d.ts +3 -2
  294. package/dist/design-system/Input/common.d.ts.map +1 -1
  295. package/dist/design-system/LegacySelect/LegacySelect.d.ts +66 -0
  296. package/dist/design-system/LegacySelect/LegacySelect.d.ts.map +1 -0
  297. package/dist/design-system/LegacySelect/index.d.ts +2 -0
  298. package/dist/design-system/LegacySelect/index.d.ts.map +1 -0
  299. package/dist/design-system/Modal/Modal.d.ts +4 -3
  300. package/dist/design-system/Modal/Modal.d.ts.map +1 -1
  301. package/dist/design-system/Radio/Radio.d.ts +2 -1
  302. package/dist/design-system/Radio/Radio.d.ts.map +1 -1
  303. package/dist/design-system/SegmentedControl/SegmentedControl.d.ts +1 -0
  304. package/dist/design-system/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  305. package/dist/design-system/Select/Select.d.ts +7 -59
  306. package/dist/design-system/Select/Select.d.ts.map +1 -1
  307. package/dist/design-system/Select/SelectContent.d.ts +10 -0
  308. package/dist/design-system/Select/SelectContent.d.ts.map +1 -0
  309. package/dist/design-system/Select/SelectOption.d.ts +10 -0
  310. package/dist/design-system/Select/SelectOption.d.ts.map +1 -0
  311. package/dist/design-system/Select/SelectOptionGroup.d.ts +11 -0
  312. package/dist/design-system/Select/SelectOptionGroup.d.ts.map +1 -0
  313. package/dist/design-system/Select/SelectTrigger.d.ts +10 -0
  314. package/dist/design-system/Select/SelectTrigger.d.ts.map +1 -0
  315. package/dist/design-system/Select/SimpleSelect.d.ts +33 -0
  316. package/dist/design-system/Select/SimpleSelect.d.ts.map +1 -0
  317. package/dist/design-system/Select/hooks/useSelectContext.d.ts.map +1 -0
  318. package/dist/design-system/Select/index.d.ts +5 -0
  319. package/dist/design-system/Select/index.d.ts.map +1 -1
  320. package/dist/design-system/Select/providers/SelectContext.d.ts.map +1 -0
  321. package/dist/design-system/Sidebar/Sidebar.d.ts +6 -2
  322. package/dist/design-system/Sidebar/Sidebar.d.ts.map +1 -1
  323. package/dist/design-system/TableUI/Table.d.ts.map +1 -1
  324. package/dist/design-system/Tooltip/Tooltip.d.ts.map +1 -1
  325. package/dist/design-system/TypeaheadCombobox/TypeaheadComboboxControls.d.ts +1 -0
  326. package/dist/design-system/TypeaheadCombobox/TypeaheadComboboxControls.d.ts.map +1 -1
  327. package/dist/design-system/TypeaheadCombobox/TypeaheadComboboxInput.d.ts +1 -0
  328. package/dist/design-system/TypeaheadCombobox/TypeaheadComboboxInput.d.ts.map +1 -1
  329. package/dist/design-system/TypeaheadCombobox/hooks/downshiftHookWrappers.d.ts +2 -0
  330. package/dist/design-system/TypeaheadCombobox/hooks/downshiftHookWrappers.d.ts.map +1 -1
  331. package/dist/design-system/Typography/Hint.d.ts +2 -2
  332. package/dist/design-system/Typography/Hint.d.ts.map +1 -1
  333. package/dist/design-system/Typography/Link.d.ts +2 -2
  334. package/dist/design-system/Typography/Link.d.ts.map +1 -1
  335. package/dist/design-system/Typography/Paragraph.d.ts +2 -2
  336. package/dist/design-system/Typography/Paragraph.d.ts.map +1 -1
  337. package/dist/design-system/Typography/Text.d.ts +2 -2
  338. package/dist/design-system/Typography/Text.d.ts.map +1 -1
  339. package/dist/design-system/Typography/Title.d.ts +2 -2
  340. package/dist/design-system/Typography/Title.d.ts.map +1 -1
  341. package/dist/design-system/Typography/Typography.d.ts +1 -1
  342. package/dist/design-system/Typography/index.d.ts +5 -0
  343. package/dist/design-system/Typography/index.d.ts.map +1 -1
  344. package/dist/design-system/Wizard/Wizard.d.ts +24 -4
  345. package/dist/design-system/Wizard/Wizard.d.ts.map +1 -1
  346. package/dist/design-system/Wizard/WizardFooter.d.ts +3 -2
  347. package/dist/design-system/Wizard/WizardFooter.d.ts.map +1 -1
  348. package/dist/design-system/Wizard/WizardModal.d.ts.map +1 -1
  349. package/dist/design-system/Wizard/WizardStep.d.ts +2 -2
  350. package/dist/design-system/Wizard/WizardStep.d.ts.map +1 -1
  351. package/dist/design-system/Wizard/WizardStepsContent.d.ts +2 -1
  352. package/dist/design-system/Wizard/WizardStepsContent.d.ts.map +1 -1
  353. package/dist/design-system/_shared_/Menu/index.d.ts +5 -0
  354. package/dist/design-system/_shared_/Menu/index.d.ts.map +1 -0
  355. package/dist/design-system/index.d.ts +2 -1
  356. package/dist/design-system/index.d.ts.map +1 -1
  357. package/dist/design-system/types.d.ts +27 -0
  358. package/dist/design-system/types.d.ts.map +1 -1
  359. package/dist/design-system/utils/debug.d.ts +8 -0
  360. package/dist/design-system/utils/debug.d.ts.map +1 -0
  361. package/dist/design-system/utils/index.d.ts +1 -0
  362. package/dist/design-system/utils/index.d.ts.map +1 -1
  363. package/dist/design-system/utils/useCallbackOnceUntilReset.d.ts +20 -0
  364. package/dist/design-system/utils/useCallbackOnceUntilReset.d.ts.map +1 -0
  365. package/dist/design-system/utils/useIsomorphicLayoutEffect.d.ts +16 -0
  366. package/dist/design-system/utils/useIsomorphicLayoutEffect.d.ts.map +1 -0
  367. package/dist/design-system/utils/useMediaQuery.d.ts +31 -0
  368. package/dist/design-system/utils/useMediaQuery.d.ts.map +1 -0
  369. package/dist/development/Banner/Banner.d.ts +3 -13
  370. package/dist/development/Banner/Banner.d.ts.map +1 -1
  371. package/dist/development/PillControl/PillControl.d.ts +13 -0
  372. package/dist/development/PillControl/PillControl.d.ts.map +1 -0
  373. package/dist/development/PillControl/index.d.ts +2 -0
  374. package/dist/development/PillControl/index.d.ts.map +1 -0
  375. package/dist/development/PreviewCard/PreviewCard.d.ts +14 -0
  376. package/dist/development/PreviewCard/PreviewCard.d.ts.map +1 -0
  377. package/dist/development/PreviewCard/index.d.ts +2 -0
  378. package/dist/development/PreviewCard/index.d.ts.map +1 -0
  379. package/dist/development/Progress/Progress.d.ts +10 -0
  380. package/dist/development/Progress/Progress.d.ts.map +1 -0
  381. package/dist/development/Progress/hooks/useProgressContext.d.ts +2 -0
  382. package/dist/development/Progress/hooks/useProgressContext.d.ts.map +1 -0
  383. package/dist/development/Progress/index.d.ts +2 -0
  384. package/dist/development/Progress/index.d.ts.map +1 -0
  385. package/dist/development/Progress/providers/ProgressContex.d.ts +10 -0
  386. package/dist/development/Progress/providers/ProgressContex.d.ts.map +1 -0
  387. package/dist/development/Stepper/Stepper.d.ts +2 -2
  388. package/dist/development/Stepper/Stepper.d.ts.map +1 -1
  389. package/dist/development/index.d.ts +2 -0
  390. package/dist/development/index.d.ts.map +1 -1
  391. package/dist/development.js +314 -82
  392. package/dist/development.js.map +1 -1
  393. package/dist/dubois-colors.less +7 -3
  394. package/dist/index-dark.css +8 -0
  395. package/dist/index.css +44 -39
  396. package/dist/index.js +1973 -1066
  397. package/dist/index.js.map +1 -1
  398. package/dist/test-utils/enzyme/selectEvent.d.ts +2 -2
  399. package/dist/test-utils/enzyme/selectEvent.d.ts.map +1 -1
  400. package/dist/test-utils/enzyme.js.map +1 -1
  401. package/dist/test-utils/rtl/selectEvent.d.ts +2 -2
  402. package/dist/test-utils/rtl/selectEvent.d.ts.map +1 -1
  403. package/dist/test-utils/rtl.js +3 -3
  404. package/dist/test-utils/rtl.js.map +1 -1
  405. package/dist/theme/_generated/SemanticColors-Dark.d.ts.map +1 -1
  406. package/dist/theme/_generated/SemanticColors-Light.d.ts.map +1 -1
  407. package/dist/theme/_generated/ValidSemanticColors.d.ts +2 -0
  408. package/dist/theme/_generated/ValidSemanticColors.d.ts.map +1 -1
  409. package/package.json +9 -7
  410. package/dist/Stepper-839336b1.js.map +0 -1
  411. package/dist/design-system/SelectV2/Select.d.ts +0 -7
  412. package/dist/design-system/SelectV2/Select.d.ts.map +0 -1
  413. package/dist/design-system/SelectV2/SelectContent.d.ts +0 -6
  414. package/dist/design-system/SelectV2/SelectContent.d.ts.map +0 -1
  415. package/dist/design-system/SelectV2/SelectOption.d.ts +0 -6
  416. package/dist/design-system/SelectV2/SelectOption.d.ts.map +0 -1
  417. package/dist/design-system/SelectV2/SelectOptionGroup.d.ts +0 -7
  418. package/dist/design-system/SelectV2/SelectOptionGroup.d.ts.map +0 -1
  419. package/dist/design-system/SelectV2/SelectTrigger.d.ts +0 -6
  420. package/dist/design-system/SelectV2/SelectTrigger.d.ts.map +0 -1
  421. package/dist/design-system/SelectV2/hooks/useSelectContext.d.ts.map +0 -1
  422. package/dist/design-system/SelectV2/index.d.ts +0 -6
  423. package/dist/design-system/SelectV2/index.d.ts.map +0 -1
  424. package/dist/design-system/SelectV2/providers/SelectContext.d.ts.map +0 -1
  425. /package/dist/design-system/{SelectV2 → Select}/hooks/useSelectContext.d.ts +0 -0
  426. /package/dist/design-system/{SelectV2 → Select}/providers/SelectContext.d.ts +0 -0
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { u as useDesignSystemTheme, I as Icon, D as DesignSystemAntDConfigProvider, R as RestoreAntDDefaultClsPrefix, g as getAnimationCss, C as CloseIcon, a as getDarkModePortalStyles, b as ChevronRightIcon, L as LoadingState, v as visuallyHidden, T as Typography, s as safex, i as importantify, c as useUniqueId, d as useDesignSystemContext, e as CheckIcon, S as Spinner, f as Input, B as Button, h as getValidationStateColor, A as ApplyDesignSystemContextOverrides, j as getShadowScrollStyles, k as DangerIcon, W as WarningIcon, l as LoadingIcon, m as Title$2, n as AccessibleContainer, o as ChevronLeftIcon, p as DU_BOIS_ENABLE_ANIMATION_CLASSNAME, q as lightColorList, r as getDefaultStyles, t as getPrimaryStyles, w as getDisabledStyles, x as useDesignSystemFlags, y as Stepper } from './Stepper-839336b1.js';
2
- export { O as ApplyDesignSystemFlags, a3 as ColorVars, U as CursorIcon, K as DesignSystemContext, H as DesignSystemEventProvider, F as DesignSystemEventProviderAnalyticsEventTypes, E as DesignSystemEventProviderComponentTypes, N as DesignSystemProvider, J as DesignSystemThemeContext, M as DesignSystemThemeProvider, V as FaceFrownIcon, X as FaceNeutralIcon, Y as FaceSmileIcon, a0 as LoadingStateContext, Z as MegaphoneIcon, _ as NewWindowIcon, Q as WithDesignSystemThemeHoc, a2 as getBottomOnlyShadowScrollStyles, z as getButtonEmotionStyles, $ as getInputStyles, a1 as getTypographyColor, P as useAntDConfigProviderContext, G as useDesignSystemEventComponentCallbacks } from './Stepper-839336b1.js';
1
+ import { u as useDesignSystemTheme, I as Icon, D as DesignSystemAntDConfigProvider, R as RestoreAntDDefaultClsPrefix, g as getAnimationCss, C as CloseIcon, a as getDarkModePortalStyles, T as Typography, b as ChevronRightIcon, L as LoadingState, v as visuallyHidden, s as safex, i as importantify, c as useUniqueId, d as useDesignSystemContext, e as CheckIcon, S as Spinner, B as Button, f as Input, h as getValidationStateColor, A as ApplyDesignSystemContextOverrides, j as getShadowScrollStyles, k as DangerIcon, W as WarningIcon, l as LoadingIcon, m as Title$2, n as AccessibleContainer, o as ChevronLeftIcon, p as useDesignSystemEventComponentCallbacks, q as DesignSystemEventProviderComponentTypes, r as DesignSystemEventProviderAnalyticsEventTypes, t as useNotifyOnFirstView, w as DU_BOIS_ENABLE_ANIMATION_CLASSNAME, x as lightColorList, y as getDefaultStyles, z as getPrimaryStyles, E as getDisabledStyles, F as useDesignSystemFlags, G as Stepper } from './Stepper-a0fb4d9b.js';
2
+ export { P as ApplyDesignSystemFlags, a4 as ColorVars, V as CursorIcon, M as DesignSystemContext, J as DesignSystemEventProvider, O as DesignSystemProvider, K as DesignSystemThemeContext, N as DesignSystemThemeProvider, X as FaceFrownIcon, Y as FaceNeutralIcon, Z as FaceSmileIcon, a1 as LoadingStateContext, _ as MegaphoneIcon, $ as NewWindowIcon, U as WithDesignSystemThemeHoc, a3 as getBottomOnlyShadowScrollStyles, H as getButtonEmotionStyles, a0 as getInputStyles, a2 as getTypographyColor, Q as useAntDConfigProviderContext } from './Stepper-a0fb4d9b.js';
3
3
  import { css, Global, keyframes, ClassNames, createElement } from '@emotion/react';
4
- import { Collapse, Alert as Alert$1, AutoComplete as AutoComplete$1, Breadcrumb as Breadcrumb$1, Checkbox as Checkbox$1, Tooltip as Tooltip$1, DatePicker, Dropdown as Dropdown$1, Form as Form$1, Radio as Radio$1, Select as Select$1, Switch as Switch$1, Col as Col$1, Row as Row$1, Space as Space$1, Layout as Layout$1, notification, Popover as Popover$2, Skeleton, Pagination as Pagination$1, Table as Table$1, Menu as Menu$1, Modal as Modal$1, Button as Button$1, Steps as Steps$1, Tabs as Tabs$1, Tree as Tree$1 } from 'antd';
4
+ import { Collapse, Alert as Alert$1, AutoComplete as AutoComplete$1, Breadcrumb as Breadcrumb$1, Checkbox as Checkbox$1, Tooltip as Tooltip$1, DatePicker, Dropdown as Dropdown$1, Form as Form$1, Select as Select$1, Radio as Radio$1, Switch as Switch$1, Col as Col$1, Row as Row$1, Space as Space$1, Layout as Layout$1, notification, Popover as Popover$2, Skeleton, Pagination as Pagination$1, Table as Table$1, Menu as Menu$1, Modal as Modal$1, Button as Button$1, Steps as Steps$1, Tabs as Tabs$1, Tree as Tree$1 } from 'antd';
5
5
  import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
6
6
  import * as React from 'react';
7
7
  import React__default, { useRef, useMemo, forwardRef, useEffect, createContext, useState, useImperativeHandle, useContext, Children, useCallback, Fragment as Fragment$1, useLayoutEffect } from 'react';
@@ -767,7 +767,6 @@ function SvgBracketsXIcon(props) {
767
767
  })]
768
768
  }), jsx("defs", {
769
769
  children: jsx("clipPath", {
770
- id: "BracketsXIcon_svg__a",
771
770
  children: jsx("path", {
772
771
  fill: "#fff",
773
772
  d: "M0 0h16v16H0z"
@@ -2138,7 +2137,6 @@ function SvgDotsCircleIcon(props) {
2138
2137
  })]
2139
2138
  }), jsx("defs", {
2140
2139
  children: jsx("clipPath", {
2141
- id: "DotsCircleIcon_svg__a",
2142
2140
  children: jsx("path", {
2143
2141
  fill: "#fff",
2144
2142
  d: "M0 0h16v16H0z"
@@ -2625,7 +2623,6 @@ function SvgFolderCloudFilledIcon(props) {
2625
2623
  })]
2626
2624
  }), jsx("defs", {
2627
2625
  children: jsx("clipPath", {
2628
- id: "FolderCloudFilledIcon_svg__a",
2629
2626
  children: jsx("path", {
2630
2627
  fill: "#fff",
2631
2628
  d: "M0 0h16v16H0z"
@@ -2664,7 +2661,6 @@ function SvgFolderCloudIcon(props) {
2664
2661
  })]
2665
2662
  }), jsx("defs", {
2666
2663
  children: jsx("clipPath", {
2667
- id: "FolderCloudIcon_svg__a",
2668
2664
  children: jsx("path", {
2669
2665
  fill: "#fff",
2670
2666
  d: "M0 0h16v16H0z"
@@ -2751,7 +2747,6 @@ function SvgFontIcon(props) {
2751
2747
  })
2752
2748
  }), jsx("defs", {
2753
2749
  children: jsx("clipPath", {
2754
- id: "FontIcon_svg__a",
2755
2750
  children: jsx("path", {
2756
2751
  fill: "#fff",
2757
2752
  d: "M0 0h16v16H0z"
@@ -2862,7 +2857,6 @@ function SvgFunctionIcon(props) {
2862
2857
  })
2863
2858
  }), jsx("defs", {
2864
2859
  children: jsx("clipPath", {
2865
- id: "FunctionIcon_svg__a",
2866
2860
  children: jsx("path", {
2867
2861
  fill: "#fff",
2868
2862
  d: "M16 0H0v16h16z"
@@ -2927,7 +2921,6 @@ function SvgGearIcon(props) {
2927
2921
  })]
2928
2922
  }), jsx("defs", {
2929
2923
  children: jsx("clipPath", {
2930
- id: "GearIcon_svg__a",
2931
2924
  children: jsx("path", {
2932
2925
  fill: "#fff",
2933
2926
  d: "M0 0h16v16H0z"
@@ -3016,7 +3009,6 @@ function SvgGlobeIcon(props) {
3016
3009
  })
3017
3010
  }), jsx("defs", {
3018
3011
  children: jsx("clipPath", {
3019
- id: "GlobeIcon_svg__a",
3020
3012
  children: jsx("path", {
3021
3013
  fill: "#fff",
3022
3014
  d: "M0 16h16V0H0z"
@@ -3175,7 +3167,6 @@ function SvgHistoryIcon(props) {
3175
3167
  })]
3176
3168
  }), jsx("defs", {
3177
3169
  children: jsx("clipPath", {
3178
- id: "HistoryIcon_svg__a",
3179
3170
  children: jsx("path", {
3180
3171
  fill: "#fff",
3181
3172
  d: "M0 0h16v16H0z"
@@ -4030,7 +4021,6 @@ function SvgModelsIcon(props) {
4030
4021
  })
4031
4022
  }), jsx("defs", {
4032
4023
  children: jsx("clipPath", {
4033
- id: "ModelsIcon_svg__a",
4034
4024
  children: jsx("path", {
4035
4025
  fill: "#fff",
4036
4026
  d: "M0 0h16v16H0z"
@@ -4750,7 +4740,6 @@ function SvgQueryIcon(props) {
4750
4740
  })]
4751
4741
  }), jsx("defs", {
4752
4742
  children: jsx("clipPath", {
4753
- id: "QueryIcon_svg__a",
4754
4743
  children: jsx("path", {
4755
4744
  fill: "#fff",
4756
4745
  d: "M0 0h16v16H0z"
@@ -4900,7 +4889,6 @@ function SvgRedoIcon(props) {
4900
4889
  })
4901
4890
  }), jsx("defs", {
4902
4891
  children: jsx("clipPath", {
4903
- id: "RedoIcon_svg__a",
4904
4892
  children: jsx("path", {
4905
4893
  fill: "#fff",
4906
4894
  d: "M0 16h16V0H0z"
@@ -4971,6 +4959,42 @@ const RobotIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
4971
4959
  RobotIcon.displayName = 'RobotIcon';
4972
4960
  var RobotIcon$1 = RobotIcon;
4973
4961
 
4962
+ function SvgRunningIcon(props) {
4963
+ return jsxs("svg", {
4964
+ xmlns: "http://www.w3.org/2000/svg",
4965
+ width: "1em",
4966
+ height: "1em",
4967
+ fill: "none",
4968
+ viewBox: "0 0 16 16",
4969
+ ...props,
4970
+ children: [jsx("g", {
4971
+ clipPath: "url(#RunningIcon_svg__a)",
4972
+ children: jsx("path", {
4973
+ fill: "currentColor",
4974
+ fillRule: "evenodd",
4975
+ d: "M8 14.5A6.5 6.5 0 0 0 14.5 8H16a8 8 0 0 1-8 8v-1.5ZM0 8a8 8 0 0 1 8-8v1.5A6.5 6.5 0 0 0 1.5 8H0Z",
4976
+ clipRule: "evenodd"
4977
+ })
4978
+ }), jsx("defs", {
4979
+ children: jsx("clipPath", {
4980
+ children: jsx("path", {
4981
+ fill: "#fff",
4982
+ d: "M0 0h16v16H0z"
4983
+ })
4984
+ })
4985
+ })]
4986
+ });
4987
+ }
4988
+ const RunningIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
4989
+ return jsx(Icon, {
4990
+ ref: forwardedRef,
4991
+ ...props,
4992
+ component: SvgRunningIcon
4993
+ });
4994
+ });
4995
+ RunningIcon.displayName = 'RunningIcon';
4996
+ var RunningIcon$1 = RunningIcon;
4997
+
4974
4998
  function SvgSaveIcon(props) {
4975
4999
  return jsxs("svg", {
4976
5000
  xmlns: "http://www.w3.org/2000/svg",
@@ -5000,6 +5024,32 @@ const SaveIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
5000
5024
  SaveIcon.displayName = 'SaveIcon';
5001
5025
  var SaveIcon$1 = SaveIcon;
5002
5026
 
5027
+ function SvgSchemaIcon(props) {
5028
+ return jsx("svg", {
5029
+ xmlns: "http://www.w3.org/2000/svg",
5030
+ width: "1em",
5031
+ height: "1em",
5032
+ fill: "none",
5033
+ viewBox: "0 0 16 16",
5034
+ ...props,
5035
+ children: jsx("path", {
5036
+ fill: "#5F7281",
5037
+ fillRule: "evenodd",
5038
+ d: "M2.75 0A.75.75 0 0 0 2 .75v3a.75.75 0 0 0 .75.75h1v7a2.75 2.75 0 0 0 2.75 2.75H7v1c0 .414.336.75.75.75h5.5a.75.75 0 0 0 .75-.75v-3a.75.75 0 0 0-.75-.75h-5.5a.75.75 0 0 0-.75.75v.5h-.5c-.69 0-1.25-.56-1.25-1.25V8.45c.375.192.8.3 1.25.3H7v.75c0 .414.336.75.75.75h5.5A.75.75 0 0 0 14 9.5v-3a.75.75 0 0 0-.75-.75h-5.5A.75.75 0 0 0 7 6.5v.75h-.5c-.69 0-1.25-.56-1.25-1.25V4.5h8a.75.75 0 0 0 .75-.75v-3a.75.75 0 0 0-.75-.75H2.75Zm.75 3V1.5h9V3h-9Zm5 10v1.5h4V13h-4Zm0-4.25v-1.5h4v1.5h-4Z",
5039
+ clipRule: "evenodd"
5040
+ })
5041
+ });
5042
+ }
5043
+ const SchemaIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
5044
+ return jsx(Icon, {
5045
+ ref: forwardedRef,
5046
+ ...props,
5047
+ component: SvgSchemaIcon
5048
+ });
5049
+ });
5050
+ SchemaIcon.displayName = 'SchemaIcon';
5051
+ var SchemaIcon$1 = SchemaIcon;
5052
+
5003
5053
  function SvgSchoolIcon(props) {
5004
5054
  return jsx("svg", {
5005
5055
  xmlns: "http://www.w3.org/2000/svg",
@@ -5044,7 +5094,6 @@ function SvgSearchIcon(props) {
5044
5094
  })
5045
5095
  }), jsx("defs", {
5046
5096
  children: jsx("clipPath", {
5047
- id: "SearchIcon_svg__a",
5048
5097
  children: jsx("path", {
5049
5098
  fill: "#fff",
5050
5099
  d: "M0 0h16v16H0z"
@@ -5301,7 +5350,6 @@ function SvgSortAlphabeticalAscendingIcon(props) {
5301
5350
  })]
5302
5351
  }), jsx("defs", {
5303
5352
  children: jsx("clipPath", {
5304
- id: "SortAlphabeticalAscendingIcon_svg__a",
5305
5353
  children: jsx("path", {
5306
5354
  fill: "#fff",
5307
5355
  d: "M0 0h16v16H0z"
@@ -5340,7 +5388,6 @@ function SvgSortAlphabeticalDescendingIcon(props) {
5340
5388
  })]
5341
5389
  }), jsx("defs", {
5342
5390
  children: jsx("clipPath", {
5343
- id: "SortAlphabeticalDescendingIcon_svg__a",
5344
5391
  children: jsx("path", {
5345
5392
  fill: "#fff",
5346
5393
  d: "M0 0h16v16H0z"
@@ -5381,7 +5428,6 @@ function SvgSortAlphabeticalLeftIcon(props) {
5381
5428
  })]
5382
5429
  }), jsx("defs", {
5383
5430
  children: jsx("clipPath", {
5384
- id: "SortAlphabeticalLeftIcon_svg__a",
5385
5431
  children: jsx("path", {
5386
5432
  fill: "#fff",
5387
5433
  d: "M0 0h16v16H0z"
@@ -5422,7 +5468,6 @@ function SvgSortAlphabeticalRightIcon(props) {
5422
5468
  })]
5423
5469
  }), jsx("defs", {
5424
5470
  children: jsx("clipPath", {
5425
- id: "SortAlphabeticalRightIcon_svg__a",
5426
5471
  children: jsx("path", {
5427
5472
  fill: "#fff",
5428
5473
  d: "M0 0h16v16H0z"
@@ -5515,7 +5560,7 @@ const SortUnsortedIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
5515
5560
  SortUnsortedIcon.displayName = 'SortUnsortedIcon';
5516
5561
  var SortUnsortedIcon$1 = SortUnsortedIcon;
5517
5562
 
5518
- function SvgSparkleIcon(props) {
5563
+ function SvgSparkleIcon$1(props) {
5519
5564
  return jsx("svg", {
5520
5565
  xmlns: "http://www.w3.org/2000/svg",
5521
5566
  width: "1em",
@@ -5533,7 +5578,7 @@ const SparkleIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
5533
5578
  return jsx(Icon, {
5534
5579
  ref: forwardedRef,
5535
5580
  ...props,
5536
- component: SvgSparkleIcon
5581
+ component: SvgSparkleIcon$1
5537
5582
  });
5538
5583
  });
5539
5584
  SparkleIcon.displayName = 'SparkleIcon';
@@ -6136,7 +6181,6 @@ function SvgTableViewIcon(props) {
6136
6181
  })]
6137
6182
  }), jsx("defs", {
6138
6183
  children: jsx("clipPath", {
6139
- id: "TableViewIcon_svg__a",
6140
6184
  children: jsx("path", {
6141
6185
  fill: "#fff",
6142
6186
  d: "M0 0h16v16H0z"
@@ -6155,6 +6199,29 @@ const TableViewIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
6155
6199
  TableViewIcon.displayName = 'TableViewIcon';
6156
6200
  var TableViewIcon$1 = TableViewIcon;
6157
6201
 
6202
+ function SvgTagIcon(props) {
6203
+ return jsx("svg", {
6204
+ xmlns: "http://www.w3.org/2000/svg",
6205
+ width: "1em",
6206
+ height: "1em",
6207
+ viewBox: "0 -960 960 960",
6208
+ ...props,
6209
+ children: jsx("path", {
6210
+ fill: "currentColor",
6211
+ d: "M570-104q-23 23-57 23t-57-23L104-456q-11-11-17.5-26T80-514v-286q0-33 23.5-56.5T160-880h286q17 0 32 6.5t26 17.5l352 353q23 23 23 56.5T856-390L570-104Zm-57-56 286-286-353-354H160v286l353 354ZM260-640q25 0 42.5-17.5T320-700q0-25-17.5-42.5T260-760q-25 0-42.5 17.5T200-700q0 25 17.5 42.5T260-640ZM160-800Z"
6212
+ })
6213
+ });
6214
+ }
6215
+ const TagIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
6216
+ return jsx(Icon, {
6217
+ ref: forwardedRef,
6218
+ ...props,
6219
+ component: SvgTagIcon
6220
+ });
6221
+ });
6222
+ TagIcon.displayName = 'TagIcon';
6223
+ var TagIcon$1 = TagIcon;
6224
+
6158
6225
  function SvgTargetIcon(props) {
6159
6226
  return jsx("svg", {
6160
6227
  xmlns: "http://www.w3.org/2000/svg",
@@ -6223,7 +6290,6 @@ function SvgThumbsDownIcon(props) {
6223
6290
  })
6224
6291
  }), jsx("defs", {
6225
6292
  children: jsx("clipPath", {
6226
- id: "ThumbsDownIcon_svg__a",
6227
6293
  children: jsx("path", {
6228
6294
  fill: "#fff",
6229
6295
  d: "M0 0h16v16H0z"
@@ -6260,7 +6326,6 @@ function SvgThumbsUpIcon(props) {
6260
6326
  })
6261
6327
  }), jsx("defs", {
6262
6328
  children: jsx("clipPath", {
6263
- id: "ThumbsUpIcon_svg__a",
6264
6329
  children: jsx("path", {
6265
6330
  fill: "#fff",
6266
6331
  d: "M0 0h16v16H0z"
@@ -6373,7 +6438,6 @@ function SvgUndoIcon(props) {
6373
6438
  })
6374
6439
  }), jsx("defs", {
6375
6440
  children: jsx("clipPath", {
6376
- id: "UndoIcon_svg__a",
6377
6441
  children: jsx("path", {
6378
6442
  fill: "#fff",
6379
6443
  d: "M16 16H0V0h16z"
@@ -6528,7 +6592,7 @@ const UserGroupIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
6528
6592
  UserGroupIcon.displayName = 'UserGroupIcon';
6529
6593
  var UserGroupIcon$1 = UserGroupIcon;
6530
6594
 
6531
- function SvgUserIcon(props) {
6595
+ function SvgUserIcon$1(props) {
6532
6596
  return jsx("svg", {
6533
6597
  xmlns: "http://www.w3.org/2000/svg",
6534
6598
  width: "1em",
@@ -6548,7 +6612,7 @@ const UserIcon = /*#__PURE__*/forwardRef((props, forwardedRef) => {
6548
6612
  return jsx(Icon, {
6549
6613
  ref: forwardedRef,
6550
6614
  ...props,
6551
- component: SvgUserIcon
6615
+ component: SvgUserIcon$1
6552
6616
  });
6553
6617
  });
6554
6618
  UserIcon.displayName = 'UserIcon';
@@ -6629,7 +6693,6 @@ function SvgVisibleIcon(props) {
6629
6693
  })]
6630
6694
  }), jsx("defs", {
6631
6695
  children: jsx("clipPath", {
6632
- id: "VisibleIcon_svg__a",
6633
6696
  children: jsx("path", {
6634
6697
  fill: "#fff",
6635
6698
  d: "M0 0h16v16H0z"
@@ -6670,7 +6733,6 @@ function SvgVisibleOffIcon(props) {
6670
6733
  })]
6671
6734
  }), jsx("defs", {
6672
6735
  children: jsx("clipPath", {
6673
- id: "VisibleOffIcon_svg__a",
6674
6736
  children: jsx("path", {
6675
6737
  fill: "#fff",
6676
6738
  d: "M0 0h16v16H0z"
@@ -7233,6 +7295,190 @@ const AutoComplete = /* #__PURE__ */(() => {
7233
7295
  return AutoComplete;
7234
7296
  })();
7235
7297
 
7298
+ function SvgDatabricksIcon(props) {
7299
+ return jsxs("svg", {
7300
+ viewBox: "0 0 24 24",
7301
+ xmlns: "http://www.w3.org/2000/svg",
7302
+ ...props,
7303
+ children: [jsx("rect", {
7304
+ width: "24",
7305
+ height: "24",
7306
+ fill: "#FF3621"
7307
+ }), jsx("path", {
7308
+ d: "m18.8 10.515-6.8228 3.945-7.3059-4.215-0.35138 0.195v3.06l7.6573 4.41 6.8228-3.93v1.62l-6.8228 3.945-7.3059-4.215-0.35138 0.195v0.525l7.6573 4.41 7.6427-4.41v-3.06l-0.3514-0.195-7.2913 4.2-6.8374-3.93v-1.62l6.8374 3.93 7.6427-4.41v-3.015l-0.3807-0.225-7.262 4.185-6.486-3.72 6.486-3.735 5.3294 3.075 0.4685-0.27v-0.375l-5.7979-3.345-7.6573 4.41v0.48l7.6573 4.41 6.8228-3.945v1.62z",
7309
+ fill: "#fff"
7310
+ })]
7311
+ });
7312
+ }
7313
+
7314
+ function SvgSparkleIcon(props) {
7315
+ return jsxs("svg", {
7316
+ xmlns: "http://www.w3.org/2000/svg",
7317
+ width: "24",
7318
+ height: "24",
7319
+ fill: "none",
7320
+ viewBox: "0 0 24 24",
7321
+ ...props,
7322
+ children: [jsx("path", {
7323
+ fill: "#5F7281",
7324
+ d: "M0 4a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z"
7325
+ }), jsx("path", {
7326
+ fill: "#E8ECF0",
7327
+ d: "M12 5c.42 0 .782.3.86.713l.308 1.631a4.375 4.375 0 0 0 3.488 3.488l1.631.308a.875.875 0 0 1 0 1.72l-1.631.308a4.375 4.375 0 0 0-3.488 3.488l-.308 1.631a.875.875 0 0 1-1.72 0l-.308-1.631a4.375 4.375 0 0 0-3.488-3.488l-1.631-.308a.875.875 0 0 1 0-1.72l1.631-.308a4.375 4.375 0 0 0 3.488-3.488l.308-1.631A.875.875 0 0 1 12 5Zm0 4.296A6.13 6.13 0 0 1 9.296 12 6.131 6.131 0 0 1 12 14.704 6.131 6.131 0 0 1 14.704 12 6.131 6.131 0 0 1 12 9.296Z"
7328
+ })]
7329
+ });
7330
+ }
7331
+
7332
+ function SvgUserIcon(props) {
7333
+ return jsx("svg", {
7334
+ xmlns: "http://www.w3.org/2000/svg",
7335
+ width: "24",
7336
+ height: "22",
7337
+ fill: "none",
7338
+ viewBox: "0 0 24 22",
7339
+ ...props,
7340
+ children: jsx("path", {
7341
+ fill: "#5F7281",
7342
+ d: "M12 1.5a4.875 4.875 0 1 0 0 9.75 4.875 4.875 0 0 0 0-9.75Zm0 12c-4.15 0-7.85 1.927-10.253 4.93-.16.2-.247.448-.247.704v2.241c0 .621.504 1.125 1.125 1.125h18.75c.621 0 1.125-.504 1.125-1.125v-2.241c0-.256-.087-.504-.247-.703A13.103 13.103 0 0 0 12 13.5Z"
7343
+ })
7344
+ });
7345
+ }
7346
+
7347
+ function getAvatarEmotionStyles(theme) {
7348
+ return {
7349
+ abbr: {
7350
+ color: theme.colors.textSecondary,
7351
+ textDecoration: 'none'
7352
+ },
7353
+ container: {
7354
+ alignItems: 'center',
7355
+ display: 'flex',
7356
+ gap: theme.spacing.sm
7357
+ },
7358
+ default: {
7359
+ height: theme.spacing.lg,
7360
+ width: theme.spacing.lg
7361
+ },
7362
+ icon: {
7363
+ alignItems: 'center',
7364
+ backgroundColor: theme.colors.tagDefault,
7365
+ display: 'flex',
7366
+ justifyContent: 'center'
7367
+ },
7368
+ img: {
7369
+ objectFit: 'cover',
7370
+ objectPosition: 'center'
7371
+ },
7372
+ system: {
7373
+ borderRadius: theme.borders.borderRadiusMd,
7374
+ overflow: 'hidden'
7375
+ },
7376
+ user: {
7377
+ borderRadius: '100%',
7378
+ overflow: 'hidden'
7379
+ },
7380
+ userIcon: {
7381
+ alignItems: 'flex-end'
7382
+ }
7383
+ };
7384
+ }
7385
+ function AvatarImg(props) {
7386
+ const {
7387
+ theme
7388
+ } = useDesignSystemTheme();
7389
+ const styles = getAvatarEmotionStyles(theme);
7390
+ switch (props.type) {
7391
+ case 'entity':
7392
+ if ('src' in props && props.src) {
7393
+ return jsx("img", {
7394
+ css: [styles.default, styles.img, styles.system, process.env.NODE_ENV === "production" ? "" : ";label:AvatarImg;"],
7395
+ src: props.src,
7396
+ alt: props.label
7397
+ });
7398
+ } else if ('icon' in props && props.icon) {
7399
+ return jsx("div", {
7400
+ css: [styles.default, styles.system, styles.icon, process.env.NODE_ENV === "production" ? "" : ";label:AvatarImg;"],
7401
+ role: "img",
7402
+ "aria-label": props.label,
7403
+ children: props.icon
7404
+ });
7405
+ }
7406
+ return jsx("div", {
7407
+ css: [styles.default, styles.system, styles.icon, process.env.NODE_ENV === "production" ? "" : ";label:AvatarImg;"],
7408
+ role: "img",
7409
+ "aria-label": props.label,
7410
+ children: jsx(SvgSparkleIcon, {})
7411
+ });
7412
+ case 'user':
7413
+ if ('label' in props && props.label.trim()) {
7414
+ if (props.src) {
7415
+ return jsx("img", {
7416
+ css: [styles.default, styles.img, styles.user, process.env.NODE_ENV === "production" ? "" : ";label:AvatarImg;"],
7417
+ src: props.src,
7418
+ alt: props.label
7419
+ });
7420
+ } else if (props.icon) {
7421
+ return jsx("div", {
7422
+ css: [styles.default, styles.user, styles.icon, process.env.NODE_ENV === "production" ? "" : ";label:AvatarImg;"],
7423
+ role: "img",
7424
+ "aria-label": props.label,
7425
+ children: props.icon
7426
+ });
7427
+ }
7428
+ // display first initial of name when no image / icon is provided
7429
+ return jsx("div", {
7430
+ css: [styles.default, styles.user, styles.icon, process.env.NODE_ENV === "production" ? "" : ";label:AvatarImg;"],
7431
+ children: jsx("abbr", {
7432
+ css: styles.abbr,
7433
+ title: props.label.substring(0, 1),
7434
+ children: props.label.substring(0, 1)
7435
+ })
7436
+ });
7437
+ }
7438
+
7439
+ // default to user icon when no user info is provided
7440
+ return jsx("div", {
7441
+ css: [styles.default, styles.user, styles.icon, styles.userIcon, process.env.NODE_ENV === "production" ? "" : ";label:AvatarImg;"],
7442
+ role: "img",
7443
+ "aria-label": "user",
7444
+ children: jsx(SvgUserIcon, {})
7445
+ });
7446
+ }
7447
+ }
7448
+ function Avatar(props) {
7449
+ const {
7450
+ theme
7451
+ } = useDesignSystemTheme();
7452
+ const styles = getAvatarEmotionStyles(theme);
7453
+ if ('displayLabel' in props && props.displayLabel) {
7454
+ return jsxs("div", {
7455
+ css: styles.container,
7456
+ children: [jsx(AvatarImg, {
7457
+ ...props
7458
+ }), jsxs("div", {
7459
+ children: [jsx(Typography.Text, {
7460
+ bold: !Boolean(props.caption),
7461
+ children: props.label
7462
+ }), Boolean(props.caption) && jsx(Typography.Hint, {
7463
+ children: props.caption
7464
+ })]
7465
+ })]
7466
+ });
7467
+ }
7468
+ return jsx(AvatarImg, {
7469
+ ...props
7470
+ });
7471
+ }
7472
+ function DBAssistantAvatar(props) {
7473
+ return jsx(Avatar, {
7474
+ type: "entity",
7475
+ label: "Assistant",
7476
+ caption: props.caption,
7477
+ displayLabel: props.displayLabel,
7478
+ icon: jsx(SvgDatabricksIcon, {})
7479
+ });
7480
+ }
7481
+
7236
7482
  const Breadcrumb = /* #__PURE__ */(() => {
7237
7483
  const Breadcrumb = _ref => {
7238
7484
  let {
@@ -7634,6 +7880,7 @@ const Table = /*#__PURE__*/forwardRef(function Table(_ref, ref) {
7634
7880
  } = useDesignSystemTheme();
7635
7881
  const [shouldBeFocusable, setShouldBeFocusable] = useState(false);
7636
7882
  const tableContentRef = useRef(null);
7883
+ const useReflowWrapStyles = safex('databricks.fe.wexp.enableReflowWrapStyles', false);
7637
7884
  useImperativeHandle(ref, () => tableContentRef.current);
7638
7885
  useEffect(() => {
7639
7886
  const ref = tableContentRef.current;
@@ -7671,7 +7918,9 @@ const Table = /*#__PURE__*/forwardRef(function Table(_ref, ref) {
7671
7918
  ['--table-spacing-sm']: `${theme.spacing.sm}px`,
7672
7919
  ['--table-spacing-xs']: `${theme.spacing.xs}px`
7673
7920
  },
7674
- css: tableStyles$1.tableWrapper,
7921
+ css: [tableStyles$1.tableWrapper, /*#__PURE__*/css(useReflowWrapStyles && {
7922
+ minHeight: !empty && pagination ? 150 : 100
7923
+ }, process.env.NODE_ENV === "production" ? "" : ";label:Table;"), process.env.NODE_ENV === "production" ? "" : ";label:Table;"],
7675
7924
  className: classnames({
7676
7925
  'table-isScrollable': scrollable,
7677
7926
  'table-isGrid': grid
@@ -8280,7 +8529,7 @@ const DuboisCheckbox = /*#__PURE__*/forwardRef(function Checkbox(_ref2, ref) {
8280
8529
  indeterminate: isChecked === null
8281
8530
  // Individual checkboxes don't depend on isHorizontal flag, orientation and spacing is handled by end users
8282
8531
  ,
8283
- css: /*#__PURE__*/css(importantify(getCheckboxEmotionStyles(clsPrefix, theme, false)), process.env.NODE_ENV === "production" ? "" : ";label:DuboisCheckbox;"),
8532
+ css: /*#__PURE__*/css(importantify(getCheckboxEmotionStyles(clsPrefix, theme, false)), process.env.NODE_ENV === "production" ? "" : ";label:Checkbox;"),
8284
8533
  style: style,
8285
8534
  "aria-checked": isChecked === null ? 'mixed' : isChecked,
8286
8535
  ...restProps,
@@ -8355,8 +8604,7 @@ const Tooltip = _ref => {
8355
8604
  'aria-relevant': 'additions'
8356
8605
  };
8357
8606
  if (dataTestId) {
8358
- // TODO FEINF-1337 - this should turn into data-testid
8359
- titleProps['data-test-id'] = dataTestId;
8607
+ titleProps['data-testid'] = dataTestId;
8360
8608
  }
8361
8609
  const liveTitle = title && /*#__PURE__*/React__default.isValidElement(title) ? /*#__PURE__*/React__default.cloneElement(title, titleProps) : jsx("span", {
8362
8610
  ...titleProps,
@@ -8441,6 +8689,56 @@ const InfoTooltip = _ref => {
8441
8689
  });
8442
8690
  };
8443
8691
 
8692
+ const infoIconStyles = theme => ({
8693
+ display: 'inline-flex',
8694
+ paddingLeft: theme.spacing.xs,
8695
+ color: theme.colors.textSecondary,
8696
+ pointerEvents: 'all'
8697
+ });
8698
+ const getNewChildren = (children, props, disabledReason, ref) => {
8699
+ const childCount = Children.count(children);
8700
+ const tooltip = jsx(Tooltip, {
8701
+ title: disabledReason,
8702
+ placement: "right",
8703
+ dangerouslySetAntdProps: {
8704
+ getPopupContainer: () => ref.current || document.body
8705
+ },
8706
+ children: jsx("span", {
8707
+ css: theme => infoIconStyles(theme),
8708
+ onClick: e => {
8709
+ if (props.disabled) {
8710
+ e.stopPropagation();
8711
+ }
8712
+ },
8713
+ children: jsx(InfoIcon$1, {
8714
+ role: "presentation",
8715
+ alt: "Disabled state reason",
8716
+ "aria-hidden": "false"
8717
+ })
8718
+ })
8719
+ });
8720
+ if (childCount === 1) {
8721
+ return getChild(children, Boolean(props['disabled']), disabledReason, tooltip, 0, childCount);
8722
+ }
8723
+ return Children.map(children, (child, idx) => {
8724
+ return getChild(child, Boolean(props['disabled']), disabledReason, tooltip, idx, childCount);
8725
+ });
8726
+ };
8727
+ const getChild = (child, isDisabled, disabledReason, tooltip, index, siblingCount) => {
8728
+ const HintColumnType = jsx(HintColumn, {}).type;
8729
+ const isHintColumnType = Boolean(child && typeof child !== 'string' && typeof child !== 'number' && typeof child !== 'boolean' && 'type' in child && (child === null || child === void 0 ? void 0 : child.type) === HintColumnType);
8730
+ if (isDisabled && disabledReason && child && isHintColumnType) {
8731
+ return jsxs(Fragment, {
8732
+ children: [tooltip, child]
8733
+ });
8734
+ } else if (index === siblingCount - 1 && isDisabled && disabledReason) {
8735
+ return jsxs(Fragment, {
8736
+ children: [child, tooltip]
8737
+ });
8738
+ }
8739
+ return child;
8740
+ };
8741
+
8444
8742
  const Root$5 = DropdownMenu$1.Root; // Behavioral component only
8445
8743
 
8446
8744
  const Content$5 = /*#__PURE__*/forwardRef(function Content(_ref, ref) {
@@ -8491,14 +8789,69 @@ const SubContent$1 = /*#__PURE__*/forwardRef(function Content(_ref2, ref) {
8491
8789
  const {
8492
8790
  getPopupContainer
8493
8791
  } = useDesignSystemContext();
8792
+ const [contentFitsInViewport, setContentFitsInViewport] = React__default.useState(true);
8793
+ const [dataSide, setDataSide] = React__default.useState(null);
8794
+ const {
8795
+ isOpen
8796
+ } = useSubContext();
8797
+ const useResponsiveDropdownPosition = safex('databricks.fe.designsystem.useResponsiveDropdownPosition', false);
8798
+ const elemRef = useRef(null);
8799
+ useImperativeHandle(ref, () => elemRef.current);
8800
+ const checkAvailableWidth = useCallback(() => {
8801
+ if (useResponsiveDropdownPosition) {
8802
+ if (elemRef.current) {
8803
+ const elemStyle = getComputedStyle(elemRef.current);
8804
+ const availableWidth = parseFloat(elemStyle.getPropertyValue('--radix-dropdown-menu-content-available-width'));
8805
+ const elemWidth = elemRef.current.offsetWidth;
8806
+ const openOnSide = elemRef.current.getAttribute('data-side');
8807
+ if (openOnSide === 'left' || openOnSide === 'right') {
8808
+ setDataSide(openOnSide);
8809
+ } else {
8810
+ setDataSide(null);
8811
+ }
8812
+ if (availableWidth < elemWidth) {
8813
+ setContentFitsInViewport(false);
8814
+ } else {
8815
+ setContentFitsInViewport(true);
8816
+ }
8817
+ }
8818
+ }
8819
+ }, [useResponsiveDropdownPosition]);
8820
+ useEffect(() => {
8821
+ if (useResponsiveDropdownPosition) {
8822
+ window.addEventListener('resize', checkAvailableWidth);
8823
+ checkAvailableWidth();
8824
+ return () => {
8825
+ window.removeEventListener('resize', checkAvailableWidth);
8826
+ };
8827
+ }
8828
+ return;
8829
+ }, [useResponsiveDropdownPosition, checkAvailableWidth]);
8830
+ useEffect(() => {
8831
+ if (useResponsiveDropdownPosition) {
8832
+ if (isOpen) {
8833
+ setTimeout(() => {
8834
+ checkAvailableWidth();
8835
+ }, 25);
8836
+ }
8837
+ }
8838
+ }, [isOpen, useResponsiveDropdownPosition, checkAvailableWidth]);
8839
+ let transformCalc = `calc(var(--radix-dropdown-menu-content-available-width) + var(--radix-dropdown-menu-trigger-width) * -1)`;
8840
+ if (dataSide === 'left') {
8841
+ transformCalc = `calc(var(--radix-dropdown-menu-trigger-width) - var(--radix-dropdown-menu-content-available-width))`;
8842
+ }
8843
+ const responsiveCss = `
8844
+ transform-origin: var(--radix-dropdown-menu-content-transform-origin) !important;
8845
+ transform: translateX(${transformCalc}) !important;
8846
+ `;
8494
8847
  return jsx(DropdownMenu$1.Portal, {
8495
8848
  container: getPopupContainer && getPopupContainer(),
8496
8849
  children: jsx(DropdownMenu$1.SubContent, {
8497
- ref: ref,
8850
+ ref: elemRef,
8498
8851
  loop: true,
8499
8852
  css: [contentStyles$1, {
8500
8853
  minWidth
8501
- }, process.env.NODE_ENV === "production" ? "" : ";label:SubContent;"],
8854
+ }, useResponsiveDropdownPosition ? contentFitsInViewport ? '' : responsiveCss : '', process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
8502
8855
  sideOffset: -2,
8503
8856
  alignOffset: -5,
8504
8857
  ...props,
@@ -8584,7 +8937,7 @@ const SubTrigger$1 = /*#__PURE__*/forwardRef(function TriggerItem(_ref7, ref) {
8584
8937
  '&[data-state="open"]': {
8585
8938
  backgroundColor: theme.colors.actionTertiaryBackgroundHover
8586
8939
  }
8587
- }), process.env.NODE_ENV === "production" ? "" : ";label:SubTrigger;"],
8940
+ }), process.env.NODE_ENV === "production" ? "" : ";label:TriggerItem;"],
8588
8941
  ...props,
8589
8942
  children: [getNewChildren(children, props, disabledReason, subTriggerRef), jsx(HintColumn, {
8590
8943
  css: theme => ({
@@ -8687,18 +9040,44 @@ const RadioItem$1 = /*#__PURE__*/forwardRef(function RadioItem(_ref11, ref) {
8687
9040
  children: getNewChildren(children, props, disabledReason, radioItemRef)
8688
9041
  });
8689
9042
  });
9043
+ const SubContext = /*#__PURE__*/createContext({
9044
+ isOpen: false
9045
+ });
9046
+ const useSubContext = () => React__default.useContext(SubContext);
9047
+ const Sub$1 = _ref12 => {
9048
+ var _props$defaultOpen;
9049
+ let {
9050
+ children,
9051
+ onOpenChange,
9052
+ ...props
9053
+ } = _ref12;
9054
+ const [isOpen, setIsOpen] = React__default.useState((_props$defaultOpen = props.defaultOpen) !== null && _props$defaultOpen !== void 0 ? _props$defaultOpen : false);
9055
+ const handleOpenChange = isOpen => {
9056
+ onOpenChange === null || onOpenChange === void 0 || onOpenChange(isOpen);
9057
+ setIsOpen(isOpen);
9058
+ };
9059
+ return jsx(DropdownMenu$1.Sub, {
9060
+ onOpenChange: handleOpenChange,
9061
+ ...props,
9062
+ children: jsx(SubContext.Provider, {
9063
+ value: {
9064
+ isOpen
9065
+ },
9066
+ children: children
9067
+ })
9068
+ });
9069
+ };
8690
9070
 
8691
9071
  // UNWRAPPED RADIX-UI-COMPONENTS
8692
9072
  const Group$2 = DropdownMenu$1.Group;
8693
9073
  const RadioGroup$1 = DropdownMenu$1.RadioGroup;
8694
- const Sub$1 = DropdownMenu$1.Sub;
8695
9074
 
8696
9075
  // EXTRA COMPONENTS
8697
- const HintColumn = /*#__PURE__*/forwardRef(function HintColumn(_ref12, ref) {
9076
+ const HintColumn = /*#__PURE__*/forwardRef(function HintColumn(_ref13, ref) {
8698
9077
  let {
8699
9078
  children,
8700
9079
  ...props
8701
- } = _ref12;
9080
+ } = _ref13;
8702
9081
  return jsx("div", {
8703
9082
  ref: ref,
8704
9083
  css: [metaTextStyles, "margin-left:auto;" + (process.env.NODE_ENV === "production" ? "" : ";label:HintColumn;")],
@@ -8706,11 +9085,11 @@ const HintColumn = /*#__PURE__*/forwardRef(function HintColumn(_ref12, ref) {
8706
9085
  children: children
8707
9086
  });
8708
9087
  });
8709
- const HintRow$1 = /*#__PURE__*/forwardRef(function HintRow(_ref13, ref) {
9088
+ const HintRow$1 = /*#__PURE__*/forwardRef(function HintRow(_ref14, ref) {
8710
9089
  let {
8711
9090
  children,
8712
9091
  ...props
8713
- } = _ref13;
9092
+ } = _ref14;
8714
9093
  return jsx("div", {
8715
9094
  ref: ref,
8716
9095
  css: [metaTextStyles, "min-width:100%;" + (process.env.NODE_ENV === "production" ? "" : ";label:HintRow;")],
@@ -8718,11 +9097,11 @@ const HintRow$1 = /*#__PURE__*/forwardRef(function HintRow(_ref13, ref) {
8718
9097
  children: children
8719
9098
  });
8720
9099
  });
8721
- const IconWrapper = /*#__PURE__*/forwardRef(function IconWrapper(_ref14, ref) {
9100
+ const IconWrapper = /*#__PURE__*/forwardRef(function IconWrapper(_ref15, ref) {
8722
9101
  let {
8723
9102
  children,
8724
9103
  ...props
8725
- } = _ref14;
9104
+ } = _ref15;
8726
9105
  return jsx("div", {
8727
9106
  ref: ref,
8728
9107
  css: theme => ({
@@ -8734,44 +9113,6 @@ const IconWrapper = /*#__PURE__*/forwardRef(function IconWrapper(_ref14, ref) {
8734
9113
  children: children
8735
9114
  });
8736
9115
  });
8737
- const getNewChildren = (children, props, disabledReason, ref) => {
8738
- const childCount = Children.count(children);
8739
- const tooltip = jsx(Tooltip, {
8740
- title: disabledReason,
8741
- placement: "right",
8742
- dangerouslySetAntdProps: {
8743
- getPopupContainer: () => ref.current || document.body
8744
- },
8745
- children: jsx("span", {
8746
- css: theme => infoIconStyles(theme),
8747
- children: jsx(InfoIcon$1, {
8748
- role: "presentation",
8749
- alt: "Disabled state reason",
8750
- "aria-hidden": "false"
8751
- })
8752
- })
8753
- });
8754
- if (childCount === 1) {
8755
- return getChild(children, Boolean(props['disabled']), disabledReason, tooltip, 0, childCount);
8756
- }
8757
- return Children.map(children, (child, idx) => {
8758
- return getChild(child, Boolean(props['disabled']), disabledReason, tooltip, idx, childCount);
8759
- });
8760
- };
8761
- const getChild = (child, isDisabled, disabledReason, tooltip, index, siblingCount) => {
8762
- const HintColumnType = jsx(HintColumn, {}).type;
8763
- const isHintColumnType = Boolean(child && typeof child !== 'string' && typeof child !== 'number' && typeof child !== 'boolean' && 'type' in child && (child === null || child === void 0 ? void 0 : child.type) === HintColumnType);
8764
- if (isDisabled && disabledReason && child && isHintColumnType) {
8765
- return jsxs(Fragment, {
8766
- children: [tooltip, child]
8767
- });
8768
- } else if (index === siblingCount - 1 && isDisabled && disabledReason) {
8769
- return jsxs(Fragment, {
8770
- children: [child, tooltip]
8771
- });
8772
- }
8773
- return child;
8774
- };
8775
9116
 
8776
9117
  // CONSTANTS
8777
9118
  const CONSTANTS$1 = {
@@ -8866,12 +9207,6 @@ const dangerItemStyles = theme => ({
8866
9207
  backgroundColor: theme.colors.actionDangerDefaultBackgroundHover
8867
9208
  }
8868
9209
  });
8869
- const infoIconStyles = theme => ({
8870
- display: 'inline-flex',
8871
- paddingLeft: theme.spacing.xs,
8872
- color: theme.colors.textSecondary,
8873
- pointerEvents: 'all'
8874
- });
8875
9210
  const checkboxItemStyles = theme => ({
8876
9211
  position: 'relative',
8877
9212
  paddingLeft: CONSTANTS$1.checkboxIconWidth(theme) + CONSTANTS$1.checkboxPaddingLeft(theme) + CONSTANTS$1.checkboxPaddingRight(theme)
@@ -8925,15 +9260,21 @@ const Sub = ContextMenuSub;
8925
9260
  const SubTrigger = _ref => {
8926
9261
  let {
8927
9262
  children,
9263
+ disabledReason,
9264
+ withChevron,
8928
9265
  ...props
8929
9266
  } = _ref;
8930
9267
  const {
8931
9268
  theme
8932
9269
  } = useDesignSystemTheme();
8933
- return jsx(ContextMenuSubTrigger, {
9270
+ const ref = useRef(null);
9271
+ return jsxs(ContextMenuSubTrigger, {
8934
9272
  ...props,
8935
9273
  css: dropdownItemStyles(theme),
8936
- children: children
9274
+ ref: ref,
9275
+ children: [getNewChildren(children, props, disabledReason, ref), withChevron && jsx(ContextMenu.Hint, {
9276
+ children: jsx(ChevronRightIcon, {})
9277
+ })]
8937
9278
  });
8938
9279
  };
8939
9280
  const Content$4 = _ref2 => {
@@ -8985,28 +9326,34 @@ const SubContent = _ref3 => {
8985
9326
  const Item = _ref4 => {
8986
9327
  let {
8987
9328
  children,
9329
+ disabledReason,
8988
9330
  ...props
8989
9331
  } = _ref4;
8990
9332
  const {
8991
9333
  theme
8992
9334
  } = useDesignSystemTheme();
9335
+ const ref = useRef(null);
8993
9336
  return jsx(ContextMenuItem, {
8994
9337
  ...props,
8995
9338
  css: dropdownItemStyles(theme),
8996
- children: children
9339
+ ref: ref,
9340
+ children: getNewChildren(children, props, disabledReason, ref)
8997
9341
  });
8998
9342
  };
8999
9343
  const CheckboxItem = _ref5 => {
9000
9344
  let {
9001
9345
  children,
9346
+ disabledReason,
9002
9347
  ...props
9003
9348
  } = _ref5;
9004
9349
  const {
9005
9350
  theme
9006
9351
  } = useDesignSystemTheme();
9352
+ const ref = useRef(null);
9007
9353
  return jsxs(ContextMenuCheckboxItem, {
9008
9354
  ...props,
9009
9355
  css: dropdownItemStyles(theme),
9356
+ ref: ref,
9010
9357
  children: [jsx(ContextMenuItemIndicator, {
9011
9358
  css: itemIndicatorStyles(theme),
9012
9359
  children: jsx(CheckIcon, {})
@@ -9014,17 +9361,19 @@ const CheckboxItem = _ref5 => {
9014
9361
  style: {
9015
9362
  width: theme.general.iconFontSize + theme.spacing.xs
9016
9363
  }
9017
- }), children]
9364
+ }), getNewChildren(children, props, disabledReason, ref)]
9018
9365
  });
9019
9366
  };
9020
9367
  const RadioItem = _ref6 => {
9021
9368
  let {
9022
9369
  children,
9370
+ disabledReason,
9023
9371
  ...props
9024
9372
  } = _ref6;
9025
9373
  const {
9026
9374
  theme
9027
9375
  } = useDesignSystemTheme();
9376
+ const ref = useRef(null);
9028
9377
  return jsxs(ContextMenuRadioItem, {
9029
9378
  ...props,
9030
9379
  css: [dropdownItemStyles(theme), {
@@ -9032,10 +9381,11 @@ const RadioItem = _ref6 => {
9032
9381
  paddingLeft: theme.general.iconFontSize + theme.spacing.xs + theme.spacing.sm
9033
9382
  }
9034
9383
  }, process.env.NODE_ENV === "production" ? "" : ";label:RadioItem;"],
9384
+ ref: ref,
9035
9385
  children: [jsx(ContextMenuItemIndicator, {
9036
9386
  css: itemIndicatorStyles(theme),
9037
9387
  children: jsx(CheckIcon, {})
9038
- }), children]
9388
+ }), getNewChildren(children, props, disabledReason, ref)]
9039
9389
  });
9040
9390
  };
9041
9391
  const Label$1 = _ref7 => {
@@ -9168,20 +9518,48 @@ function useDatePickerStyles() {
9168
9518
  const clsPrefix = getPrefixedClassName('picker');
9169
9519
  return getEmotionStyles(clsPrefix, theme);
9170
9520
  }
9521
+ const AccessibilityWrapper = _ref => {
9522
+ let {
9523
+ children,
9524
+ ariaLive = 'assertive',
9525
+ ...restProps
9526
+ } = _ref;
9527
+ const ref = useRef(null);
9528
+ useEffect(() => {
9529
+ if (ref.current) {
9530
+ const inputs = ref.current.querySelectorAll('.du-bois-light-picker-input > input');
9531
+ inputs.forEach(input => input.setAttribute('aria-live', ariaLive));
9532
+ }
9533
+ }, [ref, ariaLive]);
9534
+ return jsx("div", {
9535
+ ...restProps,
9536
+ ref: ref,
9537
+ children: children
9538
+ });
9539
+ };
9171
9540
  const DuboisDatePicker = /*#__PURE__*/forwardRef((props, ref) => {
9172
9541
  const styles = useDatePickerStyles();
9173
9542
  const {
9174
9543
  theme
9175
9544
  } = useDesignSystemTheme();
9545
+ const {
9546
+ ariaLive,
9547
+ wrapperDivProps,
9548
+ ...restProps
9549
+ } = props;
9176
9550
  return jsx(DesignSystemAntDConfigProvider, {
9177
- children: jsx(DatePicker, {
9178
- css: styles,
9179
- ref: ref,
9180
- ...props,
9181
- popupStyle: {
9182
- ...getDropdownStyles$1(theme),
9183
- ...(props.popupStyle || {})
9184
- }
9551
+ children: jsx(AccessibilityWrapper, {
9552
+ ...wrapperDivProps,
9553
+ ariaLive: ariaLive,
9554
+ children: jsx(DatePicker, {
9555
+ css: styles,
9556
+ ref: ref,
9557
+ ...restProps,
9558
+ popupStyle: {
9559
+ ...getDropdownStyles$1(theme),
9560
+ ...(props.popupStyle || {})
9561
+ }
9562
+ })
9185
9563
  })
9186
9564
  });
9187
9565
  });
@@ -9190,15 +9568,24 @@ const RangePicker = /*#__PURE__*/forwardRef((props, ref) => {
9190
9568
  const {
9191
9569
  theme
9192
9570
  } = useDesignSystemTheme();
9571
+ const {
9572
+ ariaLive,
9573
+ wrapperDivProps,
9574
+ ...restProps
9575
+ } = props;
9193
9576
  return jsx(DesignSystemAntDConfigProvider, {
9194
- children: jsx(DatePicker.RangePicker, {
9195
- css: styles,
9196
- ...props,
9197
- ref: ref,
9198
- popupStyle: {
9199
- ...getDropdownStyles$1(theme),
9200
- ...(props.popupStyle || {})
9201
- }
9577
+ children: jsx(AccessibilityWrapper, {
9578
+ ...wrapperDivProps,
9579
+ ariaLive: ariaLive,
9580
+ children: jsx(DatePicker.RangePicker, {
9581
+ css: styles,
9582
+ ...restProps,
9583
+ ref: ref,
9584
+ popupStyle: {
9585
+ ...getDropdownStyles$1(theme),
9586
+ ...(props.popupStyle || {})
9587
+ }
9588
+ })
9202
9589
  })
9203
9590
  });
9204
9591
  });
@@ -9207,15 +9594,24 @@ const TimePicker = /*#__PURE__*/forwardRef((props, ref) => {
9207
9594
  const {
9208
9595
  theme
9209
9596
  } = useDesignSystemTheme();
9597
+ const {
9598
+ ariaLive,
9599
+ wrapperDivProps,
9600
+ ...restProps
9601
+ } = props;
9210
9602
  return jsx(DesignSystemAntDConfigProvider, {
9211
- children: jsx(DatePicker.TimePicker, {
9212
- css: styles,
9213
- ...props,
9214
- ref: ref,
9215
- popupStyle: {
9216
- ...getDropdownStyles$1(theme),
9217
- ...(props.popupStyle || {})
9218
- }
9603
+ children: jsx(AccessibilityWrapper, {
9604
+ ...wrapperDivProps,
9605
+ ariaLive: ariaLive,
9606
+ children: jsx(DatePicker.TimePicker, {
9607
+ css: styles,
9608
+ ...restProps,
9609
+ ref: ref,
9610
+ popupStyle: {
9611
+ ...getDropdownStyles$1(theme),
9612
+ ...(props.popupStyle || {})
9613
+ }
9614
+ })
9219
9615
  })
9220
9616
  });
9221
9617
  });
@@ -9224,15 +9620,24 @@ const QuarterPicker = /*#__PURE__*/forwardRef((props, ref) => {
9224
9620
  const {
9225
9621
  theme
9226
9622
  } = useDesignSystemTheme();
9623
+ const {
9624
+ ariaLive,
9625
+ wrapperDivProps,
9626
+ ...restProps
9627
+ } = props;
9227
9628
  return jsx(DesignSystemAntDConfigProvider, {
9228
- children: jsx(DatePicker.QuarterPicker, {
9229
- css: styles,
9230
- ...props,
9231
- ref: ref,
9232
- popupStyle: {
9233
- ...getDropdownStyles$1(theme),
9234
- ...(props.popupStyle || {})
9235
- }
9629
+ children: jsx(AccessibilityWrapper, {
9630
+ ...wrapperDivProps,
9631
+ ariaLive: ariaLive,
9632
+ children: jsx(DatePicker.QuarterPicker, {
9633
+ css: styles,
9634
+ ...restProps,
9635
+ ref: ref,
9636
+ popupStyle: {
9637
+ ...getDropdownStyles$1(theme),
9638
+ ...(props.popupStyle || {})
9639
+ }
9640
+ })
9236
9641
  })
9237
9642
  });
9238
9643
  });
@@ -9241,15 +9646,24 @@ const WeekPicker = /*#__PURE__*/forwardRef((props, ref) => {
9241
9646
  const {
9242
9647
  theme
9243
9648
  } = useDesignSystemTheme();
9649
+ const {
9650
+ ariaLive,
9651
+ wrapperDivProps,
9652
+ ...restProps
9653
+ } = props;
9244
9654
  return jsx(DesignSystemAntDConfigProvider, {
9245
- children: jsx(DatePicker.WeekPicker, {
9246
- css: styles,
9247
- ...props,
9248
- ref: ref,
9249
- popupStyle: {
9250
- ...getDropdownStyles$1(theme),
9251
- ...(props.popupStyle || {})
9252
- }
9655
+ children: jsx(AccessibilityWrapper, {
9656
+ ...wrapperDivProps,
9657
+ ariaLive: ariaLive,
9658
+ children: jsx(DatePicker.WeekPicker, {
9659
+ css: styles,
9660
+ ...restProps,
9661
+ ref: ref,
9662
+ popupStyle: {
9663
+ ...getDropdownStyles$1(theme),
9664
+ ...(props.popupStyle || {})
9665
+ }
9666
+ })
9253
9667
  })
9254
9668
  });
9255
9669
  });
@@ -9258,15 +9672,24 @@ const MonthPicker = /*#__PURE__*/forwardRef((props, ref) => {
9258
9672
  const {
9259
9673
  theme
9260
9674
  } = useDesignSystemTheme();
9675
+ const {
9676
+ ariaLive,
9677
+ wrapperDivProps,
9678
+ ...restProps
9679
+ } = props;
9261
9680
  return jsx(DesignSystemAntDConfigProvider, {
9262
- children: jsx(DatePicker.MonthPicker, {
9263
- css: styles,
9264
- ...props,
9265
- ref: ref,
9266
- popupStyle: {
9267
- ...getDropdownStyles$1(theme),
9268
- ...(props.popupStyle || {})
9269
- }
9681
+ children: jsx(AccessibilityWrapper, {
9682
+ ...wrapperDivProps,
9683
+ ariaLive: ariaLive,
9684
+ children: jsx(DatePicker.MonthPicker, {
9685
+ css: styles,
9686
+ ...restProps,
9687
+ ref: ref,
9688
+ popupStyle: {
9689
+ ...getDropdownStyles$1(theme),
9690
+ ...(props.popupStyle || {})
9691
+ }
9692
+ })
9270
9693
  })
9271
9694
  });
9272
9695
  });
@@ -9275,15 +9698,24 @@ const YearPicker = /*#__PURE__*/forwardRef((props, ref) => {
9275
9698
  const {
9276
9699
  theme
9277
9700
  } = useDesignSystemTheme();
9701
+ const {
9702
+ ariaLive,
9703
+ wrapperDivProps,
9704
+ ...restProps
9705
+ } = props;
9278
9706
  return jsx(DesignSystemAntDConfigProvider, {
9279
- children: jsx(DatePicker.YearPicker, {
9280
- css: styles,
9281
- ...props,
9282
- ref: ref,
9283
- popupStyle: {
9284
- ...getDropdownStyles$1(theme),
9285
- ...(props.popupStyle || {})
9286
- }
9707
+ children: jsx(AccessibilityWrapper, {
9708
+ ...wrapperDivProps,
9709
+ ariaLive: ariaLive,
9710
+ children: jsx(DatePicker.YearPicker, {
9711
+ css: styles,
9712
+ ...restProps,
9713
+ ref: ref,
9714
+ popupStyle: {
9715
+ ...getDropdownStyles$1(theme),
9716
+ ...(props.popupStyle || {})
9717
+ }
9718
+ })
9287
9719
  })
9288
9720
  });
9289
9721
  });
@@ -9608,6 +10040,13 @@ function findClosestOptionSibling(element, direction) {
9608
10040
  }
9609
10041
  return null;
9610
10042
  }
10043
+ const resetAllHighlightedOptions = currentSelection => {
10044
+ const options = getContentOptions(currentSelection);
10045
+ options === null || options === void 0 || options.forEach(option => {
10046
+ option.setAttribute('tabIndex', '-1');
10047
+ option.setAttribute('data-highlighted', 'false');
10048
+ });
10049
+ };
9611
10050
  const highlightOption = function (currentSelection, prevSelection) {
9612
10051
  var _currentSelection$scr;
9613
10052
  let focus = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
@@ -9685,10 +10124,7 @@ const getKeyboardNavigationFunctions = (handleSelect, _ref) => {
9685
10124
  };
9686
10125
  };
9687
10126
  const resetTabIndexToFocusedElement = elem => {
9688
- var _elem$closest;
9689
- (_elem$closest = elem.closest('[role="list"]')) === null || _elem$closest === void 0 || _elem$closest.querySelectorAll('[role="option"]').forEach(el => {
9690
- el.setAttribute('tabIndex', '-1');
9691
- });
10127
+ resetAllHighlightedOptions(elem);
9692
10128
  elem.setAttribute('tabIndex', '0');
9693
10129
  elem.focus();
9694
10130
  };
@@ -9885,7 +10321,46 @@ const getHintColumnStyles = (theme, disabled, textOverflowMode) => {
9885
10321
  }, process.env.NODE_ENV === "production" ? "" : ";label:getHintColumnStyles;");
9886
10322
  };
9887
10323
 
10324
+ const DialogComboboxAddButton = _ref => {
10325
+ let {
10326
+ children,
10327
+ ...restProps
10328
+ } = _ref;
10329
+ const {
10330
+ theme
10331
+ } = useDesignSystemTheme();
10332
+ const {
10333
+ isInsideDialogCombobox
10334
+ } = useDialogComboboxContext();
10335
+ if (!isInsideDialogCombobox) {
10336
+ throw new Error('`DialogComboboxAddButton` must be used within `DialogCombobox`');
10337
+ }
10338
+ return jsx(Button, {
10339
+ componentId: "codegen_design-system_src_design-system_dialogcombobox_dialogcomboboxaddbutton.tsx_19",
10340
+ ...restProps,
10341
+ type: "tertiary",
10342
+ className: "combobox-footer-add-button",
10343
+ css: /*#__PURE__*/css({
10344
+ ...getComboboxOptionItemWrapperStyles(theme),
10345
+ ... /*#__PURE__*/css(importantify({
10346
+ width: '100%',
10347
+ padding: 0,
10348
+ display: 'flex',
10349
+ alignItems: 'center',
10350
+ borderRadius: 0,
10351
+ '&:focus': {
10352
+ background: theme.colors.actionTertiaryBackgroundHover,
10353
+ outline: 'none'
10354
+ }
10355
+ }), process.env.NODE_ENV === "production" ? "" : ";label:DialogComboboxAddButton;")
10356
+ }, process.env.NODE_ENV === "production" ? "" : ";label:DialogComboboxAddButton;"),
10357
+ icon: jsx(PlusIcon$1, {}),
10358
+ children: children
10359
+ });
10360
+ };
10361
+
9888
10362
  function _EMOTION_STRINGIFIED_CSS_ERROR__$n() { 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)."; }
10363
+ const defaultMaxHeight = 'var(--radix-popover-content-available-height)';
9889
10364
  var _ref2$g = process.env.NODE_ENV === "production" ? {
9890
10365
  name: "1ij1o5n",
9891
10366
  styles: "display:flex;flex-direction:column;align-items:flex-start;justify-content:center"
@@ -9901,7 +10376,7 @@ const DialogComboboxContent = /*#__PURE__*/forwardRef((_ref, forwardedRef) => {
9901
10376
  loadingDescription = 'DialogComboboxContent',
9902
10377
  matchTriggerWidth,
9903
10378
  textOverflowMode,
9904
- maxHeight = 'var(--radix-popover-content-available-height)',
10379
+ maxHeight,
9905
10380
  maxWidth,
9906
10381
  minHeight,
9907
10382
  minWidth = 240,
@@ -9976,7 +10451,7 @@ const DialogComboboxContent = /*#__PURE__*/forwardRef((_ref, forwardedRef) => {
9976
10451
  role: "listbox",
9977
10452
  "aria-multiselectable": multiSelect,
9978
10453
  css: getComboboxContentWrapperStyles(theme, {
9979
- maxHeight,
10454
+ maxHeight: maxHeight ? `min(${maxHeight}px, ${defaultMaxHeight})` : defaultMaxHeight,
9980
10455
  maxWidth,
9981
10456
  minHeight,
9982
10457
  minWidth,
@@ -11435,7 +11910,7 @@ function getEmptyDescriptionStyles(theme, clsPrefix) {
11435
11910
  };
11436
11911
  return /*#__PURE__*/css(styles, process.env.NODE_ENV === "production" ? "" : ";label:getEmptyDescriptionStyles;");
11437
11912
  }
11438
- var _ref$5 = process.env.NODE_ENV === "production" ? {
11913
+ var _ref$6 = process.env.NODE_ENV === "production" ? {
11439
11914
  name: "zl1inp",
11440
11915
  styles: "display:flex;justify-content:center"
11441
11916
  } : {
@@ -11458,7 +11933,7 @@ const Empty = props => {
11458
11933
  } = props;
11459
11934
  return jsx("div", {
11460
11935
  ...dataProps,
11461
- css: _ref$5,
11936
+ css: _ref$6,
11462
11937
  children: jsxs("div", {
11463
11938
  css: [getEmptyStyles(theme), dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Empty;"],
11464
11939
  children: [image, title && jsx(Title$1, {
@@ -11701,852 +12176,838 @@ const Label = props => {
11701
12176
  });
11702
12177
  };
11703
12178
 
11704
- const getRadioInputStyles = _ref => {
12179
+ function getSelectEmotionStyles(_ref) {
11705
12180
  let {
11706
12181
  clsPrefix,
11707
12182
  theme,
11708
- useNewStyles
12183
+ validationState
11709
12184
  } = _ref;
11710
- return {
11711
- [`.${clsPrefix}`]: {
11712
- alignSelf: 'start',
11713
- // Unchecked Styles
11714
- [`> .${clsPrefix}-input + .${clsPrefix}-inner`]: {
11715
- width: theme.spacing.md,
11716
- height: theme.spacing.md,
11717
- background: useNewStyles ? theme.colors.actionDefaultBackgroundDefault : theme.colors.radioDefaultBackground,
11718
- borderStyle: 'solid',
11719
- borderColor: useNewStyles ? theme.colors.actionDefaultBorderDefault : theme.colors.radioDefaultBorder,
11720
- boxShadow: 'unset',
11721
- transform: 'unset',
11722
- // This prevents an awkward jitter on the border
11723
- display: 'flex',
11724
- justifyContent: 'center',
11725
- alignItems: 'center',
11726
- borderRadius: '50%',
11727
- '&:after': {
11728
- all: 'unset'
11729
- }
11730
- },
11731
- // Hover
11732
- [`&:not(.${clsPrefix}-disabled) > .${clsPrefix}-input:hover + .${clsPrefix}-inner`]: {
11733
- borderColor: useNewStyles ? theme.colors.actionPrimaryBackgroundHover : theme.colors.radioInteractiveHover,
11734
- background: useNewStyles ? theme.colors.actionDefaultBackgroundHover : theme.colors.radioInteractiveHoverSecondary
11735
- },
11736
- // Focus
11737
- [`&:not(.${clsPrefix}-disabled)> .${clsPrefix}-input:focus + .${clsPrefix}-inner`]: {
11738
- borderColor: useNewStyles ? theme.colors.actionPrimaryBackgroundDefault : theme.colors.primary
11739
- },
11740
- // Active
11741
- [`&:not(.${clsPrefix}-disabled)> .${clsPrefix}-input:active + .${clsPrefix}-inner`]: {
11742
- borderColor: useNewStyles ? theme.colors.actionPrimaryBackgroundPress : theme.colors.radioInteractivePress,
11743
- background: useNewStyles ? theme.colors.actionDefaultBackgroundPress : theme.colors.radioInteractivePressSecondary
11744
- },
11745
- // Disabled
11746
- [`&.${clsPrefix}-disabled > .${clsPrefix}-input + .${clsPrefix}-inner`]: {
11747
- ...(useNewStyles ? {
11748
- border: `none !important`,
11749
- // Ant uses !important
11750
- background: theme.colors.actionDisabledBackground
11751
- } : {
11752
- borderColor: `${theme.colors.radioDisabled}!important` // Ant uses !important
11753
- }),
11754
-
11755
- '@media (forced-colors: active)': {
11756
- borderColor: 'GrayText !important'
11757
- }
12185
+ const classFocused = `.${clsPrefix}-focused`;
12186
+ const classOpen = `.${clsPrefix}-open`;
12187
+ const classSingle = `.${clsPrefix}-single`;
12188
+ const classSelector = `.${clsPrefix}-selector`;
12189
+ const classDisabled = `.${clsPrefix}-disabled`;
12190
+ const classMultiple = `.${clsPrefix}-multiple`;
12191
+ const classItem = `.${clsPrefix}-selection-item`;
12192
+ const classItemOverflowContainer = `.${clsPrefix}-selection-overflow`;
12193
+ const classItemOverflowItem = `.${clsPrefix}-selection-overflow-item`;
12194
+ const classItemOverflowSuffix = `.${clsPrefix}-selection-overflow-item-suffix`;
12195
+ const classArrow = `.${clsPrefix}-arrow`;
12196
+ const classArrowLoading = `.${clsPrefix}-arrow-loading`;
12197
+ const classPlaceholder = `.${clsPrefix}-selection-placeholder`;
12198
+ const classCloseButton = `.${clsPrefix}-selection-item-remove`;
12199
+ const classSearch = `.${clsPrefix}-selection-search`;
12200
+ const classShowSearch = `.${clsPrefix}-show-search`;
12201
+ const classSearchClear = `.${clsPrefix}-clear`;
12202
+ const classAllowClear = `.${clsPrefix}-allow-clear`;
12203
+ const classSearchInput = `.${clsPrefix}-selection-search-input`;
12204
+ const validationColor = getValidationStateColor(theme, validationState);
12205
+ const styles = {
12206
+ '&:hover': {
12207
+ [classSelector]: {
12208
+ borderColor: theme.colors.actionDefaultBorderHover
12209
+ }
12210
+ },
12211
+ [classSelector]: {
12212
+ paddingLeft: 12,
12213
+ // Only the select _item_ is clickable, so we need to have zero padding here, and add it on the item itself,
12214
+ // to make sure the whole select is clickable.
12215
+ paddingRight: 0,
12216
+ color: theme.colors.textPrimary,
12217
+ backgroundColor: 'transparent',
12218
+ height: theme.general.heightSm,
12219
+ '::after': {
12220
+ lineHeight: theme.typography.lineHeightBase
11758
12221
  },
11759
- // Checked Styles
11760
- [`&.${clsPrefix}-checked`]: {
11761
- '&:after': {
11762
- border: 'unset'
11763
- },
11764
- [`> .${clsPrefix}-input + .${clsPrefix}-inner`]: {
11765
- background: useNewStyles ? theme.colors.actionPrimaryBackgroundDefault : theme.colors.primary,
11766
- borderColor: theme.colors.primary,
11767
- '&:after': {
11768
- content: `""`,
11769
- borderRadius: theme.spacing.xs,
11770
- backgroundColor: useNewStyles ? theme.colors.white : theme.colors.radioDefaultBackground,
11771
- width: theme.spacing.xs,
11772
- height: theme.spacing.xs
11773
- },
11774
- '@media (forced-colors: active)': {
11775
- borderColor: 'Highlight !important',
11776
- backgroundColor: 'Highlight !important'
11777
- }
11778
- },
11779
- // Hover
11780
- [`&:not(.${clsPrefix}-disabled) > .${clsPrefix}-input:hover + .${clsPrefix}-inner`]: {
11781
- background: useNewStyles ? theme.colors.actionPrimaryBackgroundHover : theme.colors.radioInteractiveHover,
11782
- borderColor: useNewStyles ? theme.colors.actionPrimaryBackgroundPress : theme.colors.radioInteractiveHover
11783
- },
11784
- // Focus
11785
- [`&:not(.${clsPrefix}-disabled) > .${clsPrefix}-input:focus-visible + .${clsPrefix}-inner`]: {
11786
- background: useNewStyles ? theme.colors.actionDefaultBackgroundPress : theme.colors.primary,
11787
- borderColor: useNewStyles ? theme.colors.actionDefaultBorderFocus : theme.colors.primary,
11788
- boxShadow: `0 0 0 1px ${useNewStyles ? theme.colors.actionDefaultBackgroundDefault : theme.colors.radioDefaultBackground}, 0 0 0 3px ${theme.colors.primary}`
11789
- },
11790
- // Active
11791
- [`&:not(.${clsPrefix}-disabled) > .${clsPrefix}-input:active + .${clsPrefix}-inner`]: {
11792
- background: useNewStyles ? theme.colors.actionDefaultBackgroundPress : theme.colors.radioInteractivePress,
11793
- borderColor: useNewStyles ? theme.colors.actionDefaultBorderPress : theme.colors.radioInteractivePress
11794
- },
11795
- // Disabled
11796
- [`&.${clsPrefix}-disabled > .${clsPrefix}-input + .${clsPrefix}-inner`]: {
11797
- background: useNewStyles ? theme.colors.actionDisabledBackground : theme.colors.radioDisabled,
11798
- border: useNewStyles ? 'none !important' : `2px solid ${theme.colors.radioDisabled}!important`,
11799
- // !important inherited from ant
11800
- '@media (forced-colors: active)': {
11801
- borderColor: 'GrayText !important',
11802
- backgroundColor: 'GrayText !important'
11803
- }
11804
- }
12222
+ '::before': {
12223
+ lineHeight: theme.typography.lineHeightBase
11805
12224
  }
11806
- }
11807
- };
11808
- };
11809
- const getCommonRadioGroupStyles = _ref2 => {
11810
- let {
11811
- theme,
11812
- clsPrefix,
11813
- classNamePrefix,
11814
- useNewStyles
11815
- } = _ref2;
11816
- return /*#__PURE__*/css({
11817
- '& > label': {
11818
- ...(useNewStyles && {
11819
- [`&.${classNamePrefix}-radio-wrapper-disabled > span`]: {
11820
- color: theme.colors.actionDisabledText
12225
+ },
12226
+ [classSingle]: {
12227
+ [`&${classSelector}`]: {
12228
+ height: theme.general.heightSm
12229
+ }
12230
+ },
12231
+ [classItem]: {
12232
+ color: theme.colors.textPrimary,
12233
+ paddingRight: 32,
12234
+ lineHeight: theme.typography.lineHeightBase,
12235
+ paddingTop: 5,
12236
+ paddingBottom: 5
12237
+ },
12238
+ // Note: This supports search, which we don't support. The styles here support legacy usages.
12239
+ [classSearch]: {
12240
+ right: 24,
12241
+ left: 8,
12242
+ marginInlineStart: 4,
12243
+ [classSearchInput]: {
12244
+ color: theme.colors.actionDefaultTextDefault,
12245
+ height: 24
12246
+ }
12247
+ },
12248
+ [`&${classSingle}`]: {
12249
+ [classSearchInput]: {
12250
+ height: theme.general.heightSm
12251
+ }
12252
+ },
12253
+ // Note: This supports search, which we don't support. The styles here support legacy usages.
12254
+ [`&${classShowSearch}${classOpen}${classSingle}`]: {
12255
+ [classItem]: {
12256
+ color: theme.colors.actionDisabledText
12257
+ }
12258
+ },
12259
+ // Note: This supports search, which we don't support. The styles here support legacy usages.
12260
+ [classSearchClear]: {
12261
+ right: 24,
12262
+ backgroundColor: 'transparent'
12263
+ },
12264
+ [`&${classFocused}`]: {
12265
+ [classSelector]: {
12266
+ outlineColor: theme.colors.actionPrimaryBackgroundDefault,
12267
+ outlineWidth: 2,
12268
+ outlineOffset: -2,
12269
+ outlineStyle: 'solid',
12270
+ borderColor: 'transparent',
12271
+ boxShadow: 'none'
12272
+ }
12273
+ },
12274
+ [`&${classDisabled}`]: {
12275
+ [classSelector]: {
12276
+ backgroundColor: theme.colors.actionDisabledBackground,
12277
+ color: theme.colors.actionDisabledText,
12278
+ border: 'transparent'
12279
+ },
12280
+ [classItem]: {
12281
+ color: theme.colors.actionDisabledText
12282
+ },
12283
+ [classArrow]: {
12284
+ color: theme.colors.actionDisabledText
12285
+ }
12286
+ },
12287
+ [classArrow]: {
12288
+ height: theme.general.iconFontSize,
12289
+ width: theme.general.iconFontSize,
12290
+ top: (theme.general.heightSm - theme.general.iconFontSize) / 2,
12291
+ marginTop: 0,
12292
+ color: theme.colors.textSecondary,
12293
+ fontSize: theme.general.iconFontSize,
12294
+ '.anticon': {
12295
+ // For some reason ant sets this to 'auto'. Need to set it back to 'none' to allow the element below to receive
12296
+ // the click event.
12297
+ pointerEvents: 'none'
12298
+ },
12299
+ [`&${classArrowLoading}`]: {
12300
+ top: (theme.general.heightSm - theme.general.iconFontSize) / 2,
12301
+ display: 'flex',
12302
+ alignItems: 'center',
12303
+ justifyContent: 'center',
12304
+ fontSize: theme.general.iconFontSize
12305
+ }
12306
+ },
12307
+ [classPlaceholder]: {
12308
+ color: theme.colors.textPlaceholder,
12309
+ right: 'auto',
12310
+ left: 'auto',
12311
+ width: '100%',
12312
+ paddingRight: 32,
12313
+ lineHeight: theme.typography.lineHeightBase,
12314
+ alignSelf: 'center'
12315
+ },
12316
+ [`&${classMultiple}`]: {
12317
+ [classSelector]: {
12318
+ paddingTop: 3,
12319
+ paddingBottom: 3,
12320
+ paddingLeft: 8,
12321
+ paddingRight: 30,
12322
+ minHeight: theme.general.heightSm,
12323
+ height: 'auto',
12324
+ '&::after': {
12325
+ margin: 0
11821
12326
  }
11822
- })
12327
+ },
12328
+ [classItem]: {
12329
+ backgroundColor: theme.colors.tagDefault,
12330
+ color: theme.colors.textPrimary,
12331
+ border: 'none',
12332
+ height: 20,
12333
+ lineHeight: theme.typography.lineHeightBase,
12334
+ fontSize: theme.typography.fontSizeBase,
12335
+ marginInlineEnd: 4,
12336
+ marginTop: 2,
12337
+ marginBottom: 2,
12338
+ paddingRight: 0,
12339
+ paddingTop: 0,
12340
+ paddingBottom: 0
12341
+ },
12342
+ [classItemOverflowContainer]: {
12343
+ minHeight: 24
12344
+ },
12345
+ [classItemOverflowItem]: {
12346
+ alignSelf: 'auto',
12347
+ height: 24,
12348
+ lineHeight: theme.typography.lineHeightBase
12349
+ },
12350
+ [classSearch]: {
12351
+ marginTop: 0,
12352
+ left: 0,
12353
+ right: 0
12354
+ },
12355
+ [`&${classDisabled}`]: {
12356
+ [classItem]: {
12357
+ paddingRight: 2
12358
+ }
12359
+ },
12360
+ [classArrow]: {
12361
+ top: (theme.general.heightSm - theme.general.iconFontSize) / 2
12362
+ },
12363
+ [`&${classAllowClear}`]: {
12364
+ [classSearchClear]: {
12365
+ top: (theme.general.heightSm - theme.general.iconFontSize + 4) / 2
12366
+ }
12367
+ },
12368
+ [classPlaceholder]: {
12369
+ // Compensate for the caret placeholder width
12370
+ paddingLeft: 4,
12371
+ color: theme.colors.textPlaceholder
12372
+ },
12373
+ [`&:not(${classFocused})`]: {
12374
+ [classItemOverflowSuffix]: {
12375
+ // Do not keep the caret's placeholder at full height when not focused,
12376
+ // because it introduces a new line even when not focused. Using display: none would break the caret
12377
+ height: 0
12378
+ }
12379
+ }
11823
12380
  },
11824
- [`& > label + .${classNamePrefix}-hint`]: {
11825
- paddingLeft: theme.spacing.lg
12381
+ [`&${classMultiple}${classDisabled}`]: {
12382
+ [classItem]: {
12383
+ color: theme.colors.actionDisabledText
12384
+ }
11826
12385
  },
11827
- ...getRadioInputStyles({
11828
- theme,
11829
- clsPrefix,
11830
- useNewStyles
12386
+ [`&${classAllowClear}`]: {
12387
+ [classItem]: {
12388
+ paddingRight: 0
12389
+ },
12390
+ [classSelector]: {
12391
+ paddingRight: 52
12392
+ },
12393
+ [classSearchClear]: {
12394
+ top: (theme.general.heightSm - theme.general.iconFontSize + 4) / 2,
12395
+ opacity: 100,
12396
+ width: theme.general.iconFontSize,
12397
+ height: theme.general.iconFontSize,
12398
+ marginTop: 0
12399
+ }
12400
+ },
12401
+ [classCloseButton]: {
12402
+ color: theme.colors.textPrimary,
12403
+ borderTopRightRadius: theme.borders.borderRadiusMd,
12404
+ borderBottomRightRadius: theme.borders.borderRadiusMd,
12405
+ height: theme.general.iconFontSize,
12406
+ width: theme.general.iconFontSize,
12407
+ lineHeight: theme.typography.lineHeightBase,
12408
+ paddingInlineEnd: 0,
12409
+ marginInlineEnd: 0,
12410
+ '& > .anticon': {
12411
+ height: theme.general.iconFontSize - 4,
12412
+ fontSize: theme.general.iconFontSize - 4
12413
+ },
12414
+ '&:hover': {
12415
+ color: theme.colors.actionTertiaryTextHover,
12416
+ backgroundColor: theme.colors.tagHover
12417
+ },
12418
+ '&:active': {
12419
+ color: theme.colors.actionTertiaryTextPress,
12420
+ backgroundColor: theme.colors.tagPress
12421
+ }
12422
+ },
12423
+ ...(validationState && {
12424
+ [`& > ${classSelector}`]: {
12425
+ borderColor: validationColor,
12426
+ '&:hover': {
12427
+ borderColor: validationColor
12428
+ }
12429
+ },
12430
+ [`&${classFocused} > ${classSelector}`]: {
12431
+ outlineColor: validationColor,
12432
+ outlineOffset: -2
12433
+ }
11831
12434
  }),
11832
12435
  ...getAnimationCss(theme.options.enableAnimation)
11833
- }, process.env.NODE_ENV === "production" ? "" : ";label:getCommonRadioGroupStyles;");
11834
- };
11835
- const getHorizontalRadioGroupStyles = _ref3 => {
11836
- let {
11837
- theme,
11838
- classNamePrefix,
11839
- useNewStyles
11840
- } = _ref3;
11841
- return /*#__PURE__*/css({
11842
- '&&': {
11843
- display: 'grid',
11844
- gridTemplateRows: '[label] auto [hint] auto',
11845
- gridAutoColumns: 'max-content',
11846
- gridColumnGap: useNewStyles ? theme.spacing.md : theme.spacing.sm
12436
+ };
12437
+ const importantStyles = importantify(styles);
12438
+ return /*#__PURE__*/css(importantStyles, process.env.NODE_ENV === "production" ? "" : ";label:getSelectEmotionStyles;");
12439
+ }
12440
+ function getDropdownStyles(clsPrefix, theme) {
12441
+ const classItem = `.${clsPrefix}-item-option`;
12442
+ const classItemActive = `.${clsPrefix}-item-option-active`;
12443
+ const classItemSelected = `.${clsPrefix}-item-option-selected`;
12444
+ const classItemState = `.${clsPrefix}-item-option-state`;
12445
+ const styles = {
12446
+ borderColor: theme.colors.borderDecorative,
12447
+ borderWidth: 1,
12448
+ borderStyle: 'solid',
12449
+ zIndex: theme.options.zIndexBase + 50,
12450
+ boxShadow: theme.general.shadowLow,
12451
+ [classItem]: {
12452
+ height: theme.general.heightSm
11847
12453
  },
11848
- '& > label': {
11849
- gridRow: 'label / label',
11850
- marginRight: 0
12454
+ [classItemActive]: {
12455
+ backgroundColor: theme.colors.actionTertiaryBackgroundHover,
12456
+ height: theme.general.heightSm,
12457
+ '&:hover': {
12458
+ backgroundColor: theme.colors.actionTertiaryBackgroundHover
12459
+ }
11851
12460
  },
11852
- [`& > label + .${classNamePrefix}-hint`]: {
11853
- display: 'inline-block',
11854
- gridRow: 'hint / hint'
11855
- }
11856
- }, process.env.NODE_ENV === "production" ? "" : ";label:getHorizontalRadioGroupStyles;");
11857
- };
11858
- const getVerticalRadioGroupStyles = _ref4 => {
11859
- let {
11860
- theme,
11861
- classNamePrefix,
11862
- useNewStyles
11863
- } = _ref4;
11864
- return /*#__PURE__*/css({
11865
- display: 'flex',
11866
- flexDirection: 'column',
11867
- flexWrap: 'wrap',
11868
- '& > label': {
12461
+ [classItemSelected]: {
12462
+ backgroundColor: theme.colors.actionTertiaryBackgroundHover,
11869
12463
  fontWeight: 'normal',
11870
- ...(useNewStyles && {
11871
- paddingBottom: theme.spacing.sm
11872
- })
12464
+ '&:hover': {
12465
+ backgroundColor: theme.colors.actionTertiaryBackgroundHover
12466
+ }
11873
12467
  },
11874
- [`& > label:last-of-type`]: {
11875
- paddingBottom: 0
12468
+ [classItemState]: {
12469
+ color: theme.colors.textSecondary,
12470
+ '& > span': {
12471
+ verticalAlign: 'middle'
12472
+ }
11876
12473
  },
11877
- [`& > label + .${classNamePrefix}-hint`]: {
11878
- marginBottom: theme.spacing.sm,
11879
- paddingLeft: theme.spacing.lg,
11880
- ...(useNewStyles && {
11881
- marginTop: `-${theme.spacing.sm}px`
11882
- })
12474
+ [`.${clsPrefix}-loading-options`]: {
12475
+ pointerEvents: 'none',
12476
+ margin: '0 auto',
12477
+ height: theme.general.heightSm,
12478
+ display: 'block'
11883
12479
  },
11884
- [`& > label:last-of-type + .${classNamePrefix}-hint`]: {
11885
- ...(useNewStyles && {
11886
- marginTop: 0
11887
- })
11888
- }
11889
- }, process.env.NODE_ENV === "production" ? "" : ";label:getVerticalRadioGroupStyles;");
11890
- };
11891
- const getRadioStyles = _ref5 => {
11892
- let {
11893
- theme,
11894
- clsPrefix,
11895
- useNewStyles
11896
- } = _ref5;
11897
- // Default as bold for standalone radios
11898
- const fontWeight = 'normal';
11899
- const styles = {
11900
- fontWeight
12480
+ ...getAnimationCss(theme.options.enableAnimation),
12481
+ ...getDarkModePortalStyles(theme)
11901
12482
  };
12483
+ const importantStyles = importantify(styles);
12484
+ return /*#__PURE__*/css(importantStyles, process.env.NODE_ENV === "production" ? "" : ";label:getDropdownStyles;");
12485
+ }
12486
+ function getLoadingIconStyles(theme) {
11902
12487
  return /*#__PURE__*/css({
11903
- ...getRadioInputStyles({
11904
- theme,
11905
- clsPrefix,
11906
- useNewStyles
11907
- }),
11908
- ...styles
11909
- }, process.env.NODE_ENV === "production" ? "" : ";label:getRadioStyles;");
11910
- };
11911
- const DuboisRadio = /*#__PURE__*/forwardRef(function Radio(_ref6, ref) {
12488
+ fontSize: 20,
12489
+ color: theme.colors.textSecondary,
12490
+ lineHeight: '20px'
12491
+ }, process.env.NODE_ENV === "production" ? "" : ";label:getLoadingIconStyles;");
12492
+ }
12493
+ const scrollbarVisibleItemsCount = 8;
12494
+ const getIconSizeStyle = (theme, newIconDefault) => importantify({
12495
+ fontSize: newIconDefault !== null && newIconDefault !== void 0 ? newIconDefault : theme.general.iconFontSize
12496
+ });
12497
+ function DuboisSelect(_ref2, ref) {
11912
12498
  let {
11913
12499
  children,
12500
+ validationState,
12501
+ loading,
12502
+ loadingDescription = 'Select',
12503
+ mode,
12504
+ options,
12505
+ notFoundContent,
12506
+ optionFilterProp,
11914
12507
  dangerouslySetAntdProps,
11915
- ...props
11916
- } = _ref6;
12508
+ virtual,
12509
+ dropdownClassName,
12510
+ id,
12511
+ onDropdownVisibleChange,
12512
+ maxHeight,
12513
+ ...restProps
12514
+ } = _ref2;
11917
12515
  const {
11918
12516
  theme,
11919
12517
  getPrefixedClassName
11920
12518
  } = useDesignSystemTheme();
11921
- const useNewStyles = safex('databricks.fe.designsystem.enableNewRadioStyles', false);
11922
- const clsPrefix = getPrefixedClassName('radio');
11923
- return jsx(DesignSystemAntDConfigProvider, {
11924
- children: jsx(Radio$1, {
11925
- css: getRadioStyles({
11926
- theme,
11927
- clsPrefix,
11928
- useNewStyles
11929
- }),
11930
- ...props,
11931
- ...dangerouslySetAntdProps,
11932
- ref: ref,
11933
- children: jsx(RestoreAntDDefaultClsPrefix, {
11934
- children: children
11935
- })
11936
- })
12519
+ const clsPrefix = getPrefixedClassName('select');
12520
+ const [isOpen, setIsOpen] = useState(false);
12521
+ const [uniqueId, setUniqueId] = useState('');
12522
+
12523
+ // Antd's default is 256, to show half an extra item when scrolling we add 0.5 height extra
12524
+ // Reducing to 5.5 as it's default with other components is not an option here because it would break existing usages relying on 8 items being shown by default
12525
+ const MAX_HEIGHT = maxHeight !== null && maxHeight !== void 0 ? maxHeight : theme.general.heightSm * 8.5;
12526
+ useEffect(() => {
12527
+ setUniqueId(id || _uniqueId('dubois-select-'));
12528
+ }, [id]);
12529
+ useEffect(() => {
12530
+ var _document$getElementB;
12531
+ // Ant doesn't populate aria-expanded on init (only on user interaction) so we need to do it ourselves
12532
+ // in order to pass accessibility tests (Microsoft Accessibility Insights). See: JOBS-11125
12533
+ (_document$getElementB = document.getElementById(uniqueId)) === null || _document$getElementB === void 0 || _document$getElementB.setAttribute('aria-expanded', 'false');
12534
+ }, [uniqueId]);
12535
+ return jsx(ClassNames, {
12536
+ children: _ref3 => {
12537
+ let {
12538
+ css: css$1
12539
+ } = _ref3;
12540
+ return jsxs(DesignSystemAntDConfigProvider, {
12541
+ children: [loading && jsx(LoadingState, {
12542
+ description: loadingDescription
12543
+ }), jsx(Select$1, {
12544
+ onDropdownVisibleChange: visible => {
12545
+ onDropdownVisibleChange === null || onDropdownVisibleChange === void 0 || onDropdownVisibleChange(visible);
12546
+ setIsOpen(visible);
12547
+ }
12548
+ // unset aria-owns, aria-controls, and aria-activedescendant if the dropdown is closed;
12549
+ // ant always sets these even if the dropdown isn't present in the DOM yet.
12550
+ // This was flagged by Microsoft Accessibility Insights. See: JOBS-11125
12551
+ ,
12552
+ ...(!isOpen ? {
12553
+ 'aria-owns': undefined,
12554
+ 'aria-controls': undefined,
12555
+ 'aria-activedescendant': undefined
12556
+ } : {}),
12557
+ id: uniqueId,
12558
+ css: getSelectEmotionStyles({
12559
+ clsPrefix,
12560
+ theme,
12561
+ validationState
12562
+ }),
12563
+ removeIcon: jsx(CloseIcon, {
12564
+ "aria-hidden": "false",
12565
+ css: getIconSizeStyle(theme)
12566
+ }),
12567
+ clearIcon: jsx(XCircleFillIcon$1, {
12568
+ "aria-hidden": "false",
12569
+ css: getIconSizeStyle(theme, 12),
12570
+ "aria-label": "close-circle"
12571
+ }),
12572
+ ref: ref,
12573
+ suffixIcon: loading && mode === 'tags' ? jsx(LoadingIcon, {
12574
+ spin: true,
12575
+ "aria-label": "loading",
12576
+ "aria-hidden": "false",
12577
+ css: getIconSizeStyle(theme, 12)
12578
+ }) : jsx(ChevronDownIcon$1, {
12579
+ css: getIconSizeStyle(theme)
12580
+ }),
12581
+ menuItemSelectedIcon: jsx(CheckIcon, {
12582
+ css: getIconSizeStyle(theme)
12583
+ }),
12584
+ showArrow: true,
12585
+ dropdownMatchSelectWidth: true,
12586
+ notFoundContent: notFoundContent !== null && notFoundContent !== void 0 ? notFoundContent : jsx("div", {
12587
+ css: /*#__PURE__*/css({
12588
+ color: theme.colors.textSecondary,
12589
+ textAlign: 'center'
12590
+ }, process.env.NODE_ENV === "production" ? "" : ";label:DuboisSelect;"),
12591
+ children: "No results found"
12592
+ }),
12593
+ dropdownClassName: css$1([getDropdownStyles(clsPrefix, theme), dropdownClassName]),
12594
+ listHeight: MAX_HEIGHT,
12595
+ maxTagPlaceholder: items => `+ ${items.length} more`,
12596
+ mode: mode,
12597
+ options: options,
12598
+ loading: loading,
12599
+ filterOption: true
12600
+ // NOTE(FEINF-1102): This is needed to avoid ghost scrollbar that generates error when clicked on exactly 8 elements
12601
+ // Because by default AntD uses true for virtual, we want to replicate the same even if there are no children
12602
+ ,
12603
+ virtual: virtual !== null && virtual !== void 0 ? virtual : children && Array.isArray(children) && children.length !== scrollbarVisibleItemsCount || options && options.length !== scrollbarVisibleItemsCount || !children && !options,
12604
+ optionFilterProp: optionFilterProp !== null && optionFilterProp !== void 0 ? optionFilterProp : 'children',
12605
+ ...restProps,
12606
+ ...dangerouslySetAntdProps,
12607
+ children: loading && mode !== 'tags' ? jsxs(Fragment, {
12608
+ children: [children, jsx(LegacyOption, {
12609
+ disabled: true,
12610
+ value: "select-loading-options",
12611
+ className: `${clsPrefix}-loading-options`,
12612
+ children: jsx(LoadingIcon, {
12613
+ "aria-hidden": "false",
12614
+ spin: true,
12615
+ css: getLoadingIconStyles(theme),
12616
+ "aria-label": "loading"
12617
+ })
12618
+ })]
12619
+ }) : children
12620
+ })]
12621
+ });
12622
+ }
11937
12623
  });
11938
- });
11939
- const StyledRadioGroup = /*#__PURE__*/forwardRef(function StyledRadioGroup(_ref7, ref) {
11940
- let {
11941
- children,
11942
- dangerouslySetAntdProps,
11943
- ...props
11944
- } = _ref7;
12624
+ }
12625
+
12626
+ /** @deprecated Use `LegacySelectOptionProps` */
12627
+
12628
+ const LegacySelectOption = /*#__PURE__*/forwardRef(function Option(props, ref) {
11945
12629
  const {
11946
- theme,
11947
- getPrefixedClassName,
11948
- classNamePrefix
11949
- } = useDesignSystemTheme();
11950
- const useNewStyles = safex('databricks.fe.designsystem.enableNewRadioStyles', false);
11951
- const clsPrefix = getPrefixedClassName('radio');
11952
- return jsx(DesignSystemAntDConfigProvider, {
11953
- children: jsx(Radio$1.Group, {
11954
- ...props,
11955
- css: getCommonRadioGroupStyles({
11956
- theme,
11957
- clsPrefix,
11958
- classNamePrefix,
11959
- useNewStyles
11960
- }),
11961
- ...dangerouslySetAntdProps,
11962
- ref: ref,
11963
- children: jsx(RestoreAntDDefaultClsPrefix, {
11964
- children: children
11965
- })
11966
- })
11967
- });
11968
- });
11969
- const HorizontalGroup = /*#__PURE__*/forwardRef(function HorizontalGroup(_ref8, ref) {
11970
- let {
11971
12630
  dangerouslySetAntdProps,
11972
- ...props
11973
- } = _ref8;
11974
- const {
11975
- theme,
11976
- classNamePrefix
11977
- } = useDesignSystemTheme();
11978
- const useNewStyles = safex('databricks.fe.designsystem.enableNewRadioStyles', false);
11979
- return jsx(StyledRadioGroup, {
11980
- css: getHorizontalRadioGroupStyles({
11981
- theme,
11982
- classNamePrefix,
11983
- useNewStyles
11984
- }),
11985
- ...props,
12631
+ ...restProps
12632
+ } = props;
12633
+ return jsx(Select$1.Option, {
12634
+ ...restProps,
11986
12635
  ref: ref,
11987
12636
  ...dangerouslySetAntdProps
11988
12637
  });
11989
12638
  });
11990
- const Group = /*#__PURE__*/forwardRef(function HorizontalGroup(_ref9, ref) {
11991
- let {
11992
- dangerouslySetAntdProps,
11993
- layout = 'vertical',
11994
- ...props
11995
- } = _ref9;
11996
- const {
11997
- theme,
11998
- classNamePrefix
11999
- } = useDesignSystemTheme();
12000
- const useNewStyles = safex('databricks.fe.designsystem.enableNewRadioStyles', false);
12001
- return jsx(StyledRadioGroup, {
12002
- css: layout === 'horizontal' ? getHorizontalRadioGroupStyles({
12003
- theme,
12004
- classNamePrefix,
12005
- useNewStyles
12006
- }) : getVerticalRadioGroupStyles({
12007
- theme,
12008
- classNamePrefix,
12009
- useNewStyles
12010
- }),
12011
- ...props,
12012
- ref: ref,
12013
- ...dangerouslySetAntdProps
12639
+
12640
+ // Needed for rc-select to not throw warning about our component not being Select.Option
12641
+ LegacySelectOption.isSelectOption = true;
12642
+
12643
+ /**
12644
+ * @deprecated use LegacySelect.Option instead
12645
+ */
12646
+ const LegacyOption = LegacySelectOption;
12647
+
12648
+ /** @deprecated Use `LegacySelectOptGroupProps` */
12649
+
12650
+ const LegacySelectOptGroup = /* #__PURE__ */(() => {
12651
+ const OptGroup = /*#__PURE__*/forwardRef(function OptGroup(props, ref) {
12652
+ return jsx(Select$1.OptGroup, {
12653
+ ...props,
12654
+ isSelectOptGroup: true,
12655
+ ref: ref
12656
+ });
12014
12657
  });
12015
- });
12658
+ // Needed for antd to work properly and for rc-select to not throw warning about our component not being Select.OptGroup
12659
+ OptGroup.isSelectOptGroup = true;
12660
+ return OptGroup;
12661
+ })();
12016
12662
 
12017
- // Note: We are overriding ant's default "Group" with our own.
12018
- const RadioNamespace = /* #__PURE__ */Object.assign(DuboisRadio, {
12019
- Group,
12020
- HorizontalGroup
12021
- });
12022
- const Radio = RadioNamespace;
12663
+ /**
12664
+ * @deprecated use LegacySelect.OptGroup instead
12665
+ */
12666
+ const LegacyOptGroup = LegacySelectOptGroup;
12023
12667
 
12024
- // TODO: I'm doing this to support storybook's docgen;
12025
- // We should remove this once we have a better storybook integration,
12026
- // since these will be exposed in the library's exports.
12027
- // We should ideally be using __Group instead of __VerticalGroup, but that exists under Checkbox too and conflicts, therefore
12028
- // we show a wrong component name in "Show code" in docs, fix included in story to replace this with correct name
12029
- const __INTERNAL_DO_NOT_USE__VerticalGroup = Group;
12030
- const __INTERNAL_DO_NOT_USE__HorizontalGroup = HorizontalGroup;
12668
+ /**
12669
+ * @deprecated Use Select, TypeaheadCombobox, or DialogCombobox depending on your use-case. See http://go/deprecate-ant-select for more information
12670
+ */
12671
+ const LegacySelect = /* #__PURE__ */(() => {
12672
+ const DuboisRefForwardedSelect = /*#__PURE__*/forwardRef(DuboisSelect);
12673
+ DuboisRefForwardedSelect.Option = LegacySelectOption;
12674
+ DuboisRefForwardedSelect.OptGroup = LegacySelectOptGroup;
12675
+ return DuboisRefForwardedSelect;
12676
+ })();
12031
12677
 
12032
- function getSelectEmotionStyles(_ref) {
12678
+ const getRadioInputStyles = _ref => {
12033
12679
  let {
12034
12680
  clsPrefix,
12035
12681
  theme,
12036
- validationState
12682
+ useNewStyles
12037
12683
  } = _ref;
12038
- const classFocused = `.${clsPrefix}-focused`;
12039
- const classOpen = `.${clsPrefix}-open`;
12040
- const classSingle = `.${clsPrefix}-single`;
12041
- const classSelector = `.${clsPrefix}-selector`;
12042
- const classDisabled = `.${clsPrefix}-disabled`;
12043
- const classMultiple = `.${clsPrefix}-multiple`;
12044
- const classItem = `.${clsPrefix}-selection-item`;
12045
- const classItemOverflowContainer = `.${clsPrefix}-selection-overflow`;
12046
- const classItemOverflowItem = `.${clsPrefix}-selection-overflow-item`;
12047
- const classItemOverflowSuffix = `.${clsPrefix}-selection-overflow-item-suffix`;
12048
- const classArrow = `.${clsPrefix}-arrow`;
12049
- const classArrowLoading = `.${clsPrefix}-arrow-loading`;
12050
- const classPlaceholder = `.${clsPrefix}-selection-placeholder`;
12051
- const classCloseButton = `.${clsPrefix}-selection-item-remove`;
12052
- const classSearch = `.${clsPrefix}-selection-search`;
12053
- const classShowSearch = `.${clsPrefix}-show-search`;
12054
- const classSearchClear = `.${clsPrefix}-clear`;
12055
- const classAllowClear = `.${clsPrefix}-allow-clear`;
12056
- const classSearchInput = `.${clsPrefix}-selection-search-input`;
12057
- const validationColor = getValidationStateColor(theme, validationState);
12058
- const styles = {
12059
- '&:hover': {
12060
- [classSelector]: {
12061
- borderColor: theme.colors.actionDefaultBorderHover
12062
- }
12063
- },
12064
- [classSelector]: {
12065
- paddingLeft: 12,
12066
- // Only the select _item_ is clickable, so we need to have zero padding here, and add it on the item itself,
12067
- // to make sure the whole select is clickable.
12068
- paddingRight: 0,
12069
- color: theme.colors.textPrimary,
12070
- backgroundColor: 'transparent',
12071
- height: theme.general.heightSm,
12072
- '::after': {
12073
- lineHeight: theme.typography.lineHeightBase
12074
- },
12075
- '::before': {
12076
- lineHeight: theme.typography.lineHeightBase
12077
- }
12078
- },
12079
- [classSingle]: {
12080
- [`&${classSelector}`]: {
12081
- height: theme.general.heightSm
12082
- }
12083
- },
12084
- [classItem]: {
12085
- color: theme.colors.textPrimary,
12086
- paddingRight: 32,
12087
- lineHeight: theme.typography.lineHeightBase,
12088
- paddingTop: 5,
12089
- paddingBottom: 5
12090
- },
12091
- // Note: This supports search, which we don't support. The styles here support legacy usages.
12092
- [classSearch]: {
12093
- right: 24,
12094
- left: 8,
12095
- marginInlineStart: 4,
12096
- [classSearchInput]: {
12097
- color: theme.colors.actionDefaultTextDefault,
12098
- height: 24
12099
- }
12100
- },
12101
- [`&${classSingle}`]: {
12102
- [classSearchInput]: {
12103
- height: theme.general.heightSm
12104
- }
12105
- },
12106
- // Note: This supports search, which we don't support. The styles here support legacy usages.
12107
- [`&${classShowSearch}${classOpen}${classSingle}`]: {
12108
- [classItem]: {
12109
- color: theme.colors.actionDisabledText
12110
- }
12111
- },
12112
- // Note: This supports search, which we don't support. The styles here support legacy usages.
12113
- [classSearchClear]: {
12114
- right: 24,
12115
- backgroundColor: 'transparent'
12116
- },
12117
- [`&${classFocused}`]: {
12118
- [classSelector]: {
12119
- outlineColor: theme.colors.actionPrimaryBackgroundDefault,
12120
- outlineWidth: 2,
12121
- outlineOffset: -2,
12122
- outlineStyle: 'solid',
12123
- borderColor: 'transparent',
12124
- boxShadow: 'none'
12125
- }
12126
- },
12127
- [`&${classDisabled}`]: {
12128
- [classSelector]: {
12129
- backgroundColor: theme.colors.actionDisabledBackground,
12130
- color: theme.colors.actionDisabledText,
12131
- border: 'transparent'
12132
- },
12133
- [classItem]: {
12134
- color: theme.colors.actionDisabledText
12135
- },
12136
- [classArrow]: {
12137
- color: theme.colors.actionDisabledText
12138
- }
12139
- },
12140
- [classArrow]: {
12141
- height: theme.general.iconFontSize,
12142
- width: theme.general.iconFontSize,
12143
- top: (theme.general.heightSm - theme.general.iconFontSize) / 2,
12144
- marginTop: 0,
12145
- color: theme.colors.textSecondary,
12146
- fontSize: theme.general.iconFontSize,
12147
- '.anticon': {
12148
- // For some reason ant sets this to 'auto'. Need to set it back to 'none' to allow the element below to receive
12149
- // the click event.
12150
- pointerEvents: 'none'
12151
- },
12152
- [`&${classArrowLoading}`]: {
12153
- top: (theme.general.heightSm - theme.general.iconFontSize) / 2,
12684
+ return {
12685
+ [`.${clsPrefix}`]: {
12686
+ alignSelf: 'start',
12687
+ // Unchecked Styles
12688
+ [`> .${clsPrefix}-input + .${clsPrefix}-inner`]: {
12689
+ width: theme.spacing.md,
12690
+ height: theme.spacing.md,
12691
+ background: useNewStyles ? theme.colors.actionDefaultBackgroundDefault : theme.colors.radioDefaultBackground,
12692
+ borderStyle: 'solid',
12693
+ borderColor: useNewStyles ? theme.colors.actionDefaultBorderDefault : theme.colors.radioDefaultBorder,
12694
+ boxShadow: 'unset',
12695
+ transform: 'unset',
12696
+ // This prevents an awkward jitter on the border
12154
12697
  display: 'flex',
12155
- alignItems: 'center',
12156
12698
  justifyContent: 'center',
12157
- fontSize: theme.general.iconFontSize
12158
- }
12159
- },
12160
- [classPlaceholder]: {
12161
- color: theme.colors.textPlaceholder,
12162
- right: 'auto',
12163
- left: 'auto',
12164
- width: '100%',
12165
- paddingRight: 32,
12166
- lineHeight: theme.typography.lineHeightBase,
12167
- alignSelf: 'center'
12168
- },
12169
- [`&${classMultiple}`]: {
12170
- [classSelector]: {
12171
- paddingTop: 3,
12172
- paddingBottom: 3,
12173
- paddingLeft: 8,
12174
- paddingRight: 30,
12175
- minHeight: theme.general.heightSm,
12176
- height: 'auto',
12177
- '&::after': {
12178
- margin: 0
12179
- }
12180
- },
12181
- [classItem]: {
12182
- backgroundColor: theme.colors.tagDefault,
12183
- color: theme.colors.textPrimary,
12184
- border: 'none',
12185
- height: 20,
12186
- lineHeight: theme.typography.lineHeightBase,
12187
- fontSize: theme.typography.fontSizeBase,
12188
- marginInlineEnd: 4,
12189
- marginTop: 2,
12190
- marginBottom: 2,
12191
- paddingRight: 0,
12192
- paddingTop: 0,
12193
- paddingBottom: 0
12194
- },
12195
- [classItemOverflowContainer]: {
12196
- minHeight: 24
12197
- },
12198
- [classItemOverflowItem]: {
12199
- alignSelf: 'auto',
12200
- height: 24,
12201
- lineHeight: theme.typography.lineHeightBase
12202
- },
12203
- [classSearch]: {
12204
- marginTop: 0,
12205
- left: 0,
12206
- right: 0
12207
- },
12208
- [`&${classDisabled}`]: {
12209
- [classItem]: {
12210
- paddingRight: 2
12211
- }
12212
- },
12213
- [classArrow]: {
12214
- top: (theme.general.heightSm - theme.general.iconFontSize) / 2
12215
- },
12216
- [`&${classAllowClear}`]: {
12217
- [classSearchClear]: {
12218
- top: (theme.general.heightSm - theme.general.iconFontSize + 4) / 2
12219
- }
12220
- },
12221
- [classPlaceholder]: {
12222
- // Compensate for the caret placeholder width
12223
- paddingLeft: 4,
12224
- color: theme.colors.textPlaceholder
12225
- },
12226
- [`&:not(${classFocused})`]: {
12227
- [classItemOverflowSuffix]: {
12228
- // Do not keep the caret's placeholder at full height when not focused,
12229
- // because it introduces a new line even when not focused. Using display: none would break the caret
12230
- height: 0
12231
- }
12232
- }
12233
- },
12234
- [`&${classMultiple}${classDisabled}`]: {
12235
- [classItem]: {
12236
- color: theme.colors.actionDisabledText
12237
- }
12238
- },
12239
- [`&${classAllowClear}`]: {
12240
- [classItem]: {
12241
- paddingRight: 0
12699
+ alignItems: 'center',
12700
+ borderRadius: '50%',
12701
+ '&:after': {
12702
+ all: 'unset'
12703
+ }
12242
12704
  },
12243
- [classSelector]: {
12244
- paddingRight: 52
12705
+ // Hover
12706
+ [`&:not(.${clsPrefix}-disabled) > .${clsPrefix}-input:hover + .${clsPrefix}-inner`]: {
12707
+ borderColor: useNewStyles ? theme.colors.actionPrimaryBackgroundHover : theme.colors.radioInteractiveHover,
12708
+ background: useNewStyles ? theme.colors.actionDefaultBackgroundHover : theme.colors.radioInteractiveHoverSecondary
12245
12709
  },
12246
- [classSearchClear]: {
12247
- top: (theme.general.heightSm - theme.general.iconFontSize + 4) / 2,
12248
- opacity: 100,
12249
- width: theme.general.iconFontSize,
12250
- height: theme.general.iconFontSize,
12251
- marginTop: 0
12252
- }
12253
- },
12254
- [classCloseButton]: {
12255
- color: theme.colors.textPrimary,
12256
- borderTopRightRadius: theme.borders.borderRadiusMd,
12257
- borderBottomRightRadius: theme.borders.borderRadiusMd,
12258
- height: theme.general.iconFontSize,
12259
- width: theme.general.iconFontSize,
12260
- lineHeight: theme.typography.lineHeightBase,
12261
- paddingInlineEnd: 0,
12262
- marginInlineEnd: 0,
12263
- '& > .anticon': {
12264
- height: theme.general.iconFontSize - 4,
12265
- fontSize: theme.general.iconFontSize - 4
12710
+ // Focus
12711
+ [`&:not(.${clsPrefix}-disabled)> .${clsPrefix}-input:focus + .${clsPrefix}-inner`]: {
12712
+ borderColor: useNewStyles ? theme.colors.actionPrimaryBackgroundDefault : theme.colors.primary
12266
12713
  },
12267
- '&:hover': {
12268
- color: theme.colors.actionTertiaryTextHover,
12269
- backgroundColor: theme.colors.tagHover
12714
+ // Active
12715
+ [`&:not(.${clsPrefix}-disabled)> .${clsPrefix}-input:active + .${clsPrefix}-inner`]: {
12716
+ borderColor: useNewStyles ? theme.colors.actionPrimaryBackgroundPress : theme.colors.radioInteractivePress,
12717
+ background: useNewStyles ? theme.colors.actionDefaultBackgroundPress : theme.colors.radioInteractivePressSecondary
12270
12718
  },
12271
- '&:active': {
12272
- color: theme.colors.actionTertiaryTextPress,
12273
- backgroundColor: theme.colors.tagPress
12274
- }
12275
- },
12276
- ...(validationState && {
12277
- [`& > ${classSelector}`]: {
12278
- borderColor: validationColor,
12279
- '&:hover': {
12280
- borderColor: validationColor
12719
+ // Disabled
12720
+ [`&.${clsPrefix}-disabled > .${clsPrefix}-input + .${clsPrefix}-inner`]: {
12721
+ ...(useNewStyles ? {
12722
+ border: `none !important`,
12723
+ // Ant uses !important
12724
+ background: theme.colors.actionDisabledBackground
12725
+ } : {
12726
+ borderColor: `${theme.colors.radioDisabled}!important` // Ant uses !important
12727
+ }),
12728
+
12729
+ '@media (forced-colors: active)': {
12730
+ borderColor: 'GrayText !important'
12281
12731
  }
12282
12732
  },
12283
- [`&${classFocused} > ${classSelector}`]: {
12284
- outlineColor: validationColor,
12285
- outlineOffset: -2
12733
+ // Checked Styles
12734
+ [`&.${clsPrefix}-checked`]: {
12735
+ '&:after': {
12736
+ border: 'unset'
12737
+ },
12738
+ [`> .${clsPrefix}-input + .${clsPrefix}-inner`]: {
12739
+ background: useNewStyles ? theme.colors.actionPrimaryBackgroundDefault : theme.colors.primary,
12740
+ borderColor: theme.colors.primary,
12741
+ '&:after': {
12742
+ content: `""`,
12743
+ borderRadius: theme.spacing.xs,
12744
+ backgroundColor: useNewStyles ? theme.colors.white : theme.colors.radioDefaultBackground,
12745
+ width: theme.spacing.xs,
12746
+ height: theme.spacing.xs
12747
+ },
12748
+ '@media (forced-colors: active)': {
12749
+ borderColor: 'Highlight !important',
12750
+ backgroundColor: 'Highlight !important'
12751
+ }
12752
+ },
12753
+ // Hover
12754
+ [`&:not(.${clsPrefix}-disabled) > .${clsPrefix}-input:hover + .${clsPrefix}-inner`]: {
12755
+ background: useNewStyles ? theme.colors.actionPrimaryBackgroundHover : theme.colors.radioInteractiveHover,
12756
+ borderColor: useNewStyles ? theme.colors.actionPrimaryBackgroundPress : theme.colors.radioInteractiveHover
12757
+ },
12758
+ // Focus
12759
+ [`&:not(.${clsPrefix}-disabled) > .${clsPrefix}-input:focus-visible + .${clsPrefix}-inner`]: {
12760
+ background: useNewStyles ? theme.colors.actionDefaultBackgroundPress : theme.colors.primary,
12761
+ borderColor: useNewStyles ? theme.colors.actionDefaultBorderFocus : theme.colors.primary,
12762
+ boxShadow: `0 0 0 1px ${useNewStyles ? theme.colors.actionDefaultBackgroundDefault : theme.colors.radioDefaultBackground}, 0 0 0 3px ${theme.colors.primary}`
12763
+ },
12764
+ // Active
12765
+ [`&:not(.${clsPrefix}-disabled) > .${clsPrefix}-input:active + .${clsPrefix}-inner`]: {
12766
+ background: useNewStyles ? theme.colors.actionDefaultBackgroundPress : theme.colors.radioInteractivePress,
12767
+ borderColor: useNewStyles ? theme.colors.actionDefaultBorderPress : theme.colors.radioInteractivePress
12768
+ },
12769
+ // Disabled
12770
+ [`&.${clsPrefix}-disabled > .${clsPrefix}-input + .${clsPrefix}-inner`]: {
12771
+ background: useNewStyles ? theme.colors.actionDisabledBackground : theme.colors.radioDisabled,
12772
+ border: useNewStyles ? 'none !important' : `2px solid ${theme.colors.radioDisabled}!important`,
12773
+ // !important inherited from ant
12774
+ '@media (forced-colors: active)': {
12775
+ borderColor: 'GrayText !important',
12776
+ backgroundColor: 'GrayText !important'
12777
+ }
12778
+ }
12286
12779
  }
12287
- }),
12288
- ...getAnimationCss(theme.options.enableAnimation)
12780
+ }
12289
12781
  };
12290
- const importantStyles = importantify(styles);
12291
- return /*#__PURE__*/css(importantStyles, process.env.NODE_ENV === "production" ? "" : ";label:getSelectEmotionStyles;");
12292
- }
12293
- function getDropdownStyles(clsPrefix, theme) {
12294
- let useNewDropdownStyle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
12295
- const classItem = `.${clsPrefix}-item-option`;
12296
- const classItemActive = `.${clsPrefix}-item-option-active`;
12297
- const classItemSelected = `.${clsPrefix}-item-option-selected`;
12298
- const classItemState = `.${clsPrefix}-item-option-state`;
12299
- const classItemContent = `.${clsPrefix}-item-option-content`;
12300
- const CONTENT_LEFT_PADDING = 28;
12301
- const styles = {
12302
- ...(useNewDropdownStyle ? dropdownContentStyles(theme) : {
12303
- borderColor: theme.colors.borderDecorative,
12304
- borderWidth: 1,
12305
- borderStyle: 'solid',
12306
- zIndex: theme.options.zIndexBase + 50,
12307
- boxShadow: theme.general.shadowLow
12308
- }),
12309
- [classItem]: {
12310
- height: theme.general.heightSm,
12311
- ...(useNewDropdownStyle && {
12312
- padding: '4px 8px',
12313
- alignItems: 'center',
12314
- lineHeight: theme.typography.lineHeightBase
12782
+ };
12783
+ const getCommonRadioGroupStyles = _ref2 => {
12784
+ let {
12785
+ theme,
12786
+ clsPrefix,
12787
+ classNamePrefix,
12788
+ useNewStyles
12789
+ } = _ref2;
12790
+ return /*#__PURE__*/css({
12791
+ '& > label': {
12792
+ ...(useNewStyles && {
12793
+ [`&.${classNamePrefix}-radio-wrapper-disabled > span`]: {
12794
+ color: theme.colors.actionDisabledText
12795
+ }
12315
12796
  })
12316
12797
  },
12317
- ...(useNewDropdownStyle && {
12318
- [classItemContent]: {
12319
- paddingLeft: CONTENT_LEFT_PADDING
12320
- }
12798
+ [`& > label + .${classNamePrefix}-hint`]: {
12799
+ paddingLeft: theme.spacing.lg
12800
+ },
12801
+ ...getRadioInputStyles({
12802
+ theme,
12803
+ clsPrefix,
12804
+ useNewStyles
12321
12805
  }),
12322
- [classItemActive]: {
12323
- backgroundColor: theme.colors.actionTertiaryBackgroundHover,
12324
- height: theme.general.heightSm,
12325
- '&:hover': {
12326
- backgroundColor: theme.colors.actionTertiaryBackgroundHover
12327
- }
12806
+ ...getAnimationCss(theme.options.enableAnimation)
12807
+ }, process.env.NODE_ENV === "production" ? "" : ";label:getCommonRadioGroupStyles;");
12808
+ };
12809
+ const getHorizontalRadioGroupStyles = _ref3 => {
12810
+ let {
12811
+ theme,
12812
+ classNamePrefix,
12813
+ useNewStyles
12814
+ } = _ref3;
12815
+ return /*#__PURE__*/css({
12816
+ '&&': {
12817
+ display: 'grid',
12818
+ gridTemplateRows: '[label] auto [hint] auto',
12819
+ gridAutoColumns: 'max-content',
12820
+ gridColumnGap: useNewStyles ? theme.spacing.md : theme.spacing.sm
12328
12821
  },
12329
- [classItemSelected]: {
12330
- backgroundColor: theme.colors.actionTertiaryBackgroundHover,
12822
+ '& > label': {
12823
+ gridRow: 'label / label',
12824
+ marginRight: 0
12825
+ },
12826
+ [`& > label + .${classNamePrefix}-hint`]: {
12827
+ display: 'inline-block',
12828
+ gridRow: 'hint / hint'
12829
+ }
12830
+ }, process.env.NODE_ENV === "production" ? "" : ";label:getHorizontalRadioGroupStyles;");
12831
+ };
12832
+ const getVerticalRadioGroupStyles = _ref4 => {
12833
+ let {
12834
+ theme,
12835
+ classNamePrefix,
12836
+ useNewStyles
12837
+ } = _ref4;
12838
+ return /*#__PURE__*/css({
12839
+ display: 'flex',
12840
+ flexDirection: 'column',
12841
+ flexWrap: 'wrap',
12842
+ '& > label': {
12331
12843
  fontWeight: 'normal',
12332
- '&:hover': {
12333
- backgroundColor: theme.colors.actionTertiaryBackgroundHover
12334
- }
12844
+ ...(useNewStyles && {
12845
+ paddingBottom: theme.spacing.sm
12846
+ })
12335
12847
  },
12336
- [classItemState]: {
12337
- color: theme.colors.textSecondary,
12338
- ...(useNewDropdownStyle && {
12339
- position: 'absolute'
12848
+ [`& > label:last-of-type`]: {
12849
+ paddingBottom: 0
12850
+ },
12851
+ [`& > label + .${classNamePrefix}-hint`]: {
12852
+ marginBottom: theme.spacing.sm,
12853
+ paddingLeft: theme.spacing.lg,
12854
+ ...(useNewStyles && {
12855
+ marginTop: `-${theme.spacing.sm}px`
12856
+ })
12857
+ },
12858
+ [`& > label:last-of-type + .${classNamePrefix}-hint`]: {
12859
+ ...(useNewStyles && {
12860
+ marginTop: 0
12861
+ })
12862
+ }
12863
+ }, process.env.NODE_ENV === "production" ? "" : ";label:getVerticalRadioGroupStyles;");
12864
+ };
12865
+ const getRadioStyles = _ref5 => {
12866
+ let {
12867
+ theme,
12868
+ clsPrefix,
12869
+ useNewStyles
12870
+ } = _ref5;
12871
+ // Default as bold for standalone radios
12872
+ const fontWeight = 'normal';
12873
+ const styles = {
12874
+ fontWeight
12875
+ };
12876
+ return /*#__PURE__*/css({
12877
+ ...getRadioInputStyles({
12878
+ theme,
12879
+ clsPrefix,
12880
+ useNewStyles
12881
+ }),
12882
+ ...styles
12883
+ }, process.env.NODE_ENV === "production" ? "" : ";label:getRadioStyles;");
12884
+ };
12885
+ const DuboisRadio = /*#__PURE__*/forwardRef(function Radio(_ref6, ref) {
12886
+ let {
12887
+ children,
12888
+ dangerouslySetAntdProps,
12889
+ ...props
12890
+ } = _ref6;
12891
+ const {
12892
+ theme,
12893
+ getPrefixedClassName
12894
+ } = useDesignSystemTheme();
12895
+ const useNewStyles = safex('databricks.fe.designsystem.enableNewRadioStyles', false);
12896
+ const clsPrefix = getPrefixedClassName('radio');
12897
+ return jsx(DesignSystemAntDConfigProvider, {
12898
+ children: jsx(Radio$1, {
12899
+ css: getRadioStyles({
12900
+ theme,
12901
+ clsPrefix,
12902
+ useNewStyles
12340
12903
  }),
12341
- '& > span': {
12342
- verticalAlign: 'middle'
12343
- }
12344
- },
12345
- [`.${clsPrefix}-loading-options`]: {
12346
- pointerEvents: 'none',
12347
- margin: '0 auto',
12348
- height: theme.general.heightSm,
12349
- display: 'block',
12350
- ...(useNewDropdownStyle && {
12351
- left: -CONTENT_LEFT_PADDING / 2
12904
+ ...props,
12905
+ ...dangerouslySetAntdProps,
12906
+ ref: ref,
12907
+ children: jsx(RestoreAntDDefaultClsPrefix, {
12908
+ children: children
12352
12909
  })
12353
- },
12354
- ...getAnimationCss(theme.options.enableAnimation),
12355
- ...getDarkModePortalStyles(theme)
12356
- };
12357
- const importantStyles = importantify(styles);
12358
- return /*#__PURE__*/css(importantStyles, process.env.NODE_ENV === "production" ? "" : ";label:getDropdownStyles;");
12359
- }
12360
- function getLoadingIconStyles(theme) {
12361
- return /*#__PURE__*/css({
12362
- fontSize: 20,
12363
- color: theme.colors.textSecondary,
12364
- lineHeight: '20px'
12365
- }, process.env.NODE_ENV === "production" ? "" : ";label:getLoadingIconStyles;");
12366
- }
12367
- const scrollbarVisibleItemsCount = 8;
12368
- const getIconSizeStyle = (theme, newIconDefault) => importantify({
12369
- fontSize: newIconDefault !== null && newIconDefault !== void 0 ? newIconDefault : theme.general.iconFontSize
12910
+ })
12911
+ });
12370
12912
  });
12371
- function DuboisSelect(_ref2, ref) {
12913
+ const StyledRadioGroup = /*#__PURE__*/forwardRef(function StyledRadioGroup(_ref7, ref) {
12372
12914
  let {
12373
12915
  children,
12374
- validationState,
12375
- loading,
12376
- loadingDescription = 'Select',
12377
- mode,
12378
- options,
12379
- notFoundContent,
12380
- optionFilterProp,
12381
12916
  dangerouslySetAntdProps,
12382
- virtual,
12383
- dropdownClassName,
12384
- id,
12385
- onDropdownVisibleChange,
12386
- maxHeight,
12387
- ...restProps
12388
- } = _ref2;
12917
+ ...props
12918
+ } = _ref7;
12389
12919
  const {
12390
12920
  theme,
12391
- getPrefixedClassName
12921
+ getPrefixedClassName,
12922
+ classNamePrefix
12392
12923
  } = useDesignSystemTheme();
12393
- const useNewSelectStyles = safex('databricks.fe.designsystem.useNewSelectStyles', false);
12394
- const clsPrefix = getPrefixedClassName('select');
12395
- const [isOpen, setIsOpen] = useState(false);
12396
- const [uniqueId, setUniqueId] = useState('');
12397
-
12398
- // Antd's default is 256, to show half an extra item when scrolling we add 0.5 height extra
12399
- // Reducing to 5.5 as it's default with other components is not an option here because it would break existing usages relying on 8 items being shown by default
12400
- const MAX_HEIGHT = maxHeight !== null && maxHeight !== void 0 ? maxHeight : theme.general.heightSm * 8.5;
12401
- useEffect(() => {
12402
- setUniqueId(id || _uniqueId('dubois-select-'));
12403
- }, [id]);
12404
- useEffect(() => {
12405
- var _document$getElementB;
12406
- // Ant doesn't populate aria-expanded on init (only on user interaction) so we need to do it ourselves
12407
- // in order to pass accessibility tests (Microsoft Accessibility Insights). See: JOBS-11125
12408
- (_document$getElementB = document.getElementById(uniqueId)) === null || _document$getElementB === void 0 || _document$getElementB.setAttribute('aria-expanded', 'false');
12409
- }, [uniqueId]);
12410
- return jsx(ClassNames, {
12411
- children: _ref3 => {
12412
- let {
12413
- css: css$1
12414
- } = _ref3;
12415
- return jsxs(DesignSystemAntDConfigProvider, {
12416
- children: [loading && jsx(LoadingState, {
12417
- description: loadingDescription
12418
- }), jsx(Select$1, {
12419
- onDropdownVisibleChange: visible => {
12420
- onDropdownVisibleChange === null || onDropdownVisibleChange === void 0 || onDropdownVisibleChange(visible);
12421
- setIsOpen(visible);
12422
- }
12423
- // unset aria-owns, aria-controls, and aria-activedescendant if the dropdown is closed;
12424
- // ant always sets these even if the dropdown isn't present in the DOM yet.
12425
- // This was flagged by Microsoft Accessibility Insights. See: JOBS-11125
12426
- ,
12427
- ...(!isOpen ? {
12428
- 'aria-owns': undefined,
12429
- 'aria-controls': undefined,
12430
- 'aria-activedescendant': undefined
12431
- } : {}),
12432
- id: uniqueId,
12433
- css: getSelectEmotionStyles({
12434
- clsPrefix,
12435
- theme,
12436
- validationState
12437
- }),
12438
- removeIcon: jsx(CloseIcon, {
12439
- "aria-hidden": "false",
12440
- css: getIconSizeStyle(theme)
12441
- }),
12442
- clearIcon: jsx(XCircleFillIcon$1, {
12443
- "aria-hidden": "false",
12444
- css: getIconSizeStyle(theme, 12),
12445
- "aria-label": "close-circle"
12446
- }),
12447
- ref: ref,
12448
- suffixIcon: loading && mode === 'tags' ? jsx(LoadingIcon, {
12449
- spin: true,
12450
- "aria-label": "loading",
12451
- "aria-hidden": "false",
12452
- css: getIconSizeStyle(theme, 12)
12453
- }) : jsx(ChevronDownIcon$1, {
12454
- css: getIconSizeStyle(theme)
12455
- }),
12456
- menuItemSelectedIcon: jsx(CheckIcon, {
12457
- css: getIconSizeStyle(theme)
12458
- }),
12459
- showArrow: true,
12460
- dropdownMatchSelectWidth: true,
12461
- notFoundContent: notFoundContent !== null && notFoundContent !== void 0 ? notFoundContent : jsx("div", {
12462
- css: /*#__PURE__*/css({
12463
- color: theme.colors.textSecondary,
12464
- textAlign: 'center'
12465
- }),
12466
- children: "No results found"
12467
- }),
12468
- dropdownClassName: css$1([getDropdownStyles(clsPrefix, theme, useNewSelectStyles), dropdownClassName]),
12469
- listHeight: MAX_HEIGHT,
12470
- maxTagPlaceholder: items => `+ ${items.length} more`,
12471
- mode: mode,
12472
- options: options,
12473
- loading: loading,
12474
- filterOption: true
12475
- // NOTE(FEINF-1102): This is needed to avoid ghost scrollbar that generates error when clicked on exactly 8 elements
12476
- // Because by default AntD uses true for virtual, we want to replicate the same even if there are no children
12477
- ,
12478
- virtual: virtual !== null && virtual !== void 0 ? virtual : children && Array.isArray(children) && children.length !== scrollbarVisibleItemsCount || options && options.length !== scrollbarVisibleItemsCount || !children && !options,
12479
- optionFilterProp: optionFilterProp !== null && optionFilterProp !== void 0 ? optionFilterProp : 'children',
12480
- ...restProps,
12481
- ...dangerouslySetAntdProps,
12482
- children: loading && mode !== 'tags' ? jsxs(Fragment, {
12483
- children: [children, jsx(Option, {
12484
- disabled: true,
12485
- value: "select-loading-options",
12486
- className: `${clsPrefix}-loading-options`,
12487
- children: jsx(LoadingIcon, {
12488
- "aria-hidden": "false",
12489
- spin: true,
12490
- css: getLoadingIconStyles(theme),
12491
- "aria-label": "loading"
12492
- })
12493
- })]
12494
- }) : children
12495
- })]
12496
- });
12497
- }
12924
+ const useNewStyles = safex('databricks.fe.designsystem.enableNewRadioStyles', false);
12925
+ const clsPrefix = getPrefixedClassName('radio');
12926
+ return jsx(DesignSystemAntDConfigProvider, {
12927
+ children: jsx(Radio$1.Group, {
12928
+ ...props,
12929
+ css: getCommonRadioGroupStyles({
12930
+ theme,
12931
+ clsPrefix,
12932
+ classNamePrefix,
12933
+ useNewStyles
12934
+ }),
12935
+ ...dangerouslySetAntdProps,
12936
+ ref: ref,
12937
+ children: jsx(RestoreAntDDefaultClsPrefix, {
12938
+ children: children
12939
+ })
12940
+ })
12498
12941
  });
12499
- }
12500
-
12501
- /** @deprecated Use `SelectOptionProps` */
12502
-
12503
- const SelectOption = /*#__PURE__*/forwardRef(function Option(props, ref) {
12942
+ });
12943
+ const HorizontalGroup = /*#__PURE__*/forwardRef(function HorizontalGroup(_ref8, ref) {
12944
+ let {
12945
+ dangerouslySetAntdProps,
12946
+ ...props
12947
+ } = _ref8;
12504
12948
  const {
12949
+ theme,
12950
+ classNamePrefix
12951
+ } = useDesignSystemTheme();
12952
+ const useNewStyles = safex('databricks.fe.designsystem.enableNewRadioStyles', false);
12953
+ return jsx(StyledRadioGroup, {
12954
+ css: getHorizontalRadioGroupStyles({
12955
+ theme,
12956
+ classNamePrefix,
12957
+ useNewStyles
12958
+ }),
12959
+ ...props,
12960
+ ref: ref,
12961
+ ...dangerouslySetAntdProps
12962
+ });
12963
+ });
12964
+ const Group = /*#__PURE__*/forwardRef(function HorizontalGroup(_ref9, ref) {
12965
+ let {
12505
12966
  dangerouslySetAntdProps,
12506
- ...restProps
12507
- } = props;
12508
- return jsx(Select$1.Option, {
12509
- ...restProps,
12967
+ layout = 'vertical',
12968
+ ...props
12969
+ } = _ref9;
12970
+ const {
12971
+ theme,
12972
+ classNamePrefix
12973
+ } = useDesignSystemTheme();
12974
+ const useNewStyles = safex('databricks.fe.designsystem.enableNewRadioStyles', false);
12975
+ return jsx(StyledRadioGroup, {
12976
+ css: layout === 'horizontal' ? getHorizontalRadioGroupStyles({
12977
+ theme,
12978
+ classNamePrefix,
12979
+ useNewStyles
12980
+ }) : getVerticalRadioGroupStyles({
12981
+ theme,
12982
+ classNamePrefix,
12983
+ useNewStyles
12984
+ }),
12985
+ ...props,
12510
12986
  ref: ref,
12511
12987
  ...dangerouslySetAntdProps
12512
12988
  });
12513
12989
  });
12514
12990
 
12515
- // Needed for rc-select to not throw warning about our component not being Select.Option
12516
- SelectOption.isSelectOption = true;
12517
-
12518
- /**
12519
- * @deprecated use Select.Option instead
12520
- */
12521
- const Option = SelectOption;
12522
-
12523
- /** @deprecated Use `SelectOptGroupProps` */
12991
+ // Note: We are overriding ant's default "Group" with our own.
12992
+ const RadioNamespace = /* #__PURE__ */Object.assign(DuboisRadio, {
12993
+ Group,
12994
+ HorizontalGroup
12995
+ });
12996
+ const Radio = RadioNamespace;
12524
12997
 
12525
- const SelectOptGroup = /* #__PURE__ */(() => {
12526
- const OptGroup = /*#__PURE__*/forwardRef(function OptGroup(props, ref) {
12527
- return jsx(Select$1.OptGroup, {
12528
- ...props,
12529
- isSelectOptGroup: true,
12530
- ref: ref
12531
- });
12532
- });
12533
- // Needed for antd to work properly and for rc-select to not throw warning about our component not being Select.OptGroup
12534
- OptGroup.isSelectOptGroup = true;
12535
- return OptGroup;
12536
- })();
12998
+ // TODO: I'm doing this to support storybook's docgen;
12999
+ // We should remove this once we have a better storybook integration,
13000
+ // since these will be exposed in the library's exports.
13001
+ // We should ideally be using __Group instead of __VerticalGroup, but that exists under Checkbox too and conflicts, therefore
13002
+ // we show a wrong component name in "Show code" in docs, fix included in story to replace this with correct name
13003
+ const __INTERNAL_DO_NOT_USE__VerticalGroup = Group;
13004
+ const __INTERNAL_DO_NOT_USE__HorizontalGroup = HorizontalGroup;
12537
13005
 
12538
13006
  /**
12539
- * @deprecated use Select.OptGroup instead
12540
- */
12541
- const OptGroup = SelectOptGroup;
12542
- const Select = /* #__PURE__ */(() => {
12543
- const DuboisRefForwardedSelect = /*#__PURE__*/forwardRef(DuboisSelect);
12544
- DuboisRefForwardedSelect.Option = SelectOption;
12545
- DuboisRefForwardedSelect.OptGroup = SelectOptGroup;
12546
- return DuboisRefForwardedSelect;
12547
- })();
12548
-
12549
- const SelectV2 = props => {
13007
+ * Please use `SimpleSelect` unless you have a specific use-case for this primitive.
13008
+ * Ask in #dubois if you have questions!
13009
+ */
13010
+ const Select = props => {
12550
13011
  const {
12551
13012
  children,
12552
13013
  placeholder,
@@ -12566,7 +13027,11 @@ const SelectV2 = props => {
12566
13027
  });
12567
13028
  };
12568
13029
 
12569
- const SelectV2Content = /*#__PURE__*/forwardRef((_ref, ref) => {
13030
+ /**
13031
+ * Please use `SimpleSelect` unless you have a specific use-case for this primitive.
13032
+ * Ask in #dubois if you have questions!
13033
+ */
13034
+ const SelectContent = /*#__PURE__*/forwardRef((_ref, ref) => {
12570
13035
  let {
12571
13036
  children,
12572
13037
  minWidth = 150,
@@ -12582,7 +13047,11 @@ const SelectV2Content = /*#__PURE__*/forwardRef((_ref, ref) => {
12582
13047
  });
12583
13048
  });
12584
13049
 
12585
- const SelectV2Option = /*#__PURE__*/forwardRef((props, ref) => {
13050
+ /**
13051
+ * Please use `SimpleSelect` unless you have a specific use-case for this primitive.
13052
+ * Ask in #dubois if you have questions!
13053
+ */
13054
+ const SelectOption = /*#__PURE__*/forwardRef((props, ref) => {
12586
13055
  const {
12587
13056
  value
12588
13057
  } = useDialogComboboxContext();
@@ -12593,7 +13062,11 @@ const SelectV2Option = /*#__PURE__*/forwardRef((props, ref) => {
12593
13062
  });
12594
13063
  });
12595
13064
 
12596
- const SelectV2OptionGroup = props => {
13065
+ /**
13066
+ * Please use `SimpleSelect` unless you have a specific use-case for this primitive.
13067
+ * Ask in #dubois if you have questions!
13068
+ */
13069
+ const SelectOptionGroup = props => {
12597
13070
  const {
12598
13071
  name,
12599
13072
  children,
@@ -12607,7 +13080,11 @@ const SelectV2OptionGroup = props => {
12607
13080
  });
12608
13081
  };
12609
13082
 
12610
- const SelectV2Trigger = /*#__PURE__*/forwardRef((props, ref) => {
13083
+ /**
13084
+ * Please use `SimpleSelect` unless you have a specific use-case for this primitive.
13085
+ * Ask in #dubois if you have questions!
13086
+ */
13087
+ const SelectTrigger = /*#__PURE__*/forwardRef((props, ref) => {
12611
13088
  const {
12612
13089
  children,
12613
13090
  ...restProps
@@ -12620,6 +13097,161 @@ const SelectV2Trigger = /*#__PURE__*/forwardRef((props, ref) => {
12620
13097
  });
12621
13098
  });
12622
13099
 
13100
+ const SimpleSelectContext = /*#__PURE__*/createContext(undefined);
13101
+
13102
+ // This is modelled to match the behavior of native select elements;
13103
+ // this allows SimpleSelect to be compatible natively with React Hook Form.
13104
+ const getSelectedOption = (children, value) => {
13105
+ const childArray = React__default.Children.toArray(children);
13106
+ for (const child of childArray) {
13107
+ if ( /*#__PURE__*/React__default.isValidElement(child)) {
13108
+ if (child.type === SimpleSelectOption && child.props.value === value) {
13109
+ return child;
13110
+ }
13111
+ if (child.props.children) {
13112
+ const nestedOption = getSelectedOption(child.props.children, value);
13113
+ if (nestedOption) {
13114
+ return nestedOption;
13115
+ }
13116
+ }
13117
+ }
13118
+ }
13119
+ return undefined;
13120
+ };
13121
+ const getSelectedOptionLabel = (children, value) => {
13122
+ const selectedOption = getSelectedOption(children, value);
13123
+ if ( /*#__PURE__*/React__default.isValidElement(selectedOption)) {
13124
+ return selectedOption.props.children;
13125
+ }
13126
+ return '';
13127
+ };
13128
+
13129
+ /**
13130
+ * This is the future `Select` component which simplifies the API of the current Select primitives.
13131
+ * It is temporarily named `SimpleSelect` pending cleanup.
13132
+ */
13133
+ const SimpleSelect = /*#__PURE__*/forwardRef((_ref, ref) => {
13134
+ var _innerRef$current3;
13135
+ let {
13136
+ name,
13137
+ label,
13138
+ placeholder,
13139
+ children,
13140
+ contentProps,
13141
+ onChange,
13142
+ id,
13143
+ value,
13144
+ validationState,
13145
+ ...rest
13146
+ } = _ref;
13147
+ const innerRef = useRef(null);
13148
+ useImperativeHandle(ref, () => innerRef.current, []);
13149
+ const [defaultLabel] = useState(() => {
13150
+ if (value) {
13151
+ return getSelectedOptionLabel(children, value);
13152
+ }
13153
+ return '';
13154
+ });
13155
+ const [selectedValue, setSelectedValue] = useState(value);
13156
+ const [selectedLabel, setSelectedLabel] = useState(defaultLabel);
13157
+ const handleChange = newValue => {
13158
+ setSelectedValue(newValue);
13159
+ setSelectedLabel(getSelectedOptionLabel(children, newValue));
13160
+ };
13161
+
13162
+ // This handles direct manipulation of the value of the combobox, i.e. by RHF.
13163
+ useEffect(() => {
13164
+ var _innerRef$current, _innerRef$current2;
13165
+ setSelectedValue((_innerRef$current = innerRef.current) === null || _innerRef$current === void 0 ? void 0 : _innerRef$current.value);
13166
+ if ((_innerRef$current2 = innerRef.current) !== null && _innerRef$current2 !== void 0 && _innerRef$current2.value) {
13167
+ setSelectedLabel(getSelectedOptionLabel(children, innerRef.current.value));
13168
+ }
13169
+ }, [(_innerRef$current3 = innerRef.current) === null || _innerRef$current3 === void 0 ? void 0 : _innerRef$current3.value, children]);
13170
+
13171
+ // This needs to be as an effect of the selectedValue changing,
13172
+ // as libraries using onChange may wish to look at the element directly with ref (i.e. RHF).
13173
+ useEffect(() => {
13174
+ if (onChange) {
13175
+ const event = {
13176
+ target: {
13177
+ name: name || id,
13178
+ type: 'select',
13179
+ value: selectedValue || ''
13180
+ },
13181
+ type: 'change'
13182
+ };
13183
+ onChange(event);
13184
+ }
13185
+ }, [selectedValue, name, id, onChange]);
13186
+ return jsx(SimpleSelectContext.Provider, {
13187
+ value: {
13188
+ value: selectedValue,
13189
+ onChange: handleChange
13190
+ },
13191
+ children: jsxs(Select, {
13192
+ value: selectedValue,
13193
+ placeholder: placeholder,
13194
+ label: label,
13195
+ children: [jsx(SelectTrigger, {
13196
+ ...rest,
13197
+ id: id,
13198
+ ref: innerRef,
13199
+ value: selectedValue,
13200
+ validationState: validationState,
13201
+ onClear: () => {
13202
+ handleChange('');
13203
+ },
13204
+ children: selectedLabel || placeholder
13205
+ }), jsx(SelectContent, {
13206
+ ...contentProps,
13207
+ children: children
13208
+ })]
13209
+ })
13210
+ });
13211
+ });
13212
+ const SimpleSelectOption = /*#__PURE__*/forwardRef((_ref2, ref) => {
13213
+ let {
13214
+ value,
13215
+ children,
13216
+ ...rest
13217
+ } = _ref2;
13218
+ const context = useContext(SimpleSelectContext);
13219
+ if (!context) {
13220
+ throw new Error('SimpleSelectOption must be used within a SimpleSelect');
13221
+ }
13222
+ const {
13223
+ onChange
13224
+ } = context;
13225
+ return jsx(SelectOption, {
13226
+ ...rest,
13227
+ ref: ref,
13228
+ value: value,
13229
+ onChange: _ref3 => {
13230
+ let {
13231
+ value
13232
+ } = _ref3;
13233
+ onChange(value);
13234
+ },
13235
+ children: children
13236
+ });
13237
+ });
13238
+ const SimpleSelectOptionGroup = _ref4 => {
13239
+ let {
13240
+ children,
13241
+ label,
13242
+ ...props
13243
+ } = _ref4;
13244
+ const context = useContext(SimpleSelectContext);
13245
+ if (!context) {
13246
+ throw new Error('SimpleSelectOptionGroup must be used within a SimpleSelect');
13247
+ }
13248
+ return jsx(SelectOptionGroup, {
13249
+ ...props,
13250
+ name: label,
13251
+ children: children
13252
+ });
13253
+ };
13254
+
12623
13255
  const getSwitchWithLabelStyles = _ref => {
12624
13256
  let {
12625
13257
  clsPrefix,
@@ -12983,7 +13615,9 @@ function useComboboxState(_ref) {
12983
13615
  props.setSelectedItems(props.selectedItems.filter(item => item !== newSelectedItem));
12984
13616
  }
12985
13617
  }
12986
- }
13618
+ },
13619
+ initialInputValue: props.initialInputValue,
13620
+ initialSelectedItem: props.initialSelectedItem
12987
13621
  });
12988
13622
  return comboboxState;
12989
13623
  }
@@ -13012,7 +13646,7 @@ const useTypeaheadComboboxContext = () => {
13012
13646
  };
13013
13647
 
13014
13648
  function _EMOTION_STRINGIFIED_CSS_ERROR__$d() { 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)."; }
13015
- var _ref$4 = process.env.NODE_ENV === "production" ? {
13649
+ var _ref$5 = process.env.NODE_ENV === "production" ? {
13016
13650
  name: "xv0ss6",
13017
13651
  styles: "padding:0;margin:0;display:flex;flex-direction:column;align-items:flex-start;position:absolute"
13018
13652
  } : {
@@ -13021,7 +13655,7 @@ var _ref$4 = process.env.NODE_ENV === "production" ? {
13021
13655
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$d
13022
13656
  };
13023
13657
  const getTypeaheadComboboxMenuStyles = () => {
13024
- return _ref$4;
13658
+ return _ref$5;
13025
13659
  };
13026
13660
  const TypeaheadComboboxMenu = /*#__PURE__*/forwardRef((_ref2, ref) => {
13027
13661
  let {
@@ -13384,6 +14018,7 @@ const TypeaheadComboboxControls = _ref => {
13384
14018
  let {
13385
14019
  getDownshiftToggleButtonProps,
13386
14020
  showClearSelectionButton,
14021
+ showComboboxToggleButton = true,
13387
14022
  handleClear,
13388
14023
  disabled
13389
14024
  } = _ref;
@@ -13400,7 +14035,7 @@ const TypeaheadComboboxControls = _ref => {
13400
14035
  children: [showClearSelectionButton && jsx(ClearSelectionButton, {
13401
14036
  onClick: handleClear,
13402
14037
  css: _ref2$5
13403
- }), jsx(TypeaheadComboboxToggleButton, {
14038
+ }), showComboboxToggleButton && jsx(TypeaheadComboboxToggleButton, {
13404
14039
  ...getDownshiftToggleButtonProps(),
13405
14040
  disabled: disabled
13406
14041
  })]
@@ -13408,7 +14043,7 @@ const TypeaheadComboboxControls = _ref => {
13408
14043
  };
13409
14044
 
13410
14045
  function _EMOTION_STRINGIFIED_CSS_ERROR__$9() { 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)."; }
13411
- var _ref$3 = process.env.NODE_ENV === "production" ? {
14046
+ var _ref$4 = process.env.NODE_ENV === "production" ? {
13412
14047
  name: "5ob2ly",
13413
14048
  styles: "display:flex;position:relative"
13414
14049
  } : {
@@ -13417,10 +14052,10 @@ var _ref$3 = process.env.NODE_ENV === "production" ? {
13417
14052
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$9
13418
14053
  };
13419
14054
  const getContainerStyles$1 = () => {
13420
- return _ref$3;
14055
+ return _ref$4;
13421
14056
  };
13422
- const getInputStyles$1 = theme => /*#__PURE__*/css({
13423
- paddingRight: 52,
14057
+ const getInputStyles$1 = (theme, showComboboxToggleButton) => /*#__PURE__*/css({
14058
+ paddingRight: showComboboxToggleButton ? 52 : 26,
13424
14059
  width: '100%',
13425
14060
  minWidth: 72,
13426
14061
  '&:disabled': {
@@ -13436,6 +14071,7 @@ const TypeaheadComboboxInput = /*#__PURE__*/forwardRef((_ref2, ref) => {
13436
14071
  let {
13437
14072
  comboboxState,
13438
14073
  allowClear = true,
14074
+ showComboboxToggleButton = true,
13439
14075
  formOnChange,
13440
14076
  onClick,
13441
14077
  ...restProps
@@ -13497,11 +14133,12 @@ const TypeaheadComboboxInput = /*#__PURE__*/forwardRef((_ref2, ref) => {
13497
14133
  ref: mergedRef,
13498
14134
  ...downshiftProps,
13499
14135
  onClick: handleClick,
13500
- css: getInputStyles$1(theme),
14136
+ css: getInputStyles$1(theme, showComboboxToggleButton),
13501
14137
  ...restProps
13502
14138
  }), jsx(TypeaheadComboboxControls, {
13503
14139
  getDownshiftToggleButtonProps: getToggleButtonProps,
13504
14140
  showClearSelectionButton: allowClear && Boolean(inputValue) && !restProps.disabled,
14141
+ showComboboxToggleButton: showComboboxToggleButton,
13505
14142
  handleClear: handleClear,
13506
14143
  disabled: restProps.disabled
13507
14144
  })]
@@ -13673,7 +14310,7 @@ var _ref2$3 = process.env.NODE_ENV === "production" ? {
13673
14310
  const getContentWrapperStyles = () => {
13674
14311
  return _ref2$3;
13675
14312
  };
13676
- var _ref$2 = process.env.NODE_ENV === "production" ? {
14313
+ var _ref$3 = process.env.NODE_ENV === "production" ? {
13677
14314
  name: "qngrd1",
13678
14315
  styles: "display:inline-flex;position:relative;max-width:100%;align-self:auto;flex:none"
13679
14316
  } : {
@@ -13682,7 +14319,7 @@ var _ref$2 = process.env.NODE_ENV === "production" ? {
13682
14319
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$7
13683
14320
  };
13684
14321
  const getInputWrapperStyles = () => {
13685
- return _ref$2;
14322
+ return _ref$3;
13686
14323
  };
13687
14324
  const getInputStyles = theme => {
13688
14325
  return /*#__PURE__*/css({
@@ -14014,7 +14651,10 @@ function RHFControlledTextArea(_ref3) {
14014
14651
  defaultValue: restProps.defaultValue
14015
14652
  });
14016
14653
  }
14017
- function RHFControlledSelect(_ref4) {
14654
+ /**
14655
+ * @deprecated Use `RHFControlledSelect` instead.
14656
+ */
14657
+ function RHFControlledLegacySelect(_ref4) {
14018
14658
  let {
14019
14659
  name,
14020
14660
  control,
@@ -14028,14 +14668,18 @@ function RHFControlledSelect(_ref4) {
14028
14668
  control: control,
14029
14669
  rules: rules
14030
14670
  });
14031
- return jsx(Select, {
14671
+ return jsx(LegacySelect, {
14032
14672
  ...restProps,
14033
14673
  ...field,
14034
14674
  value: field.value,
14035
14675
  defaultValue: field.value
14036
14676
  });
14037
14677
  }
14038
- function RHFControlledSelectV2(_ref5) {
14678
+ /**
14679
+ * @deprecated This component is no longer necessary as `SimpleSelect` can be used uncontrolled by RHF.
14680
+ * Please consult the Forms Guide on go/dubois.
14681
+ */
14682
+ function RHFControlledSelect(_ref5) {
14039
14683
  let {
14040
14684
  name,
14041
14685
  control,
@@ -14085,25 +14729,25 @@ function RHFControlledSelectV2(_ref5) {
14085
14729
  }
14086
14730
  // eslint-disable-next-line react-hooks/exhaustive-deps
14087
14731
  }, [field.value]);
14088
- return jsxs(SelectV2, {
14732
+ return jsxs(Select, {
14089
14733
  ...restProps,
14090
14734
  value: field.value,
14091
- children: [jsx(SelectV2Trigger, {
14735
+ children: [jsx(SelectTrigger, {
14092
14736
  ...triggerProps,
14093
14737
  width: width,
14094
14738
  onBlur: field.onBlur,
14095
14739
  validationState: validationState,
14096
14740
  children: selectedValueLabel
14097
- }), jsx(SelectV2Content, {
14741
+ }), jsx(SelectContent, {
14098
14742
  ...contentProps,
14099
14743
  side: "bottom",
14100
- children: options && options.length > 0 ? options.map(option => createElement(SelectV2Option, {
14744
+ children: options && options.length > 0 ? options.map(option => createElement(SelectOption, {
14101
14745
  ...optionProps,
14102
14746
  key: option.value,
14103
14747
  value: option.value,
14104
14748
  onChange: handleOnChange
14105
- }, option.label)) : // SelectV2Option out of the box gives users control over state and in this case RHF is controlling state
14106
- // We expose onChange through a children renderer function to let users pass this down to SelectV2Option
14749
+ }, option.label)) : // SelectOption out of the box gives users control over state and in this case RHF is controlling state
14750
+ // We expose onChange through a children renderer function to let users pass this down to SelectOption
14107
14751
  children === null || children === void 0 ? void 0 : children({
14108
14752
  onChange: handleOnChange
14109
14753
  })
@@ -14428,8 +15072,8 @@ const RHFControlledComponents = {
14428
15072
  Input: RHFControlledInput,
14429
15073
  Password: RHFControlledPasswordInput,
14430
15074
  TextArea: RHFControlledTextArea,
15075
+ LegacySelect: RHFControlledLegacySelect,
14431
15076
  Select: RHFControlledSelect,
14432
- SelectV2: RHFControlledSelectV2,
14433
15077
  DialogCombobox: RHFControlledDialogCombobox,
14434
15078
  Checkbox: RHFControlledCheckbox,
14435
15079
  CheckboxGroup: RHFControlledCheckboxGroup,
@@ -14527,7 +15171,7 @@ const getHeaderStyles = (clsPrefix, theme) => {
14527
15171
  };
14528
15172
  return /*#__PURE__*/css(importantify(styles), process.env.NODE_ENV === "production" ? "" : ";label:getHeaderStyles;");
14529
15173
  };
14530
- var _ref$1 = process.env.NODE_ENV === "production" ? {
15174
+ var _ref$2 = process.env.NODE_ENV === "production" ? {
14531
15175
  name: "eh0igi",
14532
15176
  styles: "display:inline-flex;vertical-align:middle;align-items:center"
14533
15177
  } : {
@@ -14599,7 +15243,7 @@ const Header$1 = _ref5 => {
14599
15243
  // TODO: Look into a more emotion-idomatic way of doing this.
14600
15244
  titleIfOtherElementsPresent: _ref3$4,
14601
15245
  buttonContainer: _ref2$2,
14602
- titleAddOnsWrapper: _ref$1
15246
+ titleAddOnsWrapper: _ref$2
14603
15247
  };
14604
15248
  return jsxs("div", {
14605
15249
  css: [getHeaderStyles(clsPrefix, theme), dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Header;"],
@@ -15107,7 +15751,7 @@ const CursorPagination = function CursorPagination(_ref2) {
15107
15751
  onClick: onNextPage,
15108
15752
  type: "tertiary",
15109
15753
  children: nextPageText
15110
- }), pageSizeOptions && jsx(Select, {
15754
+ }), pageSizeOptions && jsx(LegacySelect, {
15111
15755
  "aria-label": ariaLabel,
15112
15756
  value: String(pageSizeValue),
15113
15757
  css: _ref3$3,
@@ -15116,7 +15760,7 @@ const CursorPagination = function CursorPagination(_ref2) {
15116
15760
  onPageSizeChange === null || onPageSizeChange === void 0 || onPageSizeChange(updatedPageSize);
15117
15761
  setPageSizeValue(updatedPageSize);
15118
15762
  },
15119
- children: pageSizeOptions.map(pageSize => jsx(Select.Option, {
15763
+ children: pageSizeOptions.map(pageSize => jsx(LegacySelect.Option, {
15120
15764
  value: String(pageSize),
15121
15765
  children: (getPageSizeOptionText || getPageSizeOptionTextDefault)(pageSize)
15122
15766
  }, pageSize))
@@ -15377,12 +16021,16 @@ const getModalEmotionStyles = args => {
15377
16021
  ...getAnimationCss(theme.options.enableAnimation)
15378
16022
  }, process.env.NODE_ENV === "production" ? "" : ";label:getModalEmotionStyles;");
15379
16023
  };
16024
+ function closeButtonComponentId(componentId) {
16025
+ return componentId ? `${componentId}.footer.cancel` : 'codegen_design-system_src_design-system_modal_modal.tsx_260';
16026
+ }
15380
16027
 
15381
16028
  /**
15382
16029
  * Render default footer with our buttons. Copied from AntD.
15383
16030
  */
15384
16031
  function DefaultFooter(_ref) {
15385
16032
  let {
16033
+ componentId,
15386
16034
  onOk,
15387
16035
  onCancel,
15388
16036
  confirmLoading,
@@ -15400,14 +16048,14 @@ function DefaultFooter(_ref) {
15400
16048
  };
15401
16049
  return jsxs(Fragment, {
15402
16050
  children: [cancelText && jsx(Button, {
15403
- componentId: "codegen_design-system_src_design-system_modal_modal.tsx_260",
16051
+ componentId: closeButtonComponentId(componentId),
15404
16052
  onClick: handleCancel,
15405
16053
  autoFocus: autoFocusButton === 'cancel',
15406
16054
  dangerouslyUseFocusPseudoClass: true,
15407
16055
  ...cancelButtonProps,
15408
16056
  children: cancelText
15409
16057
  }), okText && jsx(Button, {
15410
- componentId: "codegen_design-system_src_design-system_modal_modal.tsx_271",
16058
+ componentId: componentId ? `${componentId}.footer.ok` : 'codegen_design-system_src_design-system_modal_modal.tsx_271',
15411
16059
  loading: confirmLoading,
15412
16060
  onClick: handleOk,
15413
16061
  type: "primary",
@@ -15420,6 +16068,8 @@ function DefaultFooter(_ref) {
15420
16068
  }
15421
16069
  function Modal(_ref2) {
15422
16070
  let {
16071
+ componentId,
16072
+ analyticsEvents,
15423
16073
  okButtonProps,
15424
16074
  cancelButtonProps,
15425
16075
  dangerouslySetAntdProps,
@@ -15436,6 +16086,29 @@ function Modal(_ref2) {
15436
16086
  theme,
15437
16087
  classNamePrefix
15438
16088
  } = useDesignSystemTheme();
16089
+ const eventContext = useDesignSystemEventComponentCallbacks({
16090
+ componentType: DesignSystemEventProviderComponentTypes.Modal,
16091
+ componentId,
16092
+ analyticsEvents: analyticsEvents !== null && analyticsEvents !== void 0 ? analyticsEvents : [DesignSystemEventProviderAnalyticsEventTypes.OnView]
16093
+ });
16094
+ const {
16095
+ elementRef
16096
+ } = useNotifyOnFirstView({
16097
+ onView: eventContext.onView
16098
+ });
16099
+
16100
+ // Need to simulate the close button being closed if the user clicks outside of the modal or clicks on the dismiss button
16101
+ // This should only be applied to the modal prop and not to the footer component
16102
+ const closeButtonEventContext = useDesignSystemEventComponentCallbacks({
16103
+ componentType: DesignSystemEventProviderComponentTypes.Button,
16104
+ componentId: closeButtonComponentId(componentId),
16105
+ analyticsEvents: [DesignSystemEventProviderAnalyticsEventTypes.OnClick]
16106
+ });
16107
+ const onCancelWrapper = e => {
16108
+ var _props$onCancel;
16109
+ closeButtonEventContext.onClick();
16110
+ (_props$onCancel = props.onCancel) === null || _props$onCancel === void 0 || _props$onCancel.call(props, e);
16111
+ };
15439
16112
  return jsx(DesignSystemAntDConfigProvider, {
15440
16113
  children: jsx(Modal$1, {
15441
16114
  css: getModalEmotionStyles({
@@ -15458,6 +16131,7 @@ function Modal(_ref2) {
15458
16131
  }),
15459
16132
  footer: jsx(RestoreAntDDefaultClsPrefix, {
15460
16133
  children: footer === undefined ? jsx(DefaultFooter, {
16134
+ componentId: componentId,
15461
16135
  onOk: props.onOk,
15462
16136
  onCancel: props.onCancel,
15463
16137
  confirmLoading: props.confirmLoading,
@@ -15469,10 +16143,13 @@ function Modal(_ref2) {
15469
16143
  }) : footer
15470
16144
  }),
15471
16145
  width: size ? SIZE_PRESETS[size] : undefined,
15472
- closeIcon: jsx(CloseIcon, {}),
16146
+ closeIcon: jsx(CloseIcon, {
16147
+ ref: elementRef
16148
+ }),
15473
16149
  centered: true,
15474
16150
  zIndex: theme.options.zIndexBase,
15475
16151
  ...props,
16152
+ onCancel: onCancelWrapper,
15476
16153
  ...dangerouslySetAntdProps,
15477
16154
  children: jsx(RestoreAntDDefaultClsPrefix, {
15478
16155
  children: children
@@ -15528,14 +16205,16 @@ function DangerModal(props) {
15528
16205
  })]
15529
16206
  });
15530
16207
  return jsx(Modal, {
16208
+ componentId: props.componentId,
16209
+ analyticsEvents: props.analyticsEvents,
15531
16210
  title: titleComp,
15532
16211
  footer: [jsx(Button, {
15533
- componentId: "codegen_design-system_src_design-system_modal_modal.tsx_386",
16212
+ componentId: props.componentId ? `${props.componentId}.danger.footer.cancel` : 'codegen_design-system_src_design-system_modal_modal.tsx_386',
15534
16213
  onClick: onCancel,
15535
16214
  ...cancelButtonProps,
15536
16215
  children: cancelText || 'Cancel'
15537
16216
  }, "cancel"), jsx(Button, {
15538
- componentId: "codegen_design-system_src_design-system_modal_modal.tsx_395",
16217
+ componentId: props.componentId ? `${props.componentId}.danger.footer.ok` : 'codegen_design-system_src_design-system_modal_modal.tsx_395',
15539
16218
  type: "primary",
15540
16219
  danger: true,
15541
16220
  onClick: onOk,
@@ -16400,6 +17079,85 @@ const SegmentedControlGroup = /*#__PURE__*/forwardRef(function SegmentedControlG
16400
17079
  });
16401
17080
  });
16402
17081
 
17082
+ /**
17083
+ * Copied from usehooks-ts.
17084
+ * Custom hook for using either `useLayoutEffect` or `useEffect` based on the environment (client-side or server-side).
17085
+ *
17086
+ * [Documentation](https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect)
17087
+ *
17088
+ * Example:
17089
+ * ```
17090
+ * useIsomorphicLayoutEffect(() => {
17091
+ * // Code to be executed during the layout phase on the client side
17092
+ * }, [dependency1, dependency2]);
17093
+ * ```
17094
+ */
17095
+ const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;
17096
+
17097
+ const IS_SERVER = typeof window === 'undefined';
17098
+ /**
17099
+ * Copied from usehooks-ts.
17100
+ * Custom hook for tracking the state of a media query. Returns The current state of the media query (true if the query matches, false otherwise).
17101
+ *
17102
+ * [Documentation](https://usehooks-ts.com/react-hook/use-media-query)
17103
+ *
17104
+ * [MDN Match Media](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)
17105
+ *
17106
+ * Example:
17107
+ *
17108
+ * `const isSmallScreen = useMediaQuery('(max-width: 600px)');`
17109
+ *
17110
+ * Use `isSmallScreen` to conditionally apply styles or logic based on the screen size.
17111
+ */
17112
+ function useMediaQuery(_ref) {
17113
+ var _options$defaultValue, _options$initializeWi;
17114
+ let {
17115
+ query,
17116
+ options
17117
+ } = _ref;
17118
+ // TODO: Refactor this code after the deprecated signature has been removed.
17119
+ const defaultValue = typeof options === 'boolean' ? options : (_options$defaultValue = options === null || options === void 0 ? void 0 : options.defaultValue) !== null && _options$defaultValue !== void 0 ? _options$defaultValue : false;
17120
+ const initializeWithValue = typeof options === 'boolean' ? undefined : (_options$initializeWi = options === null || options === void 0 ? void 0 : options.initializeWithValue) !== null && _options$initializeWi !== void 0 ? _options$initializeWi : undefined;
17121
+ const [matches, setMatches] = useState(() => {
17122
+ if (initializeWithValue) {
17123
+ return getMatches(query);
17124
+ }
17125
+ return defaultValue;
17126
+ });
17127
+ const getMatches = query => {
17128
+ if (IS_SERVER) {
17129
+ return defaultValue;
17130
+ }
17131
+ return window.matchMedia(query).matches;
17132
+ };
17133
+
17134
+ /** Handles the change event of the media query. */
17135
+ function handleChange() {
17136
+ setMatches(getMatches(query));
17137
+ }
17138
+ useIsomorphicLayoutEffect(() => {
17139
+ const matchMedia = window.matchMedia(query);
17140
+
17141
+ // Triggered at the first client-side load and if query changes
17142
+ handleChange();
17143
+
17144
+ // Use deprecated `addListener` and `removeListener` to support Safari < 14 (#135)
17145
+ if (matchMedia.addListener) {
17146
+ matchMedia.addListener(handleChange);
17147
+ } else {
17148
+ matchMedia.addEventListener('change', handleChange);
17149
+ }
17150
+ return () => {
17151
+ if (matchMedia.removeListener) {
17152
+ matchMedia.removeListener(handleChange);
17153
+ } else {
17154
+ matchMedia.removeEventListener('change', handleChange);
17155
+ }
17156
+ };
17157
+ }, [query]);
17158
+ return matches;
17159
+ }
17160
+
16403
17161
  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)."; }
16404
17162
  const DEFAULT_WIDTH = 200;
16405
17163
  const ContentContextDefaults = {
@@ -16413,11 +17171,11 @@ const SidebarContextDefaults = {
16413
17171
  };
16414
17172
  const ContentContext = /*#__PURE__*/createContext(ContentContextDefaults);
16415
17173
  const SidebarContext = /*#__PURE__*/createContext(SidebarContextDefaults);
16416
- function Nav(_ref) {
17174
+ function Nav(_ref2) {
16417
17175
  let {
16418
17176
  children,
16419
17177
  dangerouslyAppendEmotionCSS
16420
- } = _ref;
17178
+ } = _ref2;
16421
17179
  const {
16422
17180
  theme
16423
17181
  } = useDesignSystemTheme();
@@ -16431,7 +17189,7 @@ function Nav(_ref) {
16431
17189
  children: children
16432
17190
  });
16433
17191
  }
16434
- function NavButton(_ref2) {
17192
+ function NavButton(_ref3) {
16435
17193
  let {
16436
17194
  active,
16437
17195
  disabled,
@@ -16441,7 +17199,7 @@ function NavButton(_ref2) {
16441
17199
  dangerouslyAppendEmotionCSS,
16442
17200
  'aria-label': ariaLabel,
16443
17201
  ...restProps
16444
- } = _ref2;
17202
+ } = _ref3;
16445
17203
  const {
16446
17204
  theme
16447
17205
  } = useDesignSystemTheme();
@@ -16465,11 +17223,104 @@ function NavButton(_ref2) {
16465
17223
  })
16466
17224
  });
16467
17225
  }
16468
- function Content(_ref3) {
17226
+ const TOGGLE_BUTTON_Z_INDEX = 100;
17227
+ const COMPACT_CONTENT_Z_INDEX = 50;
17228
+ const ToggleButton$1 = _ref4 => {
17229
+ let {
17230
+ isExpanded,
17231
+ position,
17232
+ toggleIsExpanded
17233
+ } = _ref4;
17234
+ const {
17235
+ theme
17236
+ } = useDesignSystemTheme();
17237
+ const positionStyle = useMemo(() => {
17238
+ if (position === 'right') {
17239
+ return isExpanded ? {
17240
+ right: DEFAULT_WIDTH,
17241
+ transform: 'translateX(+50%)'
17242
+ } : {
17243
+ left: 0,
17244
+ transform: 'translateX(-50%)'
17245
+ };
17246
+ } else {
17247
+ return isExpanded ? {
17248
+ left: DEFAULT_WIDTH,
17249
+ transform: 'translateX(-50%)'
17250
+ } : {
17251
+ right: 0,
17252
+ transform: 'translateX(+50%)'
17253
+ };
17254
+ }
17255
+ }, [isExpanded, position]);
17256
+ const ToggleIcon = useMemo(() => {
17257
+ if (position === 'right') {
17258
+ return isExpanded ? ChevronRightIcon : ChevronLeftIcon;
17259
+ } else {
17260
+ return isExpanded ? ChevronLeftIcon : ChevronRightIcon;
17261
+ }
17262
+ }, [isExpanded, position]);
17263
+ return jsxs("div", {
17264
+ css: /*#__PURE__*/css({
17265
+ position: 'absolute',
17266
+ top: 0,
17267
+ height: 46,
17268
+ display: 'flex',
17269
+ alignItems: 'center',
17270
+ zIndex: TOGGLE_BUTTON_Z_INDEX,
17271
+ ...positionStyle
17272
+ }, process.env.NODE_ENV === "production" ? "" : ";label:ToggleButton;"),
17273
+ children: [jsx("div", {
17274
+ css: /*#__PURE__*/css({
17275
+ borderRadius: '100%',
17276
+ width: theme.spacing.lg,
17277
+ height: theme.spacing.lg,
17278
+ backgroundColor: theme.colors.backgroundPrimary,
17279
+ position: 'absolute'
17280
+ }, process.env.NODE_ENV === "production" ? "" : ";label:ToggleButton;")
17281
+ }), jsx(Button, {
17282
+ componentId: "sidebar-toggle",
17283
+ css: /*#__PURE__*/css({
17284
+ borderRadius: '100%',
17285
+ '&&': {
17286
+ padding: '0px !important',
17287
+ width: `${theme.spacing.lg}px !important`
17288
+ }
17289
+ }, process.env.NODE_ENV === "production" ? "" : ";label:ToggleButton;"),
17290
+ onClick: toggleIsExpanded,
17291
+ size: "small",
17292
+ "aria-label": isExpanded ? 'hide sidebar' : 'expand sidebar',
17293
+ "aria-expanded": isExpanded,
17294
+ children: jsx(ToggleIcon, {})
17295
+ })]
17296
+ });
17297
+ };
17298
+ const getContentAnimation = width => {
17299
+ const showAnimation = keyframes`
17300
+ from { opacity: 0 }
17301
+ 80% { opacity: 0 }
17302
+ to { opacity: 1 }`;
17303
+ const openAnimation = keyframes`
17304
+ from { width: 50px }
17305
+ to { width: ${width}px }`;
17306
+ return {
17307
+ open: `${openAnimation} .2s cubic-bezier(0, 0, 0.2, 1)`,
17308
+ show: `${showAnimation} .25s linear`
17309
+ };
17310
+ };
17311
+ var _ref$1 = process.env.NODE_ENV === "production" ? {
17312
+ name: "1h0bf8r",
17313
+ styles: "body, :host{user-select:none;}"
17314
+ } : {
17315
+ name: "15c18a5-Content",
17316
+ styles: "body, :host{user-select:none;};label:Content;",
17317
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
17318
+ };
17319
+ function Content(_ref5) {
16469
17320
  let {
16470
17321
  disableResize,
16471
17322
  openPanelId,
16472
- closable,
17323
+ closable = true,
16473
17324
  onClose,
16474
17325
  onResizeStart,
16475
17326
  onResizeStop,
@@ -16478,18 +17329,23 @@ function Content(_ref3) {
16478
17329
  maxWidth,
16479
17330
  destroyInactivePanels = false,
16480
17331
  children,
16481
- dangerouslyAppendEmotionCSS
16482
- } = _ref3;
16483
- const openAnimation = keyframes`
16484
- from { width: 50px }
16485
- to { width: ${width || DEFAULT_WIDTH}px }`;
16486
- const showAnimation = keyframes`
16487
- from { opacity: 0 }
16488
- 80% { opacity: 0 }
16489
- to { opacity: 1 }`;
17332
+ dangerouslyAppendEmotionCSS,
17333
+ enableCompact,
17334
+ resizeBoxStyle
17335
+ } = _ref5;
16490
17336
  const {
16491
17337
  theme
16492
17338
  } = useDesignSystemTheme();
17339
+ const isCompact = useMediaQuery({
17340
+ query: `not (min-width: ${theme.responsive.breakpoints.sm}px)`
17341
+ }) && enableCompact;
17342
+ const defaultAnimation = useMemo(() => getContentAnimation(isCompact ? DEFAULT_WIDTH : width || DEFAULT_WIDTH), [isCompact, width]);
17343
+ // specifically for non closable panel in compact mode
17344
+ const [isExpanded, setIsExpanded] = useState(true);
17345
+ // hide the panel in compact mode when the panel is not closable and collapsed
17346
+ const isNotExpandedStyle = /*#__PURE__*/css(isCompact && !closable && !isExpanded && {
17347
+ display: 'none'
17348
+ }, process.env.NODE_ENV === "production" ? "" : ";label:isNotExpandedStyle;");
16493
17349
  const sidebarContext = useContext(SidebarContext);
16494
17350
  const onCloseRef = useRef(onClose);
16495
17351
  const resizeHandleStyle = sidebarContext.position === 'right' ? {
@@ -16499,10 +17355,21 @@ function Content(_ref3) {
16499
17355
  };
16500
17356
  const [dragging, setDragging] = useState(false);
16501
17357
  const isPanelClosed = openPanelId == null;
16502
- const [animation, setAnimation] = useState(isPanelClosed ? {
16503
- open: `${openAnimation} .2s cubic-bezier(0, 0, 0.2, 1)`,
16504
- show: `${showAnimation} .25s linear`
16505
- } : undefined);
17358
+ const [animation, setAnimation] = useState(isPanelClosed ? defaultAnimation : undefined);
17359
+ const compactStyle = /*#__PURE__*/css(isCompact && {
17360
+ position: 'absolute',
17361
+ zIndex: COMPACT_CONTENT_Z_INDEX,
17362
+ left: sidebarContext.position === 'left' && closable ? '100%' : undefined,
17363
+ right: sidebarContext.position === 'right' && closable ? '100%' : undefined,
17364
+ backgroundColor: theme.colors.backgroundPrimary,
17365
+ borderBottom: `1px solid ${theme.colors.border}`,
17366
+ borderTop: `1px solid ${theme.colors.border}`,
17367
+ borderRight: sidebarContext.position === 'left' ? `1px solid ${theme.colors.border}` : undefined,
17368
+ borderLeft: sidebarContext.position === 'right' ? `1px solid ${theme.colors.border}` : undefined,
17369
+ width: DEFAULT_WIDTH,
17370
+ // shift to the top due to border
17371
+ top: -1
17372
+ }, process.env.NODE_ENV === "production" ? "" : ";label:compactStyle;");
16506
17373
  const hiddenPanelStyle = /*#__PURE__*/css(isPanelClosed && {
16507
17374
  display: 'none'
16508
17375
  }, process.env.NODE_ENV === "production" ? "" : ";label:hiddenPanelStyle;");
@@ -16524,93 +17391,116 @@ function Content(_ref3) {
16524
17391
  useEffect(() => {
16525
17392
  onCloseRef.current = onClose;
16526
17393
  }, [onClose]);
17394
+
17395
+ // For non closable panel, reset expanded state to true so that the panel stays open
17396
+ // the next time the screen goes into compact mode.
17397
+ useEffect(() => {
17398
+ if (!closable && enableCompact && !isCompact) {
17399
+ setIsExpanded(true);
17400
+ }
17401
+ }, [isCompact, closable, defaultAnimation, enableCompact]);
16527
17402
  const value = useMemo(() => ({
16528
17403
  openPanelId,
16529
- closable: closable === undefined ? true : closable,
17404
+ closable,
16530
17405
  destroyInactivePanels,
16531
17406
  setIsClosed: () => {
16532
17407
  var _onCloseRef$current;
16533
17408
  (_onCloseRef$current = onCloseRef.current) === null || _onCloseRef$current === void 0 || _onCloseRef$current.call(onCloseRef);
16534
17409
  if (!animation) {
16535
- setAnimation({
16536
- open: `${openAnimation} .2s cubic-bezier(0, 0, 0.2, 1)`,
16537
- show: `${showAnimation} .25s linear`
16538
- });
17410
+ setAnimation(defaultAnimation);
16539
17411
  }
16540
17412
  }
16541
- }), [openPanelId, closable, openAnimation, showAnimation, animation, destroyInactivePanels]);
17413
+ }), [openPanelId, closable, defaultAnimation, animation, destroyInactivePanels]);
16542
17414
  return jsx(ContentContext.Provider, {
16543
17415
  value: value,
16544
- children: disableResize ? jsx("div", {
16545
- css: [/*#__PURE__*/css(containerStyle, {
16546
- width: width || '100%',
16547
- height: '100%',
16548
- overflow: 'hidden'
16549
- }, process.env.NODE_ENV === "production" ? "" : ";label:Content;"), dangerouslyAppendEmotionCSS, hiddenPanelStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
16550
- "aria-hidden": isPanelClosed,
16551
- children: jsx("div", {
16552
- css: /*#__PURE__*/css({
16553
- opacity: 1,
17416
+ children: disableResize || isCompact ? jsxs(Fragment, {
17417
+ children: [jsx("div", {
17418
+ css: [/*#__PURE__*/css({
17419
+ width: width || '100%',
16554
17420
  height: '100%',
16555
- animation: animation === null || animation === void 0 ? void 0 : animation.show,
16556
- direction: 'ltr'
16557
- }, process.env.NODE_ENV === "production" ? "" : ";label:Content;"),
16558
- children: children
16559
- })
16560
- }) : jsx(ResizableBox, {
16561
- width: width || DEFAULT_WIDTH,
16562
- height: undefined,
16563
- axis: "x",
16564
- resizeHandles: sidebarContext.position === 'right' ? ['w'] : ['e'],
16565
- minConstraints: [minWidth !== null && minWidth !== void 0 ? minWidth : DEFAULT_WIDTH, 150],
16566
- maxConstraints: [maxWidth !== null && maxWidth !== void 0 ? maxWidth : 800, 150],
16567
- onResizeStart: (_, _ref4) => {
16568
- let {
16569
- size
16570
- } = _ref4;
16571
- onResizeStart === null || onResizeStart === void 0 || onResizeStart(size.width);
16572
- setDragging(true);
16573
- },
16574
- onResizeStop: (_, _ref5) => {
16575
- let {
16576
- size
16577
- } = _ref5;
16578
- onResizeStop === null || onResizeStop === void 0 || onResizeStop(size.width);
16579
- setDragging(false);
16580
- },
16581
- handle: jsx("div", {
17421
+ overflow: 'hidden'
17422
+ }, containerStyle, compactStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;"), dangerouslyAppendEmotionCSS, hiddenPanelStyle, isNotExpandedStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
17423
+ "aria-hidden": isPanelClosed,
17424
+ children: jsx("div", {
17425
+ css: /*#__PURE__*/css({
17426
+ opacity: 1,
17427
+ height: '100%',
17428
+ animation: animation === null || animation === void 0 ? void 0 : animation.show,
17429
+ direction: 'ltr'
17430
+ }, process.env.NODE_ENV === "production" ? "" : ";label:Content;"),
17431
+ children: children
17432
+ })
17433
+ }), !closable && isCompact && jsx("div", {
16582
17434
  css: /*#__PURE__*/css({
16583
- width: 10,
16584
- height: '100%',
16585
- position: 'absolute',
16586
- top: 0,
16587
- cursor: sidebarContext.position === 'right' ? 'w-resize' : 'e-resize',
16588
- '&:hover': highlightedBorderStyle,
16589
- ...resizeHandleStyle
16590
- }, dragging && highlightedBorderStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;")
16591
- }),
16592
- css: [containerStyle, hiddenPanelStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
16593
- "aria-hidden": isPanelClosed,
16594
- children: jsx("div", {
16595
- css: [{
16596
- opacity: 1,
16597
- animation: animation === null || animation === void 0 ? void 0 : animation.show,
16598
- direction: 'ltr',
16599
- height: '100%'
16600
- }, dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
16601
- children: children
16602
- })
17435
+ width: !isExpanded ? theme.spacing.md : undefined,
17436
+ marginRight: isExpanded ? theme.spacing.md : undefined,
17437
+ position: 'relative'
17438
+ }, process.env.NODE_ENV === "production" ? "" : ";label:Content;"),
17439
+ children: jsx(ToggleButton$1, {
17440
+ isExpanded: isExpanded,
17441
+ position: sidebarContext.position || 'left',
17442
+ toggleIsExpanded: () => setIsExpanded(prev => !prev)
17443
+ })
17444
+ })]
17445
+ }) : jsxs(Fragment, {
17446
+ children: [dragging && jsx(Global, {
17447
+ styles: _ref$1
17448
+ }), jsx(ResizableBox, {
17449
+ style: resizeBoxStyle,
17450
+ width: width || DEFAULT_WIDTH,
17451
+ height: undefined,
17452
+ axis: "x",
17453
+ resizeHandles: sidebarContext.position === 'right' ? ['w'] : ['e'],
17454
+ minConstraints: [minWidth !== null && minWidth !== void 0 ? minWidth : DEFAULT_WIDTH, 150],
17455
+ maxConstraints: [maxWidth !== null && maxWidth !== void 0 ? maxWidth : 800, 150],
17456
+ onResizeStart: (_, _ref6) => {
17457
+ let {
17458
+ size
17459
+ } = _ref6;
17460
+ onResizeStart === null || onResizeStart === void 0 || onResizeStart(size.width);
17461
+ setDragging(true);
17462
+ },
17463
+ onResizeStop: (_, _ref7) => {
17464
+ let {
17465
+ size
17466
+ } = _ref7;
17467
+ onResizeStop === null || onResizeStop === void 0 || onResizeStop(size.width);
17468
+ setDragging(false);
17469
+ },
17470
+ handle: jsx("div", {
17471
+ css: /*#__PURE__*/css({
17472
+ width: 10,
17473
+ height: '100%',
17474
+ position: 'absolute',
17475
+ top: 0,
17476
+ cursor: sidebarContext.position === 'right' ? 'w-resize' : 'e-resize',
17477
+ '&:hover': highlightedBorderStyle,
17478
+ ...resizeHandleStyle
17479
+ }, dragging && highlightedBorderStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;")
17480
+ }),
17481
+ css: [containerStyle, hiddenPanelStyle, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
17482
+ "aria-hidden": isPanelClosed,
17483
+ children: jsx("div", {
17484
+ css: [{
17485
+ opacity: 1,
17486
+ animation: animation === null || animation === void 0 ? void 0 : animation.show,
17487
+ direction: 'ltr',
17488
+ height: '100%'
17489
+ }, dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Content;"],
17490
+ children: children
17491
+ })
17492
+ })]
16603
17493
  })
16604
17494
  });
16605
17495
  }
16606
- function Panel(_ref6) {
17496
+ function Panel(_ref8) {
16607
17497
  let {
16608
17498
  panelId,
16609
17499
  children,
16610
17500
  forceRender = false,
16611
17501
  dangerouslyAppendEmotionCSS,
16612
17502
  ...delegated
16613
- } = _ref6;
17503
+ } = _ref8;
16614
17504
  const {
16615
17505
  openPanelId,
16616
17506
  destroyInactivePanels
@@ -16630,7 +17520,7 @@ function Panel(_ref6) {
16630
17520
  children: children
16631
17521
  });
16632
17522
  }
16633
- var _ref8 = process.env.NODE_ENV === "production" ? {
17523
+ var _ref10 = process.env.NODE_ENV === "production" ? {
16634
17524
  name: "1066lcq",
16635
17525
  styles: "display:flex;justify-content:space-between;align-items:center"
16636
17526
  } : {
@@ -16638,11 +17528,11 @@ var _ref8 = process.env.NODE_ENV === "production" ? {
16638
17528
  styles: "display:flex;justify-content:space-between;align-items:center;label:PanelHeader;",
16639
17529
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
16640
17530
  };
16641
- function PanelHeader(_ref7) {
17531
+ function PanelHeader(_ref9) {
16642
17532
  let {
16643
17533
  children,
16644
17534
  dangerouslyAppendEmotionCSS
16645
- } = _ref7;
17535
+ } = _ref9;
16646
17536
  const {
16647
17537
  theme
16648
17538
  } = useDesignSystemTheme();
@@ -16663,7 +17553,7 @@ function PanelHeader(_ref7) {
16663
17553
  width: contentContext.closable ? `calc(100% - ${theme.spacing.lg}px)` : '100%'
16664
17554
  }, process.env.NODE_ENV === "production" ? "" : ";label:PanelHeader;"),
16665
17555
  children: jsx("div", {
16666
- css: _ref8,
17556
+ css: _ref10,
16667
17557
  children: children
16668
17558
  })
16669
17559
  }), contentContext.closable ? jsx("div", {
@@ -16679,22 +17569,22 @@ function PanelHeader(_ref7) {
16679
17569
  }) : null]
16680
17570
  });
16681
17571
  }
16682
- function PanelHeaderTitle(_ref9) {
17572
+ function PanelHeaderTitle(_ref11) {
16683
17573
  let {
16684
17574
  title,
16685
17575
  dangerouslyAppendEmotionCSS
16686
- } = _ref9;
17576
+ } = _ref11;
16687
17577
  return jsx("div", {
16688
17578
  title: title,
16689
17579
  css: ["align-self:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;", dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:PanelHeaderTitle;"],
16690
17580
  children: title
16691
17581
  });
16692
17582
  }
16693
- function PanelHeaderButtons(_ref10) {
17583
+ function PanelHeaderButtons(_ref12) {
16694
17584
  let {
16695
17585
  children,
16696
17586
  dangerouslyAppendEmotionCSS
16697
- } = _ref10;
17587
+ } = _ref12;
16698
17588
  const {
16699
17589
  theme
16700
17590
  } = useDesignSystemTheme();
@@ -16708,11 +17598,11 @@ function PanelHeaderButtons(_ref10) {
16708
17598
  children: children
16709
17599
  });
16710
17600
  }
16711
- function PanelBody(_ref11) {
17601
+ function PanelBody(_ref13) {
16712
17602
  let {
16713
17603
  children,
16714
17604
  dangerouslyAppendEmotionCSS
16715
- } = _ref11;
17605
+ } = _ref13;
16716
17606
  const {
16717
17607
  theme
16718
17608
  } = useDesignSystemTheme();
@@ -16745,12 +17635,12 @@ function PanelBody(_ref11) {
16745
17635
  });
16746
17636
  }
16747
17637
  const Sidebar = /* #__PURE__ */(() => {
16748
- function Sidebar(_ref12) {
17638
+ function Sidebar(_ref14) {
16749
17639
  let {
16750
17640
  position,
16751
17641
  children,
16752
17642
  dangerouslyAppendEmotionCSS
16753
- } = _ref12;
17643
+ } = _ref14;
16754
17644
  const {
16755
17645
  theme
16756
17646
  } = useDesignSystemTheme();
@@ -16770,7 +17660,8 @@ const Sidebar = /* #__PURE__ */(() => {
16770
17660
  borderStyle: 'solid',
16771
17661
  borderColor: theme.colors.borderDecorative,
16772
17662
  borderWidth: theme.general.borderWidth,
16773
- boxSizing: 'content-box'
17663
+ boxSizing: 'content-box',
17664
+ position: 'relative'
16774
17665
  }, dangerouslyAppendEmotionCSS, process.env.NODE_ENV === "production" ? "" : ";label:Sidebar;"],
16775
17666
  children: children
16776
17667
  })
@@ -18039,12 +18930,14 @@ function WizardFooter(props) {
18039
18930
  justifyContent: 'flex-end',
18040
18931
  columnGap: theme.spacing.sm,
18041
18932
  paddingTop: theme.spacing.md,
18933
+ paddingBottom: theme.spacing.md,
18042
18934
  borderTop: `1px solid ${theme.colors.border}`
18043
18935
  }, process.env.NODE_ENV === "production" ? "" : ";label:WizardFooter;"),
18044
18936
  children: getWizardFooterButtons(props)
18045
18937
  });
18046
18938
  }
18047
18939
  function getWizardFooterButtons(_ref) {
18940
+ var _extraFooterButtonsRi;
18048
18941
  let {
18049
18942
  goToNextStepOrDone,
18050
18943
  isLastStep,
@@ -18063,7 +18956,8 @@ function getWizardFooterButtons(_ref) {
18063
18956
  nextButtonContent,
18064
18957
  previousButtonContent,
18065
18958
  doneButtonContent,
18066
- extraFooterButtons,
18959
+ extraFooterButtonsLeft,
18960
+ extraFooterButtonsRight,
18067
18961
  onCancel
18068
18962
  } = _ref;
18069
18963
  return _compact([!cancelStepButtonHidden && jsx(Button, {
@@ -18071,10 +18965,10 @@ function getWizardFooterButtons(_ref) {
18071
18965
  type: "tertiary",
18072
18966
  componentId: "codegen_dubois_src_wizard_wizardfooter_cancel",
18073
18967
  children: cancelButtonContent
18074
- }, "cancel"), extraFooterButtons && extraFooterButtons.map((buttonProps, index) => createElement(Button, {
18968
+ }, "cancel"), extraFooterButtonsLeft && extraFooterButtonsLeft.map((buttonProps, index) => createElement(Button, {
18075
18969
  ...buttonProps,
18076
18970
  type: undefined,
18077
- key: `extra-${index}`
18971
+ key: `extra-left-${index}`
18078
18972
  })), currentStepIndex > 0 && !previousStepButtonHidden && jsx(Button, {
18079
18973
  onClick: goToPreviousStep,
18080
18974
  disabled: previousButtonDisabled,
@@ -18085,16 +18979,21 @@ function getWizardFooterButtons(_ref) {
18085
18979
  onClick: goToNextStepOrDone,
18086
18980
  disabled: nextButtonDisabled,
18087
18981
  loading: nextButtonLoading || busyValidatingNextStep,
18088
- type: "primary",
18982
+ type: ((_extraFooterButtonsRi = extraFooterButtonsRight === null || extraFooterButtonsRight === void 0 ? void 0 : extraFooterButtonsRight.length) !== null && _extraFooterButtonsRi !== void 0 ? _extraFooterButtonsRi : 0) > 0 ? undefined : 'primary',
18089
18983
  componentId: "codegen_dubois_src_wizard_wizardfooter_next",
18090
18984
  children: nextButtonContentOverride ? nextButtonContentOverride : isLastStep ? doneButtonContent : nextButtonContent
18091
- }, "next")]);
18985
+ }, "next"), extraFooterButtonsRight && extraFooterButtonsRight.map((buttonProps, index) => createElement(Button, {
18986
+ ...buttonProps,
18987
+ type: index === extraFooterButtonsRight.length - 1 ? 'primary' : undefined,
18988
+ key: `extra-right-${index}`
18989
+ }))]);
18092
18990
  }
18093
18991
 
18094
18992
  function WizardStepsContent(_ref) {
18095
18993
  let {
18096
18994
  steps: wizardSteps,
18097
18995
  currentStepIndex,
18996
+ expandContentToFullHeight,
18098
18997
  localizeStepNumber
18099
18998
  } = _ref;
18100
18999
  const {
@@ -18110,7 +19009,10 @@ function WizardStepsContent(_ref) {
18110
19009
  responsive: false
18111
19010
  }), jsx("div", {
18112
19011
  css: /*#__PURE__*/css({
18113
- marginTop: theme.spacing.md
19012
+ marginTop: theme.spacing.md,
19013
+ flexGrow: expandContentToFullHeight ? 1 : undefined,
19014
+ overflowY: 'auto',
19015
+ ...getShadowScrollStyles(theme)
18114
19016
  }, process.env.NODE_ENV === "production" ? "" : ";label:WizardStepsContent;"),
18115
19017
  children: wizardSteps[currentStepIndex].content
18116
19018
  })]
@@ -18198,10 +19100,12 @@ function WizardControlled(_ref2) {
18198
19100
  initialStep = 0,
18199
19101
  steps,
18200
19102
  width = '100%',
19103
+ height = '100%',
18201
19104
  currentStepIndex,
18202
19105
  localizeStepNumber,
18203
19106
  onStepsChange,
18204
19107
  isLastStep,
19108
+ expandContentToFullHeight = true,
18205
19109
  ...footerProps
18206
19110
  } = _ref2;
18207
19111
  if (steps.length === 0 || !_isUndefined(initialStep) && (initialStep < 0 || initialStep >= steps.length)) {
@@ -18210,6 +19114,7 @@ function WizardControlled(_ref2) {
18210
19114
  return jsxs("div", {
18211
19115
  css: /*#__PURE__*/css({
18212
19116
  width,
19117
+ height,
18213
19118
  display: 'flex',
18214
19119
  flexDirection: 'column',
18215
19120
  justifyContent: 'flex-start'
@@ -18217,7 +19122,8 @@ function WizardControlled(_ref2) {
18217
19122
  children: [jsx(WizardStepsContent, {
18218
19123
  steps: steps,
18219
19124
  currentStepIndex: currentStepIndex,
18220
- localizeStepNumber: localizeStepNumber
19125
+ localizeStepNumber: localizeStepNumber,
19126
+ expandContentToFullHeight: expandContentToFullHeight
18221
19127
  }), jsx(Spacer, {
18222
19128
  size: "lg"
18223
19129
  }), jsx(WizardFooter, {
@@ -18275,10 +19181,11 @@ function WizardModal(_ref) {
18275
19181
  children: jsx(WizardStepsContent, {
18276
19182
  steps: steps,
18277
19183
  currentStepIndex: currentStepIndex,
18278
- localizeStepNumber: localizeStepNumber
19184
+ localizeStepNumber: localizeStepNumber,
19185
+ expandContentToFullHeight: false
18279
19186
  })
18280
19187
  });
18281
19188
  }
18282
19189
 
18283
- export { AccessibleContainer, Accordion, AccordionPanel, Alert, AlignCenterIcon$1 as AlignCenterIcon, AlignLeftIcon$1 as AlignLeftIcon, AlignRightIcon$1 as AlignRightIcon, AppIcon$1 as AppIcon, ApplyDesignSystemContextOverrides, ApplyGlobalStyles, ArrowDownIcon$1 as ArrowDownIcon, ArrowInIcon$1 as ArrowInIcon, ArrowLeftIcon$1 as ArrowLeftIcon, ArrowRightIcon$1 as ArrowRightIcon, ArrowUpIcon$1 as ArrowUpIcon, ArrowsUpDownIcon$1 as ArrowsUpDownIcon, AssistantIcon$1 as AssistantIcon, AutoComplete, BadgeCodeIcon$1 as BadgeCodeIcon, BadgeCodeOffIcon$1 as BadgeCodeOffIcon, BarChartIcon$1 as BarChartIcon, BarGroupedIcon$1 as BarGroupedIcon, BarStackedIcon$1 as BarStackedIcon, BarStackedPercentageIcon$1 as BarStackedPercentageIcon, BeakerIcon$1 as BeakerIcon, BinaryIcon$1 as BinaryIcon, BoldIcon$1 as BoldIcon, BookIcon$1 as BookIcon, BookmarkFillIcon$1 as BookmarkFillIcon, BookmarkIcon$1 as BookmarkIcon, BooksIcon$1 as BooksIcon, BracketsCurlyIcon$1 as BracketsCurlyIcon, BracketsSquareIcon$1 as BracketsSquareIcon, BracketsXIcon$1 as BracketsXIcon, BranchIcon$1 as BranchIcon, Breadcrumb, BriefcaseFillIcon$1 as BriefcaseFillIcon, BriefcaseIcon$1 as BriefcaseIcon, Button, CalendarClockIcon$1 as CalendarClockIcon, CalendarEventIcon$1 as CalendarEventIcon, CalendarIcon$1 as CalendarIcon, Card, CaretDownSquareIcon$1 as CaretDownSquareIcon, CaretUpSquareIcon$1 as CaretUpSquareIcon, CatalogCloudIcon$1 as CatalogCloudIcon, CatalogIcon$1 as CatalogIcon, CatalogOffIcon$1 as CatalogOffIcon, ChartLineIcon$1 as ChartLineIcon, CheckCircleBadgeIcon$1 as CheckCircleBadgeIcon, CheckCircleFillIcon$1 as CheckCircleFillIcon, CheckCircleIcon$1 as CheckCircleIcon, CheckIcon, CheckLineIcon$1 as CheckLineIcon, Checkbox, CheckboxIcon$1 as CheckboxIcon, ChecklistIcon$1 as ChecklistIcon, ChevronDoubleDownIcon$1 as ChevronDoubleDownIcon, ChevronDoubleLeftIcon$1 as ChevronDoubleLeftIcon, ChevronDoubleRightIcon$1 as ChevronDoubleRightIcon, ChevronDoubleUpIcon$1 as ChevronDoubleUpIcon, ChevronDownIcon$1 as ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon$1 as ChevronUpIcon, CircleIcon$1 as CircleIcon, ClipboardIcon$1 as ClipboardIcon, ClockIcon$1 as ClockIcon, ClockKeyIcon$1 as ClockKeyIcon, CloseIcon, CloudDownloadIcon$1 as CloudDownloadIcon, CloudIcon$1 as CloudIcon, CloudKeyIcon$1 as CloudKeyIcon, CloudModelIcon$1 as CloudModelIcon, CloudOffIcon$1 as CloudOffIcon, CloudUploadIcon$1 as CloudUploadIcon, CodeIcon$1 as CodeIcon, Col, ColorFillIcon$1 as ColorFillIcon, ColumnIcon$1 as ColumnIcon, ColumnsIcon$1 as ColumnsIcon, ConnectIcon$1 as ConnectIcon, Content, ContextMenu$1 as ContextMenu, CopyIcon$1 as CopyIcon, CursorPagination, CursorTypeIcon$1 as CursorTypeIcon, DIcon$1 as DIcon, DU_BOIS_ENABLE_ANIMATION_CLASSNAME, DagIcon$1 as DagIcon, DangerFillIcon$1 as DangerFillIcon, DangerIcon, DangerModal, DashIcon$1 as DashIcon, DashboardIcon$1 as DashboardIcon, DataIcon$1 as DataIcon, DatabaseIcon$1 as DatabaseIcon, DecimalIcon$1 as DecimalIcon, DesignSystemAntDConfigProvider, DialogCombobox, DialogComboboxContent, DialogComboboxCountBadge, DialogComboboxCustomButtonTriggerWrapper, EmptyResults as DialogComboboxEmpty, DialogComboboxFooter, DialogComboboxHintRow, DialogComboboxOptionControlledList, DialogComboboxOptionList, DialogComboboxOptionListCheckboxItem, DialogComboboxOptionListSearch, DialogComboboxOptionListSelectItem, DialogComboboxSectionHeader, DialogComboboxSeparator, DialogComboboxTrigger, DotsCircleIcon$1 as DotsCircleIcon, DownloadIcon$1 as DownloadIcon, DragIcon$1 as DragIcon, Drawer, Dropdown, DropdownMenu, DuboisDatePicker, Empty, ErdIcon$1 as ErdIcon, ExpandLessIcon$1 as ExpandLessIcon, ExpandMoreIcon$1 as ExpandMoreIcon, FileCodeIcon$1 as FileCodeIcon, FileDocumentIcon$1 as FileDocumentIcon, FileIcon$1 as FileIcon, FileImageIcon$1 as FileImageIcon, FileModelIcon$1 as FileModelIcon, FilterIcon$1 as FilterIcon, FloatIcon$1 as FloatIcon, FolderBranchIcon$1 as FolderBranchIcon, FolderCloudFilledIcon$1 as FolderCloudFilledIcon, FolderCloudIcon$1 as FolderCloudIcon, FolderFillIcon$1 as FolderFillIcon, FolderIcon$1 as FolderIcon, FontIcon$1 as FontIcon, ForkIcon$1 as ForkIcon, Form, FormDubois, FormUI, FullscreenExitIcon$1 as FullscreenExitIcon, FullscreenIcon$1 as FullscreenIcon, FunctionIcon$1 as FunctionIcon, GearFillIcon$1 as GearFillIcon, GearIcon$1 as GearIcon, GenericSkeleton, GiftIcon$1 as GiftIcon, GitCommitIcon$1 as GitCommitIcon, GlobeIcon$1 as GlobeIcon, GridDashIcon$1 as GridDashIcon, GridIcon$1 as GridIcon, H1Icon$1 as H1Icon, H2Icon$1 as H2Icon, H3Icon$1 as H3Icon, Header$1 as Header, HistoryIcon$1 as HistoryIcon, HomeIcon$1 as HomeIcon, Icon, ImageIcon$1 as ImageIcon, IndentDecreaseIcon$1 as IndentDecreaseIcon, IndentIncreaseIcon$1 as IndentIncreaseIcon, InfinityIcon$1 as InfinityIcon, InfoFillIcon$1 as InfoFillIcon, InfoIcon$1 as InfoIcon, InfoPopover, InfoTooltip, IngestionIcon$1 as IngestionIcon, Input, ItalicIcon$1 as ItalicIcon, KeyIcon$1 as KeyIcon, KeyboardIcon$1 as KeyboardIcon, LayerGraphIcon$1 as LayerGraphIcon, LayerIcon$1 as LayerIcon, Layout, LegacyDatePicker, LegacyPopover, LegacySkeleton, LegacyTable, LettersIcon$1 as LettersIcon, LibrariesIcon$1 as LibrariesIcon, LightningIcon$1 as LightningIcon, LinkIcon$1 as LinkIcon, LinkOffIcon$1 as LinkOffIcon, ListBorderIcon$1 as ListBorderIcon, ListClearIcon$1 as ListClearIcon, ListIcon$1 as ListIcon, LoadingIcon, LoadingState, LockFillIcon$1 as LockFillIcon, LockIcon$1 as LockIcon, LockUnlockedIcon$1 as LockUnlockedIcon, MIcon$1 as MIcon, MailIcon$1 as MailIcon, Menu, MenuIcon$1 as MenuIcon, MinusBoxIcon$1 as MinusBoxIcon, MinusCircleFillIcon$1 as MinusCircleFillIcon, MinusCircleIcon$1 as MinusCircleIcon, Modal, ModelsIcon$1 as ModelsIcon, Nav, NavButton, NoIcon$1 as NoIcon, NotebookIcon$1 as NotebookIcon, Notification, NotificationIcon$1 as NotificationIcon, NotificationOffIcon$1 as NotificationOffIcon, NumbersIcon$1 as NumbersIcon, OfficeIcon$1 as OfficeIcon, OptGroup, Option, Overflow, OverflowIcon$1 as OverflowIcon, PageBottomIcon$1 as PageBottomIcon, PageFirstIcon$1 as PageFirstIcon, PageLastIcon$1 as PageLastIcon, PageTopIcon$1 as PageTopIcon, PageWrapper, Pagination, Panel, PanelBody, PanelHeader, PanelHeaderButtons, PanelHeaderTitle, ParagraphSkeleton, PauseIcon$1 as PauseIcon, PencilIcon$1 as PencilIcon, PinCancelIcon$1 as PinCancelIcon, PinFillIcon$1 as PinFillIcon, PinIcon$1 as PinIcon, PipelineIcon$1 as PipelineIcon, PlayCircleFillIcon$1 as PlayCircleFillIcon, PlayCircleIcon$1 as PlayCircleIcon, PlayIcon$1 as PlayIcon, PlugIcon$1 as PlugIcon, PlusCircleFillIcon$1 as PlusCircleFillIcon, PlusCircleIcon$1 as PlusCircleIcon, PlusIcon$1 as PlusIcon, PlusSquareIcon$1 as PlusSquareIcon, Popover, QueryEditorIcon$1 as QueryEditorIcon, QueryIcon$1 as QueryIcon, QuestionMarkFillIcon$1 as QuestionMarkFillIcon, QuestionMarkIcon$1 as QuestionMarkIcon, QuestionMarkSpeechBubbleIcon$1 as QuestionMarkSpeechBubbleIcon, RHFControlledComponents, ROW_GUTTER_SIZE, Radio, ReaderModeIcon$1 as ReaderModeIcon, RedoIcon$1 as RedoIcon, RefreshIcon$1 as RefreshIcon, RestoreAntDDefaultClsPrefix, RobotIcon$1 as RobotIcon, Row, SaveIcon$1 as SaveIcon, SchoolIcon$1 as SchoolIcon, SearchIcon$1 as SearchIcon, SecurityIcon$1 as SecurityIcon, SegmentedControlButton, SegmentedControlGroup, Select, SelectOptGroup, SelectOption, SelectV2, SelectV2Content, SelectV2Option, SelectV2OptionGroup, SelectV2Trigger, SendIcon$1 as SendIcon, ShareIcon$1 as ShareIcon, Sidebar, SidebarAutoIcon$1 as SidebarAutoIcon, SidebarCollapseIcon$1 as SidebarCollapseIcon, SidebarExpandIcon$1 as SidebarExpandIcon, SidebarIcon$1 as SidebarIcon, SlidersIcon$1 as SlidersIcon, SortAlphabeticalAscendingIcon$1 as SortAlphabeticalAscendingIcon, SortAlphabeticalDescendingIcon$1 as SortAlphabeticalDescendingIcon, SortAlphabeticalLeftIcon$1 as SortAlphabeticalLeftIcon, SortAlphabeticalRightIcon$1 as SortAlphabeticalRightIcon, SortAscendingIcon$1 as SortAscendingIcon, SortDescendingIcon$1 as SortDescendingIcon, SortUnsortedIcon$1 as SortUnsortedIcon, Space, Spacer, SparkleIcon$1 as SparkleIcon, SpeechBubbleIcon$1 as SpeechBubbleIcon, SpeechBubblePlusIcon$1 as SpeechBubblePlusIcon, SpeechBubbleQuestionMarkIcon$1 as SpeechBubbleQuestionMarkIcon, Spinner, SplitButton, StarFillIcon$1 as StarFillIcon, StarIcon$1 as StarIcon, StepIntoIcon$1 as StepIntoIcon, StepOutIcon$1 as StepOutIcon, StepOverIcon$1 as StepOverIcon, Steps, StopCircleFillIcon$1 as StopCircleFillIcon, StopCircleIcon$1 as StopCircleIcon, StopIcon$1 as StopIcon, StorefrontIcon$1 as StorefrontIcon, StreamIcon$1 as StreamIcon, Switch, SyncIcon$1 as SyncIcon, TabPane, Table, TableCell, TableContext, TableFilterInput, TableFilterLayout, TableGlassesIcon$1 as TableGlassesIcon, TableHeader, TableIcon$1 as TableIcon, TableLightningIcon$1 as TableLightningIcon, TableOnlineViewIcon$1 as TableOnlineViewIcon, TableRow, TableRowAction, TableRowActionHeader, TableRowContext, TableRowMenuContainer, TableRowSelectCell, TableSkeleton, TableSkeletonRows, TableStreamIcon$1 as TableStreamIcon, TableVectorIcon$1 as TableVectorIcon, TableViewIcon$1 as TableViewIcon, Tabs, Tag, TargetIcon$1 as TargetIcon, TextBoxIcon$1 as TextBoxIcon, ThumbsDownIcon$1 as ThumbsDownIcon, ThumbsUpIcon$1 as ThumbsUpIcon, TitleSkeleton, ToggleButton, Tooltip, TrashIcon$1 as TrashIcon, Tree, TreeIcon$1 as TreeIcon, TypeaheadComboboxAddButton, TypeaheadComboboxCheckboxItem, TypeaheadComboboxFooter, TypeaheadComboboxInput, TypeaheadComboboxMenu, TypeaheadComboboxMenuItem, TypeaheadComboboxMultiSelectInput, TypeaheadComboboxRoot, TypeaheadComboboxSectionHeader, TypeaheadComboboxSelectedItem, TypeaheadComboboxSeparator, TypeaheadComboboxToggleButton, Typography, UnderlineIcon$1 as UnderlineIcon, UndoIcon$1 as UndoIcon, UploadIcon$1 as UploadIcon, UsbIcon$1 as UsbIcon, UserBadgeIcon$1 as UserBadgeIcon, UserCircleIcon$1 as UserCircleIcon, UserGroupIcon$1 as UserGroupIcon, UserIcon$1 as UserIcon, VectorTableIcon$1 as VectorTableIcon, VisibleIcon$1 as VisibleIcon, VisibleOffIcon$1 as VisibleOffIcon, WarningFillIcon$1 as WarningFillIcon, WarningIcon, Wizard, WizardControlled, WizardModal, WorkflowsIcon$1 as WorkflowsIcon, WorkspacesIcon$1 as WorkspacesIcon, XCircleFillIcon$1 as XCircleFillIcon, XCircleIcon$1 as XCircleIcon, ZoomInIcon$1 as ZoomInIcon, ZoomMarqueeSelection$1 as ZoomMarqueeSelection, ZoomOutIcon$1 as ZoomOutIcon, __INTERNAL_DO_NOT_USE__FormItem, __INTERNAL_DO_NOT_USE__Group, __INTERNAL_DO_NOT_USE__HorizontalGroup, __INTERNAL_DO_NOT_USE__VerticalGroup, dialogComboboxLookAheadKeyDown, findClosestOptionSibling, findHighlightedOption, getAnimationCss, getComboboxOptionItemWrapperStyles, getComboboxOptionLabelStyles, getContentOptions, getDarkModePortalStyles, getDialogComboboxOptionLabelWidth, getGlobalStyles, getKeyboardNavigationFunctions, getPaginationEmotionStyles, getRadioStyles, getShadowScrollStyles, getTabEmotionStyles, getValidationStateColor, getWrapperStyle, highlightFirstNonDisabledOption, highlightOption, importantify, isOptionDisabled, resetTabIndexToFocusedElement, useComboboxState, useDesignSystemFlags, useDesignSystemTheme, useLegacyNotification, useMultipleSelectionState, useThemedStyles, useTypeaheadComboboxContext, useWizardCurrentStep, visuallyHidden, withNotifications };
19190
+ export { AccessibleContainer, Accordion, AccordionPanel, Alert, AlignCenterIcon$1 as AlignCenterIcon, AlignLeftIcon$1 as AlignLeftIcon, AlignRightIcon$1 as AlignRightIcon, AppIcon$1 as AppIcon, ApplyDesignSystemContextOverrides, ApplyGlobalStyles, ArrowDownIcon$1 as ArrowDownIcon, ArrowInIcon$1 as ArrowInIcon, ArrowLeftIcon$1 as ArrowLeftIcon, ArrowRightIcon$1 as ArrowRightIcon, ArrowUpIcon$1 as ArrowUpIcon, ArrowsUpDownIcon$1 as ArrowsUpDownIcon, AssistantIcon$1 as AssistantIcon, AutoComplete, Avatar, BadgeCodeIcon$1 as BadgeCodeIcon, BadgeCodeOffIcon$1 as BadgeCodeOffIcon, BarChartIcon$1 as BarChartIcon, BarGroupedIcon$1 as BarGroupedIcon, BarStackedIcon$1 as BarStackedIcon, BarStackedPercentageIcon$1 as BarStackedPercentageIcon, BeakerIcon$1 as BeakerIcon, BinaryIcon$1 as BinaryIcon, BoldIcon$1 as BoldIcon, BookIcon$1 as BookIcon, BookmarkFillIcon$1 as BookmarkFillIcon, BookmarkIcon$1 as BookmarkIcon, BooksIcon$1 as BooksIcon, BracketsCurlyIcon$1 as BracketsCurlyIcon, BracketsSquareIcon$1 as BracketsSquareIcon, BracketsXIcon$1 as BracketsXIcon, BranchIcon$1 as BranchIcon, Breadcrumb, BriefcaseFillIcon$1 as BriefcaseFillIcon, BriefcaseIcon$1 as BriefcaseIcon, Button, CalendarClockIcon$1 as CalendarClockIcon, CalendarEventIcon$1 as CalendarEventIcon, CalendarIcon$1 as CalendarIcon, Card, CaretDownSquareIcon$1 as CaretDownSquareIcon, CaretUpSquareIcon$1 as CaretUpSquareIcon, CatalogCloudIcon$1 as CatalogCloudIcon, CatalogIcon$1 as CatalogIcon, CatalogOffIcon$1 as CatalogOffIcon, ChartLineIcon$1 as ChartLineIcon, CheckCircleBadgeIcon$1 as CheckCircleBadgeIcon, CheckCircleFillIcon$1 as CheckCircleFillIcon, CheckCircleIcon$1 as CheckCircleIcon, CheckIcon, CheckLineIcon$1 as CheckLineIcon, Checkbox, CheckboxIcon$1 as CheckboxIcon, ChecklistIcon$1 as ChecklistIcon, ChevronDoubleDownIcon$1 as ChevronDoubleDownIcon, ChevronDoubleLeftIcon$1 as ChevronDoubleLeftIcon, ChevronDoubleRightIcon$1 as ChevronDoubleRightIcon, ChevronDoubleUpIcon$1 as ChevronDoubleUpIcon, ChevronDownIcon$1 as ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon$1 as ChevronUpIcon, CircleIcon$1 as CircleIcon, ClipboardIcon$1 as ClipboardIcon, ClockIcon$1 as ClockIcon, ClockKeyIcon$1 as ClockKeyIcon, CloseIcon, CloudDownloadIcon$1 as CloudDownloadIcon, CloudIcon$1 as CloudIcon, CloudKeyIcon$1 as CloudKeyIcon, CloudModelIcon$1 as CloudModelIcon, CloudOffIcon$1 as CloudOffIcon, CloudUploadIcon$1 as CloudUploadIcon, CodeIcon$1 as CodeIcon, Col, ColorFillIcon$1 as ColorFillIcon, ColumnIcon$1 as ColumnIcon, ColumnsIcon$1 as ColumnsIcon, ConnectIcon$1 as ConnectIcon, Content, ContextMenu$1 as ContextMenu, CopyIcon$1 as CopyIcon, CursorPagination, CursorTypeIcon$1 as CursorTypeIcon, DBAssistantAvatar, DIcon$1 as DIcon, DU_BOIS_ENABLE_ANIMATION_CLASSNAME, DagIcon$1 as DagIcon, DangerFillIcon$1 as DangerFillIcon, DangerIcon, DangerModal, DashIcon$1 as DashIcon, DashboardIcon$1 as DashboardIcon, DataIcon$1 as DataIcon, DatabaseIcon$1 as DatabaseIcon, DecimalIcon$1 as DecimalIcon, DesignSystemAntDConfigProvider, DesignSystemEventProviderAnalyticsEventTypes, DesignSystemEventProviderComponentTypes, DialogCombobox, DialogComboboxAddButton, DialogComboboxContent, DialogComboboxCountBadge, DialogComboboxCustomButtonTriggerWrapper, EmptyResults as DialogComboboxEmpty, DialogComboboxFooter, DialogComboboxHintRow, DialogComboboxOptionControlledList, DialogComboboxOptionList, DialogComboboxOptionListCheckboxItem, DialogComboboxOptionListSearch, DialogComboboxOptionListSelectItem, DialogComboboxSectionHeader, DialogComboboxSeparator, DialogComboboxTrigger, DotsCircleIcon$1 as DotsCircleIcon, DownloadIcon$1 as DownloadIcon, DragIcon$1 as DragIcon, Drawer, Dropdown, DropdownMenu, DuboisDatePicker, Empty, ErdIcon$1 as ErdIcon, ExpandLessIcon$1 as ExpandLessIcon, ExpandMoreIcon$1 as ExpandMoreIcon, FileCodeIcon$1 as FileCodeIcon, FileDocumentIcon$1 as FileDocumentIcon, FileIcon$1 as FileIcon, FileImageIcon$1 as FileImageIcon, FileModelIcon$1 as FileModelIcon, FilterIcon$1 as FilterIcon, FloatIcon$1 as FloatIcon, FolderBranchIcon$1 as FolderBranchIcon, FolderCloudFilledIcon$1 as FolderCloudFilledIcon, FolderCloudIcon$1 as FolderCloudIcon, FolderFillIcon$1 as FolderFillIcon, FolderIcon$1 as FolderIcon, FontIcon$1 as FontIcon, ForkIcon$1 as ForkIcon, Form, FormDubois, FormUI, FullscreenExitIcon$1 as FullscreenExitIcon, FullscreenIcon$1 as FullscreenIcon, FunctionIcon$1 as FunctionIcon, GearFillIcon$1 as GearFillIcon, GearIcon$1 as GearIcon, GenericSkeleton, GiftIcon$1 as GiftIcon, GitCommitIcon$1 as GitCommitIcon, GlobeIcon$1 as GlobeIcon, GridDashIcon$1 as GridDashIcon, GridIcon$1 as GridIcon, H1Icon$1 as H1Icon, H2Icon$1 as H2Icon, H3Icon$1 as H3Icon, Header$1 as Header, HistoryIcon$1 as HistoryIcon, HomeIcon$1 as HomeIcon, Icon, ImageIcon$1 as ImageIcon, IndentDecreaseIcon$1 as IndentDecreaseIcon, IndentIncreaseIcon$1 as IndentIncreaseIcon, InfinityIcon$1 as InfinityIcon, InfoFillIcon$1 as InfoFillIcon, InfoIcon$1 as InfoIcon, InfoPopover, InfoTooltip, IngestionIcon$1 as IngestionIcon, Input, ItalicIcon$1 as ItalicIcon, KeyIcon$1 as KeyIcon, KeyboardIcon$1 as KeyboardIcon, LayerGraphIcon$1 as LayerGraphIcon, LayerIcon$1 as LayerIcon, Layout, LegacyDatePicker, LegacyOptGroup, LegacyOption, LegacyPopover, LegacySelect, LegacySelectOptGroup, LegacySelectOption, LegacySkeleton, LegacyTable, LettersIcon$1 as LettersIcon, LibrariesIcon$1 as LibrariesIcon, LightningIcon$1 as LightningIcon, LinkIcon$1 as LinkIcon, LinkOffIcon$1 as LinkOffIcon, ListBorderIcon$1 as ListBorderIcon, ListClearIcon$1 as ListClearIcon, ListIcon$1 as ListIcon, LoadingIcon, LoadingState, LockFillIcon$1 as LockFillIcon, LockIcon$1 as LockIcon, LockUnlockedIcon$1 as LockUnlockedIcon, MIcon$1 as MIcon, MailIcon$1 as MailIcon, Menu, MenuIcon$1 as MenuIcon, MinusBoxIcon$1 as MinusBoxIcon, MinusCircleFillIcon$1 as MinusCircleFillIcon, MinusCircleIcon$1 as MinusCircleIcon, Modal, ModelsIcon$1 as ModelsIcon, Nav, NavButton, NoIcon$1 as NoIcon, NotebookIcon$1 as NotebookIcon, Notification, NotificationIcon$1 as NotificationIcon, NotificationOffIcon$1 as NotificationOffIcon, NumbersIcon$1 as NumbersIcon, OfficeIcon$1 as OfficeIcon, Overflow, OverflowIcon$1 as OverflowIcon, PageBottomIcon$1 as PageBottomIcon, PageFirstIcon$1 as PageFirstIcon, PageLastIcon$1 as PageLastIcon, PageTopIcon$1 as PageTopIcon, PageWrapper, Pagination, Panel, PanelBody, PanelHeader, PanelHeaderButtons, PanelHeaderTitle, ParagraphSkeleton, PauseIcon$1 as PauseIcon, PencilIcon$1 as PencilIcon, PinCancelIcon$1 as PinCancelIcon, PinFillIcon$1 as PinFillIcon, PinIcon$1 as PinIcon, PipelineIcon$1 as PipelineIcon, PlayCircleFillIcon$1 as PlayCircleFillIcon, PlayCircleIcon$1 as PlayCircleIcon, PlayIcon$1 as PlayIcon, PlugIcon$1 as PlugIcon, PlusCircleFillIcon$1 as PlusCircleFillIcon, PlusCircleIcon$1 as PlusCircleIcon, PlusIcon$1 as PlusIcon, PlusSquareIcon$1 as PlusSquareIcon, Popover, QueryEditorIcon$1 as QueryEditorIcon, QueryIcon$1 as QueryIcon, QuestionMarkFillIcon$1 as QuestionMarkFillIcon, QuestionMarkIcon$1 as QuestionMarkIcon, QuestionMarkSpeechBubbleIcon$1 as QuestionMarkSpeechBubbleIcon, RHFControlledComponents, ROW_GUTTER_SIZE, Radio, ReaderModeIcon$1 as ReaderModeIcon, RedoIcon$1 as RedoIcon, RefreshIcon$1 as RefreshIcon, RestoreAntDDefaultClsPrefix, RobotIcon$1 as RobotIcon, Row, RunningIcon$1 as RunningIcon, SaveIcon$1 as SaveIcon, SchemaIcon$1 as SchemaIcon, SchoolIcon$1 as SchoolIcon, SearchIcon$1 as SearchIcon, SecurityIcon$1 as SecurityIcon, SegmentedControlButton, SegmentedControlGroup, Select, SelectContent, SelectOption, SelectOptionGroup, SelectTrigger, SendIcon$1 as SendIcon, ShareIcon$1 as ShareIcon, Sidebar, SidebarAutoIcon$1 as SidebarAutoIcon, SidebarCollapseIcon$1 as SidebarCollapseIcon, SidebarExpandIcon$1 as SidebarExpandIcon, SidebarIcon$1 as SidebarIcon, SimpleSelect, SimpleSelectOption, SimpleSelectOptionGroup, SlidersIcon$1 as SlidersIcon, SortAlphabeticalAscendingIcon$1 as SortAlphabeticalAscendingIcon, SortAlphabeticalDescendingIcon$1 as SortAlphabeticalDescendingIcon, SortAlphabeticalLeftIcon$1 as SortAlphabeticalLeftIcon, SortAlphabeticalRightIcon$1 as SortAlphabeticalRightIcon, SortAscendingIcon$1 as SortAscendingIcon, SortDescendingIcon$1 as SortDescendingIcon, SortUnsortedIcon$1 as SortUnsortedIcon, Space, Spacer, SparkleIcon$1 as SparkleIcon, SpeechBubbleIcon$1 as SpeechBubbleIcon, SpeechBubblePlusIcon$1 as SpeechBubblePlusIcon, SpeechBubbleQuestionMarkIcon$1 as SpeechBubbleQuestionMarkIcon, Spinner, SplitButton, StarFillIcon$1 as StarFillIcon, StarIcon$1 as StarIcon, StepIntoIcon$1 as StepIntoIcon, StepOutIcon$1 as StepOutIcon, StepOverIcon$1 as StepOverIcon, Steps, StopCircleFillIcon$1 as StopCircleFillIcon, StopCircleIcon$1 as StopCircleIcon, StopIcon$1 as StopIcon, StorefrontIcon$1 as StorefrontIcon, StreamIcon$1 as StreamIcon, Switch, SyncIcon$1 as SyncIcon, TabPane, Table, TableCell, TableContext, TableFilterInput, TableFilterLayout, TableGlassesIcon$1 as TableGlassesIcon, TableHeader, TableIcon$1 as TableIcon, TableLightningIcon$1 as TableLightningIcon, TableOnlineViewIcon$1 as TableOnlineViewIcon, TableRow, TableRowAction, TableRowActionHeader, TableRowContext, TableRowMenuContainer, TableRowSelectCell, TableSkeleton, TableSkeletonRows, TableStreamIcon$1 as TableStreamIcon, TableVectorIcon$1 as TableVectorIcon, TableViewIcon$1 as TableViewIcon, Tabs, Tag, TagIcon$1 as TagIcon, TargetIcon$1 as TargetIcon, TextBoxIcon$1 as TextBoxIcon, ThumbsDownIcon$1 as ThumbsDownIcon, ThumbsUpIcon$1 as ThumbsUpIcon, TitleSkeleton, ToggleButton, Tooltip, TrashIcon$1 as TrashIcon, Tree, TreeIcon$1 as TreeIcon, TypeaheadComboboxAddButton, TypeaheadComboboxCheckboxItem, TypeaheadComboboxFooter, TypeaheadComboboxInput, TypeaheadComboboxMenu, TypeaheadComboboxMenuItem, TypeaheadComboboxMultiSelectInput, TypeaheadComboboxRoot, TypeaheadComboboxSectionHeader, TypeaheadComboboxSelectedItem, TypeaheadComboboxSeparator, TypeaheadComboboxToggleButton, Typography, UnderlineIcon$1 as UnderlineIcon, UndoIcon$1 as UndoIcon, UploadIcon$1 as UploadIcon, UsbIcon$1 as UsbIcon, UserBadgeIcon$1 as UserBadgeIcon, UserCircleIcon$1 as UserCircleIcon, UserGroupIcon$1 as UserGroupIcon, UserIcon$1 as UserIcon, VectorTableIcon$1 as VectorTableIcon, VisibleIcon$1 as VisibleIcon, VisibleOffIcon$1 as VisibleOffIcon, WarningFillIcon$1 as WarningFillIcon, WarningIcon, Wizard, WizardControlled, WizardModal, WorkflowsIcon$1 as WorkflowsIcon, WorkspacesIcon$1 as WorkspacesIcon, XCircleFillIcon$1 as XCircleFillIcon, XCircleIcon$1 as XCircleIcon, ZoomInIcon$1 as ZoomInIcon, ZoomMarqueeSelection$1 as ZoomMarqueeSelection, ZoomOutIcon$1 as ZoomOutIcon, __INTERNAL_DO_NOT_USE__FormItem, __INTERNAL_DO_NOT_USE__Group, __INTERNAL_DO_NOT_USE__HorizontalGroup, __INTERNAL_DO_NOT_USE__VerticalGroup, dialogComboboxLookAheadKeyDown, findClosestOptionSibling, findHighlightedOption, getAnimationCss, getComboboxOptionItemWrapperStyles, getComboboxOptionLabelStyles, getContentOptions, getDarkModePortalStyles, getDialogComboboxOptionLabelWidth, getGlobalStyles, getKeyboardNavigationFunctions, getPaginationEmotionStyles, getRadioStyles, getShadowScrollStyles, getTabEmotionStyles, getValidationStateColor, getWrapperStyle, highlightFirstNonDisabledOption, highlightOption, importantify, isOptionDisabled, resetTabIndexToFocusedElement, useComboboxState, useDesignSystemEventComponentCallbacks, useDesignSystemFlags, useDesignSystemTheme, useLegacyNotification, useMultipleSelectionState, useNotifyOnFirstView, useThemedStyles, useTypeaheadComboboxContext, useWizardCurrentStep, visuallyHidden, withNotifications };
18284
19191
  //# sourceMappingURL=index.js.map