@umami/react-zen 0.110.0 → 0.111.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 +4 -7
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
- package/styles.css +4 -7
package/dist/index.css
CHANGED
|
@@ -3327,23 +3327,20 @@ body a.Button_button__NDYwM {
|
|
|
3327
3327
|
}
|
|
3328
3328
|
|
|
3329
3329
|
/* virtual-css:css:30dc0f59418ffcc16fc4fc9d2cfc50c3 */
|
|
3330
|
-
.
|
|
3331
|
-
color: var(--font-color);
|
|
3332
|
-
}
|
|
3333
|
-
.Text_truncate__OTFiO {
|
|
3330
|
+
.Text_truncate__NjQ2M {
|
|
3334
3331
|
display: inline-block;
|
|
3335
3332
|
white-space: nowrap;
|
|
3336
3333
|
overflow: hidden;
|
|
3337
3334
|
text-overflow: ellipsis;
|
|
3338
3335
|
max-width: 100%;
|
|
3339
3336
|
}
|
|
3340
|
-
.
|
|
3337
|
+
.Text_italic__MmI4Y {
|
|
3341
3338
|
font-style: italic;
|
|
3342
3339
|
}
|
|
3343
|
-
.
|
|
3340
|
+
.Text_underline__MzZmN {
|
|
3344
3341
|
text-decoration: underline;
|
|
3345
3342
|
}
|
|
3346
|
-
.
|
|
3343
|
+
.Text_strikethrough__ZTg3Y {
|
|
3347
3344
|
text-decoration: line-through;
|
|
3348
3345
|
}
|
|
3349
3346
|
|
package/dist/index.d.ts
CHANGED
|
@@ -533,7 +533,8 @@ declare module '@umami/react-zen/HoverTrigger' {
|
|
|
533
533
|
declare module '@umami/react-zen/Icon' {
|
|
534
534
|
import { HTMLAttributes } from 'react';
|
|
535
535
|
import { FontColor } from '@/lib/types';
|
|
536
|
-
export interface IconProps extends HTMLAttributes<HTMLElement> {
|
|
536
|
+
export interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
|
|
537
|
+
color?: FontColor;
|
|
537
538
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
538
539
|
variant?: 'input';
|
|
539
540
|
rotate?: number;
|
|
@@ -541,7 +542,7 @@ declare module '@umami/react-zen/Icon' {
|
|
|
541
542
|
strokeColor?: FontColor;
|
|
542
543
|
fillColor?: FontColor;
|
|
543
544
|
}
|
|
544
|
-
export function Icon({ size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps & HTMLAttributes<HTMLElement>): import("react").JSX.Element;
|
|
545
|
+
export function Icon({ color, size, variant, rotate, strokeWidth, strokeColor, fillColor, style, className, children, ...props }: IconProps & HTMLAttributes<HTMLElement>): import("react").JSX.Element;
|
|
545
546
|
}
|
|
546
547
|
|
|
547
548
|
declare module '@umami/react-zen/Icons' {
|
package/dist/index.js
CHANGED
|
@@ -25300,6 +25300,7 @@ var Icon_default = { "icon": "Icon_icon__NzNmN", "xs": "Icon_xs__MDhiY", "sm": "
|
|
|
25300
25300
|
// src/components/Icon.tsx
|
|
25301
25301
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25302
25302
|
function Icon({
|
|
25303
|
+
color,
|
|
25303
25304
|
size = "sm",
|
|
25304
25305
|
variant,
|
|
25305
25306
|
rotate,
|
|
@@ -25313,7 +25314,8 @@ function Icon({
|
|
|
25313
25314
|
}) {
|
|
25314
25315
|
const [classes, styleProps] = useDesignProps({
|
|
25315
25316
|
strokeColor,
|
|
25316
|
-
fillColor
|
|
25317
|
+
fillColor,
|
|
25318
|
+
color
|
|
25317
25319
|
});
|
|
25318
25320
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
25319
25321
|
Slot,
|
|
@@ -29834,7 +29836,7 @@ var import_classnames12 = __toESM(require_classnames());
|
|
|
29834
29836
|
var import_classnames11 = __toESM(require_classnames());
|
|
29835
29837
|
|
|
29836
29838
|
// css-modules:E:\dev\umami-react-zen\src\components\Text.module.css
|
|
29837
|
-
var Text_default = { "
|
|
29839
|
+
var Text_default = { "truncate": "Text_truncate__NjQ2M", "italic": "Text_italic__MmI4Y", "underline": "Text_underline__MzZmN", "strikethrough": "Text_strikethrough__ZTg3Y" };
|
|
29838
29840
|
|
|
29839
29841
|
// src/components/Text.tsx
|
|
29840
29842
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
package/dist/index.mjs
CHANGED
|
@@ -25187,6 +25187,7 @@ var Icon_default = { "icon": "Icon_icon__NzNmN", "xs": "Icon_xs__MDhiY", "sm": "
|
|
|
25187
25187
|
// src/components/Icon.tsx
|
|
25188
25188
|
import { jsx } from "react/jsx-runtime";
|
|
25189
25189
|
function Icon({
|
|
25190
|
+
color,
|
|
25190
25191
|
size = "sm",
|
|
25191
25192
|
variant,
|
|
25192
25193
|
rotate,
|
|
@@ -25200,7 +25201,8 @@ function Icon({
|
|
|
25200
25201
|
}) {
|
|
25201
25202
|
const [classes, styleProps] = useDesignProps({
|
|
25202
25203
|
strokeColor,
|
|
25203
|
-
fillColor
|
|
25204
|
+
fillColor,
|
|
25205
|
+
color
|
|
25204
25206
|
});
|
|
25205
25207
|
return /* @__PURE__ */ jsx(
|
|
25206
25208
|
Slot,
|
|
@@ -29721,7 +29723,7 @@ var import_classnames12 = __toESM(require_classnames());
|
|
|
29721
29723
|
var import_classnames11 = __toESM(require_classnames());
|
|
29722
29724
|
|
|
29723
29725
|
// css-modules:E:\dev\umami-react-zen\src\components\Text.module.css
|
|
29724
|
-
var Text_default = { "
|
|
29726
|
+
var Text_default = { "truncate": "Text_truncate__NjQ2M", "italic": "Text_italic__MmI4Y", "underline": "Text_underline__MzZmN", "strikethrough": "Text_strikethrough__ZTg3Y" };
|
|
29725
29727
|
|
|
29726
29728
|
// src/components/Text.tsx
|
|
29727
29729
|
import { jsx as jsx18 } from "react/jsx-runtime";
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -3645,23 +3645,20 @@ body a.Button_button__NDYwM {
|
|
|
3645
3645
|
}
|
|
3646
3646
|
|
|
3647
3647
|
/* virtual-css:css:30dc0f59418ffcc16fc4fc9d2cfc50c3 */
|
|
3648
|
-
.
|
|
3649
|
-
color: var(--font-color);
|
|
3650
|
-
}
|
|
3651
|
-
.Text_truncate__OTFiO {
|
|
3648
|
+
.Text_truncate__NjQ2M {
|
|
3652
3649
|
display: inline-block;
|
|
3653
3650
|
white-space: nowrap;
|
|
3654
3651
|
overflow: hidden;
|
|
3655
3652
|
text-overflow: ellipsis;
|
|
3656
3653
|
max-width: 100%;
|
|
3657
3654
|
}
|
|
3658
|
-
.
|
|
3655
|
+
.Text_italic__MmI4Y {
|
|
3659
3656
|
font-style: italic;
|
|
3660
3657
|
}
|
|
3661
|
-
.
|
|
3658
|
+
.Text_underline__MzZmN {
|
|
3662
3659
|
text-decoration: underline;
|
|
3663
3660
|
}
|
|
3664
|
-
.
|
|
3661
|
+
.Text_strikethrough__ZTg3Y {
|
|
3665
3662
|
text-decoration: line-through;
|
|
3666
3663
|
}
|
|
3667
3664
|
|