@epam/ai-dial-ui-kit 0.16.0-dev.47 → 0.16.0-dev.49

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 (43) hide show
  1. package/README.md +2 -0
  2. package/dist/CHANGELOG.md +3 -0
  3. package/dist/{DateCellRenderer-uqWWm9rI.cjs → DateCellRenderer-C3KzulHA.cjs} +2 -2
  4. package/dist/components/New/Analytics/Bar/Bar.js +7 -7
  5. package/dist/components/New/Analytics/BarGroup/BarGroup.js +4 -4
  6. package/dist/components/New/Analytics/Histogram/Histogram.js +12 -12
  7. package/dist/components/New/LabelledText/LabelledText.js +43 -0
  8. package/dist/components/New/Steps/Steps.js +84 -0
  9. package/dist/components-manifest.json +227 -551
  10. package/dist/constants/public-class-names.js +4 -0
  11. package/dist/dial-ui-kit.cjs +3 -3
  12. package/dist/dial-ui-kit.js +374 -382
  13. package/dist/grid.cjs +1 -1
  14. package/dist/index.css +1 -1
  15. package/dist/migration-guides/0.16.0/legacy-analytics-and-steps-removal.md +54 -0
  16. package/dist/migration-guides/README.md +1 -0
  17. package/dist/src/components/{Analytics → New/Analytics}/Bar/utils.d.ts +1 -1
  18. package/dist/src/components/{Analytics → New/Analytics}/Histogram/utils.d.ts +1 -1
  19. package/dist/src/components/New/Analytics/index.d.ts +11 -0
  20. package/dist/src/components/New/LabelledText/LabelledText.d.ts +48 -0
  21. package/dist/src/components/New/Steps/Steps.d.ts +55 -0
  22. package/dist/src/constants/public-class-names.d.ts +4 -0
  23. package/dist/src/index.d.ts +7 -14
  24. package/package.json +1 -1
  25. package/dist/components/Analytics/Bar/Bar.js +0 -80
  26. package/dist/components/Analytics/BarGroup/BarGroup.js +0 -142
  27. package/dist/components/Analytics/Card/Card.js +0 -87
  28. package/dist/components/Analytics/ErrorTag/ErrorTag.js +0 -19
  29. package/dist/components/Analytics/Histogram/Histogram.js +0 -200
  30. package/dist/components/Steps/Step.js +0 -34
  31. package/dist/components/Steps/Steps.js +0 -27
  32. package/dist/components/Steps/utils.js +0 -42
  33. package/dist/src/components/Analytics/Bar/Bar.d.ts +0 -86
  34. package/dist/src/components/Analytics/BarGroup/BarGroup.d.ts +0 -103
  35. package/dist/src/components/Analytics/Card/Card.d.ts +0 -91
  36. package/dist/src/components/Analytics/ErrorTag/ErrorTag.d.ts +0 -22
  37. package/dist/src/components/Analytics/Histogram/Histogram.d.ts +0 -59
  38. package/dist/src/components/Analytics/index.d.ts +0 -13
  39. package/dist/src/components/Steps/Step.d.ts +0 -9
  40. package/dist/src/components/Steps/Steps.d.ts +0 -26
  41. package/dist/src/components/Steps/utils.d.ts +0 -3
  42. /package/dist/components/{Analytics → New/Analytics}/Bar/utils.js +0 -0
  43. /package/dist/components/{Analytics → New/Analytics}/Histogram/utils.js +0 -0
package/README.md CHANGED
@@ -281,11 +281,13 @@ breaking change and goes through the migration-guide process.
281
281
  | `captionText` | `dial-kit-caption-text` | The caption line under a field |
282
282
  | `errorText` | `dial-kit-error-text` | A caption in its error variant, additive to `captionText` |
283
283
  | `label` | `dial-kit-label` | The `Label` root, wrapping its `label` element and its info button |
284
+ | `labelledText` | `dial-kit-labelled-text` | The root of a `LabelledText`, wrapping its caption and value |
284
285
 
285
286
  #### Containers
286
287
 
287
288
  | Key | Class | Element |
288
289
  | -------------------- | --------------------------------- | -------------------------------------------------------------------- |
290
+ | `steps` | `dial-kit-steps` | The `ol` root of a `Steps` |
289
291
  | `cardShell` | `dial-kit-card-shell` | The `article` element of a `CardShell` |
290
292
  | `analyticsCard` | `dial-kit-analytics-card` | The root of an `AnalyticsCard` |
291
293
  | `analyticsBar` | `dial-kit-analytics-bar` | The root of an `AnalyticsBar`, stacked or inline |
package/dist/CHANGELOG.md CHANGED
@@ -26,6 +26,9 @@ Versions match the git tags on the `development` branch.
26
26
  - **`CaptionText`, `ErrorText` (2.0) — no `role="alert"`** — every caption, including a plain field description, was an assertive live region, so a screen reader interrupted the user with helper text and every validation error, and a host that wrapped `ErrorText` in its own alert region announced the message twice. They are now plain text that a control points at: `Input`, `Textarea`, `Select` and the `SchemaRenderer` fields link their own `error` / `caption` through `aria-describedby` and set `aria-invalid` on an error, as `Slider`, `RadioGroup`, `RadioGroupPopupField` and `FileDropzone` already did. A host that renders `ErrorText` next to its own control links it the same way; a message that must interrupt, such as a failed submit, goes in a `role="alert"` region of the host's. Tests that found these messages with `getByRole('alert')` need another query. The legacy `DialCaptionText` / `DialErrorText` are unchanged. Reported from `ai-dial-chat`.
27
27
  See [migration guide](migration-guides/0.16.0/caption-text-no-alert-role.md).
28
28
 
29
+ - **`DialAnalyticsCard`, `DialAnalyticsBar`, `DialAnalyticsBarGroup`, `DialAnalyticsErrorTag`, `DialAnalyticsHistogram`, `DialSteps` — removed from the kit** — the legacy analytics set, its `AnalyticsCardVariant` enum, `DEFAULT_ANALYTICS_BAR_COLOR_MAP`, the `AnalyticsBarColorStop` / `AnalyticsCardCompareItem` types and the 1.0 `DialSteps` are gone. All of them already have 2.0 versions: `AnalyticsCard`, `AnalyticsBar`, `AnalyticsBarGroup` and `AnalyticsHistogram` (#978) and `Steps`; `DialAnalyticsErrorTag` is replaced by a red filled `Badge`. `Step` and `StepStatus` stay.
30
+ See [migration guide](migration-guides/0.16.0/legacy-analytics-and-steps-removal.md).
31
+
29
32
  ### Added
30
33
 
31
34
  - **`Grid` (2.0) — `appearance` (`GridAppearance.Default` / `Chat`)** — `GridAppearance.Chat` draws the design's "Chat table": a borderless card with a 12px corner and the MD shadow, 12px of padding on both sides of every header and row cell, a full-width 1px line under the header, dividers between data rows that stop at the cell padding on both sides and sit on the 0.5px `stroke-tertiary` stroke, and hover and selected rows with a 12px corner and no divider. It ignores `wrapperBorder`. The root carries `dial-kit-grid-chat`. ai-dial-chat's usage and catalog tables wrapped the grid in their own card and could not inset the dividers or round the rows without restyling ag-Grid's markup. Additive.