@companix/uikit 0.1.19 → 0.1.21

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.
@@ -47,6 +47,10 @@
47
47
  &[data-mode='minimal'] {
48
48
  @include use-mode($appearance, minimal);
49
49
  }
50
+
51
+ &[data-loading] {
52
+ @include mixins.use-styles(button, $appearance, loading);
53
+ }
50
54
  }
51
55
  }
52
56
 
@@ -148,11 +152,6 @@
148
152
 
149
153
  // appearance
150
154
 
151
- @include use-appearance(primary);
152
- @include use-appearance(neutral);
153
- @include use-appearance(negative);
154
- @include use-appearance(positive);
155
-
156
155
  &[data-loading] {
157
156
  cursor: progress;
158
157
  position: relative;
@@ -172,4 +171,9 @@
172
171
  @include mixins.use-styles(button, loading, spinner);
173
172
  }
174
173
  }
174
+
175
+ @include use-appearance(primary);
176
+ @include use-appearance(neutral);
177
+ @include use-appearance(negative);
178
+ @include use-appearance(positive);
175
179
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companix/uikit",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "main": "./dist/bundle.es.js",
5
5
  "module": "./dist/bundle.es.js",
6
6
  "types": "./dist/index.d.ts",