@photoroom/ui 0.1.212 → 0.1.213
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ForwardRefComponent } from "../../polymorphic";
|
|
2
2
|
export type HeroButtonProps = Readonly<{
|
|
3
|
-
variant?: "accent" | "primary" | "on-dark";
|
|
3
|
+
variant?: "accent" | "primary" | "on-dark" | "pro";
|
|
4
4
|
size?: "medium" | "large";
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
badge?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeroButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/HeroButton/HeroButton.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"HeroButton.d.ts","sourceRoot":"","sources":["../../../../src/components/action/HeroButton/HeroButton.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC;IACnD,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC,CAAC;AAEH,KAAK,qBAAqB,GAAG,mBAAmB,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;AAE5E,eAAO,MAAM,UAAU,EA8ElB,qBAAqB,CAAC"}
|
package/index.mjs
CHANGED
|
@@ -6106,7 +6106,8 @@ var Hc = l(({ as: e = "button", type: t = "button", className: n, variant: r = "
|
|
|
6106
6106
|
"bg-background-accent hover:bg-background-accent-hover focus-visible:bg-background-accent-hover active:bg-background-accent-down": r === "accent",
|
|
6107
6107
|
"bg-background-default hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down": r === "primary",
|
|
6108
6108
|
"bg-background-white hover:bg-background-white-hover focus-visible:bg-background-white-hover active:bg-background-white-down": r === "on-dark",
|
|
6109
|
-
"
|
|
6109
|
+
"bg-content-accent bg-background-pro hover:bg-background-pro-hover focus-visible:ring-misc-focus-indicator focus-visible:bg-background-pro-hover active:bg-background-pro-down": r === "pro",
|
|
6110
|
+
"text-content-white-primary": ["accent", "pro"].includes(r),
|
|
6110
6111
|
"text-content-white-primary-inverted": r === "primary",
|
|
6111
6112
|
"text-content-black-primary": r === "on-dark",
|
|
6112
6113
|
"focus-visible:ring-misc-focus-indicator": ["accent", "primary"].includes(r),
|