@cambly/syntax-core 1.17.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -419,4 +419,82 @@
419
419
  width: 232px;
420
420
  }
421
421
  }
422
+
423
+ /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/RadioButton/RadioButton.module.css/#css-module-data */
424
+ ._radioButton_1dde1_1 {
425
+ display: flex;
426
+ flex-direction: row;
427
+ align-items: center;
428
+ cursor: pointer;
429
+ }
430
+ ._focusedRadioButton_1dde1_8 {
431
+ box-shadow: 0 0 0 4px #000;
432
+ outline: solid 2px #fff;
433
+ }
434
+ ._smBase_1dde1_13 {
435
+ height: 16px;
436
+ gap: 4px;
437
+ }
438
+ ._mdBase_1dde1_18 {
439
+ height: 24px;
440
+ gap: 8px;
441
+ }
442
+ ._radioStyleOverride_1dde1_23 {
443
+ opacity: 0;
444
+ margin: 0;
445
+ }
446
+ ._smOverride_1dde1_28 {
447
+ width: 16px;
448
+ height: 16px;
449
+ }
450
+ ._mdOverride_1dde1_33 {
451
+ width: 24px;
452
+ height: 24px;
453
+ }
454
+ ._outer_1dde1_38 {
455
+ display: flex;
456
+ justify-content: center;
457
+ align-items: center;
458
+ position: absolute;
459
+ }
460
+ ._sm_1dde1_13 {
461
+ height: 16px;
462
+ width: 16px;
463
+ border-radius: 8px;
464
+ }
465
+ ._md_1dde1_18 {
466
+ height: 24px;
467
+ width: 24px;
468
+ border-radius: 12px;
469
+ }
470
+ ._errorOuterBackgroundColor_1dde1_57 {
471
+ background-color: var(--color-base-destructive-700);
472
+ }
473
+ ._outerBackgroundColor_1dde1_61 {
474
+ background-color: var(--color-base-primary-700);
475
+ }
476
+ ._background_1dde1_65 {
477
+ position: absolute;
478
+ box-sizing: border-box;
479
+ border: 2px solid;
480
+ }
481
+ ._errorBorderColor_1dde1_71 {
482
+ border-color: var(--color-base-destructive-700);
483
+ }
484
+ ._borderColor_1dde1_75 {
485
+ border-color: var(--color-base-primary-700);
486
+ }
487
+ ._circle_1dde1_79 {
488
+ border-radius: 50%;
489
+ }
490
+ ._smInner_1dde1_83 {
491
+ background-color: var(--color-base-white);
492
+ height: 6px;
493
+ width: 6px;
494
+ }
495
+ ._mdInner_1dde1_89 {
496
+ background-color: var(--color-base-white);
497
+ height: 10px;
498
+ width: 10px;
499
+ }
422
500
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Avatar/Avatar.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Card/Card.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Divider/Divider.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/IconButton/IconButton.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/LabeledCheckbox/LabeledCheckbox.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/MiniActionCard/MiniActionCard.module.css/#css-module-data"],"sourcesContent":["._avatar_1s8z7_1 {\n background-position: center;\n background-size: cover;\n background-repeat: no-repeat;\n border-radius: 50%;\n}\n\n._sm_1s8z7_8 {\n width: 24px;\n height: 24px;\n}\n\n._md_1s8z7_13 {\n width: 40px;\n height: 40px;\n}\n\n._lg_1s8z7_18 {\n width: 72px;\n height: 72px;\n}\n\n._xl_1s8z7_23 {\n width: 128px;\n height: 128px;\n}\n","/* Regular Colors */\n._primary700Color_o4pig_2 {\n color: var(--color-base-primary-700);\n}\n\n._destructive700Color_o4pig_6 {\n color: var(--color-base-destructive-700);\n}\n\n._gray700Color_o4pig_10 {\n color: var(--color-base-gray-700);\n}\n\n._gray900Color_o4pig_14 {\n color: var(--color-base-gray-900);\n}\n\n._whiteColor_o4pig_18 {\n color: var(--color-base-white);\n}\n\n._inheritColor_o4pig_22 {\n color: inherit;\n}\n\n/* Background Colors */\n._primary100BackgroundColor_o4pig_27 {\n background-color: var(--color-base-primary-100);\n}\n\n._destructive700Background_o4pig_31 {\n background-color: var(--color-base-destructive-700);\n}\n\n._destructive100BackgroundColor_o4pig_35 {\n background-color: var(--color-base-destructive-100);\n}\n\n._success700BackgroundColor_o4pig_39 {\n background-color: var(--color-base-success-700);\n}\n\n._whiteBackgroundColor_o4pig_43 {\n background-color: var(--color-base-white);\n}\n\n._yellow700BackgroundColor_o4pig_47 {\n background-color: var(--color-base-yellow-700);\n}\n\n._primary700BackgroundColor_o4pig_51 {\n background-color: var(--color-base-primary-700);\n}\n","._button_1p2nl_1 {\n border: none;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n\n._buttonGap_1p2nl_9 {\n gap: 4px;\n}\n\n._button_1p2nl_1:hover {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.1) 0%,\n rgba(0, 0, 0, 0.1) 100%\n );\n transition-duration: 0.2s;\n cursor: pointer;\n}\n\n._button_1p2nl_1:focus-visible {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.2) 100%\n );\n box-shadow: 0 0 0 4px #000;\n outline: solid 2px #fff;\n}\n\n._button_1p2nl_1:active {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.2) 100%\n );\n transform: scale(0.97);\n transition-duration: 0.2s;\n}\n\n._button_1p2nl_1:disabled {\n filter: opacity(30%);\n background-image: none;\n transform: none;\n cursor: auto;\n}\n\n._fullWidth_1p2nl_50 {\n width: 100%;\n}\n\n._sm_1p2nl_54 {\n min-width: 52px;\n height: 32px;\n padding: 0 12px;\n border-radius: 8px;\n}\n\n._md_1p2nl_61 {\n min-width: 72px;\n height: 40px;\n padding: 0 16px;\n border-radius: 12px;\n}\n\n._lg_1p2nl_68 {\n min-width: 88px;\n height: 48px;\n padding: 0 20px;\n border-radius: 16px;\n}\n\n._icon_1p2nl_75 {\n color: inherit;\n}\n\n._smIcon_1p2nl_79 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 16px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 16px !important;\n}\n\n._mdIcon_1p2nl_86 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 20px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 20px !important;\n}\n\n._lgIcon_1p2nl_93 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 24px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 24px !important;\n}\n\n._textContainer_1p2nl_100 {\n padding-left: 4px;\n padding-right: 4px;\n}\n\n@keyframes _syntaxButtonLoadingRotate_1p2nl_1 {\n 0% {\n transform-origin: 50% 50%;\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n._loading_1p2nl_115 {\n animation: _syntaxButtonLoadingRotate_1p2nl_1 1.4s linear infinite;\n}\n\n._loadingCircle_1p2nl_119 {\n stroke: currentcolor;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0;\n transform-origin: center;\n}\n\n/** TODO Change with `Typography` component when available */\n._buttonText_1p2nl_127 {\n color: inherit;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto,\n Helvetica, Arial, sans-serif;\n font-weight: 500;\n}\n\n._buttonTextSmall_1p2nl_134 {\n font-size: 12px;\n}\n\n._buttonTextMedium_1p2nl_138 {\n font-size: 14px;\n}\n\n._buttonTextLarge_1p2nl_142 {\n font-size: 16px;\n}\n","._buttonGroup_184aa_1 {\n display: flex;\n gap: 8px;\n}\n\n._horizontal_184aa_6 {\n flex-direction: row;\n}\n\n._vertical_184aa_10 {\n flex-direction: column;\n}\n\n._smallGap_184aa_14 {\n gap: 8px;\n}\n\n._mediumGap_184aa_18 {\n gap: 12px;\n}\n\n._largeGap_184aa_22 {\n gap: 16px;\n}\n","._card_hvz2b_1 {\n border-radius: 24px;\n padding: 28px;\n background-color: #fff;\n}\n\n@media (min-width: 480px) {\n ._card_hvz2b_1 {\n padding: 36px;\n }\n}\n","._divider_1ddgq_1 {\n background-color: var(--color-base-gray-10);\n border-radius: 50px;\n border: none;\n height: 1px;\n margin: 0;\n}\n","._typography_1krnf_1 {\n font-family: -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto,\n Helvetica, Arial, sans-serif;\n margin: 0;\n}\n\n/* Sizes */\n._size100_1krnf_8 {\n font-size: 12px;\n}\n\n._size200_1krnf_12 {\n font-size: 14px;\n}\n\n._size300_1krnf_16 {\n font-size: 16px;\n}\n\n._size500_1krnf_20 {\n font-size: 20px;\n}\n\n._size600_1krnf_24 {\n font-size: 28px;\n}\n\n._size700_1krnf_28 {\n font-size: 40px;\n}\n\n._size800_1krnf_32 {\n font-size: 64px;\n}\n\n/* Align */\n._center_1krnf_37 {\n text-align: center;\n}\n\n._forceLeft_1krnf_41 {\n text-align: left;\n}\n\n._forceRight_1krnf_45 {\n text-align: right;\n}\n\n._start_1krnf_49 {\n text-align: start;\n}\n\n._end_1krnf_53 {\n text-align: end;\n}\n\n/* Boldness */\n._bold_1krnf_58 {\n font-weight: 700;\n}\n\n._regular_1krnf_62 {\n font-weight: 400;\n}\n\n._semiBold_1krnf_66 {\n font-weight: 600;\n}\n\n._heavy_1krnf_70 {\n font-weight: 860;\n}\n\n._underline_1krnf_74 {\n text-decoration: underline;\n}\n\n._inline_1krnf_78 {\n display: inline;\n}\n\n._uppercase_1krnf_82 {\n text-transform: uppercase;\n}\n","._iconButton_dzhn0_1 {\n align-items: center;\n justify-content: center;\n display: flex;\n border: none;\n border-radius: 50%;\n}\n\n._iconButton_dzhn0_1:hover {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.1) 0%,\n rgba(0, 0, 0, 0.1) 100%\n );\n transition-duration: 0.2s;\n cursor: pointer;\n}\n\n._iconButton_dzhn0_1:focus-visible {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.2) 100%\n );\n box-shadow: 0 0 0 4px #000;\n outline: solid 2px #fff;\n}\n\n._iconButton_dzhn0_1:active {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.2) 100%\n );\n transform: scale(0.97);\n transition-duration: 0.2s;\n}\n\n._iconButton_dzhn0_1:disabled {\n filter: opacity(30%);\n background-image: none;\n transform: none;\n cursor: auto;\n}\n\n._sm_dzhn0_46 {\n height: 32px;\n width: 32px;\n}\n\n._md_dzhn0_51 {\n height: 40px;\n width: 40px;\n}\n\n._lg_dzhn0_56 {\n height: 48px;\n width: 48px;\n}\n\n._smIcon_dzhn0_61 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 16px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 16px !important;\n}\n\n._mdIcon_dzhn0_68 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 20px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 20px !important;\n}\n\n._lgIcon_dzhn0_75 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 24px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 24px !important;\n}\n","._mainContainer_p0un4_1 {\n display: flex;\n flex-direction: row;\n gap: 8px;\n align-items: center;\n}\n\n._checkboxContainer_p0un4_8 {\n display: flex;\n flex-direction: row;\n}\n\n._inputOverlay_p0un4_13 {\n opacity: 0;\n position: absolute;\n z-index: 1;\n cursor: pointer;\n margin: 0;\n}\n\n._focusedCheckbox_p0un4_21 {\n box-shadow: 0 0 0 4px #000;\n outline: solid 2px #fff;\n}\n\n._checkbox_p0un4_8 {\n position: relative;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n}\n\n._uncheckedBox_p0un4_35 {\n border: 2px solid;\n}\n\n._uncheckedBorder_p0un4_39 {\n border-color: var(--color-base-primary-700);\n}\n\n._uncheckedErrorBorder_p0un4_43 {\n border-color: var(--color-base-destructive-700);\n}\n\n._checkedBox_p0un4_47 {\n color: #fff;\n}\n\n._checkedNonError_p0un4_51 {\n background: var(--color-base-primary-700);\n}\n\n._checkedError_p0un4_55 {\n background: var(--color-base-destructive-700);\n}\n\n._sm_p0un4_59 {\n height: 16px;\n width: 16px;\n border-radius: 6px;\n}\n\n._md_p0un4_65 {\n height: 24px;\n width: 24px;\n border-radius: 8px;\n}\n","._miniActionCard_qebkn_1 {\n border-radius: 24px;\n padding: 20px;\n width: 169px;\n height: 156px;\n background-color: #fff;\n}\n\n._card_qebkn_9 {\n border-radius: 24px;\n padding: 28px;\n background-color: #fff;\n}\n\n@media (min-width: 480px) {\n ._miniActionCard_qebkn_1 {\n width: 232px;\n }\n}\n"],"mappings":";AAAA;AACE;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;;;ACvBF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAIF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;A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AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;;;AClFF;AACE;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AAKA;AACA;AAAA;AAGF;AACE;AAKA;AACA;AAAA;AAGF;AACE;AAKA;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AAEE;AAEA;AAAA;AAGF;AAEE;AAEA;AAAA;AAGF;AAEE;AAEA;AAAA;;;AC9EF;AACE;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AAAA;;;ACnEF;AACE;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AAAA;AAGF;AACE;AACE;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Avatar/Avatar.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Card/Card.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Divider/Divider.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/IconButton/IconButton.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/LabeledCheckbox/LabeledCheckbox.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/MiniActionCard/MiniActionCard.module.css/#css-module-data","css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/RadioButton/RadioButton.module.css/#css-module-data"],"sourcesContent":["._avatar_1s8z7_1 {\n background-position: center;\n background-size: cover;\n background-repeat: no-repeat;\n border-radius: 50%;\n}\n\n._sm_1s8z7_8 {\n width: 24px;\n height: 24px;\n}\n\n._md_1s8z7_13 {\n width: 40px;\n height: 40px;\n}\n\n._lg_1s8z7_18 {\n width: 72px;\n height: 72px;\n}\n\n._xl_1s8z7_23 {\n width: 128px;\n height: 128px;\n}\n","/* Regular Colors */\n._primary700Color_o4pig_2 {\n color: var(--color-base-primary-700);\n}\n\n._destructive700Color_o4pig_6 {\n color: var(--color-base-destructive-700);\n}\n\n._gray700Color_o4pig_10 {\n color: var(--color-base-gray-700);\n}\n\n._gray900Color_o4pig_14 {\n color: var(--color-base-gray-900);\n}\n\n._whiteColor_o4pig_18 {\n color: var(--color-base-white);\n}\n\n._inheritColor_o4pig_22 {\n color: inherit;\n}\n\n/* Background Colors */\n._primary100BackgroundColor_o4pig_27 {\n background-color: var(--color-base-primary-100);\n}\n\n._destructive700Background_o4pig_31 {\n background-color: var(--color-base-destructive-700);\n}\n\n._destructive100BackgroundColor_o4pig_35 {\n background-color: var(--color-base-destructive-100);\n}\n\n._success700BackgroundColor_o4pig_39 {\n background-color: var(--color-base-success-700);\n}\n\n._whiteBackgroundColor_o4pig_43 {\n background-color: var(--color-base-white);\n}\n\n._yellow700BackgroundColor_o4pig_47 {\n background-color: var(--color-base-yellow-700);\n}\n\n._primary700BackgroundColor_o4pig_51 {\n background-color: var(--color-base-primary-700);\n}\n","._button_1p2nl_1 {\n border: none;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n\n._buttonGap_1p2nl_9 {\n gap: 4px;\n}\n\n._button_1p2nl_1:hover {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.1) 0%,\n rgba(0, 0, 0, 0.1) 100%\n );\n transition-duration: 0.2s;\n cursor: pointer;\n}\n\n._button_1p2nl_1:focus-visible {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.2) 100%\n );\n box-shadow: 0 0 0 4px #000;\n outline: solid 2px #fff;\n}\n\n._button_1p2nl_1:active {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.2) 100%\n );\n transform: scale(0.97);\n transition-duration: 0.2s;\n}\n\n._button_1p2nl_1:disabled {\n filter: opacity(30%);\n background-image: none;\n transform: none;\n cursor: auto;\n}\n\n._fullWidth_1p2nl_50 {\n width: 100%;\n}\n\n._sm_1p2nl_54 {\n min-width: 52px;\n height: 32px;\n padding: 0 12px;\n border-radius: 8px;\n}\n\n._md_1p2nl_61 {\n min-width: 72px;\n height: 40px;\n padding: 0 16px;\n border-radius: 12px;\n}\n\n._lg_1p2nl_68 {\n min-width: 88px;\n height: 48px;\n padding: 0 20px;\n border-radius: 16px;\n}\n\n._icon_1p2nl_75 {\n color: inherit;\n}\n\n._smIcon_1p2nl_79 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 16px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 16px !important;\n}\n\n._mdIcon_1p2nl_86 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 20px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 20px !important;\n}\n\n._lgIcon_1p2nl_93 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 24px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 24px !important;\n}\n\n._textContainer_1p2nl_100 {\n padding-left: 4px;\n padding-right: 4px;\n}\n\n@keyframes _syntaxButtonLoadingRotate_1p2nl_1 {\n 0% {\n transform-origin: 50% 50%;\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n._loading_1p2nl_115 {\n animation: _syntaxButtonLoadingRotate_1p2nl_1 1.4s linear infinite;\n}\n\n._loadingCircle_1p2nl_119 {\n stroke: currentcolor;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0;\n transform-origin: center;\n}\n\n/** TODO Change with `Typography` component when available */\n._buttonText_1p2nl_127 {\n color: inherit;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto,\n Helvetica, Arial, sans-serif;\n font-weight: 500;\n}\n\n._buttonTextSmall_1p2nl_134 {\n font-size: 12px;\n}\n\n._buttonTextMedium_1p2nl_138 {\n font-size: 14px;\n}\n\n._buttonTextLarge_1p2nl_142 {\n font-size: 16px;\n}\n","._buttonGroup_184aa_1 {\n display: flex;\n gap: 8px;\n}\n\n._horizontal_184aa_6 {\n flex-direction: row;\n}\n\n._vertical_184aa_10 {\n flex-direction: column;\n}\n\n._smallGap_184aa_14 {\n gap: 8px;\n}\n\n._mediumGap_184aa_18 {\n gap: 12px;\n}\n\n._largeGap_184aa_22 {\n gap: 16px;\n}\n","._card_hvz2b_1 {\n border-radius: 24px;\n padding: 28px;\n background-color: #fff;\n}\n\n@media (min-width: 480px) {\n ._card_hvz2b_1 {\n padding: 36px;\n }\n}\n","._divider_1ddgq_1 {\n background-color: var(--color-base-gray-10);\n border-radius: 50px;\n border: none;\n height: 1px;\n margin: 0;\n}\n","._typography_1krnf_1 {\n font-family: -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto,\n Helvetica, Arial, sans-serif;\n margin: 0;\n}\n\n/* Sizes */\n._size100_1krnf_8 {\n font-size: 12px;\n}\n\n._size200_1krnf_12 {\n font-size: 14px;\n}\n\n._size300_1krnf_16 {\n font-size: 16px;\n}\n\n._size500_1krnf_20 {\n font-size: 20px;\n}\n\n._size600_1krnf_24 {\n font-size: 28px;\n}\n\n._size700_1krnf_28 {\n font-size: 40px;\n}\n\n._size800_1krnf_32 {\n font-size: 64px;\n}\n\n/* Align */\n._center_1krnf_37 {\n text-align: center;\n}\n\n._forceLeft_1krnf_41 {\n text-align: left;\n}\n\n._forceRight_1krnf_45 {\n text-align: right;\n}\n\n._start_1krnf_49 {\n text-align: start;\n}\n\n._end_1krnf_53 {\n text-align: end;\n}\n\n/* Boldness */\n._bold_1krnf_58 {\n font-weight: 700;\n}\n\n._regular_1krnf_62 {\n font-weight: 400;\n}\n\n._semiBold_1krnf_66 {\n font-weight: 600;\n}\n\n._heavy_1krnf_70 {\n font-weight: 860;\n}\n\n._underline_1krnf_74 {\n text-decoration: underline;\n}\n\n._inline_1krnf_78 {\n display: inline;\n}\n\n._uppercase_1krnf_82 {\n text-transform: uppercase;\n}\n","._iconButton_dzhn0_1 {\n align-items: center;\n justify-content: center;\n display: flex;\n border: none;\n border-radius: 50%;\n}\n\n._iconButton_dzhn0_1:hover {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.1) 0%,\n rgba(0, 0, 0, 0.1) 100%\n );\n transition-duration: 0.2s;\n cursor: pointer;\n}\n\n._iconButton_dzhn0_1:focus-visible {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.2) 100%\n );\n box-shadow: 0 0 0 4px #000;\n outline: solid 2px #fff;\n}\n\n._iconButton_dzhn0_1:active {\n background-image: linear-gradient(\n to bottom,\n rgba(0, 0, 0, 0.2) 0%,\n rgba(0, 0, 0, 0.2) 100%\n );\n transform: scale(0.97);\n transition-duration: 0.2s;\n}\n\n._iconButton_dzhn0_1:disabled {\n filter: opacity(30%);\n background-image: none;\n transform: none;\n cursor: auto;\n}\n\n._sm_dzhn0_46 {\n height: 32px;\n width: 32px;\n}\n\n._md_dzhn0_51 {\n height: 40px;\n width: 40px;\n}\n\n._lg_dzhn0_56 {\n height: 48px;\n width: 48px;\n}\n\n._smIcon_dzhn0_61 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 16px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 16px !important;\n}\n\n._mdIcon_dzhn0_68 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 20px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 20px !important;\n}\n\n._lgIcon_dzhn0_75 {\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n height: 24px !important;\n /* stylelint-disable-next-line declaration-no-important -- Need to use !important to override MUI icon sizes */\n width: 24px !important;\n}\n","._mainContainer_p0un4_1 {\n display: flex;\n flex-direction: row;\n gap: 8px;\n align-items: center;\n}\n\n._checkboxContainer_p0un4_8 {\n display: flex;\n flex-direction: row;\n}\n\n._inputOverlay_p0un4_13 {\n opacity: 0;\n position: absolute;\n z-index: 1;\n cursor: pointer;\n margin: 0;\n}\n\n._focusedCheckbox_p0un4_21 {\n box-shadow: 0 0 0 4px #000;\n outline: solid 2px #fff;\n}\n\n._checkbox_p0un4_8 {\n position: relative;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n}\n\n._uncheckedBox_p0un4_35 {\n border: 2px solid;\n}\n\n._uncheckedBorder_p0un4_39 {\n border-color: var(--color-base-primary-700);\n}\n\n._uncheckedErrorBorder_p0un4_43 {\n border-color: var(--color-base-destructive-700);\n}\n\n._checkedBox_p0un4_47 {\n color: #fff;\n}\n\n._checkedNonError_p0un4_51 {\n background: var(--color-base-primary-700);\n}\n\n._checkedError_p0un4_55 {\n background: var(--color-base-destructive-700);\n}\n\n._sm_p0un4_59 {\n height: 16px;\n width: 16px;\n border-radius: 6px;\n}\n\n._md_p0un4_65 {\n height: 24px;\n width: 24px;\n border-radius: 8px;\n}\n","._miniActionCard_qebkn_1 {\n border-radius: 24px;\n padding: 20px;\n width: 169px;\n height: 156px;\n background-color: #fff;\n}\n\n._card_qebkn_9 {\n border-radius: 24px;\n padding: 28px;\n background-color: #fff;\n}\n\n@media (min-width: 480px) {\n ._miniActionCard_qebkn_1 {\n width: 232px;\n }\n}\n","._radioButton_1dde1_1 {\n display: flex;\n flex-direction: row;\n align-items: center;\n cursor: pointer;\n}\n\n._focusedRadioButton_1dde1_8 {\n box-shadow: 0 0 0 4px #000;\n outline: solid 2px #fff;\n}\n\n._smBase_1dde1_13 {\n height: 16px;\n gap: 4px;\n}\n\n._mdBase_1dde1_18 {\n height: 24px;\n gap: 8px;\n}\n\n._radioStyleOverride_1dde1_23 {\n opacity: 0;\n margin: 0;\n}\n\n._smOverride_1dde1_28 {\n width: 16px;\n height: 16px;\n}\n\n._mdOverride_1dde1_33 {\n width: 24px;\n height: 24px;\n}\n\n._outer_1dde1_38 {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n._sm_1dde1_13 {\n height: 16px;\n width: 16px;\n border-radius: 8px;\n}\n\n._md_1dde1_18 {\n height: 24px;\n width: 24px;\n border-radius: 12px;\n}\n\n._errorOuterBackgroundColor_1dde1_57 {\n background-color: var(--color-base-destructive-700);\n}\n\n._outerBackgroundColor_1dde1_61 {\n background-color: var(--color-base-primary-700);\n}\n\n._background_1dde1_65 {\n position: absolute;\n box-sizing: border-box;\n border: 2px solid;\n}\n\n._errorBorderColor_1dde1_71 {\n border-color: var(--color-base-destructive-700);\n}\n\n._borderColor_1dde1_75 {\n border-color: var(--color-base-primary-700);\n}\n\n._circle_1dde1_79 {\n border-radius: 50%;\n}\n\n._smInner_1dde1_83 {\n background-color: var(--color-base-white);\n height: 6px;\n width: 6px;\n}\n\n._mdInner_1dde1_89 {\n background-color: var(--color-base-white);\n height: 10px;\n width: 10px;\n}\n"],"mappings":";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AAA;AAIF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAIF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAIF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;;;AClFF;AACE;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AAKA;AACA;AAAA;AAGF;AACE;AAKA;AACA;AAAA;AAGF;AACE;AAKA;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AAEE;AAEA;AAAA;AAGF;AAEE;AAEA;AAAA;AAGF;AAEE;AAEA;AAAA;;;AC9EF;AACE;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AAAA;;;ACnEF;AACE;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AAAA;AAGF;AACE;AACE;AAAA;AAAA;;;AChBJ;AACE;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AACA;AACA;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AAAA;","names":[]}
package/dist/index.d.ts CHANGED
@@ -247,6 +247,7 @@ declare const IconButton: ({ accessibilityLabel, color, disabled: disabledProp,
247
247
  declare const Checkbox: ({ checked, disabled, size, label, error, onChange, }: {
248
248
  /**
249
249
  * Whether or not the box has been clicked
250
+ *
250
251
  * @defaultValue false
251
252
  */
252
253
  checked: boolean;
@@ -256,11 +257,16 @@ declare const Checkbox: ({ checked, disabled, size, label, error, onChange, }: {
256
257
  onChange: React.ChangeEventHandler<HTMLInputElement>;
257
258
  /**
258
259
  * Whether or not the box is disabled
260
+ *
259
261
  * @defaultValue false
260
262
  */
261
263
  disabled?: boolean | undefined;
262
264
  /**
263
265
  * The size of the checkbox and icon
266
+ *
267
+ * * `sm`: 16px
268
+ * * `md`: 24px
269
+ *
264
270
  * @defaultValue "md"
265
271
  */
266
272
  size?: "sm" | "md" | undefined;
@@ -270,6 +276,7 @@ declare const Checkbox: ({ checked, disabled, size, label, error, onChange, }: {
270
276
  label: string;
271
277
  /**
272
278
  * Whether or not there is an error with the input
279
+ *
273
280
  * @defaultValue false
274
281
  */
275
282
  error?: boolean | undefined;
@@ -357,4 +364,49 @@ declare const Typography: ({ align, as, children, color, inline, size, tooltip,
357
364
  weight?: "regular" | "semiBold" | "bold" | "heavy" | undefined;
358
365
  }) => ReactElement;
359
366
 
360
- export { Avatar, Button, ButtonGroup, Card, Divider, Heading, IconButton, Checkbox as LabeledCheckbox, MiniActionCard, Typography };
367
+ /**
368
+ * RadioButton is a radio button with accompanying text
369
+ */
370
+ declare const RadioButton: ({ checked, disabled, error, label, onChange, size, value, }: {
371
+ /**
372
+ * Whether or not the box is checked
373
+ *
374
+ * @defaultValue false
375
+ */
376
+ checked?: boolean | undefined;
377
+ /**
378
+ * Whether or not the box is disabled
379
+ *
380
+ * @defaultValue false
381
+ */
382
+ disabled?: boolean | undefined;
383
+ /**
384
+ * Whether to show error color schema
385
+ *
386
+ * @defaultValue false
387
+ */
388
+ error?: boolean | undefined;
389
+ /**
390
+ * Always add a label tag for best accessibility practices
391
+ */
392
+ label: string;
393
+ /**
394
+ * The callback to be called when the button is clicked
395
+ */
396
+ onChange: React.ChangeEventHandler<HTMLInputElement>;
397
+ /**
398
+ * Size of the components
399
+ *
400
+ * * `sm`: 16px
401
+ * * `md`: 24px
402
+ *
403
+ * @defaultValue "md"
404
+ */
405
+ size?: "sm" | "md" | undefined;
406
+ /**
407
+ * Value of the selected radio option
408
+ */
409
+ value?: string | undefined;
410
+ }) => ReactElement;
411
+
412
+ export { Avatar, Button, ButtonGroup, Card, Divider, Heading, IconButton, Checkbox as LabeledCheckbox, MiniActionCard, RadioButton, Typography };
package/dist/index.js CHANGED
@@ -93,6 +93,7 @@ __export(src_exports, {
93
93
  IconButton: () => IconButton_default,
94
94
  LabeledCheckbox: () => LabeledCheckbox_default,
95
95
  MiniActionCard: () => MiniActionCard_default,
96
+ RadioButton: () => RadioButton_default,
96
97
  Typography: () => Typography_default
97
98
  });
98
99
  module.exports = __toCommonJS(src_exports);
@@ -287,11 +288,11 @@ var ButtonGroup = ({
287
288
  () => ({ disabled, fullWidth, size }),
288
289
  [disabled, fullWidth, size]
289
290
  );
290
- const classnames = (0, import_classnames3.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
291
+ const classnames2 = (0, import_classnames3.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
291
292
  [ButtonGroup_module_default.horizontal]: orientation === "horizontal",
292
293
  [ButtonGroup_module_default.vertical]: orientation === "vertical"
293
294
  });
294
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ButtonGroupContext_default.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: classnames, children }) });
295
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ButtonGroupContext_default.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: classnames2, children }) });
295
296
  };
296
297
  var ButtonGroup_default = ButtonGroup;
297
298
 
@@ -480,8 +481,6 @@ var Checkbox = ({
480
481
  type: "checkbox",
481
482
  className: (0, import_classnames6.default)(LabeledCheckbox_module_default.inputOverlay, LabeledCheckbox_module_default[size]),
482
483
  checked,
483
- "aria-checked": checked,
484
- tabIndex: 0,
485
484
  onChange,
486
485
  disabled,
487
486
  onFocus: () => {
@@ -521,6 +520,95 @@ var MiniActionCard = ({
521
520
  children
522
521
  }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: MiniActionCard_module_default.miniActionCard, children });
523
522
  var MiniActionCard_default = MiniActionCard;
523
+
524
+ // src/RadioButton/RadioButton.tsx
525
+ var import_react6 = require("react");
526
+ var import_classnames7 = __toESM(require_classnames());
527
+
528
+ // css-module:./RadioButton.module.css#css-module
529
+ var RadioButton_module_default = { "radioButton": "_radioButton_1dde1_1", "focusedRadioButton": "_focusedRadioButton_1dde1_8", "smBase": "_smBase_1dde1_13", "mdBase": "_mdBase_1dde1_18", "radioStyleOverride": "_radioStyleOverride_1dde1_23", "smOverride": "_smOverride_1dde1_28", "mdOverride": "_mdOverride_1dde1_33", "outer": "_outer_1dde1_38", "sm": "_sm_1dde1_13", "md": "_md_1dde1_18", "errorOuterBackgroundColor": "_errorOuterBackgroundColor_1dde1_57", "outerBackgroundColor": "_outerBackgroundColor_1dde1_61", "background": "_background_1dde1_65", "errorBorderColor": "_errorBorderColor_1dde1_71", "borderColor": "_borderColor_1dde1_75", "circle": "_circle_1dde1_79", "smInner": "_smInner_1dde1_83", "mdInner": "_mdInner_1dde1_89" };
530
+
531
+ // src/RadioButton/RadioButton.tsx
532
+ var import_jsx_runtime11 = require("react/jsx-runtime");
533
+ var RadioButton = ({
534
+ checked = false,
535
+ disabled = false,
536
+ error = false,
537
+ label,
538
+ onChange,
539
+ size = "md",
540
+ value = ""
541
+ }) => {
542
+ const [isFocused, setIsFocused] = (0, import_react6.useState)(false);
543
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
544
+ "label",
545
+ {
546
+ className: (0, import_classnames7.default)(RadioButton_module_default.radioButton, {
547
+ [RadioButton_module_default.smBase]: size === "sm",
548
+ [RadioButton_module_default.mdBase]: size === "md"
549
+ }),
550
+ children: [
551
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
552
+ "input",
553
+ {
554
+ type: "radio",
555
+ className: (0, import_classnames7.default)(RadioButton_module_default.radioStyleOverride, {
556
+ [RadioButton_module_default.smOverride]: size === "sm",
557
+ [RadioButton_module_default.mdOverride]: size === "md"
558
+ }),
559
+ checked,
560
+ onChange,
561
+ disabled,
562
+ value: value != null ? value : label,
563
+ onFocus: () => {
564
+ setIsFocused(true);
565
+ },
566
+ onBlur: () => {
567
+ setIsFocused(false);
568
+ }
569
+ }
570
+ ),
571
+ checked ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
572
+ "div",
573
+ {
574
+ className: (0, import_classnames7.default)(RadioButton_module_default.outer, RadioButton_module_default[size], {
575
+ [RadioButton_module_default.errorOuterBackgroundColor]: error,
576
+ [RadioButton_module_default.outerBackgroundColor]: !error,
577
+ [RadioButton_module_default.focusedRadioButton]: isFocused
578
+ }),
579
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
580
+ "div",
581
+ {
582
+ className: (0, import_classnames7.default)(RadioButton_module_default.circle, {
583
+ [RadioButton_module_default.smInner]: size === "sm",
584
+ [RadioButton_module_default.mdInner]: size === "md"
585
+ })
586
+ }
587
+ )
588
+ }
589
+ ) : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
590
+ "div",
591
+ {
592
+ className: (0, import_classnames7.default)(RadioButton_module_default.background, RadioButton_module_default[size], {
593
+ [RadioButton_module_default.errorBorderColor]: error,
594
+ [RadioButton_module_default.borderColor]: !error,
595
+ [RadioButton_module_default.focusedRadioButton]: isFocused
596
+ })
597
+ }
598
+ ),
599
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
600
+ Typography_default,
601
+ {
602
+ size: size === "md" ? 200 : 100,
603
+ color: error ? "destructive-primary" : "gray800",
604
+ children: label
605
+ }
606
+ )
607
+ ]
608
+ }
609
+ );
610
+ };
611
+ var RadioButton_default = RadioButton;
524
612
  // Annotate the CommonJS export names for ESM import in node:
525
613
  0 && (module.exports = {
526
614
  Avatar,
@@ -532,6 +620,7 @@ var MiniActionCard_default = MiniActionCard;
532
620
  IconButton,
533
621
  LabeledCheckbox,
534
622
  MiniActionCard,
623
+ RadioButton,
535
624
  Typography
536
625
  });
537
626
  /*! Bundled license information:
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/classnames/index.js","../src/index.tsx","../src/Avatar/Avatar.tsx","css-module:./Avatar.module.css#css-module","../src/Button/Button.tsx","css-module:./colors.module.css#css-module","../src/colors/backgroundColor.ts","../src/colors/foregroundColor.ts","../src/ButtonGroup/ButtonGroupContext.tsx","css-module:./Button.module.css#css-module","../src/ButtonGroup/ButtonGroup.tsx","css-module:./ButtonGroup.module.css#css-module","css-module:./Card.module.css#css-module","../src/Card/Card.tsx","css-module:./Divider.module.css#css-module","../src/Divider/Divider.tsx","../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module","css-module:../colors/colors.module.css#css-module","../src/Heading/Heading.tsx","../src/IconButton/IconButton.tsx","css-module:./IconButton.module.css#css-module","../src/LabeledCheckbox/LabeledCheckbox.tsx","css-module:./LabeledCheckbox.module.css#css-module","css-module:./MiniActionCard.module.css#css-module","../src/MiniActionCard/MiniActionCard.tsx"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import Avatar from \"./Avatar/Avatar\";\nimport Button from \"./Button/Button\";\nimport ButtonGroup from \"./ButtonGroup/ButtonGroup\";\nimport Card from \"./Card/Card\";\nimport Divider from \"./Divider/Divider\";\nimport Heading from \"./Heading/Heading\";\nimport IconButton from \"./IconButton/IconButton\";\nimport LabeledCheckbox from \"./LabeledCheckbox/LabeledCheckbox\";\nimport MiniActionCard from \"./MiniActionCard/MiniActionCard\";\nimport Typography from \"./Typography/Typography\";\n\nexport {\n Avatar,\n Button,\n ButtonGroup,\n Card,\n Divider,\n Heading,\n IconButton,\n LabeledCheckbox,\n MiniActionCard,\n Typography,\n};\n","import classNames from \"classnames\";\nimport styles from \"./Avatar.module.css\";\n\n/**\n * Avatar is a circular image that represents a user.\n */\nconst Avatar = ({\n src,\n accessibilityLabel,\n size = \"md\",\n}: {\n /**\n * URL of the image to display as the avatar.\n */\n src: string;\n /**\n * Alt text to use for the image.\n * This should describe the image to people using screen readers.\n */\n accessibilityLabel: string;\n /**\n * Size of the avatar.\n *\n * * `sm`: 24px\n * * `md`: 40px\n * * `lg`: 72px\n * * `xl`: 128px\n *\n * @defaultValue `md`\n */\n size?: \"sm\" | \"md\" | \"lg\" | \"xl\";\n}): JSX.Element => {\n return (\n <img\n alt={accessibilityLabel}\n src={src}\n className={classNames(styles.avatar, styles[size])}\n />\n );\n};\n\nexport default Avatar;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Avatar/Avatar.module.css\"; export default {\"avatar\":\"_avatar_1s8z7_1\",\"sm\":\"_sm_1s8z7_8\",\"md\":\"_md_1s8z7_13\",\"lg\":\"_lg_1s8z7_18\",\"xl\":\"_xl_1s8z7_23\"}","import classNames from \"classnames\";\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport React, { useContext, ReactElement } from \"react\";\nimport { Color, Size } from \"../constants\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext\";\nimport styles from \"./Button.module.css\";\n\nconst textVariant = {\n // Replace with `Typography` once it lands in `syntax-core`\n [\"sm\"]: styles.buttonTextSmall,\n [\"md\"]: styles.buttonTextMedium,\n [\"lg\"]: styles.buttonTextLarge,\n} as const;\n\nconst loadingIconSize = {\n [\"sm\"]: 16,\n [\"md\"]: 20,\n [\"lg\"]: 24,\n};\n\nconst iconSize = {\n [\"sm\"]: styles.smIcon,\n [\"md\"]: styles.mdIcon,\n [\"lg\"]: styles.lgIcon,\n};\n\n/**\n * Button is a clickable element that is used to perform an action.\n */\nconst Button = ({\n text,\n loadingText,\n color = \"primary\",\n size: sizeProp = \"md\",\n accessibilityLabel,\n disabled: disabledProp = false,\n loading = false,\n fullWidth: fullWidthProp = false,\n startIcon: StartIcon,\n endIcon: EndIcon,\n onClick,\n tooltip,\n}: {\n /**\n * The text to be displayed inside the button\n */\n text: string;\n /**\n * The text to be displayed inside the button when it is in a loading state\n */\n loadingText?: string;\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?: (typeof Color)[number];\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, the button will be in a loading state\n *\n * @defaultValue false\n */\n loading?: boolean;\n /**\n * If `true`, the button will take up the full width of its container\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The icon to be displayed at the start of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n startIcon?: React.ComponentType<{ className: string }>;\n /**\n * The icon to be displayed at the end of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n endIcon?: React.ComponentType<{ className: string }>;\n /**\n * The callback to be called when the button is clicked\n */\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n}): ReactElement => {\n const contextProps = useContext(ButtonGroupContext);\n\n const size = contextProps?.size || sizeProp;\n const disabled = contextProps?.disabled || disabledProp;\n const fullWidth = contextProps?.fullWidth || fullWidthProp;\n\n return (\n <button\n aria-label={accessibilityLabel}\n type=\"button\"\n title={tooltip}\n disabled={disabled || loading}\n onClick={onClick}\n className={classNames(\n styles.button,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n {\n [styles.fullWidth]: fullWidth,\n [styles.buttonGap]: size === \"lg\" || size === \"md\",\n },\n )}\n >\n {!loading && StartIcon && (\n <StartIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {((loading && loadingText) || (!loading && text)) && (\n <div className={styles.textContainer}>\n {/* Replace with `Typography` once it lands in `syntax-core` */}\n <div className={classNames(styles.buttonText, textVariant[size])}>\n {loading ? loadingText : text}\n </div>\n </div>\n )}\n {!loading && EndIcon && (\n <EndIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {loading && (\n <svg\n className={classNames(styles.loading, foregroundColor(color))}\n viewBox=\"22 22 44 44\"\n width={loadingIconSize[size]}\n height={loadingIconSize[size]}\n >\n <circle\n className={styles.loadingCircle}\n cx=\"44\"\n cy=\"44\"\n r=\"20.2\"\n fill=\"none\"\n strokeWidth=\"3.6\"\n />\n </svg>\n )}\n </button>\n );\n};\n\nexport default Button;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"primary700Color\":\"_primary700Color_o4pig_2\",\"destructive700Color\":\"_destructive700Color_o4pig_6\",\"gray700Color\":\"_gray700Color_o4pig_10\",\"gray900Color\":\"_gray900Color_o4pig_14\",\"whiteColor\":\"_whiteColor_o4pig_18\",\"inheritColor\":\"_inheritColor_o4pig_22\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_o4pig_27\",\"destructive700Background\":\"_destructive700Background_o4pig_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_o4pig_35\",\"success700BackgroundColor\":\"_success700BackgroundColor_o4pig_39\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_o4pig_43\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_o4pig_47\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_o4pig_51\"}","import { Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function backgroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n return styles.primary100BackgroundColor;\n case \"destructive-primary\":\n return styles.destructive700Background;\n case \"destructive-secondary\":\n return styles.destructive100BackgroundColor;\n case \"success\":\n return styles.success700BackgroundColor;\n case \"tertiary\":\n case \"destructive-tertiary\":\n return styles.whiteBackgroundColor;\n case \"branded\":\n return styles.yellow700BackgroundColor;\n default:\n return styles.primary700BackgroundColor;\n }\n}\n","import { Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function foregroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n case \"tertiary\":\n return styles.primary700Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.destructive700Color;\n case \"branded\":\n return styles.gray900Color;\n default:\n return styles.whiteColor;\n }\n}\n","import { Size } from \"../constants\";\nimport React from \"react\";\n\ninterface ButtonGroupContextType {\n size?: (typeof Size)[number];\n disabled?: boolean;\n fullWidth?: boolean;\n}\n\nconst ButtonGroupContext = React.createContext<ButtonGroupContextType | null>(\n {},\n);\n\nButtonGroupContext.displayName = \"ButtonGroupContext\";\n\nexport default ButtonGroupContext;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_1p2nl_1\",\"buttonGap\":\"_buttonGap_1p2nl_9\",\"fullWidth\":\"_fullWidth_1p2nl_50\",\"sm\":\"_sm_1p2nl_54\",\"md\":\"_md_1p2nl_61\",\"lg\":\"_lg_1p2nl_68\",\"icon\":\"_icon_1p2nl_75\",\"smIcon\":\"_smIcon_1p2nl_79\",\"mdIcon\":\"_mdIcon_1p2nl_86\",\"lgIcon\":\"_lgIcon_1p2nl_93\",\"textContainer\":\"_textContainer_1p2nl_100\",\"loading\":\"_loading_1p2nl_115\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_1p2nl_1\",\"loadingCircle\":\"_loadingCircle_1p2nl_119\",\"buttonText\":\"_buttonText_1p2nl_127\",\"buttonTextSmall\":\"_buttonTextSmall_1p2nl_134\",\"buttonTextMedium\":\"_buttonTextMedium_1p2nl_138\",\"buttonTextLarge\":\"_buttonTextLarge_1p2nl_142\"}","import { useMemo, ReactElement, ReactNode } from \"react\";\nimport styles from \"./ButtonGroup.module.css\";\nimport { Size } from \"../constants\";\nimport ButtonGroupContext from \"./ButtonGroupContext\";\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 * Group buttons to render them in a row or column with consistent spacing in between each button\n */\nconst ButtonGroup = ({\n disabled = false,\n fullWidth = false,\n orientation = \"horizontal\",\n size = \"md\",\n children,\n}: {\n /**\n * If `true`, all buttons will be disabled.\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, all buttons will be full width.\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The orientation of the button group\n *\n * @defaultValue \"horizontal\"\n */\n orientation?: \"horizontal\" | \"vertical\";\n /**\n * The size of the button group\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\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}): ReactElement => {\n const context = useMemo(\n () => ({ disabled, fullWidth, size }),\n [disabled, fullWidth, size],\n );\n\n const classnames = classNames(styles.buttonGroup, gap[size], {\n [styles.horizontal]: orientation === \"horizontal\",\n [styles.vertical]: orientation === \"vertical\",\n });\n\n return (\n <ButtonGroupContext.Provider value={context}>\n <div className={classnames}>{children}</div>\n </ButtonGroupContext.Provider>\n );\n};\n\nexport default ButtonGroup;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css\"; export default {\"buttonGroup\":\"_buttonGroup_184aa_1\",\"horizontal\":\"_horizontal_184aa_6\",\"vertical\":\"_vertical_184aa_10\",\"smallGap\":\"_smallGap_184aa_14\",\"mediumGap\":\"_mediumGap_184aa_18\",\"largeGap\":\"_largeGap_184aa_22\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Card/Card.module.css\"; export default {\"card\":\"_card_hvz2b_1\"}","import styles from \"./Card.module.css\";\n\n/**\n * Card is a basic container component to apply consistent styling and render child components.\n */\nconst Card = ({\n children,\n}: {\n /**\n * The child components to render within Card.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.card}>{children}</div>;\n\nexport default Card;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Divider/Divider.module.css\"; export default {\"divider\":\"_divider_1ddgq_1\"}","import styles from \"./Divider.module.css\";\n\n/**\n * Divider is a thin horizontal line to group content in lists and layouts.\n */\nexport default function Divider({}: Record<string, never>) {\n return <hr className={styles.divider} />;\n}\n\nDivider.displayName = \"Divider\";\n","import classNames from \"classnames\";\nimport { ReactElement, ReactNode } from \"react\";\nimport { Color } from \"../constants\";\nimport styles from \"./Typography.module.css\";\nimport colorStyles from \"../colors/colors.module.css\";\n\nfunction textColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"gray700\":\n return colorStyles.gray700Color;\n case \"white\":\n return colorStyles.whiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"primary\":\n return colorStyles.primary700Color;\n case \"destructive-primary\":\n return colorStyles.destructive700Color;\n default:\n return colorStyles.gray900Color;\n }\n}\n\n/**\n * Typography is a component that renders text.\n */\nconst Typography = ({\n align = \"start\",\n as = \"div\",\n children,\n color = \"gray900\",\n inline = false,\n size = 200,\n tooltip,\n transform = \"none\",\n underline = false,\n weight = \"regular\",\n}: {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"div\"\n */\n as?: \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?: (typeof Color)[number];\n /**\n * Whether the text should flow inline with other elements.\n *\n * @defaultValue false\n */\n inline?: boolean;\n /**\n * Size of the text.\n *\n * * `100`: 12px\n * * `200`: 14px\n * * `300`: 16px\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 200\n */\n size?: 100 | 200 | 300 | 500 | 600 | 700 | 800;\n /**\n * The tooltip to be displayed when the user hovers the text\n */\n tooltip?: string;\n /**\n * Whether the text should be transformed to uppercase.\n *\n * @defaultValue \"none\"\n */\n transform?: \"none\" | \"uppercase\";\n /**\n * Whether the text has an underline.\n *\n * @defaultValue false\n */\n underline?: boolean;\n /**\n * Indicates the boldness of the text.\n *\n * @defaultValue \"regular\"\n */\n weight?: \"regular\" | \"semiBold\" | \"bold\" | \"heavy\";\n}): ReactElement => {\n const Tag = as;\n\n return (\n <Tag\n className={classNames(\n styles.typography,\n styles[align],\n styles[weight],\n textColor(color),\n inline && styles.inline,\n styles[`size${size}`],\n transform === \"uppercase\" && styles.uppercase,\n underline && styles.underline,\n )}\n title={tooltip}\n >\n {children}\n </Tag>\n );\n};\n\nexport default Typography;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css\"; export default {\"typography\":\"_typography_1krnf_1\",\"size100\":\"_size100_1krnf_8\",\"size200\":\"_size200_1krnf_12\",\"size300\":\"_size300_1krnf_16\",\"size500\":\"_size500_1krnf_20\",\"size600\":\"_size600_1krnf_24\",\"size700\":\"_size700_1krnf_28\",\"size800\":\"_size800_1krnf_32\",\"center\":\"_center_1krnf_37\",\"forceLeft\":\"_forceLeft_1krnf_41\",\"forceRight\":\"_forceRight_1krnf_45\",\"start\":\"_start_1krnf_49\",\"end\":\"_end_1krnf_53\",\"bold\":\"_bold_1krnf_58\",\"regular\":\"_regular_1krnf_62\",\"semiBold\":\"_semiBold_1krnf_66\",\"heavy\":\"_heavy_1krnf_70\",\"underline\":\"_underline_1krnf_74\",\"inline\":\"_inline_1krnf_78\",\"uppercase\":\"_uppercase_1krnf_82\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"primary700Color\":\"_primary700Color_o4pig_2\",\"destructive700Color\":\"_destructive700Color_o4pig_6\",\"gray700Color\":\"_gray700Color_o4pig_10\",\"gray900Color\":\"_gray900Color_o4pig_14\",\"whiteColor\":\"_whiteColor_o4pig_18\",\"inheritColor\":\"_inheritColor_o4pig_22\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_o4pig_27\",\"destructive700Background\":\"_destructive700Background_o4pig_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_o4pig_35\",\"success700BackgroundColor\":\"_success700BackgroundColor_o4pig_39\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_o4pig_43\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_o4pig_47\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_o4pig_51\"}","import { ReactElement, ReactNode } from \"react\";\nimport { Color } from \"../constants\";\nimport Typography from \"../Typography/Typography\";\n/**\n * Heading enforces a consistent style & accessibility best practices for headings.\n */\nconst Heading = ({\n align = \"start\",\n as = \"h1\",\n children,\n color = \"gray900\",\n size = 500,\n}: {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"h1\"\n */\n as?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?: (typeof Color)[number];\n /**\n * Size of the text.\n *\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 500\n */\n size?: 500 | 600 | 700 | 800;\n}): ReactElement => {\n const weight = [700, 800].includes(size) ? \"heavy\" : \"bold\";\n return (\n <Typography align={align} as={as} color={color} size={size} weight={weight}>\n {children}\n </Typography>\n );\n};\n\nexport default Heading;\n","import classNames from \"classnames\";\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport React, { ReactElement, useContext } from \"react\";\nimport { Color, Size } from \"../constants\";\nimport styles from \"./IconButton.module.css\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext\";\n\nconst iconSize = {\n [\"sm\"]: styles.smIcon,\n [\"md\"]: styles.mdIcon,\n [\"lg\"]: styles.lgIcon,\n};\n\n/**\n * IconButton is a clickable element that is used to perform an action.\n */\nconst IconButton = ({\n accessibilityLabel,\n color = \"primary\",\n disabled: disabledProp = false,\n icon: Icon,\n size: sizeProp = \"md\",\n tooltip,\n onClick,\n}: {\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?: (typeof Color)[number];\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * The icon to be displayed. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n icon: React.ComponentType<{ className: string }>;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The callback to be called when the button is clicked\n */\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n}): ReactElement => {\n const contextProps = useContext(ButtonGroupContext);\n\n const size = contextProps?.size || sizeProp;\n const disabled = contextProps?.disabled || disabledProp;\n\n return (\n <button\n aria-label={accessibilityLabel}\n type=\"button\"\n title={tooltip}\n disabled={disabled}\n onClick={onClick}\n className={classNames(\n styles.iconButton,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n )}\n >\n <Icon className={iconSize[size]} />\n </button>\n );\n};\n\nexport default IconButton;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/IconButton/IconButton.module.css\"; export default {\"iconButton\":\"_iconButton_dzhn0_1\",\"sm\":\"_sm_dzhn0_46\",\"md\":\"_md_dzhn0_51\",\"lg\":\"_lg_dzhn0_56\",\"smIcon\":\"_smIcon_dzhn0_61\",\"mdIcon\":\"_mdIcon_dzhn0_68\",\"lgIcon\":\"_lgIcon_dzhn0_75\"}","import React, { ReactElement, useState } from \"react\";\nimport classNames from \"classnames\";\nimport styles from \"./LabeledCheckbox.module.css\";\nimport Typography from \"../Typography/Typography\";\n\nconst typographySize = {\n sm: 100,\n md: 200,\n} as const;\n\nconst iconWidth = {\n sm: 12,\n md: 20,\n};\n\n/**\n * Checkbox is a clickable element that will show if an option has been selected or not\n */\nconst Checkbox = ({\n checked = false,\n disabled = false,\n size = \"md\",\n label,\n error = false,\n onChange,\n}: {\n /**\n * Whether or not the box has been clicked\n * @defaultValue false\n */\n checked: boolean;\n /**\n * The callback to be called when the checkbox value changes\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Whether or not the box is disabled\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The size of the checkbox and icon\n * @defaultValue \"md\"\n */\n size?: \"md\" | \"sm\";\n /**\n * The text accompanying the checkbox\n */\n label: string;\n /**\n * Whether or not there is an error with the input\n * @defaultValue false\n */\n error?: boolean;\n}): ReactElement => {\n const [isFocused, setIsFocused] = useState(false);\n const checkboxStyling = classNames(styles.checkbox, styles[size]);\n const uncheckedStyling = classNames(checkboxStyling, styles.uncheckedBox, {\n [styles.uncheckedBorder]: !error,\n [styles.uncheckedErrorBorder]: error,\n [styles.focusedCheckbox]: isFocused,\n });\n const checkedStyling = classNames(checkboxStyling, styles.checkedBox, {\n [styles.checkedNonError]: !error,\n [styles.checkedError]: error,\n [styles.focusedCheckbox]: isFocused,\n });\n\n return (\n <label className={classNames(styles.mainContainer)}>\n <div className={styles.checkboxContainer}>\n <input\n type=\"checkbox\"\n className={classNames(styles.inputOverlay, styles[size])}\n checked={checked}\n aria-checked={checked}\n tabIndex={0}\n onChange={onChange}\n disabled={disabled}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n <div className={checked ? checkedStyling : uncheckedStyling}>\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n fill=\"#fff\"\n d=\"m9 16.2-3.5-3.5a.9839.9839 0 0 0-1.4 0c-.39.39-.39 1.01 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7c.39-.39.39-1.01 0-1.4a.9839.9839 0 0 0-1.4 0L9 16.2z\"\n ></path>\n </svg>\n )}\n </div>\n </div>\n <Typography\n size={typographySize[size]}\n color={error ? \"destructive-primary\" : \"gray800\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/LabeledCheckbox/LabeledCheckbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_p0un4_1\",\"checkboxContainer\":\"_checkboxContainer_p0un4_8\",\"inputOverlay\":\"_inputOverlay_p0un4_13\",\"focusedCheckbox\":\"_focusedCheckbox_p0un4_21\",\"checkbox\":\"_checkbox_p0un4_8\",\"uncheckedBox\":\"_uncheckedBox_p0un4_35\",\"uncheckedBorder\":\"_uncheckedBorder_p0un4_39\",\"uncheckedErrorBorder\":\"_uncheckedErrorBorder_p0un4_43\",\"checkedBox\":\"_checkedBox_p0un4_47\",\"checkedNonError\":\"_checkedNonError_p0un4_51\",\"checkedError\":\"_checkedError_p0un4_55\",\"sm\":\"_sm_p0un4_59\",\"md\":\"_md_p0un4_65\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/MiniActionCard/MiniActionCard.module.css\"; export default {\"miniActionCard\":\"_miniActionCard_qebkn_1\",\"card\":\"_card_qebkn_9\"}","import styles from \"./MiniActionCard.module.css\";\n\n/**\n * MiniActionCard is component that alerts users to a call to action.\n */\nconst MiniActionCard = ({\n children,\n}: {\n /**\n * The child components to render within MiniActionCard.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.miniActionCard}>{children}</div>;\n\nexport default MiniActionCard;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,oDAAAA,SAAA;AAOA,KAAC,WAAY;AACZ;AAEA,UAAI,SAAS,CAAC,EAAE;AAChB,UAAI,mBAAmB;AAEvB,eAASC,cAAa;AACrB,YAAI,UAAU,CAAC;AAEf,iBAAS,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AAC1C,cAAI,MAAM,UAAU,CAAC;AACrB,cAAI,CAAC;AAAK;AAEV,cAAI,UAAU,OAAO;AAErB,cAAI,YAAY,YAAY,YAAY,UAAU;AACjD,oBAAQ,KAAK,GAAG;AAAA,UACjB,WAAW,MAAM,QAAQ,GAAG,GAAG;AAC9B,gBAAI,IAAI,QAAQ;AACf,kBAAI,QAAQA,YAAW,MAAM,MAAM,GAAG;AACtC,kBAAI,OAAO;AACV,wBAAQ,KAAK,KAAK;AAAA,cACnB;AAAA,YACD;AAAA,UACD,WAAW,YAAY,UAAU;AAChC,gBAAI,IAAI,aAAa,OAAO,UAAU,YAAY,CAAC,IAAI,SAAS,SAAS,EAAE,SAAS,eAAe,GAAG;AACrG,sBAAQ,KAAK,IAAI,SAAS,CAAC;AAC3B;AAAA,YACD;AAEA,qBAAS,OAAO,KAAK;AACpB,kBAAI,OAAO,KAAK,KAAK,GAAG,KAAK,IAAI,GAAG,GAAG;AACtC,wBAAQ,KAAK,GAAG;AAAA,cACjB;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAEA,eAA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AA,EACtB;AACF,MAKmB,8CAAC,SAAI,WAAW,8BAAO,gBAAiB,UAAS;AAEpE,IAAO,yBAAQ;","names":["module","classNames","classNames","import_classnames","import_react","React","import_jsx_runtime","classNames","import_react","import_classnames","import_jsx_runtime","classNames","import_jsx_runtime","import_jsx_runtime","import_classnames","colors_module_default","import_jsx_runtime","colors_module_default","classNames","import_jsx_runtime","import_classnames","import_react","import_jsx_runtime","iconSize","classNames","import_react","import_classnames","import_jsx_runtime","classNames","import_jsx_runtime"]}
1
+ {"version":3,"sources":["../../../node_modules/classnames/index.js","../src/index.tsx","../src/Avatar/Avatar.tsx","css-module:./Avatar.module.css#css-module","../src/Button/Button.tsx","css-module:./colors.module.css#css-module","../src/colors/backgroundColor.ts","../src/colors/foregroundColor.ts","../src/ButtonGroup/ButtonGroupContext.tsx","css-module:./Button.module.css#css-module","../src/ButtonGroup/ButtonGroup.tsx","css-module:./ButtonGroup.module.css#css-module","css-module:./Card.module.css#css-module","../src/Card/Card.tsx","css-module:./Divider.module.css#css-module","../src/Divider/Divider.tsx","../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module","css-module:../colors/colors.module.css#css-module","../src/Heading/Heading.tsx","../src/IconButton/IconButton.tsx","css-module:./IconButton.module.css#css-module","../src/LabeledCheckbox/LabeledCheckbox.tsx","css-module:./LabeledCheckbox.module.css#css-module","css-module:./MiniActionCard.module.css#css-module","../src/MiniActionCard/MiniActionCard.tsx","../src/RadioButton/RadioButton.tsx","css-module:./RadioButton.module.css#css-module"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import Avatar from \"./Avatar/Avatar\";\nimport Button from \"./Button/Button\";\nimport ButtonGroup from \"./ButtonGroup/ButtonGroup\";\nimport Card from \"./Card/Card\";\nimport Divider from \"./Divider/Divider\";\nimport Heading from \"./Heading/Heading\";\nimport IconButton from \"./IconButton/IconButton\";\nimport LabeledCheckbox from \"./LabeledCheckbox/LabeledCheckbox\";\nimport MiniActionCard from \"./MiniActionCard/MiniActionCard\";\nimport Typography from \"./Typography/Typography\";\nimport RadioButton from \"./RadioButton/RadioButton\";\n\nexport {\n Avatar,\n Button,\n ButtonGroup,\n Card,\n Divider,\n Heading,\n IconButton,\n LabeledCheckbox,\n MiniActionCard,\n RadioButton,\n Typography,\n};\n","import classNames from \"classnames\";\nimport styles from \"./Avatar.module.css\";\n\n/**\n * Avatar is a circular image that represents a user.\n */\nconst Avatar = ({\n src,\n accessibilityLabel,\n size = \"md\",\n}: {\n /**\n * URL of the image to display as the avatar.\n */\n src: string;\n /**\n * Alt text to use for the image.\n * This should describe the image to people using screen readers.\n */\n accessibilityLabel: string;\n /**\n * Size of the avatar.\n *\n * * `sm`: 24px\n * * `md`: 40px\n * * `lg`: 72px\n * * `xl`: 128px\n *\n * @defaultValue `md`\n */\n size?: \"sm\" | \"md\" | \"lg\" | \"xl\";\n}): JSX.Element => {\n return (\n <img\n alt={accessibilityLabel}\n src={src}\n className={classNames(styles.avatar, styles[size])}\n />\n );\n};\n\nexport default Avatar;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Avatar/Avatar.module.css\"; export default {\"avatar\":\"_avatar_1s8z7_1\",\"sm\":\"_sm_1s8z7_8\",\"md\":\"_md_1s8z7_13\",\"lg\":\"_lg_1s8z7_18\",\"xl\":\"_xl_1s8z7_23\"}","import classNames from \"classnames\";\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport React, { useContext, ReactElement } from \"react\";\nimport { Color, Size } from \"../constants\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext\";\nimport styles from \"./Button.module.css\";\n\nconst textVariant = {\n // Replace with `Typography` once it lands in `syntax-core`\n [\"sm\"]: styles.buttonTextSmall,\n [\"md\"]: styles.buttonTextMedium,\n [\"lg\"]: styles.buttonTextLarge,\n} as const;\n\nconst loadingIconSize = {\n [\"sm\"]: 16,\n [\"md\"]: 20,\n [\"lg\"]: 24,\n};\n\nconst iconSize = {\n [\"sm\"]: styles.smIcon,\n [\"md\"]: styles.mdIcon,\n [\"lg\"]: styles.lgIcon,\n};\n\n/**\n * Button is a clickable element that is used to perform an action.\n */\nconst Button = ({\n text,\n loadingText,\n color = \"primary\",\n size: sizeProp = \"md\",\n accessibilityLabel,\n disabled: disabledProp = false,\n loading = false,\n fullWidth: fullWidthProp = false,\n startIcon: StartIcon,\n endIcon: EndIcon,\n onClick,\n tooltip,\n}: {\n /**\n * The text to be displayed inside the button\n */\n text: string;\n /**\n * The text to be displayed inside the button when it is in a loading state\n */\n loadingText?: string;\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?: (typeof Color)[number];\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, the button will be in a loading state\n *\n * @defaultValue false\n */\n loading?: boolean;\n /**\n * If `true`, the button will take up the full width of its container\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The icon to be displayed at the start of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n startIcon?: React.ComponentType<{ className: string }>;\n /**\n * The icon to be displayed at the end of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n endIcon?: React.ComponentType<{ className: string }>;\n /**\n * The callback to be called when the button is clicked\n */\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n}): ReactElement => {\n const contextProps = useContext(ButtonGroupContext);\n\n const size = contextProps?.size || sizeProp;\n const disabled = contextProps?.disabled || disabledProp;\n const fullWidth = contextProps?.fullWidth || fullWidthProp;\n\n return (\n <button\n aria-label={accessibilityLabel}\n type=\"button\"\n title={tooltip}\n disabled={disabled || loading}\n onClick={onClick}\n className={classNames(\n styles.button,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n {\n [styles.fullWidth]: fullWidth,\n [styles.buttonGap]: size === \"lg\" || size === \"md\",\n },\n )}\n >\n {!loading && StartIcon && (\n <StartIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {((loading && loadingText) || (!loading && text)) && (\n <div className={styles.textContainer}>\n {/* Replace with `Typography` once it lands in `syntax-core` */}\n <div className={classNames(styles.buttonText, textVariant[size])}>\n {loading ? loadingText : text}\n </div>\n </div>\n )}\n {!loading && EndIcon && (\n <EndIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {loading && (\n <svg\n className={classNames(styles.loading, foregroundColor(color))}\n viewBox=\"22 22 44 44\"\n width={loadingIconSize[size]}\n height={loadingIconSize[size]}\n >\n <circle\n className={styles.loadingCircle}\n cx=\"44\"\n cy=\"44\"\n r=\"20.2\"\n fill=\"none\"\n strokeWidth=\"3.6\"\n />\n </svg>\n )}\n </button>\n );\n};\n\nexport default Button;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"primary700Color\":\"_primary700Color_o4pig_2\",\"destructive700Color\":\"_destructive700Color_o4pig_6\",\"gray700Color\":\"_gray700Color_o4pig_10\",\"gray900Color\":\"_gray900Color_o4pig_14\",\"whiteColor\":\"_whiteColor_o4pig_18\",\"inheritColor\":\"_inheritColor_o4pig_22\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_o4pig_27\",\"destructive700Background\":\"_destructive700Background_o4pig_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_o4pig_35\",\"success700BackgroundColor\":\"_success700BackgroundColor_o4pig_39\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_o4pig_43\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_o4pig_47\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_o4pig_51\"}","import { Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function backgroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n return styles.primary100BackgroundColor;\n case \"destructive-primary\":\n return styles.destructive700Background;\n case \"destructive-secondary\":\n return styles.destructive100BackgroundColor;\n case \"success\":\n return styles.success700BackgroundColor;\n case \"tertiary\":\n case \"destructive-tertiary\":\n return styles.whiteBackgroundColor;\n case \"branded\":\n return styles.yellow700BackgroundColor;\n default:\n return styles.primary700BackgroundColor;\n }\n}\n","import { Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function foregroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n case \"tertiary\":\n return styles.primary700Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.destructive700Color;\n case \"branded\":\n return styles.gray900Color;\n default:\n return styles.whiteColor;\n }\n}\n","import { Size } from \"../constants\";\nimport React from \"react\";\n\ninterface ButtonGroupContextType {\n size?: (typeof Size)[number];\n disabled?: boolean;\n fullWidth?: boolean;\n}\n\nconst ButtonGroupContext = React.createContext<ButtonGroupContextType | null>(\n {},\n);\n\nButtonGroupContext.displayName = \"ButtonGroupContext\";\n\nexport default ButtonGroupContext;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_1p2nl_1\",\"buttonGap\":\"_buttonGap_1p2nl_9\",\"fullWidth\":\"_fullWidth_1p2nl_50\",\"sm\":\"_sm_1p2nl_54\",\"md\":\"_md_1p2nl_61\",\"lg\":\"_lg_1p2nl_68\",\"icon\":\"_icon_1p2nl_75\",\"smIcon\":\"_smIcon_1p2nl_79\",\"mdIcon\":\"_mdIcon_1p2nl_86\",\"lgIcon\":\"_lgIcon_1p2nl_93\",\"textContainer\":\"_textContainer_1p2nl_100\",\"loading\":\"_loading_1p2nl_115\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_1p2nl_1\",\"loadingCircle\":\"_loadingCircle_1p2nl_119\",\"buttonText\":\"_buttonText_1p2nl_127\",\"buttonTextSmall\":\"_buttonTextSmall_1p2nl_134\",\"buttonTextMedium\":\"_buttonTextMedium_1p2nl_138\",\"buttonTextLarge\":\"_buttonTextLarge_1p2nl_142\"}","import { useMemo, ReactElement, ReactNode } from \"react\";\nimport styles from \"./ButtonGroup.module.css\";\nimport { Size } from \"../constants\";\nimport ButtonGroupContext from \"./ButtonGroupContext\";\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 * Group buttons to render them in a row or column with consistent spacing in between each button\n */\nconst ButtonGroup = ({\n disabled = false,\n fullWidth = false,\n orientation = \"horizontal\",\n size = \"md\",\n children,\n}: {\n /**\n * If `true`, all buttons will be disabled.\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, all buttons will be full width.\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The orientation of the button group\n *\n * @defaultValue \"horizontal\"\n */\n orientation?: \"horizontal\" | \"vertical\";\n /**\n * The size of the button group\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\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}): ReactElement => {\n const context = useMemo(\n () => ({ disabled, fullWidth, size }),\n [disabled, fullWidth, size],\n );\n\n const classnames = classNames(styles.buttonGroup, gap[size], {\n [styles.horizontal]: orientation === \"horizontal\",\n [styles.vertical]: orientation === \"vertical\",\n });\n\n return (\n <ButtonGroupContext.Provider value={context}>\n <div className={classnames}>{children}</div>\n </ButtonGroupContext.Provider>\n );\n};\n\nexport default ButtonGroup;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css\"; export default {\"buttonGroup\":\"_buttonGroup_184aa_1\",\"horizontal\":\"_horizontal_184aa_6\",\"vertical\":\"_vertical_184aa_10\",\"smallGap\":\"_smallGap_184aa_14\",\"mediumGap\":\"_mediumGap_184aa_18\",\"largeGap\":\"_largeGap_184aa_22\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Card/Card.module.css\"; export default {\"card\":\"_card_hvz2b_1\"}","import styles from \"./Card.module.css\";\n\n/**\n * Card is a basic container component to apply consistent styling and render child components.\n */\nconst Card = ({\n children,\n}: {\n /**\n * The child components to render within Card.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.card}>{children}</div>;\n\nexport default Card;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Divider/Divider.module.css\"; export default {\"divider\":\"_divider_1ddgq_1\"}","import styles from \"./Divider.module.css\";\n\n/**\n * Divider is a thin horizontal line to group content in lists and layouts.\n */\nexport default function Divider({}: Record<string, never>) {\n return <hr className={styles.divider} />;\n}\n\nDivider.displayName = \"Divider\";\n","import classNames from \"classnames\";\nimport { ReactElement, ReactNode } from \"react\";\nimport { Color } from \"../constants\";\nimport styles from \"./Typography.module.css\";\nimport colorStyles from \"../colors/colors.module.css\";\n\nfunction textColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"gray700\":\n return colorStyles.gray700Color;\n case \"white\":\n return colorStyles.whiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"primary\":\n return colorStyles.primary700Color;\n case \"destructive-primary\":\n return colorStyles.destructive700Color;\n default:\n return colorStyles.gray900Color;\n }\n}\n\n/**\n * Typography is a component that renders text.\n */\nconst Typography = ({\n align = \"start\",\n as = \"div\",\n children,\n color = \"gray900\",\n inline = false,\n size = 200,\n tooltip,\n transform = \"none\",\n underline = false,\n weight = \"regular\",\n}: {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"div\"\n */\n as?: \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?: (typeof Color)[number];\n /**\n * Whether the text should flow inline with other elements.\n *\n * @defaultValue false\n */\n inline?: boolean;\n /**\n * Size of the text.\n *\n * * `100`: 12px\n * * `200`: 14px\n * * `300`: 16px\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 200\n */\n size?: 100 | 200 | 300 | 500 | 600 | 700 | 800;\n /**\n * The tooltip to be displayed when the user hovers the text\n */\n tooltip?: string;\n /**\n * Whether the text should be transformed to uppercase.\n *\n * @defaultValue \"none\"\n */\n transform?: \"none\" | \"uppercase\";\n /**\n * Whether the text has an underline.\n *\n * @defaultValue false\n */\n underline?: boolean;\n /**\n * Indicates the boldness of the text.\n *\n * @defaultValue \"regular\"\n */\n weight?: \"regular\" | \"semiBold\" | \"bold\" | \"heavy\";\n}): ReactElement => {\n const Tag = as;\n\n return (\n <Tag\n className={classNames(\n styles.typography,\n styles[align],\n styles[weight],\n textColor(color),\n inline && styles.inline,\n styles[`size${size}`],\n transform === \"uppercase\" && styles.uppercase,\n underline && styles.underline,\n )}\n title={tooltip}\n >\n {children}\n </Tag>\n );\n};\n\nexport default Typography;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css\"; export default {\"typography\":\"_typography_1krnf_1\",\"size100\":\"_size100_1krnf_8\",\"size200\":\"_size200_1krnf_12\",\"size300\":\"_size300_1krnf_16\",\"size500\":\"_size500_1krnf_20\",\"size600\":\"_size600_1krnf_24\",\"size700\":\"_size700_1krnf_28\",\"size800\":\"_size800_1krnf_32\",\"center\":\"_center_1krnf_37\",\"forceLeft\":\"_forceLeft_1krnf_41\",\"forceRight\":\"_forceRight_1krnf_45\",\"start\":\"_start_1krnf_49\",\"end\":\"_end_1krnf_53\",\"bold\":\"_bold_1krnf_58\",\"regular\":\"_regular_1krnf_62\",\"semiBold\":\"_semiBold_1krnf_66\",\"heavy\":\"_heavy_1krnf_70\",\"underline\":\"_underline_1krnf_74\",\"inline\":\"_inline_1krnf_78\",\"uppercase\":\"_uppercase_1krnf_82\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"primary700Color\":\"_primary700Color_o4pig_2\",\"destructive700Color\":\"_destructive700Color_o4pig_6\",\"gray700Color\":\"_gray700Color_o4pig_10\",\"gray900Color\":\"_gray900Color_o4pig_14\",\"whiteColor\":\"_whiteColor_o4pig_18\",\"inheritColor\":\"_inheritColor_o4pig_22\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_o4pig_27\",\"destructive700Background\":\"_destructive700Background_o4pig_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_o4pig_35\",\"success700BackgroundColor\":\"_success700BackgroundColor_o4pig_39\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_o4pig_43\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_o4pig_47\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_o4pig_51\"}","import { ReactElement, ReactNode } from \"react\";\nimport { Color } from \"../constants\";\nimport Typography from \"../Typography/Typography\";\n/**\n * Heading enforces a consistent style & accessibility best practices for headings.\n */\nconst Heading = ({\n align = \"start\",\n as = \"h1\",\n children,\n color = \"gray900\",\n size = 500,\n}: {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"h1\"\n */\n as?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?: (typeof Color)[number];\n /**\n * Size of the text.\n *\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 500\n */\n size?: 500 | 600 | 700 | 800;\n}): ReactElement => {\n const weight = [700, 800].includes(size) ? \"heavy\" : \"bold\";\n return (\n <Typography align={align} as={as} color={color} size={size} weight={weight}>\n {children}\n </Typography>\n );\n};\n\nexport default Heading;\n","import classNames from \"classnames\";\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport React, { ReactElement, useContext } from \"react\";\nimport { Color, Size } from \"../constants\";\nimport styles from \"./IconButton.module.css\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext\";\n\nconst iconSize = {\n [\"sm\"]: styles.smIcon,\n [\"md\"]: styles.mdIcon,\n [\"lg\"]: styles.lgIcon,\n};\n\n/**\n * IconButton is a clickable element that is used to perform an action.\n */\nconst IconButton = ({\n accessibilityLabel,\n color = \"primary\",\n disabled: disabledProp = false,\n icon: Icon,\n size: sizeProp = \"md\",\n tooltip,\n onClick,\n}: {\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?: (typeof Color)[number];\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * The icon to be displayed. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n icon: React.ComponentType<{ className: string }>;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The callback to be called when the button is clicked\n */\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n}): ReactElement => {\n const contextProps = useContext(ButtonGroupContext);\n\n const size = contextProps?.size || sizeProp;\n const disabled = contextProps?.disabled || disabledProp;\n\n return (\n <button\n aria-label={accessibilityLabel}\n type=\"button\"\n title={tooltip}\n disabled={disabled}\n onClick={onClick}\n className={classNames(\n styles.iconButton,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n )}\n >\n <Icon className={iconSize[size]} />\n </button>\n );\n};\n\nexport default IconButton;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/IconButton/IconButton.module.css\"; export default {\"iconButton\":\"_iconButton_dzhn0_1\",\"sm\":\"_sm_dzhn0_46\",\"md\":\"_md_dzhn0_51\",\"lg\":\"_lg_dzhn0_56\",\"smIcon\":\"_smIcon_dzhn0_61\",\"mdIcon\":\"_mdIcon_dzhn0_68\",\"lgIcon\":\"_lgIcon_dzhn0_75\"}","import React, { ReactElement, useState } from \"react\";\nimport classNames from \"classnames\";\nimport styles from \"./LabeledCheckbox.module.css\";\nimport Typography from \"../Typography/Typography\";\n\nconst typographySize = {\n sm: 100,\n md: 200,\n} as const;\n\nconst iconWidth = {\n sm: 12,\n md: 20,\n};\n\n/**\n * Checkbox is a clickable element that will show if an option has been selected or not\n */\nconst Checkbox = ({\n checked = false,\n disabled = false,\n size = \"md\",\n label,\n error = false,\n onChange,\n}: {\n /**\n * Whether or not the box has been clicked\n *\n * @defaultValue false\n */\n checked: boolean;\n /**\n * The callback to be called when the checkbox value changes\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Whether or not the box is disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The size of the checkbox and icon\n *\n * * `sm`: 16px\n * * `md`: 24px\n *\n * @defaultValue \"md\"\n */\n size?: \"sm\" | \"md\";\n /**\n * The text accompanying the checkbox\n */\n label: string;\n /**\n * Whether or not there is an error with the input\n *\n * @defaultValue false\n */\n error?: boolean;\n}): ReactElement => {\n const [isFocused, setIsFocused] = useState(false);\n const checkboxStyling = classNames(styles.checkbox, styles[size]);\n const uncheckedStyling = classNames(checkboxStyling, styles.uncheckedBox, {\n [styles.uncheckedBorder]: !error,\n [styles.uncheckedErrorBorder]: error,\n [styles.focusedCheckbox]: isFocused,\n });\n const checkedStyling = classNames(checkboxStyling, styles.checkedBox, {\n [styles.checkedNonError]: !error,\n [styles.checkedError]: error,\n [styles.focusedCheckbox]: isFocused,\n });\n\n return (\n <label className={classNames(styles.mainContainer)}>\n <div className={styles.checkboxContainer}>\n <input\n type=\"checkbox\"\n className={classNames(styles.inputOverlay, styles[size])}\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n <div className={checked ? checkedStyling : uncheckedStyling}>\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n fill=\"#fff\"\n d=\"m9 16.2-3.5-3.5a.9839.9839 0 0 0-1.4 0c-.39.39-.39 1.01 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7c.39-.39.39-1.01 0-1.4a.9839.9839 0 0 0-1.4 0L9 16.2z\"\n ></path>\n </svg>\n )}\n </div>\n </div>\n <Typography\n size={typographySize[size]}\n color={error ? \"destructive-primary\" : \"gray800\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/LabeledCheckbox/LabeledCheckbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_p0un4_1\",\"checkboxContainer\":\"_checkboxContainer_p0un4_8\",\"inputOverlay\":\"_inputOverlay_p0un4_13\",\"focusedCheckbox\":\"_focusedCheckbox_p0un4_21\",\"checkbox\":\"_checkbox_p0un4_8\",\"uncheckedBox\":\"_uncheckedBox_p0un4_35\",\"uncheckedBorder\":\"_uncheckedBorder_p0un4_39\",\"uncheckedErrorBorder\":\"_uncheckedErrorBorder_p0un4_43\",\"checkedBox\":\"_checkedBox_p0un4_47\",\"checkedNonError\":\"_checkedNonError_p0un4_51\",\"checkedError\":\"_checkedError_p0un4_55\",\"sm\":\"_sm_p0un4_59\",\"md\":\"_md_p0un4_65\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/MiniActionCard/MiniActionCard.module.css\"; export default {\"miniActionCard\":\"_miniActionCard_qebkn_1\",\"card\":\"_card_qebkn_9\"}","import styles from \"./MiniActionCard.module.css\";\n\n/**\n * MiniActionCard is component that alerts users to a call to action.\n */\nconst MiniActionCard = ({\n children,\n}: {\n /**\n * The child components to render within MiniActionCard.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.miniActionCard}>{children}</div>;\n\nexport default MiniActionCard;\n","import React, { ReactElement, useState } from \"react\";\nimport classnames from \"classnames\";\n\nimport styles from \"./RadioButton.module.css\";\nimport Typography from \"../Typography/Typography\";\n\n/**\n * RadioButton is a radio button with accompanying text\n */\nconst RadioButton = ({\n checked = false,\n disabled = false,\n error = false,\n label,\n onChange,\n size = \"md\",\n value = \"\",\n}: {\n /**\n * Whether or not the box is checked\n *\n * @defaultValue false\n */\n checked?: boolean;\n /**\n * Whether or not the box is disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * Whether to show error color schema\n *\n * @defaultValue false\n */\n error?: boolean;\n /**\n * Always add a label tag for best accessibility practices\n */\n label: string;\n /**\n * The callback to be called when the button is clicked\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Size of the components\n *\n * * `sm`: 16px\n * * `md`: 24px\n *\n * @defaultValue \"md\"\n */\n size?: \"sm\" | \"md\";\n /**\n * Value of the selected radio option\n */\n value?: string;\n}): ReactElement => {\n const [isFocused, setIsFocused] = useState(false);\n\n return (\n <label\n className={classnames(styles.radioButton, {\n [styles.smBase]: size === \"sm\",\n [styles.mdBase]: size === \"md\",\n })}\n >\n <input\n type=\"radio\"\n className={classnames(styles.radioStyleOverride, {\n [styles.smOverride]: size === \"sm\",\n [styles.mdOverride]: size === \"md\",\n })}\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n value={value ?? label}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n {checked ? (\n <div\n className={classnames(styles.outer, styles[size], {\n [styles.errorOuterBackgroundColor]: error,\n [styles.outerBackgroundColor]: !error,\n [styles.focusedRadioButton]: isFocused,\n })}\n >\n <div\n className={classnames(styles.circle, {\n [styles.smInner]: size === \"sm\",\n [styles.mdInner]: size === \"md\",\n })}\n />\n </div>\n ) : (\n <div\n className={classnames(styles.background, styles[size], {\n [styles.errorBorderColor]: error,\n [styles.borderColor]: !error,\n [styles.focusedRadioButton]: isFocused,\n })}\n />\n )}\n <Typography\n size={size === \"md\" ? 200 : 100}\n color={error ? \"destructive-primary\" : \"gray800\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default RadioButton;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/RadioButton/RadioButton.module.css\"; export default {\"radioButton\":\"_radioButton_1dde1_1\",\"focusedRadioButton\":\"_focusedRadioButton_1dde1_8\",\"smBase\":\"_smBase_1dde1_13\",\"mdBase\":\"_mdBase_1dde1_18\",\"radioStyleOverride\":\"_radioStyleOverride_1dde1_23\",\"smOverride\":\"_smOverride_1dde1_28\",\"mdOverride\":\"_mdOverride_1dde1_33\",\"outer\":\"_outer_1dde1_38\",\"sm\":\"_sm_1dde1_13\",\"md\":\"_md_1dde1_18\",\"errorOuterBackgroundColor\":\"_errorOuterBackgroundColor_1dde1_57\",\"outerBackgroundColor\":\"_outerBackgroundColor_1dde1_61\",\"background\":\"_background_1dde1_65\",\"errorBorderColor\":\"_errorBorderColor_1dde1_71\",\"borderColor\":\"_borderColor_1dde1_75\",\"circle\":\"_circle_1dde1_79\",\"smInner\":\"_smInner_1dde1_83\",\"mdInner\":\"_mdInner_1dde1_89\"}"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,oDAAAA,SAAA;AAOA,KAAC,WAAY;AACZ;AAEA,UAAI,SAAS,CAAC,EAAE;AAChB,UAAI,mBAAmB;AAEvB,eAASC,cAAa;AACrB,YAAI,UAAU,CAAC;AAEf,iBAAS,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AAC1C,cAAI,MAAM,UAAU,CAAC;AACrB,c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AAA,cACvB,CAAC,2BAAO,kBAAkB,GAAG;AAAA,YAC/B,CAAC;AAAA;AAAA,QACH;AAAA,QAEF;AAAA,UAAC;AAAA;AAAA,YACC,MAAM,SAAS,OAAO,MAAM;AAAA,YAC5B,OAAO,QAAQ,wBAAwB;AAAA,YAEtC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,IAAO,sBAAQ;","names":["module","classNames","classNames","import_classnames","import_react","React","import_jsx_runtime","classNames","import_react","import_classnames","import_jsx_runtime","classnames","classNames","import_jsx_runtime","import_jsx_runtime","import_classnames","colors_module_default","import_jsx_runtime","colors_module_default","classNames","import_jsx_runtime","import_classnames","import_react","import_jsx_runtime","iconSize","classNames","import_react","import_classnames","import_jsx_runtime","classNames","import_jsx_runtime","import_react","import_classnames","import_jsx_runtime","classnames"]}
package/dist/index.mjs CHANGED
@@ -265,11 +265,11 @@ var ButtonGroup = ({
265
265
  () => ({ disabled, fullWidth, size }),
266
266
  [disabled, fullWidth, size]
267
267
  );
268
- const classnames = (0, import_classnames3.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
268
+ const classnames2 = (0, import_classnames3.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
269
269
  [ButtonGroup_module_default.horizontal]: orientation === "horizontal",
270
270
  [ButtonGroup_module_default.vertical]: orientation === "vertical"
271
271
  });
272
- return /* @__PURE__ */ jsx3(ButtonGroupContext_default.Provider, { value: context, children: /* @__PURE__ */ jsx3("div", { className: classnames, children }) });
272
+ return /* @__PURE__ */ jsx3(ButtonGroupContext_default.Provider, { value: context, children: /* @__PURE__ */ jsx3("div", { className: classnames2, children }) });
273
273
  };
274
274
  var ButtonGroup_default = ButtonGroup;
275
275
 
@@ -458,8 +458,6 @@ var Checkbox = ({
458
458
  type: "checkbox",
459
459
  className: (0, import_classnames6.default)(LabeledCheckbox_module_default.inputOverlay, LabeledCheckbox_module_default[size]),
460
460
  checked,
461
- "aria-checked": checked,
462
- tabIndex: 0,
463
461
  onChange,
464
462
  disabled,
465
463
  onFocus: () => {
@@ -499,6 +497,95 @@ var MiniActionCard = ({
499
497
  children
500
498
  }) => /* @__PURE__ */ jsx10("div", { className: MiniActionCard_module_default.miniActionCard, children });
501
499
  var MiniActionCard_default = MiniActionCard;
500
+
501
+ // src/RadioButton/RadioButton.tsx
502
+ var import_classnames7 = __toESM(require_classnames());
503
+ import { useState as useState2 } from "react";
504
+
505
+ // css-module:./RadioButton.module.css#css-module
506
+ var RadioButton_module_default = { "radioButton": "_radioButton_1dde1_1", "focusedRadioButton": "_focusedRadioButton_1dde1_8", "smBase": "_smBase_1dde1_13", "mdBase": "_mdBase_1dde1_18", "radioStyleOverride": "_radioStyleOverride_1dde1_23", "smOverride": "_smOverride_1dde1_28", "mdOverride": "_mdOverride_1dde1_33", "outer": "_outer_1dde1_38", "sm": "_sm_1dde1_13", "md": "_md_1dde1_18", "errorOuterBackgroundColor": "_errorOuterBackgroundColor_1dde1_57", "outerBackgroundColor": "_outerBackgroundColor_1dde1_61", "background": "_background_1dde1_65", "errorBorderColor": "_errorBorderColor_1dde1_71", "borderColor": "_borderColor_1dde1_75", "circle": "_circle_1dde1_79", "smInner": "_smInner_1dde1_83", "mdInner": "_mdInner_1dde1_89" };
507
+
508
+ // src/RadioButton/RadioButton.tsx
509
+ import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
510
+ var RadioButton = ({
511
+ checked = false,
512
+ disabled = false,
513
+ error = false,
514
+ label,
515
+ onChange,
516
+ size = "md",
517
+ value = ""
518
+ }) => {
519
+ const [isFocused, setIsFocused] = useState2(false);
520
+ return /* @__PURE__ */ jsxs3(
521
+ "label",
522
+ {
523
+ className: (0, import_classnames7.default)(RadioButton_module_default.radioButton, {
524
+ [RadioButton_module_default.smBase]: size === "sm",
525
+ [RadioButton_module_default.mdBase]: size === "md"
526
+ }),
527
+ children: [
528
+ /* @__PURE__ */ jsx11(
529
+ "input",
530
+ {
531
+ type: "radio",
532
+ className: (0, import_classnames7.default)(RadioButton_module_default.radioStyleOverride, {
533
+ [RadioButton_module_default.smOverride]: size === "sm",
534
+ [RadioButton_module_default.mdOverride]: size === "md"
535
+ }),
536
+ checked,
537
+ onChange,
538
+ disabled,
539
+ value: value != null ? value : label,
540
+ onFocus: () => {
541
+ setIsFocused(true);
542
+ },
543
+ onBlur: () => {
544
+ setIsFocused(false);
545
+ }
546
+ }
547
+ ),
548
+ checked ? /* @__PURE__ */ jsx11(
549
+ "div",
550
+ {
551
+ className: (0, import_classnames7.default)(RadioButton_module_default.outer, RadioButton_module_default[size], {
552
+ [RadioButton_module_default.errorOuterBackgroundColor]: error,
553
+ [RadioButton_module_default.outerBackgroundColor]: !error,
554
+ [RadioButton_module_default.focusedRadioButton]: isFocused
555
+ }),
556
+ children: /* @__PURE__ */ jsx11(
557
+ "div",
558
+ {
559
+ className: (0, import_classnames7.default)(RadioButton_module_default.circle, {
560
+ [RadioButton_module_default.smInner]: size === "sm",
561
+ [RadioButton_module_default.mdInner]: size === "md"
562
+ })
563
+ }
564
+ )
565
+ }
566
+ ) : /* @__PURE__ */ jsx11(
567
+ "div",
568
+ {
569
+ className: (0, import_classnames7.default)(RadioButton_module_default.background, RadioButton_module_default[size], {
570
+ [RadioButton_module_default.errorBorderColor]: error,
571
+ [RadioButton_module_default.borderColor]: !error,
572
+ [RadioButton_module_default.focusedRadioButton]: isFocused
573
+ })
574
+ }
575
+ ),
576
+ /* @__PURE__ */ jsx11(
577
+ Typography_default,
578
+ {
579
+ size: size === "md" ? 200 : 100,
580
+ color: error ? "destructive-primary" : "gray800",
581
+ children: label
582
+ }
583
+ )
584
+ ]
585
+ }
586
+ );
587
+ };
588
+ var RadioButton_default = RadioButton;
502
589
  export {
503
590
  Avatar_default as Avatar,
504
591
  Button_default as Button,
@@ -509,6 +596,7 @@ export {
509
596
  IconButton_default as IconButton,
510
597
  LabeledCheckbox_default as LabeledCheckbox,
511
598
  MiniActionCard_default as MiniActionCard,
599
+ RadioButton_default as RadioButton,
512
600
  Typography_default as Typography
513
601
  };
514
602
  /*! Bundled license information:
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/classnames/index.js","../src/Avatar/Avatar.tsx","css-module:./Avatar.module.css#css-module","../src/Button/Button.tsx","css-module:./colors.module.css#css-module","../src/colors/backgroundColor.ts","../src/colors/foregroundColor.ts","../src/ButtonGroup/ButtonGroupContext.tsx","css-module:./Button.module.css#css-module","../src/ButtonGroup/ButtonGroup.tsx","css-module:./ButtonGroup.module.css#css-module","css-module:./Card.module.css#css-module","../src/Card/Card.tsx","css-module:./Divider.module.css#css-module","../src/Divider/Divider.tsx","../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module","css-module:../colors/colors.module.css#css-module","../src/Heading/Heading.tsx","../src/IconButton/IconButton.tsx","css-module:./IconButton.module.css#css-module","../src/LabeledCheckbox/LabeledCheckbox.tsx","css-module:./LabeledCheckbox.module.css#css-module","css-module:./MiniActionCard.module.css#css-module","../src/MiniActionCard/MiniActionCard.tsx"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import classNames from \"classnames\";\nimport styles from \"./Avatar.module.css\";\n\n/**\n * Avatar is a circular image that represents a user.\n */\nconst Avatar = ({\n src,\n accessibilityLabel,\n size = \"md\",\n}: {\n /**\n * URL of the image to display as the avatar.\n */\n src: string;\n /**\n * Alt text to use for the image.\n * This should describe the image to people using screen readers.\n */\n accessibilityLabel: string;\n /**\n * Size of the avatar.\n *\n * * `sm`: 24px\n * * `md`: 40px\n * * `lg`: 72px\n * * `xl`: 128px\n *\n * @defaultValue `md`\n */\n size?: \"sm\" | \"md\" | \"lg\" | \"xl\";\n}): JSX.Element => {\n return (\n <img\n alt={accessibilityLabel}\n src={src}\n className={classNames(styles.avatar, styles[size])}\n />\n );\n};\n\nexport default Avatar;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Avatar/Avatar.module.css\"; export default {\"avatar\":\"_avatar_1s8z7_1\",\"sm\":\"_sm_1s8z7_8\",\"md\":\"_md_1s8z7_13\",\"lg\":\"_lg_1s8z7_18\",\"xl\":\"_xl_1s8z7_23\"}","import classNames from \"classnames\";\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport React, { useContext, ReactElement } from \"react\";\nimport { Color, Size } from \"../constants\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext\";\nimport styles from \"./Button.module.css\";\n\nconst textVariant = {\n // Replace with `Typography` once it lands in `syntax-core`\n [\"sm\"]: styles.buttonTextSmall,\n [\"md\"]: styles.buttonTextMedium,\n [\"lg\"]: styles.buttonTextLarge,\n} as const;\n\nconst loadingIconSize = {\n [\"sm\"]: 16,\n [\"md\"]: 20,\n [\"lg\"]: 24,\n};\n\nconst iconSize = {\n [\"sm\"]: styles.smIcon,\n [\"md\"]: styles.mdIcon,\n [\"lg\"]: styles.lgIcon,\n};\n\n/**\n * Button is a clickable element that is used to perform an action.\n */\nconst Button = ({\n text,\n loadingText,\n color = \"primary\",\n size: sizeProp = \"md\",\n accessibilityLabel,\n disabled: disabledProp = false,\n loading = false,\n fullWidth: fullWidthProp = false,\n startIcon: StartIcon,\n endIcon: EndIcon,\n onClick,\n tooltip,\n}: {\n /**\n * The text to be displayed inside the button\n */\n text: string;\n /**\n * The text to be displayed inside the button when it is in a loading state\n */\n loadingText?: string;\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?: (typeof Color)[number];\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, the button will be in a loading state\n *\n * @defaultValue false\n */\n loading?: boolean;\n /**\n * If `true`, the button will take up the full width of its container\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The icon to be displayed at the start of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n startIcon?: React.ComponentType<{ className: string }>;\n /**\n * The icon to be displayed at the end of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n endIcon?: React.ComponentType<{ className: string }>;\n /**\n * The callback to be called when the button is clicked\n */\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n}): ReactElement => {\n const contextProps = useContext(ButtonGroupContext);\n\n const size = contextProps?.size || sizeProp;\n const disabled = contextProps?.disabled || disabledProp;\n const fullWidth = contextProps?.fullWidth || fullWidthProp;\n\n return (\n <button\n aria-label={accessibilityLabel}\n type=\"button\"\n title={tooltip}\n disabled={disabled || loading}\n onClick={onClick}\n className={classNames(\n styles.button,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n {\n [styles.fullWidth]: fullWidth,\n [styles.buttonGap]: size === \"lg\" || size === \"md\",\n },\n )}\n >\n {!loading && StartIcon && (\n <StartIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {((loading && loadingText) || (!loading && text)) && (\n <div className={styles.textContainer}>\n {/* Replace with `Typography` once it lands in `syntax-core` */}\n <div className={classNames(styles.buttonText, textVariant[size])}>\n {loading ? loadingText : text}\n </div>\n </div>\n )}\n {!loading && EndIcon && (\n <EndIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {loading && (\n <svg\n className={classNames(styles.loading, foregroundColor(color))}\n viewBox=\"22 22 44 44\"\n width={loadingIconSize[size]}\n height={loadingIconSize[size]}\n >\n <circle\n className={styles.loadingCircle}\n cx=\"44\"\n cy=\"44\"\n r=\"20.2\"\n fill=\"none\"\n strokeWidth=\"3.6\"\n />\n </svg>\n )}\n </button>\n );\n};\n\nexport default Button;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"primary700Color\":\"_primary700Color_o4pig_2\",\"destructive700Color\":\"_destructive700Color_o4pig_6\",\"gray700Color\":\"_gray700Color_o4pig_10\",\"gray900Color\":\"_gray900Color_o4pig_14\",\"whiteColor\":\"_whiteColor_o4pig_18\",\"inheritColor\":\"_inheritColor_o4pig_22\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_o4pig_27\",\"destructive700Background\":\"_destructive700Background_o4pig_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_o4pig_35\",\"success700BackgroundColor\":\"_success700BackgroundColor_o4pig_39\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_o4pig_43\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_o4pig_47\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_o4pig_51\"}","import { Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function backgroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n return styles.primary100BackgroundColor;\n case \"destructive-primary\":\n return styles.destructive700Background;\n case \"destructive-secondary\":\n return styles.destructive100BackgroundColor;\n case \"success\":\n return styles.success700BackgroundColor;\n case \"tertiary\":\n case \"destructive-tertiary\":\n return styles.whiteBackgroundColor;\n case \"branded\":\n return styles.yellow700BackgroundColor;\n default:\n return styles.primary700BackgroundColor;\n }\n}\n","import { Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function foregroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n case \"tertiary\":\n return styles.primary700Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.destructive700Color;\n case \"branded\":\n return styles.gray900Color;\n default:\n return styles.whiteColor;\n }\n}\n","import { Size } from \"../constants\";\nimport React from \"react\";\n\ninterface ButtonGroupContextType {\n size?: (typeof Size)[number];\n disabled?: boolean;\n fullWidth?: boolean;\n}\n\nconst ButtonGroupContext = React.createContext<ButtonGroupContextType | null>(\n {},\n);\n\nButtonGroupContext.displayName = \"ButtonGroupContext\";\n\nexport default ButtonGroupContext;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_1p2nl_1\",\"buttonGap\":\"_buttonGap_1p2nl_9\",\"fullWidth\":\"_fullWidth_1p2nl_50\",\"sm\":\"_sm_1p2nl_54\",\"md\":\"_md_1p2nl_61\",\"lg\":\"_lg_1p2nl_68\",\"icon\":\"_icon_1p2nl_75\",\"smIcon\":\"_smIcon_1p2nl_79\",\"mdIcon\":\"_mdIcon_1p2nl_86\",\"lgIcon\":\"_lgIcon_1p2nl_93\",\"textContainer\":\"_textContainer_1p2nl_100\",\"loading\":\"_loading_1p2nl_115\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_1p2nl_1\",\"loadingCircle\":\"_loadingCircle_1p2nl_119\",\"buttonText\":\"_buttonText_1p2nl_127\",\"buttonTextSmall\":\"_buttonTextSmall_1p2nl_134\",\"buttonTextMedium\":\"_buttonTextMedium_1p2nl_138\",\"buttonTextLarge\":\"_buttonTextLarge_1p2nl_142\"}","import { useMemo, ReactElement, ReactNode } from \"react\";\nimport styles from \"./ButtonGroup.module.css\";\nimport { Size } from \"../constants\";\nimport ButtonGroupContext from \"./ButtonGroupContext\";\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 * Group buttons to render them in a row or column with consistent spacing in between each button\n */\nconst ButtonGroup = ({\n disabled = false,\n fullWidth = false,\n orientation = \"horizontal\",\n size = \"md\",\n children,\n}: {\n /**\n * If `true`, all buttons will be disabled.\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, all buttons will be full width.\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The orientation of the button group\n *\n * @defaultValue \"horizontal\"\n */\n orientation?: \"horizontal\" | \"vertical\";\n /**\n * The size of the button group\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\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}): ReactElement => {\n const context = useMemo(\n () => ({ disabled, fullWidth, size }),\n [disabled, fullWidth, size],\n );\n\n const classnames = classNames(styles.buttonGroup, gap[size], {\n [styles.horizontal]: orientation === \"horizontal\",\n [styles.vertical]: orientation === \"vertical\",\n });\n\n return (\n <ButtonGroupContext.Provider value={context}>\n <div className={classnames}>{children}</div>\n </ButtonGroupContext.Provider>\n );\n};\n\nexport default ButtonGroup;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css\"; export default {\"buttonGroup\":\"_buttonGroup_184aa_1\",\"horizontal\":\"_horizontal_184aa_6\",\"vertical\":\"_vertical_184aa_10\",\"smallGap\":\"_smallGap_184aa_14\",\"mediumGap\":\"_mediumGap_184aa_18\",\"largeGap\":\"_largeGap_184aa_22\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Card/Card.module.css\"; export default {\"card\":\"_card_hvz2b_1\"}","import styles from \"./Card.module.css\";\n\n/**\n * Card is a basic container component to apply consistent styling and render child components.\n */\nconst Card = ({\n children,\n}: {\n /**\n * The child components to render within Card.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.card}>{children}</div>;\n\nexport default Card;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Divider/Divider.module.css\"; export default {\"divider\":\"_divider_1ddgq_1\"}","import styles from \"./Divider.module.css\";\n\n/**\n * Divider is a thin horizontal line to group content in lists and layouts.\n */\nexport default function Divider({}: Record<string, never>) {\n return <hr className={styles.divider} />;\n}\n\nDivider.displayName = \"Divider\";\n","import classNames from \"classnames\";\nimport { ReactElement, ReactNode } from \"react\";\nimport { Color } from \"../constants\";\nimport styles from \"./Typography.module.css\";\nimport colorStyles from \"../colors/colors.module.css\";\n\nfunction textColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"gray700\":\n return colorStyles.gray700Color;\n case \"white\":\n return colorStyles.whiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"primary\":\n return colorStyles.primary700Color;\n case \"destructive-primary\":\n return colorStyles.destructive700Color;\n default:\n return colorStyles.gray900Color;\n }\n}\n\n/**\n * Typography is a component that renders text.\n */\nconst Typography = ({\n align = \"start\",\n as = \"div\",\n children,\n color = \"gray900\",\n inline = false,\n size = 200,\n tooltip,\n transform = \"none\",\n underline = false,\n weight = \"regular\",\n}: {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"div\"\n */\n as?: \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?: (typeof Color)[number];\n /**\n * Whether the text should flow inline with other elements.\n *\n * @defaultValue false\n */\n inline?: boolean;\n /**\n * Size of the text.\n *\n * * `100`: 12px\n * * `200`: 14px\n * * `300`: 16px\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 200\n */\n size?: 100 | 200 | 300 | 500 | 600 | 700 | 800;\n /**\n * The tooltip to be displayed when the user hovers the text\n */\n tooltip?: string;\n /**\n * Whether the text should be transformed to uppercase.\n *\n * @defaultValue \"none\"\n */\n transform?: \"none\" | \"uppercase\";\n /**\n * Whether the text has an underline.\n *\n * @defaultValue false\n */\n underline?: boolean;\n /**\n * Indicates the boldness of the text.\n *\n * @defaultValue \"regular\"\n */\n weight?: \"regular\" | \"semiBold\" | \"bold\" | \"heavy\";\n}): ReactElement => {\n const Tag = as;\n\n return (\n <Tag\n className={classNames(\n styles.typography,\n styles[align],\n styles[weight],\n textColor(color),\n inline && styles.inline,\n styles[`size${size}`],\n transform === \"uppercase\" && styles.uppercase,\n underline && styles.underline,\n )}\n title={tooltip}\n >\n {children}\n </Tag>\n );\n};\n\nexport default Typography;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css\"; export default {\"typography\":\"_typography_1krnf_1\",\"size100\":\"_size100_1krnf_8\",\"size200\":\"_size200_1krnf_12\",\"size300\":\"_size300_1krnf_16\",\"size500\":\"_size500_1krnf_20\",\"size600\":\"_size600_1krnf_24\",\"size700\":\"_size700_1krnf_28\",\"size800\":\"_size800_1krnf_32\",\"center\":\"_center_1krnf_37\",\"forceLeft\":\"_forceLeft_1krnf_41\",\"forceRight\":\"_forceRight_1krnf_45\",\"start\":\"_start_1krnf_49\",\"end\":\"_end_1krnf_53\",\"bold\":\"_bold_1krnf_58\",\"regular\":\"_regular_1krnf_62\",\"semiBold\":\"_semiBold_1krnf_66\",\"heavy\":\"_heavy_1krnf_70\",\"underline\":\"_underline_1krnf_74\",\"inline\":\"_inline_1krnf_78\",\"uppercase\":\"_uppercase_1krnf_82\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"primary700Color\":\"_primary700Color_o4pig_2\",\"destructive700Color\":\"_destructive700Color_o4pig_6\",\"gray700Color\":\"_gray700Color_o4pig_10\",\"gray900Color\":\"_gray900Color_o4pig_14\",\"whiteColor\":\"_whiteColor_o4pig_18\",\"inheritColor\":\"_inheritColor_o4pig_22\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_o4pig_27\",\"destructive700Background\":\"_destructive700Background_o4pig_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_o4pig_35\",\"success700BackgroundColor\":\"_success700BackgroundColor_o4pig_39\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_o4pig_43\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_o4pig_47\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_o4pig_51\"}","import { ReactElement, ReactNode } from \"react\";\nimport { Color } from \"../constants\";\nimport Typography from \"../Typography/Typography\";\n/**\n * Heading enforces a consistent style & accessibility best practices for headings.\n */\nconst Heading = ({\n align = \"start\",\n as = \"h1\",\n children,\n color = \"gray900\",\n size = 500,\n}: {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"h1\"\n */\n as?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?: (typeof Color)[number];\n /**\n * Size of the text.\n *\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 500\n */\n size?: 500 | 600 | 700 | 800;\n}): ReactElement => {\n const weight = [700, 800].includes(size) ? \"heavy\" : \"bold\";\n return (\n <Typography align={align} as={as} color={color} size={size} weight={weight}>\n {children}\n </Typography>\n );\n};\n\nexport default Heading;\n","import classNames from \"classnames\";\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport React, { ReactElement, useContext } from \"react\";\nimport { Color, Size } from \"../constants\";\nimport styles from \"./IconButton.module.css\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext\";\n\nconst iconSize = {\n [\"sm\"]: styles.smIcon,\n [\"md\"]: styles.mdIcon,\n [\"lg\"]: styles.lgIcon,\n};\n\n/**\n * IconButton is a clickable element that is used to perform an action.\n */\nconst IconButton = ({\n accessibilityLabel,\n color = \"primary\",\n disabled: disabledProp = false,\n icon: Icon,\n size: sizeProp = \"md\",\n tooltip,\n onClick,\n}: {\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?: (typeof Color)[number];\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * The icon to be displayed. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n icon: React.ComponentType<{ className: string }>;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The callback to be called when the button is clicked\n */\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n}): ReactElement => {\n const contextProps = useContext(ButtonGroupContext);\n\n const size = contextProps?.size || sizeProp;\n const disabled = contextProps?.disabled || disabledProp;\n\n return (\n <button\n aria-label={accessibilityLabel}\n type=\"button\"\n title={tooltip}\n disabled={disabled}\n onClick={onClick}\n className={classNames(\n styles.iconButton,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n )}\n >\n <Icon className={iconSize[size]} />\n </button>\n );\n};\n\nexport default IconButton;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/IconButton/IconButton.module.css\"; export default {\"iconButton\":\"_iconButton_dzhn0_1\",\"sm\":\"_sm_dzhn0_46\",\"md\":\"_md_dzhn0_51\",\"lg\":\"_lg_dzhn0_56\",\"smIcon\":\"_smIcon_dzhn0_61\",\"mdIcon\":\"_mdIcon_dzhn0_68\",\"lgIcon\":\"_lgIcon_dzhn0_75\"}","import React, { ReactElement, useState } from \"react\";\nimport classNames from \"classnames\";\nimport styles from \"./LabeledCheckbox.module.css\";\nimport Typography from \"../Typography/Typography\";\n\nconst typographySize = {\n sm: 100,\n md: 200,\n} as const;\n\nconst iconWidth = {\n sm: 12,\n md: 20,\n};\n\n/**\n * Checkbox is a clickable element that will show if an option has been selected or not\n */\nconst Checkbox = ({\n checked = false,\n disabled = false,\n size = \"md\",\n label,\n error = false,\n onChange,\n}: {\n /**\n * Whether or not the box has been clicked\n * @defaultValue false\n */\n checked: boolean;\n /**\n * The callback to be called when the checkbox value changes\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Whether or not the box is disabled\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The size of the checkbox and icon\n * @defaultValue \"md\"\n */\n size?: \"md\" | \"sm\";\n /**\n * The text accompanying the checkbox\n */\n label: string;\n /**\n * Whether or not there is an error with the input\n * @defaultValue false\n */\n error?: boolean;\n}): ReactElement => {\n const [isFocused, setIsFocused] = useState(false);\n const checkboxStyling = classNames(styles.checkbox, styles[size]);\n const uncheckedStyling = classNames(checkboxStyling, styles.uncheckedBox, {\n [styles.uncheckedBorder]: !error,\n [styles.uncheckedErrorBorder]: error,\n [styles.focusedCheckbox]: isFocused,\n });\n const checkedStyling = classNames(checkboxStyling, styles.checkedBox, {\n [styles.checkedNonError]: !error,\n [styles.checkedError]: error,\n [styles.focusedCheckbox]: isFocused,\n });\n\n return (\n <label className={classNames(styles.mainContainer)}>\n <div className={styles.checkboxContainer}>\n <input\n type=\"checkbox\"\n className={classNames(styles.inputOverlay, styles[size])}\n checked={checked}\n aria-checked={checked}\n tabIndex={0}\n onChange={onChange}\n disabled={disabled}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n <div className={checked ? checkedStyling : uncheckedStyling}>\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n fill=\"#fff\"\n d=\"m9 16.2-3.5-3.5a.9839.9839 0 0 0-1.4 0c-.39.39-.39 1.01 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7c.39-.39.39-1.01 0-1.4a.9839.9839 0 0 0-1.4 0L9 16.2z\"\n ></path>\n </svg>\n )}\n </div>\n </div>\n <Typography\n size={typographySize[size]}\n color={error ? \"destructive-primary\" : \"gray800\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/LabeledCheckbox/LabeledCheckbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_p0un4_1\",\"checkboxContainer\":\"_checkboxContainer_p0un4_8\",\"inputOverlay\":\"_inputOverlay_p0un4_13\",\"focusedCheckbox\":\"_focusedCheckbox_p0un4_21\",\"checkbox\":\"_checkbox_p0un4_8\",\"uncheckedBox\":\"_uncheckedBox_p0un4_35\",\"uncheckedBorder\":\"_uncheckedBorder_p0un4_39\",\"uncheckedErrorBorder\":\"_uncheckedErrorBorder_p0un4_43\",\"checkedBox\":\"_checkedBox_p0un4_47\",\"checkedNonError\":\"_checkedNonError_p0un4_51\",\"checkedError\":\"_checkedError_p0un4_55\",\"sm\":\"_sm_p0un4_59\",\"md\":\"_md_p0un4_65\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/MiniActionCard/MiniActionCard.module.css\"; export default {\"miniActionCard\":\"_miniActionCard_qebkn_1\",\"card\":\"_card_qebkn_9\"}","import styles from \"./MiniActionCard.module.css\";\n\n/**\n * MiniActionCard is component that alerts users to a call to action.\n */\nconst MiniActionCard = ({\n children,\n}: {\n /**\n * The child components to render within MiniActionCard.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.miniActionCard}>{children}</div>;\n\nexport default MiniActionCard;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAOA,KAAC,WAAY;AACZ;AAEA,UAAI,SAAS,CAAC,EAAE;AAChB,UAAI,mBAAmB;AAEvB,eAASA,cAAa;AACrB,YAAI,UAAU,CAAC;AAEf,iBAAS,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AAC1C,cAAI,MAAM,UAAU,CAAC;AACrB,cAAI,CAAC;AAAK;AAEV,cAAI,UAAU,OAAO;AAErB,cAAI,YAAY,YAAY,YAAY,UAAU;AACjD,oBAAQ,KAAK,GAAG;AAAA,UACjB,WAAW,MAAM,QAAQ,GAAG,GAAG;AAC9B,gBAAI,IAAI,QAAQ;AACf,kBAAI,QAAQA,YAAW,MAAM,MAAM,GAAG;AACtC,kBAAI,OAAO;AACV,wBAAQ,KAAK,KAAK;AAAA,cACnB;AAAA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AY,QAAO,SAAQ,aAAY,OAAO,UAAU,IAAI,GAC/D,0BAAAA;AAAA,QAAC;AAAA;AAAA,UACC,MAAK;AAAA,UACL,GAAE;AAAA;AAAA,MACH,GACH,GAEJ;AAAA,OACF;AAAA,IACA,gBAAAA;AAAA,MAAC;AAAA;AAAA,QACC,MAAM,eAAe,IAAI;AAAA,QACzB,OAAO,QAAQ,wBAAwB;AAAA,QAEtC;AAAA;AAAA,IACH;AAAA,KACF;AAEJ;AAEA,IAAO,0BAAQ;;;AE3G6F,IAAO,gCAAQ,EAAC,kBAAiB,2BAA0B,QAAO,gBAAe;;;ACY1K,gBAAAG,aAAA;AAPnB,IAAM,iBAAiB,CAAC;AAAA,EACtB;AACF,MAKmB,gBAAAA,MAAC,SAAI,WAAW,8BAAO,gBAAiB,UAAS;AAEpE,IAAO,yBAAQ;","names":["classNames","classNames","import_classnames","jsx","classNames","import_classnames","jsx","classNames","jsx","jsx","import_classnames","colors_module_default","jsx","colors_module_default","classNames","jsx","import_classnames","useContext","jsx","iconSize","useContext","classNames","import_classnames","jsx","jsxs","classNames","jsx"]}
1
+ {"version":3,"sources":["../../../node_modules/classnames/index.js","../src/Avatar/Avatar.tsx","css-module:./Avatar.module.css#css-module","../src/Button/Button.tsx","css-module:./colors.module.css#css-module","../src/colors/backgroundColor.ts","../src/colors/foregroundColor.ts","../src/ButtonGroup/ButtonGroupContext.tsx","css-module:./Button.module.css#css-module","../src/ButtonGroup/ButtonGroup.tsx","css-module:./ButtonGroup.module.css#css-module","css-module:./Card.module.css#css-module","../src/Card/Card.tsx","css-module:./Divider.module.css#css-module","../src/Divider/Divider.tsx","../src/Typography/Typography.tsx","css-module:./Typography.module.css#css-module","css-module:../colors/colors.module.css#css-module","../src/Heading/Heading.tsx","../src/IconButton/IconButton.tsx","css-module:./IconButton.module.css#css-module","../src/LabeledCheckbox/LabeledCheckbox.tsx","css-module:./LabeledCheckbox.module.css#css-module","css-module:./MiniActionCard.module.css#css-module","../src/MiniActionCard/MiniActionCard.tsx","../src/RadioButton/RadioButton.tsx","css-module:./RadioButton.module.css#css-module"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import classNames from \"classnames\";\nimport styles from \"./Avatar.module.css\";\n\n/**\n * Avatar is a circular image that represents a user.\n */\nconst Avatar = ({\n src,\n accessibilityLabel,\n size = \"md\",\n}: {\n /**\n * URL of the image to display as the avatar.\n */\n src: string;\n /**\n * Alt text to use for the image.\n * This should describe the image to people using screen readers.\n */\n accessibilityLabel: string;\n /**\n * Size of the avatar.\n *\n * * `sm`: 24px\n * * `md`: 40px\n * * `lg`: 72px\n * * `xl`: 128px\n *\n * @defaultValue `md`\n */\n size?: \"sm\" | \"md\" | \"lg\" | \"xl\";\n}): JSX.Element => {\n return (\n <img\n alt={accessibilityLabel}\n src={src}\n className={classNames(styles.avatar, styles[size])}\n />\n );\n};\n\nexport default Avatar;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Avatar/Avatar.module.css\"; export default {\"avatar\":\"_avatar_1s8z7_1\",\"sm\":\"_sm_1s8z7_8\",\"md\":\"_md_1s8z7_13\",\"lg\":\"_lg_1s8z7_18\",\"xl\":\"_xl_1s8z7_23\"}","import classNames from \"classnames\";\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport React, { useContext, ReactElement } from \"react\";\nimport { Color, Size } from \"../constants\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext\";\nimport styles from \"./Button.module.css\";\n\nconst textVariant = {\n // Replace with `Typography` once it lands in `syntax-core`\n [\"sm\"]: styles.buttonTextSmall,\n [\"md\"]: styles.buttonTextMedium,\n [\"lg\"]: styles.buttonTextLarge,\n} as const;\n\nconst loadingIconSize = {\n [\"sm\"]: 16,\n [\"md\"]: 20,\n [\"lg\"]: 24,\n};\n\nconst iconSize = {\n [\"sm\"]: styles.smIcon,\n [\"md\"]: styles.mdIcon,\n [\"lg\"]: styles.lgIcon,\n};\n\n/**\n * Button is a clickable element that is used to perform an action.\n */\nconst Button = ({\n text,\n loadingText,\n color = \"primary\",\n size: sizeProp = \"md\",\n accessibilityLabel,\n disabled: disabledProp = false,\n loading = false,\n fullWidth: fullWidthProp = false,\n startIcon: StartIcon,\n endIcon: EndIcon,\n onClick,\n tooltip,\n}: {\n /**\n * The text to be displayed inside the button\n */\n text: string;\n /**\n * The text to be displayed inside the button when it is in a loading state\n */\n loadingText?: string;\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?: (typeof Color)[number];\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, the button will be in a loading state\n *\n * @defaultValue false\n */\n loading?: boolean;\n /**\n * If `true`, the button will take up the full width of its container\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The icon to be displayed at the start of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n startIcon?: React.ComponentType<{ className: string }>;\n /**\n * The icon to be displayed at the end of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n endIcon?: React.ComponentType<{ className: string }>;\n /**\n * The callback to be called when the button is clicked\n */\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n}): ReactElement => {\n const contextProps = useContext(ButtonGroupContext);\n\n const size = contextProps?.size || sizeProp;\n const disabled = contextProps?.disabled || disabledProp;\n const fullWidth = contextProps?.fullWidth || fullWidthProp;\n\n return (\n <button\n aria-label={accessibilityLabel}\n type=\"button\"\n title={tooltip}\n disabled={disabled || loading}\n onClick={onClick}\n className={classNames(\n styles.button,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n {\n [styles.fullWidth]: fullWidth,\n [styles.buttonGap]: size === \"lg\" || size === \"md\",\n },\n )}\n >\n {!loading && StartIcon && (\n <StartIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {((loading && loadingText) || (!loading && text)) && (\n <div className={styles.textContainer}>\n {/* Replace with `Typography` once it lands in `syntax-core` */}\n <div className={classNames(styles.buttonText, textVariant[size])}>\n {loading ? loadingText : text}\n </div>\n </div>\n )}\n {!loading && EndIcon && (\n <EndIcon className={classNames(styles.icon, iconSize[size])} />\n )}\n {loading && (\n <svg\n className={classNames(styles.loading, foregroundColor(color))}\n viewBox=\"22 22 44 44\"\n width={loadingIconSize[size]}\n height={loadingIconSize[size]}\n >\n <circle\n className={styles.loadingCircle}\n cx=\"44\"\n cy=\"44\"\n r=\"20.2\"\n fill=\"none\"\n strokeWidth=\"3.6\"\n />\n </svg>\n )}\n </button>\n );\n};\n\nexport default Button;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"primary700Color\":\"_primary700Color_o4pig_2\",\"destructive700Color\":\"_destructive700Color_o4pig_6\",\"gray700Color\":\"_gray700Color_o4pig_10\",\"gray900Color\":\"_gray900Color_o4pig_14\",\"whiteColor\":\"_whiteColor_o4pig_18\",\"inheritColor\":\"_inheritColor_o4pig_22\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_o4pig_27\",\"destructive700Background\":\"_destructive700Background_o4pig_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_o4pig_35\",\"success700BackgroundColor\":\"_success700BackgroundColor_o4pig_39\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_o4pig_43\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_o4pig_47\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_o4pig_51\"}","import { Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function backgroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n return styles.primary100BackgroundColor;\n case \"destructive-primary\":\n return styles.destructive700Background;\n case \"destructive-secondary\":\n return styles.destructive100BackgroundColor;\n case \"success\":\n return styles.success700BackgroundColor;\n case \"tertiary\":\n case \"destructive-tertiary\":\n return styles.whiteBackgroundColor;\n case \"branded\":\n return styles.yellow700BackgroundColor;\n default:\n return styles.primary700BackgroundColor;\n }\n}\n","import { Color } from \"../constants\";\nimport styles from \"./colors.module.css\";\n\nexport default function foregroundColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"secondary\":\n case \"tertiary\":\n return styles.primary700Color;\n case \"destructive-secondary\":\n case \"destructive-tertiary\":\n return styles.destructive700Color;\n case \"branded\":\n return styles.gray900Color;\n default:\n return styles.whiteColor;\n }\n}\n","import { Size } from \"../constants\";\nimport React from \"react\";\n\ninterface ButtonGroupContextType {\n size?: (typeof Size)[number];\n disabled?: boolean;\n fullWidth?: boolean;\n}\n\nconst ButtonGroupContext = React.createContext<ButtonGroupContextType | null>(\n {},\n);\n\nButtonGroupContext.displayName = \"ButtonGroupContext\";\n\nexport default ButtonGroupContext;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css\"; export default {\"button\":\"_button_1p2nl_1\",\"buttonGap\":\"_buttonGap_1p2nl_9\",\"fullWidth\":\"_fullWidth_1p2nl_50\",\"sm\":\"_sm_1p2nl_54\",\"md\":\"_md_1p2nl_61\",\"lg\":\"_lg_1p2nl_68\",\"icon\":\"_icon_1p2nl_75\",\"smIcon\":\"_smIcon_1p2nl_79\",\"mdIcon\":\"_mdIcon_1p2nl_86\",\"lgIcon\":\"_lgIcon_1p2nl_93\",\"textContainer\":\"_textContainer_1p2nl_100\",\"loading\":\"_loading_1p2nl_115\",\"syntaxButtonLoadingRotate\":\"_syntaxButtonLoadingRotate_1p2nl_1\",\"loadingCircle\":\"_loadingCircle_1p2nl_119\",\"buttonText\":\"_buttonText_1p2nl_127\",\"buttonTextSmall\":\"_buttonTextSmall_1p2nl_134\",\"buttonTextMedium\":\"_buttonTextMedium_1p2nl_138\",\"buttonTextLarge\":\"_buttonTextLarge_1p2nl_142\"}","import { useMemo, ReactElement, ReactNode } from \"react\";\nimport styles from \"./ButtonGroup.module.css\";\nimport { Size } from \"../constants\";\nimport ButtonGroupContext from \"./ButtonGroupContext\";\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 * Group buttons to render them in a row or column with consistent spacing in between each button\n */\nconst ButtonGroup = ({\n disabled = false,\n fullWidth = false,\n orientation = \"horizontal\",\n size = \"md\",\n children,\n}: {\n /**\n * If `true`, all buttons will be disabled.\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, all buttons will be full width.\n *\n * @defaultValue false\n */\n fullWidth?: boolean;\n /**\n * The orientation of the button group\n *\n * @defaultValue \"horizontal\"\n */\n orientation?: \"horizontal\" | \"vertical\";\n /**\n * The size of the button group\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\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}): ReactElement => {\n const context = useMemo(\n () => ({ disabled, fullWidth, size }),\n [disabled, fullWidth, size],\n );\n\n const classnames = classNames(styles.buttonGroup, gap[size], {\n [styles.horizontal]: orientation === \"horizontal\",\n [styles.vertical]: orientation === \"vertical\",\n });\n\n return (\n <ButtonGroupContext.Provider value={context}>\n <div className={classnames}>{children}</div>\n </ButtonGroupContext.Provider>\n );\n};\n\nexport default ButtonGroup;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/ButtonGroup/ButtonGroup.module.css\"; export default {\"buttonGroup\":\"_buttonGroup_184aa_1\",\"horizontal\":\"_horizontal_184aa_6\",\"vertical\":\"_vertical_184aa_10\",\"smallGap\":\"_smallGap_184aa_14\",\"mediumGap\":\"_mediumGap_184aa_18\",\"largeGap\":\"_largeGap_184aa_22\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Card/Card.module.css\"; export default {\"card\":\"_card_hvz2b_1\"}","import styles from \"./Card.module.css\";\n\n/**\n * Card is a basic container component to apply consistent styling and render child components.\n */\nconst Card = ({\n children,\n}: {\n /**\n * The child components to render within Card.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.card}>{children}</div>;\n\nexport default Card;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Divider/Divider.module.css\"; export default {\"divider\":\"_divider_1ddgq_1\"}","import styles from \"./Divider.module.css\";\n\n/**\n * Divider is a thin horizontal line to group content in lists and layouts.\n */\nexport default function Divider({}: Record<string, never>) {\n return <hr className={styles.divider} />;\n}\n\nDivider.displayName = \"Divider\";\n","import classNames from \"classnames\";\nimport { ReactElement, ReactNode } from \"react\";\nimport { Color } from \"../constants\";\nimport styles from \"./Typography.module.css\";\nimport colorStyles from \"../colors/colors.module.css\";\n\nfunction textColor(color: (typeof Color)[number]): string {\n switch (color) {\n case \"gray700\":\n return colorStyles.gray700Color;\n case \"white\":\n return colorStyles.whiteColor;\n case \"inherit\":\n return colorStyles.inheritColor;\n case \"primary\":\n return colorStyles.primary700Color;\n case \"destructive-primary\":\n return colorStyles.destructive700Color;\n default:\n return colorStyles.gray900Color;\n }\n}\n\n/**\n * Typography is a component that renders text.\n */\nconst Typography = ({\n align = \"start\",\n as = \"div\",\n children,\n color = \"gray900\",\n inline = false,\n size = 200,\n tooltip,\n transform = \"none\",\n underline = false,\n weight = \"regular\",\n}: {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"div\"\n */\n as?: \"div\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?: (typeof Color)[number];\n /**\n * Whether the text should flow inline with other elements.\n *\n * @defaultValue false\n */\n inline?: boolean;\n /**\n * Size of the text.\n *\n * * `100`: 12px\n * * `200`: 14px\n * * `300`: 16px\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 200\n */\n size?: 100 | 200 | 300 | 500 | 600 | 700 | 800;\n /**\n * The tooltip to be displayed when the user hovers the text\n */\n tooltip?: string;\n /**\n * Whether the text should be transformed to uppercase.\n *\n * @defaultValue \"none\"\n */\n transform?: \"none\" | \"uppercase\";\n /**\n * Whether the text has an underline.\n *\n * @defaultValue false\n */\n underline?: boolean;\n /**\n * Indicates the boldness of the text.\n *\n * @defaultValue \"regular\"\n */\n weight?: \"regular\" | \"semiBold\" | \"bold\" | \"heavy\";\n}): ReactElement => {\n const Tag = as;\n\n return (\n <Tag\n className={classNames(\n styles.typography,\n styles[align],\n styles[weight],\n textColor(color),\n inline && styles.inline,\n styles[`size${size}`],\n transform === \"uppercase\" && styles.uppercase,\n underline && styles.underline,\n )}\n title={tooltip}\n >\n {children}\n </Tag>\n );\n};\n\nexport default Typography;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/Typography/Typography.module.css\"; export default {\"typography\":\"_typography_1krnf_1\",\"size100\":\"_size100_1krnf_8\",\"size200\":\"_size200_1krnf_12\",\"size300\":\"_size300_1krnf_16\",\"size500\":\"_size500_1krnf_20\",\"size600\":\"_size600_1krnf_24\",\"size700\":\"_size700_1krnf_28\",\"size800\":\"_size800_1krnf_32\",\"center\":\"_center_1krnf_37\",\"forceLeft\":\"_forceLeft_1krnf_41\",\"forceRight\":\"_forceRight_1krnf_45\",\"start\":\"_start_1krnf_49\",\"end\":\"_end_1krnf_53\",\"bold\":\"_bold_1krnf_58\",\"regular\":\"_regular_1krnf_62\",\"semiBold\":\"_semiBold_1krnf_66\",\"heavy\":\"_heavy_1krnf_70\",\"underline\":\"_underline_1krnf_74\",\"inline\":\"_inline_1krnf_78\",\"uppercase\":\"_uppercase_1krnf_82\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css\"; export default {\"primary700Color\":\"_primary700Color_o4pig_2\",\"destructive700Color\":\"_destructive700Color_o4pig_6\",\"gray700Color\":\"_gray700Color_o4pig_10\",\"gray900Color\":\"_gray900Color_o4pig_14\",\"whiteColor\":\"_whiteColor_o4pig_18\",\"inheritColor\":\"_inheritColor_o4pig_22\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_o4pig_27\",\"destructive700Background\":\"_destructive700Background_o4pig_31\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_o4pig_35\",\"success700BackgroundColor\":\"_success700BackgroundColor_o4pig_39\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_o4pig_43\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_o4pig_47\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_o4pig_51\"}","import { ReactElement, ReactNode } from \"react\";\nimport { Color } from \"../constants\";\nimport Typography from \"../Typography/Typography\";\n/**\n * Heading enforces a consistent style & accessibility best practices for headings.\n */\nconst Heading = ({\n align = \"start\",\n as = \"h1\",\n children,\n color = \"gray900\",\n size = 500,\n}: {\n /**\n * Aligns the text to the left, right, or center of the container.\n * * `start` and `end` will align the text to the left or right of the container depending on the locale.\n * * `forceLeft` and `forceRight` will align the text to the left or right of the container regardless of the locale (should be used sparingly).\n *\n * @defaultValue \"start\"\n */\n align?: \"start\" | \"end\" | \"forceLeft\" | \"center\" | \"forceRight\";\n /**\n * DOM element to render as.\n *\n * @defaultValue \"h1\"\n */\n as?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n /**\n * The text to be rendered\n */\n children?: ReactNode;\n /**\n * The color of the text.\n *\n * @defaultValue \"gray900\"\n */\n color?: (typeof Color)[number];\n /**\n * Size of the text.\n *\n * * `500`: 20px\n * * `600`: 28px\n * * `700`: 40px\n * * `800`: 64px\n *\n * @defaultValue 500\n */\n size?: 500 | 600 | 700 | 800;\n}): ReactElement => {\n const weight = [700, 800].includes(size) ? \"heavy\" : \"bold\";\n return (\n <Typography align={align} as={as} color={color} size={size} weight={weight}>\n {children}\n </Typography>\n );\n};\n\nexport default Heading;\n","import classNames from \"classnames\";\nimport backgroundColor from \"../colors//backgroundColor\";\nimport foregroundColor from \"../colors/foregroundColor\";\nimport React, { ReactElement, useContext } from \"react\";\nimport { Color, Size } from \"../constants\";\nimport styles from \"./IconButton.module.css\";\nimport ButtonGroupContext from \"../ButtonGroup/ButtonGroupContext\";\n\nconst iconSize = {\n [\"sm\"]: styles.smIcon,\n [\"md\"]: styles.mdIcon,\n [\"lg\"]: styles.lgIcon,\n};\n\n/**\n * IconButton is a clickable element that is used to perform an action.\n */\nconst IconButton = ({\n accessibilityLabel,\n color = \"primary\",\n disabled: disabledProp = false,\n icon: Icon,\n size: sizeProp = \"md\",\n tooltip,\n onClick,\n}: {\n /**\n * The color of the button\n *\n * @defaultValue \"primary\"\n */\n color?: (typeof Color)[number];\n /**\n * The size of the button\n *\n * * `sm`: 32px\n * * `md`: 40px\n * * `lg`: 48px\n *\n * @defaultValue \"md\"\n */\n size?: (typeof Size)[number];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * The icon to be displayed. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)\n */\n icon: React.ComponentType<{ className: string }>;\n /**\n * If `true`, the button will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The callback to be called when the button is clicked\n */\n onClick: React.MouseEventHandler<HTMLButtonElement>;\n /**\n * The tooltip to be displayed when the user hovers over the button\n */\n tooltip?: string;\n}): ReactElement => {\n const contextProps = useContext(ButtonGroupContext);\n\n const size = contextProps?.size || sizeProp;\n const disabled = contextProps?.disabled || disabledProp;\n\n return (\n <button\n aria-label={accessibilityLabel}\n type=\"button\"\n title={tooltip}\n disabled={disabled}\n onClick={onClick}\n className={classNames(\n styles.iconButton,\n foregroundColor(color),\n backgroundColor(color),\n styles[size],\n )}\n >\n <Icon className={iconSize[size]} />\n </button>\n );\n};\n\nexport default IconButton;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/IconButton/IconButton.module.css\"; export default {\"iconButton\":\"_iconButton_dzhn0_1\",\"sm\":\"_sm_dzhn0_46\",\"md\":\"_md_dzhn0_51\",\"lg\":\"_lg_dzhn0_56\",\"smIcon\":\"_smIcon_dzhn0_61\",\"mdIcon\":\"_mdIcon_dzhn0_68\",\"lgIcon\":\"_lgIcon_dzhn0_75\"}","import React, { ReactElement, useState } from \"react\";\nimport classNames from \"classnames\";\nimport styles from \"./LabeledCheckbox.module.css\";\nimport Typography from \"../Typography/Typography\";\n\nconst typographySize = {\n sm: 100,\n md: 200,\n} as const;\n\nconst iconWidth = {\n sm: 12,\n md: 20,\n};\n\n/**\n * Checkbox is a clickable element that will show if an option has been selected or not\n */\nconst Checkbox = ({\n checked = false,\n disabled = false,\n size = \"md\",\n label,\n error = false,\n onChange,\n}: {\n /**\n * Whether or not the box has been clicked\n *\n * @defaultValue false\n */\n checked: boolean;\n /**\n * The callback to be called when the checkbox value changes\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Whether or not the box is disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * The size of the checkbox and icon\n *\n * * `sm`: 16px\n * * `md`: 24px\n *\n * @defaultValue \"md\"\n */\n size?: \"sm\" | \"md\";\n /**\n * The text accompanying the checkbox\n */\n label: string;\n /**\n * Whether or not there is an error with the input\n *\n * @defaultValue false\n */\n error?: boolean;\n}): ReactElement => {\n const [isFocused, setIsFocused] = useState(false);\n const checkboxStyling = classNames(styles.checkbox, styles[size]);\n const uncheckedStyling = classNames(checkboxStyling, styles.uncheckedBox, {\n [styles.uncheckedBorder]: !error,\n [styles.uncheckedErrorBorder]: error,\n [styles.focusedCheckbox]: isFocused,\n });\n const checkedStyling = classNames(checkboxStyling, styles.checkedBox, {\n [styles.checkedNonError]: !error,\n [styles.checkedError]: error,\n [styles.focusedCheckbox]: isFocused,\n });\n\n return (\n <label className={classNames(styles.mainContainer)}>\n <div className={styles.checkboxContainer}>\n <input\n type=\"checkbox\"\n className={classNames(styles.inputOverlay, styles[size])}\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n <div className={checked ? checkedStyling : uncheckedStyling}>\n {checked && (\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={iconWidth[size]}>\n <path\n fill=\"#fff\"\n d=\"m9 16.2-3.5-3.5a.9839.9839 0 0 0-1.4 0c-.39.39-.39 1.01 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7c.39-.39.39-1.01 0-1.4a.9839.9839 0 0 0-1.4 0L9 16.2z\"\n ></path>\n </svg>\n )}\n </div>\n </div>\n <Typography\n size={typographySize[size]}\n color={error ? \"destructive-primary\" : \"gray800\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default Checkbox;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/LabeledCheckbox/LabeledCheckbox.module.css\"; export default {\"mainContainer\":\"_mainContainer_p0un4_1\",\"checkboxContainer\":\"_checkboxContainer_p0un4_8\",\"inputOverlay\":\"_inputOverlay_p0un4_13\",\"focusedCheckbox\":\"_focusedCheckbox_p0un4_21\",\"checkbox\":\"_checkbox_p0un4_8\",\"uncheckedBox\":\"_uncheckedBox_p0un4_35\",\"uncheckedBorder\":\"_uncheckedBorder_p0un4_39\",\"uncheckedErrorBorder\":\"_uncheckedErrorBorder_p0un4_43\",\"checkedBox\":\"_checkedBox_p0un4_47\",\"checkedNonError\":\"_checkedNonError_p0un4_51\",\"checkedError\":\"_checkedError_p0un4_55\",\"sm\":\"_sm_p0un4_59\",\"md\":\"_md_p0un4_65\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/MiniActionCard/MiniActionCard.module.css\"; export default {\"miniActionCard\":\"_miniActionCard_qebkn_1\",\"card\":\"_card_qebkn_9\"}","import styles from \"./MiniActionCard.module.css\";\n\n/**\n * MiniActionCard is component that alerts users to a call to action.\n */\nconst MiniActionCard = ({\n children,\n}: {\n /**\n * The child components to render within MiniActionCard.\n */\n children: JSX.Element;\n}): JSX.Element => <div className={styles.miniActionCard}>{children}</div>;\n\nexport default MiniActionCard;\n","import React, { ReactElement, useState } from \"react\";\nimport classnames from \"classnames\";\n\nimport styles from \"./RadioButton.module.css\";\nimport Typography from \"../Typography/Typography\";\n\n/**\n * RadioButton is a radio button with accompanying text\n */\nconst RadioButton = ({\n checked = false,\n disabled = false,\n error = false,\n label,\n onChange,\n size = \"md\",\n value = \"\",\n}: {\n /**\n * Whether or not the box is checked\n *\n * @defaultValue false\n */\n checked?: boolean;\n /**\n * Whether or not the box is disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * Whether to show error color schema\n *\n * @defaultValue false\n */\n error?: boolean;\n /**\n * Always add a label tag for best accessibility practices\n */\n label: string;\n /**\n * The callback to be called when the button is clicked\n */\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n /**\n * Size of the components\n *\n * * `sm`: 16px\n * * `md`: 24px\n *\n * @defaultValue \"md\"\n */\n size?: \"sm\" | \"md\";\n /**\n * Value of the selected radio option\n */\n value?: string;\n}): ReactElement => {\n const [isFocused, setIsFocused] = useState(false);\n\n return (\n <label\n className={classnames(styles.radioButton, {\n [styles.smBase]: size === \"sm\",\n [styles.mdBase]: size === \"md\",\n })}\n >\n <input\n type=\"radio\"\n className={classnames(styles.radioStyleOverride, {\n [styles.smOverride]: size === \"sm\",\n [styles.mdOverride]: size === \"md\",\n })}\n checked={checked}\n onChange={onChange}\n disabled={disabled}\n value={value ?? label}\n onFocus={() => {\n setIsFocused(true);\n }}\n onBlur={() => {\n setIsFocused(false);\n }}\n />\n {checked ? (\n <div\n className={classnames(styles.outer, styles[size], {\n [styles.errorOuterBackgroundColor]: error,\n [styles.outerBackgroundColor]: !error,\n [styles.focusedRadioButton]: isFocused,\n })}\n >\n <div\n className={classnames(styles.circle, {\n [styles.smInner]: size === \"sm\",\n [styles.mdInner]: size === \"md\",\n })}\n />\n </div>\n ) : (\n <div\n className={classnames(styles.background, styles[size], {\n [styles.errorBorderColor]: error,\n [styles.borderColor]: !error,\n [styles.focusedRadioButton]: isFocused,\n })}\n />\n )}\n <Typography\n size={size === \"md\" ? 200 : 100}\n color={error ? \"destructive-primary\" : \"gray800\"}\n >\n {label}\n </Typography>\n </label>\n );\n};\n\nexport default RadioButton;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/RadioButton/RadioButton.module.css\"; export default {\"radioButton\":\"_radioButton_1dde1_1\",\"focusedRadioButton\":\"_focusedRadioButton_1dde1_8\",\"smBase\":\"_smBase_1dde1_13\",\"mdBase\":\"_mdBase_1dde1_18\",\"radioStyleOverride\":\"_radioStyleOverride_1dde1_23\",\"smOverride\":\"_smOverride_1dde1_28\",\"mdOverride\":\"_mdOverride_1dde1_33\",\"outer\":\"_outer_1dde1_38\",\"sm\":\"_sm_1dde1_13\",\"md\":\"_md_1dde1_18\",\"errorOuterBackgroundColor\":\"_errorOuterBackgroundColor_1dde1_57\",\"outerBackgroundColor\":\"_outerBackgroundColor_1dde1_61\",\"background\":\"_background_1dde1_65\",\"errorBorderColor\":\"_errorBorderColor_1dde1_71\",\"borderColor\":\"_borderColor_1dde1_75\",\"circle\":\"_circle_1dde1_79\",\"smInner\":\"_smInner_1dde1_83\",\"mdInner\":\"_mdInner_1dde1_89\"}"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAOA,KAAC,WAAY;AACZ;AAEA,UAAI,SAAS,CAAC,EAAE;AAChB,UAAI,mBAAmB;AAEvB,eAASA,cAAa;AACrB,YAAI,UAAU,CAAC;AAEf,iBAAS,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AAC1C,cAAI,MAAM,UAAU,CAAC;AACrB,cAAI,CAAC;AAAK;AAEV,cAAI,UAAU,OAAO;AAErB,cAAI,YAAY,YAAY,YAAY,UAAU;AACjD,oBAAQ,KAAK,GA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;AAAA,cAC3B,CAAC,2BAAO,WAAW,GAAG,CAAC;AAAA,cACvB,CAAC,2BAAO,kBAAkB,GAAG;AAAA,YAC/B,CAAC;AAAA;AAAA,QACH;AAAA,QAEF,gBAAAH;AAAA,UAAC;AAAA;AAAA,YACC,MAAM,SAAS,OAAO,MAAM;AAAA,YAC5B,OAAO,QAAQ,wBAAwB;AAAA,YAEtC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,IAAO,sBAAQ;","names":["classNames","classNames","import_classnames","jsx","classNames","import_classnames","jsx","classnames","classNames","jsx","jsx","import_classnames","colors_module_default","jsx","colors_module_default","classNames","jsx","import_classnames","useContext","jsx","iconSize","useContext","classNames","import_classnames","jsx","jsxs","classNames","jsx","import_classnames","useState","jsx","jsxs","useState","classnames"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cambly/syntax-core",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",