@inchurch/matcha-theme 20.0.11 → 20.276.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 (98) hide show
  1. package/abstracts/_colors.scss +404 -404
  2. package/abstracts/_elevation.scss +102 -102
  3. package/abstracts/_functions.scss +1212 -1212
  4. package/abstracts/_media-breakpoint.scss +23 -23
  5. package/abstracts/_typography.scss +127 -127
  6. package/base/_reset.scss +438 -438
  7. package/components/app-page-header.scss +260 -0
  8. package/components/matcha-accordion.scss +294 -157
  9. package/components/matcha-avatar.scss +171 -31
  10. package/components/matcha-badge.scss +4 -4
  11. package/components/matcha-breadcrumb.scss +232 -126
  12. package/components/matcha-button-toggle.scss +44 -0
  13. package/components/matcha-buttons.scss +908 -784
  14. package/components/matcha-calendar.scss +70 -2
  15. package/components/matcha-cards.scss +28 -2
  16. package/components/matcha-checkbox.scss +191 -490
  17. package/components/matcha-chip.scss +297 -212
  18. package/components/matcha-command-palette.scss +291 -63
  19. package/components/matcha-crop.scss +407 -172
  20. package/components/matcha-date.scss +81 -81
  21. package/components/matcha-divider.scss +86 -31
  22. package/components/matcha-drawer.scss +201 -50
  23. package/components/matcha-drop-image.scss +14 -0
  24. package/components/matcha-drop-list.scss +42 -1
  25. package/components/matcha-empty-state.scss +195 -83
  26. package/components/matcha-flag.scss +93 -52
  27. package/components/matcha-footer.scss +68 -164
  28. package/components/matcha-form-field.scss +52 -0
  29. package/components/matcha-form-section.scss +101 -101
  30. package/components/matcha-header.scss +135 -325
  31. package/components/matcha-highlight.scss +65 -197
  32. package/components/matcha-hint-text.scss +21 -0
  33. package/components/matcha-horizontal-tree.scss +317 -317
  34. package/components/matcha-icon.scss +17 -25
  35. package/components/matcha-list.scss +5 -5
  36. package/components/matcha-menu.scss +13 -0
  37. package/components/matcha-modal.scss +58 -84
  38. package/components/matcha-nav.scss +361 -230
  39. package/components/matcha-notification.scss +413 -197
  40. package/components/matcha-option.scss +79 -23
  41. package/components/matcha-paginator.scss +689 -235
  42. package/components/matcha-panel.scss +42 -26
  43. package/components/matcha-profile-card.scss +50 -50
  44. package/components/matcha-progress-bar.scss +257 -153
  45. package/components/matcha-radio.scss +244 -452
  46. package/components/matcha-scrollbox-shadow.scss +122 -122
  47. package/components/matcha-select.scss +3 -3
  48. package/components/matcha-skeleton.scss +18 -0
  49. package/components/matcha-slide-toggle.scss +47 -2
  50. package/components/matcha-slider.scss +172 -75
  51. package/components/matcha-snack-bar.scss +114 -121
  52. package/components/matcha-spinner.scss +76 -57
  53. package/components/matcha-status-pill.scss +82 -0
  54. package/components/matcha-stepper.scss +377 -177
  55. package/components/matcha-table.scss +569 -785
  56. package/components/matcha-tabs.scss +624 -469
  57. package/components/matcha-toolbar.scss +359 -206
  58. package/components/matcha-tooltip.scss +156 -62
  59. package/components/matcha-tree-view.scss +189 -0
  60. package/components/matcha-uploader.scss +240 -62
  61. package/fonts/manrope/manrope-latin-ext.woff2 +0 -0
  62. package/fonts/manrope/manrope-latin.woff2 +0 -0
  63. package/layout/matcha-page-layout.scss +4 -4
  64. package/main.scss +232 -265
  65. package/package.json +1 -1
  66. package/tokens/_animations-tokens.scss +37 -37
  67. package/tokens/_breakpoints-tokens.scss +35 -26
  68. package/tokens/_color-tokens.scss +1152 -1152
  69. package/tokens/_css-custom-properties.scss +650 -568
  70. package/tokens/_spacing-tokens.scss +94 -94
  71. package/vendors/angular-editor.scss +56 -56
  72. package/vendors/angular-material-fixes.scss +297 -297
  73. package/vendors/charts.scss +92 -92
  74. package/vendors/ng5-slider.scss +56 -56
  75. package/vendors/ngx-material-timepicker.scss +50 -50
  76. package/fonts/CircularStd-Black.eot +0 -0
  77. package/fonts/CircularStd-Black.svg +0 -3426
  78. package/fonts/CircularStd-Black.ttf +0 -0
  79. package/fonts/CircularStd-Black.woff +0 -0
  80. package/fonts/CircularStd-Black.woff2 +0 -0
  81. package/fonts/CircularStd-Bold.eot +0 -0
  82. package/fonts/CircularStd-Bold.otf +0 -0
  83. package/fonts/CircularStd-Bold.svg +0 -13532
  84. package/fonts/CircularStd-Bold.ttf +0 -0
  85. package/fonts/CircularStd-Bold.woff +0 -0
  86. package/fonts/CircularStd-Bold.woff2 +0 -0
  87. package/fonts/CircularStd-Medium.eot +0 -0
  88. package/fonts/CircularStd-Medium.otf +0 -0
  89. package/fonts/CircularStd-Medium.svg +0 -13511
  90. package/fonts/CircularStd-Medium.ttf +0 -0
  91. package/fonts/CircularStd-Medium.woff +0 -0
  92. package/fonts/CircularStd-Medium.woff2 +0 -0
  93. package/fonts/CircularStd-Regular.eot +0 -0
  94. package/fonts/CircularStd-Regular.otf +0 -0
  95. package/fonts/CircularStd-Regular.svg +0 -2378
  96. package/fonts/CircularStd-Regular.ttf +0 -0
  97. package/fonts/CircularStd-Regular.woff +0 -0
  98. 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
+ }