@fuf-stack/pixels 0.19.0 → 0.21.0
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/Accordion/index.cjs +2 -2
- package/dist/Accordion/index.d.cts +2 -2
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/Accordion/index.js +1 -1
- package/dist/{Accordion-Drlhs2y_.d.cts → Accordion-DkShJasa.d.cts} +35 -0
- package/dist/{Accordion-Drlhs2y_.d.ts → Accordion-DkShJasa.d.ts} +35 -0
- package/dist/Breadcrumb/index.cjs +12 -0
- package/dist/Breadcrumb/index.cjs.map +1 -0
- package/dist/Breadcrumb/index.d.cts +11 -0
- package/dist/Breadcrumb/index.d.ts +11 -0
- package/dist/Breadcrumb/index.js +12 -0
- package/dist/Breadcrumb/index.js.map +1 -0
- package/dist/Breadcrumb-BgIUn5sM.d.cts +117 -0
- package/dist/Breadcrumb-BgIUn5sM.d.ts +117 -0
- package/dist/Popover/index.cjs +3 -3
- package/dist/Popover/index.d.cts +5 -2
- package/dist/Popover/index.d.ts +5 -2
- package/dist/Popover/index.js +2 -2
- package/dist/Popover-DIRJ5iQj.d.cts +111 -0
- package/dist/Popover-DIRJ5iQj.d.ts +111 -0
- package/dist/ScrollShadow/index.cjs +3 -3
- package/dist/ScrollShadow/index.d.cts +1 -1
- package/dist/ScrollShadow/index.d.ts +1 -1
- package/dist/ScrollShadow/index.js +1 -1
- package/dist/chunk-7HXO5TAH.js +70 -0
- package/dist/chunk-7HXO5TAH.js.map +1 -0
- package/dist/{chunk-G5YPY6KS.js → chunk-7SK2BLZJ.js} +8 -2
- package/dist/chunk-7SK2BLZJ.js.map +1 -0
- package/dist/{chunk-IBB2U3AH.js → chunk-BAPBIOOG.js} +1 -1
- package/dist/chunk-BAPBIOOG.js.map +1 -0
- package/dist/{chunk-QCPUMTFP.js → chunk-BSZX7YBE.js} +22 -11
- package/dist/chunk-BSZX7YBE.js.map +1 -0
- package/dist/{chunk-UYNMOCDD.cjs → chunk-D5HC5WLB.cjs} +1 -1
- package/dist/{chunk-UYNMOCDD.cjs.map → chunk-D5HC5WLB.cjs.map} +1 -1
- package/dist/chunk-FFULPXWN.cjs +70 -0
- package/dist/chunk-FFULPXWN.cjs.map +1 -0
- package/dist/{chunk-J5XN2HAT.cjs → chunk-JU7O2LCJ.cjs} +8 -2
- package/dist/chunk-JU7O2LCJ.cjs.map +1 -0
- package/dist/{chunk-BQJUB6VZ.cjs → chunk-NRLYC3SF.cjs} +21 -10
- package/dist/chunk-NRLYC3SF.cjs.map +1 -0
- package/dist/index.cjs +12 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +12 -6
- package/package.json +10 -4
- package/dist/Popover-IYjW04NG.d.cts +0 -37
- package/dist/Popover-IYjW04NG.d.ts +0 -37
- package/dist/chunk-BQJUB6VZ.cjs.map +0 -1
- package/dist/chunk-G5YPY6KS.js.map +0 -1
- package/dist/chunk-IBB2U3AH.js.map +0 -1
- package/dist/chunk-J5XN2HAT.cjs.map +0 -1
- package/dist/chunk-QCPUMTFP.js.map +0 -1
package/dist/Accordion/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkJU7O2LCJcjs = require('../chunk-JU7O2LCJ.cjs');
|
|
6
6
|
require('../chunk-DZUJEN5N.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Accordion =
|
|
11
|
+
exports.Accordion = _chunkJU7O2LCJcjs.Accordion_default; exports.accordionVariants = _chunkJU7O2LCJcjs.accordionVariants; exports.default = _chunkJU7O2LCJcjs.Accordion_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Accordion } from '../Accordion-
|
|
2
|
-
export { c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from '../Accordion-
|
|
1
|
+
import { A as Accordion } from '../Accordion-DkShJasa.cjs';
|
|
2
|
+
export { c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from '../Accordion-DkShJasa.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Accordion } from '../Accordion-
|
|
2
|
-
export { c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from '../Accordion-
|
|
1
|
+
import { A as Accordion } from '../Accordion-DkShJasa.js';
|
|
2
|
+
export { c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from '../Accordion-DkShJasa.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Accordion/index.js
CHANGED
|
@@ -18,6 +18,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
18
18
|
wrapper: string;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
+
showBottomTopDivider: {
|
|
22
|
+
true: {
|
|
23
|
+
wrapper: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
21
26
|
}, {
|
|
22
27
|
base: string;
|
|
23
28
|
content: string;
|
|
@@ -42,6 +47,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
42
47
|
wrapper: string;
|
|
43
48
|
};
|
|
44
49
|
};
|
|
50
|
+
showBottomTopDivider: {
|
|
51
|
+
true: {
|
|
52
|
+
wrapper: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
45
55
|
}, {
|
|
46
56
|
indicatorLeft: {
|
|
47
57
|
true: {
|
|
@@ -55,6 +65,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
55
65
|
wrapper: string;
|
|
56
66
|
};
|
|
57
67
|
};
|
|
68
|
+
showBottomTopDivider: {
|
|
69
|
+
true: {
|
|
70
|
+
wrapper: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
58
73
|
}>, {
|
|
59
74
|
indicatorLeft: {
|
|
60
75
|
true: {
|
|
@@ -68,6 +83,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
68
83
|
wrapper: string;
|
|
69
84
|
};
|
|
70
85
|
};
|
|
86
|
+
showBottomTopDivider: {
|
|
87
|
+
true: {
|
|
88
|
+
wrapper: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
71
91
|
}, {
|
|
72
92
|
base: string;
|
|
73
93
|
content: string;
|
|
@@ -92,6 +112,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
92
112
|
wrapper: string;
|
|
93
113
|
};
|
|
94
114
|
};
|
|
115
|
+
showBottomTopDivider: {
|
|
116
|
+
true: {
|
|
117
|
+
wrapper: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
95
120
|
}, {
|
|
96
121
|
base: string;
|
|
97
122
|
content: string;
|
|
@@ -116,6 +141,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
116
141
|
wrapper: string;
|
|
117
142
|
};
|
|
118
143
|
};
|
|
144
|
+
showBottomTopDivider: {
|
|
145
|
+
true: {
|
|
146
|
+
wrapper: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
119
149
|
}, {
|
|
120
150
|
indicatorLeft: {
|
|
121
151
|
true: {
|
|
@@ -129,6 +159,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
129
159
|
wrapper: string;
|
|
130
160
|
};
|
|
131
161
|
};
|
|
162
|
+
showBottomTopDivider: {
|
|
163
|
+
true: {
|
|
164
|
+
wrapper: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
132
167
|
}>, unknown, unknown, undefined>>;
|
|
133
168
|
interface AccordionItemProps {
|
|
134
169
|
/** Content of the accordion item */
|
|
@@ -18,6 +18,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
18
18
|
wrapper: string;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
+
showBottomTopDivider: {
|
|
22
|
+
true: {
|
|
23
|
+
wrapper: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
21
26
|
}, {
|
|
22
27
|
base: string;
|
|
23
28
|
content: string;
|
|
@@ -42,6 +47,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
42
47
|
wrapper: string;
|
|
43
48
|
};
|
|
44
49
|
};
|
|
50
|
+
showBottomTopDivider: {
|
|
51
|
+
true: {
|
|
52
|
+
wrapper: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
45
55
|
}, {
|
|
46
56
|
indicatorLeft: {
|
|
47
57
|
true: {
|
|
@@ -55,6 +65,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
55
65
|
wrapper: string;
|
|
56
66
|
};
|
|
57
67
|
};
|
|
68
|
+
showBottomTopDivider: {
|
|
69
|
+
true: {
|
|
70
|
+
wrapper: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
58
73
|
}>, {
|
|
59
74
|
indicatorLeft: {
|
|
60
75
|
true: {
|
|
@@ -68,6 +83,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
68
83
|
wrapper: string;
|
|
69
84
|
};
|
|
70
85
|
};
|
|
86
|
+
showBottomTopDivider: {
|
|
87
|
+
true: {
|
|
88
|
+
wrapper: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
71
91
|
}, {
|
|
72
92
|
base: string;
|
|
73
93
|
content: string;
|
|
@@ -92,6 +112,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
92
112
|
wrapper: string;
|
|
93
113
|
};
|
|
94
114
|
};
|
|
115
|
+
showBottomTopDivider: {
|
|
116
|
+
true: {
|
|
117
|
+
wrapper: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
95
120
|
}, {
|
|
96
121
|
base: string;
|
|
97
122
|
content: string;
|
|
@@ -116,6 +141,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
116
141
|
wrapper: string;
|
|
117
142
|
};
|
|
118
143
|
};
|
|
144
|
+
showBottomTopDivider: {
|
|
145
|
+
true: {
|
|
146
|
+
wrapper: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
119
149
|
}, {
|
|
120
150
|
indicatorLeft: {
|
|
121
151
|
true: {
|
|
@@ -129,6 +159,11 @@ declare const accordionVariants: tailwind_variants.TVReturnType<{
|
|
|
129
159
|
wrapper: string;
|
|
130
160
|
};
|
|
131
161
|
};
|
|
162
|
+
showBottomTopDivider: {
|
|
163
|
+
true: {
|
|
164
|
+
wrapper: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
132
167
|
}>, unknown, unknown, undefined>>;
|
|
133
168
|
interface AccordionItemProps {
|
|
134
169
|
/** Content of the accordion item */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkFFULPXWNcjs = require('../chunk-FFULPXWN.cjs');
|
|
6
|
+
require('../chunk-DZUJEN5N.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.Breadcrumb = _chunkFFULPXWNcjs.Breadcrumb_default; exports.breadcrumbVariants = _chunkFFULPXWNcjs.breadcrumbVariants; exports.default = _chunkFFULPXWNcjs.Breadcrumb_default2;
|
|
12
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/uniform/uniform/packages/pixels/dist/Breadcrumb/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACF,sLAAC","file":"/home/runner/work/uniform/uniform/packages/pixels/dist/Breadcrumb/index.cjs"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { B as Breadcrumb } from '../Breadcrumb-BgIUn5sM.cjs';
|
|
2
|
+
export { c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from '../Breadcrumb-BgIUn5sM.cjs';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants/dist/config.js';
|
|
5
|
+
import 'tailwind-variants';
|
|
6
|
+
import '@fuf-stack/pixel-utils';
|
|
7
|
+
import 'react';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export { Breadcrumb, Breadcrumb as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { B as Breadcrumb } from '../Breadcrumb-BgIUn5sM.js';
|
|
2
|
+
export { c as BreadcrumbItemProps, a as BreadcrumbProps, b as breadcrumbVariants } from '../Breadcrumb-BgIUn5sM.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants/dist/config.js';
|
|
5
|
+
import 'tailwind-variants';
|
|
6
|
+
import '@fuf-stack/pixel-utils';
|
|
7
|
+
import 'react';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export { Breadcrumb, Breadcrumb as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Breadcrumb_default,
|
|
3
|
+
Breadcrumb_default2,
|
|
4
|
+
breadcrumbVariants
|
|
5
|
+
} from "../chunk-7HXO5TAH.js";
|
|
6
|
+
import "../chunk-5WRI5ZAA.js";
|
|
7
|
+
export {
|
|
8
|
+
Breadcrumb_default as Breadcrumb,
|
|
9
|
+
breadcrumbVariants,
|
|
10
|
+
Breadcrumb_default2 as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
3
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
4
|
+
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
|
|
7
|
+
declare const breadcrumbVariants: tailwind_variants.TVReturnType<{
|
|
8
|
+
[key: string]: {
|
|
9
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
10
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
11
|
+
list?: tailwind_variants.ClassValue;
|
|
12
|
+
separator?: tailwind_variants.ClassValue;
|
|
13
|
+
item?: tailwind_variants.ClassValue;
|
|
14
|
+
base?: tailwind_variants.ClassValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
[x: string]: {
|
|
19
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
20
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
21
|
+
list?: tailwind_variants.ClassValue;
|
|
22
|
+
separator?: tailwind_variants.ClassValue;
|
|
23
|
+
item?: tailwind_variants.ClassValue;
|
|
24
|
+
base?: tailwind_variants.ClassValue;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
} | {}, {
|
|
28
|
+
wrapper: string;
|
|
29
|
+
list: string;
|
|
30
|
+
separator: string;
|
|
31
|
+
item: string;
|
|
32
|
+
base: string;
|
|
33
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
34
|
+
[key: string]: {
|
|
35
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
36
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
37
|
+
list?: tailwind_variants.ClassValue;
|
|
38
|
+
separator?: tailwind_variants.ClassValue;
|
|
39
|
+
item?: tailwind_variants.ClassValue;
|
|
40
|
+
base?: tailwind_variants.ClassValue;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {}>, {
|
|
44
|
+
[key: string]: {
|
|
45
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
46
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
47
|
+
list?: tailwind_variants.ClassValue;
|
|
48
|
+
separator?: tailwind_variants.ClassValue;
|
|
49
|
+
item?: tailwind_variants.ClassValue;
|
|
50
|
+
base?: tailwind_variants.ClassValue;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
} | {}, {
|
|
54
|
+
wrapper: string;
|
|
55
|
+
list: string;
|
|
56
|
+
separator: string;
|
|
57
|
+
item: string;
|
|
58
|
+
base: string;
|
|
59
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
60
|
+
wrapper: string;
|
|
61
|
+
list: string;
|
|
62
|
+
separator: string;
|
|
63
|
+
item: string;
|
|
64
|
+
base: string;
|
|
65
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
66
|
+
[key: string]: {
|
|
67
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
68
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
69
|
+
list?: tailwind_variants.ClassValue;
|
|
70
|
+
separator?: tailwind_variants.ClassValue;
|
|
71
|
+
item?: tailwind_variants.ClassValue;
|
|
72
|
+
base?: tailwind_variants.ClassValue;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
76
|
+
interface BreadcrumbItemProps {
|
|
77
|
+
/** Content of the breadcrumb item */
|
|
78
|
+
children: ReactNode;
|
|
79
|
+
/** Disables the breadcrumb item */
|
|
80
|
+
disabled?: boolean;
|
|
81
|
+
/** content displayed before the children */
|
|
82
|
+
startContent?: ReactNode;
|
|
83
|
+
/** content displayed after the children */
|
|
84
|
+
endContent?: ReactNode;
|
|
85
|
+
}
|
|
86
|
+
type VariantProps = TVProps<typeof breadcrumbVariants>;
|
|
87
|
+
type ClassName = TVClassName<typeof breadcrumbVariants>;
|
|
88
|
+
interface BreadcrumbProps extends VariantProps {
|
|
89
|
+
/** Props for breadcrumbItem, will render the breadcrumb items programmatically */
|
|
90
|
+
breadcrumbItems?: BreadcrumbItemProps[];
|
|
91
|
+
/** CSS class name */
|
|
92
|
+
className?: ClassName;
|
|
93
|
+
/** color of the active BreadcrumbItem */
|
|
94
|
+
color?: 'foreground' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
95
|
+
/** Disables the Breadcrumb animation */
|
|
96
|
+
disableAnimation?: boolean;
|
|
97
|
+
/** hides the separator between items */
|
|
98
|
+
hideSeparator?: boolean;
|
|
99
|
+
/** disables all items */
|
|
100
|
+
disabled?: boolean;
|
|
101
|
+
/** Maximum number of items to show without "..." in between */
|
|
102
|
+
maxItems?: number;
|
|
103
|
+
/** Radius of the Breadcrumb */
|
|
104
|
+
radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
105
|
+
/** Separator between items */
|
|
106
|
+
separator?: ReactNode;
|
|
107
|
+
/** Size of the Breadcrumb */
|
|
108
|
+
size?: 'sm' | 'md' | 'lg';
|
|
109
|
+
/** Style variant of the Breadcrumbs */
|
|
110
|
+
variant?: 'solid' | 'bordered' | 'light';
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Breadcrumb component based on [NextUI Breadcrumbs](https://nextui.org/docs/components/breadcrumbs)
|
|
114
|
+
*/
|
|
115
|
+
declare const Breadcrumb: ({ breadcrumbItems, className: _className, color, disableAnimation, disabled, hideSeparator, maxItems, radius, separator, size, variant, }: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
|
|
116
|
+
|
|
117
|
+
export { Breadcrumb as B, type BreadcrumbProps as a, breadcrumbVariants as b, type BreadcrumbItemProps as c };
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
3
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
4
|
+
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
|
|
7
|
+
declare const breadcrumbVariants: tailwind_variants.TVReturnType<{
|
|
8
|
+
[key: string]: {
|
|
9
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
10
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
11
|
+
list?: tailwind_variants.ClassValue;
|
|
12
|
+
separator?: tailwind_variants.ClassValue;
|
|
13
|
+
item?: tailwind_variants.ClassValue;
|
|
14
|
+
base?: tailwind_variants.ClassValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
[x: string]: {
|
|
19
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
20
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
21
|
+
list?: tailwind_variants.ClassValue;
|
|
22
|
+
separator?: tailwind_variants.ClassValue;
|
|
23
|
+
item?: tailwind_variants.ClassValue;
|
|
24
|
+
base?: tailwind_variants.ClassValue;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
} | {}, {
|
|
28
|
+
wrapper: string;
|
|
29
|
+
list: string;
|
|
30
|
+
separator: string;
|
|
31
|
+
item: string;
|
|
32
|
+
base: string;
|
|
33
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
34
|
+
[key: string]: {
|
|
35
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
36
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
37
|
+
list?: tailwind_variants.ClassValue;
|
|
38
|
+
separator?: tailwind_variants.ClassValue;
|
|
39
|
+
item?: tailwind_variants.ClassValue;
|
|
40
|
+
base?: tailwind_variants.ClassValue;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {}>, {
|
|
44
|
+
[key: string]: {
|
|
45
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
46
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
47
|
+
list?: tailwind_variants.ClassValue;
|
|
48
|
+
separator?: tailwind_variants.ClassValue;
|
|
49
|
+
item?: tailwind_variants.ClassValue;
|
|
50
|
+
base?: tailwind_variants.ClassValue;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
} | {}, {
|
|
54
|
+
wrapper: string;
|
|
55
|
+
list: string;
|
|
56
|
+
separator: string;
|
|
57
|
+
item: string;
|
|
58
|
+
base: string;
|
|
59
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
60
|
+
wrapper: string;
|
|
61
|
+
list: string;
|
|
62
|
+
separator: string;
|
|
63
|
+
item: string;
|
|
64
|
+
base: string;
|
|
65
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
66
|
+
[key: string]: {
|
|
67
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
68
|
+
wrapper?: tailwind_variants.ClassValue;
|
|
69
|
+
list?: tailwind_variants.ClassValue;
|
|
70
|
+
separator?: tailwind_variants.ClassValue;
|
|
71
|
+
item?: tailwind_variants.ClassValue;
|
|
72
|
+
base?: tailwind_variants.ClassValue;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
76
|
+
interface BreadcrumbItemProps {
|
|
77
|
+
/** Content of the breadcrumb item */
|
|
78
|
+
children: ReactNode;
|
|
79
|
+
/** Disables the breadcrumb item */
|
|
80
|
+
disabled?: boolean;
|
|
81
|
+
/** content displayed before the children */
|
|
82
|
+
startContent?: ReactNode;
|
|
83
|
+
/** content displayed after the children */
|
|
84
|
+
endContent?: ReactNode;
|
|
85
|
+
}
|
|
86
|
+
type VariantProps = TVProps<typeof breadcrumbVariants>;
|
|
87
|
+
type ClassName = TVClassName<typeof breadcrumbVariants>;
|
|
88
|
+
interface BreadcrumbProps extends VariantProps {
|
|
89
|
+
/** Props for breadcrumbItem, will render the breadcrumb items programmatically */
|
|
90
|
+
breadcrumbItems?: BreadcrumbItemProps[];
|
|
91
|
+
/** CSS class name */
|
|
92
|
+
className?: ClassName;
|
|
93
|
+
/** color of the active BreadcrumbItem */
|
|
94
|
+
color?: 'foreground' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
95
|
+
/** Disables the Breadcrumb animation */
|
|
96
|
+
disableAnimation?: boolean;
|
|
97
|
+
/** hides the separator between items */
|
|
98
|
+
hideSeparator?: boolean;
|
|
99
|
+
/** disables all items */
|
|
100
|
+
disabled?: boolean;
|
|
101
|
+
/** Maximum number of items to show without "..." in between */
|
|
102
|
+
maxItems?: number;
|
|
103
|
+
/** Radius of the Breadcrumb */
|
|
104
|
+
radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
105
|
+
/** Separator between items */
|
|
106
|
+
separator?: ReactNode;
|
|
107
|
+
/** Size of the Breadcrumb */
|
|
108
|
+
size?: 'sm' | 'md' | 'lg';
|
|
109
|
+
/** Style variant of the Breadcrumbs */
|
|
110
|
+
variant?: 'solid' | 'bordered' | 'light';
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Breadcrumb component based on [NextUI Breadcrumbs](https://nextui.org/docs/components/breadcrumbs)
|
|
114
|
+
*/
|
|
115
|
+
declare const Breadcrumb: ({ breadcrumbItems, className: _className, color, disableAnimation, disabled, hideSeparator, maxItems, radius, separator, size, variant, }: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
|
|
116
|
+
|
|
117
|
+
export { Breadcrumb as B, type BreadcrumbProps as a, breadcrumbVariants as b, type BreadcrumbItemProps as c };
|
package/dist/Popover/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkNRLYC3SFcjs = require('../chunk-NRLYC3SF.cjs');
|
|
5
|
+
require('../chunk-D5HC5WLB.cjs');
|
|
6
6
|
require('../chunk-DZUJEN5N.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Popover =
|
|
10
|
+
exports.Popover = _chunkNRLYC3SFcjs.Popover_default; exports.default = _chunkNRLYC3SFcjs.Popover_default2;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Popover/index.d.cts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { _ as _default } from '../Popover-
|
|
2
|
-
export { P as PopoverProps } from '../Popover-
|
|
1
|
+
import { _ as _default } from '../Popover-DIRJ5iQj.cjs';
|
|
2
|
+
export { P as PopoverProps } from '../Popover-DIRJ5iQj.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants/dist/config.js';
|
|
5
|
+
import 'tailwind-variants';
|
|
6
|
+
import '@fuf-stack/pixel-utils';
|
|
4
7
|
import '@nextui-org/popover';
|
|
5
8
|
import 'react';
|
|
6
9
|
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { _ as _default } from '../Popover-
|
|
2
|
-
export { P as PopoverProps } from '../Popover-
|
|
1
|
+
import { _ as _default } from '../Popover-DIRJ5iQj.js';
|
|
2
|
+
export { P as PopoverProps } from '../Popover-DIRJ5iQj.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
+
import 'tailwind-variants/dist/config.js';
|
|
5
|
+
import 'tailwind-variants';
|
|
6
|
+
import '@fuf-stack/pixel-utils';
|
|
4
7
|
import '@nextui-org/popover';
|
|
5
8
|
import 'react';
|
|
6
9
|
|
package/dist/Popover/index.js
CHANGED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
3
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
4
|
+
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
5
|
+
import { PopoverProps as PopoverProps$1 } from '@nextui-org/popover';
|
|
6
|
+
import { ReactNode } from 'react';
|
|
7
|
+
|
|
8
|
+
declare const popoverVariants: tailwind_variants.TVReturnType<{
|
|
9
|
+
[key: string]: {
|
|
10
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
11
|
+
body?: tailwind_variants.ClassValue;
|
|
12
|
+
content?: tailwind_variants.ClassValue;
|
|
13
|
+
footer?: tailwind_variants.ClassValue;
|
|
14
|
+
header?: tailwind_variants.ClassValue;
|
|
15
|
+
trigger?: tailwind_variants.ClassValue;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
} | {
|
|
19
|
+
[x: string]: {
|
|
20
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
21
|
+
body?: tailwind_variants.ClassValue;
|
|
22
|
+
content?: tailwind_variants.ClassValue;
|
|
23
|
+
footer?: tailwind_variants.ClassValue;
|
|
24
|
+
header?: tailwind_variants.ClassValue;
|
|
25
|
+
trigger?: tailwind_variants.ClassValue;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
} | {}, {
|
|
29
|
+
body: string;
|
|
30
|
+
content: string;
|
|
31
|
+
footer: string;
|
|
32
|
+
header: string;
|
|
33
|
+
trigger: string;
|
|
34
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
35
|
+
[key: string]: {
|
|
36
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
37
|
+
body?: tailwind_variants.ClassValue;
|
|
38
|
+
content?: tailwind_variants.ClassValue;
|
|
39
|
+
footer?: tailwind_variants.ClassValue;
|
|
40
|
+
header?: tailwind_variants.ClassValue;
|
|
41
|
+
trigger?: tailwind_variants.ClassValue;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
} | {}>, {
|
|
45
|
+
[key: string]: {
|
|
46
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
47
|
+
body?: tailwind_variants.ClassValue;
|
|
48
|
+
content?: tailwind_variants.ClassValue;
|
|
49
|
+
footer?: tailwind_variants.ClassValue;
|
|
50
|
+
header?: tailwind_variants.ClassValue;
|
|
51
|
+
trigger?: tailwind_variants.ClassValue;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
} | {}, {
|
|
55
|
+
body: string;
|
|
56
|
+
content: string;
|
|
57
|
+
footer: string;
|
|
58
|
+
header: string;
|
|
59
|
+
trigger: string;
|
|
60
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
61
|
+
body: string;
|
|
62
|
+
content: string;
|
|
63
|
+
footer: string;
|
|
64
|
+
header: string;
|
|
65
|
+
trigger: string;
|
|
66
|
+
}, undefined, tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
67
|
+
[key: string]: {
|
|
68
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
69
|
+
body?: tailwind_variants.ClassValue;
|
|
70
|
+
content?: tailwind_variants.ClassValue;
|
|
71
|
+
footer?: tailwind_variants.ClassValue;
|
|
72
|
+
header?: tailwind_variants.ClassValue;
|
|
73
|
+
trigger?: tailwind_variants.ClassValue;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
77
|
+
type VariantProps = TVProps<typeof popoverVariants>;
|
|
78
|
+
type ClassName = TVClassName<typeof popoverVariants>;
|
|
79
|
+
interface PopoverProps extends VariantProps {
|
|
80
|
+
/** child components */
|
|
81
|
+
children?: ReactNode;
|
|
82
|
+
/** CSS class name */
|
|
83
|
+
className?: ClassName;
|
|
84
|
+
/** content of the popover */
|
|
85
|
+
content: ReactNode;
|
|
86
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
87
|
+
contentTestId?: string;
|
|
88
|
+
/** popover footer */
|
|
89
|
+
footer?: ReactNode;
|
|
90
|
+
/** use as controlled component */
|
|
91
|
+
openControlled?: {
|
|
92
|
+
open: boolean;
|
|
93
|
+
setOpen: (open: boolean) => void;
|
|
94
|
+
};
|
|
95
|
+
/** placement of the popover relative to its trigger reference */
|
|
96
|
+
placement?: PopoverProps$1['placement'];
|
|
97
|
+
/** The container element in which the overlay portal will be placed. */
|
|
98
|
+
portalContainer?: PopoverProps$1['portalContainer'];
|
|
99
|
+
/** Whether to block scrolling outside the popover */
|
|
100
|
+
shouldBlockScroll?: boolean;
|
|
101
|
+
/** HTML data-testid attribute used in e2e tests */
|
|
102
|
+
testId?: string;
|
|
103
|
+
/** popover title */
|
|
104
|
+
title?: ReactNode;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Popover component based on [NextUI Card](https://nextui.org/docs/components/popover)
|
|
108
|
+
*/
|
|
109
|
+
declare const _default: ({ children, className: _className, content, contentTestId, footer, openControlled, placement, portalContainer, shouldBlockScroll, testId, title, }: PopoverProps) => react_jsx_runtime.JSX.Element;
|
|
110
|
+
|
|
111
|
+
export { type PopoverProps as P, _default as _ };
|