@xleddyl/443-components-vue 0.8.0 → 0.8.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.
Files changed (150) hide show
  1. package/README.md +38 -2
  2. package/dist/chart/BarChart.vue +33 -22
  3. package/dist/chart/BarChart.vue.d.ts +4 -0
  4. package/dist/chart/chart.css +2 -2
  5. package/dist/chart/useChartColors.mjs +8 -8
  6. package/dist/components/core/Button.vue.d.ts +1 -1
  7. package/dist/components/core/Input.vue.d.ts +1 -1
  8. package/dist/components/core/Textarea.vue.d.ts +1 -1
  9. package/dist/components/core/types.d.ts +1 -1
  10. package/dist/components/data/Badge.vue.d.ts +1 -1
  11. package/dist/components/data/FilterPills.vue +43 -4
  12. package/dist/components/data/FilterPills.vue.d.ts +4 -1
  13. package/dist/components/data/Pagination.vue +55 -0
  14. package/dist/components/data/Pagination.vue.d.ts +10 -0
  15. package/dist/components/data/Tag.vue.d.ts +1 -1
  16. package/dist/components/data/Tree.vue.d.ts +1 -1
  17. package/dist/components/data/types.d.ts +1 -0
  18. package/dist/components/feedback/Meter.vue.d.ts +1 -1
  19. package/dist/components/feedback/Progress.vue.d.ts +1 -1
  20. package/dist/components/feedback/ProgressRing.vue.d.ts +1 -1
  21. package/dist/components/forms/Calendar.vue +31 -7
  22. package/dist/components/forms/Calendar.vue.d.ts +13 -2
  23. package/dist/components/forms/ColorInput.vue.d.ts +1 -1
  24. package/dist/components/forms/DateInput.vue.d.ts +2 -2
  25. package/dist/components/forms/DatePicker.vue.d.ts +1 -1
  26. package/dist/components/forms/FileInput.vue.d.ts +1 -1
  27. package/dist/components/forms/NumberInput.vue.d.ts +1 -1
  28. package/dist/components/forms/PasswordInput.vue.d.ts +1 -1
  29. package/dist/components/forms/PinInput.vue.d.ts +1 -1
  30. package/dist/components/forms/Select.vue.d.ts +1 -1
  31. package/dist/components/forms/Slider.vue.d.ts +1 -1
  32. package/dist/components/forms/Switch.vue.d.ts +1 -1
  33. package/dist/components/forms/TimeInput.vue.d.ts +1 -1
  34. package/dist/components/layout/AppShell.vue +4 -2
  35. package/dist/components/layout/AppShell.vue.d.ts +2 -0
  36. package/dist/components/layout/CopyButton.vue.d.ts +1 -1
  37. package/dist/components/layout/PageHeader.vue +15 -3
  38. package/dist/components/layout/PageHeader.vue.d.ts +5 -0
  39. package/dist/components/layout/Separator.vue +17 -4
  40. package/dist/components/layout/Separator.vue.d.ts +7 -1
  41. package/dist/components/layout/Tabs.vue +10 -0
  42. package/dist/components/layout/types.d.ts +3 -0
  43. package/dist/components/overlays/ConfirmDialog.vue.d.ts +6 -2
  44. package/dist/components/overlays/ConfirmHost.vue.d.ts +6 -2
  45. package/dist/components/overlays/ContextMenu.vue.d.ts +2 -0
  46. package/dist/components/overlays/DropdownMenu.vue +5 -1
  47. package/dist/components/overlays/DropdownMenu.vue.d.ts +6 -0
  48. package/dist/components/overlays/Modal.vue +9 -2
  49. package/dist/components/overlays/Modal.vue.d.ts +4 -0
  50. package/dist/components/templates/DashboardLayout.vue +2 -0
  51. package/dist/components/templates/DashboardLayout.vue.d.ts +2 -0
  52. package/dist/components/templates/SettingsModal.vue.d.ts +6 -2
  53. package/dist/components/templates/types.d.ts +1 -0
  54. package/dist/composables/useForm.d.ts +16 -1
  55. package/dist/composables/useForm.mjs +31 -6
  56. package/dist/editor/RichTextEditor.vue +13 -1
  57. package/dist/editor/RichTextEditor.vue.d.ts +1 -1
  58. package/dist/editor/rich-text-editor.css +10 -4
  59. package/dist/editor/types.d.ts +1 -1
  60. package/dist/grid/DataGrid.vue +62 -8
  61. package/dist/grid/DataGrid.vue.d.ts +10 -2
  62. package/dist/grid/cells/DateCell.vue +18 -3
  63. package/dist/grid/data-grid.css +1 -1
  64. package/dist/grid/index.d.ts +1 -1
  65. package/dist/grid/index.mjs +1 -1
  66. package/dist/grid/modules.d.ts +1 -0
  67. package/dist/grid/modules.mjs +9 -0
  68. package/dist/grid/theme.mjs +7 -6
  69. package/dist/grid/types.d.ts +1 -0
  70. package/dist/icons/builtin.d.ts +3 -0
  71. package/dist/icons/builtin.mjs +3 -0
  72. package/dist/index.d.ts +2 -2
  73. package/dist/index.mjs +2 -1
  74. package/dist/internal/core/intl.d.ts +2 -0
  75. package/dist/internal/core/intl.mjs +17 -0
  76. package/dist/internal/keys.d.ts +2 -1
  77. package/dist/internal/keys.mjs +1 -0
  78. package/dist/internal/overlays/MenuList.vue +4 -2
  79. package/dist/internal/overlays/MenuList.vue.d.ts +2 -0
  80. package/dist/internal/overlays/OverlayView.vue.d.ts +6 -2
  81. package/dist/locale/de.d.ts +2 -0
  82. package/dist/locale/de.mjs +362 -0
  83. package/dist/locale/en.mjs +10 -2
  84. package/dist/locale/index.d.ts +2 -1
  85. package/dist/locale/index.mjs +3 -2
  86. package/dist/locale/it.mjs +10 -2
  87. package/dist/locale/types.d.ts +8 -0
  88. package/dist/nuxt/runtime/layouts/dashboard.vue +1 -0
  89. package/dist/styles/base.css +2 -1
  90. package/dist/styles/core/button.css +42 -16
  91. package/dist/styles/core/form-field.css +1 -1
  92. package/dist/styles/core/input.css +2 -2
  93. package/dist/styles/core/kbd.css +1 -1
  94. package/dist/styles/data/avatar.css +1 -1
  95. package/dist/styles/data/badge.css +40 -24
  96. package/dist/styles/data/description-list.css +2 -2
  97. package/dist/styles/data/filter-pills.css +24 -3
  98. package/dist/styles/data/pagination.css +26 -3
  99. package/dist/styles/data/selection-bar.css +1 -1
  100. package/dist/styles/data/stat.css +4 -4
  101. package/dist/styles/data/table.css +4 -4
  102. package/dist/styles/data/tag.css +1 -1
  103. package/dist/styles/data/timeline.css +1 -1
  104. package/dist/styles/data/tree.css +2 -2
  105. package/dist/styles/feedback/empty-state.css +1 -1
  106. package/dist/styles/feedback/loading-host.css +1 -1
  107. package/dist/styles/feedback/loading-overlay.css +1 -1
  108. package/dist/styles/feedback/meter.css +1 -1
  109. package/dist/styles/feedback/progress.css +2 -2
  110. package/dist/styles/forced-colors.css +6 -1
  111. package/dist/styles/forms/calendar.css +30 -3
  112. package/dist/styles/forms/checkbox.css +1 -1
  113. package/dist/styles/forms/choice.css +1 -1
  114. package/dist/styles/forms/combobox.css +2 -2
  115. package/dist/styles/forms/file-input.css +1 -1
  116. package/dist/styles/forms/password-input.css +1 -1
  117. package/dist/styles/forms/pin-input.css +1 -1
  118. package/dist/styles/forms/radio.css +1 -1
  119. package/dist/styles/forms/segmented.css +2 -2
  120. package/dist/styles/forms/select.css +2 -2
  121. package/dist/styles/forms/slider.css +1 -1
  122. package/dist/styles/forms/switch.css +4 -4
  123. package/dist/styles/layout/accordion.css +2 -2
  124. package/dist/styles/layout/app-shell.css +18 -6
  125. package/dist/styles/layout/breadcrumbs.css +3 -3
  126. package/dist/styles/layout/card.css +1 -1
  127. package/dist/styles/layout/nav-link.css +1 -1
  128. package/dist/styles/layout/page-header.css +21 -1
  129. package/dist/styles/layout/separator.css +21 -1
  130. package/dist/styles/layout/sidebar.css +1 -1
  131. package/dist/styles/layout/tabs.css +30 -1
  132. package/dist/styles/layout/theme-switch.css +1 -1
  133. package/dist/styles/overlays/command.css +3 -3
  134. package/dist/styles/overlays/drawer.css +4 -3
  135. package/dist/styles/overlays/floating.css +2 -2
  136. package/dist/styles/overlays/menu.css +5 -1
  137. package/dist/styles/overlays/modal.css +13 -10
  138. package/dist/styles/overlays/toast.css +3 -3
  139. package/dist/styles/overlays/tooltip.css +26 -8
  140. package/dist/styles/shared.css +2 -2
  141. package/dist/styles/templates/account-menu.css +1 -1
  142. package/dist/styles/templates/auth-layout.css +4 -4
  143. package/dist/styles/templates/brand.css +2 -2
  144. package/dist/styles/templates/dashboard-page.css +1 -1
  145. package/dist/styles/templates/empty-page.css +3 -3
  146. package/dist/styles/templates/error-page.css +1 -1
  147. package/dist/styles/templates/save-bar.css +1 -1
  148. package/dist/styles/templates/settings-modal.css +6 -6
  149. package/dist/styles/utilities.css +3 -3
  150. package/package.json +1 -1
@@ -17,7 +17,7 @@
17
17
  .k-calendar-heading {
18
18
  flex: 1;
19
19
  font-size: 0.8125rem;
20
- font-weight: 600;
20
+ font-weight: var(--k-font-weight-strong, 600);
21
21
  text-align: center;
22
22
  color: var(--k-text);
23
23
  }
@@ -32,7 +32,7 @@
32
32
  height: 1.5rem;
33
33
  padding: 0;
34
34
  font-size: 0.75rem;
35
- font-weight: 500;
35
+ font-weight: var(--k-font-weight-medium, 500);
36
36
  text-align: center;
37
37
  color: var(--k-text-muted);
38
38
  }
@@ -89,7 +89,7 @@
89
89
  }
90
90
 
91
91
  .k-calendar-day.is-today .k-calendar-day-number {
92
- font-weight: 600;
92
+ font-weight: var(--k-font-weight-strong, 600);
93
93
  color: var(--k-accent-text);
94
94
  }
95
95
 
@@ -191,3 +191,30 @@
191
191
  padding-top: 0.5rem;
192
192
  border-top: 1px solid var(--k-line);
193
193
  }
194
+
195
+ .k-calendar.has-day-text {
196
+ --k-calendar-cell: 2.75rem;
197
+ }
198
+
199
+ .k-calendar.has-day-text .k-calendar-day-number {
200
+ display: flex;
201
+ flex-direction: column;
202
+ align-items: center;
203
+ justify-content: center;
204
+ gap: 0.0625rem;
205
+ line-height: 1.1;
206
+ }
207
+
208
+ .k-calendar-day-text {
209
+ max-width: 100%;
210
+ overflow: hidden;
211
+ font-size: 0.75rem;
212
+ line-height: 1;
213
+ text-overflow: ellipsis;
214
+ white-space: nowrap;
215
+ color: var(--k-text-muted);
216
+ }
217
+
218
+ .k-calendar-day[aria-selected='true'] .k-calendar-day-text {
219
+ color: inherit;
220
+ }
@@ -38,5 +38,5 @@
38
38
  }
39
39
 
40
40
  .k-checkbox.has-description .k-checkbox-label {
41
- font-weight: 500;
41
+ font-weight: var(--k-font-weight-medium, 500);
42
42
  }
@@ -9,7 +9,7 @@
9
9
  margin-bottom: 0.5rem;
10
10
  padding: 0;
11
11
  font-size: 0.8125rem;
12
- font-weight: 500;
12
+ font-weight: var(--k-font-weight-medium, 500);
13
13
  color: var(--k-text-toned);
14
14
  }
15
15
 
@@ -134,7 +134,7 @@
134
134
  background: var(--k-subtle);
135
135
  color: var(--k-text);
136
136
  font-size: 0.75rem;
137
- font-weight: 500;
137
+ font-weight: var(--k-font-weight-medium, 500);
138
138
  animation: k-pop var(--k-duration-lg) var(--k-ease-out);
139
139
  }
140
140
 
@@ -193,7 +193,7 @@
193
193
  }
194
194
 
195
195
  .k-combobox-option.is-selected .k-combobox-option-label {
196
- font-weight: 500;
196
+ font-weight: var(--k-font-weight-medium, 500);
197
197
  }
198
198
 
199
199
  .k-combobox-option-selected {
@@ -108,7 +108,7 @@
108
108
 
109
109
  .k-file-input-dropzone-title {
110
110
  font-size: 0.8125rem;
111
- font-weight: 500;
111
+ font-weight: var(--k-font-weight-medium, 500);
112
112
  color: var(--k-text);
113
113
  }
114
114
 
@@ -104,7 +104,7 @@
104
104
  .k-password-meter-label {
105
105
  min-width: 4.5rem;
106
106
  font-size: 0.75rem;
107
- font-weight: 500;
107
+ font-weight: var(--k-font-weight-medium, 500);
108
108
  text-align: right;
109
109
  color: var(--k-meter-text, var(--k-meter-tone));
110
110
  }
@@ -64,7 +64,7 @@
64
64
  background: var(--k-field);
65
65
  box-shadow: var(--k-shadow-xs);
66
66
  color: var(--k-text);
67
- font-weight: 500;
67
+ font-weight: var(--k-font-weight-medium, 500);
68
68
  font-variant-numeric: tabular-nums;
69
69
  transition:
70
70
  border-color var(--k-duration) var(--k-ease),
@@ -44,7 +44,7 @@
44
44
  }
45
45
 
46
46
  .k-radio.has-description .k-radio-label {
47
- font-weight: 500;
47
+ font-weight: var(--k-font-weight-medium, 500);
48
48
  }
49
49
 
50
50
  .k-radio-card {
@@ -47,7 +47,7 @@
47
47
  min-width: 0;
48
48
  padding: 0 0.75rem;
49
49
  border-radius: var(--k-segmented-radius);
50
- font-weight: 500;
50
+ font-weight: var(--k-font-weight-medium, 500);
51
51
  line-height: 1;
52
52
  color: var(--k-text-muted);
53
53
  white-space: nowrap;
@@ -73,7 +73,7 @@
73
73
  }
74
74
 
75
75
  .k-segmented-item:active:not(:disabled) {
76
- scale: 0.97;
76
+ scale: var(--k-press-scale, 0.97);
77
77
  }
78
78
 
79
79
  .k-segmented-item[aria-checked='true'] {
@@ -131,7 +131,7 @@
131
131
  }
132
132
 
133
133
  .k-select .k-select-field option:checked {
134
- font-weight: 500;
134
+ font-weight: var(--k-font-weight-medium, 500);
135
135
  color: var(--k-text);
136
136
  }
137
137
 
@@ -153,7 +153,7 @@
153
153
  .k-select .k-select-field optgroup {
154
154
  padding-top: 0.25rem;
155
155
  font-size: 0.75rem;
156
- font-weight: 600;
156
+ font-weight: var(--k-font-weight-strong, 600);
157
157
  color: var(--k-text-muted);
158
158
  background: transparent;
159
159
  }
@@ -146,7 +146,7 @@
146
146
  background: var(--k-text);
147
147
  color: var(--k-surface);
148
148
  font-size: 0.75rem;
149
- font-weight: 600;
149
+ font-weight: var(--k-font-weight-strong, 600);
150
150
  line-height: 1.3;
151
151
  font-variant-numeric: tabular-nums;
152
152
  white-space: nowrap;
@@ -1,7 +1,7 @@
1
1
  .k-switch {
2
- --k-switch-width: 2.125rem;
3
- --k-switch-height: 1.25rem;
4
- --k-switch-thumb: 1rem;
2
+ --k-switch-width: var(--k-switch-track-width, 2.125rem);
3
+ --k-switch-height: var(--k-switch-track-height, 1.25rem);
4
+ --k-switch-thumb: var(--k-switch-thumb-size, 1rem);
5
5
  --k-switch-press: 0.25rem;
6
6
  display: inline-flex;
7
7
  align-items: flex-start;
@@ -123,7 +123,7 @@
123
123
  }
124
124
 
125
125
  .k-switch:has(.k-switch-description) .k-switch-label {
126
- font-weight: 500;
126
+ font-weight: var(--k-font-weight-medium, 500);
127
127
  }
128
128
 
129
129
  .k-switch.is-disabled {
@@ -58,7 +58,7 @@
58
58
  padding: 0.625rem 1rem;
59
59
  text-align: left;
60
60
  font-size: 0.875rem;
61
- font-weight: 500;
61
+ font-weight: var(--k-font-weight-medium, 500);
62
62
  color: var(--k-text);
63
63
  outline-offset: -2px;
64
64
  transition: background-color var(--k-duration) var(--k-ease);
@@ -99,7 +99,7 @@
99
99
 
100
100
  .k-accordion-description {
101
101
  font-size: 0.75rem;
102
- font-weight: 400;
102
+ font-weight: var(--k-font-weight, 400);
103
103
  line-height: 1.4;
104
104
  color: var(--k-text-muted);
105
105
  }
@@ -1,8 +1,8 @@
1
1
  .k-shell {
2
- --k-shell-sidebar: 15rem;
3
- --k-shell-rail: 3.5rem;
4
- --k-shell-topbar: 3rem;
5
- --k-shell-gap: 0.5rem;
2
+ --k-shell-sidebar: var(--k-sidebar-width, 15rem);
3
+ --k-shell-rail: var(--k-sidebar-rail-width, 3.5rem);
4
+ --k-shell-topbar: var(--k-topbar-height, 3rem);
5
+ --k-shell-gap: var(--k-shell-inset, 0.5rem);
6
6
  position: relative;
7
7
  display: flex;
8
8
  height: var(--k-shell-height, 100dvh);
@@ -29,7 +29,7 @@ html.k-root body {
29
29
  background: var(--k-elevated);
30
30
  box-shadow: var(--k-shadow-overlay);
31
31
  font-size: 0.8125rem;
32
- font-weight: 500;
32
+ font-weight: var(--k-font-weight-medium, 500);
33
33
  color: var(--k-text);
34
34
  text-decoration: none;
35
35
  }
@@ -106,7 +106,7 @@ html.k-root body {
106
106
  width: 100%;
107
107
  max-width: var(--k-shell-content, 72rem);
108
108
  margin-inline: auto;
109
- padding: 2.25rem 2.5rem 2.5rem;
109
+ padding: var(--k-shell-padding, 2.25rem 2.5rem 2.5rem);
110
110
  animation: k-enter 320ms var(--k-ease-out) backwards;
111
111
  }
112
112
 
@@ -114,6 +114,18 @@ html.k-root body {
114
114
  max-width: none;
115
115
  }
116
116
 
117
+ .k-shell.is-fill .k-shell-main {
118
+ min-height: 0;
119
+ }
120
+
121
+ .k-shell-content.is-fill {
122
+ flex: 1;
123
+ min-height: 0;
124
+ max-width: none;
125
+ gap: 0;
126
+ padding: 0;
127
+ }
128
+
117
129
  .k-shell[data-variant='sidebar'] .k-shell-sidebar {
118
130
  border-right: 1px solid var(--k-line);
119
131
  }
@@ -7,7 +7,7 @@
7
7
  padding: 0;
8
8
  list-style: none;
9
9
  font-size: 0.8125rem;
10
- font-weight: 450;
10
+ font-weight: max(var(--k-font-weight, 400), 450);
11
11
  line-height: 1.4;
12
12
  color: var(--k-text-muted);
13
13
  }
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  .k-breadcrumbs-current {
48
- font-weight: 500;
48
+ font-weight: var(--k-font-weight-medium, 500);
49
49
  color: var(--k-text);
50
50
  }
51
51
 
@@ -60,7 +60,7 @@
60
60
  }
61
61
 
62
62
  .k-breadcrumbs-link:is(button):active {
63
- scale: 0.97;
63
+ scale: var(--k-press-scale, 0.97);
64
64
  }
65
65
 
66
66
  :is(.k-breadcrumbs-link, .k-breadcrumbs-current).is-drop-target {
@@ -85,7 +85,7 @@
85
85
 
86
86
  .k-card-title {
87
87
  font-size: 0.9375rem;
88
- font-weight: 600;
88
+ font-weight: var(--k-font-weight-strong, 600);
89
89
  line-height: 1.3;
90
90
  color: var(--k-text);
91
91
  }
@@ -41,7 +41,7 @@
41
41
  border-radius: var(--k-radius-full);
42
42
  background: var(--k-fill);
43
43
  font-size: 0.75rem;
44
- font-weight: 500;
44
+ font-weight: var(--k-font-weight-medium, 500);
45
45
  line-height: 1;
46
46
  text-align: center;
47
47
  font-variant-numeric: tabular-nums;
@@ -58,7 +58,7 @@
58
58
 
59
59
  .k-page-header-title {
60
60
  font-size: 1.375rem;
61
- font-weight: 650;
61
+ font-weight: var(--k-font-weight-display, 650);
62
62
  line-height: 1.2;
63
63
  letter-spacing: -0.022em;
64
64
  color: var(--k-text);
@@ -81,3 +81,23 @@
81
81
  .k-page-header-extra {
82
82
  flex-basis: 100%;
83
83
  }
84
+
85
+ .k-page-header-align-start {
86
+ align-items: flex-start;
87
+ }
88
+
89
+ .k-page-header-align-center {
90
+ align-items: center;
91
+ }
92
+
93
+ .k-page-header.is-truncated .k-page-header-title-line {
94
+ flex-wrap: nowrap;
95
+ min-width: 0;
96
+ }
97
+
98
+ .k-page-header.is-truncated .k-page-header-title {
99
+ min-width: 0;
100
+ overflow: hidden;
101
+ text-overflow: ellipsis;
102
+ white-space: nowrap;
103
+ }
@@ -32,7 +32,27 @@
32
32
 
33
33
  .k-separator-label {
34
34
  font-size: 0.75rem;
35
- font-weight: 500;
35
+ font-weight: var(--k-font-weight-medium, 500);
36
36
  color: var(--k-text-muted);
37
37
  white-space: nowrap;
38
38
  }
39
+
40
+ .k-separator-actions {
41
+ display: inline-flex;
42
+ align-items: center;
43
+ gap: 0.25rem;
44
+ }
45
+
46
+ .k-separator-text {
47
+ display: inline-flex;
48
+ flex-direction: column;
49
+ align-items: center;
50
+ gap: 0.125rem;
51
+ min-width: 0;
52
+ text-align: center;
53
+ }
54
+
55
+ .k-separator-description {
56
+ font-size: 0.75rem;
57
+ color: var(--k-text-muted);
58
+ }
@@ -65,7 +65,7 @@
65
65
  margin-bottom: 0.25rem;
66
66
  padding-inline: 0.5rem;
67
67
  font-size: 0.75rem;
68
- font-weight: 500;
68
+ font-weight: var(--k-font-weight-medium, 500);
69
69
  letter-spacing: 0.01em;
70
70
  color: var(--k-text-muted);
71
71
  }
@@ -56,7 +56,7 @@
56
56
  padding: 0 0.75rem;
57
57
  white-space: nowrap;
58
58
  font-size: 0.8125rem;
59
- font-weight: 500;
59
+ font-weight: var(--k-font-weight-medium, 500);
60
60
  color: var(--k-text-muted);
61
61
  transition:
62
62
  color var(--k-duration) var(--k-ease),
@@ -247,3 +247,32 @@
247
247
  --k-tab-badge-tone: var(--k-danger);
248
248
  --k-tab-badge-text: var(--k-danger-text);
249
249
  }
250
+
251
+ .k-tab-dot {
252
+ --k-tab-dot-tone: var(--k-danger);
253
+ width: 0.4375rem;
254
+ height: 0.4375rem;
255
+ flex: none;
256
+ border-radius: var(--k-radius-full);
257
+ background: var(--k-tab-dot-tone);
258
+ }
259
+
260
+ .k-tab-dot-neutral {
261
+ --k-tab-dot-tone: var(--k-text-dimmed);
262
+ }
263
+
264
+ .k-tab-dot-accent {
265
+ --k-tab-dot-tone: var(--k-accent);
266
+ }
267
+
268
+ .k-tab-dot-info {
269
+ --k-tab-dot-tone: var(--k-info);
270
+ }
271
+
272
+ .k-tab-dot-success {
273
+ --k-tab-dot-tone: var(--k-success);
274
+ }
275
+
276
+ .k-tab-dot-warning {
277
+ --k-tab-dot-tone: var(--k-warning);
278
+ }
@@ -41,7 +41,7 @@
41
41
  padding-inline: 0.25rem;
42
42
  border-radius: var(--k-radius-sm);
43
43
  font-size: 0.8125rem;
44
- font-weight: 500;
44
+ font-weight: var(--k-font-weight-medium, 500);
45
45
  color: var(--k-text-muted);
46
46
  cursor: pointer;
47
47
  transition: color var(--k-duration) var(--k-ease);
@@ -111,13 +111,13 @@
111
111
  min-width: 0;
112
112
  padding: 0.5rem 0.625rem 0.25rem;
113
113
  font-size: 0.75rem;
114
- font-weight: 500;
114
+ font-weight: var(--k-font-weight-medium, 500);
115
115
  color: var(--k-text-muted);
116
116
  }
117
117
 
118
118
  .k-command-group-description {
119
119
  min-width: 0;
120
- font-weight: 400;
120
+ font-weight: var(--k-font-weight, 400);
121
121
  color: var(--k-text-muted);
122
122
  }
123
123
 
@@ -164,7 +164,7 @@
164
164
  }
165
165
 
166
166
  .k-command-option-label {
167
- font-weight: 500;
167
+ font-weight: var(--k-font-weight-medium, 500);
168
168
  color: var(--k-text);
169
169
  }
170
170
 
@@ -30,8 +30,8 @@
30
30
  overflow: hidden;
31
31
  color: var(--k-text-toned);
32
32
  background: var(--k-elevated);
33
- border-radius: var(--k-radius-xl);
34
- box-shadow: var(--k-shadow-overlay);
33
+ border-radius: var(--k-drawer-radius, var(--k-radius-xl));
34
+ box-shadow: var(--k-drawer-shadow, var(--k-shadow-overlay));
35
35
  transform: var(--k-drawer-hidden);
36
36
  transition: transform var(--k-duration-lg) var(--k-ease);
37
37
  }
@@ -57,7 +57,8 @@
57
57
  height: auto;
58
58
  max-height: var(--k-drawer-size);
59
59
  padding-bottom: env(safe-area-inset-bottom);
60
- border-radius: var(--k-radius-xl) var(--k-radius-xl) 0 0;
60
+ border-radius: var(--k-drawer-radius, var(--k-radius-xl))
61
+ var(--k-drawer-radius, var(--k-radius-xl)) 0 0;
61
62
  }
62
63
 
63
64
  .k-drawer-sm > .k-drawer-panel {
@@ -18,8 +18,8 @@
18
18
  font-size: 0.8125rem;
19
19
  background: var(--k-elevated);
20
20
  border: 0;
21
- border-radius: var(--k-radius-lg);
22
- box-shadow: var(--k-shadow-overlay);
21
+ border-radius: var(--k-popover-radius, var(--k-radius-lg));
22
+ box-shadow: var(--k-popover-shadow, var(--k-shadow-overlay));
23
23
  opacity: 0;
24
24
  transform: translate(var(--k-floating-shift-x), var(--k-floating-shift-y)) scale(0.97);
25
25
  transform-origin: var(--k-floating-origin, top center);
@@ -100,7 +100,7 @@
100
100
  .k-menu-label {
101
101
  padding: 0.375rem 0.5rem 0.25rem;
102
102
  font-size: 0.75rem;
103
- font-weight: 500;
103
+ font-weight: var(--k-font-weight-medium, 500);
104
104
  color: var(--k-text-muted);
105
105
  }
106
106
 
@@ -113,3 +113,7 @@
113
113
  .k-context-menu-target {
114
114
  display: contents;
115
115
  }
116
+
117
+ .k-menu.is-match-width {
118
+ max-width: calc(100vw - 1rem);
119
+ }
@@ -40,7 +40,7 @@
40
40
  .k-modal[open]::backdrop,
41
41
  .k-drawer[open]::backdrop {
42
42
  background: var(--k-scrim);
43
- backdrop-filter: blur(3px);
43
+ backdrop-filter: blur(var(--k-scrim-blur, 3px));
44
44
  }
45
45
 
46
46
  @starting-style {
@@ -52,17 +52,18 @@
52
52
  }
53
53
 
54
54
  .k-modal-panel {
55
- --k-modal-width: 32rem;
55
+ --k-modal-width: var(--k-modal-width-md, 32rem);
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  width: 100%;
59
- max-width: var(--k-modal-width);
59
+ max-width: var(--k-modal-custom-width, var(--k-modal-width));
60
+ min-height: min(var(--k-modal-min-height, 0px), calc(100dvh - 2rem));
60
61
  max-height: calc(100dvh - 2rem);
61
62
  overflow: hidden;
62
63
  color: var(--k-text-toned);
63
64
  background: var(--k-elevated);
64
- border-radius: var(--k-radius-xl);
65
- box-shadow: var(--k-shadow-overlay);
65
+ border-radius: var(--k-modal-radius, var(--k-radius-xl));
66
+ box-shadow: var(--k-modal-shadow, var(--k-shadow-overlay));
66
67
  opacity: 0;
67
68
  transform: translateY(8px) scale(0.97);
68
69
  transition:
@@ -91,15 +92,15 @@
91
92
  }
92
93
 
93
94
  .k-modal-sm > .k-modal-panel {
94
- --k-modal-width: 26rem;
95
+ --k-modal-width: var(--k-modal-width-sm, 26rem);
95
96
  }
96
97
 
97
98
  .k-modal-lg > .k-modal-panel {
98
- --k-modal-width: 50rem;
99
+ --k-modal-width: var(--k-modal-width-lg, 50rem);
99
100
  }
100
101
 
101
102
  .k-modal-xl > .k-modal-panel {
102
- --k-modal-width: 64rem;
103
+ --k-modal-width: var(--k-modal-width-xl, 64rem);
103
104
  }
104
105
 
105
106
  .k-modal-full > .k-modal-panel {
@@ -184,7 +185,7 @@
184
185
  .k-modal-title,
185
186
  .k-drawer-title {
186
187
  font-size: 0.9375rem;
187
- font-weight: 600;
188
+ font-weight: var(--k-font-weight-strong, 600);
188
189
  line-height: 1.3;
189
190
  color: var(--k-text);
190
191
  letter-spacing: -0.015em;
@@ -258,9 +259,11 @@
258
259
  .k-modal.is-sheet > .k-modal-panel {
259
260
  --k-modal-width: none;
260
261
  width: 100%;
262
+ max-width: none;
261
263
  max-height: 92dvh;
262
264
  padding-bottom: env(safe-area-inset-bottom);
263
- border-radius: var(--k-radius-xl) var(--k-radius-xl) 0 0;
265
+ border-radius: var(--k-modal-radius, var(--k-radius-xl))
266
+ var(--k-modal-radius, var(--k-radius-xl)) 0 0;
264
267
  opacity: 1;
265
268
  transform: translateY(100%);
266
269
  transition: transform var(--k-duration-lg) var(--k-ease);
@@ -89,8 +89,8 @@
89
89
  overflow: hidden;
90
90
  font-family: var(--k-font-sans);
91
91
  background: var(--k-elevated);
92
- border-radius: var(--k-radius-lg);
93
- box-shadow: var(--k-shadow-overlay);
92
+ border-radius: var(--k-toast-radius, var(--k-radius-lg));
93
+ box-shadow: var(--k-toast-shadow, var(--k-shadow-overlay));
94
94
  opacity: 0;
95
95
  transform: translateY(calc(var(--k-toast-lift) * -100%));
96
96
  translate: var(--k-toast-swipe, 0) 0;
@@ -235,7 +235,7 @@
235
235
 
236
236
  .k-toast-title {
237
237
  font-size: 0.8125rem;
238
- font-weight: 500;
238
+ font-weight: var(--k-font-weight-medium, 500);
239
239
  line-height: 1rem;
240
240
  color: var(--k-text);
241
241
  overflow-wrap: anywhere;
@@ -3,14 +3,16 @@
3
3
  align-items: center;
4
4
  gap: 0.5rem;
5
5
  max-width: min(18rem, calc(100vw - 1rem));
6
- padding: 0.3125rem 0.5rem;
6
+ padding: var(--k-tooltip-padding, 0.3125rem 0.5rem);
7
7
  font-size: 0.75rem;
8
- font-weight: 500;
8
+ font-weight: var(--k-font-weight-medium, 500);
9
9
  line-height: 1.35;
10
- color: var(--k-surface);
11
- background: var(--k-text);
12
- border-radius: var(--k-radius-md);
13
- box-shadow: var(--k-shadow-sm);
10
+ color: var(--k-tooltip-text, var(--k-surface));
11
+ background: var(--k-tooltip-background, var(--k-text));
12
+ border-radius: var(--k-tooltip-radius, var(--k-radius-md));
13
+ box-shadow:
14
+ 0 0 0 1px var(--k-tooltip-border, transparent),
15
+ var(--k-tooltip-shadow, var(--k-shadow-sm));
14
16
  }
15
17
 
16
18
  .k-tooltip:popover-open {
@@ -25,6 +27,22 @@
25
27
  box-shadow: none;
26
28
  }
27
29
 
30
+ .k-tooltip[data-side='bottom'] > .k-floating-arrow {
31
+ box-shadow: -1px -1px 0 0 var(--k-tooltip-border, transparent);
32
+ }
33
+
34
+ .k-tooltip[data-side='top'] > .k-floating-arrow {
35
+ box-shadow: 1px 1px 0 0 var(--k-tooltip-border, transparent);
36
+ }
37
+
38
+ .k-tooltip[data-side='right'] > .k-floating-arrow {
39
+ box-shadow: -1px 1px 0 0 var(--k-tooltip-border, transparent);
40
+ }
41
+
42
+ .k-tooltip[data-side='left'] > .k-floating-arrow {
43
+ box-shadow: 1px -1px 0 0 var(--k-tooltip-border, transparent);
44
+ }
45
+
28
46
  .k-tooltip-text {
29
47
  min-width: 0;
30
48
  overflow-wrap: anywhere;
@@ -37,6 +55,6 @@
37
55
 
38
56
  .k-tooltip-shortcut .k-kbd {
39
57
  color: inherit;
40
- background: color-mix(in oklab, var(--k-surface) 14%, transparent);
41
- border-color: color-mix(in oklab, var(--k-surface) 18%, transparent);
58
+ background: color-mix(in oklab, currentColor 14%, transparent);
59
+ border-color: color-mix(in oklab, currentColor 18%, transparent);
42
60
  }