@getflip/swirl-ai 0.462.0 → 0.463.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.
@@ -11,6 +11,7 @@ The SwirlToggleButton component is used to allow a user to select a single optio
11
11
 
12
12
  ## Optional props
13
13
 
14
+ - `hideLabel` (boolean | undefined) –
14
15
  - `icon` (string | undefined) –
15
16
  - `isPressed` (boolean | undefined) –
16
17
 
@@ -54847,6 +54847,14 @@
54847
54847
  "tagName": "swirl-toggle-button",
54848
54848
  "name": "SwirlToggleButton",
54849
54849
  "attributes": [
54850
+ {
54851
+ "name": "hide-label",
54852
+ "type": {
54853
+ "text": "boolean | undefined"
54854
+ },
54855
+ "default": "false",
54856
+ "fieldName": "hideLabel"
54857
+ },
54850
54858
  {
54851
54859
  "name": "icon",
54852
54860
  "type": {
@@ -54878,6 +54886,16 @@
54878
54886
  }
54879
54887
  ],
54880
54888
  "members": [
54889
+ {
54890
+ "kind": "field",
54891
+ "name": "hideLabel",
54892
+ "type": {
54893
+ "text": "boolean | undefined"
54894
+ },
54895
+ "default": "false",
54896
+ "readonly": true,
54897
+ "attribute": "hide-label"
54898
+ },
54881
54899
  {
54882
54900
  "kind": "field",
54883
54901
  "name": "icon",
@@ -3,6 +3,7 @@ export declare class SwirlToggleButton {
3
3
  label: string;
4
4
  icon?: string;
5
5
  isPressed: boolean;
6
+ hideLabel?: boolean;
6
7
  private onClick;
7
8
  render(): any;
8
9
  }
@@ -5055,6 +5055,10 @@ export namespace Components {
5055
5055
  "toast": (newToast: SwirlToastConfig) => Promise<SwirlToastMessage>;
5056
5056
  }
5057
5057
  interface SwirlToggleButton {
5058
+ /**
5059
+ * @default false
5060
+ */
5061
+ "hideLabel"?: boolean;
5058
5062
  "icon"?: string;
5059
5063
  "identifier": string;
5060
5064
  /**
@@ -14219,6 +14223,10 @@ declare namespace LocalJSX {
14219
14223
  "globalDuration"?: number;
14220
14224
  }
14221
14225
  interface SwirlToggleButton {
14226
+ /**
14227
+ * @default false
14228
+ */
14229
+ "hideLabel"?: boolean;
14222
14230
  "icon"?: string;
14223
14231
  "identifier": string;
14224
14232
  /**
@@ -16761,6 +16769,7 @@ declare namespace LocalJSX {
16761
16769
  "label": string;
16762
16770
  "icon": string;
16763
16771
  "isPressed": boolean;
16772
+ "hideLabel": boolean;
16764
16773
  }
16765
16774
  interface SwirlToggleGroupAttributes {
16766
16775
  "elevated": boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.462.0",
3
+ "version": "0.463.0",
4
4
  "description": "Swirl Design System AI package with artifacts for AI agents",
5
5
  "author": "Flip GmbH",
6
6
  "repository": "https://github.com/getflip/swirl",
@@ -46,7 +46,7 @@
46
46
  "zod": "3.24.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@getflip/swirl-components": "0.462.0",
49
+ "@getflip/swirl-components": "0.463.0",
50
50
  "@types/node": "25.3.0",
51
51
  "tsup": "^8.0.0",
52
52
  "tsx": "^4.7.0",