@momoi-labs/kiso-react 0.8.0 → 0.8.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/README.md +16 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,6 +38,22 @@ those again. React and React DOM are peer dependencies supplied by the
|
|
|
38
38
|
application. No Tailwind setup is required. The stylesheet includes global
|
|
39
39
|
styles and Google Fonts.
|
|
40
40
|
|
|
41
|
+
## Appearance
|
|
42
|
+
|
|
43
|
+
The stylesheet includes the gallery's theme, accent, border, and corner-mark
|
|
44
|
+
options. Copy the Appearance page's HTML attributes onto your `<html>` element;
|
|
45
|
+
you do not need any gallery files or a second stylesheet.
|
|
46
|
+
|
|
47
|
+
```html
|
|
48
|
+
<html lang="en" data-accent="terracotta" data-border-style="soft"
|
|
49
|
+
data-corner-size="small" data-corner-marks="arcs" data-mark-size="medium">
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
See the [appearance attributes](../../kiso/docs/tokens.md#appearance-attributes)
|
|
53
|
+
for supported values. Omit `data-theme` to follow the operating system.
|
|
54
|
+
Your application owns saving and restoring preferences before first paint.
|
|
55
|
+
Remove any previously copied gallery appearance overrides after upgrading.
|
|
56
|
+
|
|
41
57
|
## Available components
|
|
42
58
|
|
|
43
59
|
Controls and forms
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momoi-labs/kiso-react",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Kiso React components built with shadcn/ui and Radix",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"prepack": "npm run build"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@momoi-labs/kiso": "^0.
|
|
35
|
+
"@momoi-labs/kiso": "^0.12.0",
|
|
36
36
|
"class-variance-authority": "0.7.1",
|
|
37
37
|
"clsx": "2.1.1",
|
|
38
38
|
"radix-ui": "1.6.7",
|