@epam/ai-dial-ui-kit 0.15.0-dev.27 → 0.15.0-dev.30

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 (35) hide show
  1. package/dist/CHANGELOG.md +2 -0
  2. package/dist/{DateCellRenderer-ZLb4GAUV.cjs → DateCellRenderer-BFEh4rXZ.cjs} +1 -1
  3. package/dist/DateCellRenderer-J1V3xwF7.cjs +1 -0
  4. package/dist/IconButton-DHOFapLo.cjs +1 -0
  5. package/dist/JsonEditor-BDe6elKO.cjs +1 -0
  6. package/dist/{MarkdownEditor-NYMcKLJy.cjs → MarkdownEditor-C7BONfsl.cjs} +1 -1
  7. package/dist/{MarkdownEditor-CPzMv3lE.cjs → MarkdownEditor-FVzYMdkC.cjs} +1 -1
  8. package/dist/MarkdownEditorContainer-GvlxX6kx.cjs +1 -0
  9. package/dist/{Switch-CfxMs3AZ.cjs → Switch-DE6MrcqJ.cjs} +1 -1
  10. package/dist/components/Button/constants.js +9 -8
  11. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +16 -18
  12. package/dist/components/New/Button/ButtonWrappers.js +93 -37
  13. package/dist/components/New/Button/constants.js +3 -0
  14. package/dist/components/New/InlineSelect/InlineSelect.js +81 -77
  15. package/dist/components-manifest.json +27 -2
  16. package/dist/dial-ui-kit.cjs +2 -2
  17. package/dist/dial-ui-kit.js +171 -170
  18. package/dist/editors.cjs +1 -1
  19. package/dist/file-manager.cjs +1 -1
  20. package/dist/grid.cjs +1 -1
  21. package/dist/index.css +2 -2
  22. package/dist/lazy-BEsZqouS.cjs +1 -0
  23. package/dist/src/components/New/Button/ButtonWrappers.d.ts +20 -0
  24. package/dist/src/components/New/InlineSelect/InlineSelect.d.ts +8 -1
  25. package/dist/src/index.d.ts +1 -1
  26. package/dist/src/types/button.d.ts +1 -0
  27. package/dist/types/button.js +3 -3
  28. package/dist/{use-file-manager-tabs-LWyTVrbO.cjs → use-file-manager-tabs-C0h1Sq5T.cjs} +1 -1
  29. package/package.json +3 -3
  30. package/dist/DateCellRenderer-BZ8vGglE.cjs +0 -1
  31. package/dist/IconButton-CVttu-k-.cjs +0 -1
  32. package/dist/JsonEditor-CpSpVa0v.cjs +0 -1
  33. package/dist/MarkdownEditorContainer-DSL5-_hG.cjs +0 -1
  34. package/dist/editor-Bc9xzKuR.cjs +0 -1
  35. package/dist/lazy-Cy9WobJf.cjs +0 -1
package/dist/CHANGELOG.md CHANGED
@@ -37,6 +37,8 @@ Versions match the git tags on the `development` branch.
37
37
 
38
38
  - **`InlineSelect` (2.0) — `triggerClassName`, `triggerLabelClassName` and `onOpenChange`** — the trigger could not be restyled: `InlineSelect` took no class for it, and a caller whose design puts the value in a bordered pill, themed by its own colour properties, had to keep a hand-rolled trigger beside the kit `Dropdown`. `triggerClassName` is merged onto the trigger button after its own classes, `triggerLabelClassName` onto its label (now a `<span>`, so a type-scale or colour class has something to land on), and `onOpenChange` reports the dropdown opening and closing, for a caller that reacts to it beyond what `aria-expanded` styles. All three are additive; nothing renders differently without them. Requested in [ai-dial-chat](https://github.com/epam/ai-dial-chat) for the share popover's access pill.
39
39
 
40
+ - **`InlineSelect` (2.0) — controlled `open`, and `listStyle`** — `onOpenChange` reported the dropdown opening, but the caller could not close it: a popover that owns Escape (closing its own menu first and itself only on a second press) had no way to shut the select without shutting itself. `open` makes the open state controlled, the same way `Dropdown`'s already is; without it the select keeps its own. `listStyle` is passed through to the `Dropdown` overlay, which renders in a portal, so custom properties a caller sets on its own wrapper can reach the rows, as they already can for `Dropdown`. Both are additive; nothing renders differently without them.
41
+
40
42
  ### Fixed
41
43
 
42
44
  - **`Button` and `IconButton` (2.0) — a disabled button's tooltip opens** — `tooltipProps` wraps the button in `<Tooltip asChild>`, but a natively `disabled` button receives no pointer or focus events, so its tooltip could never open. That is exactly the state where a "why is this unavailable" hint matters, and callers worked around it with their own `<span>` wrapper, which no keyboard user could reach either. A disabled button that has a visible tooltip is now marked `aria-disabled="true"` instead of `disabled`: it stays in the tab order and answers hover and focus, so the tooltip opens for mouse and keyboard users alike, and it is still announced as unavailable. Its click is swallowed with `preventDefault`, so neither `onClick` nor a `type="submit"` form submission fires. Without a tooltip, or while `hideTooltip` is set, the button stays natively disabled as before. The disabled look is unchanged, since every 2.0 variant already styles `[aria-disabled="true"]`; the two ghost icon-button rules that styled only `:disabled` now style both. Requested in [ai-dial-chat](https://github.com/epam/ai-dial-chat), where the chat-settings dialog explains why "Apply changes" is disabled.