cortex-react-ui 0.1.2 → 0.1.3

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,43 +1,15 @@
1
- @import "../global.scss";
2
-
3
- @mixin spinner($props: null, $options: null) {
4
- $internal-options: $default-options;
5
-
6
- $internal-props: (
7
- color: blue,
8
- );
9
-
10
- $internal-props: safe-map-merge($internal-props, $props);
11
- $internal-options: safe-map-merge($internal-options, $options);
12
-
13
- @if get-map-deep($internal-options, "properties") == true {
14
- @keyframes ui-spinner-anim {
15
- to {
16
- transform: rotate(360deg);
17
- }
18
- }
19
- }
1
+ .ui-fade {
2
+ opacity: 0;
3
+ transition: opacity linear 160ms;
4
+ }
20
5
 
21
- .ui-spinner {
22
- @if get-map-deep($internal-options, "properties") == true {
23
- display: inline-block;
24
- width: 2rem;
25
- height: 2rem;
26
- vertical-align: text-bottom;
27
- border: 0.25em solid;
28
- border-right: 0.25em solid transparent;
29
- border-radius: 50%;
30
- text-indent: -9999em;
31
- }
6
+ .ui-fade-entering,
7
+ .ui-fade-entered {
8
+ opacity: 1;
9
+ }
32
10
 
33
- @if get-map-deep($internal-options, "colors") == true {
34
- border-left-color: get-map-deep($internal-props, "color");
35
- border-top-color: get-map-deep($internal-props, "color");
36
- border-bottom-color: get-map-deep($internal-props, "color");
37
- }
38
- }
39
11
 
40
- .ui-spinner-indeterminate {
41
- animation: ui-spinner-anim 0.75s linear infinite;
42
- }
12
+ .ui-fade-exited,
13
+ .ui-fade-exiting {
14
+ opacity: 0;
43
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortex-react-ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "React UI",
5
5
  "author": "Anthony",
6
6
  "license": "MIT",