@react-md/core 1.0.0-next.6 → 1.0.0-next.7

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.
@@ -1,18 +1,18 @@
1
1
 
2
- > @react-md/core@1.0.0-next.5 build /home/mlaursen/code/react-md/packages/core
2
+ > @react-md/core@1.0.0-next.6 build /home/mlaursen/code/react-md/packages/core
3
3
  > npm-run-all build-esm build-scss build-types
4
4
 
5
5
 
6
- > @react-md/core@1.0.0-next.5 build-esm /home/mlaursen/code/react-md/packages/core
6
+ > @react-md/core@1.0.0-next.6 build-esm /home/mlaursen/code/react-md/packages/core
7
7
  > swc src -d ./dist
8
8
 
9
- Successfully compiled: 368 files with swc (365.46ms)
9
+ Successfully compiled: 368 files with swc (344.05ms)
10
10
 
11
- > @react-md/core@1.0.0-next.5 build-scss /home/mlaursen/code/react-md/packages/core
11
+ > @react-md/core@1.0.0-next.6 build-scss /home/mlaursen/code/react-md/packages/core
12
12
  > node scripts/copySassFiles.js
13
13
 
14
14
  Copied 38 scss files
15
15
 
16
- > @react-md/core@1.0.0-next.5 build-types /home/mlaursen/code/react-md/packages/core
16
+ > @react-md/core@1.0.0-next.6 build-types /home/mlaursen/code/react-md/packages/core
17
17
  > tsc -P tsconfig.types.json
18
18
 
@@ -0,0 +1,12 @@
1
+
2
+ > @react-md/core@1.0.0-next.6 lint /home/mlaursen/code/react-md/packages/core
3
+ > npm-run-all lint-scripts lint-styles
4
+
5
+
6
+ > @react-md/core@1.0.0-next.6 lint-scripts /home/mlaursen/code/react-md/packages/core
7
+ > eslint "src/**/*.{ts,tsx,js,jsx,cjs,mjs}"
8
+
9
+
10
+ > @react-md/core@1.0.0-next.6 lint-styles /home/mlaursen/code/react-md/packages/core
11
+ > stylelint "src/**/*.{css,scss}"
12
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @react-md/core
2
2
 
3
+ ## 1.0.0-next.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed form layer application
8
+
3
9
  ## 1.0.0-next.6
4
10
 
5
11
  ### Patch Changes
@@ -2041,96 +2041,95 @@ $variables: (
2041
2041
  @mixin styles($disable-layer: false) {
2042
2042
  @if not $disable-everything {
2043
2043
  @include utils.optional-layer(form, $disable-layer) {
2044
- }
2045
-
2046
- @include theme.default-system-theme {
2047
- @include use-dark-theme;
2048
- }
2044
+ @include theme.default-system-theme {
2045
+ @include use-dark-theme;
2046
+ }
2049
2047
 
2050
- @if not $disable-fieldset {
2051
- .rmd-fieldset {
2052
- &--unstyled {
2053
- border: 0;
2054
- margin: 0;
2055
- min-width: 0; // just so it can shrink correctly in flex or grid
2056
- padding: 0;
2057
- }
2048
+ @if not $disable-fieldset {
2049
+ .rmd-fieldset {
2050
+ &--unstyled {
2051
+ border: 0;
2052
+ margin: 0;
2053
+ min-width: 0; // just so it can shrink correctly in flex or grid
2054
+ padding: 0;
2055
+ }
2058
2056
 
2059
- &--full-width {
2060
- flex: 1 1 auto;
2061
- width: 100%;
2057
+ &--full-width {
2058
+ flex: 1 1 auto;
2059
+ width: 100%;
2060
+ }
2062
2061
  }
2063
2062
  }
2064
- }
2065
2063
 
2066
- @if not $disable-label {
2067
- @include label-styles(true);
2068
- }
2064
+ @if not $disable-label {
2065
+ @include label-styles(true);
2066
+ }
2069
2067
 
2070
- @if not $disable-file-input {
2071
- @include file-input-styles(true);
2072
- }
2068
+ @if not $disable-file-input {
2069
+ @include file-input-styles(true);
2070
+ }
2073
2071
 
2074
- @if not $disable-message {
2075
- @include form-message-styles(true);
2076
- }
2072
+ @if not $disable-message {
2073
+ @include form-message-styles(true);
2074
+ }
2077
2075
 
2078
- @if not $_disable-text-field-container {
2079
- @include text-field-container-styles(true);
2080
- }
2076
+ @if not $_disable-text-field-container {
2077
+ @include text-field-container-styles(true);
2078
+ }
2081
2079
 
2082
- @if not
2083
- $disable-text-field or not
2084
- $disable-password or not
2085
- $disable-textarea
2086
- {
2087
- @include text-field-styles(true);
2088
- }
2080
+ @if not
2081
+ $disable-text-field or not
2082
+ $disable-password or not
2083
+ $disable-textarea
2084
+ {
2085
+ @include text-field-styles(true);
2086
+ }
2089
2087
 
2090
- @if not $disable-password {
2091
- @include password-styles(true);
2092
- }
2088
+ @if not $disable-password {
2089
+ @include password-styles(true);
2090
+ }
2093
2091
 
2094
- @if not $disable-textarea {
2095
- @include textarea-container-styles(true);
2096
- @include textarea-styles(true);
2097
- }
2092
+ @if not $disable-textarea {
2093
+ @include textarea-container-styles(true);
2094
+ @include textarea-styles(true);
2095
+ }
2098
2096
 
2099
- @if not $disable-select {
2100
- @include select-styles(true);
2101
- }
2097
+ @if not $disable-select {
2098
+ @include select-styles(true);
2099
+ }
2102
2100
 
2103
- @if not $disable-option {
2104
- @include option-styles(true);
2105
- }
2101
+ @if not $disable-option {
2102
+ @include option-styles(true);
2103
+ }
2106
2104
 
2107
- @if not $disable-native-select {
2108
- @include native-select-styles(true);
2109
- }
2105
+ @if not $disable-native-select {
2106
+ @include native-select-styles(true);
2107
+ }
2110
2108
 
2111
- @if not $disable-text-field-addon {
2112
- @include text-field-addon-styles(true);
2113
- }
2109
+ @if not $disable-text-field-addon {
2110
+ @include text-field-addon-styles(true);
2111
+ }
2114
2112
 
2115
- @if not $disable-checkbox or not $disable-radio or not $disable-switch {
2116
- @include hidden-input-styles(true);
2117
- @include input-toggle-styles(true);
2118
- }
2113
+ @if not $disable-checkbox or not $disable-radio or not $disable-switch {
2114
+ @include hidden-input-styles(true);
2115
+ @include input-toggle-styles(true);
2116
+ }
2119
2117
 
2120
- @if not $disable-switch {
2121
- @include switch-styles(true);
2122
- }
2118
+ @if not $disable-switch {
2119
+ @include switch-styles(true);
2120
+ }
2123
2121
 
2124
- @if not
2125
- $disable-menu-item-checkbox or not
2126
- $disable-menu-item-radio or not
2127
- $disable-menu-item-switch
2128
- {
2129
- @include menu-item-input-toggle-styles(true);
2130
- }
2122
+ @if not
2123
+ $disable-menu-item-checkbox or not
2124
+ $disable-menu-item-radio or not
2125
+ $disable-menu-item-switch
2126
+ {
2127
+ @include menu-item-input-toggle-styles(true);
2128
+ }
2131
2129
 
2132
- @if not $disable-slider {
2133
- @include slider-styles(true);
2130
+ @if not $disable-slider {
2131
+ @include slider-styles(true);
2132
+ }
2134
2133
  }
2135
2134
  }
2136
2135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-md/core",
3
- "version": "1.0.0-next.6",
3
+ "version": "1.0.0-next.7",
4
4
  "description": "The core components and functionality for react-md.",
5
5
  "type": "module",
6
6
  "sass": "./dist/_core.scss",
@@ -2041,96 +2041,95 @@ $variables: (
2041
2041
  @mixin styles($disable-layer: false) {
2042
2042
  @if not $disable-everything {
2043
2043
  @include utils.optional-layer(form, $disable-layer) {
2044
- }
2045
-
2046
- @include theme.default-system-theme {
2047
- @include use-dark-theme;
2048
- }
2044
+ @include theme.default-system-theme {
2045
+ @include use-dark-theme;
2046
+ }
2049
2047
 
2050
- @if not $disable-fieldset {
2051
- .rmd-fieldset {
2052
- &--unstyled {
2053
- border: 0;
2054
- margin: 0;
2055
- min-width: 0; // just so it can shrink correctly in flex or grid
2056
- padding: 0;
2057
- }
2048
+ @if not $disable-fieldset {
2049
+ .rmd-fieldset {
2050
+ &--unstyled {
2051
+ border: 0;
2052
+ margin: 0;
2053
+ min-width: 0; // just so it can shrink correctly in flex or grid
2054
+ padding: 0;
2055
+ }
2058
2056
 
2059
- &--full-width {
2060
- flex: 1 1 auto;
2061
- width: 100%;
2057
+ &--full-width {
2058
+ flex: 1 1 auto;
2059
+ width: 100%;
2060
+ }
2062
2061
  }
2063
2062
  }
2064
- }
2065
2063
 
2066
- @if not $disable-label {
2067
- @include label-styles(true);
2068
- }
2064
+ @if not $disable-label {
2065
+ @include label-styles(true);
2066
+ }
2069
2067
 
2070
- @if not $disable-file-input {
2071
- @include file-input-styles(true);
2072
- }
2068
+ @if not $disable-file-input {
2069
+ @include file-input-styles(true);
2070
+ }
2073
2071
 
2074
- @if not $disable-message {
2075
- @include form-message-styles(true);
2076
- }
2072
+ @if not $disable-message {
2073
+ @include form-message-styles(true);
2074
+ }
2077
2075
 
2078
- @if not $_disable-text-field-container {
2079
- @include text-field-container-styles(true);
2080
- }
2076
+ @if not $_disable-text-field-container {
2077
+ @include text-field-container-styles(true);
2078
+ }
2081
2079
 
2082
- @if not
2083
- $disable-text-field or not
2084
- $disable-password or not
2085
- $disable-textarea
2086
- {
2087
- @include text-field-styles(true);
2088
- }
2080
+ @if not
2081
+ $disable-text-field or not
2082
+ $disable-password or not
2083
+ $disable-textarea
2084
+ {
2085
+ @include text-field-styles(true);
2086
+ }
2089
2087
 
2090
- @if not $disable-password {
2091
- @include password-styles(true);
2092
- }
2088
+ @if not $disable-password {
2089
+ @include password-styles(true);
2090
+ }
2093
2091
 
2094
- @if not $disable-textarea {
2095
- @include textarea-container-styles(true);
2096
- @include textarea-styles(true);
2097
- }
2092
+ @if not $disable-textarea {
2093
+ @include textarea-container-styles(true);
2094
+ @include textarea-styles(true);
2095
+ }
2098
2096
 
2099
- @if not $disable-select {
2100
- @include select-styles(true);
2101
- }
2097
+ @if not $disable-select {
2098
+ @include select-styles(true);
2099
+ }
2102
2100
 
2103
- @if not $disable-option {
2104
- @include option-styles(true);
2105
- }
2101
+ @if not $disable-option {
2102
+ @include option-styles(true);
2103
+ }
2106
2104
 
2107
- @if not $disable-native-select {
2108
- @include native-select-styles(true);
2109
- }
2105
+ @if not $disable-native-select {
2106
+ @include native-select-styles(true);
2107
+ }
2110
2108
 
2111
- @if not $disable-text-field-addon {
2112
- @include text-field-addon-styles(true);
2113
- }
2109
+ @if not $disable-text-field-addon {
2110
+ @include text-field-addon-styles(true);
2111
+ }
2114
2112
 
2115
- @if not $disable-checkbox or not $disable-radio or not $disable-switch {
2116
- @include hidden-input-styles(true);
2117
- @include input-toggle-styles(true);
2118
- }
2113
+ @if not $disable-checkbox or not $disable-radio or not $disable-switch {
2114
+ @include hidden-input-styles(true);
2115
+ @include input-toggle-styles(true);
2116
+ }
2119
2117
 
2120
- @if not $disable-switch {
2121
- @include switch-styles(true);
2122
- }
2118
+ @if not $disable-switch {
2119
+ @include switch-styles(true);
2120
+ }
2123
2121
 
2124
- @if not
2125
- $disable-menu-item-checkbox or not
2126
- $disable-menu-item-radio or not
2127
- $disable-menu-item-switch
2128
- {
2129
- @include menu-item-input-toggle-styles(true);
2130
- }
2122
+ @if not
2123
+ $disable-menu-item-checkbox or not
2124
+ $disable-menu-item-radio or not
2125
+ $disable-menu-item-switch
2126
+ {
2127
+ @include menu-item-input-toggle-styles(true);
2128
+ }
2131
2129
 
2132
- @if not $disable-slider {
2133
- @include slider-styles(true);
2130
+ @if not $disable-slider {
2131
+ @include slider-styles(true);
2132
+ }
2134
2133
  }
2135
2134
  }
2136
2135
  }