@getflip/swirl-ai 0.537.0 → 0.538.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-menu.md +1 -0
- package/dist/custom-elements.manifest.json +16 -0
- package/dist/types/components/swirl-form-control/swirl-form-control.d.ts +4 -0
- package/dist/types/components/swirl-menu/swirl-menu.d.ts +3 -0
- package/dist/types/components.d.ts +3 -0
- package/package.json +2 -2
|
@@ -12,6 +12,7 @@ The SwirlMenu component is used to offer a list of choices in form of a vertical
|
|
|
12
12
|
|
|
13
13
|
- `active` (boolean | undefined) –
|
|
14
14
|
- `level` (number | undefined) –
|
|
15
|
+
- `maxHeight` (string | undefined) –
|
|
15
16
|
- `mobileBackButtonLabel` (string | undefined) –
|
|
16
17
|
- `mobileCloseMenuButtonLabel` (string | undefined) –
|
|
17
18
|
- `mobileDoneButtonLabel` (string | undefined) –
|
|
@@ -44999,6 +44999,13 @@
|
|
|
44999
44999
|
"default": "0",
|
|
45000
45000
|
"fieldName": "level"
|
|
45001
45001
|
},
|
|
45002
|
+
{
|
|
45003
|
+
"name": "max-height",
|
|
45004
|
+
"type": {
|
|
45005
|
+
"text": "string | undefined"
|
|
45006
|
+
},
|
|
45007
|
+
"fieldName": "maxHeight"
|
|
45008
|
+
},
|
|
45002
45009
|
{
|
|
45003
45010
|
"name": "mobile-back-button-label",
|
|
45004
45011
|
"type": {
|
|
@@ -45086,6 +45093,15 @@
|
|
|
45086
45093
|
"default": "0",
|
|
45087
45094
|
"attribute": "level"
|
|
45088
45095
|
},
|
|
45096
|
+
{
|
|
45097
|
+
"kind": "field",
|
|
45098
|
+
"name": "maxHeight",
|
|
45099
|
+
"type": {
|
|
45100
|
+
"text": "string | undefined"
|
|
45101
|
+
},
|
|
45102
|
+
"readonly": true,
|
|
45103
|
+
"attribute": "max-height"
|
|
45104
|
+
},
|
|
45089
45105
|
{
|
|
45090
45106
|
"kind": "field",
|
|
45091
45107
|
"name": "mobileBackButtonLabel",
|
|
@@ -40,6 +40,10 @@ export declare class SwirlFormControl {
|
|
|
40
40
|
* editing has to be turned off via the contenteditable attribute itself. Its
|
|
41
41
|
* value is set to "false" (not removed), so the element is still detected as
|
|
42
42
|
* a contenteditable control.
|
|
43
|
+
*
|
|
44
|
+
* The previous value is only restored if editing was turned off here and
|
|
45
|
+
* the attribute is still "false". Values set by the app in the meantime
|
|
46
|
+
* (e.g. by a form library toggling its own disabled state) are kept.
|
|
43
47
|
*/
|
|
44
48
|
private setContenteditableState;
|
|
45
49
|
setInputElementInlineState(): void;
|
|
@@ -9,6 +9,7 @@ export declare class SwirlMenu {
|
|
|
9
9
|
active?: boolean;
|
|
10
10
|
label: string;
|
|
11
11
|
level?: number;
|
|
12
|
+
maxHeight?: string;
|
|
12
13
|
mobileBackButtonLabel?: string;
|
|
13
14
|
mobileCloseMenuButtonLabel?: string;
|
|
14
15
|
placement?: Placement;
|
|
@@ -16,6 +17,7 @@ export declare class SwirlMenu {
|
|
|
16
17
|
value?: string;
|
|
17
18
|
variant?: SwirlMenuVariant;
|
|
18
19
|
activeLevel: number;
|
|
20
|
+
computedMaxHeight: string;
|
|
19
21
|
mobile: boolean;
|
|
20
22
|
position: ComputePositionReturn;
|
|
21
23
|
done: EventEmitter<void>;
|
|
@@ -32,6 +34,7 @@ export declare class SwirlMenu {
|
|
|
32
34
|
componentDidLoad(): void;
|
|
33
35
|
disconnectedCallback(): void;
|
|
34
36
|
watchActive(): void;
|
|
37
|
+
watchMaxHeight(): void;
|
|
35
38
|
watchValue(): void;
|
|
36
39
|
/**
|
|
37
40
|
* Activate a menu item with a sub menu. Only callable on a root menu.
|
|
@@ -3794,6 +3794,7 @@ export namespace Components {
|
|
|
3794
3794
|
* @default 0
|
|
3795
3795
|
*/
|
|
3796
3796
|
"level"?: number;
|
|
3797
|
+
"maxHeight"?: string;
|
|
3797
3798
|
/**
|
|
3798
3799
|
* @default "Back"
|
|
3799
3800
|
*/
|
|
@@ -14330,6 +14331,7 @@ declare namespace LocalJSX {
|
|
|
14330
14331
|
* @default 0
|
|
14331
14332
|
*/
|
|
14332
14333
|
"level"?: number;
|
|
14334
|
+
"maxHeight"?: string;
|
|
14333
14335
|
/**
|
|
14334
14336
|
* @default "Back"
|
|
14335
14337
|
*/
|
|
@@ -18427,6 +18429,7 @@ declare namespace LocalJSX {
|
|
|
18427
18429
|
"active": boolean;
|
|
18428
18430
|
"label": string;
|
|
18429
18431
|
"level": number;
|
|
18432
|
+
"maxHeight": string;
|
|
18430
18433
|
"mobileBackButtonLabel": string;
|
|
18431
18434
|
"mobileCloseMenuButtonLabel": string;
|
|
18432
18435
|
"placement": Placement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.538.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.538.0",
|
|
30
30
|
"@getflip/swirl-tokens": "2.14.3",
|
|
31
31
|
"@types/node": "25.3.0",
|
|
32
32
|
"tsx": "^4.7.0",
|