@umami/react-zen 0.30.0 → 0.32.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/dist/index.css +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/styles.css +7 -10
package/dist/index.css
CHANGED
|
@@ -3091,9 +3091,10 @@ body a.Button_button__N2NhN {
|
|
|
3091
3091
|
}
|
|
3092
3092
|
|
|
3093
3093
|
/* virtual-css:css:2d3d9b7d17155f476980f0c2ff3cf5d9 */
|
|
3094
|
-
.
|
|
3094
|
+
.Heading_heading__NzY1M {
|
|
3095
3095
|
color: var(--font-color);
|
|
3096
3096
|
font-weight: var(--font-weight-bold);
|
|
3097
|
+
line-height: 1.2;
|
|
3097
3098
|
}
|
|
3098
3099
|
|
|
3099
3100
|
/* virtual-css:css:94a979a1046958d1cfd0441b940c4e53 */
|
package/dist/index.d.ts
CHANGED
|
@@ -645,7 +645,7 @@ declare module '@umami/react-zen/NavigationMenu' {
|
|
|
645
645
|
}
|
|
646
646
|
export function NavigationMenu({ showArrow, className, children, ...props }: NavigationMenuProps): import("react").JSX.Element;
|
|
647
647
|
export interface NavigationMenuItemProps extends HTMLAttributes<HTMLElement> {
|
|
648
|
-
label
|
|
648
|
+
label?: string;
|
|
649
649
|
children?: ReactNode;
|
|
650
650
|
}
|
|
651
651
|
export function NavigationMenuItem({ label, children, className, ...props }: NavigationMenuItemProps): import("react").JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -30949,7 +30949,7 @@ function Grid({
|
|
|
30949
30949
|
var import_classnames31 = __toESM(require_classnames());
|
|
30950
30950
|
|
|
30951
30951
|
// css-modules:/Users/mikecao/Development/umami-software/react-zen/src/components/Heading.module.css
|
|
30952
|
-
var Heading_default = { "heading": "
|
|
30952
|
+
var Heading_default = { "heading": "Heading_heading__NzY1M" };
|
|
30953
30953
|
|
|
30954
30954
|
// src/components/Heading.tsx
|
|
30955
30955
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
package/dist/index.mjs
CHANGED
|
@@ -30850,7 +30850,7 @@ function Grid({
|
|
|
30850
30850
|
var import_classnames31 = __toESM(require_classnames());
|
|
30851
30851
|
|
|
30852
30852
|
// css-modules:/Users/mikecao/Development/umami-software/react-zen/src/components/Heading.module.css
|
|
30853
|
-
var Heading_default = { "heading": "
|
|
30853
|
+
var Heading_default = { "heading": "Heading_heading__NzY1M" };
|
|
30854
30854
|
|
|
30855
30855
|
// src/components/Heading.tsx
|
|
30856
30856
|
import { jsx as jsx41 } from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umami/react-zen",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"description": "React components built by Umami",
|
|
5
5
|
"author": "Umami <hello@umami.is>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@fontsource/jetbrains-mono": "^5.0.18",
|
|
50
50
|
"@react-spring/web": "^9.7.5",
|
|
51
51
|
"@umami/esbuild-plugin-css-modules": "0.2.0",
|
|
52
|
-
"@umami/shiso": "^0.
|
|
52
|
+
"@umami/shiso": "^0.17.0",
|
|
53
53
|
"classnames": "^2.5.1",
|
|
54
54
|
"dts-bundle": "^0.7.3",
|
|
55
55
|
"glob": "^10.3.10",
|
package/styles.css
CHANGED
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
min-width: 240px;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
* {
|
|
197
|
+
:where(*) {
|
|
198
198
|
outline-color: var(--primary-color);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
@@ -244,23 +244,19 @@ li {
|
|
|
244
244
|
margin-block: 0.5em;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
html,
|
|
248
|
-
body {
|
|
249
|
-
font-family: var(--font-family);
|
|
247
|
+
:where(html, body) {
|
|
250
248
|
font-size: var(--font-size);
|
|
251
249
|
color: var(--font-color);
|
|
252
250
|
background: var(--background-color);
|
|
253
251
|
}
|
|
254
252
|
|
|
255
|
-
a,
|
|
256
|
-
a:active,
|
|
257
|
-
a:visited {
|
|
253
|
+
:where(a, a:active, a:visited, a:hover) {
|
|
258
254
|
color: var(--font-color);
|
|
259
255
|
text-decoration: none;
|
|
260
256
|
}
|
|
261
257
|
|
|
262
|
-
a:hover {
|
|
263
|
-
|
|
258
|
+
:where(a:hover) {
|
|
259
|
+
color: var(--primary-color);
|
|
264
260
|
}
|
|
265
261
|
|
|
266
262
|
/* virtual-css:css:502c31f96b9ceaf4f26d0614b189042c */
|
|
@@ -3356,9 +3352,10 @@ body a.Button_button__N2NhN {
|
|
|
3356
3352
|
}
|
|
3357
3353
|
|
|
3358
3354
|
/* virtual-css:css:2d3d9b7d17155f476980f0c2ff3cf5d9 */
|
|
3359
|
-
.
|
|
3355
|
+
.Heading_heading__NzY1M {
|
|
3360
3356
|
color: var(--font-color);
|
|
3361
3357
|
font-weight: var(--font-weight-bold);
|
|
3358
|
+
line-height: 1.2;
|
|
3362
3359
|
}
|
|
3363
3360
|
|
|
3364
3361
|
/* virtual-css:css:94a979a1046958d1cfd0441b940c4e53 */
|