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 +2 -1
- package/index.es.js +2 -1
- package/index.js +2 -1
- package/lib/components/component.enums.d.ts +2 -1
- package/package.json +1 -1
- package/react-asc.scss +12 -0
- package/readme.md +6 -1
package/index.d.ts
CHANGED
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["
|
|
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["
|
|
15
|
+
COLOR["success"] = "success";
|
|
16
|
+
COLOR["error"] = "error";
|
|
16
17
|
COLOR["light"] = "light";
|
|
17
18
|
COLOR["dark"] = "dark";
|
|
18
19
|
})(exports.COLOR || (exports.COLOR = {}));
|
package/package.json
CHANGED
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
|
|