@umami/react-zen 0.110.0 → 0.112.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 +190 -219
- package/dist/index.mjs +190 -219
- package/package.json +2 -2
- 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' {
|