@drawbridge/components 0.0.59 → 0.0.61
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/advertisement.js +11 -3
- package/dist/advertisement.mjs +2 -2
- package/dist/{chunk-DNK33H3K.mjs → chunk-IIP5OKPN.mjs} +27 -19
- package/dist/{chunk-7AIAMVTM.mjs → chunk-MG35TMY2.mjs} +1 -1
- package/dist/input-group.js +11 -3
- package/dist/input-group.mjs +1 -1
- package/dist/input-name.js +11 -3
- package/dist/input-name.mjs +1 -1
- package/dist/product.js +11 -3
- package/dist/product.mjs +2 -2
- package/dist/video.js +21 -2
- package/dist/video.mjs +21 -2
- package/package.json +364 -364
package/dist/advertisement.js
CHANGED
|
@@ -149,7 +149,15 @@ var InputGroupError = ({
|
|
|
149
149
|
var input_group_error_default = InputGroupError;
|
|
150
150
|
|
|
151
151
|
// components/input-group.js
|
|
152
|
-
var import_jsx_runtime3 =
|
|
152
|
+
var import_jsx_runtime3 = (
|
|
153
|
+
// A real <label> wrapping the control (not a bare <span>) so the label
|
|
154
|
+
// is programmatically associated with the input — screen readers
|
|
155
|
+
// announce the field name, clicking the text focuses the input, and
|
|
156
|
+
// getByLabel()/role queries can find it. Wrapping gives the association
|
|
157
|
+
// implicitly, so it works for any control passed via `input` without
|
|
158
|
+
// having to thread an id through every input component.
|
|
159
|
+
require("react/jsx-runtime")
|
|
160
|
+
);
|
|
153
161
|
var InputGroup = ({
|
|
154
162
|
className,
|
|
155
163
|
error,
|
|
@@ -180,10 +188,10 @@ var InputGroup = ({
|
|
|
180
188
|
},
|
|
181
189
|
children: [
|
|
182
190
|
label ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
183
|
-
"
|
|
191
|
+
"label",
|
|
184
192
|
{
|
|
185
193
|
...{
|
|
186
|
-
className: "space-y-2"
|
|
194
|
+
className: "space-y-2 block"
|
|
187
195
|
},
|
|
188
196
|
children: [
|
|
189
197
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
package/dist/advertisement.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
product_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MG35TMY2.mjs";
|
|
5
5
|
import "./chunk-PT7UR6AO.mjs";
|
|
6
6
|
import "./chunk-3SXAH7B7.mjs";
|
|
7
7
|
import "./chunk-FYA7EAMR.mjs";
|
|
8
8
|
import "./chunk-2ZYGRSSA.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-IIP5OKPN.mjs";
|
|
10
10
|
import "./chunk-OHJMWJAQ.mjs";
|
|
11
11
|
import "./chunk-Q3UIVGPQ.mjs";
|
|
12
12
|
import {
|
|
@@ -33,25 +33,33 @@ var InputGroup = ({
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
children: [
|
|
36
|
-
label ?
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
36
|
+
label ? (
|
|
37
|
+
// A real <label> wrapping the control (not a bare <span>) so the label
|
|
38
|
+
// is programmatically associated with the input — screen readers
|
|
39
|
+
// announce the field name, clicking the text focuses the input, and
|
|
40
|
+
// getByLabel()/role queries can find it. Wrapping gives the association
|
|
41
|
+
// implicitly, so it works for any control passed via `input` without
|
|
42
|
+
// having to thread an id through every input component.
|
|
43
|
+
/* @__PURE__ */ jsxs(
|
|
44
|
+
"label",
|
|
45
|
+
{
|
|
46
|
+
...{
|
|
47
|
+
className: "space-y-2 block"
|
|
48
|
+
},
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ jsx(
|
|
51
|
+
"span",
|
|
52
|
+
{
|
|
53
|
+
...{
|
|
54
|
+
className: "block"
|
|
55
|
+
},
|
|
56
|
+
children: label
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
input
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
)
|
|
55
63
|
) : input,
|
|
56
64
|
/* @__PURE__ */ jsx(
|
|
57
65
|
input_group_error_default,
|
package/dist/input-group.js
CHANGED
|
@@ -131,7 +131,15 @@ var InputGroupError = ({
|
|
|
131
131
|
var input_group_error_default = InputGroupError;
|
|
132
132
|
|
|
133
133
|
// components/input-group.js
|
|
134
|
-
var import_jsx_runtime3 =
|
|
134
|
+
var import_jsx_runtime3 = (
|
|
135
|
+
// A real <label> wrapping the control (not a bare <span>) so the label
|
|
136
|
+
// is programmatically associated with the input — screen readers
|
|
137
|
+
// announce the field name, clicking the text focuses the input, and
|
|
138
|
+
// getByLabel()/role queries can find it. Wrapping gives the association
|
|
139
|
+
// implicitly, so it works for any control passed via `input` without
|
|
140
|
+
// having to thread an id through every input component.
|
|
141
|
+
require("react/jsx-runtime")
|
|
142
|
+
);
|
|
135
143
|
var InputGroup = ({
|
|
136
144
|
className,
|
|
137
145
|
error,
|
|
@@ -162,10 +170,10 @@ var InputGroup = ({
|
|
|
162
170
|
},
|
|
163
171
|
children: [
|
|
164
172
|
label ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
165
|
-
"
|
|
173
|
+
"label",
|
|
166
174
|
{
|
|
167
175
|
...{
|
|
168
|
-
className: "space-y-2"
|
|
176
|
+
className: "space-y-2 block"
|
|
169
177
|
},
|
|
170
178
|
children: [
|
|
171
179
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
package/dist/input-group.mjs
CHANGED
package/dist/input-name.js
CHANGED
|
@@ -131,7 +131,15 @@ var InputGroupError = ({
|
|
|
131
131
|
var input_group_error_default = InputGroupError;
|
|
132
132
|
|
|
133
133
|
// components/input-group.js
|
|
134
|
-
var import_jsx_runtime3 =
|
|
134
|
+
var import_jsx_runtime3 = (
|
|
135
|
+
// A real <label> wrapping the control (not a bare <span>) so the label
|
|
136
|
+
// is programmatically associated with the input — screen readers
|
|
137
|
+
// announce the field name, clicking the text focuses the input, and
|
|
138
|
+
// getByLabel()/role queries can find it. Wrapping gives the association
|
|
139
|
+
// implicitly, so it works for any control passed via `input` without
|
|
140
|
+
// having to thread an id through every input component.
|
|
141
|
+
require("react/jsx-runtime")
|
|
142
|
+
);
|
|
135
143
|
var InputGroup = ({
|
|
136
144
|
className,
|
|
137
145
|
error,
|
|
@@ -162,10 +170,10 @@ var InputGroup = ({
|
|
|
162
170
|
},
|
|
163
171
|
children: [
|
|
164
172
|
label ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
165
|
-
"
|
|
173
|
+
"label",
|
|
166
174
|
{
|
|
167
175
|
...{
|
|
168
|
-
className: "space-y-2"
|
|
176
|
+
className: "space-y-2 block"
|
|
169
177
|
},
|
|
170
178
|
children: [
|
|
171
179
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
package/dist/input-name.mjs
CHANGED
package/dist/product.js
CHANGED
|
@@ -146,7 +146,15 @@ var InputGroupError = ({
|
|
|
146
146
|
var input_group_error_default = InputGroupError;
|
|
147
147
|
|
|
148
148
|
// components/input-group.js
|
|
149
|
-
var import_jsx_runtime3 =
|
|
149
|
+
var import_jsx_runtime3 = (
|
|
150
|
+
// A real <label> wrapping the control (not a bare <span>) so the label
|
|
151
|
+
// is programmatically associated with the input — screen readers
|
|
152
|
+
// announce the field name, clicking the text focuses the input, and
|
|
153
|
+
// getByLabel()/role queries can find it. Wrapping gives the association
|
|
154
|
+
// implicitly, so it works for any control passed via `input` without
|
|
155
|
+
// having to thread an id through every input component.
|
|
156
|
+
require("react/jsx-runtime")
|
|
157
|
+
);
|
|
150
158
|
var InputGroup = ({
|
|
151
159
|
className,
|
|
152
160
|
error,
|
|
@@ -177,10 +185,10 @@ var InputGroup = ({
|
|
|
177
185
|
},
|
|
178
186
|
children: [
|
|
179
187
|
label ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
180
|
-
"
|
|
188
|
+
"label",
|
|
181
189
|
{
|
|
182
190
|
...{
|
|
183
|
-
className: "space-y-2"
|
|
191
|
+
className: "space-y-2 block"
|
|
184
192
|
},
|
|
185
193
|
children: [
|
|
186
194
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
package/dist/product.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
product_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MG35TMY2.mjs";
|
|
5
5
|
import "./chunk-PT7UR6AO.mjs";
|
|
6
6
|
import "./chunk-3SXAH7B7.mjs";
|
|
7
7
|
import "./chunk-FYA7EAMR.mjs";
|
|
8
8
|
import "./chunk-2ZYGRSSA.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-IIP5OKPN.mjs";
|
|
10
10
|
import "./chunk-OHJMWJAQ.mjs";
|
|
11
11
|
import "./chunk-Q3UIVGPQ.mjs";
|
|
12
12
|
import "./chunk-FJ7PKMAC.mjs";
|
package/dist/video.js
CHANGED
|
@@ -94,6 +94,8 @@ var Video = ({
|
|
|
94
94
|
},
|
|
95
95
|
onDuration = () => {
|
|
96
96
|
},
|
|
97
|
+
onError = () => {
|
|
98
|
+
},
|
|
97
99
|
onTime,
|
|
98
100
|
muted = true,
|
|
99
101
|
onPlay,
|
|
@@ -108,6 +110,7 @@ var Video = ({
|
|
|
108
110
|
const durationFired = (0, import_react.useRef)(false);
|
|
109
111
|
const [player, setPlayer] = (0, import_react.useState)();
|
|
110
112
|
const [videoUrl, setVideoUrl] = (0, import_react.useState)(hls ? hls : mp4);
|
|
113
|
+
const [failed, setFailed] = (0, import_react.useState)(false);
|
|
111
114
|
(0, import_react.useEffect)(
|
|
112
115
|
() => {
|
|
113
116
|
if (player && reset) {
|
|
@@ -162,7 +165,12 @@ var Video = ({
|
|
|
162
165
|
},
|
|
163
166
|
progressInterval: 100,
|
|
164
167
|
onError: () => {
|
|
165
|
-
|
|
168
|
+
if (mp4 && videoUrl !== mp4) {
|
|
169
|
+
setVideoUrl(mp4);
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
setFailed(true);
|
|
173
|
+
onError();
|
|
166
174
|
},
|
|
167
175
|
onReady: (instance) => {
|
|
168
176
|
setPlayer(instance.player);
|
|
@@ -174,7 +182,18 @@ var Video = ({
|
|
|
174
182
|
}
|
|
175
183
|
}
|
|
176
184
|
),
|
|
177
|
-
!player && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
185
|
+
!player && poster && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
186
|
+
"img",
|
|
187
|
+
{
|
|
188
|
+
...{
|
|
189
|
+
alt: "",
|
|
190
|
+
"aria-hidden": true,
|
|
191
|
+
className: "absolute inset-0 w-full h-full object-cover pointer-events-none",
|
|
192
|
+
src: poster
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
),
|
|
196
|
+
!player && !poster && !failed && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
178
197
|
"div",
|
|
179
198
|
{
|
|
180
199
|
...{
|
package/dist/video.mjs
CHANGED
|
@@ -21,6 +21,8 @@ var Video = ({
|
|
|
21
21
|
},
|
|
22
22
|
onDuration = () => {
|
|
23
23
|
},
|
|
24
|
+
onError = () => {
|
|
25
|
+
},
|
|
24
26
|
onTime,
|
|
25
27
|
muted = true,
|
|
26
28
|
onPlay,
|
|
@@ -35,6 +37,7 @@ var Video = ({
|
|
|
35
37
|
const durationFired = useRef(false);
|
|
36
38
|
const [player, setPlayer] = useState();
|
|
37
39
|
const [videoUrl, setVideoUrl] = useState(hls ? hls : mp4);
|
|
40
|
+
const [failed, setFailed] = useState(false);
|
|
38
41
|
useEffect(
|
|
39
42
|
() => {
|
|
40
43
|
if (player && reset) {
|
|
@@ -89,7 +92,12 @@ var Video = ({
|
|
|
89
92
|
},
|
|
90
93
|
progressInterval: 100,
|
|
91
94
|
onError: () => {
|
|
92
|
-
|
|
95
|
+
if (mp4 && videoUrl !== mp4) {
|
|
96
|
+
setVideoUrl(mp4);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
setFailed(true);
|
|
100
|
+
onError();
|
|
93
101
|
},
|
|
94
102
|
onReady: (instance) => {
|
|
95
103
|
setPlayer(instance.player);
|
|
@@ -101,7 +109,18 @@ var Video = ({
|
|
|
101
109
|
}
|
|
102
110
|
}
|
|
103
111
|
),
|
|
104
|
-
!player && /* @__PURE__ */ jsx(
|
|
112
|
+
!player && poster && /* @__PURE__ */ jsx(
|
|
113
|
+
"img",
|
|
114
|
+
{
|
|
115
|
+
...{
|
|
116
|
+
alt: "",
|
|
117
|
+
"aria-hidden": true,
|
|
118
|
+
className: "absolute inset-0 w-full h-full object-cover pointer-events-none",
|
|
119
|
+
src: poster
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
!player && !poster && !failed && /* @__PURE__ */ jsx(
|
|
105
124
|
"div",
|
|
106
125
|
{
|
|
107
126
|
...{
|
package/package.json
CHANGED
|
@@ -1,366 +1,366 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
2
|
+
"name": "@drawbridge/components",
|
|
3
|
+
"version": "0.0.61",
|
|
4
|
+
"exports": {
|
|
5
|
+
"./advertisement": {
|
|
6
|
+
"types": "./types/advertisement.d.ts",
|
|
7
|
+
"default": "./dist/advertisement.js"
|
|
8
|
+
},
|
|
9
|
+
"./embla": {
|
|
10
|
+
"types": "./types/embla.d.ts",
|
|
11
|
+
"default": "./dist/embla.js"
|
|
12
|
+
},
|
|
13
|
+
"./embla-fade": {
|
|
14
|
+
"types": "./types/embla-fade.d.ts",
|
|
15
|
+
"default": "./dist/embla-fade.js"
|
|
16
|
+
},
|
|
17
|
+
"./icons/arrow-down-tray": {
|
|
18
|
+
"types": "./types/icons/arrow-down-tray.d.ts",
|
|
19
|
+
"default": "./dist/icons/arrow-down-tray.js"
|
|
20
|
+
},
|
|
21
|
+
"./icons/arrow-left": {
|
|
22
|
+
"types": "./types/icons/arrow-left.d.ts",
|
|
23
|
+
"default": "./dist/icons/arrow-left.js"
|
|
24
|
+
},
|
|
25
|
+
"./icons/arrow-right": {
|
|
26
|
+
"types": "./types/icons/arrow-right.d.ts",
|
|
27
|
+
"default": "./dist/icons/arrow-right.js"
|
|
28
|
+
},
|
|
29
|
+
"./icons/arrow-up-tray": {
|
|
30
|
+
"types": "./types/icons/arrow-up-tray.d.ts",
|
|
31
|
+
"default": "./dist/icons/arrow-up-tray.js"
|
|
32
|
+
},
|
|
33
|
+
"./icons/bars-arrow-down": {
|
|
34
|
+
"types": "./types/icons/bars-arrow-down.d.ts",
|
|
35
|
+
"default": "./dist/icons/bars-arrow-down.js"
|
|
36
|
+
},
|
|
37
|
+
"./icons/bars-arrow-up": {
|
|
38
|
+
"types": "./types/icons/bars-arrow-up.d.ts",
|
|
39
|
+
"default": "./dist/icons/bars-arrow-up.js"
|
|
40
|
+
},
|
|
41
|
+
"./icons/bold": {
|
|
42
|
+
"types": "./types/icons/bold.d.ts",
|
|
43
|
+
"default": "./dist/icons/bold.js"
|
|
44
|
+
},
|
|
45
|
+
"./icons/bolt": {
|
|
46
|
+
"types": "./types/icons/bolt.d.ts",
|
|
47
|
+
"default": "./dist/icons/bolt.js"
|
|
48
|
+
},
|
|
49
|
+
"./icons/calendar": {
|
|
50
|
+
"types": "./types/icons/calendar.d.ts",
|
|
51
|
+
"default": "./dist/icons/calendar.js"
|
|
52
|
+
},
|
|
53
|
+
"./icons/cancel": {
|
|
54
|
+
"types": "./types/icons/cancel.d.ts",
|
|
55
|
+
"default": "./dist/icons/cancel.js"
|
|
56
|
+
},
|
|
57
|
+
"./icons/card": {
|
|
58
|
+
"types": "./types/icons/card.d.ts",
|
|
59
|
+
"default": "./dist/icons/card.js"
|
|
60
|
+
},
|
|
61
|
+
"./icons/chart": {
|
|
62
|
+
"types": "./types/icons/chart.d.ts",
|
|
63
|
+
"default": "./dist/icons/chart.js"
|
|
64
|
+
},
|
|
65
|
+
"./icons/check": {
|
|
66
|
+
"types": "./types/icons/check.d.ts",
|
|
67
|
+
"default": "./dist/icons/check.js"
|
|
68
|
+
},
|
|
69
|
+
"./icons/chevron-down": {
|
|
70
|
+
"types": "./types/icons/chevron-down.d.ts",
|
|
71
|
+
"default": "./dist/icons/chevron-down.js"
|
|
72
|
+
},
|
|
73
|
+
"./icons/chevron-left": {
|
|
74
|
+
"types": "./types/icons/chevron-left.d.ts",
|
|
75
|
+
"default": "./dist/icons/chevron-left.js"
|
|
76
|
+
},
|
|
77
|
+
"./icons/chevron-right": {
|
|
78
|
+
"types": "./types/icons/chevron-right.d.ts",
|
|
79
|
+
"default": "./dist/icons/chevron-right.js"
|
|
80
|
+
},
|
|
81
|
+
"./icons/chevron-up-down": {
|
|
82
|
+
"types": "./types/icons/chevron-up-down.d.ts",
|
|
83
|
+
"default": "./dist/icons/chevron-up-down.js"
|
|
84
|
+
},
|
|
85
|
+
"./icons/chevron-up": {
|
|
86
|
+
"types": "./types/icons/chevron-up.d.ts",
|
|
87
|
+
"default": "./dist/icons/chevron-up.js"
|
|
88
|
+
},
|
|
89
|
+
"./icons/clock": {
|
|
90
|
+
"types": "./types/icons/clock.d.ts",
|
|
91
|
+
"default": "./dist/icons/clock.js"
|
|
92
|
+
},
|
|
93
|
+
"./icons/code-bracket": {
|
|
94
|
+
"types": "./types/icons/code-bracket.d.ts",
|
|
95
|
+
"default": "./dist/icons/code-bracket.js"
|
|
96
|
+
},
|
|
97
|
+
"./icons/cog": {
|
|
98
|
+
"types": "./types/icons/cog.d.ts",
|
|
99
|
+
"default": "./dist/icons/cog.js"
|
|
100
|
+
},
|
|
101
|
+
"./icons/copy": {
|
|
102
|
+
"types": "./types/icons/copy.d.ts",
|
|
103
|
+
"default": "./dist/icons/copy.js"
|
|
104
|
+
},
|
|
105
|
+
"./icons/document": {
|
|
106
|
+
"types": "./types/icons/document.d.ts",
|
|
107
|
+
"default": "./dist/icons/document.js"
|
|
108
|
+
},
|
|
109
|
+
"./icons/download": {
|
|
110
|
+
"types": "./types/icons/download.d.ts",
|
|
111
|
+
"default": "./dist/icons/download.js"
|
|
112
|
+
},
|
|
113
|
+
"./icons/drag": {
|
|
114
|
+
"types": "./types/icons/drag.d.ts",
|
|
115
|
+
"default": "./dist/icons/drag.js"
|
|
116
|
+
},
|
|
117
|
+
"./icons/ellipsis": {
|
|
118
|
+
"types": "./types/icons/ellipsis.d.ts",
|
|
119
|
+
"default": "./dist/icons/ellipsis.js"
|
|
120
|
+
},
|
|
121
|
+
"./icons/email": {
|
|
122
|
+
"types": "./types/icons/email.d.ts",
|
|
123
|
+
"default": "./dist/icons/email.js"
|
|
124
|
+
},
|
|
125
|
+
"./icons/external": {
|
|
126
|
+
"types": "./types/icons/external.d.ts",
|
|
127
|
+
"default": "./dist/icons/external.js"
|
|
128
|
+
},
|
|
129
|
+
"./icons/filter": {
|
|
130
|
+
"types": "./types/icons/filter.d.ts",
|
|
131
|
+
"default": "./dist/icons/filter.js"
|
|
132
|
+
},
|
|
133
|
+
"./icons/flag": {
|
|
134
|
+
"types": "./types/icons/flag.d.ts",
|
|
135
|
+
"default": "./dist/icons/flag.js"
|
|
136
|
+
},
|
|
137
|
+
"./icons/google": {
|
|
138
|
+
"types": "./types/icons/google.d.ts",
|
|
139
|
+
"default": "./dist/icons/google.js"
|
|
140
|
+
},
|
|
141
|
+
"./icons/home": {
|
|
142
|
+
"types": "./types/icons/home.d.ts",
|
|
143
|
+
"default": "./dist/icons/home.js"
|
|
144
|
+
},
|
|
145
|
+
"./icons/image": {
|
|
146
|
+
"types": "./types/icons/image.d.ts",
|
|
147
|
+
"default": "./dist/icons/image.js"
|
|
148
|
+
},
|
|
149
|
+
"./icons/italic": {
|
|
150
|
+
"types": "./types/icons/italic.d.ts",
|
|
151
|
+
"default": "./dist/icons/italic.js"
|
|
152
|
+
},
|
|
153
|
+
"./icons/link": {
|
|
154
|
+
"types": "./types/icons/link.d.ts",
|
|
155
|
+
"default": "./dist/icons/link.js"
|
|
156
|
+
},
|
|
157
|
+
"./icons/loader": {
|
|
158
|
+
"types": "./types/icons/loader.d.ts",
|
|
159
|
+
"default": "./dist/icons/loader.js"
|
|
160
|
+
},
|
|
161
|
+
"./icons/lock": {
|
|
162
|
+
"types": "./types/icons/lock.d.ts",
|
|
163
|
+
"default": "./dist/icons/lock.js"
|
|
164
|
+
},
|
|
165
|
+
"./icons/logo-mark": {
|
|
166
|
+
"types": "./types/icons/logo-mark.d.ts",
|
|
167
|
+
"default": "./dist/icons/logo-mark.js"
|
|
168
|
+
},
|
|
169
|
+
"./icons/logo-tagline": {
|
|
170
|
+
"types": "./types/icons/logo-tagline.d.ts",
|
|
171
|
+
"default": "./dist/icons/logo-tagline.js"
|
|
172
|
+
},
|
|
173
|
+
"./icons/map-pin": {
|
|
174
|
+
"types": "./types/icons/map-pin.d.ts",
|
|
175
|
+
"default": "./dist/icons/map-pin.js"
|
|
176
|
+
},
|
|
177
|
+
"./icons/menu": {
|
|
178
|
+
"types": "./types/icons/menu.d.ts",
|
|
179
|
+
"default": "./dist/icons/menu.js"
|
|
180
|
+
},
|
|
181
|
+
"./icons/minus": {
|
|
182
|
+
"types": "./types/icons/minus.d.ts",
|
|
183
|
+
"default": "./dist/icons/minus.js"
|
|
184
|
+
},
|
|
185
|
+
"./icons/muted": {
|
|
186
|
+
"types": "./types/icons/muted.d.ts",
|
|
187
|
+
"default": "./dist/icons/muted.js"
|
|
188
|
+
},
|
|
189
|
+
"./icons/pause": {
|
|
190
|
+
"types": "./types/icons/pause.d.ts",
|
|
191
|
+
"default": "./dist/icons/pause.js"
|
|
192
|
+
},
|
|
193
|
+
"./icons/pencil": {
|
|
194
|
+
"types": "./types/icons/pencil.d.ts",
|
|
195
|
+
"default": "./dist/icons/pencil.js"
|
|
196
|
+
},
|
|
197
|
+
"./icons/play": {
|
|
198
|
+
"types": "./types/icons/play.d.ts",
|
|
199
|
+
"default": "./dist/icons/play.js"
|
|
200
|
+
},
|
|
201
|
+
"./icons/plus": {
|
|
202
|
+
"types": "./types/icons/plus.d.ts",
|
|
203
|
+
"default": "./dist/icons/plus.js"
|
|
204
|
+
},
|
|
205
|
+
"./icons/powered-by": {
|
|
206
|
+
"types": "./types/icons/powered-by.d.ts",
|
|
207
|
+
"default": "./dist/icons/powered-by.js"
|
|
208
|
+
},
|
|
209
|
+
"./icons/qr-code": {
|
|
210
|
+
"types": "./types/icons/qr-code.d.ts",
|
|
211
|
+
"default": "./dist/icons/qr-code.js"
|
|
212
|
+
},
|
|
213
|
+
"./icons/queue": {
|
|
214
|
+
"types": "./types/icons/queue.d.ts",
|
|
215
|
+
"default": "./dist/icons/queue.js"
|
|
216
|
+
},
|
|
217
|
+
"./icons/refresh": {
|
|
218
|
+
"types": "./types/icons/refresh.d.ts",
|
|
219
|
+
"default": "./dist/icons/refresh.js"
|
|
220
|
+
},
|
|
221
|
+
"./icons/refund": {
|
|
222
|
+
"types": "./types/icons/refund.d.ts",
|
|
223
|
+
"default": "./dist/icons/refund.js"
|
|
224
|
+
},
|
|
225
|
+
"./icons/rocket": {
|
|
226
|
+
"types": "./types/icons/rocket.d.ts",
|
|
227
|
+
"default": "./dist/icons/rocket.js"
|
|
228
|
+
},
|
|
229
|
+
"./icons/search": {
|
|
230
|
+
"types": "./types/icons/search.d.ts",
|
|
231
|
+
"default": "./dist/icons/search.js"
|
|
232
|
+
},
|
|
233
|
+
"./icons/share": {
|
|
234
|
+
"types": "./types/icons/share.d.ts",
|
|
235
|
+
"default": "./dist/icons/share.js"
|
|
236
|
+
},
|
|
237
|
+
"./icons/shop": {
|
|
238
|
+
"types": "./types/icons/shop.d.ts",
|
|
239
|
+
"default": "./dist/icons/shop.js"
|
|
240
|
+
},
|
|
241
|
+
"./icons/sparkles": {
|
|
242
|
+
"types": "./types/icons/sparkles.d.ts",
|
|
243
|
+
"default": "./dist/icons/sparkles.js"
|
|
244
|
+
},
|
|
245
|
+
"./icons/star": {
|
|
246
|
+
"types": "./types/icons/star.d.ts",
|
|
247
|
+
"default": "./dist/icons/star.js"
|
|
248
|
+
},
|
|
249
|
+
"./icons/switch": {
|
|
250
|
+
"types": "./types/icons/switch.d.ts",
|
|
251
|
+
"default": "./dist/icons/switch.js"
|
|
252
|
+
},
|
|
253
|
+
"./icons/times": {
|
|
254
|
+
"types": "./types/icons/times.d.ts",
|
|
255
|
+
"default": "./dist/icons/times.js"
|
|
256
|
+
},
|
|
257
|
+
"./icons/trash": {
|
|
258
|
+
"types": "./types/icons/trash.d.ts",
|
|
259
|
+
"default": "./dist/icons/trash.js"
|
|
260
|
+
},
|
|
261
|
+
"./icons/underline": {
|
|
262
|
+
"types": "./types/icons/underline.d.ts",
|
|
263
|
+
"default": "./dist/icons/underline.js"
|
|
264
|
+
},
|
|
265
|
+
"./icons/upload": {
|
|
266
|
+
"types": "./types/icons/upload.d.ts",
|
|
267
|
+
"default": "./dist/icons/upload.js"
|
|
268
|
+
},
|
|
269
|
+
"./icons/volume": {
|
|
270
|
+
"types": "./types/icons/volume.d.ts",
|
|
271
|
+
"default": "./dist/icons/volume.js"
|
|
272
|
+
},
|
|
273
|
+
"./icons/warning": {
|
|
274
|
+
"types": "./types/icons/warning.d.ts",
|
|
275
|
+
"default": "./dist/icons/warning.js"
|
|
276
|
+
},
|
|
277
|
+
"./input-checkbox": {
|
|
278
|
+
"types": "./types/input-checkbox.d.ts",
|
|
279
|
+
"default": "./dist/input-checkbox.js"
|
|
280
|
+
},
|
|
281
|
+
"./input-group": {
|
|
282
|
+
"types": "./types/input-group.d.ts",
|
|
283
|
+
"default": "./dist/input-group.js"
|
|
284
|
+
},
|
|
285
|
+
"./input-group-error": {
|
|
286
|
+
"types": "./types/input-group-error.d.ts",
|
|
287
|
+
"default": "./dist/input-group-error.js"
|
|
288
|
+
},
|
|
289
|
+
"./input-name": {
|
|
290
|
+
"types": "./types/input-name.d.ts",
|
|
291
|
+
"default": "./dist/input-name.js"
|
|
292
|
+
},
|
|
293
|
+
"./input-number": {
|
|
294
|
+
"types": "./types/input-number.d.ts",
|
|
295
|
+
"default": "./dist/input-number.js"
|
|
296
|
+
},
|
|
297
|
+
"./input-phone": {
|
|
298
|
+
"types": "./types/input-phone.d.ts",
|
|
299
|
+
"default": "./dist/input-phone.js"
|
|
300
|
+
},
|
|
301
|
+
"./input-select": {
|
|
302
|
+
"types": "./types/input-select.d.ts",
|
|
303
|
+
"default": "./dist/input-select.js"
|
|
304
|
+
},
|
|
305
|
+
"./input-text": {
|
|
306
|
+
"types": "./types/input-text.d.ts",
|
|
307
|
+
"default": "./dist/input-text.js"
|
|
308
|
+
},
|
|
309
|
+
"./input-textarea": {
|
|
310
|
+
"types": "./types/input-textarea.d.ts",
|
|
311
|
+
"default": "./dist/input-textarea.js"
|
|
312
|
+
},
|
|
313
|
+
"./product": {
|
|
314
|
+
"types": "./types/product.d.ts",
|
|
315
|
+
"default": "./dist/product.js"
|
|
316
|
+
},
|
|
317
|
+
"./provider-font": {
|
|
318
|
+
"types": "./types/provider-font.d.ts",
|
|
319
|
+
"default": "./dist/provider-font.js"
|
|
320
|
+
},
|
|
321
|
+
"./styles": {
|
|
322
|
+
"types": "./types/styles.d.ts",
|
|
323
|
+
"default": "./dist/styles.js"
|
|
324
|
+
},
|
|
325
|
+
"./video": {
|
|
326
|
+
"types": "./types/video.d.ts",
|
|
327
|
+
"default": "./dist/video.js"
|
|
328
|
+
},
|
|
329
|
+
"./wrapper-gradient": {
|
|
330
|
+
"types": "./types/wrapper-gradient.d.ts",
|
|
331
|
+
"default": "./dist/wrapper-gradient.js"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"files": [
|
|
335
|
+
"dist",
|
|
336
|
+
"types"
|
|
337
|
+
],
|
|
338
|
+
"author": "",
|
|
339
|
+
"license": "ISC",
|
|
340
|
+
"description": "",
|
|
341
|
+
"publishConfig": {
|
|
342
|
+
"access": "public"
|
|
343
|
+
},
|
|
344
|
+
"scripts": {
|
|
345
|
+
"sync": ". \"$HOME/.nvm/nvm.sh\" && nvm use && npm prune && npm install && npx drawbridge-agents-sync",
|
|
346
|
+
"test": ". \"$HOME/.nvm/nvm.sh\" && nvm use && node --test",
|
|
347
|
+
"build": ". \"$HOME/.nvm/nvm.sh\" && nvm use && tsup && node --test && npm publish"
|
|
348
|
+
},
|
|
349
|
+
"peerDependencies": {
|
|
350
|
+
"@drawbridge/drawbridge-utils": ">=0.0.61",
|
|
351
|
+
"@drawbridge/shopify": ">=0.0.8",
|
|
352
|
+
"next": ">=14",
|
|
353
|
+
"react": ">=18"
|
|
354
|
+
},
|
|
355
|
+
"devDependencies": {
|
|
356
|
+
"@types/react": "18.0.0",
|
|
357
|
+
"tsup": "8.5.1",
|
|
358
|
+
"@drawbridge/drawbridge-agents": "0.1.16"
|
|
359
|
+
},
|
|
360
|
+
"dependencies": {
|
|
361
|
+
"embla-carousel-fade": "8.6.0",
|
|
362
|
+
"embla-carousel-react": "8.6.0",
|
|
363
|
+
"react-player": "2.16.0",
|
|
364
|
+
"react-phone-number-input": "3.4.12"
|
|
365
|
+
}
|
|
366
366
|
}
|