@momoi-labs/kiso-react 0.39.0 → 0.40.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 +7 -5
- package/dist/styles.css +1 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,11 +32,13 @@ field uses another input, and add `error` for wired validation feedback:
|
|
|
32
32
|
</FormField>
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
`@momoi-labs/kiso` is a regular dependency. The stylesheet imports
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
`@momoi-labs/kiso` is a regular dependency. The stylesheet imports Kiso tokens
|
|
36
|
+
and the component layer; consumers do not need to import those again. React and
|
|
37
|
+
React DOM are peer dependencies supplied by the application. No Tailwind setup
|
|
38
|
+
is required. The stylesheet includes global styles. It does not load fonts, so
|
|
39
|
+
a blocking `@import` never delays first paint: load Inter, DM Sans, and
|
|
40
|
+
JetBrains Mono from the app with a `<link>` in the page head, `next/font`, or
|
|
41
|
+
similar.
|
|
40
42
|
|
|
41
43
|
## Appearance
|
|
42
44
|
|
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&family=JetBrains+Mono:wght@400;500&display=swap");
|
|
2
1
|
@import "@momoi-labs/kiso/tokens.css";
|
|
3
2
|
@import "@momoi-labs/kiso/ui.css";
|
|
4
3
|
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
color: var(--color-foreground);
|
|
24
23
|
box-shadow: var(--shadow-xs);
|
|
25
24
|
}
|
|
26
|
-
/* The same
|
|
25
|
+
/* The same chip as the Segmented track in ui.css. Its corners follow
|
|
27
26
|
the control corners, which the appearance settings can make asymmetric. */
|
|
28
27
|
@supports (anchor-name: --theme-selected) {
|
|
29
28
|
.theme-buttons:dir(ltr) { position: relative; isolation: isolate; }
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
background: var(--color-card);
|
|
41
40
|
box-shadow: var(--shadow-xs);
|
|
42
41
|
pointer-events: none;
|
|
43
|
-
transition: inset var(--motion-duration-fast) var(--motion-easing-standard);
|
|
44
42
|
}
|
|
45
43
|
}
|
|
46
44
|
.theme-selector-cards { display: grid; gap: var(--spacing-md); min-width: 0; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momoi-labs/kiso-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
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": "^1.
|
|
35
|
+
"@momoi-labs/kiso": "^1.18.0",
|
|
36
36
|
"class-variance-authority": "0.7.1",
|
|
37
37
|
"clsx": "2.1.1",
|
|
38
38
|
"radix-ui": "1.6.7",
|