@cambly/syntax-core 4.8.1 → 4.9.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.mjs CHANGED
@@ -128,9 +128,74 @@ var Avatar = ({
128
128
  };
129
129
  var Avatar_default = Avatar;
130
130
 
131
- // src/Box/Box.tsx
131
+ // src/Typography/Typography.tsx
132
132
  var import_classnames2 = __toESM(require_classnames());
133
133
 
134
+ // css-module:./Typography.module.css#css-module
135
+ var Typography_module_default = { "typography": "_typography_1hx29_1", "size100": "_size100_1hx29_8", "size200": "_size200_1hx29_12", "size300": "_size300_1hx29_16", "size500": "_size500_1hx29_20", "size600": "_size600_1hx29_24", "size700": "_size700_1hx29_28", "size800": "_size800_1hx29_32", "center": "_center_1hx29_37", "forceLeft": "_forceLeft_1hx29_41", "forceRight": "_forceRight_1hx29_45", "start": "_start_1hx29_49", "end": "_end_1hx29_53", "bold": "_bold_1hx29_58", "regular": "_regular_1hx29_62", "semiBold": "_semiBold_1hx29_66", "heavy": "_heavy_1hx29_70", "underline": "_underline_1hx29_74", "inline": "_inline_1hx29_78", "uppercase": "_uppercase_1hx29_82", "lineClamp": "_lineClamp_1hx29_86" };
136
+
137
+ // css-module:../colors/colors.module.css#css-module
138
+ 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" };
139
+
140
+ // src/Typography/Typography.tsx
141
+ import { jsx as jsx2 } from "react/jsx-runtime";
142
+ function textColor(color) {
143
+ switch (color) {
144
+ case "gray700":
145
+ return colors_module_default.gray700Color;
146
+ case "white":
147
+ return colors_module_default.whiteColor;
148
+ case "inherit":
149
+ return colors_module_default.inheritColor;
150
+ case "primary":
151
+ return colors_module_default.primary700Color;
152
+ case "destructive-primary":
153
+ return colors_module_default.destructive700Color;
154
+ default:
155
+ return colors_module_default.gray900Color;
156
+ }
157
+ }
158
+ var Typography = ({
159
+ align = "start",
160
+ as = "div",
161
+ children,
162
+ color = "gray900",
163
+ inline = false,
164
+ lineClamp = void 0,
165
+ size = 200,
166
+ tooltip,
167
+ transform = "none",
168
+ underline = false,
169
+ weight = "regular"
170
+ }) => {
171
+ const Tag = as;
172
+ return /* @__PURE__ */ jsx2(
173
+ Tag,
174
+ {
175
+ className: (0, import_classnames2.default)(
176
+ Typography_module_default.typography,
177
+ Typography_module_default[align],
178
+ Typography_module_default[weight],
179
+ textColor(color),
180
+ inline && Typography_module_default.inline,
181
+ Typography_module_default[`size${size}`],
182
+ transform === "uppercase" && Typography_module_default.uppercase,
183
+ underline && Typography_module_default.underline,
184
+ lineClamp != null && Typography_module_default.lineClamp
185
+ ),
186
+ style: {
187
+ WebkitLineClamp: lineClamp
188
+ },
189
+ title: tooltip,
190
+ children
191
+ }
192
+ );
193
+ };
194
+ var Typography_default = Typography;
195
+
196
+ // src/Box/Box.tsx
197
+ var import_classnames3 = __toESM(require_classnames());
198
+
134
199
  // css-module:./Box.module.css#css-module
135
200
  var Box_module_default = { "box": "_box_7x1a7_1", "flexWrap": "_flexWrap_7x1a7_5", "alignItemscenter": "_alignItemscenter_7x1a7_10", "alignItemsstart": "_alignItemsstart_7x1a7_14", "alignItemsend": "_alignItemsend_7x1a7_18", "alignItemsstretch": "_alignItemsstretch_7x1a7_22", "alignItemsbaseline": "_alignItemsbaseline_7x1a7_26", "alignItemscenterSmall": "_alignItemscenterSmall_7x1a7_32", "alignItemsstartSmall": "_alignItemsstartSmall_7x1a7_36", "alignItemsendSmall": "_alignItemsendSmall_7x1a7_40", "alignItemsstretchSmall": "_alignItemsstretchSmall_7x1a7_44", "alignItemsbaselineSmall": "_alignItemsbaselineSmall_7x1a7_48", "alignItemscenterLarge": "_alignItemscenterLarge_7x1a7_55", "alignItemsstartLarge": "_alignItemsstartLarge_7x1a7_59", "alignItemsendLarge": "_alignItemsendLarge_7x1a7_63", "alignItemsstretchLarge": "_alignItemsstretchLarge_7x1a7_67", "alignItemsbaselineLarge": "_alignItemsbaselineLarge_7x1a7_71", "alignSelfcenter": "_alignSelfcenter_7x1a7_77", "alignSelfstart": "_alignSelfstart_7x1a7_81", "alignSelfend": "_alignSelfend_7x1a7_85", "alignSelfstretch": "_alignSelfstretch_7x1a7_89", "alignSelfbaseline": "_alignSelfbaseline_7x1a7_93", "alignSelfauto": "_alignSelfauto_7x1a7_97", "roundingsm": "_roundingsm_7x1a7_102", "roundingmd": "_roundingmd_7x1a7_106", "roundinglg": "_roundinglg_7x1a7_110", "roundingxl": "_roundingxl_7x1a7_114", "roundingfull": "_roundingfull_7x1a7_118", "block": "_block_7x1a7_123", "flex": "_flex_7x1a7_5", "inlineBlock": "_inlineBlock_7x1a7_131", "none": "_none_7x1a7_135", "visuallyHidden": "_visuallyHidden_7x1a7_139", "blockSmall": "_blockSmall_7x1a7_153", "flexSmall": "_flexSmall_7x1a7_157", "inlineBlockSmall": "_inlineBlockSmall_7x1a7_161", "noneSmall": "_noneSmall_7x1a7_165", "visuallyHiddenSmall": "_visuallyHiddenSmall_7x1a7_169", "blockLarge": "_blockLarge_7x1a7_184", "flexLarge": "_flexLarge_7x1a7_188", "inlineBlockLarge": "_inlineBlockLarge_7x1a7_192", "noneLarge": "_noneLarge_7x1a7_196", "visuallyHiddenLarge": "_visuallyHiddenLarge_7x1a7_200", "column": "_column_7x1a7_214", "row": "_row_7x1a7_218", "columnSmall": "_columnSmall_7x1a7_224", "rowSmall": "_rowSmall_7x1a7_228", "columnLarge": "_columnLarge_7x1a7_235", "rowLarge": "_rowLarge_7x1a7_239", "gap0": "_gap0_7x1a7_245", "gap1": "_gap1_7x1a7_249", "gap2": "_gap2_7x1a7_253", "gap3": "_gap3_7x1a7_257", "gap4": "_gap4_7x1a7_261", "gap5": "_gap5_7x1a7_265", "gap6": "_gap6_7x1a7_269", "gap7": "_gap7_7x1a7_273", "gap8": "_gap8_7x1a7_277", "gap9": "_gap9_7x1a7_281", "gap10": "_gap10_7x1a7_285", "gap11": "_gap11_7x1a7_289", "gap12": "_gap12_7x1a7_293", "justifyContentcenter": "_justifyContentcenter_7x1a7_298", "justifyContentstart": "_justifyContentstart_7x1a7_302", "justifyContentend": "_justifyContentend_7x1a7_306", "justifyContentbetween": "_justifyContentbetween_7x1a7_310", "justifyContentaround": "_justifyContentaround_7x1a7_314", "justifyContentevenly": "_justifyContentevenly_7x1a7_318", "justifyContentcenterSmall": "_justifyContentcenterSmall_7x1a7_324", "justifyContentstartSmall": "_justifyContentstartSmall_7x1a7_328", "justifyContentendSmall": "_justifyContentendSmall_7x1a7_332", "justifyContentbetweenSmall": "_justifyContentbetweenSmall_7x1a7_336", "justifyContentaroundSmall": "_justifyContentaroundSmall_7x1a7_340", "justifyContentevenlySmall": "_justifyContentevenlySmall_7x1a7_344", "justifyContentcenterLarge": "_justifyContentcenterLarge_7x1a7_351", "justifyContentstartLarge": "_justifyContentstartLarge_7x1a7_355", "justifyContentendLarge": "_justifyContentendLarge_7x1a7_359", "justifyContentbetweenLarge": "_justifyContentbetweenLarge_7x1a7_363", "justifyContentaroundLarge": "_justifyContentaroundLarge_7x1a7_367", "justifyContentevenlyLarge": "_justifyContentevenlyLarge_7x1a7_371", "absolute": "_absolute_7x1a7_377", "fixed": "_fixed_7x1a7_381", "relative": "_relative_7x1a7_385", "sticky": "_sticky_7x1a7_389" };
136
201
 
@@ -140,12 +205,9 @@ var margin_module_default = { "marginBottom-12": "_marginBottom-12_1whn1_2", "ma
140
205
  // css-module:./padding.module.css#css-module
141
206
  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" };
142
207
 
143
- // css-module:../colors/colors.module.css#css-module
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
-
146
208
  // src/Box/Box.tsx
147
209
  import { forwardRef } from "react";
148
- import { jsx as jsx2 } from "react/jsx-runtime";
210
+ import { jsx as jsx3 } from "react/jsx-runtime";
149
211
  var Box_default = forwardRef(function Box(props, ref) {
150
212
  var _c;
151
213
  const _a = props, { as: BoxElement = "div", children } = _a, boxProps = __objRest(_a, ["as", "children"]);
@@ -257,7 +319,7 @@ var Box_default = forwardRef(function Box(props, ref) {
257
319
  "width"
258
320
  ]);
259
321
  const parsedProps = {
260
- className: (0, import_classnames2.default)(
322
+ className: (0, import_classnames3.default)(
261
323
  Box_module_default.box,
262
324
  alignItems && Box_module_default[`alignItems${alignItems}`],
263
325
  smAlignItems && Box_module_default[`alignItems${smAlignItems}Small`],
@@ -330,11 +392,37 @@ var Box_default = forwardRef(function Box(props, ref) {
330
392
  }
331
393
  return acc;
332
394
  }, {});
333
- return /* @__PURE__ */ jsx2(BoxElement, __spreadProps(__spreadValues(__spreadValues({}, parsedProps), passthroughProps), { ref, children }));
395
+ return /* @__PURE__ */ jsx3(BoxElement, __spreadProps(__spreadValues(__spreadValues({}, parsedProps), passthroughProps), { ref, children }));
334
396
  });
335
397
 
398
+ // src/Badge/Badge.tsx
399
+ import { jsx as jsx4 } from "react/jsx-runtime";
400
+ var Badge = ({
401
+ text,
402
+ color = "primary700"
403
+ }) => /* @__PURE__ */ jsx4(
404
+ Box_default,
405
+ {
406
+ display: "inlineBlock",
407
+ paddingX: 2,
408
+ paddingY: 1,
409
+ rounding: "full",
410
+ backgroundColor: color,
411
+ children: /* @__PURE__ */ jsx4(
412
+ Typography_default,
413
+ {
414
+ color: color === "yellow700" ? "gray900" : "white",
415
+ size: 100,
416
+ weight: "bold",
417
+ children: text
418
+ }
419
+ )
420
+ }
421
+ );
422
+ var Badge_default = Badge;
423
+
336
424
  // src/Button/Button.tsx
337
- var import_classnames3 = __toESM(require_classnames());
425
+ var import_classnames4 = __toESM(require_classnames());
338
426
 
339
427
  // css-module:./colors.module.css#css-module
340
428
  var colors_module_default2 = { "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" };
@@ -376,11 +464,14 @@ function foregroundColor(color) {
376
464
  }
377
465
  }
378
466
 
467
+ // src/Button/Button.tsx
468
+ import { forwardRef as forwardRef2 } from "react";
469
+
379
470
  // css-module:./Button.module.css#css-module
380
471
  var Button_module_default = { "button": "_button_13egy_1", "buttonGap": "_buttonGap_13egy_9", "fullWidth": "_fullWidth_13egy_50", "sm": "_sm_13egy_54", "md": "_md_13egy_61", "lg": "_lg_13egy_68", "icon": "_icon_13egy_75", "smIcon": "_smIcon_13egy_79", "mdIcon": "_mdIcon_13egy_86", "lgIcon": "_lgIcon_13egy_93", "textContainer": "_textContainer_13egy_100", "secondaryBorder": "_secondaryBorder_13egy_105", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_13egy_109", "loading": "_loading_13egy_123", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_13egy_1", "loadingCircle": "_loadingCircle_13egy_127", "buttonText": "_buttonText_13egy_135", "buttonTextSmall": "_buttonTextSmall_13egy_142", "buttonTextMedium": "_buttonTextMedium_13egy_146", "buttonTextLarge": "_buttonTextLarge_13egy_150" };
381
472
 
382
473
  // src/Button/Button.tsx
383
- import { jsx as jsx3, jsxs } from "react/jsx-runtime";
474
+ import { jsx as jsx5, jsxs } from "react/jsx-runtime";
384
475
  var textVariant = {
385
476
  // Replace with `Typography` once it lands in `syntax-core`
386
477
  ["sm"]: Button_module_default.buttonTextSmall,
@@ -397,76 +488,80 @@ var iconSize = {
397
488
  ["md"]: Button_module_default.mdIcon,
398
489
  ["lg"]: Button_module_default.lgIcon
399
490
  };
400
- var Button = ({
401
- text,
402
- loadingText,
403
- color = "primary",
404
- size = "md",
405
- accessibilityLabel,
406
- disabled = false,
407
- loading = false,
408
- fullWidth = false,
409
- startIcon: StartIcon,
410
- endIcon: EndIcon,
411
- onClick,
412
- tooltip
413
- }) => {
414
- return /* @__PURE__ */ jsxs(
415
- "button",
416
- {
417
- "aria-label": accessibilityLabel,
418
- type: "button",
419
- title: tooltip,
420
- disabled: disabled || loading,
421
- onClick,
422
- className: (0, import_classnames3.default)(
423
- Button_module_default.button,
424
- foregroundColor(color),
425
- backgroundColor(color),
426
- Button_module_default[size],
427
- {
428
- [Button_module_default.fullWidth]: fullWidth,
429
- [Button_module_default.buttonGap]: size === "lg" || size === "md",
430
- [Button_module_default.secondaryBorder]: color === "secondary",
431
- [Button_module_default.secondaryDestructiveBorder]: color === "destructive-secondary"
432
- }
433
- ),
434
- children: [
435
- !loading && StartIcon && /* @__PURE__ */ jsx3(StartIcon, { className: (0, import_classnames3.default)(Button_module_default.icon, iconSize[size]) }),
436
- (loading && loadingText || !loading && text) && /* @__PURE__ */ jsx3("div", { className: Button_module_default.textContainer, children: /* @__PURE__ */ jsx3("div", { className: (0, import_classnames3.default)(Button_module_default.buttonText, textVariant[size]), children: loading ? loadingText : text }) }),
437
- !loading && EndIcon && /* @__PURE__ */ jsx3(EndIcon, { className: (0, import_classnames3.default)(Button_module_default.icon, iconSize[size]) }),
438
- loading && /* @__PURE__ */ jsx3(
439
- "svg",
491
+ var Button = forwardRef2(
492
+ ({
493
+ text,
494
+ loadingText,
495
+ color = "primary",
496
+ size = "md",
497
+ accessibilityLabel,
498
+ disabled = false,
499
+ loading = false,
500
+ fullWidth = false,
501
+ startIcon: StartIcon,
502
+ endIcon: EndIcon,
503
+ onClick,
504
+ tooltip
505
+ }, ref) => {
506
+ return /* @__PURE__ */ jsxs(
507
+ "button",
508
+ {
509
+ ref,
510
+ "aria-label": accessibilityLabel,
511
+ type: "button",
512
+ title: tooltip,
513
+ disabled: disabled || loading,
514
+ onClick,
515
+ className: (0, import_classnames4.default)(
516
+ Button_module_default.button,
517
+ foregroundColor(color),
518
+ backgroundColor(color),
519
+ Button_module_default[size],
440
520
  {
441
- className: (0, import_classnames3.default)(Button_module_default.loading, foregroundColor(color)),
442
- viewBox: "22 22 44 44",
443
- width: loadingIconSize[size],
444
- height: loadingIconSize[size],
445
- children: /* @__PURE__ */ jsx3(
446
- "circle",
447
- {
448
- className: Button_module_default.loadingCircle,
449
- cx: "44",
450
- cy: "44",
451
- r: "20.2",
452
- fill: "none",
453
- strokeWidth: "3.6"
454
- }
455
- )
521
+ [Button_module_default.fullWidth]: fullWidth,
522
+ [Button_module_default.buttonGap]: size === "lg" || size === "md",
523
+ [Button_module_default.secondaryBorder]: color === "secondary",
524
+ [Button_module_default.secondaryDestructiveBorder]: color === "destructive-secondary"
456
525
  }
457
- )
458
- ]
459
- }
460
- );
461
- };
526
+ ),
527
+ children: [
528
+ !loading && StartIcon && /* @__PURE__ */ jsx5(StartIcon, { className: (0, import_classnames4.default)(Button_module_default.icon, iconSize[size]) }),
529
+ (loading && loadingText || !loading && text) && /* @__PURE__ */ jsx5("div", { className: Button_module_default.textContainer, children: /* @__PURE__ */ jsx5("div", { className: (0, import_classnames4.default)(Button_module_default.buttonText, textVariant[size]), children: loading ? loadingText : text }) }),
530
+ !loading && EndIcon && /* @__PURE__ */ jsx5(EndIcon, { className: (0, import_classnames4.default)(Button_module_default.icon, iconSize[size]) }),
531
+ loading && /* @__PURE__ */ jsx5(
532
+ "svg",
533
+ {
534
+ className: (0, import_classnames4.default)(Button_module_default.loading, foregroundColor(color)),
535
+ viewBox: "22 22 44 44",
536
+ width: loadingIconSize[size],
537
+ height: loadingIconSize[size],
538
+ children: /* @__PURE__ */ jsx5(
539
+ "circle",
540
+ {
541
+ className: Button_module_default.loadingCircle,
542
+ cx: "44",
543
+ cy: "44",
544
+ r: "20.2",
545
+ fill: "none",
546
+ strokeWidth: "3.6"
547
+ }
548
+ )
549
+ }
550
+ )
551
+ ]
552
+ }
553
+ );
554
+ }
555
+ );
556
+ Button.displayName = "Button";
462
557
  var Button_default = Button;
463
558
 
464
559
  // css-module:./ButtonGroup.module.css#css-module
465
560
  var ButtonGroup_module_default = { "buttonGroup": "_buttonGroup_1f9x9_1", "horizontal": "_horizontal_1f9x9_5", "vertical": "_vertical_1f9x9_9", "smallGap": "_smallGap_1f9x9_13", "mediumGap": "_mediumGap_1f9x9_17", "largeGap": "_largeGap_1f9x9_21" };
466
561
 
467
562
  // src/ButtonGroup/ButtonGroup.tsx
468
- var import_classnames4 = __toESM(require_classnames());
469
- import { jsx as jsx4 } from "react/jsx-runtime";
563
+ var import_classnames5 = __toESM(require_classnames());
564
+ import { jsx as jsx6 } from "react/jsx-runtime";
470
565
  var gap = {
471
566
  ["sm"]: ButtonGroup_module_default.smallGap,
472
567
  ["md"]: ButtonGroup_module_default.mediumGap,
@@ -477,95 +572,33 @@ var ButtonGroup = ({
477
572
  size = "md",
478
573
  children
479
574
  }) => {
480
- const classnames2 = (0, import_classnames4.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
575
+ const classnames2 = (0, import_classnames5.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
481
576
  [ButtonGroup_module_default.horizontal]: orientation === "horizontal",
482
577
  [ButtonGroup_module_default.vertical]: orientation === "vertical"
483
578
  });
484
- return /* @__PURE__ */ jsx4("div", { className: classnames2, children });
579
+ return /* @__PURE__ */ jsx6("div", { className: classnames2, children });
485
580
  };
486
581
  var ButtonGroup_default = ButtonGroup;
487
582
 
488
583
  // src/Card/Card.tsx
489
- import { jsx as jsx5 } from "react/jsx-runtime";
584
+ import { jsx as jsx7 } from "react/jsx-runtime";
490
585
  var Card = ({
491
586
  children
492
- }) => /* @__PURE__ */ jsx5(Box_default, { rounding: "xl", padding: 7, smPadding: 9, backgroundColor: "white", children });
587
+ }) => /* @__PURE__ */ jsx7(Box_default, { rounding: "xl", padding: 7, smPadding: 9, backgroundColor: "white", children });
493
588
  var Card_default = Card;
494
589
 
495
590
  // css-module:./Divider.module.css#css-module
496
591
  var Divider_module_default = { "divider": "_divider_1ddgq_1" };
497
592
 
498
593
  // src/Divider/Divider.tsx
499
- import { jsx as jsx6 } from "react/jsx-runtime";
594
+ import { jsx as jsx8 } from "react/jsx-runtime";
500
595
  function Divider() {
501
- return /* @__PURE__ */ jsx6("hr", { className: Divider_module_default.divider });
596
+ return /* @__PURE__ */ jsx8("hr", { className: Divider_module_default.divider });
502
597
  }
503
598
  Divider.displayName = "Divider";
504
599
 
505
- // src/Typography/Typography.tsx
506
- var import_classnames5 = __toESM(require_classnames());
507
-
508
- // css-module:./Typography.module.css#css-module
509
- var Typography_module_default = { "typography": "_typography_1hx29_1", "size100": "_size100_1hx29_8", "size200": "_size200_1hx29_12", "size300": "_size300_1hx29_16", "size500": "_size500_1hx29_20", "size600": "_size600_1hx29_24", "size700": "_size700_1hx29_28", "size800": "_size800_1hx29_32", "center": "_center_1hx29_37", "forceLeft": "_forceLeft_1hx29_41", "forceRight": "_forceRight_1hx29_45", "start": "_start_1hx29_49", "end": "_end_1hx29_53", "bold": "_bold_1hx29_58", "regular": "_regular_1hx29_62", "semiBold": "_semiBold_1hx29_66", "heavy": "_heavy_1hx29_70", "underline": "_underline_1hx29_74", "inline": "_inline_1hx29_78", "uppercase": "_uppercase_1hx29_82", "lineClamp": "_lineClamp_1hx29_86" };
510
-
511
- // src/Typography/Typography.tsx
512
- import { jsx as jsx7 } from "react/jsx-runtime";
513
- function textColor(color) {
514
- switch (color) {
515
- case "gray700":
516
- return colors_module_default.gray700Color;
517
- case "white":
518
- return colors_module_default.whiteColor;
519
- case "inherit":
520
- return colors_module_default.inheritColor;
521
- case "primary":
522
- return colors_module_default.primary700Color;
523
- case "destructive-primary":
524
- return colors_module_default.destructive700Color;
525
- default:
526
- return colors_module_default.gray900Color;
527
- }
528
- }
529
- var Typography = ({
530
- align = "start",
531
- as = "div",
532
- children,
533
- color = "gray900",
534
- inline = false,
535
- lineClamp = void 0,
536
- size = 200,
537
- tooltip,
538
- transform = "none",
539
- underline = false,
540
- weight = "regular"
541
- }) => {
542
- const Tag = as;
543
- return /* @__PURE__ */ jsx7(
544
- Tag,
545
- {
546
- className: (0, import_classnames5.default)(
547
- Typography_module_default.typography,
548
- Typography_module_default[align],
549
- Typography_module_default[weight],
550
- textColor(color),
551
- inline && Typography_module_default.inline,
552
- Typography_module_default[`size${size}`],
553
- transform === "uppercase" && Typography_module_default.uppercase,
554
- underline && Typography_module_default.underline,
555
- lineClamp != null && Typography_module_default.lineClamp
556
- ),
557
- style: {
558
- WebkitLineClamp: lineClamp
559
- },
560
- title: tooltip,
561
- children
562
- }
563
- );
564
- };
565
- var Typography_default = Typography;
566
-
567
600
  // src/Heading/Heading.tsx
568
- import { jsx as jsx8 } from "react/jsx-runtime";
601
+ import { jsx as jsx9 } from "react/jsx-runtime";
569
602
  var Heading = ({
570
603
  align = "start",
571
604
  as = "h1",
@@ -574,50 +607,55 @@ var Heading = ({
574
607
  size = 500
575
608
  }) => {
576
609
  const weight = [700, 800].includes(size) ? "heavy" : "bold";
577
- return /* @__PURE__ */ jsx8(Typography_default, { align, as, color, size, weight, children });
610
+ return /* @__PURE__ */ jsx9(Typography_default, { align, as, color, size, weight, children });
578
611
  };
579
612
  var Heading_default = Heading;
580
613
 
581
614
  // src/IconButton/IconButton.tsx
582
615
  var import_classnames6 = __toESM(require_classnames());
616
+ import { forwardRef as forwardRef3 } from "react";
583
617
 
584
618
  // css-module:./IconButton.module.css#css-module
585
619
  var IconButton_module_default = { "iconButton": "_iconButton_dzhn0_1", "sm": "_sm_dzhn0_46", "md": "_md_dzhn0_51", "lg": "_lg_dzhn0_56", "smIcon": "_smIcon_dzhn0_61", "mdIcon": "_mdIcon_dzhn0_68", "lgIcon": "_lgIcon_dzhn0_75" };
586
620
 
587
621
  // src/IconButton/IconButton.tsx
588
- import { jsx as jsx9 } from "react/jsx-runtime";
622
+ import { jsx as jsx10 } from "react/jsx-runtime";
589
623
  var iconSize2 = {
590
624
  ["sm"]: IconButton_module_default.smIcon,
591
625
  ["md"]: IconButton_module_default.mdIcon,
592
626
  ["lg"]: IconButton_module_default.lgIcon
593
627
  };
594
- var IconButton = ({
595
- accessibilityLabel,
596
- color = "primary",
597
- disabled = false,
598
- icon: Icon,
599
- size = "md",
600
- tooltip,
601
- onClick
602
- }) => {
603
- return /* @__PURE__ */ jsx9(
604
- "button",
605
- {
606
- "aria-label": accessibilityLabel,
607
- type: "button",
608
- title: tooltip,
609
- disabled,
610
- onClick,
611
- className: (0, import_classnames6.default)(
612
- IconButton_module_default.iconButton,
613
- foregroundColor(color),
614
- backgroundColor(color),
615
- IconButton_module_default[size]
616
- ),
617
- children: /* @__PURE__ */ jsx9(Icon, { className: iconSize2[size] })
618
- }
619
- );
620
- };
628
+ var IconButton = forwardRef3(
629
+ ({
630
+ accessibilityLabel,
631
+ color = "primary",
632
+ disabled = false,
633
+ icon: Icon,
634
+ size = "md",
635
+ tooltip,
636
+ onClick
637
+ }, ref) => {
638
+ return /* @__PURE__ */ jsx10(
639
+ "button",
640
+ {
641
+ "aria-label": accessibilityLabel,
642
+ type: "button",
643
+ title: tooltip,
644
+ disabled,
645
+ onClick,
646
+ className: (0, import_classnames6.default)(
647
+ IconButton_module_default.iconButton,
648
+ foregroundColor(color),
649
+ backgroundColor(color),
650
+ IconButton_module_default[size]
651
+ ),
652
+ ref,
653
+ children: /* @__PURE__ */ jsx10(Icon, { className: iconSize2[size] })
654
+ }
655
+ );
656
+ }
657
+ );
658
+ IconButton.displayName = "IconButton";
621
659
  var IconButton_default = IconButton;
622
660
 
623
661
  // src/Checkbox/Checkbox.tsx
@@ -721,7 +759,7 @@ var Checkbox_module_default = { "mainContainer": "_mainContainer_1jq7b_1", "chec
721
759
  var Focus_module_default = { "accessibilityOutlineFocus": "_accessibilityOutlineFocus_1h8bq_1" };
722
760
 
723
761
  // src/Checkbox/Checkbox.tsx
724
- import { jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
762
+ import { jsx as jsx11, jsxs as jsxs2 } from "react/jsx-runtime";
725
763
  var typographySize = {
726
764
  sm: 100,
727
765
  md: 200
@@ -753,7 +791,7 @@ var Checkbox = ({
753
791
  });
754
792
  return /* @__PURE__ */ jsxs2("label", { className: (0, import_classnames7.default)(Checkbox_module_default.mainContainer), children: [
755
793
  /* @__PURE__ */ jsxs2("div", { className: Checkbox_module_default.checkboxContainer, children: [
756
- /* @__PURE__ */ jsx10(
794
+ /* @__PURE__ */ jsx11(
757
795
  "input",
758
796
  {
759
797
  type: "checkbox",
@@ -769,7 +807,7 @@ var Checkbox = ({
769
807
  }
770
808
  }
771
809
  ),
772
- /* @__PURE__ */ jsx10("div", { className: checked ? checkedStyling : uncheckedStyling, children: checked && /* @__PURE__ */ jsx10("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ jsx10(
810
+ /* @__PURE__ */ jsx11("div", { className: checked ? checkedStyling : uncheckedStyling, children: checked && /* @__PURE__ */ jsx11("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ jsx11(
773
811
  "path",
774
812
  {
775
813
  fill: "#fff",
@@ -777,7 +815,7 @@ var Checkbox = ({
777
815
  }
778
816
  ) }) })
779
817
  ] }),
780
- /* @__PURE__ */ jsx10(
818
+ /* @__PURE__ */ jsx11(
781
819
  Typography_default,
782
820
  {
783
821
  size: typographySize[size],
@@ -793,10 +831,10 @@ var Checkbox_default = Checkbox;
793
831
  var MiniActionCard_module_default = { "miniActionCard": "_miniActionCard_qebkn_1", "card": "_card_qebkn_9" };
794
832
 
795
833
  // src/MiniActionCard/MiniActionCard.tsx
796
- import { jsx as jsx11 } from "react/jsx-runtime";
834
+ import { jsx as jsx12 } from "react/jsx-runtime";
797
835
  var MiniActionCard = ({
798
836
  children
799
- }) => /* @__PURE__ */ jsx11("div", { className: MiniActionCard_module_default.miniActionCard, children });
837
+ }) => /* @__PURE__ */ jsx12("div", { className: MiniActionCard_module_default.miniActionCard, children });
800
838
  var MiniActionCard_default = MiniActionCard;
801
839
 
802
840
  // src/RadioButton/RadioButton.tsx
@@ -804,10 +842,10 @@ var import_classnames8 = __toESM(require_classnames());
804
842
  import { useState as useState3 } from "react";
805
843
 
806
844
  // css-module:./RadioButton.module.css#css-module
807
- var RadioButton_module_default = { "radioBaseContainer": "_radioBaseContainer_144ms_1", "smBase": "_smBase_144ms_8", "mdBase": "_mdBase_144ms_13", "radioStyleOverride": "_radioStyleOverride_144ms_18", "smOverride": "_smOverride_144ms_23", "mdOverride": "_mdOverride_144ms_28", "background": "_background_144ms_33", "sm": "_sm_144ms_8", "md": "_md_144ms_13", "neutralBorder": "_neutralBorder_144ms_50", "smCheckedBorder": "_smCheckedBorder_144ms_54", "mdCheckedBorder": "_mdCheckedBorder_144ms_58", "errorBorderColor": "_errorBorderColor_144ms_62", "borderColor": "_borderColor_144ms_66" };
845
+ var RadioButton_module_default = { "radioBaseContainer": "_radioBaseContainer_ne98c_1", "smBase": "_smBase_ne98c_9", "mdBase": "_mdBase_ne98c_14", "radioStyleOverride": "_radioStyleOverride_ne98c_19", "smOverride": "_smOverride_ne98c_24", "mdOverride": "_mdOverride_ne98c_29", "background": "_background_ne98c_34", "sm": "_sm_ne98c_9", "md": "_md_ne98c_14", "neutralBorder": "_neutralBorder_ne98c_51", "smCheckedBorder": "_smCheckedBorder_ne98c_55", "mdCheckedBorder": "_mdCheckedBorder_ne98c_59", "errorBorderColor": "_errorBorderColor_ne98c_63", "borderColor": "_borderColor_ne98c_67" };
808
846
 
809
847
  // src/RadioButton/RadioButton.tsx
810
- import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
848
+ import { jsx as jsx13, jsxs as jsxs3 } from "react/jsx-runtime";
811
849
  var RadioButton = ({
812
850
  checked = false,
813
851
  disabled = false,
@@ -833,7 +871,7 @@ var RadioButton = ({
833
871
  [RadioButton_module_default.mdBase]: size === "md"
834
872
  }),
835
873
  children: [
836
- /* @__PURE__ */ jsx12(
874
+ /* @__PURE__ */ jsx13(
837
875
  "input",
838
876
  {
839
877
  type: "radio",
@@ -854,7 +892,7 @@ var RadioButton = ({
854
892
  }
855
893
  }
856
894
  ),
857
- checked ? /* @__PURE__ */ jsx12(
895
+ checked ? /* @__PURE__ */ jsx13(
858
896
  "div",
859
897
  {
860
898
  className: (0, import_classnames8.default)(sharedStyles, {
@@ -862,8 +900,8 @@ var RadioButton = ({
862
900
  [RadioButton_module_default.smCheckedBorder]: size === "sm"
863
901
  })
864
902
  }
865
- ) : /* @__PURE__ */ jsx12("div", { className: (0, import_classnames8.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
866
- /* @__PURE__ */ jsx12(
903
+ ) : /* @__PURE__ */ jsx13("div", { className: (0, import_classnames8.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
904
+ /* @__PURE__ */ jsx13(
867
905
  Typography_default,
868
906
  {
869
907
  size: size === "md" ? 200 : 100,
@@ -892,12 +930,12 @@ var ColorBaseGray800 = "#353535";
892
930
  var SelectList_module_default = { "selectContainer": "_selectContainer_1e7f9_1", "opacityOverlay": "_opacityOverlay_1e7f9_7", "outerTextContainer": "_outerTextContainer_1e7f9_11", "selectWrapper": "_selectWrapper_1e7f9_16", "selectBox": "_selectBox_1e7f9_21", "seletBoxMouseFocusStyling": "_seletBoxMouseFocusStyling_1e7f9_35", "unselected": "_unselected_1e7f9_40", "selected": "_selected_1e7f9_44", "arrowIcon": "_arrowIcon_1e7f9_48", "sm": "_sm_1e7f9_62", "md": "_md_1e7f9_67", "lg": "_lg_1e7f9_72", "selectError": "_selectError_1e7f9_77" };
893
931
 
894
932
  // src/SelectList/SelectOption.tsx
895
- import { jsx as jsx13 } from "react/jsx-runtime";
933
+ import { jsx as jsx14 } from "react/jsx-runtime";
896
934
  var SelectOption = ({
897
935
  value,
898
936
  label,
899
937
  disabled = false
900
- }) => /* @__PURE__ */ jsx13(
938
+ }) => /* @__PURE__ */ jsx14(
901
939
  "option",
902
940
  {
903
941
  "data-testid": `syntax-select-${value}`,
@@ -909,7 +947,7 @@ var SelectOption = ({
909
947
  var SelectOption_default = SelectOption;
910
948
 
911
949
  // src/SelectList/SelectList.tsx
912
- import { jsx as jsx14, jsxs as jsxs4 } from "react/jsx-runtime";
950
+ import { jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
913
951
  var iconSize3 = {
914
952
  sm: 20,
915
953
  md: 24,
@@ -936,7 +974,7 @@ var SelectList = ({
936
974
  [SelectList_module_default.opacityOverlay]: disabled
937
975
  }),
938
976
  children: [
939
- /* @__PURE__ */ jsx14("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx14(Typography_default, { size: 100, color: "gray700", children: label }) }),
977
+ /* @__PURE__ */ jsx15("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx15(Typography_default, { size: 100, color: "gray700", children: label }) }),
940
978
  /* @__PURE__ */ jsxs4("div", { className: SelectList_module_default.selectWrapper, children: [
941
979
  /* @__PURE__ */ jsxs4(
942
980
  "select",
@@ -958,19 +996,19 @@ var SelectList = ({
958
996
  onFocus: () => setIsFocused(true),
959
997
  onBlur: () => setIsFocused(false),
960
998
  children: [
961
- placeholderText && /* @__PURE__ */ jsx14("option", { disabled: true, value: placeholderText, children: placeholderText }),
999
+ placeholderText && /* @__PURE__ */ jsx15("option", { disabled: true, value: placeholderText, children: placeholderText }),
962
1000
  children
963
1001
  ]
964
1002
  }
965
1003
  ),
966
- /* @__PURE__ */ jsx14("div", { className: SelectList_module_default.arrowIcon, children: /* @__PURE__ */ jsx14(
1004
+ /* @__PURE__ */ jsx15("div", { className: SelectList_module_default.arrowIcon, children: /* @__PURE__ */ jsx15(
967
1005
  "svg",
968
1006
  {
969
1007
  focusable: "false",
970
1008
  "aria-hidden": "true",
971
1009
  viewBox: "0 0 24 24",
972
1010
  width: iconSize3[size],
973
- children: /* @__PURE__ */ jsx14(
1011
+ children: /* @__PURE__ */ jsx15(
974
1012
  "path",
975
1013
  {
976
1014
  fill: errorText ? ColorBaseDestructive700 : ColorBaseGray800,
@@ -980,7 +1018,7 @@ var SelectList = ({
980
1018
  }
981
1019
  ) })
982
1020
  ] }),
983
- /* @__PURE__ */ jsx14("div", { className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx14(
1021
+ /* @__PURE__ */ jsx15("div", { className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx15(
984
1022
  Typography_default,
985
1023
  {
986
1024
  size: 100,
@@ -996,6 +1034,7 @@ var SelectList_default = SelectList;
996
1034
  SelectList.Option = SelectOption_default;
997
1035
  export {
998
1036
  Avatar_default as Avatar,
1037
+ Badge_default as Badge,
999
1038
  Box_default as Box,
1000
1039
  Button_default as Button,
1001
1040
  ButtonGroup_default as ButtonGroup,