@uni-design-system/uni-mcp 4.1.2 → 4.2.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.
@@ -7,16 +7,16 @@ import { z } from "zod";
7
7
  // src/data/uni-index.json
8
8
  var uni_index_default = {
9
9
  meta: {
10
- version: "5.2.0",
11
- builtAt: "2026-07-24T03:22:37.140Z",
10
+ version: "6.0.0",
11
+ builtAt: "2026-07-24T13:32:56.708Z",
12
12
  frameworks: [
13
13
  "angular"
14
14
  ],
15
15
  counts: {
16
- components: 69,
17
- tokens: 272,
16
+ components: 70,
17
+ tokens: 296,
18
18
  themes: 2,
19
- examples: 126
19
+ examples: 132
20
20
  }
21
21
  },
22
22
  components: [
@@ -27,11 +27,11 @@ var uni_index_default = {
27
27
  summary: "",
28
28
  description: "",
29
29
  category: "feedback",
30
- version: "5.2.0",
30
+ version: "6.0.0",
31
31
  bindings: {
32
32
  angular: {
33
33
  importPath: "@uni-design-system/uni-angular",
34
- selectorOrTag: "uni-alert, Alert",
34
+ selectorOrTag: "uni-alert",
35
35
  api: [
36
36
  {
37
37
  name: "show",
@@ -78,7 +78,7 @@ var uni_index_default = {
78
78
  {
79
79
  title: "Primary",
80
80
  framework: "angular",
81
- code: "<!-- Storybook story: Primary -->\n<Button (click)=\"alert.open()\">Show Alert</Button>\n<Alert #alert ${argsToTemplate(props)}>\n ${ngContent}\n</Alert>\n<!-- args:\n{\n ngContent: 'This is an alert!',\n variant: 'tertiary',\n symbolName: 'privacy_tip',\n }\n-->"
81
+ code: "<!-- Storybook story: Primary -->\n<button text-button (click)=\"alert.open()\">Show Alert</button>\n<uni-alert #alert ${argsToTemplate(props)}>\n ${ngContent}\n</uni-alert>\n<!-- args:\n{\n ngContent: 'This is an alert!',\n variant: 'tertiary',\n symbolName: 'privacy_tip',\n }\n-->"
82
82
  }
83
83
  ],
84
84
  guidelines: {
@@ -101,11 +101,11 @@ var uni_index_default = {
101
101
  summary: "",
102
102
  description: "",
103
103
  category: "components",
104
- version: "5.2.0",
104
+ version: "6.0.0",
105
105
  bindings: {
106
106
  angular: {
107
107
  importPath: "@uni-design-system/uni-angular",
108
- selectorOrTag: "uni-app-bar, AppBar",
108
+ selectorOrTag: "uni-app-bar",
109
109
  api: [
110
110
  {
111
111
  name: "title",
@@ -155,11 +155,11 @@ var uni_index_default = {
155
155
  summary: "",
156
156
  description: "",
157
157
  category: "components",
158
- version: "5.2.0",
158
+ version: "6.0.0",
159
159
  bindings: {
160
160
  angular: {
161
161
  importPath: "@uni-design-system/uni-angular",
162
- selectorOrTag: "uni-avatar, Avatar",
162
+ selectorOrTag: "uni-avatar",
163
163
  api: [
164
164
  {
165
165
  name: "src",
@@ -190,7 +190,7 @@ var uni_index_default = {
190
190
  title: "Initials",
191
191
  framework: "angular",
192
192
  code: `<!-- Storybook story: Initials -->
193
- <div style="display: flex; gap: 12px; align-items: center;">
193
+ <div row-layout gap="sm" alignItems="center">
194
194
  <uni-avatar name="Ada Lovelace" size="sm" />
195
195
  <uni-avatar name="Grace Hopper" size="md" variant="secondary" />
196
196
  <uni-avatar name="Katherine Johnson" size="lg" variant="tertiary" />
@@ -204,12 +204,12 @@ var uni_index_default = {
204
204
  {
205
205
  title: "Sizes And Variants",
206
206
  framework: "angular",
207
- code: '<!-- Storybook story: Sizes And Variants -->\n<div style="display: flex; gap: 12px; align-items: center;">\n<uni-avatar name="Ada Lovelace" size="sm" />\n<uni-avatar name="Grace Hopper" size="md" variant="secondary" />\n<uni-avatar name="Katherine Johnson" size="lg" variant="tertiary" />\n<uni-avatar name="Annie Easley" size="xl" variant="success" />\n<uni-avatar size="lg" variant="quaternary" />\n</div>'
207
+ code: '<!-- Storybook story: Sizes And Variants -->\n<div row-layout gap="sm" alignItems="center">\n<uni-avatar name="Ada Lovelace" size="sm" />\n<uni-avatar name="Grace Hopper" size="md" variant="secondary" />\n<uni-avatar name="Katherine Johnson" size="lg" variant="tertiary" />\n<uni-avatar name="Annie Easley" size="xl" variant="success" />\n<uni-avatar size="lg" variant="quaternary" />\n</div>'
208
208
  },
209
209
  {
210
210
  title: "Group",
211
211
  framework: "angular",
212
- code: '<!-- Storybook story: Group -->\n<div style="display: flex; gap: 12px; align-items: center;">\n<uni-avatar name="Ada Lovelace" size="sm" />\n<uni-avatar name="Grace Hopper" size="md" variant="secondary" />\n<uni-avatar name="Katherine Johnson" size="lg" variant="tertiary" />\n<uni-avatar name="Annie Easley" size="xl" variant="success" />\n<uni-avatar size="lg" variant="quaternary" />\n</div>'
212
+ code: '<!-- Storybook story: Group -->\n<div row-layout gap="sm" alignItems="center">\n<uni-avatar name="Ada Lovelace" size="sm" />\n<uni-avatar name="Grace Hopper" size="md" variant="secondary" />\n<uni-avatar name="Katherine Johnson" size="lg" variant="tertiary" />\n<uni-avatar name="Annie Easley" size="xl" variant="success" />\n<uni-avatar size="lg" variant="quaternary" />\n</div>'
213
213
  }
214
214
  ],
215
215
  guidelines: {
@@ -231,11 +231,11 @@ var uni_index_default = {
231
231
  summary: "",
232
232
  description: "",
233
233
  category: "components",
234
- version: "5.2.0",
234
+ version: "6.0.0",
235
235
  bindings: {
236
236
  angular: {
237
237
  importPath: "@uni-design-system/uni-angular",
238
- selectorOrTag: "uni-avatar-group, AvatarGroup",
238
+ selectorOrTag: "uni-avatar-group",
239
239
  api: [
240
240
  {
241
241
  name: "max",
@@ -264,11 +264,11 @@ var uni_index_default = {
264
264
  summary: "",
265
265
  description: "",
266
266
  category: "primitives",
267
- version: "5.2.0",
267
+ version: "6.0.0",
268
268
  bindings: {
269
269
  angular: {
270
270
  importPath: "@uni-design-system/uni-angular",
271
- selectorOrTag: "uni-background, Background",
271
+ selectorOrTag: "uni-background",
272
272
  api: [
273
273
  {
274
274
  name: "image",
@@ -341,11 +341,11 @@ var uni_index_default = {
341
341
  summary: "",
342
342
  description: "",
343
343
  category: "feedback",
344
- version: "5.2.0",
344
+ version: "6.0.0",
345
345
  bindings: {
346
346
  angular: {
347
347
  importPath: "@uni-design-system/uni-angular",
348
- selectorOrTag: "div[uni-badge], Badge",
348
+ selectorOrTag: "[uni-badge]",
349
349
  api: [
350
350
  {
351
351
  name: "color",
@@ -378,9 +378,9 @@ var uni_index_default = {
378
378
  title: "Pass",
379
379
  framework: "angular",
380
380
  code: `<!-- Storybook story: Pass -->
381
- <Badge color="\${color}" [width]="\${width}">
381
+ <div uni-badge color="\${color}" [width]="\${width}">
382
382
  \${ngContent}
383
- </Badge>
383
+ </div>
384
384
  <!-- args:
385
385
  {
386
386
  color: 'secondary',
@@ -393,9 +393,9 @@ var uni_index_default = {
393
393
  title: "Fail",
394
394
  framework: "angular",
395
395
  code: `<!-- Storybook story: Fail -->
396
- <Badge color="\${color}" [width]="\${width}">
396
+ <div uni-badge color="\${color}" [width]="\${width}">
397
397
  \${ngContent}
398
- </Badge>
398
+ </div>
399
399
  <!-- args:
400
400
  {
401
401
  color: 'warn',
@@ -422,7 +422,7 @@ var uni_index_default = {
422
422
  summary: "",
423
423
  description: "",
424
424
  category: "directives",
425
- version: "5.2.0",
425
+ version: "6.0.0",
426
426
  bindings: {
427
427
  angular: {
428
428
  importPath: "@uni-design-system/uni-angular",
@@ -446,11 +446,11 @@ var uni_index_default = {
446
446
  summary: "",
447
447
  description: "",
448
448
  category: "layout",
449
- version: "5.2.0",
449
+ version: "6.0.0",
450
450
  bindings: {
451
451
  angular: {
452
452
  importPath: "@uni-design-system/uni-angular",
453
- selectorOrTag: "div[uni-box-layout], Box, div[box-layout]",
453
+ selectorOrTag: "[uni-box-layout], [box-layout]",
454
454
  api: [
455
455
  {
456
456
  name: "color",
@@ -654,7 +654,7 @@ var uni_index_default = {
654
654
  kind: "input",
655
655
  type: "number | string",
656
656
  required: false,
657
- description: ""
657
+ description: 'Number = px via binding (`[height]="420"`); string = CSS length (`height="420px"`).'
658
658
  },
659
659
  {
660
660
  name: "minHeight",
@@ -675,7 +675,7 @@ var uni_index_default = {
675
675
  kind: "input",
676
676
  type: "number | string",
677
677
  required: false,
678
- description: ""
678
+ description: 'Number = px via binding (`[width]="420"`); string = CSS length (`width="50%"`).'
679
679
  },
680
680
  {
681
681
  name: "minWidth",
@@ -791,7 +791,7 @@ var uni_index_default = {
791
791
  {
792
792
  title: "Primary",
793
793
  framework: "angular",
794
- code: "<!-- Storybook story: Primary -->\n<div box-layout ${argsToTemplate(props)}>\n<Text>${ngContent}</Text>\n</div>\n<!-- args:\n{\n color: 'secondary-container',\n borderRadius: 'md',\n padding: 'lg',\n ngContent: 'Box Content.',\n }\n-->"
794
+ code: "<!-- Storybook story: Primary -->\n<div box-layout ${argsToTemplate(props)}>\n<span uni-text>${ngContent}</span>\n</div>\n<!-- args:\n{\n color: 'secondary-container',\n borderRadius: 'md',\n padding: 'lg',\n ngContent: 'Box Content.',\n }\n-->"
795
795
  }
796
796
  ],
797
797
  guidelines: {
@@ -809,11 +809,11 @@ var uni_index_default = {
809
809
  summary: "",
810
810
  description: "",
811
811
  category: "components",
812
- version: "5.2.0",
812
+ version: "6.0.0",
813
813
  bindings: {
814
814
  angular: {
815
815
  importPath: "@uni-design-system/uni-angular",
816
- selectorOrTag: "uni-breadcrumb, Breadcrumb",
816
+ selectorOrTag: "uni-breadcrumb",
817
817
  api: [
818
818
  {
819
819
  name: "items",
@@ -873,11 +873,11 @@ var uni_index_default = {
873
873
  summary: "",
874
874
  description: "",
875
875
  category: "primitives",
876
- version: "5.2.0",
876
+ version: "6.0.0",
877
877
  bindings: {
878
878
  angular: {
879
879
  importPath: "@uni-design-system/uni-angular",
880
- selectorOrTag: "button[uni-text-button], Button, button[text-button]",
880
+ selectorOrTag: "button[uni-text-button], button[text-button]",
881
881
  api: [
882
882
  {
883
883
  name: "disable",
@@ -1013,11 +1013,11 @@ var uni_index_default = {
1013
1013
  summary: "",
1014
1014
  description: "",
1015
1015
  category: "primitives",
1016
- version: "5.2.0",
1016
+ version: "6.0.0",
1017
1017
  bindings: {
1018
1018
  angular: {
1019
1019
  importPath: "@uni-design-system/uni-angular",
1020
- selectorOrTag: "uni-button-group, ButtonGroup",
1020
+ selectorOrTag: "uni-button-group",
1021
1021
  api: []
1022
1022
  }
1023
1023
  },
@@ -1025,7 +1025,7 @@ var uni_index_default = {
1025
1025
  {
1026
1026
  title: "Primary",
1027
1027
  framework: "angular",
1028
- code: '<!-- Storybook story: Primary -->\n<ButtonGroup ${argsToTemplate(props)}>\n <button icon-button symbolName="align_horizontal_left" size="sm"></button>\n <button icon-button symbolName="align_horizontal_center" size="sm"></button>\n <button icon-button symbolName="align_horizontal_right" size="sm"></button>\n</ButtonGroup>\n<!-- args:\n{}\n-->'
1028
+ code: '<!-- Storybook story: Primary -->\n<uni-button-group ${argsToTemplate(props)}>\n <button icon-button symbolName="align_horizontal_left" size="sm"></button>\n <button icon-button symbolName="align_horizontal_center" size="sm"></button>\n <button icon-button symbolName="align_horizontal_right" size="sm"></button>\n</uni-button-group>\n<!-- args:\n{}\n-->'
1029
1029
  }
1030
1030
  ],
1031
1031
  guidelines: {
@@ -1043,11 +1043,11 @@ var uni_index_default = {
1043
1043
  summary: "",
1044
1044
  description: "",
1045
1045
  category: "layout",
1046
- version: "5.2.0",
1046
+ version: "6.0.0",
1047
1047
  bindings: {
1048
1048
  angular: {
1049
1049
  importPath: "@uni-design-system/uni-angular",
1050
- selectorOrTag: "uni-card, Card",
1050
+ selectorOrTag: "uni-card",
1051
1051
  api: []
1052
1052
  }
1053
1053
  },
@@ -1056,12 +1056,12 @@ var uni_index_default = {
1056
1056
  title: "Primary",
1057
1057
  framework: "angular",
1058
1058
  code: `<!-- Storybook story: Primary -->
1059
- <Card variant="\${variant}">
1060
- <CardHeader title="Card Header"></CardHeader>
1061
- <CardContent>
1062
- <Text>\${ngContent}</Text>
1063
- </CardContent>
1064
- </Card>
1059
+ <uni-card variant="\${variant}">
1060
+ <uni-card-header title="Card Header"></uni-card-header>
1061
+ <uni-card-content>
1062
+ <span uni-text>\${ngContent}</span>
1063
+ </uni-card-content>
1064
+ </uni-card>
1065
1065
  <!-- args:
1066
1066
  {
1067
1067
  variant: 'primary',
@@ -1088,11 +1088,11 @@ var uni_index_default = {
1088
1088
  summary: "",
1089
1089
  description: "",
1090
1090
  category: "layout",
1091
- version: "5.2.0",
1091
+ version: "6.0.0",
1092
1092
  bindings: {
1093
1093
  angular: {
1094
1094
  importPath: "@uni-design-system/uni-angular",
1095
- selectorOrTag: "uni-card-content, CardContent",
1095
+ selectorOrTag: "uni-card-content",
1096
1096
  api: []
1097
1097
  }
1098
1098
  },
@@ -1112,11 +1112,11 @@ var uni_index_default = {
1112
1112
  summary: "",
1113
1113
  description: "",
1114
1114
  category: "layout",
1115
- version: "5.2.0",
1115
+ version: "6.0.0",
1116
1116
  bindings: {
1117
1117
  angular: {
1118
1118
  importPath: "@uni-design-system/uni-angular",
1119
- selectorOrTag: "uni-card-header, CardHeader",
1119
+ selectorOrTag: "uni-card-header",
1120
1120
  api: [
1121
1121
  {
1122
1122
  name: "title",
@@ -1153,11 +1153,11 @@ var uni_index_default = {
1153
1153
  summary: "",
1154
1154
  description: "",
1155
1155
  category: "layout",
1156
- version: "5.2.0",
1156
+ version: "6.0.0",
1157
1157
  bindings: {
1158
1158
  angular: {
1159
1159
  importPath: "@uni-design-system/uni-angular",
1160
- selectorOrTag: "div[uni-center-layout], div[center-layout]",
1160
+ selectorOrTag: "[uni-center-layout], [center-layout]",
1161
1161
  api: [
1162
1162
  {
1163
1163
  name: "display",
@@ -1190,7 +1190,7 @@ var uni_index_default = {
1190
1190
  {
1191
1191
  title: "Primary",
1192
1192
  framework: "angular",
1193
- code: "<!-- Storybook story: Primary -->\n<div center-layout ${argsToTemplate(props)}>\n <Text typeface=\"headline-large\">${ngContent}</Text>\n</div>\n<!-- args:\n{\n ngContent: 'Centered Content',\n height: 180,\n width: '100%',\n }\n-->"
1193
+ code: "<!-- Storybook story: Primary -->\n<div center-layout ${argsToTemplate(props)}>\n <span uni-text=\"headline-large\">${ngContent}</span>\n</div>\n<!-- args:\n{\n ngContent: 'Centered Content',\n height: 180,\n width: '100%',\n }\n-->"
1194
1194
  }
1195
1195
  ],
1196
1196
  guidelines: {
@@ -1208,11 +1208,11 @@ var uni_index_default = {
1208
1208
  summary: "",
1209
1209
  description: "",
1210
1210
  category: "forms",
1211
- version: "5.2.0",
1211
+ version: "6.0.0",
1212
1212
  bindings: {
1213
1213
  angular: {
1214
1214
  importPath: "@uni-design-system/uni-angular",
1215
- selectorOrTag: "uni-checkbox, Checkbox",
1215
+ selectorOrTag: "uni-checkbox",
1216
1216
  api: [
1217
1217
  {
1218
1218
  name: "checked",
@@ -1326,7 +1326,8 @@ var uni_index_default = {
1326
1326
  accessibility: []
1327
1327
  },
1328
1328
  relatedTokens: [
1329
- "checkbox.behavior.size"
1329
+ "checkbox.behavior.size",
1330
+ "checkbox.behavior.boxColor"
1330
1331
  ]
1331
1332
  },
1332
1333
  {
@@ -1336,11 +1337,11 @@ var uni_index_default = {
1336
1337
  summary: "",
1337
1338
  description: "",
1338
1339
  category: "feedback",
1339
- version: "5.2.0",
1340
+ version: "6.0.0",
1340
1341
  bindings: {
1341
1342
  angular: {
1342
1343
  importPath: "@uni-design-system/uni-angular",
1343
- selectorOrTag: "uni-confirmation-dialog, Confirmation",
1344
+ selectorOrTag: "uni-confirmation-dialog",
1344
1345
  api: [
1345
1346
  {
1346
1347
  name: "show",
@@ -1383,7 +1384,7 @@ var uni_index_default = {
1383
1384
  summary: "",
1384
1385
  description: "",
1385
1386
  category: "forms",
1386
- version: "5.2.0",
1387
+ version: "6.0.0",
1387
1388
  bindings: {
1388
1389
  angular: {
1389
1390
  importPath: "@uni-design-system/uni-angular",
@@ -1420,7 +1421,7 @@ var uni_index_default = {
1420
1421
  framework: "angular",
1421
1422
  code: `<!-- Storybook story: Primary -->
1422
1423
  <uni-data-search \${argsToTemplate(props)} />
1423
- <div style="margin-top: 16px;">
1424
+ <div box-layout paddingTop="md">
1424
1425
  @for (record of datasource.records(); track record.id) {
1425
1426
  <div>{{ record.name }} \u2014 {{ record.homeworld }}</div>
1426
1427
  }
@@ -1437,7 +1438,7 @@ var uni_index_default = {
1437
1438
  framework: "angular",
1438
1439
  code: `<!-- Storybook story: Field Scoped -->
1439
1440
  <uni-data-search \${argsToTemplate(props)} />
1440
- <div style="margin-top: 16px;">
1441
+ <div box-layout paddingTop="md">
1441
1442
  @for (record of datasource.records(); track record.id) {
1442
1443
  <div>{{ record.name }} \u2014 {{ record.homeworld }}</div>
1443
1444
  }
@@ -1466,11 +1467,11 @@ var uni_index_default = {
1466
1467
  summary: "",
1467
1468
  description: "",
1468
1469
  category: "data",
1469
- version: "5.2.0",
1470
+ version: "6.0.0",
1470
1471
  bindings: {
1471
1472
  angular: {
1472
1473
  importPath: "@uni-design-system/uni-angular",
1473
- selectorOrTag: "uni-data-table, DataTable",
1474
+ selectorOrTag: "uni-data-table",
1474
1475
  api: [
1475
1476
  {
1476
1477
  name: "datasource",
@@ -1563,11 +1564,11 @@ var uni_index_default = {
1563
1564
  summary: "",
1564
1565
  description: "",
1565
1566
  category: "forms",
1566
- version: "5.2.0",
1567
+ version: "6.0.0",
1567
1568
  bindings: {
1568
1569
  angular: {
1569
1570
  importPath: "@uni-design-system/uni-angular",
1570
- selectorOrTag: "DebounceInput, uni-debounce-input",
1571
+ selectorOrTag: "uni-debounce-input",
1571
1572
  api: [
1572
1573
  {
1573
1574
  name: "inputName",
@@ -1591,6 +1592,58 @@ var uni_index_default = {
1591
1592
  default: "400",
1592
1593
  description: ""
1593
1594
  },
1595
+ {
1596
+ name: "label",
1597
+ kind: "input",
1598
+ type: "string",
1599
+ required: false,
1600
+ description: "Accessible name for the input."
1601
+ },
1602
+ {
1603
+ name: "placeholder",
1604
+ kind: "input",
1605
+ type: "string",
1606
+ required: false,
1607
+ default: "''",
1608
+ description: ""
1609
+ },
1610
+ {
1611
+ name: "disabled",
1612
+ kind: "input",
1613
+ type: "boolean",
1614
+ required: false,
1615
+ default: "false",
1616
+ description: ""
1617
+ },
1618
+ {
1619
+ name: "role",
1620
+ kind: "input",
1621
+ type: "string",
1622
+ required: false,
1623
+ description: ""
1624
+ },
1625
+ {
1626
+ name: "ariaExpanded",
1627
+ kind: "input",
1628
+ type: "boolean | undefined",
1629
+ required: false,
1630
+ default: "undefined",
1631
+ description: ""
1632
+ },
1633
+ {
1634
+ name: "ariaControls",
1635
+ kind: "input",
1636
+ type: "string",
1637
+ required: false,
1638
+ description: ""
1639
+ },
1640
+ {
1641
+ name: "ariaActivedescendant",
1642
+ kind: "input",
1643
+ type: "string",
1644
+ required: false,
1645
+ description: ""
1646
+ },
1594
1647
  {
1595
1648
  name: "change",
1596
1649
  kind: "output",
@@ -1606,8 +1659,8 @@ var uni_index_default = {
1606
1659
  title: "Primary",
1607
1660
  framework: "angular",
1608
1661
  code: `<!-- Storybook story: Primary -->
1609
- <DebounceInput \${argsToTemplate(props)} (change)="lastEmitted = $event" #debounce />
1610
- <div style="margin-top: 16px;">
1662
+ <uni-debounce-input \${argsToTemplate(props)} (change)="lastEmitted = $event" #debounce />
1663
+ <div box-layout paddingTop="md">
1611
1664
  <div>Live value: {{ debounce.value() }}</div>
1612
1665
  <div>Debounced value: {{ lastEmitted }}</div>
1613
1666
  </div>
@@ -1634,11 +1687,11 @@ var uni_index_default = {
1634
1687
  summary: "",
1635
1688
  description: "",
1636
1689
  category: "feedback",
1637
- version: "5.2.0",
1690
+ version: "6.0.0",
1638
1691
  bindings: {
1639
1692
  angular: {
1640
1693
  importPath: "@uni-design-system/uni-angular",
1641
- selectorOrTag: "dialog[uni-dialog], Dialog",
1694
+ selectorOrTag: "dialog[uni-dialog]",
1642
1695
  api: [
1643
1696
  {
1644
1697
  name: "show",
@@ -1683,7 +1736,7 @@ var uni_index_default = {
1683
1736
  {
1684
1737
  title: "Primary",
1685
1738
  framework: "angular",
1686
- code: '<!-- Storybook story: Primary -->\n<Button (click)="dialog.open()">Open Dialog</Button>\n<Dialog #dialog>\n <DialogHeader color="primary">Sample Dialog</DialogHeader>\n <div center-layout [width]="300" [height]="200">\n <Text>Dialog</Text>\n </div>\n <DialogButtons></DialogButtons>\n</Dialog>\n<!-- args:\n{}\n-->'
1739
+ code: '<!-- Storybook story: Primary -->\n<button text-button (click)="dialog.open()">Open Dialog</button>\n<dialog uni-dialog #dialog>\n <header uni-dialog-header color="primary">Sample Dialog</header>\n <div center-layout [width]="300" [height]="200">\n <span uni-text>Dialog</span>\n </div>\n <footer dialog-buttons></footer>\n</dialog>\n<!-- args:\n{}\n-->'
1687
1740
  }
1688
1741
  ],
1689
1742
  guidelines: {
@@ -1708,11 +1761,11 @@ var uni_index_default = {
1708
1761
  summary: "",
1709
1762
  description: "",
1710
1763
  category: "feedback",
1711
- version: "5.2.0",
1764
+ version: "6.0.0",
1712
1765
  bindings: {
1713
1766
  angular: {
1714
1767
  importPath: "@uni-design-system/uni-angular",
1715
- selectorOrTag: "uni-dialog-buttons, DialogButtons, div[dialog-buttons]",
1768
+ selectorOrTag: "[uni-dialog-buttons], [dialog-buttons]",
1716
1769
  api: [
1717
1770
  {
1718
1771
  name: "confirmButtonText",
@@ -1793,11 +1846,11 @@ var uni_index_default = {
1793
1846
  summary: "",
1794
1847
  description: "",
1795
1848
  category: "feedback",
1796
- version: "5.2.0",
1849
+ version: "6.0.0",
1797
1850
  bindings: {
1798
1851
  angular: {
1799
1852
  importPath: "@uni-design-system/uni-angular",
1800
- selectorOrTag: "div[uni-dialog-header], DialogHeader",
1853
+ selectorOrTag: "[uni-dialog-header]",
1801
1854
  api: []
1802
1855
  }
1803
1856
  },
@@ -1817,11 +1870,11 @@ var uni_index_default = {
1817
1870
  summary: "",
1818
1871
  description: "",
1819
1872
  category: "layout",
1820
- version: "5.2.0",
1873
+ version: "6.0.0",
1821
1874
  bindings: {
1822
1875
  angular: {
1823
1876
  importPath: "@uni-design-system/uni-angular",
1824
- selectorOrTag: "uni-divider, Divider",
1877
+ selectorOrTag: "uni-divider",
1825
1878
  api: [
1826
1879
  {
1827
1880
  name: "orientation",
@@ -1847,9 +1900,9 @@ var uni_index_default = {
1847
1900
  title: "Primary",
1848
1901
  framework: "angular",
1849
1902
  code: `<!-- Storybook story: Primary -->
1850
- <Center height="200px">
1851
- <Divider border="\${border}" orientation="\${orientation}" />
1852
- </Center>
1903
+ <div center-layout height="200px">
1904
+ <uni-divider border="\${border}" orientation="\${orientation}" />
1905
+ </div>
1853
1906
  <!-- args:
1854
1907
  {
1855
1908
  orientation: 'horizontal',
@@ -1873,7 +1926,7 @@ var uni_index_default = {
1873
1926
  summary: "",
1874
1927
  description: "",
1875
1928
  category: "directives",
1876
- version: "5.2.0",
1929
+ version: "6.0.0",
1877
1930
  bindings: {
1878
1931
  angular: {
1879
1932
  importPath: "@uni-design-system/uni-angular",
@@ -1905,11 +1958,11 @@ var uni_index_default = {
1905
1958
  summary: "",
1906
1959
  description: "",
1907
1960
  category: "components",
1908
- version: "5.2.0",
1961
+ version: "6.0.0",
1909
1962
  bindings: {
1910
1963
  angular: {
1911
1964
  importPath: "@uni-design-system/uni-angular",
1912
- selectorOrTag: "uni-drawer, Drawer",
1965
+ selectorOrTag: "uni-drawer",
1913
1966
  api: [
1914
1967
  {
1915
1968
  name: "open",
@@ -1950,12 +2003,12 @@ var uni_index_default = {
1950
2003
  {
1951
2004
  title: "Dashboard Shell",
1952
2005
  framework: "angular",
1953
- code: '<!-- Storybook story: Dashboard Shell -->\n<div style="display: flex; flex-direction: column; height: 420px; border: 1px solid #8884; overflow: hidden;">\n<uni-app-bar title="Console">\n <button leading icon-button symbolName="menu" (click)="open = !open">Toggle navigation</button>\n <button trailing icon-button symbolName="account_circle">Account</button>\n</uni-app-bar>\n<div style="display: flex; flex: 1; min-height: 0;">\n <uni-drawer mode="side" [(open)]="open">\n <uni-text typeface="title-small" display="block">Dashboard</uni-text>\n <uni-text typeface="title-small" display="block">Reports</uni-text>\n <uni-text typeface="title-small" display="block">Settings</uni-text>\n </uni-drawer>\n <main style="flex: 1; padding: 16px; min-width: 0;">\n <uni-text typeface="headline-small">Content</uni-text>\n <uni-text typeface="body-1-long" display="block">\n The side drawer pushes this content; toggle it from the app bar.\n </uni-text>\n </main>\n</div>\n</div>'
2006
+ code: '<!-- Storybook story: Dashboard Shell -->\n<section stack-layout height="420px" overflow="hidden">\n<uni-app-bar title="Console">\n <button leading icon-button symbolName="menu" (click)="open = !open">Toggle navigation</button>\n <button trailing icon-button symbolName="account_circle">Account</button>\n</uni-app-bar>\n<div row-layout [grow]="1" [minHeight]="0">\n <uni-drawer mode="side" [(open)]="open">\n <nav stack-layout gap="sm" aria-label="Main">\n <span uni-text="title-small" display="block">Dashboard</span>\n <span uni-text="title-small" display="block">Reports</span>\n <span uni-text="title-small" display="block">Settings</span>\n </nav>\n </uni-drawer>\n <main box-layout [grow]="1" padding="md" [minWidth]="0">\n <h2 uni-text="headline-small">Content</h2>\n <span uni-text="body-1-long" display="block">\n The side drawer pushes this content; toggle it from the app bar.\n </span>\n </main>\n</div>\n</section>'
1954
2007
  },
1955
2008
  {
1956
2009
  title: "Overlay",
1957
2010
  framework: "angular",
1958
- code: '<!-- Storybook story: Overlay -->\n<div style="display: flex; flex-direction: column; height: 420px; border: 1px solid #8884; overflow: hidden;">\n<uni-app-bar title="Console">\n <button leading icon-button symbolName="menu" (click)="open = !open">Toggle navigation</button>\n <button trailing icon-button symbolName="account_circle">Account</button>\n</uni-app-bar>\n<div style="display: flex; flex: 1; min-height: 0;">\n <uni-drawer mode="side" [(open)]="open">\n <uni-text typeface="title-small" display="block">Dashboard</uni-text>\n <uni-text typeface="title-small" display="block">Reports</uni-text>\n <uni-text typeface="title-small" display="block">Settings</uni-text>\n </uni-drawer>\n <main style="flex: 1; padding: 16px; min-width: 0;">\n <uni-text typeface="headline-small">Content</uni-text>\n <uni-text typeface="body-1-long" display="block">\n The side drawer pushes this content; toggle it from the app bar.\n </uni-text>\n </main>\n</div>\n</div>'
2011
+ code: '<!-- Storybook story: Overlay -->\n<section stack-layout height="420px" overflow="hidden">\n<uni-app-bar title="Console">\n <button leading icon-button symbolName="menu" (click)="open = !open">Toggle navigation</button>\n <button trailing icon-button symbolName="account_circle">Account</button>\n</uni-app-bar>\n<div row-layout [grow]="1" [minHeight]="0">\n <uni-drawer mode="side" [(open)]="open">\n <nav stack-layout gap="sm" aria-label="Main">\n <span uni-text="title-small" display="block">Dashboard</span>\n <span uni-text="title-small" display="block">Reports</span>\n <span uni-text="title-small" display="block">Settings</span>\n </nav>\n </uni-drawer>\n <main box-layout [grow]="1" padding="md" [minWidth]="0">\n <h2 uni-text="headline-small">Content</h2>\n <span uni-text="body-1-long" display="block">\n The side drawer pushes this content; toggle it from the app bar.\n </span>\n </main>\n</div>\n</section>'
1959
2012
  }
1960
2013
  ],
1961
2014
  guidelines: {
@@ -1980,11 +2033,11 @@ var uni_index_default = {
1980
2033
  summary: "",
1981
2034
  description: "",
1982
2035
  category: "components",
1983
- version: "5.2.0",
2036
+ version: "6.0.0",
1984
2037
  bindings: {
1985
2038
  angular: {
1986
2039
  importPath: "@uni-design-system/uni-angular",
1987
- selectorOrTag: "uni-dropdown, Dropdown",
2040
+ selectorOrTag: "uni-dropdown",
1988
2041
  api: [
1989
2042
  {
1990
2043
  name: "trigger",
@@ -2069,11 +2122,11 @@ var uni_index_default = {
2069
2122
  summary: "",
2070
2123
  description: "",
2071
2124
  category: "layout",
2072
- version: "5.2.0",
2125
+ version: "6.0.0",
2073
2126
  bindings: {
2074
2127
  angular: {
2075
2128
  importPath: "@uni-design-system/uni-angular",
2076
- selectorOrTag: "uni-expand, Expand",
2129
+ selectorOrTag: "uni-expand",
2077
2130
  api: [
2078
2131
  {
2079
2132
  name: "collapsed",
@@ -2091,14 +2144,14 @@ var uni_index_default = {
2091
2144
  title: "Primary",
2092
2145
  framework: "angular",
2093
2146
  code: `<!-- Storybook story: Primary -->
2094
- <Card>
2095
- <CardHeader title="Expandable Card"><ExpandToggle #toggle /></CardHeader>
2096
- <Expand [collapsed]="toggle.collapsed()">
2097
- <CardContent>
2098
- <Text>\${ngContent}</Text>
2099
- </CardContent>
2100
- </Expand>
2101
- </Card>
2147
+ <uni-card>
2148
+ <uni-card-header title="Expandable Card"><uni-expand-toggle #toggle /></uni-card-header>
2149
+ <uni-expand [collapsed]="toggle.collapsed()">
2150
+ <uni-card-content>
2151
+ <span uni-text>\${ngContent}</span>
2152
+ </uni-card-content>
2153
+ </uni-expand>
2154
+ </uni-card>
2102
2155
  <!-- args:
2103
2156
  {
2104
2157
  collapsed: false,
@@ -2122,11 +2175,11 @@ var uni_index_default = {
2122
2175
  summary: "",
2123
2176
  description: "",
2124
2177
  category: "layout",
2125
- version: "5.2.0",
2178
+ version: "6.0.0",
2126
2179
  bindings: {
2127
2180
  angular: {
2128
2181
  importPath: "@uni-design-system/uni-angular",
2129
- selectorOrTag: "uni-expand-area, ExpandArea",
2182
+ selectorOrTag: "uni-expand-area",
2130
2183
  api: [
2131
2184
  {
2132
2185
  name: "title",
@@ -2166,9 +2219,9 @@ var uni_index_default = {
2166
2219
  title: "Primary",
2167
2220
  framework: "angular",
2168
2221
  code: `<!-- Storybook story: Primary -->
2169
- <ExpandArea title="\${title}" padding="\${padding}" initCollapsed="\${initCollapsed}" #expandArea>
2222
+ <uni-expand-area title="\${title}" padding="\${padding}" initCollapsed="\${initCollapsed}" #expandArea>
2170
2223
  <button text-button (click)="expandArea.toggleExpand()" size="md" variant="ghost" symbolLeft="collapse_all">Collapse area</button>
2171
- </ExpandArea>
2224
+ </uni-expand-area>
2172
2225
  <!-- args:
2173
2226
  {
2174
2227
  title: 'Expand Area Title',
@@ -2193,11 +2246,11 @@ var uni_index_default = {
2193
2246
  summary: "",
2194
2247
  description: "",
2195
2248
  category: "forms",
2196
- version: "5.2.0",
2249
+ version: "6.0.0",
2197
2250
  bindings: {
2198
2251
  angular: {
2199
2252
  importPath: "@uni-design-system/uni-angular",
2200
- selectorOrTag: "uni-expand-toggle, ExpandToggle",
2253
+ selectorOrTag: "uni-expand-toggle",
2201
2254
  api: [
2202
2255
  {
2203
2256
  name: "collapsed",
@@ -2221,7 +2274,7 @@ var uni_index_default = {
2221
2274
  {
2222
2275
  title: "Primary",
2223
2276
  framework: "angular",
2224
- code: '<!-- Storybook story: Primary -->\n<ExpandToggle [collapsed]="collapsed" #toggle />\n<div>Collapsed: {{ toggle.collapsed() }}</div>\n<!-- args:\n{\n collapsed: true,\n }\n-->'
2277
+ code: '<!-- Storybook story: Primary -->\n<uni-expand-toggle [collapsed]="collapsed" #toggle />\n<div>Collapsed: {{ toggle.collapsed() }}</div>\n<!-- args:\n{\n collapsed: true,\n }\n-->'
2225
2278
  }
2226
2279
  ],
2227
2280
  guidelines: {
@@ -2239,7 +2292,7 @@ var uni_index_default = {
2239
2292
  summary: "",
2240
2293
  description: "",
2241
2294
  category: "forms",
2242
- version: "5.2.0",
2295
+ version: "6.0.0",
2243
2296
  bindings: {
2244
2297
  angular: {
2245
2298
  importPath: "@uni-design-system/uni-angular",
@@ -2348,8 +2401,8 @@ var uni_index_default = {
2348
2401
  <uni-file-drop-zone \${argsToTemplate(props)} [helpTemplate]="myTemplate" />
2349
2402
  <ng-template #myTemplate>
2350
2403
  <div stack-layout alignItems="center">
2351
- <Text typeface="title-medium">Title Text</Text>
2352
- <Text typeface="subtitle-1">Subtitle Text</Text>
2404
+ <span uni-text="title-medium">Title Text</span>
2405
+ <span uni-text="subtitle-1">Subtitle Text</span>
2353
2406
  </div>
2354
2407
  </ng-template>
2355
2408
  <!-- args:
@@ -2367,8 +2420,8 @@ var uni_index_default = {
2367
2420
  <uni-file-drop-zone \${argsToTemplate(props)} [helpTemplate]="myTemplate" />
2368
2421
  <ng-template #myTemplate>
2369
2422
  <div stack-layout alignItems="center">
2370
- <Text typeface="title-medium">Title Text</Text>
2371
- <Text typeface="subtitle-1">Subtitle Text</Text>
2423
+ <span uni-text="title-medium">Title Text</span>
2424
+ <span uni-text="subtitle-1">Subtitle Text</span>
2372
2425
  </div>
2373
2426
  </ng-template>
2374
2427
  <!-- args:
@@ -2395,11 +2448,11 @@ var uni_index_default = {
2395
2448
  summary: "",
2396
2449
  description: "",
2397
2450
  category: "layout",
2398
- version: "5.2.0",
2451
+ version: "6.0.0",
2399
2452
  bindings: {
2400
2453
  angular: {
2401
2454
  importPath: "@uni-design-system/uni-angular",
2402
- selectorOrTag: "div[uni-grid-layout], Grid, div[grid-layout]",
2455
+ selectorOrTag: "[uni-grid-layout], [grid-layout]",
2403
2456
  api: [
2404
2457
  {
2405
2458
  name: "display",
@@ -2454,19 +2507,19 @@ var uni_index_default = {
2454
2507
  code: `<!-- Storybook story: Simple Grid -->
2455
2508
  <div grid-layout \${argsToTemplate(props)}>
2456
2509
  <div box-layout gridArea="nav" color="quaternary" padding="md" borderRadius="sm">
2457
- <Text>nav</Text>
2510
+ <span uni-text>nav</span>
2458
2511
  </div>
2459
2512
  <div box-layout gridArea="a1" color="primary" padding="md" borderRadius="sm">
2460
- <Text>a1</Text>
2513
+ <span uni-text>a1</span>
2461
2514
  </div>
2462
2515
  <div box-layout gridArea="a2" color="secondary" padding="md" borderRadius="sm">
2463
- <Text>a2</Text>
2516
+ <span uni-text>a2</span>
2464
2517
  </div>
2465
2518
  <div box-layout gridArea="b1" color="tertiary" padding="md" borderRadius="sm">
2466
- <Text>b1</Text>
2519
+ <span uni-text>b1</span>
2467
2520
  </div>
2468
2521
  <div box-layout gridArea="b2" color="warn" padding="md" borderRadius="sm">
2469
- <Text>b2</Text>
2522
+ <span uni-text>b2</span>
2470
2523
  </div>
2471
2524
  </div>
2472
2525
  <!-- args:
@@ -2492,11 +2545,11 @@ var uni_index_default = {
2492
2545
  summary: "",
2493
2546
  description: "",
2494
2547
  category: "layout",
2495
- version: "5.2.0",
2548
+ version: "6.0.0",
2496
2549
  bindings: {
2497
2550
  angular: {
2498
2551
  importPath: "@uni-design-system/uni-angular",
2499
- selectorOrTag: "GridArea",
2552
+ selectorOrTag: "[uni-grid-area-layout], [grid-area-layout]",
2500
2553
  api: [
2501
2554
  {
2502
2555
  name: "area",
@@ -2524,11 +2577,11 @@ var uni_index_default = {
2524
2577
  summary: "",
2525
2578
  description: "",
2526
2579
  category: "primitives",
2527
- version: "5.2.0",
2580
+ version: "6.0.0",
2528
2581
  bindings: {
2529
2582
  angular: {
2530
2583
  importPath: "@uni-design-system/uni-angular",
2531
- selectorOrTag: "uni-icon, Icon",
2584
+ selectorOrTag: "uni-icon",
2532
2585
  api: [
2533
2586
  {
2534
2587
  name: "color",
@@ -2551,15 +2604,7 @@ var uni_index_default = {
2551
2604
  {
2552
2605
  title: "Primary",
2553
2606
  framework: "angular",
2554
- code: `<!-- Storybook story: Primary -->
2555
- <div style="height: \${size + 'px'}">
2556
- <Icon name="\${name}" color="\${color}" />
2557
- </div>
2558
- <!-- args:
2559
- {
2560
- name: 'checkCircle',
2561
- }
2562
- -->`
2607
+ code: '<!-- Storybook story: Primary -->\n<div box-layout height="${size}px">\n <uni-icon name="${name}" color="${color}" />\n </div>\n<!-- args:\n{\n name: \'checkCircle\',\n }\n-->'
2563
2608
  }
2564
2609
  ],
2565
2610
  guidelines: {
@@ -2577,7 +2622,7 @@ var uni_index_default = {
2577
2622
  summary: "",
2578
2623
  description: "",
2579
2624
  category: "primitives",
2580
- version: "5.2.0",
2625
+ version: "6.0.0",
2581
2626
  bindings: {
2582
2627
  angular: {
2583
2628
  importPath: "@uni-design-system/uni-angular",
@@ -2677,7 +2722,7 @@ var uni_index_default = {
2677
2722
  summary: "",
2678
2723
  description: "",
2679
2724
  category: "forms",
2680
- version: "5.2.0",
2725
+ version: "6.0.0",
2681
2726
  bindings: {
2682
2727
  angular: {
2683
2728
  importPath: "@uni-design-system/uni-angular",
@@ -2817,7 +2862,7 @@ var uni_index_default = {
2817
2862
  summary: "",
2818
2863
  description: "",
2819
2864
  category: "forms",
2820
- version: "5.2.0",
2865
+ version: "6.0.0",
2821
2866
  bindings: {
2822
2867
  angular: {
2823
2868
  importPath: "@uni-design-system/uni-angular",
@@ -2890,7 +2935,7 @@ var uni_index_default = {
2890
2935
  summary: "",
2891
2936
  description: "",
2892
2937
  category: "components",
2893
- version: "5.2.0",
2938
+ version: "6.0.0",
2894
2939
  bindings: {
2895
2940
  angular: {
2896
2941
  importPath: "@uni-design-system/uni-angular",
@@ -2960,11 +3005,11 @@ var uni_index_default = {
2960
3005
  summary: "",
2961
3006
  description: "",
2962
3007
  category: "layout",
2963
- version: "5.2.0",
3008
+ version: "6.0.0",
2964
3009
  bindings: {
2965
3010
  angular: {
2966
3011
  importPath: "@uni-design-system/uni-angular",
2967
- selectorOrTag: "Menu, uni-menu",
3012
+ selectorOrTag: "uni-menu",
2968
3013
  api: [
2969
3014
  {
2970
3015
  name: "menuItems",
@@ -3004,9 +3049,9 @@ var uni_index_default = {
3004
3049
  framework: "angular",
3005
3050
  code: `<!-- Storybook story: Primary -->
3006
3051
  <div box-layout color="primary" padding="sm">
3007
- <Menu \${argsToTemplate(props)}>
3052
+ <uni-menu \${argsToTemplate(props)}>
3008
3053
  <button text-button variant="ghost" symbolRight="arrow_drop_down">Menu</button>
3009
- </Menu>
3054
+ </uni-menu>
3010
3055
  </div>
3011
3056
  <!-- args:
3012
3057
  {
@@ -3034,11 +3079,11 @@ var uni_index_default = {
3034
3079
  summary: "",
3035
3080
  description: "",
3036
3081
  category: "layout",
3037
- version: "5.2.0",
3082
+ version: "6.0.0",
3038
3083
  bindings: {
3039
3084
  angular: {
3040
3085
  importPath: "@uni-design-system/uni-angular",
3041
- selectorOrTag: "div[uni-menu-item], div[menu-item]",
3086
+ selectorOrTag: "[uni-menu-item], [menu-item]",
3042
3087
  api: [
3043
3088
  {
3044
3089
  name: "display",
@@ -3150,11 +3195,11 @@ var uni_index_default = {
3150
3195
  summary: "",
3151
3196
  description: "",
3152
3197
  category: "forms",
3153
- version: "5.2.0",
3198
+ version: "6.0.0",
3154
3199
  bindings: {
3155
3200
  angular: {
3156
3201
  importPath: "@uni-design-system/uni-angular",
3157
- selectorOrTag: "uni-multi-select, MultiSelect",
3202
+ selectorOrTag: "uni-multi-select",
3158
3203
  api: [
3159
3204
  {
3160
3205
  name: "options",
@@ -3235,11 +3280,11 @@ var uni_index_default = {
3235
3280
  summary: "",
3236
3281
  description: "",
3237
3282
  category: "forms",
3238
- version: "5.2.0",
3283
+ version: "6.0.0",
3239
3284
  bindings: {
3240
3285
  angular: {
3241
3286
  importPath: "@uni-design-system/uni-angular",
3242
- selectorOrTag: "uni-multi-select-dropdown, MultiSelectDropdown",
3287
+ selectorOrTag: "uni-multi-select-dropdown",
3243
3288
  api: [
3244
3289
  {
3245
3290
  name: "value",
@@ -3366,7 +3411,7 @@ var uni_index_default = {
3366
3411
  summary: "",
3367
3412
  description: "",
3368
3413
  category: "feedback",
3369
- version: "5.2.0",
3414
+ version: "6.0.0",
3370
3415
  bindings: {
3371
3416
  angular: {
3372
3417
  importPath: "@uni-design-system/uni-angular",
@@ -3435,7 +3480,7 @@ var uni_index_default = {
3435
3480
  title: "Default",
3436
3481
  framework: "angular",
3437
3482
  code: `<!-- Storybook story: Default -->
3438
- <div style="margin: 20px;">
3483
+ <div box-layout padding="md">
3439
3484
  <uni-notification-badge
3440
3485
  [count]="count"
3441
3486
  [maxCount]="maxCount"
@@ -3463,7 +3508,7 @@ var uni_index_default = {
3463
3508
  title: "Dot",
3464
3509
  framework: "angular",
3465
3510
  code: `<!-- Storybook story: Dot -->
3466
- <div style="margin: 20px;">
3511
+ <div box-layout padding="md">
3467
3512
  <uni-notification-badge
3468
3513
  [count]="count"
3469
3514
  [maxCount]="maxCount"
@@ -3489,7 +3534,7 @@ var uni_index_default = {
3489
3534
  title: "Count",
3490
3535
  framework: "angular",
3491
3536
  code: `<!-- Storybook story: Count -->
3492
- <div style="margin: 20px;">
3537
+ <div box-layout padding="md">
3493
3538
  <uni-notification-badge
3494
3539
  [count]="count"
3495
3540
  [maxCount]="maxCount"
@@ -3517,7 +3562,7 @@ var uni_index_default = {
3517
3562
  title: "Pill",
3518
3563
  framework: "angular",
3519
3564
  code: `<!-- Storybook story: Pill -->
3520
- <div style="margin: 20px;">
3565
+ <div box-layout padding="md">
3521
3566
  <uni-notification-badge
3522
3567
  [count]="count"
3523
3568
  [maxCount]="maxCount"
@@ -3545,7 +3590,7 @@ var uni_index_default = {
3545
3590
  title: "Large Count",
3546
3591
  framework: "angular",
3547
3592
  code: `<!-- Storybook story: Large Count -->
3548
- <div style="margin: 20px;">
3593
+ <div box-layout padding="md">
3549
3594
  <uni-notification-badge
3550
3595
  [count]="count"
3551
3596
  [maxCount]="maxCount"
@@ -3572,22 +3617,22 @@ var uni_index_default = {
3572
3617
  {
3573
3618
  title: "Different Colors",
3574
3619
  framework: "angular",
3575
- code: '<!-- Storybook story: Different Colors -->\n<div style="margin: 20px;">\n<uni-notification-badge\n [count]="count"\n [maxCount]="maxCount"\n [badgeVariant]="badgeVariant"\n [color]="color"\n [position]="position"\n [show]="show">\n <button uni-text-button>\n Button with Badge\n </button>\n</uni-notification-badge>\n</div>'
3620
+ code: '<!-- Storybook story: Different Colors -->\n<div box-layout padding="md">\n<uni-notification-badge\n [count]="count"\n [maxCount]="maxCount"\n [badgeVariant]="badgeVariant"\n [color]="color"\n [position]="position"\n [show]="show">\n <button uni-text-button>\n Button with Badge\n </button>\n</uni-notification-badge>\n</div>'
3576
3621
  },
3577
3622
  {
3578
3623
  title: "Different Positions",
3579
3624
  framework: "angular",
3580
- code: '<!-- Storybook story: Different Positions -->\n<div style="margin: 20px;">\n<uni-notification-badge\n [count]="count"\n [maxCount]="maxCount"\n [badgeVariant]="badgeVariant"\n [color]="color"\n [position]="position"\n [show]="show">\n <button uni-text-button>\n Button with Badge\n </button>\n</uni-notification-badge>\n</div>'
3625
+ code: '<!-- Storybook story: Different Positions -->\n<div box-layout padding="md">\n<uni-notification-badge\n [count]="count"\n [maxCount]="maxCount"\n [badgeVariant]="badgeVariant"\n [color]="color"\n [position]="position"\n [show]="show">\n <button uni-text-button>\n Button with Badge\n </button>\n</uni-notification-badge>\n</div>'
3581
3626
  },
3582
3627
  {
3583
3628
  title: "Variant Comparison",
3584
3629
  framework: "angular",
3585
- code: '<!-- Storybook story: Variant Comparison -->\n<div style="margin: 20px;">\n<uni-notification-badge\n [count]="count"\n [maxCount]="maxCount"\n [badgeVariant]="badgeVariant"\n [color]="color"\n [position]="position"\n [show]="show">\n <button uni-text-button>\n Button with Badge\n </button>\n</uni-notification-badge>\n</div>'
3630
+ code: '<!-- Storybook story: Variant Comparison -->\n<div box-layout padding="md">\n<uni-notification-badge\n [count]="count"\n [maxCount]="maxCount"\n [badgeVariant]="badgeVariant"\n [color]="color"\n [position]="position"\n [show]="show">\n <button uni-text-button>\n Button with Badge\n </button>\n</uni-notification-badge>\n</div>'
3586
3631
  },
3587
3632
  {
3588
3633
  title: "With Icons",
3589
3634
  framework: "angular",
3590
- code: '<!-- Storybook story: With Icons -->\n<div style="margin: 20px;">\n<uni-notification-badge\n [count]="count"\n [maxCount]="maxCount"\n [badgeVariant]="badgeVariant"\n [color]="color"\n [position]="position"\n [show]="show">\n <button uni-text-button>\n Button with Badge\n </button>\n</uni-notification-badge>\n</div>'
3635
+ code: '<!-- Storybook story: With Icons -->\n<div box-layout padding="md">\n<uni-notification-badge\n [count]="count"\n [maxCount]="maxCount"\n [badgeVariant]="badgeVariant"\n [color]="color"\n [position]="position"\n [show]="show">\n <button uni-text-button>\n Button with Badge\n </button>\n</uni-notification-badge>\n</div>'
3591
3636
  }
3592
3637
  ],
3593
3638
  guidelines: {
@@ -3605,11 +3650,11 @@ var uni_index_default = {
3605
3650
  summary: "",
3606
3651
  description: "",
3607
3652
  category: "feedback",
3608
- version: "5.2.0",
3653
+ version: "6.0.0",
3609
3654
  bindings: {
3610
3655
  angular: {
3611
3656
  importPath: "@uni-design-system/uni-angular",
3612
- selectorOrTag: "uni-notifications, Notifications",
3657
+ selectorOrTag: "uni-notifications",
3613
3658
  api: []
3614
3659
  }
3615
3660
  },
@@ -3629,11 +3674,11 @@ var uni_index_default = {
3629
3674
  summary: "",
3630
3675
  description: "",
3631
3676
  category: "data",
3632
- version: "5.2.0",
3677
+ version: "6.0.0",
3633
3678
  bindings: {
3634
3679
  angular: {
3635
3680
  importPath: "@uni-design-system/uni-angular",
3636
- selectorOrTag: "uni-paginator, Paginator",
3681
+ selectorOrTag: "uni-paginator",
3637
3682
  api: [
3638
3683
  {
3639
3684
  name: "datasource",
@@ -3680,12 +3725,12 @@ var uni_index_default = {
3680
3725
  {
3681
3726
  title: "Primary",
3682
3727
  framework: "angular",
3683
- code: '<!-- Storybook story: Primary -->\n<Paginator ${argsToTemplate(props)} />\n<div style="margin-top: 16px;">\n @for (record of datasource.records(); track record.id) {\n <div>{{ record.name }}</div>\n }\n</div>\n<!-- args:\n{\n datasource: new UniRecordDatasource<any>(starWarsCharacters),\n initPageSize: 5,\n showPageSize: true,\n showPageJumper: true,\n showPageNumbers: true,\n }\n-->'
3728
+ code: '<!-- Storybook story: Primary -->\n<uni-paginator ${argsToTemplate(props)} />\n<div box-layout paddingTop="md">\n @for (record of datasource.records(); track record.id) {\n <div>{{ record.name }}</div>\n }\n</div>\n<!-- args:\n{\n datasource: new UniRecordDatasource<any>(starWarsCharacters),\n initPageSize: 5,\n showPageSize: true,\n showPageJumper: true,\n showPageNumbers: true,\n }\n-->'
3684
3729
  },
3685
3730
  {
3686
3731
  title: "Page Numbers Only",
3687
3732
  framework: "angular",
3688
- code: '<!-- Storybook story: Page Numbers Only -->\n<Paginator ${argsToTemplate(props)} />\n<div style="margin-top: 16px;">\n @for (record of datasource.records(); track record.id) {\n <div>{{ record.name }}</div>\n }\n</div>\n<!-- args:\n{\n datasource: new UniRecordDatasource<any>(starWarsCharacters),\n initPageSize: 5,\n showPageSize: false,\n showPageJumper: false,\n showPageNumbers: true,\n }\n-->'
3733
+ code: '<!-- Storybook story: Page Numbers Only -->\n<uni-paginator ${argsToTemplate(props)} />\n<div box-layout paddingTop="md">\n @for (record of datasource.records(); track record.id) {\n <div>{{ record.name }}</div>\n }\n</div>\n<!-- args:\n{\n datasource: new UniRecordDatasource<any>(starWarsCharacters),\n initPageSize: 5,\n showPageSize: false,\n showPageJumper: false,\n showPageNumbers: true,\n }\n-->'
3689
3734
  }
3690
3735
  ],
3691
3736
  guidelines: {
@@ -3711,11 +3756,11 @@ var uni_index_default = {
3711
3756
  summary: "",
3712
3757
  description: "",
3713
3758
  category: "layout",
3714
- version: "5.2.0",
3759
+ version: "6.0.0",
3715
3760
  bindings: {
3716
3761
  angular: {
3717
3762
  importPath: "@uni-design-system/uni-angular",
3718
- selectorOrTag: "uni-popover, Popover",
3763
+ selectorOrTag: "uni-popover",
3719
3764
  api: [
3720
3765
  {
3721
3766
  name: "placement",
@@ -3740,7 +3785,7 @@ var uni_index_default = {
3740
3785
  {
3741
3786
  title: "Primary",
3742
3787
  framework: "angular",
3743
- code: '<!-- Storybook story: Primary -->\n<Popover placement="${placement}" [autoClose]="${autoClose}" #popover>\n <Button trigger>Open Popover</Button>\n <Stack gap="sm">\n <div>\n <Text typeface="title-small" display="block">\n This is a Popover.\n </Text>\n It is possible to add any markup you want to a Popover.\n </div>\n <div>\n <Button symbolLeft="thumb_up" size="sm" variant="secondary" (click)="popover.hidePopover()">OK!</Button>\n </div>\n </Stack>\n</Popover>\n<!-- args:\n{\n placement: \'right-start\',\n autoClose: true,\n }\n-->'
3788
+ code: '<!-- Storybook story: Primary -->\n<uni-popover placement="${placement}" [autoClose]="${autoClose}" #popover>\n <button text-button trigger>Open Popover</button>\n <div stack-layout gap="sm">\n <div>\n <span uni-text="title-small" display="block">\n This is a Popover.\n </span>\n It is possible to add any markup you want to a Popover.\n </div>\n <div>\n <button text-button symbolLeft="thumb_up" size="sm" variant="secondary" (click)="popover.hidePopover()">OK!</button>\n </div>\n </div>\n</uni-popover>\n<!-- args:\n{\n placement: \'right-start\',\n autoClose: true,\n }\n-->'
3744
3789
  }
3745
3790
  ],
3746
3791
  guidelines: {
@@ -3758,11 +3803,11 @@ var uni_index_default = {
3758
3803
  summary: "",
3759
3804
  description: "",
3760
3805
  category: "feedback",
3761
- version: "5.2.0",
3806
+ version: "6.0.0",
3762
3807
  bindings: {
3763
3808
  angular: {
3764
3809
  importPath: "@uni-design-system/uni-angular",
3765
- selectorOrTag: "uni-progress-bar, ProgressBar",
3810
+ selectorOrTag: "uni-progress-bar",
3766
3811
  api: [
3767
3812
  {
3768
3813
  name: "width",
@@ -3802,7 +3847,7 @@ var uni_index_default = {
3802
3847
  {
3803
3848
  title: "Default",
3804
3849
  framework: "angular",
3805
- code: '<!-- Storybook story: Default -->\n<ProgressBar percent="${percent}" ${argsToTemplate(props)}></ProgressBar>\n<!-- args:\n{\n percent: 60,\n }\n-->'
3850
+ code: '<!-- Storybook story: Default -->\n<uni-progress-bar percent="${percent}" ${argsToTemplate(props)}></uni-progress-bar>\n<!-- args:\n{\n percent: 60,\n }\n-->'
3806
3851
  }
3807
3852
  ],
3808
3853
  guidelines: {
@@ -3820,11 +3865,11 @@ var uni_index_default = {
3820
3865
  summary: "",
3821
3866
  description: "",
3822
3867
  category: "feedback",
3823
- version: "5.2.0",
3868
+ version: "6.0.0",
3824
3869
  bindings: {
3825
3870
  angular: {
3826
3871
  importPath: "@uni-design-system/uni-angular",
3827
- selectorOrTag: "uni-progress-gauge, ProgressGauge",
3872
+ selectorOrTag: "uni-progress-gauge",
3828
3873
  api: [
3829
3874
  {
3830
3875
  name: "percent",
@@ -3849,7 +3894,7 @@ var uni_index_default = {
3849
3894
  title: "Default",
3850
3895
  framework: "angular",
3851
3896
  code: `<!-- Storybook story: Default -->
3852
- <ProgressGauge percent="\${percent}" variant="\${variant}" size="\${size}"></ProgressGauge>
3897
+ <uni-progress-gauge percent="\${percent}" variant="\${variant}" size="\${size}"></uni-progress-gauge>
3853
3898
  <!-- args:
3854
3899
  {
3855
3900
  percent: 60,
@@ -3874,11 +3919,11 @@ var uni_index_default = {
3874
3919
  summary: "",
3875
3920
  description: "",
3876
3921
  category: "forms",
3877
- version: "5.2.0",
3922
+ version: "6.0.0",
3878
3923
  bindings: {
3879
3924
  angular: {
3880
3925
  importPath: "@uni-design-system/uni-angular",
3881
- selectorOrTag: "uni-radio, Radio",
3926
+ selectorOrTag: "uni-radio",
3882
3927
  api: [
3883
3928
  {
3884
3929
  name: "value",
@@ -4004,7 +4049,11 @@ var uni_index_default = {
4004
4049
  donts: [],
4005
4050
  accessibility: []
4006
4051
  },
4007
- relatedTokens: []
4052
+ relatedTokens: [
4053
+ "radio.behavior.size",
4054
+ "radio.behavior.ringColor",
4055
+ "radio.behavior.fillColor"
4056
+ ]
4008
4057
  },
4009
4058
  {
4010
4059
  id: "ripple",
@@ -4013,7 +4062,7 @@ var uni_index_default = {
4013
4062
  summary: "",
4014
4063
  description: "",
4015
4064
  category: "directives",
4016
- version: "5.2.0",
4065
+ version: "6.0.0",
4017
4066
  bindings: {
4018
4067
  angular: {
4019
4068
  importPath: "@uni-design-system/uni-angular",
@@ -4037,11 +4086,11 @@ var uni_index_default = {
4037
4086
  summary: "",
4038
4087
  description: "",
4039
4088
  category: "layout",
4040
- version: "5.2.0",
4089
+ version: "6.0.0",
4041
4090
  bindings: {
4042
4091
  angular: {
4043
4092
  importPath: "@uni-design-system/uni-angular",
4044
- selectorOrTag: "div[uni-row-layout], Row, div[row-layout]",
4093
+ selectorOrTag: "[uni-row-layout], [row-layout]",
4045
4094
  api: [
4046
4095
  {
4047
4096
  name: "display",
@@ -4065,7 +4114,7 @@ var uni_index_default = {
4065
4114
  type: "number | string | undefined",
4066
4115
  required: false,
4067
4116
  default: "'fit-content'",
4068
- description: ""
4117
+ description: 'Defaults to `fit-content` (guards content collapse). Set `[minWidth]="0"` when the row must shrink inside a constrained flex parent (scroll or text truncation containment).'
4069
4118
  }
4070
4119
  ]
4071
4120
  }
@@ -4092,11 +4141,11 @@ var uni_index_default = {
4092
4141
  summary: "",
4093
4142
  description: "",
4094
4143
  category: "layout",
4095
- version: "5.2.0",
4144
+ version: "6.0.0",
4096
4145
  bindings: {
4097
4146
  angular: {
4098
4147
  importPath: "@uni-design-system/uni-angular",
4099
- selectorOrTag: "div[uni-scroll-area], ScrollArea, div[scroll-area]",
4148
+ selectorOrTag: "[uni-scroll-area], [scroll-area]",
4100
4149
  api: [
4101
4150
  {
4102
4151
  name: "color",
@@ -4221,7 +4270,7 @@ var uni_index_default = {
4221
4270
  {
4222
4271
  title: "Primary",
4223
4272
  framework: "angular",
4224
- code: '<!-- Storybook story: Primary -->\n<div scroll-area ${argsToTemplate(props)} #scrollArea>\n <button size="sm" text-button variant="ghost" symbolLeft="arrow_downward" (click)="scrollArea.scrollToBottom()">Scroll to bottom</button>\n ${ngContent}\n <button size="sm" text-button variant="ghost" symbolLeft="arrow_upward" (click)="scrollArea.scrollToTop()">Back to top</button>\n</div>\n<!-- args:\n{\n border: \'quaternary\',\n color: \'tertiary-surface\',\n height: 200,\n ngContent: `\n <Text typeface="headline-medium">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</Text>\n <Text typeface="body-1-long">\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quis facere debitis ullam, quae quidem, impedit\n culpa nam\n repellat in voluptatibus esse ab harum, hic? Aliquam nesciunt voluptates repellendus assumenda labore.\n </p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Porro quos voluptate doloribus. Optio unde\n inventore, tempore\n nemo repellat expedita! Quod, accusamus nobis iure. Aliquam quibusdam, nemo explicabo ipsum provident\n asperiores.</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat, qui, rem! Debitis cum maiores iste,\n possimus!\n Obcaecati accusamus eaque expedita quo soluta quis, repudiandae similique, veritatis repellendus facere\n suscipit!\n Et!</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Harum doloremque repellat praesentium quae et\n consectetur\n iure quos porro, provident voluptates reprehenderit a. Accusamus ut, quaerat asperiores blanditiis\n voluptate, sint\n facilis.</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus beatae inventore nobis esse\n temporibus\n exercitationem\n eos illo minima non magnam, provident sit doloribus maiores odio in animi quidem unde. Perferendis.</p>\n\n </Text>\n\n\n `,\n }\n-->'
4273
+ code: '<!-- Storybook story: Primary -->\n<div scroll-area ${argsToTemplate(props)} #scrollArea>\n <button size="sm" text-button variant="ghost" symbolLeft="arrow_downward" (click)="scrollArea.scrollToBottom()">Scroll to bottom</button>\n ${ngContent}\n <button size="sm" text-button variant="ghost" symbolLeft="arrow_upward" (click)="scrollArea.scrollToTop()">Back to top</button>\n</div>\n<!-- args:\n{\n border: \'quaternary\',\n color: \'tertiary-surface\',\n height: 200,\n ngContent: `\n <span uni-text="headline-medium">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</span>\n <span uni-text="body-1-long">\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quis facere debitis ullam, quae quidem, impedit\n culpa nam\n repellat in voluptatibus esse ab harum, hic? Aliquam nesciunt voluptates repellendus assumenda labore.\n </p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Porro quos voluptate doloribus. Optio unde\n inventore, tempore\n nemo repellat expedita! Quod, accusamus nobis iure. Aliquam quibusdam, nemo explicabo ipsum provident\n asperiores.</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat, qui, rem! Debitis cum maiores iste,\n possimus!\n Obcaecati accusamus eaque expedita quo soluta quis, repudiandae similique, veritatis repellendus facere\n suscipit!\n Et!</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Harum doloremque repellat praesentium quae et\n consectetur\n iure quos porro, provident voluptates reprehenderit a. Accusamus ut, quaerat asperiores blanditiis\n voluptate, sint\n facilis.</p>\n <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus beatae inventore nobis esse\n temporibus\n exercitationem\n eos illo minima non magnam, provident sit doloribus maiores odio in animi quidem unde. Perferendis.</p>\n\n </span>\n\n\n `,\n }\n-->'
4225
4274
  }
4226
4275
  ],
4227
4276
  guidelines: {
@@ -4239,17 +4288,24 @@ var uni_index_default = {
4239
4288
  summary: "",
4240
4289
  description: "",
4241
4290
  category: "forms",
4242
- version: "5.2.0",
4291
+ version: "6.0.0",
4243
4292
  bindings: {
4244
4293
  angular: {
4245
4294
  importPath: "@uni-design-system/uni-angular",
4246
- selectorOrTag: "SearchInput, uni-search-input",
4295
+ selectorOrTag: "uni-search-input",
4247
4296
  api: [
4248
4297
  {
4249
4298
  name: "label",
4250
4299
  kind: "input",
4251
4300
  type: "string",
4252
4301
  required: true,
4302
+ description: "Accessible name for the field, also the placeholder fallback."
4303
+ },
4304
+ {
4305
+ name: "placeholder",
4306
+ kind: "input",
4307
+ type: "string",
4308
+ required: false,
4253
4309
  description: ""
4254
4310
  },
4255
4311
  {
@@ -4260,6 +4316,22 @@ var uni_index_default = {
4260
4316
  default: "'100%'",
4261
4317
  description: ""
4262
4318
  },
4319
+ {
4320
+ name: "debounceTime",
4321
+ kind: "input",
4322
+ type: "number",
4323
+ required: false,
4324
+ default: "400",
4325
+ description: ""
4326
+ },
4327
+ {
4328
+ name: "suggestions",
4329
+ kind: "input",
4330
+ type: "string[]",
4331
+ required: false,
4332
+ default: "[]",
4333
+ description: "Type-ahead entries. Keep them fresh from `change` emissions; the list shows while the field has focus and entries exist."
4334
+ },
4263
4335
  {
4264
4336
  name: "change",
4265
4337
  kind: "output",
@@ -4273,6 +4345,13 @@ var uni_index_default = {
4273
4345
  type: "string",
4274
4346
  required: false,
4275
4347
  description: ""
4348
+ },
4349
+ {
4350
+ name: "suggestionSelected",
4351
+ kind: "output",
4352
+ type: "string",
4353
+ required: false,
4354
+ description: ""
4276
4355
  }
4277
4356
  ]
4278
4357
  }
@@ -4281,7 +4360,24 @@ var uni_index_default = {
4281
4360
  {
4282
4361
  title: "Primary",
4283
4362
  framework: "angular",
4284
- code: "<!-- Storybook story: Primary -->\n<!-- args:\n{\n label: 'Search',\n }\n-->"
4363
+ code: `<!-- Storybook story: Primary -->
4364
+ <div box-layout maxWidth="420px">
4365
+ <uni-search-input
4366
+ label="Search the docs"
4367
+ [debounceTime]="200"
4368
+ [suggestions]="suggestions"
4369
+ (change)="filter($event)"
4370
+ (search)="log($event)"
4371
+ ></uni-search-input>
4372
+ </div>
4373
+ <!-- args:
4374
+ { label: 'Search' }
4375
+ -->`
4376
+ },
4377
+ {
4378
+ title: "Type-ahead",
4379
+ framework: "angular",
4380
+ code: '<!-- Storybook story: Type-ahead -->\n<div box-layout maxWidth="420px">\n<uni-search-input\n label="Search the docs"\n [debounceTime]="200"\n [suggestions]="suggestions"\n (change)="filter($event)"\n (search)="log($event)"\n></uni-search-input>\n</div>'
4285
4381
  }
4286
4382
  ],
4287
4383
  guidelines: {
@@ -4299,11 +4395,11 @@ var uni_index_default = {
4299
4395
  summary: "",
4300
4396
  description: "",
4301
4397
  category: "forms",
4302
- version: "5.2.0",
4398
+ version: "6.0.0",
4303
4399
  bindings: {
4304
4400
  angular: {
4305
4401
  importPath: "@uni-design-system/uni-angular",
4306
- selectorOrTag: "uni-select, SelectInput",
4402
+ selectorOrTag: "uni-select",
4307
4403
  api: [
4308
4404
  {
4309
4405
  name: "value",
@@ -4432,11 +4528,11 @@ var uni_index_default = {
4432
4528
  summary: "",
4433
4529
  description: "",
4434
4530
  category: "components",
4435
- version: "5.2.0",
4531
+ version: "6.0.0",
4436
4532
  bindings: {
4437
4533
  angular: {
4438
4534
  importPath: "@uni-design-system/uni-angular",
4439
- selectorOrTag: "uni-skeleton, Skeleton",
4535
+ selectorOrTag: "uni-skeleton",
4440
4536
  api: [
4441
4537
  {
4442
4538
  name: "shape",
@@ -4478,15 +4574,19 @@ var uni_index_default = {
4478
4574
  title: "Text Lines",
4479
4575
  framework: "angular",
4480
4576
  code: `<!-- Storybook story: Text Lines -->
4481
- <uni-card style="max-width: 360px; display: block;">
4482
- <div style="display: flex; gap: 12px; align-items: center; padding: 16px;">
4483
- <uni-skeleton shape="circle" [height]="40" />
4484
- <div style="flex: 1;">
4485
- <uni-skeleton [lines]="2" />
4577
+ <div box-layout maxWidth="360px">
4578
+ <uni-card>
4579
+ <div row-layout gap="sm" alignItems="center" padding="md">
4580
+ <uni-skeleton shape="circle" [height]="40" />
4581
+ <div box-layout [grow]="1">
4582
+ <uni-skeleton [lines]="2" />
4583
+ </div>
4584
+ </div>
4585
+ <div box-layout paddingHorizontal="md" paddingBottom="md">
4586
+ <uni-skeleton shape="rect" [height]="120" />
4486
4587
  </div>
4487
- </div>
4488
- <uni-skeleton shape="rect" [height]="120" style="display: block; padding: 0 16px 16px;" />
4489
4588
  </uni-card>
4589
+ </div>
4490
4590
  <!-- args:
4491
4591
  { shape: 'text', lines: 3 }
4492
4592
  -->`
@@ -4494,7 +4594,7 @@ var uni_index_default = {
4494
4594
  {
4495
4595
  title: "Card Placeholder",
4496
4596
  framework: "angular",
4497
- code: '<!-- Storybook story: Card Placeholder -->\n<uni-card style="max-width: 360px; display: block;">\n<div style="display: flex; gap: 12px; align-items: center; padding: 16px;">\n <uni-skeleton shape="circle" [height]="40" />\n <div style="flex: 1;">\n <uni-skeleton [lines]="2" />\n </div>\n</div>\n<uni-skeleton shape="rect" [height]="120" style="display: block; padding: 0 16px 16px;" />\n</uni-card>'
4597
+ code: '<!-- Storybook story: Card Placeholder -->\n<div box-layout maxWidth="360px">\n<uni-card>\n <div row-layout gap="sm" alignItems="center" padding="md">\n <uni-skeleton shape="circle" [height]="40" />\n <div box-layout [grow]="1">\n <uni-skeleton [lines]="2" />\n </div>\n </div>\n <div box-layout paddingHorizontal="md" paddingBottom="md">\n <uni-skeleton shape="rect" [height]="120" />\n </div>\n</uni-card>\n</div>'
4498
4598
  }
4499
4599
  ],
4500
4600
  guidelines: {
@@ -4519,11 +4619,11 @@ var uni_index_default = {
4519
4619
  summary: "",
4520
4620
  description: "",
4521
4621
  category: "forms",
4522
- version: "5.2.0",
4622
+ version: "6.0.0",
4523
4623
  bindings: {
4524
4624
  angular: {
4525
4625
  importPath: "@uni-design-system/uni-angular",
4526
- selectorOrTag: "uni-slider, Slider",
4626
+ selectorOrTag: "uni-slider",
4527
4627
  api: [
4528
4628
  {
4529
4629
  name: "value",
@@ -4652,11 +4752,11 @@ var uni_index_default = {
4652
4752
  summary: "",
4653
4753
  description: "",
4654
4754
  category: "feedback",
4655
- version: "5.2.0",
4755
+ version: "6.0.0",
4656
4756
  bindings: {
4657
4757
  angular: {
4658
4758
  importPath: "@uni-design-system/uni-angular",
4659
- selectorOrTag: "uni-snackbar, Snackbar",
4759
+ selectorOrTag: "uni-snackbar",
4660
4760
  api: [
4661
4761
  {
4662
4762
  name: "show",
@@ -4722,7 +4822,7 @@ var uni_index_default = {
4722
4822
  {
4723
4823
  title: "Primary",
4724
4824
  framework: "angular",
4725
- code: "<!-- Storybook story: Primary -->\n<Button (click)=\"snackbar.open()\">Show Snackbar</Button>\n<Snackbar #snackbar ${argsToTemplate(props)}>\n ${ngContent}\n</Snackbar>\n<!-- args:\n{\n ngContent: 'The record has been removed.',\n variant: 'warn',\n actionLabel: 'undo',\n timeout: '5000',\n symbolName: 'delete_sweep',\n }\n-->"
4825
+ code: "<!-- Storybook story: Primary -->\n<button text-button (click)=\"snackbar.open()\">Show Snackbar</button>\n<uni-snackbar #snackbar ${argsToTemplate(props)}>\n ${ngContent}\n</uni-snackbar>\n<!-- args:\n{\n ngContent: 'The record has been removed.',\n variant: 'warn',\n actionLabel: 'undo',\n timeout: '5000',\n symbolName: 'delete_sweep',\n }\n-->"
4726
4826
  }
4727
4827
  ],
4728
4828
  guidelines: {
@@ -4744,7 +4844,7 @@ var uni_index_default = {
4744
4844
  summary: "",
4745
4845
  description: "",
4746
4846
  category: "data",
4747
- version: "5.2.0",
4847
+ version: "6.0.0",
4748
4848
  bindings: {
4749
4849
  angular: {
4750
4850
  importPath: "@uni-design-system/uni-angular",
@@ -4773,9 +4873,9 @@ var uni_index_default = {
4773
4873
  framework: "angular",
4774
4874
  code: `<!-- Storybook story: Primary -->
4775
4875
  <uni-sort-header [datasource]="datasource" [column]="column">
4776
- <Text typeface="title-small">Name</Text>
4876
+ <span uni-text="title-small">Name</span>
4777
4877
  </uni-sort-header>
4778
- <div style="margin-top: 16px;">
4878
+ <div box-layout paddingTop="md">
4779
4879
  @for (record of datasource.records().slice(0, 5); track record.id) {
4780
4880
  <div>{{ record.name }}</div>
4781
4881
  }
@@ -4803,11 +4903,11 @@ var uni_index_default = {
4803
4903
  summary: "",
4804
4904
  description: "",
4805
4905
  category: "layout",
4806
- version: "5.2.0",
4906
+ version: "6.0.0",
4807
4907
  bindings: {
4808
4908
  angular: {
4809
4909
  importPath: "@uni-design-system/uni-angular",
4810
- selectorOrTag: "div[uni-stack-layout], Stack, div[stack-layout]",
4910
+ selectorOrTag: "[uni-stack-layout], [stack-layout]",
4811
4911
  api: [
4812
4912
  {
4813
4913
  name: "display",
@@ -4831,7 +4931,7 @@ var uni_index_default = {
4831
4931
  type: "number | string | undefined",
4832
4932
  required: false,
4833
4933
  default: "'fit-content'",
4834
- description: ""
4934
+ description: 'Defaults to `fit-content` (guards content collapse). Set `[minHeight]="0"` when the stack must shrink inside a constrained flex parent (scroll containment).'
4835
4935
  }
4836
4936
  ]
4837
4937
  }
@@ -4840,7 +4940,7 @@ var uni_index_default = {
4840
4940
  {
4841
4941
  title: "Stacked Cards",
4842
4942
  framework: "angular",
4843
- code: "<!-- Storybook story: Stacked Cards -->\n<div stack-layout ${argsToTemplate(props)}>\n <Card><CardContent><Text>Card 1</Text></CardContent></Card>\n <Card><CardContent><Text>Card 2</Text></CardContent></Card>\n <Card><CardContent><Text>Card 3</Text></CardContent></Card>\n <Card><CardContent><Text>Card 4</Text></CardContent></Card>\n <Card><CardContent><Text>Card 5</Text></CardContent></Card>\n</div>\n<!-- args:\n{ gap: 'lg' }\n-->"
4943
+ code: "<!-- Storybook story: Stacked Cards -->\n<div stack-layout ${argsToTemplate(props)}>\n <uni-card><uni-card-content><span uni-text>Card 1</span></uni-card-content></uni-card>\n <uni-card><uni-card-content><span uni-text>Card 2</span></uni-card-content></uni-card>\n <uni-card><uni-card-content><span uni-text>Card 3</span></uni-card-content></uni-card>\n <uni-card><uni-card-content><span uni-text>Card 4</span></uni-card-content></uni-card>\n <uni-card><uni-card-content><span uni-text>Card 5</span></uni-card-content></uni-card>\n</div>\n<!-- args:\n{ gap: 'lg' }\n-->"
4844
4944
  }
4845
4945
  ],
4846
4946
  guidelines: {
@@ -4851,6 +4951,103 @@ var uni_index_default = {
4851
4951
  },
4852
4952
  relatedTokens: []
4853
4953
  },
4954
+ {
4955
+ id: "stat",
4956
+ name: "Stat",
4957
+ status: "stable",
4958
+ summary: "",
4959
+ description: "",
4960
+ category: "components",
4961
+ version: "6.0.0",
4962
+ bindings: {
4963
+ angular: {
4964
+ importPath: "@uni-design-system/uni-angular",
4965
+ selectorOrTag: "uni-stat",
4966
+ api: [
4967
+ {
4968
+ name: "label",
4969
+ kind: "input",
4970
+ type: "string",
4971
+ required: true,
4972
+ description: "What is being measured, sentence case."
4973
+ },
4974
+ {
4975
+ name: "value",
4976
+ kind: "input",
4977
+ type: "string | number",
4978
+ required: true,
4979
+ description: "The headline number: strings render verbatim, numbers auto-compact."
4980
+ },
4981
+ {
4982
+ name: "delta",
4983
+ kind: "input",
4984
+ type: "string",
4985
+ required: false,
4986
+ description: 'Signed change, e.g. "+12.4%" or "-0.4%". The sign drives the arrow.'
4987
+ },
4988
+ {
4989
+ name: "upIsGood",
4990
+ kind: "input",
4991
+ type: "boolean",
4992
+ required: false,
4993
+ default: "true",
4994
+ description: "Whether an upward movement is good news. Flip for churn, errors, cost."
4995
+ },
4996
+ {
4997
+ name: "caption",
4998
+ kind: "input",
4999
+ type: "string",
5000
+ required: false,
5001
+ description: 'Names the comparison period, e.g. "vs last month".'
5002
+ },
5003
+ {
5004
+ name: "trend",
5005
+ kind: "input",
5006
+ type: "number[] | undefined",
5007
+ required: false,
5008
+ default: "undefined",
5009
+ description: "Recent values for the decorative sparkline (12 points reads best)."
5010
+ }
5011
+ ]
5012
+ }
5013
+ },
5014
+ examples: [
5015
+ {
5016
+ title: "Default",
5017
+ framework: "angular",
5018
+ code: "<!-- Storybook story: Default -->\n<uni-stat ${argsToTemplate(props)}></uni-stat>\n<!-- args:\n{\n label: 'Monthly recurring revenue',\n value: '$48.2K',\n delta: '+12.4%',\n caption: 'vs last month',\n trend: [31, 34, 33, 38, 37, 41, 40, 44, 43, 46, 47, 48],\n }\n-->"
5019
+ },
5020
+ {
5021
+ title: "Down is good (churn)",
5022
+ framework: "angular",
5023
+ code: "<!-- Storybook story: Down is good (churn) -->\n<uni-stat ${argsToTemplate(props)}></uni-stat>\n<!-- args:\n{\n label: 'Churn rate',\n value: '2.1%',\n delta: '-0.4%',\n upIsGood: false,\n caption: 'vs last month',\n trend: [3.2, 3.1, 3.0, 2.8, 2.9, 2.7, 2.6, 2.4, 2.5, 2.3, 2.2, 2.1],\n }\n-->"
5024
+ },
5025
+ {
5026
+ title: "KPI row",
5027
+ framework: "angular",
5028
+ code: "<!-- Storybook story: KPI row -->\n<uni-stat ${argsToTemplate(props)}></uni-stat>"
5029
+ }
5030
+ ],
5031
+ guidelines: {
5032
+ whenToUse: "",
5033
+ dos: [],
5034
+ donts: [],
5035
+ accessibility: []
5036
+ },
5037
+ relatedTokens: [
5038
+ "stat.behavior.labelTypeface",
5039
+ "stat.behavior.valueTypeface",
5040
+ "stat.behavior.color",
5041
+ "stat.behavior.border",
5042
+ "stat.behavior.borderRadius",
5043
+ "stat.behavior.positiveColor",
5044
+ "stat.behavior.negativeColor",
5045
+ "stat.behavior.trendColor",
5046
+ "stat.behavior.trendAccent",
5047
+ "stat.behavior.padding",
5048
+ "stat.behavior.gap"
5049
+ ]
5050
+ },
4854
5051
  {
4855
5052
  id: "symbol",
4856
5053
  name: "Symbol",
@@ -4858,11 +5055,11 @@ var uni_index_default = {
4858
5055
  summary: "",
4859
5056
  description: "",
4860
5057
  category: "primitives",
4861
- version: "5.2.0",
5058
+ version: "6.0.0",
4862
5059
  bindings: {
4863
5060
  angular: {
4864
5061
  importPath: "@uni-design-system/uni-angular",
4865
- selectorOrTag: "uni-symbol, Symbol",
5062
+ selectorOrTag: "uni-symbol",
4866
5063
  api: [
4867
5064
  {
4868
5065
  name: "name",
@@ -4929,11 +5126,11 @@ var uni_index_default = {
4929
5126
  summary: "",
4930
5127
  description: "",
4931
5128
  category: "components",
4932
- version: "5.2.0",
5129
+ version: "6.0.0",
4933
5130
  bindings: {
4934
5131
  angular: {
4935
5132
  importPath: "@uni-design-system/uni-angular",
4936
- selectorOrTag: "uni-tab, Tab",
5133
+ selectorOrTag: "uni-tab",
4937
5134
  api: [
4938
5135
  {
4939
5136
  name: "label",
@@ -4969,11 +5166,11 @@ var uni_index_default = {
4969
5166
  summary: "",
4970
5167
  description: "",
4971
5168
  category: "components",
4972
- version: "5.2.0",
5169
+ version: "6.0.0",
4973
5170
  bindings: {
4974
5171
  angular: {
4975
5172
  importPath: "@uni-design-system/uni-angular",
4976
- selectorOrTag: "uni-tabs, Tabs",
5173
+ selectorOrTag: "uni-tabs",
4977
5174
  api: [
4978
5175
  {
4979
5176
  name: "selectedIndex",
@@ -4990,12 +5187,12 @@ var uni_index_default = {
4990
5187
  {
4991
5188
  title: "Default",
4992
5189
  framework: "angular",
4993
- code: '<!-- Storybook story: Default -->\n<uni-tabs [selectedIndex]="selectedIndex ?? 0">\n<uni-tab label="Overview">\n <uni-text typeface="body-1-long">\n Arrow keys move between tabs (disabled tabs are skipped), Home and End jump\n to the extremes, and only the selected panel is rendered.\n </uni-text>\n</uni-tab>\n<uni-tab label="Activity">\n <uni-text typeface="body-1-long">Recent activity would render here.</uni-text>\n</uni-tab>\n<uni-tab label="Settings">\n <uni-text typeface="body-1-long">Settings content, instantiated on selection.</uni-text>\n</uni-tab>\n</uni-tabs>'
5190
+ code: '<!-- Storybook story: Default -->\n<uni-tabs [selectedIndex]="selectedIndex ?? 0">\n<uni-tab label="Overview">\n <span uni-text="body-1-long">\n Arrow keys move between tabs (disabled tabs are skipped), Home and End jump\n to the extremes, and only the selected panel is rendered.\n </span>\n</uni-tab>\n<uni-tab label="Activity">\n <span uni-text="body-1-long">Recent activity would render here.</span>\n</uni-tab>\n<uni-tab label="Settings">\n <span uni-text="body-1-long">Settings content, instantiated on selection.</span>\n</uni-tab>\n</uni-tabs>'
4994
5191
  },
4995
5192
  {
4996
5193
  title: "With Disabled Tab",
4997
5194
  framework: "angular",
4998
- code: '<!-- Storybook story: With Disabled Tab -->\n<uni-tabs [selectedIndex]="selectedIndex ?? 0">\n<uni-tab label="Overview">\n <uni-text typeface="body-1-long">\n Arrow keys move between tabs (disabled tabs are skipped), Home and End jump\n to the extremes, and only the selected panel is rendered.\n </uni-text>\n</uni-tab>\n<uni-tab label="Activity">\n <uni-text typeface="body-1-long">Recent activity would render here.</uni-text>\n</uni-tab>\n<uni-tab label="Settings">\n <uni-text typeface="body-1-long">Settings content, instantiated on selection.</uni-text>\n</uni-tab>\n</uni-tabs>'
5195
+ code: '<!-- Storybook story: With Disabled Tab -->\n<uni-tabs [selectedIndex]="selectedIndex ?? 0">\n<uni-tab label="Overview">\n <span uni-text="body-1-long">\n Arrow keys move between tabs (disabled tabs are skipped), Home and End jump\n to the extremes, and only the selected panel is rendered.\n </span>\n</uni-tab>\n<uni-tab label="Activity">\n <span uni-text="body-1-long">Recent activity would render here.</span>\n</uni-tab>\n<uni-tab label="Settings">\n <span uni-text="body-1-long">Settings content, instantiated on selection.</span>\n</uni-tab>\n</uni-tabs>'
4999
5196
  }
5000
5197
  ],
5001
5198
  guidelines: {
@@ -5023,11 +5220,11 @@ var uni_index_default = {
5023
5220
  summary: "",
5024
5221
  description: "",
5025
5222
  category: "data",
5026
- version: "5.2.0",
5223
+ version: "6.0.0",
5027
5224
  bindings: {
5028
5225
  angular: {
5029
5226
  importPath: "@uni-design-system/uni-angular",
5030
- selectorOrTag: "Tag, uni-tag",
5227
+ selectorOrTag: "uni-tag",
5031
5228
  api: [
5032
5229
  {
5033
5230
  name: "label",
@@ -5090,19 +5287,27 @@ var uni_index_default = {
5090
5287
  summary: "",
5091
5288
  description: "",
5092
5289
  category: "primitives",
5093
- version: "5.2.0",
5290
+ version: "6.0.0",
5094
5291
  bindings: {
5095
5292
  angular: {
5096
5293
  importPath: "@uni-design-system/uni-angular",
5097
- selectorOrTag: "uni-text, Text",
5294
+ selectorOrTag: "[uni-text]",
5098
5295
  api: [
5296
+ {
5297
+ name: "uniText",
5298
+ kind: "input",
5299
+ type: "Typeface | ''",
5300
+ required: false,
5301
+ default: "'', { alias: 'uni-text' }",
5302
+ description: 'Typeface via the selector attribute: `uni-text="headline-large"`.'
5303
+ },
5099
5304
  {
5100
5305
  name: "typeface",
5101
5306
  kind: "input",
5102
- type: "Typeface",
5307
+ type: "Typeface | undefined",
5103
5308
  required: false,
5104
- default: "'title-small'",
5105
- description: ""
5309
+ default: "undefined",
5310
+ description: "Explicit typeface; the attribute value wins when both are set."
5106
5311
  },
5107
5312
  {
5108
5313
  name: "color",
@@ -5150,7 +5355,18 @@ var uni_index_default = {
5150
5355
  ]
5151
5356
  }
5152
5357
  },
5153
- examples: [],
5358
+ examples: [
5359
+ {
5360
+ title: "Value shorthand",
5361
+ framework: "angular",
5362
+ code: '<!-- Storybook story: Value shorthand -->\n<div stack-layout gap="sm">\n<span uni-text="display-small" display="block">Display small</span>\n<span uni-text="headline-medium" display="block">Headline medium</span>\n<span uni-text="body-1-long" display="block">\n Body copy set with uni-text="body-1-long" \u2014 the attribute value is the typeface.\n</span>\n<span uni-text="caption" color="on-background-variant" display="block">\n A caption in the muted ink.\n</span>\n</div>'
5363
+ },
5364
+ {
5365
+ title: "Element-aware defaults",
5366
+ framework: "angular",
5367
+ code: '<!-- Storybook story: Element-aware defaults -->\n<div stack-layout gap="sm">\n<span uni-text="display-small" display="block">Display small</span>\n<span uni-text="headline-medium" display="block">Headline medium</span>\n<span uni-text="body-1-long" display="block">\n Body copy set with uni-text="body-1-long" \u2014 the attribute value is the typeface.\n</span>\n<span uni-text="caption" color="on-background-variant" display="block">\n A caption in the muted ink.\n</span>\n</div>'
5368
+ }
5369
+ ],
5154
5370
  guidelines: {
5155
5371
  whenToUse: "",
5156
5372
  dos: [],
@@ -5166,7 +5382,7 @@ var uni_index_default = {
5166
5382
  summary: "",
5167
5383
  description: "",
5168
5384
  category: "primitives",
5169
- version: "5.2.0",
5385
+ version: "6.0.0",
5170
5386
  bindings: {
5171
5387
  angular: {
5172
5388
  importPath: "@uni-design-system/uni-angular",
@@ -5293,7 +5509,7 @@ var uni_index_default = {
5293
5509
  summary: "",
5294
5510
  description: "",
5295
5511
  category: "primitives",
5296
- version: "5.2.0",
5512
+ version: "6.0.0",
5297
5513
  bindings: {
5298
5514
  angular: {
5299
5515
  importPath: "@uni-design-system/uni-angular",
@@ -5323,11 +5539,11 @@ var uni_index_default = {
5323
5539
  summary: "",
5324
5540
  description: "",
5325
5541
  category: "forms",
5326
- version: "5.2.0",
5542
+ version: "6.0.0",
5327
5543
  bindings: {
5328
5544
  angular: {
5329
5545
  importPath: "@uni-design-system/uni-angular",
5330
- selectorOrTag: "uni-toggle, Toggle",
5546
+ selectorOrTag: "uni-toggle",
5331
5547
  api: [
5332
5548
  {
5333
5549
  name: "checked",
@@ -5433,7 +5649,9 @@ var uni_index_default = {
5433
5649
  accessibility: []
5434
5650
  },
5435
5651
  relatedTokens: [
5436
- "toggle.behavior.size"
5652
+ "toggle.behavior.size",
5653
+ "toggle.behavior.trackColor",
5654
+ "toggle.behavior.knobColor"
5437
5655
  ]
5438
5656
  },
5439
5657
  {
@@ -5443,11 +5661,11 @@ var uni_index_default = {
5443
5661
  summary: "",
5444
5662
  description: "",
5445
5663
  category: "feedback",
5446
- version: "5.2.0",
5664
+ version: "6.0.0",
5447
5665
  bindings: {
5448
5666
  angular: {
5449
5667
  importPath: "@uni-design-system/uni-angular",
5450
- selectorOrTag: "uni-tooltip, Tooltip",
5668
+ selectorOrTag: "uni-tooltip",
5451
5669
  api: [
5452
5670
  {
5453
5671
  name: "hoverDelay",
@@ -5495,7 +5713,7 @@ var uni_index_default = {
5495
5713
  {
5496
5714
  title: "Primary",
5497
5715
  framework: "angular",
5498
- code: "<!-- Storybook story: Primary -->\n<Text>Here is some text with a <Tooltip ${argsToTemplate(props)}>tooltip</Tooltip> in the middle.\n</Text>\n<!-- args:\n{\n label: 'Bottom-start tooltip',\n placement: 'bottom-start',\n inlineText: true,\n }\n-->"
5716
+ code: "<!-- Storybook story: Primary -->\n<span uni-text>Here is some text with a <uni-tooltip ${argsToTemplate(props)}>tooltip</uni-tooltip> in the middle.\n</span>\n<!-- args:\n{\n label: 'Bottom-start tooltip',\n placement: 'bottom-start',\n inlineText: true,\n }\n-->"
5499
5717
  }
5500
5718
  ],
5501
5719
  guidelines: {
@@ -5518,11 +5736,11 @@ var uni_index_default = {
5518
5736
  summary: "",
5519
5737
  description: "",
5520
5738
  category: "layout",
5521
- version: "5.2.0",
5739
+ version: "6.0.0",
5522
5740
  bindings: {
5523
5741
  angular: {
5524
5742
  importPath: "@uni-design-system/uni-angular",
5525
- selectorOrTag: "div[uni-wrap-layout], Wrap, div[wrap-layout]",
5743
+ selectorOrTag: "[uni-wrap-layout], [wrap-layout]",
5526
5744
  api: [
5527
5745
  {
5528
5746
  name: "display",
@@ -6979,6 +7197,17 @@ var uni_index_default = {
6979
7197
  DarkTheme: '{"fontFamily":"Red Hat Display","fontSize":16,"lineHeight":24}'
6980
7198
  }
6981
7199
  },
7200
+ {
7201
+ id: "typography.stat",
7202
+ value: '{"fontFamily":"Red Hat Display","fontSize":32,"lineHeight":38,"fontWeight":600,"letterSpacing":-0.32}',
7203
+ type: "typography",
7204
+ kind: "style",
7205
+ target: "emotion-css",
7206
+ themeValues: {
7207
+ LightTheme: '{"fontFamily":"Red Hat Display","fontSize":32,"lineHeight":38,"fontWeight":600,"letterSpacing":-0.32}',
7208
+ DarkTheme: '{"fontFamily":"Red Hat Display","fontSize":32,"lineHeight":38,"fontWeight":600,"letterSpacing":-0.32}'
7209
+ }
7210
+ },
6982
7211
  {
6983
7212
  id: "typography.tag",
6984
7213
  value: '{"fontFamily":"Red Hat Display","fontSize":15,"lineHeight":20,"fontWeight":600}',
@@ -7325,6 +7554,78 @@ var uni_index_default = {
7325
7554
  DarkTheme: 2
7326
7555
  }
7327
7556
  },
7557
+ {
7558
+ id: "searchInput.behavior.searchSymbol",
7559
+ value: "search",
7560
+ type: "string",
7561
+ kind: "behavioral",
7562
+ target: "component-prop",
7563
+ appliesTo: "searchInput",
7564
+ themeValues: {
7565
+ LightTheme: "search",
7566
+ DarkTheme: "search"
7567
+ }
7568
+ },
7569
+ {
7570
+ id: "searchInput.behavior.clearSymbol",
7571
+ value: "close",
7572
+ type: "string",
7573
+ kind: "behavioral",
7574
+ target: "component-prop",
7575
+ appliesTo: "searchInput",
7576
+ themeValues: {
7577
+ LightTheme: "close",
7578
+ DarkTheme: "close"
7579
+ }
7580
+ },
7581
+ {
7582
+ id: "searchInput.behavior.listColor",
7583
+ value: "primary-surface",
7584
+ type: "string",
7585
+ kind: "behavioral",
7586
+ target: "component-prop",
7587
+ appliesTo: "searchInput",
7588
+ themeValues: {
7589
+ LightTheme: "primary-surface",
7590
+ DarkTheme: "primary-surface"
7591
+ }
7592
+ },
7593
+ {
7594
+ id: "searchInput.behavior.listShadow",
7595
+ value: "menu",
7596
+ type: "string",
7597
+ kind: "behavioral",
7598
+ target: "component-prop",
7599
+ appliesTo: "searchInput",
7600
+ themeValues: {
7601
+ LightTheme: "menu",
7602
+ DarkTheme: "menu"
7603
+ }
7604
+ },
7605
+ {
7606
+ id: "searchInput.behavior.listBorderRadius",
7607
+ value: "xs",
7608
+ type: "string",
7609
+ kind: "behavioral",
7610
+ target: "component-prop",
7611
+ appliesTo: "searchInput",
7612
+ themeValues: {
7613
+ LightTheme: "xs",
7614
+ DarkTheme: "xs"
7615
+ }
7616
+ },
7617
+ {
7618
+ id: "searchInput.behavior.maxSuggestions",
7619
+ value: 8,
7620
+ type: "number",
7621
+ kind: "behavioral",
7622
+ target: "component-prop",
7623
+ appliesTo: "searchInput",
7624
+ themeValues: {
7625
+ LightTheme: 8,
7626
+ DarkTheme: 8
7627
+ }
7628
+ },
7328
7629
  {
7329
7630
  id: "checkbox.behavior.size",
7330
7631
  value: 20,
@@ -7337,6 +7638,54 @@ var uni_index_default = {
7337
7638
  DarkTheme: 20
7338
7639
  }
7339
7640
  },
7641
+ {
7642
+ id: "checkbox.behavior.boxColor",
7643
+ value: "surface",
7644
+ type: "string",
7645
+ kind: "behavioral",
7646
+ target: "component-prop",
7647
+ appliesTo: "checkbox",
7648
+ themeValues: {
7649
+ LightTheme: "surface",
7650
+ DarkTheme: "surface"
7651
+ }
7652
+ },
7653
+ {
7654
+ id: "radio.behavior.size",
7655
+ value: 20,
7656
+ type: "number",
7657
+ kind: "behavioral",
7658
+ target: "component-prop",
7659
+ appliesTo: "radio",
7660
+ themeValues: {
7661
+ LightTheme: 20,
7662
+ DarkTheme: 20
7663
+ }
7664
+ },
7665
+ {
7666
+ id: "radio.behavior.ringColor",
7667
+ value: "outline",
7668
+ type: "string",
7669
+ kind: "behavioral",
7670
+ target: "component-prop",
7671
+ appliesTo: "radio",
7672
+ themeValues: {
7673
+ LightTheme: "outline",
7674
+ DarkTheme: "outline"
7675
+ }
7676
+ },
7677
+ {
7678
+ id: "radio.behavior.fillColor",
7679
+ value: "surface",
7680
+ type: "string",
7681
+ kind: "behavioral",
7682
+ target: "component-prop",
7683
+ appliesTo: "radio",
7684
+ themeValues: {
7685
+ LightTheme: "surface",
7686
+ DarkTheme: "surface"
7687
+ }
7688
+ },
7340
7689
  {
7341
7690
  id: "dialog.behavior.borderRadius",
7342
7691
  value: "lg",
@@ -8417,6 +8766,138 @@ var uni_index_default = {
8417
8766
  DarkTheme: "xs"
8418
8767
  }
8419
8768
  },
8769
+ {
8770
+ id: "stat.behavior.labelTypeface",
8771
+ value: "label",
8772
+ type: "string",
8773
+ kind: "behavioral",
8774
+ target: "component-prop",
8775
+ appliesTo: "stat",
8776
+ themeValues: {
8777
+ LightTheme: "label",
8778
+ DarkTheme: "label"
8779
+ }
8780
+ },
8781
+ {
8782
+ id: "stat.behavior.valueTypeface",
8783
+ value: "stat",
8784
+ type: "string",
8785
+ kind: "behavioral",
8786
+ target: "component-prop",
8787
+ appliesTo: "stat",
8788
+ themeValues: {
8789
+ LightTheme: "stat",
8790
+ DarkTheme: "stat"
8791
+ }
8792
+ },
8793
+ {
8794
+ id: "stat.behavior.color",
8795
+ value: "surface",
8796
+ type: "string",
8797
+ kind: "behavioral",
8798
+ target: "component-prop",
8799
+ appliesTo: "stat",
8800
+ themeValues: {
8801
+ LightTheme: "surface",
8802
+ DarkTheme: "surface"
8803
+ }
8804
+ },
8805
+ {
8806
+ id: "stat.behavior.border",
8807
+ value: "light",
8808
+ type: "string",
8809
+ kind: "behavioral",
8810
+ target: "component-prop",
8811
+ appliesTo: "stat",
8812
+ themeValues: {
8813
+ LightTheme: "light",
8814
+ DarkTheme: "light"
8815
+ }
8816
+ },
8817
+ {
8818
+ id: "stat.behavior.borderRadius",
8819
+ value: "xs",
8820
+ type: "string",
8821
+ kind: "behavioral",
8822
+ target: "component-prop",
8823
+ appliesTo: "stat",
8824
+ themeValues: {
8825
+ LightTheme: "xs",
8826
+ DarkTheme: "xs"
8827
+ }
8828
+ },
8829
+ {
8830
+ id: "stat.behavior.positiveColor",
8831
+ value: "success",
8832
+ type: "string",
8833
+ kind: "behavioral",
8834
+ target: "component-prop",
8835
+ appliesTo: "stat",
8836
+ themeValues: {
8837
+ LightTheme: "success",
8838
+ DarkTheme: "success"
8839
+ }
8840
+ },
8841
+ {
8842
+ id: "stat.behavior.negativeColor",
8843
+ value: "error",
8844
+ type: "string",
8845
+ kind: "behavioral",
8846
+ target: "component-prop",
8847
+ appliesTo: "stat",
8848
+ themeValues: {
8849
+ LightTheme: "error",
8850
+ DarkTheme: "error"
8851
+ }
8852
+ },
8853
+ {
8854
+ id: "stat.behavior.trendColor",
8855
+ value: "outline",
8856
+ type: "string",
8857
+ kind: "behavioral",
8858
+ target: "component-prop",
8859
+ appliesTo: "stat",
8860
+ themeValues: {
8861
+ LightTheme: "outline",
8862
+ DarkTheme: "outline"
8863
+ }
8864
+ },
8865
+ {
8866
+ id: "stat.behavior.trendAccent",
8867
+ value: "primary",
8868
+ type: "string",
8869
+ kind: "behavioral",
8870
+ target: "component-prop",
8871
+ appliesTo: "stat",
8872
+ themeValues: {
8873
+ LightTheme: "primary",
8874
+ DarkTheme: "primary"
8875
+ }
8876
+ },
8877
+ {
8878
+ id: "stat.behavior.padding",
8879
+ value: "md",
8880
+ type: "string",
8881
+ kind: "behavioral",
8882
+ target: "component-prop",
8883
+ appliesTo: "stat",
8884
+ themeValues: {
8885
+ LightTheme: "md",
8886
+ DarkTheme: "md"
8887
+ }
8888
+ },
8889
+ {
8890
+ id: "stat.behavior.gap",
8891
+ value: "xxs",
8892
+ type: "string",
8893
+ kind: "behavioral",
8894
+ target: "component-prop",
8895
+ appliesTo: "stat",
8896
+ themeValues: {
8897
+ LightTheme: "xxs",
8898
+ DarkTheme: "xxs"
8899
+ }
8900
+ },
8420
8901
  {
8421
8902
  id: "slider.behavior.color",
8422
8903
  value: "primary",
@@ -8645,6 +9126,30 @@ var uni_index_default = {
8645
9126
  DarkTheme: 20
8646
9127
  }
8647
9128
  },
9129
+ {
9130
+ id: "toggle.behavior.trackColor",
9131
+ value: "surface-variant",
9132
+ type: "string",
9133
+ kind: "behavioral",
9134
+ target: "component-prop",
9135
+ appliesTo: "toggle",
9136
+ themeValues: {
9137
+ LightTheme: "surface-variant",
9138
+ DarkTheme: "surface-variant"
9139
+ }
9140
+ },
9141
+ {
9142
+ id: "toggle.behavior.knobColor",
9143
+ value: "surface",
9144
+ type: "string",
9145
+ kind: "behavioral",
9146
+ target: "component-prop",
9147
+ appliesTo: "toggle",
9148
+ themeValues: {
9149
+ LightTheme: "surface",
9150
+ DarkTheme: "surface"
9151
+ }
9152
+ },
8648
9153
  {
8649
9154
  id: "tooltip.behavior.borderRadius",
8650
9155
  value: "xs",
@@ -8829,6 +9334,7 @@ var uni_index_default = {
8829
9334
  "typography.quote": '{"fontFamily":"Roboto","fontSize":16,"lineHeight":24}',
8830
9335
  "typography.note": '{"fontFamily":"Roboto","fontSize":14,"lineHeight":22,"fontStyle":"italic"}',
8831
9336
  "typography.badge": '{"fontFamily":"Red Hat Display","fontSize":16,"lineHeight":24}',
9337
+ "typography.stat": '{"fontFamily":"Red Hat Display","fontSize":32,"lineHeight":38,"fontWeight":600,"letterSpacing":-0.32}',
8832
9338
  "typography.tag": '{"fontFamily":"Red Hat Display","fontSize":15,"lineHeight":20,"fontWeight":600}',
8833
9339
  "typography.input": '{"fontFamily":"Red Hat Display","fontSize":14,"lineHeight":24}'
8834
9340
  },
@@ -8872,8 +9378,22 @@ var uni_index_default = {
8872
9378
  ringColor: "surface",
8873
9379
  ringWidth: 2
8874
9380
  },
9381
+ searchInput: {
9382
+ searchSymbol: "search",
9383
+ clearSymbol: "close",
9384
+ listColor: "primary-surface",
9385
+ listShadow: "menu",
9386
+ listBorderRadius: "xs",
9387
+ maxSuggestions: 8
9388
+ },
8875
9389
  checkbox: {
8876
- size: 20
9390
+ size: 20,
9391
+ boxColor: "surface"
9392
+ },
9393
+ radio: {
9394
+ size: 20,
9395
+ ringColor: "outline",
9396
+ fillColor: "surface"
8877
9397
  },
8878
9398
  dialog: {
8879
9399
  borderRadius: "lg",
@@ -8997,6 +9517,19 @@ var uni_index_default = {
8997
9517
  currentPageBorder: "light",
8998
9518
  currentPageBorderRadius: "xs"
8999
9519
  },
9520
+ stat: {
9521
+ labelTypeface: "label",
9522
+ valueTypeface: "stat",
9523
+ color: "surface",
9524
+ border: "light",
9525
+ borderRadius: "xs",
9526
+ positiveColor: "success",
9527
+ negativeColor: "error",
9528
+ trendColor: "outline",
9529
+ trendAccent: "primary",
9530
+ padding: "md",
9531
+ gap: "xxs"
9532
+ },
9000
9533
  slider: {
9001
9534
  color: "primary",
9002
9535
  trackColor: "surface-variant",
@@ -9024,7 +9557,9 @@ var uni_index_default = {
9024
9557
  opticalSize: 24
9025
9558
  },
9026
9559
  toggle: {
9027
- size: 20
9560
+ size: 20,
9561
+ trackColor: "surface-variant",
9562
+ knobColor: "surface"
9028
9563
  },
9029
9564
  tooltip: {
9030
9565
  borderRadius: "xs",
@@ -9169,6 +9704,7 @@ var uni_index_default = {
9169
9704
  "typography.quote": '{"fontFamily":"Roboto","fontSize":16,"lineHeight":24}',
9170
9705
  "typography.note": '{"fontFamily":"Roboto","fontSize":14,"lineHeight":22,"fontStyle":"italic"}',
9171
9706
  "typography.badge": '{"fontFamily":"Red Hat Display","fontSize":16,"lineHeight":24}',
9707
+ "typography.stat": '{"fontFamily":"Red Hat Display","fontSize":32,"lineHeight":38,"fontWeight":600,"letterSpacing":-0.32}',
9172
9708
  "typography.tag": '{"fontFamily":"Red Hat Display","fontSize":15,"lineHeight":20,"fontWeight":600}',
9173
9709
  "typography.input": '{"fontFamily":"Red Hat Display","fontSize":14,"lineHeight":24}'
9174
9710
  },
@@ -9212,8 +9748,22 @@ var uni_index_default = {
9212
9748
  ringColor: "surface",
9213
9749
  ringWidth: 2
9214
9750
  },
9751
+ searchInput: {
9752
+ searchSymbol: "search",
9753
+ clearSymbol: "close",
9754
+ listColor: "primary-surface",
9755
+ listShadow: "menu",
9756
+ listBorderRadius: "xs",
9757
+ maxSuggestions: 8
9758
+ },
9215
9759
  checkbox: {
9216
- size: 20
9760
+ size: 20,
9761
+ boxColor: "surface"
9762
+ },
9763
+ radio: {
9764
+ size: 20,
9765
+ ringColor: "outline",
9766
+ fillColor: "surface"
9217
9767
  },
9218
9768
  dialog: {
9219
9769
  borderRadius: "lg",
@@ -9337,6 +9887,19 @@ var uni_index_default = {
9337
9887
  currentPageBorder: "light",
9338
9888
  currentPageBorderRadius: "xs"
9339
9889
  },
9890
+ stat: {
9891
+ labelTypeface: "label",
9892
+ valueTypeface: "stat",
9893
+ color: "surface",
9894
+ border: "light",
9895
+ borderRadius: "xs",
9896
+ positiveColor: "success",
9897
+ negativeColor: "error",
9898
+ trendColor: "outline",
9899
+ trendAccent: "primary",
9900
+ padding: "md",
9901
+ gap: "xxs"
9902
+ },
9340
9903
  slider: {
9341
9904
  color: "primary",
9342
9905
  trackColor: "surface-variant",
@@ -9364,7 +9927,9 @@ var uni_index_default = {
9364
9927
  opticalSize: 24
9365
9928
  },
9366
9929
  toggle: {
9367
- size: 20
9930
+ size: 20,
9931
+ trackColor: "surface-variant",
9932
+ knobColor: "surface"
9368
9933
  },
9369
9934
  tooltip: {
9370
9935
  borderRadius: "xs",
@@ -10101,6 +10666,19 @@ var generateShadows = (colors, mode = "light") => {
10101
10666
  warn: `0 0 5px ${rgba(error, 0.5)}, inset 0 0 5px ${rgba(error, 0.3)}`
10102
10667
  };
10103
10668
  };
10669
+ var BaseIcons = {
10670
+ alertCircle: "data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M0 0h24v24H0V0z' fill='none'/%3e%3cpath d='M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3e%3c/svg%3e",
10671
+ calendar: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'%3E%3C/path%3E%3C/svg%3E",
10672
+ checkCircle: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg%3E%3Cpath d='M32,0A32,32,0,1,0,64,32,32,32,0,0,0,32,0Zm2.0873,41.5-5.4107,5.4106-.02.02L14.1751,32.4492l5.4306-5.4306,9.051,9.0509L46.2861,18.44l5.4305,5.4306Z'/%3E%3C/g%3E%3C/svg%3E",
10673
+ chevronUp: "data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='m296-345-56-56 240-240 240 240-56 56-184-184-184 184Z'/%3E%3C/svg%3E",
10674
+ chevronDown: "data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E",
10675
+ chevronLeft: "data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z'/%3E%3C/svg%3E",
10676
+ chevronRight: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z'/%3E%3C/svg%3E",
10677
+ xCircle: "data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3e%3cg%3e%3cpath d='M32,0A32,32,0,1,0,64,32,32,32,0,0,0,32,0ZM47.4649,42.3543l-5.4306,5.43L31.68,37.4305,21.3257,47.7848l-5.4306-5.43L26.25,32,15.8951,21.6456l5.4306-5.4305L31.68,26.5694,42.0343,16.2151l5.4306,5.4305L37.1106,32Z'/%3e%3c/g%3e%3c/svg%3e",
10678
+ search: "data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3e%3cg%3e%3cpath d='M 21 3 C 11.601563 3 4 10.601563 4 20 C 4 29.398438 11.601563 37 21 37 C 24.355469 37 27.460938 36.015625 30.09375 34.34375 L 42.375 46.625 L 46.625 42.375 L 34.5 30.28125 C 36.679688 27.421875 38 23.878906 38 20 C 38 10.601563 30.398438 3 21 3 Z M 21 7 C 28.199219 7 34 12.800781 34 20 C 34 27.199219 28.199219 33 21 33 C 13.800781 33 8 27.199219 8 20 C 8 12.800781 13.800781 7 21 7 Z'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",
10679
+ close: "data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cg%3e%3cpath fill='currentColor' d='M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",
10680
+ spinner: "data:image/svg+xml;charset=UTF-8,%3csvg stroke='%23000' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3e%3cstyle%3e .oui_spinner %7b transform-origin: center; animation: rotate_360 2s linear infinite;%7d .oui_spinner circle %7b stroke-linecap: round; animation: dash 1.5s ease-in-out infinite;%7d %40keyframes rotate_360 %7b 100%25 %7b transform: rotate(360deg);%7d %7d %40keyframes dash %7b 0%25 %7b stroke-dasharray: 0 150; stroke-dashoffset: 0;%7d 47.5%25 %7b stroke-dasharray: 42 150; stroke-dashoffset: -16;%7d 95%25, 100%25 %7b stroke-dasharray: 42 150; stroke-dashoffset: -59;%7d %7d %3c/style%3e%3cg class='oui_spinner'%3e%3ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3'%3e%3c/circle%3e%3c/g%3e%3c/svg%3e "
10681
+ };
10104
10682
  var BaseTypography = {
10105
10683
  "display-large": {
10106
10684
  fontFamily: "Red Hat Display",
@@ -10238,6 +10816,13 @@ var BaseTypography = {
10238
10816
  fontSize: 16,
10239
10817
  lineHeight: 24
10240
10818
  },
10819
+ stat: {
10820
+ fontFamily: "Red Hat Display",
10821
+ fontSize: 32,
10822
+ lineHeight: 38,
10823
+ fontWeight: 600,
10824
+ letterSpacing: -0.32
10825
+ },
10241
10826
  tag: {
10242
10827
  fontFamily: "Red Hat Display",
10243
10828
  fontSize: 15,
@@ -10381,7 +10966,23 @@ var buildComponents = (c) => ({
10381
10966
  ringColor: "surface",
10382
10967
  ringWidth: 2
10383
10968
  } },
10384
- checkbox: { options: { size: 20 } },
10969
+ searchInput: { options: {
10970
+ searchSymbol: "search",
10971
+ clearSymbol: "close",
10972
+ listColor: "primary-surface",
10973
+ listShadow: "menu",
10974
+ listBorderRadius: "xs",
10975
+ maxSuggestions: 8
10976
+ } },
10977
+ checkbox: { options: {
10978
+ size: 20,
10979
+ boxColor: "surface"
10980
+ } },
10981
+ radio: { options: {
10982
+ size: 20,
10983
+ ringColor: "outline",
10984
+ fillColor: "surface"
10985
+ } },
10385
10986
  dialog: { options: {
10386
10987
  borderRadius: "lg",
10387
10988
  color: "primary-surface",
@@ -10706,6 +11307,19 @@ var buildComponents = (c) => ({
10706
11307
  currentPageBorder: "light",
10707
11308
  currentPageBorderRadius: "xs"
10708
11309
  } },
11310
+ stat: { options: {
11311
+ labelTypeface: "label",
11312
+ valueTypeface: "stat",
11313
+ color: "surface",
11314
+ border: "light",
11315
+ borderRadius: "xs",
11316
+ positiveColor: "success",
11317
+ negativeColor: "error",
11318
+ trendColor: "outline",
11319
+ trendAccent: "primary",
11320
+ padding: "md",
11321
+ gap: "xxs"
11322
+ } },
10709
11323
  slider: { options: {
10710
11324
  color: "primary",
10711
11325
  trackColor: "surface-variant",
@@ -10732,7 +11346,11 @@ var buildComponents = (c) => ({
10732
11346
  grade: 0,
10733
11347
  opticalSize: 24
10734
11348
  } },
10735
- toggle: { options: { size: 20 } },
11349
+ toggle: { options: {
11350
+ size: 20,
11351
+ trackColor: "surface-variant",
11352
+ knobColor: "surface"
11353
+ } },
10736
11354
  tooltip: { options: {
10737
11355
  border: void 0,
10738
11356
  borderRadius: "xs",
@@ -10758,7 +11376,10 @@ var createTheme = ({ id, name, colors, icons = {}, radii = BaseRadii, shadows =
10758
11376
  shadows,
10759
11377
  spacing: BaseSpacing,
10760
11378
  thicknesses: BaseThicknesses,
10761
- icons,
11379
+ icons: {
11380
+ ...BaseIcons,
11381
+ ...icons
11382
+ },
10762
11383
  components: deepMerge(buildComponents(colors), components)
10763
11384
  });
10764
11385
  var BASE_PALETTE_CONFIG = {
@@ -10900,6 +11521,7 @@ var themeExport = (exportName, displayName, colorsConst, shadowsConst, radii) =>
10900
11521
  ` borders: borders(${colorsConst}),`,
10901
11522
  ` components: components(${colorsConst}),`,
10902
11523
  ` shadows: ${shadowsConst},`,
11524
+ " icons,",
10903
11525
  ...radii ? [" radii,"] : [],
10904
11526
  "});"
10905
11527
  ].join("\n");
@@ -10945,6 +11567,7 @@ var emitThemeFile = (input) => {
10945
11567
  " type Borders,",
10946
11568
  " type Colors,",
10947
11569
  " type ComponentThemes,",
11570
+ " type Icons,",
10948
11571
  " type Shadows,",
10949
11572
  " type UniTheme,",
10950
11573
  "} from '@uni-design-system/uni-core';",
@@ -10968,6 +11591,15 @@ ${recordLiteral(shadows, " ")}
10968
11591
  " */",
10969
11592
  "const components = (colors: Colors): ComponentThemes => ({});",
10970
11593
  "",
11594
+ "/**",
11595
+ " * Icon primitives, merged over the built-in set (close, search, spinner,",
11596
+ " * chevrons, \u2026). Define an icon ONCE here as an inline SVG data URI \u2014 it is",
11597
+ " * masked with currentColor, so it recolors with the theme \u2014 and render it",
11598
+ " * anywhere via `<uni-icon name='\u2026'/>`. Never inline SVG in components.",
11599
+ ` * Example: logo: "data:image/svg+xml,%3Csvg xmlns='\u2026' viewBox='0 0 24 24'%3E\u2026%3C/svg%3E",`,
11600
+ " */",
11601
+ "const icons: Icons = {};",
11602
+ "",
10971
11603
  ...radii ? [
10972
11604
  `/** Shape language: '${input.shape}'. */`,
10973
11605
  `const radii = {
@@ -11139,6 +11771,10 @@ ${failing.map((f) => `- ${f.mode} \`${f.foreground}\` on \`${f.background}\`: ${
11139
11771
  "- **Components**: the `components` function returns sparse overrides deep-merged over",
11140
11772
  " Uni defaults \u2014 set only what you change, e.g.",
11141
11773
  " `button: { variants: { secondary: { border: borders(colors)['brush-stroke'] } } }`.",
11774
+ "- **Icons**: never inline SVG in components. Define an icon ONCE in the theme file's",
11775
+ " `icons` map as an inline SVG data URI \u2014 it is masked with `currentColor`, so it",
11776
+ " recolors with the theme \u2014 then render it anywhere with `<uni-icon name='\u2026'/>`.",
11777
+ " A built-in set (close, search, spinner, chevrons, \u2026) ships with every theme.",
11142
11778
  "- Never hardcode hex values in application components: style through `ThemeService`",
11143
11779
  " accessors and semantic token names so themes stay swappable."
11144
11780
  ].join("\n");
@@ -11348,4 +11984,4 @@ export {
11348
11984
  meta,
11349
11985
  createUniServer
11350
11986
  };
11351
- //# sourceMappingURL=chunk-E34OHB3Z.js.map
11987
+ //# sourceMappingURL=chunk-VQE52XFX.js.map