@getflip/swirl-ai 0.469.0 → 0.470.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,49 @@
1
+ # `<swirl-icon-qr-code-scanner>`
2
+
3
+ ## Purpose
4
+
5
+ Custom element: swirl-icon-qr-code-scanner.
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
+ - `size` (16 | 20 | 24 | 28 | undefined) –
15
+
16
+ ## Slots
17
+
18
+ _None._
19
+
20
+ ## Events
21
+
22
+ _None._
23
+
24
+ ## Methods
25
+
26
+ _None._
27
+
28
+ ## Related components
29
+
30
+ _See description for usage context._
31
+
32
+ ## Accessibility
33
+
34
+ _See full docs for accessibility details._
35
+
36
+ ## Minimal example
37
+
38
+ ```html
39
+ <swirl-icon-qr-code-scanner></swirl-icon-qr-code-scanner>
40
+ ```
41
+
42
+ ## Usage example
43
+
44
+ _No usage example in docs._
45
+
46
+ ## Common mistakes
47
+
48
+ - Ensure required props are set.
49
+ - Use only allowed slot names and child components where documented.
@@ -1006,6 +1006,10 @@
1006
1006
  "tag": "swirl-icon-published-with-changes",
1007
1007
  "summary": "swirl-icon-published-with-changes"
1008
1008
  },
1009
+ {
1010
+ "tag": "swirl-icon-qr-code-scanner",
1011
+ "summary": "swirl-icon-qr-code-scanner"
1012
+ },
1009
1013
  {
1010
1014
  "tag": "swirl-icon-ratio-four-to-three",
1011
1015
  "summary": "swirl-icon-ratio-four-to-three"
@@ -28933,6 +28933,101 @@
28933
28933
  }
28934
28934
  ]
28935
28935
  },
28936
+ {
28937
+ "kind": "javascript-module",
28938
+ "path": "src/components/swirl-icon/icons/swirl-icon-qr-code-scanner.tsx",
28939
+ "declarations": [
28940
+ {
28941
+ "kind": "class",
28942
+ "customElement": true,
28943
+ "tagName": "swirl-icon-qr-code-scanner",
28944
+ "name": "SwirlIconQrCodeScanner",
28945
+ "attributes": [
28946
+ {
28947
+ "name": "color",
28948
+ "type": {
28949
+ "text": "\"critical\" | \"default\" | \"disabled\" | \"highlight\" | \"info\" | \"on-action-primary\" | \"on-image\" | \"on-status\" | \"on-surface-highlight\" | \"on-surface-highlight-subdued\" | \"strong\" | \"success\" | \"warning\" | undefined",
28950
+ "references": [
28951
+ {
28952
+ "name": "SwirlIconColor",
28953
+ "module": "../swirl-icon"
28954
+ }
28955
+ ]
28956
+ },
28957
+ "fieldName": "color"
28958
+ },
28959
+ {
28960
+ "name": "size",
28961
+ "type": {
28962
+ "text": "16 | 20 | 24 | 28 | undefined",
28963
+ "references": [
28964
+ {
28965
+ "name": "SwirlIconSize",
28966
+ "module": "../swirl-icon.types"
28967
+ }
28968
+ ]
28969
+ },
28970
+ "default": "24",
28971
+ "fieldName": "size"
28972
+ }
28973
+ ],
28974
+ "members": [
28975
+ {
28976
+ "kind": "field",
28977
+ "name": "color",
28978
+ "type": {
28979
+ "text": "\"critical\" | \"default\" | \"disabled\" | \"highlight\" | \"info\" | \"on-action-primary\" | \"on-image\" | \"on-status\" | \"on-surface-highlight\" | \"on-surface-highlight-subdued\" | \"strong\" | \"success\" | \"warning\" | undefined",
28980
+ "references": [
28981
+ {
28982
+ "name": "SwirlIconColor",
28983
+ "module": "../swirl-icon"
28984
+ }
28985
+ ]
28986
+ },
28987
+ "readonly": true,
28988
+ "attribute": "color"
28989
+ },
28990
+ {
28991
+ "kind": "field",
28992
+ "name": "size",
28993
+ "type": {
28994
+ "text": "16 | 20 | 24 | 28 | undefined",
28995
+ "references": [
28996
+ {
28997
+ "name": "SwirlIconSize",
28998
+ "module": "../swirl-icon.types"
28999
+ }
29000
+ ]
29001
+ },
29002
+ "default": "24",
29003
+ "readonly": true,
29004
+ "attribute": "size"
29005
+ }
29006
+ ],
29007
+ "cssParts": [
29008
+ {
29009
+ "name": "icon"
29010
+ }
29011
+ ]
29012
+ }
29013
+ ],
29014
+ "exports": [
29015
+ {
29016
+ "kind": "js",
29017
+ "name": "SwirlIconQrCodeScanner",
29018
+ "declaration": {
29019
+ "name": "SwirlIconQrCodeScanner"
29020
+ }
29021
+ },
29022
+ {
29023
+ "kind": "custom-element-definition",
29024
+ "name": "swirl-icon-qr-code-scanner",
29025
+ "declaration": {
29026
+ "name": "SwirlIconQrCodeScanner"
29027
+ }
29028
+ }
29029
+ ]
29030
+ },
28936
29031
  {
28937
29032
  "kind": "javascript-module",
28938
29033
  "path": "src/components/swirl-icon/icons/swirl-icon-ratio-four-to-three.tsx",
@@ -0,0 +1,7 @@
1
+ import { SwirlIconSize } from "../swirl-icon.types";
2
+ import { SwirlIconColor } from "../swirl-icon";
3
+ export declare class SwirlIconQrCodeScanner {
4
+ color?: SwirlIconColor;
5
+ size: SwirlIconSize;
6
+ render(): any;
7
+ }
@@ -2603,6 +2603,13 @@ export namespace Components {
2603
2603
  */
2604
2604
  "size": SwirlIconSize;
2605
2605
  }
2606
+ interface SwirlIconQrCodeScanner {
2607
+ "color"?: SwirlIconColor1;
2608
+ /**
2609
+ * @default 24
2610
+ */
2611
+ "size": SwirlIconSize;
2612
+ }
2606
2613
  interface SwirlIconRatioFourToThree {
2607
2614
  "color"?: SwirlIconColor1;
2608
2615
  /**
@@ -7287,6 +7294,12 @@ declare global {
7287
7294
  prototype: HTMLSwirlIconPublishedWithChangesElement;
7288
7295
  new (): HTMLSwirlIconPublishedWithChangesElement;
7289
7296
  };
7297
+ interface HTMLSwirlIconQrCodeScannerElement extends Components.SwirlIconQrCodeScanner, HTMLStencilElement {
7298
+ }
7299
+ var HTMLSwirlIconQrCodeScannerElement: {
7300
+ prototype: HTMLSwirlIconQrCodeScannerElement;
7301
+ new (): HTMLSwirlIconQrCodeScannerElement;
7302
+ };
7290
7303
  interface HTMLSwirlIconRatioFourToThreeElement extends Components.SwirlIconRatioFourToThree, HTMLStencilElement {
7291
7304
  }
7292
7305
  var HTMLSwirlIconRatioFourToThreeElement: {
@@ -9419,6 +9432,7 @@ declare global {
9419
9432
  "swirl-icon-public": HTMLSwirlIconPublicElement;
9420
9433
  "swirl-icon-public-off": HTMLSwirlIconPublicOffElement;
9421
9434
  "swirl-icon-published-with-changes": HTMLSwirlIconPublishedWithChangesElement;
9435
+ "swirl-icon-qr-code-scanner": HTMLSwirlIconQrCodeScannerElement;
9422
9436
  "swirl-icon-ratio-four-to-three": HTMLSwirlIconRatioFourToThreeElement;
9423
9437
  "swirl-icon-ratio-freeform": HTMLSwirlIconRatioFreeformElement;
9424
9438
  "swirl-icon-ratio-sixteen-to-nine": HTMLSwirlIconRatioSixteenToNineElement;
@@ -12037,6 +12051,13 @@ declare namespace LocalJSX {
12037
12051
  */
12038
12052
  "size"?: SwirlIconSize;
12039
12053
  }
12054
+ interface SwirlIconQrCodeScanner {
12055
+ "color"?: SwirlIconColor1;
12056
+ /**
12057
+ * @default 24
12058
+ */
12059
+ "size"?: SwirlIconSize;
12060
+ }
12040
12061
  interface SwirlIconRatioFourToThree {
12041
12062
  "color"?: SwirlIconColor1;
12042
12063
  /**
@@ -15871,6 +15892,10 @@ declare namespace LocalJSX {
15871
15892
  "color": SwirlIconColor;
15872
15893
  "size": SwirlIconSize;
15873
15894
  }
15895
+ interface SwirlIconQrCodeScannerAttributes {
15896
+ "color": SwirlIconColor;
15897
+ "size": SwirlIconSize;
15898
+ }
15874
15899
  interface SwirlIconRatioFourToThreeAttributes {
15875
15900
  "color": SwirlIconColor;
15876
15901
  "size": SwirlIconSize;
@@ -17369,6 +17394,7 @@ declare namespace LocalJSX {
17369
17394
  "swirl-icon-public": Omit<SwirlIconPublic, keyof SwirlIconPublicAttributes> & { [K in keyof SwirlIconPublic & keyof SwirlIconPublicAttributes]?: SwirlIconPublic[K] } & { [K in keyof SwirlIconPublic & keyof SwirlIconPublicAttributes as `attr:${K}`]?: SwirlIconPublicAttributes[K] } & { [K in keyof SwirlIconPublic & keyof SwirlIconPublicAttributes as `prop:${K}`]?: SwirlIconPublic[K] };
17370
17395
  "swirl-icon-public-off": Omit<SwirlIconPublicOff, keyof SwirlIconPublicOffAttributes> & { [K in keyof SwirlIconPublicOff & keyof SwirlIconPublicOffAttributes]?: SwirlIconPublicOff[K] } & { [K in keyof SwirlIconPublicOff & keyof SwirlIconPublicOffAttributes as `attr:${K}`]?: SwirlIconPublicOffAttributes[K] } & { [K in keyof SwirlIconPublicOff & keyof SwirlIconPublicOffAttributes as `prop:${K}`]?: SwirlIconPublicOff[K] };
17371
17396
  "swirl-icon-published-with-changes": Omit<SwirlIconPublishedWithChanges, keyof SwirlIconPublishedWithChangesAttributes> & { [K in keyof SwirlIconPublishedWithChanges & keyof SwirlIconPublishedWithChangesAttributes]?: SwirlIconPublishedWithChanges[K] } & { [K in keyof SwirlIconPublishedWithChanges & keyof SwirlIconPublishedWithChangesAttributes as `attr:${K}`]?: SwirlIconPublishedWithChangesAttributes[K] } & { [K in keyof SwirlIconPublishedWithChanges & keyof SwirlIconPublishedWithChangesAttributes as `prop:${K}`]?: SwirlIconPublishedWithChanges[K] };
17397
+ "swirl-icon-qr-code-scanner": Omit<SwirlIconQrCodeScanner, keyof SwirlIconQrCodeScannerAttributes> & { [K in keyof SwirlIconQrCodeScanner & keyof SwirlIconQrCodeScannerAttributes]?: SwirlIconQrCodeScanner[K] } & { [K in keyof SwirlIconQrCodeScanner & keyof SwirlIconQrCodeScannerAttributes as `attr:${K}`]?: SwirlIconQrCodeScannerAttributes[K] } & { [K in keyof SwirlIconQrCodeScanner & keyof SwirlIconQrCodeScannerAttributes as `prop:${K}`]?: SwirlIconQrCodeScanner[K] };
17372
17398
  "swirl-icon-ratio-four-to-three": Omit<SwirlIconRatioFourToThree, keyof SwirlIconRatioFourToThreeAttributes> & { [K in keyof SwirlIconRatioFourToThree & keyof SwirlIconRatioFourToThreeAttributes]?: SwirlIconRatioFourToThree[K] } & { [K in keyof SwirlIconRatioFourToThree & keyof SwirlIconRatioFourToThreeAttributes as `attr:${K}`]?: SwirlIconRatioFourToThreeAttributes[K] } & { [K in keyof SwirlIconRatioFourToThree & keyof SwirlIconRatioFourToThreeAttributes as `prop:${K}`]?: SwirlIconRatioFourToThree[K] };
17373
17399
  "swirl-icon-ratio-freeform": Omit<SwirlIconRatioFreeform, keyof SwirlIconRatioFreeformAttributes> & { [K in keyof SwirlIconRatioFreeform & keyof SwirlIconRatioFreeformAttributes]?: SwirlIconRatioFreeform[K] } & { [K in keyof SwirlIconRatioFreeform & keyof SwirlIconRatioFreeformAttributes as `attr:${K}`]?: SwirlIconRatioFreeformAttributes[K] } & { [K in keyof SwirlIconRatioFreeform & keyof SwirlIconRatioFreeformAttributes as `prop:${K}`]?: SwirlIconRatioFreeform[K] };
17374
17400
  "swirl-icon-ratio-sixteen-to-nine": Omit<SwirlIconRatioSixteenToNine, keyof SwirlIconRatioSixteenToNineAttributes> & { [K in keyof SwirlIconRatioSixteenToNine & keyof SwirlIconRatioSixteenToNineAttributes]?: SwirlIconRatioSixteenToNine[K] } & { [K in keyof SwirlIconRatioSixteenToNine & keyof SwirlIconRatioSixteenToNineAttributes as `attr:${K}`]?: SwirlIconRatioSixteenToNineAttributes[K] } & { [K in keyof SwirlIconRatioSixteenToNine & keyof SwirlIconRatioSixteenToNineAttributes as `prop:${K}`]?: SwirlIconRatioSixteenToNine[K] };
@@ -17868,6 +17894,7 @@ declare module "@stencil/core" {
17868
17894
  "swirl-icon-public": LocalJSX.IntrinsicElements["swirl-icon-public"] & JSXBase.HTMLAttributes<HTMLSwirlIconPublicElement>;
17869
17895
  "swirl-icon-public-off": LocalJSX.IntrinsicElements["swirl-icon-public-off"] & JSXBase.HTMLAttributes<HTMLSwirlIconPublicOffElement>;
17870
17896
  "swirl-icon-published-with-changes": LocalJSX.IntrinsicElements["swirl-icon-published-with-changes"] & JSXBase.HTMLAttributes<HTMLSwirlIconPublishedWithChangesElement>;
17897
+ "swirl-icon-qr-code-scanner": LocalJSX.IntrinsicElements["swirl-icon-qr-code-scanner"] & JSXBase.HTMLAttributes<HTMLSwirlIconQrCodeScannerElement>;
17871
17898
  "swirl-icon-ratio-four-to-three": LocalJSX.IntrinsicElements["swirl-icon-ratio-four-to-three"] & JSXBase.HTMLAttributes<HTMLSwirlIconRatioFourToThreeElement>;
17872
17899
  "swirl-icon-ratio-freeform": LocalJSX.IntrinsicElements["swirl-icon-ratio-freeform"] & JSXBase.HTMLAttributes<HTMLSwirlIconRatioFreeformElement>;
17873
17900
  "swirl-icon-ratio-sixteen-to-nine": LocalJSX.IntrinsicElements["swirl-icon-ratio-sixteen-to-nine"] & JSXBase.HTMLAttributes<HTMLSwirlIconRatioSixteenToNineElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-ai",
3
- "version": "0.469.0",
3
+ "version": "0.470.0",
4
4
  "description": "Swirl Design System AI package with artifacts for AI agents",
5
5
  "author": "Flip GmbH",
6
6
  "repository": "https://github.com/getflip/swirl",
@@ -46,7 +46,7 @@
46
46
  "zod": "3.24.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@getflip/swirl-components": "0.469.0",
49
+ "@getflip/swirl-components": "0.470.0",
50
50
  "@types/node": "25.3.0",
51
51
  "tsup": "^8.0.0",
52
52
  "tsx": "^4.7.0",