@progress/kendo-theme-core 6.2.1-dev.0 → 6.2.1-dev.44
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.scss +39 -7
- package/dist/meta/sassdoc-data.json +118 -0
- package/dist/meta/sassdoc-raw-data.json +114 -1
- package/dist/meta/variables.json +1 -1
- package/package.json +2 -2
- package/scss/functions/_map.import.scss +24 -0
- package/scss/module-system/_components.scss +1 -2
- package/scss/module-system/_dependencies.scss +1 -1
- package/scss/module-system/index.import.scss +13 -4
package/dist/all.scss
CHANGED
|
@@ -1272,6 +1272,30 @@ $_kendo-escape-class-name: (
|
|
|
1272
1272
|
@return map-values( $map );
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
|
+
/// Returns negative values of a number or numbers in a list.
|
|
1276
|
+
/// @param {Map} $map - The map to get the values from.
|
|
1277
|
+
/// @return {Map} - A comma separated list of the values in `$map`.
|
|
1278
|
+
///
|
|
1279
|
+
/// @example scss - Usage
|
|
1280
|
+
/// @debug k-map-negate( ( 0: 0, 1: 1px, 2: 2px ) ); // => ("-1": -1px, "-2": -2px)
|
|
1281
|
+
@function k-map-negate($map) {
|
|
1282
|
+
$_map-neg: ();
|
|
1283
|
+
|
|
1284
|
+
@if( k-meta-type-of($map) != map ) {
|
|
1285
|
+
@error "expected type of #{$map} is map, was #{k-meta-type-of($map)}";
|
|
1286
|
+
};
|
|
1287
|
+
@each $key, $value in $map {
|
|
1288
|
+
$_key-neg: "-" + $key;
|
|
1289
|
+
|
|
1290
|
+
@if( k-meta-type-of($value) == number and $value != 0) {
|
|
1291
|
+
$_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
@return $_map-neg;
|
|
1296
|
+
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1275
1299
|
// #endregion
|
|
1276
1300
|
// #region @import "./_meta.import.scss"; -> scss/functions/_meta.import.scss
|
|
1277
1301
|
// Adapted from https://css-tricks.com/snippets/sass/advanced-type-checking/
|
|
@@ -2997,7 +3021,6 @@ $kendo-components: (
|
|
|
2997
3021
|
// Typography and utils
|
|
2998
3022
|
"typography",
|
|
2999
3023
|
"utils",
|
|
3000
|
-
"cursor",
|
|
3001
3024
|
"draggable",
|
|
3002
3025
|
|
|
3003
3026
|
// Generic content
|
|
@@ -3126,7 +3149,7 @@ $kendo-components: (
|
|
|
3126
3149
|
"timeline",
|
|
3127
3150
|
"pdf-viewer",
|
|
3128
3151
|
"scroller",
|
|
3129
|
-
"
|
|
3152
|
+
"scrollview",
|
|
3130
3153
|
|
|
3131
3154
|
// Dataviz
|
|
3132
3155
|
"dataviz",
|
|
@@ -3475,7 +3498,7 @@ $_kendo-dependencies: (
|
|
|
3475
3498
|
"tooltip"
|
|
3476
3499
|
),
|
|
3477
3500
|
scroller: (),
|
|
3478
|
-
|
|
3501
|
+
scrollview: (
|
|
3479
3502
|
"button"
|
|
3480
3503
|
),
|
|
3481
3504
|
searchbox: (
|
|
@@ -3617,8 +3640,8 @@ $_kendo-dependencies: (
|
|
|
3617
3640
|
|
|
3618
3641
|
// #endregion
|
|
3619
3642
|
|
|
3620
|
-
$_deps: ();
|
|
3621
|
-
$_imported: ();
|
|
3643
|
+
$_deps: () !default;
|
|
3644
|
+
$_imported: () !default;
|
|
3622
3645
|
|
|
3623
3646
|
@mixin module-register( $name: null, $dependencies: null ) {
|
|
3624
3647
|
@if (k-list-index( $kendo-components, $name) != null) {
|
|
@@ -3647,8 +3670,8 @@ $_imported: ();
|
|
|
3647
3670
|
}
|
|
3648
3671
|
}
|
|
3649
3672
|
|
|
3650
|
-
@if ( k-list-index( $kendo-components, $name ) != null ) and ( k-list-index( $_imported, $name ) == null )
|
|
3651
|
-
$_imported: k-list-append( $_imported, $name );
|
|
3673
|
+
@if ( k-list-index( $kendo-components, $name ) != null ) and ( k-list-index( $_imported, $name ) == null ) {
|
|
3674
|
+
$_imported: k-list-append( $_imported, $name ) !global;
|
|
3652
3675
|
@content;
|
|
3653
3676
|
}
|
|
3654
3677
|
}
|
|
@@ -3663,6 +3686,15 @@ $_imported: ();
|
|
|
3663
3686
|
}
|
|
3664
3687
|
@include verify-dependencies();
|
|
3665
3688
|
|
|
3689
|
+
@mixin verify-rendered() {
|
|
3690
|
+
@each $component in $kendo-components {
|
|
3691
|
+
@if (k-list-index( $_imported, $component ) == null) {
|
|
3692
|
+
// sass-lint:disable-block no-warn
|
|
3693
|
+
@error "Module '#{$component}' has not been rendered.";
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
}
|
|
3697
|
+
|
|
3666
3698
|
// #endregion
|
|
3667
3699
|
// #region @import "./styles/index.import.scss"; -> scss/styles/index.import.scss
|
|
3668
3700
|
// #region @import "./_accessibility.scss"; -> scss/styles/_accessibility.scss
|
|
@@ -3195,6 +3195,21 @@
|
|
|
3195
3195
|
"path": "functions/_map.import.scss",
|
|
3196
3196
|
"name": "_map.import.scss"
|
|
3197
3197
|
},
|
|
3198
|
+
"usedBy": [
|
|
3199
|
+
{
|
|
3200
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
3201
|
+
"context": {
|
|
3202
|
+
"type": "function",
|
|
3203
|
+
"name": "k-map-negate",
|
|
3204
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
3205
|
+
"line": {
|
|
3206
|
+
"start": 89,
|
|
3207
|
+
"end": 105
|
|
3208
|
+
},
|
|
3209
|
+
"signature": "k-map-negate($map)"
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
],
|
|
3198
3213
|
"examples": [
|
|
3199
3214
|
{
|
|
3200
3215
|
"type": "scss",
|
|
@@ -3264,6 +3279,70 @@
|
|
|
3264
3279
|
}
|
|
3265
3280
|
]
|
|
3266
3281
|
},
|
|
3282
|
+
{
|
|
3283
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
3284
|
+
"commentRange": {
|
|
3285
|
+
"start": 83,
|
|
3286
|
+
"end": 88
|
|
3287
|
+
},
|
|
3288
|
+
"context": {
|
|
3289
|
+
"type": "function",
|
|
3290
|
+
"name": "k-map-negate",
|
|
3291
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
3292
|
+
"line": {
|
|
3293
|
+
"start": 89,
|
|
3294
|
+
"end": 105
|
|
3295
|
+
},
|
|
3296
|
+
"signature": "k-map-negate($map)"
|
|
3297
|
+
},
|
|
3298
|
+
"return": {
|
|
3299
|
+
"type": "Map",
|
|
3300
|
+
"description": "A comma separated list of the values in `$map`.\n"
|
|
3301
|
+
},
|
|
3302
|
+
"access": "public",
|
|
3303
|
+
"group": [
|
|
3304
|
+
"undefined"
|
|
3305
|
+
],
|
|
3306
|
+
"require": [
|
|
3307
|
+
{
|
|
3308
|
+
"type": "function",
|
|
3309
|
+
"name": "k-meta-type-of"
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"type": "function",
|
|
3313
|
+
"name": "k-meta-type-of"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"type": "function",
|
|
3317
|
+
"name": "k-meta-type-of"
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"type": "function",
|
|
3321
|
+
"name": "k-map-set"
|
|
3322
|
+
}
|
|
3323
|
+
],
|
|
3324
|
+
"throw": [
|
|
3325
|
+
"expected type of #{$map} is map, was #{k-meta-type-of($map)}"
|
|
3326
|
+
],
|
|
3327
|
+
"file": {
|
|
3328
|
+
"path": "functions/_map.import.scss",
|
|
3329
|
+
"name": "_map.import.scss"
|
|
3330
|
+
},
|
|
3331
|
+
"examples": [
|
|
3332
|
+
{
|
|
3333
|
+
"type": "scss",
|
|
3334
|
+
"code": "@debug k-map-negate( ( 0: 0, 1: 1px, 2: 2px ) ); // => (\"-1\": -1px, \"-2\": -2px)",
|
|
3335
|
+
"description": "Usage"
|
|
3336
|
+
}
|
|
3337
|
+
],
|
|
3338
|
+
"parameters": [
|
|
3339
|
+
{
|
|
3340
|
+
"type": "Map",
|
|
3341
|
+
"name": "map",
|
|
3342
|
+
"description": "The map to get the values from."
|
|
3343
|
+
}
|
|
3344
|
+
]
|
|
3345
|
+
},
|
|
3267
3346
|
{
|
|
3268
3347
|
"description": "Returns the absolute value of a number.\n",
|
|
3269
3348
|
"commentRange": {
|
|
@@ -4628,6 +4707,45 @@
|
|
|
4628
4707
|
"name": "_meta.import.scss"
|
|
4629
4708
|
},
|
|
4630
4709
|
"usedBy": [
|
|
4710
|
+
{
|
|
4711
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
4712
|
+
"context": {
|
|
4713
|
+
"type": "function",
|
|
4714
|
+
"name": "k-map-negate",
|
|
4715
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
4716
|
+
"line": {
|
|
4717
|
+
"start": 89,
|
|
4718
|
+
"end": 105
|
|
4719
|
+
},
|
|
4720
|
+
"signature": "k-map-negate($map)"
|
|
4721
|
+
}
|
|
4722
|
+
},
|
|
4723
|
+
{
|
|
4724
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
4725
|
+
"context": {
|
|
4726
|
+
"type": "function",
|
|
4727
|
+
"name": "k-map-negate",
|
|
4728
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
4729
|
+
"line": {
|
|
4730
|
+
"start": 89,
|
|
4731
|
+
"end": 105
|
|
4732
|
+
},
|
|
4733
|
+
"signature": "k-map-negate($map)"
|
|
4734
|
+
}
|
|
4735
|
+
},
|
|
4736
|
+
{
|
|
4737
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
4738
|
+
"context": {
|
|
4739
|
+
"type": "function",
|
|
4740
|
+
"name": "k-map-negate",
|
|
4741
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
4742
|
+
"line": {
|
|
4743
|
+
"start": 89,
|
|
4744
|
+
"end": 105
|
|
4745
|
+
},
|
|
4746
|
+
"signature": "k-map-negate($map)"
|
|
4747
|
+
}
|
|
4748
|
+
},
|
|
4631
4749
|
{
|
|
4632
4750
|
"description": "Remove the unit from a number.\n",
|
|
4633
4751
|
"context": {
|
|
@@ -3428,7 +3428,21 @@
|
|
|
3428
3428
|
"file": {
|
|
3429
3429
|
"path": "functions/_map.import.scss",
|
|
3430
3430
|
"name": "_map.import.scss"
|
|
3431
|
-
}
|
|
3431
|
+
},
|
|
3432
|
+
"usedBy": [
|
|
3433
|
+
{
|
|
3434
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
3435
|
+
"context": {
|
|
3436
|
+
"type": "function",
|
|
3437
|
+
"name": "k-map-negate",
|
|
3438
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
3439
|
+
"line": {
|
|
3440
|
+
"start": 89,
|
|
3441
|
+
"end": 105
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
]
|
|
3432
3446
|
},
|
|
3433
3447
|
{
|
|
3434
3448
|
"description": "Returns a comma separated list of the values in `$map`.\n",
|
|
@@ -3473,6 +3487,69 @@
|
|
|
3473
3487
|
"name": "_map.import.scss"
|
|
3474
3488
|
}
|
|
3475
3489
|
},
|
|
3490
|
+
{
|
|
3491
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
3492
|
+
"commentRange": {
|
|
3493
|
+
"start": 83,
|
|
3494
|
+
"end": 88
|
|
3495
|
+
},
|
|
3496
|
+
"context": {
|
|
3497
|
+
"type": "function",
|
|
3498
|
+
"name": "k-map-negate",
|
|
3499
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
3500
|
+
"line": {
|
|
3501
|
+
"start": 89,
|
|
3502
|
+
"end": 105
|
|
3503
|
+
}
|
|
3504
|
+
},
|
|
3505
|
+
"parameter": [
|
|
3506
|
+
{
|
|
3507
|
+
"type": "Map",
|
|
3508
|
+
"name": "map",
|
|
3509
|
+
"description": "The map to get the values from."
|
|
3510
|
+
}
|
|
3511
|
+
],
|
|
3512
|
+
"return": {
|
|
3513
|
+
"type": "Map",
|
|
3514
|
+
"description": "A comma separated list of the values in `$map`.\n"
|
|
3515
|
+
},
|
|
3516
|
+
"example": [
|
|
3517
|
+
{
|
|
3518
|
+
"type": "scss",
|
|
3519
|
+
"code": "@debug k-map-negate( ( 0: 0, 1: 1px, 2: 2px ) ); // => (\"-1\": -1px, \"-2\": -2px)",
|
|
3520
|
+
"description": "Usage"
|
|
3521
|
+
}
|
|
3522
|
+
],
|
|
3523
|
+
"access": "public",
|
|
3524
|
+
"group": [
|
|
3525
|
+
"undefined"
|
|
3526
|
+
],
|
|
3527
|
+
"require": [
|
|
3528
|
+
{
|
|
3529
|
+
"type": "function",
|
|
3530
|
+
"name": "k-meta-type-of"
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"type": "function",
|
|
3534
|
+
"name": "k-meta-type-of"
|
|
3535
|
+
},
|
|
3536
|
+
{
|
|
3537
|
+
"type": "function",
|
|
3538
|
+
"name": "k-meta-type-of"
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"type": "function",
|
|
3542
|
+
"name": "k-map-set"
|
|
3543
|
+
}
|
|
3544
|
+
],
|
|
3545
|
+
"throw": [
|
|
3546
|
+
"expected type of #{$map} is map, was #{k-meta-type-of($map)}"
|
|
3547
|
+
],
|
|
3548
|
+
"file": {
|
|
3549
|
+
"path": "functions/_map.import.scss",
|
|
3550
|
+
"name": "_map.import.scss"
|
|
3551
|
+
}
|
|
3552
|
+
},
|
|
3476
3553
|
{
|
|
3477
3554
|
"description": "Returns the absolute value of a number.\n",
|
|
3478
3555
|
"commentRange": {
|
|
@@ -4809,6 +4886,42 @@
|
|
|
4809
4886
|
"name": "_meta.import.scss"
|
|
4810
4887
|
},
|
|
4811
4888
|
"usedBy": [
|
|
4889
|
+
{
|
|
4890
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
4891
|
+
"context": {
|
|
4892
|
+
"type": "function",
|
|
4893
|
+
"name": "k-map-negate",
|
|
4894
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
4895
|
+
"line": {
|
|
4896
|
+
"start": 89,
|
|
4897
|
+
"end": 105
|
|
4898
|
+
}
|
|
4899
|
+
}
|
|
4900
|
+
},
|
|
4901
|
+
{
|
|
4902
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
4903
|
+
"context": {
|
|
4904
|
+
"type": "function",
|
|
4905
|
+
"name": "k-map-negate",
|
|
4906
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
4907
|
+
"line": {
|
|
4908
|
+
"start": 89,
|
|
4909
|
+
"end": 105
|
|
4910
|
+
}
|
|
4911
|
+
}
|
|
4912
|
+
},
|
|
4913
|
+
{
|
|
4914
|
+
"description": "Returns negative values of a number or numbers in a list.\n",
|
|
4915
|
+
"context": {
|
|
4916
|
+
"type": "function",
|
|
4917
|
+
"name": "k-map-negate",
|
|
4918
|
+
"code": "\n $_map-neg: ();\n\n @if( k-meta-type-of($map) != map ) {\n @error \"expected type of #{$map} is map, was #{k-meta-type-of($map)}\";\n };\n @each $key, $value in $map {\n $_key-neg: \"-\" + $key;\n\n @if( k-meta-type-of($value) == number and $value != 0) {\n $_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );\n }\n }\n\n @return $_map-neg;\n\n",
|
|
4919
|
+
"line": {
|
|
4920
|
+
"start": 89,
|
|
4921
|
+
"end": 105
|
|
4922
|
+
}
|
|
4923
|
+
}
|
|
4924
|
+
},
|
|
4812
4925
|
{
|
|
4813
4926
|
"description": "Remove the unit from a number.\n",
|
|
4814
4927
|
"context": {
|
package/dist/meta/variables.json
CHANGED
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
},
|
|
74
74
|
"kendo-components": {
|
|
75
75
|
"type": "List",
|
|
76
|
-
"value": "\"typography\", \"utils\", \"
|
|
76
|
+
"value": "\"typography\", \"utils\", \"draggable\", \"table\", \"icon\", \"chip\", \"messagebox\", \"input\", \"list\", \"listgroup\", \"overlay\", \"ripple\", \"virtual-scroller\", \"avatar\", \"badge\", \"color-preview\", \"loader\", \"skeleton\", \"tooltip\", \"button\", \"split-button\", \"menu-button\", \"textbox\", \"textarea\", \"checkbox\", \"listbox\", \"progressbar\", \"radio\", \"slider\", \"form\", \"validator\", \"floating-label\", \"calendar\", \"popup\", \"time-selector\", \"autocomplete\", \"captcha\", \"color-palette\", \"color-gradient\", \"color-editor\", \"color-picker\", \"combobox\", \"date-input\", \"date-picker\", \"time-picker\", \"date-time-picker\", \"date-range-picker\", \"dropdown-grid\", \"dropdown-list\", \"dropdown-tree\", \"masked-textbox\", \"multiselect\", \"numeric-textbox\", \"rating\", \"searchbox\", \"switch\", \"upload\", \"dropzone\", \"actions\", \"appbar\", \"fab\", \"menu\", \"toolbar\", \"action-sheet\", \"dialog\", \"drawer\", \"notification\", \"popover\", \"responsive-panel\", \"window\", \"bottom-navigation\", \"breadcrumb\", \"pager\", \"stepper\", \"tabstrip\", \"treeview\", \"wizard\", \"card\", \"expander\", \"panelbar\", \"splitter\", \"tile-layout\", \"grid\", \"listview\", \"spreadsheet\", \"pivotgrid\", \"treelist\", \"filter\", \"file-manager\", \"task-board\", \"editor\", \"image-editor\", \"gantt\", \"scheduler\", \"adaptive\", \"chat\", \"media-player\", \"timeline\", \"pdf-viewer\", \"scroller\", \"scrollview\", \"dataviz\", \"map\", \"orgchart\", \"signature\""
|
|
77
77
|
}
|
|
78
78
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-core",
|
|
3
3
|
"description": "A collection of functions and mixins used for building themes for Kendo UI",
|
|
4
|
-
"version": "6.2.1-dev.
|
|
4
|
+
"version": "6.2.1-dev.44+34fe2f00e",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"prepublishOnly": "node ../../scripts/themes-prepublish.js",
|
|
40
40
|
"postpublish": "echo 'no postpublish for core theme'"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "34fe2f00e792deed2954e13a8cc2e5f39e20a5fa"
|
|
43
43
|
}
|
|
@@ -79,3 +79,27 @@
|
|
|
79
79
|
@function k-map-values( $map ) {
|
|
80
80
|
@return map-values( $map );
|
|
81
81
|
}
|
|
82
|
+
|
|
83
|
+
/// Returns negative values of a number or numbers in a list.
|
|
84
|
+
/// @param {Map} $map - The map to get the values from.
|
|
85
|
+
/// @return {Map} - A comma separated list of the values in `$map`.
|
|
86
|
+
///
|
|
87
|
+
/// @example scss - Usage
|
|
88
|
+
/// @debug k-map-negate( ( 0: 0, 1: 1px, 2: 2px ) ); // => ("-1": -1px, "-2": -2px)
|
|
89
|
+
@function k-map-negate($map) {
|
|
90
|
+
$_map-neg: ();
|
|
91
|
+
|
|
92
|
+
@if( k-meta-type-of($map) != map ) {
|
|
93
|
+
@error "expected type of #{$map} is map, was #{k-meta-type-of($map)}";
|
|
94
|
+
};
|
|
95
|
+
@each $key, $value in $map {
|
|
96
|
+
$_key-neg: "-" + $key;
|
|
97
|
+
|
|
98
|
+
@if( k-meta-type-of($value) == number and $value != 0) {
|
|
99
|
+
$_map-neg: k-map-set($_map-neg, $_key-neg, -1 * $value );
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@return $_map-neg;
|
|
104
|
+
|
|
105
|
+
}
|
|
@@ -2,7 +2,6 @@ $kendo-components: (
|
|
|
2
2
|
// Typography and utils
|
|
3
3
|
"typography",
|
|
4
4
|
"utils",
|
|
5
|
-
"cursor",
|
|
6
5
|
"draggable",
|
|
7
6
|
|
|
8
7
|
// Generic content
|
|
@@ -131,7 +130,7 @@ $kendo-components: (
|
|
|
131
130
|
"timeline",
|
|
132
131
|
"pdf-viewer",
|
|
133
132
|
"scroller",
|
|
134
|
-
"
|
|
133
|
+
"scrollview",
|
|
135
134
|
|
|
136
135
|
// Dataviz
|
|
137
136
|
"dataviz",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import "./_components.scss";
|
|
2
2
|
@import "./_dependencies.scss";
|
|
3
3
|
|
|
4
|
-
$_deps: ();
|
|
5
|
-
$_imported: ();
|
|
4
|
+
$_deps: () !default;
|
|
5
|
+
$_imported: () !default;
|
|
6
6
|
|
|
7
7
|
@mixin module-register( $name: null, $dependencies: null ) {
|
|
8
8
|
@if (k-list-index( $kendo-components, $name) != null) {
|
|
@@ -31,8 +31,8 @@ $_imported: ();
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
@if ( k-list-index( $kendo-components, $name ) != null ) and ( k-list-index( $_imported, $name ) == null )
|
|
35
|
-
$_imported: k-list-append( $_imported, $name );
|
|
34
|
+
@if ( k-list-index( $kendo-components, $name ) != null ) and ( k-list-index( $_imported, $name ) == null ) {
|
|
35
|
+
$_imported: k-list-append( $_imported, $name ) !global;
|
|
36
36
|
@content;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -46,3 +46,12 @@ $_imported: ();
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
@include verify-dependencies();
|
|
49
|
+
|
|
50
|
+
@mixin verify-rendered() {
|
|
51
|
+
@each $component in $kendo-components {
|
|
52
|
+
@if (k-list-index( $_imported, $component ) == null) {
|
|
53
|
+
// sass-lint:disable-block no-warn
|
|
54
|
+
@error "Module '#{$component}' has not been rendered.";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|