@jamsrui/divider 0.0.8 → 0.0.9
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/styles.d.mts +4 -5
- package/dist/styles.mjs +1 -1
- package/dist/use-divider.d.mts +0 -1
- package/package.json +4 -4
package/dist/styles.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _jamsrui_utils from '@jamsrui/utils';
|
|
2
2
|
import { VariantProps } from '@jamsrui/utils';
|
|
3
3
|
|
|
4
|
-
declare const
|
|
5
|
-
declare const dividerVariants: tailwind_variants.TVReturnType<{
|
|
4
|
+
declare const dividerVariants: _jamsrui_utils.TVReturnType<{
|
|
6
5
|
orientation: {
|
|
7
6
|
vertical: {
|
|
8
7
|
root: string;
|
|
@@ -56,7 +55,7 @@ declare const dividerVariants: tailwind_variants.TVReturnType<{
|
|
|
56
55
|
}, {
|
|
57
56
|
root: string;
|
|
58
57
|
divider: string;
|
|
59
|
-
},
|
|
58
|
+
}, _jamsrui_utils.TVReturnType<{
|
|
60
59
|
orientation: {
|
|
61
60
|
vertical: {
|
|
62
61
|
root: string;
|
|
@@ -87,4 +86,4 @@ declare const dividerVariants: tailwind_variants.TVReturnType<{
|
|
|
87
86
|
type DividerVariants = VariantProps<typeof dividerVariants>;
|
|
88
87
|
type DividerSlots = keyof ReturnType<typeof dividerVariants>;
|
|
89
88
|
|
|
90
|
-
export { type DividerSlots, type DividerVariants, dividerVariants
|
|
89
|
+
export { type DividerSlots, type DividerVariants, dividerVariants };
|
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as
|
|
1
|
+
import{tv as i}from"@jamsrui/utils";const t=i({slots:{root:"flex items-center gap-2",divider:""},variants:{orientation:{vertical:{root:"flex-col",divider:"h-full w-px"},horizontal:{divider:"h-px w-full"}},variant:{light:{divider:"bg-divider-light"},dark:{divider:"bg-divider-dark"},default:{divider:"bg-divider"},gradient:{divider:"from-transparent via-[#989AA6]/50 to-transparent"}}},compoundVariants:[{orientation:"horizontal",variant:"gradient",className:{divider:"bg-linear-to-r"}},{orientation:"vertical",variant:"gradient",className:{divider:"bg-linear-to-b"}}],defaultVariants:{variant:"default",orientation:"horizontal",color:"default"}});export{t as dividerVariants};
|
package/dist/use-divider.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { PropGetter, UIProps, SlotsToClassNames } from '@jamsrui/utils';
|
|
|
2
2
|
import { Divider } from './divider.mjs';
|
|
3
3
|
import { DividerVariants, DividerSlots } from './styles.mjs';
|
|
4
4
|
import 'react';
|
|
5
|
-
import 'tailwind-variants';
|
|
6
5
|
|
|
7
6
|
declare const useDivider: (props: useDivider.Props) => {
|
|
8
7
|
getRootProps: PropGetter<Divider.Props>;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/divider",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/core": "^0.0.
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
8
|
+
"@jamsrui/hooks": "^0.0.9",
|
|
9
|
+
"@jamsrui/core": "^0.0.8",
|
|
10
|
+
"@jamsrui/utils": "^0.0.9"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|