@epam/ai-dial-ui-kit 0.13.0-dev.57 → 0.13.0-dev.60

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 (130) hide show
  1. package/README.md +5 -0
  2. package/dist/CHANGELOG.md +10 -0
  3. package/dist/{JsonEditor-BCvdqbcv.js → JsonEditor-B5vfpxzh.js} +1 -1
  4. package/dist/{JsonEditor-Yy3JFyR4.cjs → JsonEditor-CjemqUZ2.cjs} +1 -1
  5. package/dist/{MarkdownEditor-BUC6u9en.cjs → MarkdownEditor-BrUvRwsB.cjs} +1 -1
  6. package/dist/{MarkdownEditor-_RQIObYV.js → MarkdownEditor-DKG9YlGS.js} +1 -1
  7. package/dist/{MarkdownEditor-L5wQ88mr.js → MarkdownEditor-DWcVxbdX.js} +15 -15
  8. package/dist/{MarkdownEditor-DdvzJy9k.cjs → MarkdownEditor-xg-rmepY.cjs} +1 -1
  9. package/dist/components-manifest.json +562 -164
  10. package/dist/dial-ui-kit.cjs.js +1 -1
  11. package/dist/dial-ui-kit.es.js +106 -101
  12. package/dist/{index-DcwG5QhT.js → index-B4fgly61.js} +16215 -15620
  13. package/dist/{index-ARMvZo4h.cjs → index-CY5qji3j.cjs} +34 -34
  14. package/dist/index.css +2 -2
  15. package/dist/migration-guides/0.13.0/field-label-props-unification.md +94 -0
  16. package/dist/migration-guides/0.13.0/progress-bar-2-0-rewrite.md +103 -0
  17. package/dist/migration-guides/README.md +2 -0
  18. package/dist/src/components/Accordion/Accordion.d.ts +1 -0
  19. package/dist/src/components/Analytics/Bar/Bar.d.ts +1 -0
  20. package/dist/src/components/Analytics/BarGroup/BarGroup.d.ts +1 -0
  21. package/dist/src/components/Analytics/Card/Card.d.ts +1 -0
  22. package/dist/src/components/Analytics/ErrorTag/ErrorTag.d.ts +1 -0
  23. package/dist/src/components/Analytics/Histogram/Histogram.d.ts +1 -0
  24. package/dist/src/components/AutocompleteInput/AutocompleteInputValue.d.ts +1 -0
  25. package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +1 -0
  26. package/dist/src/components/Breadcrumb/BreadcrumbItem.d.ts +3 -0
  27. package/dist/src/components/Button/Button.d.ts +1 -0
  28. package/dist/src/components/Button/ButtonWrappers.d.ts +1 -0
  29. package/dist/src/components/ButtonDropdown/ButtonDropdown.d.ts +1 -0
  30. package/dist/src/components/CaptionText/CaptionText.d.ts +1 -0
  31. package/dist/src/components/Checkbox/Checkbox.d.ts +1 -0
  32. package/dist/src/components/CloseButton/CloseButton.d.ts +1 -0
  33. package/dist/src/components/CollapsibleSidebar/CollapsibleSidebar.d.ts +1 -0
  34. package/dist/src/components/ConfirmationPopup/ConfirmationPopup.d.ts +1 -0
  35. package/dist/src/components/DraggableItem/DraggableItem.d.ts +1 -0
  36. package/dist/src/components/DropdownIcon/DropdownIcon.d.ts +1 -0
  37. package/dist/src/components/EllipsisTooltip/EllipsisTooltip.d.ts +1 -0
  38. package/dist/src/components/FabButton/FabButton.d.ts +1 -0
  39. package/dist/src/components/FileIcon/FileIcon.d.ts +1 -0
  40. package/dist/src/components/FileManager/FileManager.d.ts +1 -0
  41. package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +1 -0
  42. package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +1 -0
  43. package/dist/src/components/FileName/FileName.d.ts +1 -0
  44. package/dist/src/components/FolderName/FolderName.d.ts +1 -0
  45. package/dist/src/components/FormItem/FormItem.d.ts +1 -0
  46. package/dist/src/components/FormPopup/FormPopup.d.ts +1 -0
  47. package/dist/src/components/Grid/Grid.d.ts +1 -0
  48. package/dist/src/components/Grid/renderers/DateCellRenderer.d.ts +1 -0
  49. package/dist/src/components/Icon/Icon.d.ts +1 -0
  50. package/dist/src/components/IconButton/IconButton.d.ts +1 -0
  51. package/dist/src/components/IconButton/IconButtonWrappers.d.ts +1 -0
  52. package/dist/src/components/Input/Input.d.ts +1 -0
  53. package/dist/src/components/InputPopup/InputPopup.d.ts +1 -0
  54. package/dist/src/components/JsonEditor/JsonEditor.d.ts +1 -0
  55. package/dist/src/components/Label/Label.d.ts +1 -0
  56. package/dist/src/components/LabelledText/LabelledText.d.ts +1 -0
  57. package/dist/src/components/LoadFileArea/LoadFileArea.d.ts +1 -0
  58. package/dist/src/components/LoadFileArea/LoadFileAreaField.d.ts +1 -0
  59. package/dist/src/components/Loader/Loader.d.ts +1 -0
  60. package/dist/src/components/MarkdownEditor/MarkdownEditor.d.ts +1 -0
  61. package/dist/src/components/New/Accordion/Accordion.d.ts +1 -0
  62. package/dist/src/components/New/Button/Button.d.ts +1 -0
  63. package/dist/src/components/New/Button/ButtonWrappers.d.ts +1 -0
  64. package/dist/src/components/New/ButtonDropdown/ButtonDropdown.d.ts +1 -0
  65. package/dist/src/components/New/Calendar/Calendar.d.ts +5 -2
  66. package/dist/src/components/New/CaptionText/CaptionText.d.ts +1 -0
  67. package/dist/src/components/New/CardShell/CardShell.d.ts +1 -0
  68. package/dist/src/components/New/CloseButton/CloseButton.d.ts +1 -0
  69. package/dist/src/components/New/ConfirmationPopup/ConfirmationPopup.d.ts +1 -0
  70. package/dist/src/components/New/Dropdown/Dropdown.d.ts +1 -0
  71. package/dist/src/components/New/FileDropzone/FileDropzone.d.ts +81 -0
  72. package/dist/src/components/New/FolderPath/FolderPath.d.ts +1 -0
  73. package/dist/src/components/New/Highlight/Highlight.d.ts +4 -1
  74. package/dist/src/components/New/IconButton/IconButton.d.ts +1 -0
  75. package/dist/src/components/New/IconButton/IconButtonWrappers.d.ts +1 -0
  76. package/dist/src/components/New/InfoButton/InfoButton.d.ts +1 -0
  77. package/dist/src/components/New/InlineSelect/InlineSelect.d.ts +1 -0
  78. package/dist/src/components/New/Input/Input.d.ts +7 -0
  79. package/dist/src/components/New/Label/Label.d.ts +1 -0
  80. package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +1 -0
  81. package/dist/src/components/New/MarkdownEditor/constants.d.ts +6 -1
  82. package/dist/src/components/New/Notification/Notification.d.ts +1 -0
  83. package/dist/src/components/New/NumberInput/NumberInput.d.ts +1 -0
  84. package/dist/src/components/New/PasswordInput/PasswordInput.d.ts +1 -0
  85. package/dist/src/components/New/Popup/Popup.d.ts +2 -1
  86. package/dist/src/components/New/Select/MultiSelectTags.d.ts +1 -0
  87. package/dist/src/components/New/Select/Select.d.ts +1 -0
  88. package/dist/src/components/New/Switch/Switch.d.ts +38 -0
  89. package/dist/src/components/New/Tabs/Tabs.d.ts +59 -0
  90. package/dist/src/components/New/Tag/Tag.d.ts +45 -0
  91. package/dist/src/components/New/TagInput/TagInput.d.ts +72 -0
  92. package/dist/src/components/New/TagInput/utils.d.ts +21 -0
  93. package/dist/src/components/New/TagInput/utils.spec.d.ts +1 -0
  94. package/dist/src/components/New/Textarea/Textarea.d.ts +1 -0
  95. package/dist/src/components/NoDataContent/NoDataContent.d.ts +1 -0
  96. package/dist/src/components/Notification/Notification.d.ts +1 -0
  97. package/dist/src/components/NumberInput/NumberInput.d.ts +1 -0
  98. package/dist/src/components/Pagination/Pagination.d.ts +3 -0
  99. package/dist/src/components/PasswordInput/PasswordInput.d.ts +1 -0
  100. package/dist/src/components/Popup/Popup.d.ts +2 -1
  101. package/dist/src/components/ProgressBar/ProgressBar.d.ts +51 -10
  102. package/dist/src/components/RadioButton/RadioButton.d.ts +1 -0
  103. package/dist/src/components/RadioGroup/RadioGroup.d.ts +1 -0
  104. package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +1 -0
  105. package/dist/src/components/RemoveButton/RemoveButton.d.ts +1 -0
  106. package/dist/src/components/ResizableContainer/ConditionalResizableContainer.d.ts +1 -0
  107. package/dist/src/components/ResizableContainer/ResizableContainer.d.ts +1 -0
  108. package/dist/src/components/SchemaRenderer/SchemaRenderer.d.ts +1 -0
  109. package/dist/src/components/Search/Search.d.ts +1 -0
  110. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -0
  111. package/dist/src/components/Select/Select.d.ts +1 -0
  112. package/dist/src/components/SelectField/SelectField.d.ts +1 -0
  113. package/dist/src/components/SharedEntityIndicator/SharedEntityIndicator.d.ts +1 -0
  114. package/dist/src/components/Skeleton/Skeleton.d.ts +1 -0
  115. package/dist/src/components/Slider/Slider.d.ts +1 -0
  116. package/dist/src/components/Spinner/Spinner.d.ts +3 -0
  117. package/dist/src/components/Steps/Steps.d.ts +1 -0
  118. package/dist/src/components/Switch/Switch.d.ts +1 -0
  119. package/dist/src/components/Tabs/Tabs.d.ts +1 -0
  120. package/dist/src/components/Tag/Tag.d.ts +1 -0
  121. package/dist/src/components/TagInput/TagInput.d.ts +1 -0
  122. package/dist/src/components/Textarea/Textarea.d.ts +1 -0
  123. package/dist/src/components/Tooltip/Tooltip.d.ts +1 -0
  124. package/dist/src/components/Tooltip/TooltipContainer.d.ts +1 -0
  125. package/dist/src/components/Tooltip/TooltipContent.d.ts +1 -0
  126. package/dist/src/components/Tooltip/TooltipTrigger.d.ts +1 -0
  127. package/dist/src/index.d.ts +13 -2
  128. package/dist/src/utils/__tests__/file-accept.spec.d.ts +1 -0
  129. package/dist/src/utils/file-accept.d.ts +16 -0
  130. package/package.json +1 -1
@@ -5,6 +5,7 @@ interface Props {
5
5
  }
6
6
  /**
7
7
  * The container component that provides tooltip context and state management
8
+ * Design system 1.0
8
9
  *
9
10
  *
10
11
  * @param children - The tooltip trigger and content components
@@ -4,6 +4,7 @@ export interface Props extends HTMLProps<HTMLDivElement> {
4
4
  }
5
5
  /**
6
6
  * The content area of a tooltip that displays the tooltip information
7
+ * Design system 1.0
7
8
  *
8
9
  * @param children - The content to display inside the tooltip
9
10
  * @param [style] - Additional inline styles for the tooltip content
@@ -4,6 +4,7 @@ interface TooltipTriggerProps extends HTMLProps<HTMLElement> {
4
4
  }
5
5
  /**
6
6
  * The trigger element for a tooltip that can be clicked or hovered
7
+ * Design system 1.0
7
8
  *
8
9
  * @param children - The element that will trigger the tooltip
9
10
  * @param [asChild=false] - Whether to render as a child element instead of wrapping in a span
@@ -21,8 +21,8 @@ export type { DialNotificationProps } from './components/Notification/Notificati
21
21
  export { DialLoader } from './components/Loader/Loader';
22
22
  export { Spinner } from './components/Spinner/Spinner';
23
23
  export type { SpinnerProps } from './components/Spinner/Spinner';
24
- export { DialProgressBar, DialProgressBarSize, } from './components/ProgressBar/ProgressBar';
25
- export type { DialProgressBarProps } from './components/ProgressBar/ProgressBar';
24
+ export { ProgressBar } from './components/ProgressBar/ProgressBar';
25
+ export type { ProgressBarProps } from './components/ProgressBar/ProgressBar';
26
26
  export { DialPagination } from './components/Pagination/Pagination';
27
27
  export type { DialPaginationProps } from './components/Pagination/Pagination';
28
28
  export { DialCheckbox } from './components/Checkbox/Checkbox';
@@ -198,3 +198,14 @@ export type { CaptionTextProps } from './components/New/CaptionText/CaptionText'
198
198
  export { CaptionText, ErrorText, } from './components/New/CaptionText/CaptionText';
199
199
  export { Accordion } from './components/New/Accordion/Accordion';
200
200
  export type { AccordionProps } from './components/New/Accordion/Accordion';
201
+ export { Switch } from './components/New/Switch/Switch';
202
+ export type { SwitchProps } from './components/New/Switch/Switch';
203
+ export { Tabs } from './components/New/Tabs/Tabs';
204
+ export type { TabsProps, TabItem } from './components/New/Tabs/Tabs';
205
+ export { FileDropzone } from './components/New/FileDropzone/FileDropzone';
206
+ export type { FileDropzoneProps } from './components/New/FileDropzone/FileDropzone';
207
+ export { Tag } from './components/New/Tag/Tag';
208
+ export type { TagProps } from './components/New/Tag/Tag';
209
+ export { TagInput } from './components/New/TagInput/TagInput';
210
+ export type { TagInputProps } from './components/New/TagInput/TagInput';
211
+ export { matchesAccept } from './utils/file-accept';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Tests a file against the value of a native `accept` attribute.
3
+ *
4
+ * The file picker filters by `accept` on its own, but a drop does not: dropping
5
+ * a `.png` onto an input that accepts `.md` hands the file over regardless. Any
6
+ * drop target therefore has to re-check what it received.
7
+ *
8
+ * Supports all three `accept` token forms — an extension (`.md`), a full MIME
9
+ * type (`text/markdown`) and a MIME wildcard (`image/*`). An empty or missing
10
+ * `accept` accepts everything, matching the attribute's own semantics.
11
+ *
12
+ * @param file - The file to test
13
+ * @param accept - Comma-separated `accept` tokens, e.g. `'.md,.zip,image/*'`
14
+ * @returns `true` when the file matches at least one token
15
+ */
16
+ export declare const matchesAccept: (file: File, accept?: string) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.13.0-dev.57",
3
+ "version": "0.13.0-dev.60",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",