@photoroom/ui 0.1.95 → 0.1.97
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/content/MoreTile/MoreTile.d.ts +2 -0
- package/components/content/MoreTile/MoreTile.d.ts.map +1 -1
- package/components/index.d.ts +2 -0
- package/components/index.d.ts.map +1 -1
- package/components/website/BlockBackground/BlockBackground.d.ts +10 -0
- package/components/website/BlockBackground/BlockBackground.d.ts.map +1 -0
- package/components/website/BlockBackground/index.d.ts +2 -0
- package/components/website/BlockBackground/index.d.ts.map +1 -0
- package/components/website/VisualBlock/VisualBlock.d.ts +17 -0
- package/components/website/VisualBlock/VisualBlock.d.ts.map +1 -0
- package/components/website/VisualBlock/index.d.ts +2 -0
- package/components/website/VisualBlock/index.d.ts.map +1 -0
- package/index.css +1 -1
- package/index.mjs +22 -10
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -31674,23 +31674,35 @@ var CW = ({ variant: e = "default", title: t, image: n, cta: r, className: i })
|
|
|
31674
31674
|
wW.displayName = "BlogEditorialCard";
|
|
31675
31675
|
//#endregion
|
|
31676
31676
|
//#region src/components/content/MoreTile/MoreTile.tsx
|
|
31677
|
-
var TW = U("rounded-400 interaction-transition focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring relative flex
|
|
31678
|
-
variants: {
|
|
31679
|
-
|
|
31680
|
-
|
|
31681
|
-
|
|
31682
|
-
|
|
31677
|
+
var TW = U("rounded-400 interaction-transition focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring relative flex appearance-none items-center justify-center outline-hidden transition-colors", {
|
|
31678
|
+
variants: {
|
|
31679
|
+
variant: {
|
|
31680
|
+
accent: "bg-background-accent-subdued hover:bg-background-accent-subdued-hover focus-visible:bg-background-accent-subdued-hover active:bg-background-accent-subdued-down",
|
|
31681
|
+
secondary: "bg-background-subdued hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down"
|
|
31682
|
+
},
|
|
31683
|
+
layout: {
|
|
31684
|
+
fixed: "size-[100px] shrink-0",
|
|
31685
|
+
fluidWidth: "aspect-square w-full"
|
|
31686
|
+
}
|
|
31687
|
+
},
|
|
31688
|
+
defaultVariants: {
|
|
31689
|
+
variant: "accent",
|
|
31690
|
+
layout: "fixed"
|
|
31691
|
+
}
|
|
31683
31692
|
}), EW = U("icon-size-600 shrink-0", {
|
|
31684
31693
|
variants: { variant: {
|
|
31685
31694
|
accent: "text-content-accent",
|
|
31686
31695
|
secondary: "text-content-secondary"
|
|
31687
31696
|
} },
|
|
31688
31697
|
defaultVariants: { variant: "accent" }
|
|
31689
|
-
}), DW = l(({ className: e, type: t = "button", variant: n = "accent",
|
|
31690
|
-
...
|
|
31698
|
+
}), DW = l(({ className: e, type: t = "button", variant: n = "accent", layout: r = "fixed", ...i }, a) => /* @__PURE__ */ T("button", {
|
|
31699
|
+
...i,
|
|
31691
31700
|
type: t,
|
|
31692
|
-
className: H(TW({
|
|
31693
|
-
|
|
31701
|
+
className: H(TW({
|
|
31702
|
+
variant: n,
|
|
31703
|
+
layout: r
|
|
31704
|
+
}), e),
|
|
31705
|
+
ref: a,
|
|
31694
31706
|
children: /* @__PURE__ */ T(O, { className: EW({ variant: n }) })
|
|
31695
31707
|
}));
|
|
31696
31708
|
DW.displayName = "MoreTile";
|