react-asc 25.13.0 → 25.14.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.
package/index.d.ts CHANGED
@@ -7,7 +7,8 @@ declare enum COLOR {
7
7
  primary = "primary",
8
8
  accent = "accent",
9
9
  secondary = "secondary",
10
- danger = "danger",
10
+ success = "success",
11
+ error = "error",
11
12
  light = "light",
12
13
  dark = "dark"
13
14
  }
package/index.es.js CHANGED
@@ -10,7 +10,8 @@ var COLOR;
10
10
  COLOR["primary"] = "primary";
11
11
  COLOR["accent"] = "accent";
12
12
  COLOR["secondary"] = "secondary";
13
- COLOR["danger"] = "danger";
13
+ COLOR["success"] = "success";
14
+ COLOR["error"] = "error";
14
15
  COLOR["light"] = "light";
15
16
  COLOR["dark"] = "dark";
16
17
  })(COLOR || (COLOR = {}));
package/index.js CHANGED
@@ -12,7 +12,8 @@ exports.COLOR = void 0;
12
12
  COLOR["primary"] = "primary";
13
13
  COLOR["accent"] = "accent";
14
14
  COLOR["secondary"] = "secondary";
15
- COLOR["danger"] = "danger";
15
+ COLOR["success"] = "success";
16
+ COLOR["error"] = "error";
16
17
  COLOR["light"] = "light";
17
18
  COLOR["dark"] = "dark";
18
19
  })(exports.COLOR || (exports.COLOR = {}));
@@ -2,7 +2,8 @@ export declare enum COLOR {
2
2
  primary = "primary",
3
3
  accent = "accent",
4
4
  secondary = "secondary",
5
- danger = "danger",
5
+ success = "success",
6
+ error = "error",
6
7
  light = "light",
7
8
  dark = "dark"
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-asc",
3
- "version": "25.13.0",
3
+ "version": "25.14.0",
4
4
  "description": "handcrafted react components",
5
5
  "main": "index.js",
6
6
  "module": "index.es.js",
package/react-asc.scss CHANGED
@@ -44,6 +44,18 @@
44
44
  --dark-contrast-text: #fff;
45
45
  --dark-highlight: #5e6164;
46
46
 
47
+ --success-light: #59d74e;
48
+ --success: #0c8d00;
49
+ --success-dark: #0b6d02;
50
+ --success-contrast-text: #fff;
51
+ --success-highlight: #76d66d;
52
+
53
+ --error-light: #ff0202c0;
54
+ --error: #ff0000;
55
+ --error-dark: #b50e0e;
56
+ --error-contrast-text: #fff;
57
+ --error-highlight: #fd3c3c;
58
+
47
59
  --white: #fff;
48
60
 
49
61
  --bodyBg: white;
package/readme.md CHANGED
@@ -4,7 +4,12 @@ handcrafted components inspired by Material Design and bundled with rollup.
4
4
 
5
5
  ## showcase
6
6
 
7
- react-asc interactive showcase [link](https://react-asc.netlify.app)
7
+ react-asc interactive showcase with code snippets [link](https://react-asc.netlify.app)
8
+
9
+ ## Stackblitz Examples
10
+
11
+ - react-asc and jsx [link](https://stackblitz.com/edit/react-asc-example-js)
12
+ - react-asc and tsx [link](https://stackblitz.com/edit/react-asc-example-ts)
8
13
 
9
14
  ## usage
10
15