@progress/kendo-theme-utils 6.4.0-dev.0 → 6.4.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 +96 -0
- package/dist/all.scss +138 -28
- package/dist/meta/sassdoc-data.json +659 -285
- package/dist/meta/sassdoc-raw-data.json +659 -285
- package/dist/meta/variables.json +1 -1
- package/package.json +3 -3
- package/scss/_variables.scss +16 -0
- package/scss/background/_background-position.scss +61 -0
- package/scss/background/_background-size.scss +25 -0
- package/scss/background/index.import.scss +4 -0
- package/scss/flex-grid/_grid-auto-flow.scss +6 -6
- package/scss/layout/_clear.scss +4 -4
- package/scss/layout/_placement.scss +17 -17
- package/scss/spacing/_padding.scss +1 -1
package/dist/all.css
CHANGED
|
@@ -15448,6 +15448,102 @@
|
|
|
15448
15448
|
background-color: white !important;
|
|
15449
15449
|
}
|
|
15450
15450
|
|
|
15451
|
+
.k-bg-center {
|
|
15452
|
+
background-position: center;
|
|
15453
|
+
}
|
|
15454
|
+
|
|
15455
|
+
.\!k-bg-center {
|
|
15456
|
+
background-position: center !important;
|
|
15457
|
+
}
|
|
15458
|
+
|
|
15459
|
+
.k-bg-top {
|
|
15460
|
+
background-position: top;
|
|
15461
|
+
}
|
|
15462
|
+
|
|
15463
|
+
.\!k-bg-top {
|
|
15464
|
+
background-position: top !important;
|
|
15465
|
+
}
|
|
15466
|
+
|
|
15467
|
+
.k-bg-right {
|
|
15468
|
+
background-position: right;
|
|
15469
|
+
}
|
|
15470
|
+
|
|
15471
|
+
.\!k-bg-right {
|
|
15472
|
+
background-position: right !important;
|
|
15473
|
+
}
|
|
15474
|
+
|
|
15475
|
+
.k-bg-bottom {
|
|
15476
|
+
background-position: bottom;
|
|
15477
|
+
}
|
|
15478
|
+
|
|
15479
|
+
.\!k-bg-bottom {
|
|
15480
|
+
background-position: bottom !important;
|
|
15481
|
+
}
|
|
15482
|
+
|
|
15483
|
+
.k-bg-left {
|
|
15484
|
+
background-position: left;
|
|
15485
|
+
}
|
|
15486
|
+
|
|
15487
|
+
.\!k-bg-left {
|
|
15488
|
+
background-position: left !important;
|
|
15489
|
+
}
|
|
15490
|
+
|
|
15491
|
+
.k-bg-top-left {
|
|
15492
|
+
background-position: top left;
|
|
15493
|
+
}
|
|
15494
|
+
|
|
15495
|
+
.\!k-bg-top-left {
|
|
15496
|
+
background-position: top left !important;
|
|
15497
|
+
}
|
|
15498
|
+
|
|
15499
|
+
.k-bg-top-right {
|
|
15500
|
+
background-position: top right;
|
|
15501
|
+
}
|
|
15502
|
+
|
|
15503
|
+
.\!k-bg-top-right {
|
|
15504
|
+
background-position: top right !important;
|
|
15505
|
+
}
|
|
15506
|
+
|
|
15507
|
+
.k-bg-bottom-left {
|
|
15508
|
+
background-position: bottom left;
|
|
15509
|
+
}
|
|
15510
|
+
|
|
15511
|
+
.\!k-bg-bottom-left {
|
|
15512
|
+
background-position: bottom left !important;
|
|
15513
|
+
}
|
|
15514
|
+
|
|
15515
|
+
.k-bg-bottom-right {
|
|
15516
|
+
background-position: bottom right;
|
|
15517
|
+
}
|
|
15518
|
+
|
|
15519
|
+
.\!k-bg-bottom-right {
|
|
15520
|
+
background-position: bottom right !important;
|
|
15521
|
+
}
|
|
15522
|
+
|
|
15523
|
+
.k-bg-auto {
|
|
15524
|
+
background-size: auto;
|
|
15525
|
+
}
|
|
15526
|
+
|
|
15527
|
+
.\!k-bg-auto {
|
|
15528
|
+
background-size: auto !important;
|
|
15529
|
+
}
|
|
15530
|
+
|
|
15531
|
+
.k-bg-cover {
|
|
15532
|
+
background-size: cover;
|
|
15533
|
+
}
|
|
15534
|
+
|
|
15535
|
+
.\!k-bg-cover {
|
|
15536
|
+
background-size: cover !important;
|
|
15537
|
+
}
|
|
15538
|
+
|
|
15539
|
+
.k-bg-contain {
|
|
15540
|
+
background-size: contain;
|
|
15541
|
+
}
|
|
15542
|
+
|
|
15543
|
+
.\!k-bg-contain {
|
|
15544
|
+
background-size: contain !important;
|
|
15545
|
+
}
|
|
15546
|
+
|
|
15451
15547
|
.k-border-inherit {
|
|
15452
15548
|
border-color: inherit;
|
|
15453
15549
|
}
|
package/dist/all.scss
CHANGED
|
@@ -2433,6 +2433,22 @@ $kendo-utils: (
|
|
|
2433
2433
|
"black": black,
|
|
2434
2434
|
"white": white
|
|
2435
2435
|
)),
|
|
2436
|
+
"background-position": (
|
|
2437
|
+
center: center,
|
|
2438
|
+
top: top,
|
|
2439
|
+
right: right,
|
|
2440
|
+
bottom: bottom,
|
|
2441
|
+
left: left,
|
|
2442
|
+
top-left: top left,
|
|
2443
|
+
top-right: top right,
|
|
2444
|
+
bottom-left: bottom left,
|
|
2445
|
+
bottom-right: bottom right
|
|
2446
|
+
),
|
|
2447
|
+
"background-size": (
|
|
2448
|
+
auto,
|
|
2449
|
+
cover,
|
|
2450
|
+
contain
|
|
2451
|
+
),
|
|
2436
2452
|
|
|
2437
2453
|
// Border
|
|
2438
2454
|
"border-width": (
|
|
@@ -2842,25 +2858,25 @@ $kendo-utils: (
|
|
|
2842
2858
|
/// This is equivalent to `clear: left;`.
|
|
2843
2859
|
/// @example clear: left;
|
|
2844
2860
|
/// @name .k-clear-left
|
|
2845
|
-
/// @group
|
|
2861
|
+
/// @group clear
|
|
2846
2862
|
/// @contextType css
|
|
2847
2863
|
|
|
2848
2864
|
/// This is equivalent to `clear: right;`.
|
|
2849
2865
|
/// @example clear: right;
|
|
2850
2866
|
/// @name .k-clear-right
|
|
2851
|
-
/// @group
|
|
2867
|
+
/// @group clear
|
|
2852
2868
|
/// @contextType css
|
|
2853
2869
|
|
|
2854
2870
|
/// This is equivalent to `clear: both;`.
|
|
2855
2871
|
/// @example clear: both;
|
|
2856
2872
|
/// @name .k-clear-both
|
|
2857
|
-
/// @group
|
|
2873
|
+
/// @group clear
|
|
2858
2874
|
/// @contextType css
|
|
2859
2875
|
|
|
2860
2876
|
/// This is equivalent to `clear: none;`.
|
|
2861
2877
|
/// @example clear: none;
|
|
2862
2878
|
/// @name .k-clear-none
|
|
2863
|
-
/// @group
|
|
2879
|
+
/// @group clear
|
|
2864
2880
|
/// @contextType css
|
|
2865
2881
|
|
|
2866
2882
|
@mixin kendo-utils--layout--clear() {
|
|
@@ -3305,91 +3321,91 @@ $kendo-utils: (
|
|
|
3305
3321
|
/// This is equivalent to `top: 0;`.
|
|
3306
3322
|
/// @example top: 0;
|
|
3307
3323
|
/// @name .k-top-0
|
|
3308
|
-
/// @group
|
|
3324
|
+
/// @group placement
|
|
3309
3325
|
/// @contextType css
|
|
3310
3326
|
|
|
3311
3327
|
/// This is equivalent to `right: 0;`.
|
|
3312
3328
|
/// @example right: 0;
|
|
3313
3329
|
/// @name .k-right-0
|
|
3314
|
-
/// @group
|
|
3330
|
+
/// @group placement
|
|
3315
3331
|
/// @contextType css
|
|
3316
3332
|
|
|
3317
3333
|
/// This is equivalent to `bottom: 0;`.
|
|
3318
3334
|
/// @example bottom: 0;
|
|
3319
3335
|
/// @name .k-bottom-0
|
|
3320
|
-
/// @group
|
|
3336
|
+
/// @group placement
|
|
3321
3337
|
/// @contextType css
|
|
3322
3338
|
|
|
3323
3339
|
/// This is equivalent to `left: 0;`.
|
|
3324
3340
|
/// @example left: 0;
|
|
3325
3341
|
/// @name .k-left-0
|
|
3326
|
-
/// @group
|
|
3342
|
+
/// @group placement
|
|
3327
3343
|
/// @contextType css
|
|
3328
3344
|
|
|
3329
3345
|
/// This is equivalent to `top: 0;`.
|
|
3330
3346
|
/// @example top: 0;
|
|
3331
3347
|
/// @name .k-pos-top-0
|
|
3332
|
-
/// @group
|
|
3348
|
+
/// @group placement
|
|
3333
3349
|
/// @contextType css
|
|
3334
3350
|
|
|
3335
3351
|
/// This is equivalent to `right: 0;`.
|
|
3336
3352
|
/// @example right: 0;
|
|
3337
3353
|
/// @name .k-pos-right-0
|
|
3338
|
-
/// @group
|
|
3354
|
+
/// @group placement
|
|
3339
3355
|
/// @contextType css
|
|
3340
3356
|
|
|
3341
3357
|
/// This is equivalent to `bottom: 0;`.
|
|
3342
3358
|
/// @example bottom: 0;
|
|
3343
3359
|
/// @name .k-pos-bottom-0
|
|
3344
|
-
/// @group
|
|
3360
|
+
/// @group placement
|
|
3345
3361
|
/// @contextType css
|
|
3346
3362
|
|
|
3347
3363
|
/// This is equivalent to `left: 0;`.
|
|
3348
3364
|
/// @example left: 0;
|
|
3349
3365
|
/// @name .k-pos-left-0
|
|
3350
|
-
/// @group
|
|
3366
|
+
/// @group placement
|
|
3351
3367
|
/// @contextType css
|
|
3352
3368
|
|
|
3353
3369
|
/// This is equivalent to `top: 0; left: 0;`.
|
|
3354
3370
|
/// @example top: 0; left: 0;
|
|
3355
3371
|
/// @name .k-top-left-0
|
|
3356
|
-
/// @group
|
|
3372
|
+
/// @group placement
|
|
3357
3373
|
/// @contextType css
|
|
3358
3374
|
|
|
3359
3375
|
/// This is equivalent to `top: 0; right: 0;`.
|
|
3360
3376
|
/// @example top: 0; right: 0;
|
|
3361
3377
|
/// @name .k-top-right-0
|
|
3362
|
-
/// @group
|
|
3378
|
+
/// @group placement
|
|
3363
3379
|
/// @contextType css
|
|
3364
3380
|
|
|
3365
3381
|
/// This is equivalent to `bottom: 0; left: 0;`.
|
|
3366
3382
|
/// @example bottom: 0; left: 0;
|
|
3367
3383
|
/// @name .k-bottom-left-0
|
|
3368
|
-
/// @group
|
|
3384
|
+
/// @group placement
|
|
3369
3385
|
/// @contextType css
|
|
3370
3386
|
|
|
3371
3387
|
/// This is equivalent to `bottom: 0; right: 0;`.
|
|
3372
3388
|
/// @example bottom: 0; right: 0;
|
|
3373
3389
|
/// @name .k-bottom-right-0
|
|
3374
|
-
/// @group
|
|
3390
|
+
/// @group placement
|
|
3375
3391
|
/// @contextType css
|
|
3376
3392
|
|
|
3377
|
-
/// This is equivalent to `inset: 0;`.
|
|
3393
|
+
/// This is equivalent to `inset: 0;`.
|
|
3378
3394
|
/// @example inset: 0;
|
|
3379
3395
|
/// @name .k-inset-0
|
|
3380
|
-
/// @group
|
|
3396
|
+
/// @group placement
|
|
3381
3397
|
/// @contextType css
|
|
3382
3398
|
|
|
3383
3399
|
/// This is equivalent to `inset-inline: 0;`.
|
|
3384
3400
|
/// @example inset-inline: 0;
|
|
3385
3401
|
/// @name .k-inset-x-0
|
|
3386
|
-
/// @group
|
|
3402
|
+
/// @group placement
|
|
3387
3403
|
/// @contextType css
|
|
3388
3404
|
|
|
3389
3405
|
/// This is equivalent to `inset-block: 0;`.
|
|
3390
3406
|
/// @example inset-block: 0;
|
|
3391
3407
|
/// @name .k-inset-y-0
|
|
3392
|
-
/// @group
|
|
3408
|
+
/// @group placement
|
|
3393
3409
|
/// @contextType css
|
|
3394
3410
|
|
|
3395
3411
|
@mixin kendo-utils--layout--placement() {
|
|
@@ -3401,7 +3417,7 @@ $kendo-utils: (
|
|
|
3401
3417
|
@include generate-utils( left, left, $kendo-utils-placement );
|
|
3402
3418
|
|
|
3403
3419
|
|
|
3404
|
-
//
|
|
3420
|
+
// placement length utility classes
|
|
3405
3421
|
@each $side in (top, right, bottom, left) {
|
|
3406
3422
|
.#{$kendo-prefix}#{$side},
|
|
3407
3423
|
.#{$kendo-prefix}pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
|
|
@@ -4294,37 +4310,37 @@ $kendo-utils: (
|
|
|
4294
4310
|
// #region @import "./_grid-auto-flow.scss"; -> scss/flex-grid/_grid-auto-flow.scss
|
|
4295
4311
|
/// This is equivalent to `grid-auto-flow: row;`.
|
|
4296
4312
|
/// @example grid-auto-flow: row;
|
|
4297
|
-
/// @name .k-grid-
|
|
4313
|
+
/// @name .k-grid-flow-row
|
|
4298
4314
|
/// @group grid-auto-flow
|
|
4299
4315
|
/// @contextType css
|
|
4300
4316
|
|
|
4301
4317
|
/// This is equivalent to `grid-auto-flow: column;`.
|
|
4302
4318
|
/// @example grid-auto-flow: column;
|
|
4303
|
-
/// @name .k-grid-
|
|
4319
|
+
/// @name .k-grid-flow-column
|
|
4304
4320
|
/// @group grid-auto-flow
|
|
4305
4321
|
/// @contextType css
|
|
4306
4322
|
|
|
4307
4323
|
/// This is equivalent to `grid-auto-flow: dense;`.
|
|
4308
4324
|
/// @example grid-auto-flow: dense;
|
|
4309
|
-
/// @name .k-grid-
|
|
4325
|
+
/// @name .k-grid-flow-dense
|
|
4310
4326
|
/// @group grid-auto-flow
|
|
4311
4327
|
/// @contextType css
|
|
4312
4328
|
|
|
4313
4329
|
/// This is equivalent to `grid-auto-flow: row dense;`.
|
|
4314
4330
|
/// @example grid-auto-flow: row dense;
|
|
4315
|
-
/// @name .k-grid-
|
|
4331
|
+
/// @name .k-grid-flow-row-dense
|
|
4316
4332
|
/// @group grid-auto-flow
|
|
4317
4333
|
/// @contextType css
|
|
4318
4334
|
|
|
4319
4335
|
/// This is equivalent to `grid-auto-flow: col dense;`.
|
|
4320
4336
|
/// @example grid-auto-flow: col dense;
|
|
4321
|
-
/// @name .k-grid-
|
|
4337
|
+
/// @name .k-grid-flow-col-dense
|
|
4322
4338
|
/// @group grid-auto-flow
|
|
4323
4339
|
/// @contextType css
|
|
4324
4340
|
|
|
4325
4341
|
/// This is equivalent to `grid-auto-flow: unset;`.
|
|
4326
4342
|
/// @example grid-auto-flow: unset;
|
|
4327
|
-
/// @name .k-grid-
|
|
4343
|
+
/// @name .k-grid-flow-unset
|
|
4328
4344
|
/// @group grid-auto-flow
|
|
4329
4345
|
/// @contextType css
|
|
4330
4346
|
|
|
@@ -5696,7 +5712,7 @@ $kendo-utils: (
|
|
|
5696
5712
|
|
|
5697
5713
|
/// This is equivalent to `padding: 0.75rem;`.
|
|
5698
5714
|
/// @example padding: 0.75rem;
|
|
5699
|
-
/// @name .k-p-
|
|
5715
|
+
/// @name .k-p-md
|
|
5700
5716
|
/// @group padding
|
|
5701
5717
|
/// @contextType css
|
|
5702
5718
|
|
|
@@ -7091,12 +7107,106 @@ $kendo-utils: (
|
|
|
7091
7107
|
|
|
7092
7108
|
}
|
|
7093
7109
|
|
|
7110
|
+
// #endregion
|
|
7111
|
+
// #region @import "./_background-position.scss"; -> scss/background/_background-position.scss
|
|
7112
|
+
/// This is equivalent to `background-position: center;`.
|
|
7113
|
+
/// @example background-position: center;
|
|
7114
|
+
/// @name .k-bg-center
|
|
7115
|
+
/// @group background-position
|
|
7116
|
+
/// @contextType css
|
|
7117
|
+
|
|
7118
|
+
/// This is equivalent to `background-position: top;`.
|
|
7119
|
+
/// @example background-position: top;
|
|
7120
|
+
/// @name .k-bg-top
|
|
7121
|
+
/// @group background-position
|
|
7122
|
+
/// @contextType css
|
|
7123
|
+
|
|
7124
|
+
/// This is equivalent to `background-position: right;`.
|
|
7125
|
+
/// @example background-position: right;
|
|
7126
|
+
/// @name .k-bg-right
|
|
7127
|
+
/// @group background-position
|
|
7128
|
+
/// @contextType css
|
|
7129
|
+
|
|
7130
|
+
/// This is equivalent to `background-position: bottom;`.
|
|
7131
|
+
/// @example background-position: bottom;
|
|
7132
|
+
/// @name .k-bg-bottom
|
|
7133
|
+
/// @group background-position
|
|
7134
|
+
/// @contextType css
|
|
7135
|
+
|
|
7136
|
+
/// This is equivalent to `background-position: left;`.
|
|
7137
|
+
/// @example background-position: left;
|
|
7138
|
+
/// @name .k-bg-left
|
|
7139
|
+
/// @group background-position
|
|
7140
|
+
/// @contextType css
|
|
7141
|
+
|
|
7142
|
+
/// This is equivalent to `background-position: top left;`.
|
|
7143
|
+
/// @example background-position: top left;
|
|
7144
|
+
/// @name .k-bg-top-left
|
|
7145
|
+
/// @group background-position
|
|
7146
|
+
/// @contextType css
|
|
7147
|
+
|
|
7148
|
+
/// This is equivalent to `background-position: top right;`.
|
|
7149
|
+
/// @example background-position: top right;
|
|
7150
|
+
/// @name .k-bg-top-right
|
|
7151
|
+
/// @group background-position
|
|
7152
|
+
/// @contextType css
|
|
7153
|
+
|
|
7154
|
+
/// This is equivalent to `background-position: bottom left;`.
|
|
7155
|
+
/// @example background-position: bottom left;
|
|
7156
|
+
/// @name .k-bg-bottom-left
|
|
7157
|
+
/// @group background-position
|
|
7158
|
+
/// @contextType css
|
|
7159
|
+
|
|
7160
|
+
/// This is equivalent to `background-position: bottom right;`.
|
|
7161
|
+
/// @example background-position: bottom right;
|
|
7162
|
+
/// @name .k-bg-bottom-right
|
|
7163
|
+
/// @group background-position
|
|
7164
|
+
/// @contextType css
|
|
7165
|
+
|
|
7166
|
+
@mixin kendo-utils--background--background-position() {
|
|
7167
|
+
|
|
7168
|
+
// Background position utility classes
|
|
7169
|
+
$kendo-utils-background-position: k-map-get( $kendo-utils, "background-position" ) !default;
|
|
7170
|
+
@include generate-utils( bg, background-position, $kendo-utils-background-position );
|
|
7171
|
+
|
|
7172
|
+
}
|
|
7173
|
+
|
|
7174
|
+
// #endregion
|
|
7175
|
+
// #region @import "./_background-size.scss"; -> scss/background/_background-size.scss
|
|
7176
|
+
/// This is equivalent to `background-size: auto;`.
|
|
7177
|
+
/// @example background-size: auto;
|
|
7178
|
+
/// @name .k-bg-auto
|
|
7179
|
+
/// @group background-size
|
|
7180
|
+
/// @contextType css
|
|
7181
|
+
|
|
7182
|
+
/// This is equivalent to `background-size: cover;`.
|
|
7183
|
+
/// @example background-size: cover;
|
|
7184
|
+
/// @name .k-bg-cover
|
|
7185
|
+
/// @group background-size
|
|
7186
|
+
/// @contextType css
|
|
7187
|
+
|
|
7188
|
+
/// This is equivalent to `background-size: contain;`.
|
|
7189
|
+
/// @example background-size: contain;
|
|
7190
|
+
/// @name .k-bg-contain
|
|
7191
|
+
/// @group background-size
|
|
7192
|
+
/// @contextType css
|
|
7193
|
+
|
|
7194
|
+
@mixin kendo-utils--background--background-size() {
|
|
7195
|
+
|
|
7196
|
+
// Background size utility classes
|
|
7197
|
+
$kendo-utils-background-size: k-map-get( $kendo-utils, "background-size" ) !default;
|
|
7198
|
+
@include generate-utils( bg, background-size, $kendo-utils-background-size );
|
|
7199
|
+
|
|
7200
|
+
}
|
|
7201
|
+
|
|
7094
7202
|
// #endregion
|
|
7095
7203
|
|
|
7096
7204
|
|
|
7097
7205
|
@mixin kendo-utils--background() {
|
|
7098
7206
|
@include kendo-utils--background--background-clip();
|
|
7099
7207
|
@include kendo-utils--background--background-color();
|
|
7208
|
+
@include kendo-utils--background--background-position();
|
|
7209
|
+
@include kendo-utils--background--background-size();
|
|
7100
7210
|
}
|
|
7101
7211
|
|
|
7102
7212
|
// #endregion
|