@cambly/syntax-core 4.6.0 → 4.8.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 +0 -12
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +75 -76
- package/dist/index.js +16 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -144,8 +144,9 @@ var padding_module_default = { "paddingX0": "_paddingX0_1aqye_2", "paddingX1": "
|
|
|
144
144
|
var colors_module_default = { "inheritColor": "_inheritColor_11wj3_2", "destructive700Color": "_destructive700Color_11wj3_6", "gray700Color": "_gray700Color_11wj3_10", "gray900Color": "_gray900Color_11wj3_14", "primary700Color": "_primary700Color_11wj3_18", "whiteColor": "_whiteColor_11wj3_22", "blackBackgroundColor": "_blackBackgroundColor_11wj3_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_11wj3_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_11wj3_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_11wj3_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_11wj3_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_11wj3_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_11wj3_51", "gray10BackgroundColor": "_gray10BackgroundColor_11wj3_55", "gray30BackgroundColor": "_gray30BackgroundColor_11wj3_59", "gray60BackgroundColor": "_gray60BackgroundColor_11wj3_63", "gray80BackgroundColor": "_gray80BackgroundColor_11wj3_67", "gray100BackgroundColor": "_gray100BackgroundColor_11wj3_71", "gray200BackgroundColor": "_gray200BackgroundColor_11wj3_75", "gray300BackgroundColor": "_gray300BackgroundColor_11wj3_79", "gray700BackgroundColor": "_gray700BackgroundColor_11wj3_83", "gray800BackgroundColor": "_gray800BackgroundColor_11wj3_87", "gray900BackgroundColor": "_gray900BackgroundColor_11wj3_91", "orange100BackgroundColor": "_orange100BackgroundColor_11wj3_95", "orange200BackgroundColor": "_orange200BackgroundColor_11wj3_99", "orange300BackgroundColor": "_orange300BackgroundColor_11wj3_103", "orange700BackgroundColor": "_orange700BackgroundColor_11wj3_107", "orange800BackgroundColor": "_orange800BackgroundColor_11wj3_111", "orange900BackgroundColor": "_orange900BackgroundColor_11wj3_115", "primary100BackgroundColor": "_primary100BackgroundColor_11wj3_119", "primary200BackgroundColor": "_primary200BackgroundColor_11wj3_123", "primary300BackgroundColor": "_primary300BackgroundColor_11wj3_127", "primary700BackgroundColor": "_primary700BackgroundColor_11wj3_131", "primary800BackgroundColor": "_primary800BackgroundColor_11wj3_135", "primary900BackgroundColor": "_primary900BackgroundColor_11wj3_139", "success100BackgroundColor": "_success100BackgroundColor_11wj3_143", "success200BackgroundColor": "_success200BackgroundColor_11wj3_147", "success300BackgroundColor": "_success300BackgroundColor_11wj3_151", "success700BackgroundColor": "_success700BackgroundColor_11wj3_155", "success800BackgroundColor": "_success800BackgroundColor_11wj3_159", "success900BackgroundColor": "_success900BackgroundColor_11wj3_163", "purple100BackgroundColor": "_purple100BackgroundColor_11wj3_167", "purple200BackgroundColor": "_purple200BackgroundColor_11wj3_171", "purple300BackgroundColor": "_purple300BackgroundColor_11wj3_175", "purple700BackgroundColor": "_purple700BackgroundColor_11wj3_179", "purple800BackgroundColor": "_purple800BackgroundColor_11wj3_183", "purple900BackgroundColor": "_purple900BackgroundColor_11wj3_187", "whiteBackgroundColor": "_whiteBackgroundColor_11wj3_191", "yellow100BackgroundColor": "_yellow100BackgroundColor_11wj3_195", "yellow200BackgroundColor": "_yellow200BackgroundColor_11wj3_199", "yellow300BackgroundColor": "_yellow300BackgroundColor_11wj3_203", "yellow700BackgroundColor": "_yellow700BackgroundColor_11wj3_207", "yellow800BackgroundColor": "_yellow800BackgroundColor_11wj3_211", "yellow900BackgroundColor": "_yellow900BackgroundColor_11wj3_215" };
|
|
145
145
|
|
|
146
146
|
// src/Box/Box.tsx
|
|
147
|
+
import { forwardRef } from "react";
|
|
147
148
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
148
|
-
function Box(props) {
|
|
149
|
+
var Box_default = forwardRef(function Box(props, ref) {
|
|
149
150
|
var _c;
|
|
150
151
|
const _a = props, { as: BoxElement = "div", children } = _a, boxProps = __objRest(_a, ["as", "children"]);
|
|
151
152
|
const _b = boxProps, {
|
|
@@ -329,8 +330,8 @@ function Box(props) {
|
|
|
329
330
|
}
|
|
330
331
|
return acc;
|
|
331
332
|
}, {});
|
|
332
|
-
return /* @__PURE__ */ jsx2(BoxElement, __spreadProps(__spreadValues(__spreadValues({}, parsedProps), passthroughProps), { children }));
|
|
333
|
-
}
|
|
333
|
+
return /* @__PURE__ */ jsx2(BoxElement, __spreadProps(__spreadValues(__spreadValues({}, parsedProps), passthroughProps), { ref, children }));
|
|
334
|
+
});
|
|
334
335
|
|
|
335
336
|
// src/Button/Button.tsx
|
|
336
337
|
var import_classnames3 = __toESM(require_classnames());
|
|
@@ -484,14 +485,11 @@ var ButtonGroup = ({
|
|
|
484
485
|
};
|
|
485
486
|
var ButtonGroup_default = ButtonGroup;
|
|
486
487
|
|
|
487
|
-
// css-module:./Card.module.css#css-module
|
|
488
|
-
var Card_module_default = { "card": "_card_hvz2b_1" };
|
|
489
|
-
|
|
490
488
|
// src/Card/Card.tsx
|
|
491
489
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
492
490
|
var Card = ({
|
|
493
491
|
children
|
|
494
|
-
}) => /* @__PURE__ */ jsx5("
|
|
492
|
+
}) => /* @__PURE__ */ jsx5(Box_default, { rounding: "xl", padding: 7, smPadding: 9, backgroundColor: "white", children });
|
|
495
493
|
var Card_default = Card;
|
|
496
494
|
|
|
497
495
|
// css-module:./Divider.module.css#css-module
|
|
@@ -995,7 +993,7 @@ var SelectList_default = SelectList;
|
|
|
995
993
|
SelectList.Option = SelectOption_default;
|
|
996
994
|
export {
|
|
997
995
|
Avatar_default as Avatar,
|
|
998
|
-
Box,
|
|
996
|
+
Box_default as Box,
|
|
999
997
|
Button_default as Button,
|
|
1000
998
|
ButtonGroup_default as ButtonGroup,
|
|
1001
999
|
Card_default as Card,
|