@getflip/swirl-ai 0.541.0 → 0.542.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-icon-palette.md +50 -0
- package/dist/agent/components-index.json +4 -0
- package/dist/custom-elements.manifest.json +111 -0
- package/dist/types/components/swirl-icon/icons/swirl-icon-palette.d.ts +8 -0
- package/dist/types/components.d.ts +30 -0
- package/package.json +2 -2
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# `<swirl-icon-palette>`
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Custom element: swirl-icon-palette.
|
|
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-palette></swirl-icon-palette>
|
|
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.
|
|
@@ -31143,6 +31143,117 @@
|
|
|
31143
31143
|
}
|
|
31144
31144
|
]
|
|
31145
31145
|
},
|
|
31146
|
+
{
|
|
31147
|
+
"kind": "javascript-module",
|
|
31148
|
+
"path": "src/components/swirl-icon/icons/swirl-icon-palette.tsx",
|
|
31149
|
+
"declarations": [
|
|
31150
|
+
{
|
|
31151
|
+
"kind": "class",
|
|
31152
|
+
"customElement": true,
|
|
31153
|
+
"tagName": "swirl-icon-palette",
|
|
31154
|
+
"name": "SwirlIconPalette",
|
|
31155
|
+
"attributes": [
|
|
31156
|
+
{
|
|
31157
|
+
"name": "color",
|
|
31158
|
+
"type": {
|
|
31159
|
+
"text": "\"critical\" | \"default\" | \"disabled\" | \"highlight\" | \"info\" | \"on-action-primary\" | \"on-image\" | \"on-status\" | \"on-surface-highlight\" | \"on-surface-highlight-subdued\" | \"strong\" | \"success\" | \"warning\" | undefined",
|
|
31160
|
+
"references": [
|
|
31161
|
+
{
|
|
31162
|
+
"name": "SwirlIconColor",
|
|
31163
|
+
"module": "../swirl-icon"
|
|
31164
|
+
}
|
|
31165
|
+
]
|
|
31166
|
+
},
|
|
31167
|
+
"fieldName": "color"
|
|
31168
|
+
},
|
|
31169
|
+
{
|
|
31170
|
+
"name": "label",
|
|
31171
|
+
"type": {
|
|
31172
|
+
"text": "string | undefined"
|
|
31173
|
+
},
|
|
31174
|
+
"fieldName": "label"
|
|
31175
|
+
},
|
|
31176
|
+
{
|
|
31177
|
+
"name": "size",
|
|
31178
|
+
"type": {
|
|
31179
|
+
"text": "16 | 20 | 24 | 28 | undefined",
|
|
31180
|
+
"references": [
|
|
31181
|
+
{
|
|
31182
|
+
"name": "SwirlIconSize",
|
|
31183
|
+
"module": "../swirl-icon.types"
|
|
31184
|
+
}
|
|
31185
|
+
]
|
|
31186
|
+
},
|
|
31187
|
+
"default": "24",
|
|
31188
|
+
"fieldName": "size"
|
|
31189
|
+
}
|
|
31190
|
+
],
|
|
31191
|
+
"members": [
|
|
31192
|
+
{
|
|
31193
|
+
"kind": "field",
|
|
31194
|
+
"name": "color",
|
|
31195
|
+
"type": {
|
|
31196
|
+
"text": "\"critical\" | \"default\" | \"disabled\" | \"highlight\" | \"info\" | \"on-action-primary\" | \"on-image\" | \"on-status\" | \"on-surface-highlight\" | \"on-surface-highlight-subdued\" | \"strong\" | \"success\" | \"warning\" | undefined",
|
|
31197
|
+
"references": [
|
|
31198
|
+
{
|
|
31199
|
+
"name": "SwirlIconColor",
|
|
31200
|
+
"module": "../swirl-icon"
|
|
31201
|
+
}
|
|
31202
|
+
]
|
|
31203
|
+
},
|
|
31204
|
+
"readonly": true,
|
|
31205
|
+
"attribute": "color"
|
|
31206
|
+
},
|
|
31207
|
+
{
|
|
31208
|
+
"kind": "field",
|
|
31209
|
+
"name": "label",
|
|
31210
|
+
"type": {
|
|
31211
|
+
"text": "string | undefined"
|
|
31212
|
+
},
|
|
31213
|
+
"readonly": true,
|
|
31214
|
+
"attribute": "label"
|
|
31215
|
+
},
|
|
31216
|
+
{
|
|
31217
|
+
"kind": "field",
|
|
31218
|
+
"name": "size",
|
|
31219
|
+
"type": {
|
|
31220
|
+
"text": "16 | 20 | 24 | 28 | undefined",
|
|
31221
|
+
"references": [
|
|
31222
|
+
{
|
|
31223
|
+
"name": "SwirlIconSize",
|
|
31224
|
+
"module": "../swirl-icon.types"
|
|
31225
|
+
}
|
|
31226
|
+
]
|
|
31227
|
+
},
|
|
31228
|
+
"default": "24",
|
|
31229
|
+
"readonly": true,
|
|
31230
|
+
"attribute": "size"
|
|
31231
|
+
}
|
|
31232
|
+
],
|
|
31233
|
+
"cssParts": [
|
|
31234
|
+
{
|
|
31235
|
+
"name": "icon"
|
|
31236
|
+
}
|
|
31237
|
+
]
|
|
31238
|
+
}
|
|
31239
|
+
],
|
|
31240
|
+
"exports": [
|
|
31241
|
+
{
|
|
31242
|
+
"kind": "js",
|
|
31243
|
+
"name": "SwirlIconPalette",
|
|
31244
|
+
"declaration": {
|
|
31245
|
+
"name": "SwirlIconPalette"
|
|
31246
|
+
}
|
|
31247
|
+
},
|
|
31248
|
+
{
|
|
31249
|
+
"kind": "custom-element-definition",
|
|
31250
|
+
"name": "swirl-icon-palette",
|
|
31251
|
+
"declaration": {
|
|
31252
|
+
"name": "SwirlIconPalette"
|
|
31253
|
+
}
|
|
31254
|
+
}
|
|
31255
|
+
]
|
|
31256
|
+
},
|
|
31146
31257
|
{
|
|
31147
31258
|
"kind": "javascript-module",
|
|
31148
31259
|
"path": "src/components/swirl-icon/icons/swirl-icon-passkey.tsx",
|
|
@@ -2744,6 +2744,14 @@ export namespace Components {
|
|
|
2744
2744
|
*/
|
|
2745
2745
|
"size": SwirlIconSize;
|
|
2746
2746
|
}
|
|
2747
|
+
interface SwirlIconPalette {
|
|
2748
|
+
"color"?: SwirlIconColor1;
|
|
2749
|
+
"label"?: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* @default 24
|
|
2752
|
+
*/
|
|
2753
|
+
"size": SwirlIconSize;
|
|
2754
|
+
}
|
|
2747
2755
|
interface SwirlIconPasskey {
|
|
2748
2756
|
"color"?: SwirlIconColor1;
|
|
2749
2757
|
"label"?: string;
|
|
@@ -7949,6 +7957,12 @@ declare global {
|
|
|
7949
7957
|
prototype: HTMLSwirlIconOpenInNewElement;
|
|
7950
7958
|
new (): HTMLSwirlIconOpenInNewElement;
|
|
7951
7959
|
};
|
|
7960
|
+
interface HTMLSwirlIconPaletteElement extends Components.SwirlIconPalette, HTMLStencilElement {
|
|
7961
|
+
}
|
|
7962
|
+
var HTMLSwirlIconPaletteElement: {
|
|
7963
|
+
prototype: HTMLSwirlIconPaletteElement;
|
|
7964
|
+
new (): HTMLSwirlIconPaletteElement;
|
|
7965
|
+
};
|
|
7952
7966
|
interface HTMLSwirlIconPasskeyElement extends Components.SwirlIconPasskey, HTMLStencilElement {
|
|
7953
7967
|
}
|
|
7954
7968
|
var HTMLSwirlIconPasskeyElement: {
|
|
@@ -10551,6 +10565,7 @@ declare global {
|
|
|
10551
10565
|
"swirl-icon-notifications-off": HTMLSwirlIconNotificationsOffElement;
|
|
10552
10566
|
"swirl-icon-open-in-full": HTMLSwirlIconOpenInFullElement;
|
|
10553
10567
|
"swirl-icon-open-in-new": HTMLSwirlIconOpenInNewElement;
|
|
10568
|
+
"swirl-icon-palette": HTMLSwirlIconPaletteElement;
|
|
10554
10569
|
"swirl-icon-passkey": HTMLSwirlIconPasskeyElement;
|
|
10555
10570
|
"swirl-icon-password": HTMLSwirlIconPasswordElement;
|
|
10556
10571
|
"swirl-icon-patient-list": HTMLSwirlIconPatientListElement;
|
|
@@ -13388,6 +13403,14 @@ declare namespace LocalJSX {
|
|
|
13388
13403
|
*/
|
|
13389
13404
|
"size"?: SwirlIconSize;
|
|
13390
13405
|
}
|
|
13406
|
+
interface SwirlIconPalette {
|
|
13407
|
+
"color"?: SwirlIconColor1;
|
|
13408
|
+
"label"?: string;
|
|
13409
|
+
/**
|
|
13410
|
+
* @default 24
|
|
13411
|
+
*/
|
|
13412
|
+
"size"?: SwirlIconSize;
|
|
13413
|
+
}
|
|
13391
13414
|
interface SwirlIconPasskey {
|
|
13392
13415
|
"color"?: SwirlIconColor1;
|
|
13393
13416
|
"label"?: string;
|
|
@@ -17958,6 +17981,11 @@ declare namespace LocalJSX {
|
|
|
17958
17981
|
"label": string;
|
|
17959
17982
|
"size": SwirlIconSize;
|
|
17960
17983
|
}
|
|
17984
|
+
interface SwirlIconPaletteAttributes {
|
|
17985
|
+
"color": SwirlIconColor;
|
|
17986
|
+
"label": string;
|
|
17987
|
+
"size": SwirlIconSize;
|
|
17988
|
+
}
|
|
17961
17989
|
interface SwirlIconPasskeyAttributes {
|
|
17962
17990
|
"color": SwirlIconColor;
|
|
17963
17991
|
"label": string;
|
|
@@ -19757,6 +19785,7 @@ declare namespace LocalJSX {
|
|
|
19757
19785
|
"swirl-icon-notifications-off": Omit<SwirlIconNotificationsOff, keyof SwirlIconNotificationsOffAttributes> & { [K in keyof SwirlIconNotificationsOff & keyof SwirlIconNotificationsOffAttributes]?: SwirlIconNotificationsOff[K] } & { [K in keyof SwirlIconNotificationsOff & keyof SwirlIconNotificationsOffAttributes as `attr:${K}`]?: SwirlIconNotificationsOffAttributes[K] } & { [K in keyof SwirlIconNotificationsOff & keyof SwirlIconNotificationsOffAttributes as `prop:${K}`]?: SwirlIconNotificationsOff[K] };
|
|
19758
19786
|
"swirl-icon-open-in-full": Omit<SwirlIconOpenInFull, keyof SwirlIconOpenInFullAttributes> & { [K in keyof SwirlIconOpenInFull & keyof SwirlIconOpenInFullAttributes]?: SwirlIconOpenInFull[K] } & { [K in keyof SwirlIconOpenInFull & keyof SwirlIconOpenInFullAttributes as `attr:${K}`]?: SwirlIconOpenInFullAttributes[K] } & { [K in keyof SwirlIconOpenInFull & keyof SwirlIconOpenInFullAttributes as `prop:${K}`]?: SwirlIconOpenInFull[K] };
|
|
19759
19787
|
"swirl-icon-open-in-new": Omit<SwirlIconOpenInNew, keyof SwirlIconOpenInNewAttributes> & { [K in keyof SwirlIconOpenInNew & keyof SwirlIconOpenInNewAttributes]?: SwirlIconOpenInNew[K] } & { [K in keyof SwirlIconOpenInNew & keyof SwirlIconOpenInNewAttributes as `attr:${K}`]?: SwirlIconOpenInNewAttributes[K] } & { [K in keyof SwirlIconOpenInNew & keyof SwirlIconOpenInNewAttributes as `prop:${K}`]?: SwirlIconOpenInNew[K] };
|
|
19788
|
+
"swirl-icon-palette": Omit<SwirlIconPalette, keyof SwirlIconPaletteAttributes> & { [K in keyof SwirlIconPalette & keyof SwirlIconPaletteAttributes]?: SwirlIconPalette[K] } & { [K in keyof SwirlIconPalette & keyof SwirlIconPaletteAttributes as `attr:${K}`]?: SwirlIconPaletteAttributes[K] } & { [K in keyof SwirlIconPalette & keyof SwirlIconPaletteAttributes as `prop:${K}`]?: SwirlIconPalette[K] };
|
|
19760
19789
|
"swirl-icon-passkey": Omit<SwirlIconPasskey, keyof SwirlIconPasskeyAttributes> & { [K in keyof SwirlIconPasskey & keyof SwirlIconPasskeyAttributes]?: SwirlIconPasskey[K] } & { [K in keyof SwirlIconPasskey & keyof SwirlIconPasskeyAttributes as `attr:${K}`]?: SwirlIconPasskeyAttributes[K] } & { [K in keyof SwirlIconPasskey & keyof SwirlIconPasskeyAttributes as `prop:${K}`]?: SwirlIconPasskey[K] };
|
|
19761
19790
|
"swirl-icon-password": Omit<SwirlIconPassword, keyof SwirlIconPasswordAttributes> & { [K in keyof SwirlIconPassword & keyof SwirlIconPasswordAttributes]?: SwirlIconPassword[K] } & { [K in keyof SwirlIconPassword & keyof SwirlIconPasswordAttributes as `attr:${K}`]?: SwirlIconPasswordAttributes[K] } & { [K in keyof SwirlIconPassword & keyof SwirlIconPasswordAttributes as `prop:${K}`]?: SwirlIconPassword[K] };
|
|
19762
19791
|
"swirl-icon-patient-list": Omit<SwirlIconPatientList, keyof SwirlIconPatientListAttributes> & { [K in keyof SwirlIconPatientList & keyof SwirlIconPatientListAttributes]?: SwirlIconPatientList[K] } & { [K in keyof SwirlIconPatientList & keyof SwirlIconPatientListAttributes as `attr:${K}`]?: SwirlIconPatientListAttributes[K] } & { [K in keyof SwirlIconPatientList & keyof SwirlIconPatientListAttributes as `prop:${K}`]?: SwirlIconPatientList[K] };
|
|
@@ -20323,6 +20352,7 @@ declare module "@stencil/core" {
|
|
|
20323
20352
|
"swirl-icon-notifications-off": LocalJSX.IntrinsicElements["swirl-icon-notifications-off"] & JSXBase.HTMLAttributes<HTMLSwirlIconNotificationsOffElement>;
|
|
20324
20353
|
"swirl-icon-open-in-full": LocalJSX.IntrinsicElements["swirl-icon-open-in-full"] & JSXBase.HTMLAttributes<HTMLSwirlIconOpenInFullElement>;
|
|
20325
20354
|
"swirl-icon-open-in-new": LocalJSX.IntrinsicElements["swirl-icon-open-in-new"] & JSXBase.HTMLAttributes<HTMLSwirlIconOpenInNewElement>;
|
|
20355
|
+
"swirl-icon-palette": LocalJSX.IntrinsicElements["swirl-icon-palette"] & JSXBase.HTMLAttributes<HTMLSwirlIconPaletteElement>;
|
|
20326
20356
|
"swirl-icon-passkey": LocalJSX.IntrinsicElements["swirl-icon-passkey"] & JSXBase.HTMLAttributes<HTMLSwirlIconPasskeyElement>;
|
|
20327
20357
|
"swirl-icon-password": LocalJSX.IntrinsicElements["swirl-icon-password"] & JSXBase.HTMLAttributes<HTMLSwirlIconPasswordElement>;
|
|
20328
20358
|
"swirl-icon-patient-list": LocalJSX.IntrinsicElements["swirl-icon-patient-list"] & JSXBase.HTMLAttributes<HTMLSwirlIconPatientListElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.542.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.542.0",
|
|
30
30
|
"@getflip/swirl-tokens": "2.14.3",
|
|
31
31
|
"@types/node": "25.3.0",
|
|
32
32
|
"tsx": "^4.7.0",
|