@cambly/syntax-core 2.8.0 → 2.10.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
@@ -384,7 +384,7 @@ ButtonGroupContext.displayName = "ButtonGroupContext";
384
384
  var ButtonGroupContext_default = ButtonGroupContext;
385
385
 
386
386
  // css-module:./Button.module.css#css-module
387
- var Button_module_default = { "button": "_button_1p2nl_1", "buttonGap": "_buttonGap_1p2nl_9", "fullWidth": "_fullWidth_1p2nl_50", "sm": "_sm_1p2nl_54", "md": "_md_1p2nl_61", "lg": "_lg_1p2nl_68", "icon": "_icon_1p2nl_75", "smIcon": "_smIcon_1p2nl_79", "mdIcon": "_mdIcon_1p2nl_86", "lgIcon": "_lgIcon_1p2nl_93", "textContainer": "_textContainer_1p2nl_100", "loading": "_loading_1p2nl_115", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1p2nl_1", "loadingCircle": "_loadingCircle_1p2nl_119", "buttonText": "_buttonText_1p2nl_127", "buttonTextSmall": "_buttonTextSmall_1p2nl_134", "buttonTextMedium": "_buttonTextMedium_1p2nl_138", "buttonTextLarge": "_buttonTextLarge_1p2nl_142" };
387
+ 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" };
388
388
 
389
389
  // src/Button/Button.tsx
390
390
  import { jsx as jsx3, jsxs } from "react/jsx-runtime";
@@ -437,7 +437,9 @@ var Button = ({
437
437
  Button_module_default[size],
438
438
  {
439
439
  [Button_module_default.fullWidth]: fullWidth,
440
- [Button_module_default.buttonGap]: size === "lg" || size === "md"
440
+ [Button_module_default.buttonGap]: size === "lg" || size === "md",
441
+ [Button_module_default.secondaryBorder]: color === "secondary",
442
+ [Button_module_default.secondaryDestructiveBorder]: color === "destructive-secondary"
441
443
  }
442
444
  ),
443
445
  children: [