@carbon/ibm-products-web-components 0.27.0 → 0.28.0-rc.0

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 (102) hide show
  1. package/README.md +85 -0
  2. package/custom-elements.json +128 -10
  3. package/es/components/about-modal/about-modal.d.ts +28 -16
  4. package/es/components/about-modal/about-modal.figma.d.ts +7 -0
  5. package/es/components/about-modal/about-modal.figma.js +52 -0
  6. package/es/components/about-modal/about-modal.figma.js.map +1 -0
  7. package/es/components/about-modal/about-modal.scss.js +1 -1
  8. package/es/components/checklist/checklist.scss.js +1 -1
  9. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +27 -11
  10. package/es/components/full-page-error/full-page-error.figma.d.ts +1 -0
  11. package/es/components/full-page-error/full-page-error.figma.js +69 -0
  12. package/es/components/full-page-error/full-page-error.figma.js.map +1 -0
  13. package/es/components/interstitial-screen/interstitial-screen-body-item.d.ts +27 -11
  14. package/es/components/interstitial-screen/interstitial-screen-body.d.ts +27 -11
  15. package/es/components/interstitial-screen/interstitial-screen-footer.d.ts +27 -11
  16. package/es/components/interstitial-screen/interstitial-screen-header.d.ts +27 -11
  17. package/es/components/interstitial-screen/interstitial-screen.d.ts +27 -11
  18. package/es/components/notification-panel/notification-footer.d.ts +27 -11
  19. package/es/components/notification-panel/notification-panel.d.ts +27 -11
  20. package/es/components/notification-panel/notification.d.ts +27 -11
  21. package/es/components/notification-panel/notification.scss.js +1 -1
  22. package/es/components/options-tile/options-tile.d.ts +27 -11
  23. package/es/components/page-header/_story-assets/2x1.jpg.js +11 -0
  24. package/es/components/page-header/_story-assets/2x1.jpg.js.map +1 -0
  25. package/es/components/page-header/_story-assets/3x2.jpg.js +11 -0
  26. package/es/components/page-header/_story-assets/3x2.jpg.js.map +1 -0
  27. package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
  28. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
  29. package/es/components/page-header/page-header.scss.js +1 -1
  30. package/es/components/page-header/page-header.test.js +57 -69
  31. package/es/components/page-header/page-header.test.js.map +1 -1
  32. package/es/components/side-panel/side-panel.d.ts +27 -11
  33. package/es/components/side-panel/side-panel.scss.js +1 -1
  34. package/es/components/tearsheet/tearsheet.d.ts +27 -11
  35. package/es/components/tearsheet/tearsheet.scss.js +1 -1
  36. package/es/components/user-avatar/user-avatar.d.ts +27 -11
  37. package/es/components/user-avatar/user-avatar.figma.d.ts +7 -0
  38. package/es/components/user-avatar/user-avatar.figma.js +136 -0
  39. package/es/components/user-avatar/user-avatar.figma.js.map +1 -0
  40. package/es/node_modules/@carbon/layout/es/index.js +44 -0
  41. package/es/node_modules/@carbon/layout/es/index.js.map +1 -0
  42. package/es/packages/ibm-products-web-components/package.json.js +1 -1
  43. package/es-custom/components/about-modal/about-modal.d.ts +28 -16
  44. package/es-custom/components/about-modal/about-modal.figma.d.ts +7 -0
  45. package/es-custom/components/about-modal/about-modal.figma.js +52 -0
  46. package/es-custom/components/about-modal/about-modal.figma.js.map +1 -0
  47. package/es-custom/components/about-modal/about-modal.scss.js +1 -1
  48. package/es-custom/components/checklist/checklist.scss.js +1 -1
  49. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +27 -11
  50. package/es-custom/components/full-page-error/full-page-error.figma.d.ts +1 -0
  51. package/es-custom/components/full-page-error/full-page-error.figma.js +69 -0
  52. package/es-custom/components/full-page-error/full-page-error.figma.js.map +1 -0
  53. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.d.ts +27 -11
  54. package/es-custom/components/interstitial-screen/interstitial-screen-body.d.ts +27 -11
  55. package/es-custom/components/interstitial-screen/interstitial-screen-footer.d.ts +27 -11
  56. package/es-custom/components/interstitial-screen/interstitial-screen-header.d.ts +27 -11
  57. package/es-custom/components/interstitial-screen/interstitial-screen.d.ts +27 -11
  58. package/es-custom/components/notification-panel/notification-footer.d.ts +27 -11
  59. package/es-custom/components/notification-panel/notification-panel.d.ts +27 -11
  60. package/es-custom/components/notification-panel/notification.d.ts +27 -11
  61. package/es-custom/components/notification-panel/notification.scss.js +1 -1
  62. package/es-custom/components/options-tile/options-tile.d.ts +27 -11
  63. package/es-custom/components/page-header/_story-assets/2x1.jpg.js +11 -0
  64. package/es-custom/components/page-header/_story-assets/2x1.jpg.js.map +1 -0
  65. package/es-custom/components/page-header/_story-assets/3x2.jpg.js +11 -0
  66. package/es-custom/components/page-header/_story-assets/3x2.jpg.js.map +1 -0
  67. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
  68. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
  69. package/es-custom/components/page-header/page-header.scss.js +1 -1
  70. package/es-custom/components/page-header/page-header.test.js +57 -69
  71. package/es-custom/components/page-header/page-header.test.js.map +1 -1
  72. package/es-custom/components/side-panel/side-panel.d.ts +27 -11
  73. package/es-custom/components/side-panel/side-panel.scss.js +1 -1
  74. package/es-custom/components/tearsheet/tearsheet.d.ts +27 -11
  75. package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
  76. package/es-custom/components/user-avatar/user-avatar.d.ts +27 -11
  77. package/es-custom/components/user-avatar/user-avatar.figma.d.ts +7 -0
  78. package/es-custom/components/user-avatar/user-avatar.figma.js +136 -0
  79. package/es-custom/components/user-avatar/user-avatar.figma.js.map +1 -0
  80. package/es-custom/node_modules/@carbon/layout/es/index.js +44 -0
  81. package/es-custom/node_modules/@carbon/layout/es/index.js.map +1 -0
  82. package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
  83. package/lib/components/about-modal/about-modal.d.ts +28 -16
  84. package/lib/components/about-modal/about-modal.figma.d.ts +7 -0
  85. package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +27 -11
  86. package/lib/components/full-page-error/full-page-error.figma.d.ts +1 -0
  87. package/lib/components/interstitial-screen/interstitial-screen-body-item.d.ts +27 -11
  88. package/lib/components/interstitial-screen/interstitial-screen-body.d.ts +27 -11
  89. package/lib/components/interstitial-screen/interstitial-screen-footer.d.ts +27 -11
  90. package/lib/components/interstitial-screen/interstitial-screen-header.d.ts +27 -11
  91. package/lib/components/interstitial-screen/interstitial-screen.d.ts +27 -11
  92. package/lib/components/notification-panel/notification-footer.d.ts +27 -11
  93. package/lib/components/notification-panel/notification-panel.d.ts +27 -11
  94. package/lib/components/notification-panel/notification.d.ts +27 -11
  95. package/lib/components/options-tile/options-tile.d.ts +27 -11
  96. package/lib/components/side-panel/side-panel.d.ts +27 -11
  97. package/lib/components/tearsheet/tearsheet.d.ts +27 -11
  98. package/lib/components/user-avatar/user-avatar.d.ts +27 -11
  99. package/lib/components/user-avatar/user-avatar.figma.d.ts +7 -0
  100. package/package.json +14 -12
  101. package/scss/components/page-header/_story-assets/set-of-tags/set-of-tags.scss +2 -0
  102. package/scss/components/truncated-text/truncated-text.scss +0 -1
@@ -16,6 +16,7 @@ declare const CDSUseravatar_base: {
16
16
  accessKey: string;
17
17
  readonly accessKeyLabel: string;
18
18
  autocapitalize: string;
19
+ autocorrect: boolean;
19
20
  dir: string;
20
21
  draggable: boolean;
21
22
  hidden: boolean;
@@ -37,13 +38,14 @@ declare const CDSUseravatar_base: {
37
38
  click(): void;
38
39
  hidePopover(): void;
39
40
  showPopover(): void;
40
- togglePopover(force?: boolean): boolean;
41
+ togglePopover(options?: boolean): boolean;
41
42
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
42
43
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
43
44
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
44
45
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
45
46
  readonly attributes: NamedNodeMap;
46
- readonly classList: DOMTokenList;
47
+ get classList(): DOMTokenList;
48
+ set classList(value: string): any;
47
49
  className: string;
48
50
  readonly clientHeight: number;
49
51
  readonly clientLeft: number;
@@ -58,7 +60,8 @@ declare const CDSUseravatar_base: {
58
60
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
59
61
  outerHTML: string;
60
62
  readonly ownerDocument: Document;
61
- readonly part: DOMTokenList;
63
+ get part(): DOMTokenList;
64
+ set part(value: string): any;
62
65
  readonly prefix: string | null;
63
66
  readonly scrollHeight: number;
64
67
  scrollLeft: number;
@@ -121,6 +124,8 @@ declare const CDSUseravatar_base: {
121
124
  setPointerCapture(pointerId: number): void;
122
125
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
123
126
  webkitMatchesSelector(selectors: string): boolean;
127
+ get textContent(): string;
128
+ set textContent(value: string | null): any;
124
129
  readonly baseURI: string;
125
130
  readonly childNodes: NodeListOf<ChildNode>;
126
131
  readonly firstChild: ChildNode | null;
@@ -133,9 +138,8 @@ declare const CDSUseravatar_base: {
133
138
  readonly parentElement: HTMLElement | null;
134
139
  readonly parentNode: ParentNode | null;
135
140
  readonly previousSibling: ChildNode | null;
136
- textContent: string | null;
137
141
  appendChild<T_1 extends Node>(node: T_1): T_1;
138
- cloneNode(deep?: boolean): Node;
142
+ cloneNode(subtree?: boolean): Node;
139
143
  compareDocumentPosition(other: Node): number;
140
144
  contains(other: Node | null): boolean;
141
145
  getRootNode(options?: GetRootNodeOptions): Node;
@@ -168,6 +172,7 @@ declare const CDSUseravatar_base: {
168
172
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
169
173
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
170
174
  dispatchEvent(event: Event): boolean;
175
+ ariaActiveDescendantElement: Element | null;
171
176
  ariaAtomic: string | null;
172
177
  ariaAutoComplete: string | null;
173
178
  ariaBrailleLabel: string | null;
@@ -178,25 +183,33 @@ declare const CDSUseravatar_base: {
178
183
  ariaColIndex: string | null;
179
184
  ariaColIndexText: string | null;
180
185
  ariaColSpan: string | null;
186
+ ariaControlsElements: ReadonlyArray<Element> | null;
181
187
  ariaCurrent: string | null;
188
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
182
189
  ariaDescription: string | null;
190
+ ariaDetailsElements: ReadonlyArray<Element> | null;
183
191
  ariaDisabled: string | null;
192
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
184
193
  ariaExpanded: string | null;
194
+ ariaFlowToElements: ReadonlyArray<Element> | null;
185
195
  ariaHasPopup: string | null;
186
196
  ariaHidden: string | null;
187
197
  ariaInvalid: string | null;
188
198
  ariaKeyShortcuts: string | null;
189
199
  ariaLabel: string | null;
200
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
190
201
  ariaLevel: string | null;
191
202
  ariaLive: string | null;
192
203
  ariaModal: string | null;
193
204
  ariaMultiLine: string | null;
194
205
  ariaMultiSelectable: string | null;
195
206
  ariaOrientation: string | null;
207
+ ariaOwnsElements: ReadonlyArray<Element> | null;
196
208
  ariaPlaceholder: string | null;
197
209
  ariaPosInSet: string | null;
198
210
  ariaPressed: string | null;
199
211
  ariaReadOnly: string | null;
212
+ ariaRelevant: string | null;
200
213
  ariaRequired: string | null;
201
214
  ariaRoleDescription: string | null;
202
215
  ariaRowCount: string | null;
@@ -238,7 +251,8 @@ declare const CDSUseravatar_base: {
238
251
  replaceChildren(...nodes: (Node | string)[]): void;
239
252
  readonly assignedSlot: HTMLSlotElement | null;
240
253
  readonly attributeStyleMap: StylePropertyMap;
241
- readonly style: CSSStyleDeclaration;
254
+ get style(): CSSStyleDeclaration;
255
+ set style(cssText: string): any;
242
256
  contentEditable: string;
243
257
  enterKeyHint: string;
244
258
  inputMode: string;
@@ -248,18 +262,19 @@ declare const CDSUseravatar_base: {
248
262
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
249
263
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
250
264
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
251
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
265
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
252
266
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
253
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
267
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
268
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
254
269
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
255
270
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
256
271
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
257
272
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
258
273
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
259
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
274
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
260
275
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
261
276
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
262
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
277
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
263
278
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
264
279
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
265
280
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -307,6 +322,7 @@ declare const CDSUseravatar_base: {
307
322
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
308
323
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
309
324
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
326
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
311
327
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
312
328
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -325,7 +341,7 @@ declare const CDSUseravatar_base: {
325
341
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
326
342
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
327
343
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
329
345
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
330
346
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
331
347
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025, 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import './user-avatar';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products-web-components",
3
3
  "description": "Carbon for IBM Products Web Components",
4
- "version": "0.27.0",
4
+ "version": "0.28.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "es/index.js",
7
7
  "module": "es/index.js",
@@ -55,10 +55,10 @@
55
55
  "telemetry-config": "ibmtelemetry-config generate --wc --id 8a79d901-a9c0-4672-94a4-fa8eea139832 --endpoint https://www-api.ibm.com/ibm-telemetry/v1/metrics --files ./src/components"
56
56
  },
57
57
  "dependencies": {
58
- "@carbon-labs/wc-empty-state": "^0.9.0",
59
- "@carbon/ibm-products-styles": "^2.74.0",
60
- "@carbon/styles": "1.89.0",
61
- "@carbon/web-components": "2.37.0",
58
+ "@carbon-labs/wc-empty-state": "^0.11.0",
59
+ "@carbon/ibm-products-styles": "^2.75.0-rc.0",
60
+ "@carbon/styles": "^1.93.1",
61
+ "@carbon/web-components": "2.41.1",
62
62
  "@ibm/telemetry-js": "^1.10.2",
63
63
  "@lit-labs/signals": "^0.1.2",
64
64
  "@lit/context": "^1.1.5",
@@ -67,14 +67,16 @@
67
67
  "devDependencies": {
68
68
  "@aarsteinmedia/dotlottie-player": "^6.0.5",
69
69
  "@blockquote/rollup-plugin-externalize-source-dependencies": "^1.0.0",
70
- "@carbon/icon-helpers": "^10.65.0",
71
- "@carbon/icons": "^11.66.0",
72
- "@carbon/motion": "^11.34.0",
70
+ "@carbon/icon-helpers": "^10.67.0",
71
+ "@carbon/icons": "^11.68.0",
72
+ "@carbon/motion": "^11.36.0",
73
+ "@figma/code-connect": "^1.3.6",
73
74
  "@ibm/telemetry-js-config-generator": "^2.1.0",
74
75
  "@mordech/vite-lit-loader": "^0.37.0",
75
76
  "@open-wc/testing": "^4.0.0",
76
- "@rollup/plugin-alias": "^5.1.1",
77
+ "@rollup/plugin-alias": "^6.0.0",
77
78
  "@rollup/plugin-commonjs": "^28.0.1",
79
+ "@rollup/plugin-image": "^3.0.3",
78
80
  "@rollup/plugin-json": "^6.1.0",
79
81
  "@rollup/plugin-node-resolve": "^16.0.0",
80
82
  "@rollup/plugin-typescript": "^12.1.1",
@@ -91,13 +93,13 @@
91
93
  "eslint-config-carbon": "^3.25.0",
92
94
  "globby": "^15.0.0",
93
95
  "happy-dom": "^20.0.0",
94
- "playwright": "^1.51.1",
96
+ "playwright": "^1.56.1",
95
97
  "postcss": "^8.4.47",
96
98
  "remark-gfm": "^4.0.0",
97
99
  "rimraf": "^6.0.1",
98
100
  "rollup": "^4.27.3",
99
101
  "rollup-plugin-copy": "^3.5.0",
100
- "sass": "^1.80.6",
102
+ "sass": "^1.93.2",
101
103
  "storybook": "^9.1.10",
102
104
  "tslib": "^2.8.1",
103
105
  "typescript": "^5.5.3",
@@ -106,5 +108,5 @@
106
108
  "vitest": "^3.2.0",
107
109
  "web-component-analyzer": "2.0.0"
108
110
  },
109
- "gitHead": "44b9182ef8d8018c9e3e6914e24e2259502e2f49"
111
+ "gitHead": "5d7a0eb6f0a6d4d7f0b909f3541aa46c856d54df"
110
112
  }
@@ -26,6 +26,8 @@ $block-class: #{$prefix}--set-of-tags;
26
26
  inline-size: 100%;
27
27
  .#{$block-class} {
28
28
  display: flex;
29
+ // Spacing between tags.
30
+ gap: $spacing-03;
29
31
  box-sizing: border-box;
30
32
  justify-content: flex-end;
31
33
  inline-size: 100%;
@@ -9,7 +9,6 @@
9
9
 
10
10
  @use 'sass:map';
11
11
  @use '@carbon/styles/scss/utilities' as *;
12
- @use '@carbon/themes' as *;
13
12
  @use '@carbon/styles/scss/spacing' as *;
14
13
  @use '@carbon/styles/scss/theme' as *;
15
14
  @use '@carbon/styles/scss/motion' as *;