@drawbridge/components 0.0.59 → 0.0.60
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/package.json +1 -1
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";
|