rei-kit 0.3.1 → 0.4.1
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/dist/components/BaseAlert.vue.d.ts +38 -0
- package/dist/components/BaseBadge.vue.d.ts +23 -0
- package/dist/components/BaseCard.vue.d.ts +33 -0
- package/dist/components/ErrorBoundary.vue.d.ts +61 -0
- package/dist/components/PageContainer.vue.d.ts +34 -0
- package/dist/components/ProgressBar.vue.d.ts +18 -0
- package/dist/composables/use-media-query.d.ts +19 -0
- package/dist/index.d.ts +19 -1
- package/dist/index.js +279 -22
- package/dist/index.js.map +1 -1
- package/dist/tokens.css +12 -0
- package/package.json +5 -3
package/dist/tokens.css
CHANGED
|
@@ -16,6 +16,18 @@
|
|
|
16
16
|
--color-ink-soft: #5c7480;
|
|
17
17
|
--color-hair: #e1edea;
|
|
18
18
|
|
|
19
|
+
/* ---------------------------------------------------------------------
|
|
20
|
+
Measures.
|
|
21
|
+
|
|
22
|
+
A width is a role like a colour is. `PageContainer` shipped with 75rem
|
|
23
|
+
baked in and the first app that wanted it had deliberately chosen 1120px,
|
|
24
|
+
so the component it was written for could not be used — which is the same
|
|
25
|
+
mistake as a component with a hex in it, one axis over.
|
|
26
|
+
--------------------------------------------------------------------- */
|
|
27
|
+
--measure-page: 75rem;
|
|
28
|
+
/* ~68 characters. Longer and the eye loses the line it was returning to. */
|
|
29
|
+
--measure-reading: 68ch;
|
|
30
|
+
|
|
19
31
|
--radius-cell: 3px;
|
|
20
32
|
--radius-card: 16px;
|
|
21
33
|
--radius-shell: 30px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rei-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Vue 3 and Tailwind 4 design system and shared runtime. Extracted from Hibi.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ramazan Doğan",
|
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
"dev": "vite build --watch",
|
|
36
36
|
"build": "run-s type-check build-only",
|
|
37
37
|
"build-only": "vite build && node scripts/verify-bundle.mjs",
|
|
38
|
+
"showcase": "vite --config vite.showcase.config.ts",
|
|
39
|
+
"showcase:build": "vite build --config vite.showcase.config.ts",
|
|
38
40
|
"type-check": "vue-tsc --build",
|
|
39
41
|
"test:unit": "vitest",
|
|
40
42
|
"test:ci": "vitest run",
|
|
@@ -42,11 +44,11 @@
|
|
|
42
44
|
"lint:oxlint": "oxlint . --fix",
|
|
43
45
|
"lint:eslint": "eslint . --fix --cache",
|
|
44
46
|
"check": "run-s check:format check:lint type-check test:ci build-only",
|
|
45
|
-
"check:format": "prettier --check src/",
|
|
47
|
+
"check:format": "prettier --check src/ showcase/",
|
|
46
48
|
"check:lint": "run-s check:lint:*",
|
|
47
49
|
"check:lint:oxlint": "oxlint .",
|
|
48
50
|
"check:lint:eslint": "eslint .",
|
|
49
|
-
"format": "prettier --write src/",
|
|
51
|
+
"format": "prettier --write src/ showcase/",
|
|
50
52
|
"prepublishOnly": "pnpm run build"
|
|
51
53
|
},
|
|
52
54
|
"peerDependencies": {
|