@getflip/swirl-ai 0.532.1 → 0.533.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.
@@ -40,6 +40,7 @@ The SwirlButton component is used to trigger actions or events.
40
40
  ## Slots
41
41
 
42
42
  - **`icon`** – Icon to be displayed inside the button.
43
+ - **`label`** – Custom label markup. Replaces the label prop visually, which is still used as accessible name when the label is hidden.
43
44
  - **`tag`** – Tag to be displayed inside the button.
44
45
  - **`trailing`** – Trailing slot for content to be displayed at the end.
45
46
 
@@ -10,7 +10,7 @@ The SwirlProgressIndicator component is used to display the progress of a long r
10
10
 
11
11
  ## Optional props
12
12
 
13
- - `size` ("l" | "m" | "s" | "xs" | undefined) –
13
+ - `size` ("l" | "m" | "s" | "xl" | "xs" | undefined) –
14
14
  - `value` (number | undefined) –
15
15
  - `variant` ("bar" | "circle" | undefined) –
16
16
 
@@ -4475,6 +4475,10 @@
4475
4475
  "name": "icon",
4476
4476
  "description": "Icon to be displayed inside the button."
4477
4477
  },
4478
+ {
4479
+ "name": "label",
4480
+ "description": "Custom label markup. Replaces the label prop visually, which is still used as accessible name when the label is hidden."
4481
+ },
4478
4482
  {
4479
4483
  "name": "tag",
4480
4484
  "description": "Tag to be displayed inside the button."
@@ -49094,7 +49098,7 @@
49094
49098
  {
49095
49099
  "name": "size",
49096
49100
  "type": {
49097
- "text": "\"l\" | \"m\" | \"s\" | \"xs\" | undefined",
49101
+ "text": "\"l\" | \"m\" | \"s\" | \"xl\" | \"xs\" | undefined",
49098
49102
  "references": [
49099
49103
  {
49100
49104
  "name": "SwirlProgressIndicatorSize"
@@ -49140,7 +49144,7 @@
49140
49144
  "kind": "field",
49141
49145
  "name": "size",
49142
49146
  "type": {
49143
- "text": "\"l\" | \"m\" | \"s\" | \"xs\" | undefined",
49147
+ "text": "\"l\" | \"m\" | \"s\" | \"xl\" | \"xs\" | undefined",
49144
49148
  "references": [
49145
49149
  {
49146
49150
  "name": "SwirlProgressIndicatorSize"
@@ -8,6 +8,7 @@ export type SwirlButtonVariant = "flat" | "ghost" | "plain" | "floating" | "on-i
8
8
  export type SwirlButtonCursor = SwirlCursor;
9
9
  /**
10
10
  * @slot icon - Icon to be displayed inside the button.
11
+ * @slot label - Custom label markup. Replaces the label prop visually, which is still used as accessible name when the label is hidden.
11
12
  * @slot tag - Tag to be displayed inside the button.
12
13
  * @slot trailing - Trailing slot for content to be displayed at the end.
13
14
  */
@@ -21,3 +21,4 @@ declare const _default: {
21
21
  };
22
22
  export default _default;
23
23
  export declare const SwirlButton: any;
24
+ export declare const CustomLabel: any;
@@ -1,9 +1,15 @@
1
- export type SwirlProgressIndicatorSize = "xs" | "s" | "m" | "l";
1
+ /**
2
+ * The `xl` size is only available for the `bar` variant. A `circle` with size
3
+ * `xl` renders like size `l`.
4
+ */
5
+ export type SwirlProgressIndicatorSize = "xs" | "s" | "m" | "l" | "xl";
2
6
  export type SwirlProgressIndicatorVariant = "bar" | "circle";
3
7
  export declare class SwirlProgressIndicator {
4
8
  label: string;
5
9
  size?: SwirlProgressIndicatorSize;
6
10
  value?: number;
7
11
  variant?: SwirlProgressIndicatorVariant;
12
+ private hasLoaded;
13
+ componentDidLoad(): void;
8
14
  render(): any;
9
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.532.1",
3
+ "version": "0.533.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.532.1",
29
+ "@getflip/swirl-components": "0.533.0",
30
30
  "@getflip/swirl-tokens": "2.14.3",
31
31
  "@types/node": "25.3.0",
32
32
  "tsx": "^4.7.0",