@inchurch/matcha-theme 20.0.11 → 20.277.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.
Files changed (116) hide show
  1. package/abstracts/_colors.scss +404 -404
  2. package/abstracts/_elevation.scss +102 -102
  3. package/abstracts/_functions.scss +1186 -1212
  4. package/abstracts/_media-breakpoint.scss +23 -23
  5. package/abstracts/_theme-api.scss +230 -0
  6. package/abstracts/_typography.scss +127 -127
  7. package/base/_reset.scss +438 -438
  8. package/components/app-page-header.scss +259 -0
  9. package/components/matcha-accordion.scss +293 -157
  10. package/components/matcha-audio-player.scss +1 -2
  11. package/components/matcha-autocomplete.scss +10 -11
  12. package/components/matcha-avatar.scss +173 -33
  13. package/components/matcha-badge.scss +15 -15
  14. package/components/matcha-breadcrumb.scss +231 -126
  15. package/components/matcha-button-toggle.scss +46 -2
  16. package/components/matcha-buttons.scss +908 -784
  17. package/components/matcha-calendar.scss +99 -35
  18. package/components/matcha-cards.scss +58 -33
  19. package/components/matcha-chart-card.scss +5 -12
  20. package/components/matcha-checkbox.scss +191 -490
  21. package/components/matcha-chip.scss +297 -212
  22. package/components/matcha-color-pick.scss +1 -2
  23. package/components/matcha-command-palette.scss +290 -63
  24. package/components/matcha-crop.scss +406 -172
  25. package/components/matcha-date.scss +81 -81
  26. package/components/matcha-divider.scss +86 -31
  27. package/components/matcha-draggable.scss +4 -5
  28. package/components/matcha-drawer.scss +207 -66
  29. package/components/matcha-drop-image.scss +14 -0
  30. package/components/matcha-drop-list.scss +87 -47
  31. package/components/matcha-emoji.scss +2 -2
  32. package/components/matcha-empty-state.scss +195 -83
  33. package/components/matcha-file-uploader.scss +462 -0
  34. package/components/matcha-flag.scss +93 -52
  35. package/components/matcha-footer.scss +67 -164
  36. package/components/matcha-form-field.scss +55 -3
  37. package/components/matcha-form-section.scss +100 -101
  38. package/components/matcha-header.scss +134 -325
  39. package/components/matcha-highlight.scss +65 -197
  40. package/components/matcha-hint-text.scss +25 -4
  41. package/components/matcha-horizontal-tree.scss +316 -317
  42. package/components/matcha-icon.scss +37 -45
  43. package/components/matcha-image.scss +2 -3
  44. package/components/matcha-list.scss +14 -15
  45. package/components/matcha-menu.scss +15 -2
  46. package/components/matcha-modal.scss +59 -86
  47. package/components/matcha-nav.scss +362 -231
  48. package/components/matcha-notification.scss +412 -197
  49. package/components/matcha-option.scss +98 -23
  50. package/components/matcha-page-builder.scss +16 -16
  51. package/components/matcha-paginator.scss +688 -235
  52. package/components/matcha-panel.scss +42 -27
  53. package/components/matcha-profile-card.scss +50 -50
  54. package/components/matcha-progress-bar.scss +257 -153
  55. package/components/matcha-radio.scss +244 -452
  56. package/components/matcha-scrollbar.scss +1 -2
  57. package/components/matcha-scrollbox-shadow.scss +120 -122
  58. package/components/matcha-section.scss +5 -9
  59. package/components/matcha-select-multiple.scss +56 -0
  60. package/components/matcha-select.scss +10 -10
  61. package/components/matcha-skeleton.scss +24 -7
  62. package/components/matcha-slide-toggle.scss +80 -301
  63. package/components/matcha-slider.scss +174 -77
  64. package/components/matcha-snack-bar.scss +123 -131
  65. package/components/matcha-spin.scss +12 -103
  66. package/components/matcha-spinner.scss +76 -57
  67. package/components/matcha-status-pill.scss +82 -0
  68. package/components/matcha-stepper.scss +376 -177
  69. package/components/matcha-table.scss +568 -785
  70. package/components/matcha-tabs.scss +622 -469
  71. package/components/matcha-text-editor.scss +78 -78
  72. package/components/matcha-time.scss +2 -2
  73. package/components/matcha-toolbar.scss +359 -206
  74. package/components/matcha-tooltip.scss +158 -62
  75. package/components/matcha-tree-view.scss +189 -0
  76. package/fonts/manrope/manrope-latin-ext.woff2 +0 -0
  77. package/fonts/manrope/manrope-latin.woff2 +0 -0
  78. package/layout/matcha-page-layout.scss +4 -4
  79. package/main.scss +237 -265
  80. package/package.json +1 -1
  81. package/tokens/_animations-tokens.scss +37 -37
  82. package/tokens/_breakpoints-tokens.scss +35 -26
  83. package/tokens/_color-tokens.scss +1149 -1152
  84. package/tokens/_css-custom-properties.scss +704 -568
  85. package/tokens/_primitives.scss +82 -0
  86. package/tokens/_semantic-aliases.scss +120 -0
  87. package/tokens/_spacing-tokens.scss +94 -94
  88. package/vendors/angular-editor.scss +56 -56
  89. package/vendors/angular-material-fixes.scss +297 -297
  90. package/vendors/charts.scss +92 -92
  91. package/vendors/ng5-slider.scss +56 -56
  92. package/vendors/ngx-material-timepicker.scss +50 -50
  93. package/components/matcha-uploader.scss +0 -215
  94. package/fonts/CircularStd-Black.eot +0 -0
  95. package/fonts/CircularStd-Black.svg +0 -3426
  96. package/fonts/CircularStd-Black.ttf +0 -0
  97. package/fonts/CircularStd-Black.woff +0 -0
  98. package/fonts/CircularStd-Black.woff2 +0 -0
  99. package/fonts/CircularStd-Bold.eot +0 -0
  100. package/fonts/CircularStd-Bold.otf +0 -0
  101. package/fonts/CircularStd-Bold.svg +0 -13532
  102. package/fonts/CircularStd-Bold.ttf +0 -0
  103. package/fonts/CircularStd-Bold.woff +0 -0
  104. package/fonts/CircularStd-Bold.woff2 +0 -0
  105. package/fonts/CircularStd-Medium.eot +0 -0
  106. package/fonts/CircularStd-Medium.otf +0 -0
  107. package/fonts/CircularStd-Medium.svg +0 -13511
  108. package/fonts/CircularStd-Medium.ttf +0 -0
  109. package/fonts/CircularStd-Medium.woff +0 -0
  110. package/fonts/CircularStd-Medium.woff2 +0 -0
  111. package/fonts/CircularStd-Regular.eot +0 -0
  112. package/fonts/CircularStd-Regular.otf +0 -0
  113. package/fonts/CircularStd-Regular.svg +0 -2378
  114. package/fonts/CircularStd-Regular.ttf +0 -0
  115. package/fonts/CircularStd-Regular.woff +0 -0
  116. package/fonts/CircularStd-Regular.woff2 +0 -0
@@ -1,102 +1,102 @@
1
- // -------------------------------------------------------------------------------------------------------------------
2
- // @ Elevations Mixins
3
- //
4
- // A collection of mixins and CSS classes that can be used to apply elevation to a material
5
- // element.
6
- // See: https://material.io/design/environment/elevation.html
7
- // Examples:
8
- //
9
- //
10
- // .matcha-foo {
11
- // @include $elevation(2);
12
- //
13
- // &:active {
14
- // @include $elevation(8);
15
- // }
16
- // }
17
- //
18
- // <div id="external-card" class="elevation-z2"><p>Some content</p></div>
19
- //
20
- // For an explanation of the design behind how elevation is implemented, see the design doc at
21
- // https://goo.gl/Kq0k9Z.
22
-
23
- // Colors for umbra, penumbra, and ambient shadows. As described in the design doc, each elevation
24
- // level is created using a set of 3 shadow values, one for umbra (the shadow representing the
25
- // space completely obscured by an object relative to its light source), one for penumbra (the
26
- // space partially obscured by an object), and one for ambient (the space which contains the object
27
- // itself). For a further explanation of these terms and their meanings, see
28
- // https://en.wikipedia.org/wiki/Umbra,_penumbra_and_antumbra.
29
-
30
- // Maps for the different shadow sets and their values within each z-space. These values were
31
- // created by taking a few reference shadow sets created by Google's Designers and interpolating
32
- // all of the values between them.
33
- //
34
- // -----------------------------------------------------------------------------------------------------
35
-
36
- // Applies the correct css rules to an element to give it the elevation specified by $zValue.
37
- // The $zValue must be between 0 and 24.
38
- @mixin elevation($zValue, $color: $elevation-color, $opacity: $elevation-opacity) {
39
- @if type-of($zValue) !=number or not unitless($zValue) {
40
- @error '$zValue must be a unitless number';
41
- }
42
-
43
- @if $zValue < 0 or $zValue >24 {
44
- @error '$zValue must be between 0 and 24';
45
- }
46
-
47
- box-shadow: #{map-get(_get-umbra-map($color, $opacity), $zValue)},
48
- #{map-get(_get-penumbra-map($color, $opacity), $zValue)},
49
- #{map-get(_get-ambient-map($color, $opacity), $zValue)};
50
- }
51
-
52
- @mixin _theme-elevation($zValue, $theme, $opacity: $elevation-opacity) {
53
- $foreground: map-get($theme, foreground);
54
- $elevation-color: map-get($foreground, elevation);
55
- $elevation-color-or-default: if($elevation-color ==null, $elevation-color, $elevation-color);
56
-
57
- @include elevation($zValue, $elevation-color-or-default, $opacity);
58
- }
59
-
60
- // Applies the elevation to an element in a manner that allows
61
- // consumers to override it via the Material elevation classes.
62
- @mixin overridable-elevation($zValue, $color: $elevation-color, $opacity: $elevation-opacity) {
63
- &:not([class*="#{$_elevation-prefix}"]) {
64
- @include elevation($zValue, $color, $opacity);
65
- }
66
- }
67
-
68
- @mixin _theme-overridable-elevation($zValue, $theme, $opacity: $elevation-opacity) {
69
- $foreground: map-get($theme, foreground);
70
- $elevation-color: map-get($foreground, elevation);
71
- $elevation-color-or-default: if($elevation-color ==null, $elevation-color, $elevation-color);
72
-
73
- @include overridable-elevation($zValue, $elevation-color-or-default, $opacity);
74
- }
75
-
76
- // Applies the correct css rules needed to have an element transition between elevations.
77
- // This mixin should be applied to elements whose elevation values will change depending on their
78
- // context (e.g. when active or disabled).
79
- //
80
- // NOTE(traviskaufman): Both this mixin and the above function use default parameters so they can
81
- // be used in the same way by clients.
82
- @mixin elevation-transition($duration: $elevation-transition-duration,
83
- $easing: $elevation-transition-timing-function) {
84
- // Returns a string that can be used as the value for a transition property for elevation.
85
- // Calling this function directly is useful in situations where a component needs to transition
86
- // more than one property.
87
- //
88
- // .foo {
89
- // transition: elevation-transition-property-value(), opacity 100ms ease;
90
- // }
91
- transition: elevation-transition-property-value($duration, $easing);
92
- }
93
-
94
- // Css class generator for shadows
95
- // $_elevation-prefix: "matcha-elevation-z";
96
- @mixin elevation-theme($theme) {
97
- @for $zValue from 0 through 24 {
98
- .#{$_elevation-prefix}#{$zValue} {
99
- @include _theme-elevation($zValue, $theme);
100
- }
101
- }
102
- }
1
+ // -------------------------------------------------------------------------------------------------------------------
2
+ // @ Elevations Mixins
3
+ //
4
+ // A collection of mixins and CSS classes that can be used to apply elevation to a material
5
+ // element.
6
+ // See: https://material.io/design/environment/elevation.html
7
+ // Examples:
8
+ //
9
+ //
10
+ // .matcha-foo {
11
+ // @include $elevation(2);
12
+ //
13
+ // &:active {
14
+ // @include $elevation(8);
15
+ // }
16
+ // }
17
+ //
18
+ // <div id="external-card" class="elevation-z2"><p>Some content</p></div>
19
+ //
20
+ // For an explanation of the design behind how elevation is implemented, see the design doc at
21
+ // https://goo.gl/Kq0k9Z.
22
+
23
+ // Colors for umbra, penumbra, and ambient shadows. As described in the design doc, each elevation
24
+ // level is created using a set of 3 shadow values, one for umbra (the shadow representing the
25
+ // space completely obscured by an object relative to its light source), one for penumbra (the
26
+ // space partially obscured by an object), and one for ambient (the space which contains the object
27
+ // itself). For a further explanation of these terms and their meanings, see
28
+ // https://en.wikipedia.org/wiki/Umbra,_penumbra_and_antumbra.
29
+
30
+ // Maps for the different shadow sets and their values within each z-space. These values were
31
+ // created by taking a few reference shadow sets created by Google's Designers and interpolating
32
+ // all of the values between them.
33
+ //
34
+ // -----------------------------------------------------------------------------------------------------
35
+
36
+ // Applies the correct css rules to an element to give it the elevation specified by $zValue.
37
+ // The $zValue must be between 0 and 24.
38
+ @mixin elevation($zValue, $color: $elevation-color, $opacity: $elevation-opacity) {
39
+ @if type-of($zValue) !=number or not unitless($zValue) {
40
+ @error '$zValue must be a unitless number';
41
+ }
42
+
43
+ @if $zValue < 0 or $zValue >24 {
44
+ @error '$zValue must be between 0 and 24';
45
+ }
46
+
47
+ box-shadow: #{map-get(_get-umbra-map($color, $opacity), $zValue)},
48
+ #{map-get(_get-penumbra-map($color, $opacity), $zValue)},
49
+ #{map-get(_get-ambient-map($color, $opacity), $zValue)};
50
+ }
51
+
52
+ @mixin _theme-elevation($zValue, $theme, $opacity: $elevation-opacity) {
53
+ $foreground: map-get($theme, foreground);
54
+ $elevation-color: map-get($foreground, elevation);
55
+ $elevation-color-or-default: if($elevation-color ==null, $elevation-color, $elevation-color);
56
+
57
+ @include elevation($zValue, $elevation-color-or-default, $opacity);
58
+ }
59
+
60
+ // Applies the elevation to an element in a manner that allows
61
+ // consumers to override it via the Material elevation classes.
62
+ @mixin overridable-elevation($zValue, $color: $elevation-color, $opacity: $elevation-opacity) {
63
+ &:not([class*="#{$_elevation-prefix}"]) {
64
+ @include elevation($zValue, $color, $opacity);
65
+ }
66
+ }
67
+
68
+ @mixin _theme-overridable-elevation($zValue, $theme, $opacity: $elevation-opacity) {
69
+ $foreground: map-get($theme, foreground);
70
+ $elevation-color: map-get($foreground, elevation);
71
+ $elevation-color-or-default: if($elevation-color ==null, $elevation-color, $elevation-color);
72
+
73
+ @include overridable-elevation($zValue, $elevation-color-or-default, $opacity);
74
+ }
75
+
76
+ // Applies the correct css rules needed to have an element transition between elevations.
77
+ // This mixin should be applied to elements whose elevation values will change depending on their
78
+ // context (e.g. when active or disabled).
79
+ //
80
+ // NOTE(traviskaufman): Both this mixin and the above function use default parameters so they can
81
+ // be used in the same way by clients.
82
+ @mixin elevation-transition($duration: $elevation-transition-duration,
83
+ $easing: $elevation-transition-timing-function) {
84
+ // Returns a string that can be used as the value for a transition property for elevation.
85
+ // Calling this function directly is useful in situations where a component needs to transition
86
+ // more than one property.
87
+ //
88
+ // .foo {
89
+ // transition: elevation-transition-property-value(), opacity 100ms ease;
90
+ // }
91
+ transition: elevation-transition-property-value($duration, $easing);
92
+ }
93
+
94
+ // Css class generator for shadows
95
+ // $_elevation-prefix: "matcha-elevation-z";
96
+ @mixin elevation-theme($theme) {
97
+ @for $zValue from 0 through 24 {
98
+ .#{$_elevation-prefix}#{$zValue} {
99
+ @include _theme-elevation($zValue, $theme);
100
+ }
101
+ }
102
+ }