@liftkit-vue/core 0.1.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.
Files changed (43) hide show
  1. package/README.md +181 -0
  2. package/dist/core.css +1 -0
  3. package/dist/index.cjs +273 -0
  4. package/dist/index.mjs +5592 -0
  5. package/package.json +58 -0
  6. package/src/css/align-items.css +21 -0
  7. package/src/css/align-self.css +24 -0
  8. package/src/css/aspect-ratios.css +35 -0
  9. package/src/css/background-colors.css +951 -0
  10. package/src/css/border-color.css +241 -0
  11. package/src/css/border-radius.css +49 -0
  12. package/src/css/border-style.css +20 -0
  13. package/src/css/border-width.css +41 -0
  14. package/src/css/borders.css +33 -0
  15. package/src/css/breaks.css +5 -0
  16. package/src/css/column-span.css +47 -0
  17. package/src/css/cursor.css +3 -0
  18. package/src/css/display.css +21 -0
  19. package/src/css/flexboxes.css +128 -0
  20. package/src/css/gaps.css +42 -0
  21. package/src/css/height.css +27 -0
  22. package/src/css/index.css +36 -0
  23. package/src/css/justify-content.css +23 -0
  24. package/src/css/justify-items.css +20 -0
  25. package/src/css/liftkit-core.css +465 -0
  26. package/src/css/liftkitvars.css +378 -0
  27. package/src/css/lk-components.css +498 -0
  28. package/src/css/margins.css +947 -0
  29. package/src/css/opacity.css +87 -0
  30. package/src/css/overflow.css +27 -0
  31. package/src/css/padding.css +1041 -0
  32. package/src/css/pointer-events.css +3 -0
  33. package/src/css/position.css +21 -0
  34. package/src/css/scale.css +23 -0
  35. package/src/css/scrim.css +10 -0
  36. package/src/css/shadows.css +31 -0
  37. package/src/css/text-alignment.css +19 -0
  38. package/src/css/text-color.css +721 -0
  39. package/src/css/text-columns.css +4 -0
  40. package/src/css/typography.css +493 -0
  41. package/src/css/whitespace.css +3 -0
  42. package/src/css/width.css +7 -0
  43. package/src/css/z-index.css +25 -0
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@liftkit-vue/core",
3
+ "version": "0.1.0",
4
+ "description": "Material Design 3 inspired Vue 3 component library with dynamic theming and golden-ratio design tokens",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "annrie",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/annrie/liftkit-vue",
11
+ "directory": "packages/core"
12
+ },
13
+ "homepage": "https://github.com/annrie/liftkit-vue/tree/main/packages/core",
14
+ "bugs": "https://github.com/annrie/liftkit-vue/issues",
15
+ "keywords": [
16
+ "vue",
17
+ "vue3",
18
+ "material-design",
19
+ "md3",
20
+ "design-system",
21
+ "components",
22
+ "theming",
23
+ "golden-ratio",
24
+ "css-tokens"
25
+ ],
26
+ "main": "./dist/index.cjs",
27
+ "module": "./dist/index.mjs",
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "import": "./dist/index.mjs",
32
+ "require": "./dist/index.cjs",
33
+ "types": "./dist/index.d.ts"
34
+ },
35
+ "./css/*": "./src/css/*"
36
+ },
37
+ "files": ["dist", "src/css"],
38
+ "scripts": {
39
+ "build": "vite build",
40
+ "typecheck": "vue-tsc --noEmit"
41
+ },
42
+ "dependencies": {
43
+ "@material/material-color-utilities": "^0.3.0",
44
+ "material-dynamic-colors": "^1.1.2",
45
+ "@floating-ui/vue": "^1.1.6",
46
+ "@csstools/normalize.css": "^12.1.1"
47
+ },
48
+ "devDependencies": {
49
+ "vue": "^3.5.0",
50
+ "vite": "^6.0.0",
51
+ "typescript": "^5.7.0",
52
+ "@vitejs/plugin-vue": "^5.2.0",
53
+ "vue-tsc": "^2.2.0"
54
+ },
55
+ "peerDependencies": {
56
+ "vue": "^3.5.0"
57
+ }
58
+ }
@@ -0,0 +1,21 @@
1
+ /* Item Alignment */
2
+
3
+ .items-stretch {
4
+ align-items: stretch;
5
+ }
6
+
7
+ .items-center {
8
+ align-items: center;
9
+ }
10
+
11
+ .items-start {
12
+ align-items: flex-start;
13
+ }
14
+
15
+ .items-end {
16
+ align-items: flex-end;
17
+ }
18
+
19
+ .items-baseline {
20
+ align-items: baseline;
21
+ }
@@ -0,0 +1,24 @@
1
+ .self-auto {
2
+ align-self: auto;
3
+ }
4
+
5
+ .self-start {
6
+ align-self: start;
7
+ }
8
+
9
+ .self-end {
10
+ align-self: end;
11
+ }
12
+
13
+ .self-center {
14
+ align-self: center;
15
+ }
16
+
17
+ .self-stretch {
18
+ align-self: stretch;
19
+ }
20
+
21
+ .self-baseline {
22
+ align-self: baseline;
23
+ }
24
+
@@ -0,0 +1,35 @@
1
+ /*How to use
2
+
3
+ the aspect-ratio property maintains the proportion of width to height.
4
+ For it to work, either the width or the height of the element must be set
5
+ to a value besides "auto." It can be fixed-width or responsive, but it must be set.
6
+
7
+ Either width or height must be set to auto in order for aspect-ratio to work.
8
+
9
+ Template: aspect-ratio: width / height;
10
+
11
+ */
12
+
13
+ .aspect-16x9 {
14
+ aspect-ratio: 16 / 9;
15
+ }
16
+
17
+ .aspect-4x3 {
18
+ aspect-ratio: 4 / 3;
19
+ }
20
+
21
+ .aspect-3x2 {
22
+ aspect-ratio: 3 / 2;
23
+ }
24
+
25
+ .aspect-9x16 {
26
+ aspect-ratio: 9 / 16;
27
+ }
28
+
29
+ .aspect-1x1 {
30
+ aspect-ratio: 1;
31
+ }
32
+
33
+ .aspect-2x1 {
34
+ aspect-ratio: 2 / 1;
35
+ }