@cambly/syntax-core 18.12.0 → 19.0.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 (88) hide show
  1. package/dist/ButtonGroup/ButtonGroup.cjs +2 -2
  2. package/dist/ButtonGroup/ButtonGroup.css +22 -6
  3. package/dist/ButtonGroup/ButtonGroup.css.map +1 -1
  4. package/dist/ButtonGroup/ButtonGroup.d.ts +13 -1
  5. package/dist/ButtonGroup/ButtonGroup.js +1 -1
  6. package/dist/RichSelect/RichSelectBox.cjs +3 -3
  7. package/dist/RichSelect/RichSelectBox.css +22 -6
  8. package/dist/RichSelect/RichSelectBox.css.map +1 -1
  9. package/dist/RichSelect/RichSelectBox.js +2 -2
  10. package/dist/RichSelect/RichSelectList.cjs +5 -5
  11. package/dist/RichSelect/RichSelectList.css +22 -6
  12. package/dist/RichSelect/RichSelectList.css.map +1 -1
  13. package/dist/RichSelect/RichSelectList.js +4 -4
  14. package/dist/SelectList/SelectList.cjs +3 -3
  15. package/dist/SelectList/SelectList.js +2 -2
  16. package/dist/{Tabs → TabButton}/TabButton.cjs +5 -4
  17. package/dist/{Tabs → TabButton}/TabButton.d.ts +1 -1
  18. package/dist/{Tabs → TabButton}/TabButton.js +3 -2
  19. package/dist/{Tabs → TabLink}/TabLink.cjs +5 -4
  20. package/dist/{Tabs → TabLink}/TabLink.js +3 -2
  21. package/dist/Tabs/Tabs.cjs +4 -11
  22. package/dist/Tabs/Tabs.css +26 -200
  23. package/dist/Tabs/Tabs.css.map +1 -1
  24. package/dist/Tabs/Tabs.d.ts +2 -21
  25. package/dist/Tabs/Tabs.js +2 -9
  26. package/dist/__chunks/36DG472B.js +38 -0
  27. package/dist/__chunks/36DG472B.js.map +1 -0
  28. package/dist/__chunks/{6VFQ76T5.cjs → 4QUXUGJP.cjs} +8 -14
  29. package/dist/__chunks/4QUXUGJP.cjs.map +1 -0
  30. package/dist/__chunks/{QC2DQIRT.js → 5HWHJRVZ.js} +1 -1
  31. package/dist/__chunks/{QC2DQIRT.js.map → 5HWHJRVZ.js.map} +1 -1
  32. package/dist/__chunks/6KSVCCCB.cjs +38 -0
  33. package/dist/__chunks/6KSVCCCB.cjs.map +1 -0
  34. package/dist/__chunks/{XFWFHRRK.cjs → 7DGFMDT7.cjs} +2 -2
  35. package/dist/__chunks/7DGFMDT7.cjs.map +1 -0
  36. package/dist/__chunks/{O7HX76KZ.js → F2ZYHRNY.js} +3 -3
  37. package/dist/__chunks/F2ZYHRNY.js.map +1 -0
  38. package/dist/__chunks/{5ROYTORI.cjs → HZ3SCLC7.cjs} +10 -10
  39. package/dist/__chunks/{PSFCD7QM.cjs → ML36DCKL.cjs} +7 -7
  40. package/dist/__chunks/ML36DCKL.cjs.map +1 -0
  41. package/dist/__chunks/{LZDRADUP.js → NXOKB47G.js} +3 -3
  42. package/dist/__chunks/{F3BQN7NQ.cjs → OBQBJKAY.cjs} +8 -8
  43. package/dist/__chunks/OBQBJKAY.cjs.map +1 -0
  44. package/dist/__chunks/{LP2VGTTE.cjs → RH52UDEB.cjs} +1 -1
  45. package/dist/__chunks/{LP2VGTTE.cjs.map → RH52UDEB.cjs.map} +1 -1
  46. package/dist/__chunks/{YJVUWE3C.cjs → SN7NPTN4.cjs} +5 -5
  47. package/dist/__chunks/{XRGALIPY.js → T3UI6LNR.js} +2 -2
  48. package/dist/__chunks/{L6U2V7ZR.js → TG2RCNZT.js} +3 -3
  49. package/dist/__chunks/TG2RCNZT.js.map +1 -0
  50. package/dist/__chunks/{DJ6R47YF.js → U6TGYOG7.js} +2 -2
  51. package/dist/__chunks/{M5G3QZYU.js → VRCNKRDW.js} +6 -12
  52. package/dist/__chunks/VRCNKRDW.js.map +1 -0
  53. package/dist/__chunks/{3HA2NC7Q.js → VV2NJABK.js} +2 -2
  54. package/dist/__chunks/VV2NJABK.js.map +1 -0
  55. package/dist/__chunks/{CJHYDIEV.cjs → ZZPX5ZUM.cjs} +3 -3
  56. package/dist/index.cjs +17 -10
  57. package/dist/index.css +22 -6
  58. package/dist/index.css.map +1 -1
  59. package/dist/index.d.ts +2 -1
  60. package/dist/index.js +16 -9
  61. package/package.json +1 -1
  62. package/dist/__chunks/3HA2NC7Q.js.map +0 -1
  63. package/dist/__chunks/6VFQ76T5.cjs.map +0 -1
  64. package/dist/__chunks/BOX3VY3Q.js +0 -30
  65. package/dist/__chunks/BOX3VY3Q.js.map +0 -1
  66. package/dist/__chunks/C5XPZTFO.cjs +0 -30
  67. package/dist/__chunks/C5XPZTFO.cjs.map +0 -1
  68. package/dist/__chunks/F3BQN7NQ.cjs.map +0 -1
  69. package/dist/__chunks/L6U2V7ZR.js.map +0 -1
  70. package/dist/__chunks/M5G3QZYU.js.map +0 -1
  71. package/dist/__chunks/O7HX76KZ.js.map +0 -1
  72. package/dist/__chunks/PSFCD7QM.cjs.map +0 -1
  73. package/dist/__chunks/XFWFHRRK.cjs.map +0 -1
  74. /package/dist/{Tabs → TabButton}/TabButton.cjs.map +0 -0
  75. /package/dist/{Tabs → TabButton}/TabButton.css +0 -0
  76. /package/dist/{Tabs → TabButton}/TabButton.css.map +0 -0
  77. /package/dist/{Tabs → TabButton}/TabButton.js.map +0 -0
  78. /package/dist/{Tabs → TabLink}/TabLink.cjs.map +0 -0
  79. /package/dist/{Tabs → TabLink}/TabLink.css +0 -0
  80. /package/dist/{Tabs → TabLink}/TabLink.css.map +0 -0
  81. /package/dist/{Tabs → TabLink}/TabLink.d.ts +0 -0
  82. /package/dist/{Tabs → TabLink}/TabLink.js.map +0 -0
  83. /package/dist/__chunks/{5ROYTORI.cjs.map → HZ3SCLC7.cjs.map} +0 -0
  84. /package/dist/__chunks/{LZDRADUP.js.map → NXOKB47G.js.map} +0 -0
  85. /package/dist/__chunks/{YJVUWE3C.cjs.map → SN7NPTN4.cjs.map} +0 -0
  86. /package/dist/__chunks/{XRGALIPY.js.map → T3UI6LNR.js.map} +0 -0
  87. /package/dist/__chunks/{DJ6R47YF.js.map → U6TGYOG7.js.map} +0 -0
  88. /package/dist/__chunks/{CJHYDIEV.cjs.map → ZZPX5ZUM.cjs.map} +0 -0
package/dist/Tabs/Tabs.js CHANGED
@@ -1,21 +1,14 @@
1
1
  "use client"
2
2
  import {
3
3
  Tabs
4
- } from "../__chunks/M5G3QZYU.js";
5
- import "../__chunks/O7HX76KZ.js";
6
- import "../__chunks/L6U2V7ZR.js";
7
- import "../__chunks/77FFPQY6.js";
8
- import "../__chunks/3HA2NC7Q.js";
9
- import "../__chunks/PBHAJ42K.js";
4
+ } from "../__chunks/VRCNKRDW.js";
5
+ import "../__chunks/4U4UW4AK.js";
10
6
  import "../__chunks/IB6JZQF3.js";
11
7
  import "../__chunks/4U4UW4AK.js";
12
8
  import "../__chunks/4U4UW4AK.js";
13
9
  import "../__chunks/KBIW5XV4.js";
14
- import "../__chunks/DAK5IGJK.js";
15
- import "../__chunks/VU4LGL2W.js";
16
10
  import "../__chunks/XSYKMCV5.js";
17
11
  import "../__chunks/4U4UW4AK.js";
18
- import "../__chunks/JB65NEXK.js";
19
12
  import "../__chunks/UWGNJENA.js";
20
13
  export {
21
14
  Tabs as default
@@ -0,0 +1,38 @@
1
+ "use client"
2
+
3
+ // css-module:./ButtonGroup.module.css#css-module
4
+ var ButtonGroup_module_default = { "buttonGroup": "_buttonGroup_6o6o0_1", "horizontal": "_horizontal_6o6o0_5", "vertical": "_vertical_6o6o0_9", "smallGap": "_smallGap_6o6o0_13", "mediumGap": "_mediumGap_6o6o0_17", "largeGap": "_largeGap_6o6o0_21", "orientationhorizontalSmall": "_orientationhorizontalSmall_6o6o0_27", "orientationverticalSmall": "_orientationverticalSmall_6o6o0_31", "orientationhorizontalLarge": "_orientationhorizontalLarge_6o6o0_38", "orientationverticalLarge": "_orientationverticalLarge_6o6o0_42" };
5
+
6
+ // src/ButtonGroup/ButtonGroup.tsx
7
+ import classNames from "classnames";
8
+ import { jsx } from "react/jsx-runtime";
9
+ var gap = {
10
+ sm: ButtonGroup_module_default.smallGap,
11
+ md: ButtonGroup_module_default.mediumGap,
12
+ lg: ButtonGroup_module_default.largeGap
13
+ };
14
+ var ButtonGroup = ({
15
+ orientation = "horizontal",
16
+ size = "md",
17
+ children,
18
+ smOrientation,
19
+ lgOrientation
20
+ }) => {
21
+ const classnames = classNames(
22
+ ButtonGroup_module_default.buttonGroup,
23
+ gap[size],
24
+ smOrientation != null && ButtonGroup_module_default[`orientation${smOrientation}Small`],
25
+ lgOrientation != null && ButtonGroup_module_default[`orientation${lgOrientation}Large`],
26
+ {
27
+ [ButtonGroup_module_default.horizontal]: orientation === "horizontal",
28
+ [ButtonGroup_module_default.vertical]: orientation === "vertical"
29
+ }
30
+ );
31
+ return /* @__PURE__ */ jsx("div", { className: classnames, children });
32
+ };
33
+ var ButtonGroup_default = ButtonGroup;
34
+
35
+ export {
36
+ ButtonGroup_default
37
+ };
38
+ //# sourceMappingURL=36DG472B.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["css-module:./ButtonGroup.module.css#css-module","../../src/ButtonGroup/ButtonGroup.tsx"],"sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css\"; export default {\"buttonGroup\":\"_buttonGroup_6o6o0_1\",\"horizontal\":\"_horizontal_6o6o0_5\",\"vertical\":\"_vertical_6o6o0_9\",\"smallGap\":\"_smallGap_6o6o0_13\",\"mediumGap\":\"_mediumGap_6o6o0_17\",\"largeGap\":\"_largeGap_6o6o0_21\",\"orientationhorizontalSmall\":\"_orientationhorizontalSmall_6o6o0_27\",\"orientationverticalSmall\":\"_orientationverticalSmall_6o6o0_31\",\"orientationhorizontalLarge\":\"_orientationhorizontalLarge_6o6o0_38\",\"orientationverticalLarge\":\"_orientationverticalLarge_6o6o0_42\"}","import { type ReactElement, type ReactNode } from \"react\";\nimport styles from \"./ButtonGroup.module.css\";\nimport { type Size } from \"../constants\";\nimport classNames from \"classnames\";\n\nconst gap = {\n sm: styles.smallGap,\n md: styles.mediumGap,\n lg: styles.largeGap,\n} as const;\n\n/**\n * [ButtonGroup](https://cambly-syntax.vercel.app/?path=/docs/components-buttongroup--docs) groups buttons in a row or column with consistent spacing between each button.\n */\nconst ButtonGroup = ({\n orientation = \"horizontal\",\n size = \"md\",\n children,\n smOrientation,\n lgOrientation,\n}: {\n /**\n * The orientation of the button group\n *\n * @defaultValue \"horizontal\"\n *\n * Responsive props:\n * `smOrientation`\n * `lgOrientation`\n */\n orientation?: \"horizontal\" | \"vertical\";\n /**\n * The size of the button group defines the spacing between each button\n *\n * * `sm`: 4px\n * * `md`: 8px\n * * `lg`: 12px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * Buttons to be rendered inside the button group\n */\n children?: ReactNode;\n /**\n * Bottom margin on sm (480px) or larger viewports.\n */\n smOrientation?: typeof orientation;\n /**\n * Bottom margin on lg (960px) or larger viewports.\n */\n lgOrientation?: typeof orientation;\n}): ReactElement => {\n const classnames = classNames(\n styles.buttonGroup,\n gap[size],\n smOrientation != null && styles[`orientation${smOrientation}Small`],\n lgOrientation != null && styles[`orientation${lgOrientation}Large`],\n {\n [styles.horizontal]: orientation === \"horizontal\",\n [styles.vertical]: orientation === \"vertical\",\n },\n );\n\n return <div className={classnames}>{children}</div>;\n};\n\nexport default ButtonGroup;\n"],"mappings":";;;AAAsG,IAAO,6BAAQ,EAAC,eAAc,wBAAuB,cAAa,uBAAsB,YAAW,qBAAoB,YAAW,sBAAqB,aAAY,uBAAsB,YAAW,sBAAqB,8BAA6B,wCAAuC,4BAA2B,sCAAqC,8BAA6B,wCAAuC,4BAA2B,qCAAoC;;;ACGtkB,OAAO,gBAAgB;AA8Dd;AA5DT,IAAM,MAAM;AAAA,EACV,IAAI,2BAAO;AAAA,EACX,IAAI,2BAAO;AAAA,EACX,IAAI,2BAAO;AACb;AAKA,IAAM,cAAc,CAAC;AAAA,EACnB,cAAc;AAAA,EACd,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AACF,MAiCoB;AAClB,QAAM,aAAa;AAAA,IACjB,2BAAO;AAAA,IACP,IAAI,IAAI;AAAA,IACR,iBAAiB,QAAQ,2BAAO,cAAc,oBAAoB;AAAA,IAClE,iBAAiB,QAAQ,2BAAO,cAAc,oBAAoB;AAAA,IAClE;AAAA,MACE,CAAC,2BAAO,UAAU,GAAG,gBAAgB;AAAA,MACrC,CAAC,2BAAO,QAAQ,GAAG,gBAAgB;AAAA,IACrC;AAAA,EACF;AAEA,SAAO,oBAAC,SAAI,WAAW,YAAa,UAAS;AAC/C;AAEA,IAAO,sBAAQ;","names":[]}
@@ -1,19 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
2
2
 
3
3
 
4
- var _F3BQN7NQcjs = require('./F3BQN7NQ.cjs');
5
-
6
-
7
- var _PSFCD7QMcjs = require('./PSFCD7QM.cjs');
8
-
9
-
10
- var _XFWFHRRKcjs = require('./XFWFHRRK.cjs');
11
-
12
-
13
4
  var _QODNNCT2cjs = require('./QODNNCT2.cjs');
14
5
 
15
6
  // src/Tabs/Tabs.tsx
16
7
  var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
8
+
9
+ // css-module:./Tabs.module.css#css-module
10
+ var Tabs_module_default = { "tabContainerlightBackground": "_tabContainerlightBackground_b6c60_1", "tabContainerDarkBackground": "_tabContainerDarkBackground_b6c60_5", "tab": "_tab_b6c60_1", "selectedTabOnLightBackground": "_selectedTabOnLightBackground_b6c60_13", "selectedTabOnDarkBackground": "_selectedTabOnDarkBackground_b6c60_17", "unselectedTab": "_unselectedTab_b6c60_21", "link": "_link_b6c60_25" };
11
+
12
+ // src/Tabs/Tabs.tsx
17
13
  var _jsxruntime = require('react/jsx-runtime');
18
14
  function Tabs({
19
15
  children,
@@ -26,8 +22,8 @@ function Tabs({
26
22
  role: "tablist",
27
23
  "aria-label": accessibilityLabel,
28
24
  className: _classnames2.default.call(void 0, {
29
- [_XFWFHRRKcjs.Tabs_module_default.tabContainerlightBackground]: on === "lightBackground",
30
- [_XFWFHRRKcjs.Tabs_module_default.tabContainerDarkBackground]: on === "darkBackground"
25
+ [Tabs_module_default.tabContainerlightBackground]: on === "lightBackground",
26
+ [Tabs_module_default.tabContainerDarkBackground]: on === "darkBackground"
31
27
  }),
32
28
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33
29
  _QODNNCT2cjs.Box_default,
@@ -44,10 +40,8 @@ function Tabs({
44
40
  }
45
41
  );
46
42
  }
47
- Tabs.Button = _PSFCD7QMcjs.TabButton;
48
- Tabs.Link = _F3BQN7NQcjs.TabLink_default;
49
43
 
50
44
 
51
45
 
52
46
  exports.Tabs = Tabs;
53
- //# sourceMappingURL=6VFQ76T5.cjs.map
47
+ //# sourceMappingURL=4QUXUGJP.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/Tabs/Tabs.tsx","css-module:./Tabs.module.css#css-module"],"names":[],"mappings":";;;;;;AACA,OAAO,gBAAgB;;;ACDiE,IAAO,sBAAQ,EAAC,+BAA8B,wCAAuC,8BAA6B,uCAAsC,OAAM,gBAAe,gCAA+B,0CAAyC,+BAA8B,yCAAwC,iBAAgB,2BAA0B,QAAO,iBAAgB;;;ADsC9c;AA9BS,SAAR,KAAsB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA,KAAK;AACP,GAgBgB;AACd,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,cAAY;AAAA,MACZ,WAAW,WAAW;AAAA,QACpB,CAAC,oBAAO,2BAA2B,GAAG,OAAO;AAAA,QAC7C,CAAC,oBAAO,0BAA0B,GAAG,OAAO;AAAA,MAC9C,CAAC;AAAA,MAED;AAAA,QAAC;AAAA;AAAA,UACC,SAAQ;AAAA,UACR,YAAW;AAAA,UACX,gBAAe;AAAA,UACf,OAAM;AAAA,UACN,KAAK;AAAA,UACL,QAAQ;AAAA,UAEP;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ","sourcesContent":["import { type ReactNode } from \"react\";\nimport classnames from \"classnames\";\nimport styles from \"./Tabs.module.css\";\nimport Box from \"../Box/Box\";\n\n/**\n * [Tabs](https://cambly-syntax.vercel.app/?path=/docs/components-tabs--docs) are used to organize content into different sections.\n */\nexport default function Tabs({\n children,\n accessibilityLabel,\n on = \"lightBackground\",\n}: {\n /**\n * The Tabs to display. Each Tab should be a `TabButton` or a `TabLink`.\n * Only use `TabLink` for clicking tab that update the URL upon selection. Otherwise, use `TabButton`.\n */\n children: ReactNode;\n /**\n * Accessibility label for the Tabs container.\n */\n accessibilityLabel: string;\n /**\n * Indicate whether the Tabs render on a light or dark background.\n *\n * @defaulValue `lightBackground`\n */\n on?: \"lightBackground\" | \"darkBackground\";\n}): JSX.Element {\n return (\n <div\n role=\"tablist\"\n aria-label={accessibilityLabel}\n className={classnames({\n [styles.tabContainerlightBackground]: on === \"lightBackground\",\n [styles.tabContainerDarkBackground]: on === \"darkBackground\",\n })}\n >\n <Box\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"start\"\n width=\"100%\"\n gap={8}\n height={56}\n >\n {children}\n </Box>\n </div>\n );\n}\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Tabs/Tabs.module.css\"; export default {\"tabContainerlightBackground\":\"_tabContainerlightBackground_b6c60_1\",\"tabContainerDarkBackground\":\"_tabContainerDarkBackground_b6c60_5\",\"tab\":\"_tab_b6c60_1\",\"selectedTabOnLightBackground\":\"_selectedTabOnLightBackground_b6c60_13\",\"selectedTabOnDarkBackground\":\"_selectedTabOnDarkBackground_b6c60_17\",\"unselectedTab\":\"_unselectedTab_b6c60_21\",\"link\":\"_link_b6c60_25\"}"]}
@@ -10,4 +10,4 @@ export {
10
10
  ColorBaseGray700,
11
11
  ColorCambioWhite100
12
12
  };
13
- //# sourceMappingURL=QC2DQIRT.js.map
13
+ //# sourceMappingURL=5HWHJRVZ.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Thu, 01 Aug 2024 23:02:59 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;AAUhC,IAAM,mBAAmB;AAqCzB,IAAM,sBAAsB;","names":[]}
1
+ {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Mon, 05 Aug 2024 21:23:35 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;AAUhC,IAAM,mBAAmB;AAqCzB,IAAM,sBAAsB;","names":[]}
@@ -0,0 +1,38 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
2
+
3
+ // css-module:./ButtonGroup.module.css#css-module
4
+ var ButtonGroup_module_default = { "buttonGroup": "_buttonGroup_6o6o0_1", "horizontal": "_horizontal_6o6o0_5", "vertical": "_vertical_6o6o0_9", "smallGap": "_smallGap_6o6o0_13", "mediumGap": "_mediumGap_6o6o0_17", "largeGap": "_largeGap_6o6o0_21", "orientationhorizontalSmall": "_orientationhorizontalSmall_6o6o0_27", "orientationverticalSmall": "_orientationverticalSmall_6o6o0_31", "orientationhorizontalLarge": "_orientationhorizontalLarge_6o6o0_38", "orientationverticalLarge": "_orientationverticalLarge_6o6o0_42" };
5
+
6
+ // src/ButtonGroup/ButtonGroup.tsx
7
+ var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
8
+ var _jsxruntime = require('react/jsx-runtime');
9
+ var gap = {
10
+ sm: ButtonGroup_module_default.smallGap,
11
+ md: ButtonGroup_module_default.mediumGap,
12
+ lg: ButtonGroup_module_default.largeGap
13
+ };
14
+ var ButtonGroup = ({
15
+ orientation = "horizontal",
16
+ size = "md",
17
+ children,
18
+ smOrientation,
19
+ lgOrientation
20
+ }) => {
21
+ const classnames = _classnames2.default.call(void 0,
22
+ ButtonGroup_module_default.buttonGroup,
23
+ gap[size],
24
+ smOrientation != null && ButtonGroup_module_default[`orientation${smOrientation}Small`],
25
+ lgOrientation != null && ButtonGroup_module_default[`orientation${lgOrientation}Large`],
26
+ {
27
+ [ButtonGroup_module_default.horizontal]: orientation === "horizontal",
28
+ [ButtonGroup_module_default.vertical]: orientation === "vertical"
29
+ }
30
+ );
31
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: classnames, children });
32
+ };
33
+ var ButtonGroup_default = ButtonGroup;
34
+
35
+
36
+
37
+ exports.ButtonGroup_default = ButtonGroup_default;
38
+ //# sourceMappingURL=6KSVCCCB.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["css-module:./ButtonGroup.module.css#css-module","../../src/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":";;;AAAsG,IAAO,6BAAQ,EAAC,eAAc,wBAAuB,cAAa,uBAAsB,YAAW,qBAAoB,YAAW,sBAAqB,aAAY,uBAAsB,YAAW,sBAAqB,8BAA6B,wCAAuC,4BAA2B,sCAAqC,8BAA6B,wCAAuC,4BAA2B,qCAAoC;;;ACGtkB,OAAO,gBAAgB;AA8Dd;AA5DT,IAAM,MAAM;AAAA,EACV,IAAI,2BAAO;AAAA,EACX,IAAI,2BAAO;AAAA,EACX,IAAI,2BAAO;AACb;AAKA,IAAM,cAAc,CAAC;AAAA,EACnB,cAAc;AAAA,EACd,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AACF,MAiCoB;AAClB,QAAM,aAAa;AAAA,IACjB,2BAAO;AAAA,IACP,IAAI,IAAI;AAAA,IACR,iBAAiB,QAAQ,2BAAO,cAAc,oBAAoB;AAAA,IAClE,iBAAiB,QAAQ,2BAAO,cAAc,oBAAoB;AAAA,IAClE;AAAA,MACE,CAAC,2BAAO,UAAU,GAAG,gBAAgB;AAAA,MACrC,CAAC,2BAAO,QAAQ,GAAG,gBAAgB;AAAA,IACrC;AAAA,EACF;AAEA,SAAO,oBAAC,SAAI,WAAW,YAAa,UAAS;AAC/C;AAEA,IAAO,sBAAQ","sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css\"; export default {\"buttonGroup\":\"_buttonGroup_6o6o0_1\",\"horizontal\":\"_horizontal_6o6o0_5\",\"vertical\":\"_vertical_6o6o0_9\",\"smallGap\":\"_smallGap_6o6o0_13\",\"mediumGap\":\"_mediumGap_6o6o0_17\",\"largeGap\":\"_largeGap_6o6o0_21\",\"orientationhorizontalSmall\":\"_orientationhorizontalSmall_6o6o0_27\",\"orientationverticalSmall\":\"_orientationverticalSmall_6o6o0_31\",\"orientationhorizontalLarge\":\"_orientationhorizontalLarge_6o6o0_38\",\"orientationverticalLarge\":\"_orientationverticalLarge_6o6o0_42\"}","import { type ReactElement, type ReactNode } from \"react\";\nimport styles from \"./ButtonGroup.module.css\";\nimport { type Size } from \"../constants\";\nimport classNames from \"classnames\";\n\nconst gap = {\n sm: styles.smallGap,\n md: styles.mediumGap,\n lg: styles.largeGap,\n} as const;\n\n/**\n * [ButtonGroup](https://cambly-syntax.vercel.app/?path=/docs/components-buttongroup--docs) groups buttons in a row or column with consistent spacing between each button.\n */\nconst ButtonGroup = ({\n orientation = \"horizontal\",\n size = \"md\",\n children,\n smOrientation,\n lgOrientation,\n}: {\n /**\n * The orientation of the button group\n *\n * @defaultValue \"horizontal\"\n *\n * Responsive props:\n * `smOrientation`\n * `lgOrientation`\n */\n orientation?: \"horizontal\" | \"vertical\";\n /**\n * The size of the button group defines the spacing between each button\n *\n * * `sm`: 4px\n * * `md`: 8px\n * * `lg`: 12px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * Buttons to be rendered inside the button group\n */\n children?: ReactNode;\n /**\n * Bottom margin on sm (480px) or larger viewports.\n */\n smOrientation?: typeof orientation;\n /**\n * Bottom margin on lg (960px) or larger viewports.\n */\n lgOrientation?: typeof orientation;\n}): ReactElement => {\n const classnames = classNames(\n styles.buttonGroup,\n gap[size],\n smOrientation != null && styles[`orientation${smOrientation}Small`],\n lgOrientation != null && styles[`orientation${lgOrientation}Large`],\n {\n [styles.horizontal]: orientation === \"horizontal\",\n [styles.vertical]: orientation === \"vertical\",\n },\n );\n\n return <div className={classnames}>{children}</div>;\n};\n\nexport default ButtonGroup;\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client"
2
2
 
3
- // css-module:./Tabs.module.css#css-module
3
+ // css-module:../Tabs/Tabs.module.css#css-module
4
4
  var Tabs_module_default = { "tabContainerlightBackground": "_tabContainerlightBackground_b6c60_1", "tabContainerDarkBackground": "_tabContainerDarkBackground_b6c60_5", "tab": "_tab_b6c60_1", "selectedTabOnLightBackground": "_selectedTabOnLightBackground_b6c60_13", "selectedTabOnDarkBackground": "_selectedTabOnDarkBackground_b6c60_17", "unselectedTab": "_unselectedTab_b6c60_21", "link": "_link_b6c60_25" };
5
5
 
6
6
 
7
7
 
8
8
  exports.Tabs_module_default = Tabs_module_default;
9
- //# sourceMappingURL=XFWFHRRK.cjs.map
9
+ //# sourceMappingURL=7DGFMDT7.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["css-module:../Tabs/Tabs.module.css#css-module"],"names":[],"mappings":";;;AAAwF,IAAO,sBAAQ,EAAC,+BAA8B,wCAAuC,8BAA6B,uCAAsC,OAAM,gBAAe,gCAA+B,0CAAyC,+BAA8B,yCAAwC,iBAAgB,2BAA0B,QAAO,iBAAgB","sourcesContent":["import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Tabs/Tabs.module.css\"; export default {\"tabContainerlightBackground\":\"_tabContainerlightBackground_b6c60_1\",\"tabContainerDarkBackground\":\"_tabContainerDarkBackground_b6c60_5\",\"tab\":\"_tab_b6c60_1\",\"selectedTabOnLightBackground\":\"_selectedTabOnLightBackground_b6c60_13\",\"selectedTabOnDarkBackground\":\"_selectedTabOnDarkBackground_b6c60_17\",\"unselectedTab\":\"_unselectedTab_b6c60_21\",\"link\":\"_link_b6c60_25\"}"]}
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  Tabs_module_default
4
- } from "./3HA2NC7Q.js";
4
+ } from "./VV2NJABK.js";
5
5
  import {
6
6
  TabInternal
7
7
  } from "./PBHAJ42K.js";
@@ -9,7 +9,7 @@ import {
9
9
  Box_default
10
10
  } from "./IB6JZQF3.js";
11
11
 
12
- // src/Tabs/TabLink.tsx
12
+ // src/TabLink/TabLink.tsx
13
13
  import {
14
14
  forwardRef
15
15
  } from "react";
@@ -72,4 +72,4 @@ var TabLink_default = TabLink;
72
72
  export {
73
73
  TabLink_default
74
74
  };
75
- //# sourceMappingURL=O7HX76KZ.js.map
75
+ //# sourceMappingURL=F2ZYHRNY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/TabLink/TabLink.tsx"],"sourcesContent":["import {\n forwardRef,\n type HtmlHTMLAttributes,\n type ComponentProps,\n} from \"react\";\nimport TabInternal from \"../Tabs/TabInternal\";\nimport classnames from \"classnames\";\nimport styles from \"../Tabs/Tabs.module.css\";\nimport Box from \"../Box/Box\";\n\ntype TabLinkProps = ComponentProps<typeof TabInternal> & {\n /**\n * Test id for the button\n */\n \"data-testid\"?: string;\n /**\n * The link that the Tab should route to.\n *\n */\n href?: string;\n /**\n * The target attribute specifies where to open the linked document.\n *\n */\n target?: \"_blank\" | \"_self\" | \"_parent\" | \"_top\";\n /**\n * The rel attribute specifies the relationship between the document and the link.\n *\n */\n rel?: HtmlHTMLAttributes<HTMLAnchorElement>[\"rel\"];\n /**\n * An optional onClick event. This is used for certain wrapper's support (such as react-router-dom).\n */\n onClick?: React.MouseEventHandler<HTMLAnchorElement>;\n};\n\nconst TabLink = forwardRef<HTMLAnchorElement, TabLinkProps>(\n (\n {\n text,\n href,\n target,\n rel,\n \"data-testid\": dataTestId,\n on = \"lightBackground\",\n onClick,\n selected,\n endContent,\n itemCount,\n }: TabLinkProps,\n ref,\n ) => {\n return (\n <div\n role=\"tab\"\n className={classnames(styles.tab, {\n [styles.unselectedTab]: !selected,\n [styles.selectedTabOnLightBackground]:\n selected && on === \"lightBackground\",\n [styles.selectedTabOnDarkBackground]:\n selected && on === \"darkBackground\",\n })}\n style={{\n height: \"100%\",\n }}\n >\n <Box display=\"flex\" alignItems=\"center\" height=\"100%\">\n <a\n href={href}\n data-testid={dataTestId}\n target={target}\n ref={ref}\n rel={rel}\n onClick={onClick}\n className={styles.link}\n >\n <TabInternal\n text={text}\n selected={selected}\n endContent={endContent}\n itemCount={itemCount}\n on={on}\n />\n </a>\n </Box>\n </div>\n );\n },\n);\n\nTabLink.displayName = \"TabLink\";\n\nexport default TabLink;\n"],"mappings":";;;;;;;;;;;;AAAA;AAAA,EACE;AAAA,OAGK;AAEP,OAAO,gBAAgB;AAsEX;AAxCZ,IAAM,UAAU;AAAA,EACd,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf,KAAK;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,GACA,QACG;AACH,WACE;AAAA,MAAC;AAAA;AAAA,QACC,MAAK;AAAA,QACL,WAAW,WAAW,oBAAO,KAAK;AAAA,UAChC,CAAC,oBAAO,aAAa,GAAG,CAAC;AAAA,UACzB,CAAC,oBAAO,4BAA4B,GAClC,YAAY,OAAO;AAAA,UACrB,CAAC,oBAAO,2BAA2B,GACjC,YAAY,OAAO;AAAA,QACvB,CAAC;AAAA,QACD,OAAO;AAAA,UACL,QAAQ;AAAA,QACV;AAAA,QAEA,8BAAC,eAAI,SAAQ,QAAO,YAAW,UAAS,QAAO,QAC7C;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA,eAAa;AAAA,YACb;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,WAAW,oBAAO;AAAA,YAElB;AAAA,cAAC;AAAA;AAAA,gBACC;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA;AAAA;AAAA,YACF;AAAA;AAAA,QACF,GACF;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;AAEA,QAAQ,cAAc;AAEtB,IAAO,kBAAQ;","names":[]}
@@ -9,12 +9,12 @@ var _3RX4RMGCcjs = require('./3RX4RMGC.cjs');
9
9
 
10
10
 
11
11
 
12
- var _LP2VGTTEcjs = require('./LP2VGTTE.cjs');
12
+ var _RH52UDEBcjs = require('./RH52UDEB.cjs');
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _CJHYDIEVcjs = require('./CJHYDIEV.cjs');
17
+ var _ZZPX5ZUMcjs = require('./ZZPX5ZUM.cjs');
18
18
 
19
19
 
20
20
  var _EHZAOGLQcjs = require('./EHZAOGLQ.cjs');
@@ -103,11 +103,11 @@ function RichSelectList(props) {
103
103
  const disabled = !isHydrated || disabledProp;
104
104
  const overlayHandlerRef = _react.useRef.call(void 0, {});
105
105
  const selectedKeysProp = _react.useMemo.call(void 0,
106
- () => _CJHYDIEVcjs.convertSelection.call(void 0, selectedValuesProp),
106
+ () => _ZZPX5ZUMcjs.convertSelection.call(void 0, selectedValuesProp),
107
107
  [selectedValuesProp]
108
108
  );
109
109
  const defaultSelectedKeys = _react.useMemo.call(void 0,
110
- () => _CJHYDIEVcjs.convertSelection.call(void 0, defaultSelectedValuesProp, /* @__PURE__ */ new Set()),
110
+ () => _ZZPX5ZUMcjs.convertSelection.call(void 0, defaultSelectedValuesProp, /* @__PURE__ */ new Set()),
111
111
  [defaultSelectedValuesProp]
112
112
  );
113
113
  const [selectedKeys, setSelectedKeys] = _utils.useControlledState.call(void 0,
@@ -147,12 +147,12 @@ function RichSelectList(props) {
147
147
  };
148
148
  const getArrowIconColor = () => {
149
149
  if (errorText) {
150
- return _LP2VGTTEcjs.ColorBaseDestructive700;
150
+ return _RH52UDEBcjs.ColorBaseDestructive700;
151
151
  } else {
152
152
  if (color === "clear") {
153
- return _LP2VGTTEcjs.ColorCambioWhite100;
153
+ return _RH52UDEBcjs.ColorCambioWhite100;
154
154
  } else {
155
- return _LP2VGTTEcjs.ColorBaseGray700;
155
+ return _RH52UDEBcjs.ColorBaseGray700;
156
156
  }
157
157
  }
158
158
  };
@@ -160,7 +160,7 @@ function RichSelectList(props) {
160
160
  _reactariacomponents.Provider,
161
161
  {
162
162
  values: [
163
- [_CJHYDIEVcjs.RichSelectBoxContext, { autoFocus: true }],
163
+ [_ZZPX5ZUMcjs.RichSelectBoxContext, { autoFocus: true }],
164
164
  [_3RX4RMGCcjs.DialogContext, { padding: autosave ? void 0 : 0 }]
165
165
  // this is altering Popover's internal dialog padding to show the sticky save/close buttons. Ideally this could be avoided
166
166
  ],
@@ -201,7 +201,7 @@ function RichSelectList(props) {
201
201
  dangerouslySetInlineStyle: autosave ? void 0 : { __style: { paddingBottom: 0 } },
202
202
  role: "menu",
203
203
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
204
- _CJHYDIEVcjs.RichSelectBox_default,
204
+ _ZZPX5ZUMcjs.RichSelectBox_default,
205
205
  _X2SDR4SDcjs.__spreadProps.call(void 0, _X2SDR4SDcjs.__spreadValues.call(void 0, {
206
206
  autosave,
207
207
  selectedValues: selectedKeys,
@@ -286,4 +286,4 @@ var RichSelectList_default = Object.assign(RichSelectList, {
286
286
 
287
287
 
288
288
  exports.RichSelectList_default = RichSelectList_default;
289
- //# sourceMappingURL=5ROYTORI.cjs.map
289
+ //# sourceMappingURL=HZ3SCLC7.cjs.map
@@ -4,7 +4,7 @@
4
4
  var _3UEOKPM2cjs = require('./3UEOKPM2.cjs');
5
5
 
6
6
 
7
- var _XFWFHRRKcjs = require('./XFWFHRRK.cjs');
7
+ var _7DGFMDT7cjs = require('./7DGFMDT7.cjs');
8
8
 
9
9
 
10
10
  var _S4JNYLMAcjs = require('./S4JNYLMA.cjs');
@@ -12,7 +12,7 @@ var _S4JNYLMAcjs = require('./S4JNYLMA.cjs');
12
12
 
13
13
  var _QODNNCT2cjs = require('./QODNNCT2.cjs');
14
14
 
15
- // src/Tabs/TabButton.tsx
15
+ // src/TabButton/TabButton.tsx
16
16
  var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);
17
17
  var _jsxruntime = require('react/jsx-runtime');
18
18
  function TabButton({
@@ -29,10 +29,10 @@ function TabButton({
29
29
  "div",
30
30
  {
31
31
  role: "tab",
32
- className: _classnames2.default.call(void 0, _XFWFHRRKcjs.Tabs_module_default.tab, {
33
- [_XFWFHRRKcjs.Tabs_module_default.unselectedTab]: !selected,
34
- [_XFWFHRRKcjs.Tabs_module_default.selectedTabOnLightBackground]: selected && on === "lightBackground",
35
- [_XFWFHRRKcjs.Tabs_module_default.selectedTabOnDarkBackground]: selected && on === "darkBackground"
32
+ className: _classnames2.default.call(void 0, _7DGFMDT7cjs.Tabs_module_default.tab, {
33
+ [_7DGFMDT7cjs.Tabs_module_default.unselectedTab]: !selected,
34
+ [_7DGFMDT7cjs.Tabs_module_default.selectedTabOnLightBackground]: selected && on === "lightBackground",
35
+ [_7DGFMDT7cjs.Tabs_module_default.selectedTabOnDarkBackground]: selected && on === "darkBackground"
36
36
  }),
37
37
  style: {
38
38
  height: "100%"
@@ -64,4 +64,4 @@ function TabButton({
64
64
 
65
65
 
66
66
  exports.TabButton = TabButton;
67
- //# sourceMappingURL=PSFCD7QM.cjs.map
67
+ //# sourceMappingURL=ML36DCKL.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/TabButton/TabButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,OAAO,gBAAgB;AAmDb;AA7CK,SAAR,UAA2B;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,KAAK;AACP,GAaiB;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,WAAW,WAAW,oBAAO,KAAK;AAAA,QAChC,CAAC,oBAAO,aAAa,GAAG,CAAC;AAAA,QACzB,CAAC,oBAAO,4BAA4B,GAClC,YAAY,OAAO;AAAA,QACrB,CAAC,oBAAO,2BAA2B,GACjC,YAAY,OAAO;AAAA,MACvB,CAAC;AAAA,MACD,OAAO;AAAA,QACL,QAAQ;AAAA,MACV;AAAA,MAEA,8BAAC,eAAI,SAAQ,QAAO,WAAU,OAAM,YAAW,UAAS,QAAO,QAC7D;AAAA,QAAC;AAAA;AAAA,UACC,WAAW;AAAA,UACX;AAAA,UACA,UAAS;AAAA,UACT,eAAa;AAAA,UACb;AAAA,UAEA;AAAA,YAAC;AAAA;AAAA,cACC;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA;AAAA,UACF;AAAA;AAAA,MACF,GACF;AAAA;AAAA,EACF;AAEJ","sourcesContent":["import { type ReactElement, type ComponentProps } from \"react\";\nimport classnames from \"classnames\";\nimport TapArea from \"../TapArea/TapArea\";\nimport TabInternal from \"../Tabs/TabInternal\";\nimport styles from \"../Tabs/Tabs.module.css\";\nimport Box from \"../Box/Box\";\n\nexport default function TabButton({\n text,\n onClick,\n selected,\n endContent,\n itemCount,\n accessibilityLabel,\n \"data-testid\": dataTestId,\n on = \"lightBackground\",\n}: ComponentProps<typeof TabInternal> & {\n /**\n * The onClick event for the button\n */\n onClick: () => void;\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * Test id for the button\n */\n \"data-testid\"?: string;\n}): ReactElement {\n return (\n <div\n role=\"tab\"\n className={classnames(styles.tab, {\n [styles.unselectedTab]: !selected,\n [styles.selectedTabOnLightBackground]:\n selected && on === \"lightBackground\",\n [styles.selectedTabOnDarkBackground]:\n selected && on === \"darkBackground\",\n })}\n style={{\n height: \"100%\",\n }}\n >\n <Box display=\"flex\" direction=\"row\" alignItems=\"center\" height=\"100%\">\n <TapArea\n fullWidth={false}\n onClick={onClick}\n rounding=\"md\"\n data-testid={dataTestId}\n accessibilityLabel={accessibilityLabel}\n >\n <TabInternal\n text={text}\n selected={selected}\n endContent={endContent}\n itemCount={itemCount}\n on={on}\n />\n </TapArea>\n </Box>\n </div>\n );\n}\n"]}
@@ -9,12 +9,12 @@ import {
9
9
  ColorBaseDestructive700,
10
10
  ColorBaseGray700,
11
11
  ColorCambioWhite100
12
- } from "./QC2DQIRT.js";
12
+ } from "./5HWHJRVZ.js";
13
13
  import {
14
14
  RichSelectBoxContext,
15
15
  RichSelectBox_default,
16
16
  convertSelection
17
- } from "./DJ6R47YF.js";
17
+ } from "./U6TGYOG7.js";
18
18
  import {
19
19
  RichSelectSection_default
20
20
  } from "./AHICHJTL.js";
@@ -286,4 +286,4 @@ var RichSelectList_default = Object.assign(RichSelectList, {
286
286
  export {
287
287
  RichSelectList_default
288
288
  };
289
- //# sourceMappingURL=LZDRADUP.js.map
289
+ //# sourceMappingURL=NXOKB47G.js.map
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client"
2
2
 
3
3
 
4
- var _XFWFHRRKcjs = require('./XFWFHRRK.cjs');
4
+ var _7DGFMDT7cjs = require('./7DGFMDT7.cjs');
5
5
 
6
6
 
7
7
  var _S4JNYLMAcjs = require('./S4JNYLMA.cjs');
@@ -9,7 +9,7 @@ var _S4JNYLMAcjs = require('./S4JNYLMA.cjs');
9
9
 
10
10
  var _QODNNCT2cjs = require('./QODNNCT2.cjs');
11
11
 
12
- // src/Tabs/TabLink.tsx
12
+ // src/TabLink/TabLink.tsx
13
13
 
14
14
 
15
15
  var _react = require('react');
@@ -32,10 +32,10 @@ var TabLink = _react.forwardRef.call(void 0,
32
32
  "div",
33
33
  {
34
34
  role: "tab",
35
- className: _classnames2.default.call(void 0, _XFWFHRRKcjs.Tabs_module_default.tab, {
36
- [_XFWFHRRKcjs.Tabs_module_default.unselectedTab]: !selected,
37
- [_XFWFHRRKcjs.Tabs_module_default.selectedTabOnLightBackground]: selected && on === "lightBackground",
38
- [_XFWFHRRKcjs.Tabs_module_default.selectedTabOnDarkBackground]: selected && on === "darkBackground"
35
+ className: _classnames2.default.call(void 0, _7DGFMDT7cjs.Tabs_module_default.tab, {
36
+ [_7DGFMDT7cjs.Tabs_module_default.unselectedTab]: !selected,
37
+ [_7DGFMDT7cjs.Tabs_module_default.selectedTabOnLightBackground]: selected && on === "lightBackground",
38
+ [_7DGFMDT7cjs.Tabs_module_default.selectedTabOnDarkBackground]: selected && on === "darkBackground"
39
39
  }),
40
40
  style: {
41
41
  height: "100%"
@@ -49,7 +49,7 @@ var TabLink = _react.forwardRef.call(void 0,
49
49
  ref,
50
50
  rel,
51
51
  onClick,
52
- className: _XFWFHRRKcjs.Tabs_module_default.link,
52
+ className: _7DGFMDT7cjs.Tabs_module_default.link,
53
53
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
54
54
  _S4JNYLMAcjs.TabInternal,
55
55
  {
@@ -72,4 +72,4 @@ var TabLink_default = TabLink;
72
72
 
73
73
 
74
74
  exports.TabLink_default = TabLink_default;
75
- //# sourceMappingURL=F3BQN7NQ.cjs.map
75
+ //# sourceMappingURL=OBQBJKAY.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/TabLink/TabLink.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AAAA,EACE;AAAA,OAGK;AAEP,OAAO,gBAAgB;AAsEX;AAxCZ,IAAM,UAAU;AAAA,EACd,CACE;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf,KAAK;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,GACA,QACG;AACH,WACE;AAAA,MAAC;AAAA;AAAA,QACC,MAAK;AAAA,QACL,WAAW,WAAW,oBAAO,KAAK;AAAA,UAChC,CAAC,oBAAO,aAAa,GAAG,CAAC;AAAA,UACzB,CAAC,oBAAO,4BAA4B,GAClC,YAAY,OAAO;AAAA,UACrB,CAAC,oBAAO,2BAA2B,GACjC,YAAY,OAAO;AAAA,QACvB,CAAC;AAAA,QACD,OAAO;AAAA,UACL,QAAQ;AAAA,QACV;AAAA,QAEA,8BAAC,eAAI,SAAQ,QAAO,YAAW,UAAS,QAAO,QAC7C;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA,eAAa;AAAA,YACb;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,WAAW,oBAAO;AAAA,YAElB;AAAA,cAAC;AAAA;AAAA,gBACC;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA;AAAA,gBACA;AAAA;AAAA,YACF;AAAA;AAAA,QACF,GACF;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;AAEA,QAAQ,cAAc;AAEtB,IAAO,kBAAQ","sourcesContent":["import {\n forwardRef,\n type HtmlHTMLAttributes,\n type ComponentProps,\n} from \"react\";\nimport TabInternal from \"../Tabs/TabInternal\";\nimport classnames from \"classnames\";\nimport styles from \"../Tabs/Tabs.module.css\";\nimport Box from \"../Box/Box\";\n\ntype TabLinkProps = ComponentProps<typeof TabInternal> & {\n /**\n * Test id for the button\n */\n \"data-testid\"?: string;\n /**\n * The link that the Tab should route to.\n *\n */\n href?: string;\n /**\n * The target attribute specifies where to open the linked document.\n *\n */\n target?: \"_blank\" | \"_self\" | \"_parent\" | \"_top\";\n /**\n * The rel attribute specifies the relationship between the document and the link.\n *\n */\n rel?: HtmlHTMLAttributes<HTMLAnchorElement>[\"rel\"];\n /**\n * An optional onClick event. This is used for certain wrapper's support (such as react-router-dom).\n */\n onClick?: React.MouseEventHandler<HTMLAnchorElement>;\n};\n\nconst TabLink = forwardRef<HTMLAnchorElement, TabLinkProps>(\n (\n {\n text,\n href,\n target,\n rel,\n \"data-testid\": dataTestId,\n on = \"lightBackground\",\n onClick,\n selected,\n endContent,\n itemCount,\n }: TabLinkProps,\n ref,\n ) => {\n return (\n <div\n role=\"tab\"\n className={classnames(styles.tab, {\n [styles.unselectedTab]: !selected,\n [styles.selectedTabOnLightBackground]:\n selected && on === \"lightBackground\",\n [styles.selectedTabOnDarkBackground]:\n selected && on === \"darkBackground\",\n })}\n style={{\n height: \"100%\",\n }}\n >\n <Box display=\"flex\" alignItems=\"center\" height=\"100%\">\n <a\n href={href}\n data-testid={dataTestId}\n target={target}\n ref={ref}\n rel={rel}\n onClick={onClick}\n className={styles.link}\n >\n <TabInternal\n text={text}\n selected={selected}\n endContent={endContent}\n itemCount={itemCount}\n on={on}\n />\n </a>\n </Box>\n </div>\n );\n },\n);\n\nTabLink.displayName = \"TabLink\";\n\nexport default TabLink;\n"]}
@@ -10,4 +10,4 @@ var ColorCambioWhite100 = "#ffffff";
10
10
 
11
11
 
12
12
  exports.ColorBaseDestructive700 = ColorBaseDestructive700; exports.ColorBaseGray700 = ColorBaseGray700; exports.ColorCambioWhite100 = ColorCambioWhite100;
13
- //# sourceMappingURL=LP2VGTTE.cjs.map
13
+ //# sourceMappingURL=RH52UDEB.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"names":[],"mappings":";;;AASO,IAAM,0BAA0B;AAUhC,IAAM,mBAAmB;AAqCzB,IAAM,sBAAsB","sourcesContent":["/**\n * Do not edit directly\n * Generated on Thu, 01 Aug 2024 23:02:59 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"]}
1
+ {"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"names":[],"mappings":";;;AASO,IAAM,0BAA0B;AAUhC,IAAM,mBAAmB;AAqCzB,IAAM,sBAAsB","sourcesContent":["/**\n * Do not edit directly\n * Generated on Mon, 05 Aug 2024 21:23:35 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"]}
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _LP2VGTTEcjs = require('./LP2VGTTE.cjs');
6
+ var _RH52UDEBcjs = require('./RH52UDEB.cjs');
7
7
 
8
8
 
9
9
  var _XLUVINJWcjs = require('./XLUVINJW.cjs');
@@ -68,12 +68,12 @@ function SelectList({
68
68
  };
69
69
  const getArrowIconColor = () => {
70
70
  if (errorText) {
71
- return _LP2VGTTEcjs.ColorBaseDestructive700;
71
+ return _RH52UDEBcjs.ColorBaseDestructive700;
72
72
  } else {
73
73
  if (color === "clear") {
74
- return _LP2VGTTEcjs.ColorCambioWhite100;
74
+ return _RH52UDEBcjs.ColorCambioWhite100;
75
75
  } else {
76
- return _LP2VGTTEcjs.ColorBaseGray700;
76
+ return _RH52UDEBcjs.ColorBaseGray700;
77
77
  }
78
78
  }
79
79
  };
@@ -148,4 +148,4 @@ SelectList.Option = _JVGX637Ecjs.SelectOption_default;
148
148
 
149
149
 
150
150
  exports.SelectList = SelectList;
151
- //# sourceMappingURL=YJVUWE3C.cjs.map
151
+ //# sourceMappingURL=SN7NPTN4.cjs.map
@@ -3,7 +3,7 @@ import {
3
3
  ColorBaseDestructive700,
4
4
  ColorBaseGray700,
5
5
  ColorCambioWhite100
6
- } from "./QC2DQIRT.js";
6
+ } from "./5HWHJRVZ.js";
7
7
  import {
8
8
  Focus_module_default
9
9
  } from "./KKADUD65.js";
@@ -148,4 +148,4 @@ SelectList.Option = SelectOption_default;
148
148
  export {
149
149
  SelectList
150
150
  };
151
- //# sourceMappingURL=XRGALIPY.js.map
151
+ //# sourceMappingURL=T3UI6LNR.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./77FFPQY6.js";
5
5
  import {
6
6
  Tabs_module_default
7
- } from "./3HA2NC7Q.js";
7
+ } from "./VV2NJABK.js";
8
8
  import {
9
9
  TabInternal
10
10
  } from "./PBHAJ42K.js";
@@ -12,7 +12,7 @@ import {
12
12
  Box_default
13
13
  } from "./IB6JZQF3.js";
14
14
 
15
- // src/Tabs/TabButton.tsx
15
+ // src/TabButton/TabButton.tsx
16
16
  import classnames from "classnames";
17
17
  import { jsx } from "react/jsx-runtime";
18
18
  function TabButton({
@@ -64,4 +64,4 @@ function TabButton({
64
64
  export {
65
65
  TabButton
66
66
  };
67
- //# sourceMappingURL=L6U2V7ZR.js.map
67
+ //# sourceMappingURL=TG2RCNZT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/TabButton/TabButton.tsx"],"sourcesContent":["import { type ReactElement, type ComponentProps } from \"react\";\nimport classnames from \"classnames\";\nimport TapArea from \"../TapArea/TapArea\";\nimport TabInternal from \"../Tabs/TabInternal\";\nimport styles from \"../Tabs/Tabs.module.css\";\nimport Box from \"../Box/Box\";\n\nexport default function TabButton({\n text,\n onClick,\n selected,\n endContent,\n itemCount,\n accessibilityLabel,\n \"data-testid\": dataTestId,\n on = \"lightBackground\",\n}: ComponentProps<typeof TabInternal> & {\n /**\n * The onClick event for the button\n */\n onClick: () => void;\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * Test id for the button\n */\n \"data-testid\"?: string;\n}): ReactElement {\n return (\n <div\n role=\"tab\"\n className={classnames(styles.tab, {\n [styles.unselectedTab]: !selected,\n [styles.selectedTabOnLightBackground]:\n selected && on === \"lightBackground\",\n [styles.selectedTabOnDarkBackground]:\n selected && on === \"darkBackground\",\n })}\n style={{\n height: \"100%\",\n }}\n >\n <Box display=\"flex\" direction=\"row\" alignItems=\"center\" height=\"100%\">\n <TapArea\n fullWidth={false}\n onClick={onClick}\n rounding=\"md\"\n data-testid={dataTestId}\n accessibilityLabel={accessibilityLabel}\n >\n <TabInternal\n text={text}\n selected={selected}\n endContent={endContent}\n itemCount={itemCount}\n on={on}\n />\n </TapArea>\n </Box>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;AACA,OAAO,gBAAgB;AAmDb;AA7CK,SAAR,UAA2B;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,KAAK;AACP,GAaiB;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,WAAW,WAAW,oBAAO,KAAK;AAAA,QAChC,CAAC,oBAAO,aAAa,GAAG,CAAC;AAAA,QACzB,CAAC,oBAAO,4BAA4B,GAClC,YAAY,OAAO;AAAA,QACrB,CAAC,oBAAO,2BAA2B,GACjC,YAAY,OAAO;AAAA,MACvB,CAAC;AAAA,MACD,OAAO;AAAA,QACL,QAAQ;AAAA,MACV;AAAA,MAEA,8BAAC,eAAI,SAAQ,QAAO,WAAU,OAAM,YAAW,UAAS,QAAO,QAC7D;AAAA,QAAC;AAAA;AAAA,UACC,WAAW;AAAA,UACX;AAAA,UACA,UAAS;AAAA,UACT,eAAa;AAAA,UACb;AAAA,UAEA;AAAA,YAAC;AAAA;AAAA,cACC;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA;AAAA,UACF;AAAA;AAAA,MACF,GACF;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  ButtonGroup_default
4
- } from "./BOX3VY3Q.js";
4
+ } from "./36DG472B.js";
5
5
  import {
6
6
  Button_default
7
7
  } from "./BIW5AZCF.js";
@@ -208,4 +208,4 @@ export {
208
208
  RichSelectBoxContext,
209
209
  RichSelectBox_default
210
210
  };
211
- //# sourceMappingURL=DJ6R47YF.js.map
211
+ //# sourceMappingURL=U6TGYOG7.js.map