@progress/kendo-theme-utils 6.8.0-dev.2 → 7.0.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/dist/all.css CHANGED
@@ -23707,3 +23707,39 @@
23707
23707
  .\!k-stroke-white {
23708
23708
  stroke: white !important;
23709
23709
  }
23710
+
23711
+ .k-elevation-1 {
23712
+ box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12);
23713
+ }
23714
+
23715
+ .k-elevation-2 {
23716
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12);
23717
+ }
23718
+
23719
+ .k-elevation-3 {
23720
+ box-shadow: 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12);
23721
+ }
23722
+
23723
+ .k-elevation-4 {
23724
+ box-shadow: 0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12);
23725
+ }
23726
+
23727
+ .k-elevation-5 {
23728
+ box-shadow: 0 10px 12px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.12);
23729
+ }
23730
+
23731
+ .k-elevation-6 {
23732
+ box-shadow: 0 12px 14px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.12);
23733
+ }
23734
+
23735
+ .k-elevation-7 {
23736
+ box-shadow: 0 14px 16px rgba(0, 0, 0, 0.24), 0 4px 16px rgba(0, 0, 0, 0.12);
23737
+ }
23738
+
23739
+ .k-elevation-8 {
23740
+ box-shadow: 0 16px 18px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12);
23741
+ }
23742
+
23743
+ .k-elevation-9 {
23744
+ box-shadow: 0 32px 34px rgba(0, 0, 0, 0.32), 0 4px 16px rgba(0, 0, 0, 0.12);
23745
+ }
package/dist/all.scss CHANGED
@@ -1237,7 +1237,7 @@ $_kendo-escape-class-name: (
1237
1237
  /// @debug k-map-deep-merge( ( "foo": ("bar": "baz", "baz": "qux" ) ), ( "foo": ("bar": "foo") ) ); // => ( "foo": ("bar": "foo", "baz": "qux" ))
1238
1238
  @function k-map-deep-merge($maps...) {
1239
1239
  $merged: ();
1240
-
1240
+
1241
1241
  @each $map in $maps {
1242
1242
  @each $key, $val in $map {
1243
1243
  @if (k-meta-type-of($val) == 'map') {
@@ -1255,7 +1255,7 @@ $_kendo-escape-class-name: (
1255
1255
  }
1256
1256
  $merged: k-map-merge($merged, $map);
1257
1257
  }
1258
-
1258
+
1259
1259
  @return $merged;
1260
1260
  }
1261
1261
 
@@ -9561,6 +9561,87 @@ $kendo-utils: (
9561
9561
 
9562
9562
  // #endregion
9563
9563
 
9564
+ // #region @import "./elevation/index.import.scss"; -> scss/elevation/index.import.scss
9565
+ // #region @import "@progress/kendo-theme-core/scss/elevation/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/elevation/index.import.scss
9566
+ // #region @import "../functions/index.import.scss"; -> node_modules/@progress/kendo-theme-core/scss/functions/index.import.scss
9567
+ // File already imported_once. Skipping output.
9568
+ // #endregion
9569
+
9570
+ $_default-elevation: (
9571
+ 1: (
9572
+ 0 2px 3px rgba(0, 0, 0, .04),
9573
+ 0 4px 16px rgba(0, 0, 0, .12)
9574
+ ),
9575
+ 2: (
9576
+ 0 4px 6px rgba(0, 0, 0, .06),
9577
+ 0 4px 16px rgba(0, 0, 0, .12)
9578
+ ),
9579
+ 3: (
9580
+ 0 6px 8px rgba(0, 0, 0, .08),
9581
+ 0 4px 16px rgba(0, 0, 0, .12)
9582
+ ),
9583
+ 4: (
9584
+ 0 8px 10px rgba(0, 0, 0, .12),
9585
+ 0 4px 16px rgba(0, 0, 0, .12)
9586
+ ),
9587
+ 5: (
9588
+ 0 10px 12px rgba(0, 0, 0, .16),
9589
+ 0 4px 16px rgba(0, 0, 0, .12)
9590
+ ),
9591
+ 6: (
9592
+ 0 12px 14px rgba(0, 0, 0, .2),
9593
+ 0 4px 16px rgba(0, 0, 0, .12)
9594
+ ),
9595
+ 7: (
9596
+ 0 14px 16px rgba(0, 0, 0, .24),
9597
+ 0 4px 16px rgba(0, 0, 0, .12)
9598
+ ),
9599
+ 8: (
9600
+ 0 16px 18px rgba(0, 0, 0, .28),
9601
+ 0 4px 16px rgba(0, 0, 0, .12)
9602
+ ),
9603
+ 9: (
9604
+ 0 32px 34px rgba(0, 0, 0, .32),
9605
+ 0 4px 16px rgba(0, 0, 0, .12)
9606
+ )
9607
+ ) !default;
9608
+
9609
+ $kendo-elevation: $_default-elevation !default;
9610
+ $kendo-elevation: k-map-merge($_default-elevation, $kendo-elevation);
9611
+
9612
+ @function k-shadow-filter($shadow) {
9613
+ $result: '';
9614
+ @each $value in $shadow {
9615
+ $result: $result + "drop-shadow(" + $value + ") ";
9616
+ }
9617
+ @return #{$result};
9618
+ }
9619
+
9620
+ @function k-elevation($level) {
9621
+ @return var(--kendo-elevation-#{$level}, k-map-get($kendo-elevation, $level));
9622
+ }
9623
+
9624
+
9625
+ @mixin kendo-elevation--styles() {
9626
+ :root {
9627
+ @each $level, $shadow in $kendo-elevation {
9628
+ --kendo-elevation-#{$level}: #{$shadow};
9629
+ }
9630
+ }
9631
+ }
9632
+
9633
+ // #endregion
9634
+
9635
+ @mixin kendo-utils--elevation {
9636
+ @each $level, $elevation in $kendo-elevation {
9637
+ .k-elevation-#{$level} {
9638
+ box-shadow: $elevation;
9639
+ }
9640
+ }
9641
+ }
9642
+
9643
+ // #endregion
9644
+
9564
9645
 
9565
9646
  // Mixin for all styles
9566
9647
  @mixin kendo-utils() {
@@ -9578,6 +9659,8 @@ $kendo-utils: (
9578
9659
  @include kendo-utils--transform();
9579
9660
  @include kendo-utils--interactivity();
9580
9661
  @include kendo-utils--svg();
9662
+
9663
+ @include kendo-utils--elevation();
9581
9664
  }
9582
9665
 
9583
9666
  // #endregion
@@ -58,5 +58,9 @@
58
58
  "kendo-utils": {
59
59
  "type": "Map",
60
60
  "value": "(\"screen-readers\": true, \"aspect-ratio\": (auto: auto, 1: 1, square: 1 / 1, video: 16 / 9), \"container\": (), \"columns\": (1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, auto: auto), \"break-after\": (), \"break-before\": (), \"break-inside\": (), \"box-decoration-break\": (), \"box-sizing\": (border: border-box, content: content-box), \"display\": (none, contents, block, inline, inline-block, flex, inline-flex, grid, inline-grid, table, inline-table, table-row, table-cell, list-item), \"float\": (left, right, none), \"clear\": (left, right, both, none), \"isolation\": (), \"object-fit\": (contain, cover, fill, scale-down, initial, none), \"object-position\": (center: center, top: top, right: right, bottom: bottom, left: left, top-left: top left, top-right: top right, bottom-left: bottom left, bottom-right: bottom right), \"overflow\": (auto: auto, hidden: hidden, visible: visible, scroll: scroll, clip: clip), \"overscroll\": (), \"placement\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem, -1: -1px), \"position\": (static, relative, absolute, fixed, sticky), \"inset\": (0: 0, 1: 1px, -1: -1px), \"visibility\": (visible: visible, invisible: hidden, collapse: collapse), \"zindex\": (0: 0, 10: 10, 20: 20, 30: 30, 40: 40, 50: 50, auto: auto), \"flex-direction\": (row: row, row-reverse: row-reverse, col: column, col-reverse: column-reverse), \"flex-wrap\": (wrap, wrap-reverse, nowrap), \"flex\": (1: 1 1 0%, auto: 1 1 auto, initial: 0 1 auto, none: none), \"flex-grow\": (DEFAULT: 1, 0: 0), \"flex-shrink\": (DEFAULT: 1, 0: 0), \"flex-basis\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem, \"auto\": auto, \"1/2\": 50%, \"1/3\": 33.333333%, \"2/3\": 66.666667%, \"1/4\": 25%, \"2/4\": 50%, \"3/4\": 75%, \"1/5\": 20%, \"2/5\": 40%, \"3/5\": 60%, \"4/5\": 80%, \"1/6\": 16.666667%, \"2/6\": 33.333333%, \"3/6\": 50%, \"4/6\": 66.666667%, \"5/6\": 83.333333%, \"1/12\": 8.333333%, \"2/12\": 16.666667%, \"3/12\": 25%, \"4/12\": 33.333333%, \"5/12\": 41.666667%, \"6/12\": 50%, \"7/12\": 58.333333%, \"8/12\": 66.666667%, \"9/12\": 75%, \"10/12\": 83.333333%, \"11/12\": 91.666667%, \"full\": 100%, \"min\": min-content, \"max\": max-content, \"fit\": fit-content), \"order\": (1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, first: -9999, last: 9999, none: 0), \"grid-template-columns\": (1: repeat(1, minmax(0, 1fr)), 2: repeat(2, minmax(0, 1fr)), 3: repeat(3, minmax(0, 1fr)), 4: repeat(4, minmax(0, 1fr)), 5: repeat(5, minmax(0, 1fr)), 6: repeat(6, minmax(0, 1fr)), 7: repeat(7, minmax(0, 1fr)), 8: repeat(8, minmax(0, 1fr)), 9: repeat(9, minmax(0, 1fr)), 10: repeat(10, minmax(0, 1fr)), 11: repeat(11, minmax(0, 1fr)), 12: repeat(12, minmax(0, 1fr)), none: none), \"grid-template-rows\": (1: repeat(1, minmax(0, 1fr)), 2: repeat(2, minmax(0, 1fr)), 3: repeat(3, minmax(0, 1fr)), 4: repeat(4, minmax(0, 1fr)), 5: repeat(5, minmax(0, 1fr)), 6: repeat(6, minmax(0, 1fr)), 7: repeat(7, minmax(0, 1fr)), 8: repeat(8, minmax(0, 1fr)), 9: repeat(9, minmax(0, 1fr)), 10: repeat(10, minmax(0, 1fr)), 11: repeat(11, minmax(0, 1fr)), 12: repeat(12, minmax(0, 1fr)), none: none), \"grid-column-start\": (1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, -1: -1, -2: -2, -3: -3, -4: -4, -5: -5, -6: -6, -7: -7, -8: -8, -9: -9, -10: -10, -11: -11, -12: -12, -13: -13, auto: auto), \"grid-column-end\": (1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, -1: -1, -2: -2, -3: -3, -4: -4, -5: -5, -6: -6, -7: -7, -8: -8, -9: -9, -10: -10, -11: -11, -12: -12, -13: -13, auto: auto), \"grid-column-span\": (1: span 1/span 1, 2: span 2/span 2, 3: span 3/span 3, 4: span 4/span 4, 5: span 5/span 5, 6: span 6/span 6, 7: span 7/span 7, 8: span 8/span 8, 9: span 9/span 9, 10: span 10/span 10, 11: span 11/span 11, 12: span 12/span 12, full: 1 / -1, auto: auto), \"grid-row-start\": (1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, -1: -1, -2: -2, -3: -3, -4: -4, -5: -5, -6: -6, -7: -7, -8: -8, -9: -9, -10: -10, -11: -11, -12: -12, -13: -13, auto: auto), \"grid-row-end\": (1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, -1: -1, -2: -2, -3: -3, -4: -4, -5: -5, -6: -6, -7: -7, -8: -8, -9: -9, -10: -10, -11: -11, -12: -12, -13: -13, auto: auto), \"grid-row-span\": (1: span 1/span 1, 2: span 2/span 2, 3: span 3/span 3, 4: span 4/span 4, 5: span 5/span 5, 6: span 6/span 6, 7: span 7/span 7, 8: span 8/span 8, 9: span 9/span 9, 10: span 10/span 10, 11: span 11/span 11, 12: span 12/span 12, full: span 1/span -1, auto: auto), \"grid-auto-flow\": (row: row, col: column, dense: dense, row-dense: row dense, col-dense: column dense, unset: unset), \"grid-auto-columns\": (auto: auto, min: min-content, max: max-content, fr: minmax(0, 1fr)), \"grid-auto-rows\": (auto: auto, min: min-content, max: max-content, fr: minmax(0, 1fr)), \"gap\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem, xs: 0.25rem, sm: 0.5rem, md: 0.75rem, lg: 1rem, xl: 1.5rem, thin: 0.125rem, hair: 1px), \"align-content\": (normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, baseline: baseline, first-baseline: first baseline, last-baseline: last baseline, between: space-between, around: space-around, evenly: space-evenly), \"align-items\": (normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, baseline: baseline, first-baseline: first baseline, last-baseline: last baseline, self-start: self-start, self-end: self-end), \"align-self\": (auto: auto, normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, baseline: baseline, first-baseline: first baseline, last-baseline: last baseline, self-start: self-start, self-end: self-end), \"justify-content\": (normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, left: left, right: right, baseline: baseline, first-baseline: first baseline, last-baseline: last baseline, between: space-between, around: space-around, evenly: space-evenly), \"justify-items\": (normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, self-start: self-start, self-end: self-end, left: left, right: right, baseline: baseline, first-baseline: first baseline, last-baseline: last baseline), \"justify-self\": (auto: auto, normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, self-start: self-start, self-end: self-end, baseline: baseline, first-baseline: first baseline, last-baseline: last baseline), \"place-content\": (normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, baseline: baseline, between: space-between, around: space-around, evenly: space-evenly), \"place-items\": (normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, self-start: self-start, self-end: self-end, baseline: baseline), \"place-self\": (auto: auto, normal: normal, stretch: stretch, center: center, start: start, end: end, flex-start: flex-start, flex-end: flex-end, self-start: self-start, self-end: self-end, baseline: baseline), \"margin\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem, \"-1px\": -1px, \"-0.5\": -0.125rem, \"-1\": -0.25rem, \"-1.5\": -0.375rem, \"-2\": -0.5rem, \"-2.5\": -0.625rem, \"-3\": -0.75rem, \"-3.5\": -0.875rem, \"-4\": -1rem, \"-4.5\": -1.125rem, \"-5\": -1.25rem, \"-5.5\": -1.375rem, \"-6\": -1.5rem, \"-6.5\": -1.625rem, \"-7\": -1.75rem, \"-7.5\": -1.875rem, \"-8\": -2rem, \"-9\": -2.25rem, \"-10\": -2.5rem, \"-11\": -2.75rem, \"-12\": -3rem, \"-13\": -3.25rem, \"-14\": -3.5rem, \"-15\": -3.75rem, \"-16\": -4rem, \"-17\": -4.25rem, \"-18\": -4.5rem, \"-19\": -4.75rem, \"-20\": -5rem, \"-21\": -5.25rem, \"-22\": -5.5rem, \"-23\": -5.75rem, \"-24\": -6rem, xs: 0.25rem, sm: 0.5rem, md: 0.75rem, lg: 1rem, xl: 1.5rem, thin: 0.125rem, hair: 1px, auto: auto), \"padding\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem, xs: 0.25rem, sm: 0.5rem, md: 0.75rem, lg: 1rem, xl: 1.5rem, thin: 0.125rem, hair: 1px), \"space-between\": (), \"width\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem, \"auto\": auto, \"1/2\": 50%, \"1/3\": 33.333333%, \"2/3\": 66.666667%, \"1/4\": 25%, \"2/4\": 50%, \"3/4\": 75%, \"1/5\": 20%, \"2/5\": 40%, \"3/5\": 60%, \"4/5\": 80%, \"1/6\": 16.666667%, \"2/6\": 33.333333%, \"3/6\": 50%, \"4/6\": 66.666667%, \"5/6\": 83.333333%, \"1/12\": 8.333333%, \"2/12\": 16.666667%, \"3/12\": 25%, \"4/12\": 33.333333%, \"5/12\": 41.666667%, \"6/12\": 50%, \"7/12\": 58.333333%, \"8/12\": 66.666667%, \"9/12\": 75%, \"10/12\": 83.333333%, \"11/12\": 91.666667%, \"full\": 100%, \"min\": min-content, \"max\": max-content, \"fit\": fit-content, screen: 100vw), \"min-width\": (0: 0, full: 100%, screen: 100vw, min: min-content, max: max-content, fit: fit-content), \"max-width\": (none: none, 0: 0, full: 100%, screen: 100vw, min: min-content, max: max-content, fit: fit-content), \"height\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem, \"auto\": auto, \"1/2\": 50%, \"1/3\": 33.333333%, \"2/3\": 66.666667%, \"1/4\": 25%, \"2/4\": 50%, \"3/4\": 75%, \"1/5\": 20%, \"2/5\": 40%, \"3/5\": 60%, \"4/5\": 80%, \"1/6\": 16.666667%, \"2/6\": 33.333333%, \"3/6\": 50%, \"4/6\": 66.666667%, \"5/6\": 83.333333%, \"1/12\": 8.333333%, \"2/12\": 16.666667%, \"3/12\": 25%, \"4/12\": 33.333333%, \"5/12\": 41.666667%, \"6/12\": 50%, \"7/12\": 58.333333%, \"8/12\": 66.666667%, \"9/12\": 75%, \"10/12\": 83.333333%, \"11/12\": 91.666667%, \"full\": 100%, \"min\": min-content, \"max\": max-content, \"fit\": fit-content, screen: 100vh), \"min-height\": (0: 0, full: 100%, screen: 100vh, min: min-content, max: max-content, fit: fit-content), \"max-height\": (none: none, 0: 0, full: 100%, screen: 100vh, min: min-content, max: max-content, fit: fit-content), \"font-family\": (), \"font-size\": (), \"font-smoothing\": (), \"font-style\": (italic: italic, non-italic: normal), \"font-weight\": (\"thin\": 100, \"extralight\": 200, \"light\": 300, \"normal\": 400, \"medium\": 500, \"semibold\": 600, \"bold\": 700, \"extrabold\": 800, \"black\": 900), \"font-variant-numeric\": (), \"letter-spacing\": (), \"line-height\": (), \"list-style-type\": (none, disc, decimal), \"list-style-position\": (), \"text-align\": (left, right, center, justify, start, end), \"text-color\": (\"inherit\": inherit, \"current\": currentColor, \"transparent\": transparent, \"black\": black, \"white\": white), \"text-decoration\": (underline: underline, overline: overline, line-through: line-through, no-underline: none), \"text-decoration-width\": (), \"text-decoration-style\": (), \"text-decoration-color\": (), \"text-decoration-offset\": (), \"text-transform\": (uppercase: uppercase, lowercase: lowercase, capitalize: capitalize, normal-case: none), \"text-overflow\": (clip: clip, ellipsis: ellipsis), \"text-indent\": (), \"vertical-align\": (baseline, top, middle, bottom, text-top, text-bottom, sub, super), \"white-space\": (normal, nowrap, pre, pre-line, pre-wrap, break-spaces), \"word-break\": (), \"background-clip\": (border: border-box, padding: padding-box, content: content-box, text: text), \"background-color\": (\"inherit\": inherit, \"transparent\": transparent, \"black\": black, \"white\": white), \"background-position\": (center: center, top: top, right: right, bottom: bottom, left: left, top-left: top left, top-right: top right, bottom-left: bottom left, bottom-right: bottom right), \"background-size\": (auto, cover, contain), \"border-width\": (DEFAULT: 1px, 0: 0, 2: 2px, 4: 4px, 8: 8px), \"border-style\": (solid, dashed, dotted, double, inset, outset, hidden, none), \"border-color\": (\"inherit\": inherit, \"current\": currentColor, \"transparent\": transparent, \"black\": black, \"white\": white), \"border-radius\": (DEFAULT: 0.25rem, 0: 0, sm: 0.125rem, md: 0.25rem, lg: 0.5rem, full: 9999px), \"outline-width\": (DEFAULT: 1px, 0: 0, 2: 2px, 4: 4px, 8: 8px), \"outline-style\": (solid, dashed, dotted, double, inset, outset, none), \"outline-color\": (\"inherit\": inherit, \"current\": currentColor, \"transparent\": transparent, \"black\": black, \"white\": white), \"outline-offset\": (0: 0, 1: 1px, 2: 2px, 4: 4px, 8: 8px), \"box-shadow\": (), \"box-shadow-color\": (), \"opacity\": (0: 0, 5: 0.05, 10: 0.1, 20: 0.2, 30: 0.3, 40: 0.4, 50: 0.5, 60: 0.6, 70: 0.7, 80: 0.8, 90: 0.9, 100: 1), \"backdrop-blur\": (DEFAULT: blur(8px), none: blur(0), sm: blur(4px), md: blur(6px), lg: blur(12px)), \"border-collapse\": (collapse, separate), \"table-layout\": (auto, fixed), \"flip\": true, \"scale\": (0: 0, 0.25: 0.25, 0.5: 0.5, 0.75: 0.75, 1: 1, 1.25: 1.25, 1.5: 1.5, 2: 2), \"rotate\": (0: 0deg, 45: 45deg, 90: 90deg, 135: 135deg, 180: 180deg, 225: 225deg, 270: 270deg, 315: 315deg), \"translate\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem, \"1/2\": 50%, \"1/3\": 33.333333%, \"2/3\": 66.666667%, \"1/4\": 25%, \"2/4\": 50%, \"3/4\": 75%, \"1/5\": 20%, \"2/5\": 40%, \"3/5\": 60%, \"4/5\": 80%, \"1/6\": 16.666667%, \"2/6\": 33.333333%, \"3/6\": 50%, \"4/6\": 66.666667%, \"5/6\": 83.333333%, \"1/12\": 8.333333%, \"2/12\": 16.666667%, \"3/12\": 25%, \"4/12\": 33.333333%, \"5/12\": 41.666667%, \"6/12\": 50%, \"7/12\": 58.333333%, \"8/12\": 66.666667%, \"9/12\": 75%, \"10/12\": 83.333333%, \"11/12\": 91.666667%, \"full\": 100%), \"skew\": (0: 0deg, 1: 1deg, 2: 2deg, 3: 3deg, 4: 4deg, 5: 5deg, 6: 6deg, 7: 7deg, 8: 8deg, 9: 9deg, 10: 10deg, 11: 11deg, 12: 12deg), \"origin\": (center: center, top: top, right: right, bottom: bottom, left: left, top-left: top left, top-right: top right, bottom-left: bottom left, bottom-right: bottom right), \"accent-color\": (), \"appearance\": (none, auto), \"cursor\": (none, auto, default, context-menu, help, pointer, progress, wait, cell, crosshair, text, vertical-text, alias, copy, move, no-drop, not-allowed, e-resize, n-resize, ne-resize, nw-resize, s-resize, se-resize, sw-resize, w-resize, ew-resize, ns-resize, nesw-resize, nwse-resize, col-resize, row-resize, all-scroll, zoom-in, zoom-out, grab, grabbing), \"caret-color\": (), \"pointer-events\": (none, auto), \"resize\": (DEFAULT: both, none: none, x: horizontal, y: vertical), \"scroll-behavior\": (auto, smooth), \"scroll-snap-type\": (none: none, snap-x: x var(--k-scroll-snap-strictness), snap-y: y var(--k-scroll-snap-strictness), snap-both: both var(--k-scroll-snap-strictness)), \"scroll-snap-align\": (start, end, center, none), \"scroll-snap-stop\": (normal, always), \"scroll-margin\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem), \"scroll-padding\": (0: 0, 1px: 1px, 0.5: 0.125rem, 1: 0.25rem, 1.5: 0.375rem, 2: 0.5rem, 2.5: 0.625rem, 3: 0.75rem, 3.5: 0.875rem, 4: 1rem, 4.5: 1.125rem, 5: 1.25rem, 5.5: 1.375rem, 6: 1.5rem, 6.5: 1.625rem, 7: 1.75rem, 7.5: 1.875rem, 8: 2rem, 9: 2.25rem, 10: 2.5rem, 11: 2.75rem, 12: 3rem, 13: 3.25rem, 14: 3.5rem, 15: 3.75rem, 16: 4rem, 17: 4.25rem, 18: 4.5rem, 19: 4.75rem, 20: 5rem, 21: 5.25rem, 22: 5.5rem, 23: 5.75rem, 24: 6rem), \"touch-action\": (none, auto, pan-x, pan-left, pan-right, pan-y, pan-up, pan-down, pinch-zoom, manipulation), \"user-select\": (none, auto, text, all, contain), \"will-change\": (auto: auto, scroll: scroll-position, contents: contents, transform: transform), \"fill-stroke\": (none: none, inherit: inherit, current: currentColor, \"transparent\": transparent, \"black\": black, \"white\": white))"
61
+ },
62
+ "kendo-elevation": {
63
+ "type": "Map",
64
+ "value": "(1: (0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12)), 2: (0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12)), 3: (0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)), 4: (0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12)), 5: (0 10px 12px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.12)), 6: (0 12px 14px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.12)), 7: (0 14px 16px rgba(0, 0, 0, 0.24), 0 4px 16px rgba(0, 0, 0, 0.12)), 8: (0 16px 18px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12)), 9: (0 32px 34px rgba(0, 0, 0, 0.32), 0 4px 16px rgba(0, 0, 0, 0.12)))"
61
65
  }
62
66
  }
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": "6.8.0-dev.2",
4
+ "version": "7.0.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -42,7 +42,7 @@
42
42
  "postpublish": "echo 'no postpublish for utils'"
43
43
  },
44
44
  "dependencies": {
45
- "@progress/kendo-theme-core": "6.8.0-dev.2"
45
+ "@progress/kendo-theme-core": "7.0.0"
46
46
  },
47
- "gitHead": "1d0254882897f857ca96fd31477a6e2c18d18433"
47
+ "gitHead": "61d73126ecd6c97602f73d0adf12a12bdafe4d0a"
48
48
  }
@@ -0,0 +1,9 @@
1
+ @import "@progress/kendo-theme-core/scss/elevation/index.import.scss";
2
+
3
+ @mixin kendo-utils--elevation {
4
+ @each $level, $elevation in $kendo-elevation {
5
+ .k-elevation-#{$level} {
6
+ box-shadow: $elevation;
7
+ }
8
+ }
9
+ }
@@ -18,6 +18,8 @@
18
18
  @import "./interactivity/index.import.scss";
19
19
  @import "./svg/index.import.scss";
20
20
 
21
+ @import "./elevation/index.import.scss";
22
+
21
23
 
22
24
  // Mixin for all styles
23
25
  @mixin kendo-utils() {
@@ -35,4 +37,6 @@
35
37
  @include kendo-utils--transform();
36
38
  @include kendo-utils--interactivity();
37
39
  @include kendo-utils--svg();
40
+
41
+ @include kendo-utils--elevation();
38
42
  }