@fuf-stack/pixels 0.39.5 → 0.39.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/dist/Button/index.cjs +2 -2
- package/dist/Button/index.d.cts +2 -2
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-BGekDPvO.d.cts → Button-Bm0yKM7X.d.cts} +42 -0
- package/dist/{Button-BGekDPvO.d.ts → Button-Bm0yKM7X.d.ts} +42 -0
- package/dist/Json/index.cjs +3 -3
- package/dist/Json/index.css +58 -0
- package/dist/Json/index.css.map +1 -0
- package/dist/Json/index.d.cts +2 -2
- package/dist/Json/index.d.ts +2 -2
- package/dist/Json/index.js +2 -2
- package/dist/{Json-ngM0f9n2.d.cts → Json-Dny90Wml.d.cts} +1 -3
- package/dist/{Json-ngM0f9n2.d.ts → Json-Dny90Wml.d.ts} +1 -3
- package/dist/Popover/index.d.cts +3 -3
- package/dist/Popover/index.d.ts +3 -3
- package/dist/{Popover-BXyk9y8I.d.cts → Popover-DajWpbPN.d.cts} +1 -1
- package/dist/{Popover-BHPrdRy6.d.ts → Popover-DcZ3qt-u.d.ts} +1 -1
- package/dist/{chunk-ZASS525K.cjs → chunk-374SO74F.cjs} +3 -77
- package/dist/chunk-374SO74F.cjs.map +1 -0
- package/dist/{chunk-4X43AGXE.cjs → chunk-HHCDSQ6N.cjs} +47 -19
- package/dist/chunk-HHCDSQ6N.cjs.map +1 -0
- package/dist/{chunk-3JUTQREC.js → chunk-L3DEBOPG.js} +3 -77
- package/dist/chunk-L3DEBOPG.js.map +1 -0
- package/dist/{chunk-HL5BEHIS.js → chunk-Q5DUSUCZ.js} +46 -18
- package/dist/chunk-Q5DUSUCZ.js.map +1 -0
- package/dist/index.cjs +3 -3
- package/dist/index.css +58 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-3JUTQREC.js.map +0 -1
- package/dist/chunk-4X43AGXE.cjs.map +0 -1
- package/dist/chunk-HL5BEHIS.js.map +0 -1
- package/dist/chunk-ZASS525K.cjs.map +0 -1
package/dist/Button/index.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkHHCDSQ6Ncjs = require('../chunk-HHCDSQ6N.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Button =
|
|
11
|
+
exports.Button = _chunkHHCDSQ6Ncjs.Button_default; exports.buttonVariants = _chunkHHCDSQ6Ncjs.buttonVariants; exports.default = _chunkHHCDSQ6Ncjs.Button_default2;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/Button/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Button } from '../Button-
|
|
2
|
-
export { a as ButtonProps, b as buttonVariants } from '../Button-
|
|
1
|
+
import { B as Button } from '../Button-Bm0yKM7X.cjs';
|
|
2
|
+
export { a as ButtonProps, b as buttonVariants } from '../Button-Bm0yKM7X.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Button } from '../Button-
|
|
2
|
-
export { a as ButtonProps, b as buttonVariants } from '../Button-
|
|
1
|
+
import { B as Button } from '../Button-Bm0yKM7X.js';
|
|
2
|
+
export { a as ButtonProps, b as buttonVariants } from '../Button-Bm0yKM7X.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants';
|
|
5
5
|
import 'tailwind-variants/dist/config.js';
|
package/dist/Button/index.js
CHANGED
|
@@ -13,6 +13,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
13
13
|
success: string;
|
|
14
14
|
warning: string;
|
|
15
15
|
danger: string;
|
|
16
|
+
info: string;
|
|
16
17
|
};
|
|
17
18
|
variant: {
|
|
18
19
|
solid: string;
|
|
@@ -23,6 +24,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
23
24
|
shadow: string;
|
|
24
25
|
ghost: string;
|
|
25
26
|
};
|
|
27
|
+
size: {
|
|
28
|
+
sm: string;
|
|
29
|
+
md: string;
|
|
30
|
+
lg: string;
|
|
31
|
+
};
|
|
26
32
|
}, undefined, "", tailwind_variants_dist_config_js.TVConfig<{
|
|
27
33
|
color: {
|
|
28
34
|
default: string;
|
|
@@ -31,6 +37,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
31
37
|
success: string;
|
|
32
38
|
warning: string;
|
|
33
39
|
danger: string;
|
|
40
|
+
info: string;
|
|
34
41
|
};
|
|
35
42
|
variant: {
|
|
36
43
|
solid: string;
|
|
@@ -41,6 +48,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
41
48
|
shadow: string;
|
|
42
49
|
ghost: string;
|
|
43
50
|
};
|
|
51
|
+
size: {
|
|
52
|
+
sm: string;
|
|
53
|
+
md: string;
|
|
54
|
+
lg: string;
|
|
55
|
+
};
|
|
44
56
|
}, {
|
|
45
57
|
color: {
|
|
46
58
|
default: string;
|
|
@@ -49,6 +61,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
49
61
|
success: string;
|
|
50
62
|
warning: string;
|
|
51
63
|
danger: string;
|
|
64
|
+
info: string;
|
|
52
65
|
};
|
|
53
66
|
variant: {
|
|
54
67
|
solid: string;
|
|
@@ -59,6 +72,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
59
72
|
shadow: string;
|
|
60
73
|
ghost: string;
|
|
61
74
|
};
|
|
75
|
+
size: {
|
|
76
|
+
sm: string;
|
|
77
|
+
md: string;
|
|
78
|
+
lg: string;
|
|
79
|
+
};
|
|
62
80
|
}>, {
|
|
63
81
|
color: {
|
|
64
82
|
default: string;
|
|
@@ -67,6 +85,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
67
85
|
success: string;
|
|
68
86
|
warning: string;
|
|
69
87
|
danger: string;
|
|
88
|
+
info: string;
|
|
70
89
|
};
|
|
71
90
|
variant: {
|
|
72
91
|
solid: string;
|
|
@@ -77,6 +96,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
77
96
|
shadow: string;
|
|
78
97
|
ghost: string;
|
|
79
98
|
};
|
|
99
|
+
size: {
|
|
100
|
+
sm: string;
|
|
101
|
+
md: string;
|
|
102
|
+
lg: string;
|
|
103
|
+
};
|
|
80
104
|
}, undefined, tailwind_variants.TVReturnType<{
|
|
81
105
|
color: {
|
|
82
106
|
default: string;
|
|
@@ -85,6 +109,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
85
109
|
success: string;
|
|
86
110
|
warning: string;
|
|
87
111
|
danger: string;
|
|
112
|
+
info: string;
|
|
88
113
|
};
|
|
89
114
|
variant: {
|
|
90
115
|
solid: string;
|
|
@@ -95,6 +120,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
95
120
|
shadow: string;
|
|
96
121
|
ghost: string;
|
|
97
122
|
};
|
|
123
|
+
size: {
|
|
124
|
+
sm: string;
|
|
125
|
+
md: string;
|
|
126
|
+
lg: string;
|
|
127
|
+
};
|
|
98
128
|
}, undefined, "", tailwind_variants_dist_config_js.TVConfig<{
|
|
99
129
|
color: {
|
|
100
130
|
default: string;
|
|
@@ -103,6 +133,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
103
133
|
success: string;
|
|
104
134
|
warning: string;
|
|
105
135
|
danger: string;
|
|
136
|
+
info: string;
|
|
106
137
|
};
|
|
107
138
|
variant: {
|
|
108
139
|
solid: string;
|
|
@@ -113,6 +144,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
113
144
|
shadow: string;
|
|
114
145
|
ghost: string;
|
|
115
146
|
};
|
|
147
|
+
size: {
|
|
148
|
+
sm: string;
|
|
149
|
+
md: string;
|
|
150
|
+
lg: string;
|
|
151
|
+
};
|
|
116
152
|
}, {
|
|
117
153
|
color: {
|
|
118
154
|
default: string;
|
|
@@ -121,6 +157,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
121
157
|
success: string;
|
|
122
158
|
warning: string;
|
|
123
159
|
danger: string;
|
|
160
|
+
info: string;
|
|
124
161
|
};
|
|
125
162
|
variant: {
|
|
126
163
|
solid: string;
|
|
@@ -131,6 +168,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
131
168
|
shadow: string;
|
|
132
169
|
ghost: string;
|
|
133
170
|
};
|
|
171
|
+
size: {
|
|
172
|
+
sm: string;
|
|
173
|
+
md: string;
|
|
174
|
+
lg: string;
|
|
175
|
+
};
|
|
134
176
|
}>, unknown, unknown, undefined>>;
|
|
135
177
|
type VariantProps = TVProps<typeof buttonVariants>;
|
|
136
178
|
interface ButtonProps extends VariantProps {
|
|
@@ -13,6 +13,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
13
13
|
success: string;
|
|
14
14
|
warning: string;
|
|
15
15
|
danger: string;
|
|
16
|
+
info: string;
|
|
16
17
|
};
|
|
17
18
|
variant: {
|
|
18
19
|
solid: string;
|
|
@@ -23,6 +24,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
23
24
|
shadow: string;
|
|
24
25
|
ghost: string;
|
|
25
26
|
};
|
|
27
|
+
size: {
|
|
28
|
+
sm: string;
|
|
29
|
+
md: string;
|
|
30
|
+
lg: string;
|
|
31
|
+
};
|
|
26
32
|
}, undefined, "", tailwind_variants_dist_config_js.TVConfig<{
|
|
27
33
|
color: {
|
|
28
34
|
default: string;
|
|
@@ -31,6 +37,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
31
37
|
success: string;
|
|
32
38
|
warning: string;
|
|
33
39
|
danger: string;
|
|
40
|
+
info: string;
|
|
34
41
|
};
|
|
35
42
|
variant: {
|
|
36
43
|
solid: string;
|
|
@@ -41,6 +48,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
41
48
|
shadow: string;
|
|
42
49
|
ghost: string;
|
|
43
50
|
};
|
|
51
|
+
size: {
|
|
52
|
+
sm: string;
|
|
53
|
+
md: string;
|
|
54
|
+
lg: string;
|
|
55
|
+
};
|
|
44
56
|
}, {
|
|
45
57
|
color: {
|
|
46
58
|
default: string;
|
|
@@ -49,6 +61,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
49
61
|
success: string;
|
|
50
62
|
warning: string;
|
|
51
63
|
danger: string;
|
|
64
|
+
info: string;
|
|
52
65
|
};
|
|
53
66
|
variant: {
|
|
54
67
|
solid: string;
|
|
@@ -59,6 +72,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
59
72
|
shadow: string;
|
|
60
73
|
ghost: string;
|
|
61
74
|
};
|
|
75
|
+
size: {
|
|
76
|
+
sm: string;
|
|
77
|
+
md: string;
|
|
78
|
+
lg: string;
|
|
79
|
+
};
|
|
62
80
|
}>, {
|
|
63
81
|
color: {
|
|
64
82
|
default: string;
|
|
@@ -67,6 +85,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
67
85
|
success: string;
|
|
68
86
|
warning: string;
|
|
69
87
|
danger: string;
|
|
88
|
+
info: string;
|
|
70
89
|
};
|
|
71
90
|
variant: {
|
|
72
91
|
solid: string;
|
|
@@ -77,6 +96,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
77
96
|
shadow: string;
|
|
78
97
|
ghost: string;
|
|
79
98
|
};
|
|
99
|
+
size: {
|
|
100
|
+
sm: string;
|
|
101
|
+
md: string;
|
|
102
|
+
lg: string;
|
|
103
|
+
};
|
|
80
104
|
}, undefined, tailwind_variants.TVReturnType<{
|
|
81
105
|
color: {
|
|
82
106
|
default: string;
|
|
@@ -85,6 +109,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
85
109
|
success: string;
|
|
86
110
|
warning: string;
|
|
87
111
|
danger: string;
|
|
112
|
+
info: string;
|
|
88
113
|
};
|
|
89
114
|
variant: {
|
|
90
115
|
solid: string;
|
|
@@ -95,6 +120,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
95
120
|
shadow: string;
|
|
96
121
|
ghost: string;
|
|
97
122
|
};
|
|
123
|
+
size: {
|
|
124
|
+
sm: string;
|
|
125
|
+
md: string;
|
|
126
|
+
lg: string;
|
|
127
|
+
};
|
|
98
128
|
}, undefined, "", tailwind_variants_dist_config_js.TVConfig<{
|
|
99
129
|
color: {
|
|
100
130
|
default: string;
|
|
@@ -103,6 +133,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
103
133
|
success: string;
|
|
104
134
|
warning: string;
|
|
105
135
|
danger: string;
|
|
136
|
+
info: string;
|
|
106
137
|
};
|
|
107
138
|
variant: {
|
|
108
139
|
solid: string;
|
|
@@ -113,6 +144,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
113
144
|
shadow: string;
|
|
114
145
|
ghost: string;
|
|
115
146
|
};
|
|
147
|
+
size: {
|
|
148
|
+
sm: string;
|
|
149
|
+
md: string;
|
|
150
|
+
lg: string;
|
|
151
|
+
};
|
|
116
152
|
}, {
|
|
117
153
|
color: {
|
|
118
154
|
default: string;
|
|
@@ -121,6 +157,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
121
157
|
success: string;
|
|
122
158
|
warning: string;
|
|
123
159
|
danger: string;
|
|
160
|
+
info: string;
|
|
124
161
|
};
|
|
125
162
|
variant: {
|
|
126
163
|
solid: string;
|
|
@@ -131,6 +168,11 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
|
131
168
|
shadow: string;
|
|
132
169
|
ghost: string;
|
|
133
170
|
};
|
|
171
|
+
size: {
|
|
172
|
+
sm: string;
|
|
173
|
+
md: string;
|
|
174
|
+
lg: string;
|
|
175
|
+
};
|
|
134
176
|
}>, unknown, unknown, undefined>>;
|
|
135
177
|
type VariantProps = TVProps<typeof buttonVariants>;
|
|
136
178
|
interface ButtonProps extends VariantProps {
|
package/dist/Json/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 _chunk374SO74Fcjs = require('../chunk-374SO74F.cjs');
|
|
5
|
+
require('../chunk-HHCDSQ6N.cjs');
|
|
6
6
|
require('../chunk-D4TLDLEX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.Json =
|
|
10
|
+
exports.Json = _chunk374SO74Fcjs.Json_default; exports.default = _chunk374SO74Fcjs.Json_default2;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* src/Json/theme.css */
|
|
2
|
+
:root {
|
|
3
|
+
--w-rjv-font-family: monospace;
|
|
4
|
+
--w-rjv-color: #002b36;
|
|
5
|
+
--w-rjv-key-string: #002b36;
|
|
6
|
+
--w-rjv-background-color: unset;
|
|
7
|
+
--w-rjv-line-color: #ebebeb;
|
|
8
|
+
--w-rjv-arrow-color: var(--w-rjv-color);
|
|
9
|
+
--w-rjv-edit-color: var(--w-rjv-color);
|
|
10
|
+
--w-rjv-info-color: rgba(0, 0, 0, 0.3);
|
|
11
|
+
--w-rjv-update-color: #ebcb8b;
|
|
12
|
+
--w-rjv-copied-color: #002b36;
|
|
13
|
+
--w-rjv-copied-success-color: #28a745;
|
|
14
|
+
--w-rjv-curlybraces-color: #236a7c;
|
|
15
|
+
--w-rjv-colon-color: #002b36;
|
|
16
|
+
--w-rjv-brackets-color: #236a7c;
|
|
17
|
+
--w-rjv-quotes-color: var(--w-rjv-key-string);
|
|
18
|
+
--w-rjv-quotes-string-color: var(--w-rjv-type-string-color);
|
|
19
|
+
--w-rjv-type-string-color: #cb4b16;
|
|
20
|
+
--w-rjv-type-int-color: #268bd2;
|
|
21
|
+
--w-rjv-type-float-color: #859900;
|
|
22
|
+
--w-rjv-type-bigint-color: #268bd2;
|
|
23
|
+
--w-rjv-type-boolean-color: #2aa198;
|
|
24
|
+
--w-rjv-type-date-color: #586e75;
|
|
25
|
+
--w-rjv-type-url-color: #0969da;
|
|
26
|
+
--w-rjv-type-null-color: #d33682;
|
|
27
|
+
--w-rjv-type-nan-color: #859900;
|
|
28
|
+
--w-rjv-type-undefined-color: #586e75;
|
|
29
|
+
}
|
|
30
|
+
:root[data-theme=dark] {
|
|
31
|
+
--w-rjv-font-family: monospace;
|
|
32
|
+
--w-rjv-color: #9cdcfe;
|
|
33
|
+
--w-rjv-key-string: #9cdcfe;
|
|
34
|
+
--w-rjv-background-color: unset;
|
|
35
|
+
--w-rjv-line-color: rgba(54, 51, 66, 0.5);
|
|
36
|
+
--w-rjv-arrow-color: #838383;
|
|
37
|
+
--w-rjv-edit-color: var(--w-rjv-color);
|
|
38
|
+
--w-rjv-info-color: rgba(156, 156, 156, 0.48);
|
|
39
|
+
--w-rjv-update-color: #9cdcfe;
|
|
40
|
+
--w-rjv-copied-color: #9cdcfe;
|
|
41
|
+
--w-rjv-copied-success-color: #28a745;
|
|
42
|
+
--w-rjv-curlybraces-color: #d4d4d4;
|
|
43
|
+
--w-rjv-colon-color: #d4d4d4;
|
|
44
|
+
--w-rjv-brackets-color: #d4d4d4;
|
|
45
|
+
--w-rjv-quotes-color: var(--w-rjv-key-string);
|
|
46
|
+
--w-rjv-quotes-string-color: var(--w-rjv-type-string-color);
|
|
47
|
+
--w-rjv-type-string-color: #ce9178;
|
|
48
|
+
--w-rjv-type-int-color: #b5cea8;
|
|
49
|
+
--w-rjv-type-float-color: #b5cea8;
|
|
50
|
+
--w-rjv-type-bigint-color: #b5cea8;
|
|
51
|
+
--w-rjv-type-boolean-color: #569cd6;
|
|
52
|
+
--w-rjv-type-date-color: #b5cea8;
|
|
53
|
+
--w-rjv-type-url-color: #3b89cf;
|
|
54
|
+
--w-rjv-type-null-color: #569cd6;
|
|
55
|
+
--w-rjv-type-nan-color: #859900;
|
|
56
|
+
--w-rjv-type-undefined-color: #569cd6;
|
|
57
|
+
}
|
|
58
|
+
/*# sourceMappingURL=index.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Json/theme.css"],"sourcesContent":["/********************************************************************\n * light theme variables\n * see: https://github.com/uiwjs/react-json-view/blob/main/core/src/theme/light.ts\n ********************************************************************/\n :root {\n --w-rjv-font-family: monospace;\n --w-rjv-color: #002b36;\n --w-rjv-key-string: #002b36;\n --w-rjv-background-color: unset;\n --w-rjv-line-color: #ebebeb;\n --w-rjv-arrow-color: var(--w-rjv-color);\n --w-rjv-edit-color: var(--w-rjv-color);\n --w-rjv-info-color: rgba(0, 0, 0, 0.3);\n --w-rjv-update-color: #ebcb8b;\n --w-rjv-copied-color: #002b36;\n --w-rjv-copied-success-color: #28a745;\n\n --w-rjv-curlybraces-color: #236a7c;\n --w-rjv-colon-color: #002b36;\n --w-rjv-brackets-color: #236a7c;\n --w-rjv-quotes-color: var(--w-rjv-key-string);\n --w-rjv-quotes-string-color: var(--w-rjv-type-string-color);\n\n --w-rjv-type-string-color: #cb4b16;\n --w-rjv-type-int-color: #268bd2;\n --w-rjv-type-float-color: #859900;\n --w-rjv-type-bigint-color: #268bd2;\n --w-rjv-type-boolean-color: #2aa198;\n --w-rjv-type-date-color: #586e75;\n --w-rjv-type-url-color: #0969da;\n --w-rjv-type-null-color: #d33682;\n --w-rjv-type-nan-color: #859900;\n --w-rjv-type-undefined-color: #586e75;\n}\n\n/********************************************************************\n * dark theme variables\n * see: https://github.com/uiwjs/react-json-view/blob/main/core/src/theme/vscode.ts\n ********************************************************************/\n:root[data-theme=\"dark\"] {\n --w-rjv-font-family: monospace;\n --w-rjv-color: #9cdcfe;\n --w-rjv-key-string: #9cdcfe;\n --w-rjv-background-color: unset;\n --w-rjv-line-color: rgba(54, 51, 66, 0.5);\n --w-rjv-arrow-color: #838383;\n --w-rjv-edit-color: var(--w-rjv-color);\n --w-rjv-info-color: rgba(156, 156, 156, 0.48);\n --w-rjv-update-color: #9cdcfe;\n --w-rjv-copied-color: #9cdcfe;\n --w-rjv-copied-success-color: #28a745;\n\n --w-rjv-curlybraces-color: #d4d4d4;\n --w-rjv-colon-color: #d4d4d4;\n --w-rjv-brackets-color: #d4d4d4;\n --w-rjv-quotes-color: var(--w-rjv-key-string);\n --w-rjv-quotes-string-color: var(--w-rjv-type-string-color);\n\n --w-rjv-type-string-color: #ce9178;\n --w-rjv-type-int-color: #b5cea8;\n --w-rjv-type-float-color: #b5cea8;\n --w-rjv-type-bigint-color: #b5cea8;\n --w-rjv-type-boolean-color: #569cd6;\n --w-rjv-type-date-color: #b5cea8;\n --w-rjv-type-url-color: #3b89cf;\n --w-rjv-type-null-color: #569cd6;\n --w-rjv-type-nan-color: #859900;\n --w-rjv-type-undefined-color: #569cd6;\n}\n"],"mappings":";AAIC;AACC,uBAAqB;AACrB,iBAAe;AACf,sBAAoB;AACpB,4BAA0B;AAC1B,sBAAoB;AACpB,uBAAqB,IAAI;AACzB,sBAAoB,IAAI;AACxB,sBAAoB,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AAClC,wBAAsB;AACtB,wBAAsB;AACtB,gCAA8B;AAE9B,6BAA2B;AAC3B,uBAAqB;AACrB,0BAAwB;AACxB,wBAAsB,IAAI;AAC1B,+BAA6B,IAAI;AAEjC,6BAA2B;AAC3B,0BAAwB;AACxB,4BAA0B;AAC1B,6BAA2B;AAC3B,8BAA4B;AAC5B,2BAAyB;AACzB,0BAAwB;AACxB,2BAAyB;AACzB,0BAAwB;AACxB,gCAA8B;AAChC;AAMA,KAAK,CAAC;AACJ,uBAAqB;AACrB,iBAAe;AACf,sBAAoB;AACpB,4BAA0B;AAC1B,sBAAoB,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACrC,uBAAqB;AACrB,sBAAoB,IAAI;AACxB,sBAAoB,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;AACxC,wBAAsB;AACtB,wBAAsB;AACtB,gCAA8B;AAE9B,6BAA2B;AAC3B,uBAAqB;AACrB,0BAAwB;AACxB,wBAAsB,IAAI;AAC1B,+BAA6B,IAAI;AAEjC,6BAA2B;AAC3B,0BAAwB;AACxB,4BAA0B;AAC1B,6BAA2B;AAC3B,8BAA4B;AAC5B,2BAAyB;AACzB,0BAAwB;AACxB,2BAAyB;AACzB,0BAAwB;AACxB,gCAA8B;AAChC;","names":[]}
|
package/dist/Json/index.d.cts
CHANGED
package/dist/Json/index.d.ts
CHANGED
package/dist/Json/index.js
CHANGED
|
@@ -12,8 +12,6 @@ interface JsonProps {
|
|
|
12
12
|
maxHeight?: string | number;
|
|
13
13
|
/** Callback when copy action is performed */
|
|
14
14
|
onCopy?: (copiedValue: string) => void;
|
|
15
|
-
/** Color scheme, if not provided component tries to determine it with next-themes and body dark class */
|
|
16
|
-
theme?: 'light' | 'dark';
|
|
17
15
|
/** Object to be visualized JSON string or object */
|
|
18
16
|
value: string | object;
|
|
19
17
|
}
|
|
@@ -21,6 +19,6 @@ interface JsonProps {
|
|
|
21
19
|
* Json renderer based on [react-json-view](https://uiwjs.github.io/react-json-view)
|
|
22
20
|
* with improved error handling, accessibility, and customization options
|
|
23
21
|
*/
|
|
24
|
-
declare const Json: ({ className, collapsed, errorRenderer, maxHeight, onCopy,
|
|
22
|
+
declare const Json: ({ className, collapsed, errorRenderer, maxHeight, onCopy, value, }: JsonProps) => react_jsx_runtime.JSX.Element;
|
|
25
23
|
|
|
26
24
|
export { Json as J, type JsonProps as a };
|
|
@@ -12,8 +12,6 @@ interface JsonProps {
|
|
|
12
12
|
maxHeight?: string | number;
|
|
13
13
|
/** Callback when copy action is performed */
|
|
14
14
|
onCopy?: (copiedValue: string) => void;
|
|
15
|
-
/** Color scheme, if not provided component tries to determine it with next-themes and body dark class */
|
|
16
|
-
theme?: 'light' | 'dark';
|
|
17
15
|
/** Object to be visualized JSON string or object */
|
|
18
16
|
value: string | object;
|
|
19
17
|
}
|
|
@@ -21,6 +19,6 @@ interface JsonProps {
|
|
|
21
19
|
* Json renderer based on [react-json-view](https://uiwjs.github.io/react-json-view)
|
|
22
20
|
* with improved error handling, accessibility, and customization options
|
|
23
21
|
*/
|
|
24
|
-
declare const Json: ({ className, collapsed, errorRenderer, maxHeight, onCopy,
|
|
22
|
+
declare const Json: ({ className, collapsed, errorRenderer, maxHeight, onCopy, value, }: JsonProps) => react_jsx_runtime.JSX.Element;
|
|
25
23
|
|
|
26
24
|
export { Json as J, type JsonProps as a };
|
package/dist/Popover/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as _default } from '../Popover-
|
|
2
|
-
export { P as PopoverProps } from '../Popover-
|
|
1
|
+
import { _ as _default } from '../Popover-DajWpbPN.cjs';
|
|
2
|
+
export { P as PopoverProps } from '../Popover-DajWpbPN.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
|
6
6
|
import '@fuf-stack/pixel-utils';
|
|
7
7
|
import '@heroui/popover';
|
|
8
8
|
import 'react';
|
|
9
|
-
import '../Button-
|
|
9
|
+
import '../Button-Bm0yKM7X.cjs';
|
|
10
10
|
import '@heroui/button';
|
|
11
11
|
|
|
12
12
|
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as _default } from '../Popover-
|
|
2
|
-
export { P as PopoverProps } from '../Popover-
|
|
1
|
+
import { _ as _default } from '../Popover-DcZ3qt-u.js';
|
|
2
|
+
export { P as PopoverProps } from '../Popover-DcZ3qt-u.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'tailwind-variants/dist/config.js';
|
|
5
5
|
import 'tailwind-variants';
|
|
6
6
|
import '@fuf-stack/pixel-utils';
|
|
7
7
|
import '@heroui/popover';
|
|
8
8
|
import 'react';
|
|
9
|
-
import '../Button-
|
|
9
|
+
import '../Button-Bm0yKM7X.js';
|
|
10
10
|
import '@heroui/button';
|
|
11
11
|
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@ import * as tailwind_variants from 'tailwind-variants';
|
|
|
4
4
|
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
5
5
|
import { PopoverProps as PopoverProps$1 } from '@heroui/popover';
|
|
6
6
|
import { ReactNode } from 'react';
|
|
7
|
-
import { a as ButtonProps } from './Button-
|
|
7
|
+
import { a as ButtonProps } from './Button-Bm0yKM7X.cjs';
|
|
8
8
|
|
|
9
9
|
declare const popoverVariants: tailwind_variants.TVReturnType<{
|
|
10
10
|
[key: string]: {
|
|
@@ -4,7 +4,7 @@ import * as tailwind_variants from 'tailwind-variants';
|
|
|
4
4
|
import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
|
|
5
5
|
import { PopoverProps as PopoverProps$1 } from '@heroui/popover';
|
|
6
6
|
import { ReactNode } from 'react';
|
|
7
|
-
import { a as ButtonProps } from './Button-
|
|
7
|
+
import { a as ButtonProps } from './Button-Bm0yKM7X.js';
|
|
8
8
|
|
|
9
9
|
declare const popoverVariants: tailwind_variants.TVReturnType<{
|
|
10
10
|
[key: string]: {
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var _chunkHHCDSQ6Ncjs = require('./chunk-HHCDSQ6N.cjs');
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
|
|
@@ -2500,68 +2498,7 @@ JsonView.Row = Row;
|
|
|
2500
2498
|
JsonView.displayName = "JVR.JsonView";
|
|
2501
2499
|
var esm_default = JsonView;
|
|
2502
2500
|
|
|
2503
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.30_@babel+runtime@7.26.9_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@uiw/react-json-view/esm/theme/light.js
|
|
2504
|
-
var lightTheme = {
|
|
2505
|
-
"--w-rjv-font-family": "monospace",
|
|
2506
|
-
"--w-rjv-color": "#002b36",
|
|
2507
|
-
"--w-rjv-key-string": "#002b36",
|
|
2508
|
-
"--w-rjv-background-color": "#ffffff",
|
|
2509
|
-
"--w-rjv-line-color": "#ebebeb",
|
|
2510
|
-
"--w-rjv-arrow-color": "var(--w-rjv-color)",
|
|
2511
|
-
"--w-rjv-edit-color": "var(--w-rjv-color)",
|
|
2512
|
-
"--w-rjv-info-color": "#0000004d",
|
|
2513
|
-
"--w-rjv-update-color": "#ebcb8b",
|
|
2514
|
-
"--w-rjv-copied-color": "#002b36",
|
|
2515
|
-
"--w-rjv-copied-success-color": "#28a745",
|
|
2516
|
-
"--w-rjv-curlybraces-color": "#236a7c",
|
|
2517
|
-
"--w-rjv-colon-color": "#002b36",
|
|
2518
|
-
"--w-rjv-brackets-color": "#236a7c",
|
|
2519
|
-
"--w-rjv-quotes-color": "var(--w-rjv-key-string)",
|
|
2520
|
-
"--w-rjv-quotes-string-color": "var(--w-rjv-type-string-color)",
|
|
2521
|
-
"--w-rjv-type-string-color": "#cb4b16",
|
|
2522
|
-
"--w-rjv-type-int-color": "#268bd2",
|
|
2523
|
-
"--w-rjv-type-float-color": "#859900",
|
|
2524
|
-
"--w-rjv-type-bigint-color": "#268bd2",
|
|
2525
|
-
"--w-rjv-type-boolean-color": "#2aa198",
|
|
2526
|
-
"--w-rjv-type-date-color": "#586e75",
|
|
2527
|
-
"--w-rjv-type-url-color": "#0969da",
|
|
2528
|
-
"--w-rjv-type-null-color": "#d33682",
|
|
2529
|
-
"--w-rjv-type-nan-color": "#859900",
|
|
2530
|
-
"--w-rjv-type-undefined-color": "#586e75"
|
|
2531
|
-
};
|
|
2532
|
-
|
|
2533
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.30_@babel+runtime@7.26.9_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@uiw/react-json-view/esm/theme/vscode.js
|
|
2534
|
-
var vscodeTheme = {
|
|
2535
|
-
"--w-rjv-font-family": "monospace",
|
|
2536
|
-
"--w-rjv-color": "#9cdcfe",
|
|
2537
|
-
"--w-rjv-key-string": "#9cdcfe",
|
|
2538
|
-
"--w-rjv-background-color": "#1e1e1e",
|
|
2539
|
-
"--w-rjv-line-color": "#36334280",
|
|
2540
|
-
"--w-rjv-arrow-color": "#838383",
|
|
2541
|
-
"--w-rjv-edit-color": "var(--w-rjv-color)",
|
|
2542
|
-
"--w-rjv-info-color": "#9c9c9c7a",
|
|
2543
|
-
"--w-rjv-update-color": "#9cdcfe",
|
|
2544
|
-
"--w-rjv-copied-color": "#9cdcfe",
|
|
2545
|
-
"--w-rjv-copied-success-color": "#28a745",
|
|
2546
|
-
"--w-rjv-curlybraces-color": "#d4d4d4",
|
|
2547
|
-
"--w-rjv-colon-color": "#d4d4d4",
|
|
2548
|
-
"--w-rjv-brackets-color": "#d4d4d4",
|
|
2549
|
-
"--w-rjv-quotes-color": "var(--w-rjv-key-string)",
|
|
2550
|
-
"--w-rjv-quotes-string-color": "var(--w-rjv-type-string-color)",
|
|
2551
|
-
"--w-rjv-type-string-color": "#ce9178",
|
|
2552
|
-
"--w-rjv-type-int-color": "#b5cea8",
|
|
2553
|
-
"--w-rjv-type-float-color": "#b5cea8",
|
|
2554
|
-
"--w-rjv-type-bigint-color": "#b5cea8",
|
|
2555
|
-
"--w-rjv-type-boolean-color": "#569cd6",
|
|
2556
|
-
"--w-rjv-type-date-color": "#b5cea8",
|
|
2557
|
-
"--w-rjv-type-url-color": "#3b89cf",
|
|
2558
|
-
"--w-rjv-type-null-color": "#569cd6",
|
|
2559
|
-
"--w-rjv-type-nan-color": "#859900",
|
|
2560
|
-
"--w-rjv-type-undefined-color": "#569cd6"
|
|
2561
|
-
};
|
|
2562
|
-
|
|
2563
2501
|
// src/Json/Json.tsx
|
|
2564
|
-
var _nextthemes = require('next-themes');
|
|
2565
2502
|
var _pixelutils = require('@fuf-stack/pixel-utils');
|
|
2566
2503
|
|
|
2567
2504
|
// src/Json/jsonParser.ts
|
|
@@ -2653,7 +2590,7 @@ var ErrorRenderer = ({
|
|
|
2653
2590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium", children: "Failed to parse JSON data" })
|
|
2654
2591
|
] }),
|
|
2655
2592
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2656
|
-
|
|
2593
|
+
_chunkHHCDSQ6Ncjs.Button_default,
|
|
2657
2594
|
{
|
|
2658
2595
|
color: "danger",
|
|
2659
2596
|
size: "sm",
|
|
@@ -2721,17 +2658,9 @@ var Json = ({
|
|
|
2721
2658
|
errorRenderer = void 0,
|
|
2722
2659
|
maxHeight = void 0,
|
|
2723
2660
|
onCopy = void 0,
|
|
2724
|
-
theme = void 0,
|
|
2725
2661
|
value
|
|
2726
2662
|
}) => {
|
|
2727
2663
|
const [showDetails, setShowDetails] = _react.useState.call(void 0, false);
|
|
2728
|
-
const { resolvedTheme } = _nextthemes.useTheme.call(void 0, );
|
|
2729
|
-
const isDarkMode = _react.useMemo.call(void 0, () => {
|
|
2730
|
-
if (theme) {
|
|
2731
|
-
return theme === "dark";
|
|
2732
|
-
}
|
|
2733
|
-
return resolvedTheme === "dark" || document.body.classList.contains("dark");
|
|
2734
|
-
}, [resolvedTheme, theme]);
|
|
2735
2664
|
let content = null;
|
|
2736
2665
|
let error = null;
|
|
2737
2666
|
try {
|
|
@@ -2747,9 +2676,6 @@ var Json = ({
|
|
|
2747
2676
|
className: "pr-5",
|
|
2748
2677
|
collapsed,
|
|
2749
2678
|
displayDataTypes: false,
|
|
2750
|
-
style: _chunkD4TLDLEXcjs.__spreadProps.call(void 0, _chunkD4TLDLEXcjs.__spreadValues.call(void 0, {}, isDarkMode ? vscodeTheme : lightTheme), {
|
|
2751
|
-
backgroundColor: "unset"
|
|
2752
|
-
}),
|
|
2753
2679
|
value: parsedValue,
|
|
2754
2680
|
onCopied: (_, rawValue) => handleCopy(rawValue, onCopy),
|
|
2755
2681
|
children: [
|
|
@@ -2783,4 +2709,4 @@ var Json_default2 = Json_default;
|
|
|
2783
2709
|
|
|
2784
2710
|
|
|
2785
2711
|
exports.Json_default = Json_default; exports.Json_default2 = Json_default2;
|
|
2786
|
-
//# sourceMappingURL=chunk-
|
|
2712
|
+
//# sourceMappingURL=chunk-374SO74F.cjs.map
|