@getflip/swirl-ai 0.516.0 → 0.517.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.
|
@@ -22,6 +22,7 @@ The SwirlChip component is used to represent an input, attribute, or action.
|
|
|
22
22
|
- `removable` (boolean | undefined) –
|
|
23
23
|
- `removeButtonLabel` (string | undefined) –
|
|
24
24
|
- `size` ("m" | "s" | undefined) –
|
|
25
|
+
- `swirlAriaLabel` (string | undefined) –
|
|
25
26
|
- `trailingIcon` (string | undefined) –
|
|
26
27
|
- `variant` ("outline" | "plain" | "translucent" | undefined) –
|
|
27
28
|
|
|
@@ -47,9 +48,10 @@ No related components.
|
|
|
47
48
|
|
|
48
49
|
### ARIA
|
|
49
50
|
|
|
50
|
-
| ARIA | Usage
|
|
51
|
-
| --------------- |
|
|
52
|
-
| `role="button"` | For interactive chips; achieved by using a native `button` element.
|
|
51
|
+
| ARIA | Usage |
|
|
52
|
+
| --------------- | ---------------------------------------------------------------------|
|
|
53
|
+
| `role="button"` | For interactive chips; achieved by using a native `button` element. |
|
|
54
|
+
| `aria-label` | Optional; overrides the chip's accessible name via `swirlAriaLabel`. |
|
|
53
55
|
|
|
54
56
|
### Keyboard
|
|
55
57
|
|
|
@@ -6059,6 +6059,13 @@
|
|
|
6059
6059
|
"default": "\"m\"",
|
|
6060
6060
|
"fieldName": "size"
|
|
6061
6061
|
},
|
|
6062
|
+
{
|
|
6063
|
+
"name": "swirl-aria-label",
|
|
6064
|
+
"type": {
|
|
6065
|
+
"text": "string | undefined"
|
|
6066
|
+
},
|
|
6067
|
+
"fieldName": "swirlAriaLabel"
|
|
6068
|
+
},
|
|
6062
6069
|
{
|
|
6063
6070
|
"name": "trailing-icon",
|
|
6064
6071
|
"type": {
|
|
@@ -6225,6 +6232,15 @@
|
|
|
6225
6232
|
"readonly": true,
|
|
6226
6233
|
"attribute": "size"
|
|
6227
6234
|
},
|
|
6235
|
+
{
|
|
6236
|
+
"kind": "field",
|
|
6237
|
+
"name": "swirlAriaLabel",
|
|
6238
|
+
"type": {
|
|
6239
|
+
"text": "string | undefined"
|
|
6240
|
+
},
|
|
6241
|
+
"readonly": true,
|
|
6242
|
+
"attribute": "swirl-aria-label"
|
|
6243
|
+
},
|
|
6228
6244
|
{
|
|
6229
6245
|
"kind": "field",
|
|
6230
6246
|
"name": "trailingIcon",
|
|
@@ -6286,7 +6302,7 @@
|
|
|
6286
6302
|
"description": "Optional content displayed at the end of the chip."
|
|
6287
6303
|
}
|
|
6288
6304
|
],
|
|
6289
|
-
"description": "The SwirlChip component is used to represent an input, attribute, or action.\n\nAccessibility\n\n### ARIA\n\n| ARIA | Usage
|
|
6305
|
+
"description": "The SwirlChip component is used to represent an input, attribute, or action.\n\nAccessibility\n\n### ARIA\n\n| ARIA | Usage |\n| --------------- | ---------------------------------------------------------------------|\n| `role=\"button\"` | For interactive chips; achieved by using a native `button` element. |\n| `aria-label` | Optional; overrides the chip's accessible name via `swirlAriaLabel`. |\n\n### Keyboard\n\n| Key | Action |\n| ---------------- | ------------------------------- |\n| <kbd>ENTER</kbd> | Activates the interactive chip. |\n| <kbd>SPACE</kbd> | Activates the interactive chip. |"
|
|
6290
6306
|
}
|
|
6291
6307
|
],
|
|
6292
6308
|
"exports": [
|
|
@@ -775,6 +775,7 @@ export namespace Components {
|
|
|
775
775
|
* @default "m"
|
|
776
776
|
*/
|
|
777
777
|
"size"?: SwirlChipSize;
|
|
778
|
+
"swirlAriaLabel"?: string;
|
|
778
779
|
"trailingIcon"?: string;
|
|
779
780
|
/**
|
|
780
781
|
* @default "outline"
|
|
@@ -10903,6 +10904,7 @@ declare namespace LocalJSX {
|
|
|
10903
10904
|
* @default "m"
|
|
10904
10905
|
*/
|
|
10905
10906
|
"size"?: SwirlChipSize;
|
|
10907
|
+
"swirlAriaLabel"?: string;
|
|
10906
10908
|
"trailingIcon"?: string;
|
|
10907
10909
|
/**
|
|
10908
10910
|
* @default "outline"
|
|
@@ -16070,6 +16072,7 @@ declare namespace LocalJSX {
|
|
|
16070
16072
|
"removable": boolean;
|
|
16071
16073
|
"removeButtonLabel": string;
|
|
16072
16074
|
"size": SwirlChipSize;
|
|
16075
|
+
"swirlAriaLabel": string;
|
|
16073
16076
|
"variant": SwirlChipVariant;
|
|
16074
16077
|
}
|
|
16075
16078
|
interface SwirlColorInputAttributes {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.517.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.517.0",
|
|
30
30
|
"@getflip/swirl-tokens": "2.14.3",
|
|
31
31
|
"@types/node": "25.3.0",
|
|
32
32
|
"tsx": "^4.7.0",
|