@cambly/syntax-core 18.2.0 → 18.3.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.
Files changed (100) hide show
  1. package/dist/Avatar/Avatar.d.ts +1 -1
  2. package/dist/Badge/Badge.d.ts +1 -1
  3. package/dist/Button/Button.cjs +3 -3
  4. package/dist/Button/Button.css +22 -22
  5. package/dist/Button/Button.css.map +1 -1
  6. package/dist/Button/Button.js +2 -2
  7. package/dist/Button/constants/iconSize.cjs +2 -2
  8. package/dist/Button/constants/iconSize.css +22 -22
  9. package/dist/Button/constants/iconSize.css.map +1 -1
  10. package/dist/Button/constants/iconSize.js +1 -1
  11. package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
  12. package/dist/Checkbox/Checkbox.d.ts +1 -1
  13. package/dist/Dialog/ModalDialog.cjs +4 -4
  14. package/dist/Dialog/ModalDialog.css +22 -22
  15. package/dist/Dialog/ModalDialog.css.map +1 -1
  16. package/dist/Dialog/ModalDialog.js +3 -3
  17. package/dist/Heading/Heading.d.ts +1 -1
  18. package/dist/IconButton/IconButton.cjs +3 -3
  19. package/dist/IconButton/IconButton.css +22 -22
  20. package/dist/IconButton/IconButton.css.map +1 -1
  21. package/dist/IconButton/IconButton.js +2 -2
  22. package/dist/LinkButton/LinkButton.cjs +3 -3
  23. package/dist/LinkButton/LinkButton.css +22 -22
  24. package/dist/LinkButton/LinkButton.css.map +1 -1
  25. package/dist/LinkButton/LinkButton.js +2 -2
  26. package/dist/Modal/Modal.cjs +4 -4
  27. package/dist/Modal/Modal.css +22 -22
  28. package/dist/Modal/Modal.css.map +1 -1
  29. package/dist/Modal/Modal.js +3 -3
  30. package/dist/Popover/Popover.cjs +5 -5
  31. package/dist/Popover/Popover.css +22 -22
  32. package/dist/Popover/Popover.css.map +1 -1
  33. package/dist/Popover/Popover.js +4 -4
  34. package/dist/RadioButton/RadioButton.d.ts +1 -1
  35. package/dist/RichSelect/RichSelectBox.cjs +4 -4
  36. package/dist/RichSelect/RichSelectBox.css +22 -22
  37. package/dist/RichSelect/RichSelectBox.css.map +1 -1
  38. package/dist/RichSelect/RichSelectBox.d.ts +1 -1
  39. package/dist/RichSelect/RichSelectBox.js +3 -3
  40. package/dist/RichSelect/RichSelectList.cjs +9 -9
  41. package/dist/RichSelect/RichSelectList.css +22 -22
  42. package/dist/RichSelect/RichSelectList.css.map +1 -1
  43. package/dist/RichSelect/RichSelectList.d.ts +1 -1
  44. package/dist/RichSelect/RichSelectList.js +8 -8
  45. package/dist/RichSelect/RichSelectRadioButton.d.ts +1 -1
  46. package/dist/SelectList/SelectList.cjs +3 -3
  47. package/dist/SelectList/SelectList.js +2 -2
  48. package/dist/TapArea/TapArea.d.ts +1 -1
  49. package/dist/Typography/Typography.d.ts +1 -1
  50. package/dist/__chunks/{32CNLC3O.cjs → 325VK7L2.cjs} +3 -3
  51. package/dist/__chunks/{WJMQX7BT.js → 3A6QVJ43.js} +2 -2
  52. package/dist/__chunks/{C22XFS4G.js → 42LZ6YP3.js} +2 -2
  53. package/dist/__chunks/{TGVUPAOJ.js → 572U5GX5.js} +2 -2
  54. package/dist/__chunks/{ABFXR32K.js → 5QPF5U2V.js} +3 -3
  55. package/dist/__chunks/{ABFXR32K.js.map → 5QPF5U2V.js.map} +1 -1
  56. package/dist/__chunks/{X6XQ2P7Y.cjs → 6JEGAMYW.cjs} +7 -7
  57. package/dist/__chunks/{X6XQ2P7Y.cjs.map → 6JEGAMYW.cjs.map} +1 -1
  58. package/dist/__chunks/{QFAVMHP7.cjs → 7ZSZT5AE.cjs} +1 -1
  59. package/dist/__chunks/{QFAVMHP7.cjs.map → 7ZSZT5AE.cjs.map} +1 -1
  60. package/dist/__chunks/{C56KH2IB.js → ASKKVHEA.js} +2 -2
  61. package/dist/__chunks/{ZGOHDWOB.cjs → DOYGRWJR.cjs} +4 -4
  62. package/dist/__chunks/{PL26LIZU.cjs → DX4XKSUL.cjs} +10 -10
  63. package/dist/__chunks/EGB44W5V.cjs +22 -0
  64. package/dist/__chunks/{4Y7TNMFL.cjs.map → EGB44W5V.cjs.map} +1 -1
  65. package/dist/__chunks/{IAPKNBLZ.js → GN5VNYV3.js} +3 -3
  66. package/dist/__chunks/{IAPKNBLZ.js.map → GN5VNYV3.js.map} +1 -1
  67. package/dist/__chunks/{F5FOZNTK.js → HPCC6K5T.js} +2 -2
  68. package/dist/__chunks/{GW6SAUW3.cjs → IBNQI7PM.cjs} +4 -4
  69. package/dist/__chunks/{DJ6I4764.js → JITGKYWW.js} +2 -2
  70. package/dist/__chunks/{T6HS7FEY.cjs → K4QY6POL.cjs} +7 -7
  71. package/dist/__chunks/{T6HS7FEY.cjs.map → K4QY6POL.cjs.map} +1 -1
  72. package/dist/__chunks/{FTXYKEQI.js → K6B6RNZA.js} +1 -1
  73. package/dist/__chunks/{FTXYKEQI.js.map → K6B6RNZA.js.map} +1 -1
  74. package/dist/__chunks/{WEOENL5J.cjs → KXPCTYHD.cjs} +3 -3
  75. package/dist/__chunks/{EGAJ7S43.js → NTIK3YXD.js} +4 -4
  76. package/dist/__chunks/TLUQZXLV.js +22 -0
  77. package/dist/__chunks/{EH75XYWO.js.map → TLUQZXLV.js.map} +1 -1
  78. package/dist/__chunks/{PN5H4EFM.cjs → XDQTI6T5.cjs} +3 -3
  79. package/dist/__chunks/{VCGJYZYA.cjs → YRFKC6UH.cjs} +3 -3
  80. package/dist/index.cjs +12 -12
  81. package/dist/index.css +22 -22
  82. package/dist/index.css.map +1 -1
  83. package/dist/index.js +11 -11
  84. package/package.json +3 -3
  85. package/dist/__chunks/4Y7TNMFL.cjs +0 -22
  86. package/dist/__chunks/EH75XYWO.js +0 -22
  87. /package/dist/__chunks/{32CNLC3O.cjs.map → 325VK7L2.cjs.map} +0 -0
  88. /package/dist/__chunks/{WJMQX7BT.js.map → 3A6QVJ43.js.map} +0 -0
  89. /package/dist/__chunks/{C22XFS4G.js.map → 42LZ6YP3.js.map} +0 -0
  90. /package/dist/__chunks/{TGVUPAOJ.js.map → 572U5GX5.js.map} +0 -0
  91. /package/dist/__chunks/{C56KH2IB.js.map → ASKKVHEA.js.map} +0 -0
  92. /package/dist/__chunks/{ZGOHDWOB.cjs.map → DOYGRWJR.cjs.map} +0 -0
  93. /package/dist/__chunks/{PL26LIZU.cjs.map → DX4XKSUL.cjs.map} +0 -0
  94. /package/dist/__chunks/{F5FOZNTK.js.map → HPCC6K5T.js.map} +0 -0
  95. /package/dist/__chunks/{GW6SAUW3.cjs.map → IBNQI7PM.cjs.map} +0 -0
  96. /package/dist/__chunks/{DJ6I4764.js.map → JITGKYWW.js.map} +0 -0
  97. /package/dist/__chunks/{WEOENL5J.cjs.map → KXPCTYHD.cjs.map} +0 -0
  98. /package/dist/__chunks/{EGAJ7S43.js.map → NTIK3YXD.js.map} +0 -0
  99. /package/dist/__chunks/{PN5H4EFM.cjs.map → XDQTI6T5.cjs.map} +0 -0
  100. /package/dist/__chunks/{VCGJYZYA.cjs.map → YRFKC6UH.cjs.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Fri, 12 Jul 2024 19:57:36 GMT\n */\n\nexport const ColorBaseBlack = \"#000000\";\nexport const ColorBaseDestructive100 = \"#fef3f5\";\nexport const ColorBaseDestructive200 = \"#fad6de\";\nexport const ColorBaseDestructive300 = \"#f2a2b2\";\nexport const ColorBaseDestructive700 = \"#d32a4b\";\nexport const ColorBaseDestructive800 = \"#81162c\";\nexport const ColorBaseDestructive900 = \"#55101d\";\nexport const ColorBaseGray10 = \"#cbcbcb\"; // Used as the default color for dividers and inner strokes\nexport const ColorBaseGray30 = \"#000000\"; // For IconButton background when on top of an image\nexport const ColorBaseGray60 = \"#000000\"; // Used for icon background in classroom video grid\nexport const ColorBaseGray80 = \"#000000\"; // Used as the background for modals\nexport const ColorBaseGray100 = \"#f7f7f7\";\nexport const ColorBaseGray200 = \"#f0f0f0\"; // Used for light mode backgrounds when showing card content on top\nexport const ColorBaseGray300 = \"#d0d0d0\"; // Used for component outlines, eg: select and textfield\nexport const ColorBaseGray700 = \"#767676\"; // For secondary text in light mode\nexport const ColorBaseGray800 = \"#353535\";\nexport const ColorBaseGray900 = \"#191919\"; // Default text color, Classroom background\nexport const ColorBaseOrange100 = \"#fdf2f0\";\nexport const ColorBaseOrange200 = \"#f6cdc4\";\nexport const ColorBaseOrange300 = \"#ec9987\";\nexport const ColorBaseOrange700 = \"#c34124\";\nexport const ColorBaseOrange800 = \"#732818\";\nexport const ColorBaseOrange900 = \"#4d1a10\";\nexport const ColorBasePrimary100 = \"#eff6fa\";\nexport const ColorBasePrimary200 = \"#c1dbe7\";\nexport const ColorBasePrimary300 = \"#84b7d0\";\nexport const ColorBasePrimary700 = \"#236482\";\nexport const ColorBasePrimary800 = \"#274858\";\nexport const ColorBasePrimary900 = \"#1b303b\";\nexport const ColorBaseSuccess100 = \"#eff7f1\";\nexport const ColorBaseSuccess200 = \"#bddcc6\";\nexport const ColorBaseSuccess300 = \"#81ba92\";\nexport const ColorBaseSuccess700 = \"#397b4d\";\nexport const ColorBaseSuccess800 = \"#2d4936\";\nexport const ColorBaseSuccess900 = \"#1e3124\";\nexport const ColorBasePurple100 = \"#f9f5fa\";\nexport const ColorBasePurple200 = \"#e8dceb\";\nexport const ColorBasePurple300 = \"#cdb4d3\";\nexport const ColorBasePurple700 = \"#8b5f95\";\nexport const ColorBasePurple800 = \"#523b58\";\nexport const ColorBasePurple900 = \"#37273b\";\nexport const ColorBaseYellow100 = \"#fdf5d9\";\nexport const ColorBaseYellow200 = \"#fbe8a3\";\nexport const ColorBaseYellow300 = \"#f8d663\";\nexport const ColorBaseYellow700 = \"#ffc929\";\nexport const ColorBaseYellow800 = \"#765f1c\";\nexport const ColorBaseYellow900 = \"#3b3009\";\nexport const ColorBaseWhite = \"#ffffff\";\nexport const ColorCambioBlack = \"#050500\";\nexport const ColorCambioWhite40 = \"#ffffff\";\nexport const ColorCambioWhite70 = \"#ffffff\";\nexport const ColorCambioWhite100 = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray270 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#5e5952\";\nexport const ColorCambioGray800 = \"#363432\";\nexport const ColorCambioGray870 = \"#5e5952\";\nexport const ColorCambioGray900 = \"#262625\";\nexport const ColorCambioDestructive100 = \"#ffdeda\";\nexport const ColorCambioDestructive300 = \"#ff8071\";\nexport const ColorCambioDestructive370 = \"#ff8071\";\nexport const ColorCambioDestructive700 = \"#c93f32\";\nexport const ColorCambioDestructive770 = \"#c93f32\";\nexport const ColorCambioDestructive900 = \"#6d0002\";\nexport const ColorCambioSuccess100 = \"#daf2c8\";\nexport const ColorCambioSuccess300 = \"#84ce64\";\nexport const ColorCambioSuccess370 = \"#84ce64\";\nexport const ColorCambioSuccess700 = \"#3c7f20\";\nexport const ColorCambioSuccess770 = \"#3c7f20\";\nexport const ColorCambioSuccess900 = \"#103e00\";\nexport const ColorCambioRed = \"#f56e56\";\nexport const ColorCambioOrange = \"#ff8f57\";\nexport const ColorCambioTan = \"#ffb47d\";\nexport const ColorCambioCream = \"#fffad1\";\nexport const ColorCambioPurple = \"#6840a8\";\nexport const ColorCambioLilac = \"#b59ef0\";\nexport const ColorCambioThistle = \"#d69ca4\";\nexport const ColorCambioPink = \"#ffccea\";\nexport const ColorCambioNavy = \"#191142\";\nexport const ColorCambioTeal = \"#44a6cf\";\nexport const ColorCambioSlate = \"#7c9fc6\";\nexport const ColorCambioSky = \"#b1e8fc\";\nexport const ColorCambioYellow700 = \"#ffe733\";\nexport const ColorCambioTransparentFull = \"#000000\";\nexport const Elevation400 = \"0px 16px 32px 0px #00000040\";\nexport const SyntaxFontSansSerif = \"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\";\nexport const ShadowInteractive = \"0px 3px 16px 0px rgba(144, 134, 130, 0.05), 0px 2px 30px 0px rgba(144, 134, 130, 0.02)\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB;","names":[]}
1
+ {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Tue, 16 Jul 2024 18:41:25 GMT\n */\n\nexport const ColorBaseBlack = \"#000000\";\nexport const ColorBaseDestructive100 = \"#fef3f5\";\nexport const ColorBaseDestructive200 = \"#fad6de\";\nexport const ColorBaseDestructive300 = \"#f2a2b2\";\nexport const ColorBaseDestructive700 = \"#d32a4b\";\nexport const ColorBaseDestructive800 = \"#81162c\";\nexport const ColorBaseDestructive900 = \"#55101d\";\nexport const ColorBaseGray10 = \"#cbcbcb\"; // Used as the default color for dividers and inner strokes\nexport const ColorBaseGray30 = \"#000000\"; // For IconButton background when on top of an image\nexport const ColorBaseGray60 = \"#000000\"; // Used for icon background in classroom video grid\nexport const ColorBaseGray80 = \"#000000\"; // Used as the background for modals\nexport const ColorBaseGray100 = \"#f7f7f7\";\nexport const ColorBaseGray200 = \"#f0f0f0\"; // Used for light mode backgrounds when showing card content on top\nexport const ColorBaseGray300 = \"#d0d0d0\"; // Used for component outlines, eg: select and textfield\nexport const ColorBaseGray700 = \"#767676\"; // For secondary text in light mode\nexport const ColorBaseGray800 = \"#353535\";\nexport const ColorBaseGray900 = \"#191919\"; // Default text color, Classroom background\nexport const ColorBaseOrange100 = \"#fdf2f0\";\nexport const ColorBaseOrange200 = \"#f6cdc4\";\nexport const ColorBaseOrange300 = \"#ec9987\";\nexport const ColorBaseOrange700 = \"#c34124\";\nexport const ColorBaseOrange800 = \"#732818\";\nexport const ColorBaseOrange900 = \"#4d1a10\";\nexport const ColorBasePrimary100 = \"#eff6fa\";\nexport const ColorBasePrimary200 = \"#c1dbe7\";\nexport const ColorBasePrimary300 = \"#84b7d0\";\nexport const ColorBasePrimary700 = \"#236482\";\nexport const ColorBasePrimary800 = \"#274858\";\nexport const ColorBasePrimary900 = \"#1b303b\";\nexport const ColorBaseSuccess100 = \"#eff7f1\";\nexport const ColorBaseSuccess200 = \"#bddcc6\";\nexport const ColorBaseSuccess300 = \"#81ba92\";\nexport const ColorBaseSuccess700 = \"#397b4d\";\nexport const ColorBaseSuccess800 = \"#2d4936\";\nexport const ColorBaseSuccess900 = \"#1e3124\";\nexport const ColorBasePurple100 = \"#f9f5fa\";\nexport const ColorBasePurple200 = \"#e8dceb\";\nexport const ColorBasePurple300 = \"#cdb4d3\";\nexport const ColorBasePurple700 = \"#8b5f95\";\nexport const ColorBasePurple800 = \"#523b58\";\nexport const ColorBasePurple900 = \"#37273b\";\nexport const ColorBaseYellow100 = \"#fdf5d9\";\nexport const ColorBaseYellow200 = \"#fbe8a3\";\nexport const ColorBaseYellow300 = \"#f8d663\";\nexport const ColorBaseYellow700 = \"#ffc929\";\nexport const ColorBaseYellow800 = \"#765f1c\";\nexport const ColorBaseYellow900 = \"#3b3009\";\nexport const ColorBaseWhite = \"#ffffff\";\nexport const ColorCambioBlack = \"#050500\";\nexport const ColorCambioWhite40 = \"#ffffff\";\nexport const ColorCambioWhite70 = \"#ffffff\";\nexport const ColorCambioWhite100 = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray270 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#5e5952\";\nexport const ColorCambioGray800 = \"#363432\";\nexport const ColorCambioGray870 = \"#5e5952\";\nexport const ColorCambioGray900 = \"#262625\";\nexport const ColorCambioDestructive100 = \"#ffdeda\";\nexport const ColorCambioDestructive300 = \"#ff8071\";\nexport const ColorCambioDestructive370 = \"#ff8071\";\nexport const ColorCambioDestructive700 = \"#c93f32\";\nexport const ColorCambioDestructive770 = \"#c93f32\";\nexport const ColorCambioDestructive900 = \"#6d0002\";\nexport const ColorCambioSuccess100 = \"#daf2c8\";\nexport const ColorCambioSuccess300 = \"#84ce64\";\nexport const ColorCambioSuccess370 = \"#84ce64\";\nexport const ColorCambioSuccess700 = \"#3c7f20\";\nexport const ColorCambioSuccess770 = \"#3c7f20\";\nexport const ColorCambioSuccess900 = \"#103e00\";\nexport const ColorCambioRed = \"#f56e56\";\nexport const ColorCambioOrange = \"#ff8f57\";\nexport const ColorCambioTan = \"#ffb47d\";\nexport const ColorCambioCream = \"#fffad1\";\nexport const ColorCambioPurple = \"#6840a8\";\nexport const ColorCambioLilac = \"#b59ef0\";\nexport const ColorCambioThistle = \"#d69ca4\";\nexport const ColorCambioPink = \"#ffccea\";\nexport const ColorCambioNavy = \"#191142\";\nexport const ColorCambioTeal = \"#44a6cf\";\nexport const ColorCambioSlate = \"#7c9fc6\";\nexport const ColorCambioSky = \"#b1e8fc\";\nexport const ColorCambioYellow700 = \"#ffe733\";\nexport const ColorCambioTransparentFull = \"#000000\";\nexport const Elevation400 = \"0px 16px 32px 0px #00000040\";\nexport const SyntaxFontSansSerif = \"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\";\nexport const ShadowInteractive = \"0px 3px 16px 0px rgba(144, 134, 130, 0.05), 0px 2px 30px 0px rgba(144, 134, 130, 0.02)\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAWhC,IAAM,mBAAmB;","names":[]}
@@ -4,7 +4,7 @@
4
4
  var _J27AGJQBcjs = require('./J27AGJQB.cjs');
5
5
 
6
6
 
7
- var _ZGOHDWOBcjs = require('./ZGOHDWOB.cjs');
7
+ var _DOYGRWJRcjs = require('./DOYGRWJR.cjs');
8
8
 
9
9
 
10
10
  var _KJLBDAZHcjs = require('./KJLBDAZH.cjs');
@@ -130,7 +130,7 @@ var ModalDialog = _react.forwardRef.call(void 0,
130
130
  }
131
131
  },
132
132
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
133
- _ZGOHDWOBcjs.IconButton_default,
133
+ _DOYGRWJRcjs.IconButton_default,
134
134
  {
135
135
  onClick: () => state.close(),
136
136
  color: "tertiary",
@@ -157,4 +157,4 @@ var ModalDialog_default = ModalDialog;
157
157
 
158
158
 
159
159
  exports.AriaModalOverlay = AriaModalOverlay; exports.AriaModal = AriaModal; exports.ModalDialog_default = ModalDialog_default;
160
- //# sourceMappingURL=WEOENL5J.cjs.map
160
+ //# sourceMappingURL=KXPCTYHD.cjs.map
@@ -1,19 +1,19 @@
1
1
  "use client"
2
2
  import {
3
3
  Popover_default
4
- } from "./C22XFS4G.js";
4
+ } from "./42LZ6YP3.js";
5
5
  import {
6
6
  DialogContext
7
7
  } from "./5HEC7ASW.js";
8
8
  import {
9
9
  ColorBaseDestructive700,
10
10
  ColorBaseGray800
11
- } from "./FTXYKEQI.js";
11
+ } from "./K6B6RNZA.js";
12
12
  import {
13
13
  RichSelectBoxContext,
14
14
  RichSelectBox_default,
15
15
  convertSelection
16
- } from "./C56KH2IB.js";
16
+ } from "./ASKKVHEA.js";
17
17
  import {
18
18
  RichSelectSection_default
19
19
  } from "./YPUA2AJT.js";
@@ -267,4 +267,4 @@ var RichSelectList_default = Object.assign(RichSelectList, {
267
267
  export {
268
268
  RichSelectList_default
269
269
  };
270
- //# sourceMappingURL=EGAJ7S43.js.map
270
+ //# sourceMappingURL=NTIK3YXD.js.map
@@ -0,0 +1,22 @@
1
+ "use client"
2
+
3
+ // css-module:../Button.module.css#css-module
4
+ var Button_module_default = { "button": "_button_17niw_1", "buttonGap": "_buttonGap_17niw_8", "disabled": "_disabled_17niw_42", "disabledPrimary": "_disabledPrimary_17niw_49", "fullWidth": "_fullWidth_17niw_53", "sm": "_sm_17niw_57", "md": "_md_17niw_64", "lg": "_lg_17niw_71", "icon": "_icon_17niw_78", "smIcon": "_smIcon_17niw_82", "mdIcon": "_mdIcon_17niw_89", "lgIcon": "_lgIcon_17niw_96", "loading": "_loading_17niw_113", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_17niw_1", "loadingCircle": "_loadingCircle_17niw_117" };
5
+
6
+ // src/Button/constants/iconSize.ts
7
+ var materialIconSize = {
8
+ sm: Button_module_default.smIcon,
9
+ md: Button_module_default.mdIcon,
10
+ lg: Button_module_default.lgIcon
11
+ };
12
+ var internalIconSize = {
13
+ sm: 100,
14
+ md: 200,
15
+ lg: 300
16
+ };
17
+
18
+ export {
19
+ materialIconSize,
20
+ internalIconSize
21
+ };
22
+ //# sourceMappingURL=TLUQZXLV.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["css-module:../Button.module.css#css-module","../../src/Button/constants/iconSize.ts"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_hjka3_1\",\"buttonGap\":\"_buttonGap_hjka3_8\",\"disabled\":\"_disabled_hjka3_42\",\"disabledPrimary\":\"_disabledPrimary_hjka3_49\",\"fullWidth\":\"_fullWidth_hjka3_53\",\"sm\":\"_sm_hjka3_57\",\"md\":\"_md_hjka3_64\",\"lg\":\"_lg_hjka3_71\",\"icon\":\"_icon_hjka3_78\",\"smIcon\":\"_smIcon_hjka3_82\",\"mdIcon\":\"_mdIcon_hjka3_89\",\"lgIcon\":\"_lgIcon_hjka3_96\",\"loading\":\"_loading_hjka3_113\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_hjka3_1\",\"loadingCircle\":\"_loadingCircle_hjka3_117\"}","import styles from \"../Button.module.css\";\n\nexport const materialIconSize = {\n sm: styles.smIcon,\n md: styles.mdIcon,\n lg: styles.lgIcon,\n};\n\nexport const internalIconSize = {\n sm: 100,\n md: 200,\n lg: 300,\n} as const;\n"],"mappings":";;;AAA4F,IAAO,wBAAQ,EAAC,UAAS,mBAAkB,aAAY,sBAAqB,YAAW,sBAAqB,mBAAkB,6BAA4B,aAAY,uBAAsB,MAAK,gBAAe,MAAK,gBAAe,MAAK,gBAAe,QAAO,kBAAiB,UAAS,oBAAmB,UAAS,oBAAmB,UAAS,oBAAmB,WAAU,sBAAqB,6BAA4B,sCAAqC,iBAAgB,2BAA0B;;;ACEnkB,IAAM,mBAAmB;AAAA,EAC9B,IAAI,sBAAO;AAAA,EACX,IAAI,sBAAO;AAAA,EACX,IAAI,sBAAO;AACb;AAEO,IAAM,mBAAmB;AAAA,EAC9B,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;","names":[]}
1
+ {"version":3,"sources":["css-module:../Button.module.css#css-module","../../src/Button/constants/iconSize.ts"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_17niw_1\",\"buttonGap\":\"_buttonGap_17niw_8\",\"disabled\":\"_disabled_17niw_42\",\"disabledPrimary\":\"_disabledPrimary_17niw_49\",\"fullWidth\":\"_fullWidth_17niw_53\",\"sm\":\"_sm_17niw_57\",\"md\":\"_md_17niw_64\",\"lg\":\"_lg_17niw_71\",\"icon\":\"_icon_17niw_78\",\"smIcon\":\"_smIcon_17niw_82\",\"mdIcon\":\"_mdIcon_17niw_89\",\"lgIcon\":\"_lgIcon_17niw_96\",\"loading\":\"_loading_17niw_113\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_17niw_1\",\"loadingCircle\":\"_loadingCircle_17niw_117\"}","import styles from \"../Button.module.css\";\n\nexport const materialIconSize = {\n sm: styles.smIcon,\n md: styles.mdIcon,\n lg: styles.lgIcon,\n};\n\nexport const internalIconSize = {\n sm: 100,\n md: 200,\n lg: 300,\n} as const;\n"],"mappings":";;;AAA4F,IAAO,wBAAQ,EAAC,UAAS,mBAAkB,aAAY,sBAAqB,YAAW,sBAAqB,mBAAkB,6BAA4B,aAAY,uBAAsB,MAAK,gBAAe,MAAK,gBAAe,MAAK,gBAAe,QAAO,kBAAiB,UAAS,oBAAmB,UAAS,oBAAmB,UAAS,oBAAmB,WAAU,sBAAqB,6BAA4B,sCAAqC,iBAAgB,2BAA0B;;;ACEnkB,IAAM,mBAAmB;AAAA,EAC9B,IAAI,sBAAO;AAAA,EACX,IAAI,sBAAO;AAAA,EACX,IAAI,sBAAO;AACb;AAEO,IAAM,mBAAmB;AAAA,EAC9B,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;","names":[]}
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _QFAVMHP7cjs = require('./QFAVMHP7.cjs');
5
+ var _7ZSZT5AEcjs = require('./7ZSZT5AE.cjs');
6
6
 
7
7
 
8
8
  var _XLUVINJWcjs = require('./XLUVINJW.cjs');
@@ -112,7 +112,7 @@ function SelectList({
112
112
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
113
113
  "path",
114
114
  {
115
- fill: errorText ? _QFAVMHP7cjs.ColorBaseDestructive700 : _QFAVMHP7cjs.ColorBaseGray800,
115
+ fill: errorText ? _7ZSZT5AEcjs.ColorBaseDestructive700 : _7ZSZT5AEcjs.ColorBaseGray800,
116
116
  d: "M15.88 9.29 12 13.17 8.12 9.29a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z"
117
117
  }
118
118
  )
@@ -136,4 +136,4 @@ SelectList.Option = _JVGX637Ecjs.SelectOption_default;
136
136
 
137
137
 
138
138
  exports.SelectList = SelectList;
139
- //# sourceMappingURL=PN5H4EFM.cjs.map
139
+ //# sourceMappingURL=XDQTI6T5.cjs.map
@@ -13,7 +13,7 @@ var _G3SXARBLcjs = require('./G3SXARBL.cjs');
13
13
  var _THM3NAFOcjs = require('./THM3NAFO.cjs');
14
14
 
15
15
 
16
- var _ZGOHDWOBcjs = require('./ZGOHDWOB.cjs');
16
+ var _DOYGRWJRcjs = require('./DOYGRWJR.cjs');
17
17
 
18
18
 
19
19
  var _KJLBDAZHcjs = require('./KJLBDAZH.cjs');
@@ -79,7 +79,7 @@ function Modal({
79
79
  __style: { top: 4, right: 4 }
80
80
  },
81
81
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
82
- _ZGOHDWOBcjs.IconButton_default,
82
+ _DOYGRWJRcjs.IconButton_default,
83
83
  {
84
84
  accessibilityLabel: accessibilityCloseLabel,
85
85
  color: image ? "primary" : "tertiary",
@@ -130,4 +130,4 @@ Modal.displayName = "Modal";
130
130
 
131
131
 
132
132
  exports.Modal = Modal;
133
- //# sourceMappingURL=VCGJYZYA.cjs.map
133
+ //# sourceMappingURL=YRFKC6UH.cjs.map
package/dist/index.cjs CHANGED
@@ -16,7 +16,7 @@ var _C3FW5QDGcjs = require('./__chunks/C3FW5QDG.cjs');
16
16
  var _L32D5WEGcjs = require('./__chunks/L32D5WEG.cjs');
17
17
 
18
18
 
19
- var _VCGJYZYAcjs = require('./__chunks/VCGJYZYA.cjs');
19
+ var _YRFKC6UHcjs = require('./__chunks/YRFKC6UH.cjs');
20
20
 
21
21
 
22
22
  var _Q4P2W7UUcjs = require('./__chunks/Q4P2W7UU.cjs');
@@ -25,29 +25,29 @@ require('./__chunks/G3SXARBL.cjs');
25
25
  require('./__chunks/THM3NAFO.cjs');
26
26
 
27
27
 
28
- var _X6XQ2P7Ycjs = require('./__chunks/X6XQ2P7Y.cjs');
28
+ var _6JEGAMYWcjs = require('./__chunks/6JEGAMYW.cjs');
29
29
 
30
30
 
31
31
  var _L5RBAKANcjs = require('./__chunks/L5RBAKAN.cjs');
32
32
 
33
33
 
34
- var _PN5H4EFMcjs = require('./__chunks/PN5H4EFM.cjs');
34
+ var _XDQTI6T5cjs = require('./__chunks/XDQTI6T5.cjs');
35
35
 
36
36
 
37
- var _PL26LIZUcjs = require('./__chunks/PL26LIZU.cjs');
37
+ var _DX4XKSULcjs = require('./__chunks/DX4XKSUL.cjs');
38
38
 
39
39
 
40
- var _32CNLC3Ocjs = require('./__chunks/32CNLC3O.cjs');
41
- require('./__chunks/WEOENL5J.cjs');
40
+ var _325VK7L2cjs = require('./__chunks/325VK7L2.cjs');
41
+ require('./__chunks/KXPCTYHD.cjs');
42
42
  require('./__chunks/J27AGJQB.cjs');
43
43
 
44
44
 
45
- var _ZGOHDWOBcjs = require('./__chunks/ZGOHDWOB.cjs');
46
- require('./__chunks/QFAVMHP7.cjs');
47
- require('./__chunks/GW6SAUW3.cjs');
45
+ var _DOYGRWJRcjs = require('./__chunks/DOYGRWJR.cjs');
46
+ require('./__chunks/7ZSZT5AE.cjs');
47
+ require('./__chunks/IBNQI7PM.cjs');
48
48
 
49
49
 
50
- var _T6HS7FEYcjs = require('./__chunks/T6HS7FEY.cjs');
50
+ var _K4QY6POLcjs = require('./__chunks/K4QY6POL.cjs');
51
51
 
52
52
 
53
53
  var _42SRFCQLcjs = require('./__chunks/42SRFCQL.cjs');
@@ -56,7 +56,7 @@ var _42SRFCQLcjs = require('./__chunks/42SRFCQL.cjs');
56
56
  var _C5XPZTFOcjs = require('./__chunks/C5XPZTFO.cjs');
57
57
  require('./__chunks/5JUNB754.cjs');
58
58
  require('./__chunks/3P2PWHOU.cjs');
59
- require('./__chunks/4Y7TNMFL.cjs');
59
+ require('./__chunks/EGB44W5V.cjs');
60
60
  require('./__chunks/I76WKOLE.cjs');
61
61
  require('./__chunks/MF7LLV7V.cjs');
62
62
  require('./__chunks/XTZEWLM5.cjs');
@@ -145,5 +145,5 @@ require('./__chunks/X2SDR4SD.cjs');
145
145
 
146
146
 
147
147
 
148
- exports.Avatar = _RC7EMZ6Ncjs.Avatar_default; exports.AvatarGroup = _5COVOOB3cjs.AvatarGroup; exports.Badge = _XG7O4UGWcjs.Badge_default; exports.Box = _KJLBDAZHcjs.Box_default; exports.Button = _T6HS7FEYcjs.Button_default; exports.ButtonGroup = _C5XPZTFOcjs.ButtonGroup_default; exports.Card = _L32D5WEGcjs.Card_default; exports.Checkbox = _C3FW5QDGcjs.Checkbox_default; exports.Chip = _SKFX2MXKcjs.Chip_default; exports.Divider = _42SRFCQLcjs.Divider; exports.Heading = _Q4P2W7UUcjs.Heading_default; exports.Icon = _L5RBAKANcjs.Icon_default; exports.IconButton = _ZGOHDWOBcjs.IconButton_default; exports.LinkButton = _X6XQ2P7Ycjs.LinkButton_default; exports.Modal = _VCGJYZYAcjs.Modal; exports.Popover = _32CNLC3Ocjs.Popover_default; exports.RadioButton = _EF6R3LRBcjs.RadioButton_default; exports.RichSelectList = _PL26LIZUcjs.RichSelectList_default; exports.SelectList = _PN5H4EFMcjs.SelectList; exports.Tabs = _HBIGKRZ2cjs.Tabs; exports.TapArea = _3UEOKPM2cjs.TapArea_default; exports.TextArea = _HBHOLWEMcjs.TextArea_default; exports.TextField = _CW24HTITcjs.TextField; exports.ThemeProvider = _36JMUQOLcjs.ThemeProvider; exports.Tooltip = _QI5Q2WJGcjs.Tooltip_default; exports.Typography = _FEFAG4KTcjs.Typography_default;
148
+ exports.Avatar = _RC7EMZ6Ncjs.Avatar_default; exports.AvatarGroup = _5COVOOB3cjs.AvatarGroup; exports.Badge = _XG7O4UGWcjs.Badge_default; exports.Box = _KJLBDAZHcjs.Box_default; exports.Button = _K4QY6POLcjs.Button_default; exports.ButtonGroup = _C5XPZTFOcjs.ButtonGroup_default; exports.Card = _L32D5WEGcjs.Card_default; exports.Checkbox = _C3FW5QDGcjs.Checkbox_default; exports.Chip = _SKFX2MXKcjs.Chip_default; exports.Divider = _42SRFCQLcjs.Divider; exports.Heading = _Q4P2W7UUcjs.Heading_default; exports.Icon = _L5RBAKANcjs.Icon_default; exports.IconButton = _DOYGRWJRcjs.IconButton_default; exports.LinkButton = _6JEGAMYWcjs.LinkButton_default; exports.Modal = _YRFKC6UHcjs.Modal; exports.Popover = _325VK7L2cjs.Popover_default; exports.RadioButton = _EF6R3LRBcjs.RadioButton_default; exports.RichSelectList = _DX4XKSULcjs.RichSelectList_default; exports.SelectList = _XDQTI6T5cjs.SelectList; exports.Tabs = _HBIGKRZ2cjs.Tabs; exports.TapArea = _3UEOKPM2cjs.TapArea_default; exports.TextArea = _HBHOLWEMcjs.TextArea_default; exports.TextField = _CW24HTITcjs.TextField; exports.ThemeProvider = _36JMUQOLcjs.ThemeProvider; exports.Tooltip = _QI5Q2WJGcjs.Tooltip_default; exports.Typography = _FEFAG4KTcjs.Typography_default;
149
149
  //# sourceMappingURL=index.cjs.map
package/dist/index.css CHANGED
@@ -2263,76 +2263,76 @@
2263
2263
  }
2264
2264
 
2265
2265
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css/#css-module-data */
2266
- ._button_hjka3_1 {
2266
+ ._button_17niw_1 {
2267
2267
  display: flex;
2268
2268
  flex-direction: row;
2269
2269
  align-items: center;
2270
2270
  justify-content: center;
2271
2271
  }
2272
- ._buttonGap_hjka3_8 {
2272
+ ._buttonGap_17niw_8 {
2273
2273
  gap: 4px;
2274
2274
  }
2275
- ._button_hjka3_1:hover {
2276
- background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
2275
+ ._button_17niw_1:hover {
2276
+ background-image: linear-gradient(to bottom, rgba(190, 180, 171, 0.3) 0%, rgba(190, 180, 171, 0.3) 100%);
2277
2277
  transition-duration: 0.2s;
2278
2278
  cursor: pointer;
2279
2279
  }
2280
- ._button_hjka3_1:focus-visible {
2281
- background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
2280
+ ._button_17niw_1:focus-visible {
2281
+ background-image: linear-gradient(to bottom, rgba(190, 180, 171, 0.3) 0%, rgba(190, 180, 171, 0.3) 100%);
2282
2282
  box-shadow: 0 0 0 4px #000;
2283
2283
  outline: solid 2px #fff;
2284
2284
  }
2285
- ._button_hjka3_1:active {
2286
- background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
2285
+ ._button_17niw_1:active {
2286
+ background-image: linear-gradient(to bottom, rgba(190, 180, 171, 0.3) 0%, rgba(190, 180, 171, 0.3) 100%);
2287
2287
  transform: scale(0.97);
2288
2288
  transition-duration: 0.2s;
2289
2289
  }
2290
- ._disabled_hjka3_42 {
2290
+ ._disabled_17niw_42 {
2291
2291
  filter: opacity(50%);
2292
2292
  background-image: none;
2293
2293
  transform: none;
2294
2294
  cursor: auto;
2295
2295
  }
2296
- ._disabledPrimary_hjka3_49 {
2296
+ ._disabledPrimary_17niw_49 {
2297
2297
  opacity: 0.5;
2298
2298
  }
2299
- ._fullWidth_hjka3_53 {
2299
+ ._fullWidth_17niw_53 {
2300
2300
  width: 100%;
2301
2301
  }
2302
- ._sm_hjka3_57 {
2302
+ ._sm_17niw_57 {
2303
2303
  min-width: 52px;
2304
2304
  height: 32px;
2305
2305
  padding: 0 16px;
2306
2306
  border-radius: 100px;
2307
2307
  }
2308
- ._md_hjka3_64 {
2308
+ ._md_17niw_64 {
2309
2309
  min-width: 78px;
2310
2310
  height: 48px;
2311
2311
  padding: 0 24px;
2312
2312
  border-radius: 100px;
2313
2313
  }
2314
- ._lg_hjka3_71 {
2314
+ ._lg_17niw_71 {
2315
2315
  min-width: 104px;
2316
2316
  height: 64px;
2317
2317
  padding: 0 32px;
2318
2318
  border-radius: 100px;
2319
2319
  }
2320
- ._icon_hjka3_78 {
2320
+ ._icon_17niw_78 {
2321
2321
  color: inherit;
2322
2322
  }
2323
- ._smIcon_hjka3_82 {
2323
+ ._smIcon_17niw_82 {
2324
2324
  width: 16px !important;
2325
2325
  height: 16px !important;
2326
2326
  }
2327
- ._mdIcon_hjka3_89 {
2327
+ ._mdIcon_17niw_89 {
2328
2328
  width: 20px !important;
2329
2329
  height: 20px !important;
2330
2330
  }
2331
- ._lgIcon_hjka3_96 {
2331
+ ._lgIcon_17niw_96 {
2332
2332
  width: 24px !important;
2333
2333
  height: 24px !important;
2334
2334
  }
2335
- @keyframes _syntaxButtonLoadingRotate_hjka3_1 {
2335
+ @keyframes _syntaxButtonLoadingRotate_17niw_1 {
2336
2336
  0% {
2337
2337
  transform-origin: 50% 50%;
2338
2338
  }
@@ -2340,10 +2340,10 @@
2340
2340
  transform: rotate(360deg);
2341
2341
  }
2342
2342
  }
2343
- ._loading_hjka3_113 {
2344
- animation: _syntaxButtonLoadingRotate_hjka3_1 1.4s linear infinite;
2343
+ ._loading_17niw_113 {
2344
+ animation: _syntaxButtonLoadingRotate_17niw_1 1.4s linear infinite;
2345
2345
  }
2346
- ._loadingCircle_hjka3_117 {
2346
+ ._loadingCircle_17niw_117 {
2347
2347
  stroke: currentcolor;
2348
2348
  stroke-dasharray: 80px, 200px;
2349
2349
  stroke-dashoffset: 0;