myshell-react-lib 0.1.4 → 0.1.5
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/button/icon-button.styles.ts +2 -0
- package/src/components/image.tsx +1 -0
- package/src/stories/IconButton.stories.tsx +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -380,7 +380,7 @@ declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTM
|
|
|
380
380
|
type IconComponent = React$1.ForwardRefExoticComponent<IconProps>;
|
|
381
381
|
|
|
382
382
|
declare const iconButtonVariants: (props?: ({
|
|
383
|
-
variant?: "opacity" | "primary" | "secondary" | "tertiary" | "plain" | "solid" | null | undefined;
|
|
383
|
+
variant?: "opacity" | "static" | "primary" | "secondary" | "tertiary" | "plain" | "solid" | null | undefined;
|
|
384
384
|
color?: "default" | "brand" | "error" | "gray" | null | undefined;
|
|
385
385
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
386
386
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -380,7 +380,7 @@ declare const Icon: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTM
|
|
|
380
380
|
type IconComponent = React$1.ForwardRefExoticComponent<IconProps>;
|
|
381
381
|
|
|
382
382
|
declare const iconButtonVariants: (props?: ({
|
|
383
|
-
variant?: "opacity" | "primary" | "secondary" | "tertiary" | "plain" | "solid" | null | undefined;
|
|
383
|
+
variant?: "opacity" | "static" | "primary" | "secondary" | "tertiary" | "plain" | "solid" | null | undefined;
|
|
384
384
|
color?: "default" | "brand" | "error" | "gray" | null | undefined;
|
|
385
385
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
386
386
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
package/dist/index.js
CHANGED
|
@@ -5673,7 +5673,8 @@ var iconButtonVariants = cva6("shrink-0 inline-flex items-center justify-center
|
|
|
5673
5673
|
tertiary: "border shadow-none",
|
|
5674
5674
|
plain: "",
|
|
5675
5675
|
opacity: "text-Colors-Text-Static-White bg-Colors-Beta-White-30 border border-Colors-Beta-White-12 shadow-none hover:bg-Colors-Beta-White-40 focus:shadow-cc-Focus-Rings-Brand-default active:bg-Colors-Beta-White-50 disabled:bg-Colors-Beta-White-60 disabled:text-Colors-Beta-White-80",
|
|
5676
|
-
solid: "shadow-none text-Colors-Text-Subtle bg-cc-Button-Solid-bg-default border border-cc-Button-Solid-border-default hover:bg-cc-Button-Solid-bg-hover hover:border-cc-Button-Solid-border-alt active:bg-cc-Button-Solid-bg-active disabled:text-cc-Button-Solid-fg-alt"
|
|
5676
|
+
solid: "shadow-none text-Colors-Text-Subtle bg-cc-Button-Solid-bg-default border border-cc-Button-Solid-border-default hover:bg-cc-Button-Solid-bg-hover hover:border-cc-Button-Solid-border-alt active:bg-cc-Button-Solid-bg-active disabled:text-cc-Button-Solid-fg-alt",
|
|
5677
|
+
static: "text-cc-Button-Static-fg-default border-cc-Button-Static-border-default bg-cc-Button-Static-bg-default hover:bg-cc-Button-Static-bg-hover active:bg-cc-Button-Static-bg-active disabled:bg-cc-Button-Static-bg-disabled disabled:text-cc-Button-Static-fg-alt"
|
|
5677
5678
|
},
|
|
5678
5679
|
color: {
|
|
5679
5680
|
default: "",
|