@getflip/swirl-ai 0.502.1 → 0.504.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.
- package/dist/agent/components/swirl-resource-list-item.md +2 -0
- package/dist/agent/components/swirl-tab-bar.md +1 -0
- package/dist/custom-elements.manifest.json +80 -4
- package/dist/types/components/swirl-resource-list-item/swirl-resource-list-item.d.ts +3 -2
- package/dist/types/components/swirl-resource-list-item/swirl-resource-list-item.types.d.ts +12 -0
- package/dist/types/components/swirl-tab-bar/swirl-tab-bar.d.ts +1 -0
- package/dist/types/components.d.ts +11 -2
- package/package.json +2 -2
|
@@ -34,9 +34,11 @@ The SwirlResourceListItem component can be used to represent an object, like med
|
|
|
34
34
|
- `menuTriggerId` (string | undefined) –
|
|
35
35
|
- `menuTriggerLabel` (string | undefined) –
|
|
36
36
|
- `meta` (string | undefined) –
|
|
37
|
+
- `rel` ("external" | "nofollow" | "noindex" | "noopener noreferrer" | "noopener" | "noreferrer" | undefined) –
|
|
37
38
|
- `selectable` (boolean | undefined) –
|
|
38
39
|
- `swirlAriaCurrent` ("date" | "location" | "page" | "step" | "time" | "true" | undefined) –
|
|
39
40
|
- `swirlAriaLabel` (string | undefined) –
|
|
41
|
+
- `target` ("_blank" | "_parent" | "_self" | "_top" | undefined) –
|
|
40
42
|
- `value` (string | undefined) –
|
|
41
43
|
|
|
42
44
|
## Slots
|
|
@@ -17,6 +17,7 @@ The SwirlTabBar component is used to render the tabs navigation of the [SwirlTab
|
|
|
17
17
|
- `paddingInlineEnd` ("0" | "12" | "16" | "2" | "20" | "24" | "4" | "8" | undefined) –
|
|
18
18
|
- `paddingInlineStart` ("0" | "12" | "16" | "2" | "20" | "24" | "4" | "8" | undefined) –
|
|
19
19
|
- `variant` ("default" | "pill" | undefined) –
|
|
20
|
+
- `wrap` (boolean | undefined) –
|
|
20
21
|
- `tabs` (SwirlTabBarTab[] | undefined) –
|
|
21
22
|
|
|
22
23
|
## Slots
|
|
@@ -47300,7 +47300,8 @@
|
|
|
47300
47300
|
"text": "\"bold\" | \"medium\" | \"regular\" | \"semibold\" | undefined",
|
|
47301
47301
|
"references": [
|
|
47302
47302
|
{
|
|
47303
|
-
"name": "SwirlResourceListItemLabelWeight"
|
|
47303
|
+
"name": "SwirlResourceListItemLabelWeight",
|
|
47304
|
+
"module": "./swirl-resource-list-item.types"
|
|
47304
47305
|
}
|
|
47305
47306
|
]
|
|
47306
47307
|
},
|
|
@@ -47343,6 +47344,19 @@
|
|
|
47343
47344
|
},
|
|
47344
47345
|
"fieldName": "meta"
|
|
47345
47346
|
},
|
|
47347
|
+
{
|
|
47348
|
+
"name": "rel",
|
|
47349
|
+
"type": {
|
|
47350
|
+
"text": "\"external\" | \"nofollow\" | \"noindex\" | \"noopener noreferrer\" | \"noopener\" | \"noreferrer\" | undefined",
|
|
47351
|
+
"references": [
|
|
47352
|
+
{
|
|
47353
|
+
"name": "SwirlResourceListItemRel",
|
|
47354
|
+
"module": "./swirl-resource-list-item.types"
|
|
47355
|
+
}
|
|
47356
|
+
]
|
|
47357
|
+
},
|
|
47358
|
+
"fieldName": "rel"
|
|
47359
|
+
},
|
|
47346
47360
|
{
|
|
47347
47361
|
"name": "selectable",
|
|
47348
47362
|
"type": {
|
|
@@ -47356,7 +47370,8 @@
|
|
|
47356
47370
|
"text": "\"date\" | \"location\" | \"page\" | \"step\" | \"time\" | \"true\" | undefined",
|
|
47357
47371
|
"references": [
|
|
47358
47372
|
{
|
|
47359
|
-
"name": "SwirlResourceListItemAriaCurrent"
|
|
47373
|
+
"name": "SwirlResourceListItemAriaCurrent",
|
|
47374
|
+
"module": "./swirl-resource-list-item.types"
|
|
47360
47375
|
}
|
|
47361
47376
|
]
|
|
47362
47377
|
},
|
|
@@ -47369,6 +47384,19 @@
|
|
|
47369
47384
|
},
|
|
47370
47385
|
"fieldName": "swirlAriaLabel"
|
|
47371
47386
|
},
|
|
47387
|
+
{
|
|
47388
|
+
"name": "target",
|
|
47389
|
+
"type": {
|
|
47390
|
+
"text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | undefined",
|
|
47391
|
+
"references": [
|
|
47392
|
+
{
|
|
47393
|
+
"name": "SwirlResourceListItemTarget",
|
|
47394
|
+
"module": "./swirl-resource-list-item.types"
|
|
47395
|
+
}
|
|
47396
|
+
]
|
|
47397
|
+
},
|
|
47398
|
+
"fieldName": "target"
|
|
47399
|
+
},
|
|
47372
47400
|
{
|
|
47373
47401
|
"name": "value",
|
|
47374
47402
|
"type": {
|
|
@@ -47566,7 +47594,8 @@
|
|
|
47566
47594
|
"text": "\"bold\" | \"medium\" | \"regular\" | \"semibold\" | undefined",
|
|
47567
47595
|
"references": [
|
|
47568
47596
|
{
|
|
47569
|
-
"name": "SwirlResourceListItemLabelWeight"
|
|
47597
|
+
"name": "SwirlResourceListItemLabelWeight",
|
|
47598
|
+
"module": "./swirl-resource-list-item.types"
|
|
47570
47599
|
}
|
|
47571
47600
|
]
|
|
47572
47601
|
},
|
|
@@ -47620,6 +47649,21 @@
|
|
|
47620
47649
|
"readonly": true,
|
|
47621
47650
|
"attribute": "meta"
|
|
47622
47651
|
},
|
|
47652
|
+
{
|
|
47653
|
+
"kind": "field",
|
|
47654
|
+
"name": "rel",
|
|
47655
|
+
"type": {
|
|
47656
|
+
"text": "\"external\" | \"nofollow\" | \"noindex\" | \"noopener noreferrer\" | \"noopener\" | \"noreferrer\" | undefined",
|
|
47657
|
+
"references": [
|
|
47658
|
+
{
|
|
47659
|
+
"name": "SwirlResourceListItemRel",
|
|
47660
|
+
"module": "./swirl-resource-list-item.types"
|
|
47661
|
+
}
|
|
47662
|
+
]
|
|
47663
|
+
},
|
|
47664
|
+
"readonly": true,
|
|
47665
|
+
"attribute": "rel"
|
|
47666
|
+
},
|
|
47623
47667
|
{
|
|
47624
47668
|
"kind": "field",
|
|
47625
47669
|
"name": "selectable",
|
|
@@ -47636,7 +47680,8 @@
|
|
|
47636
47680
|
"text": "\"date\" | \"location\" | \"page\" | \"step\" | \"time\" | \"true\" | undefined",
|
|
47637
47681
|
"references": [
|
|
47638
47682
|
{
|
|
47639
|
-
"name": "SwirlResourceListItemAriaCurrent"
|
|
47683
|
+
"name": "SwirlResourceListItemAriaCurrent",
|
|
47684
|
+
"module": "./swirl-resource-list-item.types"
|
|
47640
47685
|
}
|
|
47641
47686
|
]
|
|
47642
47687
|
},
|
|
@@ -47652,6 +47697,21 @@
|
|
|
47652
47697
|
"readonly": true,
|
|
47653
47698
|
"attribute": "swirl-aria-label"
|
|
47654
47699
|
},
|
|
47700
|
+
{
|
|
47701
|
+
"kind": "field",
|
|
47702
|
+
"name": "target",
|
|
47703
|
+
"type": {
|
|
47704
|
+
"text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | undefined",
|
|
47705
|
+
"references": [
|
|
47706
|
+
{
|
|
47707
|
+
"name": "SwirlResourceListItemTarget",
|
|
47708
|
+
"module": "./swirl-resource-list-item.types"
|
|
47709
|
+
}
|
|
47710
|
+
]
|
|
47711
|
+
},
|
|
47712
|
+
"readonly": true,
|
|
47713
|
+
"attribute": "target"
|
|
47714
|
+
},
|
|
47655
47715
|
{
|
|
47656
47716
|
"kind": "field",
|
|
47657
47717
|
"name": "value",
|
|
@@ -58526,6 +58586,13 @@
|
|
|
58526
58586
|
},
|
|
58527
58587
|
"default": "\"default\"",
|
|
58528
58588
|
"fieldName": "variant"
|
|
58589
|
+
},
|
|
58590
|
+
{
|
|
58591
|
+
"name": "wrap",
|
|
58592
|
+
"type": {
|
|
58593
|
+
"text": "boolean | undefined"
|
|
58594
|
+
},
|
|
58595
|
+
"fieldName": "wrap"
|
|
58529
58596
|
}
|
|
58530
58597
|
],
|
|
58531
58598
|
"members": [
|
|
@@ -58646,6 +58713,15 @@
|
|
|
58646
58713
|
"default": "\"default\"",
|
|
58647
58714
|
"readonly": true,
|
|
58648
58715
|
"attribute": "variant"
|
|
58716
|
+
},
|
|
58717
|
+
{
|
|
58718
|
+
"kind": "field",
|
|
58719
|
+
"name": "wrap",
|
|
58720
|
+
"type": {
|
|
58721
|
+
"text": "boolean | undefined"
|
|
58722
|
+
},
|
|
58723
|
+
"readonly": true,
|
|
58724
|
+
"attribute": "wrap"
|
|
58649
58725
|
}
|
|
58650
58726
|
],
|
|
58651
58727
|
"events": [
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import { SwirlTooltipPosition } from "../swirl-tooltip/swirl-tooltip";
|
|
3
|
-
|
|
4
|
-
export type SwirlResourceListItemAriaCurrent = "page" | "step" | "location" | "date" | "time" | "true";
|
|
3
|
+
import { SwirlResourceListItemAriaCurrent, SwirlResourceListItemLabelWeight, SwirlResourceListItemRel, SwirlResourceListItemTarget } from "./swirl-resource-list-item.types";
|
|
5
4
|
/**
|
|
6
5
|
* @slot control - Used to add a menu button to the item
|
|
7
6
|
* @slot badges - Badges displayed inside the item
|
|
@@ -33,9 +32,11 @@ export declare class SwirlResourceListItem {
|
|
|
33
32
|
menuTriggerId?: string;
|
|
34
33
|
menuTriggerLabel?: string;
|
|
35
34
|
meta?: string;
|
|
35
|
+
rel?: SwirlResourceListItemRel;
|
|
36
36
|
selectable?: boolean;
|
|
37
37
|
swirlAriaCurrent?: SwirlResourceListItemAriaCurrent;
|
|
38
38
|
swirlAriaLabel?: string;
|
|
39
|
+
target?: SwirlResourceListItemTarget;
|
|
39
40
|
value?: string;
|
|
40
41
|
alignItems?: string;
|
|
41
42
|
hasMedia: boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type SwirlResourceListItemLabelWeight = "medium" | "regular" | "semibold" | "bold";
|
|
2
|
+
export type SwirlResourceListItemAriaCurrent = "page" | "step" | "location" | "date" | "time" | "true";
|
|
3
|
+
export declare const swirlResourceListItemRel: {
|
|
4
|
+
readonly external: "external";
|
|
5
|
+
readonly nofollow: "nofollow";
|
|
6
|
+
readonly noindex: "noindex";
|
|
7
|
+
readonly noopener: "noopener";
|
|
8
|
+
readonly noopenerNoreferrer: "noopener noreferrer";
|
|
9
|
+
readonly noreferrer: "noreferrer";
|
|
10
|
+
};
|
|
11
|
+
export type SwirlResourceListItemRel = (typeof swirlResourceListItemRel)[keyof typeof swirlResourceListItemRel];
|
|
12
|
+
export type SwirlResourceListItemTarget = "_self" | "_blank" | "_parent" | "_top";
|
|
@@ -20,6 +20,7 @@ export declare class SwirlTabBar {
|
|
|
20
20
|
paddingInlineStart?: SwirlTabBarPadding;
|
|
21
21
|
tabs: SwirlTabBarTab[];
|
|
22
22
|
variant?: SwirlTabBarVariant;
|
|
23
|
+
wrap?: boolean;
|
|
23
24
|
activateNextTab: EventEmitter<void>;
|
|
24
25
|
activatePreviousTab: EventEmitter<void>;
|
|
25
26
|
activateTab: EventEmitter<string>;
|
|
@@ -57,7 +57,7 @@ import { SwirlPopover } from "./components/swirl-popover/swirl-popover";
|
|
|
57
57
|
import { SwirlProgressIndicatorSize, SwirlProgressIndicatorVariant } from "./components/swirl-progress-indicator/swirl-progress-indicator";
|
|
58
58
|
import { SwirlRadioState, SwirlRadioVariant } from "./components/swirl-radio/swirl-radio";
|
|
59
59
|
import { SwirlBoxPadding as SwirlBoxPadding1, SwirlResourceListSemantics } from "./components/swirl-resource-list/swirl-resource-list";
|
|
60
|
-
import { SwirlResourceListItemAriaCurrent, SwirlResourceListItemLabelWeight } from "./components/swirl-resource-list-item/swirl-resource-list-item";
|
|
60
|
+
import { SwirlResourceListItemAriaCurrent, SwirlResourceListItemLabelWeight, SwirlResourceListItemRel, SwirlResourceListItemTarget } from "./components/swirl-resource-list-item/swirl-resource-list-item.types";
|
|
61
61
|
import { SwirlTooltipPosition } from "./components/swirl-tooltip/swirl-tooltip";
|
|
62
62
|
import { SwirlSearchVariant } from "./components/swirl-search/swirl-search";
|
|
63
63
|
import { SwirlSeparatorColor, SwirlSeparatorOrientation, SwirlSeparatorSemantics, SwirlSeparatorSpacing as SwirlSeparatorSpacing1 } from "./components/swirl-separator/swirl-separator";
|
|
@@ -140,7 +140,7 @@ export { SwirlPopover } from "./components/swirl-popover/swirl-popover";
|
|
|
140
140
|
export { SwirlProgressIndicatorSize, SwirlProgressIndicatorVariant } from "./components/swirl-progress-indicator/swirl-progress-indicator";
|
|
141
141
|
export { SwirlRadioState, SwirlRadioVariant } from "./components/swirl-radio/swirl-radio";
|
|
142
142
|
export { SwirlBoxPadding as SwirlBoxPadding1, SwirlResourceListSemantics } from "./components/swirl-resource-list/swirl-resource-list";
|
|
143
|
-
export { SwirlResourceListItemAriaCurrent, SwirlResourceListItemLabelWeight } from "./components/swirl-resource-list-item/swirl-resource-list-item";
|
|
143
|
+
export { SwirlResourceListItemAriaCurrent, SwirlResourceListItemLabelWeight, SwirlResourceListItemRel, SwirlResourceListItemTarget } from "./components/swirl-resource-list-item/swirl-resource-list-item.types";
|
|
144
144
|
export { SwirlTooltipPosition } from "./components/swirl-tooltip/swirl-tooltip";
|
|
145
145
|
export { SwirlSearchVariant } from "./components/swirl-search/swirl-search";
|
|
146
146
|
export { SwirlSeparatorColor, SwirlSeparatorOrientation, SwirlSeparatorSemantics, SwirlSeparatorSpacing as SwirlSeparatorSpacing1 } from "./components/swirl-separator/swirl-separator";
|
|
@@ -4193,9 +4193,11 @@ export namespace Components {
|
|
|
4193
4193
|
*/
|
|
4194
4194
|
"menuTriggerLabel"?: string;
|
|
4195
4195
|
"meta"?: string;
|
|
4196
|
+
"rel"?: SwirlResourceListItemRel;
|
|
4196
4197
|
"selectable"?: boolean;
|
|
4197
4198
|
"swirlAriaCurrent"?: SwirlResourceListItemAriaCurrent;
|
|
4198
4199
|
"swirlAriaLabel"?: string;
|
|
4200
|
+
"target"?: SwirlResourceListItemTarget;
|
|
4199
4201
|
"value"?: string;
|
|
4200
4202
|
}
|
|
4201
4203
|
interface SwirlResourceListSection {
|
|
@@ -5237,6 +5239,7 @@ export namespace Components {
|
|
|
5237
5239
|
* @default "default"
|
|
5238
5240
|
*/
|
|
5239
5241
|
"variant"?: SwirlTabBarVariant;
|
|
5242
|
+
"wrap"?: boolean;
|
|
5240
5243
|
}
|
|
5241
5244
|
interface SwirlTable {
|
|
5242
5245
|
"caption"?: string;
|
|
@@ -14105,9 +14108,11 @@ declare namespace LocalJSX {
|
|
|
14105
14108
|
"meta"?: string;
|
|
14106
14109
|
"onToggleDrag"?: (event: SwirlResourceListItemCustomEvent<HTMLSwirlResourceListItemElement>) => void;
|
|
14107
14110
|
"onValueChange"?: (event: SwirlResourceListItemCustomEvent<boolean>) => void;
|
|
14111
|
+
"rel"?: SwirlResourceListItemRel;
|
|
14108
14112
|
"selectable"?: boolean;
|
|
14109
14113
|
"swirlAriaCurrent"?: SwirlResourceListItemAriaCurrent;
|
|
14110
14114
|
"swirlAriaLabel"?: string;
|
|
14115
|
+
"target"?: SwirlResourceListItemTarget;
|
|
14111
14116
|
"value"?: string;
|
|
14112
14117
|
}
|
|
14113
14118
|
interface SwirlResourceListSection {
|
|
@@ -15151,6 +15156,7 @@ declare namespace LocalJSX {
|
|
|
15151
15156
|
* @default "default"
|
|
15152
15157
|
*/
|
|
15153
15158
|
"variant"?: SwirlTabBarVariant;
|
|
15159
|
+
"wrap"?: boolean;
|
|
15154
15160
|
}
|
|
15155
15161
|
interface SwirlTable {
|
|
15156
15162
|
"caption"?: string;
|
|
@@ -17748,9 +17754,11 @@ declare namespace LocalJSX {
|
|
|
17748
17754
|
"menuTriggerId": string;
|
|
17749
17755
|
"menuTriggerLabel": string;
|
|
17750
17756
|
"meta": string;
|
|
17757
|
+
"rel": SwirlResourceListItemRel;
|
|
17751
17758
|
"selectable": boolean;
|
|
17752
17759
|
"swirlAriaCurrent": SwirlResourceListItemAriaCurrent;
|
|
17753
17760
|
"swirlAriaLabel": string;
|
|
17761
|
+
"target": SwirlResourceListItemTarget;
|
|
17754
17762
|
"value": string;
|
|
17755
17763
|
"alignItems": string;
|
|
17756
17764
|
}
|
|
@@ -18254,6 +18262,7 @@ declare namespace LocalJSX {
|
|
|
18254
18262
|
"paddingInlineEnd": SwirlTabBarPadding;
|
|
18255
18263
|
"paddingInlineStart": SwirlTabBarPadding;
|
|
18256
18264
|
"variant": SwirlTabBarVariant;
|
|
18265
|
+
"wrap": boolean;
|
|
18257
18266
|
}
|
|
18258
18267
|
interface SwirlTableAttributes {
|
|
18259
18268
|
"caption": string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.504.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.504.0",
|
|
30
30
|
"@getflip/swirl-tokens": "2.14.3",
|
|
31
31
|
"@types/node": "25.3.0",
|
|
32
32
|
"tsx": "^4.7.0",
|