@progress/kendo-theme-utils 13.1.1 → 13.2.0-dev.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-utils",
3
3
  "description": "Utility first library alongside Kendo UI",
4
- "version": "13.1.1",
4
+ "version": "13.2.0-dev.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -45,10 +45,10 @@
45
45
  "postpublish": "echo 'no postpublish for utils'"
46
46
  },
47
47
  "dependencies": {
48
- "@progress/kendo-theme-core": "13.1.1"
48
+ "@progress/kendo-theme-core": "13.2.0-dev.0"
49
49
  },
50
50
  "directories": {
51
51
  "doc": "docs"
52
52
  },
53
- "gitHead": "c476cef223e305c6f403a0d9610bf838041639fe"
53
+ "gitHead": "066b81148c99e956c2809af1a3ba5eebe649f407"
54
54
  }
@@ -55,9 +55,82 @@ $kendo-util-colors: () !default;
55
55
  }
56
56
  }
57
57
 
58
- $kendo-spacing: () !default;
58
+ $_utils-spacing: (
59
+ 0: 0px,
60
+ 1px: 1px,
61
+ 0.5: .125rem,
62
+ 1: .25rem,
63
+ 1.5: .375rem,
64
+ 2: .5rem,
65
+ 2.5: .625rem,
66
+ 3: .75rem,
67
+ 3.5: .875rem,
68
+ 4: 1rem,
69
+ 4.5: 1.125rem,
70
+ 5: 1.25rem,
71
+ 5.5: 1.375rem,
72
+ 6: 1.5rem,
73
+ 6.5: 1.625rem,
74
+ 7: 1.75rem,
75
+ 7.5: 1.875rem,
76
+ 8: 2rem,
77
+ 9: 2.25rem,
78
+ 10: 2.5rem,
79
+ 11: 2.75rem,
80
+ 12: 3rem,
81
+ 13: 3.25rem,
82
+ 14: 3.5rem,
83
+ 15: 3.75rem,
84
+ 16: 4rem,
85
+ 17: 4.25rem,
86
+ 18: 4.5rem,
87
+ 19: 4.75rem,
88
+ 20: 5rem,
89
+ 21: 5.25rem,
90
+ 22: 5.5rem,
91
+ 23: 5.75rem,
92
+ 24: 6rem,
93
+ 25: 7rem,
94
+ 26: 8rem,
95
+ 27: 9rem,
96
+ 28: 10rem,
97
+ 29: 11rem,
98
+ 30: 12rem
99
+ ) !default;
59
100
 
60
- $kendo-sizing: () !default;
101
+ $kendo-sizing: map.merge( $_utils-spacing, (
102
+ "auto": auto,
103
+ "1/2": 50%,
104
+ "1/3": 33.333333%,
105
+ "2/3": 66.666667%,
106
+ "1/4": 25%,
107
+ "2/4": 50%,
108
+ "3/4": 75%,
109
+ "1/5": 20%,
110
+ "2/5": 40%,
111
+ "3/5": 60%,
112
+ "4/5": 80%,
113
+ "1/6": 16.666667%,
114
+ "2/6": 33.333333%,
115
+ "3/6": 50%,
116
+ "4/6": 66.666667%,
117
+ "5/6": 83.333333%,
118
+ "1/12": 8.333333%,
119
+ "2/12": 16.666667%,
120
+ "3/12": 25%,
121
+ "4/12": 33.333333%,
122
+ "5/12": 41.666667%,
123
+ "6/12": 50%,
124
+ "7/12": 58.333333%,
125
+ "8/12": 66.666667%,
126
+ "9/12": 75%,
127
+ "10/12": 83.333333%,
128
+ "11/12": 91.666667%,
129
+ "full": 100%,
130
+ "min": min-content,
131
+ "max": max-content,
132
+ "fit": fit-content
133
+ )) !default;
61
134
 
62
135
  $kendo-border-radii: () !default;
63
136
 
@@ -197,7 +270,7 @@ $kendo-utils: (
197
270
  clip: clip
198
271
  ),
199
272
  "overscroll": (),
200
- "placement": map.merge( $kendo-spacing, (
273
+ "placement": map.merge( $_utils-spacing, (
201
274
  "-1": -1px
202
275
  )),
203
276
  "position": (
@@ -417,7 +490,7 @@ $kendo-utils: (
417
490
  max: max-content,
418
491
  fr: minmax( 0, 1fr ),
419
492
  ),
420
- "gap": map.merge( $kendo-spacing, (
493
+ "gap": map.merge( $_utils-spacing, (
421
494
  // TODO: remove this extension once we fix docs
422
495
  xs: k-spacing(1),
423
496
  sm: k-spacing(2),
@@ -558,7 +631,7 @@ $kendo-utils: (
558
631
  baseline: baseline
559
632
  ),
560
633
  "margin": k-map-merge(
561
- $kendo-spacing, k-map-negate($kendo-spacing),
634
+ $_utils-spacing, k-map-negate($_utils-spacing),
562
635
  (
563
636
  // TODO: remove this extension once we fix docs
564
637
  xs: k-spacing(1),
@@ -570,7 +643,7 @@ $kendo-utils: (
570
643
  hair: k-spacing(1px),
571
644
  auto: auto
572
645
  )),
573
- "padding": map.merge( $kendo-spacing, (
646
+ "padding": map.merge( $_utils-spacing, (
574
647
  // TODO: remove this extension once we fix docs
575
648
  xs: k-spacing(1),
576
649
  sm: k-spacing(2),
@@ -955,8 +1028,8 @@ $kendo-utils: (
955
1028
  normal,
956
1029
  always
957
1030
  ),
958
- "scroll-margin": $kendo-spacing,
959
- "scroll-padding": $kendo-spacing,
1031
+ "scroll-margin": $_utils-spacing,
1032
+ "scroll-padding": $_utils-spacing,
960
1033
  "touch-action": (
961
1034
  none,
962
1035
  auto,