@getflip/swirl-ai 0.457.0 → 0.458.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.
|
@@ -17,6 +17,8 @@ The SwirlTreeNavigationItem component is used to for the main navigation of the
|
|
|
17
17
|
- `href` (string | undefined) –
|
|
18
18
|
- `icon` (string | undefined) –
|
|
19
19
|
- `level` (number | undefined) –
|
|
20
|
+
- `markAsNew` (boolean | undefined) –
|
|
21
|
+
- `markAsNewLabel` (string | undefined) –
|
|
20
22
|
- `target` (string | undefined) –
|
|
21
23
|
|
|
22
24
|
## Slots
|
|
@@ -55243,6 +55243,21 @@
|
|
|
55243
55243
|
"default": "1",
|
|
55244
55244
|
"fieldName": "level"
|
|
55245
55245
|
},
|
|
55246
|
+
{
|
|
55247
|
+
"name": "mark-as-new",
|
|
55248
|
+
"type": {
|
|
55249
|
+
"text": "boolean | undefined"
|
|
55250
|
+
},
|
|
55251
|
+
"fieldName": "markAsNew"
|
|
55252
|
+
},
|
|
55253
|
+
{
|
|
55254
|
+
"name": "mark-as-new-label",
|
|
55255
|
+
"type": {
|
|
55256
|
+
"text": "string | undefined"
|
|
55257
|
+
},
|
|
55258
|
+
"default": "\"New\"",
|
|
55259
|
+
"fieldName": "markAsNewLabel"
|
|
55260
|
+
},
|
|
55246
55261
|
{
|
|
55247
55262
|
"name": "navigation-item-id",
|
|
55248
55263
|
"type": {
|
|
@@ -55325,6 +55340,25 @@
|
|
|
55325
55340
|
"readonly": true,
|
|
55326
55341
|
"attribute": "level"
|
|
55327
55342
|
},
|
|
55343
|
+
{
|
|
55344
|
+
"kind": "field",
|
|
55345
|
+
"name": "markAsNew",
|
|
55346
|
+
"type": {
|
|
55347
|
+
"text": "boolean | undefined"
|
|
55348
|
+
},
|
|
55349
|
+
"readonly": true,
|
|
55350
|
+
"attribute": "mark-as-new"
|
|
55351
|
+
},
|
|
55352
|
+
{
|
|
55353
|
+
"kind": "field",
|
|
55354
|
+
"name": "markAsNewLabel",
|
|
55355
|
+
"type": {
|
|
55356
|
+
"text": "string | undefined"
|
|
55357
|
+
},
|
|
55358
|
+
"default": "\"New\"",
|
|
55359
|
+
"readonly": true,
|
|
55360
|
+
"attribute": "mark-as-new-label"
|
|
55361
|
+
},
|
|
55328
55362
|
{
|
|
55329
55363
|
"kind": "field",
|
|
55330
55364
|
"name": "navigationItemId",
|
|
@@ -5108,6 +5108,11 @@ export namespace Components {
|
|
|
5108
5108
|
* @default 1
|
|
5109
5109
|
*/
|
|
5110
5110
|
"level"?: number;
|
|
5111
|
+
"markAsNew"?: boolean;
|
|
5112
|
+
/**
|
|
5113
|
+
* @default "New"
|
|
5114
|
+
*/
|
|
5115
|
+
"markAsNewLabel"?: string;
|
|
5111
5116
|
"navigationItemId": string;
|
|
5112
5117
|
"target"?: string;
|
|
5113
5118
|
}
|
|
@@ -14227,6 +14232,11 @@ declare namespace LocalJSX {
|
|
|
14227
14232
|
* @default 1
|
|
14228
14233
|
*/
|
|
14229
14234
|
"level"?: number;
|
|
14235
|
+
"markAsNew"?: boolean;
|
|
14236
|
+
/**
|
|
14237
|
+
* @default "New"
|
|
14238
|
+
*/
|
|
14239
|
+
"markAsNewLabel"?: string;
|
|
14230
14240
|
"navigationItemId": string;
|
|
14231
14241
|
"onExpansionChange"?: (event: SwirlTreeNavigationItemCustomEvent<boolean>) => void;
|
|
14232
14242
|
"target"?: string;
|
|
@@ -16709,6 +16719,8 @@ declare namespace LocalJSX {
|
|
|
16709
16719
|
"icon": string;
|
|
16710
16720
|
"label": string;
|
|
16711
16721
|
"target": string;
|
|
16722
|
+
"markAsNew": boolean;
|
|
16723
|
+
"markAsNewLabel": string;
|
|
16712
16724
|
"navigationItemId": string;
|
|
16713
16725
|
"level": number;
|
|
16714
16726
|
"expandable": boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getflip/swirl-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.458.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.
|
|
49
|
+
"@getflip/swirl-components": "0.458.0",
|
|
50
50
|
"@types/node": "25.3.0",
|
|
51
51
|
"tsup": "^8.0.0",
|
|
52
52
|
"tsx": "^4.7.0",
|