@photoroom/ui 0.1.233 → 0.1.234
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/components/action/Button/utils.d.ts +1 -1
- package/components/action/Button/utils.d.ts.map +1 -1
- package/components/action/HeroButton/HeroButton.d.ts +1 -1
- package/components/action/HeroButton/HeroButton.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +8 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1836,6 +1836,7 @@ var Sr = U("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit
|
|
|
1836
1836
|
"secondary-outline": "border-misc-border misc-border-size-default text-content-primary hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator active:bg-background-subdued-down bg-transparent",
|
|
1837
1837
|
negative: "bg-negative-alpha-1 text-content-negative hover:bg-negative-alpha-2 focus-visible:bg-negative-alpha-2 focus-visible:ring-misc-focus-indicator active:bg-negative-alpha-3",
|
|
1838
1838
|
pro: "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 text-white",
|
|
1839
|
+
flash: "bg-background-flash hover:bg-background-flash-hover focus-visible:bg-background-flash-hover focus-visible:ring-misc-focus-indicator active:bg-background-flash-down text-content-black-primary",
|
|
1839
1840
|
"on-dark": "bg-background-white hover:bg-background-white-hover focus-visible:bg-background-white-hover focus-visible:ring-misc-white-focus-indicator active:bg-background-white text-black",
|
|
1840
1841
|
"secondary-on-dark": "bg-background-white-subdued text-content-white-primary hover:bg-background-white-subdued-hover focus-visible:bg-background-white-subdued-hover focus-visible:ring-misc-white-focus-indicator active:bg-background-white-subdued-down",
|
|
1841
1842
|
"borderless-on-dark": "hover:bg-background-white-subdued-hover focus-visible:bg-background-white-subdued-hover active:bg-background-white-subdued-down focus-visible:ring-misc-white-focus-indicator text-white"
|
|
@@ -6119,10 +6120,15 @@ var Ls = l(({ as: e = "button", type: t = "button", className: n, variant: r = "
|
|
|
6119
6120
|
"bg-background-default hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down": r === "primary",
|
|
6120
6121
|
"bg-background-white hover:bg-background-white-hover focus-visible:bg-background-white-hover active:bg-background-white-down": r === "on-dark",
|
|
6121
6122
|
"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",
|
|
6123
|
+
"bg-background-flash hover:bg-background-flash-hover focus-visible:bg-background-flash-hover active:bg-background-flash-down": r === "flash",
|
|
6122
6124
|
"text-content-white-primary": ["accent", "pro"].includes(r),
|
|
6123
6125
|
"text-content-white-primary-inverted": r === "primary",
|
|
6124
|
-
"text-content-black-primary":
|
|
6125
|
-
"focus-visible:ring-misc-focus-indicator": [
|
|
6126
|
+
"text-content-black-primary": ["on-dark", "flash"].includes(r),
|
|
6127
|
+
"focus-visible:ring-misc-focus-indicator": [
|
|
6128
|
+
"accent",
|
|
6129
|
+
"primary",
|
|
6130
|
+
"flash"
|
|
6131
|
+
].includes(r),
|
|
6126
6132
|
"focus-visible:ring-misc-white-focus-indicator": r === "on-dark",
|
|
6127
6133
|
"cursor-pointer": !c.disabled,
|
|
6128
6134
|
"cursor-not-allowed opacity-30": c.disabled && !a
|