@getflip/swirl-ai 0.477.0 → 0.478.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.
|
@@ -21,6 +21,7 @@ The SwirlChip component is used to represent an input, attribute, or action.
|
|
|
21
21
|
- `removable` (boolean | undefined) –
|
|
22
22
|
- `removeButtonLabel` (string | undefined) –
|
|
23
23
|
- `size` ("m" | "s" | undefined) –
|
|
24
|
+
- `trailingIcon` (string | undefined) –
|
|
24
25
|
- `variant` ("outline" | "plain" | "translucent" | undefined) –
|
|
25
26
|
|
|
26
27
|
## Slots
|
|
@@ -5904,6 +5904,13 @@
|
|
|
5904
5904
|
"default": "\"m\"",
|
|
5905
5905
|
"fieldName": "size"
|
|
5906
5906
|
},
|
|
5907
|
+
{
|
|
5908
|
+
"name": "trailing-icon",
|
|
5909
|
+
"type": {
|
|
5910
|
+
"text": "string | undefined"
|
|
5911
|
+
},
|
|
5912
|
+
"fieldName": "trailingIcon"
|
|
5913
|
+
},
|
|
5907
5914
|
{
|
|
5908
5915
|
"name": "variant",
|
|
5909
5916
|
"type": {
|
|
@@ -6054,6 +6061,15 @@
|
|
|
6054
6061
|
"readonly": true,
|
|
6055
6062
|
"attribute": "size"
|
|
6056
6063
|
},
|
|
6064
|
+
{
|
|
6065
|
+
"kind": "field",
|
|
6066
|
+
"name": "trailingIcon",
|
|
6067
|
+
"type": {
|
|
6068
|
+
"text": "string | undefined"
|
|
6069
|
+
},
|
|
6070
|
+
"readonly": true,
|
|
6071
|
+
"attribute": "trailing-icon"
|
|
6072
|
+
},
|
|
6057
6073
|
{
|
|
6058
6074
|
"kind": "field",
|
|
6059
6075
|
"name": "variant",
|
|
@@ -12,6 +12,7 @@ export declare class SwirlChip {
|
|
|
12
12
|
borderRadius?: SwirlChipBorderRadius;
|
|
13
13
|
icon?: string;
|
|
14
14
|
iconColor?: SwirlChipIconColor;
|
|
15
|
+
trailingIcon?: string;
|
|
15
16
|
intent?: SwirlChipIntent;
|
|
16
17
|
interactive?: boolean;
|
|
17
18
|
label: string;
|
|
@@ -25,6 +26,7 @@ export declare class SwirlChip {
|
|
|
25
26
|
chipClick: EventEmitter<MouseEvent>;
|
|
26
27
|
removeChip?: EventEmitter<MouseEvent>;
|
|
27
28
|
private iconEl;
|
|
29
|
+
private trailingIconEl;
|
|
28
30
|
private mediaQueryUnsubscribe;
|
|
29
31
|
componentDidLoad(): void;
|
|
30
32
|
disconnectedCallback(): void;
|
|
@@ -761,6 +761,7 @@ export namespace Components {
|
|
|
761
761
|
* @default "m"
|
|
762
762
|
*/
|
|
763
763
|
"size"?: SwirlChipSize;
|
|
764
|
+
"trailingIcon"?: string;
|
|
764
765
|
/**
|
|
765
766
|
* @default "outline"
|
|
766
767
|
*/
|
|
@@ -10276,6 +10277,7 @@ declare namespace LocalJSX {
|
|
|
10276
10277
|
* @default "m"
|
|
10277
10278
|
*/
|
|
10278
10279
|
"size"?: SwirlChipSize;
|
|
10280
|
+
"trailingIcon"?: string;
|
|
10279
10281
|
/**
|
|
10280
10282
|
* @default "outline"
|
|
10281
10283
|
*/
|
|
@@ -14951,6 +14953,7 @@ declare namespace LocalJSX {
|
|
|
14951
14953
|
"borderRadius": SwirlChipBorderRadius;
|
|
14952
14954
|
"icon": string;
|
|
14953
14955
|
"iconColor": SwirlChipIconColor;
|
|
14956
|
+
"trailingIcon": string;
|
|
14954
14957
|
"intent": SwirlChipIntent;
|
|
14955
14958
|
"interactive": boolean;
|
|
14956
14959
|
"label": string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.478.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.
|
|
29
|
+
"@getflip/swirl-components": "0.478.0",
|
|
30
30
|
"@types/node": "25.3.0",
|
|
31
31
|
"tsx": "^4.7.0",
|
|
32
32
|
"typescript": "5.9.3"
|