@getflip/swirl-ai 0.503.0 → 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.
@@ -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
@@ -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",
@@ -1,7 +1,6 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  import { SwirlTooltipPosition } from "../swirl-tooltip/swirl-tooltip";
3
- export type SwirlResourceListItemLabelWeight = "medium" | "regular" | "semibold" | "bold";
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";
@@ -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 {
@@ -14106,9 +14108,11 @@ declare namespace LocalJSX {
14106
14108
  "meta"?: string;
14107
14109
  "onToggleDrag"?: (event: SwirlResourceListItemCustomEvent<HTMLSwirlResourceListItemElement>) => void;
14108
14110
  "onValueChange"?: (event: SwirlResourceListItemCustomEvent<boolean>) => void;
14111
+ "rel"?: SwirlResourceListItemRel;
14109
14112
  "selectable"?: boolean;
14110
14113
  "swirlAriaCurrent"?: SwirlResourceListItemAriaCurrent;
14111
14114
  "swirlAriaLabel"?: string;
14115
+ "target"?: SwirlResourceListItemTarget;
14112
14116
  "value"?: string;
14113
14117
  }
14114
14118
  interface SwirlResourceListSection {
@@ -17750,9 +17754,11 @@ declare namespace LocalJSX {
17750
17754
  "menuTriggerId": string;
17751
17755
  "menuTriggerLabel": string;
17752
17756
  "meta": string;
17757
+ "rel": SwirlResourceListItemRel;
17753
17758
  "selectable": boolean;
17754
17759
  "swirlAriaCurrent": SwirlResourceListItemAriaCurrent;
17755
17760
  "swirlAriaLabel": string;
17761
+ "target": SwirlResourceListItemTarget;
17756
17762
  "value": string;
17757
17763
  "alignItems": string;
17758
17764
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.503.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.503.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",