@epam/ai-dial-ui-kit 0.16.0-dev.4 → 0.16.0-dev.41

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 (309) hide show
  1. package/README.md +8 -1
  2. package/dist/CHANGELOG.md +73 -1
  3. package/dist/DateCellRenderer-f1EmpTB0.cjs +63 -0
  4. package/dist/{IconButton-DHOFapLo.cjs → IconButton-CsePS6PY.cjs} +1 -1
  5. package/dist/JsonEditor-DQhHSm93.cjs +1 -0
  6. package/dist/{MarkdownEditor-Cp-KX6-T.cjs → MarkdownEditor-CvIPIbPq.cjs} +1 -1
  7. package/dist/{MarkdownEditor-Dav_pp0T.cjs → MarkdownEditor-TR6X_gdl.cjs} +1 -1
  8. package/dist/MarkdownEditorContainer-JIn_VNUX.cjs +1 -0
  9. package/dist/{Switch-DE6MrcqJ.cjs → Switch-HEL_aq23.cjs} +1 -1
  10. package/dist/_virtual/_commonjsHelpers.js +3 -28
  11. package/dist/_virtual/index.js +5 -3
  12. package/dist/components/Analytics/Bar/Bar.js +7 -7
  13. package/dist/components/Analytics/BarGroup/BarGroup.js +18 -18
  14. package/dist/components/Analytics/Histogram/Histogram.js +10 -10
  15. package/dist/components/Checkbox/Checkbox.js +9 -9
  16. package/dist/components/Dropdown/constants.js +2 -2
  17. package/dist/components/DropdownIcon/DropdownIcon.js +5 -5
  18. package/dist/components/Grid/Grid.js +11 -11
  19. package/dist/components/IconButton/IconButton.js +7 -7
  20. package/dist/components/InputPopup/InputPopup.js +8 -8
  21. package/dist/components/LoadFileArea/EmptyFileArea.js +28 -28
  22. package/dist/components/Loader/Loader.js +8 -8
  23. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +16 -18
  24. package/dist/components/New/Avatar/Avatar.js +20 -18
  25. package/dist/components/New/BottomSheet/BottomSheet.js +53 -52
  26. package/dist/components/New/Breadcrumbs/constants.js +1 -1
  27. package/dist/components/New/Calendar/Calendar.js +314 -227
  28. package/dist/components/New/Calendar/TimePickerPanel.js +87 -0
  29. package/dist/components/New/Calendar/constants.js +27 -25
  30. package/dist/components/New/CaptionText/CaptionText.js +3 -4
  31. package/dist/components/New/Checkbox/Checkbox.js +23 -21
  32. package/dist/components/New/Checkbox/CheckboxBox.js +25 -18
  33. package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +49 -44
  34. package/dist/components/New/Dropdown/Dropdown.js +334 -254
  35. package/dist/components/New/Dropdown/constants.js +21 -18
  36. package/dist/components/New/Dropdown/search.js +37 -0
  37. package/dist/components/New/EntityIdentity/EntityIdentity.js +62 -60
  38. package/dist/components/New/FolderPath/FolderPath.js +151 -46
  39. package/dist/components/New/FormSection/FormSection.js +87 -0
  40. package/dist/components/New/Input/Input.js +121 -107
  41. package/dist/components/New/MenuItem/MenuItem.js +17 -17
  42. package/dist/components/New/NoDataContent/NoDataContent.js +22 -27
  43. package/dist/components/New/NoDataContent/NoDataIllustration.js +53 -0
  44. package/dist/components/New/PasswordInput/PasswordInput.js +33 -32
  45. package/dist/components/New/Popup/constants.js +1 -1
  46. package/dist/components/New/Radio/Radio.js +19 -17
  47. package/dist/components/New/ResizeHandle/ResizeHandle.js +147 -0
  48. package/dist/components/New/SchemaRenderer/components/SchemaField.js +45 -44
  49. package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +41 -38
  50. package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +45 -39
  51. package/dist/components/New/Select/Select.js +205 -202
  52. package/dist/components/New/Select/constants.js +29 -38
  53. package/dist/components/New/SelectedEntityCard/SelectedEntityCard.js +86 -0
  54. package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
  55. package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
  56. package/dist/components/New/StateScreen/StateScreen.js +61 -0
  57. package/dist/components/New/Switch/Switch.js +19 -17
  58. package/dist/components/New/Tabs/Tabs.js +91 -58
  59. package/dist/components/New/Tag/Tag.js +34 -34
  60. package/dist/components/New/Tag/constants.js +13 -4
  61. package/dist/components/New/Textarea/Textarea.js +37 -33
  62. package/dist/components/New/TransferQueue/TransferQueue.js +66 -71
  63. package/dist/components/New/TransferQueue/TransferQueueHeader.js +30 -38
  64. package/dist/components/New/TransferQueue/TransferQueueRow.js +106 -49
  65. package/dist/components/Search/Search.js +1 -1
  66. package/dist/components/Select/Select.js +1 -1
  67. package/dist/components/Select/constants.js +6 -6
  68. package/dist/components/Slider/Slider.js +1 -1
  69. package/dist/components/Steps/Step.js +9 -9
  70. package/dist/components/TagInput/TagInput.js +1 -1
  71. package/dist/components-manifest.json +688 -1210
  72. package/dist/constants/public-class-names.js +15 -0
  73. package/dist/dial-ui-kit.cjs +4 -2
  74. package/dist/dial-ui-kit.js +376 -383
  75. package/dist/editors.cjs +1 -1
  76. package/dist/grid.cjs +1 -1
  77. package/dist/index.css +2 -6
  78. package/dist/lazy-kq-xfXXv.cjs +1 -0
  79. package/dist/{merge-classes-BEJXjzkx.cjs → merge-classes-B0SnCG4i.cjs} +1 -1
  80. package/dist/migration-guides/0.16.0/caption-text-no-alert-role.md +90 -0
  81. package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +89 -0
  82. package/dist/migration-guides/0.16.0/tailwind-v4-stylesheet.md +98 -0
  83. package/dist/migration-guides/README.md +3 -0
  84. package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +1 -1
  85. package/dist/src/components/ButtonDropdown/constants.d.ts +2 -2
  86. package/dist/src/components/Dropdown/constants.d.ts +1 -1
  87. package/dist/src/components/Grid/Grid.d.ts +1 -1
  88. package/dist/src/components/JsonEditor/lazy.d.ts +1 -1
  89. package/dist/src/components/MarkdownEditor/lazy.d.ts +1 -1
  90. package/dist/src/components/New/Avatar/Avatar.d.ts +12 -3
  91. package/dist/src/components/New/Breadcrumbs/constants.d.ts +2 -2
  92. package/dist/src/components/New/ButtonDropdown/constants.d.ts +1 -1
  93. package/dist/src/components/New/Calendar/Calendar.d.ts +10 -2
  94. package/dist/src/components/New/Calendar/TimePickerPanel.d.ts +15 -0
  95. package/dist/src/components/New/Calendar/constants.d.ts +7 -5
  96. package/dist/src/components/New/CaptionText/CaptionText.d.ts +8 -1
  97. package/dist/src/components/New/Dropdown/Dropdown.d.ts +42 -0
  98. package/dist/src/components/New/Dropdown/constants.d.ts +7 -1
  99. package/dist/src/components/New/Dropdown/search.d.ts +9 -0
  100. package/dist/src/components/New/EntityIdentity/EntityIdentity.d.ts +6 -2
  101. package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
  102. package/dist/src/components/New/FolderPath/FolderPath.d.ts +16 -8
  103. package/dist/src/components/New/FormSection/FormSection.d.ts +63 -0
  104. package/dist/src/components/New/Grid/Grid.d.ts +1 -1
  105. package/dist/src/components/New/Grid/components/SelectionCell.d.ts +1 -1
  106. package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +1 -1
  107. package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
  108. package/dist/src/components/New/MarkdownEditor/lazy.d.ts +1 -1
  109. package/dist/src/components/New/MenuItem/constants.d.ts +1 -1
  110. package/dist/src/components/New/NoDataContent/NoDataContent.d.ts +16 -8
  111. package/dist/src/components/New/NoDataContent/NoDataIllustration.d.ts +7 -0
  112. package/dist/src/components/New/PasswordInput/PasswordInput.d.ts +6 -0
  113. package/dist/src/components/New/Popup/constants.d.ts +1 -1
  114. package/dist/src/components/New/ResizeHandle/ResizeHandle.d.ts +68 -0
  115. package/dist/src/components/New/SchemaRenderer/components/SchemaFieldContent.d.ts +1 -0
  116. package/dist/src/components/New/SchemaRenderer/components/SchemaPrimitiveField.d.ts +2 -0
  117. package/dist/src/components/New/SchemaRenderer/types.d.ts +3 -1
  118. package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +1 -1
  119. package/dist/src/components/New/Select/Select.d.ts +2 -0
  120. package/dist/src/components/New/Select/constants.d.ts +3 -4
  121. package/dist/src/components/New/SelectedEntityCard/SelectedEntityCard.d.ts +67 -0
  122. package/dist/src/components/New/StateScreen/StateScreen.d.ts +47 -0
  123. package/dist/src/components/New/Tabs/Tabs.d.ts +17 -1
  124. package/dist/src/components/New/Tag/Tag.d.ts +9 -5
  125. package/dist/src/components/New/Tag/constants.d.ts +12 -4
  126. package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
  127. package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +9 -5
  128. package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +1 -3
  129. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -1
  130. package/dist/src/components/Select/constants.d.ts +3 -3
  131. package/dist/src/constants/public-class-names.d.ts +15 -0
  132. package/dist/src/index.d.ts +13 -14
  133. package/dist/src/subpaths/editors.d.ts +1 -1
  134. package/dist/src/types/avatar.d.ts +9 -0
  135. package/dist/src/types/form-section.d.ts +9 -0
  136. package/dist/src/types/tab.d.ts +5 -0
  137. package/dist/src/types/tag.d.ts +3 -1
  138. package/dist/src/utils/avatar.d.ts +2 -1
  139. package/dist/src/utils/sub-menu-floating.d.ts +1 -1
  140. package/dist/types/avatar.js +3 -2
  141. package/dist/types/form-section.js +4 -0
  142. package/dist/types/tab.js +5 -4
  143. package/dist/types/tag.js +2 -2
  144. package/dist/utils/avatar.js +41 -18
  145. package/dist/utils/merge-classes.js +36 -7
  146. package/dist/utils/sub-menu-floating.js +8 -8
  147. package/package.json +13 -16
  148. package/dist/DateCellRenderer-C7yExfh5.cjs +0 -1
  149. package/dist/DateCellRenderer-ElULb0hY.cjs +0 -63
  150. package/dist/JsonEditor-eAV7SaKu.cjs +0 -1
  151. package/dist/MarkdownEditorContainer-96cKYmYd.cjs +0 -1
  152. package/dist/_virtual/___vite-browser-external.js +0 -6
  153. package/dist/_virtual/__vite-browser-external.js +0 -4
  154. package/dist/_virtual/index2.js +0 -4
  155. package/dist/_virtual/index3.js +0 -7
  156. package/dist/assets/icons/add-child.svg.js +0 -5
  157. package/dist/assets/icons/add-sibling.svg.js +0 -5
  158. package/dist/assets/icons/copy-to.svg.js +0 -5
  159. package/dist/assets/icons/move-to.svg.js +0 -5
  160. package/dist/assets/icons/no-data.svg.js +0 -5
  161. package/dist/assets/icons/unshare.svg.js +0 -5
  162. package/dist/components/FileManager/FileManager.js +0 -888
  163. package/dist/components/FileManager/FileManagerContext.js +0 -5
  164. package/dist/components/FileManager/FileManagerProvider.js +0 -772
  165. package/dist/components/FileManager/FileManagerTooltip.js +0 -92
  166. package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +0 -293
  167. package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +0 -201
  168. package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +0 -52
  169. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +0 -103
  170. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +0 -5
  171. package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +0 -56
  172. package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +0 -69
  173. package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +0 -100
  174. package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +0 -93
  175. package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +0 -165
  176. package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +0 -6
  177. package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +0 -120
  178. package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +0 -119
  179. package/dist/components/FileManager/components/FileMetadataPopup/constants.js +0 -9
  180. package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +0 -180
  181. package/dist/components/FileManager/components/FoldersTree/constants.js +0 -9
  182. package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +0 -51
  183. package/dist/components/FileManager/constants.js +0 -28
  184. package/dist/components/FileManager/errors.js +0 -10
  185. package/dist/components/FileManager/hooks/use-bulk-actions.js +0 -143
  186. package/dist/components/FileManager/hooks/use-collapse-tree.js +0 -22
  187. package/dist/components/FileManager/hooks/use-conflict-resolution.js +0 -158
  188. package/dist/components/FileManager/hooks/use-current-path.js +0 -29
  189. package/dist/components/FileManager/hooks/use-file-clipboard.js +0 -154
  190. package/dist/components/FileManager/hooks/use-file-delete.js +0 -39
  191. package/dist/components/FileManager/hooks/use-file-download.js +0 -16
  192. package/dist/components/FileManager/hooks/use-file-manager-columns.js +0 -106
  193. package/dist/components/FileManager/hooks/use-file-manager-context.js +0 -13
  194. package/dist/components/FileManager/hooks/use-file-manager-tabs.js +0 -23
  195. package/dist/components/FileManager/hooks/use-file-metadata.js +0 -20
  196. package/dist/components/FileManager/hooks/use-file-search.js +0 -90
  197. package/dist/components/FileManager/hooks/use-file-upload.js +0 -338
  198. package/dist/components/FileManager/hooks/use-folder-creation.js +0 -151
  199. package/dist/components/FileManager/hooks/use-grid-actions-column.js +0 -65
  200. package/dist/components/FileManager/hooks/use-grid-context-menu.js +0 -188
  201. package/dist/components/FileManager/hooks/use-item-renaming.js +0 -124
  202. package/dist/components/FileManager/hooks/use-new-actions.js +0 -67
  203. package/dist/components/FileManager/hooks/use-paths-selection.js +0 -28
  204. package/dist/components/FileManager/hooks/use-show-hidden-files.js +0 -20
  205. package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +0 -39
  206. package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +0 -42
  207. package/dist/components/FileManager/hooks/use-trigger-view-rename.js +0 -25
  208. package/dist/components/FileManager/utils.js +0 -129
  209. package/dist/constants/file-grid-columns.js +0 -176
  210. package/dist/editor-BH6_A1k2.cjs +0 -1
  211. package/dist/file-manager.cjs +0 -1
  212. package/dist/file-manager.js +0 -22
  213. package/dist/hooks/use-flexible-actions.js +0 -72
  214. package/dist/hooks/use-width-breakpoint.js +0 -15
  215. package/dist/lazy-DMVYJhUR.cjs +0 -1
  216. package/dist/node_modules/mime-db/db.json.js +0 -2527
  217. package/dist/node_modules/mime-db/index.js +0 -8
  218. package/dist/node_modules/mime-types/index.js +0 -70
  219. package/dist/node_modules/mime-types/mimeScore.js +0 -38
  220. package/dist/src/__mocks__/monaco-editor.d.ts +0 -13
  221. package/dist/src/components/Analytics/Bar/utils.spec.d.ts +0 -1
  222. package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +0 -1
  223. package/dist/src/components/Button/ButtonWrappers.test.d.ts +0 -1
  224. package/dist/src/components/Button/__tests__/utils.spec.d.ts +0 -1
  225. package/dist/src/components/FileManager/FileManager.d.ts +0 -326
  226. package/dist/src/components/FileManager/FileManagerContext.d.ts +0 -181
  227. package/dist/src/components/FileManager/FileManagerProvider.d.ts +0 -21
  228. package/dist/src/components/FileManager/FileManagerTooltip.d.ts +0 -12
  229. package/dist/src/components/FileManager/__mocks__/files.d.ts +0 -3
  230. package/dist/src/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.d.ts +0 -90
  231. package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +0 -73
  232. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +0 -63
  233. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.test.d.ts +0 -1
  234. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.d.ts +0 -56
  235. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/constants.d.ts +0 -3
  236. package/dist/src/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.d.ts +0 -26
  237. package/dist/src/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.d.ts +0 -51
  238. package/dist/src/components/FileManager/components/FileManagerItemName/FileManagerItemName.d.ts +0 -57
  239. package/dist/src/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.d.ts +0 -71
  240. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +0 -64
  241. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/constants.d.ts +0 -3
  242. package/dist/src/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.d.ts +0 -76
  243. package/dist/src/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.d.ts +0 -50
  244. package/dist/src/components/FileManager/components/FileMetadataPopup/constants.d.ts +0 -6
  245. package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +0 -135
  246. package/dist/src/components/FileManager/components/FoldersTree/constants.d.ts +0 -6
  247. package/dist/src/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.d.ts +0 -13
  248. package/dist/src/components/FileManager/constants.d.ts +0 -21
  249. package/dist/src/components/FileManager/errors.d.ts +0 -6
  250. package/dist/src/components/FileManager/hooks/__tests__/use-conflict-resolution.spec.d.ts +0 -1
  251. package/dist/src/components/FileManager/hooks/__tests__/use-current-path.spec.d.ts +0 -1
  252. package/dist/src/components/FileManager/hooks/__tests__/use-file-clipboard.spec.d.ts +0 -1
  253. package/dist/src/components/FileManager/hooks/__tests__/use-file-delete.spec.d.ts +0 -1
  254. package/dist/src/components/FileManager/hooks/__tests__/use-file-download.spec.d.ts +0 -1
  255. package/dist/src/components/FileManager/hooks/__tests__/use-file-upload.spec.d.ts +0 -1
  256. package/dist/src/components/FileManager/hooks/__tests__/use-show-hidden-files.spec.d.ts +0 -1
  257. package/dist/src/components/FileManager/hooks/__tests__/use-trigger-view-rename.spec.d.ts +0 -1
  258. package/dist/src/components/FileManager/hooks/use-bulk-actions.d.ts +0 -30
  259. package/dist/src/components/FileManager/hooks/use-collapse-tree.d.ts +0 -9
  260. package/dist/src/components/FileManager/hooks/use-conflict-resolution.d.ts +0 -27
  261. package/dist/src/components/FileManager/hooks/use-current-path.d.ts +0 -13
  262. package/dist/src/components/FileManager/hooks/use-file-clipboard.d.ts +0 -37
  263. package/dist/src/components/FileManager/hooks/use-file-delete.d.ts +0 -13
  264. package/dist/src/components/FileManager/hooks/use-file-download.d.ts +0 -9
  265. package/dist/src/components/FileManager/hooks/use-file-manager-columns.d.ts +0 -43
  266. package/dist/src/components/FileManager/hooks/use-file-manager-context.d.ts +0 -7
  267. package/dist/src/components/FileManager/hooks/use-file-manager-tabs.d.ts +0 -10
  268. package/dist/src/components/FileManager/hooks/use-file-metadata.d.ts +0 -10
  269. package/dist/src/components/FileManager/hooks/use-file-search.d.ts +0 -23
  270. package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +0 -64
  271. package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +0 -30
  272. package/dist/src/components/FileManager/hooks/use-grid-actions-column.d.ts +0 -15
  273. package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +0 -44
  274. package/dist/src/components/FileManager/hooks/use-item-renaming.d.ts +0 -22
  275. package/dist/src/components/FileManager/hooks/use-new-actions.d.ts +0 -23
  276. package/dist/src/components/FileManager/hooks/use-paths-selection.d.ts +0 -13
  277. package/dist/src/components/FileManager/hooks/use-show-hidden-files.d.ts +0 -9
  278. package/dist/src/components/FileManager/hooks/use-tree-additional-buttons.d.ts +0 -22
  279. package/dist/src/components/FileManager/hooks/use-trigger-view-create-folder.d.ts +0 -26
  280. package/dist/src/components/FileManager/hooks/use-trigger-view-rename.d.ts +0 -20
  281. package/dist/src/components/FileManager/utils.d.ts +0 -69
  282. package/dist/src/components/FileManager/utils.spec.d.ts +0 -1
  283. package/dist/src/components/Grid/comparators/base-column-comparator.spec.d.ts +0 -1
  284. package/dist/src/components/Grid/renderers/utils.spec.d.ts +0 -1
  285. package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +0 -1
  286. package/dist/src/components/New/Button/__tests__/utils.spec.d.ts +0 -1
  287. package/dist/src/components/New/Calendar/utils.spec.d.ts +0 -1
  288. package/dist/src/components/New/Slider/utils.spec.d.ts +0 -1
  289. package/dist/src/components/New/TagInput/utils.spec.d.ts +0 -1
  290. package/dist/src/components/Pagination/tests/utils.spec.d.ts +0 -1
  291. package/dist/src/components/SchemaRenderer/tests/utils.spec.d.ts +0 -1
  292. package/dist/src/components/Steps/tests/Steps.test.d.ts +0 -1
  293. package/dist/src/components/Steps/tests/utils.spec.d.ts +0 -1
  294. package/dist/src/constants/file-grid-columns.d.ts +0 -4
  295. package/dist/src/models/file-manager.d.ts +0 -19
  296. package/dist/src/subpaths/file-manager.d.ts +0 -21
  297. package/dist/src/types/file-manager.d.ts +0 -59
  298. package/dist/src/utils/__tests__/accessible-name.spec.d.ts +0 -1
  299. package/dist/src/utils/__tests__/avatar.spec.d.ts +0 -1
  300. package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +0 -1
  301. package/dist/src/utils/__tests__/file-accept.spec.d.ts +0 -1
  302. package/dist/src/utils/__tests__/merge-classes.spec.d.ts +0 -1
  303. package/dist/src/utils/__tests__/path.spec.d.ts +0 -1
  304. package/dist/src/utils/__tests__/pointer.spec.d.ts +0 -1
  305. package/dist/src/utils/__tests__/timezone.spec.d.ts +0 -1
  306. package/dist/src/utils/grid-registration.spec.d.ts +0 -1
  307. package/dist/types/file-manager.js +0 -12
  308. package/dist/use-file-manager-tabs-Bgh8mfOJ.cjs +0 -3
  309. package/dist/utils/path.js +0 -4
@@ -1 +1 @@
1
- "use strict";const u=require("react/jsx-runtime"),n=require("@floating-ui/react"),c=require("react"),x=require("classnames"),F=require("./merge-classes-BEJXjzkx.cjs");var l=(e=>(e.Primary="primary",e.Neutral="neutral",e.Danger="danger",e.Static="static",e.Starter="starter",e.Success="success",e.Secondary="secondary",e.Tertiary="tertiary",e))(l||{}),r=(e=>(e.Solid="solid",e.Outlined="outlined",e.Ghost="ghost",e.Link="link",e))(r||{});const v={[l.Primary]:{[r.Solid]:"dial-primary-solid-button",[r.Ghost]:"dial-primary-ghost-button",[r.Link]:"dial-primary-link-button"},[l.Neutral]:{[r.Outlined]:"dial-neutral-outlined-button"},[l.Danger]:{[r.Solid]:"dial-danger-solid-button",[r.Ghost]:"dial-danger-ghost-button",[r.Outlined]:"dial-danger-outlined-button"},[l.Success]:{[r.Ghost]:"dial-success-ghost-button"},[l.Secondary]:{[r.Ghost]:"dial-secondary-ghost-button"},[l.Tertiary]:{[r.Ghost]:"dial-tertiary-ghost-button"},[l.Static]:{},[l.Starter]:{}},S=(e=l.Primary,o=r.Solid)=>{const t=v[e]?.[o];return t||(console.warn(`Could not find Button styles for variant: ${e} and appearance: ${o}. Using default primary solid button styles.`),v[l.Primary][r.Solid])};var h=(e=>(e.Small="small",e.Standard="standard",e.Large="large",e))(h||{});const I=7,A=2,C=c.createContext(null),N=()=>{const e=c.useContext(C);if(e==null)throw new Error("Tooltip components must be wrapped in <Tooltip />");return e},q=({initialOpen:e=!1,placement:o="bottom",isTriggerClickable:t=!1,open:s,onOpenChange:a}={})=>{const[i,p]=c.useState(e),g=c.useRef(null),m=s??i,d=a??p,f=n.useFloating({placement:o,open:m,onOpenChange:d,whileElementsMounted:n.autoUpdate,middleware:[n.offset(I+A),n.flip({crossAxis:o.includes("-"),fallbackAxisSideDirection:"start",padding:5}),n.shift({padding:5}),n.arrow({element:g})]}),M=n.useHover(f.context,{move:!1,enabled:s==null,mouseOnly:t,delay:{open:500,close:0}}),k=n.useFocus(f.context,{enabled:s==null}),P=n.useDismiss(f.context),G=n.useRole(f.context,{role:"tooltip"}),b=n.useInteractions([M,k,P,G]);return c.useEffect(()=>{if(!m)return;const y=f.refs.reference.current;if(!(y instanceof Element))return;const w=new IntersectionObserver(([L])=>{L.isIntersecting||d(!1)},{root:null,threshold:0});return w.observe(y),()=>w.disconnect()},[m,f.refs.reference,d]),c.useMemo(()=>({open:m,setOpen:d,arrowRef:g,...b,...f}),[m,d,b,f])},R=({children:e,...o})=>{const t=q(o);return u.jsx(C.Provider,{value:t,children:e})},T="(hover: none)",_=()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia(T).matches,D=()=>{const[e,o]=c.useState(()=>!_());return c.useEffect(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const t=window.matchMedia(T);if(o(!t.matches),typeof t.addEventListener!="function")return;const s=a=>o(!a.matches);return t.addEventListener("change",s),()=>t.removeEventListener("change",s)},[]),e},E=({style:e,...o})=>{const t=N(),s=D(),a=c.useRef(null),i=n.useMergeRefs([t.refs.setFloating,a]);return!t.open||!s?null:u.jsx(n.FloatingPortal,{id:"tooltip-portal",children:u.jsxs("div",{ref:i,style:{...t.floatingStyles,...e},...t.getFloatingProps(o),className:x("z-tooltip whitespace-pre-wrap break-words rounded border border-primary bg-layer-0 px-2 py-1 dial-tiny-text shadow max-w-[300px]",t.getFloatingProps(o).className),children:[o.children,u.jsx(n.FloatingArrow,{ref:t.arrowRef,context:t.context,fill:"currentColor",strokeWidth:1,className:"stroke-primary text-[var(--bg-layer-0,_#000000)]"})]})})},H=({children:e,asChild:o=!1,...t})=>{const s=N(),a=o&&c.isValidElement(e),i=a?e.props?.ref:null,p=n.useMergeRefs([s.refs.setReference,...i?[i]:[]]);return a?c.cloneElement(e,s.getReferenceProps({...e.props,...t,ref:p})):u.jsx("span",{ref:p,...s.getReferenceProps(t),className:t.className??"dial-tooltip-trigger text-start",children:e})},j=({hideTooltip:e,tooltip:o,children:t,triggerClassName:s,contentClassName:a,...i})=>u.jsxs(R,{...i,children:[u.jsx(H,{className:x(s,"truncate"),children:t}),u.jsx(E,{className:x("text-primary",a,"max-w-[300px]",(e||!o)&&"hidden"),children:o})]}),O=(...e)=>e.find(o=>typeof o=="string"&&o.length>0),U=({variant:e,appearance:o=r.Solid,size:t=h.Standard,className:s,icon:a,tooltipProps:i,type:p="button",...g})=>{const m=F.mergeClasses(e&&S(e,o),t===h.Small?"h-[24px] w-[24px]":"h-[40px] w-[40px] dial-kit-enhanced-target","dial-icon-button disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-focus outline-offset-0 disabled:text-controls-secondary-disable",s),d=u.jsx("button",{...g,type:p,className:m,"aria-label":O(g["aria-label"],i?.tooltip),children:a});return i?u.jsx(j,{...i,children:d}):d};exports.ButtonAppearance=r;exports.ButtonVariant=l;exports.DialIconButton=U;exports.DialTooltip=j;exports.DialTooltipContainer=R;exports.DialTooltipContent=E;exports.DialTooltipTrigger=H;exports.ElementSize=h;exports.getButtonClassNames=S;exports.resolveAccessibleName=O;exports.useHasHover=D;
1
+ "use strict";const u=require("react/jsx-runtime"),s=require("@floating-ui/react"),c=require("react"),x=require("classnames"),F=require("./merge-classes-B0SnCG4i.cjs");var l=(e=>(e.Primary="primary",e.Neutral="neutral",e.Danger="danger",e.Static="static",e.Starter="starter",e.Success="success",e.Secondary="secondary",e.Tertiary="tertiary",e))(l||{}),r=(e=>(e.Solid="solid",e.Outlined="outlined",e.Ghost="ghost",e.Link="link",e))(r||{});const v={[l.Primary]:{[r.Solid]:"dial-primary-solid-button",[r.Ghost]:"dial-primary-ghost-button",[r.Link]:"dial-primary-link-button"},[l.Neutral]:{[r.Outlined]:"dial-neutral-outlined-button"},[l.Danger]:{[r.Solid]:"dial-danger-solid-button",[r.Ghost]:"dial-danger-ghost-button",[r.Outlined]:"dial-danger-outlined-button"},[l.Success]:{[r.Ghost]:"dial-success-ghost-button"},[l.Secondary]:{[r.Ghost]:"dial-secondary-ghost-button"},[l.Tertiary]:{[r.Ghost]:"dial-tertiary-ghost-button"},[l.Static]:{},[l.Starter]:{}},S=(e=l.Primary,o=r.Solid)=>{const t=v[e]?.[o];return t||(console.warn(`Could not find Button styles for variant: ${e} and appearance: ${o}. Using default primary solid button styles.`),v[l.Primary][r.Solid])};var h=(e=>(e.Small="small",e.Standard="standard",e.Large="large",e))(h||{});const I=7,A=2,C=c.createContext(null),N=()=>{const e=c.useContext(C);if(e==null)throw new Error("Tooltip components must be wrapped in <Tooltip />");return e},q=({initialOpen:e=!1,placement:o="bottom",isTriggerClickable:t=!1,open:n,onOpenChange:a}={})=>{const[i,p]=c.useState(e),g=c.useRef(null),m=n??i,d=a??p,f=s.useFloating({placement:o,open:m,onOpenChange:d,whileElementsMounted:s.autoUpdate,middleware:[s.offset(I+A),s.flip({crossAxis:o.includes("-"),fallbackAxisSideDirection:"start",padding:5}),s.shift({padding:5}),s.arrow({element:g})]}),M=s.useHover(f.context,{move:!1,enabled:n==null,mouseOnly:t,delay:{open:500,close:0}}),k=s.useFocus(f.context,{enabled:n==null}),P=s.useDismiss(f.context),G=s.useRole(f.context,{role:"tooltip"}),y=s.useInteractions([M,k,P,G]);return c.useEffect(()=>{if(!m)return;const b=f.refs.reference.current;if(!(b instanceof Element))return;const w=new IntersectionObserver(([L])=>{L.isIntersecting||d(!1)},{root:null,threshold:0});return w.observe(b),()=>w.disconnect()},[m,f.refs.reference,d]),c.useMemo(()=>({open:m,setOpen:d,arrowRef:g,...y,...f}),[m,d,y,f])},R=({children:e,...o})=>{const t=q(o);return u.jsx(C.Provider,{value:t,children:e})},T="(hover: none)",_=()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia(T).matches,D=()=>{const[e,o]=c.useState(()=>!_());return c.useEffect(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const t=window.matchMedia(T);if(o(!t.matches),typeof t.addEventListener!="function")return;const n=a=>o(!a.matches);return t.addEventListener("change",n),()=>t.removeEventListener("change",n)},[]),e},E=({style:e,...o})=>{const t=N(),n=D(),a=c.useRef(null),i=s.useMergeRefs([t.refs.setFloating,a]);return!t.open||!n?null:u.jsx(s.FloatingPortal,{id:"tooltip-portal",children:u.jsxs("div",{ref:i,style:{...t.floatingStyles,...e},...t.getFloatingProps(o),className:x("z-tooltip whitespace-pre-wrap break-words rounded border border-primary bg-layer-0 px-2 py-1 dial-tiny-text shadow max-w-[300px]",t.getFloatingProps(o).className),children:[o.children,u.jsx(s.FloatingArrow,{ref:t.arrowRef,context:t.context,fill:"currentColor",strokeWidth:1,className:"stroke-primary text-[var(--bg-layer-0,_#000000)]"})]})})},H=({children:e,asChild:o=!1,...t})=>{const n=N(),a=o&&c.isValidElement(e),i=a?e.props?.ref:null,p=s.useMergeRefs([n.refs.setReference,...i?[i]:[]]);return a?c.cloneElement(e,n.getReferenceProps({...e.props,...t,ref:p})):u.jsx("span",{ref:p,...n.getReferenceProps(t),className:t.className??"dial-tooltip-trigger text-start",children:e})},j=({hideTooltip:e,tooltip:o,children:t,triggerClassName:n,contentClassName:a,...i})=>u.jsxs(R,{...i,children:[u.jsx(H,{className:x(n,"truncate"),children:t}),u.jsx(E,{className:x("text-primary",a,"max-w-[300px]",(e||!o)&&"hidden"),children:o})]}),O=(...e)=>e.find(o=>typeof o=="string"&&o.length>0),U=({variant:e,appearance:o=r.Solid,size:t=h.Standard,className:n,icon:a,tooltipProps:i,type:p="button",...g})=>{const m=F.mergeClasses(e&&S(e,o),t===h.Small?"h-[24px] w-[24px]":"h-[40px] w-[40px] dial-kit-enhanced-target","dial-icon-button disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-focus outline-offset-0",n),d=u.jsx("button",{...g,type:p,className:m,"aria-label":O(g["aria-label"],i?.tooltip),children:a});return i?u.jsx(j,{...i,children:d}):d};exports.ButtonAppearance=r;exports.ButtonVariant=l;exports.DialIconButton=U;exports.DialTooltip=j;exports.DialTooltipContainer=R;exports.DialTooltipContent=E;exports.DialTooltipTrigger=H;exports.ElementSize=h;exports.getButtonClassNames=S;exports.resolveAccessibleName=O;exports.useHasHover=D;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),a=require("./lazy-kq-xfXXv.cjs"),c=require("@monaco-editor/react");function g(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const f=g(c),b={[a.EditorThemes.dark]:{base:"vs-dark",inherit:!1,rules:[{token:"string.key.json",foreground:"#37BABC"},{token:"string.value.json",foreground:"#5C8DEA"},{token:"number",foreground:"#D97C27"},{token:"keyword.json",foreground:"#F4CE46"},{token:"delimiter",foreground:"#EEF1F7"},{token:"delimiter.bracket.json",foreground:"#A972FF"},{token:"delimiter.parenthesis",foreground:"#A972FF"}],colors:{"editor.foreground":"#F76464","editor.background":"#161B2D","editorCursor.foreground":"#EEF1F7","editor.selectionBackground":"#5C8DEA2B","editorLineNumber.foreground":"#242C42","scrollbarSlider.background":"#242C42","scrollbarSlider.hoverBackground":"#242C42","scrollbarSlider.activeBackground":"#242C42"}},[a.EditorThemes.light]:{base:"vs",inherit:!1,rules:[{token:"string.key.json",foreground:"#009D9F"},{token:"string.value.json",foreground:"#2764D9"},{token:"number",foreground:"#B25500"},{token:"keyword.json",foreground:"#3F3D25"},{token:"delimiter",foreground:"#161B2D"},{token:"delimiter.bracket.json",foreground:"#7E39EC"},{token:"delimiter.parenthesis",foreground:"#7E39EC"}],colors:{"editor.foreground":"#AE2F2F","editor.background":"#EEF1F7","editorCursor.foreground":"#161B2D","editor.selectionBackground":"#5C8DEA2B","editorLineNumber.foreground":"#242C42","scrollbarSlider.background":"#242C42","scrollbarSlider.hoverBackground":"#242C42","scrollbarSlider.activeBackground":"#242C42"}}},k=({value:e,onChange:o,onValidateJSON:r,options:t,currentTheme:n,themesConfig:s=b})=>{function d(i){i?.editor?.defineTheme(n,s[n]),i.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:[{uri:"http://custom-schema/object-required.json",fileMatch:["*"],schema:{type:"object",description:"Top-level value must be an object",additionalProperties:!0}}]})}const{Editor:l}=f;return u.jsx(l,{beforeMount:d,height:"100%",defaultLanguage:"json",value:e,onChange:o,theme:n,onValidate:r,options:{minimap:{enabled:!1},formatOnType:!0,formatOnPaste:!0,selectOnLineNumbers:!1,automaticLayout:!0,scrollBeyondLastLine:!1,wordWrap:"on",smoothScrolling:!0,overviewRulerLanes:0,scrollbar:{horizontal:"hidden",verticalScrollbarSize:4,verticalSliderSize:4},...t??{}}})};exports.DialJsonEditor=k;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("react"),O=require("@uiw/react-md-editor"),_=require("./lazy-DMVYJhUR.cjs"),k=require("./merge-classes-BEJXjzkx.cjs"),o=require("@tabler/icons-react"),p=require("./icon-DhjrDQ8I.cjs"),f=require("./icon-CrGVkVpG.cjs");function E(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(i,r,c.get?c:{enumerable:!0,get:()=>n[r]})}}return i.default=n,Object.freeze(i)}const h=E(O),L=f.DIAL_ICON_SIZE.SM,t={size:L,stroke:p.DIAL_KIT_ICON_STROKE},s=(n,i)=>({...n,icon:i}),M=()=>{const{bold:n,code:i,divider:r,group:c,heading1:a,heading2:d,heading3:u,italic:l,link:m,orderedListCommand:I,quote:g,strikethrough:x,table:j,unorderedListCommand:C}=h;return[s(n,e.jsx(o.IconBold,{...t})),s(l,e.jsx(o.IconItalic,{...t})),s(x,e.jsx(o.IconStrikethrough,{...t})),r,c([a,d,u],{name:"heading",groupName:"heading",icon:e.jsx(o.IconTextSize,{...t}),buttonProps:{"aria-label":"Text style",title:"Text style"}}),r,s(C,e.jsx(o.IconList,{...t})),s(I,e.jsx(o.IconListNumbers,{...t})),r,s(g,e.jsx(o.IconQuote,{...t})),s(m,e.jsx(o.IconLink,{...t})),s(i,e.jsx(o.IconCode,{...t})),r,s(j,e.jsx(o.IconTable,{...t}))]},S=()=>{const{codeEdit:n,codeLive:i,codePreview:r,divider:c,fullscreen:a}=h;return[s(n,e.jsx(o.IconPencil,{...t})),s(i,e.jsx(o.IconLayoutColumns,{...t})),s(r,e.jsx(o.IconEye,{...t})),c,s(a,e.jsx(o.IconMaximize,{...t}))]},T=({value:n,onChange:i,height:r=300,theme:c=_.EditorThemes.light,className:a,placeholder:d,defaultPreview:u="edit",id:l,ariaLabel:m,showDragbar:I=!0})=>{const g=b.useMemo(()=>M(),[]),x=b.useMemo(()=>S(),[]);return e.jsx("div",{"data-color-mode":c,className:k.mergeClasses("dial-kit-markdown-editor",a),children:e.jsx(O,{value:n,onChange:j=>i?.(j||""),height:r,preview:u,visibleDragbar:I,commands:g,extraCommands:x,textareaProps:{placeholder:d,id:l,"aria-label":m}})})};exports.MarkdownEditor=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("react"),O=require("@uiw/react-md-editor"),_=require("./lazy-kq-xfXXv.cjs"),k=require("./merge-classes-B0SnCG4i.cjs"),o=require("@tabler/icons-react"),p=require("./icon-DhjrDQ8I.cjs"),f=require("./icon-CrGVkVpG.cjs");function E(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(i,r,c.get?c:{enumerable:!0,get:()=>n[r]})}}return i.default=n,Object.freeze(i)}const h=E(O),L=f.DIAL_ICON_SIZE.SM,t={size:L,stroke:p.DIAL_KIT_ICON_STROKE},s=(n,i)=>({...n,icon:i}),M=()=>{const{bold:n,code:i,divider:r,group:c,heading1:a,heading2:d,heading3:u,italic:l,link:m,orderedListCommand:I,quote:g,strikethrough:x,table:j,unorderedListCommand:C}=h;return[s(n,e.jsx(o.IconBold,{...t})),s(l,e.jsx(o.IconItalic,{...t})),s(x,e.jsx(o.IconStrikethrough,{...t})),r,c([a,d,u],{name:"heading",groupName:"heading",icon:e.jsx(o.IconTextSize,{...t}),buttonProps:{"aria-label":"Text style",title:"Text style"}}),r,s(C,e.jsx(o.IconList,{...t})),s(I,e.jsx(o.IconListNumbers,{...t})),r,s(g,e.jsx(o.IconQuote,{...t})),s(m,e.jsx(o.IconLink,{...t})),s(i,e.jsx(o.IconCode,{...t})),r,s(j,e.jsx(o.IconTable,{...t}))]},S=()=>{const{codeEdit:n,codeLive:i,codePreview:r,divider:c,fullscreen:a}=h;return[s(n,e.jsx(o.IconPencil,{...t})),s(i,e.jsx(o.IconLayoutColumns,{...t})),s(r,e.jsx(o.IconEye,{...t})),c,s(a,e.jsx(o.IconMaximize,{...t}))]},T=({value:n,onChange:i,height:r=300,theme:c=_.EditorThemes.light,className:a,placeholder:d,defaultPreview:u="edit",id:l,ariaLabel:m,showDragbar:I=!0})=>{const g=b.useMemo(()=>M(),[]),x=b.useMemo(()=>S(),[]);return e.jsx("div",{"data-color-mode":c,className:k.mergeClasses("dial-kit-markdown-editor",a),children:e.jsx(O,{value:n,onChange:j=>i?.(j||""),height:r,preview:u,visibleDragbar:I,commands:g,extraCommands:x,textareaProps:{placeholder:d,id:l,"aria-label":m}})})};exports.MarkdownEditor=T;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("@uiw/react-md-editor"),u=require("./lazy-DMVYJhUR.cjs"),x=require("./merge-classes-BEJXjzkx.cjs"),g=({value:r,onChange:s,height:o=300,preview:i="edit",theme:a=u.EditorThemes.dark,className:n,placeholder:t,showDragbar:d=!0})=>{const l=t!==void 0&&!r;return e.jsxs("div",{"data-color-mode":a,className:x.mergeClasses("relative",n),children:[e.jsx(m,{value:r,onChange:c=>s?.(c||""),height:o,preview:i,visibleDragbar:d}),l&&e.jsx("div",{className:"pointer-events-none absolute left-0 top-8 px-2 dial-small-text text-secondary opacity-40",children:t})]})};exports.DialMarkdownEditor=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("@uiw/react-md-editor"),u=require("./lazy-kq-xfXXv.cjs"),x=require("./merge-classes-B0SnCG4i.cjs"),g=({value:r,onChange:s,height:o=300,preview:i="edit",theme:a=u.EditorThemes.dark,className:n,placeholder:t,showDragbar:d=!0})=>{const l=t!==void 0&&!r;return e.jsxs("div",{"data-color-mode":a,className:x.mergeClasses("relative",n),children:[e.jsx(m,{value:r,onChange:c=>s?.(c||""),height:o,preview:i,visibleDragbar:d}),l&&e.jsx("div",{className:"pointer-events-none absolute left-0 top-8 px-2 dial-small-text text-secondary opacity-40",children:t})]})};exports.DialMarkdownEditor=g;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),m=require("./Switch-HEL_aq23.cjs"),N=require("./lazy-kq-xfXXv.cjs"),b=require("./MarkdownEditor-TR6X_gdl.cjs"),g=({value:r,onChangeValue:l,label:i,headerContent:a,switcherLabel:d,height:c=300,theme:u=N.EditorThemes.dark,onValidateJSON:x,preview:j="edit",showDragbar:w=!0})=>{const C=n.useId(),[t,p]=n.useState(!1),[f,S]=n.useState(null);n.useEffect(()=>{t&&typeof window<"u"&&Promise.resolve().then(()=>require("./JsonEditor-DQhHSm93.cjs")).then(s=>{S(()=>s.DialJsonEditor)})},[t]);const h=n.useCallback(s=>{l?.(s)},[l]),E=n.useCallback(s=>{x?.(s)},[x]),o=!!d;return e.jsx("div",{className:"size-full flex flex-col",children:e.jsx("div",{className:"flex flex-col gap-8",children:e.jsxs("div",{children:[(i||a||o)&&e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[i&&e.jsx(m.DialLabel,{label:i}),e.jsxs("div",{className:"flex items-center gap-2 flex-1 justify-end",children:[a,o&&e.jsx("label",{className:"flex items-center gap-2 cursor-pointer",children:e.jsx(m.DialSwitch,{isOn:t,label:d,switchId:C,onChange:s=>p(s)})})]})]}),o&&t?e.jsx("div",{className:"border border-primary rounded",style:{height:`${c}px`},children:f&&e.jsx(f,{value:r,onChange:h,onValidateJSON:E,currentTheme:u})}):e.jsx(b.DialMarkdownEditor,{value:r,onChange:h,height:c,preview:j,showDragbar:w,theme:u})]})})})};exports.DialMarkdownEditorContainer=g;
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("./merge-classes-BEJXjzkx.cjs"),d=require("@tabler/icons-react"),i=require("./IconButton-DHOFapLo.cjs"),f=require("./icon-CrGVkVpG.cjs"),l=require("classnames"),h=require("react"),y="w-[24px] h-[24px] border border-solid rounded-[6px] border-transparent flex items-center justify-center text-secondary hover:text-controls-accent-primary-hover active:text-controls-accent-primary-active",o=({caption:t,onClick:a})=>{if(!t)return null;const s=e.jsx(i.DialIconButton,{"aria-label":t,className:y,icon:e.jsx(d.IconInfoCircle,{size:f.DIAL_ICON_SIZE.SM}),onClick:a});return t?e.jsx(i.DialTooltip,{tooltip:t,triggerClassName:"flex justify-center items-center",children:s}):s},j=({label:t,required:a,className:s,caption:r,...n})=>t?e.jsxs("label",{...n,className:p.mergeClasses("dial-tiny-text text-secondary flex items-center gap-1",s),children:[typeof t=="string"?e.jsx("span",{className:"min-h-4",children:t}):t,a&&e.jsx("span",{className:"text-accent-primary",children:"*"}),e.jsx(o,{caption:r})]}):null,N=({label:t,switchId:a,isOn:s=!1,disabled:r,onChange:n,caption:c})=>{const x=l("flex shrink-0 w-[36px] h-[18px] cursor-pointer items-center gap-1 rounded-full p-0.5 transition-all duration-200",s?"flex-row-reverse":"flex-row",r?"pointer-events-none":"",r?s?"bg-controls-disable":"bg-layer-4":s?"bg-accent-primary":"bg-layer-4"),m=h.useCallback(u=>{u.stopPropagation(),n?.(!s)},[n,s]);return e.jsxs("div",{className:"flex flex-row items-start",role:"switch",children:[e.jsx("input",{type:"checkbox",onChange:m,id:a,disabled:r,className:"invisible size-0",checked:s}),e.jsx("label",{htmlFor:a,className:x,"aria-describedby":c&&"caption",children:e.jsx("span",{className:l("size-3 rounded-full",r?"bg-controls-disable-accent":"bg-controls-enable-primary")})}),(t||c)&&e.jsxs("div",{className:"flex flex-col gap-1 ml-2",children:[t&&e.jsx("span",{className:l("dial-small-text py-[1px]",r?"text-secondary":"text-primary"),"aria-label":"switch-title",children:t}),c&&e.jsx("span",{id:"caption",className:"dial-tiny-text text-secondary",children:c})]})]})};exports.DialInfoButton=o;exports.DialLabel=j;exports.DialSwitch=N;
1
+ "use strict";const e=require("react/jsx-runtime"),p=require("./merge-classes-B0SnCG4i.cjs"),d=require("@tabler/icons-react"),i=require("./IconButton-CsePS6PY.cjs"),f=require("./icon-CrGVkVpG.cjs"),l=require("classnames"),h=require("react"),y="w-[24px] h-[24px] border border-solid rounded-[6px] border-transparent flex items-center justify-center text-secondary hover:text-controls-accent-primary-hover active:text-controls-accent-primary-active",o=({caption:t,onClick:a})=>{if(!t)return null;const s=e.jsx(i.DialIconButton,{"aria-label":t,className:y,icon:e.jsx(d.IconInfoCircle,{size:f.DIAL_ICON_SIZE.SM}),onClick:a});return t?e.jsx(i.DialTooltip,{tooltip:t,triggerClassName:"flex justify-center items-center",children:s}):s},j=({label:t,required:a,className:s,caption:r,...n})=>t?e.jsxs("label",{...n,className:p.mergeClasses("dial-tiny-text text-secondary flex items-center gap-1",s),children:[typeof t=="string"?e.jsx("span",{className:"min-h-4",children:t}):t,a&&e.jsx("span",{className:"text-accent-primary",children:"*"}),e.jsx(o,{caption:r})]}):null,N=({label:t,switchId:a,isOn:s=!1,disabled:r,onChange:n,caption:c})=>{const x=l("flex shrink-0 w-[36px] h-[18px] cursor-pointer items-center gap-1 rounded-full p-0.5 transition-all duration-200",s?"flex-row-reverse":"flex-row",r?"pointer-events-none":"",r?s?"bg-controls-disable":"bg-layer-4":s?"bg-accent-primary":"bg-layer-4"),m=h.useCallback(u=>{u.stopPropagation(),n?.(!s)},[n,s]);return e.jsxs("div",{className:"flex flex-row items-start",role:"switch",children:[e.jsx("input",{type:"checkbox",onChange:m,id:a,disabled:r,className:"invisible size-0",checked:s}),e.jsx("label",{htmlFor:a,className:x,"aria-describedby":c&&"caption",children:e.jsx("span",{className:l("size-3 rounded-full",r?"bg-controls-disable-accent":"bg-controls-enable-primary")})}),(t||c)&&e.jsxs("div",{className:"flex flex-col gap-1 ml-2",children:[t&&e.jsx("span",{className:l("dial-small-text py-[1px]",r?"text-secondary":"text-primary"),"aria-label":"switch-title",children:t}),c&&e.jsx("span",{id:"caption",className:"dial-tiny-text text-secondary",children:c})]})]})};exports.DialInfoButton=o;exports.DialLabel=j;exports.DialSwitch=N;
@@ -1,31 +1,6 @@
1
- function u(e) {
2
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3
- }
4
- function c(e) {
5
- if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
6
- var n = e.default;
7
- if (typeof n == "function") {
8
- var t = function r() {
9
- var o = !1;
10
- try {
11
- o = this instanceof r;
12
- } catch {
13
- }
14
- return o ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
15
- };
16
- t.prototype = n.prototype;
17
- } else t = {};
18
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
19
- var o = Object.getOwnPropertyDescriptor(e, r);
20
- Object.defineProperty(t, r, o.get ? o : {
21
- enumerable: !0,
22
- get: function() {
23
- return e[r];
24
- }
25
- });
26
- }), t;
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
27
3
  }
28
4
  export {
29
- c as getAugmentedNamespace,
30
- u as getDefaultExportFromCjs
5
+ e as getDefaultExportFromCjs
31
6
  };
@@ -1,5 +1,7 @@
1
- import { __require as e } from "../node_modules/mime-types/index.js";
2
- var m = e();
1
+ import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/fast-deep-equal/index.js";
3
+ var t = r();
4
+ const p = /* @__PURE__ */ e(t);
3
5
  export {
4
- m
6
+ p as default
5
7
  };
@@ -9,7 +9,7 @@ const L = ({
9
9
  error: e,
10
10
  isLoading: s,
11
11
  title: i,
12
- valueLabel: x,
12
+ valueLabel: p,
13
13
  colorMap: u = _,
14
14
  className: m,
15
15
  titleClassName: w,
@@ -17,7 +17,7 @@ const L = ({
17
17
  inline: o,
18
18
  ariaLabel: v
19
19
  }) => {
20
- const n = a == null, N = !!(e || s || !n), d = j(n ? 0 : a, c), b = T(d, u), g = x ?? (n ? "—" : a), A = v ?? (typeof i == "string" ? i : void 0), B = e || s, f = e ? /* @__PURE__ */ l(C, {}) : s ? /* @__PURE__ */ l(D, { fullWidth: !1 }) : /* @__PURE__ */ l(
20
+ const n = a == null, N = !!(e || s || !n), d = j(n ? 0 : a, c), b = T(d, u), g = p ?? (n ? "—" : a), A = v ?? (typeof i == "string" ? i : void 0), B = e || s, f = e ? /* @__PURE__ */ l(C, {}) : s ? /* @__PURE__ */ l(D, { fullWidth: !1 }) : /* @__PURE__ */ l(
21
21
  "span",
22
22
  {
23
23
  className: r(
@@ -36,19 +36,19 @@ const L = ({
36
36
  "aria-valuemax": c,
37
37
  "aria-label": A,
38
38
  className: r(
39
- "w-full overflow-hidden rounded-sm",
39
+ "w-full overflow-hidden rounded-xs",
40
40
  o ? "h-1" : "h-2",
41
41
  e ? "bg-error" : "bg-layer-1"
42
42
  ),
43
43
  children: !B && /* @__PURE__ */ l(
44
44
  "div",
45
45
  {
46
- className: "h-full rounded-sm transition-[width] duration-300",
46
+ className: "h-full rounded-xs transition-[width] duration-300",
47
47
  style: { width: `${d * 100}%`, backgroundColor: b }
48
48
  }
49
49
  )
50
50
  }
51
- ) : null, p = /* @__PURE__ */ l(
51
+ ) : null, x = /* @__PURE__ */ l(
52
52
  "span",
53
53
  {
54
54
  className: r("dial-small-text text-primary", w),
@@ -60,7 +60,7 @@ const L = ({
60
60
  {
61
61
  className: r("flex flex-row items-center gap-2", m),
62
62
  children: [
63
- /* @__PURE__ */ l("div", { className: "w-1/2 min-w-0", children: p }),
63
+ /* @__PURE__ */ l("div", { className: "w-1/2 min-w-0", children: x }),
64
64
  /* @__PURE__ */ t("div", { className: "flex w-1/2 flex-row items-center gap-2", children: [
65
65
  /* @__PURE__ */ l("div", { className: "min-w-0 flex-1", children: h }),
66
66
  f
@@ -69,7 +69,7 @@ const L = ({
69
69
  }
70
70
  ) : /* @__PURE__ */ t("div", { className: r("flex flex-col gap-1", m), children: [
71
71
  /* @__PURE__ */ t("div", { className: "flex flex-row items-center justify-between gap-2", children: [
72
- p,
72
+ x,
73
73
  f
74
74
  ] }),
75
75
  h
@@ -3,17 +3,17 @@ import { Fragment as Q } from "react";
3
3
  import { DialAccordion as R } from "../../Accordion/Accordion.js";
4
4
  import { DialAnalyticsBar as b } from "../Bar/Bar.js";
5
5
  import { DialLoader as U } from "../../Loader/Loader.js";
6
- import { DialTooltip as g } from "../../Tooltip/Tooltip.js";
7
- import { mergeClasses as a } from "../../../utils/merge-classes.js";
6
+ import { DialTooltip as x } from "../../Tooltip/Tooltip.js";
7
+ import { mergeClasses as i } from "../../../utils/merge-classes.js";
8
8
  const k = ({
9
- title: x,
9
+ title: g,
10
10
  titleTooltip: h,
11
11
  description: S,
12
- data: i,
12
+ data: a,
13
13
  compareData: r,
14
14
  compareLabels: m,
15
15
  maxValue: p,
16
- colorMap: u,
16
+ colorMap: d,
17
17
  defaultExpanded: E = !0,
18
18
  nonCollapsible: G,
19
19
  isLoading: K,
@@ -25,7 +25,7 @@ const k = ({
25
25
  barDescriptions: C,
26
26
  className: T
27
27
  }) => {
28
- const W = Object.entries(i), q = c ? a("text-secondary", N) : N, j = m ? "dial-tiny-text text-secondary" : void 0, z = h ? /* @__PURE__ */ t(g, { tooltip: h, children: x }) : x, H = r ? [.../* @__PURE__ */ new Set([...Object.keys(i), ...Object.keys(r)])] : [], y = "cursor-pointer rounded-sm text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-primary", F = "group flex flex-col gap-1.5", I = a(
28
+ const W = Object.entries(a), q = c ? i("text-secondary", N) : N, j = m ? "dial-tiny-text text-secondary" : void 0, z = h ? /* @__PURE__ */ t(x, { tooltip: h, children: g }) : g, H = r ? [.../* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(r)])] : [], y = "cursor-pointer rounded-xs text-left focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-primary", F = "group flex flex-col gap-1.5", I = i(
29
29
  "flex flex-col gap-1.5 pl-2",
30
30
  o && "group-hover:bg-accent-primary-alpha group-focus-visible:bg-accent-primary-alpha",
31
31
  v
@@ -41,18 +41,18 @@ const k = ({
41
41
  children: /* @__PURE__ */ t(
42
42
  "div",
43
43
  {
44
- className: a(
44
+ className: i(
45
45
  "flex flex-col",
46
46
  r ? "gap-4" : c ? "gap-2" : "gap-3"
47
47
  ),
48
48
  children: K ? /* @__PURE__ */ t(U, { fullWidth: !1, className: "self-center" }) : r ? H.map((e) => {
49
- const l = e in i ? i[e] : null, n = e in r ? r[e] : null, s = typeof l == "number" && typeof n == "number" ? parseFloat((n - l).toFixed(3)) : null, L = s != null && s !== 0, A = L && s > 0, D = L ? A ? `+${s}` : String(s) : null, O = C?.[e], $ = /* @__PURE__ */ t("span", { className: "dial-small-text text-secondary", children: e }), w = /* @__PURE__ */ f(J, { children: [
49
+ const l = e in a ? a[e] : null, n = e in r ? r[e] : null, s = typeof l == "number" && typeof n == "number" ? parseFloat((n - l).toFixed(3)) : null, L = s != null && s !== 0, A = L && s > 0, D = L ? A ? `+${s}` : String(s) : null, O = C?.[e], $ = /* @__PURE__ */ t("span", { className: "dial-small-text text-secondary", children: e }), w = /* @__PURE__ */ f(J, { children: [
50
50
  /* @__PURE__ */ f("div", { className: "flex items-center gap-2", children: [
51
- O ? /* @__PURE__ */ t(g, { tooltip: O, children: $ }) : $,
51
+ O ? /* @__PURE__ */ t(x, { tooltip: O, children: $ }) : $,
52
52
  D != null && /* @__PURE__ */ t(
53
53
  "span",
54
54
  {
55
- className: a(
55
+ className: i(
56
56
  "dial-tiny-semi-text rounded-[120px] border border-transparent px-2",
57
57
  A ? "bg-success text-success" : "bg-error text-error"
58
58
  ),
@@ -67,7 +67,7 @@ const k = ({
67
67
  title: m?.[0],
68
68
  value: l,
69
69
  maxValue: p,
70
- colorMap: u,
70
+ colorMap: d,
71
71
  inline: c,
72
72
  titleClassName: j,
73
73
  ariaLabel: e
@@ -79,7 +79,7 @@ const k = ({
79
79
  title: m?.[1],
80
80
  value: n,
81
81
  maxValue: p,
82
- colorMap: u,
82
+ colorMap: d,
83
83
  inline: c,
84
84
  titleClassName: j,
85
85
  ariaLabel: `${e} compare`
@@ -92,7 +92,7 @@ const k = ({
92
92
  {
93
93
  type: "button",
94
94
  onClick: () => o(e, l),
95
- className: a(
95
+ className: i(
96
96
  F,
97
97
  y
98
98
  ),
@@ -107,13 +107,13 @@ const k = ({
107
107
  title: e,
108
108
  value: l,
109
109
  maxValue: p,
110
- colorMap: u,
110
+ colorMap: d,
111
111
  inline: c,
112
112
  titleClassName: q,
113
113
  valueClassName: P,
114
114
  className: v
115
115
  }
116
- ), d = o ? /* @__PURE__ */ t(
116
+ ), u = o ? /* @__PURE__ */ t(
117
117
  "button",
118
118
  {
119
119
  type: "button",
@@ -123,14 +123,14 @@ const k = ({
123
123
  }
124
124
  ) : n, s = C?.[e];
125
125
  return s ? /* @__PURE__ */ t(
126
- g,
126
+ x,
127
127
  {
128
128
  tooltip: s,
129
129
  triggerClassName: "flex flex-col",
130
- children: d
130
+ children: u
131
131
  },
132
132
  e
133
- ) : /* @__PURE__ */ t(Q, { children: d }, e);
133
+ ) : /* @__PURE__ */ t(Q, { children: u }, e);
134
134
  })
135
135
  }
136
136
  )
@@ -32,16 +32,16 @@ const u = 128, O = (s, i) => {
32
32
  const k = A(i, l), y = h ? A(h, l) : void 0, c = i.length, p = h?.length ?? 0, N = Math.max(c, p), b = B(N), m = S(N), v = (e) => e.map((r) => ({
33
33
  ...r,
34
34
  ratio: b > 0 ? r.count / b : 0
35
- })), f = v(k), $ = y ? v(y) : void 0, C = (e, r, a, g) => {
35
+ })), f = v(k), $ = y ? v(y) : void 0, C = (e, r, a, x) => {
36
36
  if (e.count === 0)
37
37
  return /* @__PURE__ */ t("div", { className: "flex h-full flex-1 items-end", "aria-hidden": "true", children: /* @__PURE__ */ t(
38
38
  "div",
39
39
  {
40
- className: "min-h-2 w-full rounded-sm",
40
+ className: "min-h-2 w-full rounded-xs",
41
41
  style: { height: `${e.ratio * 100}%` }
42
42
  }
43
43
  ) });
44
- const x = g ? {
44
+ const g = x ? {
45
45
  backgroundImage: `repeating-linear-gradient(135deg, ${e.color} 0px, ${e.color} 1px, transparent 1px, transparent 4px)`,
46
46
  borderColor: e.color
47
47
  } : { backgroundColor: e.color };
@@ -56,8 +56,8 @@ const u = 128, O = (s, i) => {
56
56
  {
57
57
  role: "img",
58
58
  "aria-label": a,
59
- className: "flex min-h-2 w-full items-center justify-center rounded-sm border border-transparent",
60
- style: { height: `${e.ratio * 100}%`, ...x },
59
+ className: "flex min-h-2 w-full items-center justify-center rounded-xs border border-transparent",
60
+ style: { height: `${e.ratio * 100}%`, ...g },
61
61
  children: d && /* @__PURE__ */ t("span", { className: "dial-tiny-semi-text text-primary", children: e.count })
62
62
  }
63
63
  )
@@ -111,7 +111,7 @@ const u = 128, O = (s, i) => {
111
111
  className: "relative flex items-end gap-1",
112
112
  style: { height: u },
113
113
  children: $ ? f.map((e, r) => {
114
- const a = $[r], g = `${e.count} out of ${c} ${o}`, x = `${a.count} out of ${p} ${o}`;
114
+ const a = $[r], x = `${e.count} out of ${c} ${o}`, g = `${a.count} out of ${p} ${o}`;
115
115
  return /* @__PURE__ */ n("div", { className: "flex h-full flex-1 items-end", children: [
116
116
  C(
117
117
  e,
@@ -122,7 +122,7 @@ const u = 128, O = (s, i) => {
122
122
  o,
123
123
  e
124
124
  ),
125
- g,
125
+ x,
126
126
  !0
127
127
  ),
128
128
  C(
@@ -134,7 +134,7 @@ const u = 128, O = (s, i) => {
134
134
  o,
135
135
  a
136
136
  ),
137
- x,
137
+ g,
138
138
  !1
139
139
  )
140
140
  ] }, r);
@@ -148,7 +148,7 @@ const u = 128, O = (s, i) => {
148
148
  children: /* @__PURE__ */ t(
149
149
  "div",
150
150
  {
151
- className: "min-h-2 w-full rounded-sm",
151
+ className: "min-h-2 w-full rounded-xs",
152
152
  style: { height: `${e.ratio * 100}%` }
153
153
  }
154
154
  )
@@ -166,7 +166,7 @@ const u = 128, O = (s, i) => {
166
166
  role: "img",
167
167
  "aria-label": a,
168
168
  className: H(
169
- "flex min-h-2 w-full items-center justify-center rounded-sm border",
169
+ "flex min-h-2 w-full items-center justify-center rounded-xs border",
170
170
  "border-transparent"
171
171
  ),
172
172
  style: {
@@ -1,15 +1,15 @@
1
- import { jsxs as h, jsx as n } from "react/jsx-runtime";
1
+ import { jsxs as h, jsx as i } from "react/jsx-runtime";
2
2
  import { IconMinus as y, IconCheck as N } from "@tabler/icons-react";
3
3
  import m from "classnames";
4
4
  import { useCallback as C } from "react";
5
5
  import { BASE_ICON_PROPS as l } from "../../constants/icon.js";
6
6
  import { DialEllipsisTooltip as k } from "../EllipsisTooltip/EllipsisTooltip.js";
7
7
  import { ariaDescription as g } from "./constants.js";
8
- const S = ({
8
+ const O = ({
9
9
  label: r,
10
10
  id: e,
11
11
  checked: o,
12
- indeterminate: i,
12
+ indeterminate: n,
13
13
  disabled: s,
14
14
  ariaLabel: f,
15
15
  onChange: t,
@@ -23,13 +23,13 @@ const S = ({
23
23
  [t, e]
24
24
  ), x = m(
25
25
  "flex flex-row items-center cursor-pointer text-accent-primary small-medium min-w-0",
26
- `${o || i ? "" : 'before:content-[""] before:inline-block before:w-[18px] before:h-[18px] before:border before:border-hover before:rounded'}`,
26
+ `${o || n ? "" : 'before:content-[""] before:inline-block before:size-[18px] before:border before:border-hover before:rounded'}`,
27
27
  s ? "pointer-events-none text-secondary before:border-icon-secondary before:bg-layer-4" : "",
28
28
  p
29
29
  ), c = m(
30
30
  "border rounded",
31
31
  s ? "bg-layer-4 border-icon-secondary" : ""
32
- ), d = () => i ? /* @__PURE__ */ n(y, { className: c, ...l }) : o ? /* @__PURE__ */ n(N, { className: c, ...l }) : null;
32
+ ), d = () => n ? /* @__PURE__ */ i(y, { className: c, ...l }) : o ? /* @__PURE__ */ i(N, { className: c, ...l }) : null;
33
33
  return /* @__PURE__ */ h(
34
34
  "label",
35
35
  {
@@ -39,8 +39,8 @@ const S = ({
39
39
  "aria-description": a["aria-description"] || g,
40
40
  children: [
41
41
  d(),
42
- r && (typeof r == "string" ? /* @__PURE__ */ n(k, { text: r, className: "ml-2 text-primary" }) : r),
43
- /* @__PURE__ */ n(
42
+ r && (typeof r == "string" ? /* @__PURE__ */ i(k, { text: r, className: "ml-2 text-primary" }) : r),
43
+ /* @__PURE__ */ i(
44
44
  "input",
45
45
  {
46
46
  type: "checkbox",
@@ -49,7 +49,7 @@ const S = ({
49
49
  onChange: b,
50
50
  id: e,
51
51
  checked: o,
52
- "aria-checked": i ? "mixed" : o,
52
+ "aria-checked": n ? "mixed" : o,
53
53
  "aria-disabled": s || void 0,
54
54
  "aria-label": r ? void 0 : f,
55
55
  className: "invisible size-0"
@@ -60,5 +60,5 @@ const S = ({
60
60
  );
61
61
  };
62
62
  export {
63
- S as DialCheckbox
63
+ O as DialCheckbox
64
64
  };
@@ -6,10 +6,10 @@ const i = o(
6
6
  "flex items-center gap-2 align-middle",
7
7
  "h-auto px-0 bg-transparent border-0"
8
8
  ), m = o(
9
- "z-floating overflow-auto rounded bg-layer-0 text-primary shadow focus-visible:outline-none"
9
+ "z-floating overflow-auto rounded bg-layer-0 text-primary shadow focus-visible:outline-hidden"
10
10
  ), l = o(
11
11
  "flex w-full cursor-pointer items-center gap-3",
12
- "focus-visible:border-none focus-visible:outline-none",
12
+ "focus-visible:border-none focus-visible:outline-hidden",
13
13
  "hover:bg-accent-primary-alpha px-3",
14
14
  "dial-small-text h-[34px] rounded text-primary",
15
15
  s.menuItem
@@ -13,8 +13,8 @@ const F = ({
13
13
  size: n = r.Standard,
14
14
  disabled: a = !1,
15
15
  className: u,
16
- buttonClassName: x,
17
- iconClassName: h,
16
+ buttonClassName: h,
17
+ iconClassName: x,
18
18
  caretIcon: y = /* @__PURE__ */ e(O, { size: _.SM }),
19
19
  showCaret: t = !0,
20
20
  placement: g = "bottom-start",
@@ -51,10 +51,10 @@ const F = ({
51
51
  className: o(
52
52
  "group flex items-center justify-center rounded border border-transparent bg-layer-4 text-primary",
53
53
  "enabled:hover:bg-accent-primary-alpha enabled:active:bg-controls-accent-primary-alpha-active",
54
- "focus-visible:border-focus focus-visible:outline-none disabled:cursor-not-allowed disabled:text-controls-secondary-disable disabled:opacity-75",
54
+ "focus-visible:border-focus focus-visible:outline-hidden disabled:cursor-not-allowed disabled:text-controls-secondary-disable disabled:opacity-75",
55
55
  i ? "h-8 px-2" : "h-10 px-2",
56
56
  t ? void 0 : w,
57
- x
57
+ h
58
58
  ),
59
59
  children: [
60
60
  /* @__PURE__ */ e(
@@ -65,7 +65,7 @@ const F = ({
65
65
  "flex items-center justify-center text-inherit",
66
66
  N[n],
67
67
  t && "-mr-2",
68
- h,
68
+ x,
69
69
  p.dropdownIcon
70
70
  )
71
71
  }
@@ -8,12 +8,12 @@ import { DialEllipsisTooltip as De } from "../EllipsisTooltip/EllipsisTooltip.js
8
8
  import { RADIO_BUTTON_COL_DEF as Ae, CHECKBOX_COL_DEF as Te } from "./renderers/constants.js";
9
9
  import { DialNoDataContent as Ge } from "../NoDataContent/NoDataContent.js";
10
10
  import { DialRadioButton as ve } from "../RadioButton/RadioButton.js";
11
- import { GridSelectionMode as x } from "../../models/selection-mode.js";
11
+ import { GridSelectionMode as z } from "../../models/selection-mode.js";
12
12
  import { DropdownTrigger as w } from "../../types/dropdown.js";
13
13
  import { IconZoomCancel as Oe } from "@tabler/icons-react";
14
- import { GRID_THEME_COLORS as z, SelectionEventSourceType as p, checkboxClass as I, ROW_HEIGHT as ee, gridBaseClassName as xe } from "./constants.js";
14
+ import { GRID_THEME_COLORS as x, SelectionEventSourceType as p, checkboxClass as I, ROW_HEIGHT as ee, gridBaseClassName as ze } from "./constants.js";
15
15
  import { ariaDescription as re } from "../Checkbox/constants.js";
16
- import { useIsMobileScreen as ze } from "../../hooks/use-is-mobile-screen.js";
16
+ import { useIsMobileScreen as xe } from "../../hooks/use-is-mobile-screen.js";
17
17
  import { useIsTabletScreen as _e } from "../../hooks/use-is-tablet-screen.js";
18
18
  import { debounceFn as ke } from "../../utils/debounce.js";
19
19
  import { registerAgGridModulesOnce as He } from "../../utils/grid-registration.js";
@@ -43,12 +43,12 @@ const or = ({
43
43
  selectionMode: d
44
44
  }) => {
45
45
  He();
46
- const [t, se] = ye(), ae = Ee(), g = ze(), b = _e(), A = Y(/* @__PURE__ */ new Set()), U = Y(
46
+ const [t, se] = ye(), ae = Ee(), g = xe(), b = _e(), A = Y(/* @__PURE__ */ new Set()), U = Y(
47
47
  void 0
48
48
  ), le = h(
49
49
  () => ({
50
- ...z,
51
- oddRowBackgroundColor: H ? z.oddRowBackgroundColor : z.backgroundColor,
50
+ ...x,
51
+ oddRowBackgroundColor: H ? x.oddRowBackgroundColor : x.backgroundColor,
52
52
  wrapperBorder: $
53
53
  }),
54
54
  [H, $]
@@ -122,12 +122,12 @@ const or = ({
122
122
  const e = "dial-row-select", r = "dial-row-select-visible";
123
123
  return g || b || n && n.size > 0 ? `${e} ${r}` : !n || n.size === 0 ? e : `${e} ${r}`;
124
124
  }, [g, b, n]), K = l(() => g || b ? S() : !n || n.size === 0 ? "dial-row-not-select-header" : S(), [S, g, b, n]), fe = h(() => {
125
- if (d === x.SINGLE)
125
+ if (d === z.SINGLE)
126
126
  return {
127
127
  ...Ae,
128
128
  cellRenderer: q
129
129
  };
130
- if (d === x.MULTIPLE)
130
+ if (d === z.MULTIPLE)
131
131
  return {
132
132
  ...Te,
133
133
  headerClass: () => K(),
@@ -165,7 +165,7 @@ const or = ({
165
165
  anchorToMouse: !0,
166
166
  matchReferenceWidth: !0,
167
167
  className: Q(
168
- "w-full h-full",
168
+ "size-full",
169
169
  Z && "!cursor-not-allowed opacity-75"
170
170
  ),
171
171
  disabled: Z && !N,
@@ -240,7 +240,7 @@ const or = ({
240
240
  ), Se = h(() => {
241
241
  if (d)
242
242
  return {
243
- mode: d === x.SINGLE ? "singleRow" : "multiRow",
243
+ mode: d === z.SINGLE ? "singleRow" : "multiRow",
244
244
  isRowSelectable: (e) => {
245
245
  const r = e.data ? i(e.data) : null;
246
246
  return r ? !c?.has(r) : !0;
@@ -281,7 +281,7 @@ const or = ({
281
281
  "div",
282
282
  {
283
283
  className: Q(
284
- xe,
284
+ ze,
285
285
  te,
286
286
  d && "with-selection-column",
287
287
  ie && "dial-without-header-borders"
@@ -1,13 +1,13 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { ButtonAppearance as u } from "../../types/button.js";
2
+ import { ButtonAppearance as f } from "../../types/button.js";
3
3
  import { getButtonClassNames as b } from "../Button/utils.js";
4
- import { DialTooltip as f } from "../Tooltip/Tooltip.js";
4
+ import { DialTooltip as d } from "../Tooltip/Tooltip.js";
5
5
  import { mergeClasses as p } from "../../utils/merge-classes.js";
6
6
  import { resolveAccessibleName as x } from "../../utils/accessible-name.js";
7
7
  import { ElementSize as a } from "../../types/size.js";
8
8
  const v = ({
9
9
  variant: t,
10
- appearance: n = u.Solid,
10
+ appearance: n = f.Solid,
11
11
  size: r = a.Standard,
12
12
  className: s,
13
13
  icon: m,
@@ -15,17 +15,17 @@ const v = ({
15
15
  type: c = "button",
16
16
  ...e
17
17
  }) => {
18
- const d = p(
18
+ const u = p(
19
19
  t && b(t, n),
20
20
  r === a.Small ? "h-[24px] w-[24px]" : "h-[40px] w-[40px] dial-kit-enhanced-target",
21
- "dial-icon-button disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-focus outline-offset-0 disabled:text-controls-secondary-disable",
21
+ "dial-icon-button disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-focus outline-offset-0",
22
22
  s
23
23
  ), l = /* @__PURE__ */ i(
24
24
  "button",
25
25
  {
26
26
  ...e,
27
27
  type: c,
28
- className: d,
28
+ className: u,
29
29
  "aria-label": x(
30
30
  e["aria-label"],
31
31
  o?.tooltip
@@ -33,7 +33,7 @@ const v = ({
33
33
  children: m
34
34
  }
35
35
  );
36
- return o ? /* @__PURE__ */ i(f, { ...o, children: l }) : l;
36
+ return o ? /* @__PURE__ */ i(d, { ...o, children: l }) : l;
37
37
  };
38
38
  export {
39
39
  v as DialIconButton