@getflip/swirl-ai 0.478.0 → 0.479.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-tooltip.md +1 -0
- package/dist/custom-elements.manifest.json +18 -0
- package/dist/types/components/swirl-chip/swirl-chip.d.ts +2 -0
- package/dist/types/components/swirl-tooltip/swirl-tooltip.d.ts +2 -0
- package/dist/types/components.d.ts +9 -0
- package/package.json +2 -2
|
@@ -12,6 +12,7 @@ The SwirlTooltip component is used to display a popup with information related t
|
|
|
12
12
|
|
|
13
13
|
- `active` (boolean | undefined) –
|
|
14
14
|
- `delay` (number | undefined) –
|
|
15
|
+
- `enableFlip` (boolean | undefined) –
|
|
15
16
|
- `intent` ("default" | "info" | "primary" | undefined) –
|
|
16
17
|
- `maxWidth` (string | undefined) –
|
|
17
18
|
- `position` ("bottom" | "left" | "right" | "top" | undefined) –
|
|
@@ -56575,6 +56575,14 @@
|
|
|
56575
56575
|
"default": "200",
|
|
56576
56576
|
"fieldName": "delay"
|
|
56577
56577
|
},
|
|
56578
|
+
{
|
|
56579
|
+
"name": "enable-flip",
|
|
56580
|
+
"type": {
|
|
56581
|
+
"text": "boolean | undefined"
|
|
56582
|
+
},
|
|
56583
|
+
"default": "true",
|
|
56584
|
+
"fieldName": "enableFlip"
|
|
56585
|
+
},
|
|
56578
56586
|
{
|
|
56579
56587
|
"name": "intent",
|
|
56580
56588
|
"type": {
|
|
@@ -56653,6 +56661,16 @@
|
|
|
56653
56661
|
"readonly": true,
|
|
56654
56662
|
"attribute": "delay"
|
|
56655
56663
|
},
|
|
56664
|
+
{
|
|
56665
|
+
"kind": "field",
|
|
56666
|
+
"name": "enableFlip",
|
|
56667
|
+
"type": {
|
|
56668
|
+
"text": "boolean | undefined"
|
|
56669
|
+
},
|
|
56670
|
+
"default": "true",
|
|
56671
|
+
"readonly": true,
|
|
56672
|
+
"attribute": "enable-flip"
|
|
56673
|
+
},
|
|
56656
56674
|
{
|
|
56657
56675
|
"kind": "field",
|
|
56658
56676
|
"name": "intent",
|
|
@@ -27,8 +27,10 @@ export declare class SwirlChip {
|
|
|
27
27
|
removeChip?: EventEmitter<MouseEvent>;
|
|
28
28
|
private iconEl;
|
|
29
29
|
private trailingIconEl;
|
|
30
|
+
private isDesktop;
|
|
30
31
|
private mediaQueryUnsubscribe;
|
|
31
32
|
componentDidLoad(): void;
|
|
33
|
+
componentDidRender(): void;
|
|
32
34
|
disconnectedCallback(): void;
|
|
33
35
|
private forceIconProps;
|
|
34
36
|
render(): any;
|
|
@@ -10,6 +10,7 @@ export declare class SwirlTooltip {
|
|
|
10
10
|
active: boolean;
|
|
11
11
|
content: string;
|
|
12
12
|
delay?: number;
|
|
13
|
+
enableFlip?: boolean;
|
|
13
14
|
intent: SwirlTooltipIntent;
|
|
14
15
|
maxWidth?: string;
|
|
15
16
|
position?: SwirlTooltipPosition;
|
|
@@ -26,6 +27,7 @@ export declare class SwirlTooltip {
|
|
|
26
27
|
private options;
|
|
27
28
|
private popperEl;
|
|
28
29
|
watchPosition(): void;
|
|
30
|
+
watchEnableFlip(): void;
|
|
29
31
|
onMouseEnter(): void;
|
|
30
32
|
onMouseLeave(): void;
|
|
31
33
|
onWindowResize(): void;
|
|
@@ -5206,6 +5206,10 @@ export namespace Components {
|
|
|
5206
5206
|
* @default 200
|
|
5207
5207
|
*/
|
|
5208
5208
|
"delay"?: number;
|
|
5209
|
+
/**
|
|
5210
|
+
* @default true
|
|
5211
|
+
*/
|
|
5212
|
+
"enableFlip"?: boolean;
|
|
5209
5213
|
"hide": () => Promise<void>;
|
|
5210
5214
|
/**
|
|
5211
5215
|
* @default "default"
|
|
@@ -14588,6 +14592,10 @@ declare namespace LocalJSX {
|
|
|
14588
14592
|
* @default 200
|
|
14589
14593
|
*/
|
|
14590
14594
|
"delay"?: number;
|
|
14595
|
+
/**
|
|
14596
|
+
* @default true
|
|
14597
|
+
*/
|
|
14598
|
+
"enableFlip"?: boolean;
|
|
14591
14599
|
/**
|
|
14592
14600
|
* @default "default"
|
|
14593
14601
|
*/
|
|
@@ -17169,6 +17177,7 @@ declare namespace LocalJSX {
|
|
|
17169
17177
|
"active": boolean;
|
|
17170
17178
|
"content": string;
|
|
17171
17179
|
"delay": number;
|
|
17180
|
+
"enableFlip": boolean;
|
|
17172
17181
|
"intent": SwirlTooltipIntent;
|
|
17173
17182
|
"maxWidth": string;
|
|
17174
17183
|
"position": SwirlTooltipPosition;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.479.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.479.0",
|
|
30
30
|
"@types/node": "25.3.0",
|
|
31
31
|
"tsx": "^4.7.0",
|
|
32
32
|
"typescript": "5.9.3"
|