@vollowx/seele 0.12.5 → 0.12.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vollowx/seele",
3
- "version": "0.12.5",
3
+ "version": "0.12.6",
4
4
  "description": "A extensible Web Components library, with Material Design 3 components pre-provided.",
5
5
  "author": "vollowx",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "files": [
16
16
  "src/**/*.js",
17
- "src/**/*.d.ts",
17
+ "src/m3/system/*.css",
18
18
  "custom-elements.json",
19
19
  "LICENSE",
20
20
  "README.md"
@@ -27,7 +27,7 @@
27
27
  "lit",
28
28
  "ui-components"
29
29
  ],
30
- "homepage": "https://seele.v9.nz",
30
+ "homepage": "https://seele.projects.v9.nz",
31
31
  "repository": {
32
32
  "type": "git",
33
33
  "url": "https://github.com/vollowx/seele.git"
@@ -0,0 +1,3 @@
1
+ @import './elevation.css';
2
+ @import './motion.css';
3
+ @import './typography.css';
@@ -0,0 +1,15 @@
1
+ body {
2
+ accent-color: var(--md-sys-color-primary);
3
+ background-color: var(--md-sys-color-background);
4
+ color: var(--md-sys-color-on-background);
5
+ font-family: var(--md-sys-typography-family);
6
+ }
7
+
8
+ ::selection {
9
+ background-color: var(--md-sys-color-tertiary-container);
10
+ color: var(--md-sys-color-on-tertiary-container);
11
+ }
12
+
13
+ a {
14
+ color: var(--md-sys-color-primary);
15
+ }
@@ -0,0 +1,18 @@
1
+ :root {
2
+ --md-sys-elevation-level-0: 0;
3
+ --md-sys-elevation-level-1: 1;
4
+ --md-sys-elevation-level-2: 3;
5
+ --md-sys-elevation-level-3: 6;
6
+ --md-sys-elevation-level-4: 8;
7
+ --md-sys-elevation-level-5: 12;
8
+ --md-sys-elevation-shadow-1:
9
+ 0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px rgba(0, 0, 0, 0.3);
10
+ --md-sys-elevation-shadow-2:
11
+ 0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px rgba(0, 0, 0, 0.3);
12
+ --md-sys-elevation-shadow-3:
13
+ 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
14
+ --md-sys-elevation-shadow-4:
15
+ 0px 6px 10px 4px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
16
+ --md-sys-elevation-shadow-5:
17
+ 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);
18
+ }
@@ -0,0 +1,30 @@
1
+ :root {
2
+ /* std: standard, exp: expressive, mot: motion */
3
+ --md-sys-motion-exp-spatial-fast: cubic-bezier(0.42, 1.67, 0.21, 0.9);
4
+ --md-sys-motion-exp-spatial-fast-duration: 350ms;
5
+ --md-sys-motion-exp-spatial-default: cubic-bezier(0.38, 1.21, 0.22, 1);
6
+ --md-sys-motion-exp-spatial-default-duration: 500ms;
7
+ --md-sys-motion-exp-spatial-slow: cubic-bezier(0.39, 1.29, 0.35, 0.98);
8
+ --md-sys-motion-exp-spatial-slow-duration: 650ms;
9
+
10
+ --md-sys-motion-exp-effects-fast: cubic-bezier(0.31, 0.94, 0.34, 1);
11
+ --md-sys-motion-exp-effects-fast-duration: 150ms;
12
+ --md-sys-motion-exp-effects-default: cubic-bezier(0.34, 0.8, 0.34, 1);
13
+ --md-sys-motion-exp-effects-default-duration: 200ms;
14
+ --md-sys-motion-exp-effects-slow: cubic-bezier(0.34, 0.88, 0.34, 1);
15
+ --md-sys-motion-exp-effects-slow-duration: 300ms;
16
+
17
+ --md-sys-motion-std-spatial-fast: cubic-bezier(0.27, 1.06, 0.18, 1);
18
+ --md-sys-motion-std-spatial-fast-duration: 350ms;
19
+ --md-sys-motion-std-spatial-default: cubic-bezier(0.27, 1.06, 0.18, 1);
20
+ --md-sys-motion-std-spatial-default-duration: 500ms;
21
+ --md-sys-motion-std-spatial-slow: cubic-bezier(0.27, 1.06, 0.18, 1);
22
+ --md-sys-motion-std-spatial-slow-duration: 750ms;
23
+
24
+ --md-sys-motion-std-effects-fast: cubic-bezier(0.31, 0.94, 0.34, 1);
25
+ --md-sys-motion-std-effects-fast-duration: 150ms;
26
+ --md-sys-motion-std-effects-default: cubic-bezier(0.34, 0.8, 0.34, 1);
27
+ --md-sys-motion-std-effects-default-duration: 200ms;
28
+ --md-sys-motion-std-effects-slow: cubic-bezier(0.34, 0.88, 0.34, 1);
29
+ --md-sys-motion-std-effects-slow-duration: 300ms;
30
+ }
@@ -0,0 +1,34 @@
1
+ :root {
2
+ --md-sys-typography-family: sans-serif;
3
+
4
+ --md-sys-typography-display-large: 400 3.5625rem / 4rem
5
+ var(--md-sys-typography-family);
6
+ --md-sys-typography-display-medium: 400 2.8125rem / 3.5rem
7
+ var(--md-sys-typography-family);
8
+ --md-sys-typography-display-small: 400 2.25rem / 3rem
9
+ var(--md-sys-typography-family);
10
+ --md-sys-typography-headline-large: 400 2.5rem / 3.125rem
11
+ var(--md-sys-typography-family);
12
+ --md-sys-typography-headline-medium: 400 2.25rem / 2.75rem
13
+ var(--md-sys-typography-family);
14
+ --md-sys-typography-headline-small: 400 2rem / 2.5rem
15
+ var(--md-sys-typography-family);
16
+ --md-sys-typography-title-large: 400 1.375rem / 1.75rem
17
+ var(--md-sys-typography-family);
18
+ --md-sys-typography-title-medium: 500 1rem / 1.25rem
19
+ var(--md-sys-typography-family);
20
+ --md-sys-typography-title-small: 500 0.875rem / 1.125rem
21
+ var(--md-sys-typography-family);
22
+ --md-sys-typography-label-large: 500 0.875rem / 1.25rem
23
+ var(--md-sys-typography-family);
24
+ --md-sys-typography-label-medium: 500 0.75rem / 1rem
25
+ var(--md-sys-typography-family);
26
+ --md-sys-typography-label-small: 500 0.6875rem / 0.875rem
27
+ var(--md-sys-typography-family);
28
+ --md-sys-typography-body-large: 400 1rem / 1.5rem
29
+ var(--md-sys-typography-family);
30
+ --md-sys-typography-body-medium: 400 0.875rem / 1.25rem
31
+ var(--md-sys-typography-family);
32
+ --md-sys-typography-body-small: 400 0.75rem / 1rem
33
+ var(--md-sys-typography-family);
34
+ }
@@ -1 +0,0 @@
1
- type Constructor<T> = new (...args: any[]) => T;