@appscode/design-system 1.1.0-beta.9 → 1.1.0-beta.91

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.
Files changed (117) hide show
  1. package/base/utilities/_all.scss +2 -2
  2. package/base/utilities/_colors.scss +105 -136
  3. package/base/utilities/_global.scss +25 -20
  4. package/base/utilities/_layouts.scss +0 -138
  5. package/base/utilities/_typography.scss +2 -2
  6. package/components/_ac-alert-box.scss +2 -2
  7. package/components/_ac-code-highlight.scss +9 -12
  8. package/components/_ac-drag.scss +4 -4
  9. package/components/_ac-modal.scss +2 -2
  10. package/components/_ac-select-box.scss +5 -5
  11. package/components/_ac-table.scss +7 -7
  12. package/components/_ac-tabs.scss +29 -26
  13. package/components/_all.scss +8 -5
  14. package/components/_buttons.scss +10 -10
  15. package/components/_getkeeper.scss +110 -0
  16. package/components/_graph.scss +10 -10
  17. package/components/_image-upload.scss +4 -4
  18. package/components/_input-card.scss +232 -0
  19. package/components/_input.scss +573 -0
  20. package/components/_left-sidebar-menu.scss +9 -13
  21. package/components/_monaco-editor.scss +2 -2
  22. package/components/_multi-select.scss +589 -0
  23. package/components/_navbar.scss +7 -7
  24. package/components/_nested-list.scss +2 -2
  25. package/components/_overview-info.scss +3 -3
  26. package/components/_pricing-table.scss +5 -5
  27. package/components/_progress-bar.scss +61 -74
  28. package/components/_subscription-card.scss +8 -10
  29. package/components/_table-of-content.scss +4 -4
  30. package/components/{_ac-terminal.scss → _terminal.scss} +63 -74
  31. package/components/_widget-menu.scss +7 -12
  32. package/components/_wizard.scss +13 -286
  33. package/components/ac-toaster/_ac-toasted.scss +4 -4
  34. package/components/bbum/_information-center.scss +8 -10
  35. package/components/bbum/_mobile-desktop.scss +9 -14
  36. package/components/bbum/_single-post-preview.scss +9 -9
  37. package/components/ui-builder/_ui-builder.scss +202 -18
  38. package/components/ui-builder/_vue-open-api.scss +63 -18
  39. package/icons/close-icon.svg +3 -0
  40. package/layouts/_code-preview.scss +6 -7
  41. package/package.json +1 -1
  42. package/vue-components/types/notification.ts +3 -3
  43. package/vue-components/types/table.ts +1 -0
  44. package/vue-components/v2/banner/Banner.vue +1 -1
  45. package/vue-components/v2/button/Buttons.vue +1 -1
  46. package/vue-components/v2/modal/Modal.vue +1 -1
  47. package/vue-components/v3/alert/Alert.vue +2 -2
  48. package/vue-components/v3/banner/Banner.vue +2 -2
  49. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +66 -4
  50. package/vue-components/v3/button/Button.vue +49 -786
  51. package/vue-components/v3/button/Buttons.vue +18 -2
  52. package/vue-components/v3/cards/Cluster.vue +37 -26
  53. package/vue-components/v3/cards/FeatureCard.vue +7 -11
  54. package/vue-components/v3/cards/FeatureCards.vue +1 -1
  55. package/vue-components/v3/cards/InfoCard.vue +1 -2
  56. package/vue-components/v3/cards/Monitoring.vue +6 -10
  57. package/vue-components/v3/cards/OverviewCard.vue +4 -0
  58. package/vue-components/v3/cards/OverviewCards.vue +10 -2
  59. package/vue-components/v3/cards/Vendor.vue +10 -6
  60. package/vue-components/v3/content/ContentHeader.vue +1 -1
  61. package/vue-components/v3/dropdown/DropdownAction.vue +95 -0
  62. package/vue-components/v3/editor/Editor.vue +20 -5
  63. package/vue-components/v3/editor/FilteredFileEditor.vue +9 -2
  64. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +4 -1
  65. package/vue-components/v3/footer/FooterArea.vue +8 -2
  66. package/vue-components/v3/footer/Info.vue +10 -8
  67. package/vue-components/v3/footer/Status.vue +24 -23
  68. package/vue-components/v3/footer/Usage.vue +20 -30
  69. package/vue-components/v3/form/Form.vue +0 -3
  70. package/vue-components/v3/form/FormFooter.vue +24 -0
  71. package/vue-components/v3/form-fields/AcSingleInput.vue +1 -508
  72. package/vue-components/v3/form-fields/FileUpload.vue +89 -0
  73. package/vue-components/v3/form-fields/Input.vue +2 -3
  74. package/vue-components/v3/header/Header.vue +1 -1
  75. package/vue-components/v3/loaders/InfoCardLoader.vue +18 -60
  76. package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
  77. package/vue-components/v3/modal/Modal.vue +12 -14
  78. package/vue-components/v3/modals/JsonShowModal.vue +1 -0
  79. package/vue-components/v3/navbar/Appdrawer.vue +3 -1
  80. package/vue-components/v3/navbar/Navbar.vue +0 -159
  81. package/vue-components/v3/navbar/NavbarItem.vue +37 -15
  82. package/vue-components/v3/navbar/NavbarItemContent.vue +6 -8
  83. package/vue-components/v3/navbar/Notification.vue +38 -10
  84. package/vue-components/v3/navbar/User.vue +43 -31
  85. package/vue-components/v3/notification/AlertBox.vue +233 -3
  86. package/vue-components/v3/notification/Notification.vue +2 -2
  87. package/vue-components/v3/option-dots/Options.vue +17 -8
  88. package/vue-components/v3/pagination/Pagination.vue +27 -17
  89. package/vue-components/v3/preloader/Preloader.vue +1 -1
  90. package/vue-components/v3/searchbars/SearchBar.vue +1 -10
  91. package/vue-components/v3/sidebar/ClusterSwitcher.vue +1 -765
  92. package/vue-components/v3/sidebar/Sidebar.vue +2 -30
  93. package/vue-components/v3/sidebar/SidebarBody.vue +9 -2
  94. package/vue-components/v3/sidebar/SidebarFooter.vue +6 -3
  95. package/vue-components/v3/sidebar/SidebarHeader.vue +6 -2
  96. package/vue-components/v3/sidebar/Steps.vue +2 -2
  97. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +78 -2
  98. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +15 -3
  99. package/vue-components/v3/tab/Tabs.vue +27 -0
  100. package/vue-components/v3/table/Table.vue +14 -16
  101. package/vue-components/v3/table/TableCell.vue +1 -9
  102. package/vue-components/v3/table/TableRow.vue +2 -2
  103. package/vue-components/v3/table/table-cell/ArrayCell.vue +35 -32
  104. package/vue-components/v3/table/table-cell/CellValue.vue +14 -40
  105. package/vue-components/v3/table/table-cell/ObjectCell.vue +40 -38
  106. package/vue-components/v3/tag/Tag.vue +1 -0
  107. package/base/utilities/dark-theme.scss +0 -26
  108. package/components/_ac-card.scss +0 -0
  109. package/components/_ac-input.scss +0 -901
  110. package/components/_ac-multi-select.scss +0 -780
  111. package/vue-components/text.vue +0 -1
  112. package/vue-components/types/longRunningTasks.ts +0 -20
  113. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -94
  114. package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -402
  115. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -151
  116. /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
  117. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -1,42 +1,32 @@
1
1
  <script lang="ts" setup>
2
- import { defineAsyncComponent, ref } from "vue";
2
+ import { defineAsyncComponent } from "vue";
3
3
  const FooterItems = defineAsyncComponent(() => import("./FooterItems.vue"));
4
4
  const FooterItem = defineAsyncComponent(() => import("./FooterItem.vue"));
5
5
 
6
- const HeroiconsCpuChip = defineAsyncComponent(
7
- () => import("~icons/heroicons/cpu-chip")
8
- );
6
+ interface Props {
7
+ usages?: Array<{
8
+ icon?: string;
9
+ useData?: {
10
+ limit?: string;
11
+ request?: string;
12
+ };
13
+ }>;
14
+ }
9
15
 
10
- const usages = ref([
11
- {
12
- icon: "HeroiconsCpuChip",
13
- useData: {
14
- limit: "500m",
15
- usage: "500m",
16
- },
17
- },
18
- {
19
- icon: "HeroiconsCpuChip",
20
- useData: {
21
- limit: "1G",
22
- usage: "1G",
23
- },
24
- },
25
- {
26
- icon: "HeroiconsCpuChip",
27
- useData: {
28
- limit: "10Gi",
29
- usage: "10Gi",
30
- },
31
- },
32
- ]);
16
+ withDefaults(defineProps<Props>(), {
17
+ usages: () => [],
18
+ });
33
19
  </script>
34
20
 
35
21
  <template>
36
22
  <footer-items>
37
- <footer-item v-for="(type, idx) in usages" :key="idx">
38
- <span class="icon"><HeroiconsCpuChip :size="20" /></span
39
- ><span>{{ type.useData.limit }}/{{ type.useData.usage }}</span>
23
+ <footer-item v-for="(info, idx) in usages" :key="idx">
24
+ <span class="icon"><img :src="info.icon" /></span
25
+ ><span
26
+ >{{ info.useData?.limit || "N" }}/{{
27
+ info.useData?.request || "A"
28
+ }}</span
29
+ >
40
30
  </footer-item>
41
31
  </footer-items>
42
32
  </template>
@@ -22,9 +22,6 @@ withDefaults(defineProps<Props>(), {
22
22
  <div class="form-wrapper">
23
23
  <div
24
24
  :class="{
25
- 'pt-20': !reducePaddingTop,
26
- 'pt-10': reducePaddingTop,
27
- 'pl-20': !isContainer,
28
25
  'form-content': !isContainer,
29
26
  container: isContainer,
30
27
  }"
@@ -0,0 +1,24 @@
1
+ <script setup lang="ts"></script>
2
+
3
+ <template>
4
+ <div class="form-footer">
5
+ <div class="footer-left">
6
+ <slot name="footer-left" />
7
+ </div>
8
+ <div class="footer-right">
9
+ <slot name="footer-right" />
10
+ </div>
11
+ </div>
12
+ </template>
13
+
14
+ <style lang="scss" scoped>
15
+ .form-footer {
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: space-between;
19
+ margin-left: -20px;
20
+ margin-right: -20px;
21
+ border-top: 1px solid $primary-90;
22
+ padding: 16px 20px;
23
+ }
24
+ </style>
@@ -18,511 +18,4 @@ withDefaults(defineProps<Props>(), {
18
18
  </div>
19
19
  </template>
20
20
 
21
- <style lang="scss">
22
- .ac-single-input {
23
- position: relative;
24
- z-index: 1;
25
- margin-bottom: 15px;
26
-
27
- &.is-disable {
28
- opacity: 0.5;
29
-
30
- input,
31
- .button.is-information,
32
- .eye i.fa {
33
- cursor: not-allowed;
34
- }
35
- }
36
-
37
- &.is-information {
38
- input {
39
- padding-right: 45px;
40
-
41
- &[type="password"] {
42
- padding-right: 80px;
43
- }
44
- }
45
-
46
- span.eye i.fa {
47
- right: 35px;
48
- }
49
- }
50
-
51
- &.is-success {
52
- input,
53
- .ac-card,
54
- textarea {
55
- border: 1px solid $primary !important;
56
- }
57
-
58
- p {
59
- color: $primary;
60
- }
61
- }
62
-
63
- &.is-danger {
64
- input,
65
- .ac-card,
66
- textarea {
67
- border: 1px solid $danger;
68
- }
69
-
70
- p {
71
- color: $danger;
72
- }
73
- }
74
-
75
- &.is-loading {
76
- input,
77
- .ac-card,
78
- textarea {
79
- border: 1px solid $info;
80
- opacity: 0.5;
81
- }
82
-
83
- p {
84
- color: $info;
85
- opacity: 0.5;
86
- }
87
- }
88
-
89
- &.borderless-input {
90
- input {
91
- border: none;
92
- font-size: 13px;
93
- padding: 4px 7px;
94
- height: 30px;
95
- background-color: $white-100;
96
- padding-right: 30px;
97
-
98
- &[type="password"] {
99
- padding-right: 30px;
100
- }
101
-
102
- &:focus {
103
- outline: none;
104
- border: none;
105
- }
106
- }
107
-
108
- span.eye {
109
- i.fa {
110
- padding: 9px;
111
- font-size: 12px;
112
- }
113
- }
114
- }
115
-
116
- &.is-normal {
117
- input {
118
- height: 45px;
119
- font-size: 15px;
120
- font-weight: 400;
121
- }
122
-
123
- .button {
124
- &.is-information {
125
- height: 45px;
126
- width: 45px;
127
- margin-top: 0;
128
- }
129
- }
130
-
131
- span.eye i.fa {
132
- padding: 14px 10px;
133
- }
134
-
135
- .ac-search-button {
136
- margin-top: -22.5px;
137
- }
138
-
139
- label {
140
- top: 13px;
141
- font-size: 13px;
142
-
143
- &.show-label {
144
- font-size: 12px;
145
- color: $black-40;
146
- top: -9px;
147
- font-weight: 500;
148
- background-color: $white-100;
149
- }
150
- }
151
-
152
- .control {
153
- &.has-icons-right {
154
- .icon {
155
- height: 45px;
156
- width: 30px;
157
- font-size: 13px;
158
- }
159
- }
160
- }
161
- }
162
-
163
- &.is-small {
164
- input {
165
- height: 36px;
166
- font-size: 13px;
167
- font-weight: 400;
168
- }
169
-
170
- .button {
171
- &.is-information {
172
- height: 36px;
173
- width: 36px;
174
- margin-top: 0;
175
- padding: 10px;
176
- }
177
- }
178
-
179
- span.eye i.fa {
180
- padding: 10px;
181
- }
182
-
183
- .ac-search-button {
184
- margin-top: -18px;
185
- }
186
-
187
- label {
188
- top: 8px;
189
- font-size: 13px;
190
-
191
- &.switch-label {
192
- top: 0;
193
- }
194
-
195
- &.show-label {
196
- font-size: 12px;
197
- top: -9px;
198
- font-weight: 500;
199
- color: $black-40;
200
-
201
- &.is-required {
202
- &:after {
203
- width: calc(100% + 10px);
204
- }
205
- }
206
- }
207
- }
208
-
209
- .control {
210
- &.has-icons-right {
211
- .icon {
212
- height: 36px;
213
- width: 25px;
214
- font-size: 13px;
215
- }
216
- }
217
- }
218
- }
219
-
220
- &.is-extra-small {
221
- input {
222
- height: 32px;
223
- font-size: 13px;
224
- font-weight: 400;
225
- }
226
-
227
- .button {
228
- &.is-information {
229
- height: 32px;
230
- width: 32px;
231
- margin-top: 0;
232
- }
233
- }
234
-
235
- span.eye i.fa {
236
- padding: 10px;
237
- }
238
-
239
- .ac-search-button {
240
- margin-top: 0px;
241
- top: 0;
242
- display: flex;
243
- align-items: center;
244
- width: 40px;
245
- justify-content: center;
246
-
247
- svg {
248
- width: 18px;
249
- }
250
- }
251
-
252
- label {
253
- top: 8px;
254
- font-size: 13px;
255
-
256
- &.switch-label {
257
- top: 0;
258
- }
259
-
260
- &.show-label {
261
- font-size: 12px;
262
- top: -9px;
263
- }
264
- }
265
-
266
- .control {
267
- &.has-icons-right {
268
- .icon {
269
- height: 32px;
270
- width: 25px;
271
- font-size: 13px;
272
- }
273
- }
274
- }
275
- }
276
-
277
- &:last-child {
278
- margin-bottom: 0;
279
- }
280
-
281
- &.is-dark {
282
- input {
283
- background-color: $primary-10;
284
- border-color: transparent;
285
- color: $white-100;
286
-
287
- &::placeholder {
288
- color: $primary-10;
289
- }
290
-
291
- button {
292
- i.fa {
293
- color: $white-100;
294
- }
295
- }
296
- }
297
- }
298
-
299
- label {
300
- font-size: 13px;
301
- left: 15px;
302
- top: 11px;
303
- cursor: text;
304
- color: $primary-10;
305
- position: absolute;
306
- z-index: 2;
307
- transition: 0.3s ease-in-out;
308
-
309
- .is-required {
310
- color: $danger;
311
-
312
- img {
313
- position: absolute;
314
- top: 7px;
315
- padding-left: 3px;
316
- }
317
- }
318
-
319
- &.show-label {
320
- top: -9px;
321
- left: 10px;
322
- padding: 0 5px;
323
- font-size: 13px;
324
- color: $black-40;
325
-
326
- &:after {
327
- position: absolute;
328
- content: "";
329
- left: 0;
330
- top: 50%;
331
- background-color: $white-100;
332
- width: 100%;
333
- height: 2px;
334
- margin-top: -1px;
335
- z-index: -1;
336
- }
337
-
338
- // &.is-required {
339
- // &:after {
340
- // width: calc(100% + 10px);
341
- // }
342
- // }
343
- }
344
- }
345
-
346
- .button {
347
- &.is-information {
348
- background-color: transparent;
349
- border: none;
350
- position: absolute;
351
- right: 0;
352
- height: 32px;
353
- width: 32px;
354
- margin-top: 0;
355
-
356
- &:focus {
357
- outline: none;
358
- box-shadow: none;
359
- background-color: #e4e8ef;
360
- transform: scale(0.8);
361
- }
362
- }
363
- }
364
-
365
- .ac-search-button {
366
- background-color: transparent;
367
- border: none;
368
- position: absolute;
369
- left: 0;
370
- top: 50%;
371
- width: 32px;
372
- height: 100%;
373
- margin-top: -15px;
374
- color: $primary-20;
375
- cursor: pointer;
376
- }
377
-
378
- .ac-dropdown-content {
379
- position: absolute;
380
- background-color: $primary-90;
381
- width: 100%;
382
- height: auto;
383
- box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
384
- border-radius: 4px;
385
- overflow: hidden;
386
-
387
- ul {
388
- li {
389
- a {
390
- color: $primary-10;
391
- display: block;
392
- font-size: 13px;
393
- padding: 8px 20px;
394
- transition: 0.3s;
395
-
396
- &:hover {
397
- background-color: hsla(
398
- var(--hsl-hue),
399
- var(--hsl-saturation),
400
- var(--hsl-lightness),
401
- 0.2
402
- );
403
- color: $primary;
404
- }
405
- }
406
- }
407
- }
408
- }
409
-
410
- .ac-textarea {
411
- .ac-label {
412
- &.is-required {
413
- &:after {
414
- width: calc(100% + 10px);
415
- }
416
- }
417
- }
418
-
419
- textarea {
420
- border: 1px solid $primary-80;
421
- background-color: transparent;
422
- padding: 10px 15px;
423
- min-height: 50px;
424
-
425
- &.bg-white {
426
- background-color: transparent;
427
- }
428
-
429
- &:focus {
430
- outline: none;
431
- border: 1px solid $primary;
432
- }
433
- }
434
- }
435
-
436
- input,
437
- .ac-card,
438
- textarea {
439
- background-color: $white-100;
440
- color: $primary-10;
441
- height: 45px;
442
- font-weight: 400;
443
- width: 100%;
444
- border-radius: 4px;
445
- border: 1px solid $primary-80;
446
- padding: 8px 15px;
447
- font-size: 13px;
448
-
449
- &:hover {
450
- border-color: $black-70;
451
- }
452
-
453
- &.bg-white {
454
- background-color: $white-100;
455
- }
456
-
457
- &.StripeElement--focus {
458
- border: 1px solid $primary;
459
- }
460
-
461
- &:focus {
462
- border: 1px solid $primary;
463
- outline: none;
464
- background-color: $white-100;
465
- }
466
-
467
- &[type="password"] {
468
- padding-right: 40px;
469
- }
470
-
471
- &[type="search"] {
472
- padding-left: 30px;
473
- }
474
-
475
- transition: background-color 0.3s ease-in-out;
476
- }
477
-
478
- .ac-card {
479
- height: 36px;
480
- padding: 10px 20px;
481
- }
482
-
483
- textarea {
484
- height: 55px;
485
- }
486
-
487
- b.isRequired {
488
- color: $danger;
489
- font-size: 13px;
490
- position: absolute;
491
- right: 5px;
492
- z-index: 9;
493
- }
494
-
495
- span.eye {
496
- i.fa {
497
- color: $primary-80;
498
- position: absolute;
499
- cursor: pointer;
500
- padding: 15px;
501
- right: 0;
502
- top: 0;
503
- }
504
- }
505
-
506
- .is-danger {
507
- font-size: 12px;
508
- line-height: 22px;
509
- color: $danger;
510
- text-align: left;
511
-
512
- i.fa {
513
- padding-right: 10px;
514
- }
515
- }
516
- }
517
-
518
- .ac-input.ac-search {
519
- width: 42px;
520
- transition: 0.3s ease-in-out;
521
- padding: 0;
522
- }
523
-
524
- .ac-search:focus {
525
- width: 200px !important;
526
- padding-right: 10px;
527
- }
528
- </style>
21
+ <style lang="scss"></style>
@@ -0,0 +1,89 @@
1
+ <template>
2
+ <div class="file-upload" data-testid="image-upload-drag-section">
3
+ <label
4
+ for="image-upload-with-cropping"
5
+ class="has-text-centered"
6
+ title="Click to upload new avatar"
7
+ >
8
+ <div class="ms-upload-logo" title="Click to upload new avatar">
9
+ <div class="upload-icon">
10
+ <svg
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ fill="none"
13
+ viewBox="0 0 24 24"
14
+ stroke-width="1"
15
+ stroke="currentColor"
16
+ class="w-6 h-6"
17
+ >
18
+ <path
19
+ stroke-linecap="round"
20
+ stroke-linejoin="round"
21
+ d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5"
22
+ />
23
+ </svg>
24
+ </div>
25
+ </div>
26
+ <div class="ms-upload-description">
27
+ <p class="drag-and-drop-msg">
28
+ Drag &amp; Drop here <strong>or</strong> Choose image From Storage
29
+ </p>
30
+ <p class="img-size-msg">
31
+ Size should not a exceed 1MB &amp; Dimension prefarable 4096 X 3072
32
+ </p>
33
+ </div>
34
+ </label>
35
+ <input
36
+ id="image-upload-with-cropping"
37
+ type="file"
38
+ name="image-upload"
39
+ class="is-hidden"
40
+ data-testid="image-upload-input"
41
+ />
42
+ </div>
43
+ </template>
44
+
45
+ <style lang="scss" scoped>
46
+ // file upload large
47
+ .file-upload {
48
+ border: 1px dashed $primary-80;
49
+ border-radius: 4px;
50
+ &:hover {
51
+ background-color: $primary-97;
52
+
53
+ label {
54
+ .upload-icon {
55
+ border: 1px solid $primary-80;
56
+ svg {
57
+ color: $primary-10;
58
+ }
59
+ }
60
+ }
61
+ }
62
+ label {
63
+ cursor: pointer;
64
+ padding: 32px;
65
+ display: block;
66
+ .upload-icon {
67
+ border: 1px solid $primary-90;
68
+ display: inline-flex;
69
+ align-items: center;
70
+ justify-content: center;
71
+ border-radius: 50%;
72
+ width: 100px;
73
+ height: 100px;
74
+ margin-bottom: 24px;
75
+ padding: 24px;
76
+
77
+ svg {
78
+ color: $primary-30;
79
+ }
80
+ }
81
+ p {
82
+ color: $primary-10;
83
+ strong {
84
+ font-weight: 600;
85
+ }
86
+ }
87
+ }
88
+ }
89
+ </style>
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  interface Props {
3
- modelValue?: string | number;
3
+ modelValue?: string;
4
4
  }
5
5
 
6
6
  withDefaults(defineProps<Props>(), {
@@ -18,10 +18,9 @@ const handleInput = (e: Event) => {
18
18
  <template>
19
19
  <input
20
20
  class="ac-input"
21
+ :class="{ 'width-200': modelValue }"
21
22
  data-testid="ac-input"
22
23
  :value="modelValue"
23
24
  @input="handleInput"
24
25
  />
25
26
  </template>
26
-
27
- <style lang="scss" scoped></style>
@@ -26,7 +26,7 @@ withDefaults(defineProps<Props>(), {
26
26
  <header-items>
27
27
  <header-item>
28
28
  <transition name="fade" mode="out-in" appear>
29
- <h5 :key="title">{{ title }}</h5>
29
+ <h4 :key="title">{{ title }}</h4>
30
30
  </transition>
31
31
  </header-item>
32
32
  <slot name="header-left-controls" />