@getflip/swirl-ai 0.531.2 → 0.532.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.
@@ -13,6 +13,7 @@ The SwirlBanner component is used to display a prominent message at the top of t
13
13
  - `actionLabel` (string | undefined) –
14
14
  - `dismissLabel` (string | undefined) –
15
15
  - `dismissable` (boolean | undefined) –
16
+ - `heading` (string | undefined) –
16
17
  - `icon` (string | undefined) –
17
18
  - `importance` ("alert" | "status" | undefined) –
18
19
  - `intent` ("critical" | "default" | "info" | "success" | "warning" | undefined) –
@@ -67,6 +68,7 @@ button semantics.
67
68
  action-label="Action"
68
69
  content="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
69
70
  dismissable
71
+ heading="Heading"
70
72
  intent="critical"
71
73
  ></swirl-banner>
72
74
  ```
@@ -2861,6 +2861,13 @@
2861
2861
  "default": "false",
2862
2862
  "fieldName": "dismissable"
2863
2863
  },
2864
+ {
2865
+ "name": "heading",
2866
+ "type": {
2867
+ "text": "string | undefined"
2868
+ },
2869
+ "fieldName": "heading"
2870
+ },
2864
2871
  {
2865
2872
  "name": "icon",
2866
2873
  "type": {
@@ -2955,6 +2962,15 @@
2955
2962
  "readonly": true,
2956
2963
  "attribute": "dismissable"
2957
2964
  },
2965
+ {
2966
+ "kind": "field",
2967
+ "name": "heading",
2968
+ "type": {
2969
+ "text": "string | undefined"
2970
+ },
2971
+ "readonly": true,
2972
+ "attribute": "heading"
2973
+ },
2958
2974
  {
2959
2975
  "kind": "field",
2960
2976
  "name": "icon",
@@ -3055,6 +3071,9 @@
3055
3071
  },
3056
3072
  {
3057
3073
  "name": "banner__dismiss-button"
3074
+ },
3075
+ {
3076
+ "name": "banner__heading"
3058
3077
  }
3059
3078
  ],
3060
3079
  "description": "The SwirlBanner component is used to display a prominent message at the top of the screen.\n\nAccessibility\n\n### ARIA\n\nThe component follows the\n[WAI-ARIA Alert Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/alert/).\n\n| ARIA | Usage |\n| ------------------ | --------------------------------------------------------------------------------------------- |\n| `role=\"alert\"` | The banner gets the `alert` role if it contains critical info or warnings. |\n| `role=\"status\"` | The banner gets the `status` role for non-critical info. |\n| `aria-describedby` | The `aria-describedby` property is automatically set to reference the banner's title or body. |\n\n### Keyboard\n\nNo component-specific keyboard behavior; dismiss and action buttons use standard\nbutton semantics."
@@ -8,6 +8,7 @@ export declare class SwirlBanner {
8
8
  content: string;
9
9
  dismissable?: boolean;
10
10
  dismissLabel?: string;
11
+ heading?: string;
11
12
  importance?: SwirlBannerAriaRole;
12
13
  intent?: SwirlBannerIntent;
13
14
  showIcon?: boolean;
@@ -482,6 +482,7 @@ export namespace Components {
482
482
  * @default false
483
483
  */
484
484
  "dismissable"?: boolean;
485
+ "heading"?: string;
485
486
  "icon"?: string;
486
487
  /**
487
488
  * @default "status"
@@ -11051,6 +11052,7 @@ declare namespace LocalJSX {
11051
11052
  * @default false
11052
11053
  */
11053
11054
  "dismissable"?: boolean;
11055
+ "heading"?: string;
11054
11056
  "icon"?: string;
11055
11057
  /**
11056
11058
  * @default "status"
@@ -16494,6 +16496,7 @@ declare namespace LocalJSX {
16494
16496
  "content": string;
16495
16497
  "dismissable": boolean;
16496
16498
  "dismissLabel": string;
16499
+ "heading": string;
16497
16500
  "importance": SwirlBannerAriaRole;
16498
16501
  "intent": SwirlBannerIntent;
16499
16502
  "showIcon": boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.531.2",
3
+ "version": "0.532.0",
4
4
  "description": "Swirl Design System AI package with artifacts for AI agents",
5
5
  "author": "Flip GmbH",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "lint": "tsc --noEmit"
27
27
  },
28
28
  "devDependencies": {
29
- "@getflip/swirl-components": "0.531.2",
29
+ "@getflip/swirl-components": "0.532.0",
30
30
  "@getflip/swirl-tokens": "2.14.3",
31
31
  "@types/node": "25.3.0",
32
32
  "tsx": "^4.7.0",