@cambly/syntax-core 6.6.0 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +39 -33
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -492,7 +492,7 @@ function foregroundTypographyColor(color) {
|
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
// css-module:../Button.module.css#css-module
|
|
495
|
-
var Button_module_default = { "button": "
|
|
495
|
+
var Button_module_default = { "button": "_button_1iunh_1", "buttonGap": "_buttonGap_1iunh_9", "fullWidth": "_fullWidth_1iunh_50", "sm": "_sm_1iunh_54", "md": "_md_1iunh_61", "lg": "_lg_1iunh_68", "icon": "_icon_1iunh_75", "smIcon": "_smIcon_1iunh_79", "mdIcon": "_mdIcon_1iunh_86", "lgIcon": "_lgIcon_1iunh_93", "secondaryBorder": "_secondaryBorder_1iunh_100", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_1iunh_104", "loading": "_loading_1iunh_118", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1iunh_1", "loadingCircle": "_loadingCircle_1iunh_122" };
|
|
496
496
|
|
|
497
497
|
// src/Button/constants/iconSize.ts
|
|
498
498
|
var iconSize = {
|
|
@@ -519,7 +519,7 @@ var loadingIconSize = {
|
|
|
519
519
|
var loadingIconSize_default = loadingIconSize;
|
|
520
520
|
|
|
521
521
|
// css-module:./Button.module.css#css-module
|
|
522
|
-
var Button_module_default2 = { "button": "
|
|
522
|
+
var Button_module_default2 = { "button": "_button_1iunh_1", "buttonGap": "_buttonGap_1iunh_9", "fullWidth": "_fullWidth_1iunh_50", "sm": "_sm_1iunh_54", "md": "_md_1iunh_61", "lg": "_lg_1iunh_68", "icon": "_icon_1iunh_75", "smIcon": "_smIcon_1iunh_79", "mdIcon": "_mdIcon_1iunh_86", "lgIcon": "_lgIcon_1iunh_93", "secondaryBorder": "_secondaryBorder_1iunh_100", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_1iunh_104", "loading": "_loading_1iunh_118", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1iunh_1", "loadingCircle": "_loadingCircle_1iunh_122" };
|
|
523
523
|
|
|
524
524
|
// src/Button/Button.tsx
|
|
525
525
|
import { jsx as jsx5, jsxs } from "react/jsx-runtime";
|
|
@@ -865,7 +865,7 @@ var import_classnames7 = __toESM(require_classnames());
|
|
|
865
865
|
import { forwardRef as forwardRef3 } from "react";
|
|
866
866
|
|
|
867
867
|
// css-module:./IconButton.module.css#css-module
|
|
868
|
-
var IconButton_module_default = { "iconButton": "
|
|
868
|
+
var IconButton_module_default = { "iconButton": "_iconButton_4e8qe_1", "sm": "_sm_4e8qe_46", "md": "_md_4e8qe_51", "lg": "_lg_4e8qe_56", "smIcon": "_smIcon_4e8qe_61", "mdIcon": "_mdIcon_4e8qe_68", "lgIcon": "_lgIcon_4e8qe_75", "secondaryBorder": "_secondaryBorder_4e8qe_82", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_4e8qe_86" };
|
|
869
869
|
|
|
870
870
|
// src/IconButton/IconButton.tsx
|
|
871
871
|
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
@@ -898,7 +898,11 @@ var IconButton = forwardRef3(
|
|
|
898
898
|
IconButton_module_default.iconButton,
|
|
899
899
|
foregroundColor(color),
|
|
900
900
|
backgroundColor(color),
|
|
901
|
-
IconButton_module_default[size]
|
|
901
|
+
IconButton_module_default[size],
|
|
902
|
+
{
|
|
903
|
+
[IconButton_module_default.secondaryBorder]: color === "secondary",
|
|
904
|
+
[IconButton_module_default.secondaryDestructiveBorder]: color === "destructive-secondary"
|
|
905
|
+
}
|
|
902
906
|
),
|
|
903
907
|
ref,
|
|
904
908
|
children: /* @__PURE__ */ jsx11(Icon, { className: iconSize2[size] })
|
|
@@ -913,7 +917,7 @@ var IconButton_default = IconButton;
|
|
|
913
917
|
var import_classnames8 = __toESM(require_classnames());
|
|
914
918
|
|
|
915
919
|
// css-module:../Button/Button.module.css#css-module
|
|
916
|
-
var Button_module_default3 = { "button": "
|
|
920
|
+
var Button_module_default3 = { "button": "_button_1iunh_1", "buttonGap": "_buttonGap_1iunh_9", "fullWidth": "_fullWidth_1iunh_50", "sm": "_sm_1iunh_54", "md": "_md_1iunh_61", "lg": "_lg_1iunh_68", "icon": "_icon_1iunh_75", "smIcon": "_smIcon_1iunh_79", "mdIcon": "_mdIcon_1iunh_86", "lgIcon": "_lgIcon_1iunh_93", "secondaryBorder": "_secondaryBorder_1iunh_100", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_1iunh_104", "loading": "_loading_1iunh_118", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1iunh_1", "loadingCircle": "_loadingCircle_1iunh_122" };
|
|
917
921
|
|
|
918
922
|
// css-module:./LinkButton.module.css#css-module
|
|
919
923
|
var LinkButton_module_default = { "linkButton": "_linkButton_1b3ot_1", "fitContent": "_fitContent_1b3ot_10" };
|