dowel-ui 0.4.0 → 0.5.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/README.md +10 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,7 +8,10 @@ The lacodda line design system: theme tokens and React primitives, distributed a
|
|
|
8
8
|
|
|
9
9
|
A dowel is the hidden peg that joins two boards so the seam does not show. That is what this does for the products of the line: they look made by one hand, and nobody sees the joint.
|
|
10
10
|
|
|
11
|
-
**
|
|
11
|
+
**[Documentation](https://lacodda.github.io/dowel/)** — what everything is and why it is that way.
|
|
12
|
+
**[The stand](https://lacodda.github.io/dowel/stand/)** — every component, live, in either theme and in the accent of any product of the line.
|
|
13
|
+
|
|
14
|
+
**Status:** v0.5.0 - the theme, the scales, an accent per product, and ten primitives: enough for a screen without overlays. See the [roadmap](#roadmap).
|
|
12
15
|
|
|
13
16
|
## The theme
|
|
14
17
|
|
|
@@ -80,9 +83,12 @@ your code:
|
|
|
80
83
|
npx shadcn@latest add https://lacodda.github.io/dowel/r/button.json
|
|
81
84
|
```
|
|
82
85
|
|
|
86
|
+
Ten of them so far: Button, Input, Textarea, Panel, Badge, Chip, Kbd, Spinner,
|
|
87
|
+
Truncate and Copyable.
|
|
88
|
+
|
|
83
89
|
Each is written in the vocabulary - no raw colours, no `dark:` utilities - so
|
|
84
90
|
the same component is correct in both themes and in every product's accent.
|
|
85
|
-
Every one of them is
|
|
91
|
+
Every one of them is on [the stand](https://lacodda.github.io/dowel/stand/), live - change the theme and the accent and watch what follows.
|
|
86
92
|
|
|
87
93
|
Full vocabulary, shown rather than tabulated: **[colours](https://lacodda.github.io/dowel/reference/tokens/)** in both themes, **[the scales](https://lacodda.github.io/dowel/reference/scales/)** - radius, type, motion, elevation and stacking order - and **[the accents](https://lacodda.github.io/dowel/reference/accents/)**, where the same screen is drawn in every colour of the line.
|
|
88
94
|
|
|
@@ -102,9 +108,10 @@ Development goes in versions; each one is a single coherent theme, and ends in a
|
|
|
102
108
|
|
|
103
109
|
## Documentation
|
|
104
110
|
|
|
111
|
+
- [The stand](https://lacodda.github.io/dowel/stand/) - every component, live
|
|
105
112
|
- [Getting started](https://lacodda.github.io/dowel/getting-started/)
|
|
106
113
|
- [Components](https://lacodda.github.io/dowel/components/button/)
|
|
107
|
-
- [
|
|
114
|
+
- [Tokens](https://lacodda.github.io/dowel/reference/tokens/), [scales](https://lacodda.github.io/dowel/reference/scales/) and [accents](https://lacodda.github.io/dowel/reference/accents/)
|
|
108
115
|
|
|
109
116
|
## License
|
|
110
117
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dowel-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "The lacodda line design system: theme tokens and React primitives, distributed as a shadcn-compatible registry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"./accents/*.css": "./dist/accents/*.css"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
|
-
"build": "tsc && node ../../tools/copy-theme.mjs && node ../../tools/build-tokens-json.mjs && node ../../tools/build-accents.mjs && node ../../tools/build-registry.mjs
|
|
41
|
+
"build": "tsc && node ../../tools/copy-theme.mjs && node ../../tools/build-tokens-json.mjs && node ../../tools/build-accents.mjs && node ../../tools/build-registry.mjs",
|
|
42
42
|
"typecheck": "tsc --noEmit",
|
|
43
43
|
"prepack": "node ../../tools/copy-readme.mjs"
|
|
44
44
|
},
|