@cambly/syntax-core 1.18.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -23,44 +23,164 @@
23
23
  }
24
24
 
25
25
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/colors/colors.module.css/#css-module-data */
26
- ._primary700Color_o4pig_2 {
27
- color: var(--color-base-primary-700);
26
+ ._inheritColor_j1pwm_2 {
27
+ color: inherit;
28
28
  }
29
- ._destructive700Color_o4pig_6 {
29
+ ._destructive700Color_j1pwm_6 {
30
30
  color: var(--color-base-destructive-700);
31
31
  }
32
- ._gray700Color_o4pig_10 {
32
+ ._gray700Color_j1pwm_10 {
33
33
  color: var(--color-base-gray-700);
34
34
  }
35
- ._gray900Color_o4pig_14 {
35
+ ._gray900Color_j1pwm_14 {
36
36
  color: var(--color-base-gray-900);
37
37
  }
38
- ._whiteColor_o4pig_18 {
38
+ ._primary700Color_j1pwm_18 {
39
+ color: var(--color-base-primary-700);
40
+ }
41
+ ._whiteColor_j1pwm_22 {
39
42
  color: var(--color-base-white);
40
43
  }
41
- ._inheritColor_o4pig_22 {
42
- color: inherit;
44
+ ._blackBackgroundColor_j1pwm_27 {
45
+ background-color: var(--color-base-black);
43
46
  }
44
- ._primary100BackgroundColor_o4pig_27 {
45
- background-color: var(--color-base-primary-100);
47
+ ._destructive100BackgroundColor_j1pwm_31 {
48
+ background-color: var(--color-base-destructive-100);
46
49
  }
47
- ._destructive700Background_o4pig_31 {
50
+ ._destructive200BackgroundColor_j1pwm_35 {
51
+ background-color: var(--color-base-destructive-200);
52
+ }
53
+ ._destructive300BackgroundColor_j1pwm_39 {
54
+ background-color: var(--color-base-destructive-300);
55
+ }
56
+ ._destructive700BackgroundColor_j1pwm_43 {
48
57
  background-color: var(--color-base-destructive-700);
49
58
  }
50
- ._destructive100BackgroundColor_o4pig_35 {
51
- background-color: var(--color-base-destructive-100);
59
+ ._destructive800BackgroundColor_j1pwm_47 {
60
+ background-color: var(--color-base-destructive-800);
61
+ }
62
+ ._destructive900BackgroundColor_j1pwm_51 {
63
+ background-color: var(--color-base-destructive-900);
64
+ }
65
+ ._gray10BackgroundColor_j1pwm_55 {
66
+ background-color: var(--color-base-gray-10);
67
+ }
68
+ ._gray30BackgroundColor_j1pwm_59 {
69
+ background-color: var(--color-base-gray-30);
70
+ }
71
+ ._gray80BackgroundColor_j1pwm_63 {
72
+ background-color: var(--color-base-gray-80);
73
+ }
74
+ ._gray100BackgroundColor_j1pwm_67 {
75
+ background-color: var(--color-base-gray-100);
76
+ }
77
+ ._gray200BackgroundColor_j1pwm_71 {
78
+ background-color: var(--color-base-gray-200);
79
+ }
80
+ ._gray300BackgroundColor_j1pwm_75 {
81
+ background-color: var(--color-base-gray-300);
82
+ }
83
+ ._gray700BackgroundColor_j1pwm_79 {
84
+ background-color: var(--color-base-gray-700);
85
+ }
86
+ ._gray800BackgroundColor_j1pwm_83 {
87
+ background-color: var(--color-base-gray-800);
88
+ }
89
+ ._gray900BackgroundColor_j1pwm_87 {
90
+ background-color: var(--color-base-gray-900);
91
+ }
92
+ ._orange100BackgroundColor_j1pwm_91 {
93
+ background-color: var(--color-base-orange-100);
94
+ }
95
+ ._orange200BackgroundColor_j1pwm_95 {
96
+ background-color: var(--color-base-orange-200);
97
+ }
98
+ ._orange300BackgroundColor_j1pwm_99 {
99
+ background-color: var(--color-base-orange-300);
100
+ }
101
+ ._orange700BackgroundColor_j1pwm_103 {
102
+ background-color: var(--color-base-orange-700);
103
+ }
104
+ ._orange800BackgroundColor_j1pwm_107 {
105
+ background-color: var(--color-base-orange-800);
52
106
  }
53
- ._success700BackgroundColor_o4pig_39 {
107
+ ._orange900BackgroundColor_j1pwm_111 {
108
+ background-color: var(--color-base-orange-900);
109
+ }
110
+ ._primary100BackgroundColor_j1pwm_115 {
111
+ background-color: var(--color-base-primary-100);
112
+ }
113
+ ._primary200BackgroundColor_j1pwm_119 {
114
+ background-color: var(--color-base-primary-200);
115
+ }
116
+ ._primary300BackgroundColor_j1pwm_123 {
117
+ background-color: var(--color-base-primary-300);
118
+ }
119
+ ._primary700BackgroundColor_j1pwm_127 {
120
+ background-color: var(--color-base-primary-700);
121
+ }
122
+ ._primary800BackgroundColor_j1pwm_131 {
123
+ background-color: var(--color-base-primary-800);
124
+ }
125
+ ._primary900BackgroundColor_j1pwm_135 {
126
+ background-color: var(--color-base-primary-900);
127
+ }
128
+ ._success100BackgroundColor_j1pwm_139 {
129
+ background-color: var(--color-base-success-100);
130
+ }
131
+ ._success200BackgroundColor_j1pwm_143 {
132
+ background-color: var(--color-base-success-200);
133
+ }
134
+ ._success300BackgroundColor_j1pwm_147 {
135
+ background-color: var(--color-base-success-300);
136
+ }
137
+ ._success700BackgroundColor_j1pwm_151 {
54
138
  background-color: var(--color-base-success-700);
55
139
  }
56
- ._whiteBackgroundColor_o4pig_43 {
140
+ ._success800BackgroundColor_j1pwm_155 {
141
+ background-color: var(--color-base-success-800);
142
+ }
143
+ ._success900BackgroundColor_j1pwm_159 {
144
+ background-color: var(--color-base-success-900);
145
+ }
146
+ ._purple100BackgroundColor_j1pwm_163 {
147
+ background-color: var(--color-base-purple-100);
148
+ }
149
+ ._purple200BackgroundColor_j1pwm_167 {
150
+ background-color: var(--color-base-purple-200);
151
+ }
152
+ ._purple300BackgroundColor_j1pwm_171 {
153
+ background-color: var(--color-base-purple-300);
154
+ }
155
+ ._purple700BackgroundColor_j1pwm_175 {
156
+ background-color: var(--color-base-purple-700);
157
+ }
158
+ ._purple800BackgroundColor_j1pwm_179 {
159
+ background-color: var(--color-base-purple-800);
160
+ }
161
+ ._purple900BackgroundColor_j1pwm_183 {
162
+ background-color: var(--color-base-purple-900);
163
+ }
164
+ ._whiteBackgroundColor_j1pwm_187 {
57
165
  background-color: var(--color-base-white);
58
166
  }
59
- ._yellow700BackgroundColor_o4pig_47 {
167
+ ._yellow100BackgroundColor_j1pwm_191 {
168
+ background-color: var(--color-base-yellow-100);
169
+ }
170
+ ._yellow200BackgroundColor_j1pwm_195 {
171
+ background-color: var(--color-base-yellow-200);
172
+ }
173
+ ._yellow300BackgroundColor_j1pwm_199 {
174
+ background-color: var(--color-base-yellow-300);
175
+ }
176
+ ._yellow700BackgroundColor_j1pwm_203 {
60
177
  background-color: var(--color-base-yellow-700);
61
178
  }
62
- ._primary700BackgroundColor_o4pig_51 {
63
- background-color: var(--color-base-primary-700);
179
+ ._yellow800BackgroundColor_j1pwm_207 {
180
+ background-color: var(--color-base-yellow-800);
181
+ }
182
+ ._yellow900BackgroundColor_j1pwm_211 {
183
+ background-color: var(--color-base-yellow-900);
64
184
  }
65
185
 
66
186
  /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Button/Button.module.css/#css-module-data */
@@ -342,7 +462,7 @@
342
462
  width: 24px !important;
343
463
  }
344
464
 
345
- /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/LabeledCheckbox/LabeledCheckbox.module.css/#css-module-data */
465
+ /* css-module:/home/runner/work/syntax/syntax/packages/syntax-core/src/Checkbox/Checkbox.module.css/#css-module-data */
346
466
  ._mainContainer_p0un4_1 {
347
467
  display: flex;
348
468
  flex-direction: row;
@@ -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","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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;AAAA;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":[]}
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/Checkbox/Checkbox.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._inheritColor_j1pwm_2 {\n color: inherit;\n}\n\n._destructive700Color_j1pwm_6 {\n color: var(--color-base-destructive-700);\n}\n\n._gray700Color_j1pwm_10 {\n color: var(--color-base-gray-700);\n}\n\n._gray900Color_j1pwm_14 {\n color: var(--color-base-gray-900);\n}\n\n._primary700Color_j1pwm_18 {\n color: var(--color-base-primary-700);\n}\n\n._whiteColor_j1pwm_22 {\n color: var(--color-base-white);\n}\n\n/* Background Colors */\n._blackBackgroundColor_j1pwm_27 {\n background-color: var(--color-base-black);\n}\n\n._destructive100BackgroundColor_j1pwm_31 {\n background-color: var(--color-base-destructive-100);\n}\n\n._destructive200BackgroundColor_j1pwm_35 {\n background-color: var(--color-base-destructive-200);\n}\n\n._destructive300BackgroundColor_j1pwm_39 {\n background-color: var(--color-base-destructive-300);\n}\n\n._destructive700BackgroundColor_j1pwm_43 {\n background-color: var(--color-base-destructive-700);\n}\n\n._destructive800BackgroundColor_j1pwm_47 {\n background-color: var(--color-base-destructive-800);\n}\n\n._destructive900BackgroundColor_j1pwm_51 {\n background-color: var(--color-base-destructive-900);\n}\n\n._gray10BackgroundColor_j1pwm_55 {\n background-color: var(--color-base-gray-10);\n}\n\n._gray30BackgroundColor_j1pwm_59 {\n background-color: var(--color-base-gray-30);\n}\n\n._gray80BackgroundColor_j1pwm_63 {\n background-color: var(--color-base-gray-80);\n}\n\n._gray100BackgroundColor_j1pwm_67 {\n background-color: var(--color-base-gray-100);\n}\n\n._gray200BackgroundColor_j1pwm_71 {\n background-color: var(--color-base-gray-200);\n}\n\n._gray300BackgroundColor_j1pwm_75 {\n background-color: var(--color-base-gray-300);\n}\n\n._gray700BackgroundColor_j1pwm_79 {\n background-color: var(--color-base-gray-700);\n}\n\n._gray800BackgroundColor_j1pwm_83 {\n background-color: var(--color-base-gray-800);\n}\n\n._gray900BackgroundColor_j1pwm_87 {\n background-color: var(--color-base-gray-900);\n}\n\n._orange100BackgroundColor_j1pwm_91 {\n background-color: var(--color-base-orange-100);\n}\n\n._orange200BackgroundColor_j1pwm_95 {\n background-color: var(--color-base-orange-200);\n}\n\n._orange300BackgroundColor_j1pwm_99 {\n background-color: var(--color-base-orange-300);\n}\n\n._orange700BackgroundColor_j1pwm_103 {\n background-color: var(--color-base-orange-700);\n}\n\n._orange800BackgroundColor_j1pwm_107 {\n background-color: var(--color-base-orange-800);\n}\n\n._orange900BackgroundColor_j1pwm_111 {\n background-color: var(--color-base-orange-900);\n}\n\n._primary100BackgroundColor_j1pwm_115 {\n background-color: var(--color-base-primary-100);\n}\n\n._primary200BackgroundColor_j1pwm_119 {\n background-color: var(--color-base-primary-200);\n}\n\n._primary300BackgroundColor_j1pwm_123 {\n background-color: var(--color-base-primary-300);\n}\n\n._primary700BackgroundColor_j1pwm_127 {\n background-color: var(--color-base-primary-700);\n}\n\n._primary800BackgroundColor_j1pwm_131 {\n background-color: var(--color-base-primary-800);\n}\n\n._primary900BackgroundColor_j1pwm_135 {\n background-color: var(--color-base-primary-900);\n}\n\n._success100BackgroundColor_j1pwm_139 {\n background-color: var(--color-base-success-100);\n}\n\n._success200BackgroundColor_j1pwm_143 {\n background-color: var(--color-base-success-200);\n}\n\n._success300BackgroundColor_j1pwm_147 {\n background-color: var(--color-base-success-300);\n}\n\n._success700BackgroundColor_j1pwm_151 {\n background-color: var(--color-base-success-700);\n}\n\n._success800BackgroundColor_j1pwm_155 {\n background-color: var(--color-base-success-800);\n}\n\n._success900BackgroundColor_j1pwm_159 {\n background-color: var(--color-base-success-900);\n}\n\n._purple100BackgroundColor_j1pwm_163 {\n background-color: var(--color-base-purple-100);\n}\n\n._purple200BackgroundColor_j1pwm_167 {\n background-color: var(--color-base-purple-200);\n}\n\n._purple300BackgroundColor_j1pwm_171 {\n background-color: var(--color-base-purple-300);\n}\n\n._purple700BackgroundColor_j1pwm_175 {\n background-color: var(--color-base-purple-700);\n}\n\n._purple800BackgroundColor_j1pwm_179 {\n background-color: var(--color-base-purple-800);\n}\n\n._purple900BackgroundColor_j1pwm_183 {\n background-color: var(--color-base-purple-900);\n}\n\n._whiteBackgroundColor_j1pwm_187 {\n background-color: var(--color-base-white);\n}\n\n._yellow100BackgroundColor_j1pwm_191 {\n background-color: var(--color-base-yellow-100);\n}\n\n._yellow200BackgroundColor_j1pwm_195 {\n background-color: var(--color-base-yellow-200);\n}\n\n._yellow300BackgroundColor_j1pwm_199 {\n background-color: var(--color-base-yellow-300);\n}\n\n._yellow700BackgroundColor_j1pwm_203 {\n background-color: var(--color-base-yellow-700);\n}\n\n._yellow800BackgroundColor_j1pwm_207 {\n background-color: var(--color-base-yellow-800);\n}\n\n._yellow900BackgroundColor_j1pwm_211 {\n background-color: var(--color-base-yellow-900);\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":";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;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAGF;AACE;AAAA;AAG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GF;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
@@ -409,4 +409,4 @@ declare const RadioButton: ({ checked, disabled, error, label, onChange, size, v
409
409
  value?: string | undefined;
410
410
  }) => ReactElement;
411
411
 
412
- export { Avatar, Button, ButtonGroup, Card, Divider, Heading, IconButton, Checkbox as LabeledCheckbox, MiniActionCard, RadioButton, Typography };
412
+ export { Avatar, Button, ButtonGroup, Card, Checkbox, Divider, Heading, IconButton, MiniActionCard, RadioButton, Typography };
package/dist/index.js CHANGED
@@ -88,10 +88,10 @@ __export(src_exports, {
88
88
  Button: () => Button_default,
89
89
  ButtonGroup: () => ButtonGroup_default,
90
90
  Card: () => Card_default,
91
+ Checkbox: () => Checkbox_default,
91
92
  Divider: () => Divider,
92
93
  Heading: () => Heading_default,
93
94
  IconButton: () => IconButton_default,
94
- LabeledCheckbox: () => LabeledCheckbox_default,
95
95
  MiniActionCard: () => MiniActionCard_default,
96
96
  RadioButton: () => RadioButton_default,
97
97
  Typography: () => Typography_default
@@ -126,7 +126,7 @@ var Avatar_default = Avatar;
126
126
  var import_classnames2 = __toESM(require_classnames());
127
127
 
128
128
  // css-module:./colors.module.css#css-module
129
- var colors_module_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" };
129
+ var colors_module_default = { "inheritColor": "_inheritColor_j1pwm_2", "destructive700Color": "_destructive700Color_j1pwm_6", "gray700Color": "_gray700Color_j1pwm_10", "gray900Color": "_gray900Color_j1pwm_14", "primary700Color": "_primary700Color_j1pwm_18", "whiteColor": "_whiteColor_j1pwm_22", "blackBackgroundColor": "_blackBackgroundColor_j1pwm_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_j1pwm_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_j1pwm_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_j1pwm_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_j1pwm_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_j1pwm_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_j1pwm_51", "gray10BackgroundColor": "_gray10BackgroundColor_j1pwm_55", "gray30BackgroundColor": "_gray30BackgroundColor_j1pwm_59", "gray80BackgroundColor": "_gray80BackgroundColor_j1pwm_63", "gray100BackgroundColor": "_gray100BackgroundColor_j1pwm_67", "gray200BackgroundColor": "_gray200BackgroundColor_j1pwm_71", "gray300BackgroundColor": "_gray300BackgroundColor_j1pwm_75", "gray700BackgroundColor": "_gray700BackgroundColor_j1pwm_79", "gray800BackgroundColor": "_gray800BackgroundColor_j1pwm_83", "gray900BackgroundColor": "_gray900BackgroundColor_j1pwm_87", "orange100BackgroundColor": "_orange100BackgroundColor_j1pwm_91", "orange200BackgroundColor": "_orange200BackgroundColor_j1pwm_95", "orange300BackgroundColor": "_orange300BackgroundColor_j1pwm_99", "orange700BackgroundColor": "_orange700BackgroundColor_j1pwm_103", "orange800BackgroundColor": "_orange800BackgroundColor_j1pwm_107", "orange900BackgroundColor": "_orange900BackgroundColor_j1pwm_111", "primary100BackgroundColor": "_primary100BackgroundColor_j1pwm_115", "primary200BackgroundColor": "_primary200BackgroundColor_j1pwm_119", "primary300BackgroundColor": "_primary300BackgroundColor_j1pwm_123", "primary700BackgroundColor": "_primary700BackgroundColor_j1pwm_127", "primary800BackgroundColor": "_primary800BackgroundColor_j1pwm_131", "primary900BackgroundColor": "_primary900BackgroundColor_j1pwm_135", "success100BackgroundColor": "_success100BackgroundColor_j1pwm_139", "success200BackgroundColor": "_success200BackgroundColor_j1pwm_143", "success300BackgroundColor": "_success300BackgroundColor_j1pwm_147", "success700BackgroundColor": "_success700BackgroundColor_j1pwm_151", "success800BackgroundColor": "_success800BackgroundColor_j1pwm_155", "success900BackgroundColor": "_success900BackgroundColor_j1pwm_159", "purple100BackgroundColor": "_purple100BackgroundColor_j1pwm_163", "purple200BackgroundColor": "_purple200BackgroundColor_j1pwm_167", "purple300BackgroundColor": "_purple300BackgroundColor_j1pwm_171", "purple700BackgroundColor": "_purple700BackgroundColor_j1pwm_175", "purple800BackgroundColor": "_purple800BackgroundColor_j1pwm_179", "purple900BackgroundColor": "_purple900BackgroundColor_j1pwm_183", "whiteBackgroundColor": "_whiteBackgroundColor_j1pwm_187", "yellow100BackgroundColor": "_yellow100BackgroundColor_j1pwm_191", "yellow200BackgroundColor": "_yellow200BackgroundColor_j1pwm_195", "yellow300BackgroundColor": "_yellow300BackgroundColor_j1pwm_199", "yellow700BackgroundColor": "_yellow700BackgroundColor_j1pwm_203", "yellow800BackgroundColor": "_yellow800BackgroundColor_j1pwm_207", "yellow900BackgroundColor": "_yellow900BackgroundColor_j1pwm_211" };
130
130
 
131
131
  // src/colors/backgroundColor.ts
132
132
  function backgroundColor(color) {
@@ -134,7 +134,7 @@ function backgroundColor(color) {
134
134
  case "secondary":
135
135
  return colors_module_default.primary100BackgroundColor;
136
136
  case "destructive-primary":
137
- return colors_module_default.destructive700Background;
137
+ return colors_module_default.destructive700BackgroundColor;
138
138
  case "destructive-secondary":
139
139
  return colors_module_default.destructive100BackgroundColor;
140
140
  case "success":
@@ -323,7 +323,7 @@ var import_classnames4 = __toESM(require_classnames());
323
323
  var Typography_module_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" };
324
324
 
325
325
  // css-module:../colors/colors.module.css#css-module
326
- var colors_module_default2 = { "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" };
326
+ var colors_module_default2 = { "inheritColor": "_inheritColor_j1pwm_2", "destructive700Color": "_destructive700Color_j1pwm_6", "gray700Color": "_gray700Color_j1pwm_10", "gray900Color": "_gray900Color_j1pwm_14", "primary700Color": "_primary700Color_j1pwm_18", "whiteColor": "_whiteColor_j1pwm_22", "blackBackgroundColor": "_blackBackgroundColor_j1pwm_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_j1pwm_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_j1pwm_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_j1pwm_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_j1pwm_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_j1pwm_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_j1pwm_51", "gray10BackgroundColor": "_gray10BackgroundColor_j1pwm_55", "gray30BackgroundColor": "_gray30BackgroundColor_j1pwm_59", "gray80BackgroundColor": "_gray80BackgroundColor_j1pwm_63", "gray100BackgroundColor": "_gray100BackgroundColor_j1pwm_67", "gray200BackgroundColor": "_gray200BackgroundColor_j1pwm_71", "gray300BackgroundColor": "_gray300BackgroundColor_j1pwm_75", "gray700BackgroundColor": "_gray700BackgroundColor_j1pwm_79", "gray800BackgroundColor": "_gray800BackgroundColor_j1pwm_83", "gray900BackgroundColor": "_gray900BackgroundColor_j1pwm_87", "orange100BackgroundColor": "_orange100BackgroundColor_j1pwm_91", "orange200BackgroundColor": "_orange200BackgroundColor_j1pwm_95", "orange300BackgroundColor": "_orange300BackgroundColor_j1pwm_99", "orange700BackgroundColor": "_orange700BackgroundColor_j1pwm_103", "orange800BackgroundColor": "_orange800BackgroundColor_j1pwm_107", "orange900BackgroundColor": "_orange900BackgroundColor_j1pwm_111", "primary100BackgroundColor": "_primary100BackgroundColor_j1pwm_115", "primary200BackgroundColor": "_primary200BackgroundColor_j1pwm_119", "primary300BackgroundColor": "_primary300BackgroundColor_j1pwm_123", "primary700BackgroundColor": "_primary700BackgroundColor_j1pwm_127", "primary800BackgroundColor": "_primary800BackgroundColor_j1pwm_131", "primary900BackgroundColor": "_primary900BackgroundColor_j1pwm_135", "success100BackgroundColor": "_success100BackgroundColor_j1pwm_139", "success200BackgroundColor": "_success200BackgroundColor_j1pwm_143", "success300BackgroundColor": "_success300BackgroundColor_j1pwm_147", "success700BackgroundColor": "_success700BackgroundColor_j1pwm_151", "success800BackgroundColor": "_success800BackgroundColor_j1pwm_155", "success900BackgroundColor": "_success900BackgroundColor_j1pwm_159", "purple100BackgroundColor": "_purple100BackgroundColor_j1pwm_163", "purple200BackgroundColor": "_purple200BackgroundColor_j1pwm_167", "purple300BackgroundColor": "_purple300BackgroundColor_j1pwm_171", "purple700BackgroundColor": "_purple700BackgroundColor_j1pwm_175", "purple800BackgroundColor": "_purple800BackgroundColor_j1pwm_179", "purple900BackgroundColor": "_purple900BackgroundColor_j1pwm_183", "whiteBackgroundColor": "_whiteBackgroundColor_j1pwm_187", "yellow100BackgroundColor": "_yellow100BackgroundColor_j1pwm_191", "yellow200BackgroundColor": "_yellow200BackgroundColor_j1pwm_195", "yellow300BackgroundColor": "_yellow300BackgroundColor_j1pwm_199", "yellow700BackgroundColor": "_yellow700BackgroundColor_j1pwm_203", "yellow800BackgroundColor": "_yellow800BackgroundColor_j1pwm_207", "yellow900BackgroundColor": "_yellow900BackgroundColor_j1pwm_211" };
327
327
 
328
328
  // src/Typography/Typography.tsx
329
329
  var import_jsx_runtime6 = require("react/jsx-runtime");
@@ -436,14 +436,14 @@ var IconButton = ({
436
436
  };
437
437
  var IconButton_default = IconButton;
438
438
 
439
- // src/LabeledCheckbox/LabeledCheckbox.tsx
439
+ // src/Checkbox/Checkbox.tsx
440
440
  var import_react5 = require("react");
441
441
  var import_classnames6 = __toESM(require_classnames());
442
442
 
443
- // css-module:./LabeledCheckbox.module.css#css-module
444
- var LabeledCheckbox_module_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" };
443
+ // css-module:./Checkbox.module.css#css-module
444
+ var Checkbox_module_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" };
445
445
 
446
- // src/LabeledCheckbox/LabeledCheckbox.tsx
446
+ // src/Checkbox/Checkbox.tsx
447
447
  var import_jsx_runtime9 = require("react/jsx-runtime");
448
448
  var typographySize = {
449
449
  sm: 100,
@@ -462,24 +462,24 @@ var Checkbox = ({
462
462
  onChange
463
463
  }) => {
464
464
  const [isFocused, setIsFocused] = (0, import_react5.useState)(false);
465
- const checkboxStyling = (0, import_classnames6.default)(LabeledCheckbox_module_default.checkbox, LabeledCheckbox_module_default[size]);
466
- const uncheckedStyling = (0, import_classnames6.default)(checkboxStyling, LabeledCheckbox_module_default.uncheckedBox, {
467
- [LabeledCheckbox_module_default.uncheckedBorder]: !error,
468
- [LabeledCheckbox_module_default.uncheckedErrorBorder]: error,
469
- [LabeledCheckbox_module_default.focusedCheckbox]: isFocused
465
+ const checkboxStyling = (0, import_classnames6.default)(Checkbox_module_default.checkbox, Checkbox_module_default[size]);
466
+ const uncheckedStyling = (0, import_classnames6.default)(checkboxStyling, Checkbox_module_default.uncheckedBox, {
467
+ [Checkbox_module_default.uncheckedBorder]: !error,
468
+ [Checkbox_module_default.uncheckedErrorBorder]: error,
469
+ [Checkbox_module_default.focusedCheckbox]: isFocused
470
470
  });
471
- const checkedStyling = (0, import_classnames6.default)(checkboxStyling, LabeledCheckbox_module_default.checkedBox, {
472
- [LabeledCheckbox_module_default.checkedNonError]: !error,
473
- [LabeledCheckbox_module_default.checkedError]: error,
474
- [LabeledCheckbox_module_default.focusedCheckbox]: isFocused
471
+ const checkedStyling = (0, import_classnames6.default)(checkboxStyling, Checkbox_module_default.checkedBox, {
472
+ [Checkbox_module_default.checkedNonError]: !error,
473
+ [Checkbox_module_default.checkedError]: error,
474
+ [Checkbox_module_default.focusedCheckbox]: isFocused
475
475
  });
476
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("label", { className: (0, import_classnames6.default)(LabeledCheckbox_module_default.mainContainer), children: [
477
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: LabeledCheckbox_module_default.checkboxContainer, children: [
476
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("label", { className: (0, import_classnames6.default)(Checkbox_module_default.mainContainer), children: [
477
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: Checkbox_module_default.checkboxContainer, children: [
478
478
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
479
479
  "input",
480
480
  {
481
481
  type: "checkbox",
482
- className: (0, import_classnames6.default)(LabeledCheckbox_module_default.inputOverlay, LabeledCheckbox_module_default[size]),
482
+ className: (0, import_classnames6.default)(Checkbox_module_default.inputOverlay, Checkbox_module_default[size]),
483
483
  checked,
484
484
  onChange,
485
485
  disabled,
@@ -509,7 +509,7 @@ var Checkbox = ({
509
509
  )
510
510
  ] });
511
511
  };
512
- var LabeledCheckbox_default = Checkbox;
512
+ var Checkbox_default = Checkbox;
513
513
 
514
514
  // css-module:./MiniActionCard.module.css#css-module
515
515
  var MiniActionCard_module_default = { "miniActionCard": "_miniActionCard_qebkn_1", "card": "_card_qebkn_9" };
@@ -615,10 +615,10 @@ var RadioButton_default = RadioButton;
615
615
  Button,
616
616
  ButtonGroup,
617
617
  Card,
618
+ Checkbox,
618
619
  Divider,
619
620
  Heading,
620
621
  IconButton,
621
- LabeledCheckbox,
622
622
  MiniActionCard,
623
623
  RadioButton,
624
624
  Typography
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","../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,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,E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,GAAG,SAAS;AAAA,YAChC,CAAC;AAAA,YACD;AAAA,YACA;AAAA,YACA;AAAA,YACA,OAAO,wBAAS;AAAA,YAChB,SAAS,MAAM;AACb,2BAAa,IAAI;AAAA,YACnB;AAAA,YACA,QAAQ,MAAM;AACZ,2BAAa,KAAK;AAAA,YACpB;AAAA;AAAA,QACF;AAAA,QACC,UACC;AAAA,UAAC;AAAA;AAAA,YACC,eAAW,mBAAAA,SAAW,2BAAO,OAAO,2BAAO,IAAI,GAAG;AAAA,cAChD,CAAC,2BAAO,yBAAyB,GAAG;AAAA,cACpC,CAAC,2BAAO,oBAAoB,GAAG,CAAC;AAAA,cAChC,CAAC,2BAAO,kBAAkB,GAAG;AAAA,YAC/B,CAAC;AAAA,YAED;AAAA,cAAC;AAAA;AAAA,gBACC,eAAW,mBAAAA,SAAW,2BAAO,QAAQ;AAAA,kBACnC,CAAC,2BAAO,OAAO,GAAG,SAAS;AAAA,kBAC3B,CAAC,2BAAO,OAAO,GAAG,SAAS;AAAA,gBAC7B,CAAC;AAAA;AAAA,YACH;AAAA;AAAA,QACF,IAEA;AAAA,UAAC;AAAA;AAAA,YACC,eAAW,mBAAAA,SAAW,2BAAO,YAAY,2BAAO,IAAI,GAAG;AAAA,cACrD,CAAC,2BAAO,gBAAgB,GAAG;AAAA,cAC3B,CAAC,2BAAO,WAAW,GAAG,CAAC;AAAA,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"]}
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/Checkbox/Checkbox.tsx","css-module:./Checkbox.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 Checkbox from \"./Checkbox/Checkbox\";\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 Checkbox,\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 {\"inheritColor\":\"_inheritColor_j1pwm_2\",\"destructive700Color\":\"_destructive700Color_j1pwm_6\",\"gray700Color\":\"_gray700Color_j1pwm_10\",\"gray900Color\":\"_gray900Color_j1pwm_14\",\"primary700Color\":\"_primary700Color_j1pwm_18\",\"whiteColor\":\"_whiteColor_j1pwm_22\",\"blackBackgroundColor\":\"_blackBackgroundColor_j1pwm_27\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_j1pwm_31\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_j1pwm_35\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_j1pwm_39\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_j1pwm_43\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_j1pwm_47\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_j1pwm_51\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_j1pwm_55\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_j1pwm_59\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_j1pwm_63\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_j1pwm_67\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_j1pwm_71\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_j1pwm_75\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_j1pwm_79\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_j1pwm_83\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_j1pwm_87\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_j1pwm_91\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_j1pwm_95\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_j1pwm_99\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_j1pwm_103\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_j1pwm_107\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_j1pwm_111\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_j1pwm_115\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_j1pwm_119\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_j1pwm_123\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_j1pwm_127\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_j1pwm_131\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_j1pwm_135\",\"success100BackgroundColor\":\"_success100BackgroundColor_j1pwm_139\",\"success200BackgroundColor\":\"_success200BackgroundColor_j1pwm_143\",\"success300BackgroundColor\":\"_success300BackgroundColor_j1pwm_147\",\"success700BackgroundColor\":\"_success700BackgroundColor_j1pwm_151\",\"success800BackgroundColor\":\"_success800BackgroundColor_j1pwm_155\",\"success900BackgroundColor\":\"_success900BackgroundColor_j1pwm_159\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_j1pwm_163\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_j1pwm_167\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_j1pwm_171\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_j1pwm_175\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_j1pwm_179\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_j1pwm_183\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_j1pwm_187\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_j1pwm_191\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_j1pwm_195\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_j1pwm_199\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_j1pwm_203\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_j1pwm_207\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_j1pwm_211\"}","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.destructive700BackgroundColor;\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 {\"inheritColor\":\"_inheritColor_j1pwm_2\",\"destructive700Color\":\"_destructive700Color_j1pwm_6\",\"gray700Color\":\"_gray700Color_j1pwm_10\",\"gray900Color\":\"_gray900Color_j1pwm_14\",\"primary700Color\":\"_primary700Color_j1pwm_18\",\"whiteColor\":\"_whiteColor_j1pwm_22\",\"blackBackgroundColor\":\"_blackBackgroundColor_j1pwm_27\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_j1pwm_31\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_j1pwm_35\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_j1pwm_39\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_j1pwm_43\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_j1pwm_47\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_j1pwm_51\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_j1pwm_55\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_j1pwm_59\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_j1pwm_63\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_j1pwm_67\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_j1pwm_71\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_j1pwm_75\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_j1pwm_79\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_j1pwm_83\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_j1pwm_87\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_j1pwm_91\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_j1pwm_95\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_j1pwm_99\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_j1pwm_103\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_j1pwm_107\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_j1pwm_111\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_j1pwm_115\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_j1pwm_119\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_j1pwm_123\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_j1pwm_127\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_j1pwm_131\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_j1pwm_135\",\"success100BackgroundColor\":\"_success100BackgroundColor_j1pwm_139\",\"success200BackgroundColor\":\"_success200BackgroundColor_j1pwm_143\",\"success300BackgroundColor\":\"_success300BackgroundColor_j1pwm_147\",\"success700BackgroundColor\":\"_success700BackgroundColor_j1pwm_151\",\"success800BackgroundColor\":\"_success800BackgroundColor_j1pwm_155\",\"success900BackgroundColor\":\"_success900BackgroundColor_j1pwm_159\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_j1pwm_163\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_j1pwm_167\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_j1pwm_171\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_j1pwm_175\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_j1pwm_179\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_j1pwm_183\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_j1pwm_187\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_j1pwm_191\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_j1pwm_195\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_j1pwm_199\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_j1pwm_203\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_j1pwm_207\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_j1pwm_211\"}","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 \"./Checkbox.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/Checkbox/Checkbox.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,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;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wB;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
@@ -103,7 +103,7 @@ var Avatar_default = Avatar;
103
103
  var import_classnames2 = __toESM(require_classnames());
104
104
 
105
105
  // css-module:./colors.module.css#css-module
106
- var colors_module_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" };
106
+ var colors_module_default = { "inheritColor": "_inheritColor_j1pwm_2", "destructive700Color": "_destructive700Color_j1pwm_6", "gray700Color": "_gray700Color_j1pwm_10", "gray900Color": "_gray900Color_j1pwm_14", "primary700Color": "_primary700Color_j1pwm_18", "whiteColor": "_whiteColor_j1pwm_22", "blackBackgroundColor": "_blackBackgroundColor_j1pwm_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_j1pwm_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_j1pwm_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_j1pwm_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_j1pwm_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_j1pwm_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_j1pwm_51", "gray10BackgroundColor": "_gray10BackgroundColor_j1pwm_55", "gray30BackgroundColor": "_gray30BackgroundColor_j1pwm_59", "gray80BackgroundColor": "_gray80BackgroundColor_j1pwm_63", "gray100BackgroundColor": "_gray100BackgroundColor_j1pwm_67", "gray200BackgroundColor": "_gray200BackgroundColor_j1pwm_71", "gray300BackgroundColor": "_gray300BackgroundColor_j1pwm_75", "gray700BackgroundColor": "_gray700BackgroundColor_j1pwm_79", "gray800BackgroundColor": "_gray800BackgroundColor_j1pwm_83", "gray900BackgroundColor": "_gray900BackgroundColor_j1pwm_87", "orange100BackgroundColor": "_orange100BackgroundColor_j1pwm_91", "orange200BackgroundColor": "_orange200BackgroundColor_j1pwm_95", "orange300BackgroundColor": "_orange300BackgroundColor_j1pwm_99", "orange700BackgroundColor": "_orange700BackgroundColor_j1pwm_103", "orange800BackgroundColor": "_orange800BackgroundColor_j1pwm_107", "orange900BackgroundColor": "_orange900BackgroundColor_j1pwm_111", "primary100BackgroundColor": "_primary100BackgroundColor_j1pwm_115", "primary200BackgroundColor": "_primary200BackgroundColor_j1pwm_119", "primary300BackgroundColor": "_primary300BackgroundColor_j1pwm_123", "primary700BackgroundColor": "_primary700BackgroundColor_j1pwm_127", "primary800BackgroundColor": "_primary800BackgroundColor_j1pwm_131", "primary900BackgroundColor": "_primary900BackgroundColor_j1pwm_135", "success100BackgroundColor": "_success100BackgroundColor_j1pwm_139", "success200BackgroundColor": "_success200BackgroundColor_j1pwm_143", "success300BackgroundColor": "_success300BackgroundColor_j1pwm_147", "success700BackgroundColor": "_success700BackgroundColor_j1pwm_151", "success800BackgroundColor": "_success800BackgroundColor_j1pwm_155", "success900BackgroundColor": "_success900BackgroundColor_j1pwm_159", "purple100BackgroundColor": "_purple100BackgroundColor_j1pwm_163", "purple200BackgroundColor": "_purple200BackgroundColor_j1pwm_167", "purple300BackgroundColor": "_purple300BackgroundColor_j1pwm_171", "purple700BackgroundColor": "_purple700BackgroundColor_j1pwm_175", "purple800BackgroundColor": "_purple800BackgroundColor_j1pwm_179", "purple900BackgroundColor": "_purple900BackgroundColor_j1pwm_183", "whiteBackgroundColor": "_whiteBackgroundColor_j1pwm_187", "yellow100BackgroundColor": "_yellow100BackgroundColor_j1pwm_191", "yellow200BackgroundColor": "_yellow200BackgroundColor_j1pwm_195", "yellow300BackgroundColor": "_yellow300BackgroundColor_j1pwm_199", "yellow700BackgroundColor": "_yellow700BackgroundColor_j1pwm_203", "yellow800BackgroundColor": "_yellow800BackgroundColor_j1pwm_207", "yellow900BackgroundColor": "_yellow900BackgroundColor_j1pwm_211" };
107
107
 
108
108
  // src/colors/backgroundColor.ts
109
109
  function backgroundColor(color) {
@@ -111,7 +111,7 @@ function backgroundColor(color) {
111
111
  case "secondary":
112
112
  return colors_module_default.primary100BackgroundColor;
113
113
  case "destructive-primary":
114
- return colors_module_default.destructive700Background;
114
+ return colors_module_default.destructive700BackgroundColor;
115
115
  case "destructive-secondary":
116
116
  return colors_module_default.destructive100BackgroundColor;
117
117
  case "success":
@@ -300,7 +300,7 @@ var import_classnames4 = __toESM(require_classnames());
300
300
  var Typography_module_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" };
301
301
 
302
302
  // css-module:../colors/colors.module.css#css-module
303
- var colors_module_default2 = { "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" };
303
+ var colors_module_default2 = { "inheritColor": "_inheritColor_j1pwm_2", "destructive700Color": "_destructive700Color_j1pwm_6", "gray700Color": "_gray700Color_j1pwm_10", "gray900Color": "_gray900Color_j1pwm_14", "primary700Color": "_primary700Color_j1pwm_18", "whiteColor": "_whiteColor_j1pwm_22", "blackBackgroundColor": "_blackBackgroundColor_j1pwm_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_j1pwm_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_j1pwm_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_j1pwm_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_j1pwm_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_j1pwm_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_j1pwm_51", "gray10BackgroundColor": "_gray10BackgroundColor_j1pwm_55", "gray30BackgroundColor": "_gray30BackgroundColor_j1pwm_59", "gray80BackgroundColor": "_gray80BackgroundColor_j1pwm_63", "gray100BackgroundColor": "_gray100BackgroundColor_j1pwm_67", "gray200BackgroundColor": "_gray200BackgroundColor_j1pwm_71", "gray300BackgroundColor": "_gray300BackgroundColor_j1pwm_75", "gray700BackgroundColor": "_gray700BackgroundColor_j1pwm_79", "gray800BackgroundColor": "_gray800BackgroundColor_j1pwm_83", "gray900BackgroundColor": "_gray900BackgroundColor_j1pwm_87", "orange100BackgroundColor": "_orange100BackgroundColor_j1pwm_91", "orange200BackgroundColor": "_orange200BackgroundColor_j1pwm_95", "orange300BackgroundColor": "_orange300BackgroundColor_j1pwm_99", "orange700BackgroundColor": "_orange700BackgroundColor_j1pwm_103", "orange800BackgroundColor": "_orange800BackgroundColor_j1pwm_107", "orange900BackgroundColor": "_orange900BackgroundColor_j1pwm_111", "primary100BackgroundColor": "_primary100BackgroundColor_j1pwm_115", "primary200BackgroundColor": "_primary200BackgroundColor_j1pwm_119", "primary300BackgroundColor": "_primary300BackgroundColor_j1pwm_123", "primary700BackgroundColor": "_primary700BackgroundColor_j1pwm_127", "primary800BackgroundColor": "_primary800BackgroundColor_j1pwm_131", "primary900BackgroundColor": "_primary900BackgroundColor_j1pwm_135", "success100BackgroundColor": "_success100BackgroundColor_j1pwm_139", "success200BackgroundColor": "_success200BackgroundColor_j1pwm_143", "success300BackgroundColor": "_success300BackgroundColor_j1pwm_147", "success700BackgroundColor": "_success700BackgroundColor_j1pwm_151", "success800BackgroundColor": "_success800BackgroundColor_j1pwm_155", "success900BackgroundColor": "_success900BackgroundColor_j1pwm_159", "purple100BackgroundColor": "_purple100BackgroundColor_j1pwm_163", "purple200BackgroundColor": "_purple200BackgroundColor_j1pwm_167", "purple300BackgroundColor": "_purple300BackgroundColor_j1pwm_171", "purple700BackgroundColor": "_purple700BackgroundColor_j1pwm_175", "purple800BackgroundColor": "_purple800BackgroundColor_j1pwm_179", "purple900BackgroundColor": "_purple900BackgroundColor_j1pwm_183", "whiteBackgroundColor": "_whiteBackgroundColor_j1pwm_187", "yellow100BackgroundColor": "_yellow100BackgroundColor_j1pwm_191", "yellow200BackgroundColor": "_yellow200BackgroundColor_j1pwm_195", "yellow300BackgroundColor": "_yellow300BackgroundColor_j1pwm_199", "yellow700BackgroundColor": "_yellow700BackgroundColor_j1pwm_203", "yellow800BackgroundColor": "_yellow800BackgroundColor_j1pwm_207", "yellow900BackgroundColor": "_yellow900BackgroundColor_j1pwm_211" };
304
304
 
305
305
  // src/Typography/Typography.tsx
306
306
  import { jsx as jsx6 } from "react/jsx-runtime";
@@ -413,14 +413,14 @@ var IconButton = ({
413
413
  };
414
414
  var IconButton_default = IconButton;
415
415
 
416
- // src/LabeledCheckbox/LabeledCheckbox.tsx
416
+ // src/Checkbox/Checkbox.tsx
417
417
  var import_classnames6 = __toESM(require_classnames());
418
418
  import { useState } from "react";
419
419
 
420
- // css-module:./LabeledCheckbox.module.css#css-module
421
- var LabeledCheckbox_module_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" };
420
+ // css-module:./Checkbox.module.css#css-module
421
+ var Checkbox_module_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" };
422
422
 
423
- // src/LabeledCheckbox/LabeledCheckbox.tsx
423
+ // src/Checkbox/Checkbox.tsx
424
424
  import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
425
425
  var typographySize = {
426
426
  sm: 100,
@@ -439,24 +439,24 @@ var Checkbox = ({
439
439
  onChange
440
440
  }) => {
441
441
  const [isFocused, setIsFocused] = useState(false);
442
- const checkboxStyling = (0, import_classnames6.default)(LabeledCheckbox_module_default.checkbox, LabeledCheckbox_module_default[size]);
443
- const uncheckedStyling = (0, import_classnames6.default)(checkboxStyling, LabeledCheckbox_module_default.uncheckedBox, {
444
- [LabeledCheckbox_module_default.uncheckedBorder]: !error,
445
- [LabeledCheckbox_module_default.uncheckedErrorBorder]: error,
446
- [LabeledCheckbox_module_default.focusedCheckbox]: isFocused
442
+ const checkboxStyling = (0, import_classnames6.default)(Checkbox_module_default.checkbox, Checkbox_module_default[size]);
443
+ const uncheckedStyling = (0, import_classnames6.default)(checkboxStyling, Checkbox_module_default.uncheckedBox, {
444
+ [Checkbox_module_default.uncheckedBorder]: !error,
445
+ [Checkbox_module_default.uncheckedErrorBorder]: error,
446
+ [Checkbox_module_default.focusedCheckbox]: isFocused
447
447
  });
448
- const checkedStyling = (0, import_classnames6.default)(checkboxStyling, LabeledCheckbox_module_default.checkedBox, {
449
- [LabeledCheckbox_module_default.checkedNonError]: !error,
450
- [LabeledCheckbox_module_default.checkedError]: error,
451
- [LabeledCheckbox_module_default.focusedCheckbox]: isFocused
448
+ const checkedStyling = (0, import_classnames6.default)(checkboxStyling, Checkbox_module_default.checkedBox, {
449
+ [Checkbox_module_default.checkedNonError]: !error,
450
+ [Checkbox_module_default.checkedError]: error,
451
+ [Checkbox_module_default.focusedCheckbox]: isFocused
452
452
  });
453
- return /* @__PURE__ */ jsxs2("label", { className: (0, import_classnames6.default)(LabeledCheckbox_module_default.mainContainer), children: [
454
- /* @__PURE__ */ jsxs2("div", { className: LabeledCheckbox_module_default.checkboxContainer, children: [
453
+ return /* @__PURE__ */ jsxs2("label", { className: (0, import_classnames6.default)(Checkbox_module_default.mainContainer), children: [
454
+ /* @__PURE__ */ jsxs2("div", { className: Checkbox_module_default.checkboxContainer, children: [
455
455
  /* @__PURE__ */ jsx9(
456
456
  "input",
457
457
  {
458
458
  type: "checkbox",
459
- className: (0, import_classnames6.default)(LabeledCheckbox_module_default.inputOverlay, LabeledCheckbox_module_default[size]),
459
+ className: (0, import_classnames6.default)(Checkbox_module_default.inputOverlay, Checkbox_module_default[size]),
460
460
  checked,
461
461
  onChange,
462
462
  disabled,
@@ -486,7 +486,7 @@ var Checkbox = ({
486
486
  )
487
487
  ] });
488
488
  };
489
- var LabeledCheckbox_default = Checkbox;
489
+ var Checkbox_default = Checkbox;
490
490
 
491
491
  // css-module:./MiniActionCard.module.css#css-module
492
492
  var MiniActionCard_module_default = { "miniActionCard": "_miniActionCard_qebkn_1", "card": "_card_qebkn_9" };
@@ -591,10 +591,10 @@ export {
591
591
  Button_default as Button,
592
592
  ButtonGroup_default as ButtonGroup,
593
593
  Card_default as Card,
594
+ Checkbox_default as Checkbox,
594
595
  Divider,
595
596
  Heading_default as Heading,
596
597
  IconButton_default as IconButton,
597
- LabeledCheckbox_default as LabeledCheckbox,
598
598
  MiniActionCard_default as MiniActionCard,
599
599
  RadioButton_default as RadioButton,
600
600
  Typography_default as Typography
@@ -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","../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,M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AH;AAAA,UAAC;AAAA;AAAA,YACC,eAAW,mBAAAG,SAAW,2BAAO,YAAY,2BAAO,IAAI,GAAG;AAAA,cACrD,CAAC,2BAAO,gBAAgB,GAAG;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"]}
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/Checkbox/Checkbox.tsx","css-module:./Checkbox.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 {\"inheritColor\":\"_inheritColor_j1pwm_2\",\"destructive700Color\":\"_destructive700Color_j1pwm_6\",\"gray700Color\":\"_gray700Color_j1pwm_10\",\"gray900Color\":\"_gray900Color_j1pwm_14\",\"primary700Color\":\"_primary700Color_j1pwm_18\",\"whiteColor\":\"_whiteColor_j1pwm_22\",\"blackBackgroundColor\":\"_blackBackgroundColor_j1pwm_27\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_j1pwm_31\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_j1pwm_35\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_j1pwm_39\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_j1pwm_43\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_j1pwm_47\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_j1pwm_51\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_j1pwm_55\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_j1pwm_59\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_j1pwm_63\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_j1pwm_67\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_j1pwm_71\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_j1pwm_75\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_j1pwm_79\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_j1pwm_83\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_j1pwm_87\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_j1pwm_91\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_j1pwm_95\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_j1pwm_99\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_j1pwm_103\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_j1pwm_107\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_j1pwm_111\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_j1pwm_115\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_j1pwm_119\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_j1pwm_123\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_j1pwm_127\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_j1pwm_131\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_j1pwm_135\",\"success100BackgroundColor\":\"_success100BackgroundColor_j1pwm_139\",\"success200BackgroundColor\":\"_success200BackgroundColor_j1pwm_143\",\"success300BackgroundColor\":\"_success300BackgroundColor_j1pwm_147\",\"success700BackgroundColor\":\"_success700BackgroundColor_j1pwm_151\",\"success800BackgroundColor\":\"_success800BackgroundColor_j1pwm_155\",\"success900BackgroundColor\":\"_success900BackgroundColor_j1pwm_159\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_j1pwm_163\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_j1pwm_167\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_j1pwm_171\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_j1pwm_175\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_j1pwm_179\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_j1pwm_183\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_j1pwm_187\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_j1pwm_191\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_j1pwm_195\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_j1pwm_199\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_j1pwm_203\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_j1pwm_207\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_j1pwm_211\"}","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.destructive700BackgroundColor;\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 {\"inheritColor\":\"_inheritColor_j1pwm_2\",\"destructive700Color\":\"_destructive700Color_j1pwm_6\",\"gray700Color\":\"_gray700Color_j1pwm_10\",\"gray900Color\":\"_gray900Color_j1pwm_14\",\"primary700Color\":\"_primary700Color_j1pwm_18\",\"whiteColor\":\"_whiteColor_j1pwm_22\",\"blackBackgroundColor\":\"_blackBackgroundColor_j1pwm_27\",\"destructive100BackgroundColor\":\"_destructive100BackgroundColor_j1pwm_31\",\"destructive200BackgroundColor\":\"_destructive200BackgroundColor_j1pwm_35\",\"destructive300BackgroundColor\":\"_destructive300BackgroundColor_j1pwm_39\",\"destructive700BackgroundColor\":\"_destructive700BackgroundColor_j1pwm_43\",\"destructive800BackgroundColor\":\"_destructive800BackgroundColor_j1pwm_47\",\"destructive900BackgroundColor\":\"_destructive900BackgroundColor_j1pwm_51\",\"gray10BackgroundColor\":\"_gray10BackgroundColor_j1pwm_55\",\"gray30BackgroundColor\":\"_gray30BackgroundColor_j1pwm_59\",\"gray80BackgroundColor\":\"_gray80BackgroundColor_j1pwm_63\",\"gray100BackgroundColor\":\"_gray100BackgroundColor_j1pwm_67\",\"gray200BackgroundColor\":\"_gray200BackgroundColor_j1pwm_71\",\"gray300BackgroundColor\":\"_gray300BackgroundColor_j1pwm_75\",\"gray700BackgroundColor\":\"_gray700BackgroundColor_j1pwm_79\",\"gray800BackgroundColor\":\"_gray800BackgroundColor_j1pwm_83\",\"gray900BackgroundColor\":\"_gray900BackgroundColor_j1pwm_87\",\"orange100BackgroundColor\":\"_orange100BackgroundColor_j1pwm_91\",\"orange200BackgroundColor\":\"_orange200BackgroundColor_j1pwm_95\",\"orange300BackgroundColor\":\"_orange300BackgroundColor_j1pwm_99\",\"orange700BackgroundColor\":\"_orange700BackgroundColor_j1pwm_103\",\"orange800BackgroundColor\":\"_orange800BackgroundColor_j1pwm_107\",\"orange900BackgroundColor\":\"_orange900BackgroundColor_j1pwm_111\",\"primary100BackgroundColor\":\"_primary100BackgroundColor_j1pwm_115\",\"primary200BackgroundColor\":\"_primary200BackgroundColor_j1pwm_119\",\"primary300BackgroundColor\":\"_primary300BackgroundColor_j1pwm_123\",\"primary700BackgroundColor\":\"_primary700BackgroundColor_j1pwm_127\",\"primary800BackgroundColor\":\"_primary800BackgroundColor_j1pwm_131\",\"primary900BackgroundColor\":\"_primary900BackgroundColor_j1pwm_135\",\"success100BackgroundColor\":\"_success100BackgroundColor_j1pwm_139\",\"success200BackgroundColor\":\"_success200BackgroundColor_j1pwm_143\",\"success300BackgroundColor\":\"_success300BackgroundColor_j1pwm_147\",\"success700BackgroundColor\":\"_success700BackgroundColor_j1pwm_151\",\"success800BackgroundColor\":\"_success800BackgroundColor_j1pwm_155\",\"success900BackgroundColor\":\"_success900BackgroundColor_j1pwm_159\",\"purple100BackgroundColor\":\"_purple100BackgroundColor_j1pwm_163\",\"purple200BackgroundColor\":\"_purple200BackgroundColor_j1pwm_167\",\"purple300BackgroundColor\":\"_purple300BackgroundColor_j1pwm_171\",\"purple700BackgroundColor\":\"_purple700BackgroundColor_j1pwm_175\",\"purple800BackgroundColor\":\"_purple800BackgroundColor_j1pwm_179\",\"purple900BackgroundColor\":\"_purple900BackgroundColor_j1pwm_183\",\"whiteBackgroundColor\":\"_whiteBackgroundColor_j1pwm_187\",\"yellow100BackgroundColor\":\"_yellow100BackgroundColor_j1pwm_191\",\"yellow200BackgroundColor\":\"_yellow200BackgroundColor_j1pwm_195\",\"yellow300BackgroundColor\":\"_yellow300BackgroundColor_j1pwm_199\",\"yellow700BackgroundColor\":\"_yellow700BackgroundColor_j1pwm_203\",\"yellow800BackgroundColor\":\"_yellow800BackgroundColor_j1pwm_207\",\"yellow900BackgroundColor\":\"_yellow900BackgroundColor_j1pwm_211\"}","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 \"./Checkbox.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/Checkbox/Checkbox.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,GAAG;AAAA,UACjB,WAAW,MAAM,QAAQ,GAAG,GAAG;AAC9B,gBAAI,IAAI,QAAQ;AACf,kBAAI,QAAQA,YAAW,MAAM,MAAM,GAAG;AACtC,kBAAI,OAAO;AACV,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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.18.0",
3
+ "version": "2.0.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",