@polastack/design-system 0.1.21 → 0.1.22
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.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -986,8 +986,8 @@ var Checkbox = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
986
986
|
"peer h-4 w-4 shrink-0 rounded-sm border border-[var(--color-border-input)] transition-colors duration-fast",
|
|
987
987
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)]",
|
|
988
988
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
989
|
-
"data-[state=checked]:border-primary-
|
|
990
|
-
"data-[state=indeterminate]:border-primary-
|
|
989
|
+
"data-[state=checked]:border-primary-400 data-[state=checked]:bg-primary-400 data-[state=checked]:text-white",
|
|
990
|
+
"data-[state=indeterminate]:border-primary-400 data-[state=indeterminate]:bg-primary-400 data-[state=indeterminate]:text-white",
|
|
991
991
|
"touch:min-h-[--touch-target-min] touch:min-w-[--touch-target-min]",
|
|
992
992
|
className
|
|
993
993
|
),
|
|
@@ -1018,7 +1018,7 @@ var RadioGroupItem = React18.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
1018
1018
|
"aspect-square h-4 w-4 rounded-full border border-[var(--color-border-input)] transition-colors duration-fast",
|
|
1019
1019
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-ring)] focus-visible:ring-offset-2 ring-offset-[var(--color-ring-offset)]",
|
|
1020
1020
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
1021
|
-
"data-[state=checked]:border-primary-
|
|
1021
|
+
"data-[state=checked]:border-primary-400",
|
|
1022
1022
|
"touch:min-h-[--touch-target-min] touch:min-w-[--touch-target-min]",
|
|
1023
1023
|
className
|
|
1024
1024
|
),
|
|
@@ -1830,7 +1830,7 @@ TabsList.displayName = "TabsList";
|
|
|
1830
1830
|
var tabsTriggerBase = "inline-flex items-center justify-center whitespace-nowrap shrink-0 px-3 py-1.5 text-sm font-medium transition-all duration-fast focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 touch:min-h-[--touch-target-min]";
|
|
1831
1831
|
var tabsTriggerVariantStyles = {
|
|
1832
1832
|
default: "rounded-md data-[state=active]:bg-[var(--color-surface-raised)] data-[state=active]:shadow-sm data-[state=active]:text-[var(--color-on-surface)] text-[var(--color-on-surface-secondary)]",
|
|
1833
|
-
underline: "border-b-2 border-transparent rounded-none data-[state=active]:border-primary-
|
|
1833
|
+
underline: "border-b-2 border-transparent rounded-none data-[state=active]:border-primary-400 data-[state=active]:text-[var(--color-on-surface)] text-[var(--color-on-surface-secondary)]"
|
|
1834
1834
|
};
|
|
1835
1835
|
var TabsTrigger = React27.forwardRef(({ className, ...props }, ref) => {
|
|
1836
1836
|
const { variant } = useTabsVariant();
|
|
@@ -3420,7 +3420,7 @@ var PrintDocument = React42.forwardRef(
|
|
|
3420
3420
|
PrintDocument.displayName = "PrintDocument";
|
|
3421
3421
|
var PrintHeader = React42.forwardRef(
|
|
3422
3422
|
({ className, logo, title, subtitle, meta, children, ...props }, ref) => /* @__PURE__ */ jsxs24("div", { ref, className: cn("mb-6", className), ...props, children: [
|
|
3423
|
-
/* @__PURE__ */ jsx44("div", { className: "h-1 bg-primary-
|
|
3423
|
+
/* @__PURE__ */ jsx44("div", { className: "h-1 bg-primary-400 rounded-full mb-5" }),
|
|
3424
3424
|
/* @__PURE__ */ jsxs24("div", { className: "flex items-start justify-between pb-4 border-b border-neutral-200", children: [
|
|
3425
3425
|
/* @__PURE__ */ jsxs24("div", { className: "flex items-center gap-3", children: [
|
|
3426
3426
|
logo && /* @__PURE__ */ jsx44("div", { className: "shrink-0", children: logo }),
|