@progress/kendo-theme-default 13.0.0-dev.0 → 13.0.0-dev.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.
- package/dist/all.css +1 -1
- package/dist/default-blue.css +1 -1
- package/dist/default-dataviz-v4.css +1 -1
- package/dist/default-green.css +1 -1
- package/dist/default-main-dark.css +1 -1
- package/dist/default-main.css +1 -1
- package/dist/default-nordic.css +1 -1
- package/dist/default-ocean-blue-a11y.css +1 -1
- package/dist/default-ocean-blue-a11y.scss +1 -2
- package/dist/default-ocean-blue.css +1 -1
- package/dist/default-orange.css +1 -1
- package/dist/default-purple.css +1 -1
- package/dist/default-turquoise.css +1 -1
- package/dist/default-urban.css +1 -1
- package/dist/meta/sassdoc-data.json +7212 -2774
- package/dist/meta/sassdoc-raw-data.json +3499 -1490
- package/dist/meta/variables.json +490 -135
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue-a11y.json +6 -11
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +5 -5
- package/scss/bubble/_variables.scss +1 -1
- package/scss/chat/_index.scss +4 -0
- package/scss/chat/_variables.scss +33 -60
- package/scss/dropdowntree/_variables.scss +10 -1
- package/scss/file-box/_index.scss +16 -0
- package/scss/file-box/_layout.scss +6 -0
- package/scss/file-box/_theme.scss +6 -0
- package/scss/file-box/_variables.scss +73 -0
- package/scss/grid/_index.scss +2 -0
- package/scss/grid/_variables.scss +12 -2
- package/scss/icons/_variables.scss +5 -1
- package/scss/index.scss +12 -0
- package/scss/list/_variables.scss +56 -20
- package/scss/prompt-box/_index.scss +16 -0
- package/scss/prompt-box/_layout.scss +6 -0
- package/scss/prompt-box/_theme.scss +6 -0
- package/scss/prompt-box/_variables.scss +34 -0
- package/scss/segmented-control/_index.scss +16 -0
- package/scss/segmented-control/_layout.scss +6 -0
- package/scss/segmented-control/_theme.scss +6 -0
- package/scss/segmented-control/_variables.scss +143 -0
- package/scss/smart-box/_index.scss +25 -0
- package/scss/smart-box/_layout.scss +6 -0
- package/scss/smart-box/_theme.scss +6 -0
- package/scss/smart-box/_variables.scss +70 -0
- package/scss/suggestion/_variables.scss +14 -4
- package/scss/toolbar/_variables.scss +4 -0
- package/scss/treeview/_variables.scss +16 -3
|
@@ -11,6 +11,13 @@ $kendo-list-default-size: "md" !default;
|
|
|
11
11
|
/// @group list
|
|
12
12
|
$kendo-list-font-family: var( --kendo-font-family, inherit ) !default;
|
|
13
13
|
|
|
14
|
+
/// The horizontal padding of the List container.
|
|
15
|
+
/// @group list
|
|
16
|
+
$kendo-list-container-padding-inline: k-spacing(2) !default;
|
|
17
|
+
/// The vertical padding of the List container.
|
|
18
|
+
/// @group list
|
|
19
|
+
$kendo-list-container-padding-block: k-spacing(2) !default;
|
|
20
|
+
|
|
14
21
|
/// The font size of the List component, if no size is set.
|
|
15
22
|
/// @group list
|
|
16
23
|
$kendo-list-font-size: null !default;
|
|
@@ -157,6 +164,14 @@ $kendo-list-md-item-line-height: null !default;
|
|
|
157
164
|
/// @group list
|
|
158
165
|
$kendo-list-lg-item-line-height: null !default;
|
|
159
166
|
|
|
167
|
+
/// The gap of the List item components.
|
|
168
|
+
/// @group list
|
|
169
|
+
$kendo-list-item-gap: k-spacing(2) !default;
|
|
170
|
+
|
|
171
|
+
/// The spacing between the List items.
|
|
172
|
+
/// @group list
|
|
173
|
+
$kendo-list-item-spacing: k-spacing(0.5) !default;
|
|
174
|
+
|
|
160
175
|
/// The horizontal padding of the small List group item.
|
|
161
176
|
/// @group list
|
|
162
177
|
$kendo-list-sm-group-item-padding-x: k-spacing(2) !default;
|
|
@@ -169,43 +184,43 @@ $kendo-list-lg-group-item-padding-x: k-spacing(2) !default;
|
|
|
169
184
|
|
|
170
185
|
/// The vertical padding of the small List group item.
|
|
171
186
|
/// @group list
|
|
172
|
-
$kendo-list-sm-group-item-padding-y: k-spacing(
|
|
187
|
+
$kendo-list-sm-group-item-padding-y: calc( #{k-spacing(.5)} + 1px ) !default;
|
|
173
188
|
/// The vertical padding of the medium List group item.
|
|
174
189
|
/// @group list
|
|
175
|
-
$kendo-list-md-group-item-padding-y: k-spacing(1) !default;
|
|
190
|
+
$kendo-list-md-group-item-padding-y: calc( #{k-spacing(1)} + 1px ) !default;
|
|
176
191
|
/// The vertical padding of the large List group item.
|
|
177
192
|
/// @group list
|
|
178
|
-
$kendo-list-lg-group-item-padding-y: k-spacing(1.5) !default;
|
|
193
|
+
$kendo-list-lg-group-item-padding-y: calc( #{k-spacing(1.5)} + 1px ) !default;
|
|
179
194
|
|
|
180
195
|
/// The border width of the List group items.
|
|
181
196
|
/// @group list
|
|
182
|
-
$kendo-list-group-item-border-width:
|
|
197
|
+
$kendo-list-group-item-border-width: 0 !default;
|
|
183
198
|
|
|
184
199
|
/// The font size of the List group items, if no size is set.
|
|
185
200
|
/// @group list
|
|
186
|
-
$kendo-list-group-item-font-size:
|
|
201
|
+
$kendo-list-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
187
202
|
/// The font size of the small List group item.
|
|
188
203
|
/// @group list
|
|
189
|
-
$kendo-list-sm-group-item-font-size:
|
|
204
|
+
$kendo-list-sm-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
190
205
|
/// The font size of the medium List group item.
|
|
191
206
|
/// @group list
|
|
192
|
-
$kendo-list-md-group-item-font-size:
|
|
207
|
+
$kendo-list-md-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
193
208
|
/// The font size of the large List group item.
|
|
194
209
|
/// @group list
|
|
195
|
-
$kendo-list-lg-group-item-font-size:
|
|
210
|
+
$kendo-list-lg-group-item-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
196
211
|
|
|
197
212
|
/// The line height of the List group items, if no size is set.
|
|
198
213
|
/// @group list
|
|
199
|
-
$kendo-list-group-item-line-height:
|
|
214
|
+
$kendo-list-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
200
215
|
/// The line height of the small List group item.
|
|
201
216
|
/// @group list
|
|
202
|
-
$kendo-list-sm-group-item-line-height:
|
|
217
|
+
$kendo-list-sm-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
203
218
|
/// The line height of the medium List group item.
|
|
204
219
|
/// @group list
|
|
205
|
-
$kendo-list-md-group-item-line-height:
|
|
220
|
+
$kendo-list-md-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
206
221
|
/// The line height of the large List group item.
|
|
207
222
|
/// @group list
|
|
208
|
-
$kendo-list-lg-group-item-line-height:
|
|
223
|
+
$kendo-list-lg-group-item-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
209
224
|
|
|
210
225
|
/// The font weight of a List group item.
|
|
211
226
|
/// @group list
|
|
@@ -283,10 +298,13 @@ $kendo-list-item-bg: null !default;
|
|
|
283
298
|
/// The text color of the List items.
|
|
284
299
|
/// @group list
|
|
285
300
|
$kendo-list-item-text: null !default;
|
|
301
|
+
/// The border-radius of the List items.
|
|
302
|
+
/// @group list
|
|
303
|
+
$kendo-list-item-border-radius: k-border-radius(md) !default;
|
|
286
304
|
|
|
287
305
|
/// The background color of the hovered List items.
|
|
288
306
|
/// @group list
|
|
289
|
-
$kendo-list-item-hover-bg: color-mix(in srgb, k-color(on-app-surface)
|
|
307
|
+
$kendo-list-item-hover-bg: color-mix(in srgb, k-color(on-app-surface) 6%, transparent ) !default;
|
|
290
308
|
/// The text color of the hovered List items.
|
|
291
309
|
/// @group list
|
|
292
310
|
$kendo-list-item-hover-text: k-color(on-app-surface) !default;
|
|
@@ -303,38 +321,50 @@ $kendo-list-item-focus-shadow: inset 0 0 0 2px k-color(border-alt) !default;
|
|
|
303
321
|
|
|
304
322
|
/// The background color of the selected List items.
|
|
305
323
|
/// @group list
|
|
306
|
-
$kendo-list-item-selected-bg: k-color(
|
|
324
|
+
$kendo-list-item-selected-bg: color-mix(in srgb, k-color(on-app-surface) 12%, transparent ) !default;
|
|
307
325
|
/// The text color of the selected List items.
|
|
308
326
|
/// @group list
|
|
309
|
-
$kendo-list-item-selected-text: k-color(on-
|
|
327
|
+
$kendo-list-item-selected-text: k-color(on-app-surface) !default;
|
|
310
328
|
|
|
311
329
|
/// The background color of the selected hovered List items.
|
|
312
330
|
/// @group list
|
|
313
|
-
$kendo-list-item-selected-hover-bg: k-color(
|
|
331
|
+
$kendo-list-item-selected-hover-bg: color-mix(in srgb, k-color(on-app-surface) 18%, transparent ) !default;
|
|
314
332
|
/// The text color of the selected hovered List items.
|
|
315
333
|
/// @group list
|
|
316
|
-
$kendo-list-item-selected-hover-text: k-color(on-
|
|
334
|
+
$kendo-list-item-selected-hover-text: k-color(on-app-surface) !default;
|
|
317
335
|
|
|
318
336
|
/// The background color of the List group items.
|
|
319
337
|
/// @group list
|
|
320
338
|
$kendo-list-group-item-bg: null !default;
|
|
321
339
|
/// The text color of the List group items.
|
|
322
340
|
/// @group list
|
|
323
|
-
$kendo-list-group-item-text:
|
|
341
|
+
$kendo-list-group-item-text: k-color(subtle) !default;
|
|
324
342
|
/// The border color of the List group items.
|
|
325
343
|
/// @group list
|
|
326
344
|
$kendo-list-group-item-border: inherit !default;
|
|
327
345
|
/// The base shadow of the List group items.
|
|
328
346
|
/// @group list
|
|
329
|
-
$kendo-list-group-item-shadow:
|
|
347
|
+
$kendo-list-group-item-shadow: inset 0 1px 0 k-color(border) !default;
|
|
330
348
|
|
|
331
349
|
/// The color of the 'Option Label' text.
|
|
332
350
|
/// @group list
|
|
333
351
|
$kendo-list-option-label-text: k-color(subtle) !default;
|
|
334
352
|
|
|
353
|
+
/// The font size of the List item description.
|
|
354
|
+
/// @group list
|
|
355
|
+
$kendo-list-item-description-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
356
|
+
/// The line of the list item description.
|
|
357
|
+
/// @group list
|
|
358
|
+
$kendo-list-item-description-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
359
|
+
/// The text color of the list item description.
|
|
360
|
+
/// @group list
|
|
361
|
+
$kendo-list-item-description-text: k-color(subtle) !default;
|
|
362
|
+
|
|
335
363
|
@forward "@progress/kendo-theme-core/scss/components/list/_variables.scss" with (
|
|
336
364
|
$kendo-list-default-size: $kendo-list-default-size,
|
|
337
365
|
$kendo-list-font-family: $kendo-list-font-family,
|
|
366
|
+
$kendo-list-container-padding-inline: $kendo-list-container-padding-inline,
|
|
367
|
+
$kendo-list-container-padding-block: $kendo-list-container-padding-block,
|
|
338
368
|
$kendo-list-font-size: $kendo-list-font-size,
|
|
339
369
|
$kendo-list-sm-font-size: $kendo-list-sm-font-size,
|
|
340
370
|
$kendo-list-md-font-size: $kendo-list-md-font-size,
|
|
@@ -373,6 +403,8 @@ $kendo-list-option-label-text: k-color(subtle) !default;
|
|
|
373
403
|
$kendo-list-sm-item-line-height: $kendo-list-sm-item-line-height,
|
|
374
404
|
$kendo-list-md-item-line-height: $kendo-list-md-item-line-height,
|
|
375
405
|
$kendo-list-lg-item-line-height: $kendo-list-lg-item-line-height,
|
|
406
|
+
$kendo-list-item-gap: $kendo-list-item-gap,
|
|
407
|
+
$kendo-list-item-spacing: $kendo-list-item-spacing,
|
|
376
408
|
$kendo-list-sm-group-item-padding-x: $kendo-list-sm-group-item-padding-x,
|
|
377
409
|
$kendo-list-md-group-item-padding-x: $kendo-list-md-group-item-padding-x,
|
|
378
410
|
$kendo-list-lg-group-item-padding-x: $kendo-list-lg-group-item-padding-x,
|
|
@@ -416,6 +448,7 @@ $kendo-list-option-label-text: k-color(subtle) !default;
|
|
|
416
448
|
$kendo-list-header-shadow: $kendo-list-header-shadow,
|
|
417
449
|
$kendo-list-item-bg: $kendo-list-item-bg,
|
|
418
450
|
$kendo-list-item-text: $kendo-list-item-text,
|
|
451
|
+
$kendo-list-item-border-radius: $kendo-list-item-border-radius,
|
|
419
452
|
$kendo-list-item-hover-bg: $kendo-list-item-hover-bg,
|
|
420
453
|
$kendo-list-item-hover-text: $kendo-list-item-hover-text,
|
|
421
454
|
$kendo-list-item-focus-bg: $kendo-list-item-focus-bg,
|
|
@@ -429,5 +462,8 @@ $kendo-list-option-label-text: k-color(subtle) !default;
|
|
|
429
462
|
$kendo-list-group-item-text: $kendo-list-group-item-text,
|
|
430
463
|
$kendo-list-group-item-border: $kendo-list-group-item-border,
|
|
431
464
|
$kendo-list-group-item-shadow: $kendo-list-group-item-shadow,
|
|
432
|
-
$kendo-list-option-label-text: $kendo-list-option-label-text
|
|
465
|
+
$kendo-list-option-label-text: $kendo-list-option-label-text,
|
|
466
|
+
$kendo-list-item-description-text: $kendo-list-item-description-text,
|
|
467
|
+
$kendo-list-item-description-font-size: $kendo-list-item-description-font-size,
|
|
468
|
+
$kendo-list-item-description-line-height: $kendo-list-item-description-line-height
|
|
433
469
|
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
|
|
4
|
+
// Component
|
|
5
|
+
@forward "./_variables.scss";
|
|
6
|
+
@use "./_layout.scss" as *;
|
|
7
|
+
@use "./_theme.scss" as *;
|
|
8
|
+
|
|
9
|
+
// Expose
|
|
10
|
+
@mixin kendo-prompt-box--styles() {
|
|
11
|
+
@include import-once( "prompt-box" ) {
|
|
12
|
+
@include core-styles();
|
|
13
|
+
@include kendo-prompt-box--layout();
|
|
14
|
+
@include kendo-prompt-box--theme();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@use "../core/_index.scss" as *;
|
|
2
|
+
|
|
3
|
+
// Prompt box
|
|
4
|
+
|
|
5
|
+
/// The border radius of the PromptBox.
|
|
6
|
+
/// @group prompt-box
|
|
7
|
+
$kendo-prompt-box-border-radius: k-border-radius(xxl) !default;
|
|
8
|
+
|
|
9
|
+
/// The box shadow of the PromptBox.
|
|
10
|
+
/// @group prompt-box
|
|
11
|
+
$kendo-prompt-box-box-shadow: k-elevation(1) !default;
|
|
12
|
+
|
|
13
|
+
/// The padding of the PromptBox header.
|
|
14
|
+
/// @group prompt-box
|
|
15
|
+
$kendo-prompt-box-header-padding: k-spacing(2) !default;
|
|
16
|
+
/// The inner padding of the PromptBox input.
|
|
17
|
+
/// @group prompt-box
|
|
18
|
+
$kendo-prompt-box-input-inner-padding: k-spacing(3) !default;
|
|
19
|
+
/// The padding of the PromptBox affix.
|
|
20
|
+
/// @group prompt-box
|
|
21
|
+
$kendo-prompt-box-affix-padding: k-spacing(2) !default;
|
|
22
|
+
|
|
23
|
+
/// The spacing between the PromptBox affixes.
|
|
24
|
+
/// @group prompt-box
|
|
25
|
+
$kendo-prompt-box-affix-spacing: k-spacing(1) !default;
|
|
26
|
+
|
|
27
|
+
@forward "@progress/kendo-theme-core/scss/components/prompt-box/_variables.scss" with (
|
|
28
|
+
$kendo-prompt-box-border-radius: $kendo-prompt-box-border-radius,
|
|
29
|
+
$kendo-prompt-box-box-shadow: $kendo-prompt-box-box-shadow,
|
|
30
|
+
$kendo-prompt-box-header-padding: $kendo-prompt-box-header-padding,
|
|
31
|
+
$kendo-prompt-box-input-inner-padding: $kendo-prompt-box-input-inner-padding,
|
|
32
|
+
$kendo-prompt-box-affix-padding: $kendo-prompt-box-affix-padding,
|
|
33
|
+
$kendo-prompt-box-affix-spacing: $kendo-prompt-box-affix-spacing
|
|
34
|
+
);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
|
|
4
|
+
// Component
|
|
5
|
+
@forward "./_variables.scss";
|
|
6
|
+
@use "./_layout.scss" as *;
|
|
7
|
+
@use "./_theme.scss" as *;
|
|
8
|
+
|
|
9
|
+
// Expose
|
|
10
|
+
@mixin kendo-segmented-control--styles() {
|
|
11
|
+
@include import-once( "segmented-control" ) {
|
|
12
|
+
@include core-styles();
|
|
13
|
+
@include kendo-segmented-control--layout();
|
|
14
|
+
@include kendo-segmented-control--theme();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
// Segmented control
|
|
6
|
+
|
|
7
|
+
/// The default size of the Segmented control.
|
|
8
|
+
/// @group segmented-control
|
|
9
|
+
/// @role default
|
|
10
|
+
$kendo-segmented-control-default-size: "md" !default;
|
|
11
|
+
|
|
12
|
+
/// The horizontal padding of the Segmented Control.
|
|
13
|
+
/// @group segmented-control
|
|
14
|
+
$kendo-segmented-control-padding-x: k-spacing(0.5) !default;
|
|
15
|
+
/// The vertical padding of the Segmented Control.
|
|
16
|
+
/// @group segmented-control
|
|
17
|
+
$kendo-segmented-control-padding-y: k-spacing(0.5) !default;
|
|
18
|
+
/// The border radius of the Segmented Control.
|
|
19
|
+
/// @group segmented-control
|
|
20
|
+
$kendo-segmented-control-border-radius: k-border-radius(full) !default;
|
|
21
|
+
|
|
22
|
+
/// The background color of the Segmented Control.
|
|
23
|
+
/// @group segmented-control
|
|
24
|
+
$kendo-segmented-control-bg: k-color(base-subtle) !default;
|
|
25
|
+
/// The text color of the Segmented Control.
|
|
26
|
+
/// @group segmented-control
|
|
27
|
+
$kendo-segmented-control-text: k-color(on-base) !default;
|
|
28
|
+
|
|
29
|
+
/// The font size of the small Segmented Control.
|
|
30
|
+
/// @group segmented-control
|
|
31
|
+
$kendo-segmented-control-sm-font-size: var( --kendo-font-size, inherit ) !default;
|
|
32
|
+
/// The font size of the medium Segmented Control.
|
|
33
|
+
/// @group segmented-control
|
|
34
|
+
$kendo-segmented-control-md-font-size: var( --kendo-font-size, inherit ) !default;
|
|
35
|
+
/// The font size of the large Segmented Control.
|
|
36
|
+
/// @group segmented-control
|
|
37
|
+
$kendo-segmented-control-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
|
|
38
|
+
|
|
39
|
+
/// The font family of the Segmented Control.
|
|
40
|
+
/// @group segmented-control
|
|
41
|
+
$kendo-segmented-control-font-family: var( --kendo-font-family, inherit ) !default;
|
|
42
|
+
|
|
43
|
+
/// The line height of the small Segmented Control.
|
|
44
|
+
/// @group segmented-control
|
|
45
|
+
$kendo-segmented-control-sm-line-height: var( --kendo-line-height, normal ) !default;
|
|
46
|
+
/// The line height of the medium Segmented Control.
|
|
47
|
+
/// @group segmented-control
|
|
48
|
+
$kendo-segmented-control-md-line-height: var( --kendo-line-height, normal ) !default;
|
|
49
|
+
/// The line height of the large Segmented Control.
|
|
50
|
+
/// @group segmented-control
|
|
51
|
+
$kendo-segmented-control-lg-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
52
|
+
|
|
53
|
+
/// The border radius of the Segmented Control thumb.
|
|
54
|
+
/// @group segmented-control
|
|
55
|
+
$kendo-segmented-control-thumb-border-radius: $kendo-segmented-control-border-radius !default;
|
|
56
|
+
/// The box shadow of the Segmented Control thumb.
|
|
57
|
+
/// @group segmented-control
|
|
58
|
+
$kendo-segmented-control-thumb-shadow: none !default;
|
|
59
|
+
/// The background of the Segmented Control thumb.
|
|
60
|
+
/// @group segmented-control
|
|
61
|
+
$kendo-segmented-control-thumb-bg: k-color(surface-alt) !default;
|
|
62
|
+
/// The text color of the Segmented Control thumb.
|
|
63
|
+
/// @group segmented-control
|
|
64
|
+
$kendo-segmented-control-thumb-text: $kendo-segmented-control-text !default;
|
|
65
|
+
|
|
66
|
+
/// The horizontal padding of the small Segmented Control button.
|
|
67
|
+
/// @group segmented-control
|
|
68
|
+
$kendo-segmented-control-sm-button-padding-x: k-spacing(3) !default;
|
|
69
|
+
/// The horizontal padding of the medium Segmented Control button.
|
|
70
|
+
/// @group segmented-control
|
|
71
|
+
$kendo-segmented-control-md-button-padding-x: k-spacing(3) !default;
|
|
72
|
+
/// The horizontal padding of the large Segmented Control button.
|
|
73
|
+
/// @group segmented-control
|
|
74
|
+
$kendo-segmented-control-lg-button-padding-x: k-spacing(3) !default;
|
|
75
|
+
|
|
76
|
+
/// The vertical padding of the small Segmented Control button.
|
|
77
|
+
/// @group segmented-control
|
|
78
|
+
$kendo-segmented-control-sm-button-padding-y: k-spacing(1px) !default;
|
|
79
|
+
/// The vertical padding of the medium Segmented Control button.
|
|
80
|
+
/// @group segmented-control
|
|
81
|
+
$kendo-segmented-control-md-button-padding-y: calc( #{k-spacing(.5)} + 1px ) !default;
|
|
82
|
+
/// The vertical padding of the large Segmented Control button.
|
|
83
|
+
/// @group segmented-control
|
|
84
|
+
$kendo-segmented-control-lg-button-padding-y: calc( #{k-spacing(1.5)} + 1px ) !default;
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
/// The width of the border around the Segmented Control button.
|
|
88
|
+
/// @group segmented-control
|
|
89
|
+
$kendo-segmented-control-button-border-width: 0px !default;
|
|
90
|
+
/// The border radius of the Segmented Control button.
|
|
91
|
+
/// @group segmented-control
|
|
92
|
+
$kendo-segmented-control-button-border-radius: $kendo-segmented-control-thumb-border-radius !default;
|
|
93
|
+
|
|
94
|
+
/// The gap of the items inside the small Segmented Control buttons.
|
|
95
|
+
/// @group segmented-control
|
|
96
|
+
$kendo-segmented-control-sm-button-gap: k-spacing(1.5) !default;
|
|
97
|
+
/// The gap of the items inside the medium Segmented Control buttons.
|
|
98
|
+
/// @group segmented-control
|
|
99
|
+
$kendo-segmented-control-md-button-gap: k-spacing(1.5) !default;
|
|
100
|
+
/// The gap of the items inside the large Segmented Control buttons.
|
|
101
|
+
/// @group segmented-control
|
|
102
|
+
$kendo-segmented-control-lg-button-gap: k-spacing(2) !default;
|
|
103
|
+
|
|
104
|
+
/// The background color of the hovered button inside Segmented Control.
|
|
105
|
+
/// @group segmented-control
|
|
106
|
+
$kendo-segmented-control-button-hover-bg: k-color(base-active) !default;
|
|
107
|
+
/// The indication of the focused button inside Segmented Control.
|
|
108
|
+
/// @group segmented-control
|
|
109
|
+
$kendo-segmented-control-button-focus-indicator: inset 0 0 0 2px color-mix(in srgb, currentColor 25%, transparent) !default;
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
@forward "@progress/kendo-theme-core/scss/components/segmented-control/_variables.scss" with (
|
|
113
|
+
$kendo-segmented-control-default-size: $kendo-segmented-control-default-size,
|
|
114
|
+
$kendo-segmented-control-padding-x: $kendo-segmented-control-padding-x,
|
|
115
|
+
$kendo-segmented-control-padding-y: $kendo-segmented-control-padding-y,
|
|
116
|
+
$kendo-segmented-control-border-radius: $kendo-segmented-control-border-radius,
|
|
117
|
+
$kendo-segmented-control-bg: $kendo-segmented-control-bg,
|
|
118
|
+
$kendo-segmented-control-text: $kendo-segmented-control-text,
|
|
119
|
+
$kendo-segmented-control-sm-font-size: $kendo-segmented-control-sm-font-size,
|
|
120
|
+
$kendo-segmented-control-md-font-size: $kendo-segmented-control-md-font-size,
|
|
121
|
+
$kendo-segmented-control-lg-font-size: $kendo-segmented-control-lg-font-size,
|
|
122
|
+
$kendo-segmented-control-font-family: $kendo-segmented-control-font-family,
|
|
123
|
+
$kendo-segmented-control-sm-line-height: $kendo-segmented-control-sm-line-height,
|
|
124
|
+
$kendo-segmented-control-md-line-height: $kendo-segmented-control-md-line-height,
|
|
125
|
+
$kendo-segmented-control-lg-line-height: $kendo-segmented-control-lg-line-height,
|
|
126
|
+
$kendo-segmented-control-thumb-border-radius: $kendo-segmented-control-thumb-border-radius,
|
|
127
|
+
$kendo-segmented-control-thumb-shadow: $kendo-segmented-control-thumb-shadow,
|
|
128
|
+
$kendo-segmented-control-thumb-bg: $kendo-segmented-control-thumb-bg,
|
|
129
|
+
$kendo-segmented-control-thumb-text: $kendo-segmented-control-thumb-text,
|
|
130
|
+
$kendo-segmented-control-sm-button-padding-x: $kendo-segmented-control-sm-button-padding-x,
|
|
131
|
+
$kendo-segmented-control-md-button-padding-x: $kendo-segmented-control-md-button-padding-x,
|
|
132
|
+
$kendo-segmented-control-lg-button-padding-x: $kendo-segmented-control-lg-button-padding-x,
|
|
133
|
+
$kendo-segmented-control-sm-button-padding-y: $kendo-segmented-control-sm-button-padding-y,
|
|
134
|
+
$kendo-segmented-control-md-button-padding-y: $kendo-segmented-control-md-button-padding-y,
|
|
135
|
+
$kendo-segmented-control-lg-button-padding-y: $kendo-segmented-control-lg-button-padding-y,
|
|
136
|
+
$kendo-segmented-control-button-border-width: $kendo-segmented-control-button-border-width,
|
|
137
|
+
$kendo-segmented-control-button-border-radius: $kendo-segmented-control-button-border-radius,
|
|
138
|
+
$kendo-segmented-control-sm-button-gap: $kendo-segmented-control-sm-button-gap,
|
|
139
|
+
$kendo-segmented-control-md-button-gap: $kendo-segmented-control-md-button-gap,
|
|
140
|
+
$kendo-segmented-control-lg-button-gap: $kendo-segmented-control-lg-button-gap,
|
|
141
|
+
$kendo-segmented-control-button-hover-bg: $kendo-segmented-control-button-hover-bg,
|
|
142
|
+
$kendo-segmented-control-button-focus-indicator: $kendo-segmented-control-button-focus-indicator,
|
|
143
|
+
);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
@use "../input/_index.scss" as *;
|
|
4
|
+
@use "../popup/_index.scss" as *;
|
|
5
|
+
@use "../list/_index.scss" as *;
|
|
6
|
+
@use "../segmented-control/_index.scss" as *;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// Component
|
|
10
|
+
@forward "./_variables.scss";
|
|
11
|
+
@use "./_layout.scss" as *;
|
|
12
|
+
@use "./_theme.scss" as *;
|
|
13
|
+
|
|
14
|
+
// Expose
|
|
15
|
+
@mixin kendo-smart-box--styles() {
|
|
16
|
+
@include import-once( "smart-box" ) {
|
|
17
|
+
@include core-styles();
|
|
18
|
+
@include kendo-input--styles();
|
|
19
|
+
@include kendo-popup--styles();
|
|
20
|
+
@include kendo-list--styles();
|
|
21
|
+
@include kendo-segmented-control--styles();
|
|
22
|
+
@include kendo-smart-box--layout();
|
|
23
|
+
@include kendo-smart-box--theme();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
|
|
4
|
+
// Smart box
|
|
5
|
+
|
|
6
|
+
/// The default size of the SmartBox.
|
|
7
|
+
/// @group smart-box
|
|
8
|
+
/// @role default
|
|
9
|
+
$kendo-smart-box-default-size: "md" !default;
|
|
10
|
+
/// The default roundness of the SmartBox.
|
|
11
|
+
/// @group smart-box
|
|
12
|
+
/// @role default
|
|
13
|
+
$kendo-smart-box-default-roundness: "full" !default;
|
|
14
|
+
|
|
15
|
+
/// The spacing between elements in the suffix of the Smart box.
|
|
16
|
+
/// @group smart-box
|
|
17
|
+
$kendo-smart-box-suffix-spacing: k-spacing(1) !default;
|
|
18
|
+
|
|
19
|
+
/// The horizontal padding of the small Smart box.
|
|
20
|
+
/// @group smart-box
|
|
21
|
+
$kendo-smart-box-sm-padding-x: k-spacing(0) !default;
|
|
22
|
+
/// The horizontal padding of the medium Smart box.
|
|
23
|
+
/// @group smart-box
|
|
24
|
+
$kendo-smart-box-md-padding-x: k-spacing(.5) !default;
|
|
25
|
+
/// The horizontal padding of the large Smart box.
|
|
26
|
+
/// @group smart-box
|
|
27
|
+
$kendo-smart-box-lg-padding-x: k-spacing(2) !default;
|
|
28
|
+
|
|
29
|
+
/// The horizontal margin of the prefix icon in the small Smart box.
|
|
30
|
+
/// @group smart-box
|
|
31
|
+
$kendo-smart-box-sm-prefix-margin-x: k-spacing(1) !default;
|
|
32
|
+
/// The horizontal margin of the prefix icon in the medium Smart box.
|
|
33
|
+
/// @group smart-box
|
|
34
|
+
$kendo-smart-box-md-prefix-margin-x: k-spacing(1) !default;
|
|
35
|
+
/// The horizontal margin of the prefix icon in the large Smart box.
|
|
36
|
+
/// @group smart-box
|
|
37
|
+
$kendo-smart-box-lg-prefix-margin-x: k-spacing(0) !default;
|
|
38
|
+
|
|
39
|
+
/// The inline padding of the popup of the Smart box.
|
|
40
|
+
/// @group smart-box
|
|
41
|
+
$kendo-smart-box-popup-padding-inline: k-spacing(2) !default;
|
|
42
|
+
/// The block padding of the popup of the Smart box.
|
|
43
|
+
/// @group smart-box
|
|
44
|
+
$kendo-smart-box-popup-padding-block: k-spacing(2) !default;
|
|
45
|
+
/// The border radius of the popup of the Smart box.
|
|
46
|
+
/// @group smart-box
|
|
47
|
+
$kendo-smart-box-popup-border-radius: k-border-radius(xxl) !default;
|
|
48
|
+
/// The spacing of the popup of the Smart box.
|
|
49
|
+
/// @group smart-box
|
|
50
|
+
$kendo-smart-box-popup-spacing: k-spacing(2) !default;
|
|
51
|
+
/// The margin of the segmented control in the popup of the Smart box.
|
|
52
|
+
/// @group smart-box
|
|
53
|
+
$kendo-smart-box-popup-segmented-control-margin: k-spacing(2) !default;
|
|
54
|
+
|
|
55
|
+
@forward "@progress/kendo-theme-core/scss/components/smart-box/_variables.scss" with (
|
|
56
|
+
$kendo-smart-box-default-size: $kendo-smart-box-default-size,
|
|
57
|
+
$kendo-smart-box-default-roundness: $kendo-smart-box-default-roundness,
|
|
58
|
+
$kendo-smart-box-suffix-spacing: $kendo-smart-box-suffix-spacing,
|
|
59
|
+
$kendo-smart-box-sm-padding-x: $kendo-smart-box-sm-padding-x,
|
|
60
|
+
$kendo-smart-box-md-padding-x: $kendo-smart-box-md-padding-x,
|
|
61
|
+
$kendo-smart-box-lg-padding-x: $kendo-smart-box-lg-padding-x,
|
|
62
|
+
$kendo-smart-box-sm-prefix-margin-x: $kendo-smart-box-sm-prefix-margin-x,
|
|
63
|
+
$kendo-smart-box-md-prefix-margin-x: $kendo-smart-box-md-prefix-margin-x,
|
|
64
|
+
$kendo-smart-box-lg-prefix-margin-x: $kendo-smart-box-lg-prefix-margin-x,
|
|
65
|
+
$kendo-smart-box-popup-padding-inline: $kendo-smart-box-popup-padding-inline,
|
|
66
|
+
$kendo-smart-box-popup-padding-block: $kendo-smart-box-popup-padding-block,
|
|
67
|
+
$kendo-smart-box-popup-border-radius: $kendo-smart-box-popup-border-radius,
|
|
68
|
+
$kendo-smart-box-popup-spacing: $kendo-smart-box-popup-spacing,
|
|
69
|
+
$kendo-smart-box-popup-segmented-control-margin: $kendo-smart-box-popup-segmented-control-margin,
|
|
70
|
+
);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
/// The vertical padding of the Suggestion wrapper.
|
|
5
5
|
/// @group suggestion
|
|
6
|
-
$kendo-suggestion-padding-y: k-spacing(
|
|
6
|
+
$kendo-suggestion-padding-y: k-spacing(1.5) !default;
|
|
7
7
|
/// The horizontal padding of the Suggestion wrapper.
|
|
8
8
|
/// @group suggestion
|
|
9
9
|
$kendo-suggestion-padding-x: k-spacing(3) !default;
|
|
@@ -17,12 +17,16 @@ $kendo-suggestion-border-width: 1px !default;
|
|
|
17
17
|
/// @group suggestion
|
|
18
18
|
$kendo-suggestion-border-style: solid !default;
|
|
19
19
|
|
|
20
|
+
/// The font size of the Suggestion.
|
|
21
|
+
/// @group suggestion
|
|
22
|
+
$kendo-suggestion-font-size: var( --kendo-font-size, inherit ) !default;
|
|
23
|
+
|
|
20
24
|
/// The line height of the Suggestion.
|
|
21
25
|
/// @group suggestion
|
|
22
26
|
$kendo-suggestion-line-height: var( --kendo-line-height, normal ) !default;
|
|
23
27
|
/// The border radius of the Suggestion.
|
|
24
28
|
/// @group suggestion
|
|
25
|
-
$kendo-suggestion-border-radius: k-border-radius(
|
|
29
|
+
$kendo-suggestion-border-radius: k-border-radius(full) !default;
|
|
26
30
|
|
|
27
31
|
/// The shadow blur of the focused Suggestion.
|
|
28
32
|
/// @group suggestion
|
|
@@ -32,23 +36,29 @@ $kendo-suggestion-focus-shadow-blur: 0 !default;
|
|
|
32
36
|
$kendo-suggestion-focus-shadow-spread: 2px !default;
|
|
33
37
|
/// The shadow color of the focused Suggestion.
|
|
34
38
|
/// @group suggestion
|
|
35
|
-
$kendo-suggestion-focus-shadow-color: color-mix(in srgb,
|
|
39
|
+
$kendo-suggestion-focus-shadow-color: color-mix(in srgb, currentColor 16%, transparent) !default;
|
|
36
40
|
|
|
37
41
|
/// The default theme color of the Suggestion.
|
|
38
42
|
/// @group suggestion
|
|
39
43
|
/// @role default
|
|
40
44
|
$kendo-suggestion-default-theme-color: "base" !default;
|
|
41
45
|
|
|
46
|
+
/// The gradient used for scroll indicators in the Suggestion group.
|
|
47
|
+
/// @group suggestion
|
|
48
|
+
$kendo-suggestion-scroll-gradient: rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 1) 100% !default;
|
|
49
|
+
|
|
42
50
|
@forward "@progress/kendo-theme-core/scss/components/suggestion/_variables.scss" with (
|
|
43
51
|
$kendo-suggestion-padding-y: $kendo-suggestion-padding-y,
|
|
44
52
|
$kendo-suggestion-padding-x: $kendo-suggestion-padding-x,
|
|
45
53
|
$kendo-suggestion-spacing: $kendo-suggestion-spacing,
|
|
46
54
|
$kendo-suggestion-border-width: $kendo-suggestion-border-width,
|
|
47
55
|
$kendo-suggestion-border-style: $kendo-suggestion-border-style,
|
|
56
|
+
$kendo-suggestion-font-size: $kendo-suggestion-font-size,
|
|
48
57
|
$kendo-suggestion-line-height: $kendo-suggestion-line-height,
|
|
49
58
|
$kendo-suggestion-border-radius: $kendo-suggestion-border-radius,
|
|
50
59
|
$kendo-suggestion-focus-shadow-blur: $kendo-suggestion-focus-shadow-blur,
|
|
51
60
|
$kendo-suggestion-focus-shadow-spread: $kendo-suggestion-focus-shadow-spread,
|
|
52
61
|
$kendo-suggestion-focus-shadow-color: $kendo-suggestion-focus-shadow-color,
|
|
53
|
-
$kendo-suggestion-default-theme-color: $kendo-suggestion-default-theme-color
|
|
62
|
+
$kendo-suggestion-default-theme-color: $kendo-suggestion-default-theme-color,
|
|
63
|
+
$kendo-suggestion-scroll-gradient: $kendo-suggestion-scroll-gradient
|
|
54
64
|
);
|
|
@@ -125,6 +125,9 @@ $kendo-toolbar-separator-border: inherit !default;
|
|
|
125
125
|
/// The width of the input in the Toolbar.
|
|
126
126
|
/// @group toolbar
|
|
127
127
|
$kendo-toolbar-input-width: 10em !default;
|
|
128
|
+
/// The minimum width of the Smart ToolBox in the Toolbar.
|
|
129
|
+
/// @group toolbar
|
|
130
|
+
$kendo-toolbar-smart-box-min-width: 350px !default;
|
|
128
131
|
|
|
129
132
|
/// The box shadow of the focused Toolbar item.
|
|
130
133
|
/// @group toolbar
|
|
@@ -180,6 +183,7 @@ $kendo-toolbar-overflow-button-padding-x: $kendo-menu-popup-md-item-padding-x !d
|
|
|
180
183
|
$kendo-toolbar-flat-scroll-overlay: $kendo-toolbar-flat-scroll-overlay,
|
|
181
184
|
$kendo-toolbar-separator-border: $kendo-toolbar-separator-border,
|
|
182
185
|
$kendo-toolbar-input-width: $kendo-toolbar-input-width,
|
|
186
|
+
$kendo-toolbar-smart-box-min-width: $kendo-toolbar-smart-box-min-width,
|
|
183
187
|
$kendo-toolbar-item-shadow: $kendo-toolbar-item-shadow,
|
|
184
188
|
$kendo-toolbar-overflow-container-font-size: $kendo-toolbar-overflow-container-font-size,
|
|
185
189
|
$kendo-toolbar-overflow-container-line-height: $kendo-toolbar-overflow-container-line-height,
|