kern-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.
- package/README.md +4 -4
- package/dist/kern.js +643 -653
- package/dist/kern.min.css +1 -1
- package/dist/kern.min.css.gz +0 -0
- package/dist/kern.min.js +1 -33
- package/dist/kern.min.js.gz +0 -0
- package/package.json +2 -4
- package/src/kern.js +1 -1
- package/src-js/api.js +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
Configure in HTML. Theme in CSS. Control in JS. No build step. Ever.
|
|
5
5
|
|
|
6
6
|
```html
|
|
7
|
-
<link rel="stylesheet" href="https://unpkg.com/kern-ui@0.1.
|
|
8
|
-
<script src="https://unpkg.com/kern-ui@0.1.
|
|
7
|
+
<link rel="stylesheet" href="https://unpkg.com/kern-ui@0.1.3/dist/kern.min.css">
|
|
8
|
+
<script src="https://unpkg.com/kern-ui@0.1.3/dist/kern.min.js"></script>
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
**41 KB CSS · 12 KB JS — 7 KB + 3 KB gzipped — Zero dependencies**
|
|
@@ -47,7 +47,7 @@ Most UI libraries demand a build step, a framework, or hundreds of KB of JS. Ker
|
|
|
47
47
|
<!DOCTYPE html>
|
|
48
48
|
<html lang="en" data-theme="dark" data-accent="violet">
|
|
49
49
|
<head>
|
|
50
|
-
<link rel="stylesheet" href="https://unpkg.com/kern-ui@0.1.
|
|
50
|
+
<link rel="stylesheet" href="https://unpkg.com/kern-ui@0.1.3/dist/kern.min.css">
|
|
51
51
|
</head>
|
|
52
52
|
<body>
|
|
53
53
|
<button>Primary</button>
|
|
@@ -61,7 +61,7 @@ Most UI libraries demand a build step, a framework, or hundreds of KB of JS. Ker
|
|
|
61
61
|
</div>
|
|
62
62
|
</kern-dropdown>
|
|
63
63
|
|
|
64
|
-
<script src="https://unpkg.com/kern-ui@0.1.
|
|
64
|
+
<script src="https://unpkg.com/kern-ui@0.1.3/dist/kern.min.js"></script>
|
|
65
65
|
<script>
|
|
66
66
|
Kern.toast({ title: 'Hello!', message: 'Kern is ready.', color: 'success' });
|
|
67
67
|
</script>
|