commerce-toolkit 0.0.5 → 0.0.7
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 +2 -2
- 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/primitives/alert-button.d.ts.map +1 -1
- package/dist/components/alert/primitives/alert-close-button.d.ts.map +1 -1
- package/dist/components/animated-underline/animated-underline.d.ts +18 -0
- package/dist/components/animated-underline/animated-underline.d.ts.map +1 -0
- package/dist/components/animated-underline/index.d.ts +2 -0
- package/dist/components/animated-underline/index.d.ts.map +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ Once configured, you can use all the custom Tailwind utilities from Commerce Too
|
|
|
85
85
|
|
|
86
86
|
```tsx
|
|
87
87
|
<div className="bg-primary text-background">
|
|
88
|
-
<h1 className="text-foreground
|
|
88
|
+
<h1 className="font-heading text-foreground">Hello World</h1>
|
|
89
89
|
<p className="text-contrast-400">This uses the design system colors!</p>
|
|
90
90
|
</div>
|
|
91
91
|
```
|
|
@@ -141,7 +141,7 @@ import 'commerce-toolkit/styles';
|
|
|
141
141
|
|
|
142
142
|
## Documentation
|
|
143
143
|
|
|
144
|
-
For detailed component documentation, examples, and interactive demos, visit our [Storybook](
|
|
144
|
+
For detailed component documentation, examples, and interactive demos, visit our [Storybook](https://makeswift.github.io/commerce-toolkit).
|
|
145
145
|
|
|
146
146
|
## TypeScript
|
|
147
147
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-content.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-content.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accordion-content.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-content.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAEtF,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAiCxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-item.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-item.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accordion-item.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-item.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAKtD,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAE1F,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAmBlF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-root.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-root.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accordion-root.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-root.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAEhF,wBAAgB,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAE7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-trigger.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-trigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accordion-trigger.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/primitives/accordion-trigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAEtF,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CA4DxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-button.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/primitives/alert-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert-button.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/primitives/alert-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAE7D,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAMnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-close-button.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/primitives/alert-close-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert-close-button.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/primitives/alert-close-button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAElE,wBAAgB,gBAAgB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAMnE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
export type AnimatedUnderlineProps = ComponentProps<'span'> & {
|
|
3
|
+
children: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* This component supports various CSS variables for theming. Here's a comprehensive list, along
|
|
7
|
+
* with their default values:
|
|
8
|
+
*
|
|
9
|
+
* ```css
|
|
10
|
+
* :root {
|
|
11
|
+
* --animated-underline-hover: hsl(var(--primary));
|
|
12
|
+
* --animated-underline-text: hsl(var(--foreground));
|
|
13
|
+
* --animated-underline-font-family: var(--font-family-body);
|
|
14
|
+
* }
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function AnimatedUnderline({ className, children, ...props }: AnimatedUnderlineProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=animated-underline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animated-underline.d.ts","sourceRoot":"","sources":["../../../src/components/animated-underline/animated-underline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG;IAC5D,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,2CAY1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/animated-underline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,oDAAoD,CAAC"}
|