@cambly/syntax-core 8.1.0 → 9.0.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/index.css +6 -25
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +7 -13
- package/dist/index.js +48 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +41 -49
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -210,7 +210,7 @@ var margin_module_default = { "marginBottom-12": "_marginBottom-12_1whn1_2", "ma
|
|
|
210
210
|
var padding_module_default = { "paddingX0": "_paddingX0_1aqye_2", "paddingX1": "_paddingX1_1aqye_7", "paddingX2": "_paddingX2_1aqye_12", "paddingX3": "_paddingX3_1aqye_17", "paddingX4": "_paddingX4_1aqye_22", "paddingX5": "_paddingX5_1aqye_27", "paddingX6": "_paddingX6_1aqye_32", "paddingX7": "_paddingX7_1aqye_37", "paddingX8": "_paddingX8_1aqye_42", "paddingX9": "_paddingX9_1aqye_47", "paddingX10": "_paddingX10_1aqye_52", "paddingX11": "_paddingX11_1aqye_57", "paddingX12": "_paddingX12_1aqye_62", "paddingY0": "_paddingY0_1aqye_67", "paddingY1": "_paddingY1_1aqye_72", "paddingY2": "_paddingY2_1aqye_77", "paddingY3": "_paddingY3_1aqye_82", "paddingY4": "_paddingY4_1aqye_87", "paddingY5": "_paddingY5_1aqye_92", "paddingY6": "_paddingY6_1aqye_97", "paddingY7": "_paddingY7_1aqye_102", "paddingY8": "_paddingY8_1aqye_107", "paddingY9": "_paddingY9_1aqye_112", "paddingY10": "_paddingY10_1aqye_117", "paddingY11": "_paddingY11_1aqye_122", "paddingY12": "_paddingY12_1aqye_127", "paddingX0Small": "_paddingX0Small_1aqye_134", "paddingX1Small": "_paddingX1Small_1aqye_139", "paddingX2Small": "_paddingX2Small_1aqye_144", "paddingX3Small": "_paddingX3Small_1aqye_149", "paddingX4Small": "_paddingX4Small_1aqye_154", "paddingX5Small": "_paddingX5Small_1aqye_159", "paddingX6Small": "_paddingX6Small_1aqye_164", "paddingX7Small": "_paddingX7Small_1aqye_169", "paddingX8Small": "_paddingX8Small_1aqye_174", "paddingX9Small": "_paddingX9Small_1aqye_179", "paddingX10Small": "_paddingX10Small_1aqye_184", "paddingX11Small": "_paddingX11Small_1aqye_189", "paddingX12Small": "_paddingX12Small_1aqye_194", "paddingY0Small": "_paddingY0Small_1aqye_199", "paddingY1Small": "_paddingY1Small_1aqye_204", "paddingY2Small": "_paddingY2Small_1aqye_209", "paddingY3Small": "_paddingY3Small_1aqye_214", "paddingY4Small": "_paddingY4Small_1aqye_219", "paddingY5Small": "_paddingY5Small_1aqye_224", "paddingY6Small": "_paddingY6Small_1aqye_229", "paddingY7Small": "_paddingY7Small_1aqye_234", "paddingY8Small": "_paddingY8Small_1aqye_239", "paddingY9Small": "_paddingY9Small_1aqye_244", "paddingY10Small": "_paddingY10Small_1aqye_249", "paddingY11Small": "_paddingY11Small_1aqye_254", "paddingY12Small": "_paddingY12Small_1aqye_259", "paddingX0Large": "_paddingX0Large_1aqye_267", "paddingX1Large": "_paddingX1Large_1aqye_272", "paddingX2Large": "_paddingX2Large_1aqye_277", "paddingX3Large": "_paddingX3Large_1aqye_282", "paddingX4Large": "_paddingX4Large_1aqye_287", "paddingX5Large": "_paddingX5Large_1aqye_292", "paddingX6Large": "_paddingX6Large_1aqye_297", "paddingX7Large": "_paddingX7Large_1aqye_302", "paddingX8Large": "_paddingX8Large_1aqye_307", "paddingX9Large": "_paddingX9Large_1aqye_312", "paddingX10Large": "_paddingX10Large_1aqye_317", "paddingX11Large": "_paddingX11Large_1aqye_322", "paddingX12Large": "_paddingX12Large_1aqye_327", "paddingY0Large": "_paddingY0Large_1aqye_332", "paddingY1Large": "_paddingY1Large_1aqye_337", "paddingY2Large": "_paddingY2Large_1aqye_342", "paddingY3Large": "_paddingY3Large_1aqye_347", "paddingY4Large": "_paddingY4Large_1aqye_352", "paddingY5Large": "_paddingY5Large_1aqye_357", "paddingY6Large": "_paddingY6Large_1aqye_362", "paddingY7Large": "_paddingY7Large_1aqye_367", "paddingY8Large": "_paddingY8Large_1aqye_372", "paddingY9Large": "_paddingY9Large_1aqye_377", "paddingY10Large": "_paddingY10Large_1aqye_382", "paddingY11Large": "_paddingY11Large_1aqye_387", "paddingY12Large": "_paddingY12Large_1aqye_392" };
|
|
211
211
|
|
|
212
212
|
// css-module:../rounding.module.css#css-module
|
|
213
|
-
var rounding_module_default = { "roundingsm": "
|
|
213
|
+
var rounding_module_default = { "roundingsm": "_roundingsm_1bo6p_2", "roundingmd": "_roundingmd_1bo6p_6", "roundinglg": "_roundinglg_1bo6p_10", "roundingxl": "_roundingxl_1bo6p_14", "roundingfull": "_roundingfull_1bo6p_18" };
|
|
214
214
|
|
|
215
215
|
// src/Box/Box.tsx
|
|
216
216
|
import { forwardRef } from "react";
|
|
@@ -663,9 +663,10 @@ function Card({
|
|
|
663
663
|
return /* @__PURE__ */ jsx7(
|
|
664
664
|
Box_default,
|
|
665
665
|
{
|
|
666
|
-
rounding: "
|
|
667
|
-
padding:
|
|
668
|
-
smPadding:
|
|
666
|
+
rounding: "lg",
|
|
667
|
+
padding: 5,
|
|
668
|
+
smPadding: 7,
|
|
669
|
+
lgPadding: 7,
|
|
669
670
|
maxWidth: size && sizeWidth2[size],
|
|
670
671
|
width: "100%",
|
|
671
672
|
backgroundColor: "white",
|
|
@@ -1077,22 +1078,12 @@ var LinkButton = forwardRef5(
|
|
|
1077
1078
|
LinkButton.displayName = "LinkButton";
|
|
1078
1079
|
var LinkButton_default = LinkButton;
|
|
1079
1080
|
|
|
1080
|
-
// css-module:./MiniActionCard.module.css#css-module
|
|
1081
|
-
var MiniActionCard_module_default = { "miniActionCard": "_miniActionCard_qebkn_1", "card": "_card_qebkn_9" };
|
|
1082
|
-
|
|
1083
|
-
// src/MiniActionCard/MiniActionCard.tsx
|
|
1084
|
-
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1085
|
-
var MiniActionCard = ({
|
|
1086
|
-
children
|
|
1087
|
-
}) => /* @__PURE__ */ jsx14("div", { className: MiniActionCard_module_default.miniActionCard, children });
|
|
1088
|
-
var MiniActionCard_default = MiniActionCard;
|
|
1089
|
-
|
|
1090
1081
|
// src/Modal/Modal.tsx
|
|
1091
1082
|
var import_classnames10 = __toESM(require_classnames());
|
|
1092
1083
|
|
|
1093
1084
|
// src/Modal/FocusTrap.tsx
|
|
1094
1085
|
import { useEffect as useEffect2, useRef } from "react";
|
|
1095
|
-
import { jsx as
|
|
1086
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1096
1087
|
function queryFocusableAll(el) {
|
|
1097
1088
|
const selector = [
|
|
1098
1089
|
"a[href]",
|
|
@@ -1153,7 +1144,7 @@ function FocusTrap({
|
|
|
1153
1144
|
}
|
|
1154
1145
|
};
|
|
1155
1146
|
}, [elRef, previouslyFocusedElRef]);
|
|
1156
|
-
return /* @__PURE__ */
|
|
1147
|
+
return /* @__PURE__ */ jsx14("div", { "data-testid": "syntax-focus-trap", ref: elRef, children });
|
|
1157
1148
|
}
|
|
1158
1149
|
|
|
1159
1150
|
// src/Modal/StopScroll.tsx
|
|
@@ -1171,13 +1162,13 @@ function StopScroll(props) {
|
|
|
1171
1162
|
|
|
1172
1163
|
// src/Modal/Layer.tsx
|
|
1173
1164
|
import { createPortal } from "react-dom";
|
|
1174
|
-
import { jsx as
|
|
1165
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
1175
1166
|
function Layer({
|
|
1176
1167
|
children,
|
|
1177
1168
|
zIndex = 1
|
|
1178
1169
|
}) {
|
|
1179
1170
|
return typeof document !== "undefined" ? createPortal(
|
|
1180
|
-
/* @__PURE__ */
|
|
1171
|
+
/* @__PURE__ */ jsx15(
|
|
1181
1172
|
Box_default,
|
|
1182
1173
|
{
|
|
1183
1174
|
"data-testid": "syntax-layer",
|
|
@@ -1196,9 +1187,9 @@ function Layer({
|
|
|
1196
1187
|
var Modal_module_default = { "backdrop": "_backdrop_30t3h_1", "closeButton": "_closeButton_30t3h_12", "closeButtonWithImage": "_closeButtonWithImage_30t3h_32" };
|
|
1197
1188
|
|
|
1198
1189
|
// src/Modal/Modal.tsx
|
|
1199
|
-
import { jsx as
|
|
1190
|
+
import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1200
1191
|
function XIcon({ color = "#000" }) {
|
|
1201
|
-
return /* @__PURE__ */
|
|
1192
|
+
return /* @__PURE__ */ jsx16("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", fill: color, children: /* @__PURE__ */ jsx16(
|
|
1202
1193
|
"path",
|
|
1203
1194
|
{
|
|
1204
1195
|
fill: "inherit",
|
|
@@ -1221,7 +1212,7 @@ function Modal({
|
|
|
1221
1212
|
zIndex = 1,
|
|
1222
1213
|
"data-testid": dataTestId
|
|
1223
1214
|
}) {
|
|
1224
|
-
return /* @__PURE__ */
|
|
1215
|
+
return /* @__PURE__ */ jsx16(Layer, { zIndex, children: /* @__PURE__ */ jsx16(StopScroll, { children: /* @__PURE__ */ jsx16(FocusTrap, { children: /* @__PURE__ */ jsx16(
|
|
1225
1216
|
"div",
|
|
1226
1217
|
{
|
|
1227
1218
|
className: Modal_module_default.backdrop,
|
|
@@ -1241,7 +1232,7 @@ function Modal({
|
|
|
1241
1232
|
width: "100%",
|
|
1242
1233
|
dangerouslySetInlineStyle: { __style: { overflow: "hidden" } },
|
|
1243
1234
|
children: [
|
|
1244
|
-
/* @__PURE__ */
|
|
1235
|
+
/* @__PURE__ */ jsx16(Box_default, { position: "relative", children: /* @__PURE__ */ jsx16(
|
|
1245
1236
|
"button",
|
|
1246
1237
|
{
|
|
1247
1238
|
"aria-label": accessibilityCloseLabel,
|
|
@@ -1250,14 +1241,14 @@ function Modal({
|
|
|
1250
1241
|
[Modal_module_default.closeButtonWithImage]: !!image
|
|
1251
1242
|
}),
|
|
1252
1243
|
onClick: onDismiss,
|
|
1253
|
-
children: /* @__PURE__ */
|
|
1244
|
+
children: /* @__PURE__ */ jsx16(XIcon, { color: image ? "#fff" : "#000" })
|
|
1254
1245
|
}
|
|
1255
1246
|
) }),
|
|
1256
|
-
image && /* @__PURE__ */
|
|
1247
|
+
image && /* @__PURE__ */ jsx16(Box_default, { maxHeight: 200, children: image }),
|
|
1257
1248
|
/* @__PURE__ */ jsxs6(Box_default, { display: "flex", gap: 3, direction: "column", padding: 9, children: [
|
|
1258
|
-
/* @__PURE__ */
|
|
1259
|
-
/* @__PURE__ */
|
|
1260
|
-
footer && /* @__PURE__ */
|
|
1249
|
+
/* @__PURE__ */ jsx16(Heading_default, { as: "h1", size: 500, children: header }),
|
|
1250
|
+
/* @__PURE__ */ jsx16(Box_default, { marginBottom: 4, children }),
|
|
1251
|
+
footer && /* @__PURE__ */ jsx16(
|
|
1261
1252
|
Box_default,
|
|
1262
1253
|
{
|
|
1263
1254
|
display: "flex",
|
|
@@ -1287,7 +1278,7 @@ import { useState as useState3 } from "react";
|
|
|
1287
1278
|
var RadioButton_module_default = { "radioBaseContainer": "_radioBaseContainer_6h2zg_1", "disabled": "_disabled_6h2zg_9", "cursorDisabled": "_cursorDisabled_6h2zg_13", "cursorEnabled": "_cursorEnabled_6h2zg_17", "smBase": "_smBase_6h2zg_21", "mdBase": "_mdBase_6h2zg_25", "radioStyleOverride": "_radioStyleOverride_6h2zg_29", "smOverride": "_smOverride_6h2zg_34", "mdOverride": "_mdOverride_6h2zg_39", "background": "_background_6h2zg_44", "sm": "_sm_6h2zg_21", "md": "_md_6h2zg_25", "neutralBorder": "_neutralBorder_6h2zg_61", "smCheckedBorder": "_smCheckedBorder_6h2zg_65", "mdCheckedBorder": "_mdCheckedBorder_6h2zg_69", "errorBorderColor": "_errorBorderColor_6h2zg_73", "borderColor": "_borderColor_6h2zg_77" };
|
|
1288
1279
|
|
|
1289
1280
|
// src/RadioButton/RadioButton.tsx
|
|
1290
|
-
import { jsx as
|
|
1281
|
+
import { jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1291
1282
|
var RadioButton = ({
|
|
1292
1283
|
checked = false,
|
|
1293
1284
|
"data-testid": dataTestId,
|
|
@@ -1320,7 +1311,7 @@ var RadioButton = ({
|
|
|
1320
1311
|
}
|
|
1321
1312
|
),
|
|
1322
1313
|
children: [
|
|
1323
|
-
checked ? /* @__PURE__ */
|
|
1314
|
+
checked ? /* @__PURE__ */ jsx17(
|
|
1324
1315
|
"div",
|
|
1325
1316
|
{
|
|
1326
1317
|
className: (0, import_classnames11.default)(sharedStyles, {
|
|
@@ -1328,8 +1319,8 @@ var RadioButton = ({
|
|
|
1328
1319
|
[RadioButton_module_default.smCheckedBorder]: size === "sm"
|
|
1329
1320
|
})
|
|
1330
1321
|
}
|
|
1331
|
-
) : /* @__PURE__ */
|
|
1332
|
-
/* @__PURE__ */
|
|
1322
|
+
) : /* @__PURE__ */ jsx17("div", { className: (0, import_classnames11.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
|
|
1323
|
+
/* @__PURE__ */ jsx17(
|
|
1333
1324
|
"input",
|
|
1334
1325
|
{
|
|
1335
1326
|
"data-testid": dataTestId,
|
|
@@ -1356,7 +1347,7 @@ var RadioButton = ({
|
|
|
1356
1347
|
}
|
|
1357
1348
|
}
|
|
1358
1349
|
),
|
|
1359
|
-
label && /* @__PURE__ */
|
|
1350
|
+
label && /* @__PURE__ */ jsx17(
|
|
1360
1351
|
Typography_default,
|
|
1361
1352
|
{
|
|
1362
1353
|
size: size === "md" ? 200 : 100,
|
|
@@ -1385,17 +1376,17 @@ var ColorBaseGray800 = "#353535";
|
|
|
1385
1376
|
var SelectList_module_default = { "selectContainer": "_selectContainer_3ifov_1", "opacityOverlay": "_opacityOverlay_3ifov_7", "outerTextContainer": "_outerTextContainer_3ifov_11", "selectWrapper": "_selectWrapper_3ifov_16", "selectBox": "_selectBox_3ifov_21", "selectMouseFocusStyling": "_selectMouseFocusStyling_3ifov_37", "unselected": "_unselected_3ifov_42", "selected": "_selected_3ifov_46", "arrowIcon": "_arrowIcon_3ifov_50", "sm": "_sm_3ifov_64", "md": "_md_3ifov_70", "lg": "_lg_3ifov_76", "selectError": "_selectError_3ifov_82" };
|
|
1386
1377
|
|
|
1387
1378
|
// src/SelectList/SelectOption.tsx
|
|
1388
|
-
import { jsx as
|
|
1379
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
1389
1380
|
var SelectOption = ({
|
|
1390
1381
|
"data-testid": dataTestId,
|
|
1391
1382
|
value,
|
|
1392
1383
|
label,
|
|
1393
1384
|
disabled = false
|
|
1394
|
-
}) => /* @__PURE__ */
|
|
1385
|
+
}) => /* @__PURE__ */ jsx18("option", { "data-testid": dataTestId, value, disabled, children: label });
|
|
1395
1386
|
var SelectOption_default = SelectOption;
|
|
1396
1387
|
|
|
1397
1388
|
// src/SelectList/SelectList.tsx
|
|
1398
|
-
import { jsx as
|
|
1389
|
+
import { jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1399
1390
|
var iconSize3 = {
|
|
1400
1391
|
sm: 20,
|
|
1401
1392
|
md: 24,
|
|
@@ -1407,6 +1398,7 @@ function SelectList({
|
|
|
1407
1398
|
disabled = false,
|
|
1408
1399
|
errorText,
|
|
1409
1400
|
helperText,
|
|
1401
|
+
id,
|
|
1410
1402
|
label,
|
|
1411
1403
|
onChange,
|
|
1412
1404
|
onClick,
|
|
@@ -1414,7 +1406,8 @@ function SelectList({
|
|
|
1414
1406
|
selectedValue = "",
|
|
1415
1407
|
size = "md"
|
|
1416
1408
|
}) {
|
|
1417
|
-
const
|
|
1409
|
+
const reactId = useId();
|
|
1410
|
+
const selectId = id != null ? id : reactId;
|
|
1418
1411
|
const { isFocusVisible: isFocusVisible2 } = useFocusVisible();
|
|
1419
1412
|
const [isFocused, setIsFocused] = useState4(false);
|
|
1420
1413
|
return /* @__PURE__ */ jsxs8(
|
|
@@ -1424,12 +1417,12 @@ function SelectList({
|
|
|
1424
1417
|
[SelectList_module_default.opacityOverlay]: disabled
|
|
1425
1418
|
}),
|
|
1426
1419
|
children: [
|
|
1427
|
-
label && /* @__PURE__ */
|
|
1420
|
+
label && /* @__PURE__ */ jsx19("label", { htmlFor: selectId, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx19(Typography_default, { size: 100, color: "gray700", children: label }) }),
|
|
1428
1421
|
/* @__PURE__ */ jsxs8("div", { className: SelectList_module_default.selectWrapper, children: [
|
|
1429
1422
|
/* @__PURE__ */ jsxs8(
|
|
1430
1423
|
"select",
|
|
1431
1424
|
{
|
|
1432
|
-
id,
|
|
1425
|
+
id: selectId,
|
|
1433
1426
|
"data-testid": dataTestId,
|
|
1434
1427
|
disabled,
|
|
1435
1428
|
className: (0, import_classnames12.default)(SelectList_module_default.selectBox, SelectList_module_default[size], {
|
|
@@ -1447,19 +1440,19 @@ function SelectList({
|
|
|
1447
1440
|
onFocus: () => setIsFocused(true),
|
|
1448
1441
|
onBlur: () => setIsFocused(false),
|
|
1449
1442
|
children: [
|
|
1450
|
-
placeholderText && /* @__PURE__ */
|
|
1443
|
+
placeholderText && /* @__PURE__ */ jsx19("option", { disabled: true, value: placeholderText, children: placeholderText }),
|
|
1451
1444
|
children
|
|
1452
1445
|
]
|
|
1453
1446
|
}
|
|
1454
1447
|
),
|
|
1455
|
-
/* @__PURE__ */
|
|
1448
|
+
/* @__PURE__ */ jsx19("div", { className: SelectList_module_default.arrowIcon, children: /* @__PURE__ */ jsx19(
|
|
1456
1449
|
"svg",
|
|
1457
1450
|
{
|
|
1458
1451
|
focusable: "false",
|
|
1459
1452
|
"aria-hidden": "true",
|
|
1460
1453
|
viewBox: "0 0 24 24",
|
|
1461
1454
|
width: iconSize3[size],
|
|
1462
|
-
children: /* @__PURE__ */
|
|
1455
|
+
children: /* @__PURE__ */ jsx19(
|
|
1463
1456
|
"path",
|
|
1464
1457
|
{
|
|
1465
1458
|
fill: errorText ? ColorBaseDestructive700 : ColorBaseGray800,
|
|
@@ -1469,7 +1462,7 @@ function SelectList({
|
|
|
1469
1462
|
}
|
|
1470
1463
|
) })
|
|
1471
1464
|
] }),
|
|
1472
|
-
(helperText || errorText) && /* @__PURE__ */
|
|
1465
|
+
(helperText || errorText) && /* @__PURE__ */ jsx19("div", { className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx19(
|
|
1473
1466
|
Typography_default,
|
|
1474
1467
|
{
|
|
1475
1468
|
size: 100,
|
|
@@ -1491,7 +1484,7 @@ import { forwardRef as forwardRef6 } from "react";
|
|
|
1491
1484
|
var TapArea_module_default = { "tapArea": "_tapArea_1rlyl_1", "fullWidth": "_fullWidth_1rlyl_5", "disabled": "_disabled_1rlyl_9", "enabled": "_enabled_1rlyl_16" };
|
|
1492
1485
|
|
|
1493
1486
|
// src/TapArea/TapArea.tsx
|
|
1494
|
-
import { jsx as
|
|
1487
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1495
1488
|
var TapArea = forwardRef6(
|
|
1496
1489
|
({
|
|
1497
1490
|
children,
|
|
@@ -1512,7 +1505,7 @@ var TapArea = forwardRef6(
|
|
|
1512
1505
|
onClick(event);
|
|
1513
1506
|
}
|
|
1514
1507
|
};
|
|
1515
|
-
return /* @__PURE__ */
|
|
1508
|
+
return /* @__PURE__ */ jsx20(
|
|
1516
1509
|
"div",
|
|
1517
1510
|
{
|
|
1518
1511
|
"aria-disabled": disabled,
|
|
@@ -1547,7 +1540,7 @@ import {
|
|
|
1547
1540
|
var TextField_module_default = { "textfield": "_textfield_cltsv_1", "label": "_label_cltsv_21", "sm": "_sm_cltsv_25", "md": "_md_cltsv_30", "lg": "_lg_cltsv_35", "inputError": "_inputError_cltsv_40" };
|
|
1548
1541
|
|
|
1549
1542
|
// src/TextField/TextField.tsx
|
|
1550
|
-
import { jsx as
|
|
1543
|
+
import { jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1551
1544
|
function TextField({
|
|
1552
1545
|
autoComplete,
|
|
1553
1546
|
"data-testid": dataTestId,
|
|
@@ -1577,8 +1570,8 @@ function TextField({
|
|
|
1577
1570
|
}
|
|
1578
1571
|
},
|
|
1579
1572
|
children: [
|
|
1580
|
-
label && /* @__PURE__ */
|
|
1581
|
-
/* @__PURE__ */
|
|
1573
|
+
label && /* @__PURE__ */ jsx21("label", { className: TextField_module_default.label, htmlFor: inputId, children: /* @__PURE__ */ jsx21(Box_default, { paddingX: 1, children: /* @__PURE__ */ jsx21(Typography_default, { size: 100, color: "gray700", children: label }) }) }),
|
|
1574
|
+
/* @__PURE__ */ jsx21(
|
|
1582
1575
|
"input",
|
|
1583
1576
|
{
|
|
1584
1577
|
autoComplete,
|
|
@@ -1594,7 +1587,7 @@ function TextField({
|
|
|
1594
1587
|
value
|
|
1595
1588
|
}
|
|
1596
1589
|
),
|
|
1597
|
-
(helperText || errorText) && /* @__PURE__ */
|
|
1590
|
+
(helperText || errorText) && /* @__PURE__ */ jsx21(Box_default, { paddingX: 1, children: /* @__PURE__ */ jsx21(
|
|
1598
1591
|
Typography_default,
|
|
1599
1592
|
{
|
|
1600
1593
|
size: 100,
|
|
@@ -1619,7 +1612,6 @@ export {
|
|
|
1619
1612
|
Heading_default as Heading,
|
|
1620
1613
|
IconButton_default as IconButton,
|
|
1621
1614
|
LinkButton_default as LinkButton,
|
|
1622
|
-
MiniActionCard_default as MiniActionCard,
|
|
1623
1615
|
Modal,
|
|
1624
1616
|
RadioButton_default as RadioButton,
|
|
1625
1617
|
SelectList,
|