@getflip/swirl-ai 0.487.0 → 0.489.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.
@@ -15,6 +15,8 @@ The SwirlFileChip component is used to display file information in a chip format
15
15
  - `deleteButtonLabel` (string | undefined) –
16
16
  - `description` (string | undefined) –
17
17
  - `downloadButtonLabel` (string | undefined) –
18
+ - `errorLabel` (string | undefined) –
19
+ - `hasError` (boolean | undefined) –
18
20
  - `loading` (boolean | undefined) –
19
21
  - `loadingLabel` (string | undefined) –
20
22
  - `previewButtonLabel` (string | undefined) –
@@ -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` ("m" | "s" | undefined) –
13
+ - `size` ("m" | "s" | "xs" | undefined) –
14
14
  - `value` (number | undefined) –
15
15
  - `variant` ("bar" | "circle" | undefined) –
16
16
 
@@ -8798,6 +8798,21 @@
8798
8798
  "default": "\"Download\"",
8799
8799
  "fieldName": "downloadButtonLabel"
8800
8800
  },
8801
+ {
8802
+ "name": "error-label",
8803
+ "type": {
8804
+ "text": "string | undefined"
8805
+ },
8806
+ "default": "\"Error\"",
8807
+ "fieldName": "errorLabel"
8808
+ },
8809
+ {
8810
+ "name": "has-error",
8811
+ "type": {
8812
+ "text": "boolean | undefined"
8813
+ },
8814
+ "fieldName": "hasError"
8815
+ },
8801
8816
  {
8802
8817
  "name": "loading",
8803
8818
  "type": {
@@ -8901,6 +8916,25 @@
8901
8916
  "readonly": true,
8902
8917
  "attribute": "download-button-label"
8903
8918
  },
8919
+ {
8920
+ "kind": "field",
8921
+ "name": "errorLabel",
8922
+ "type": {
8923
+ "text": "string | undefined"
8924
+ },
8925
+ "default": "\"Error\"",
8926
+ "readonly": true,
8927
+ "attribute": "error-label"
8928
+ },
8929
+ {
8930
+ "kind": "field",
8931
+ "name": "hasError",
8932
+ "type": {
8933
+ "text": "boolean | undefined"
8934
+ },
8935
+ "readonly": true,
8936
+ "attribute": "has-error"
8937
+ },
8904
8938
  {
8905
8939
  "kind": "field",
8906
8940
  "name": "loading",
@@ -44727,7 +44761,7 @@
44727
44761
  {
44728
44762
  "name": "size",
44729
44763
  "type": {
44730
- "text": "\"m\" | \"s\" | undefined",
44764
+ "text": "\"m\" | \"s\" | \"xs\" | undefined",
44731
44765
  "references": [
44732
44766
  {
44733
44767
  "name": "SwirlProgressIndicatorSize"
@@ -44773,7 +44807,7 @@
44773
44807
  "kind": "field",
44774
44808
  "name": "size",
44775
44809
  "type": {
44776
- "text": "\"m\" | \"s\" | undefined",
44810
+ "text": "\"m\" | \"s\" | \"xs\" | undefined",
44777
44811
  "references": [
44778
44812
  {
44779
44813
  "name": "SwirlProgressIndicatorSize"
@@ -4,6 +4,8 @@ export declare class SwirlFileChip {
4
4
  deleteButtonLabel?: string;
5
5
  description?: string;
6
6
  downloadButtonLabel?: string;
7
+ hasError?: boolean;
8
+ errorLabel?: string;
7
9
  loading?: boolean;
8
10
  loadingLabel?: string;
9
11
  name: string;
@@ -1,4 +1,4 @@
1
- export type SwirlProgressIndicatorSize = "s" | "m";
1
+ export type SwirlProgressIndicatorSize = "xs" | "s" | "m";
2
2
  export type SwirlProgressIndicatorVariant = "bar" | "circle";
3
3
  export declare class SwirlProgressIndicator {
4
4
  label: string;
@@ -1050,6 +1050,11 @@ export namespace Components {
1050
1050
  * @default "Download"
1051
1051
  */
1052
1052
  "downloadButtonLabel"?: string;
1053
+ /**
1054
+ * @default "Error"
1055
+ */
1056
+ "errorLabel"?: string;
1057
+ "hasError"?: boolean;
1053
1058
  "loading"?: boolean;
1054
1059
  /**
1055
1060
  * @default "Loading …"
@@ -10843,6 +10848,11 @@ declare namespace LocalJSX {
10843
10848
  * @default "Download"
10844
10849
  */
10845
10850
  "downloadButtonLabel"?: string;
10851
+ /**
10852
+ * @default "Error"
10853
+ */
10854
+ "errorLabel"?: string;
10855
+ "hasError"?: boolean;
10846
10856
  "loading"?: boolean;
10847
10857
  /**
10848
10858
  * @default "Loading …"
@@ -15661,6 +15671,8 @@ declare namespace LocalJSX {
15661
15671
  "deleteButtonLabel": string;
15662
15672
  "description": string;
15663
15673
  "downloadButtonLabel": string;
15674
+ "hasError": boolean;
15675
+ "errorLabel": string;
15664
15676
  "loading": boolean;
15665
15677
  "loadingLabel": string;
15666
15678
  "name": string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.487.0",
3
+ "version": "0.489.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.487.0",
29
+ "@getflip/swirl-components": "0.489.0",
30
30
  "@types/node": "25.3.0",
31
31
  "tsx": "^4.7.0",
32
32
  "typescript": "5.9.3"