commerce-toolkit 0.0.4 → 0.0.6
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/README.md +1 -1
- package/dist/components/accordion/primitives/accordion-content.d.ts.map +1 -1
- package/dist/components/accordion/primitives/accordion-item.d.ts.map +1 -1
- package/dist/components/accordion/primitives/accordion-root.d.ts.map +1 -1
- package/dist/components/accordion/primitives/accordion-trigger.d.ts.map +1 -1
- package/dist/components/alert/alert.d.ts +34 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/index.d.ts +9 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/primitives/alert-actions.d.ts +4 -0
- package/dist/components/alert/primitives/alert-actions.d.ts.map +1 -0
- package/dist/components/alert/primitives/alert-button.d.ts +5 -0
- package/dist/components/alert/primitives/alert-button.d.ts.map +1 -0
- package/dist/components/alert/primitives/alert-close-button.d.ts +5 -0
- package/dist/components/alert/primitives/alert-close-button.d.ts.map +1 -0
- package/dist/components/alert/primitives/alert-description.d.ts +4 -0
- package/dist/components/alert/primitives/alert-description.d.ts.map +1 -0
- package/dist/components/alert/primitives/alert-header.d.ts +4 -0
- package/dist/components/alert/primitives/alert-header.d.ts.map +1 -0
- package/dist/components/alert/primitives/alert-root.d.ts +6 -0
- package/dist/components/alert/primitives/alert-root.d.ts.map +1 -0
- package/dist/components/alert/primitives/alert-title.d.ts +4 -0
- package/dist/components/alert/primitives/alert-title.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +40 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3404,19 +3404,19 @@ function Kt({ children: e, className: o, ...t }) {
|
|
|
3404
3404
|
// We need to delay the animation until the component is mounted to avoid the animation from being triggered when the component is first rendered.
|
|
3405
3405
|
n && "data-[state=closed]:animate-collapse data-[state=open]:animate-expand"
|
|
3406
3406
|
),
|
|
3407
|
-
"data-slot": "accordion-content",
|
|
3408
3407
|
...t,
|
|
3409
3408
|
children: /* @__PURE__ */ h(
|
|
3410
3409
|
"div",
|
|
3411
3410
|
{
|
|
3412
3411
|
className: B(
|
|
3413
|
-
"py-3 text-base font-[var(--accordion-content-font-family,var(--font-family-body))]
|
|
3412
|
+
"py-3 text-base font-light leading-normal [font-family:var(--accordion-content-font-family,var(--font-family-body))]",
|
|
3414
3413
|
{
|
|
3415
3414
|
light: "text-[var(--accordion-light-content-text,hsl(var(--foreground)))]",
|
|
3416
3415
|
dark: "text-[var(--accordion-dark-content-text,hsl(var(--background)))]"
|
|
3417
3416
|
}[r],
|
|
3418
3417
|
o
|
|
3419
3418
|
),
|
|
3419
|
+
"data-slot": "accordion-content",
|
|
3420
3420
|
children: e
|
|
3421
3421
|
}
|
|
3422
3422
|
)
|
|
@@ -3439,7 +3439,7 @@ function Jt({ children: e, className: o, ...t }) {
|
|
|
3439
3439
|
"div",
|
|
3440
3440
|
{
|
|
3441
3441
|
className: B(
|
|
3442
|
-
"flex-1 select-none text-sm font-[var(--accordion-title-font-family,var(--font-family-mono))]
|
|
3442
|
+
"flex-1 select-none text-sm font-normal uppercase transition-colors duration-300 ease-out [font-family:var(--accordion-title-font-family,var(--font-family-mono))]",
|
|
3443
3443
|
{
|
|
3444
3444
|
light: "text-[var(--accordion-light-title-text,hsl(var(--contrast-400)))] group-hover:text-[var(--accordion-light-title-text-hover,hsl(var(--foreground)))]",
|
|
3445
3445
|
dark: "text-[var(--accordion-dark-title-text,hsl(var(--contrast-200)))] group-hover:text-[var(--accordion-dark-title-text-hover,hsl(var(--background)))]"
|