@getflip/swirl-ai 0.496.0 → 0.498.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.
@@ -0,0 +1,50 @@
1
+ # `<swirl-icon-rocket-launch>`
2
+
3
+ ## Purpose
4
+
5
+ Custom element: swirl-icon-rocket-launch.
6
+
7
+ ## Required props
8
+
9
+ _None._
10
+
11
+ ## Optional props
12
+
13
+ - `color` ("critical" | "default" | "disabled" | "highlight" | "info" | "on-action-primary" | "on-image" | "on-status" | "on-surface-highlight" | "on-surface-highlight-subdued" | "strong" | "success" | "warning" | undefined) –
14
+ - `label` (string | undefined) –
15
+ - `size` (16 | 20 | 24 | 28 | undefined) –
16
+
17
+ ## Slots
18
+
19
+ _None._
20
+
21
+ ## Events
22
+
23
+ _None._
24
+
25
+ ## Methods
26
+
27
+ _None._
28
+
29
+ ## Related components
30
+
31
+ _See description for usage context._
32
+
33
+ ## Accessibility
34
+
35
+ _See full docs for accessibility details._
36
+
37
+ ## Minimal example
38
+
39
+ ```html
40
+ <swirl-icon-rocket-launch></swirl-icon-rocket-launch>
41
+ ```
42
+
43
+ ## Usage example
44
+
45
+ _No usage example in docs._
46
+
47
+ ## Common mistakes
48
+
49
+ - Ensure required props are set.
50
+ - Use only allowed slot names and child components where documented.
@@ -23,7 +23,7 @@ The SwirlTreeNavigationItem component is used to for the main navigation of the
23
23
 
24
24
  ## Slots
25
25
 
26
- _None._
26
+ - **`custom-icon`** – Custom icon element that takes precedence over the icon prop.
27
27
 
28
28
  ## Events
29
29
 
@@ -1090,6 +1090,10 @@
1090
1090
  "tag": "swirl-icon-roadmap",
1091
1091
  "summary": "swirl-icon-roadmap"
1092
1092
  },
1093
+ {
1094
+ "tag": "swirl-icon-rocket-launch",
1095
+ "summary": "swirl-icon-rocket-launch"
1096
+ },
1093
1097
  {
1094
1098
  "tag": "swirl-icon-rotate-left",
1095
1099
  "summary": "swirl-icon-rotate-left"
@@ -34593,6 +34593,117 @@
34593
34593
  }
34594
34594
  ]
34595
34595
  },
34596
+ {
34597
+ "kind": "javascript-module",
34598
+ "path": "src/components/swirl-icon/icons/swirl-icon-rocket-launch.tsx",
34599
+ "declarations": [
34600
+ {
34601
+ "kind": "class",
34602
+ "customElement": true,
34603
+ "tagName": "swirl-icon-rocket-launch",
34604
+ "name": "SwirlIconRocketLaunch",
34605
+ "attributes": [
34606
+ {
34607
+ "name": "color",
34608
+ "type": {
34609
+ "text": "\"critical\" | \"default\" | \"disabled\" | \"highlight\" | \"info\" | \"on-action-primary\" | \"on-image\" | \"on-status\" | \"on-surface-highlight\" | \"on-surface-highlight-subdued\" | \"strong\" | \"success\" | \"warning\" | undefined",
34610
+ "references": [
34611
+ {
34612
+ "name": "SwirlIconColor",
34613
+ "module": "../swirl-icon"
34614
+ }
34615
+ ]
34616
+ },
34617
+ "fieldName": "color"
34618
+ },
34619
+ {
34620
+ "name": "label",
34621
+ "type": {
34622
+ "text": "string | undefined"
34623
+ },
34624
+ "fieldName": "label"
34625
+ },
34626
+ {
34627
+ "name": "size",
34628
+ "type": {
34629
+ "text": "16 | 20 | 24 | 28 | undefined",
34630
+ "references": [
34631
+ {
34632
+ "name": "SwirlIconSize",
34633
+ "module": "../swirl-icon.types"
34634
+ }
34635
+ ]
34636
+ },
34637
+ "default": "24",
34638
+ "fieldName": "size"
34639
+ }
34640
+ ],
34641
+ "members": [
34642
+ {
34643
+ "kind": "field",
34644
+ "name": "color",
34645
+ "type": {
34646
+ "text": "\"critical\" | \"default\" | \"disabled\" | \"highlight\" | \"info\" | \"on-action-primary\" | \"on-image\" | \"on-status\" | \"on-surface-highlight\" | \"on-surface-highlight-subdued\" | \"strong\" | \"success\" | \"warning\" | undefined",
34647
+ "references": [
34648
+ {
34649
+ "name": "SwirlIconColor",
34650
+ "module": "../swirl-icon"
34651
+ }
34652
+ ]
34653
+ },
34654
+ "readonly": true,
34655
+ "attribute": "color"
34656
+ },
34657
+ {
34658
+ "kind": "field",
34659
+ "name": "label",
34660
+ "type": {
34661
+ "text": "string | undefined"
34662
+ },
34663
+ "readonly": true,
34664
+ "attribute": "label"
34665
+ },
34666
+ {
34667
+ "kind": "field",
34668
+ "name": "size",
34669
+ "type": {
34670
+ "text": "16 | 20 | 24 | 28 | undefined",
34671
+ "references": [
34672
+ {
34673
+ "name": "SwirlIconSize",
34674
+ "module": "../swirl-icon.types"
34675
+ }
34676
+ ]
34677
+ },
34678
+ "default": "24",
34679
+ "readonly": true,
34680
+ "attribute": "size"
34681
+ }
34682
+ ],
34683
+ "cssParts": [
34684
+ {
34685
+ "name": "icon"
34686
+ }
34687
+ ]
34688
+ }
34689
+ ],
34690
+ "exports": [
34691
+ {
34692
+ "kind": "js",
34693
+ "name": "SwirlIconRocketLaunch",
34694
+ "declaration": {
34695
+ "name": "SwirlIconRocketLaunch"
34696
+ }
34697
+ },
34698
+ {
34699
+ "kind": "custom-element-definition",
34700
+ "name": "swirl-icon-rocket-launch",
34701
+ "declaration": {
34702
+ "name": "SwirlIconRocketLaunch"
34703
+ }
34704
+ }
34705
+ ]
34706
+ },
34596
34707
  {
34597
34708
  "kind": "javascript-module",
34598
34709
  "path": "src/components/swirl-icon/icons/swirl-icon-rotate-left.tsx",
@@ -62636,6 +62747,12 @@
62636
62747
  }
62637
62748
  }
62638
62749
  ],
62750
+ "slots": [
62751
+ {
62752
+ "name": "custom-icon",
62753
+ "description": "Custom icon element that takes precedence over the icon prop."
62754
+ }
62755
+ ],
62639
62756
  "description": "The SwirlTreeNavigationItem component is used to for the main navigation of the Flip Admin tools.\n\nAccessibility\n\n### ARIA\n\nThe component follows the\n[WAI-ARIA Tree View Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/treeview/).\n\n| ARIA | Usage |\n| ----------------- | ---------------------------------------------------------------------- |\n| `role=\"treeitem\"` | Set on the list item. |\n| `aria-expanded` | Set when the item has children; indicates expanded or collapsed state. |\n| `aria-level` | Indicates the nesting level. |\n| `aria-controls` | When the item has children, references the ID of the child group. |\n| `aria-current` | Set to `\"page\"` when the item is active. |\n| `role=\"group\"` | Set on the child list when the item has children. |\n| `aria-label` | Used on icons (e.g. expand, external link) for screen readers. |\n\n### Keyboard\n\n| Key | Action |\n| ---------------------- | -------------------------------------------------------------------- |\n| <kbd>Enter</kbd> | Activates the link or button (navigate or toggle). |\n| <kbd>Space</kbd> | Toggles expanded state when the item has children and is expandable. |\n| <kbd>Arrow Right</kbd> | Expands the item when it has children and is collapsed. |\n| <kbd>Arrow Left</kbd> | Collapses the item when it is expanded. |"
62640
62757
  }
62641
62758
  ],
@@ -0,0 +1,8 @@
1
+ import { SwirlIconSize } from "../swirl-icon.types";
2
+ import { SwirlIconColor } from "../swirl-icon";
3
+ export declare class SwirlIconRocketLaunch {
4
+ color?: SwirlIconColor;
5
+ label?: string;
6
+ size: SwirlIconSize;
7
+ render(): any;
8
+ }
@@ -1,4 +1,7 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
+ /**
3
+ * @slot custom-icon - Custom icon element that takes precedence over the icon prop.
4
+ */
2
5
  export declare class SwirlTreeNavigationItem {
3
6
  el: HTMLSwirlTreeNavigationItemElement;
4
7
  active?: boolean;
@@ -15,6 +18,7 @@ export declare class SwirlTreeNavigationItem {
15
18
  expansionChange: EventEmitter<boolean>;
16
19
  expanded: boolean;
17
20
  hasChildren: boolean;
21
+ hasCustomIcon: boolean;
18
22
  childrenHeight: string;
19
23
  private buttonId;
20
24
  private childrenId;
@@ -11,3 +11,4 @@ declare const _default: {
11
11
  };
12
12
  export default _default;
13
13
  export declare const SwirlTreeNavigationItem: any;
14
+ export declare const WithCustomIcon: any;
@@ -2996,6 +2996,14 @@ export namespace Components {
2996
2996
  */
2997
2997
  "size": SwirlIconSize;
2998
2998
  }
2999
+ interface SwirlIconRocketLaunch {
3000
+ "color"?: SwirlIconColor1;
3001
+ "label"?: string;
3002
+ /**
3003
+ * @default 24
3004
+ */
3005
+ "size": SwirlIconSize;
3006
+ }
2999
3007
  interface SwirlIconRotateLeft {
3000
3008
  "color"?: SwirlIconColor1;
3001
3009
  "label"?: string;
@@ -7836,6 +7844,12 @@ declare global {
7836
7844
  prototype: HTMLSwirlIconRoadmapElement;
7837
7845
  new (): HTMLSwirlIconRoadmapElement;
7838
7846
  };
7847
+ interface HTMLSwirlIconRocketLaunchElement extends Components.SwirlIconRocketLaunch, HTMLStencilElement {
7848
+ }
7849
+ var HTMLSwirlIconRocketLaunchElement: {
7850
+ prototype: HTMLSwirlIconRocketLaunchElement;
7851
+ new (): HTMLSwirlIconRocketLaunchElement;
7852
+ };
7839
7853
  interface HTMLSwirlIconRotateLeftElement extends Components.SwirlIconRotateLeft, HTMLStencilElement {
7840
7854
  }
7841
7855
  var HTMLSwirlIconRotateLeftElement: {
@@ -9935,6 +9949,7 @@ declare global {
9935
9949
  "swirl-icon-reply": HTMLSwirlIconReplyElement;
9936
9950
  "swirl-icon-report": HTMLSwirlIconReportElement;
9937
9951
  "swirl-icon-roadmap": HTMLSwirlIconRoadmapElement;
9952
+ "swirl-icon-rocket-launch": HTMLSwirlIconRocketLaunchElement;
9938
9953
  "swirl-icon-rotate-left": HTMLSwirlIconRotateLeftElement;
9939
9954
  "swirl-icon-rotate-right": HTMLSwirlIconRotateRightElement;
9940
9955
  "swirl-icon-school": HTMLSwirlIconSchoolElement;
@@ -12931,6 +12946,14 @@ declare namespace LocalJSX {
12931
12946
  */
12932
12947
  "size"?: SwirlIconSize;
12933
12948
  }
12949
+ interface SwirlIconRocketLaunch {
12950
+ "color"?: SwirlIconColor1;
12951
+ "label"?: string;
12952
+ /**
12953
+ * @default 24
12954
+ */
12955
+ "size"?: SwirlIconSize;
12956
+ }
12934
12957
  interface SwirlIconRotateLeft {
12935
12958
  "color"?: SwirlIconColor1;
12936
12959
  "label"?: string;
@@ -17100,6 +17123,11 @@ declare namespace LocalJSX {
17100
17123
  "label": string;
17101
17124
  "size": SwirlIconSize;
17102
17125
  }
17126
+ interface SwirlIconRocketLaunchAttributes {
17127
+ "color": SwirlIconColor;
17128
+ "label": string;
17129
+ "size": SwirlIconSize;
17130
+ }
17103
17131
  interface SwirlIconRotateLeftAttributes {
17104
17132
  "color": SwirlIconColor;
17105
17133
  "label": string;
@@ -18645,6 +18673,7 @@ declare namespace LocalJSX {
18645
18673
  "swirl-icon-reply": Omit<SwirlIconReply, keyof SwirlIconReplyAttributes> & { [K in keyof SwirlIconReply & keyof SwirlIconReplyAttributes]?: SwirlIconReply[K] } & { [K in keyof SwirlIconReply & keyof SwirlIconReplyAttributes as `attr:${K}`]?: SwirlIconReplyAttributes[K] } & { [K in keyof SwirlIconReply & keyof SwirlIconReplyAttributes as `prop:${K}`]?: SwirlIconReply[K] };
18646
18674
  "swirl-icon-report": Omit<SwirlIconReport, keyof SwirlIconReportAttributes> & { [K in keyof SwirlIconReport & keyof SwirlIconReportAttributes]?: SwirlIconReport[K] } & { [K in keyof SwirlIconReport & keyof SwirlIconReportAttributes as `attr:${K}`]?: SwirlIconReportAttributes[K] } & { [K in keyof SwirlIconReport & keyof SwirlIconReportAttributes as `prop:${K}`]?: SwirlIconReport[K] };
18647
18675
  "swirl-icon-roadmap": Omit<SwirlIconRoadmap, keyof SwirlIconRoadmapAttributes> & { [K in keyof SwirlIconRoadmap & keyof SwirlIconRoadmapAttributes]?: SwirlIconRoadmap[K] } & { [K in keyof SwirlIconRoadmap & keyof SwirlIconRoadmapAttributes as `attr:${K}`]?: SwirlIconRoadmapAttributes[K] } & { [K in keyof SwirlIconRoadmap & keyof SwirlIconRoadmapAttributes as `prop:${K}`]?: SwirlIconRoadmap[K] };
18676
+ "swirl-icon-rocket-launch": Omit<SwirlIconRocketLaunch, keyof SwirlIconRocketLaunchAttributes> & { [K in keyof SwirlIconRocketLaunch & keyof SwirlIconRocketLaunchAttributes]?: SwirlIconRocketLaunch[K] } & { [K in keyof SwirlIconRocketLaunch & keyof SwirlIconRocketLaunchAttributes as `attr:${K}`]?: SwirlIconRocketLaunchAttributes[K] } & { [K in keyof SwirlIconRocketLaunch & keyof SwirlIconRocketLaunchAttributes as `prop:${K}`]?: SwirlIconRocketLaunch[K] };
18648
18677
  "swirl-icon-rotate-left": Omit<SwirlIconRotateLeft, keyof SwirlIconRotateLeftAttributes> & { [K in keyof SwirlIconRotateLeft & keyof SwirlIconRotateLeftAttributes]?: SwirlIconRotateLeft[K] } & { [K in keyof SwirlIconRotateLeft & keyof SwirlIconRotateLeftAttributes as `attr:${K}`]?: SwirlIconRotateLeftAttributes[K] } & { [K in keyof SwirlIconRotateLeft & keyof SwirlIconRotateLeftAttributes as `prop:${K}`]?: SwirlIconRotateLeft[K] };
18649
18678
  "swirl-icon-rotate-right": Omit<SwirlIconRotateRight, keyof SwirlIconRotateRightAttributes> & { [K in keyof SwirlIconRotateRight & keyof SwirlIconRotateRightAttributes]?: SwirlIconRotateRight[K] } & { [K in keyof SwirlIconRotateRight & keyof SwirlIconRotateRightAttributes as `attr:${K}`]?: SwirlIconRotateRightAttributes[K] } & { [K in keyof SwirlIconRotateRight & keyof SwirlIconRotateRightAttributes as `prop:${K}`]?: SwirlIconRotateRight[K] };
18650
18679
  "swirl-icon-school": Omit<SwirlIconSchool, keyof SwirlIconSchoolAttributes> & { [K in keyof SwirlIconSchool & keyof SwirlIconSchoolAttributes]?: SwirlIconSchool[K] } & { [K in keyof SwirlIconSchool & keyof SwirlIconSchoolAttributes as `attr:${K}`]?: SwirlIconSchoolAttributes[K] } & { [K in keyof SwirlIconSchool & keyof SwirlIconSchoolAttributes as `prop:${K}`]?: SwirlIconSchool[K] };
@@ -19155,6 +19184,7 @@ declare module "@stencil/core" {
19155
19184
  "swirl-icon-reply": LocalJSX.IntrinsicElements["swirl-icon-reply"] & JSXBase.HTMLAttributes<HTMLSwirlIconReplyElement>;
19156
19185
  "swirl-icon-report": LocalJSX.IntrinsicElements["swirl-icon-report"] & JSXBase.HTMLAttributes<HTMLSwirlIconReportElement>;
19157
19186
  "swirl-icon-roadmap": LocalJSX.IntrinsicElements["swirl-icon-roadmap"] & JSXBase.HTMLAttributes<HTMLSwirlIconRoadmapElement>;
19187
+ "swirl-icon-rocket-launch": LocalJSX.IntrinsicElements["swirl-icon-rocket-launch"] & JSXBase.HTMLAttributes<HTMLSwirlIconRocketLaunchElement>;
19158
19188
  "swirl-icon-rotate-left": LocalJSX.IntrinsicElements["swirl-icon-rotate-left"] & JSXBase.HTMLAttributes<HTMLSwirlIconRotateLeftElement>;
19159
19189
  "swirl-icon-rotate-right": LocalJSX.IntrinsicElements["swirl-icon-rotate-right"] & JSXBase.HTMLAttributes<HTMLSwirlIconRotateRightElement>;
19160
19190
  "swirl-icon-school": LocalJSX.IntrinsicElements["swirl-icon-school"] & JSXBase.HTMLAttributes<HTMLSwirlIconSchoolElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.496.0",
3
+ "version": "0.498.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.496.0",
29
+ "@getflip/swirl-components": "0.498.0",
30
30
  "@getflip/swirl-tokens": "2.14.3",
31
31
  "@types/node": "25.3.0",
32
32
  "tsx": "^4.7.0",