@getflip/swirl-ai 0.472.0 → 0.473.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.
@@ -41,6 +41,7 @@ _None._
41
41
  | ------------------ | ------------------------------------------------- |
42
42
  | `role="group"` | Set on the stack container. |
43
43
  | `role="list"` | Set on the list of data cells. |
44
+ | `role="listitem"` | Exposed by each direct `swirl-data-cell` child. |
44
45
  | `aria-labelledby` | References the optional label when present. |
45
46
  | `aria-describedby` | References the optional description when present. |
46
47
 
@@ -44,7 +44,8 @@ The component structures label-value pairs for assistive technologies.
44
44
 
45
45
  | ARIA | Usage |
46
46
  | ------------------- | ----------------------------------------------------------------- |
47
- | `role="group"` | Set on the host to group label and value. |
47
+ | `role="group"` | Set on the host when `swirl-data-cell` is used standalone. |
48
+ | `role="listitem"` | Set on the host when `swirl-data-cell` is used in a stack/list. |
48
49
  | `role="term"` | Set on the label element. |
49
50
  | `role="definition"` | Set on the value/definition container. |
50
51
  | `aria-labelledby` | Set on the definition, referencing the label ID. |
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Purpose
4
4
 
5
- The SwirlShellLayout component provides the outer layout of the Flip Desktop app.
5
+ > **Deprecated:** This component is deprecated and will be removed in the next > major release. The SwirlShellLayout component provides the outer layout of the Flip Desktop app.
6
6
 
7
7
  ## Required props
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Purpose
4
4
 
5
- The SwirlShellNavigationItem component is used to provide the main navigation for the [SwirlShellLayout](?path=/docs/components-swirlshelllayout--docs).
5
+ > **Deprecated:** This component is deprecated and will be removed in the next > major release. The SwirlShellNavigationItem component is used to provide the main navigation for the [SwirlShellLayout](?path=/docs/components-swirlshelllayout--docs).
6
6
 
7
7
  ## Required props
8
8
 
@@ -1458,11 +1458,11 @@
1458
1458
  },
1459
1459
  {
1460
1460
  "tag": "swirl-shell-layout",
1461
- "summary": "The SwirlShellLayout component provides the outer layout of the Flip Desktop app."
1461
+ "summary": "> **Deprecated:** This component is deprecated and will be removed in the next > major release. The SwirlShellLayout component provides the outer layout of the Flip Desktop app."
1462
1462
  },
1463
1463
  {
1464
1464
  "tag": "swirl-shell-navigation-item",
1465
- "summary": "The SwirlShellNavigationItem component is used to provide the main navigation for the [SwirlShellLayout](?path=/docs/components-swirlshelllayout--docs)."
1465
+ "summary": "> **Deprecated:** This component is deprecated and will be removed in the next > major release. The SwirlShellNavigationItem component is used to provide the main navigation for the [SwirlShellLayout](?path=/docs/components-swirlshelllayout--docs)."
1466
1466
  },
1467
1467
  {
1468
1468
  "tag": "swirl-skeleton-box",
@@ -6961,7 +6961,7 @@
6961
6961
  "name": "data-cell"
6962
6962
  }
6963
6963
  ],
6964
- "description": "The SwirlDataCell component displays a label-value pair with optional media slot (e.g., swirl-avatar, icons), tooltip support with an info icon, and a suffix slot for additional content. It also supports interactive form controls through the content slot, allowing for editable data cells with inputs and selects.\n\nAccessibility\n\n### ARIA\n\nThe component structures label-value pairs for assistive technologies.\n\n| ARIA | Usage |\n| ------------------- | ----------------------------------------------------------------- |\n| `role=\"group\"` | Set on the host to group label and value. |\n| `role=\"term\"` | Set on the label element. |\n| `role=\"definition\"` | Set on the value/definition container. |\n| `aria-labelledby` | Set on the definition, referencing the label ID. |\n| `aria-hidden` | Set on the media container when present. |\n| `role=\"button\"` | Optional; set when the cell contains a checkbox or radio control. |\n\n### Keyboard\n\nKeyboard behavior is determined by slotted content (e.g. form controls). No\ncomponent-specific shortcuts."
6964
+ "description": "The SwirlDataCell component displays a label-value pair with optional media slot (e.g., swirl-avatar, icons), tooltip support with an info icon, and a suffix slot for additional content. It also supports interactive form controls through the content slot, allowing for editable data cells with inputs and selects.\n\nAccessibility\n\n### ARIA\n\nThe component structures label-value pairs for assistive technologies.\n\n| ARIA | Usage |\n| ------------------- | ----------------------------------------------------------------- |\n| `role=\"group\"` | Set on the host when `swirl-data-cell` is used standalone. |\n| `role=\"listitem\"` | Set on the host when `swirl-data-cell` is used in a stack/list. |\n| `role=\"term\"` | Set on the label element. |\n| `role=\"definition\"` | Set on the value/definition container. |\n| `aria-labelledby` | Set on the definition, referencing the label ID. |\n| `aria-hidden` | Set on the media container when present. |\n| `role=\"button\"` | Optional; set when the cell contains a checkbox or radio control. |\n\n### Keyboard\n\nKeyboard behavior is determined by slotted content (e.g. form controls). No\ncomponent-specific shortcuts."
6965
6965
  }
6966
6966
  ],
6967
6967
  "exports": [
@@ -7059,7 +7059,7 @@
7059
7059
  "name": "data-cell-stack"
7060
7060
  }
7061
7061
  ],
7062
- "description": "The SwirlDataCellStack component is a container for grouping multiple SwirlDataCell components with an optional label, description, and call-to-action slot.\n\nAccessibility\n\n### ARIA\n\n| ARIA | Usage |\n| ------------------ | ------------------------------------------------- |\n| `role=\"group\"` | Set on the stack container. |\n| `role=\"list\"` | Set on the list of data cells. |\n| `aria-labelledby` | References the optional label when present. |\n| `aria-describedby` | References the optional description when present. |\n\n### Keyboard\n\nNo component-specific keyboard behavior; interaction is handled by slotted\nSwirlDataCell content."
7062
+ "description": "The SwirlDataCellStack component is a container for grouping multiple SwirlDataCell components with an optional label, description, and call-to-action slot.\n\nAccessibility\n\n### ARIA\n\n| ARIA | Usage |\n| ------------------ | ------------------------------------------------- |\n| `role=\"group\"` | Set on the stack container. |\n| `role=\"list\"` | Set on the list of data cells. |\n| `role=\"listitem\"` | Exposed by each direct `swirl-data-cell` child. |\n| `aria-labelledby` | References the optional label when present. |\n| `aria-describedby` | References the optional description when present. |\n\n### Keyboard\n\nNo component-specific keyboard behavior; interaction is handled by slotted\nSwirlDataCell content."
7063
7063
  }
7064
7064
  ],
7065
7065
  "exports": [
@@ -42976,6 +42976,7 @@
42976
42976
  "customElement": true,
42977
42977
  "tagName": "swirl-shell-layout",
42978
42978
  "name": "SwirlShellLayout",
42979
+ "deprecated": "This component is deprecated and will be removed in the next major release.",
42979
42980
  "attributes": [
42980
42981
  {
42981
42982
  "name": "branded-header",
@@ -43348,7 +43349,7 @@
43348
43349
  "description": "Contents of the main area."
43349
43350
  }
43350
43351
  ],
43351
- "description": "The SwirlShellLayout component provides the outer layout of the Flip Desktop app.\n\nAccessibility\n\nSwirlShellLayout is a layout shell with no ARIA attributes or keyboard-specific\nbehavior. Ensure slotted navigation and main content provide appropriate\nlandmarks and focus order.\n\n### Keyboard\n\nNo component-specific keyboard behavior."
43352
+ "description": "> **Deprecated:** This component is deprecated and will be removed in the next > major release. The SwirlShellLayout component provides the outer layout of the Flip Desktop app.\n\nAccessibility\n\nSwirlShellLayout is a layout shell with no ARIA attributes or keyboard-specific\nbehavior. Ensure slotted navigation and main content provide appropriate\nlandmarks and focus order.\n\n### Keyboard\n\nNo component-specific keyboard behavior."
43352
43353
  }
43353
43354
  ],
43354
43355
  "exports": [
@@ -43377,6 +43378,7 @@
43377
43378
  "customElement": true,
43378
43379
  "tagName": "swirl-shell-navigation-item",
43379
43380
  "name": "SwirlShellNavigationItem",
43381
+ "deprecated": "This component is deprecated and will be removed in the next major release.",
43380
43382
  "attributes": [
43381
43383
  {
43382
43384
  "name": "active",
@@ -43699,7 +43701,7 @@
43699
43701
  "description": "Image or icon to display in the navigation item."
43700
43702
  }
43701
43703
  ],
43702
- "description": "The SwirlShellNavigationItem component is used to provide the main navigation for the [SwirlShellLayout](?path=/docs/components-swirlshelllayout--docs).\n\nAccessibility\n\n### ARIA\n\nThe component follows the\n[WAI-ARIA Link Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/link/).\n\n| ARIA | Usage |\n| ------------- | ----- |\n| `role=\"link\"` | |\n\n### Keyboard\n\n| Key | Action |\n| ---------------- | ------------------- |\n| <kbd>ENTER</kbd> | Activates the link. |"
43704
+ "description": "> **Deprecated:** This component is deprecated and will be removed in the next > major release. The SwirlShellNavigationItem component is used to provide the main navigation for the [SwirlShellLayout](?path=/docs/components-swirlshelllayout--docs).\n\nAccessibility\n\n### ARIA\n\nThe component follows the\n[WAI-ARIA Link Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/link/).\n\n| ARIA | Usage |\n| ------------- | ----- |\n| `role=\"link\"` | |\n\n### Keyboard\n\n| Key | Action |\n| ---------------- | ------------------- |\n| <kbd>ENTER</kbd> | Activates the link. |"
43703
43705
  }
43704
43706
  ],
43705
43707
  "exports": [
@@ -8,6 +8,7 @@ export declare class SwirlModalShell {
8
8
  closeModal: EventEmitter<void>;
9
9
  isClosing: boolean;
10
10
  private modalEl;
11
+ private scrollContainerEl;
11
12
  componentDidLoad(): void;
12
13
  disconnectedCallback(): void;
13
14
  close(): Promise<void>;
@@ -3,6 +3,7 @@ import { SwirlShellNavigationItemVariant } from "../swirl-shell-navigation-item/
3
3
  export type SwirlShellLayoutSecondaryNavView = "grid" | "list";
4
4
  export type SwirlShellLayoutSecondaryNavGridItemVariant = Exclude<SwirlShellNavigationItemVariant, "default">;
5
5
  /**
6
+ * @deprecated This component is deprecated and will be removed in the next major release.
6
7
  * @slot logo - Logo shown inside header.
7
8
  * @slot left-header-tools - Tools positioned on the header's left-hand side.
8
9
  * @slot right-header-tools - Tools positioned on the header's right-hand side.
@@ -2,6 +2,7 @@ export type SwirlLabelColor = "default" | "light" | "dark";
2
2
  export type SwirlShellNavigationItemVariant = "default" | "tiled" | "app-icon";
3
3
  export type SwirlShellNavigationItemAriaCurrent = "page" | "true";
4
4
  /**
5
+ * @deprecated This component is deprecated and will be removed in the next major release.
5
6
  * @slot icon - Image or icon to display in the navigation item.
6
7
  */
7
8
  export declare class SwirlShellNavigationItem {
@@ -3909,6 +3909,9 @@ export namespace Components {
3909
3909
  */
3910
3910
  "spacing"?: SwirlSeparatorSpacing1;
3911
3911
  }
3912
+ /**
3913
+ * @deprecated This component is deprecated and will be removed in the next major release.
3914
+ */
3912
3915
  interface SwirlShellLayout {
3913
3916
  "brandedHeader"?: boolean;
3914
3917
  /**
@@ -3972,6 +3975,9 @@ export namespace Components {
3972
3975
  */
3973
3976
  "skipLinkLabel"?: string;
3974
3977
  }
3978
+ /**
3979
+ * @deprecated This component is deprecated and will be removed in the next major release.
3980
+ */
3975
3981
  interface SwirlShellNavigationItem {
3976
3982
  "active"?: boolean;
3977
3983
  "badgeLabel"?: string;
@@ -8113,6 +8119,9 @@ declare global {
8113
8119
  "historyForwardClick": MouseEvent;
8114
8120
  "skipLinkClick": MouseEvent;
8115
8121
  }
8122
+ /**
8123
+ * @deprecated This component is deprecated and will be removed in the next major release.
8124
+ */
8116
8125
  interface HTMLSwirlShellLayoutElement extends Components.SwirlShellLayout, HTMLStencilElement {
8117
8126
  addEventListener<K extends keyof HTMLSwirlShellLayoutElementEventMap>(type: K, listener: (this: HTMLSwirlShellLayoutElement, ev: SwirlShellLayoutCustomEvent<HTMLSwirlShellLayoutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
8118
8127
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -8127,6 +8136,9 @@ declare global {
8127
8136
  prototype: HTMLSwirlShellLayoutElement;
8128
8137
  new (): HTMLSwirlShellLayoutElement;
8129
8138
  };
8139
+ /**
8140
+ * @deprecated This component is deprecated and will be removed in the next major release.
8141
+ */
8130
8142
  interface HTMLSwirlShellNavigationItemElement extends Components.SwirlShellNavigationItem, HTMLStencilElement {
8131
8143
  }
8132
8144
  var HTMLSwirlShellNavigationItemElement: {
@@ -13312,6 +13324,9 @@ declare namespace LocalJSX {
13312
13324
  */
13313
13325
  "spacing"?: SwirlSeparatorSpacing1;
13314
13326
  }
13327
+ /**
13328
+ * @deprecated This component is deprecated and will be removed in the next major release.
13329
+ */
13315
13330
  interface SwirlShellLayout {
13316
13331
  "brandedHeader"?: boolean;
13317
13332
  /**
@@ -13370,6 +13385,9 @@ declare namespace LocalJSX {
13370
13385
  */
13371
13386
  "skipLinkLabel"?: string;
13372
13387
  }
13388
+ /**
13389
+ * @deprecated This component is deprecated and will be removed in the next major release.
13390
+ */
13373
13391
  interface SwirlShellNavigationItem {
13374
13392
  "active"?: boolean;
13375
13393
  "badgeLabel"?: string;
@@ -18030,7 +18048,13 @@ declare module "@stencil/core" {
18030
18048
  "swirl-search": LocalJSX.IntrinsicElements["swirl-search"] & JSXBase.HTMLAttributes<HTMLSwirlSearchElement>;
18031
18049
  "swirl-select": LocalJSX.IntrinsicElements["swirl-select"] & JSXBase.HTMLAttributes<HTMLSwirlSelectElement>;
18032
18050
  "swirl-separator": LocalJSX.IntrinsicElements["swirl-separator"] & JSXBase.HTMLAttributes<HTMLSwirlSeparatorElement>;
18051
+ /**
18052
+ * @deprecated This component is deprecated and will be removed in the next major release.
18053
+ */
18033
18054
  "swirl-shell-layout": LocalJSX.IntrinsicElements["swirl-shell-layout"] & JSXBase.HTMLAttributes<HTMLSwirlShellLayoutElement>;
18055
+ /**
18056
+ * @deprecated This component is deprecated and will be removed in the next major release.
18057
+ */
18034
18058
  "swirl-shell-navigation-item": LocalJSX.IntrinsicElements["swirl-shell-navigation-item"] & JSXBase.HTMLAttributes<HTMLSwirlShellNavigationItemElement>;
18035
18059
  "swirl-skeleton-box": LocalJSX.IntrinsicElements["swirl-skeleton-box"] & JSXBase.HTMLAttributes<HTMLSwirlSkeletonBoxElement>;
18036
18060
  "swirl-skeleton-text": LocalJSX.IntrinsicElements["swirl-skeleton-text"] & JSXBase.HTMLAttributes<HTMLSwirlSkeletonTextElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.472.0",
3
+ "version": "0.473.0",
4
4
  "description": "Swirl Design System AI package with artifacts for AI agents",
5
5
  "author": "Flip GmbH",
6
6
  "repository": {
@@ -49,7 +49,7 @@
49
49
  "zod": "3.24.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@getflip/swirl-components": "0.472.0",
52
+ "@getflip/swirl-components": "0.473.0",
53
53
  "@types/node": "25.3.0",
54
54
  "tsup": "^8.0.0",
55
55
  "tsx": "^4.7.0",