@epam/ai-dial-ui-kit 0.16.0-dev.48 → 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.
- package/README.md +1 -0
- package/dist/CHANGELOG.md +3 -0
- package/dist/{DateCellRenderer-B2BORgHD.cjs → DateCellRenderer-C3KzulHA.cjs} +2 -2
- package/dist/components/New/Analytics/Bar/Bar.js +7 -7
- package/dist/components/New/Analytics/BarGroup/BarGroup.js +4 -4
- package/dist/components/New/Analytics/Histogram/Histogram.js +12 -12
- package/dist/components/New/Steps/Steps.js +84 -0
- package/dist/components-manifest.json +245 -618
- package/dist/constants/public-class-names.js +2 -0
- package/dist/dial-ui-kit.cjs +3 -3
- package/dist/dial-ui-kit.js +370 -380
- package/dist/grid.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/migration-guides/0.16.0/legacy-analytics-and-steps-removal.md +54 -0
- package/dist/migration-guides/README.md +1 -0
- package/dist/src/components/{Analytics → New/Analytics}/Bar/utils.d.ts +1 -1
- package/dist/src/components/{Analytics → New/Analytics}/Histogram/utils.d.ts +1 -1
- package/dist/src/components/New/Analytics/index.d.ts +11 -0
- package/dist/src/components/New/Steps/Steps.d.ts +55 -0
- package/dist/src/constants/public-class-names.d.ts +2 -0
- package/dist/src/index.d.ts +5 -14
- package/package.json +1 -1
- package/dist/components/Analytics/Bar/Bar.js +0 -80
- package/dist/components/Analytics/BarGroup/BarGroup.js +0 -142
- package/dist/components/Analytics/Card/Card.js +0 -87
- package/dist/components/Analytics/ErrorTag/ErrorTag.js +0 -19
- package/dist/components/Analytics/Histogram/Histogram.js +0 -200
- package/dist/components/Steps/Step.js +0 -34
- package/dist/components/Steps/Steps.js +0 -27
- package/dist/components/Steps/utils.js +0 -42
- package/dist/src/components/Analytics/Bar/Bar.d.ts +0 -86
- package/dist/src/components/Analytics/BarGroup/BarGroup.d.ts +0 -103
- package/dist/src/components/Analytics/Card/Card.d.ts +0 -91
- package/dist/src/components/Analytics/ErrorTag/ErrorTag.d.ts +0 -22
- package/dist/src/components/Analytics/Histogram/Histogram.d.ts +0 -59
- package/dist/src/components/Analytics/index.d.ts +0 -13
- package/dist/src/components/Steps/Step.d.ts +0 -9
- package/dist/src/components/Steps/Steps.d.ts +0 -26
- package/dist/src/components/Steps/utils.d.ts +0 -3
- /package/dist/components/{Analytics → New/Analytics}/Bar/utils.js +0 -0
- /package/dist/components/{Analytics → New/Analytics}/Histogram/utils.js +0 -0
package/README.md
CHANGED
|
@@ -287,6 +287,7 @@ breaking change and goes through the migration-guide process.
|
|
|
287
287
|
|
|
288
288
|
| Key | Class | Element |
|
|
289
289
|
| -------------------- | --------------------------------- | -------------------------------------------------------------------- |
|
|
290
|
+
| `steps` | `dial-kit-steps` | The `ol` root of a `Steps` |
|
|
290
291
|
| `cardShell` | `dial-kit-card-shell` | The `article` element of a `CardShell` |
|
|
291
292
|
| `analyticsCard` | `dial-kit-analytics-card` | The root of an `AnalyticsCard` |
|
|
292
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.
|