@uni-design-system/uni-mcp 4.1.0 → 4.1.2

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.0.0",
11
- builtAt: "2026-07-23T19:54:03.647Z",
10
+ version: "5.2.0",
11
+ builtAt: "2026-07-24T03:22:37.140Z",
12
12
  frameworks: [
13
13
  "angular"
14
14
  ],
15
15
  counts: {
16
- components: 59,
17
- tokens: 223,
16
+ components: 69,
17
+ tokens: 272,
18
18
  themes: 2,
19
- examples: 0
19
+ examples: 126
20
20
  }
21
21
  },
22
22
  components: [
@@ -27,7 +27,7 @@ var uni_index_default = {
27
27
  summary: "",
28
28
  description: "",
29
29
  category: "feedback",
30
- version: "5.0.0",
30
+ version: "5.2.0",
31
31
  bindings: {
32
32
  angular: {
33
33
  importPath: "@uni-design-system/uni-angular",
@@ -74,7 +74,13 @@ var uni_index_default = {
74
74
  ]
75
75
  }
76
76
  },
77
- examples: [],
77
+ examples: [
78
+ {
79
+ title: "Primary",
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-->"
82
+ }
83
+ ],
78
84
  guidelines: {
79
85
  whenToUse: "",
80
86
  dos: [],
@@ -88,6 +94,169 @@ var uni_index_default = {
88
94
  "alert.behavior.elevation"
89
95
  ]
90
96
  },
97
+ {
98
+ id: "app-bar",
99
+ name: "AppBar",
100
+ status: "stable",
101
+ summary: "",
102
+ description: "",
103
+ category: "components",
104
+ version: "5.2.0",
105
+ bindings: {
106
+ angular: {
107
+ importPath: "@uni-design-system/uni-angular",
108
+ selectorOrTag: "uni-app-bar, AppBar",
109
+ api: [
110
+ {
111
+ name: "title",
112
+ kind: "input",
113
+ type: "string",
114
+ required: false,
115
+ description: "Bar title; alternatively project your own center content."
116
+ },
117
+ {
118
+ name: "sticky",
119
+ kind: "input",
120
+ type: "boolean",
121
+ required: false,
122
+ default: "false",
123
+ description: "Stick the bar to the top of its scroll container."
124
+ }
125
+ ]
126
+ }
127
+ },
128
+ examples: [
129
+ {
130
+ title: "Default",
131
+ framework: "angular",
132
+ code: `<!-- Storybook story: Default -->
133
+ <uni-app-bar [title]="title" [sticky]="sticky">
134
+ <button leading icon-button symbolName="menu">Open navigation</button>
135
+ <button trailing icon-button symbolName="notifications">Notifications</button>
136
+ <uni-avatar trailing name="Grace Hopper" size="sm" />
137
+ </uni-app-bar>
138
+ <!-- args:
139
+ { title: 'Console' }
140
+ -->`
141
+ }
142
+ ],
143
+ guidelines: {
144
+ whenToUse: "",
145
+ dos: [],
146
+ donts: [],
147
+ accessibility: []
148
+ },
149
+ relatedTokens: []
150
+ },
151
+ {
152
+ id: "avatar",
153
+ name: "Avatar",
154
+ status: "stable",
155
+ summary: "",
156
+ description: "",
157
+ category: "components",
158
+ version: "5.2.0",
159
+ bindings: {
160
+ angular: {
161
+ importPath: "@uni-design-system/uni-angular",
162
+ selectorOrTag: "uni-avatar, Avatar",
163
+ api: [
164
+ {
165
+ name: "src",
166
+ kind: "input",
167
+ type: "string",
168
+ required: false,
169
+ description: "Image URL; on load error the avatar falls back to initials/symbol."
170
+ },
171
+ {
172
+ name: "name",
173
+ kind: "input",
174
+ type: "string",
175
+ required: false,
176
+ description: "Person's name: drives the initials and the accessible label."
177
+ },
178
+ {
179
+ name: "text",
180
+ kind: "input",
181
+ type: "string",
182
+ required: false,
183
+ description: "Verbatim text instead of derived initials (e.g. a group's \u201C+3\u201D)."
184
+ }
185
+ ]
186
+ }
187
+ },
188
+ examples: [
189
+ {
190
+ title: "Initials",
191
+ framework: "angular",
192
+ code: `<!-- Storybook story: Initials -->
193
+ <div style="display: flex; gap: 12px; align-items: center;">
194
+ <uni-avatar name="Ada Lovelace" size="sm" />
195
+ <uni-avatar name="Grace Hopper" size="md" variant="secondary" />
196
+ <uni-avatar name="Katherine Johnson" size="lg" variant="tertiary" />
197
+ <uni-avatar name="Annie Easley" size="xl" variant="success" />
198
+ <uni-avatar size="lg" variant="quaternary" />
199
+ </div>
200
+ <!-- args:
201
+ { name: 'Grace Hopper', variant: 'primary', size: 'lg' }
202
+ -->`
203
+ },
204
+ {
205
+ title: "Sizes And Variants",
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>'
208
+ },
209
+ {
210
+ title: "Group",
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>'
213
+ }
214
+ ],
215
+ guidelines: {
216
+ whenToUse: "",
217
+ dos: [],
218
+ donts: [],
219
+ accessibility: []
220
+ },
221
+ relatedTokens: [
222
+ "avatar.behavior.borderRadius",
223
+ "avatar.behavior.typeface",
224
+ "avatar.behavior.fallbackSymbol"
225
+ ]
226
+ },
227
+ {
228
+ id: "avatar-group",
229
+ name: "AvatarGroup",
230
+ status: "stable",
231
+ summary: "",
232
+ description: "",
233
+ category: "components",
234
+ version: "5.2.0",
235
+ bindings: {
236
+ angular: {
237
+ importPath: "@uni-design-system/uni-angular",
238
+ selectorOrTag: "uni-avatar-group, AvatarGroup",
239
+ api: [
240
+ {
241
+ name: "max",
242
+ kind: "input",
243
+ type: "number | undefined",
244
+ required: false,
245
+ default: "undefined",
246
+ description: "Show at most this many avatars; the rest collapse into a \u201C+N\u201D chip."
247
+ }
248
+ ]
249
+ }
250
+ },
251
+ examples: [],
252
+ guidelines: {
253
+ whenToUse: "",
254
+ dos: [],
255
+ donts: [],
256
+ accessibility: []
257
+ },
258
+ relatedTokens: []
259
+ },
91
260
  {
92
261
  id: "background",
93
262
  name: "Background",
@@ -95,7 +264,7 @@ var uni_index_default = {
95
264
  summary: "",
96
265
  description: "",
97
266
  category: "primitives",
98
- version: "5.0.0",
267
+ version: "5.2.0",
99
268
  bindings: {
100
269
  angular: {
101
270
  importPath: "@uni-design-system/uni-angular",
@@ -140,7 +309,23 @@ var uni_index_default = {
140
309
  ]
141
310
  }
142
311
  },
143
- examples: [],
312
+ examples: [
313
+ {
314
+ title: "Primary",
315
+ framework: "angular",
316
+ code: "<!-- Storybook story: Primary -->\n<!-- args:\n{\n image: 'images/phone-zone-illustration.svg',\n imagePosition: 'center',\n imageSize: '400px',\n height: '400px',\n width: '100%',\n }\n-->"
317
+ },
318
+ {
319
+ title: "Contain Size",
320
+ framework: "angular",
321
+ code: "<!-- Storybook story: Contain Size -->\n<!-- args:\n{\n ...Primary.args,\n imageSize: 'contain',\n }\n-->"
322
+ },
323
+ {
324
+ title: "Custom Position",
325
+ framework: "angular",
326
+ code: "<!-- Storybook story: Custom Position -->\n<!-- args:\n{\n ...Primary.args,\n imagePosition: 'top',\n }\n-->"
327
+ }
328
+ ],
144
329
  guidelines: {
145
330
  whenToUse: "",
146
331
  dos: [],
@@ -156,7 +341,7 @@ var uni_index_default = {
156
341
  summary: "",
157
342
  description: "",
158
343
  category: "feedback",
159
- version: "5.0.0",
344
+ version: "5.2.0",
160
345
  bindings: {
161
346
  angular: {
162
347
  importPath: "@uni-design-system/uni-angular",
@@ -188,7 +373,38 @@ var uni_index_default = {
188
373
  ]
189
374
  }
190
375
  },
191
- examples: [],
376
+ examples: [
377
+ {
378
+ title: "Pass",
379
+ framework: "angular",
380
+ code: `<!-- Storybook story: Pass -->
381
+ <Badge color="\${color}" [width]="\${width}">
382
+ \${ngContent}
383
+ </Badge>
384
+ <!-- args:
385
+ {
386
+ color: 'secondary',
387
+ ngContent: 'Pass',
388
+ width: 76,
389
+ }
390
+ -->`
391
+ },
392
+ {
393
+ title: "Fail",
394
+ framework: "angular",
395
+ code: `<!-- Storybook story: Fail -->
396
+ <Badge color="\${color}" [width]="\${width}">
397
+ \${ngContent}
398
+ </Badge>
399
+ <!-- args:
400
+ {
401
+ color: 'warn',
402
+ ngContent: 'Fail',
403
+ width: 76,
404
+ }
405
+ -->`
406
+ }
407
+ ],
192
408
  guidelines: {
193
409
  whenToUse: "",
194
410
  dos: [],
@@ -206,7 +422,7 @@ var uni_index_default = {
206
422
  summary: "",
207
423
  description: "",
208
424
  category: "directives",
209
- version: "5.0.0",
425
+ version: "5.2.0",
210
426
  bindings: {
211
427
  angular: {
212
428
  importPath: "@uni-design-system/uni-angular",
@@ -230,7 +446,7 @@ var uni_index_default = {
230
446
  summary: "",
231
447
  description: "",
232
448
  category: "layout",
233
- version: "5.0.0",
449
+ version: "5.2.0",
234
450
  bindings: {
235
451
  angular: {
236
452
  importPath: "@uni-design-system/uni-angular",
@@ -571,7 +787,13 @@ var uni_index_default = {
571
787
  ]
572
788
  }
573
789
  },
574
- examples: [],
790
+ examples: [
791
+ {
792
+ title: "Primary",
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-->"
795
+ }
796
+ ],
575
797
  guidelines: {
576
798
  whenToUse: "",
577
799
  dos: [],
@@ -580,6 +802,70 @@ var uni_index_default = {
580
802
  },
581
803
  relatedTokens: []
582
804
  },
805
+ {
806
+ id: "breadcrumb",
807
+ name: "Breadcrumb",
808
+ status: "stable",
809
+ summary: "",
810
+ description: "",
811
+ category: "components",
812
+ version: "5.2.0",
813
+ bindings: {
814
+ angular: {
815
+ importPath: "@uni-design-system/uni-angular",
816
+ selectorOrTag: "uni-breadcrumb, Breadcrumb",
817
+ api: [
818
+ {
819
+ name: "items",
820
+ kind: "input",
821
+ type: "BreadcrumbItem[]",
822
+ required: true,
823
+ description: "The trail, root first; the last item is the current page."
824
+ },
825
+ {
826
+ name: "ariaLabel",
827
+ kind: "input",
828
+ type: "string",
829
+ required: false,
830
+ default: "'Breadcrumb'",
831
+ description: "Landmark label distinguishing this nav from others on the page."
832
+ },
833
+ {
834
+ name: "itemClicked",
835
+ kind: "output",
836
+ type: "BreadcrumbItem",
837
+ required: false,
838
+ description: "Emits the clicked ancestor item (also fires for `href` links)."
839
+ }
840
+ ]
841
+ }
842
+ },
843
+ examples: [
844
+ {
845
+ title: "Default",
846
+ framework: "angular",
847
+ code: "<!-- Storybook story: Default -->\n<!-- args:\n{\n items: [\n { label: 'Home', href: '#' },\n { label: 'Reports', href: '#' },\n { label: 'Q3 Revenue' },\n ],\n }\n-->"
848
+ },
849
+ {
850
+ title: "Router-driven (no hrefs)",
851
+ framework: "angular",
852
+ code: "<!-- Storybook story: Router-driven (no hrefs) -->\n<!-- args:\n{\n items: [{ label: 'Home' }, { label: 'Settings' }, { label: 'Notifications' }],\n }\n-->"
853
+ }
854
+ ],
855
+ guidelines: {
856
+ whenToUse: "",
857
+ dos: [],
858
+ donts: [],
859
+ accessibility: []
860
+ },
861
+ relatedTokens: [
862
+ "breadcrumb.behavior.typeface",
863
+ "breadcrumb.behavior.color",
864
+ "breadcrumb.behavior.currentColor",
865
+ "breadcrumb.behavior.separatorSymbol",
866
+ "breadcrumb.behavior.gap"
867
+ ]
868
+ },
583
869
  {
584
870
  id: "button",
585
871
  name: "Button",
@@ -587,7 +873,7 @@ var uni_index_default = {
587
873
  summary: "",
588
874
  description: "",
589
875
  category: "primitives",
590
- version: "5.0.0",
876
+ version: "5.2.0",
591
877
  bindings: {
592
878
  angular: {
593
879
  importPath: "@uni-design-system/uni-angular",
@@ -634,14 +920,91 @@ var uni_index_default = {
634
920
  ]
635
921
  }
636
922
  },
637
- examples: [],
923
+ examples: [
924
+ {
925
+ title: "Primary",
926
+ framework: "angular",
927
+ code: `<!-- Storybook story: Primary -->
928
+ <button text-button [variant]="variant" [size]="size" \${argsToTemplate(props)}>
929
+ {{ngContent}}
930
+ </button>
931
+ <!-- args:
932
+ {
933
+ variant: 'primary',
934
+ size: 'lg',
935
+ ngContent: 'Button',
936
+ }
937
+ -->`
938
+ },
939
+ {
940
+ title: "Secondary",
941
+ framework: "angular",
942
+ code: `<!-- Storybook story: Secondary -->
943
+ <button text-button [variant]="variant" [size]="size" \${argsToTemplate(props)}>
944
+ {{ngContent}}
945
+ </button>
946
+ <!-- args:
947
+ {
948
+ size: 'lg',
949
+ variant: 'secondary',
950
+ ngContent: 'Secondary Button',
951
+ }
952
+ -->`
953
+ },
954
+ {
955
+ title: "Tertiary",
956
+ framework: "angular",
957
+ code: `<!-- Storybook story: Tertiary -->
958
+ <button text-button [variant]="variant" [size]="size" \${argsToTemplate(props)}>
959
+ {{ngContent}}
960
+ </button>
961
+ <!-- args:
962
+ {
963
+ size: 'lg',
964
+ variant: 'tertiary',
965
+ ngContent: 'Tertiary Button',
966
+ }
967
+ -->`
968
+ },
969
+ {
970
+ title: "Medium",
971
+ framework: "angular",
972
+ code: `<!-- Storybook story: Medium -->
973
+ <button text-button [variant]="variant" [size]="size" \${argsToTemplate(props)}>
974
+ {{ngContent}}
975
+ </button>
976
+ <!-- args:
977
+ {
978
+ size: 'md',
979
+ ngContent: 'Medium Button',
980
+ }
981
+ -->`
982
+ },
983
+ {
984
+ title: "Small",
985
+ framework: "angular",
986
+ code: `<!-- Storybook story: Small -->
987
+ <button text-button [variant]="variant" [size]="size" \${argsToTemplate(props)}>
988
+ {{ngContent}}
989
+ </button>
990
+ <!-- args:
991
+ {
992
+ size: 'sm',
993
+ ngContent: 'Small Button',
994
+ }
995
+ -->`
996
+ }
997
+ ],
638
998
  guidelines: {
639
999
  whenToUse: "",
640
1000
  dos: [],
641
1001
  donts: [],
642
1002
  accessibility: []
643
1003
  },
644
- relatedTokens: []
1004
+ relatedTokens: [
1005
+ "button.behavior.borderRadius",
1006
+ "button.behavior.typeface"
1007
+ ]
645
1008
  },
646
1009
  {
647
1010
  id: "button-group",
@@ -650,7 +1013,7 @@ var uni_index_default = {
650
1013
  summary: "",
651
1014
  description: "",
652
1015
  category: "primitives",
653
- version: "5.0.0",
1016
+ version: "5.2.0",
654
1017
  bindings: {
655
1018
  angular: {
656
1019
  importPath: "@uni-design-system/uni-angular",
@@ -658,7 +1021,13 @@ var uni_index_default = {
658
1021
  api: []
659
1022
  }
660
1023
  },
661
- examples: [],
1024
+ examples: [
1025
+ {
1026
+ title: "Primary",
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-->'
1029
+ }
1030
+ ],
662
1031
  guidelines: {
663
1032
  whenToUse: "",
664
1033
  dos: [],
@@ -674,7 +1043,7 @@ var uni_index_default = {
674
1043
  summary: "",
675
1044
  description: "",
676
1045
  category: "layout",
677
- version: "5.0.0",
1046
+ version: "5.2.0",
678
1047
  bindings: {
679
1048
  angular: {
680
1049
  importPath: "@uni-design-system/uni-angular",
@@ -682,14 +1051,35 @@ var uni_index_default = {
682
1051
  api: []
683
1052
  }
684
1053
  },
685
- examples: [],
1054
+ examples: [
1055
+ {
1056
+ title: "Primary",
1057
+ framework: "angular",
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>
1065
+ <!-- args:
1066
+ {
1067
+ variant: 'primary',
1068
+ size: 'lg',
1069
+ ngContent: 'Card content.',
1070
+ }
1071
+ -->`
1072
+ }
1073
+ ],
686
1074
  guidelines: {
687
1075
  whenToUse: "",
688
1076
  dos: [],
689
1077
  donts: [],
690
1078
  accessibility: []
691
1079
  },
692
- relatedTokens: []
1080
+ relatedTokens: [
1081
+ "card.behavior.borderRadius"
1082
+ ]
693
1083
  },
694
1084
  {
695
1085
  id: "card-content",
@@ -698,7 +1088,7 @@ var uni_index_default = {
698
1088
  summary: "",
699
1089
  description: "",
700
1090
  category: "layout",
701
- version: "5.0.0",
1091
+ version: "5.2.0",
702
1092
  bindings: {
703
1093
  angular: {
704
1094
  importPath: "@uni-design-system/uni-angular",
@@ -722,7 +1112,7 @@ var uni_index_default = {
722
1112
  summary: "",
723
1113
  description: "",
724
1114
  category: "layout",
725
- version: "5.0.0",
1115
+ version: "5.2.0",
726
1116
  bindings: {
727
1117
  angular: {
728
1118
  importPath: "@uni-design-system/uni-angular",
@@ -763,7 +1153,7 @@ var uni_index_default = {
763
1153
  summary: "",
764
1154
  description: "",
765
1155
  category: "layout",
766
- version: "5.0.0",
1156
+ version: "5.2.0",
767
1157
  bindings: {
768
1158
  angular: {
769
1159
  importPath: "@uni-design-system/uni-angular",
@@ -796,7 +1186,13 @@ var uni_index_default = {
796
1186
  ]
797
1187
  }
798
1188
  },
799
- examples: [],
1189
+ examples: [
1190
+ {
1191
+ title: "Primary",
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-->"
1194
+ }
1195
+ ],
800
1196
  guidelines: {
801
1197
  whenToUse: "",
802
1198
  dos: [],
@@ -812,7 +1208,7 @@ var uni_index_default = {
812
1208
  summary: "",
813
1209
  description: "",
814
1210
  category: "forms",
815
- version: "5.0.0",
1211
+ version: "5.2.0",
816
1212
  bindings: {
817
1213
  angular: {
818
1214
  importPath: "@uni-design-system/uni-angular",
@@ -891,7 +1287,38 @@ var uni_index_default = {
891
1287
  ]
892
1288
  }
893
1289
  },
894
- examples: [],
1290
+ examples: [
1291
+ {
1292
+ title: "Default",
1293
+ framework: "angular",
1294
+ code: "<!-- Storybook story: Default -->\n<uni-checkbox ${argsToTemplate(args)}></uni-checkbox>\n<!-- args:\n{\n label: 'Accept terms and conditions',\n variant: 'primary',\n disabled: false,\n checked: true,\n }\n-->"
1295
+ },
1296
+ {
1297
+ title: "Without Label",
1298
+ framework: "angular",
1299
+ code: "<!-- Storybook story: Without Label -->\n<uni-checkbox ${argsToTemplate(args)}></uni-checkbox>\n<!-- args:\n{\n label: '',\n variant: 'primary',\n disabled: false,\n }\n-->"
1300
+ },
1301
+ {
1302
+ title: "Disabled",
1303
+ framework: "angular",
1304
+ code: "<!-- Storybook story: Disabled -->\n<uni-checkbox ${argsToTemplate(args)}></uni-checkbox>\n<!-- args:\n{\n label: 'Disabled checkbox',\n variant: 'primary',\n disabled: true,\n }\n-->"
1305
+ },
1306
+ {
1307
+ title: "Variants",
1308
+ framework: "angular",
1309
+ code: "<!-- Storybook story: Variants -->\n<uni-checkbox ${argsToTemplate(args)}></uni-checkbox>"
1310
+ },
1311
+ {
1312
+ title: "With Change Event",
1313
+ framework: "angular",
1314
+ code: "<!-- Storybook story: With Change Event -->\n<uni-checkbox ${argsToTemplate(args)}></uni-checkbox>"
1315
+ },
1316
+ {
1317
+ title: "Form Signals",
1318
+ framework: "angular",
1319
+ code: "<!-- Storybook story: Form Signals -->\n<uni-checkbox ${argsToTemplate(args)}></uni-checkbox>"
1320
+ }
1321
+ ],
895
1322
  guidelines: {
896
1323
  whenToUse: "",
897
1324
  dos: [],
@@ -909,7 +1336,7 @@ var uni_index_default = {
909
1336
  summary: "",
910
1337
  description: "",
911
1338
  category: "feedback",
912
- version: "5.0.0",
1339
+ version: "5.2.0",
913
1340
  bindings: {
914
1341
  angular: {
915
1342
  importPath: "@uni-design-system/uni-angular",
@@ -956,7 +1383,7 @@ var uni_index_default = {
956
1383
  summary: "",
957
1384
  description: "",
958
1385
  category: "forms",
959
- version: "5.0.0",
1386
+ version: "5.2.0",
960
1387
  bindings: {
961
1388
  angular: {
962
1389
  importPath: "@uni-design-system/uni-angular",
@@ -987,7 +1414,43 @@ var uni_index_default = {
987
1414
  ]
988
1415
  }
989
1416
  },
990
- examples: [],
1417
+ examples: [
1418
+ {
1419
+ title: "Primary",
1420
+ framework: "angular",
1421
+ code: `<!-- Storybook story: Primary -->
1422
+ <uni-data-search \${argsToTemplate(props)} />
1423
+ <div style="margin-top: 16px;">
1424
+ @for (record of datasource.records(); track record.id) {
1425
+ <div>{{ record.name }} \u2014 {{ record.homeworld }}</div>
1426
+ }
1427
+ </div>
1428
+ <!-- args:
1429
+ {
1430
+ datasource: new UniRecordDatasource<any>(starWarsCharacters.slice(0, 10)),
1431
+ placeholder: 'Search characters',
1432
+ }
1433
+ -->`
1434
+ },
1435
+ {
1436
+ title: "Field Scoped",
1437
+ framework: "angular",
1438
+ code: `<!-- Storybook story: Field Scoped -->
1439
+ <uni-data-search \${argsToTemplate(props)} />
1440
+ <div style="margin-top: 16px;">
1441
+ @for (record of datasource.records(); track record.id) {
1442
+ <div>{{ record.name }} \u2014 {{ record.homeworld }}</div>
1443
+ }
1444
+ </div>
1445
+ <!-- args:
1446
+ {
1447
+ datasource: new UniRecordDatasource<any>(starWarsCharacters.slice(0, 10)),
1448
+ placeholder: 'Search by name only',
1449
+ fields: ['name'],
1450
+ }
1451
+ -->`
1452
+ }
1453
+ ],
991
1454
  guidelines: {
992
1455
  whenToUse: "",
993
1456
  dos: [],
@@ -1003,7 +1466,7 @@ var uni_index_default = {
1003
1466
  summary: "",
1004
1467
  description: "",
1005
1468
  category: "data",
1006
- version: "5.0.0",
1469
+ version: "5.2.0",
1007
1470
  bindings: {
1008
1471
  angular: {
1009
1472
  importPath: "@uni-design-system/uni-angular",
@@ -1063,7 +1526,28 @@ var uni_index_default = {
1063
1526
  ]
1064
1527
  }
1065
1528
  },
1066
- examples: [],
1529
+ examples: [
1530
+ {
1531
+ title: "Primary",
1532
+ framework: "angular",
1533
+ code: "<!-- Storybook story: Primary -->\n<!-- args:\n{\n columns: [\n {\n columnDef: 'id',\n header: 'ID',\n isSticky: true,\n },\n {\n columnDef: 'name',\n header: 'Name',\n textAlign: 'left',\n },\n {\n columnDef: 'species',\n header: 'Species',\n },\n {\n columnDef: 'height',\n header: 'Height',\n cell: (element: any) => (element.height ? `${element.height} m` : ''),\n },\n {\n columnDef: 'homeworld',\n header: 'Home World',\n },\n ],\n datasource: new UniRecordDatasource<any>(starWarsCharacters),\n }\n-->"
1534
+ },
1535
+ {
1536
+ title: "With Header",
1537
+ framework: "angular",
1538
+ code: "<!-- Storybook story: With Header -->\n<!-- args:\n{\n height: '300px',\n columns: [\n {\n columnDef: 'id',\n header: 'ID',\n },\n {\n columnDef: 'name',\n header: 'Name',\n textAlign: 'left',\n },\n {\n columnDef: 'homeworld',\n header: 'Home World',\n },\n ],\n datasource: new UniRecordDatasource<any>(starWarsCharacters),\n }\n-->"
1539
+ },
1540
+ {
1541
+ title: "With Search",
1542
+ framework: "angular",
1543
+ code: "<!-- Storybook story: With Search -->\n<!-- args:\n{\n height: '300px',\n columns: [\n {\n columnDef: 'id',\n header: 'ID',\n },\n {\n columnDef: 'name',\n header: 'Name',\n textAlign: 'left',\n },\n {\n columnDef: 'homeworld',\n header: 'Home World',\n },\n ],\n datasource: new UniRecordDatasource<any>(starWarsCharacters),\n }\n-->"
1544
+ },
1545
+ {
1546
+ title: "With Detail Row",
1547
+ framework: "angular",
1548
+ code: "<!-- Storybook story: With Detail Row -->\n<!-- args:\n{\n height: '300px',\n columns: [\n {\n columnDef: 'id',\n header: 'ID',\n },\n {\n columnDef: 'name',\n header: 'Name',\n textAlign: 'left',\n },\n {\n columnDef: 'homeworld',\n header: 'Home World',\n },\n ],\n datasource: new UniRecordDatasource<any>(starWarsCharacters),\n }\n-->"
1549
+ }
1550
+ ],
1067
1551
  guidelines: {
1068
1552
  whenToUse: "",
1069
1553
  dos: [],
@@ -1079,7 +1563,7 @@ var uni_index_default = {
1079
1563
  summary: "",
1080
1564
  description: "",
1081
1565
  category: "forms",
1082
- version: "5.0.0",
1566
+ version: "5.2.0",
1083
1567
  bindings: {
1084
1568
  angular: {
1085
1569
  importPath: "@uni-design-system/uni-angular",
@@ -1117,7 +1601,24 @@ var uni_index_default = {
1117
1601
  ]
1118
1602
  }
1119
1603
  },
1120
- examples: [],
1604
+ examples: [
1605
+ {
1606
+ title: "Primary",
1607
+ framework: "angular",
1608
+ code: `<!-- Storybook story: Primary -->
1609
+ <DebounceInput \${argsToTemplate(props)} (change)="lastEmitted = $event" #debounce />
1610
+ <div style="margin-top: 16px;">
1611
+ <div>Live value: {{ debounce.value() }}</div>
1612
+ <div>Debounced value: {{ lastEmitted }}</div>
1613
+ </div>
1614
+ <!-- args:
1615
+ {
1616
+ inputName: 'search',
1617
+ debounceTime: 400,
1618
+ }
1619
+ -->`
1620
+ }
1621
+ ],
1121
1622
  guidelines: {
1122
1623
  whenToUse: "",
1123
1624
  dos: [],
@@ -1133,7 +1634,7 @@ var uni_index_default = {
1133
1634
  summary: "",
1134
1635
  description: "",
1135
1636
  category: "feedback",
1136
- version: "5.0.0",
1637
+ version: "5.2.0",
1137
1638
  bindings: {
1138
1639
  angular: {
1139
1640
  importPath: "@uni-design-system/uni-angular",
@@ -1178,7 +1679,13 @@ var uni_index_default = {
1178
1679
  ]
1179
1680
  }
1180
1681
  },
1181
- examples: [],
1682
+ examples: [
1683
+ {
1684
+ title: "Primary",
1685
+ 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-->'
1687
+ }
1688
+ ],
1182
1689
  guidelines: {
1183
1690
  whenToUse: "",
1184
1691
  dos: [],
@@ -1201,7 +1708,7 @@ var uni_index_default = {
1201
1708
  summary: "",
1202
1709
  description: "",
1203
1710
  category: "feedback",
1204
- version: "5.0.0",
1711
+ version: "5.2.0",
1205
1712
  bindings: {
1206
1713
  angular: {
1207
1714
  importPath: "@uni-design-system/uni-angular",
@@ -1286,7 +1793,7 @@ var uni_index_default = {
1286
1793
  summary: "",
1287
1794
  description: "",
1288
1795
  category: "feedback",
1289
- version: "5.0.0",
1796
+ version: "5.2.0",
1290
1797
  bindings: {
1291
1798
  angular: {
1292
1799
  importPath: "@uni-design-system/uni-angular",
@@ -1310,7 +1817,7 @@ var uni_index_default = {
1310
1817
  summary: "",
1311
1818
  description: "",
1312
1819
  category: "layout",
1313
- version: "5.0.0",
1820
+ version: "5.2.0",
1314
1821
  bindings: {
1315
1822
  angular: {
1316
1823
  importPath: "@uni-design-system/uni-angular",
@@ -1335,7 +1842,22 @@ var uni_index_default = {
1335
1842
  ]
1336
1843
  }
1337
1844
  },
1338
- examples: [],
1845
+ examples: [
1846
+ {
1847
+ title: "Primary",
1848
+ framework: "angular",
1849
+ code: `<!-- Storybook story: Primary -->
1850
+ <Center height="200px">
1851
+ <Divider border="\${border}" orientation="\${orientation}" />
1852
+ </Center>
1853
+ <!-- args:
1854
+ {
1855
+ orientation: 'horizontal',
1856
+ border: 'primary',
1857
+ }
1858
+ -->`
1859
+ }
1860
+ ],
1339
1861
  guidelines: {
1340
1862
  whenToUse: "",
1341
1863
  dos: [],
@@ -1351,7 +1873,7 @@ var uni_index_default = {
1351
1873
  summary: "",
1352
1874
  description: "",
1353
1875
  category: "directives",
1354
- version: "5.0.0",
1876
+ version: "5.2.0",
1355
1877
  bindings: {
1356
1878
  angular: {
1357
1879
  importPath: "@uni-design-system/uni-angular",
@@ -1376,6 +1898,81 @@ var uni_index_default = {
1376
1898
  },
1377
1899
  relatedTokens: []
1378
1900
  },
1901
+ {
1902
+ id: "drawer",
1903
+ name: "Drawer",
1904
+ status: "stable",
1905
+ summary: "",
1906
+ description: "",
1907
+ category: "components",
1908
+ version: "5.2.0",
1909
+ bindings: {
1910
+ angular: {
1911
+ importPath: "@uni-design-system/uni-angular",
1912
+ selectorOrTag: "uni-drawer, Drawer",
1913
+ api: [
1914
+ {
1915
+ name: "open",
1916
+ kind: "model",
1917
+ type: "boolean",
1918
+ required: false,
1919
+ default: "false",
1920
+ description: "Two-way bindable open state: [(open)]."
1921
+ },
1922
+ {
1923
+ name: "mode",
1924
+ kind: "input",
1925
+ type: "DrawerMode",
1926
+ required: false,
1927
+ default: "'side'",
1928
+ description: ""
1929
+ },
1930
+ {
1931
+ name: "position",
1932
+ kind: "input",
1933
+ type: "DrawerPosition",
1934
+ required: false,
1935
+ default: "'start'",
1936
+ description: ""
1937
+ },
1938
+ {
1939
+ name: "ariaLabel",
1940
+ kind: "input",
1941
+ type: "string",
1942
+ required: false,
1943
+ default: "'Navigation'",
1944
+ description: "Accessible name for the overlay mode's dialog."
1945
+ }
1946
+ ]
1947
+ }
1948
+ },
1949
+ examples: [
1950
+ {
1951
+ title: "Dashboard Shell",
1952
+ 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>'
1954
+ },
1955
+ {
1956
+ title: "Overlay",
1957
+ 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>'
1959
+ }
1960
+ ],
1961
+ guidelines: {
1962
+ whenToUse: "",
1963
+ dos: [],
1964
+ donts: [],
1965
+ accessibility: []
1966
+ },
1967
+ relatedTokens: [
1968
+ "drawer.behavior.color",
1969
+ "drawer.behavior.width",
1970
+ "drawer.behavior.divider",
1971
+ "drawer.behavior.elevation",
1972
+ "drawer.behavior.padding",
1973
+ "drawer.behavior.backdrop"
1974
+ ]
1975
+ },
1379
1976
  {
1380
1977
  id: "dropdown",
1381
1978
  name: "Dropdown",
@@ -1383,7 +1980,7 @@ var uni_index_default = {
1383
1980
  summary: "",
1384
1981
  description: "",
1385
1982
  category: "components",
1386
- version: "5.0.0",
1983
+ version: "5.2.0",
1387
1984
  bindings: {
1388
1985
  angular: {
1389
1986
  importPath: "@uni-design-system/uni-angular",
@@ -1472,7 +2069,7 @@ var uni_index_default = {
1472
2069
  summary: "",
1473
2070
  description: "",
1474
2071
  category: "layout",
1475
- version: "5.0.0",
2072
+ version: "5.2.0",
1476
2073
  bindings: {
1477
2074
  angular: {
1478
2075
  importPath: "@uni-design-system/uni-angular",
@@ -1489,7 +2086,27 @@ var uni_index_default = {
1489
2086
  ]
1490
2087
  }
1491
2088
  },
1492
- examples: [],
2089
+ examples: [
2090
+ {
2091
+ title: "Primary",
2092
+ framework: "angular",
2093
+ 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>
2102
+ <!-- args:
2103
+ {
2104
+ collapsed: false,
2105
+ ngContent: 'Expandable Content',
2106
+ }
2107
+ -->`
2108
+ }
2109
+ ],
1493
2110
  guidelines: {
1494
2111
  whenToUse: "",
1495
2112
  dos: [],
@@ -1505,7 +2122,7 @@ var uni_index_default = {
1505
2122
  summary: "",
1506
2123
  description: "",
1507
2124
  category: "layout",
1508
- version: "5.0.0",
2125
+ version: "5.2.0",
1509
2126
  bindings: {
1510
2127
  angular: {
1511
2128
  importPath: "@uni-design-system/uni-angular",
@@ -1544,7 +2161,23 @@ var uni_index_default = {
1544
2161
  ]
1545
2162
  }
1546
2163
  },
1547
- examples: [],
2164
+ examples: [
2165
+ {
2166
+ title: "Primary",
2167
+ framework: "angular",
2168
+ code: `<!-- Storybook story: Primary -->
2169
+ <ExpandArea title="\${title}" padding="\${padding}" initCollapsed="\${initCollapsed}" #expandArea>
2170
+ <button text-button (click)="expandArea.toggleExpand()" size="md" variant="ghost" symbolLeft="collapse_all">Collapse area</button>
2171
+ </ExpandArea>
2172
+ <!-- args:
2173
+ {
2174
+ title: 'Expand Area Title',
2175
+ padding: 'sm',
2176
+ initCollapsed: true,
2177
+ }
2178
+ -->`
2179
+ }
2180
+ ],
1548
2181
  guidelines: {
1549
2182
  whenToUse: "",
1550
2183
  dos: [],
@@ -1560,7 +2193,7 @@ var uni_index_default = {
1560
2193
  summary: "",
1561
2194
  description: "",
1562
2195
  category: "forms",
1563
- version: "5.0.0",
2196
+ version: "5.2.0",
1564
2197
  bindings: {
1565
2198
  angular: {
1566
2199
  importPath: "@uni-design-system/uni-angular",
@@ -1584,7 +2217,13 @@ var uni_index_default = {
1584
2217
  ]
1585
2218
  }
1586
2219
  },
1587
- examples: [],
2220
+ examples: [
2221
+ {
2222
+ title: "Primary",
2223
+ 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-->'
2225
+ }
2226
+ ],
1588
2227
  guidelines: {
1589
2228
  whenToUse: "",
1590
2229
  dos: [],
@@ -1600,7 +2239,7 @@ var uni_index_default = {
1600
2239
  summary: "",
1601
2240
  description: "",
1602
2241
  category: "forms",
1603
- version: "5.0.0",
2242
+ version: "5.2.0",
1604
2243
  bindings: {
1605
2244
  angular: {
1606
2245
  importPath: "@uni-design-system/uni-angular",
@@ -1701,7 +2340,46 @@ var uni_index_default = {
1701
2340
  ]
1702
2341
  }
1703
2342
  },
1704
- examples: [],
2343
+ examples: [
2344
+ {
2345
+ title: "Primary",
2346
+ framework: "angular",
2347
+ code: `<!-- Storybook story: Primary -->
2348
+ <uni-file-drop-zone \${argsToTemplate(props)} [helpTemplate]="myTemplate" />
2349
+ <ng-template #myTemplate>
2350
+ <div stack-layout alignItems="center">
2351
+ <Text typeface="title-medium">Title Text</Text>
2352
+ <Text typeface="subtitle-1">Subtitle Text</Text>
2353
+ </div>
2354
+ </ng-template>
2355
+ <!-- args:
2356
+ {
2357
+ label: 'Image',
2358
+ browseButtonText: 'Browse for image',
2359
+ allowedFileExtensions: ['png', 'jpg'],
2360
+ }
2361
+ -->`
2362
+ },
2363
+ {
2364
+ title: "With Help Template",
2365
+ framework: "angular",
2366
+ code: `<!-- Storybook story: With Help Template -->
2367
+ <uni-file-drop-zone \${argsToTemplate(props)} [helpTemplate]="myTemplate" />
2368
+ <ng-template #myTemplate>
2369
+ <div stack-layout alignItems="center">
2370
+ <Text typeface="title-medium">Title Text</Text>
2371
+ <Text typeface="subtitle-1">Subtitle Text</Text>
2372
+ </div>
2373
+ </ng-template>
2374
+ <!-- args:
2375
+ {
2376
+ label: 'Image',
2377
+ browseButtonText: 'Browse for image',
2378
+ allowedFileExtensions: ['png', 'jpg'],
2379
+ }
2380
+ -->`
2381
+ }
2382
+ ],
1705
2383
  guidelines: {
1706
2384
  whenToUse: "",
1707
2385
  dos: [],
@@ -1717,7 +2395,7 @@ var uni_index_default = {
1717
2395
  summary: "",
1718
2396
  description: "",
1719
2397
  category: "layout",
1720
- version: "5.0.0",
2398
+ version: "5.2.0",
1721
2399
  bindings: {
1722
2400
  angular: {
1723
2401
  importPath: "@uni-design-system/uni-angular",
@@ -1769,7 +2447,36 @@ var uni_index_default = {
1769
2447
  ]
1770
2448
  }
1771
2449
  },
1772
- examples: [],
2450
+ examples: [
2451
+ {
2452
+ title: "Simple Grid",
2453
+ framework: "angular",
2454
+ code: `<!-- Storybook story: Simple Grid -->
2455
+ <div grid-layout \${argsToTemplate(props)}>
2456
+ <div box-layout gridArea="nav" color="quaternary" padding="md" borderRadius="sm">
2457
+ <Text>nav</Text>
2458
+ </div>
2459
+ <div box-layout gridArea="a1" color="primary" padding="md" borderRadius="sm">
2460
+ <Text>a1</Text>
2461
+ </div>
2462
+ <div box-layout gridArea="a2" color="secondary" padding="md" borderRadius="sm">
2463
+ <Text>a2</Text>
2464
+ </div>
2465
+ <div box-layout gridArea="b1" color="tertiary" padding="md" borderRadius="sm">
2466
+ <Text>b1</Text>
2467
+ </div>
2468
+ <div box-layout gridArea="b2" color="warn" padding="md" borderRadius="sm">
2469
+ <Text>b2</Text>
2470
+ </div>
2471
+ </div>
2472
+ <!-- args:
2473
+ {
2474
+ templateAreas: \`'nav a1 a2' 'nav b1 b2'\`,
2475
+ gap: 'sm',
2476
+ }
2477
+ -->`
2478
+ }
2479
+ ],
1773
2480
  guidelines: {
1774
2481
  whenToUse: "",
1775
2482
  dos: [],
@@ -1785,7 +2492,7 @@ var uni_index_default = {
1785
2492
  summary: "",
1786
2493
  description: "",
1787
2494
  category: "layout",
1788
- version: "5.0.0",
2495
+ version: "5.2.0",
1789
2496
  bindings: {
1790
2497
  angular: {
1791
2498
  importPath: "@uni-design-system/uni-angular",
@@ -1817,7 +2524,7 @@ var uni_index_default = {
1817
2524
  summary: "",
1818
2525
  description: "",
1819
2526
  category: "primitives",
1820
- version: "5.0.0",
2527
+ version: "5.2.0",
1821
2528
  bindings: {
1822
2529
  angular: {
1823
2530
  importPath: "@uni-design-system/uni-angular",
@@ -1840,7 +2547,21 @@ var uni_index_default = {
1840
2547
  ]
1841
2548
  }
1842
2549
  },
1843
- examples: [],
2550
+ examples: [
2551
+ {
2552
+ title: "Primary",
2553
+ 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
+ -->`
2563
+ }
2564
+ ],
1844
2565
  guidelines: {
1845
2566
  whenToUse: "",
1846
2567
  dos: [],
@@ -1856,7 +2577,7 @@ var uni_index_default = {
1856
2577
  summary: "",
1857
2578
  description: "",
1858
2579
  category: "primitives",
1859
- version: "5.0.0",
2580
+ version: "5.2.0",
1860
2581
  bindings: {
1861
2582
  angular: {
1862
2583
  importPath: "@uni-design-system/uni-angular",
@@ -1924,7 +2645,23 @@ var uni_index_default = {
1924
2645
  ]
1925
2646
  }
1926
2647
  },
1927
- examples: [],
2648
+ examples: [
2649
+ {
2650
+ title: "Primary",
2651
+ framework: "angular",
2652
+ code: `<!-- Storybook story: Primary -->
2653
+ <button icon-button iconName="\${iconName}" variant="\${variant}" size="\${size}" \${argsToTemplate(
2654
+ props
2655
+ )}></button>
2656
+ <!-- args:
2657
+ {
2658
+ iconName: 'search',
2659
+ size: 'lg',
2660
+ variant: 'ghost',
2661
+ }
2662
+ -->`
2663
+ }
2664
+ ],
1928
2665
  guidelines: {
1929
2666
  whenToUse: "",
1930
2667
  dos: [],
@@ -1940,7 +2677,7 @@ var uni_index_default = {
1940
2677
  summary: "",
1941
2678
  description: "",
1942
2679
  category: "forms",
1943
- version: "5.0.0",
2680
+ version: "5.2.0",
1944
2681
  bindings: {
1945
2682
  angular: {
1946
2683
  importPath: "@uni-design-system/uni-angular",
@@ -2019,7 +2756,38 @@ var uni_index_default = {
2019
2756
  ]
2020
2757
  }
2021
2758
  },
2022
- examples: [],
2759
+ examples: [
2760
+ {
2761
+ title: "Primary",
2762
+ framework: "angular",
2763
+ code: "<!-- Storybook story: Primary -->\n<uni-input ${argsToTemplate(props)}>\n</uni-input>\n<!-- args:\n{\n label: 'Email Address',\n placeholder: 'Enter your email',\n value: '',\n disabled: false,\n touched: false,\n invalid: false,\n dirty: false,\n }\n-->"
2764
+ },
2765
+ {
2766
+ title: "With Value",
2767
+ framework: "angular",
2768
+ code: "<!-- Storybook story: With Value -->\n<uni-input ${argsToTemplate(props)}>\n</uni-input>\n<!-- args:\n{\n label: 'Username',\n placeholder: 'Enter username',\n value: 'john.doe',\n disabled: false,\n touched: true,\n invalid: false,\n dirty: true,\n }\n-->"
2769
+ },
2770
+ {
2771
+ title: "Disabled",
2772
+ framework: "angular",
2773
+ code: "<!-- Storybook story: Disabled -->\n<uni-input ${argsToTemplate(props)}>\n</uni-input>\n<!-- args:\n{\n label: 'Disabled Input',\n placeholder: 'This input is disabled',\n value: 'Cannot edit this',\n disabled: true,\n touched: false,\n invalid: false,\n dirty: false,\n }\n-->"
2774
+ },
2775
+ {
2776
+ title: "Invalid",
2777
+ framework: "angular",
2778
+ code: "<!-- Storybook story: Invalid -->\n<uni-input ${argsToTemplate(props)}>\n</uni-input>\n<!-- args:\n{\n label: 'Email Address',\n placeholder: 'Enter your email',\n value: 'invalid-email',\n disabled: false,\n touched: true,\n invalid: true,\n dirty: true,\n }\n-->"
2779
+ },
2780
+ {
2781
+ title: "Required",
2782
+ framework: "angular",
2783
+ code: "<!-- Storybook story: Required -->\n<uni-input ${argsToTemplate(props)}>\n</uni-input>\n<!-- args:\n{\n label: 'Full Name',\n placeholder: 'This field is required',\n value: '',\n disabled: false,\n touched: true,\n invalid: true,\n dirty: false,\n }\n-->"
2784
+ },
2785
+ {
2786
+ title: "Long Label",
2787
+ framework: "angular",
2788
+ code: "<!-- Storybook story: Long Label -->\n<uni-input ${argsToTemplate(props)}>\n</uni-input>\n<!-- args:\n{\n label: 'A Very Long Label That Demonstrates How The Component Handles Extended Text',\n placeholder: 'Enter some text',\n value: '',\n disabled: false,\n touched: false,\n invalid: false,\n dirty: false,\n }\n-->"
2789
+ }
2790
+ ],
2023
2791
  guidelines: {
2024
2792
  whenToUse: "",
2025
2793
  dos: [],
@@ -2049,7 +2817,7 @@ var uni_index_default = {
2049
2817
  summary: "",
2050
2818
  description: "",
2051
2819
  category: "forms",
2052
- version: "5.0.0",
2820
+ version: "5.2.0",
2053
2821
  bindings: {
2054
2822
  angular: {
2055
2823
  importPath: "@uni-design-system/uni-angular",
@@ -2078,11 +2846,35 @@ var uni_index_default = {
2078
2846
  required: false,
2079
2847
  default: "'0'",
2080
2848
  description: ""
2849
+ },
2850
+ {
2851
+ name: "height",
2852
+ kind: "input",
2853
+ type: "string | number | undefined",
2854
+ required: false,
2855
+ default: "undefined",
2856
+ description: "Override the themed field height, e.g. `'auto'` for multi-line fields."
2081
2857
  }
2082
2858
  ]
2083
2859
  }
2084
2860
  },
2085
- examples: [],
2861
+ examples: [
2862
+ {
2863
+ title: "Primary",
2864
+ framework: "angular",
2865
+ code: '<!-- Storybook story: Primary -->\n<uni-input-box ${argsToTemplate(props)}>\n <input type="text" placeholder="Type here..." />\n</uni-input-box>\n<!-- args:\n{\n disabled: false,\n error: false,\n }\n-->'
2866
+ },
2867
+ {
2868
+ title: "Error State",
2869
+ framework: "angular",
2870
+ code: '<!-- Storybook story: Error State -->\n<uni-input-box ${argsToTemplate(props)}>\n <input type="text" placeholder="Type here..." />\n</uni-input-box>\n<!-- args:\n{\n disabled: false,\n error: true,\n }\n-->'
2871
+ },
2872
+ {
2873
+ title: "Disabled",
2874
+ framework: "angular",
2875
+ code: '<!-- Storybook story: Disabled -->\n<uni-input-box ${argsToTemplate(props)}>\n <input type="text" placeholder="Type here..." />\n</uni-input-box>\n<!-- args:\n{\n disabled: true,\n error: false,\n }\n-->'
2876
+ }
2877
+ ],
2086
2878
  guidelines: {
2087
2879
  whenToUse: "",
2088
2880
  dos: [],
@@ -2098,7 +2890,7 @@ var uni_index_default = {
2098
2890
  summary: "",
2099
2891
  description: "",
2100
2892
  category: "components",
2101
- version: "5.0.0",
2893
+ version: "5.2.0",
2102
2894
  bindings: {
2103
2895
  angular: {
2104
2896
  importPath: "@uni-design-system/uni-angular",
@@ -2146,7 +2938,13 @@ var uni_index_default = {
2146
2938
  ]
2147
2939
  }
2148
2940
  },
2149
- examples: [],
2941
+ examples: [
2942
+ {
2943
+ title: "Primary",
2944
+ framework: "angular",
2945
+ code: "<!-- Storybook story: Primary -->\n<!-- args:\n{\n json: { a: { b: ['c', 'd', 'e', 'f'], g: ['h', 'i'] }, j: 'k' },\n }\n-->"
2946
+ }
2947
+ ],
2150
2948
  guidelines: {
2151
2949
  whenToUse: "",
2152
2950
  dos: [],
@@ -2162,7 +2960,7 @@ var uni_index_default = {
2162
2960
  summary: "",
2163
2961
  description: "",
2164
2962
  category: "layout",
2165
- version: "5.0.0",
2963
+ version: "5.2.0",
2166
2964
  bindings: {
2167
2965
  angular: {
2168
2966
  importPath: "@uni-design-system/uni-angular",
@@ -2200,7 +2998,27 @@ var uni_index_default = {
2200
2998
  ]
2201
2999
  }
2202
3000
  },
2203
- examples: [],
3001
+ examples: [
3002
+ {
3003
+ title: "Primary",
3004
+ framework: "angular",
3005
+ code: `<!-- Storybook story: Primary -->
3006
+ <div box-layout color="primary" padding="sm">
3007
+ <Menu \${argsToTemplate(props)}>
3008
+ <button text-button variant="ghost" symbolRight="arrow_drop_down">Menu</button>
3009
+ </Menu>
3010
+ </div>
3011
+ <!-- args:
3012
+ {
3013
+ menuItems: [
3014
+ { label: 'Language', symbolName: 'translate' },
3015
+ { label: 'Settings', symbolName: 'settings' },
3016
+ { label: 'Logout', symbolName: 'logout' },
3017
+ ],
3018
+ }
3019
+ -->`
3020
+ }
3021
+ ],
2204
3022
  guidelines: {
2205
3023
  whenToUse: "",
2206
3024
  dos: [],
@@ -2216,7 +3034,7 @@ var uni_index_default = {
2216
3034
  summary: "",
2217
3035
  description: "",
2218
3036
  category: "layout",
2219
- version: "5.0.0",
3037
+ version: "5.2.0",
2220
3038
  bindings: {
2221
3039
  angular: {
2222
3040
  importPath: "@uni-design-system/uni-angular",
@@ -2332,7 +3150,7 @@ var uni_index_default = {
2332
3150
  summary: "",
2333
3151
  description: "",
2334
3152
  category: "forms",
2335
- version: "5.0.0",
3153
+ version: "5.2.0",
2336
3154
  bindings: {
2337
3155
  angular: {
2338
3156
  importPath: "@uni-design-system/uni-angular",
@@ -2380,7 +3198,28 @@ var uni_index_default = {
2380
3198
  ]
2381
3199
  }
2382
3200
  },
2383
- examples: [],
3201
+ examples: [
3202
+ {
3203
+ title: "Primary",
3204
+ framework: "angular",
3205
+ code: "<!-- Storybook story: Primary -->\n<uni-multi-select ${argsToTemplate(props)}>\n</uni-multi-select>\n<!-- args:\n{\n options: [\n { value: 'option1', label: 'Option 1' },\n { value: 'option2', label: 'Option 2' },\n { value: 'option3', label: 'Option 3' },\n { value: 'option4', label: 'Option 4' },\n ],\n selections: ['option1', 'option3'],\n }\n-->"
3206
+ },
3207
+ {
3208
+ title: "Empty",
3209
+ framework: "angular",
3210
+ code: "<!-- Storybook story: Empty -->\n<uni-multi-select ${argsToTemplate(props)}>\n</uni-multi-select>\n<!-- args:\n{\n options: [\n { value: 'option1', label: 'Option 1' },\n { value: 'option2', label: 'Option 2' },\n { value: 'option3', label: 'Option 3' },\n ],\n selections: undefined,\n }\n-->"
3211
+ },
3212
+ {
3213
+ title: "Single Selection",
3214
+ framework: "angular",
3215
+ code: "<!-- Storybook story: Single Selection -->\n<uni-multi-select ${argsToTemplate(props)}>\n</uni-multi-select>\n<!-- args:\n{\n options: [\n { value: 'red', label: 'Red' },\n { value: 'green', label: 'Green' },\n { value: 'blue', label: 'Blue' },\n ],\n selections: ['red'],\n }\n-->"
3216
+ },
3217
+ {
3218
+ title: "Many Options",
3219
+ framework: "angular",
3220
+ code: "<!-- Storybook story: Many Options -->\n<uni-multi-select ${argsToTemplate(props)}>\n</uni-multi-select>\n<!-- args:\n{\n options: [\n { value: 'option1', label: 'First Option' },\n { value: 'option2', label: 'Second Option' },\n { value: 'option3', label: 'Third Option' },\n { value: 'option4', label: 'Fourth Option' },\n { value: 'option5', label: 'Fifth Option' },\n { value: 'option6', label: 'Sixth Option' },\n { value: 'option7', label: 'Seventh Option' },\n { value: 'option8', label: 'Eighth Option' },\n ],\n selections: ['option2', 'option4', 'option6'],\n }\n-->"
3221
+ }
3222
+ ],
2384
3223
  guidelines: {
2385
3224
  whenToUse: "",
2386
3225
  dos: [],
@@ -2396,7 +3235,7 @@ var uni_index_default = {
2396
3235
  summary: "",
2397
3236
  description: "",
2398
3237
  category: "forms",
2399
- version: "5.0.0",
3238
+ version: "5.2.0",
2400
3239
  bindings: {
2401
3240
  angular: {
2402
3241
  importPath: "@uni-design-system/uni-angular",
@@ -2475,7 +3314,43 @@ var uni_index_default = {
2475
3314
  ]
2476
3315
  }
2477
3316
  },
2478
- examples: [],
3317
+ examples: [
3318
+ {
3319
+ title: "Primary",
3320
+ framework: "angular",
3321
+ code: "<!-- Storybook story: Primary -->\n<uni-multi-select-dropdown ${argsToTemplate(props)}>\n</uni-multi-select-dropdown>\n<!-- args:\n{\n options: [\n { value: 'option1', label: 'Option 1' },\n { value: 'option2', label: 'Option 2' },\n { value: 'option3', label: 'Option 3' },\n { value: 'option4', label: 'Option 4' },\n ],\n value: ['option1', 'option3'],\n }\n-->"
3322
+ },
3323
+ {
3324
+ title: "Empty",
3325
+ framework: "angular",
3326
+ code: "<!-- Storybook story: Empty -->\n<uni-multi-select-dropdown ${argsToTemplate(props)}>\n</uni-multi-select-dropdown>\n<!-- args:\n{\n options: [\n { value: 'option1', label: 'Option 1' },\n { value: 'option2', label: 'Option 2' },\n { value: 'option3', label: 'Option 3' },\n ],\n value: [],\n }\n-->"
3327
+ },
3328
+ {
3329
+ title: "Single Selection",
3330
+ framework: "angular",
3331
+ code: "<!-- Storybook story: Single Selection -->\n<uni-multi-select-dropdown ${argsToTemplate(props)}>\n</uni-multi-select-dropdown>\n<!-- args:\n{\n options: [\n { value: 'red', label: 'Red' },\n { value: 'green', label: 'Green' },\n { value: 'blue', label: 'Blue' },\n ],\n value: ['red'],\n }\n-->"
3332
+ },
3333
+ {
3334
+ title: "Many Options",
3335
+ framework: "angular",
3336
+ code: "<!-- Storybook story: Many Options -->\n<uni-multi-select-dropdown ${argsToTemplate(props)}>\n</uni-multi-select-dropdown>\n<!-- args:\n{\n options: [\n { value: 'option1', label: 'First Option' },\n { value: 'option2', label: 'Second Option' },\n { value: 'option3', label: 'Third Option' },\n { value: 'option4', label: 'Fourth Option' },\n { value: 'option5', label: 'Fifth Option' },\n { value: 'option6', label: 'Sixth Option' },\n { value: 'option7', label: 'Seventh Option' },\n { value: 'option8', label: 'Eighth Option' },\n ],\n value: ['option2', 'option4', 'option6'],\n }\n-->"
3337
+ },
3338
+ {
3339
+ title: "Disabled",
3340
+ framework: "angular",
3341
+ code: "<!-- Storybook story: Disabled -->\n<uni-multi-select-dropdown ${argsToTemplate(props)}>\n</uni-multi-select-dropdown>\n<!-- args:\n{\n options: [\n { value: 'option1', label: 'Option 1' },\n { value: 'option2', label: 'Option 2' },\n { value: 'option3', label: 'Option 3' },\n ],\n value: ['option1'],\n disabled: true,\n }\n-->"
3342
+ },
3343
+ {
3344
+ title: "Error State",
3345
+ framework: "angular",
3346
+ code: "<!-- Storybook story: Error State -->\n<uni-multi-select-dropdown ${argsToTemplate(props)}>\n</uni-multi-select-dropdown>\n<!-- args:\n{\n options: [\n { value: 'option1', label: 'Option 1' },\n { value: 'option2', label: 'Option 2' },\n { value: 'option3', label: 'Option 3' },\n ],\n value: [],\n invalid: true,\n touched: true,\n }\n-->"
3347
+ },
3348
+ {
3349
+ title: "With Placeholder",
3350
+ framework: "angular",
3351
+ code: "<!-- Storybook story: With Placeholder -->\n<uni-multi-select-dropdown ${argsToTemplate(props)}>\n</uni-multi-select-dropdown>\n<!-- args:\n{\n options: [\n { value: 'apple', label: 'Apple' },\n { value: 'banana', label: 'Banana' },\n { value: 'orange', label: 'Orange' },\n { value: 'grape', label: 'Grape' },\n ],\n value: [],\n placeholder: 'Choose your favorite fruits...',\n }\n-->"
3352
+ }
3353
+ ],
2479
3354
  guidelines: {
2480
3355
  whenToUse: "",
2481
3356
  dos: [],
@@ -2491,7 +3366,7 @@ var uni_index_default = {
2491
3366
  summary: "",
2492
3367
  description: "",
2493
3368
  category: "feedback",
2494
- version: "5.0.0",
3369
+ version: "5.2.0",
2495
3370
  bindings: {
2496
3371
  angular: {
2497
3372
  importPath: "@uni-design-system/uni-angular",
@@ -2555,7 +3430,166 @@ var uni_index_default = {
2555
3430
  ]
2556
3431
  }
2557
3432
  },
2558
- examples: [],
3433
+ examples: [
3434
+ {
3435
+ title: "Default",
3436
+ framework: "angular",
3437
+ code: `<!-- Storybook story: Default -->
3438
+ <div style="margin: 20px;">
3439
+ <uni-notification-badge
3440
+ [count]="count"
3441
+ [maxCount]="maxCount"
3442
+ [badgeVariant]="badgeVariant"
3443
+ [color]="color"
3444
+ [position]="position"
3445
+ [show]="show">
3446
+ <button uni-text-button>
3447
+ Button with Badge
3448
+ </button>
3449
+ </uni-notification-badge>
3450
+ </div>
3451
+ <!-- args:
3452
+ {
3453
+ count: 5,
3454
+ badgeVariant: 'count',
3455
+ color: 'warn',
3456
+ position: 'top-right',
3457
+ show: true,
3458
+ maxCount: 99,
3459
+ }
3460
+ -->`
3461
+ },
3462
+ {
3463
+ title: "Dot",
3464
+ framework: "angular",
3465
+ code: `<!-- Storybook story: Dot -->
3466
+ <div style="margin: 20px;">
3467
+ <uni-notification-badge
3468
+ [count]="count"
3469
+ [maxCount]="maxCount"
3470
+ [badgeVariant]="badgeVariant"
3471
+ [color]="color"
3472
+ [position]="position"
3473
+ [show]="show">
3474
+ <button uni-text-button>
3475
+ Button with Badge
3476
+ </button>
3477
+ </uni-notification-badge>
3478
+ </div>
3479
+ <!-- args:
3480
+ {
3481
+ badgeVariant: 'dot',
3482
+ color: 'warn',
3483
+ position: 'top-right',
3484
+ show: true,
3485
+ }
3486
+ -->`
3487
+ },
3488
+ {
3489
+ title: "Count",
3490
+ framework: "angular",
3491
+ code: `<!-- Storybook story: Count -->
3492
+ <div style="margin: 20px;">
3493
+ <uni-notification-badge
3494
+ [count]="count"
3495
+ [maxCount]="maxCount"
3496
+ [badgeVariant]="badgeVariant"
3497
+ [color]="color"
3498
+ [position]="position"
3499
+ [show]="show">
3500
+ <button uni-text-button>
3501
+ Button with Badge
3502
+ </button>
3503
+ </uni-notification-badge>
3504
+ </div>
3505
+ <!-- args:
3506
+ {
3507
+ count: 12,
3508
+ badgeVariant: 'count',
3509
+ color: 'warn',
3510
+ position: 'top-right',
3511
+ show: true,
3512
+ maxCount: 99,
3513
+ }
3514
+ -->`
3515
+ },
3516
+ {
3517
+ title: "Pill",
3518
+ framework: "angular",
3519
+ code: `<!-- Storybook story: Pill -->
3520
+ <div style="margin: 20px;">
3521
+ <uni-notification-badge
3522
+ [count]="count"
3523
+ [maxCount]="maxCount"
3524
+ [badgeVariant]="badgeVariant"
3525
+ [color]="color"
3526
+ [position]="position"
3527
+ [show]="show">
3528
+ <button uni-text-button>
3529
+ Button with Badge
3530
+ </button>
3531
+ </uni-notification-badge>
3532
+ </div>
3533
+ <!-- args:
3534
+ {
3535
+ count: 1234,
3536
+ badgeVariant: 'pill',
3537
+ color: 'warn',
3538
+ position: 'top-right',
3539
+ show: true,
3540
+ maxCount: 999,
3541
+ }
3542
+ -->`
3543
+ },
3544
+ {
3545
+ title: "Large Count",
3546
+ framework: "angular",
3547
+ code: `<!-- Storybook story: Large Count -->
3548
+ <div style="margin: 20px;">
3549
+ <uni-notification-badge
3550
+ [count]="count"
3551
+ [maxCount]="maxCount"
3552
+ [badgeVariant]="badgeVariant"
3553
+ [color]="color"
3554
+ [position]="position"
3555
+ [show]="show">
3556
+ <button uni-text-button>
3557
+ Button with Badge
3558
+ </button>
3559
+ </uni-notification-badge>
3560
+ </div>
3561
+ <!-- args:
3562
+ {
3563
+ count: 150,
3564
+ badgeVariant: 'count',
3565
+ color: 'warn',
3566
+ position: 'top-right',
3567
+ show: true,
3568
+ maxCount: 99,
3569
+ }
3570
+ -->`
3571
+ },
3572
+ {
3573
+ title: "Different Colors",
3574
+ 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>'
3576
+ },
3577
+ {
3578
+ title: "Different Positions",
3579
+ 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>'
3581
+ },
3582
+ {
3583
+ title: "Variant Comparison",
3584
+ 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>'
3586
+ },
3587
+ {
3588
+ title: "With Icons",
3589
+ 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>'
3591
+ }
3592
+ ],
2559
3593
  guidelines: {
2560
3594
  whenToUse: "",
2561
3595
  dos: [],
@@ -2571,7 +3605,7 @@ var uni_index_default = {
2571
3605
  summary: "",
2572
3606
  description: "",
2573
3607
  category: "feedback",
2574
- version: "5.0.0",
3608
+ version: "5.2.0",
2575
3609
  bindings: {
2576
3610
  angular: {
2577
3611
  importPath: "@uni-design-system/uni-angular",
@@ -2595,7 +3629,7 @@ var uni_index_default = {
2595
3629
  summary: "",
2596
3630
  description: "",
2597
3631
  category: "data",
2598
- version: "5.0.0",
3632
+ version: "5.2.0",
2599
3633
  bindings: {
2600
3634
  angular: {
2601
3635
  importPath: "@uni-design-system/uni-angular",
@@ -2642,7 +3676,18 @@ var uni_index_default = {
2642
3676
  ]
2643
3677
  }
2644
3678
  },
2645
- examples: [],
3679
+ examples: [
3680
+ {
3681
+ title: "Primary",
3682
+ 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-->'
3684
+ },
3685
+ {
3686
+ title: "Page Numbers Only",
3687
+ 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-->'
3689
+ }
3690
+ ],
2646
3691
  guidelines: {
2647
3692
  whenToUse: "",
2648
3693
  dos: [],
@@ -2666,7 +3711,7 @@ var uni_index_default = {
2666
3711
  summary: "",
2667
3712
  description: "",
2668
3713
  category: "layout",
2669
- version: "5.0.0",
3714
+ version: "5.2.0",
2670
3715
  bindings: {
2671
3716
  angular: {
2672
3717
  importPath: "@uni-design-system/uni-angular",
@@ -2691,7 +3736,13 @@ var uni_index_default = {
2691
3736
  ]
2692
3737
  }
2693
3738
  },
2694
- examples: [],
3739
+ examples: [
3740
+ {
3741
+ title: "Primary",
3742
+ 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-->'
3744
+ }
3745
+ ],
2695
3746
  guidelines: {
2696
3747
  whenToUse: "",
2697
3748
  dos: [],
@@ -2707,7 +3758,7 @@ var uni_index_default = {
2707
3758
  summary: "",
2708
3759
  description: "",
2709
3760
  category: "feedback",
2710
- version: "5.0.0",
3761
+ version: "5.2.0",
2711
3762
  bindings: {
2712
3763
  angular: {
2713
3764
  importPath: "@uni-design-system/uni-angular",
@@ -2747,7 +3798,13 @@ var uni_index_default = {
2747
3798
  ]
2748
3799
  }
2749
3800
  },
2750
- examples: [],
3801
+ examples: [
3802
+ {
3803
+ title: "Default",
3804
+ framework: "angular",
3805
+ code: '<!-- Storybook story: Default -->\n<ProgressBar percent="${percent}" ${argsToTemplate(props)}></ProgressBar>\n<!-- args:\n{\n percent: 60,\n }\n-->'
3806
+ }
3807
+ ],
2751
3808
  guidelines: {
2752
3809
  whenToUse: "",
2753
3810
  dos: [],
@@ -2763,7 +3820,7 @@ var uni_index_default = {
2763
3820
  summary: "",
2764
3821
  description: "",
2765
3822
  category: "feedback",
2766
- version: "5.0.0",
3823
+ version: "5.2.0",
2767
3824
  bindings: {
2768
3825
  angular: {
2769
3826
  importPath: "@uni-design-system/uni-angular",
@@ -2787,7 +3844,21 @@ var uni_index_default = {
2787
3844
  ]
2788
3845
  }
2789
3846
  },
2790
- examples: [],
3847
+ examples: [
3848
+ {
3849
+ title: "Default",
3850
+ framework: "angular",
3851
+ code: `<!-- Storybook story: Default -->
3852
+ <ProgressGauge percent="\${percent}" variant="\${variant}" size="\${size}"></ProgressGauge>
3853
+ <!-- args:
3854
+ {
3855
+ percent: 60,
3856
+ size: 'lg',
3857
+ variant: 'primary',
3858
+ }
3859
+ -->`
3860
+ }
3861
+ ],
2791
3862
  guidelines: {
2792
3863
  whenToUse: "",
2793
3864
  dos: [],
@@ -2803,7 +3874,7 @@ var uni_index_default = {
2803
3874
  summary: "",
2804
3875
  description: "",
2805
3876
  category: "forms",
2806
- version: "5.0.0",
3877
+ version: "5.2.0",
2807
3878
  bindings: {
2808
3879
  angular: {
2809
3880
  importPath: "@uni-design-system/uni-angular",
@@ -2890,7 +3961,43 @@ var uni_index_default = {
2890
3961
  ]
2891
3962
  }
2892
3963
  },
2893
- examples: [],
3964
+ examples: [
3965
+ {
3966
+ title: "Default",
3967
+ framework: "angular",
3968
+ code: "<!-- Storybook story: Default -->\n<uni-radio ${argsToTemplate(args)}></uni-radio>\n<!-- args:\n{\n label: 'Select an option',\n variant: 'primary',\n disabled: false,\n value: 'option1',\n name: 'radio-group',\n options: defaultOptions,\n }\n-->"
3969
+ },
3970
+ {
3971
+ title: "Without Label",
3972
+ framework: "angular",
3973
+ code: "<!-- Storybook story: Without Label -->\n<uni-radio ${argsToTemplate(args)}></uni-radio>\n<!-- args:\n{\n label: '',\n variant: 'primary',\n disabled: false,\n value: '',\n name: 'radio-group',\n options: defaultOptions,\n }\n-->"
3974
+ },
3975
+ {
3976
+ title: "Disabled",
3977
+ framework: "angular",
3978
+ code: "<!-- Storybook story: Disabled -->\n<uni-radio ${argsToTemplate(args)}></uni-radio>\n<!-- args:\n{\n label: 'Disabled radio group',\n variant: 'primary',\n disabled: true,\n value: 'option1',\n name: 'radio-group',\n options: defaultOptions,\n }\n-->"
3979
+ },
3980
+ {
3981
+ title: "With Disabled Options",
3982
+ framework: "angular",
3983
+ code: "<!-- Storybook story: With Disabled Options -->\n<uni-radio ${argsToTemplate(args)}></uni-radio>\n<!-- args:\n{\n label: 'Some options disabled',\n variant: 'primary',\n disabled: false,\n value: 'option1',\n name: 'radio-group',\n options: [\n { label: 'Available Option', value: 'option1' },\n { label: 'Disabled Option', value: 'option2', disabled: true },\n { label: 'Another Available', value: 'option3' },\n ],\n }\n-->"
3984
+ },
3985
+ {
3986
+ title: "Variants",
3987
+ framework: "angular",
3988
+ code: "<!-- Storybook story: Variants -->\n<uni-radio ${argsToTemplate(args)}></uni-radio>"
3989
+ },
3990
+ {
3991
+ title: "With Change Event",
3992
+ framework: "angular",
3993
+ code: "<!-- Storybook story: With Change Event -->\n<uni-radio ${argsToTemplate(args)}></uni-radio>"
3994
+ },
3995
+ {
3996
+ title: "Form Signals",
3997
+ framework: "angular",
3998
+ code: "<!-- Storybook story: Form Signals -->\n<uni-radio ${argsToTemplate(args)}></uni-radio>"
3999
+ }
4000
+ ],
2894
4001
  guidelines: {
2895
4002
  whenToUse: "",
2896
4003
  dos: [],
@@ -2906,7 +4013,7 @@ var uni_index_default = {
2906
4013
  summary: "",
2907
4014
  description: "",
2908
4015
  category: "directives",
2909
- version: "5.0.0",
4016
+ version: "5.2.0",
2910
4017
  bindings: {
2911
4018
  angular: {
2912
4019
  importPath: "@uni-design-system/uni-angular",
@@ -2930,7 +4037,7 @@ var uni_index_default = {
2930
4037
  summary: "",
2931
4038
  description: "",
2932
4039
  category: "layout",
2933
- version: "5.0.0",
4040
+ version: "5.2.0",
2934
4041
  bindings: {
2935
4042
  angular: {
2936
4043
  importPath: "@uni-design-system/uni-angular",
@@ -2963,7 +4070,13 @@ var uni_index_default = {
2963
4070
  ]
2964
4071
  }
2965
4072
  },
2966
- examples: [],
4073
+ examples: [
4074
+ {
4075
+ title: "Button Row",
4076
+ framework: "angular",
4077
+ code: "<!-- Storybook story: Button Row -->\n<div row-layout ${argsToTemplate(props)}>\n <button text-button>Button 1</button>\n <button text-button>Button 2</button>\n <button text-button>Button 3</button>\n</div>\n<!-- args:\n{ gap: 'lg' }\n-->"
4078
+ }
4079
+ ],
2967
4080
  guidelines: {
2968
4081
  whenToUse: "",
2969
4082
  dos: [],
@@ -2979,7 +4092,7 @@ var uni_index_default = {
2979
4092
  summary: "",
2980
4093
  description: "",
2981
4094
  category: "layout",
2982
- version: "5.0.0",
4095
+ version: "5.2.0",
2983
4096
  bindings: {
2984
4097
  angular: {
2985
4098
  importPath: "@uni-design-system/uni-angular",
@@ -3104,7 +4217,13 @@ var uni_index_default = {
3104
4217
  ]
3105
4218
  }
3106
4219
  },
3107
- examples: [],
4220
+ examples: [
4221
+ {
4222
+ title: "Primary",
4223
+ 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-->'
4225
+ }
4226
+ ],
3108
4227
  guidelines: {
3109
4228
  whenToUse: "",
3110
4229
  dos: [],
@@ -3120,7 +4239,7 @@ var uni_index_default = {
3120
4239
  summary: "",
3121
4240
  description: "",
3122
4241
  category: "forms",
3123
- version: "5.0.0",
4242
+ version: "5.2.0",
3124
4243
  bindings: {
3125
4244
  angular: {
3126
4245
  importPath: "@uni-design-system/uni-angular",
@@ -3158,7 +4277,13 @@ var uni_index_default = {
3158
4277
  ]
3159
4278
  }
3160
4279
  },
3161
- examples: [],
4280
+ examples: [
4281
+ {
4282
+ title: "Primary",
4283
+ framework: "angular",
4284
+ code: "<!-- Storybook story: Primary -->\n<!-- args:\n{\n label: 'Search',\n }\n-->"
4285
+ }
4286
+ ],
3162
4287
  guidelines: {
3163
4288
  whenToUse: "",
3164
4289
  dos: [],
@@ -3174,7 +4299,7 @@ var uni_index_default = {
3174
4299
  summary: "",
3175
4300
  description: "",
3176
4301
  category: "forms",
3177
- version: "5.0.0",
4302
+ version: "5.2.0",
3178
4303
  bindings: {
3179
4304
  angular: {
3180
4305
  importPath: "@uni-design-system/uni-angular",
@@ -3260,7 +4385,38 @@ var uni_index_default = {
3260
4385
  ]
3261
4386
  }
3262
4387
  },
3263
- examples: [],
4388
+ examples: [
4389
+ {
4390
+ title: "Primary",
4391
+ framework: "angular",
4392
+ code: "<!-- Storybook story: Primary -->\n<uni-select ${argsToTemplate(props)}>\n</uni-select>\n<!-- args:\n{\n placeholder: 'Select your country...',\n options: [\n { value: 'us', label: 'United States' },\n { value: 'ca', label: 'Canada' },\n { value: 'uk', label: 'United Kingdom' },\n { value: 'au', label: 'Australia' },\n ],\n value: null,\n disabled: false,\n touched: false,\n invalid: false,\n dirty: false,\n }\n-->"
4393
+ },
4394
+ {
4395
+ title: "With Value",
4396
+ framework: "angular",
4397
+ code: "<!-- Storybook story: With Value -->\n<uni-select ${argsToTemplate(props)}>\n</uni-select>\n<!-- args:\n{\n placeholder: 'Select priority...',\n options: [\n { value: 'low', label: 'Low Priority' },\n { value: 'medium', label: 'Medium Priority' },\n { value: 'high', label: 'High Priority' },\n { value: 'urgent', label: 'Urgent' },\n ],\n value: 'high',\n disabled: false,\n touched: true,\n invalid: false,\n dirty: false,\n }\n-->"
4398
+ },
4399
+ {
4400
+ title: "Disabled",
4401
+ framework: "angular",
4402
+ code: "<!-- Storybook story: Disabled -->\n<uni-select ${argsToTemplate(props)}>\n</uni-select>\n<!-- args:\n{\n placeholder: 'Cannot select...',\n options: [\n { value: 'option1', label: 'Option 1' },\n { value: 'option2', label: 'Option 2' },\n { value: 'option3', label: 'Option 3' },\n ],\n value: 'option2',\n disabled: true,\n touched: false,\n invalid: false,\n dirty: false,\n }\n-->"
4403
+ },
4404
+ {
4405
+ title: "Invalid",
4406
+ framework: "angular",
4407
+ code: "<!-- Storybook story: Invalid -->\n<uni-select ${argsToTemplate(props)}>\n</uni-select>\n<!-- args:\n{\n placeholder: 'Please select an option...',\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'maybe', label: 'Maybe' },\n ],\n value: null,\n disabled: false,\n touched: true,\n invalid: true,\n }\n-->"
4408
+ },
4409
+ {
4410
+ title: "Many Options",
4411
+ framework: "angular",
4412
+ code: "<!-- Storybook story: Many Options -->\n<uni-select ${argsToTemplate(props)}>\n</uni-select>\n<!-- args:\n{\n placeholder: 'Select state or province...',\n options: [\n { value: 'al', label: 'Alabama' },\n { value: 'ak', label: 'Alaska' },\n { value: 'az', label: 'Arizona' },\n { value: 'ar', label: 'Arkansas' },\n { value: 'ca', label: 'California' },\n { value: 'co', label: 'Colorado' },\n { value: 'ct', label: 'Connecticut' },\n { value: 'de', label: 'Delaware' },\n { value: 'fl', label: 'Florida' },\n { value: 'ga', label: 'Georgia' },\n { value: 'hi', label: 'Hawaii' },\n { value: 'id', label: 'Idaho' },\n { value: 'il', label: 'Illinois' },\n { value: 'in', label: 'Indiana' },\n { value: 'ia', label: 'Iowa' },\n ],\n value: 'ca',\n disabled: false,\n touched: true,\n invalid: false,\n dirty: false,\n }\n-->"
4413
+ },
4414
+ {
4415
+ title: "Short Options",
4416
+ framework: "angular",
4417
+ code: "<!-- Storybook story: Short Options -->\n<uni-select ${argsToTemplate(props)}>\n</uni-select>\n<!-- args:\n{\n placeholder: 'Pick a size...',\n options: [\n { value: 'xs', label: 'XS' },\n { value: 's', label: 'S' },\n { value: 'm', label: 'M' },\n { value: 'l', label: 'L' },\n { value: 'xl', label: 'XL' },\n ],\n value: 'm',\n disabled: false,\n touched: false,\n invalid: false,\n dirty: false,\n }\n-->"
4418
+ }
4419
+ ],
3264
4420
  guidelines: {
3265
4421
  whenToUse: "",
3266
4422
  dos: [],
@@ -3269,6 +4425,226 @@ var uni_index_default = {
3269
4425
  },
3270
4426
  relatedTokens: []
3271
4427
  },
4428
+ {
4429
+ id: "skeleton",
4430
+ name: "Skeleton",
4431
+ status: "stable",
4432
+ summary: "",
4433
+ description: "",
4434
+ category: "components",
4435
+ version: "5.2.0",
4436
+ bindings: {
4437
+ angular: {
4438
+ importPath: "@uni-design-system/uni-angular",
4439
+ selectorOrTag: "uni-skeleton, Skeleton",
4440
+ api: [
4441
+ {
4442
+ name: "shape",
4443
+ kind: "input",
4444
+ type: "SkeletonShape",
4445
+ required: false,
4446
+ default: "'text'",
4447
+ description: ""
4448
+ },
4449
+ {
4450
+ name: "width",
4451
+ kind: "input",
4452
+ type: "string | number | undefined",
4453
+ required: false,
4454
+ default: "undefined",
4455
+ description: "CSS width; defaults to 100% for text/rect and `height` for circles."
4456
+ },
4457
+ {
4458
+ name: "height",
4459
+ kind: "input",
4460
+ type: "string | number | undefined",
4461
+ required: false,
4462
+ default: "undefined",
4463
+ description: "CSS height per block; defaults to 1em (text), 96px (rect), 40px (circle)."
4464
+ },
4465
+ {
4466
+ name: "lines",
4467
+ kind: "input",
4468
+ type: "number",
4469
+ required: false,
4470
+ default: "1",
4471
+ description: "Number of text lines (text shape only)."
4472
+ }
4473
+ ]
4474
+ }
4475
+ },
4476
+ examples: [
4477
+ {
4478
+ title: "Text Lines",
4479
+ framework: "angular",
4480
+ 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" />
4486
+ </div>
4487
+ </div>
4488
+ <uni-skeleton shape="rect" [height]="120" style="display: block; padding: 0 16px 16px;" />
4489
+ </uni-card>
4490
+ <!-- args:
4491
+ { shape: 'text', lines: 3 }
4492
+ -->`
4493
+ },
4494
+ {
4495
+ title: "Card Placeholder",
4496
+ 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>'
4498
+ }
4499
+ ],
4500
+ guidelines: {
4501
+ whenToUse: "",
4502
+ dos: [],
4503
+ donts: [],
4504
+ accessibility: []
4505
+ },
4506
+ relatedTokens: [
4507
+ "skeleton.behavior.color",
4508
+ "skeleton.behavior.highlightColor",
4509
+ "skeleton.behavior.borderRadius",
4510
+ "skeleton.behavior.animation",
4511
+ "skeleton.behavior.duration",
4512
+ "skeleton.behavior.gap"
4513
+ ]
4514
+ },
4515
+ {
4516
+ id: "slider",
4517
+ name: "Slider",
4518
+ status: "stable",
4519
+ summary: "",
4520
+ description: "",
4521
+ category: "forms",
4522
+ version: "5.2.0",
4523
+ bindings: {
4524
+ angular: {
4525
+ importPath: "@uni-design-system/uni-angular",
4526
+ selectorOrTag: "uni-slider, Slider",
4527
+ api: [
4528
+ {
4529
+ name: "value",
4530
+ kind: "model",
4531
+ type: "number",
4532
+ required: false,
4533
+ default: "0",
4534
+ description: ""
4535
+ },
4536
+ {
4537
+ name: "disabled",
4538
+ kind: "input",
4539
+ type: "boolean",
4540
+ required: false,
4541
+ default: "false",
4542
+ description: ""
4543
+ },
4544
+ {
4545
+ name: "touched",
4546
+ kind: "model",
4547
+ type: "boolean",
4548
+ required: false,
4549
+ default: "false",
4550
+ description: ""
4551
+ },
4552
+ {
4553
+ name: "invalid",
4554
+ kind: "input",
4555
+ type: "boolean",
4556
+ required: false,
4557
+ default: "false",
4558
+ description: ""
4559
+ },
4560
+ {
4561
+ name: "dirty",
4562
+ kind: "input",
4563
+ type: "boolean",
4564
+ required: false,
4565
+ default: "false",
4566
+ description: ""
4567
+ },
4568
+ {
4569
+ name: "required",
4570
+ kind: "input",
4571
+ type: "boolean",
4572
+ required: false,
4573
+ default: "false",
4574
+ description: "Synced from required() validators by the Signal Forms [field] directive."
4575
+ },
4576
+ {
4577
+ name: "ariaDescribedBy",
4578
+ kind: "input",
4579
+ type: "string",
4580
+ required: false,
4581
+ description: "Id(s) of external element(s) describing this control \u2014 typically your app-rendered value or error text \u2014 exposed as aria-describedby."
4582
+ },
4583
+ {
4584
+ name: "label",
4585
+ kind: "input",
4586
+ type: "string",
4587
+ required: true,
4588
+ description: ""
4589
+ },
4590
+ {
4591
+ name: "min",
4592
+ kind: "input",
4593
+ type: "number | undefined",
4594
+ required: false,
4595
+ default: "0",
4596
+ description: ""
4597
+ },
4598
+ {
4599
+ name: "max",
4600
+ kind: "input",
4601
+ type: "number | undefined",
4602
+ required: false,
4603
+ default: "100",
4604
+ description: ""
4605
+ },
4606
+ {
4607
+ name: "step",
4608
+ kind: "input",
4609
+ type: "number",
4610
+ required: false,
4611
+ default: "1",
4612
+ description: ""
4613
+ }
4614
+ ]
4615
+ }
4616
+ },
4617
+ examples: [
4618
+ {
4619
+ title: "Default",
4620
+ framework: "angular",
4621
+ code: "<!-- Storybook story: Default -->\n<uni-slider ${argsToTemplate(props)}></uni-slider>\n<!-- args:\n{ label: 'Volume', value: 40 }\n-->"
4622
+ },
4623
+ {
4624
+ title: "Stepped Range",
4625
+ framework: "angular",
4626
+ code: "<!-- Storybook story: Stepped Range -->\n<uni-slider ${argsToTemplate(props)}></uni-slider>\n<!-- args:\n{ label: 'Opacity', min: 0, max: 1, step: 0.05, value: 0.6 }\n-->"
4627
+ },
4628
+ {
4629
+ title: "Disabled",
4630
+ framework: "angular",
4631
+ code: "<!-- Storybook story: Disabled -->\n<uni-slider ${argsToTemplate(props)}></uni-slider>\n<!-- args:\n{ label: 'Brightness', value: 70, disabled: true }\n-->"
4632
+ }
4633
+ ],
4634
+ guidelines: {
4635
+ whenToUse: "",
4636
+ dos: [],
4637
+ donts: [],
4638
+ accessibility: []
4639
+ },
4640
+ relatedTokens: [
4641
+ "slider.behavior.color",
4642
+ "slider.behavior.trackColor",
4643
+ "slider.behavior.borderRadius",
4644
+ "slider.behavior.trackHeight",
4645
+ "slider.behavior.thumbSize"
4646
+ ]
4647
+ },
3272
4648
  {
3273
4649
  id: "snackbar",
3274
4650
  name: "Snackbar",
@@ -3276,7 +4652,7 @@ var uni_index_default = {
3276
4652
  summary: "",
3277
4653
  description: "",
3278
4654
  category: "feedback",
3279
- version: "5.0.0",
4655
+ version: "5.2.0",
3280
4656
  bindings: {
3281
4657
  angular: {
3282
4658
  importPath: "@uni-design-system/uni-angular",
@@ -3342,7 +4718,13 @@ var uni_index_default = {
3342
4718
  ]
3343
4719
  }
3344
4720
  },
3345
- examples: [],
4721
+ examples: [
4722
+ {
4723
+ title: "Primary",
4724
+ 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-->"
4726
+ }
4727
+ ],
3346
4728
  guidelines: {
3347
4729
  whenToUse: "",
3348
4730
  dos: [],
@@ -3362,7 +4744,7 @@ var uni_index_default = {
3362
4744
  summary: "",
3363
4745
  description: "",
3364
4746
  category: "data",
3365
- version: "5.0.0",
4747
+ version: "5.2.0",
3366
4748
  bindings: {
3367
4749
  angular: {
3368
4750
  importPath: "@uni-design-system/uni-angular",
@@ -3385,7 +4767,27 @@ var uni_index_default = {
3385
4767
  ]
3386
4768
  }
3387
4769
  },
3388
- examples: [],
4770
+ examples: [
4771
+ {
4772
+ title: "Primary",
4773
+ framework: "angular",
4774
+ code: `<!-- Storybook story: Primary -->
4775
+ <uni-sort-header [datasource]="datasource" [column]="column">
4776
+ <Text typeface="title-small">Name</Text>
4777
+ </uni-sort-header>
4778
+ <div style="margin-top: 16px;">
4779
+ @for (record of datasource.records().slice(0, 5); track record.id) {
4780
+ <div>{{ record.name }}</div>
4781
+ }
4782
+ </div>
4783
+ <!-- args:
4784
+ {
4785
+ column: 'name',
4786
+ datasource: new UniRecordDatasource<any>(starWarsCharacters),
4787
+ }
4788
+ -->`
4789
+ }
4790
+ ],
3389
4791
  guidelines: {
3390
4792
  whenToUse: "",
3391
4793
  dos: [],
@@ -3401,7 +4803,7 @@ var uni_index_default = {
3401
4803
  summary: "",
3402
4804
  description: "",
3403
4805
  category: "layout",
3404
- version: "5.0.0",
4806
+ version: "5.2.0",
3405
4807
  bindings: {
3406
4808
  angular: {
3407
4809
  importPath: "@uni-design-system/uni-angular",
@@ -3434,7 +4836,13 @@ var uni_index_default = {
3434
4836
  ]
3435
4837
  }
3436
4838
  },
3437
- examples: [],
4839
+ examples: [
4840
+ {
4841
+ title: "Stacked Cards",
4842
+ 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-->"
4844
+ }
4845
+ ],
3438
4846
  guidelines: {
3439
4847
  whenToUse: "",
3440
4848
  dos: [],
@@ -3450,7 +4858,7 @@ var uni_index_default = {
3450
4858
  summary: "",
3451
4859
  description: "",
3452
4860
  category: "primitives",
3453
- version: "5.0.0",
4861
+ version: "5.2.0",
3454
4862
  bindings: {
3455
4863
  angular: {
3456
4864
  importPath: "@uni-design-system/uni-angular",
@@ -3494,7 +4902,13 @@ var uni_index_default = {
3494
4902
  ]
3495
4903
  }
3496
4904
  },
3497
- examples: [],
4905
+ examples: [
4906
+ {
4907
+ title: "Primary",
4908
+ framework: "angular",
4909
+ code: "<!-- Storybook story: Primary -->\n<!-- args:\n{\n name: 'settings',\n }\n-->"
4910
+ }
4911
+ ],
3498
4912
  guidelines: {
3499
4913
  whenToUse: "",
3500
4914
  dos: [],
@@ -3509,13 +4923,107 @@ var uni_index_default = {
3509
4923
  ]
3510
4924
  },
3511
4925
  {
3512
- id: "tag",
3513
- name: "Tag",
4926
+ id: "tab",
4927
+ name: "Tab",
4928
+ status: "stable",
4929
+ summary: "",
4930
+ description: "",
4931
+ category: "components",
4932
+ version: "5.2.0",
4933
+ bindings: {
4934
+ angular: {
4935
+ importPath: "@uni-design-system/uni-angular",
4936
+ selectorOrTag: "uni-tab, Tab",
4937
+ api: [
4938
+ {
4939
+ name: "label",
4940
+ kind: "input",
4941
+ type: "string",
4942
+ required: true,
4943
+ description: ""
4944
+ },
4945
+ {
4946
+ name: "disabled",
4947
+ kind: "input",
4948
+ type: "boolean",
4949
+ required: false,
4950
+ default: "false",
4951
+ description: ""
4952
+ }
4953
+ ]
4954
+ }
4955
+ },
4956
+ examples: [],
4957
+ guidelines: {
4958
+ whenToUse: "",
4959
+ dos: [],
4960
+ donts: [],
4961
+ accessibility: []
4962
+ },
4963
+ relatedTokens: []
4964
+ },
4965
+ {
4966
+ id: "tabs",
4967
+ name: "Tabs",
4968
+ status: "stable",
4969
+ summary: "",
4970
+ description: "",
4971
+ category: "components",
4972
+ version: "5.2.0",
4973
+ bindings: {
4974
+ angular: {
4975
+ importPath: "@uni-design-system/uni-angular",
4976
+ selectorOrTag: "uni-tabs, Tabs",
4977
+ api: [
4978
+ {
4979
+ name: "selectedIndex",
4980
+ kind: "model",
4981
+ type: "number",
4982
+ required: false,
4983
+ default: "0",
4984
+ description: "Index of the selected tab; two-way bindable."
4985
+ }
4986
+ ]
4987
+ }
4988
+ },
4989
+ examples: [
4990
+ {
4991
+ title: "Default",
4992
+ 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>'
4994
+ },
4995
+ {
4996
+ title: "With Disabled Tab",
4997
+ 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>'
4999
+ }
5000
+ ],
5001
+ guidelines: {
5002
+ whenToUse: "",
5003
+ dos: [],
5004
+ donts: [],
5005
+ accessibility: []
5006
+ },
5007
+ relatedTokens: [
5008
+ "tabs.behavior.typeface",
5009
+ "tabs.behavior.textColor",
5010
+ "tabs.behavior.activeTextColor",
5011
+ "tabs.behavior.indicatorColor",
5012
+ "tabs.behavior.indicatorThickness",
5013
+ "tabs.behavior.divider",
5014
+ "tabs.behavior.gap",
5015
+ "tabs.behavior.borderRadius",
5016
+ "tabs.behavior.padding"
5017
+ ]
5018
+ },
5019
+ {
5020
+ id: "tag",
5021
+ name: "Tag",
3514
5022
  status: "stable",
3515
5023
  summary: "",
3516
5024
  description: "",
3517
5025
  category: "data",
3518
- version: "5.0.0",
5026
+ version: "5.2.0",
3519
5027
  bindings: {
3520
5028
  angular: {
3521
5029
  importPath: "@uni-design-system/uni-angular",
@@ -3545,7 +5053,28 @@ var uni_index_default = {
3545
5053
  ]
3546
5054
  }
3547
5055
  },
3548
- examples: [],
5056
+ examples: [
5057
+ {
5058
+ title: "Primary",
5059
+ framework: "angular",
5060
+ code: "<!-- Storybook story: Primary -->\n<!-- args:\n{\n label: 'Primary Tag',\n value: '1',\n }\n-->"
5061
+ },
5062
+ {
5063
+ title: "Numeric Value",
5064
+ framework: "angular",
5065
+ code: "<!-- Storybook story: Numeric Value -->\n<!-- args:\n{\n label: 'Numeric Tag',\n value: 42,\n }\n-->"
5066
+ },
5067
+ {
5068
+ title: "Long Label",
5069
+ framework: "angular",
5070
+ code: "<!-- Storybook story: Long Label -->\n<!-- args:\n{\n label: 'This is a very long tag label that might need truncation',\n value: 'long',\n }\n-->"
5071
+ },
5072
+ {
5073
+ title: "Without Value",
5074
+ framework: "angular",
5075
+ code: "<!-- Storybook story: Without Value -->\n<!-- args:\n{\n label: 'Tag without value',\n }\n-->"
5076
+ }
5077
+ ],
3549
5078
  guidelines: {
3550
5079
  whenToUse: "",
3551
5080
  dos: [],
@@ -3561,7 +5090,7 @@ var uni_index_default = {
3561
5090
  summary: "",
3562
5091
  description: "",
3563
5092
  category: "primitives",
3564
- version: "5.0.0",
5093
+ version: "5.2.0",
3565
5094
  bindings: {
3566
5095
  angular: {
3567
5096
  importPath: "@uni-design-system/uni-angular",
@@ -3630,6 +5159,133 @@ var uni_index_default = {
3630
5159
  },
3631
5160
  relatedTokens: []
3632
5161
  },
5162
+ {
5163
+ id: "textarea",
5164
+ name: "Textarea",
5165
+ status: "stable",
5166
+ summary: "",
5167
+ description: "",
5168
+ category: "primitives",
5169
+ version: "5.2.0",
5170
+ bindings: {
5171
+ angular: {
5172
+ importPath: "@uni-design-system/uni-angular",
5173
+ selectorOrTag: "uni-textarea",
5174
+ api: [
5175
+ {
5176
+ name: "value",
5177
+ kind: "model",
5178
+ type: "string",
5179
+ required: false,
5180
+ default: "''",
5181
+ description: ""
5182
+ },
5183
+ {
5184
+ name: "disabled",
5185
+ kind: "input",
5186
+ type: "boolean",
5187
+ required: false,
5188
+ default: "false",
5189
+ description: ""
5190
+ },
5191
+ {
5192
+ name: "touched",
5193
+ kind: "model",
5194
+ type: "boolean",
5195
+ required: false,
5196
+ default: "false",
5197
+ description: ""
5198
+ },
5199
+ {
5200
+ name: "invalid",
5201
+ kind: "input",
5202
+ type: "boolean",
5203
+ required: false,
5204
+ default: "false",
5205
+ description: ""
5206
+ },
5207
+ {
5208
+ name: "dirty",
5209
+ kind: "input",
5210
+ type: "boolean",
5211
+ required: false,
5212
+ default: "false",
5213
+ description: ""
5214
+ },
5215
+ {
5216
+ name: "required",
5217
+ kind: "input",
5218
+ type: "boolean",
5219
+ required: false,
5220
+ default: "false",
5221
+ description: "Synced from required() validators by the Signal Forms [field] directive."
5222
+ },
5223
+ {
5224
+ name: "ariaDescribedBy",
5225
+ kind: "input",
5226
+ type: "string",
5227
+ required: false,
5228
+ description: "Id(s) of external element(s) describing this control \u2014 typically your app-rendered error message \u2014 exposed as aria-describedby."
5229
+ },
5230
+ {
5231
+ name: "label",
5232
+ kind: "input",
5233
+ type: "string",
5234
+ required: true,
5235
+ description: ""
5236
+ },
5237
+ {
5238
+ name: "placeholder",
5239
+ kind: "input",
5240
+ type: "string",
5241
+ required: false,
5242
+ default: "''",
5243
+ description: ""
5244
+ },
5245
+ {
5246
+ name: "rows",
5247
+ kind: "input",
5248
+ type: "number | undefined",
5249
+ required: false,
5250
+ default: "undefined",
5251
+ description: "Visible text rows. Defaults to the theme's `textarea` options."
5252
+ }
5253
+ ]
5254
+ }
5255
+ },
5256
+ examples: [
5257
+ {
5258
+ title: "Default",
5259
+ framework: "angular",
5260
+ code: "<!-- Storybook story: Default -->\n<uni-textarea ${argsToTemplate(props)}>\n</uni-textarea>\n<!-- args:\n{ label: 'Message', placeholder: 'Tell us everything\u2026' }\n-->"
5261
+ },
5262
+ {
5263
+ title: "Prefilled",
5264
+ framework: "angular",
5265
+ code: "<!-- Storybook story: Prefilled -->\n<uni-textarea ${argsToTemplate(props)}>\n</uni-textarea>\n<!-- args:\n{\n label: 'Bio',\n value: 'Design systems engineer.\\nOKLCH enthusiast.',\n rows: 5,\n }\n-->"
5266
+ },
5267
+ {
5268
+ title: "Invalid",
5269
+ framework: "angular",
5270
+ code: "<!-- Storybook story: Invalid -->\n<uni-textarea ${argsToTemplate(props)}>\n</uni-textarea>\n<!-- args:\n{\n label: 'Feedback',\n placeholder: 'Required',\n invalid: true,\n touched: true,\n }\n-->"
5271
+ },
5272
+ {
5273
+ title: "Disabled",
5274
+ framework: "angular",
5275
+ code: "<!-- Storybook story: Disabled -->\n<uni-textarea ${argsToTemplate(props)}>\n</uni-textarea>\n<!-- args:\n{ label: 'Notes', value: 'Read-only content', disabled: true }\n-->"
5276
+ }
5277
+ ],
5278
+ guidelines: {
5279
+ whenToUse: "",
5280
+ dos: [],
5281
+ donts: [],
5282
+ accessibility: []
5283
+ },
5284
+ relatedTokens: [
5285
+ "textarea.behavior.rows",
5286
+ "textarea.behavior.resize"
5287
+ ]
5288
+ },
3633
5289
  {
3634
5290
  id: "theme-builder",
3635
5291
  name: "ThemeBuilder",
@@ -3637,7 +5293,7 @@ var uni_index_default = {
3637
5293
  summary: "",
3638
5294
  description: "",
3639
5295
  category: "primitives",
3640
- version: "5.0.0",
5296
+ version: "5.2.0",
3641
5297
  bindings: {
3642
5298
  angular: {
3643
5299
  importPath: "@uni-design-system/uni-angular",
@@ -3645,7 +5301,13 @@ var uni_index_default = {
3645
5301
  api: []
3646
5302
  }
3647
5303
  },
3648
- examples: [],
5304
+ examples: [
5305
+ {
5306
+ title: "Builder",
5307
+ framework: "angular",
5308
+ code: "<!-- Storybook story: Builder -->\n<uni-theme-builder />"
5309
+ }
5310
+ ],
3649
5311
  guidelines: {
3650
5312
  whenToUse: "",
3651
5313
  dos: [],
@@ -3661,7 +5323,7 @@ var uni_index_default = {
3661
5323
  summary: "",
3662
5324
  description: "",
3663
5325
  category: "forms",
3664
- version: "5.0.0",
5326
+ version: "5.2.0",
3665
5327
  bindings: {
3666
5328
  angular: {
3667
5329
  importPath: "@uni-design-system/uni-angular",
@@ -3732,7 +5394,38 @@ var uni_index_default = {
3732
5394
  ]
3733
5395
  }
3734
5396
  },
3735
- examples: [],
5397
+ examples: [
5398
+ {
5399
+ title: "Default",
5400
+ framework: "angular",
5401
+ code: "<!-- Storybook story: Default -->\n<uni-toggle ${argsToTemplate(args)}></uni-toggle>\n<!-- args:\n{\n label: 'Enable notifications',\n variant: 'primary',\n disabled: false,\n checked: true,\n }\n-->"
5402
+ },
5403
+ {
5404
+ title: "Without Label",
5405
+ framework: "angular",
5406
+ code: "<!-- Storybook story: Without Label -->\n<uni-toggle ${argsToTemplate(args)}></uni-toggle>\n<!-- args:\n{\n label: '',\n variant: 'primary',\n disabled: false,\n }\n-->"
5407
+ },
5408
+ {
5409
+ title: "Disabled",
5410
+ framework: "angular",
5411
+ code: "<!-- Storybook story: Disabled -->\n<uni-toggle ${argsToTemplate(args)}></uni-toggle>\n<!-- args:\n{\n label: 'Disabled toggle',\n variant: 'primary',\n disabled: true,\n }\n-->"
5412
+ },
5413
+ {
5414
+ title: "Variants",
5415
+ framework: "angular",
5416
+ code: "<!-- Storybook story: Variants -->\n<uni-toggle ${argsToTemplate(args)}></uni-toggle>"
5417
+ },
5418
+ {
5419
+ title: "With Change Event",
5420
+ framework: "angular",
5421
+ code: "<!-- Storybook story: With Change Event -->\n<uni-toggle ${argsToTemplate(args)}></uni-toggle>"
5422
+ },
5423
+ {
5424
+ title: "Form Signals",
5425
+ framework: "angular",
5426
+ code: "<!-- Storybook story: Form Signals -->\n<uni-toggle ${argsToTemplate(args)}></uni-toggle>"
5427
+ }
5428
+ ],
3736
5429
  guidelines: {
3737
5430
  whenToUse: "",
3738
5431
  dos: [],
@@ -3750,7 +5443,7 @@ var uni_index_default = {
3750
5443
  summary: "",
3751
5444
  description: "",
3752
5445
  category: "feedback",
3753
- version: "5.0.0",
5446
+ version: "5.2.0",
3754
5447
  bindings: {
3755
5448
  angular: {
3756
5449
  importPath: "@uni-design-system/uni-angular",
@@ -3798,7 +5491,13 @@ var uni_index_default = {
3798
5491
  ]
3799
5492
  }
3800
5493
  },
3801
- examples: [],
5494
+ examples: [
5495
+ {
5496
+ title: "Primary",
5497
+ 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-->"
5499
+ }
5500
+ ],
3802
5501
  guidelines: {
3803
5502
  whenToUse: "",
3804
5503
  dos: [],
@@ -3819,7 +5518,7 @@ var uni_index_default = {
3819
5518
  summary: "",
3820
5519
  description: "",
3821
5520
  category: "layout",
3822
- version: "5.0.0",
5521
+ version: "5.2.0",
3823
5522
  bindings: {
3824
5523
  angular: {
3825
5524
  importPath: "@uni-design-system/uni-angular",
@@ -3844,7 +5543,13 @@ var uni_index_default = {
3844
5543
  ]
3845
5544
  }
3846
5545
  },
3847
- examples: [],
5546
+ examples: [
5547
+ {
5548
+ title: "Primary",
5549
+ framework: "angular",
5550
+ code: "<!-- Storybook story: Primary -->"
5551
+ }
5552
+ ],
3848
5553
  guidelines: {
3849
5554
  whenToUse: "",
3850
5555
  dos: [],
@@ -4946,46 +6651,46 @@ var uni_index_default = {
4946
6651
  },
4947
6652
  {
4948
6653
  id: "shadow.raised",
4949
- value: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px",
6654
+ value: "rgba(23, 25, 43, 0.2) 0px 2px 1px -1px, rgba(23, 25, 43, 0.14) 0px 1px 1px 0px, rgba(23, 25, 43, 0.12) 0px 1px 3px 0px",
4950
6655
  type: "shadow",
4951
6656
  kind: "style",
4952
6657
  target: "emotion-css",
4953
6658
  themeValues: {
4954
- LightTheme: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px",
4955
- DarkTheme: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px"
6659
+ LightTheme: "rgba(23, 25, 43, 0.2) 0px 2px 1px -1px, rgba(23, 25, 43, 0.14) 0px 1px 1px 0px, rgba(23, 25, 43, 0.12) 0px 1px 3px 0px",
6660
+ DarkTheme: "none"
4956
6661
  }
4957
6662
  },
4958
6663
  {
4959
6664
  id: "shadow.menu",
4960
- value: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;",
6665
+ value: "rgba(23, 25, 43, 0.2) 0px 3px 3px -2px, rgba(23, 25, 43, 0.14) 0px 3px 4px 0px, rgba(23, 25, 43, 0.12) 0px 1px 8px 0px",
4961
6666
  type: "shadow",
4962
6667
  kind: "style",
4963
6668
  target: "emotion-css",
4964
6669
  themeValues: {
4965
- LightTheme: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;",
4966
- DarkTheme: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;"
6670
+ LightTheme: "rgba(23, 25, 43, 0.2) 0px 3px 3px -2px, rgba(23, 25, 43, 0.14) 0px 3px 4px 0px, rgba(23, 25, 43, 0.12) 0px 1px 8px 0px",
6671
+ DarkTheme: "0px 4px 12px rgba(0, 0, 0, 0.45)"
4967
6672
  }
4968
6673
  },
4969
6674
  {
4970
6675
  id: "shadow.dialog",
4971
- value: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px",
6676
+ value: "rgba(23, 25, 43, 0.2) 0px 3px 5px -1px, rgba(23, 25, 43, 0.14) 0px 6px 10px 0px, rgba(23, 25, 43, 0.12) 0px 1px 18px 0px",
4972
6677
  type: "shadow",
4973
6678
  kind: "style",
4974
6679
  target: "emotion-css",
4975
6680
  themeValues: {
4976
- LightTheme: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px",
4977
- DarkTheme: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px"
6681
+ LightTheme: "rgba(23, 25, 43, 0.2) 0px 3px 5px -1px, rgba(23, 25, 43, 0.14) 0px 6px 10px 0px, rgba(23, 25, 43, 0.12) 0px 1px 18px 0px",
6682
+ DarkTheme: "0px 8px 28px rgba(0, 0, 0, 0.55)"
4978
6683
  }
4979
6684
  },
4980
6685
  {
4981
6686
  id: "shadow.warn",
4982
- value: "0 0 5px rgba(255, 0, 0, 0.5), inset 0 0 5px rgba(255, 0, 0, 0.3)",
6687
+ value: "0 0 5px rgba(204, 40, 39, 0.5), inset 0 0 5px rgba(204, 40, 39, 0.3)",
4983
6688
  type: "shadow",
4984
6689
  kind: "style",
4985
6690
  target: "emotion-css",
4986
6691
  themeValues: {
4987
- LightTheme: "0 0 5px rgba(255, 0, 0, 0.5), inset 0 0 5px rgba(255, 0, 0, 0.3)",
4988
- DarkTheme: "0 0 5px rgba(255, 0, 0, 0.5), inset 0 0 5px rgba(255, 0, 0, 0.3)"
6692
+ LightTheme: "0 0 5px rgba(204, 40, 39, 0.5), inset 0 0 5px rgba(204, 40, 39, 0.3)",
6693
+ DarkTheme: "0 0 5px rgba(255, 150, 138, 0.55), inset 0 0 5px rgba(255, 150, 138, 0.35)"
4989
6694
  }
4990
6695
  },
4991
6696
  {
@@ -5344,6 +7049,282 @@ var uni_index_default = {
5344
7049
  DarkTheme: "md"
5345
7050
  }
5346
7051
  },
7052
+ {
7053
+ id: "breadcrumb.behavior.typeface",
7054
+ value: "label",
7055
+ type: "string",
7056
+ kind: "behavioral",
7057
+ target: "component-prop",
7058
+ appliesTo: "breadcrumb",
7059
+ themeValues: {
7060
+ LightTheme: "label",
7061
+ DarkTheme: "label"
7062
+ }
7063
+ },
7064
+ {
7065
+ id: "breadcrumb.behavior.color",
7066
+ value: "on-background-variant",
7067
+ type: "string",
7068
+ kind: "behavioral",
7069
+ target: "component-prop",
7070
+ appliesTo: "breadcrumb",
7071
+ themeValues: {
7072
+ LightTheme: "on-background-variant",
7073
+ DarkTheme: "on-background-variant"
7074
+ }
7075
+ },
7076
+ {
7077
+ id: "breadcrumb.behavior.currentColor",
7078
+ value: "on-background",
7079
+ type: "string",
7080
+ kind: "behavioral",
7081
+ target: "component-prop",
7082
+ appliesTo: "breadcrumb",
7083
+ themeValues: {
7084
+ LightTheme: "on-background",
7085
+ DarkTheme: "on-background"
7086
+ }
7087
+ },
7088
+ {
7089
+ id: "breadcrumb.behavior.separatorSymbol",
7090
+ value: "chevron_right",
7091
+ type: "string",
7092
+ kind: "behavioral",
7093
+ target: "component-prop",
7094
+ appliesTo: "breadcrumb",
7095
+ themeValues: {
7096
+ LightTheme: "chevron_right",
7097
+ DarkTheme: "chevron_right"
7098
+ }
7099
+ },
7100
+ {
7101
+ id: "breadcrumb.behavior.gap",
7102
+ value: "xs",
7103
+ type: "string",
7104
+ kind: "behavioral",
7105
+ target: "component-prop",
7106
+ appliesTo: "breadcrumb",
7107
+ themeValues: {
7108
+ LightTheme: "xs",
7109
+ DarkTheme: "xs"
7110
+ }
7111
+ },
7112
+ {
7113
+ id: "appBar.behavior.color",
7114
+ value: "surface",
7115
+ type: "string",
7116
+ kind: "behavioral",
7117
+ target: "component-prop",
7118
+ appliesTo: "appBar",
7119
+ themeValues: {
7120
+ LightTheme: "surface",
7121
+ DarkTheme: "surface"
7122
+ }
7123
+ },
7124
+ {
7125
+ id: "appBar.behavior.height",
7126
+ value: 56,
7127
+ type: "number",
7128
+ kind: "behavioral",
7129
+ target: "component-prop",
7130
+ appliesTo: "appBar",
7131
+ themeValues: {
7132
+ LightTheme: 56,
7133
+ DarkTheme: 56
7134
+ }
7135
+ },
7136
+ {
7137
+ id: "appBar.behavior.divider",
7138
+ value: "light",
7139
+ type: "string",
7140
+ kind: "behavioral",
7141
+ target: "component-prop",
7142
+ appliesTo: "appBar",
7143
+ themeValues: {
7144
+ LightTheme: "light",
7145
+ DarkTheme: "light"
7146
+ }
7147
+ },
7148
+ {
7149
+ id: "appBar.behavior.typeface",
7150
+ value: "title-large",
7151
+ type: "string",
7152
+ kind: "behavioral",
7153
+ target: "component-prop",
7154
+ appliesTo: "appBar",
7155
+ themeValues: {
7156
+ LightTheme: "title-large",
7157
+ DarkTheme: "title-large"
7158
+ }
7159
+ },
7160
+ {
7161
+ id: "appBar.behavior.padding",
7162
+ value: "md",
7163
+ type: "string",
7164
+ kind: "behavioral",
7165
+ target: "component-prop",
7166
+ appliesTo: "appBar",
7167
+ themeValues: {
7168
+ LightTheme: "md",
7169
+ DarkTheme: "md"
7170
+ }
7171
+ },
7172
+ {
7173
+ id: "appBar.behavior.gap",
7174
+ value: "md",
7175
+ type: "string",
7176
+ kind: "behavioral",
7177
+ target: "component-prop",
7178
+ appliesTo: "appBar",
7179
+ themeValues: {
7180
+ LightTheme: "md",
7181
+ DarkTheme: "md"
7182
+ }
7183
+ },
7184
+ {
7185
+ id: "drawer.behavior.color",
7186
+ value: "surface",
7187
+ type: "string",
7188
+ kind: "behavioral",
7189
+ target: "component-prop",
7190
+ appliesTo: "drawer",
7191
+ themeValues: {
7192
+ LightTheme: "surface",
7193
+ DarkTheme: "surface"
7194
+ }
7195
+ },
7196
+ {
7197
+ id: "drawer.behavior.width",
7198
+ value: 280,
7199
+ type: "number",
7200
+ kind: "behavioral",
7201
+ target: "component-prop",
7202
+ appliesTo: "drawer",
7203
+ themeValues: {
7204
+ LightTheme: 280,
7205
+ DarkTheme: 280
7206
+ }
7207
+ },
7208
+ {
7209
+ id: "drawer.behavior.divider",
7210
+ value: "light",
7211
+ type: "string",
7212
+ kind: "behavioral",
7213
+ target: "component-prop",
7214
+ appliesTo: "drawer",
7215
+ themeValues: {
7216
+ LightTheme: "light",
7217
+ DarkTheme: "light"
7218
+ }
7219
+ },
7220
+ {
7221
+ id: "drawer.behavior.elevation",
7222
+ value: "menu",
7223
+ type: "string",
7224
+ kind: "behavioral",
7225
+ target: "component-prop",
7226
+ appliesTo: "drawer",
7227
+ themeValues: {
7228
+ LightTheme: "menu",
7229
+ DarkTheme: "menu"
7230
+ }
7231
+ },
7232
+ {
7233
+ id: "drawer.behavior.padding",
7234
+ value: "md",
7235
+ type: "string",
7236
+ kind: "behavioral",
7237
+ target: "component-prop",
7238
+ appliesTo: "drawer",
7239
+ themeValues: {
7240
+ LightTheme: "md",
7241
+ DarkTheme: "md"
7242
+ }
7243
+ },
7244
+ {
7245
+ id: "drawer.behavior.backdrop",
7246
+ value: '{"background":"rgba(0, 0, 0, 0.4)"}',
7247
+ type: "object",
7248
+ kind: "behavioral",
7249
+ target: "component-prop",
7250
+ appliesTo: "drawer",
7251
+ themeValues: {
7252
+ LightTheme: '{"background":"rgba(0, 0, 0, 0.4)"}',
7253
+ DarkTheme: '{"background":"rgba(0, 0, 0, 0.4)"}'
7254
+ }
7255
+ },
7256
+ {
7257
+ id: "avatar.behavior.borderRadius",
7258
+ value: "max",
7259
+ type: "string",
7260
+ kind: "behavioral",
7261
+ target: "component-prop",
7262
+ appliesTo: "avatar",
7263
+ themeValues: {
7264
+ LightTheme: "max",
7265
+ DarkTheme: "max"
7266
+ }
7267
+ },
7268
+ {
7269
+ id: "avatar.behavior.typeface",
7270
+ value: "subtitle-2",
7271
+ type: "string",
7272
+ kind: "behavioral",
7273
+ target: "component-prop",
7274
+ appliesTo: "avatar",
7275
+ themeValues: {
7276
+ LightTheme: "subtitle-2",
7277
+ DarkTheme: "subtitle-2"
7278
+ }
7279
+ },
7280
+ {
7281
+ id: "avatar.behavior.fallbackSymbol",
7282
+ value: "person",
7283
+ type: "string",
7284
+ kind: "behavioral",
7285
+ target: "component-prop",
7286
+ appliesTo: "avatar",
7287
+ themeValues: {
7288
+ LightTheme: "person",
7289
+ DarkTheme: "person"
7290
+ }
7291
+ },
7292
+ {
7293
+ id: "avatarGroup.behavior.overlap",
7294
+ value: "sm",
7295
+ type: "string",
7296
+ kind: "behavioral",
7297
+ target: "component-prop",
7298
+ appliesTo: "avatarGroup",
7299
+ themeValues: {
7300
+ LightTheme: "sm",
7301
+ DarkTheme: "sm"
7302
+ }
7303
+ },
7304
+ {
7305
+ id: "avatarGroup.behavior.ringColor",
7306
+ value: "surface",
7307
+ type: "string",
7308
+ kind: "behavioral",
7309
+ target: "component-prop",
7310
+ appliesTo: "avatarGroup",
7311
+ themeValues: {
7312
+ LightTheme: "surface",
7313
+ DarkTheme: "surface"
7314
+ }
7315
+ },
7316
+ {
7317
+ id: "avatarGroup.behavior.ringWidth",
7318
+ value: 2,
7319
+ type: "number",
7320
+ kind: "behavioral",
7321
+ target: "component-prop",
7322
+ appliesTo: "avatarGroup",
7323
+ themeValues: {
7324
+ LightTheme: 2,
7325
+ DarkTheme: 2
7326
+ }
7327
+ },
5347
7328
  {
5348
7329
  id: "checkbox.behavior.size",
5349
7330
  value: 20,
@@ -5717,51 +7698,183 @@ var uni_index_default = {
5717
7698
  }
5718
7699
  },
5719
7700
  {
5720
- id: "input.behavior.height",
5721
- value: 32,
5722
- type: "number",
7701
+ id: "input.behavior.height",
7702
+ value: 32,
7703
+ type: "number",
7704
+ kind: "behavioral",
7705
+ target: "component-prop",
7706
+ appliesTo: "input",
7707
+ themeValues: {
7708
+ LightTheme: 32,
7709
+ DarkTheme: 32
7710
+ }
7711
+ },
7712
+ {
7713
+ id: "input.behavior.paddingLeft",
7714
+ value: "sm",
7715
+ type: "string",
7716
+ kind: "behavioral",
7717
+ target: "component-prop",
7718
+ appliesTo: "input",
7719
+ themeValues: {
7720
+ LightTheme: "sm",
7721
+ DarkTheme: "sm"
7722
+ }
7723
+ },
7724
+ {
7725
+ id: "input.behavior.focusOutline",
7726
+ value: "2px solid #6A6F8F",
7727
+ type: "string",
7728
+ kind: "behavioral",
7729
+ target: "component-prop",
7730
+ appliesTo: "input",
7731
+ themeValues: {
7732
+ LightTheme: "2px solid #6A6F8F",
7733
+ DarkTheme: "2px solid #AFB5D8"
7734
+ }
7735
+ },
7736
+ {
7737
+ id: "input.behavior.focusOutlineOffset",
7738
+ value: 2,
7739
+ type: "number",
7740
+ kind: "behavioral",
7741
+ target: "component-prop",
7742
+ appliesTo: "input",
7743
+ themeValues: {
7744
+ LightTheme: 2,
7745
+ DarkTheme: 2
7746
+ }
7747
+ },
7748
+ {
7749
+ id: "textarea.behavior.rows",
7750
+ value: 3,
7751
+ type: "number",
7752
+ kind: "behavioral",
7753
+ target: "component-prop",
7754
+ appliesTo: "textarea",
7755
+ themeValues: {
7756
+ LightTheme: 3,
7757
+ DarkTheme: 3
7758
+ }
7759
+ },
7760
+ {
7761
+ id: "textarea.behavior.resize",
7762
+ value: "vertical",
7763
+ type: "string",
7764
+ kind: "behavioral",
7765
+ target: "component-prop",
7766
+ appliesTo: "textarea",
7767
+ themeValues: {
7768
+ LightTheme: "vertical",
7769
+ DarkTheme: "vertical"
7770
+ }
7771
+ },
7772
+ {
7773
+ id: "tabs.behavior.typeface",
7774
+ value: "title-small",
7775
+ type: "string",
7776
+ kind: "behavioral",
7777
+ target: "component-prop",
7778
+ appliesTo: "tabs",
7779
+ themeValues: {
7780
+ LightTheme: "title-small",
7781
+ DarkTheme: "title-small"
7782
+ }
7783
+ },
7784
+ {
7785
+ id: "tabs.behavior.textColor",
7786
+ value: "on-surface-variant",
7787
+ type: "string",
7788
+ kind: "behavioral",
7789
+ target: "component-prop",
7790
+ appliesTo: "tabs",
7791
+ themeValues: {
7792
+ LightTheme: "on-surface-variant",
7793
+ DarkTheme: "on-surface-variant"
7794
+ }
7795
+ },
7796
+ {
7797
+ id: "tabs.behavior.activeTextColor",
7798
+ value: "primary",
7799
+ type: "string",
7800
+ kind: "behavioral",
7801
+ target: "component-prop",
7802
+ appliesTo: "tabs",
7803
+ themeValues: {
7804
+ LightTheme: "primary",
7805
+ DarkTheme: "primary"
7806
+ }
7807
+ },
7808
+ {
7809
+ id: "tabs.behavior.indicatorColor",
7810
+ value: "primary",
7811
+ type: "string",
7812
+ kind: "behavioral",
7813
+ target: "component-prop",
7814
+ appliesTo: "tabs",
7815
+ themeValues: {
7816
+ LightTheme: "primary",
7817
+ DarkTheme: "primary"
7818
+ }
7819
+ },
7820
+ {
7821
+ id: "tabs.behavior.indicatorThickness",
7822
+ value: "standard",
7823
+ type: "string",
7824
+ kind: "behavioral",
7825
+ target: "component-prop",
7826
+ appliesTo: "tabs",
7827
+ themeValues: {
7828
+ LightTheme: "standard",
7829
+ DarkTheme: "standard"
7830
+ }
7831
+ },
7832
+ {
7833
+ id: "tabs.behavior.divider",
7834
+ value: "light",
7835
+ type: "string",
5723
7836
  kind: "behavioral",
5724
7837
  target: "component-prop",
5725
- appliesTo: "input",
7838
+ appliesTo: "tabs",
5726
7839
  themeValues: {
5727
- LightTheme: 32,
5728
- DarkTheme: 32
7840
+ LightTheme: "light",
7841
+ DarkTheme: "light"
5729
7842
  }
5730
7843
  },
5731
7844
  {
5732
- id: "input.behavior.paddingLeft",
7845
+ id: "tabs.behavior.gap",
5733
7846
  value: "sm",
5734
7847
  type: "string",
5735
7848
  kind: "behavioral",
5736
7849
  target: "component-prop",
5737
- appliesTo: "input",
7850
+ appliesTo: "tabs",
5738
7851
  themeValues: {
5739
7852
  LightTheme: "sm",
5740
7853
  DarkTheme: "sm"
5741
7854
  }
5742
7855
  },
5743
7856
  {
5744
- id: "input.behavior.focusOutline",
5745
- value: "2px solid #6A6F8F",
7857
+ id: "tabs.behavior.borderRadius",
7858
+ value: "none",
5746
7859
  type: "string",
5747
7860
  kind: "behavioral",
5748
7861
  target: "component-prop",
5749
- appliesTo: "input",
7862
+ appliesTo: "tabs",
5750
7863
  themeValues: {
5751
- LightTheme: "2px solid #6A6F8F",
5752
- DarkTheme: "2px solid #AFB5D8"
7864
+ LightTheme: "none",
7865
+ DarkTheme: "none"
5753
7866
  }
5754
7867
  },
5755
7868
  {
5756
- id: "input.behavior.focusOutlineOffset",
5757
- value: 2,
5758
- type: "number",
7869
+ id: "tabs.behavior.padding",
7870
+ value: "md",
7871
+ type: "string",
5759
7872
  kind: "behavioral",
5760
7873
  target: "component-prop",
5761
- appliesTo: "input",
7874
+ appliesTo: "tabs",
5762
7875
  themeValues: {
5763
- LightTheme: 2,
5764
- DarkTheme: 2
7876
+ LightTheme: "md",
7877
+ DarkTheme: "md"
5765
7878
  }
5766
7879
  },
5767
7880
  {
@@ -5860,6 +7973,54 @@ var uni_index_default = {
5860
7973
  DarkTheme: "xxs"
5861
7974
  }
5862
7975
  },
7976
+ {
7977
+ id: "button.behavior.borderRadius",
7978
+ value: "max",
7979
+ type: "string",
7980
+ kind: "behavioral",
7981
+ target: "component-prop",
7982
+ appliesTo: "button",
7983
+ themeValues: {
7984
+ LightTheme: "max",
7985
+ DarkTheme: "max"
7986
+ }
7987
+ },
7988
+ {
7989
+ id: "button.behavior.typeface",
7990
+ value: "button",
7991
+ type: "string",
7992
+ kind: "behavioral",
7993
+ target: "component-prop",
7994
+ appliesTo: "button",
7995
+ themeValues: {
7996
+ LightTheme: "button",
7997
+ DarkTheme: "button"
7998
+ }
7999
+ },
8000
+ {
8001
+ id: "iconButton.behavior.borderRadius",
8002
+ value: "max",
8003
+ type: "string",
8004
+ kind: "behavioral",
8005
+ target: "component-prop",
8006
+ appliesTo: "iconButton",
8007
+ themeValues: {
8008
+ LightTheme: "max",
8009
+ DarkTheme: "max"
8010
+ }
8011
+ },
8012
+ {
8013
+ id: "card.behavior.borderRadius",
8014
+ value: "xs",
8015
+ type: "string",
8016
+ kind: "behavioral",
8017
+ target: "component-prop",
8018
+ appliesTo: "card",
8019
+ themeValues: {
8020
+ LightTheme: "xs",
8021
+ DarkTheme: "xs"
8022
+ }
8023
+ },
5863
8024
  {
5864
8025
  id: "dataSearch.behavior.border",
5865
8026
  value: "light",
@@ -6256,6 +8417,138 @@ var uni_index_default = {
6256
8417
  DarkTheme: "xs"
6257
8418
  }
6258
8419
  },
8420
+ {
8421
+ id: "slider.behavior.color",
8422
+ value: "primary",
8423
+ type: "string",
8424
+ kind: "behavioral",
8425
+ target: "component-prop",
8426
+ appliesTo: "slider",
8427
+ themeValues: {
8428
+ LightTheme: "primary",
8429
+ DarkTheme: "primary"
8430
+ }
8431
+ },
8432
+ {
8433
+ id: "slider.behavior.trackColor",
8434
+ value: "surface-variant",
8435
+ type: "string",
8436
+ kind: "behavioral",
8437
+ target: "component-prop",
8438
+ appliesTo: "slider",
8439
+ themeValues: {
8440
+ LightTheme: "surface-variant",
8441
+ DarkTheme: "surface-variant"
8442
+ }
8443
+ },
8444
+ {
8445
+ id: "slider.behavior.borderRadius",
8446
+ value: "max",
8447
+ type: "string",
8448
+ kind: "behavioral",
8449
+ target: "component-prop",
8450
+ appliesTo: "slider",
8451
+ themeValues: {
8452
+ LightTheme: "max",
8453
+ DarkTheme: "max"
8454
+ }
8455
+ },
8456
+ {
8457
+ id: "slider.behavior.trackHeight",
8458
+ value: 4,
8459
+ type: "number",
8460
+ kind: "behavioral",
8461
+ target: "component-prop",
8462
+ appliesTo: "slider",
8463
+ themeValues: {
8464
+ LightTheme: 4,
8465
+ DarkTheme: 4
8466
+ }
8467
+ },
8468
+ {
8469
+ id: "slider.behavior.thumbSize",
8470
+ value: 16,
8471
+ type: "number",
8472
+ kind: "behavioral",
8473
+ target: "component-prop",
8474
+ appliesTo: "slider",
8475
+ themeValues: {
8476
+ LightTheme: 16,
8477
+ DarkTheme: 16
8478
+ }
8479
+ },
8480
+ {
8481
+ id: "skeleton.behavior.color",
8482
+ value: "surface-variant",
8483
+ type: "string",
8484
+ kind: "behavioral",
8485
+ target: "component-prop",
8486
+ appliesTo: "skeleton",
8487
+ themeValues: {
8488
+ LightTheme: "surface-variant",
8489
+ DarkTheme: "surface-variant"
8490
+ }
8491
+ },
8492
+ {
8493
+ id: "skeleton.behavior.highlightColor",
8494
+ value: "surface",
8495
+ type: "string",
8496
+ kind: "behavioral",
8497
+ target: "component-prop",
8498
+ appliesTo: "skeleton",
8499
+ themeValues: {
8500
+ LightTheme: "surface",
8501
+ DarkTheme: "surface"
8502
+ }
8503
+ },
8504
+ {
8505
+ id: "skeleton.behavior.borderRadius",
8506
+ value: "xs",
8507
+ type: "string",
8508
+ kind: "behavioral",
8509
+ target: "component-prop",
8510
+ appliesTo: "skeleton",
8511
+ themeValues: {
8512
+ LightTheme: "xs",
8513
+ DarkTheme: "xs"
8514
+ }
8515
+ },
8516
+ {
8517
+ id: "skeleton.behavior.animation",
8518
+ value: "shimmer",
8519
+ type: "string",
8520
+ kind: "behavioral",
8521
+ target: "component-prop",
8522
+ appliesTo: "skeleton",
8523
+ themeValues: {
8524
+ LightTheme: "shimmer",
8525
+ DarkTheme: "shimmer"
8526
+ }
8527
+ },
8528
+ {
8529
+ id: "skeleton.behavior.duration",
8530
+ value: 1.4,
8531
+ type: "number",
8532
+ kind: "behavioral",
8533
+ target: "component-prop",
8534
+ appliesTo: "skeleton",
8535
+ themeValues: {
8536
+ LightTheme: 1.4,
8537
+ DarkTheme: 1.4
8538
+ }
8539
+ },
8540
+ {
8541
+ id: "skeleton.behavior.gap",
8542
+ value: "sm",
8543
+ type: "string",
8544
+ kind: "behavioral",
8545
+ target: "component-prop",
8546
+ appliesTo: "skeleton",
8547
+ themeValues: {
8548
+ LightTheme: "sm",
8549
+ DarkTheme: "sm"
8550
+ }
8551
+ },
6259
8552
  {
6260
8553
  id: "snackbar.behavior.bottomPosition",
6261
8554
  value: 40,
@@ -6506,10 +8799,10 @@ var uni_index_default = {
6506
8799
  "border.light": "1px solid #7E8088",
6507
8800
  "border.dark": "1px solid #202127",
6508
8801
  "border.dotted": "1px dotted #202127",
6509
- "shadow.raised": "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px",
6510
- "shadow.menu": "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;",
6511
- "shadow.dialog": "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px",
6512
- "shadow.warn": "0 0 5px rgba(255, 0, 0, 0.5), inset 0 0 5px rgba(255, 0, 0, 0.3)",
8802
+ "shadow.raised": "rgba(23, 25, 43, 0.2) 0px 2px 1px -1px, rgba(23, 25, 43, 0.14) 0px 1px 1px 0px, rgba(23, 25, 43, 0.12) 0px 1px 3px 0px",
8803
+ "shadow.menu": "rgba(23, 25, 43, 0.2) 0px 3px 3px -2px, rgba(23, 25, 43, 0.14) 0px 3px 4px 0px, rgba(23, 25, 43, 0.12) 0px 1px 8px 0px",
8804
+ "shadow.dialog": "rgba(23, 25, 43, 0.2) 0px 3px 5px -1px, rgba(23, 25, 43, 0.14) 0px 6px 10px 0px, rgba(23, 25, 43, 0.12) 0px 1px 18px 0px",
8805
+ "shadow.warn": "0 0 5px rgba(204, 40, 39, 0.5), inset 0 0 5px rgba(204, 40, 39, 0.3)",
6513
8806
  "thickness.thin": 1,
6514
8807
  "thickness.standard": 2,
6515
8808
  "thickness.thick": 4,
@@ -6546,6 +8839,39 @@ var uni_index_default = {
6546
8839
  transitionSpeed: 0.35,
6547
8840
  elevation: "md"
6548
8841
  },
8842
+ breadcrumb: {
8843
+ typeface: "label",
8844
+ color: "on-background-variant",
8845
+ currentColor: "on-background",
8846
+ separatorSymbol: "chevron_right",
8847
+ gap: "xs"
8848
+ },
8849
+ appBar: {
8850
+ color: "surface",
8851
+ height: 56,
8852
+ divider: "light",
8853
+ typeface: "title-large",
8854
+ padding: "md",
8855
+ gap: "md"
8856
+ },
8857
+ drawer: {
8858
+ color: "surface",
8859
+ width: 280,
8860
+ divider: "light",
8861
+ elevation: "menu",
8862
+ padding: "md",
8863
+ backdrop: '{"background":"rgba(0, 0, 0, 0.4)"}'
8864
+ },
8865
+ avatar: {
8866
+ borderRadius: "max",
8867
+ typeface: "subtitle-2",
8868
+ fallbackSymbol: "person"
8869
+ },
8870
+ avatarGroup: {
8871
+ overlap: "sm",
8872
+ ringColor: "surface",
8873
+ ringWidth: 2
8874
+ },
6549
8875
  checkbox: {
6550
8876
  size: 20
6551
8877
  },
@@ -6593,6 +8919,21 @@ var uni_index_default = {
6593
8919
  focusOutline: "2px solid #6A6F8F",
6594
8920
  focusOutlineOffset: 2
6595
8921
  },
8922
+ textarea: {
8923
+ rows: 3,
8924
+ resize: "vertical"
8925
+ },
8926
+ tabs: {
8927
+ typeface: "title-small",
8928
+ textColor: "on-surface-variant",
8929
+ activeTextColor: "primary",
8930
+ indicatorColor: "primary",
8931
+ indicatorThickness: "standard",
8932
+ divider: "light",
8933
+ gap: "sm",
8934
+ borderRadius: "none",
8935
+ padding: "md"
8936
+ },
6596
8937
  multiSelectDropdown: {
6597
8938
  textRole: "input",
6598
8939
  textColor: "on-primary-surface",
@@ -6605,6 +8946,16 @@ var uni_index_default = {
6605
8946
  badge: {
6606
8947
  borderRadius: "xxs"
6607
8948
  },
8949
+ button: {
8950
+ borderRadius: "max",
8951
+ typeface: "button"
8952
+ },
8953
+ iconButton: {
8954
+ borderRadius: "max"
8955
+ },
8956
+ card: {
8957
+ borderRadius: "xs"
8958
+ },
6608
8959
  dataSearch: {
6609
8960
  border: "light",
6610
8961
  borderRadius: "xs",
@@ -6646,6 +8997,21 @@ var uni_index_default = {
6646
8997
  currentPageBorder: "light",
6647
8998
  currentPageBorderRadius: "xs"
6648
8999
  },
9000
+ slider: {
9001
+ color: "primary",
9002
+ trackColor: "surface-variant",
9003
+ borderRadius: "max",
9004
+ trackHeight: 4,
9005
+ thumbSize: 16
9006
+ },
9007
+ skeleton: {
9008
+ color: "surface-variant",
9009
+ highlightColor: "surface",
9010
+ borderRadius: "xs",
9011
+ animation: "shimmer",
9012
+ duration: 1.4,
9013
+ gap: "sm"
9014
+ },
6649
9015
  snackbar: {
6650
9016
  bottomPosition: 40,
6651
9017
  transitionDelay: "0.35s",
@@ -6773,10 +9139,10 @@ var uni_index_default = {
6773
9139
  "border.light": "1px solid #90929A",
6774
9140
  "border.dark": "1px solid #E5E7F0",
6775
9141
  "border.dotted": "1px dotted #E5E7F0",
6776
- "shadow.raised": "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px",
6777
- "shadow.menu": "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;",
6778
- "shadow.dialog": "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px",
6779
- "shadow.warn": "0 0 5px rgba(255, 0, 0, 0.5), inset 0 0 5px rgba(255, 0, 0, 0.3)",
9142
+ "shadow.raised": "none",
9143
+ "shadow.menu": "0px 4px 12px rgba(0, 0, 0, 0.45)",
9144
+ "shadow.dialog": "0px 8px 28px rgba(0, 0, 0, 0.55)",
9145
+ "shadow.warn": "0 0 5px rgba(255, 150, 138, 0.55), inset 0 0 5px rgba(255, 150, 138, 0.35)",
6780
9146
  "thickness.thin": 1,
6781
9147
  "thickness.standard": 2,
6782
9148
  "thickness.thick": 4,
@@ -6813,6 +9179,39 @@ var uni_index_default = {
6813
9179
  transitionSpeed: 0.35,
6814
9180
  elevation: "md"
6815
9181
  },
9182
+ breadcrumb: {
9183
+ typeface: "label",
9184
+ color: "on-background-variant",
9185
+ currentColor: "on-background",
9186
+ separatorSymbol: "chevron_right",
9187
+ gap: "xs"
9188
+ },
9189
+ appBar: {
9190
+ color: "surface",
9191
+ height: 56,
9192
+ divider: "light",
9193
+ typeface: "title-large",
9194
+ padding: "md",
9195
+ gap: "md"
9196
+ },
9197
+ drawer: {
9198
+ color: "surface",
9199
+ width: 280,
9200
+ divider: "light",
9201
+ elevation: "menu",
9202
+ padding: "md",
9203
+ backdrop: '{"background":"rgba(0, 0, 0, 0.4)"}'
9204
+ },
9205
+ avatar: {
9206
+ borderRadius: "max",
9207
+ typeface: "subtitle-2",
9208
+ fallbackSymbol: "person"
9209
+ },
9210
+ avatarGroup: {
9211
+ overlap: "sm",
9212
+ ringColor: "surface",
9213
+ ringWidth: 2
9214
+ },
6816
9215
  checkbox: {
6817
9216
  size: 20
6818
9217
  },
@@ -6860,6 +9259,21 @@ var uni_index_default = {
6860
9259
  focusOutline: "2px solid #AFB5D8",
6861
9260
  focusOutlineOffset: 2
6862
9261
  },
9262
+ textarea: {
9263
+ rows: 3,
9264
+ resize: "vertical"
9265
+ },
9266
+ tabs: {
9267
+ typeface: "title-small",
9268
+ textColor: "on-surface-variant",
9269
+ activeTextColor: "primary",
9270
+ indicatorColor: "primary",
9271
+ indicatorThickness: "standard",
9272
+ divider: "light",
9273
+ gap: "sm",
9274
+ borderRadius: "none",
9275
+ padding: "md"
9276
+ },
6863
9277
  multiSelectDropdown: {
6864
9278
  textRole: "input",
6865
9279
  textColor: "on-primary-surface",
@@ -6872,6 +9286,16 @@ var uni_index_default = {
6872
9286
  badge: {
6873
9287
  borderRadius: "xxs"
6874
9288
  },
9289
+ button: {
9290
+ borderRadius: "max",
9291
+ typeface: "button"
9292
+ },
9293
+ iconButton: {
9294
+ borderRadius: "max"
9295
+ },
9296
+ card: {
9297
+ borderRadius: "xs"
9298
+ },
6875
9299
  dataSearch: {
6876
9300
  border: "light",
6877
9301
  borderRadius: "xs",
@@ -6913,6 +9337,21 @@ var uni_index_default = {
6913
9337
  currentPageBorder: "light",
6914
9338
  currentPageBorderRadius: "xs"
6915
9339
  },
9340
+ slider: {
9341
+ color: "primary",
9342
+ trackColor: "surface-variant",
9343
+ borderRadius: "max",
9344
+ trackHeight: 4,
9345
+ thumbSize: 16
9346
+ },
9347
+ skeleton: {
9348
+ color: "surface-variant",
9349
+ highlightColor: "surface",
9350
+ borderRadius: "xs",
9351
+ animation: "shimmer",
9352
+ duration: 1.4,
9353
+ gap: "sm"
9354
+ },
6916
9355
  snackbar: {
6917
9356
  bottomPosition: 40,
6918
9357
  transitionDelay: "0.35s",
@@ -7637,6 +10076,31 @@ var generateColors = (config) => {
7637
10076
  };
7638
10077
  };
7639
10078
  var generatePalette = (config) => generateColors(config);
10079
+ var rgba = (hex, alpha) => {
10080
+ const { red, green, blue } = hexToRgb(hex);
10081
+ return `rgba(${red}, ${green}, ${blue}, ${alpha})`;
10082
+ };
10083
+ var generateShadows = (colors, mode = "light") => {
10084
+ const error = colors["error"] ?? "#CC2827";
10085
+ if (mode === "dark") return {
10086
+ raised: "none",
10087
+ menu: `0px 4px 12px ${rgba("#000000", 0.45)}`,
10088
+ dialog: `0px 8px 28px ${rgba("#000000", 0.55)}`,
10089
+ warn: `0 0 5px ${rgba(error, 0.55)}, inset 0 0 5px ${rgba(error, 0.35)}`
10090
+ };
10091
+ const { h } = hexToOklch(colors["primary"] ?? "#000000");
10092
+ const ink = oklchToHex({
10093
+ l: 0.22,
10094
+ c: 0.035,
10095
+ h
10096
+ });
10097
+ return {
10098
+ raised: `${rgba(ink, 0.2)} 0px 2px 1px -1px, ${rgba(ink, 0.14)} 0px 1px 1px 0px, ${rgba(ink, 0.12)} 0px 1px 3px 0px`,
10099
+ menu: `${rgba(ink, 0.2)} 0px 3px 3px -2px, ${rgba(ink, 0.14)} 0px 3px 4px 0px, ${rgba(ink, 0.12)} 0px 1px 8px 0px`,
10100
+ dialog: `${rgba(ink, 0.2)} 0px 3px 5px -1px, ${rgba(ink, 0.14)} 0px 6px 10px 0px, ${rgba(ink, 0.12)} 0px 1px 18px 0px`,
10101
+ warn: `0 0 5px ${rgba(error, 0.5)}, inset 0 0 5px ${rgba(error, 0.3)}`
10102
+ };
10103
+ };
7640
10104
  var BaseTypography = {
7641
10105
  "display-large": {
7642
10106
  fontFamily: "Red Hat Display",
@@ -7833,6 +10297,90 @@ var buildComponents = (c) => ({
7833
10297
  transitionSpeed: 0.35,
7834
10298
  elevation: "md"
7835
10299
  } },
10300
+ breadcrumb: { options: {
10301
+ typeface: "label",
10302
+ color: "on-background-variant",
10303
+ currentColor: "on-background",
10304
+ separatorSymbol: "chevron_right",
10305
+ gap: "xs"
10306
+ } },
10307
+ appBar: { options: {
10308
+ color: "surface",
10309
+ height: 56,
10310
+ divider: "light",
10311
+ typeface: "title-large",
10312
+ padding: "md",
10313
+ gap: "md",
10314
+ elevation: void 0
10315
+ } },
10316
+ drawer: { options: {
10317
+ color: "surface",
10318
+ width: 280,
10319
+ divider: "light",
10320
+ elevation: "menu",
10321
+ padding: "md",
10322
+ backdrop: { background: "rgba(0, 0, 0, 0.4)" }
10323
+ } },
10324
+ avatar: {
10325
+ options: {
10326
+ borderRadius: "max",
10327
+ typeface: "subtitle-2",
10328
+ fallbackSymbol: "person"
10329
+ },
10330
+ variants: {
10331
+ primary: {
10332
+ backgroundColor: c["primary-container"],
10333
+ color: c["on-primary-container"]
10334
+ },
10335
+ secondary: {
10336
+ backgroundColor: c["secondary-container"],
10337
+ color: c["on-secondary-container"]
10338
+ },
10339
+ tertiary: {
10340
+ backgroundColor: c["tertiary-container"],
10341
+ color: c["on-tertiary-container"]
10342
+ },
10343
+ quaternary: {
10344
+ backgroundColor: c["surface-variant"],
10345
+ color: c["on-surface-variant"]
10346
+ },
10347
+ warn: {
10348
+ backgroundColor: c["warn-container"],
10349
+ color: c["on-warn-container"]
10350
+ },
10351
+ success: {
10352
+ backgroundColor: c["success-container"],
10353
+ color: c["on-success-container"]
10354
+ }
10355
+ },
10356
+ sizes: {
10357
+ sm: {
10358
+ height: 24,
10359
+ width: 24,
10360
+ fontSize: 10
10361
+ },
10362
+ md: {
10363
+ height: 32,
10364
+ width: 32,
10365
+ fontSize: 13
10366
+ },
10367
+ lg: {
10368
+ height: 40,
10369
+ width: 40,
10370
+ fontSize: 16
10371
+ },
10372
+ xl: {
10373
+ height: 56,
10374
+ width: 56,
10375
+ fontSize: 22
10376
+ }
10377
+ }
10378
+ },
10379
+ avatarGroup: { options: {
10380
+ overlap: "sm",
10381
+ ringColor: "surface",
10382
+ ringWidth: 2
10383
+ } },
7836
10384
  checkbox: { options: { size: 20 } },
7837
10385
  dialog: { options: {
7838
10386
  borderRadius: "lg",
@@ -7881,6 +10429,22 @@ var buildComponents = (c) => ({
7881
10429
  focusOutline: `2px solid ${c.primary}`,
7882
10430
  focusOutlineOffset: 2
7883
10431
  } },
10432
+ textarea: { options: {
10433
+ rows: 3,
10434
+ resize: "vertical"
10435
+ } },
10436
+ tabs: { options: {
10437
+ typeface: "title-small",
10438
+ textColor: "on-surface-variant",
10439
+ activeTextColor: "primary",
10440
+ indicatorColor: "primary",
10441
+ indicatorThickness: "standard",
10442
+ divider: "light",
10443
+ gap: "sm",
10444
+ borderRadius: "none",
10445
+ padding: "md",
10446
+ activeColor: void 0
10447
+ } },
7884
10448
  multiSelectDropdown: { options: {
7885
10449
  textRole: "input",
7886
10450
  textColor: "on-primary-surface",
@@ -7892,13 +10456,16 @@ var buildComponents = (c) => ({
7892
10456
  } },
7893
10457
  badge: { options: { borderRadius: "xxs" } },
7894
10458
  button: {
10459
+ options: {
10460
+ borderRadius: "max",
10461
+ typeface: "button"
10462
+ },
7895
10463
  fixed: {
7896
10464
  position: "relative",
7897
10465
  overflow: "hidden",
7898
10466
  outline: "0",
7899
10467
  border: "0",
7900
10468
  cursor: "pointer",
7901
- fontFamily: "Euphemia, sans-serif",
7902
10469
  transition: "all 0.28s ease"
7903
10470
  },
7904
10471
  variants: {
@@ -7949,33 +10516,29 @@ var buildComponents = (c) => ({
7949
10516
  sizes: {
7950
10517
  sm: {
7951
10518
  height: 22,
7952
- borderRadius: 11,
7953
10519
  fontSize: 12,
7954
10520
  padding: "0 12px",
7955
- fontFamily: "Euphemia Bold, sans-serif",
7956
10521
  fontWeight: 600
7957
10522
  },
7958
10523
  md: {
7959
10524
  height: 26,
7960
- borderRadius: 13,
7961
10525
  fontSize: 16,
7962
10526
  padding: "0 16px"
7963
10527
  },
7964
10528
  lg: {
7965
10529
  height: 36,
7966
- borderRadius: 18,
7967
10530
  fontSize: 18,
7968
10531
  padding: "0 18px"
7969
10532
  },
7970
10533
  xl: {
7971
10534
  height: 48,
7972
- borderRadius: 24,
7973
10535
  fontSize: 24,
7974
10536
  padding: "0 22px"
7975
10537
  }
7976
10538
  }
7977
10539
  },
7978
10540
  iconButton: {
10541
+ options: { borderRadius: "max" },
7979
10542
  variants: {
7980
10543
  ghost: {
7981
10544
  backgroundColor: "transparent",
@@ -8041,23 +10604,23 @@ var buildComponents = (c) => ({
8041
10604
  fixed: { textFill: c["on-background"] },
8042
10605
  variants: {
8043
10606
  primary: {
8044
- backgroundColor: "#b3d4ea",
10607
+ backgroundColor: c["primary-container"],
8045
10608
  color: c.primary
8046
10609
  },
8047
10610
  secondary: {
8048
- backgroundColor: "#b3e7c2",
10611
+ backgroundColor: c["secondary-container"],
8049
10612
  color: c.secondary
8050
10613
  },
8051
10614
  tertiary: {
8052
- backgroundColor: "#ffe2b3",
10615
+ backgroundColor: c["tertiary-container"],
8053
10616
  color: c.tertiary
8054
10617
  },
8055
10618
  warn: {
8056
- backgroundColor: "#ffc2b3",
10619
+ backgroundColor: c["warn-container"],
8057
10620
  color: c.warn
8058
10621
  },
8059
10622
  success: {
8060
- backgroundColor: "#b3e7c2",
10623
+ backgroundColor: c["success-container"],
8061
10624
  color: c.success
8062
10625
  }
8063
10626
  },
@@ -8069,33 +10632,10 @@ var buildComponents = (c) => ({
8069
10632
  }
8070
10633
  },
8071
10634
  card: {
10635
+ options: { borderRadius: "xs" },
8072
10636
  fixed: {
8073
- borderStyle: "solid",
8074
- borderWidth: "1px",
8075
- borderRadius: "8px",
8076
- overflow: "hidden"
8077
- },
8078
- variants: {
8079
- primary: {
8080
- borderColor: c.primary,
8081
- backgroundColor: c.background
8082
- },
8083
- secondary: {
8084
- borderColor: c.secondary,
8085
- backgroundColor: c.background
8086
- },
8087
- tertiary: {
8088
- borderColor: c.tertiary,
8089
- backgroundColor: c.background
8090
- },
8091
- warn: {
8092
- borderColor: c.warn,
8093
- backgroundColor: c.background
8094
- },
8095
- success: {
8096
- borderColor: c.success,
8097
- backgroundColor: c.background
8098
- }
10637
+ overflow: "hidden",
10638
+ backgroundColor: c.background
8099
10639
  }
8100
10640
  },
8101
10641
  cardHeader: {
@@ -8166,6 +10706,21 @@ var buildComponents = (c) => ({
8166
10706
  currentPageBorder: "light",
8167
10707
  currentPageBorderRadius: "xs"
8168
10708
  } },
10709
+ slider: { options: {
10710
+ color: "primary",
10711
+ trackColor: "surface-variant",
10712
+ borderRadius: "max",
10713
+ trackHeight: 4,
10714
+ thumbSize: 16
10715
+ } },
10716
+ skeleton: { options: {
10717
+ color: "surface-variant",
10718
+ highlightColor: "surface",
10719
+ borderRadius: "xs",
10720
+ animation: "shimmer",
10721
+ duration: 1.4,
10722
+ gap: "sm"
10723
+ } },
8169
10724
  snackbar: { options: {
8170
10725
  bottomPosition: 40,
8171
10726
  transitionDelay: "0.35s",
@@ -8306,6 +10861,8 @@ var generateThemes = (input) => {
8306
10861
  lightColors: lightColors2,
8307
10862
  darkColors: darkColors2,
8308
10863
  radii: input.shape ? ShapeRadii[input.shape] : void 0,
10864
+ lightShadows: generateShadows(lightColors2, "light"),
10865
+ darkShadows: generateShadows(darkColors2, "dark"),
8309
10866
  report: {
8310
10867
  checks,
8311
10868
  worstRatio,
@@ -8324,30 +10881,31 @@ var bordersLiteral = () => [
8324
10881
  " * shared token picks up the change.",
8325
10882
  " */",
8326
10883
  "const borders = (colors: Colors): Borders => ({",
8327
- " primary: `1px solid ${colors.primary}`,",
8328
- " secondary: `1px solid ${colors.secondary}`,",
8329
- " tertiary: `1px solid ${colors.tertiary}`,",
8330
- " quaternary: `1px solid ${colors.quaternary}`,",
8331
- " warn: `1px solid ${colors.warn}`,",
8332
- " success: `1px solid ${colors.success}`,",
8333
- " light: `1px solid ${colors.outline}`,",
10884
+ " primary: `1px solid ${colors['primary']}`,",
10885
+ " secondary: `1px solid ${colors['secondary']}`,",
10886
+ " tertiary: `1px solid ${colors['tertiary']}`,",
10887
+ " quaternary: `1px solid ${colors['quaternary']}`,",
10888
+ " warn: `1px solid ${colors['warn']}`,",
10889
+ " success: `1px solid ${colors['success']}`,",
10890
+ " light: `1px solid ${colors['outline']}`,",
8334
10891
  " dark: `1px solid ${colors['on-background']}`,",
8335
10892
  " dotted: `1px dotted ${colors['on-background']}`,",
8336
10893
  "});"
8337
10894
  ].join("\n");
8338
- var themeExport = (exportName, displayName, colorsConst, radii) => [
10895
+ var themeExport = (exportName, displayName, colorsConst, shadowsConst, radii) => [
8339
10896
  `export const ${exportName}: UniTheme = createTheme({`,
8340
10897
  ` id: '${exportName}',`,
8341
10898
  ` name: '${displayName}',`,
8342
10899
  ` colors: ${colorsConst},`,
8343
10900
  ` borders: borders(${colorsConst}),`,
8344
10901
  ` components: components(${colorsConst}),`,
10902
+ ` shadows: ${shadowsConst},`,
8345
10903
  ...radii ? [" radii,"] : [],
8346
10904
  "});"
8347
10905
  ].join("\n");
8348
10906
  var emitThemeFile = (input) => {
8349
10907
  const { darkMode = true, name = "Brand" } = input;
8350
- const { lightColors: lightColors2, darkColors: darkColors2, radii, report } = generateThemes(input);
10908
+ const { lightColors: lightColors2, darkColors: darkColors2, radii, lightShadows, darkShadows, report } = generateThemes(input);
8351
10909
  const id = name.replace(/\W+/g, "") || "Brand";
8352
10910
  const regenerate = [
8353
10911
  `--brand=${(Array.isArray(input.seed) ? input.seed : [input.seed]).join(",")}`,
@@ -8361,12 +10919,16 @@ var emitThemeFile = (input) => {
8361
10919
  exportName: `${id}Light`,
8362
10920
  displayName: `${name} Light`,
8363
10921
  colorsConst: "lightColors",
8364
- colors: lightColors2
10922
+ colors: lightColors2,
10923
+ shadowsConst: "lightShadows",
10924
+ shadows: lightShadows
8365
10925
  }, ...darkMode ? [{
8366
10926
  exportName: `${id}Dark`,
8367
10927
  displayName: `${name} Dark`,
8368
10928
  colorsConst: "darkColors",
8369
- colors: darkColors2
10929
+ colors: darkColors2,
10930
+ shadowsConst: "darkShadows",
10931
+ shadows: darkShadows
8370
10932
  }] : []];
8371
10933
  return {
8372
10934
  content: [
@@ -8383,19 +10945,25 @@ var emitThemeFile = (input) => {
8383
10945
  " type Borders,",
8384
10946
  " type Colors,",
8385
10947
  " type ComponentThemes,",
10948
+ " type Shadows,",
8386
10949
  " type UniTheme,",
8387
10950
  "} from '@uni-design-system/uni-core';",
8388
10951
  "",
8389
10952
  ...modes.map(({ colorsConst, colors }) => `const ${colorsConst}: Colors = {
8390
10953
  ${recordLiteral(colors, " ")}
8391
10954
  };
10955
+ `),
10956
+ "/** Brand-tinted elevation shadows \u2014 theme-scoped, edit freely. */",
10957
+ ...modes.map(({ shadowsConst, shadows }) => `const ${shadowsConst}: Shadows = {
10958
+ ${recordLiteral(shadows, " ")}
10959
+ };
8392
10960
  `),
8393
10961
  bordersLiteral(),
8394
10962
  "",
8395
10963
  "/**",
8396
10964
  " * Sparse component overrides, deep-merged over Uni component defaults: only",
8397
10965
  " * what you write here changes. Point components at your own primitives, e.g.:",
8398
- " * button: { variants: { secondary: { border: `2px dashed ${colors.tertiary}` } } },",
10966
+ " * button: { variants: { secondary: { border: `2px dashed ${colors['tertiary']}` } } },",
8399
10967
  " * input: { options: { borderRadius: 'max' } },",
8400
10968
  " */",
8401
10969
  "const components = (colors: Colors): ComponentThemes => ({});",
@@ -8407,7 +10975,7 @@ ${recordLiteral(radii, " ")}
8407
10975
  };`,
8408
10976
  ""
8409
10977
  ] : [],
8410
- ...modes.map(({ exportName, displayName, colorsConst }) => `${themeExport(exportName, displayName, colorsConst, !!radii)}
10978
+ ...modes.map(({ exportName, displayName, colorsConst, shadowsConst }) => `${themeExport(exportName, displayName, colorsConst, shadowsConst, !!radii)}
8411
10979
  `),
8412
10980
  "/** First key wins as the default theme when registered via UNI_THEMES. */",
8413
10981
  `export const ${id}Themes = { ${modes.map((m) => m.exportName).join(", ")} };`,
@@ -8506,12 +11074,14 @@ var darkColors = generatePalette({
8506
11074
  var DarkTheme = createTheme({
8507
11075
  id: "DarkTheme",
8508
11076
  name: "Dark Theme",
8509
- colors: darkColors
11077
+ colors: darkColors,
11078
+ shadows: generateShadows(darkColors, "dark")
8510
11079
  });
8511
11080
  var LightTheme = createTheme({
8512
11081
  id: "LightTheme",
8513
11082
  name: "Light Theme",
8514
- colors: lightColors
11083
+ colors: lightColors,
11084
+ shadows: generateShadows(lightColors, "light")
8515
11085
  });
8516
11086
  var UniThemes = {
8517
11087
  LightTheme,
@@ -8563,8 +11133,9 @@ ${failing.map((f) => `- ${f.mode} \`${f.foreground}\` on \`${f.background}\`: ${
8563
11133
  "- **Colors**: edit any token in the `lightColors`/`darkColors` maps; borders and every",
8564
11134
  " component deriving from that token update automatically.",
8565
11135
  "- **Borders**: add your own primitive under any name in `borders` (e.g.",
8566
- " `'brush-stroke': `3px dashed ${colors.tertiary}``) and reference it from `components`",
8567
- " overrides \u2014 one edit restyles every component sharing the token.",
11136
+ " `'brush-stroke': `3px dashed ${colors['tertiary']}``) and reference it from `components`",
11137
+ " overrides \u2014 one edit restyles every component sharing the token. Use bracket access",
11138
+ " on `colors` \u2014 dot access fails under `noPropertyAccessFromIndexSignature`.",
8568
11139
  "- **Components**: the `components` function returns sparse overrides deep-merged over",
8569
11140
  " Uni defaults \u2014 set only what you change, e.g.",
8570
11141
  " `button: { variants: { secondary: { border: borders(colors)['brush-stroke'] } } }`.",
@@ -8777,4 +11348,4 @@ export {
8777
11348
  meta,
8778
11349
  createUniServer
8779
11350
  };
8780
- //# sourceMappingURL=chunk-UQRS5BYW.js.map
11351
+ //# sourceMappingURL=chunk-E34OHB3Z.js.map