@cambly/syntax-core 6.0.1 → 6.0.3
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.d.ts +80 -74
- package/dist/index.js +10 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -208,7 +208,7 @@ var padding_module_default = { "paddingX0": "_paddingX0_1aqye_2", "paddingX1": "
|
|
|
208
208
|
// src/Box/Box.tsx
|
|
209
209
|
import { forwardRef } from "react";
|
|
210
210
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
211
|
-
var
|
|
211
|
+
var Box = forwardRef(function Box2(props, ref) {
|
|
212
212
|
var _c;
|
|
213
213
|
const _a = props, { as: BoxElement = "div", children } = _a, boxProps = __objRest(_a, ["as", "children"]);
|
|
214
214
|
const _b = boxProps, {
|
|
@@ -394,6 +394,7 @@ var Box_default = forwardRef(function Box(props, ref) {
|
|
|
394
394
|
}, {});
|
|
395
395
|
return /* @__PURE__ */ jsx3(BoxElement, __spreadProps(__spreadValues(__spreadValues({}, parsedProps), passthroughProps), { ref, children }));
|
|
396
396
|
});
|
|
397
|
+
var Box_default = Box;
|
|
397
398
|
|
|
398
399
|
// src/Badge/Badge.tsx
|
|
399
400
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
@@ -585,11 +586,11 @@ var ButtonGroup_default = ButtonGroup;
|
|
|
585
586
|
|
|
586
587
|
// src/Card/Card.tsx
|
|
587
588
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
588
|
-
|
|
589
|
+
function Card({
|
|
589
590
|
children,
|
|
590
591
|
size = "sm",
|
|
591
592
|
"data-testid": dataTestId
|
|
592
|
-
})
|
|
593
|
+
}) {
|
|
593
594
|
const sizeWidth2 = {
|
|
594
595
|
sm: 352,
|
|
595
596
|
lg: 744
|
|
@@ -607,8 +608,7 @@ var Card = ({
|
|
|
607
608
|
children
|
|
608
609
|
}
|
|
609
610
|
);
|
|
610
|
-
}
|
|
611
|
-
var Card_default = Card;
|
|
611
|
+
}
|
|
612
612
|
|
|
613
613
|
// css-module:./Divider.module.css#css-module
|
|
614
614
|
var Divider_module_default = { "divider": "_divider_1ddgq_1" };
|
|
@@ -1192,7 +1192,7 @@ var iconSize3 = {
|
|
|
1192
1192
|
md: 24,
|
|
1193
1193
|
lg: 24
|
|
1194
1194
|
};
|
|
1195
|
-
|
|
1195
|
+
function SelectList({
|
|
1196
1196
|
children,
|
|
1197
1197
|
"data-testid": dataTestId,
|
|
1198
1198
|
disabled = false,
|
|
@@ -1204,7 +1204,7 @@ var SelectList = ({
|
|
|
1204
1204
|
placeholderText,
|
|
1205
1205
|
selectedValue = "",
|
|
1206
1206
|
size = "md"
|
|
1207
|
-
})
|
|
1207
|
+
}) {
|
|
1208
1208
|
const id = useId();
|
|
1209
1209
|
const { isFocusVisible: isFocusVisible2 } = useFocusVisible();
|
|
1210
1210
|
const [isFocused, setIsFocused] = useState4(false);
|
|
@@ -1271,8 +1271,7 @@ var SelectList = ({
|
|
|
1271
1271
|
]
|
|
1272
1272
|
}
|
|
1273
1273
|
);
|
|
1274
|
-
}
|
|
1275
|
-
var SelectList_default = SelectList;
|
|
1274
|
+
}
|
|
1276
1275
|
SelectList.Option = SelectOption_default;
|
|
1277
1276
|
export {
|
|
1278
1277
|
Avatar_default as Avatar,
|
|
@@ -1280,7 +1279,7 @@ export {
|
|
|
1280
1279
|
Box_default as Box,
|
|
1281
1280
|
Button_default as Button,
|
|
1282
1281
|
ButtonGroup_default as ButtonGroup,
|
|
1283
|
-
|
|
1282
|
+
Card,
|
|
1284
1283
|
Checkbox_default as Checkbox,
|
|
1285
1284
|
Divider,
|
|
1286
1285
|
Heading_default as Heading,
|
|
@@ -1288,7 +1287,7 @@ export {
|
|
|
1288
1287
|
MiniActionCard_default as MiniActionCard,
|
|
1289
1288
|
Modal,
|
|
1290
1289
|
RadioButton_default as RadioButton,
|
|
1291
|
-
|
|
1290
|
+
SelectList,
|
|
1292
1291
|
Typography_default as Typography
|
|
1293
1292
|
};
|
|
1294
1293
|
/*! Bundled license information:
|