@cambly/syntax-core 4.8.2 → 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.js CHANGED
@@ -114,6 +114,7 @@ var require_classnames = __commonJS({
114
114
  var src_exports = {};
115
115
  __export(src_exports, {
116
116
  Avatar: () => Avatar_default,
117
+ Badge: () => Badge_default,
117
118
  Box: () => Box_default,
118
119
  Button: () => Button_default,
119
120
  ButtonGroup: () => ButtonGroup_default,
@@ -153,9 +154,74 @@ var Avatar = ({
153
154
  };
154
155
  var Avatar_default = Avatar;
155
156
 
156
- // src/Box/Box.tsx
157
+ // src/Typography/Typography.tsx
157
158
  var import_classnames2 = __toESM(require_classnames());
158
159
 
160
+ // css-module:./Typography.module.css#css-module
161
+ 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" };
162
+
163
+ // css-module:../colors/colors.module.css#css-module
164
+ 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" };
165
+
166
+ // src/Typography/Typography.tsx
167
+ var import_jsx_runtime2 = require("react/jsx-runtime");
168
+ function textColor(color) {
169
+ switch (color) {
170
+ case "gray700":
171
+ return colors_module_default.gray700Color;
172
+ case "white":
173
+ return colors_module_default.whiteColor;
174
+ case "inherit":
175
+ return colors_module_default.inheritColor;
176
+ case "primary":
177
+ return colors_module_default.primary700Color;
178
+ case "destructive-primary":
179
+ return colors_module_default.destructive700Color;
180
+ default:
181
+ return colors_module_default.gray900Color;
182
+ }
183
+ }
184
+ var Typography = ({
185
+ align = "start",
186
+ as = "div",
187
+ children,
188
+ color = "gray900",
189
+ inline = false,
190
+ lineClamp = void 0,
191
+ size = 200,
192
+ tooltip,
193
+ transform = "none",
194
+ underline = false,
195
+ weight = "regular"
196
+ }) => {
197
+ const Tag = as;
198
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
199
+ Tag,
200
+ {
201
+ className: (0, import_classnames2.default)(
202
+ Typography_module_default.typography,
203
+ Typography_module_default[align],
204
+ Typography_module_default[weight],
205
+ textColor(color),
206
+ inline && Typography_module_default.inline,
207
+ Typography_module_default[`size${size}`],
208
+ transform === "uppercase" && Typography_module_default.uppercase,
209
+ underline && Typography_module_default.underline,
210
+ lineClamp != null && Typography_module_default.lineClamp
211
+ ),
212
+ style: {
213
+ WebkitLineClamp: lineClamp
214
+ },
215
+ title: tooltip,
216
+ children
217
+ }
218
+ );
219
+ };
220
+ var Typography_default = Typography;
221
+
222
+ // src/Box/Box.tsx
223
+ var import_classnames3 = __toESM(require_classnames());
224
+
159
225
  // css-module:./Box.module.css#css-module
160
226
  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" };
161
227
 
@@ -165,12 +231,9 @@ var margin_module_default = { "marginBottom-12": "_marginBottom-12_1whn1_2", "ma
165
231
  // css-module:./padding.module.css#css-module
166
232
  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" };
167
233
 
168
- // css-module:../colors/colors.module.css#css-module
169
- 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" };
170
-
171
234
  // src/Box/Box.tsx
172
235
  var import_react = require("react");
173
- var import_jsx_runtime2 = require("react/jsx-runtime");
236
+ var import_jsx_runtime3 = require("react/jsx-runtime");
174
237
  var Box_default = (0, import_react.forwardRef)(function Box(props, ref) {
175
238
  var _c;
176
239
  const _a = props, { as: BoxElement = "div", children } = _a, boxProps = __objRest(_a, ["as", "children"]);
@@ -282,7 +345,7 @@ var Box_default = (0, import_react.forwardRef)(function Box(props, ref) {
282
345
  "width"
283
346
  ]);
284
347
  const parsedProps = {
285
- className: (0, import_classnames2.default)(
348
+ className: (0, import_classnames3.default)(
286
349
  Box_module_default.box,
287
350
  alignItems && Box_module_default[`alignItems${alignItems}`],
288
351
  smAlignItems && Box_module_default[`alignItems${smAlignItems}Small`],
@@ -355,11 +418,37 @@ var Box_default = (0, import_react.forwardRef)(function Box(props, ref) {
355
418
  }
356
419
  return acc;
357
420
  }, {});
358
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(BoxElement, __spreadProps(__spreadValues(__spreadValues({}, parsedProps), passthroughProps), { ref, children }));
421
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BoxElement, __spreadProps(__spreadValues(__spreadValues({}, parsedProps), passthroughProps), { ref, children }));
359
422
  });
360
423
 
424
+ // src/Badge/Badge.tsx
425
+ var import_jsx_runtime4 = require("react/jsx-runtime");
426
+ var Badge = ({
427
+ text,
428
+ color = "primary700"
429
+ }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
430
+ Box_default,
431
+ {
432
+ display: "inlineBlock",
433
+ paddingX: 2,
434
+ paddingY: 1,
435
+ rounding: "full",
436
+ backgroundColor: color,
437
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
438
+ Typography_default,
439
+ {
440
+ color: color === "yellow700" ? "gray900" : "white",
441
+ size: 100,
442
+ weight: "bold",
443
+ children: text
444
+ }
445
+ )
446
+ }
447
+ );
448
+ var Badge_default = Badge;
449
+
361
450
  // src/Button/Button.tsx
362
- var import_classnames3 = __toESM(require_classnames());
451
+ var import_classnames4 = __toESM(require_classnames());
363
452
 
364
453
  // css-module:./colors.module.css#css-module
365
454
  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" };
@@ -408,7 +497,7 @@ var import_react2 = require("react");
408
497
  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" };
409
498
 
410
499
  // src/Button/Button.tsx
411
- var import_jsx_runtime3 = require("react/jsx-runtime");
500
+ var import_jsx_runtime5 = require("react/jsx-runtime");
412
501
  var textVariant = {
413
502
  // Replace with `Typography` once it lands in `syntax-core`
414
503
  ["sm"]: Button_module_default.buttonTextSmall,
@@ -440,7 +529,7 @@ var Button = (0, import_react2.forwardRef)(
440
529
  onClick,
441
530
  tooltip
442
531
  }, ref) => {
443
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
532
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
444
533
  "button",
445
534
  {
446
535
  ref,
@@ -449,7 +538,7 @@ var Button = (0, import_react2.forwardRef)(
449
538
  title: tooltip,
450
539
  disabled: disabled || loading,
451
540
  onClick,
452
- className: (0, import_classnames3.default)(
541
+ className: (0, import_classnames4.default)(
453
542
  Button_module_default.button,
454
543
  foregroundColor(color),
455
544
  backgroundColor(color),
@@ -462,17 +551,17 @@ var Button = (0, import_react2.forwardRef)(
462
551
  }
463
552
  ),
464
553
  children: [
465
- !loading && StartIcon && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(StartIcon, { className: (0, import_classnames3.default)(Button_module_default.icon, iconSize[size]) }),
466
- (loading && loadingText || !loading && text) && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: Button_module_default.textContainer, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: (0, import_classnames3.default)(Button_module_default.buttonText, textVariant[size]), children: loading ? loadingText : text }) }),
467
- !loading && EndIcon && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(EndIcon, { className: (0, import_classnames3.default)(Button_module_default.icon, iconSize[size]) }),
468
- loading && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
554
+ !loading && StartIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(StartIcon, { className: (0, import_classnames4.default)(Button_module_default.icon, iconSize[size]) }),
555
+ (loading && loadingText || !loading && text) && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: Button_module_default.textContainer, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: (0, import_classnames4.default)(Button_module_default.buttonText, textVariant[size]), children: loading ? loadingText : text }) }),
556
+ !loading && EndIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(EndIcon, { className: (0, import_classnames4.default)(Button_module_default.icon, iconSize[size]) }),
557
+ loading && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
469
558
  "svg",
470
559
  {
471
- className: (0, import_classnames3.default)(Button_module_default.loading, foregroundColor(color)),
560
+ className: (0, import_classnames4.default)(Button_module_default.loading, foregroundColor(color)),
472
561
  viewBox: "22 22 44 44",
473
562
  width: loadingIconSize[size],
474
563
  height: loadingIconSize[size],
475
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
564
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
476
565
  "circle",
477
566
  {
478
567
  className: Button_module_default.loadingCircle,
@@ -497,8 +586,8 @@ var Button_default = Button;
497
586
  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" };
498
587
 
499
588
  // src/ButtonGroup/ButtonGroup.tsx
500
- var import_classnames4 = __toESM(require_classnames());
501
- var import_jsx_runtime4 = require("react/jsx-runtime");
589
+ var import_classnames5 = __toESM(require_classnames());
590
+ var import_jsx_runtime6 = require("react/jsx-runtime");
502
591
  var gap = {
503
592
  ["sm"]: ButtonGroup_module_default.smallGap,
504
593
  ["md"]: ButtonGroup_module_default.mediumGap,
@@ -509,95 +598,33 @@ var ButtonGroup = ({
509
598
  size = "md",
510
599
  children
511
600
  }) => {
512
- const classnames2 = (0, import_classnames4.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
601
+ const classnames2 = (0, import_classnames5.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
513
602
  [ButtonGroup_module_default.horizontal]: orientation === "horizontal",
514
603
  [ButtonGroup_module_default.vertical]: orientation === "vertical"
515
604
  });
516
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: classnames2, children });
605
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: classnames2, children });
517
606
  };
518
607
  var ButtonGroup_default = ButtonGroup;
519
608
 
520
609
  // src/Card/Card.tsx
521
- var import_jsx_runtime5 = require("react/jsx-runtime");
610
+ var import_jsx_runtime7 = require("react/jsx-runtime");
522
611
  var Card = ({
523
612
  children
524
- }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Box_default, { rounding: "xl", padding: 7, smPadding: 9, backgroundColor: "white", children });
613
+ }) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Box_default, { rounding: "xl", padding: 7, smPadding: 9, backgroundColor: "white", children });
525
614
  var Card_default = Card;
526
615
 
527
616
  // css-module:./Divider.module.css#css-module
528
617
  var Divider_module_default = { "divider": "_divider_1ddgq_1" };
529
618
 
530
619
  // src/Divider/Divider.tsx
531
- var import_jsx_runtime6 = require("react/jsx-runtime");
620
+ var import_jsx_runtime8 = require("react/jsx-runtime");
532
621
  function Divider() {
533
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("hr", { className: Divider_module_default.divider });
622
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("hr", { className: Divider_module_default.divider });
534
623
  }
535
624
  Divider.displayName = "Divider";
536
625
 
537
- // src/Typography/Typography.tsx
538
- var import_classnames5 = __toESM(require_classnames());
539
-
540
- // css-module:./Typography.module.css#css-module
541
- 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" };
542
-
543
- // src/Typography/Typography.tsx
544
- var import_jsx_runtime7 = require("react/jsx-runtime");
545
- function textColor(color) {
546
- switch (color) {
547
- case "gray700":
548
- return colors_module_default.gray700Color;
549
- case "white":
550
- return colors_module_default.whiteColor;
551
- case "inherit":
552
- return colors_module_default.inheritColor;
553
- case "primary":
554
- return colors_module_default.primary700Color;
555
- case "destructive-primary":
556
- return colors_module_default.destructive700Color;
557
- default:
558
- return colors_module_default.gray900Color;
559
- }
560
- }
561
- var Typography = ({
562
- align = "start",
563
- as = "div",
564
- children,
565
- color = "gray900",
566
- inline = false,
567
- lineClamp = void 0,
568
- size = 200,
569
- tooltip,
570
- transform = "none",
571
- underline = false,
572
- weight = "regular"
573
- }) => {
574
- const Tag = as;
575
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
576
- Tag,
577
- {
578
- className: (0, import_classnames5.default)(
579
- Typography_module_default.typography,
580
- Typography_module_default[align],
581
- Typography_module_default[weight],
582
- textColor(color),
583
- inline && Typography_module_default.inline,
584
- Typography_module_default[`size${size}`],
585
- transform === "uppercase" && Typography_module_default.uppercase,
586
- underline && Typography_module_default.underline,
587
- lineClamp != null && Typography_module_default.lineClamp
588
- ),
589
- style: {
590
- WebkitLineClamp: lineClamp
591
- },
592
- title: tooltip,
593
- children
594
- }
595
- );
596
- };
597
- var Typography_default = Typography;
598
-
599
626
  // src/Heading/Heading.tsx
600
- var import_jsx_runtime8 = require("react/jsx-runtime");
627
+ var import_jsx_runtime9 = require("react/jsx-runtime");
601
628
  var Heading = ({
602
629
  align = "start",
603
630
  as = "h1",
@@ -606,7 +633,7 @@ var Heading = ({
606
633
  size = 500
607
634
  }) => {
608
635
  const weight = [700, 800].includes(size) ? "heavy" : "bold";
609
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Typography_default, { align, as, color, size, weight, children });
636
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Typography_default, { align, as, color, size, weight, children });
610
637
  };
611
638
  var Heading_default = Heading;
612
639
 
@@ -618,7 +645,7 @@ var import_react3 = require("react");
618
645
  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" };
619
646
 
620
647
  // src/IconButton/IconButton.tsx
621
- var import_jsx_runtime9 = require("react/jsx-runtime");
648
+ var import_jsx_runtime10 = require("react/jsx-runtime");
622
649
  var iconSize2 = {
623
650
  ["sm"]: IconButton_module_default.smIcon,
624
651
  ["md"]: IconButton_module_default.mdIcon,
@@ -634,7 +661,7 @@ var IconButton = (0, import_react3.forwardRef)(
634
661
  tooltip,
635
662
  onClick
636
663
  }, ref) => {
637
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
664
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
638
665
  "button",
639
666
  {
640
667
  "aria-label": accessibilityLabel,
@@ -649,7 +676,7 @@ var IconButton = (0, import_react3.forwardRef)(
649
676
  IconButton_module_default[size]
650
677
  ),
651
678
  ref,
652
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { className: iconSize2[size] })
679
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { className: iconSize2[size] })
653
680
  }
654
681
  );
655
682
  }
@@ -758,7 +785,7 @@ var Checkbox_module_default = { "mainContainer": "_mainContainer_1jq7b_1", "chec
758
785
  var Focus_module_default = { "accessibilityOutlineFocus": "_accessibilityOutlineFocus_1h8bq_1" };
759
786
 
760
787
  // src/Checkbox/Checkbox.tsx
761
- var import_jsx_runtime10 = require("react/jsx-runtime");
788
+ var import_jsx_runtime11 = require("react/jsx-runtime");
762
789
  var typographySize = {
763
790
  sm: 100,
764
791
  md: 200
@@ -788,9 +815,9 @@ var Checkbox = ({
788
815
  [Checkbox_module_default.checkedError]: error,
789
816
  [Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible2
790
817
  });
791
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("label", { className: (0, import_classnames7.default)(Checkbox_module_default.mainContainer), children: [
792
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: Checkbox_module_default.checkboxContainer, children: [
793
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
818
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("label", { className: (0, import_classnames7.default)(Checkbox_module_default.mainContainer), children: [
819
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: Checkbox_module_default.checkboxContainer, children: [
820
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
794
821
  "input",
795
822
  {
796
823
  type: "checkbox",
@@ -806,7 +833,7 @@ var Checkbox = ({
806
833
  }
807
834
  }
808
835
  ),
809
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: checked ? checkedStyling : uncheckedStyling, children: checked && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
836
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: checked ? checkedStyling : uncheckedStyling, children: checked && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
810
837
  "path",
811
838
  {
812
839
  fill: "#fff",
@@ -814,7 +841,7 @@ var Checkbox = ({
814
841
  }
815
842
  ) }) })
816
843
  ] }),
817
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
844
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
818
845
  Typography_default,
819
846
  {
820
847
  size: typographySize[size],
@@ -830,10 +857,10 @@ var Checkbox_default = Checkbox;
830
857
  var MiniActionCard_module_default = { "miniActionCard": "_miniActionCard_qebkn_1", "card": "_card_qebkn_9" };
831
858
 
832
859
  // src/MiniActionCard/MiniActionCard.tsx
833
- var import_jsx_runtime11 = require("react/jsx-runtime");
860
+ var import_jsx_runtime12 = require("react/jsx-runtime");
834
861
  var MiniActionCard = ({
835
862
  children
836
- }) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: MiniActionCard_module_default.miniActionCard, children });
863
+ }) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: MiniActionCard_module_default.miniActionCard, children });
837
864
  var MiniActionCard_default = MiniActionCard;
838
865
 
839
866
  // src/RadioButton/RadioButton.tsx
@@ -844,7 +871,7 @@ var import_classnames8 = __toESM(require_classnames());
844
871
  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" };
845
872
 
846
873
  // src/RadioButton/RadioButton.tsx
847
- var import_jsx_runtime12 = require("react/jsx-runtime");
874
+ var import_jsx_runtime13 = require("react/jsx-runtime");
848
875
  var RadioButton = ({
849
876
  checked = false,
850
877
  disabled = false,
@@ -862,7 +889,7 @@ var RadioButton = ({
862
889
  [RadioButton_module_default.borderColor]: !error,
863
890
  [Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible2
864
891
  });
865
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
892
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
866
893
  "label",
867
894
  {
868
895
  className: (0, import_classnames8.default)(RadioButton_module_default.radioBaseContainer, {
@@ -870,7 +897,7 @@ var RadioButton = ({
870
897
  [RadioButton_module_default.mdBase]: size === "md"
871
898
  }),
872
899
  children: [
873
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
900
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
874
901
  "input",
875
902
  {
876
903
  type: "radio",
@@ -891,7 +918,7 @@ var RadioButton = ({
891
918
  }
892
919
  }
893
920
  ),
894
- checked ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
921
+ checked ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
895
922
  "div",
896
923
  {
897
924
  className: (0, import_classnames8.default)(sharedStyles, {
@@ -899,8 +926,8 @@ var RadioButton = ({
899
926
  [RadioButton_module_default.smCheckedBorder]: size === "sm"
900
927
  })
901
928
  }
902
- ) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: (0, import_classnames8.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
903
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
929
+ ) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: (0, import_classnames8.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
930
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
904
931
  Typography_default,
905
932
  {
906
933
  size: size === "md" ? 200 : 100,
@@ -926,12 +953,12 @@ var ColorBaseGray800 = "#353535";
926
953
  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" };
927
954
 
928
955
  // src/SelectList/SelectOption.tsx
929
- var import_jsx_runtime13 = require("react/jsx-runtime");
956
+ var import_jsx_runtime14 = require("react/jsx-runtime");
930
957
  var SelectOption = ({
931
958
  value,
932
959
  label,
933
960
  disabled = false
934
- }) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
961
+ }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
935
962
  "option",
936
963
  {
937
964
  "data-testid": `syntax-select-${value}`,
@@ -943,7 +970,7 @@ var SelectOption = ({
943
970
  var SelectOption_default = SelectOption;
944
971
 
945
972
  // src/SelectList/SelectList.tsx
946
- var import_jsx_runtime14 = require("react/jsx-runtime");
973
+ var import_jsx_runtime15 = require("react/jsx-runtime");
947
974
  var iconSize3 = {
948
975
  sm: 20,
949
976
  md: 24,
@@ -963,16 +990,16 @@ var SelectList = ({
963
990
  const id = (0, import_react7.useId)();
964
991
  const { isFocusVisible: isFocusVisible2 } = useFocusVisible();
965
992
  const [isFocused, setIsFocused] = (0, import_react7.useState)(false);
966
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
993
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
967
994
  "div",
968
995
  {
969
996
  className: (0, import_classnames9.default)(SelectList_module_default.selectContainer, {
970
997
  [SelectList_module_default.opacityOverlay]: disabled
971
998
  }),
972
999
  children: [
973
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typography_default, { size: 100, color: "gray700", children: label }) }),
974
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: SelectList_module_default.selectWrapper, children: [
975
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1000
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography_default, { size: 100, color: "gray700", children: label }) }),
1001
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: SelectList_module_default.selectWrapper, children: [
1002
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
976
1003
  "select",
977
1004
  {
978
1005
  id,
@@ -992,19 +1019,19 @@ var SelectList = ({
992
1019
  onFocus: () => setIsFocused(true),
993
1020
  onBlur: () => setIsFocused(false),
994
1021
  children: [
995
- placeholderText && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("option", { disabled: true, value: placeholderText, children: placeholderText }),
1022
+ placeholderText && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("option", { disabled: true, value: placeholderText, children: placeholderText }),
996
1023
  children
997
1024
  ]
998
1025
  }
999
1026
  ),
1000
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: SelectList_module_default.arrowIcon, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1027
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: SelectList_module_default.arrowIcon, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1001
1028
  "svg",
1002
1029
  {
1003
1030
  focusable: "false",
1004
1031
  "aria-hidden": "true",
1005
1032
  viewBox: "0 0 24 24",
1006
1033
  width: iconSize3[size],
1007
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1034
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1008
1035
  "path",
1009
1036
  {
1010
1037
  fill: errorText ? ColorBaseDestructive700 : ColorBaseGray800,
@@ -1014,7 +1041,7 @@ var SelectList = ({
1014
1041
  }
1015
1042
  ) })
1016
1043
  ] }),
1017
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1044
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1018
1045
  Typography_default,
1019
1046
  {
1020
1047
  size: 100,
@@ -1031,6 +1058,7 @@ SelectList.Option = SelectOption_default;
1031
1058
  // Annotate the CommonJS export names for ESM import in node:
1032
1059
  0 && (module.exports = {
1033
1060
  Avatar,
1061
+ Badge,
1034
1062
  Box,
1035
1063
  Button,
1036
1064
  ButtonGroup,