@ids-group-ltd/ids-design-system 1.1.1 → 1.1.2

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 (61) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/agent/feedback/ds-empty-state.md +2 -1
  3. package/agent/feedback/ds-tree.md +3 -1
  4. package/agent/forms/ds-chat-input.md +3 -3
  5. package/agent/navigation/ds-splitter.md +1 -1
  6. package/components.md +9 -6
  7. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  8. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  9. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  10. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  11. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  12. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  13. package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs +48 -6
  14. package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs.map +1 -1
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +14 -7
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -2
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +9 -2
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +2 -2
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +47 -8
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  41. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +14 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  44. package/migrations/1.1.2.json +135 -0
  45. package/migrations/README.md +3 -1
  46. package/package.json +4 -1
  47. package/schematics/check-overrides/surface.json +10 -1
  48. package/stylelint/index.mjs +17 -3
  49. package/stylelint/known-tokens.mjs +139 -0
  50. package/stylelint/report.mjs +185 -0
  51. package/stylelint/tokens.mjs +160 -0
  52. package/stylelint/use-tokens.mjs +397 -0
  53. package/styles/_check-box.scss +2 -2
  54. package/styles/_tokens.scss +8 -0
  55. package/themes/_semantic.scss +9 -1
  56. package/themes/dark/_theme.scss +5 -1
  57. package/types/ids-group-ltd-ids-design-system-components-chat.d.ts +18 -2
  58. package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +7 -2
  59. package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +20 -2
  60. package/types/ids-group-ltd-ids-design-system-core.d.ts +19 -1
  61. package/types/ids-group-ltd-ids-design-system.d.ts +3 -3
@@ -187,7 +187,8 @@ declare const ICONS: {
187
187
  readonly scan: "<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />";
188
188
  readonly wifi: "<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />";
189
189
  readonly 'wifi-off': "<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />";
190
- /*! @license The six icons below, mouse-pointer to panel-right, are from Lucide (ISC).
190
+ readonly 'outline-blocks': "<g stroke-dasharray=\"3 2\"><rect x=\"3\" y=\"4\" width=\"18\" height=\"7\" rx=\"1.5\" /><rect x=\"3\" y=\"14\" width=\"7.5\" height=\"6\" rx=\"1.5\" /><rect x=\"13.5\" y=\"14\" width=\"7.5\" height=\"6\" rx=\"1.5\" /></g>";
191
+ /*! @license The twelve icons below, mouse-pointer to list-plus, are from Lucide (ISC).
191
192
  * Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT).
192
193
  * All other copyright (c) for Lucide are held by Lucide Contributors 2022.
193
194
  * Permission to use, copy, modify, and/or distribute this software for any purpose with or without
@@ -204,6 +205,12 @@ declare const ICONS: {
204
205
  readonly history: "<path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\" /><path d=\"M3 3v5h5\" /><path d=\"M12 7v5l4 2\" />";
205
206
  readonly flask: "<path d=\"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2\" /><path d=\"M8.5 2h7\" /><path d=\"M7 16h10\" />";
206
207
  readonly 'panel-right': "<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><path d=\"M15 3v18\" />";
208
+ readonly 'square-dashed': "<path d=\"M5 3a2 2 0 0 0-2 2\" /><path d=\"M19 3a2 2 0 0 1 2 2\" /><path d=\"M21 19a2 2 0 0 1-2 2\" /><path d=\"M5 21a2 2 0 0 1-2-2\" /><path d=\"M9 3h1\" /><path d=\"M9 21h1\" /><path d=\"M14 3h1\" /><path d=\"M14 21h1\" /><path d=\"M3 9v1\" /><path d=\"M21 9v1\" /><path d=\"M3 14v1\" /><path d=\"M21 14v1\" />";
209
+ readonly 'map-pin': "<path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\" /><circle cx=\"12\" cy=\"10\" r=\"3\" />";
210
+ readonly maximize: "<path d=\"M15 3h6v6\" /><path d=\"m21 3-7 7\" /><path d=\"m3 21 7-7\" /><path d=\"M9 21H3v-6\" />";
211
+ readonly minimize: "<path d=\"m14 10 7-7\" /><path d=\"M20 10h-6V4\" /><path d=\"m3 21 7-7\" /><path d=\"M4 14h6v6\" />";
212
+ readonly send: "<path d=\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z\" /><path d=\"m21.854 2.147-10.94 10.939\" />";
213
+ readonly 'list-plus': "<path d=\"M11 12H3\" /><path d=\"M16 6H3\" /><path d=\"M16 18H3\" /><path d=\"M18 9v6\" /><path d=\"M21 12h-6\" />";
207
214
  };
208
215
  /** Built-in DS icon names. Consumers extend the runtime set via `provideDsIcons({...})`; the
209
216
  * type widens to `string` so a custom name is accepted, without autocomplete. */
@@ -662,6 +669,10 @@ interface DsIntl {
662
669
  readonly send?: string;
663
670
  /** `'Stop'` - the default send button while `busy` and `stoppable`. */
664
671
  readonly stop?: string;
672
+ /** `'Queue'` - the default send button while `busy`, with `busyAction="queue"` and text typed. */
673
+ readonly queue?: string;
674
+ /** `'Redirect now'` - the button beside Queue that sends the text to the agent at once. */
675
+ readonly redirect?: string;
665
676
  };
666
677
  readonly spinner: {
667
678
  readonly label: string;
@@ -768,6 +779,12 @@ interface DsIntl {
768
779
  /** `` `Details: ${heading}` `` - the toggle of a step's `[details]` area; `'Details'` without a heading. */
769
780
  readonly stepDetails?: (heading: string) => string;
770
781
  };
782
+ readonly tree?: {
783
+ /** `` `Expand ${label}` `` - the caret button of a collapsed row under `toggleOn="caret"`. */
784
+ readonly expand?: (label: string) => string;
785
+ /** `` `Collapse ${label}` `` - the same button on an expanded row. */
786
+ readonly collapse?: (label: string) => string;
787
+ };
771
788
  readonly tabs: {
772
789
  readonly close: (label: string) => string;
773
790
  };
@@ -935,6 +952,7 @@ declare const DS_INTL_DEFAULTS: DsIntl & {
935
952
  readonly chatInput: Required<NonNullable<DsIntl['chatInput']>>;
936
953
  readonly attachment: Required<NonNullable<DsIntl['attachment']>>;
937
954
  readonly chat: Required<NonNullable<DsIntl['chat']>>;
955
+ readonly tree: Required<NonNullable<DsIntl['tree']>>;
938
956
  };
939
957
 
940
958
  /**
@@ -19,7 +19,7 @@ export { CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartAnnotation, ChartCategory
19
19
  export { ChartDataRow, ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
20
20
  export { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
21
21
  export { ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
22
- export { AttachmentComponent, AttachmentKind, ChatAttachmentComponent, ChatInputComponent, ChatInputLayout, ChatMessageComponent, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepComponent, ChatStepStatus, ChatStepsComponent, ChatStepsEnter, ChatThreadComponent } from '@ids-group-ltd/ids-design-system/components/chat';
22
+ export { AttachmentComponent, AttachmentKind, ChatAttachmentComponent, ChatInputBusyAction, ChatInputComponent, ChatInputLayout, ChatMessageComponent, ChatMessageRole, ChatMessageStatus, ChatMessageTone, ChatStepComponent, ChatStepStatus, ChatStepsComponent, ChatStepsEnter, ChatThreadComponent } from '@ids-group-ltd/ids-design-system/components/chat';
23
23
  export { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';
24
24
  export { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';
25
25
  export { ColumnChartComponent, ColumnChartPoint, ColumnChartSeries } from '@ids-group-ltd/ids-design-system/components/column-chart';
@@ -29,7 +29,7 @@ export { DescriptionItemComponent, DescriptionListComponent, DescriptionListOrie
29
29
  export { DividerComponent, DividerSpacing, DividerVariant } from '@ids-group-ltd/ids-design-system/components/divider';
30
30
  export { DrawerComponent, DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';
31
31
  export { DropzoneComponent, DropzoneFile, DropzoneFileState } from '@ids-group-ltd/ids-design-system/components/dropzone';
32
- export { EmptyStateComponent, EmptyStateTitleOverflow, EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';
32
+ export { EmptyStateAppearance, EmptyStateComponent, EmptyStateTitleOverflow, EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';
33
33
  export { DS_FIELD_GROUP, DsFieldGroupContext, FieldGroupComponent } from '@ids-group-ltd/ids-design-system/components/field-group';
34
34
  export { FilterBarComponent, FilterItemDirective } from '@ids-group-ltd/ids-design-system/components/filter-bar';
35
35
  export { FunnelChartComponent, FunnelChartDrop, FunnelChartShape, FunnelChartStage } from '@ids-group-ltd/ids-design-system/components/funnel-chart';
@@ -85,7 +85,7 @@ export { DS_TOAST_POSITION_DEFAULT, DsToastHorizontalPosition, DsToastPosition,
85
85
  export { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';
86
86
  export { DsTooltipConfig, TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';
87
87
  export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
88
- export { TreeComponent, TreeLabelContext, TreeLabelDirective, TreeNode, TreeSelection, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
88
+ export { TreeComponent, TreeLabelContext, TreeLabelDirective, TreeNode, TreeSelection, TreeToggleOn, TreeTrailingContext, TreeTrailingDirective } from '@ids-group-ltd/ids-design-system/components/tree';
89
89
  export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
90
90
  export { WaterfallChartBar, WaterfallChartComponent, WaterfallChartKind } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';
91
91
  export { AnnounceState, ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartRendering, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, DsConfig, DsControlWidth, DsIntl, DsIntlOverrides, DsIntlSortDirection, DsIntlStepState, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsTriggerDisplay, ICONS, IconName, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, provideDsConfig, provideDsIntl } from '@ids-group-ltd/ids-design-system/core';