@aivenio/aquarium 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/README.md +2 -2
  2. package/dist/_variables.scss +1 -1
  3. package/dist/_variables_timescale.scss +1 -1
  4. package/dist/atoms.cjs +590 -241
  5. package/dist/atoms.mjs +590 -242
  6. package/dist/src/common/Alert/Alert.d.ts +1 -1
  7. package/dist/src/common/Alert/Alert.js +6 -6
  8. package/dist/src/common/Banner/Banner.d.ts +1 -1
  9. package/dist/src/common/Banner/Banner.js +5 -5
  10. package/dist/src/common/Checkbox/Checkbox.js +12 -19
  11. package/dist/src/common/Chip/Chip.js +4 -4
  12. package/dist/src/common/DataList/DataList.d.ts +1 -1
  13. package/dist/src/common/DataList/DataList.js +4 -4
  14. package/dist/src/common/Dialog/Dialog.d.ts +2 -2
  15. package/dist/src/common/Dialog/Dialog.js +2 -2
  16. package/dist/src/common/DropdownMenu/DropdownMenu.js +4 -4
  17. package/dist/src/common/InputGroup/InputGroup.d.ts +1 -1
  18. package/dist/src/common/InputGroup/InputGroup.js +1 -1
  19. package/dist/src/common/Modal/Modal.d.ts +6 -0
  20. package/dist/src/common/Modal/Modal.js +14 -5
  21. package/dist/src/common/Popover/Popover.d.ts +1 -1
  22. package/dist/src/common/Popover/Popover.js +2 -2
  23. package/dist/src/common/PopoverDialog/PopoverDialog.js +4 -4
  24. package/dist/src/common/ProgressBar/ProgressBar.js +4 -4
  25. package/dist/src/common/RadioButton/RadioButton.js +14 -16
  26. package/dist/src/common/Section/Section.d.ts +1 -1
  27. package/dist/src/common/Section/Section.js +3 -3
  28. package/dist/src/common/Select/Select.d.ts +1 -1
  29. package/dist/src/common/Select/Select.js +6 -6
  30. package/dist/src/common/Switch/Switch.d.ts +11 -0
  31. package/dist/src/common/Switch/Switch.js +28 -0
  32. package/dist/src/common/Table/Table.d.ts +5 -5
  33. package/dist/src/common/Table/Table.js +6 -6
  34. package/dist/src/common/Timeline/Timeline.js +2 -2
  35. package/dist/src/common/Typography/Typography.d.ts +1 -1
  36. package/dist/src/common/Typography/Typography.js +3 -3
  37. package/dist/src/common/index.d.ts +2 -1
  38. package/dist/src/common/index.js +3 -2
  39. package/dist/src/components/Alert/Alert.d.ts +7 -4
  40. package/dist/src/components/Alert/Alert.js +4 -4
  41. package/dist/src/components/Avatar/Avatar.js +2 -2
  42. package/dist/src/components/Badge/Badge.js +2 -2
  43. package/dist/src/components/Banner/Banner.d.ts +7 -4
  44. package/dist/src/components/Banner/Banner.js +5 -6
  45. package/dist/src/components/Box/Box.d.ts +6 -6
  46. package/dist/src/components/Box/Box.js +3 -3
  47. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  48. package/dist/src/components/Breadcrumbs/Breadcrumbs.js +5 -5
  49. package/dist/src/components/Button/Button.d.ts +1 -1
  50. package/dist/src/components/Button/Button.js +5 -5
  51. package/dist/src/components/Card/Card.d.ts +12 -5
  52. package/dist/src/components/Card/Card.js +15 -13
  53. package/dist/src/components/Carousel/Carousel.js +4 -4
  54. package/dist/src/components/Checkbox/Checkbox.d.ts +1 -1
  55. package/dist/src/components/Checkbox/Checkbox.js +5 -11
  56. package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +4 -4
  57. package/dist/src/components/CheckboxGroup/CheckboxGroup.js +3 -3
  58. package/dist/src/components/Chip/Chip.d.ts +1 -1
  59. package/dist/src/components/Chip/Chip.js +3 -3
  60. package/dist/src/components/ChoiceChip/ChoiceChip.js +3 -3
  61. package/dist/src/components/Combobox/Combobox.d.ts +1 -1
  62. package/dist/src/components/Combobox/Combobox.js +7 -7
  63. package/dist/src/components/Context/Context.d.ts +1 -1
  64. package/dist/src/components/Context/Context.js +1 -1
  65. package/dist/src/components/ControlLabel/ControlLabel.d.ts +1 -1
  66. package/dist/src/components/ControlLabel/ControlLabel.js +4 -4
  67. package/dist/src/components/DataList/DataList.d.ts +1 -1
  68. package/dist/src/components/DataList/DataList.js +7 -7
  69. package/dist/src/components/DataTable/DataTable.d.ts +2 -2
  70. package/dist/src/components/DataTable/DataTable.js +7 -7
  71. package/dist/src/components/Dialog/Dialog.d.ts +2 -2
  72. package/dist/src/components/Dialog/Dialog.js +5 -5
  73. package/dist/src/components/Divider/Divider.js +1 -1
  74. package/dist/src/components/Dropdown/Dropdown.d.ts +5 -2
  75. package/dist/src/components/Dropdown/Dropdown.js +8 -8
  76. package/dist/src/components/DropdownMenu/DropdownMenu.d.ts +3 -3
  77. package/dist/src/components/DropdownMenu/DropdownMenu.js +8 -8
  78. package/dist/src/components/DropdownMenu/utils.d.ts +1 -1
  79. package/dist/src/components/DropdownMenu/utils.js +1 -1
  80. package/dist/src/components/EmptyState/EmptyState.d.ts +2 -2
  81. package/dist/src/components/EmptyState/EmptyState.js +12 -12
  82. package/dist/src/components/Flexbox/Flexbox.d.ts +5 -5
  83. package/dist/src/components/Flexbox/Flexbox.js +1 -1
  84. package/dist/src/components/Flexbox/FlexboxItem.d.ts +4 -4
  85. package/dist/src/components/Flexbox/FlexboxItem.js +1 -1
  86. package/dist/src/components/Grid/Grid.d.ts +15 -15
  87. package/dist/src/components/Grid/Grid.js +1 -1
  88. package/dist/src/components/Grid/GridItem.d.ts +8 -8
  89. package/dist/src/components/Grid/GridItem.js +2 -2
  90. package/dist/src/components/Icon/Icon.d.ts +2 -2
  91. package/dist/src/components/Icon/Icon.js +1 -1
  92. package/dist/src/components/Input/Input.d.ts +1 -1
  93. package/dist/src/components/Input/Input.js +6 -6
  94. package/dist/src/components/ListItem/ListItem.js +2 -2
  95. package/dist/src/components/Modal/Modal.d.ts +8 -4
  96. package/dist/src/components/Modal/Modal.js +12 -10
  97. package/dist/src/components/MultiInput/InputChip.js +5 -5
  98. package/dist/src/components/MultiInput/MultiInput.d.ts +1 -1
  99. package/dist/src/components/MultiInput/MultiInput.js +7 -5
  100. package/dist/src/components/MultiSelect/MultiSelect.d.ts +2 -2
  101. package/dist/src/components/MultiSelect/MultiSelect.js +5 -5
  102. package/dist/src/components/NativeSelect/NativeSelect.d.ts +1 -2
  103. package/dist/src/components/NativeSelect/NativeSelect.js +29 -9
  104. package/dist/src/components/PageHeader/PageHeader.d.ts +2 -2
  105. package/dist/src/components/PageHeader/PageHeader.js +5 -5
  106. package/dist/src/components/Pagination/Pagination.js +4 -4
  107. package/dist/src/components/Pagination/usePagination.js +2 -2
  108. package/dist/src/components/Popover/Popover.d.ts +2 -2
  109. package/dist/src/components/Popover/Popover.js +2 -2
  110. package/dist/src/components/Popover/PopoverContext.d.ts +1 -1
  111. package/dist/src/components/Popover/PopoverWrapper.d.ts +1 -1
  112. package/dist/src/components/Popover/PopoverWrapper.js +1 -1
  113. package/dist/src/components/PopoverDialog/PopoverDialog.d.ts +2 -2
  114. package/dist/src/components/PopoverDialog/PopoverDialog.js +2 -2
  115. package/dist/src/components/Portal/Portal.d.ts +1 -1
  116. package/dist/src/components/Portal/Portal.js +1 -1
  117. package/dist/src/components/ProgressBar/ProgressBar.js +1 -1
  118. package/dist/src/components/RadioButton/RadioButton.d.ts +1 -1
  119. package/dist/src/components/RadioButton/RadioButton.js +6 -12
  120. package/dist/src/components/RadioButtonGroup/RadioButtonGroup.d.ts +4 -4
  121. package/dist/src/components/RadioButtonGroup/RadioButtonGroup.js +4 -4
  122. package/dist/src/components/Section/Section.d.ts +1 -1
  123. package/dist/src/components/Section/Section.js +3 -3
  124. package/dist/src/components/SegmentedControl/SegmentedControl.js +4 -4
  125. package/dist/src/components/Select/Select.d.ts +2 -2
  126. package/dist/src/components/Select/Select.js +12 -12
  127. package/dist/src/components/Skeleton/Skeleton.js +2 -2
  128. package/dist/src/components/Switch/Switch.d.ts +2 -4
  129. package/dist/src/components/Switch/Switch.js +7 -31
  130. package/dist/src/components/SwitchGroup/SwitchGroup.d.ts +4 -4
  131. package/dist/src/components/SwitchGroup/SwitchGroup.js +4 -4
  132. package/dist/src/components/Table/Table.d.ts +1 -1
  133. package/dist/src/components/Table/Table.js +2 -2
  134. package/dist/src/components/Tabs/Tabs.js +11 -11
  135. package/dist/src/components/TagLabel/TagLabel.js +2 -2
  136. package/dist/src/components/Tailwindify/Tailwindify.d.ts +26 -26
  137. package/dist/src/components/Tailwindify/Tailwindify.js +1 -1
  138. package/dist/src/components/Template/Template.d.ts +4 -4
  139. package/dist/src/components/Template/Template.js +1 -1
  140. package/dist/src/components/Textarea/Textarea.d.ts +1 -1
  141. package/dist/src/components/Textarea/Textarea.js +5 -5
  142. package/dist/src/components/Timeline/Timeline.js +7 -7
  143. package/dist/src/components/Tooltip/Tooltip.d.ts +2 -2
  144. package/dist/src/components/Tooltip/Tooltip.js +3 -3
  145. package/dist/src/components/Tooltip/useTooltipTriggerState.d.ts +1 -1
  146. package/dist/src/components/Tooltip/useTooltipTriggerState.js +1 -1
  147. package/dist/src/components/Typography/Typography.d.ts +28 -4
  148. package/dist/src/components/Typography/Typography.js +61 -21
  149. package/dist/src/components/index.d.ts +3 -3
  150. package/dist/src/components/index.js +4 -4
  151. package/dist/src/js/resolveTheme.d.ts +1 -1
  152. package/dist/src/system.d.ts +6 -6
  153. package/dist/src/system.js +6 -6
  154. package/dist/src/utils/Blueprint.js +2 -2
  155. package/dist/src/utils/breakpoints.d.ts +2 -2
  156. package/dist/src/utils/breakpoints.js +2 -2
  157. package/dist/src/utils/constants.js +2 -2
  158. package/dist/src/utils/createComponent.d.ts +1 -1
  159. package/dist/src/utils/createComponent.js +2 -2
  160. package/dist/src/utils/form/CharCounter/CharCounter.js +2 -2
  161. package/dist/src/utils/form/FormControl/FormControl.js +1 -1
  162. package/dist/src/utils/form/HelperText/HelperText.js +5 -5
  163. package/dist/src/utils/form/InputAdornment/InputAdornment.d.ts +1 -1
  164. package/dist/src/utils/form/InputAdornment/InputAdornment.js +6 -6
  165. package/dist/src/utils/form/Label/Label.d.ts +2 -2
  166. package/dist/src/utils/form/Label/Label.js +5 -5
  167. package/dist/src/utils/table/types.d.ts +6 -5
  168. package/dist/src/utils/table/types.js +1 -1
  169. package/dist/src/utils/table/useScrollTarget.d.ts +1 -1
  170. package/dist/src/utils/table/useScrollTarget.js +1 -1
  171. package/dist/src/utils/table/useTableSort.d.ts +1 -1
  172. package/dist/src/utils/table/useTableSort.js +1 -1
  173. package/dist/src/utils/tailwind.d.ts +2 -2
  174. package/dist/src/utils/tailwind.js +1 -1
  175. package/dist/src/utils/useStyle.d.ts +1 -1
  176. package/dist/src/utils/useStyle.js +3 -3
  177. package/dist/src/utils/useWindowSize.js +3 -3
  178. package/dist/styles.css +220 -61
  179. package/dist/styles_timescaledb.css +220 -62
  180. package/dist/system.cjs +1209 -958
  181. package/dist/system.mjs +1204 -953
  182. package/dist/tokens.json +260 -1
  183. package/dist/tsconfig.module.tsbuildinfo +1 -1
  184. package/dist/types/ActionType.d.ts +2 -2
  185. package/dist/types/IconProps.d.ts +2 -2
  186. package/dist/types/designTokens.d.ts +1 -1
  187. package/dist/types/tailwind.d.ts +3 -3
  188. package/dist/types/tailwindGenerated.d.ts +1 -1
  189. package/dist/types/utils.d.ts +1 -1
  190. package/dist/types/utils.js +1 -1
  191. package/package.json +30 -27
package/dist/system.mjs CHANGED
@@ -148,6 +148,136 @@ var require_tokens = __commonJS({
148
148
  },
149
149
  typography: {
150
150
  sizes: [
151
+ {
152
+ name: "large-heading",
153
+ className: "typography-large-heading",
154
+ style: {
155
+ fontFamily: "Inter",
156
+ fontSize: "32px",
157
+ fontWeight: 700,
158
+ fontStyle: "normal",
159
+ lineHeight: 1.375,
160
+ textTransform: "none"
161
+ },
162
+ fontPostScriptName: "Inter-Bold"
163
+ },
164
+ {
165
+ name: "heading",
166
+ className: "typography-heading",
167
+ style: {
168
+ fontFamily: "Inter",
169
+ fontSize: "24px",
170
+ fontWeight: 700,
171
+ fontStyle: "normal",
172
+ lineHeight: 1.375,
173
+ textTransform: "none"
174
+ },
175
+ fontPostScriptName: "Inter-Bold"
176
+ },
177
+ {
178
+ name: "subheading",
179
+ className: "typography-subheading",
180
+ style: {
181
+ fontFamily: "Inter",
182
+ fontSize: "20px",
183
+ fontWeight: 600,
184
+ fontStyle: "normal",
185
+ lineHeight: 1.375,
186
+ textTransform: "none"
187
+ },
188
+ fontPostScriptName: "Inter-Bold"
189
+ },
190
+ {
191
+ name: "large-strong",
192
+ className: "typography-large-strong",
193
+ style: {
194
+ fontFamily: "Inter",
195
+ fontSize: "20px",
196
+ fontWeight: 600,
197
+ fontStyle: "normal",
198
+ lineHeight: 1.58,
199
+ textTransform: "none"
200
+ },
201
+ fontPostScriptName: "Inter-SemiBold"
202
+ },
203
+ {
204
+ name: "large",
205
+ className: "typography-large",
206
+ style: {
207
+ fontFamily: "Inter",
208
+ fontSize: "20px",
209
+ fontWeight: 500,
210
+ fontStyle: "normal",
211
+ lineHeight: 1.58,
212
+ textTransform: "none"
213
+ },
214
+ fontPostScriptName: "Inter-SemiBold"
215
+ },
216
+ {
217
+ name: "default-strong",
218
+ className: "typography-default-strong",
219
+ style: {
220
+ fontFamily: "Inter",
221
+ fontSize: "16px",
222
+ fontWeight: 600,
223
+ fontStyle: "normal",
224
+ lineHeight: 1.5,
225
+ textTransform: "none"
226
+ },
227
+ fontPostScriptName: "Inter-SemiBold"
228
+ },
229
+ {
230
+ name: "default",
231
+ className: "typography-default",
232
+ style: {
233
+ fontFamily: "Inter",
234
+ fontSize: "16px",
235
+ fontWeight: 400,
236
+ fontStyle: "normal",
237
+ lineHeight: 1.5,
238
+ textTransform: "none"
239
+ },
240
+ fontPostScriptName: null
241
+ },
242
+ {
243
+ name: "small-strong",
244
+ className: "typography-small-strong",
245
+ style: {
246
+ fontFamily: "Inter",
247
+ fontSize: "14px",
248
+ fontWeight: 600,
249
+ fontStyle: "normal",
250
+ lineHeight: 1.42,
251
+ textTransform: "none"
252
+ },
253
+ fontPostScriptName: "Inter-SemiBold"
254
+ },
255
+ {
256
+ name: "small",
257
+ className: "typography-small",
258
+ style: {
259
+ fontFamily: "Inter",
260
+ fontSize: "14px",
261
+ fontWeight: 400,
262
+ fontStyle: "normal",
263
+ lineHeight: 1.42,
264
+ textTransform: "none"
265
+ },
266
+ fontPostScriptName: null
267
+ },
268
+ {
269
+ name: "caption",
270
+ className: "typography-caption",
271
+ style: {
272
+ fontFamily: "Inter",
273
+ fontSize: "12px",
274
+ fontWeight: 400,
275
+ fontStyle: "normal",
276
+ lineHeight: 1.26,
277
+ textTransform: "none"
278
+ },
279
+ fontPostScriptName: null
280
+ },
151
281
  {
152
282
  name: "caption-small",
153
283
  className: "typography-caption-small",
@@ -157,7 +287,6 @@ var require_tokens = __commonJS({
157
287
  fontWeight: 400,
158
288
  fontStyle: "normal",
159
289
  lineHeight: 1.2,
160
- letterSpacing: 0,
161
290
  textTransform: "none"
162
291
  },
163
292
  fontPostScriptName: null
@@ -579,6 +708,136 @@ var require_tokens = __commonJS({
579
708
  },
580
709
  typography: {
581
710
  sizes: [
711
+ {
712
+ name: "large-heading",
713
+ className: "typography-large-heading",
714
+ style: {
715
+ fontFamily: "Inter",
716
+ fontSize: "32px",
717
+ fontWeight: 700,
718
+ fontStyle: "normal",
719
+ lineHeight: 1.375,
720
+ textTransform: "none"
721
+ },
722
+ fontPostScriptName: "Inter-Bold"
723
+ },
724
+ {
725
+ name: "heading",
726
+ className: "typography-heading",
727
+ style: {
728
+ fontFamily: "Inter",
729
+ fontSize: "24px",
730
+ fontWeight: 700,
731
+ fontStyle: "normal",
732
+ lineHeight: 1.375,
733
+ textTransform: "none"
734
+ },
735
+ fontPostScriptName: "Inter-Bold"
736
+ },
737
+ {
738
+ name: "subheading",
739
+ className: "typography-subheading",
740
+ style: {
741
+ fontFamily: "Inter",
742
+ fontSize: "20px",
743
+ fontWeight: 600,
744
+ fontStyle: "normal",
745
+ lineHeight: 1.375,
746
+ textTransform: "none"
747
+ },
748
+ fontPostScriptName: "Inter-Bold"
749
+ },
750
+ {
751
+ name: "large-strong",
752
+ className: "typography-large-strong",
753
+ style: {
754
+ fontFamily: "Inter",
755
+ fontSize: "20px",
756
+ fontWeight: 600,
757
+ fontStyle: "normal",
758
+ lineHeight: 1.58,
759
+ textTransform: "none"
760
+ },
761
+ fontPostScriptName: "Inter-SemiBold"
762
+ },
763
+ {
764
+ name: "large",
765
+ className: "typography-large",
766
+ style: {
767
+ fontFamily: "Inter",
768
+ fontSize: "20px",
769
+ fontWeight: 500,
770
+ fontStyle: "normal",
771
+ lineHeight: 1.58,
772
+ textTransform: "none"
773
+ },
774
+ fontPostScriptName: "Inter-SemiBold"
775
+ },
776
+ {
777
+ name: "default-strong",
778
+ className: "typography-default-strong",
779
+ style: {
780
+ fontFamily: "Inter",
781
+ fontSize: "16px",
782
+ fontWeight: 600,
783
+ fontStyle: "normal",
784
+ lineHeight: 1.5,
785
+ textTransform: "none"
786
+ },
787
+ fontPostScriptName: "Inter-SemiBold"
788
+ },
789
+ {
790
+ name: "default",
791
+ className: "typography-default",
792
+ style: {
793
+ fontFamily: "Inter",
794
+ fontSize: "16px",
795
+ fontWeight: 400,
796
+ fontStyle: "normal",
797
+ lineHeight: 1.5,
798
+ textTransform: "none"
799
+ },
800
+ fontPostScriptName: null
801
+ },
802
+ {
803
+ name: "small-strong",
804
+ className: "typography-small-strong",
805
+ style: {
806
+ fontFamily: "Inter",
807
+ fontSize: "14px",
808
+ fontWeight: 600,
809
+ fontStyle: "normal",
810
+ lineHeight: 1.42,
811
+ textTransform: "none"
812
+ },
813
+ fontPostScriptName: "Inter-SemiBold"
814
+ },
815
+ {
816
+ name: "small",
817
+ className: "typography-small",
818
+ style: {
819
+ fontFamily: "Inter",
820
+ fontSize: "14px",
821
+ fontWeight: 400,
822
+ fontStyle: "normal",
823
+ lineHeight: 1.42,
824
+ textTransform: "none"
825
+ },
826
+ fontPostScriptName: null
827
+ },
828
+ {
829
+ name: "caption",
830
+ className: "typography-caption",
831
+ style: {
832
+ fontFamily: "Inter",
833
+ fontSize: "12px",
834
+ fontWeight: 400,
835
+ fontStyle: "normal",
836
+ lineHeight: 1.26,
837
+ textTransform: "none"
838
+ },
839
+ fontPostScriptName: null
840
+ },
582
841
  {
583
842
  name: "caption-small",
584
843
  className: "typography-caption-small",
@@ -1037,12 +1296,12 @@ var require_confirm = __commonJS({
1037
1296
  }
1038
1297
  });
1039
1298
 
1040
- // src/icons/warningSign.js
1041
- var require_warningSign = __commonJS({
1042
- "src/icons/warningSign.js"(exports) {
1299
+ // src/icons/cross.js
1300
+ var require_cross = __commonJS({
1301
+ "src/icons/cross.js"(exports) {
1043
1302
  "use strict";
1044
1303
  var data = {
1045
- "body": '<path fill="currentColor" fill-rule="evenodd" d="m19.86 17.52.01-.01-9-16-.01.01A.982.982 0 0010 1c-.37 0-.69.21-.86.52l-.01-.01-9 16 .01.01c-.08.14-.14.3-.14.48 0 .55.45 1 1 1h18c.55 0 1-.45 1-1 0-.18-.06-.34-.14-.48ZM11 17H9v-2h2v2Zm0-3H9V6h2v8Z" clip-rule="evenodd"/>',
1304
+ "body": '<path fill="currentColor" fill-rule="evenodd" d="m11.41 10 4.29-4.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L10 8.59l-4.29-4.3a1.003 1.003 0 00-1.42 1.42L8.59 10 4.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4.29-4.3 4.29 4.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10Z" clip-rule="evenodd"/>',
1046
1305
  "left": 0,
1047
1306
  "top": 0,
1048
1307
  "width": 20,
@@ -1085,12 +1344,12 @@ var require_infoSign = __commonJS({
1085
1344
  }
1086
1345
  });
1087
1346
 
1088
- // src/icons/cross.js
1089
- var require_cross = __commonJS({
1090
- "src/icons/cross.js"(exports) {
1347
+ // src/icons/warningSign.js
1348
+ var require_warningSign = __commonJS({
1349
+ "src/icons/warningSign.js"(exports) {
1091
1350
  "use strict";
1092
1351
  var data = {
1093
- "body": '<path fill="currentColor" fill-rule="evenodd" d="m11.41 10 4.29-4.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L10 8.59l-4.29-4.3a1.003 1.003 0 00-1.42 1.42L8.59 10 4.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4.29-4.3 4.29 4.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10Z" clip-rule="evenodd"/>',
1352
+ "body": '<path fill="currentColor" fill-rule="evenodd" d="m19.86 17.52.01-.01-9-16-.01.01A.982.982 0 0010 1c-.37 0-.69.21-.86.52l-.01-.01-9 16 .01.01c-.08.14-.14.3-.14.48 0 .55.45 1 1 1h18c.55 0 1-.45 1-1 0-.18-.06-.34-.14-.48ZM11 17H9v-2h2v2Zm0-3H9V6h2v8Z" clip-rule="evenodd"/>',
1094
1353
  "left": 0,
1095
1354
  "top": 0,
1096
1355
  "width": 20,
@@ -1229,12 +1488,12 @@ var require_caretDown = __commonJS({
1229
1488
  }
1230
1489
  });
1231
1490
 
1232
- // src/icons/chevronForward.js
1233
- var require_chevronForward = __commonJS({
1234
- "src/icons/chevronForward.js"(exports) {
1491
+ // src/icons/chevronBackward.js
1492
+ var require_chevronBackward = __commonJS({
1493
+ "src/icons/chevronBackward.js"(exports) {
1235
1494
  "use strict";
1236
1495
  var data = {
1237
- "body": '<path fill="currentColor" fill-rule="evenodd" d="M13 3c-.55 0-1 .45-1 1v4.59l-5.29-5.3a1.003 1.003 0 00-1.42 1.42l5.3 5.29-5.29 5.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l5.29-5.3V16c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1Z" clip-rule="evenodd"/>',
1496
+ "body": '<path fill="currentColor" fill-rule="evenodd" d="m8.41 10 5.29-5.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L7 8.59V4c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55.45 1 1 1s1-.45 1-1v-4.59l5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L8.41 10Z" clip-rule="evenodd"/>',
1238
1497
  "left": 0,
1239
1498
  "top": 0,
1240
1499
  "width": 20,
@@ -1245,12 +1504,12 @@ var require_chevronForward = __commonJS({
1245
1504
  }
1246
1505
  });
1247
1506
 
1248
- // src/icons/chevronBackward.js
1249
- var require_chevronBackward = __commonJS({
1250
- "src/icons/chevronBackward.js"(exports) {
1507
+ // src/icons/chevronForward.js
1508
+ var require_chevronForward = __commonJS({
1509
+ "src/icons/chevronForward.js"(exports) {
1251
1510
  "use strict";
1252
1511
  var data = {
1253
- "body": '<path fill="currentColor" fill-rule="evenodd" d="m8.41 10 5.29-5.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L7 8.59V4c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55.45 1 1 1s1-.45 1-1v-4.59l5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L8.41 10Z" clip-rule="evenodd"/>',
1512
+ "body": '<path fill="currentColor" fill-rule="evenodd" d="M13 3c-.55 0-1 .45-1 1v4.59l-5.29-5.3a1.003 1.003 0 00-1.42 1.42l5.3 5.29-5.29 5.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l5.29-5.3V16c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1Z" clip-rule="evenodd"/>',
1254
1513
  "left": 0,
1255
1514
  "top": 0,
1256
1515
  "width": 20,
@@ -1362,7 +1621,7 @@ __export(components_exports, {
1362
1621
  SelectItem: () => SelectItem,
1363
1622
  Skeleton: () => Skeleton,
1364
1623
  StatusChip: () => StatusChip,
1365
- Switch: () => Switch,
1624
+ Switch: () => Switch2,
1366
1625
  SwitchGroup: () => SwitchGroup,
1367
1626
  TabContainer: () => TabContainer,
1368
1627
  TabItem: () => TabItem,
@@ -1393,6 +1652,13 @@ __export(components_exports, {
1393
1652
  // src/common/Select/Select.tsx
1394
1653
  import React2 from "react";
1395
1654
 
1655
+ // src/components/Icon/Icon.tsx
1656
+ import React from "react";
1657
+ import {
1658
+ Icon as IconifyIconComponent,
1659
+ InlineIcon as IconifyInlineIconComponent
1660
+ } from "@iconify/react";
1661
+
1396
1662
  // src/utils/tailwind.ts
1397
1663
  import originalClassNames from "classnames";
1398
1664
  function cleanClassNames(classNames4) {
@@ -1419,18 +1685,7 @@ var classNames = (...args) => {
1419
1685
  return cleanClassNames(result);
1420
1686
  };
1421
1687
 
1422
- // src/common/Select/Select.tsx
1423
- var import_chevronDown = __toESM(require_chevronDown());
1424
- var import_chevronUp = __toESM(require_chevronUp());
1425
- var import_search = __toESM(require_search());
1426
- var import_tick = __toESM(require_tick());
1427
-
1428
1688
  // src/components/Icon/Icon.tsx
1429
- import React from "react";
1430
- import {
1431
- Icon as IconifyIconComponent,
1432
- InlineIcon as IconifyInlineIconComponent
1433
- } from "@iconify/react";
1434
1689
  var Icon = React.forwardRef((_a, ref) => {
1435
1690
  var _b = _a, { color, className } = _b, rest = __objRest(_b, ["color", "className"]);
1436
1691
  const classes = classNames(className, color && `text-${color}`);
@@ -1451,6 +1706,10 @@ var InlineIcon = React.forwardRef((_a, ref) => {
1451
1706
  });
1452
1707
 
1453
1708
  // src/common/Select/Select.tsx
1709
+ var import_chevronDown = __toESM(require_chevronDown());
1710
+ var import_chevronUp = __toESM(require_chevronUp());
1711
+ var import_search = __toESM(require_search());
1712
+ var import_tick = __toESM(require_tick());
1454
1713
  function getOptionLabelBuiltin(option) {
1455
1714
  var _a;
1456
1715
  if (option === null) {
@@ -1471,7 +1730,7 @@ var InputContainer = React2.forwardRef(
1471
1730
  ref,
1472
1731
  className: classNames(
1473
1732
  className,
1474
- "relative rounded-sm typography-body-default-medium w-full flex flex-row items-center focus-visible:outline-0 focus-visible:border-info-70",
1733
+ "relative rounded-sm typography-default-strong w-full flex flex-row items-center focus-visible:outline-0 focus-visible:border-info-70",
1475
1734
  {
1476
1735
  "border px-3 py-[6px]": variant !== "readOnly",
1477
1736
  "cursor-default": variant === "readOnly",
@@ -1493,7 +1752,7 @@ var Input = React2.forwardRef((_a, ref) => {
1493
1752
  type: "text",
1494
1753
  className: classNames(
1495
1754
  className,
1496
- "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-body-small disabled:cursor-not-allowed disabled:bg-grey-5 placeholder:text-grey-40",
1755
+ "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-grey-5 placeholder:text-grey-40",
1497
1756
  {
1498
1757
  "text-grey-70": !props.disabled,
1499
1758
  "text-grey-30": props.disabled,
@@ -1538,7 +1797,7 @@ var Group = React2.forwardRef((_a, ref) => {
1538
1797
  ref,
1539
1798
  className: classNames(
1540
1799
  className,
1541
- "flex items-center gap-x-3 p-3 text-grey-40 uppercase cursor-default typography-caption-default mt-4 first:mt-0 font-medium",
1800
+ "flex items-center gap-x-3 p-3 text-grey-40 uppercase cursor-default typography-caption mt-4 first:mt-0",
1542
1801
  {
1543
1802
  "text-grey-20": props.disabled
1544
1803
  }
@@ -1609,113 +1868,29 @@ var Select = {
1609
1868
  Toggle
1610
1869
  };
1611
1870
 
1612
- // src/components/Badge/Badge.tsx
1613
- import React4 from "react";
1614
- import omit from "lodash/omit";
1615
-
1616
- // src/components/Skeleton/Skeleton.tsx
1617
- import React3 from "react";
1618
- import isNumber from "lodash/isNumber";
1619
- var Skeleton = ({
1620
- width,
1621
- height,
1622
- display = "block",
1623
- className,
1624
- animate = true,
1625
- rounded = false
1626
- }) => {
1627
- const styles = {
1628
- width: isNumber(width) ? `${width}px` : width,
1629
- height: isNumber(height) ? `${height}px` : height
1630
- };
1631
- return /* @__PURE__ */ React3.createElement("div", {
1632
- style: styles,
1633
- className: classNames(
1634
- tw("bg-grey-5", {
1635
- "rounded-full": rounded,
1636
- "block": display === "block",
1637
- "inline-block": display === "inline-block",
1638
- "animate-pulse": animate
1639
- }),
1640
- className
1641
- )
1642
- });
1643
- };
1644
-
1645
- // src/components/Badge/Badge.tsx
1646
- var isChipBadgeProps = (props) => "dense" in props;
1647
- var createBadge = (type, displayName) => {
1648
- const Component = (props) => {
1649
- var _b;
1650
- const _a = props, { kind = "filled", value, textClassname } = _a, rest = __objRest(_a, ["kind", "value", "textClassname"]);
1651
- const valueStr = value.toString();
1652
- const dense = isChipBadgeProps(props) ? (_b = props.dense) != null ? _b : false : false;
1653
- return /* @__PURE__ */ React4.createElement("span", __spreadProps(__spreadValues({}, omit(rest, "dense")), {
1654
- className: tw("inline-block text-center", {
1655
- "rounded-full": type === "default" || type === "chip",
1656
- "rounded": type === "tab",
1657
- "border border-current": kind === "outlined",
1658
- "bg-current": kind === "filled" && type !== "chip",
1659
- "bg-white": type === "chip",
1660
- "typography-caption-small leading-none py-1 px-2": !dense,
1661
- "text-[8px]": dense,
1662
- "px-1": dense && valueStr.length > 1,
1663
- "px-[4px]": dense && valueStr.length === 1
1664
- })
1665
- }), /* @__PURE__ */ React4.createElement("span", {
1666
- className: classNames(
1667
- textClassname,
1668
- tw("inline-block", {
1669
- "text-white": !textClassname && kind === "filled",
1670
- "m-[1px]": kind === "filled"
1671
- })
1672
- )
1673
- }, valueStr));
1674
- };
1675
- Component.displayName = displayName;
1676
- Component.Skeleton = () => /* @__PURE__ */ React4.createElement(Skeleton, {
1677
- height: 16,
1678
- width: 16,
1679
- display: "inline-block",
1680
- className: tw(type === "tab" ? "rounded" : "rounded-full")
1681
- });
1682
- return Component;
1683
- };
1684
- var Badge = createBadge("default", "Badge");
1685
- var TabBadge = createBadge("tab", "TabBadge");
1686
- var ChipBadge = createBadge("chip", "ChipBadge");
1687
-
1688
1871
  // src/components/Alert/Alert.tsx
1689
- import React12 from "react";
1872
+ import React10 from "react";
1873
+ import omit from "lodash/omit";
1690
1874
 
1691
1875
  // src/common/Alert/Alert.tsx
1692
- import React11 from "react";
1876
+ import React9 from "react";
1693
1877
 
1694
1878
  // src/components/Button/Button.tsx
1695
- import React9 from "react";
1879
+ import React7 from "react";
1696
1880
 
1697
1881
  // src/components/Flexbox/Flexbox.tsx
1698
- import React7 from "react";
1882
+ import React5 from "react";
1699
1883
 
1700
1884
  // src/components/Tailwindify/Tailwindify.tsx
1701
- import React6 from "react";
1885
+ import React4 from "react";
1702
1886
  import get2 from "lodash/get";
1703
1887
  import isUndefined4 from "lodash/isUndefined";
1704
1888
 
1705
1889
  // src/utils/useStyle.ts
1706
1890
  import { useContext } from "react";
1707
1891
  import get from "lodash/get";
1708
- import isUndefined3 from "lodash/isUndefined";
1709
1892
  import isPlainObject2 from "lodash/isPlainObject";
1710
-
1711
- // src/components/Context/Context.tsx
1712
- import React5 from "react";
1713
- import { ModalProvider } from "@react-aria/overlays";
1714
-
1715
- // src/utils/breakpoints.ts
1716
- import isUndefined from "lodash/isUndefined";
1717
- import orderBy from "lodash/orderBy";
1718
- import isPlainObject from "lodash/isPlainObject";
1893
+ import isUndefined3 from "lodash/isUndefined";
1719
1894
 
1720
1895
  // tailwind.theme.json
1721
1896
  var tailwind_theme_default = {
@@ -2240,7 +2415,14 @@ var tailwind_theme_default = {
2240
2415
  }
2241
2416
  };
2242
2417
 
2418
+ // src/components/Context/Context.tsx
2419
+ import React3 from "react";
2420
+ import { ModalProvider } from "@react-aria/overlays";
2421
+
2243
2422
  // src/utils/breakpoints.ts
2423
+ import isPlainObject from "lodash/isPlainObject";
2424
+ import isUndefined from "lodash/isUndefined";
2425
+ import orderBy from "lodash/orderBy";
2244
2426
  var { screens: allBreakpoints } = tailwind_theme_default;
2245
2427
  var SCREEN_TO_PX_MAPPING = getPxMapping(allBreakpoints);
2246
2428
  var BREAKPOINT_PRIORITY = orderBy(
@@ -2285,9 +2467,9 @@ function selectBreakpointValue(value, matches) {
2285
2467
  }
2286
2468
 
2287
2469
  // src/utils/useWindowSize.ts
2288
- import { useState, useEffect } from "react";
2289
- import isUndefined2 from "lodash/isUndefined";
2470
+ import { useEffect, useState } from "react";
2290
2471
  import debounce from "lodash/debounce";
2472
+ import isUndefined2 from "lodash/isUndefined";
2291
2473
  function useWindowSize() {
2292
2474
  const getWindowSize = () => {
2293
2475
  if (isUndefined2(globalThis.window)) {
@@ -2315,18 +2497,18 @@ function useWindowSize() {
2315
2497
  // src/components/Context/Context.tsx
2316
2498
  var Context = ({ children }) => {
2317
2499
  const windowSize = useWindowSize();
2318
- const [breakpointMatches, setBreakpointMatches] = React5.useState(getMatches(windowSize));
2319
- React5.useEffect(() => {
2500
+ const [breakpointMatches, setBreakpointMatches] = React3.useState(getMatches(windowSize));
2501
+ React3.useEffect(() => {
2320
2502
  setBreakpointMatches(getMatches(windowSize));
2321
2503
  }, [windowSize]);
2322
- return /* @__PURE__ */ React5.createElement(DesignSystemContext.Provider, {
2504
+ return /* @__PURE__ */ React3.createElement(DesignSystemContext.Provider, {
2323
2505
  value: { breakpointMatches }
2324
- }, /* @__PURE__ */ React5.createElement(ModalProvider, null, children));
2506
+ }, /* @__PURE__ */ React3.createElement(ModalProvider, null, children));
2325
2507
  };
2326
2508
  var context = {
2327
2509
  breakpointMatches: getMatches(void 0)
2328
2510
  };
2329
- var DesignSystemContext = React5.createContext(context);
2511
+ var DesignSystemContext = React3.createContext(context);
2330
2512
 
2331
2513
  // src/utils/useStyle.ts
2332
2514
  var THEME_MAPPING = {
@@ -2450,8 +2632,8 @@ function Tailwindify(Component) {
2450
2632
  const componentProps = __spreadProps(__spreadValues({}, otherProps), {
2451
2633
  style: finalStyle
2452
2634
  });
2453
- const childrenWithProps = React6.Children.map(children, (child, index) => {
2454
- if (!React6.isValidElement(child)) {
2635
+ const childrenWithProps = React4.Children.map(children, (child, index) => {
2636
+ if (!React4.isValidElement(child)) {
2455
2637
  return child;
2456
2638
  }
2457
2639
  const isLastChild = index === children.length - 1;
@@ -2472,9 +2654,9 @@ function Tailwindify(Component) {
2472
2654
  }
2473
2655
  const childStyle = get2(child, ["props", "style"], {});
2474
2656
  const newProps = __spreadProps(__spreadValues({}, childProps), { style: __spreadValues(__spreadValues({}, childStyle), additionalStyle) });
2475
- return React6.cloneElement(child, newProps);
2657
+ return React4.cloneElement(child, newProps);
2476
2658
  });
2477
- return /* @__PURE__ */ React6.createElement(Component, __spreadValues({
2659
+ return /* @__PURE__ */ React4.createElement(Component, __spreadValues({
2478
2660
  className,
2479
2661
  children: childrenWithProps
2480
2662
  }, componentProps));
@@ -2510,7 +2692,7 @@ var Flexbox = Tailwindify(
2510
2692
  rowGap
2511
2693
  });
2512
2694
  const HtmlElement = htmlTag;
2513
- return /* @__PURE__ */ React7.createElement(HtmlElement, {
2695
+ return /* @__PURE__ */ React5.createElement(HtmlElement, {
2514
2696
  style: __spreadValues(__spreadValues({}, hookStyle), style),
2515
2697
  className
2516
2698
  }, children);
@@ -2518,9 +2700,9 @@ var Flexbox = Tailwindify(
2518
2700
  );
2519
2701
 
2520
2702
  // src/components/Tooltip/Tooltip.tsx
2521
- import React8 from "react";
2703
+ import React6 from "react";
2704
+ import { OverlayContainer, useOverlayPosition } from "@react-aria/overlays";
2522
2705
  import { useTooltip, useTooltipTrigger } from "@react-aria/tooltip";
2523
- import { useOverlayPosition, OverlayContainer } from "@react-aria/overlays";
2524
2706
  import { mergeProps } from "@react-aria/utils";
2525
2707
 
2526
2708
  // src/components/Tooltip/useTooltipTriggerState.ts
@@ -2644,8 +2826,8 @@ function useTooltipTriggerState(props = {}) {
2644
2826
  var Tooltip = (_a) => {
2645
2827
  var _b = _a, { inline = true, delay = 200 } = _b, props = __objRest(_b, ["inline", "delay"]);
2646
2828
  const { placement: _placement = "top", content, disabled: isDisabled, shouldFlip = true } = props;
2647
- const triggerRef = React8.useRef(null);
2648
- const overlayRef = React8.useRef(null);
2829
+ const triggerRef = React6.useRef(null);
2830
+ const overlayRef = React6.useRef(null);
2649
2831
  const state = useTooltipTriggerState(__spreadValues({ isDisabled, delay }, props));
2650
2832
  const { triggerProps, tooltipProps } = useTooltipTrigger(props, state, triggerRef);
2651
2833
  const { overlayProps, arrowProps, placement } = useOverlayPosition({
@@ -2681,7 +2863,7 @@ var Tooltip = (_a) => {
2681
2863
  (_a2 = props.onPointerUp) == null ? void 0 : _a2.call(props, e);
2682
2864
  (_b2 = triggerProps.onPointerUp) == null ? void 0 : _b2.call(triggerProps, e);
2683
2865
  };
2684
- return /* @__PURE__ */ React8.createElement("div", __spreadProps(__spreadValues({
2866
+ return /* @__PURE__ */ React6.createElement("div", __spreadProps(__spreadValues({
2685
2867
  className: tw(`${inline ? "inline-block" : "block"}`)
2686
2868
  }, triggerProps), {
2687
2869
  onClick: handleClick,
@@ -2690,25 +2872,25 @@ var Tooltip = (_a) => {
2690
2872
  onPointerDown: handlePointerDown,
2691
2873
  onPointerUp: handlePointerUp,
2692
2874
  ref: triggerRef
2693
- }), props.children, state.isOpen && /* @__PURE__ */ React8.createElement(TooltipWrapper, __spreadValues({
2875
+ }), props.children, state.isOpen && /* @__PURE__ */ React6.createElement(TooltipWrapper, __spreadValues({
2694
2876
  ref: overlayRef,
2695
2877
  state,
2696
2878
  placement,
2697
2879
  arrowProps
2698
2880
  }, mergeProps(tooltipProps, overlayProps)), content));
2699
2881
  };
2700
- var TooltipWrapper = React8.forwardRef(
2882
+ var TooltipWrapper = React6.forwardRef(
2701
2883
  (_a, forwardedRef) => {
2702
2884
  var _b = _a, { state, placement, arrowProps } = _b, props = __objRest(_b, ["state", "placement", "arrowProps"]);
2703
2885
  var _a2;
2704
- const ref = React8.useRef(null);
2705
- React8.useImperativeHandle(forwardedRef, () => ref.current);
2886
+ const ref = React6.useRef(null);
2887
+ React6.useImperativeHandle(forwardedRef, () => ref.current);
2706
2888
  const { tooltipProps } = useTooltip(props, state);
2707
2889
  const arrowStyle = getArrowStyle(ref.current, placement, (_a2 = arrowProps.style) != null ? _a2 : {});
2708
- return /* @__PURE__ */ React8.createElement(OverlayContainer, null, /* @__PURE__ */ React8.createElement("div", __spreadValues({
2890
+ return /* @__PURE__ */ React6.createElement(OverlayContainer, null, /* @__PURE__ */ React6.createElement("div", __spreadValues({
2709
2891
  ref,
2710
- className: tw("p-3 rounded-sm typography-caption-default max-w-[320px] bg-grey-90 text-white")
2711
- }, mergeProps(props, tooltipProps)), props.children, /* @__PURE__ */ React8.createElement(Arrow, __spreadProps(__spreadValues({}, arrowProps), {
2892
+ className: tw("p-3 rounded-sm typography-caption max-w-[320px] bg-grey-90 text-white")
2893
+ }, mergeProps(props, tooltipProps)), props.children, /* @__PURE__ */ React6.createElement(Arrow, __spreadProps(__spreadValues({}, arrowProps), {
2712
2894
  style: arrowStyle
2713
2895
  }))));
2714
2896
  }
@@ -2745,7 +2927,7 @@ var getArrowStyle = (element, position, { left, top }) => {
2745
2927
  return { left, top };
2746
2928
  };
2747
2929
  var Arrow = (props) => {
2748
- return /* @__PURE__ */ React8.createElement("div", __spreadValues({
2930
+ return /* @__PURE__ */ React6.createElement("div", __spreadValues({
2749
2931
  className: tw("absolute w-3 h-3 bg-grey-90 rotate-45")
2750
2932
  }, props));
2751
2933
  };
@@ -2773,7 +2955,7 @@ var LoadingSpinner = ({
2773
2955
  size = "20px",
2774
2956
  kind = "primary"
2775
2957
  }) => {
2776
- return /* @__PURE__ */ React9.createElement(InlineIcon, {
2958
+ return /* @__PURE__ */ React7.createElement(InlineIcon, {
2777
2959
  icon: import_loading.default,
2778
2960
  width: size,
2779
2961
  height: size,
@@ -2782,7 +2964,7 @@ var LoadingSpinner = ({
2782
2964
  });
2783
2965
  };
2784
2966
  var asButton = (Component, isDropdownButton) => {
2785
- return React9.forwardRef(
2967
+ return React7.forwardRef(
2786
2968
  (_a, ref) => {
2787
2969
  var _b = _a, {
2788
2970
  kind = "primary",
@@ -2811,7 +2993,7 @@ var asButton = (Component, isDropdownButton) => {
2811
2993
  "aria-label",
2812
2994
  "children"
2813
2995
  ]);
2814
- const hasChildren = React9.Children.count(children) > 0;
2996
+ const hasChildren = React7.Children.count(children) > 0;
2815
2997
  const isIconOnlyButton = !hasChildren && !!icon;
2816
2998
  const isGhost = !isIconOnlyButton && (kind === "ghost" || kind === "secondary-ghost");
2817
2999
  const isButton = !isIconOnlyButton && (kind === "primary" || kind === "secondary");
@@ -2832,31 +3014,31 @@ var asButton = (Component, isDropdownButton) => {
2832
3014
  }
2833
3015
  const buttonContent = () => {
2834
3016
  if (!!isDropdownButton && (kind === "primary" || kind === "secondary")) {
2835
- return /* @__PURE__ */ React9.createElement(Flexbox, {
3017
+ return /* @__PURE__ */ React7.createElement(Flexbox, {
2836
3018
  gap: "4",
2837
3019
  alignItems: "center",
2838
3020
  justifyContent: "center"
2839
- }, hasChildren && /* @__PURE__ */ React9.createElement("div", null, children), /* @__PURE__ */ React9.createElement(InlineIcon, {
3021
+ }, hasChildren && /* @__PURE__ */ React7.createElement("div", null, children), /* @__PURE__ */ React7.createElement(InlineIcon, {
2840
3022
  icon: import_chevronDown2.default,
2841
3023
  width: iconSize,
2842
3024
  height: iconSize
2843
3025
  }));
2844
3026
  } else if (icon) {
2845
- return /* @__PURE__ */ React9.createElement(Flexbox, {
3027
+ return /* @__PURE__ */ React7.createElement(Flexbox, {
2846
3028
  gap: "3",
2847
3029
  alignItems: "center",
2848
3030
  justifyContent: "center",
2849
3031
  direction: iconPlacement === "right" ? "row-reverse" : "row"
2850
- }, /* @__PURE__ */ React9.createElement(InlineIcon, {
3032
+ }, /* @__PURE__ */ React7.createElement(InlineIcon, {
2851
3033
  icon,
2852
3034
  width: iconSize,
2853
3035
  height: iconSize
2854
- }), hasChildren && /* @__PURE__ */ React9.createElement("div", null, children));
3036
+ }), hasChildren && /* @__PURE__ */ React7.createElement("div", null, children));
2855
3037
  } else {
2856
3038
  return children;
2857
3039
  }
2858
3040
  };
2859
- const buttonComponent = /* @__PURE__ */ React9.createElement(Component, __spreadProps(__spreadValues({
3041
+ const buttonComponent = /* @__PURE__ */ React7.createElement(Component, __spreadProps(__spreadValues({
2860
3042
  ref
2861
3043
  }, props), {
2862
3044
  className: classNames(
@@ -2864,8 +3046,8 @@ var asButton = (Component, isDropdownButton) => {
2864
3046
  !isIconOnlyButton && COLOR_CLASSNAMES[kind],
2865
3047
  tw("inline-block border-0 rounded-sm transition whitespace-nowrap focus:outline-none relative", {
2866
3048
  "text-grey-70 p-2 active:text-grey-70 active:bg-transparent hover:text-grey-90 hover:bg-grey-0 focus-visible:text-grey-90 focus-visible:bg-grey-0 disabled:text-grey-20 disabled:bg-transparent": isIconOnlyButton,
2867
- "typography-body-default": !dense && !isIconOnlyButton,
2868
- "typography-body-small": dense && !isIconOnlyButton,
3049
+ "typography-default": !dense && !isIconOnlyButton,
3050
+ "typography-small": dense && !isIconOnlyButton,
2869
3051
  "py-3 px-4": !dense && isButton,
2870
3052
  "py-2 px-3": dense && isButton,
2871
3053
  "py-3": !dense && isGhost,
@@ -2876,16 +3058,16 @@ var asButton = (Component, isDropdownButton) => {
2876
3058
  ),
2877
3059
  "aria-label": isIconOnlyButton ? ariaLabel != null ? ariaLabel : tooltip : ariaLabel,
2878
3060
  disabled: disabled || loading2
2879
- }), loading2 && !isGhost ? /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement("div", {
3061
+ }), loading2 && !isGhost ? /* @__PURE__ */ React7.createElement(React7.Fragment, null, /* @__PURE__ */ React7.createElement("div", {
2880
3062
  className: tw("absolute left-1/2 top-0 bottom-0 flex"),
2881
3063
  style: { transform: "translate(-50%)" }
2882
- }, /* @__PURE__ */ React9.createElement(LoadingSpinner, {
3064
+ }, /* @__PURE__ */ React7.createElement(LoadingSpinner, {
2883
3065
  size: iconSize,
2884
3066
  kind: kind === "primary" ? "primary" : "secondary"
2885
- })), /* @__PURE__ */ React9.createElement("div", {
3067
+ })), /* @__PURE__ */ React7.createElement("div", {
2886
3068
  className: tw({ invisible: loading2 })
2887
3069
  }, buttonContent())) : buttonContent());
2888
- return tooltip ? /* @__PURE__ */ React9.createElement(Tooltip, {
3070
+ return tooltip ? /* @__PURE__ */ React7.createElement(Tooltip, {
2889
3071
  content: tooltip,
2890
3072
  placement: tooltipPlacement
2891
3073
  }, buttonComponent) : buttonComponent;
@@ -2894,31 +3076,31 @@ var asButton = (Component, isDropdownButton) => {
2894
3076
  };
2895
3077
  var Button = asButton("button");
2896
3078
  Button.displayName = "Button";
2897
- var PrimaryButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.createElement(Button, __spreadProps(__spreadValues({
3079
+ var PrimaryButton = React7.forwardRef((props, ref) => /* @__PURE__ */ React7.createElement(Button, __spreadProps(__spreadValues({
2898
3080
  ref
2899
3081
  }, props), {
2900
3082
  kind: "primary"
2901
3083
  })));
2902
3084
  PrimaryButton.displayName = "PrimaryButton";
2903
- var SecondaryButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.createElement(Button, __spreadProps(__spreadValues({
3085
+ var SecondaryButton = React7.forwardRef((props, ref) => /* @__PURE__ */ React7.createElement(Button, __spreadProps(__spreadValues({
2904
3086
  ref
2905
3087
  }, props), {
2906
3088
  kind: "secondary"
2907
3089
  })));
2908
3090
  SecondaryButton.displayName = "SecondaryButton";
2909
- var GhostButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.createElement(Button, __spreadProps(__spreadValues({
3091
+ var GhostButton = React7.forwardRef((props, ref) => /* @__PURE__ */ React7.createElement(Button, __spreadProps(__spreadValues({
2910
3092
  ref
2911
3093
  }, props), {
2912
3094
  kind: "ghost"
2913
3095
  })));
2914
3096
  GhostButton.displayName = "GhostButton";
2915
- var SecondaryGhostButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.createElement(Button, __spreadProps(__spreadValues({
3097
+ var SecondaryGhostButton = React7.forwardRef((props, ref) => /* @__PURE__ */ React7.createElement(Button, __spreadProps(__spreadValues({
2916
3098
  ref
2917
3099
  }, props), {
2918
3100
  kind: "secondary-ghost"
2919
3101
  })));
2920
3102
  SecondaryGhostButton.displayName = "SecondaryGhostButton";
2921
- var IconButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.createElement(Button, __spreadProps(__spreadValues({
3103
+ var IconButton = React7.forwardRef((props, ref) => /* @__PURE__ */ React7.createElement(Button, __spreadProps(__spreadValues({
2922
3104
  ref
2923
3105
  }, props), {
2924
3106
  kind: "ghost",
@@ -2927,7 +3109,7 @@ var IconButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.create
2927
3109
  })));
2928
3110
  IconButton.displayName = "IconButton";
2929
3111
  var ExternalLinkButton = asButton("a");
2930
- var IconExternalLinkButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.createElement(ExternalLinkButton, __spreadProps(__spreadValues({
3112
+ var IconExternalLinkButton = React7.forwardRef((props, ref) => /* @__PURE__ */ React7.createElement(ExternalLinkButton, __spreadProps(__spreadValues({
2931
3113
  ref
2932
3114
  }, props), {
2933
3115
  kind: "ghost",
@@ -2936,13 +3118,13 @@ var IconExternalLinkButton = React9.forwardRef((props, ref) => /* @__PURE__ */ R
2936
3118
  })));
2937
3119
  IconExternalLinkButton.displayName = "IconExternalLink";
2938
3120
  var DropdownButton = asButton("button", true);
2939
- var PrimaryDropdownButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.createElement(DropdownButton, __spreadProps(__spreadValues({
3121
+ var PrimaryDropdownButton = React7.forwardRef((props, ref) => /* @__PURE__ */ React7.createElement(DropdownButton, __spreadProps(__spreadValues({
2940
3122
  ref
2941
3123
  }, props), {
2942
3124
  kind: "primary"
2943
3125
  })));
2944
3126
  PrimaryDropdownButton.displayName = "PrimaryDropdownButton";
2945
- var SecondaryDropdownButton = React9.forwardRef((props, ref) => /* @__PURE__ */ React9.createElement(DropdownButton, __spreadProps(__spreadValues({
3127
+ var SecondaryDropdownButton = React7.forwardRef((props, ref) => /* @__PURE__ */ React7.createElement(DropdownButton, __spreadProps(__spreadValues({
2946
3128
  ref
2947
3129
  }, props), {
2948
3130
  kind: "secondary"
@@ -2951,7 +3133,7 @@ SecondaryDropdownButton.displayName = "SecondaryDropdownButton";
2951
3133
 
2952
3134
  // src/common/Typography/Typography.tsx
2953
3135
  var import_resolveTheme = __toESM(require_resolveTheme());
2954
- import React10 from "react";
3136
+ import React8 from "react";
2955
3137
  import isUndefined5 from "lodash/isUndefined";
2956
3138
  var typographies = import_resolveTheme.theme.typography.sizes.reduce(
2957
3139
  (acc, { name, className }) => __spreadProps(__spreadValues({}, acc), { [name]: className }),
@@ -2960,7 +3142,7 @@ var typographies = import_resolveTheme.theme.typography.sizes.reduce(
2960
3142
  var Typography = (_a) => {
2961
3143
  var _b = _a, {
2962
3144
  children,
2963
- variant = "body-default",
3145
+ variant = "default",
2964
3146
  color,
2965
3147
  htmlTag = "div",
2966
3148
  className,
@@ -2976,7 +3158,7 @@ var Typography = (_a) => {
2976
3158
  const HtmlElement = htmlTag;
2977
3159
  const resolvedColorName = isUndefined5(color) || color === "current" ? "grey-80" : color;
2978
3160
  const style = useStyle({ fontWeight });
2979
- return /* @__PURE__ */ React10.createElement(HtmlElement, __spreadValues({
3161
+ return /* @__PURE__ */ React8.createElement(HtmlElement, __spreadValues({
2980
3162
  className: classNames(typographies[variant], `text-${resolvedColorName}`, className),
2981
3163
  style
2982
3164
  }, rest), children);
@@ -2984,10 +3166,10 @@ var Typography = (_a) => {
2984
3166
 
2985
3167
  // src/common/Alert/Alert.tsx
2986
3168
  var import_confirm = __toESM(require_confirm());
2987
- var import_warningSign = __toESM(require_warningSign());
3169
+ var import_cross = __toESM(require_cross());
2988
3170
  var import_error = __toESM(require_error());
2989
3171
  var import_infoSign = __toESM(require_infoSign());
2990
- var import_cross = __toESM(require_cross());
3172
+ var import_warningSign = __toESM(require_warningSign());
2991
3173
  var alertTypes = {
2992
3174
  information: {
2993
3175
  icon: import_infoSign.default,
@@ -3018,7 +3200,7 @@ var Alert = (_a) => {
3018
3200
  "type",
3019
3201
  "dense"
3020
3202
  ]);
3021
- return /* @__PURE__ */ React11.createElement("div", __spreadProps(__spreadValues({}, rest), {
3203
+ return /* @__PURE__ */ React9.createElement("div", __spreadProps(__spreadValues({}, rest), {
3022
3204
  className: classNames(
3023
3205
  tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
3024
3206
  "bg-error-5": type === "error",
@@ -3034,32 +3216,31 @@ var Alert = (_a) => {
3034
3216
  };
3035
3217
  Alert.Title = (_a) => {
3036
3218
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
3037
- return /* @__PURE__ */ React11.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
3038
- variant: "body-default",
3219
+ return /* @__PURE__ */ React9.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
3220
+ variant: "default-strong",
3039
3221
  color: "grey-80",
3040
- fontWeight: 500,
3041
3222
  className: classNames(tw("col-start-2"), className)
3042
3223
  }), children);
3043
3224
  };
3044
3225
  Alert.Description = (_a) => {
3045
3226
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
3046
- return /* @__PURE__ */ React11.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
3047
- variant: "body-small",
3227
+ return /* @__PURE__ */ React9.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
3228
+ variant: "small",
3048
3229
  color: "grey-60",
3049
3230
  className: classNames(tw("col-start-2"), className)
3050
3231
  }), children);
3051
3232
  };
3052
3233
  Alert.Actions = (_a) => {
3053
3234
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
3054
- return /* @__PURE__ */ React11.createElement("div", __spreadProps(__spreadValues({}, rest), {
3235
+ return /* @__PURE__ */ React9.createElement("div", __spreadProps(__spreadValues({}, rest), {
3055
3236
  className: classNames(tw("flex gap-4 col-start-2"), className)
3056
3237
  }), children);
3057
3238
  };
3058
3239
  Alert.Icon = (_a) => {
3059
3240
  var _b = _a, { type, dense } = _b, rest = __objRest(_b, ["type", "dense"]);
3060
- return /* @__PURE__ */ React11.createElement("div", {
3241
+ return /* @__PURE__ */ React9.createElement("div", {
3061
3242
  className: tw("h-[20px] col-start-1 row-start-1", { "self-start": !dense })
3062
- }, /* @__PURE__ */ React11.createElement(Icon, __spreadProps(__spreadValues({}, rest), {
3243
+ }, /* @__PURE__ */ React9.createElement(Icon, __spreadProps(__spreadValues({}, rest), {
3063
3244
  icon: alertTypes[type].icon,
3064
3245
  color: alertTypes[type].color,
3065
3246
  fontSize: 20
@@ -3067,9 +3248,9 @@ Alert.Icon = (_a) => {
3067
3248
  };
3068
3249
  Alert.Dismiss = (_a) => {
3069
3250
  var _b = _a, { type } = _b, rest = __objRest(_b, ["type"]);
3070
- return /* @__PURE__ */ React11.createElement("div", {
3251
+ return /* @__PURE__ */ React9.createElement("div", {
3071
3252
  className: tw("h-[20px] col-start-3 row-start-1")
3072
- }, /* @__PURE__ */ React11.createElement(IconButton, __spreadProps(__spreadValues({}, rest), {
3253
+ }, /* @__PURE__ */ React9.createElement(IconButton, __spreadProps(__spreadValues({}, rest), {
3073
3254
  UNSAFE_className: tw("-m-2"),
3074
3255
  tooltip: "Dismiss",
3075
3256
  icon: import_cross.default
@@ -3077,38 +3258,35 @@ Alert.Dismiss = (_a) => {
3077
3258
  };
3078
3259
 
3079
3260
  // src/components/Alert/Alert.tsx
3080
- import omit2 from "lodash/omit";
3081
- var Alert2 = ({ description, type, title, action, onDismiss }) => /* @__PURE__ */ React12.createElement(Alert, {
3261
+ var Alert2 = ({ description, type, title, action, onDismiss, children }) => /* @__PURE__ */ React10.createElement(Alert, {
3082
3262
  type,
3083
3263
  dense: Boolean(title)
3084
- }, /* @__PURE__ */ React12.createElement(Alert.Icon, {
3264
+ }, /* @__PURE__ */ React10.createElement(Alert.Icon, {
3085
3265
  type,
3086
3266
  dense: Boolean(title)
3087
- }), title && /* @__PURE__ */ React12.createElement(Alert.Title, null, title), /* @__PURE__ */ React12.createElement(Alert.Description, null, description), action && /* @__PURE__ */ React12.createElement(Alert.Actions, null, /* @__PURE__ */ React12.createElement(GhostButton, __spreadValues({
3267
+ }), title && /* @__PURE__ */ React10.createElement(Alert.Title, null, title), /* @__PURE__ */ React10.createElement(Alert.Description, null, children || description), action && /* @__PURE__ */ React10.createElement(Alert.Actions, null, /* @__PURE__ */ React10.createElement(GhostButton, __spreadValues({
3088
3268
  dense: true
3089
- }, omit2(action, "text")), action.text)), onDismiss && /* @__PURE__ */ React12.createElement(Alert.Dismiss, {
3269
+ }, omit(action, "text")), action.text)), onDismiss && /* @__PURE__ */ React10.createElement(Alert.Dismiss, {
3090
3270
  onClick: onDismiss
3091
3271
  }));
3092
3272
 
3093
3273
  // src/components/Avatar/Avatar.tsx
3094
- import React16 from "react";
3274
+ import React15 from "react";
3095
3275
 
3096
3276
  // src/components/Box/Box.tsx
3097
- import React15 from "react";
3277
+ import React13 from "react";
3278
+ import isUndefined6 from "lodash/isUndefined";
3098
3279
 
3099
3280
  // src/components/Element/Element.tsx
3100
- import React13 from "react";
3281
+ import React11 from "react";
3101
3282
  var Element = (_a) => {
3102
3283
  var _b = _a, { component } = _b, rest = __objRest(_b, ["component"]);
3103
3284
  const Component = component || "div";
3104
- return React13.createElement(Component, rest);
3285
+ return React11.createElement(Component, rest);
3105
3286
  };
3106
3287
 
3107
- // src/components/Box/Box.tsx
3108
- import isUndefined6 from "lodash/isUndefined";
3109
-
3110
3288
  // src/utils/createComponent.tsx
3111
- import React14 from "react";
3289
+ import React12 from "react";
3112
3290
  var hasClassName = (val) => {
3113
3291
  return val.className !== void 0;
3114
3292
  };
@@ -3118,7 +3296,7 @@ var createComponent = (Component, freezedProps, defaultProps, displayName) => {
3118
3296
  const combinedProps = __spreadValues(__spreadValues(__spreadValues({}, defaultProps), freezedProps), props);
3119
3297
  const propsClassName = hasClassName(props) ? props.className : "";
3120
3298
  const className = defaultClassName || propsClassName ? classNames(defaultClassName, propsClassName) : void 0;
3121
- return /* @__PURE__ */ React14.createElement(Component, __spreadProps(__spreadValues({}, combinedProps), {
3299
+ return /* @__PURE__ */ React12.createElement(Component, __spreadProps(__spreadValues({}, combinedProps), {
3122
3300
  className
3123
3301
  }));
3124
3302
  };
@@ -3130,7 +3308,7 @@ var createSimpleComponent = (Component, defaultProps, displayName) => {
3130
3308
  const Curried = (props) => {
3131
3309
  const propsClassName = hasClassName(props) ? props.className : "";
3132
3310
  const className = defaultClassName || propsClassName ? classNames(defaultClassName, propsClassName) : void 0;
3133
- return /* @__PURE__ */ React14.createElement(Component, __spreadProps(__spreadValues(__spreadValues({}, defaultProps), props), {
3311
+ return /* @__PURE__ */ React12.createElement(Component, __spreadProps(__spreadValues(__spreadValues({}, defaultProps), props), {
3134
3312
  className
3135
3313
  }));
3136
3314
  };
@@ -3257,7 +3435,7 @@ var Box = (_a) => {
3257
3435
  columnGap: colGap,
3258
3436
  rowGap
3259
3437
  });
3260
- return /* @__PURE__ */ React15.createElement(Element, __spreadValues({
3438
+ return /* @__PURE__ */ React13.createElement(Element, __spreadValues({
3261
3439
  style: __spreadValues(__spreadValues({}, styles), style)
3262
3440
  }, rest));
3263
3441
  };
@@ -3267,29 +3445,104 @@ var BorderBox = createSimpleComponent(
3267
3445
  "BorderBox"
3268
3446
  );
3269
3447
 
3448
+ // src/components/Skeleton/Skeleton.tsx
3449
+ import React14 from "react";
3450
+ import isNumber from "lodash/isNumber";
3451
+ var Skeleton = ({
3452
+ width,
3453
+ height,
3454
+ display = "block",
3455
+ className,
3456
+ animate = true,
3457
+ rounded = false
3458
+ }) => {
3459
+ const styles = {
3460
+ width: isNumber(width) ? `${width}px` : width,
3461
+ height: isNumber(height) ? `${height}px` : height
3462
+ };
3463
+ return /* @__PURE__ */ React14.createElement("div", {
3464
+ style: styles,
3465
+ className: classNames(
3466
+ tw("bg-grey-5", {
3467
+ "rounded-full": rounded,
3468
+ "block": display === "block",
3469
+ "inline-block": display === "inline-block",
3470
+ "animate-pulse": animate
3471
+ }),
3472
+ className
3473
+ )
3474
+ });
3475
+ };
3476
+
3270
3477
  // src/components/Avatar/Avatar.tsx
3271
- var AvatarStack = ({ images }) => /* @__PURE__ */ React16.createElement(Box, {
3478
+ var AvatarStack = ({ images }) => /* @__PURE__ */ React15.createElement(Box, {
3272
3479
  display: "flex",
3273
3480
  className: tw("[&>*:not(:first-child)]:-ml-3")
3274
- }, images.map((image) => image ? /* @__PURE__ */ React16.createElement(Avatar, {
3481
+ }, images.map((image) => image ? /* @__PURE__ */ React15.createElement(Avatar, {
3275
3482
  key: image,
3276
3483
  image
3277
- }) : /* @__PURE__ */ React16.createElement(Avatar.Skeleton, {
3484
+ }) : /* @__PURE__ */ React15.createElement(Avatar.Skeleton, {
3278
3485
  key: image
3279
3486
  })));
3280
- var Avatar = ({ image }) => /* @__PURE__ */ React16.createElement("img", {
3487
+ var Avatar = ({ image }) => /* @__PURE__ */ React15.createElement("img", {
3281
3488
  src: image,
3282
3489
  className: classNames(tw("w-[32px] h-[32px]"))
3283
3490
  });
3284
- var AvatarSkeleton = () => /* @__PURE__ */ React16.createElement(Skeleton, {
3491
+ var AvatarSkeleton = () => /* @__PURE__ */ React15.createElement(Skeleton, {
3285
3492
  height: 32,
3286
3493
  width: 32,
3287
3494
  className: tw("rounded-full")
3288
3495
  });
3289
3496
  Avatar.Skeleton = AvatarSkeleton;
3290
3497
 
3498
+ // src/components/Badge/Badge.tsx
3499
+ import React16 from "react";
3500
+ import omit2 from "lodash/omit";
3501
+ var isChipBadgeProps = (props) => "dense" in props;
3502
+ var createBadge = (type, displayName) => {
3503
+ const Component = (props) => {
3504
+ var _b;
3505
+ const _a = props, { kind = "filled", value, textClassname } = _a, rest = __objRest(_a, ["kind", "value", "textClassname"]);
3506
+ const valueStr = value.toString();
3507
+ const dense = isChipBadgeProps(props) ? (_b = props.dense) != null ? _b : false : false;
3508
+ return /* @__PURE__ */ React16.createElement("span", __spreadProps(__spreadValues({}, omit2(rest, "dense")), {
3509
+ className: tw("inline-block text-center", {
3510
+ "rounded-full": type === "default" || type === "chip",
3511
+ "rounded": type === "tab",
3512
+ "border border-current": kind === "outlined",
3513
+ "bg-current": kind === "filled" && type !== "chip",
3514
+ "bg-white": type === "chip",
3515
+ "typography-caption-small leading-none py-1 px-2": !dense,
3516
+ "text-[8px]": dense,
3517
+ "px-1": dense && valueStr.length > 1,
3518
+ "px-[4px]": dense && valueStr.length === 1
3519
+ })
3520
+ }), /* @__PURE__ */ React16.createElement("span", {
3521
+ className: classNames(
3522
+ textClassname,
3523
+ tw("inline-block", {
3524
+ "text-white": !textClassname && kind === "filled",
3525
+ "m-[1px]": kind === "filled"
3526
+ })
3527
+ )
3528
+ }, valueStr));
3529
+ };
3530
+ Component.displayName = displayName;
3531
+ Component.Skeleton = () => /* @__PURE__ */ React16.createElement(Skeleton, {
3532
+ height: 16,
3533
+ width: 16,
3534
+ display: "inline-block",
3535
+ className: tw(type === "tab" ? "rounded" : "rounded-full")
3536
+ });
3537
+ return Component;
3538
+ };
3539
+ var Badge = createBadge("default", "Badge");
3540
+ var TabBadge = createBadge("tab", "TabBadge");
3541
+ var ChipBadge = createBadge("chip", "ChipBadge");
3542
+
3291
3543
  // src/components/Banner/Banner.tsx
3292
3544
  import React18 from "react";
3545
+ import omit3 from "lodash/omit";
3293
3546
 
3294
3547
  // src/common/Banner/Banner.tsx
3295
3548
  import React17 from "react";
@@ -3323,8 +3576,7 @@ var Banner = (_a) => {
3323
3576
  Banner.Title = (_a) => {
3324
3577
  var _b = _a, { children, className, layout, titleVariant = "primary" } = _b, rest = __objRest(_b, ["children", "className", "layout", "titleVariant"]);
3325
3578
  return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
3326
- variant: "heading-large",
3327
- fontWeight: 600,
3579
+ variant: "subheading",
3328
3580
  color: titleVariant === "secondary" ? "primary-80" : "grey-100",
3329
3581
  className: classNames(
3330
3582
  className,
@@ -3337,7 +3589,7 @@ Banner.Title = (_a) => {
3337
3589
  Banner.Description = (_a) => {
3338
3590
  var _b = _a, { flexGrow, children, className } = _b, rest = __objRest(_b, ["flexGrow", "children", "className"]);
3339
3591
  return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
3340
- variant: "body-default",
3592
+ variant: "default",
3341
3593
  color: "grey-90",
3342
3594
  className: classNames(className, tw({ "flex-grow": flexGrow }))
3343
3595
  }), children);
@@ -3381,14 +3633,13 @@ Banner.DismissContainer = (_a) => {
3381
3633
 
3382
3634
  // src/components/Banner/Banner.tsx
3383
3635
  var import_cross2 = __toESM(require_cross());
3384
- import omit3 from "lodash/omit";
3385
3636
  var BannerImageSkeleton = () => /* @__PURE__ */ React18.createElement(Skeleton, {
3386
3637
  width: 225,
3387
3638
  className: tw("h-full")
3388
3639
  });
3389
3640
  var createBanner = (displayName, opts = {}) => {
3390
3641
  const BannerComponent = (props) => {
3391
- const { title, description, layout: layoutProp, action, onDismiss, variant = "default" } = props;
3642
+ const { title, description, layout: layoutProp, action, onDismiss, variant = "default", children } = props;
3392
3643
  const layout = opts.isOneLineBanner ? "horizontal" : layoutProp || "vertical";
3393
3644
  const isDismissable = onDismiss !== void 0;
3394
3645
  return /* @__PURE__ */ React18.createElement(Banner, {
@@ -3401,7 +3652,7 @@ var createBanner = (displayName, opts = {}) => {
3401
3652
  titleVariant: opts.isOneLineBanner ? "secondary" : "primary"
3402
3653
  }, title), /* @__PURE__ */ React18.createElement(Banner.Description, {
3403
3654
  flexGrow: isDismissable ? false : true
3404
- }, description), action && /* @__PURE__ */ React18.createElement(Banner.Actions, {
3655
+ }, children || description), action && /* @__PURE__ */ React18.createElement(Banner.Actions, {
3405
3656
  layout
3406
3657
  }, /* @__PURE__ */ React18.createElement(GhostButton, __spreadValues({
3407
3658
  dense: true
@@ -3430,8 +3681,8 @@ var OneLineBanner = OneLineBannerBase;
3430
3681
 
3431
3682
  // src/components/Breadcrumbs/Breadcrumbs.tsx
3432
3683
  import React19 from "react";
3433
- var import_slash = __toESM(require_slash());
3434
3684
  import classNames2 from "classnames";
3685
+ var import_slash = __toESM(require_slash());
3435
3686
  var Breadcrumbs = (props) => {
3436
3687
  const { children, className } = props;
3437
3688
  const crumbs = React19.Children.toArray(children).filter(
@@ -3441,7 +3692,7 @@ var Breadcrumbs = (props) => {
3441
3692
  className,
3442
3693
  "aria-label": "Breadcrumbs"
3443
3694
  }, /* @__PURE__ */ React19.createElement("ol", {
3444
- className: tw("flex flex-row flex-nowrap items-center typography-caption-default")
3695
+ className: tw("flex flex-row flex-nowrap items-center typography-caption")
3445
3696
  }, crumbs.map((crumb, index) => {
3446
3697
  const isLast = index === crumbs.length - 1;
3447
3698
  return /* @__PURE__ */ React19.createElement("li", {
@@ -3485,6 +3736,7 @@ Breadcrumbs.Crumb = Crumb;
3485
3736
 
3486
3737
  // src/components/Card/Card.tsx
3487
3738
  import React23 from "react";
3739
+ import omit4 from "lodash/omit";
3488
3740
 
3489
3741
  // src/components/Chip/Chip.tsx
3490
3742
  import React21 from "react";
@@ -3499,8 +3751,8 @@ var Container = React20.forwardRef(
3499
3751
  ref,
3500
3752
  className: classNames(
3501
3753
  tw("inline-flex items-center rounded-sm transition whitespace-nowrap", {
3502
- "typography-body-small py-2 px-3 gap-x-3": !dense,
3503
- "typography-caption-default py-1 px-2 gap-x-2": dense
3754
+ "typography-small py-2 px-3 gap-x-3": !dense,
3755
+ "typography-caption py-1 px-2 gap-x-2": dense
3504
3756
  }),
3505
3757
  className
3506
3758
  )
@@ -3511,15 +3763,13 @@ var Chip = {
3511
3763
  Container
3512
3764
  };
3513
3765
 
3514
- // src/components/Chip/Chip.tsx
3515
- var import_cross3 = __toESM(require_cross());
3516
- var import_lock = __toESM(require_lock());
3517
-
3518
3766
  // types/utils.ts
3519
3767
  import { isValidElement } from "react";
3520
3768
  var isComponentType = (c, type) => isValidElement(c) && c.type === type;
3521
3769
 
3522
3770
  // src/components/Chip/Chip.tsx
3771
+ var import_cross3 = __toESM(require_cross());
3772
+ var import_lock = __toESM(require_lock());
3523
3773
  var getStatusClassNames = (status = "neutral") => {
3524
3774
  switch (status) {
3525
3775
  case "info":
@@ -3604,67 +3854,120 @@ var ChipContainer = ({ dense, children }) => /* @__PURE__ */ React21.createEleme
3604
3854
  // src/components/Typography/Typography.tsx
3605
3855
  import React22 from "react";
3606
3856
  var Typography2 = (props) => /* @__PURE__ */ React22.createElement(Typography, __spreadValues({}, props));
3607
- Typography2.Heading = (_a) => {
3857
+ Typography2.LargeHeading = (_a) => {
3608
3858
  var _b = _a, { htmlTag = "h1" } = _b, props = __objRest(_b, ["htmlTag"]);
3609
3859
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3610
3860
  htmlTag,
3611
- variant: "heading-xl"
3861
+ variant: "large-heading"
3862
+ }));
3863
+ };
3864
+ Typography2.Heading = (_a) => {
3865
+ var _b = _a, { htmlTag = "h1", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
3866
+ return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3867
+ htmlTag,
3868
+ variant: "heading"
3612
3869
  }));
3613
3870
  };
3614
3871
  Typography2.Subheading = (_a) => {
3615
- var _b = _a, { htmlTag = "h2" } = _b, props = __objRest(_b, ["htmlTag"]);
3872
+ var _b = _a, { htmlTag = "h2", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
3616
3873
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3617
3874
  htmlTag,
3618
- variant: "heading-large"
3875
+ variant: "subheading"
3619
3876
  }));
3620
3877
  };
3621
- Typography2.LargeText = (_a) => {
3622
- var _b = _a, { htmlTag = "p" } = _b, props = __objRest(_b, ["htmlTag"]);
3878
+ Typography2.LargeStrong = (_a) => {
3879
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3623
3880
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3624
3881
  htmlTag,
3625
- variant: "body-large"
3882
+ variant: "large-strong"
3626
3883
  }));
3627
3884
  };
3628
- Typography2.MediumText = (_a) => {
3629
- var _b = _a, { htmlTag = "p" } = _b, props = __objRest(_b, ["htmlTag"]);
3885
+ Typography2.Large = (_a) => {
3886
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3630
3887
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3631
3888
  htmlTag,
3632
- variant: "body-default-medium"
3889
+ variant: "large"
3633
3890
  }));
3634
3891
  };
3635
- Typography2.Text = (_a) => {
3636
- var _b = _a, { htmlTag = "p" } = _b, props = __objRest(_b, ["htmlTag"]);
3892
+ Typography2.DefaultStrong = (_a) => {
3893
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3637
3894
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3638
3895
  htmlTag,
3639
- variant: "body-default"
3896
+ variant: "default-strong"
3640
3897
  }));
3641
3898
  };
3642
- Typography2.Paragraph = Typography2.Text;
3643
- Typography2.P = Typography2.Text;
3644
- Typography2.SmallText = (_a) => {
3645
- var _b = _a, { htmlTag = "p" } = _b, props = __objRest(_b, ["htmlTag"]);
3899
+ Typography2.Default = (_a) => {
3900
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3646
3901
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3647
3902
  htmlTag,
3648
- variant: "body-small"
3903
+ variant: "default"
3649
3904
  }));
3650
3905
  };
3651
- Typography2.SmallTextBold = (_a) => {
3652
- var _b = _a, { htmlTag = "p" } = _b, props = __objRest(_b, ["htmlTag"]);
3906
+ Typography2.Paragraph = (_a) => {
3907
+ var _b = _a, { htmlTag = "p", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
3908
+ return /* @__PURE__ */ React22.createElement(Typography2.Default, __spreadProps(__spreadValues({}, props), {
3909
+ htmlTag
3910
+ }));
3911
+ };
3912
+ Typography2.P = Typography2.Paragraph;
3913
+ Typography2.SmallStrong = (_a) => {
3914
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3915
+ return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3916
+ htmlTag,
3917
+ variant: "small-strong"
3918
+ }));
3919
+ };
3920
+ Typography2.Small = (_a) => {
3921
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3653
3922
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3654
3923
  htmlTag,
3655
- variant: "body-small-medium"
3924
+ variant: "small"
3656
3925
  }));
3657
3926
  };
3658
3927
  Typography2.Caption = (_a) => {
3659
- var _b = _a, { htmlTag = "p" } = _b, props = __objRest(_b, ["htmlTag"]);
3928
+ var _b = _a, { htmlTag = "div", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
3929
+ return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3930
+ htmlTag,
3931
+ variant: "caption"
3932
+ }));
3933
+ };
3934
+ Typography2.LargeText = (_a) => {
3935
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3936
+ return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3937
+ htmlTag,
3938
+ variant: "large-strong"
3939
+ }));
3940
+ };
3941
+ Typography2.MediumText = (_a) => {
3942
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3943
+ return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3944
+ htmlTag,
3945
+ variant: "default-strong"
3946
+ }));
3947
+ };
3948
+ Typography2.Text = (_a) => {
3949
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3950
+ return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3951
+ htmlTag,
3952
+ variant: "default"
3953
+ }));
3954
+ };
3955
+ Typography2.SmallText = (_a) => {
3956
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3957
+ return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3958
+ htmlTag,
3959
+ variant: "small"
3960
+ }));
3961
+ };
3962
+ Typography2.SmallTextBold = (_a) => {
3963
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
3660
3964
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
3661
3965
  htmlTag,
3662
- variant: "caption-default"
3966
+ variant: "small-strong"
3663
3967
  }));
3664
3968
  };
3665
3969
 
3666
3970
  // src/components/Card/Card.tsx
3667
- import omit4 from "lodash/omit";
3668
3971
  var Card = ({
3669
3972
  title,
3670
3973
  description,
@@ -3676,11 +3979,14 @@ var Card = ({
3676
3979
  action,
3677
3980
  link,
3678
3981
  onClick,
3679
- disabled
3982
+ disabled,
3983
+ fullWidth,
3984
+ children
3680
3985
  }) => /* @__PURE__ */ React23.createElement(CardContainer, {
3681
3986
  onClick,
3682
3987
  color,
3683
- disabled
3988
+ disabled,
3989
+ fullWidth
3684
3990
  }, chips.length > 0 && /* @__PURE__ */ React23.createElement(ChipContainer, {
3685
3991
  dense: true
3686
3992
  }, chips.map((chip) => /* @__PURE__ */ React23.createElement(Chip2, {
@@ -3692,13 +3998,21 @@ var Card = ({
3692
3998
  image,
3693
3999
  imageAlt,
3694
4000
  fullSize: chips.length === 0
3695
- }), /* @__PURE__ */ React23.createElement(CardContent, null, /* @__PURE__ */ React23.createElement(CardTitle, null, title), /* @__PURE__ */ React23.createElement(CardBody, null, description)), (action || link) && /* @__PURE__ */ React23.createElement(CardActions, null, action && /* @__PURE__ */ React23.createElement(SecondaryButton, __spreadValues({
4001
+ }), /* @__PURE__ */ React23.createElement(CardContent, null, /* @__PURE__ */ React23.createElement(CardTitle, null, title), /* @__PURE__ */ React23.createElement(CardBody, null, children || description)), (action || link) && /* @__PURE__ */ React23.createElement(CardActions, null, action && /* @__PURE__ */ React23.createElement(SecondaryButton, __spreadValues({
3696
4002
  dense: true
3697
4003
  }, omit4(action, "text")), action.text), link && /* @__PURE__ */ React23.createElement(ExternalLinkButton, __spreadValues({
3698
4004
  dense: true,
3699
4005
  kind: "ghost"
3700
4006
  }, omit4(link, "text")), link.text)));
3701
- var CardSkeleton = ({ chips = true, icons = false, image = !icons, actions = true }) => /* @__PURE__ */ React23.createElement(CardContainer, null, chips && /* @__PURE__ */ React23.createElement(ChipContainer, {
4007
+ var CardSkeleton = ({
4008
+ chips = true,
4009
+ icons = false,
4010
+ image = !icons,
4011
+ actions = true,
4012
+ fullWidth = false
4013
+ }) => /* @__PURE__ */ React23.createElement(CardContainer, {
4014
+ fullWidth
4015
+ }, chips && /* @__PURE__ */ React23.createElement(ChipContainer, {
3702
4016
  dense: true
3703
4017
  }, Array.from({ length: 5 }).map((_, idx) => /* @__PURE__ */ React23.createElement(Chip2.Skeleton, {
3704
4018
  key: idx
@@ -3725,13 +4039,16 @@ var CardContainer = ({
3725
4039
  children,
3726
4040
  onClick,
3727
4041
  color,
3728
- disabled
4042
+ disabled,
4043
+ fullWidth = false
3729
4044
  }) => /* @__PURE__ */ React23.createElement(Box, {
3730
4045
  borderWidth: 1,
3731
4046
  borderRadius: 2,
3732
4047
  className: classNames(
3733
- tw("w-[280px] border-grey-5 focus:border-info-70", {
3734
- "active:bg-grey-5 cursor-pointer hover:border-grey-50": Boolean(onClick && !disabled),
4048
+ tw("border-grey-5", {
4049
+ "w-[280px]": !fullWidth,
4050
+ "w-full min-w-[280px]": fullWidth,
4051
+ "active:bg-grey-5 cursor-pointer hover:border-grey-50 focus:border-info-70": Boolean(onClick && !disabled),
3735
4052
  "bg-grey-0 cursor-not-allowed focus:border-transparent": Boolean(disabled)
3736
4053
  })
3737
4054
  ),
@@ -3771,12 +4088,11 @@ var CardContent = ({ children }) => /* @__PURE__ */ React23.createElement(Box, {
3771
4088
  gap: "4"
3772
4089
  }, children);
3773
4090
  var CardBody = ({ children }) => /* @__PURE__ */ React23.createElement(Typography2, {
3774
- variant: "caption-default",
4091
+ variant: "caption",
3775
4092
  color: "grey-70"
3776
4093
  }, children);
3777
4094
  var CardTitle = ({ children }) => /* @__PURE__ */ React23.createElement(Typography2, {
3778
- variant: "body-default-medium",
3779
- fontWeight: 500
4095
+ variant: "default-strong"
3780
4096
  }, children);
3781
4097
  var CardActions = ({ children }) => /* @__PURE__ */ React23.createElement(Box, {
3782
4098
  paddingTop: "3",
@@ -3786,7 +4102,7 @@ var CardActions = ({ children }) => /* @__PURE__ */ React23.createElement(Box, {
3786
4102
  }, children);
3787
4103
 
3788
4104
  // src/components/Carousel/Carousel.tsx
3789
- import React24, { useRef as useRef2, useLayoutEffect, useState as useState2, useEffect as useEffect3 } from "react";
4105
+ import React24, { useEffect as useEffect3, useLayoutEffect, useRef as useRef2, useState as useState2 } from "react";
3790
4106
  var import_chevronLeft = __toESM(require_chevronLeft());
3791
4107
  var import_chevronRight = __toESM(require_chevronRight());
3792
4108
  var Carousel = ({
@@ -3918,55 +4234,45 @@ var ControlLabel = (_a) => {
3918
4234
  ),
3919
4235
  style: __spreadValues({}, style)
3920
4236
  }, rest), children, label && /* @__PURE__ */ React25.createElement("span", {
3921
- className: tw("typography-body-small self-center")
4237
+ className: tw("typography-small self-center")
3922
4238
  }, label), caption && /* @__PURE__ */ React25.createElement(Typography2, {
3923
4239
  className: tw("col-start-2"),
3924
- variant: "caption-default",
4240
+ variant: "caption",
3925
4241
  color: disabled ? "grey-40" : "grey-50"
3926
4242
  }, caption));
3927
4243
  };
3928
4244
 
3929
4245
  // src/common/Checkbox/Checkbox.tsx
3930
4246
  import React26 from "react";
3931
- var import_tick2 = __toESM(require_tick());
3932
4247
  var import_minus = __toESM(require_minus());
4248
+ var import_tick2 = __toESM(require_tick());
3933
4249
  var Checkbox = React26.forwardRef(
3934
4250
  (_a, ref) => {
3935
- var _b = _a, { id, children, name, checked, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "checked", "disabled", "readOnly", "indeterminate"]);
4251
+ var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
3936
4252
  return /* @__PURE__ */ React26.createElement("span", {
3937
- className: classNames(
3938
- tw("inline-flex justify-center items-center relative self-center", {
3939
- "text-grey-30": disabled,
3940
- "text-grey-100 cursor-pointer": !disabled
3941
- })
3942
- )
4253
+ className: tw("inline-flex justify-center items-center self-center")
3943
4254
  }, /* @__PURE__ */ React26.createElement("input", __spreadProps(__spreadValues({
3944
4255
  id,
3945
4256
  ref,
3946
4257
  type: "checkbox",
3947
4258
  name
3948
4259
  }, props), {
3949
- checked,
3950
- className: classNames(
3951
- tw("appearance-none rounded-sm border"),
3952
- {
3953
- "cursor-pointer": !disabled,
3954
- "border-grey-20 hover:border-grey-50 focus:border-info-70": !disabled && !checked,
3955
- "border-navyBlue-100 bg-navyBlue-100": !disabled && checked,
3956
- "border-grey-5 cursor-not-allowed": disabled,
3957
- "bg-grey-0": disabled && checked
3958
- },
3959
- props.className
3960
- ),
3961
- style: __spreadValues({ width: 16, height: 16 }, props.style),
4260
+ className: tw("opacity-0 peer w-0 h-0"),
3962
4261
  readOnly,
3963
4262
  disabled
3964
- })), (checked || indeterminate) && /* @__PURE__ */ React26.createElement(Icon, {
3965
- className: tw("absolute top-2 left-2 w-3 h-3 pointer-events-none [&>path]:stroke-2", {
3966
- "text-white [&>path]:stroke-white": !disabled,
3967
- "text-grey-30 [&>path]:stroke-grey-30": disabled
3968
- }),
3969
- icon: indeterminate ? import_minus.default : import_tick2.default
4263
+ })), /* @__PURE__ */ React26.createElement(Icon, {
4264
+ icon: indeterminate ? import_minus.default : import_tick2.default,
4265
+ className: classNames(
4266
+ tw(
4267
+ "rounded-sm border peer w-5 h-5 p-[3px] pointer-events-none cursor-pointer peer-disabled:cursor-not-allowed",
4268
+ "border-grey-20 peer-focus:border-info-70 peer-disabled:border-grey-5 peer-checked:border-navyBlue-100",
4269
+ "text-transparent peer-checked:[&>path]:stroke-2 peer-checked:text-white peer-checked:[&>path]:stroke-white"
4270
+ ),
4271
+ {
4272
+ "peer-checked:bg-navyBlue-100 peer-hover:border-grey-50": !disabled,
4273
+ "peer-checked:bg-gray-0 peer-checked:text-grey-30 peer-checked:[&>path]:stroke-grey-30": disabled
4274
+ }
4275
+ )
3970
4276
  }));
3971
4277
  }
3972
4278
  );
@@ -3974,35 +4280,10 @@ var Checkbox = React26.forwardRef(
3974
4280
  // src/components/Checkbox/Checkbox.tsx
3975
4281
  var Checkbox2 = React27.forwardRef(
3976
4282
  (_a, ref) => {
3977
- var _b = _a, {
3978
- id,
3979
- name,
3980
- caption,
3981
- checked: _checked,
3982
- defaultChecked,
3983
- onChange,
3984
- readOnly = false,
3985
- disabled = false,
3986
- children,
3987
- "aria-label": ariaLabel
3988
- } = _b, props = __objRest(_b, [
3989
- "id",
3990
- "name",
3991
- "caption",
3992
- "checked",
3993
- "defaultChecked",
3994
- "onChange",
3995
- "readOnly",
3996
- "disabled",
3997
- "children",
3998
- "aria-label"
3999
- ]);
4283
+ var _b = _a, { id, name, caption, readOnly = false, disabled = false, children, "aria-label": ariaLabel } = _b, props = __objRest(_b, ["id", "name", "caption", "readOnly", "disabled", "children", "aria-label"]);
4000
4284
  var _a2;
4001
- const [checked, setChecked] = React27.useState((_a2 = _checked != null ? _checked : defaultChecked) != null ? _a2 : false);
4002
- if (_checked !== void 0 && checked !== _checked) {
4003
- setChecked(_checked);
4004
- }
4005
- return !readOnly || checked ? /* @__PURE__ */ React27.createElement(ControlLabel, {
4285
+ const isChecked = (_a2 = props.checked) != null ? _a2 : props.defaultChecked;
4286
+ return !readOnly || isChecked ? /* @__PURE__ */ React27.createElement(ControlLabel, {
4006
4287
  htmlFor: id,
4007
4288
  label: children,
4008
4289
  "aria-label": ariaLabel,
@@ -4015,13 +4296,8 @@ var Checkbox2 = React27.forwardRef(
4015
4296
  ref,
4016
4297
  name
4017
4298
  }, props), {
4018
- checked,
4019
4299
  readOnly,
4020
- disabled,
4021
- onChange: (e) => {
4022
- setChecked(e.target.checked);
4023
- onChange == null ? void 0 : onChange(e);
4024
- }
4300
+ disabled
4025
4301
  }))) : null;
4026
4302
  }
4027
4303
  );
@@ -4040,14 +4316,95 @@ Checkbox2.Skeleton = CheckboxSkeleton;
4040
4316
  import React34, { useState as useState3 } from "react";
4041
4317
  import uniqueId from "lodash/uniqueId";
4042
4318
 
4319
+ // src/common/InputGroup/InputGroup.tsx
4320
+ import React29 from "react";
4321
+
4322
+ // src/components/Grid/Grid.tsx
4323
+ import React28 from "react";
4324
+ var Grid = Tailwindify(
4325
+ ({
4326
+ htmlTag = "div",
4327
+ className,
4328
+ style,
4329
+ children,
4330
+ display = "grid",
4331
+ justifyContent,
4332
+ alignContent,
4333
+ alignItems,
4334
+ justifyItems,
4335
+ placeContent,
4336
+ placeItems,
4337
+ cols = "12",
4338
+ rows,
4339
+ autoFlow,
4340
+ autoCols,
4341
+ autoRows,
4342
+ gap,
4343
+ colGap,
4344
+ rowGap,
4345
+ colSpan,
4346
+ colStart,
4347
+ colEnd,
4348
+ rowSpan,
4349
+ rowStart,
4350
+ rowEnd
4351
+ }) => {
4352
+ const hookStyle = useStyle({
4353
+ display,
4354
+ justifyContent,
4355
+ alignContent,
4356
+ alignItems,
4357
+ justifyItems,
4358
+ placeContent,
4359
+ placeItems,
4360
+ gridTemplateColumns: cols,
4361
+ gridTemplateRows: rows,
4362
+ gridAutoFlow: autoFlow,
4363
+ gridAutoColumns: autoCols,
4364
+ gridAutoRows: autoRows,
4365
+ gap,
4366
+ columnGap: colGap,
4367
+ rowGap,
4368
+ gridColumn: colSpan,
4369
+ gridColumnStart: colStart,
4370
+ gridColumnEnd: colEnd,
4371
+ gridRow: rowSpan,
4372
+ gridRowStart: rowStart,
4373
+ gridRowEnd: rowEnd
4374
+ });
4375
+ const HtmlElement = htmlTag;
4376
+ return /* @__PURE__ */ React28.createElement(HtmlElement, {
4377
+ style: __spreadValues(__spreadValues({}, hookStyle), style),
4378
+ className
4379
+ }, children);
4380
+ }
4381
+ );
4382
+
4383
+ // src/common/InputGroup/InputGroup.tsx
4384
+ var gridColumnStyles = {
4385
+ "1": "grid-cols-1",
4386
+ "2": "grid-cols-2",
4387
+ "3": "grid-cols-3",
4388
+ "auto": "auto-cols-fr"
4389
+ };
4390
+ var InputGroup = (_a) => {
4391
+ var _b = _a, { cols = "1", children } = _b, rest = __objRest(_b, ["cols", "children"]);
4392
+ return /* @__PURE__ */ React29.createElement(Grid, __spreadProps(__spreadValues({}, rest), {
4393
+ display: "inline-grid",
4394
+ colGap: "l4",
4395
+ rowGap: "3",
4396
+ cols: cols !== "auto" ? cols : void 0,
4397
+ className: gridColumnStyles[cols]
4398
+ }), children);
4399
+ };
4400
+
4043
4401
  // src/utils/form/Label/Label.tsx
4044
- import React31 from "react";
4045
- var import_questionMark = __toESM(require_questionMark());
4402
+ import React33 from "react";
4046
4403
 
4047
4404
  // src/utils/form/FormControl/FormControl.tsx
4048
- import React28 from "react";
4405
+ import React30 from "react";
4049
4406
  var FormControl = ({ className, inline, children }) => {
4050
- return /* @__PURE__ */ React28.createElement(Flexbox, {
4407
+ return /* @__PURE__ */ React30.createElement(Flexbox, {
4051
4408
  direction: "column",
4052
4409
  display: inline ? "inline-flex" : "flex",
4053
4410
  className
@@ -4055,23 +4412,23 @@ var FormControl = ({ className, inline, children }) => {
4055
4412
  };
4056
4413
 
4057
4414
  // src/utils/form/HelperText/HelperText.tsx
4058
- import React30 from "react";
4415
+ import React32 from "react";
4416
+ import classNames3 from "classnames";
4059
4417
  import isNumber3 from "lodash/isNumber";
4060
4418
 
4061
4419
  // src/utils/form/CharCounter/CharCounter.tsx
4062
- import React29 from "react";
4420
+ import React31 from "react";
4063
4421
  var CharCounter = ({ dense = true, length, maxLength, valid = true }) => {
4064
- return /* @__PURE__ */ React29.createElement("span", {
4422
+ return /* @__PURE__ */ React31.createElement("span", {
4065
4423
  className: tw(
4066
4424
  `whitespace-nowrap`,
4067
4425
  valid ? "text-grey-50" : "text-error-70",
4068
- dense ? "typography-caption-default" : "typography-body-small"
4426
+ dense ? "typography-caption" : "typography-small"
4069
4427
  )
4070
4428
  }, `${length} / ${maxLength}`);
4071
4429
  };
4072
4430
 
4073
4431
  // src/utils/form/HelperText/HelperText.tsx
4074
- import classNames3 from "classnames";
4075
4432
  var HelperText = ({
4076
4433
  messageId,
4077
4434
  error: error2 = false,
@@ -4084,39 +4441,40 @@ var HelperText = ({
4084
4441
  const hasMaxLength = isNumber3(maxLength) && maxLength > 0;
4085
4442
  const showMessage = hasError || hasMaxLength;
4086
4443
  if (!showMessage) {
4087
- return reserveSpaceForError ? /* @__PURE__ */ React30.createElement("p", {
4088
- className: tw("block mt-1 mb-3 typography-caption-default")
4444
+ return reserveSpaceForError ? /* @__PURE__ */ React32.createElement("p", {
4445
+ className: tw("block mt-1 mb-3 typography-caption")
4089
4446
  }, "\xA0") : null;
4090
4447
  }
4091
- return /* @__PURE__ */ React30.createElement(Grid, {
4448
+ return /* @__PURE__ */ React32.createElement(Grid, {
4092
4449
  cols: "1",
4093
4450
  rows: "1",
4094
4451
  colGap: "3",
4095
4452
  alignItems: "start",
4096
4453
  autoCols: "min",
4097
4454
  className: tw("mt-1 mb-3")
4098
- }, /* @__PURE__ */ React30.createElement(GridItem, {
4455
+ }, /* @__PURE__ */ React32.createElement(GridItem, {
4099
4456
  colStart: "1",
4100
4457
  colEnd: "2"
4101
- }, hasError && /* @__PURE__ */ React30.createElement("p", {
4458
+ }, hasError && /* @__PURE__ */ React32.createElement("p", {
4102
4459
  id: messageId,
4103
- className: tw("text-error-50 block typography-caption-default")
4104
- }, helperText)), /* @__PURE__ */ React30.createElement(GridItem, {
4460
+ className: tw("text-error-50 block typography-caption")
4461
+ }, helperText)), /* @__PURE__ */ React32.createElement(GridItem, {
4105
4462
  colStart: "2",
4106
4463
  colEnd: "3",
4107
4464
  display: "flex"
4108
- }, isNumber3(length) && hasMaxLength && /* @__PURE__ */ React30.createElement(CharCounter, {
4465
+ }, isNumber3(length) && hasMaxLength && /* @__PURE__ */ React32.createElement(CharCounter, {
4109
4466
  length,
4110
4467
  maxLength,
4111
4468
  valid: !error2
4112
4469
  })));
4113
4470
  };
4114
- var Skeleton2 = ({ className, children }) => /* @__PURE__ */ React30.createElement("div", {
4471
+ var Skeleton2 = ({ className, children }) => /* @__PURE__ */ React32.createElement("div", {
4115
4472
  className: classNames3(className, "h-[25px]")
4116
4473
  }, children);
4117
4474
  HelperText.Skeleton = Skeleton2;
4118
4475
 
4119
4476
  // src/utils/form/Label/Label.tsx
4477
+ var import_questionMark = __toESM(require_questionMark());
4120
4478
  var LabelText = ({
4121
4479
  variant = "default",
4122
4480
  labelText,
@@ -4124,35 +4482,35 @@ var LabelText = ({
4124
4482
  helpTooltip,
4125
4483
  helpTooltipPlacement
4126
4484
  }) => {
4127
- return /* @__PURE__ */ React31.createElement("span", {
4128
- className: tw("inline-block mb-2 font-medium typography-body-small", {
4485
+ return /* @__PURE__ */ React33.createElement("span", {
4486
+ className: tw("inline-block mb-2 typography-small-strong", {
4129
4487
  "text-grey-60": variant === "default",
4130
4488
  "text-error-50": variant === "error",
4131
4489
  "text-grey-40": variant === "disabled"
4132
4490
  })
4133
- }, labelText, required && /* @__PURE__ */ React31.createElement("span", {
4491
+ }, labelText, required && /* @__PURE__ */ React33.createElement("span", {
4134
4492
  className: tw("text-error-50")
4135
- }, "*"), helpTooltip && /* @__PURE__ */ React31.createElement(Tooltip, {
4493
+ }, "*"), helpTooltip && /* @__PURE__ */ React33.createElement(Tooltip, {
4136
4494
  content: helpTooltip,
4137
4495
  placement: helpTooltipPlacement
4138
- }, /* @__PURE__ */ React31.createElement("span", {
4496
+ }, /* @__PURE__ */ React33.createElement("span", {
4139
4497
  className: tw("text-grey-30 flex items-center cursor-pointer ml-2")
4140
- }, /* @__PURE__ */ React31.createElement(InlineIcon, {
4498
+ }, /* @__PURE__ */ React33.createElement(InlineIcon, {
4141
4499
  icon: import_questionMark.default,
4142
4500
  "data-testid": "icon-info"
4143
4501
  }))));
4144
4502
  };
4145
4503
  var Label = (props) => {
4146
4504
  const _a = props, { id, htmlFor, labelText, labelProps: _b = {} } = _a, labelProps = __objRest(_b, []), { "data-testid": dataTestid, children } = _a;
4147
- return /* @__PURE__ */ React31.createElement("label", __spreadValues({
4505
+ return /* @__PURE__ */ React33.createElement("label", __spreadValues({
4148
4506
  id,
4149
4507
  className: tw("w-full"),
4150
4508
  "data-testid": dataTestid,
4151
4509
  htmlFor
4152
- }, labelProps), labelText && /* @__PURE__ */ React31.createElement(LabelText, __spreadValues({}, props)), children);
4510
+ }, labelProps), labelText && /* @__PURE__ */ React33.createElement(LabelText, __spreadValues({}, props)), children);
4153
4511
  };
4154
4512
  var LabelSkeleton = () => {
4155
- return /* @__PURE__ */ React31.createElement(Skeleton, {
4513
+ return /* @__PURE__ */ React33.createElement(Skeleton, {
4156
4514
  height: 20,
4157
4515
  width: 100,
4158
4516
  className: tw("mb-[7px]")
@@ -4185,15 +4543,15 @@ var LabelControl = (_a) => {
4185
4543
  ]);
4186
4544
  const legacyError = error2 !== void 0 && valid === false;
4187
4545
  const variant = !valid || legacyError ? "error" : disabled ? "disabled" : "default";
4188
- return /* @__PURE__ */ React31.createElement(FormControl, null, !fieldset && /* @__PURE__ */ React31.createElement(Label, __spreadProps(__spreadValues({}, rest), {
4546
+ return /* @__PURE__ */ React33.createElement(FormControl, null, !fieldset && /* @__PURE__ */ React33.createElement(Label, __spreadProps(__spreadValues({}, rest), {
4189
4547
  variant
4190
- }), children), fieldset && /* @__PURE__ */ React31.createElement("fieldset", {
4548
+ }), children), fieldset && /* @__PURE__ */ React33.createElement("fieldset", {
4191
4549
  id: rest.id
4192
- }, /* @__PURE__ */ React31.createElement("legend", {
4550
+ }, /* @__PURE__ */ React33.createElement("legend", {
4193
4551
  className: tw("w-full mb-2")
4194
- }, /* @__PURE__ */ React31.createElement(LabelText, __spreadProps(__spreadValues({}, rest), {
4552
+ }, /* @__PURE__ */ React33.createElement(LabelText, __spreadProps(__spreadValues({}, rest), {
4195
4553
  variant
4196
- }))), children), /* @__PURE__ */ React31.createElement(HelperText, {
4554
+ }))), children), /* @__PURE__ */ React33.createElement(HelperText, {
4197
4555
  messageId,
4198
4556
  error: !valid,
4199
4557
  helperText,
@@ -4202,7 +4560,7 @@ var LabelControl = (_a) => {
4202
4560
  reserveSpaceForError
4203
4561
  }));
4204
4562
  };
4205
- var LabelControlSkeleton = ({ children }) => /* @__PURE__ */ React31.createElement("div", null, /* @__PURE__ */ React31.createElement(Label.Skeleton, null), children, /* @__PURE__ */ React31.createElement(HelperText.Skeleton, null));
4563
+ var LabelControlSkeleton = ({ children }) => /* @__PURE__ */ React33.createElement("div", null, /* @__PURE__ */ React33.createElement(Label.Skeleton, null), children, /* @__PURE__ */ React33.createElement(HelperText.Skeleton, null));
4206
4564
  LabelControl.Skeleton = LabelControlSkeleton;
4207
4565
  var getLabelControlProps = (_a) => {
4208
4566
  var _b = _a, {
@@ -4236,88 +4594,6 @@ var getLabelControlProps = (_a) => {
4236
4594
  };
4237
4595
  };
4238
4596
 
4239
- // src/common/InputGroup/InputGroup.tsx
4240
- import React33 from "react";
4241
-
4242
- // src/components/Grid/Grid.tsx
4243
- import React32 from "react";
4244
- var Grid = Tailwindify(
4245
- ({
4246
- htmlTag = "div",
4247
- className,
4248
- style,
4249
- children,
4250
- display = "grid",
4251
- justifyContent,
4252
- alignContent,
4253
- alignItems,
4254
- justifyItems,
4255
- placeContent,
4256
- placeItems,
4257
- cols = "12",
4258
- rows,
4259
- autoFlow,
4260
- autoCols,
4261
- autoRows,
4262
- gap,
4263
- colGap,
4264
- rowGap,
4265
- colSpan,
4266
- colStart,
4267
- colEnd,
4268
- rowSpan,
4269
- rowStart,
4270
- rowEnd
4271
- }) => {
4272
- const hookStyle = useStyle({
4273
- display,
4274
- justifyContent,
4275
- alignContent,
4276
- alignItems,
4277
- justifyItems,
4278
- placeContent,
4279
- placeItems,
4280
- gridTemplateColumns: cols,
4281
- gridTemplateRows: rows,
4282
- gridAutoFlow: autoFlow,
4283
- gridAutoColumns: autoCols,
4284
- gridAutoRows: autoRows,
4285
- gap,
4286
- columnGap: colGap,
4287
- rowGap,
4288
- gridColumn: colSpan,
4289
- gridColumnStart: colStart,
4290
- gridColumnEnd: colEnd,
4291
- gridRow: rowSpan,
4292
- gridRowStart: rowStart,
4293
- gridRowEnd: rowEnd
4294
- });
4295
- const HtmlElement = htmlTag;
4296
- return /* @__PURE__ */ React32.createElement(HtmlElement, {
4297
- style: __spreadValues(__spreadValues({}, hookStyle), style),
4298
- className
4299
- }, children);
4300
- }
4301
- );
4302
-
4303
- // src/common/InputGroup/InputGroup.tsx
4304
- var gridColumnStyles = {
4305
- "1": "grid-cols-1",
4306
- "2": "grid-cols-2",
4307
- "3": "grid-cols-3",
4308
- "auto": "auto-cols-fr"
4309
- };
4310
- var InputGroup = (_a) => {
4311
- var _b = _a, { cols = "1", children } = _b, rest = __objRest(_b, ["cols", "children"]);
4312
- return /* @__PURE__ */ React33.createElement(Grid, __spreadProps(__spreadValues({}, rest), {
4313
- display: "inline-grid",
4314
- colGap: "l4",
4315
- rowGap: "3",
4316
- cols: cols !== "auto" ? cols : void 0,
4317
- className: gridColumnStyles[cols]
4318
- }), children);
4319
- };
4320
-
4321
4597
  // src/components/CheckboxGroup/CheckboxGroup.tsx
4322
4598
  var isCheckbox = (c) => {
4323
4599
  return React34.isValidElement(c) && c.type === Checkbox2;
@@ -4404,20 +4680,20 @@ var ChoiceChip = (_a) => {
4404
4680
  className: tw("inline-flex items-center border rounded-sm transition whitespace-nowrap cursor-pointer", {
4405
4681
  "bg-white border-grey-20 text-grey-60": !selected,
4406
4682
  "bg-grey-0 border-grey-100 text-grey-100": selected,
4407
- "typography-body-small py-2 px-3 gap-x-3": !dense,
4408
- "typography-caption-default py-1 px-2 gap-x-2": Boolean(dense)
4683
+ "typography-small py-2 px-3 gap-x-3": !dense,
4684
+ "typography-caption py-1 px-2 gap-x-2": Boolean(dense)
4409
4685
  }),
4410
4686
  onClick: handleClick
4411
4687
  }), text);
4412
4688
  };
4413
4689
 
4414
4690
  // src/components/Combobox/Combobox.tsx
4415
- import React38, { useState as useState5, useEffect as useEffect4, useRef as useRef3 } from "react";
4691
+ import React38, { useEffect as useEffect4, useRef as useRef3, useState as useState5 } from "react";
4692
+ import { useOverlayPosition as useOverlayPosition2 } from "@react-aria/overlays";
4416
4693
  import { useCombobox } from "downshift";
4417
- import { matchSorter } from "match-sorter";
4418
- import uniqueId2 from "lodash/uniqueId";
4419
4694
  import omit5 from "lodash/omit";
4420
- import { useOverlayPosition as useOverlayPosition2 } from "@react-aria/overlays";
4695
+ import uniqueId2 from "lodash/uniqueId";
4696
+ import { matchSorter } from "match-sorter";
4421
4697
 
4422
4698
  // src/components/Popover/PopoverWrapper.tsx
4423
4699
  import React37 from "react";
@@ -4670,91 +4946,111 @@ Combobox.Skeleton = () => /* @__PURE__ */ React38.createElement(LabelControl.Ske
4670
4946
 
4671
4947
  // src/components/DataList/DataList.tsx
4672
4948
  import React44 from "react";
4949
+ import orderBy2 from "lodash/orderBy";
4673
4950
 
4674
- // src/utils/table/types.ts
4675
- var toSortDirection = (direction) => direction === "ascending" ? "asc" : direction === "descending" ? "desc" : false;
4676
- var cellProps = (column) => ({
4677
- key: column.headerName,
4678
- align: column.type === "number" || column.type === "action" ? "right" : "left"
4679
- });
4951
+ // src/components/Template/Template.tsx
4952
+ import React39 from "react";
4953
+ var Template = ({
4954
+ children,
4955
+ columns,
4956
+ alignSelf,
4957
+ alignContent,
4958
+ alignItems,
4959
+ justifySelf,
4960
+ gap,
4961
+ columnGap,
4962
+ rowGap,
4963
+ fullHeight
4964
+ }) => {
4965
+ const gridTemplateColumns = typeof columns === "number" ? "1fr ".repeat(columns) : columns.map((column) => typeof column === "number" ? `${column}px` : column === "auto" ? column : `${column}fr`).join(" ");
4966
+ const styles = useStyle({
4967
+ height: fullHeight ? "100%" : void 0,
4968
+ display: "grid",
4969
+ gridTemplateColumns,
4970
+ alignSelf,
4971
+ alignContent,
4972
+ alignItems,
4973
+ justifySelf,
4974
+ gap,
4975
+ rowGap,
4976
+ columnGap
4977
+ });
4978
+ return /* @__PURE__ */ React39.createElement("div", {
4979
+ style: __spreadValues({}, styles)
4980
+ }, children);
4981
+ };
4680
4982
 
4681
4983
  // src/common/DataList/DataList.tsx
4682
- import React41 from "react";
4984
+ import React42 from "react";
4683
4985
 
4684
4986
  // src/common/Table/Table.tsx
4685
- import React40 from "react";
4987
+ import React41 from "react";
4686
4988
 
4687
4989
  // src/common/RadioButton/RadioButton.tsx
4688
- import React39 from "react";
4689
- var RadioButton = React39.forwardRef(
4990
+ import React40 from "react";
4991
+ var RadioButton = React40.forwardRef(
4690
4992
  (_a, ref) => {
4691
- var _b = _a, { id, children, name, checked = false, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "checked", "disabled", "readOnly"]);
4692
- return /* @__PURE__ */ React39.createElement("span", {
4693
- className: classNames(
4694
- tw("inline-flex justify-center items-center relative self-center", {
4695
- "text-grey-30": disabled,
4696
- "text-grey-100": !disabled
4697
- })
4698
- )
4699
- }, /* @__PURE__ */ React39.createElement("input", __spreadProps(__spreadValues({
4993
+ var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
4994
+ return /* @__PURE__ */ React40.createElement("span", {
4995
+ className: classNames(tw("inline-flex justify-center items-center relative self-center"))
4996
+ }, /* @__PURE__ */ React40.createElement("input", __spreadProps(__spreadValues({
4700
4997
  id,
4701
4998
  ref,
4702
4999
  type: "radio",
4703
5000
  name
4704
5001
  }, props), {
4705
- checked,
4706
- className: classNames(
4707
- tw("appearance-none rounded-full border cursor-pointer"),
4708
- {
4709
- "border-grey-20 hover:border-grey-50 focus:border-info-70": !disabled && !checked,
4710
- "border-navyBlue-100": !disabled && checked,
4711
- "border-grey-5": disabled
4712
- },
4713
- props.className
4714
- ),
4715
- style: __spreadValues({ width: 16, height: 16 }, props.style),
5002
+ className: tw("opacity-0 peer/radio w-0 h-0"),
4716
5003
  readOnly,
4717
5004
  disabled
4718
- })), /* @__PURE__ */ React39.createElement("span", {
5005
+ })), /* @__PURE__ */ React40.createElement("span", {
5006
+ className: tw(
5007
+ "rounded-full w-5 h-5 p-[3px] border cursor-pointer",
5008
+ "border-grey-20 peer-focus/radio:border-info-70",
5009
+ "peer-checked/radio:[&>*]:block",
5010
+ {
5011
+ "peer-checked/radio:border-navyBlue-100 peer-hover/radio:border-grey-50": !disabled,
5012
+ "border-grey-5 peer-checked/radio:[&>*]:opacity-40": disabled
5013
+ }
5014
+ )
5015
+ }, /* @__PURE__ */ React40.createElement("span", {
4719
5016
  style: { backgroundColor: "currentcolor" },
4720
- className: tw("absolute w-3 h-3 rounded-full bg-navyBlue-100 pointer-events-none", {
4721
- "opacity-0": !checked,
4722
- "opacity-40": disabled && checked
5017
+ className: tw("w-3 h-3 rounded-full hidden bg-navyBlue-100 pointer-events-none", {
5018
+ "peer-checked/radio:opacity-40": disabled
4723
5019
  })
4724
- }));
5020
+ })));
4725
5021
  }
4726
5022
  );
4727
5023
 
4728
5024
  // src/common/Table/Table.tsx
4729
- var import_chevronUp2 = __toESM(require_chevronUp());
4730
5025
  var import_chevronDown3 = __toESM(require_chevronDown());
4731
- var HeadContext = React40.createContext(null);
4732
- var tableClassNames = tw("w-full relative typography-body-default border-spacing-0");
5026
+ var import_chevronUp2 = __toESM(require_chevronUp());
5027
+ var HeadContext = React41.createContext(null);
5028
+ var tableClassNames = tw("w-full relative typography-default border-spacing-0");
4733
5029
  var Table = (_a) => {
4734
5030
  var _b = _a, { children, ariaLabel, className } = _b, rest = __objRest(_b, ["children", "ariaLabel", "className"]);
4735
- return /* @__PURE__ */ React40.createElement("table", __spreadProps(__spreadValues({}, rest), {
5031
+ return /* @__PURE__ */ React41.createElement("table", __spreadProps(__spreadValues({}, rest), {
4736
5032
  className: classNames(tableClassNames, className),
4737
5033
  "aria-label": ariaLabel
4738
5034
  }), children);
4739
5035
  };
4740
5036
  var TableHead = (_a) => {
4741
5037
  var _b = _a, { children, sticky } = _b, rest = __objRest(_b, ["children", "sticky"]);
4742
- return /* @__PURE__ */ React40.createElement("thead", __spreadValues({}, rest), /* @__PURE__ */ React40.createElement("tr", null, /* @__PURE__ */ React40.createElement(HeadContext.Provider, {
5038
+ return /* @__PURE__ */ React41.createElement("thead", __spreadValues({}, rest), /* @__PURE__ */ React41.createElement("tr", null, /* @__PURE__ */ React41.createElement(HeadContext.Provider, {
4743
5039
  value: { children, sticky }
4744
5040
  }, children)));
4745
5041
  };
4746
5042
  var TableBody = (_a) => {
4747
5043
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
4748
- return /* @__PURE__ */ React40.createElement("tbody", __spreadValues({}, rest), children);
5044
+ return /* @__PURE__ */ React41.createElement("tbody", __spreadValues({}, rest), children);
4749
5045
  };
4750
5046
  var rowClassNames = tw("children:border-grey-10 children:last:border-b-0 hover:bg-grey-0");
4751
5047
  var TableRow = (_a) => {
4752
5048
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
4753
- return /* @__PURE__ */ React40.createElement("tr", __spreadProps(__spreadValues({}, rest), {
5049
+ return /* @__PURE__ */ React41.createElement("tr", __spreadProps(__spreadValues({}, rest), {
4754
5050
  className: classNames(rowClassNames, className)
4755
5051
  }), children);
4756
5052
  };
4757
- var cellClassNames = tw("px-4 border-b typography-body-small leading-[18px]");
5053
+ var cellClassNames = tw("px-4 border-b typography-small leading-[18px]");
4758
5054
  var getBodyCellClassNames = (table = true) => tw("text-grey-70 py-3", {
4759
5055
  "h-[50px]": table,
4760
5056
  "min-h-[50px]": !table
@@ -4766,25 +5062,25 @@ var getHeadCellClassNames = (sticky = true) => {
4766
5062
  };
4767
5063
  var TableCell = (_a) => {
4768
5064
  var _b = _a, { children, className, align = "left" } = _b, rest = __objRest(_b, ["children", "className", "align"]);
4769
- const headContext = React40.useContext(HeadContext);
4770
- return headContext ? /* @__PURE__ */ React40.createElement("th", __spreadProps(__spreadValues({}, rest), {
5065
+ const headContext = React41.useContext(HeadContext);
5066
+ return headContext ? /* @__PURE__ */ React41.createElement("th", __spreadProps(__spreadValues({}, rest), {
4771
5067
  className: classNames(
4772
5068
  cellClassNames,
4773
5069
  getHeadCellClassNames(headContext.sticky),
4774
5070
  getAlignClassNames(align),
4775
5071
  className
4776
5072
  )
4777
- }), children) : /* @__PURE__ */ React40.createElement("td", __spreadProps(__spreadValues({}, rest), {
5073
+ }), children) : /* @__PURE__ */ React41.createElement("td", __spreadProps(__spreadValues({}, rest), {
4778
5074
  className: classNames(cellClassNames, getBodyCellClassNames(), getAlignClassNames(align), className)
4779
5075
  }), children);
4780
5076
  };
4781
5077
  var TableSelectCell = (_a) => {
4782
5078
  var _b = _a, { ariaLabel } = _b, props = __objRest(_b, ["ariaLabel"]);
4783
- return /* @__PURE__ */ React40.createElement(Table.Cell, {
5079
+ return /* @__PURE__ */ React41.createElement(Table.Cell, {
4784
5080
  className: tw("leading-[0px]")
4785
- }, props.type === "radio" ? /* @__PURE__ */ React40.createElement(RadioButton, __spreadValues({
5081
+ }, props.type === "radio" ? /* @__PURE__ */ React41.createElement(RadioButton, __spreadValues({
4786
5082
  "aria-label": ariaLabel
4787
- }, props)) : /* @__PURE__ */ React40.createElement(Checkbox, __spreadValues({
5083
+ }, props)) : /* @__PURE__ */ React41.createElement(Checkbox, __spreadValues({
4788
5084
  "aria-label": ariaLabel
4789
5085
  }, props)));
4790
5086
  };
@@ -4794,43 +5090,43 @@ var getSortCellIconClassNames = (active) => {
4794
5090
  };
4795
5091
  var TableSortCell = (_a) => {
4796
5092
  var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
4797
- return /* @__PURE__ */ React40.createElement(Table.Cell, __spreadProps(__spreadValues({}, rest), {
5093
+ return /* @__PURE__ */ React41.createElement(Table.Cell, __spreadProps(__spreadValues({}, rest), {
4798
5094
  "aria-sort": direction
4799
- }), /* @__PURE__ */ React40.createElement("span", {
5095
+ }), /* @__PURE__ */ React41.createElement("span", {
4800
5096
  className: getSortCellButtonClassNames(rest.align),
4801
5097
  role: "button",
4802
5098
  tabIndex: -1,
4803
5099
  onClick
4804
- }, children, /* @__PURE__ */ React40.createElement("div", {
5100
+ }, children, /* @__PURE__ */ React41.createElement("div", {
4805
5101
  "data-sort-icons": true,
4806
5102
  className: tw("flex flex-col", {
4807
5103
  "invisible group-hover:visible": direction === "none"
4808
5104
  })
4809
- }, /* @__PURE__ */ React40.createElement(InlineIcon, {
5105
+ }, /* @__PURE__ */ React41.createElement(InlineIcon, {
4810
5106
  icon: import_chevronUp2.default,
4811
5107
  className: getSortCellIconClassNames(direction === "descending")
4812
- }), /* @__PURE__ */ React40.createElement(InlineIcon, {
5108
+ }), /* @__PURE__ */ React41.createElement(InlineIcon, {
4813
5109
  icon: import_chevronDown3.default,
4814
5110
  className: getSortCellIconClassNames(direction === "ascending")
4815
5111
  }))));
4816
5112
  };
4817
- var Item2 = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */ React40.createElement("div", {
5113
+ var Item2 = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */ React41.createElement("div", {
4818
5114
  className: tw("flex gap-4 items-center")
4819
- }, image && /* @__PURE__ */ React40.createElement("img", {
5115
+ }, image && /* @__PURE__ */ React41.createElement("img", {
4820
5116
  src: image,
4821
5117
  alt: imageAlt,
4822
5118
  style: { width: imageSize, height: imageSize }
4823
- }), /* @__PURE__ */ React40.createElement("div", null, title, caption && /* @__PURE__ */ React40.createElement(Typography2.Caption, null, caption)));
4824
- Table.Head = React40.memo(TableHead);
4825
- Table.Body = React40.memo(TableBody);
4826
- Table.Row = React40.memo(TableRow);
4827
- Table.Cell = React40.memo(TableCell);
4828
- Table.SortCell = React40.memo(TableSortCell);
4829
- Table.SelectCell = React40.memo(TableSelectCell);
5119
+ }), /* @__PURE__ */ React41.createElement("div", null, title, caption && /* @__PURE__ */ React41.createElement(Typography2.Caption, null, caption)));
5120
+ Table.Head = React41.memo(TableHead);
5121
+ Table.Body = React41.memo(TableBody);
5122
+ Table.Row = React41.memo(TableRow);
5123
+ Table.Cell = React41.memo(TableCell);
5124
+ Table.SortCell = React41.memo(TableSortCell);
5125
+ Table.SelectCell = React41.memo(TableSelectCell);
4830
5126
 
4831
5127
  // src/common/DataList/DataList.tsx
4832
- var import_chevronUp3 = __toESM(require_chevronUp());
4833
5128
  var import_chevronDown4 = __toESM(require_chevronDown());
5129
+ var import_chevronUp3 = __toESM(require_chevronUp());
4834
5130
  var getAlignClassNames2 = (align) => tw("flex items-center", {
4835
5131
  "justify-end": align === "right",
4836
5132
  "justify-center": align === "center",
@@ -4838,7 +5134,7 @@ var getAlignClassNames2 = (align) => tw("flex items-center", {
4838
5134
  });
4839
5135
  var DataList = (_a) => {
4840
5136
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
4841
- return /* @__PURE__ */ React41.createElement("div", __spreadValues({}, rest));
5137
+ return /* @__PURE__ */ React42.createElement("div", __spreadValues({}, rest));
4842
5138
  };
4843
5139
  var HeadCell = (_a) => {
4844
5140
  var _b = _a, {
@@ -4850,14 +5146,14 @@ var HeadCell = (_a) => {
4850
5146
  "sticky",
4851
5147
  "align"
4852
5148
  ]);
4853
- return /* @__PURE__ */ React41.createElement("div", __spreadProps(__spreadValues({}, rest), {
5149
+ return /* @__PURE__ */ React42.createElement("div", __spreadProps(__spreadValues({}, rest), {
4854
5150
  role: "cell",
4855
5151
  className: classNames(cellClassNames, getHeadCellClassNames(sticky), getAlignClassNames2(align), className)
4856
5152
  }));
4857
5153
  };
4858
5154
  var Cell = (_a) => {
4859
5155
  var _b = _a, { className, align } = _b, rest = __objRest(_b, ["className", "align"]);
4860
- return /* @__PURE__ */ React41.createElement("div", __spreadProps(__spreadValues({}, rest), {
5156
+ return /* @__PURE__ */ React42.createElement("div", __spreadProps(__spreadValues({}, rest), {
4861
5157
  role: "cell",
4862
5158
  className: classNames(
4863
5159
  cellClassNames,
@@ -4870,30 +5166,30 @@ var Cell = (_a) => {
4870
5166
  };
4871
5167
  var Row = (_a) => {
4872
5168
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
4873
- return /* @__PURE__ */ React41.createElement("div", __spreadProps(__spreadValues({}, rest), {
5169
+ return /* @__PURE__ */ React42.createElement("div", __spreadProps(__spreadValues({}, rest), {
4874
5170
  className: classNames(tw("contents group"), className),
4875
5171
  role: "row"
4876
5172
  }));
4877
5173
  };
4878
5174
  var SortCell = (_a) => {
4879
5175
  var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
4880
- return /* @__PURE__ */ React41.createElement(HeadCell, __spreadProps(__spreadValues({}, rest), {
5176
+ return /* @__PURE__ */ React42.createElement(HeadCell, __spreadProps(__spreadValues({}, rest), {
4881
5177
  "aria-sort": direction,
4882
5178
  role: "cell"
4883
- }), /* @__PURE__ */ React41.createElement("span", {
5179
+ }), /* @__PURE__ */ React42.createElement("span", {
4884
5180
  className: getSortCellButtonClassNames(rest.align),
4885
5181
  role: "button",
4886
5182
  tabIndex: -1,
4887
5183
  onClick
4888
- }, children, /* @__PURE__ */ React41.createElement("div", {
5184
+ }, children, /* @__PURE__ */ React42.createElement("div", {
4889
5185
  "data-sort-icons": true,
4890
5186
  className: tw("flex flex-col", {
4891
5187
  "invisible group-hover:visible": direction === "none"
4892
5188
  })
4893
- }, /* @__PURE__ */ React41.createElement(InlineIcon, {
5189
+ }, /* @__PURE__ */ React42.createElement(InlineIcon, {
4894
5190
  icon: import_chevronUp3.default,
4895
5191
  className: getSortCellIconClassNames(direction === "descending")
4896
- }), /* @__PURE__ */ React41.createElement(InlineIcon, {
5192
+ }), /* @__PURE__ */ React42.createElement(InlineIcon, {
4897
5193
  icon: import_chevronDown4.default,
4898
5194
  className: getSortCellIconClassNames(direction === "ascending")
4899
5195
  }))));
@@ -4903,38 +5199,6 @@ DataList.SortCell = SortCell;
4903
5199
  DataList.Cell = Cell;
4904
5200
  DataList.Row = Row;
4905
5201
 
4906
- // src/components/Template/Template.tsx
4907
- import React42 from "react";
4908
- var Template = ({
4909
- children,
4910
- columns,
4911
- alignSelf,
4912
- alignContent,
4913
- alignItems,
4914
- justifySelf,
4915
- gap,
4916
- columnGap,
4917
- rowGap,
4918
- fullHeight
4919
- }) => {
4920
- const gridTemplateColumns = typeof columns === "number" ? "1fr ".repeat(columns) : columns.map((column) => typeof column === "number" ? `${column}px` : column === "auto" ? column : `${column}fr`).join(" ");
4921
- const styles = useStyle({
4922
- height: fullHeight ? "100%" : void 0,
4923
- display: "grid",
4924
- gridTemplateColumns,
4925
- alignSelf,
4926
- alignContent,
4927
- alignItems,
4928
- justifySelf,
4929
- gap,
4930
- rowGap,
4931
- columnGap
4932
- });
4933
- return /* @__PURE__ */ React42.createElement("div", {
4934
- style: __spreadValues({}, styles)
4935
- }, children);
4936
- };
4937
-
4938
5202
  // src/utils/object.ts
4939
5203
  var renameProperty = (oldProp, newProp, _a) => {
4940
5204
  var _b = _a, { [oldProp]: oldValue } = _b, rest = __objRest(_b, [__restKey(oldProp)]);
@@ -4943,8 +5207,12 @@ var renameProperty = (oldProp, newProp, _a) => {
4943
5207
  }, rest);
4944
5208
  };
4945
5209
 
4946
- // src/components/DataList/DataList.tsx
4947
- import orderBy2 from "lodash/orderBy";
5210
+ // src/utils/table/types.ts
5211
+ var toSortDirection = (direction) => direction === "ascending" ? "asc" : direction === "descending" ? "desc" : false;
5212
+ var cellProps = (column) => ({
5213
+ key: column.headerName,
5214
+ align: column.type === "number" || column.type === "action" ? "right" : "left"
5215
+ });
4948
5216
 
4949
5217
  // src/utils/table/useTableSort.tsx
4950
5218
  import React43 from "react";
@@ -4996,6 +5264,7 @@ var DataList2 = ({ columns, rows }) => {
4996
5264
 
4997
5265
  // src/components/DataTable/DataTable.tsx
4998
5266
  import React47 from "react";
5267
+ import orderBy3 from "lodash/orderBy";
4999
5268
 
5000
5269
  // src/components/Table/Table.tsx
5001
5270
  import React46 from "react";
@@ -5040,7 +5309,6 @@ Table2.SortCell = Table.SortCell;
5040
5309
  Table2.SelectCell = Table.SelectCell;
5041
5310
 
5042
5311
  // src/components/DataTable/DataTable.tsx
5043
- import orderBy3 from "lodash/orderBy";
5044
5312
  var DataTable = (_a) => {
5045
5313
  var _b = _a, {
5046
5314
  columns,
@@ -5086,12 +5354,31 @@ var DataTable = (_a) => {
5086
5354
 
5087
5355
  // src/components/Dialog/Dialog.tsx
5088
5356
  import React49 from "react";
5089
- import omit6 from "lodash/omit";
5090
- import { Overlay, useModalOverlay } from "@react-aria/overlays";
5091
5357
  import { useDialog } from "@react-aria/dialog";
5092
5358
  import { FocusScope as FocusScope2 } from "@react-aria/focus";
5359
+ import { Overlay, useModalOverlay } from "@react-aria/overlays";
5093
5360
  import { useId } from "@react-aria/utils";
5094
5361
  import { useOverlayTriggerState as useOverlayTriggerState2 } from "@react-stately/overlays";
5362
+ import omit6 from "lodash/omit";
5363
+
5364
+ // src/common/Dialog/Dialog.tsx
5365
+ var import_confirm2 = __toESM(require_confirm());
5366
+ var import_error2 = __toESM(require_error());
5367
+ var import_warningSign2 = __toESM(require_warningSign());
5368
+ var DIALOG_ICONS_AND_COLORS = {
5369
+ confirmation: {
5370
+ icon: import_confirm2.default,
5371
+ color: "info-70"
5372
+ },
5373
+ warning: {
5374
+ icon: import_warningSign2.default,
5375
+ color: "secondary-70"
5376
+ },
5377
+ danger: {
5378
+ icon: import_error2.default,
5379
+ color: "error-70"
5380
+ }
5381
+ };
5095
5382
 
5096
5383
  // src/common/Modal/Modal.tsx
5097
5384
  import React48 from "react";
@@ -5118,7 +5405,7 @@ Modal.Dialog = React48.forwardRef(
5118
5405
  "aria-modal": "true"
5119
5406
  }, rest), {
5120
5407
  className: classNames(
5121
- tw("bg-white rounded mx-7 w-full max-h-full flex flex-col"),
5408
+ tw("relative bg-white rounded mx-7 w-full max-h-full flex flex-col"),
5122
5409
  {
5123
5410
  "max-w-[600px]": size === "sm",
5124
5411
  "max-w-[940px]": size === "md",
@@ -5135,11 +5422,29 @@ Modal.Header = (_a) => {
5135
5422
  className: classNames(tw("px-7 py-6 gap-3 flex items-center"), className)
5136
5423
  }), children);
5137
5424
  };
5425
+ Modal.HeaderImage = (_a) => {
5426
+ var _b = _a, { backgroundImage, className } = _b, rest = __objRest(_b, ["backgroundImage", "className"]);
5427
+ const common = tw("h-[120px] min-h-[120px] w-full ");
5428
+ return backgroundImage ? /* @__PURE__ */ React48.createElement("img", __spreadProps(__spreadValues({
5429
+ "aria-hidden": true,
5430
+ src: backgroundImage != null ? backgroundImage : void 0
5431
+ }, rest), {
5432
+ className: classNames(common, tw("object-cover"), className)
5433
+ })) : /* @__PURE__ */ React48.createElement("div", {
5434
+ className: classNames(common, tw("bg-grey-5"), className)
5435
+ });
5436
+ };
5437
+ Modal.CloseButtonContainer = (_a) => {
5438
+ var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
5439
+ return /* @__PURE__ */ React48.createElement("div", __spreadProps(__spreadValues({}, rest), {
5440
+ className: classNames(tw("absolute top-[20px] right-[28px]"), className)
5441
+ }));
5442
+ };
5138
5443
  Modal.Title = (_a) => {
5139
5444
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
5140
5445
  return /* @__PURE__ */ React48.createElement(Typography, __spreadValues({
5141
5446
  htmlTag: "h2",
5142
- variant: "heading-large",
5447
+ variant: "subheading",
5143
5448
  color: "grey-90",
5144
5449
  className: classNames(tw("leading-none"), className)
5145
5450
  }, rest), children);
@@ -5147,7 +5452,7 @@ Modal.Title = (_a) => {
5147
5452
  Modal.Subtitle = (_a) => {
5148
5453
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
5149
5454
  return /* @__PURE__ */ React48.createElement(Typography, __spreadValues({
5150
- variant: "body-small",
5455
+ variant: "small",
5151
5456
  color: "grey-60"
5152
5457
  }, rest), children);
5153
5458
  };
@@ -5177,25 +5482,6 @@ Modal.Actions = (_a) => {
5177
5482
  }), children);
5178
5483
  };
5179
5484
 
5180
- // src/common/Dialog/Dialog.tsx
5181
- var import_confirm2 = __toESM(require_confirm());
5182
- var import_warningSign2 = __toESM(require_warningSign());
5183
- var import_error2 = __toESM(require_error());
5184
- var DIALOG_ICONS_AND_COLORS = {
5185
- confirmation: {
5186
- icon: import_confirm2.default,
5187
- color: "info-70"
5188
- },
5189
- warning: {
5190
- icon: import_warningSign2.default,
5191
- color: "secondary-70"
5192
- },
5193
- danger: {
5194
- icon: import_error2.default,
5195
- color: "error-70"
5196
- }
5197
- };
5198
-
5199
5485
  // src/components/Dialog/Dialog.tsx
5200
5486
  var Dialog = ({
5201
5487
  title,
@@ -5232,7 +5518,7 @@ var Dialog = ({
5232
5518
  fontSize: 20
5233
5519
  }), /* @__PURE__ */ React49.createElement(Modal.Title, {
5234
5520
  id: labelledBy,
5235
- variant: "body-large",
5521
+ variant: "large-strong",
5236
5522
  color: DIALOG_ICONS_AND_COLORS[type].color
5237
5523
  }, title)), /* @__PURE__ */ React49.createElement(Modal.Body, {
5238
5524
  id: describedBy
@@ -5279,7 +5565,7 @@ import React52 from "react";
5279
5565
 
5280
5566
  // src/components/Popover/Popover.tsx
5281
5567
  import React51, { useRef as useRef4 } from "react";
5282
- import { usePress, PressResponder } from "@react-aria/interactions";
5568
+ import { PressResponder, usePress } from "@react-aria/interactions";
5283
5569
  import { useOverlayPosition as useOverlayPosition3, useOverlayTrigger } from "@react-aria/overlays";
5284
5570
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
5285
5571
  import { useOverlayTriggerState as useOverlayTriggerState3 } from "@react-stately/overlays";
@@ -5422,7 +5708,7 @@ var DropdownMenu = ({
5422
5708
  style: { minWidth: "250px" },
5423
5709
  className: tw("py-3 bg-white")
5424
5710
  }, !!title && /* @__PURE__ */ React52.createElement("div", {
5425
- className: tw("px-4 py-4 text-left text-grey-100 typography-body-default-medium font-semibold")
5711
+ className: tw("px-4 py-4 text-left text-grey-100 typography-default-strong")
5426
5712
  }, title), /* @__PURE__ */ React52.createElement("ol", {
5427
5713
  role: "menu",
5428
5714
  ref: menuRef,
@@ -5453,167 +5739,81 @@ var DropdownItem = (_a) => {
5453
5739
  const { state } = usePopoverContext();
5454
5740
  const handleSelect = () => {
5455
5741
  onSelect == null ? void 0 : onSelect();
5456
- state.close();
5457
- setClose();
5458
- };
5459
- const handleKeyDown = (event) => {
5460
- const target = event.target;
5461
- const parent = target.parentElement;
5462
- const first = parent.firstChild;
5463
- const last = parent.lastChild;
5464
- const next = target.nextElementSibling;
5465
- const prev = target.previousElementSibling;
5466
- if (event.key === "ArrowUp") {
5467
- prev ? prev.focus() : last.focus();
5468
- } else if (event.key === "ArrowDown") {
5469
- next ? next.focus() : first.focus();
5470
- } else if (event.key === "Tab") {
5471
- event.preventDefault();
5472
- event.stopPropagation();
5473
- } else if (event.key === "Home" || event.key === "PageUp") {
5474
- first.focus();
5475
- } else if (event.key === "End" || event.key === "PageDown") {
5476
- last.focus();
5477
- } else if (event.key === "Enter") {
5478
- !disabled && handleSelect();
5479
- }
5480
- };
5481
- const handleClick = (e) => {
5482
- e.stopPropagation();
5483
- if (!disabled) {
5484
- handleSelect();
5485
- }
5486
- };
5487
- const itemContent = /* @__PURE__ */ React52.createElement("div", {
5488
- className: tw("py-3 px-4")
5489
- }, children);
5490
- return /* @__PURE__ */ React52.createElement("li", __spreadProps(__spreadValues({
5491
- role: "menuitem",
5492
- tabIndex: -1,
5493
- onClick: handleClick,
5494
- onKeyDown: handleKeyDown
5495
- }, props), {
5496
- className: tw("typography-body-small flex items-center focus:ring-0", {
5497
- "text-grey-70 cursor-pointer hover:bg-grey-0": !disabled,
5498
- "text-grey-10 cursor-not-allowed": disabled,
5499
- "text-primary-70 hover:text-primary-80": color === "danger" && !disabled
5500
- })
5501
- }), tooltip ? /* @__PURE__ */ React52.createElement(Tooltip, {
5502
- content: tooltip,
5503
- placement: tooltipPlacement,
5504
- inline: false
5505
- }, itemContent) : itemContent);
5506
- };
5507
- Dropdown.Menu = DropdownMenu;
5508
- Dropdown.Item = DropdownItem;
5509
-
5510
- // src/components/DropdownMenu/DropdownMenu.tsx
5511
- import React56 from "react";
5512
- import { useFilter } from "@react-aria/i18n";
5513
- import { Item as Item4, Section } from "@react-stately/collections";
5514
- import { useTreeState } from "@react-stately/tree";
5515
- import { useMenuTriggerState } from "@react-stately/menu";
5516
- import { useOverlayPosition as useOverlayPosition4 } from "@react-aria/overlays";
5517
- import { useMenuTrigger, useMenu, useMenuItem, useMenuSection } from "@react-aria/menu";
5518
- import { useSeparator } from "@react-aria/separator";
5519
- import { usePress as usePress2, PressResponder as PressResponder2 } from "@react-aria/interactions";
5520
- import { mergeProps as mergeProps4 } from "@react-aria/utils";
5521
-
5522
- // src/common/DropdownMenu/DropdownMenu.tsx
5523
- import React53 from "react";
5524
- var import_tick3 = __toESM(require_tick());
5525
- var DropdownMenu2 = React53.forwardRef(
5526
- (_a, ref) => {
5527
- var _b = _a, { maxHeight = "450px", minWidth = "125px", maxWidth, className, children } = _b, props = __objRest(_b, ["maxHeight", "minWidth", "maxWidth", "className", "children"]);
5528
- return /* @__PURE__ */ React53.createElement("div", __spreadValues({
5529
- ref,
5530
- style: { maxHeight, minWidth, maxWidth },
5531
- className: classNames(
5532
- className,
5533
- "bg-white w-full overflow-y-auto overflow-x-hidden typography-body-small-medium text-grey-70"
5534
- )
5535
- }, props), children);
5536
- }
5537
- );
5538
- var ContentContainer = ({ children }) => /* @__PURE__ */ React53.createElement("div", {
5539
- className: tw("p-3")
5540
- }, children);
5541
- DropdownMenu2.ContentContainer = ContentContainer;
5542
- var List2 = React53.forwardRef(
5543
- (_a, ref) => {
5544
- var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
5545
- return /* @__PURE__ */ React53.createElement("ul", __spreadValues({
5546
- ref
5547
- }, props), children);
5548
- }
5549
- );
5550
- DropdownMenu2.List = List2;
5551
- var Group2 = React53.forwardRef(
5552
- (_a, ref) => {
5553
- var _b = _a, { className, title, titleProps, children } = _b, props = __objRest(_b, ["className", "title", "titleProps", "children"]);
5554
- return /* @__PURE__ */ React53.createElement("li", __spreadValues({
5555
- ref
5556
- }, props), title && /* @__PURE__ */ React53.createElement("div", __spreadValues({
5557
- className: classNames(
5558
- className,
5559
- "p-3 text-grey-40 uppercase cursor-default typography-caption-default font-medium",
5560
- {
5561
- "text-grey-20": props.disabled
5562
- }
5563
- )
5564
- }, titleProps), title), children);
5565
- }
5566
- );
5567
- DropdownMenu2.Group = Group2;
5568
- var Item3 = React53.forwardRef(
5569
- (_a, ref) => {
5570
- var _b = _a, { kind, highlighted, selected, className, icon, children } = _b, props = __objRest(_b, ["kind", "highlighted", "selected", "className", "icon", "children"]);
5571
- return /* @__PURE__ */ React53.createElement("li", __spreadValues({
5572
- ref,
5573
- className: classNames(className, "flex items-center gap-x-3 p-3 outline-none", {
5574
- "cursor-pointer hover:bg-grey-0": !props.disabled,
5575
- "bg-grey-0": highlighted,
5576
- "text-primary-80": kind === "action",
5577
- "text-grey-20 cursor-not-allowed": props.disabled
5578
- })
5579
- }, props), icon && /* @__PURE__ */ React53.createElement(InlineIcon, {
5580
- icon
5581
- }), /* @__PURE__ */ React53.createElement("span", {
5582
- className: tw("grow")
5583
- }, children), selected && /* @__PURE__ */ React53.createElement(InlineIcon, {
5584
- icon: import_tick3.default
5585
- }));
5586
- }
5587
- );
5588
- DropdownMenu2.Item = Item3;
5589
- var Description = ({ disabled, children }) => /* @__PURE__ */ React53.createElement(Typography2.Caption, {
5590
- color: disabled ? "grey-20" : "grey-40"
5591
- }, children);
5592
- DropdownMenu2.Description = Description;
5593
- var Separator = (_a) => {
5594
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5595
- return /* @__PURE__ */ React53.createElement("li", __spreadProps(__spreadValues({}, props), {
5596
- className: classNames(className, tw("m-3 block bg-grey-5 h-[1px]"))
5597
- }));
5598
- };
5599
- DropdownMenu2.Separator = Separator;
5600
- var EmptyStateContainer2 = (_a) => {
5601
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
5602
- return /* @__PURE__ */ React53.createElement("div", __spreadValues({
5603
- className: classNames(tw("border border-dashed border-grey-10 p-3"), className)
5604
- }, props), children);
5742
+ state.close();
5743
+ setClose();
5744
+ };
5745
+ const handleKeyDown = (event) => {
5746
+ const target = event.target;
5747
+ const parent = target.parentElement;
5748
+ const first = parent.firstChild;
5749
+ const last = parent.lastChild;
5750
+ const next = target.nextElementSibling;
5751
+ const prev = target.previousElementSibling;
5752
+ if (event.key === "ArrowUp") {
5753
+ prev ? prev.focus() : last.focus();
5754
+ } else if (event.key === "ArrowDown") {
5755
+ next ? next.focus() : first.focus();
5756
+ } else if (event.key === "Tab") {
5757
+ event.preventDefault();
5758
+ event.stopPropagation();
5759
+ } else if (event.key === "Home" || event.key === "PageUp") {
5760
+ first.focus();
5761
+ } else if (event.key === "End" || event.key === "PageDown") {
5762
+ last.focus();
5763
+ } else if (event.key === "Enter") {
5764
+ !disabled && handleSelect();
5765
+ }
5766
+ };
5767
+ const handleClick = (e) => {
5768
+ e.stopPropagation();
5769
+ if (!disabled) {
5770
+ handleSelect();
5771
+ }
5772
+ };
5773
+ const itemContent = /* @__PURE__ */ React52.createElement("div", {
5774
+ className: tw("py-3 px-4")
5775
+ }, children);
5776
+ return /* @__PURE__ */ React52.createElement("li", __spreadProps(__spreadValues({
5777
+ role: "menuitem",
5778
+ tabIndex: -1,
5779
+ onClick: handleClick,
5780
+ onKeyDown: handleKeyDown
5781
+ }, props), {
5782
+ className: tw("typography-small flex items-center focus:ring-0", {
5783
+ "text-grey-70 cursor-pointer hover:bg-grey-0": !disabled,
5784
+ "text-grey-10 cursor-not-allowed": disabled,
5785
+ "text-primary-70 hover:text-primary-80": color === "danger" && !disabled
5786
+ })
5787
+ }), tooltip ? /* @__PURE__ */ React52.createElement(Tooltip, {
5788
+ content: tooltip,
5789
+ placement: tooltipPlacement,
5790
+ inline: false
5791
+ }, itemContent) : itemContent);
5605
5792
  };
5606
- DropdownMenu2.EmptyStateContainer = EmptyStateContainer2;
5793
+ Dropdown.Menu = DropdownMenu;
5794
+ Dropdown.Item = DropdownItem;
5795
+
5796
+ // src/components/DropdownMenu/DropdownMenu.tsx
5797
+ import React56 from "react";
5798
+ import { useFilter } from "@react-aria/i18n";
5799
+ import { PressResponder as PressResponder2, usePress as usePress2 } from "@react-aria/interactions";
5800
+ import { useMenu, useMenuItem, useMenuSection, useMenuTrigger } from "@react-aria/menu";
5801
+ import { useOverlayPosition as useOverlayPosition4 } from "@react-aria/overlays";
5802
+ import { useSeparator } from "@react-aria/separator";
5803
+ import { mergeProps as mergeProps4 } from "@react-aria/utils";
5804
+ import { Item as Item4, Section } from "@react-stately/collections";
5805
+ import { useMenuTriggerState } from "@react-stately/menu";
5806
+ import { useTreeState } from "@react-stately/tree";
5607
5807
 
5608
5808
  // src/components/Input/Input.tsx
5609
- import uniqueId3 from "lodash/uniqueId";
5610
- import toString from "lodash/toString";
5809
+ import React54, { forwardRef, useImperativeHandle, useRef as useRef5, useState as useState6 } from "react";
5611
5810
  import omit7 from "lodash/omit";
5612
- import React55, { forwardRef, useState as useState6, useImperativeHandle, useRef as useRef5 } from "react";
5811
+ import toString from "lodash/toString";
5812
+ import uniqueId3 from "lodash/uniqueId";
5613
5813
 
5614
5814
  // src/utils/constants.ts
5615
5815
  var getCommonInputStyles = ({ readOnly, valid }) => tw(
5616
- "block w-full rounded-sm disabled:cursor-not-allowed disabled:border-grey-20 disabled:bg-grey-5 typography-body-small text-grey-70 disabled:text-grey-40 placeholder:text-grey-40 focus:outline-none",
5816
+ "block w-full rounded-sm disabled:cursor-not-allowed disabled:border-grey-20 disabled:bg-grey-5 typography-small text-grey-70 disabled:text-grey-40 placeholder:text-grey-40 focus:outline-none",
5617
5817
  {
5618
5818
  "px-3 py-3": !readOnly,
5619
5819
  "border-none resize-none cursor-default": readOnly,
@@ -5623,31 +5823,31 @@ var getCommonInputStyles = ({ readOnly, valid }) => tw(
5623
5823
  );
5624
5824
 
5625
5825
  // src/utils/form/InputAdornment/InputAdornment.tsx
5626
- import React54 from "react";
5627
- var import_tick4 = __toESM(require_tick());
5826
+ import React53 from "react";
5827
+ var import_cross4 = __toESM(require_cross());
5628
5828
  var import_error3 = __toESM(require_error());
5629
5829
  var import_search2 = __toESM(require_search());
5630
- var import_cross4 = __toESM(require_cross());
5830
+ var import_tick3 = __toESM(require_tick());
5631
5831
  var InputAdornment = ({ placement = "right", className, dense, children }) => {
5632
- return /* @__PURE__ */ React54.createElement("span", {
5832
+ return /* @__PURE__ */ React53.createElement("span", {
5633
5833
  className: classNames(className, "absolute inset-y-0 grow-0 text-grey-40 flex items-center mx-3", {
5634
5834
  "right-0": placement === "right",
5635
5835
  "left-0": placement === "left",
5636
- "typography-body-small": dense,
5637
- "typography-body-default-medium": !dense
5836
+ "typography-small": dense,
5837
+ "typography-default-strong": !dense
5638
5838
  })
5639
- }, /* @__PURE__ */ React54.createElement(Flexbox, {
5839
+ }, /* @__PURE__ */ React53.createElement(Flexbox, {
5640
5840
  gap: "3",
5641
5841
  wrap: "wrap"
5642
5842
  }, children));
5643
5843
  };
5644
- var SearchIcon = ({ onClick }) => /* @__PURE__ */ React54.createElement(Icon, {
5844
+ var SearchIcon = ({ onClick }) => /* @__PURE__ */ React53.createElement(Icon, {
5645
5845
  icon: import_search2.default,
5646
5846
  color: "grey-30",
5647
5847
  "data-testid": "icon-search",
5648
5848
  onClick
5649
5849
  });
5650
- var ResetIcon = ({ onClick }) => /* @__PURE__ */ React54.createElement(Icon, {
5850
+ var ResetIcon = ({ onClick }) => /* @__PURE__ */ React53.createElement(Icon, {
5651
5851
  className: "hover:cursor-pointer",
5652
5852
  icon: import_cross4.default,
5653
5853
  color: "grey-30",
@@ -5677,7 +5877,7 @@ var createInput = (displayName, opts = {}) => {
5677
5877
  "readOnly"
5678
5878
  ]);
5679
5879
  var _a2;
5680
- const inputRef = React55.useRef(null);
5880
+ const inputRef = React54.useRef(null);
5681
5881
  useImperativeHandle(ref, () => inputRef.current);
5682
5882
  const handleReset = () => {
5683
5883
  var _a3;
@@ -5690,11 +5890,11 @@ var createInput = (displayName, opts = {}) => {
5690
5890
  el.focus();
5691
5891
  }
5692
5892
  };
5693
- return /* @__PURE__ */ React55.createElement("span", {
5893
+ return /* @__PURE__ */ React54.createElement("span", {
5694
5894
  className: tw("relative block")
5695
- }, opts.adornment && /* @__PURE__ */ React55.createElement(InputAdornment, {
5895
+ }, opts.adornment && /* @__PURE__ */ React54.createElement(InputAdornment, {
5696
5896
  placement: "left"
5697
- }, opts.adornment), /* @__PURE__ */ React55.createElement("input", __spreadProps(__spreadValues({
5897
+ }, opts.adornment), /* @__PURE__ */ React54.createElement("input", __spreadProps(__spreadValues({
5698
5898
  ref: inputRef,
5699
5899
  type
5700
5900
  }, props), {
@@ -5709,20 +5909,20 @@ var createInput = (displayName, opts = {}) => {
5709
5909
  getCommonInputStyles({ readOnly, valid }),
5710
5910
  props.className
5711
5911
  )
5712
- })), opts.canReset && (props.value || ((_a2 = inputRef.current) == null ? void 0 : _a2.value)) && /* @__PURE__ */ React55.createElement(InputAdornment, null, /* @__PURE__ */ React55.createElement(ResetIcon, {
5912
+ })), opts.canReset && (props.value || ((_a2 = inputRef.current) == null ? void 0 : _a2.value)) && /* @__PURE__ */ React54.createElement(InputAdornment, null, /* @__PURE__ */ React54.createElement(ResetIcon, {
5713
5913
  onClick: handleReset
5714
- })), !opts.canReset && endAdornment && /* @__PURE__ */ React55.createElement(InputAdornment, null, endAdornment));
5914
+ })), !opts.canReset && endAdornment && /* @__PURE__ */ React54.createElement(InputAdornment, null, endAdornment));
5715
5915
  }
5716
5916
  );
5717
5917
  InputComponent.displayName = displayName;
5718
- InputComponent.Skeleton = () => /* @__PURE__ */ React55.createElement(Skeleton, {
5918
+ InputComponent.Skeleton = () => /* @__PURE__ */ React54.createElement(Skeleton, {
5719
5919
  height: 38
5720
5920
  });
5721
5921
  return InputComponent;
5722
5922
  };
5723
5923
  var InputBase = createInput("InputBase");
5724
- var SearchInput = createInput("SearchInput", { adornment: /* @__PURE__ */ React55.createElement(SearchIcon, null), canReset: true });
5725
- var Input2 = React55.forwardRef((_a, ref) => {
5924
+ var SearchInput = createInput("SearchInput", { adornment: /* @__PURE__ */ React54.createElement(SearchIcon, null), canReset: true });
5925
+ var Input2 = React54.forwardRef((_a, ref) => {
5726
5926
  var _b = _a, { readOnly = false } = _b, props = __objRest(_b, ["readOnly"]);
5727
5927
  var _a2, _b2, _c;
5728
5928
  const [value, setValue] = useState6((_b2 = (_a2 = props.value) != null ? _a2 : props.defaultValue) != null ? _b2 : "");
@@ -5731,12 +5931,12 @@ var Input2 = React55.forwardRef((_a, ref) => {
5731
5931
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
5732
5932
  const _d = getLabelControlProps(props), { "data-testid": dataTestId } = _d, labelControlProps = __objRest(_d, ["data-testid"]);
5733
5933
  const baseProps = omit7(props, Object.keys(labelControlProps));
5734
- return /* @__PURE__ */ React55.createElement(LabelControl, __spreadValues({
5934
+ return /* @__PURE__ */ React54.createElement(LabelControl, __spreadValues({
5735
5935
  id: `${id.current}-label`,
5736
5936
  htmlFor: id.current,
5737
5937
  messageId: errorMessageId,
5738
5938
  length: value !== void 0 ? toString(value).length : void 0
5739
- }, labelControlProps), /* @__PURE__ */ React55.createElement(InputBase, __spreadProps(__spreadValues(__spreadValues({
5939
+ }, labelControlProps), /* @__PURE__ */ React54.createElement(InputBase, __spreadProps(__spreadValues(__spreadValues({
5740
5940
  ref
5741
5941
  }, baseProps), errorProps), {
5742
5942
  id: id.current,
@@ -5754,9 +5954,91 @@ var Input2 = React55.forwardRef((_a, ref) => {
5754
5954
  })));
5755
5955
  });
5756
5956
  Input2.displayName = "Input";
5757
- Input2.Skeleton = () => /* @__PURE__ */ React55.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React55.createElement(InputBase.Skeleton, null));
5957
+ Input2.Skeleton = () => /* @__PURE__ */ React54.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React54.createElement(InputBase.Skeleton, null));
5758
5958
  Input2.Skeleton.displayName = "Input.Skeleton";
5759
5959
 
5960
+ // src/common/DropdownMenu/DropdownMenu.tsx
5961
+ import React55 from "react";
5962
+ var import_tick4 = __toESM(require_tick());
5963
+ var DropdownMenu2 = React55.forwardRef(
5964
+ (_a, ref) => {
5965
+ var _b = _a, { maxHeight = "450px", minWidth = "125px", maxWidth, className, children } = _b, props = __objRest(_b, ["maxHeight", "minWidth", "maxWidth", "className", "children"]);
5966
+ return /* @__PURE__ */ React55.createElement("div", __spreadValues({
5967
+ ref,
5968
+ style: { maxHeight, minWidth, maxWidth },
5969
+ className: classNames(
5970
+ className,
5971
+ "bg-white w-full overflow-y-auto overflow-x-hidden typography-small text-grey-70"
5972
+ )
5973
+ }, props), children);
5974
+ }
5975
+ );
5976
+ var ContentContainer = ({ children }) => /* @__PURE__ */ React55.createElement("div", {
5977
+ className: tw("p-3")
5978
+ }, children);
5979
+ DropdownMenu2.ContentContainer = ContentContainer;
5980
+ var List2 = React55.forwardRef(
5981
+ (_a, ref) => {
5982
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
5983
+ return /* @__PURE__ */ React55.createElement("ul", __spreadValues({
5984
+ ref
5985
+ }, props), children);
5986
+ }
5987
+ );
5988
+ DropdownMenu2.List = List2;
5989
+ var Group2 = React55.forwardRef(
5990
+ (_a, ref) => {
5991
+ var _b = _a, { className, title, titleProps, children } = _b, props = __objRest(_b, ["className", "title", "titleProps", "children"]);
5992
+ return /* @__PURE__ */ React55.createElement("li", __spreadValues({
5993
+ ref
5994
+ }, props), title && /* @__PURE__ */ React55.createElement("div", __spreadValues({
5995
+ className: classNames(className, "p-3 text-grey-40 uppercase cursor-default typography-caption", {
5996
+ "text-grey-20": props.disabled
5997
+ })
5998
+ }, titleProps), title), children);
5999
+ }
6000
+ );
6001
+ DropdownMenu2.Group = Group2;
6002
+ var Item3 = React55.forwardRef(
6003
+ (_a, ref) => {
6004
+ var _b = _a, { kind, highlighted, selected, className, icon, children } = _b, props = __objRest(_b, ["kind", "highlighted", "selected", "className", "icon", "children"]);
6005
+ return /* @__PURE__ */ React55.createElement("li", __spreadValues({
6006
+ ref,
6007
+ className: classNames(className, "flex items-center gap-x-3 p-3 outline-none", {
6008
+ "cursor-pointer hover:bg-grey-0": !props.disabled,
6009
+ "bg-grey-0": highlighted,
6010
+ "text-primary-80": kind === "action",
6011
+ "text-grey-20 cursor-not-allowed": props.disabled
6012
+ })
6013
+ }, props), icon && /* @__PURE__ */ React55.createElement(InlineIcon, {
6014
+ icon
6015
+ }), /* @__PURE__ */ React55.createElement("span", {
6016
+ className: tw("grow")
6017
+ }, children), selected && /* @__PURE__ */ React55.createElement(InlineIcon, {
6018
+ icon: import_tick4.default
6019
+ }));
6020
+ }
6021
+ );
6022
+ DropdownMenu2.Item = Item3;
6023
+ var Description = ({ disabled, children }) => /* @__PURE__ */ React55.createElement(Typography2.Caption, {
6024
+ color: disabled ? "grey-20" : "grey-40"
6025
+ }, children);
6026
+ DropdownMenu2.Description = Description;
6027
+ var Separator = (_a) => {
6028
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6029
+ return /* @__PURE__ */ React55.createElement("li", __spreadProps(__spreadValues({}, props), {
6030
+ className: classNames(className, tw("m-3 block bg-grey-5 h-[1px]"))
6031
+ }));
6032
+ };
6033
+ DropdownMenu2.Separator = Separator;
6034
+ var EmptyStateContainer2 = (_a) => {
6035
+ var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6036
+ return /* @__PURE__ */ React55.createElement("div", __spreadValues({
6037
+ className: classNames(tw("border border-dashed border-grey-10 p-3"), className)
6038
+ }, props), children);
6039
+ };
6040
+ DropdownMenu2.EmptyStateContainer = EmptyStateContainer2;
6041
+
5760
6042
  // src/components/DropdownMenu/utils.ts
5761
6043
  import { ListCollection } from "@react-stately/list";
5762
6044
  var filterCollection = (collection, inputValue, filter) => {
@@ -5979,6 +6261,7 @@ var getDisabledItemKeys = (children) => {
5979
6261
 
5980
6262
  // src/components/EmptyState/EmptyState.tsx
5981
6263
  import React58 from "react";
6264
+ import omit8 from "lodash/omit";
5982
6265
 
5983
6266
  // src/components/Flexbox/FlexboxItem.tsx
5984
6267
  import React57 from "react";
@@ -6001,7 +6284,6 @@ var FlexboxItem = Tailwindify(
6001
6284
  );
6002
6285
 
6003
6286
  // src/components/EmptyState/EmptyState.tsx
6004
- import omit8 from "lodash/omit";
6005
6287
  var EmptyStateLayout = /* @__PURE__ */ ((EmptyStateLayout2) => {
6006
6288
  EmptyStateLayout2["CenterVertical"] = "center-vertical";
6007
6289
  EmptyStateLayout2["LeftVertical"] = "left-vertical";
@@ -6079,12 +6361,12 @@ var EmptyState = ({
6079
6361
  justifyContent: template.justifyContent,
6080
6362
  alignItems: template.alignItems
6081
6363
  }, /* @__PURE__ */ React58.createElement(Typography2, {
6082
- variant: "heading-xl",
6364
+ variant: "heading",
6083
6365
  htmlTag: "h2"
6084
6366
  }, title), description && /* @__PURE__ */ React58.createElement(Box, {
6085
6367
  marginTop: "5"
6086
6368
  }, /* @__PURE__ */ React58.createElement(Typography2, {
6087
- variant: "body-default",
6369
+ variant: "default",
6088
6370
  color: "grey-60"
6089
6371
  }, description)), (secondaryAction || primaryAction) && /* @__PURE__ */ React58.createElement(Flexbox, {
6090
6372
  marginTop: "7",
@@ -6096,7 +6378,7 @@ var EmptyState = ({
6096
6378
  marginTop: "7"
6097
6379
  }, /* @__PURE__ */ React58.createElement(Typography2, {
6098
6380
  htmlTag: "div",
6099
- variant: "body-small",
6381
+ variant: "small",
6100
6382
  color: "grey-60"
6101
6383
  }, footer)))));
6102
6384
  };
@@ -6153,7 +6435,7 @@ var ListItem = ({ name, icon, active = false }) => {
6153
6435
  return /* @__PURE__ */ React61.createElement(Flexbox, {
6154
6436
  alignItems: "center"
6155
6437
  }, /* @__PURE__ */ React61.createElement(Typography2, {
6156
- variant: active ? "body-small-medium" : "body-small",
6438
+ variant: active ? "small-strong" : "small",
6157
6439
  color: "grey-70",
6158
6440
  htmlTag: "span",
6159
6441
  className: `px-4 py-2 rounded-full ${active ? "bg-grey-5" : "hover:bg-grey-0"}`
@@ -6168,21 +6450,21 @@ var ListItem = ({ name, icon, active = false }) => {
6168
6450
 
6169
6451
  // src/components/Modal/Modal.tsx
6170
6452
  import React63 from "react";
6171
- import castArray from "lodash/castArray";
6172
- import omit9 from "lodash/omit";
6173
- import { Overlay as Overlay2, useModalOverlay as useModalOverlay2 } from "@react-aria/overlays";
6174
6453
  import { useDialog as useDialog2 } from "@react-aria/dialog";
6175
6454
  import { FocusScope as FocusScope3 } from "@react-aria/focus";
6455
+ import { Overlay as Overlay2, useModalOverlay as useModalOverlay2 } from "@react-aria/overlays";
6176
6456
  import { useId as useId2 } from "@react-aria/utils";
6177
6457
  import { useOverlayTriggerState as useOverlayTriggerState4 } from "@react-stately/overlays";
6458
+ import castArray from "lodash/castArray";
6459
+ import omit9 from "lodash/omit";
6178
6460
 
6179
6461
  // src/components/Tabs/Tabs.tsx
6180
- import React62, { useRef as useRef6, useState as useState7, useEffect as useEffect5, useLayoutEffect as useLayoutEffect2 } from "react";
6181
- import kebabCase from "lodash/kebabCase";
6462
+ import React62, { useEffect as useEffect5, useLayoutEffect as useLayoutEffect2, useRef as useRef6, useState as useState7 } from "react";
6182
6463
  import isNumber4 from "lodash/isNumber";
6183
- var import_warningSign3 = __toESM(require_warningSign());
6464
+ import kebabCase from "lodash/kebabCase";
6184
6465
  var import_chevronLeft2 = __toESM(require_chevronLeft());
6185
6466
  var import_chevronRight2 = __toESM(require_chevronRight());
6467
+ var import_warningSign3 = __toESM(require_warningSign());
6186
6468
  var isTabComponent = (c) => {
6187
6469
  return React62.isValidElement(c) && (c.type === Tab || c.type === ModalTab);
6188
6470
  };
@@ -6266,14 +6548,14 @@ var asTabItem = (Component, displayName, { defaultUnderlineHidden } = {}) => {
6266
6548
  tabIndex: disabled ? void 0 : 0
6267
6549
  }, rest), /* @__PURE__ */ React62.createElement(Typography2, {
6268
6550
  htmlTag: "div",
6269
- variant: "body-small",
6551
+ variant: "small",
6270
6552
  color: selected ? "primary-80" : disabled ? "grey-20" : "current",
6271
6553
  className: tw("inline-flex items-center gap-3")
6272
6554
  }, /* @__PURE__ */ React62.createElement("span", {
6273
6555
  className: tw("whitespace-nowrap")
6274
6556
  }, title), isNumber4(badge) && /* @__PURE__ */ React62.createElement(Typography2, {
6275
6557
  htmlTag: "span",
6276
- variant: "body-small",
6558
+ variant: "small",
6277
6559
  color: selected ? "primary-80" : "grey-5",
6278
6560
  className: "leading-none"
6279
6561
  }, /* @__PURE__ */ React62.createElement(TabBadge, {
@@ -6439,6 +6721,7 @@ var Modal2 = ({
6439
6721
  title,
6440
6722
  open,
6441
6723
  subtitle,
6724
+ headerImage,
6442
6725
  onClose,
6443
6726
  children,
6444
6727
  primaryAction,
@@ -6466,15 +6749,17 @@ var Modal2 = ({
6466
6749
  }, /* @__PURE__ */ React63.createElement(Modal.Dialog, __spreadValues(__spreadValues({
6467
6750
  ref,
6468
6751
  size
6469
- }, modalProps), dialogProps), /* @__PURE__ */ React63.createElement(Modal.Header, {
6470
- className: tw({ "pb-3": isComponentType(children, ModalTabs) })
6471
- }, /* @__PURE__ */ React63.createElement(Modal.TitleContainer, null, /* @__PURE__ */ React63.createElement(Modal.Title, {
6472
- id: labelledBy
6473
- }, title), subtitle && /* @__PURE__ */ React63.createElement(Modal.Subtitle, null, subtitle)), /* @__PURE__ */ React63.createElement(IconButton, {
6752
+ }, modalProps), dialogProps), /* @__PURE__ */ React63.createElement(Modal.CloseButtonContainer, null, /* @__PURE__ */ React63.createElement(IconButton, {
6474
6753
  "aria-label": "Close",
6475
6754
  icon: import_cross5.default,
6476
6755
  onClick: onClose
6477
- })), isComponentType(children, ModalTabs) ? React63.cloneElement(children, { className: tw("[&>div:first-child]:px-5 grow") }) : /* @__PURE__ */ React63.createElement(Modal.Body, {
6756
+ })), headerImage !== void 0 && /* @__PURE__ */ React63.createElement(Modal.HeaderImage, {
6757
+ backgroundImage: headerImage
6758
+ }), /* @__PURE__ */ React63.createElement(Modal.Header, {
6759
+ className: tw({ "pb-3": isComponentType(children, ModalTabs) })
6760
+ }, /* @__PURE__ */ React63.createElement(Modal.TitleContainer, null, /* @__PURE__ */ React63.createElement(Modal.Title, {
6761
+ id: labelledBy
6762
+ }, title), subtitle && /* @__PURE__ */ React63.createElement(Modal.Subtitle, null, subtitle))), isComponentType(children, ModalTabs) ? React63.cloneElement(children, { className: tw("[&>div:first-child]:px-5 grow") }) : /* @__PURE__ */ React63.createElement(Modal.Body, {
6478
6763
  id: describedBy,
6479
6764
  tabIndex: 0,
6480
6765
  noFooter: !(secondaryActions || primaryAction)
@@ -6499,15 +6784,15 @@ var ModalTabs = createTabsComponent(
6499
6784
  );
6500
6785
 
6501
6786
  // src/components/MultiInput/MultiInput.tsx
6787
+ import React65, { useEffect as useEffect6, useRef as useRef7, useState as useState8 } from "react";
6502
6788
  import castArray2 from "lodash/castArray";
6503
6789
  import identity from "lodash/identity";
6504
- import uniqueId4 from "lodash/uniqueId";
6505
6790
  import omit10 from "lodash/omit";
6506
- import React65, { useEffect as useEffect6, useRef as useRef7, useState as useState8 } from "react";
6791
+ import uniqueId4 from "lodash/uniqueId";
6507
6792
 
6508
6793
  // src/components/MultiInput/InputChip.tsx
6509
- var import_smallCross = __toESM(require_smallCross());
6510
6794
  import React64 from "react";
6795
+ var import_smallCross = __toESM(require_smallCross());
6511
6796
  var InputChip = React64.forwardRef(
6512
6797
  (_a, ref) => {
6513
6798
  var _b = _a, { invalid = false, disabled, readOnly, className, onClick: _onClick, children } = _b, props = __objRest(_b, ["invalid", "disabled", "readOnly", "className", "onClick", "children"]);
@@ -6527,7 +6812,7 @@ var InputChip = React64.forwardRef(
6527
6812
  }),
6528
6813
  onClick
6529
6814
  }, props), /* @__PURE__ */ React64.createElement(Typography2, {
6530
- variant: "body-small",
6815
+ variant: "small",
6531
6816
  color: invalid ? "error-80" : disabled ? "grey-40" : "grey-70"
6532
6817
  }, children), !readOnly && /* @__PURE__ */ React64.createElement("div", null, /* @__PURE__ */ React64.createElement(Icon, {
6533
6818
  icon: import_smallCross.default,
@@ -6601,6 +6886,7 @@ var MultiInputBase = (_a) => {
6601
6886
  case "Enter":
6602
6887
  case " ": {
6603
6888
  if (keyCodes.includes(e.key) && inputRef.current) {
6889
+ e.preventDefault();
6604
6890
  e.stopPropagation();
6605
6891
  const value2 = inputRef.current.value.trim();
6606
6892
  handleAddItem(value2);
@@ -6620,6 +6906,7 @@ var MultiInputBase = (_a) => {
6620
6906
  };
6621
6907
  const handleKeyUp = (e) => {
6622
6908
  if (keyCodes.includes(e.key)) {
6909
+ e.preventDefault();
6623
6910
  e.stopPropagation();
6624
6911
  }
6625
6912
  };
@@ -6693,6 +6980,7 @@ var MultiInputBase = (_a) => {
6693
6980
  placeholder: !inline || (items == null ? void 0 : items.length) === 0 ? placeholder : "",
6694
6981
  onKeyDown: handleKeyDown,
6695
6982
  onKeyUp: handleKeyUp,
6983
+ onKeyPress: handleKeyUp,
6696
6984
  onPaste: handlePaste,
6697
6985
  onFocus: handleFocus,
6698
6986
  onBlur: handleBlur,
@@ -6742,14 +7030,14 @@ MultiInput.Skeleton = MultiInputSkeleton;
6742
7030
  MultiInput.Skeleton.displayName = "MultiInput.Skeleton";
6743
7031
 
6744
7032
  // src/components/MultiSelect/MultiSelect.tsx
7033
+ import React66, { useRef as useRef8, useState as useState9 } from "react";
7034
+ import { useOverlayPosition as useOverlayPosition5 } from "@react-aria/overlays";
6745
7035
  import { useCombobox as useCombobox2, useMultipleSelection } from "downshift";
6746
7036
  import isNil from "lodash/isNil";
6747
7037
  import omit11 from "lodash/omit";
6748
7038
  import omitBy from "lodash/omitBy";
6749
7039
  import uniqueId5 from "lodash/uniqueId";
6750
7040
  import { matchSorter as matchSorter2 } from "match-sorter";
6751
- import React66, { useRef as useRef8, useState as useState9 } from "react";
6752
- import { useOverlayPosition as useOverlayPosition5 } from "@react-aria/overlays";
6753
7041
  var MultiSelectBase = (_a) => {
6754
7042
  var _b = _a, {
6755
7043
  id,
@@ -6955,17 +7243,31 @@ MultiSelect.Skeleton.displayName = "MultiSelect.Skeleton";
6955
7243
 
6956
7244
  // src/components/NativeSelect/NativeSelect.tsx
6957
7245
  import React67, { useRef as useRef9 } from "react";
6958
- import uniqueId6 from "lodash/uniqueId";
6959
7246
  import omit12 from "lodash/omit";
7247
+ import uniqueId6 from "lodash/uniqueId";
6960
7248
  var import_caretDown = __toESM(require_caretDown());
6961
7249
  var NativeSelectBase = React67.forwardRef(
6962
7250
  (_a, ref) => {
6963
- var _b = _a, { children, disabled = false, required = false, valid = true, readOnly = false, emptyDefault } = _b, props = __objRest(_b, ["children", "disabled", "required", "valid", "readOnly", "emptyDefault"]);
7251
+ var _b = _a, { children, disabled = false, required = false, valid = true, readOnly = false } = _b, props = __objRest(_b, ["children", "disabled", "required", "valid", "readOnly"]);
7252
+ const placeholderValue = uniqueId6("default_value_for_placeholder");
7253
+ const defaultValue = props.defaultValue ? props.defaultValue : props.placeholder ? placeholderValue : void 0;
7254
+ const handleBlur = (event) => {
7255
+ var _a2, _b2;
7256
+ if (event.target.value === placeholderValue) {
7257
+ (_a2 = props.onBlur) == null ? void 0 : _a2.call(props, __spreadProps(__spreadValues({}, event), {
7258
+ target: __spreadProps(__spreadValues({}, event.target), {
7259
+ value: ""
7260
+ })
7261
+ }));
7262
+ } else {
7263
+ (_b2 = props.onBlur) == null ? void 0 : _b2.call(props, event);
7264
+ }
7265
+ };
6964
7266
  return /* @__PURE__ */ React67.createElement("span", {
6965
7267
  className: tw("relative block")
6966
7268
  }, !readOnly && /* @__PURE__ */ React67.createElement("span", {
6967
7269
  className: tw(
6968
- "absolute right-0 inset-y-0 mr-4 text-grey-40 flex ml-3 pointer-events-none typography-body-default-medium mt-4"
7270
+ "absolute right-0 inset-y-0 mr-4 text-grey-40 flex ml-3 pointer-events-none typography-default-strong mt-4"
6969
7271
  )
6970
7272
  }, /* @__PURE__ */ React67.createElement(Icon, {
6971
7273
  icon: import_caretDown.default,
@@ -6975,9 +7277,11 @@ var NativeSelectBase = React67.forwardRef(
6975
7277
  disabled: disabled || readOnly,
6976
7278
  required
6977
7279
  }, props), {
7280
+ defaultValue,
7281
+ onBlur: handleBlur,
6978
7282
  className: classNames(
6979
7283
  tw(
6980
- "block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-body-small text-grey-70 placeholder:text-grey-40 focus:outline-none",
7284
+ "block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-grey-70 placeholder:text-grey-40 focus:outline-none",
6981
7285
  {
6982
7286
  "px-3 py-3 disabled:border-grey-20 disabled:bg-grey-5 disabled:text-grey-40": !readOnly,
6983
7287
  "px-0 py-3 border-none": readOnly,
@@ -6987,10 +7291,10 @@ var NativeSelectBase = React67.forwardRef(
6987
7291
  ),
6988
7292
  props.className
6989
7293
  )
6990
- }), emptyDefault && /* @__PURE__ */ React67.createElement("option", {
6991
- value: "",
6992
- className: tw("hidden")
6993
- }), children));
7294
+ }), props.placeholder && /* @__PURE__ */ React67.createElement("option", {
7295
+ value: placeholderValue,
7296
+ disabled: true
7297
+ }, props.placeholder), children));
6994
7298
  }
6995
7299
  );
6996
7300
  NativeSelectBase.Skeleton = () => /* @__PURE__ */ React67.createElement(Skeleton, {
@@ -7016,6 +7320,7 @@ var NativeSelect = React67.forwardRef(
7016
7320
  "data-testid": dataTestId,
7017
7321
  disabled: props.disabled,
7018
7322
  required: props.required,
7323
+ "aria-required": props.required,
7019
7324
  valid: props.valid,
7020
7325
  readOnly
7021
7326
  })));
@@ -7084,16 +7389,17 @@ var PageHeader = ({
7084
7389
 
7085
7390
  // src/components/Pagination/Pagination.tsx
7086
7391
  import React70 from "react";
7392
+ import clamp from "lodash/clamp";
7087
7393
 
7088
7394
  // src/components/Select/Select.tsx
7089
7395
  import React69, { useRef as useRef10, useState as useState10 } from "react";
7090
- import isNil2 from "lodash/isNil";
7091
- import isArray from "lodash/isArray";
7396
+ import { useOverlayPosition as useOverlayPosition6 } from "@react-aria/overlays";
7397
+ import { useSelect } from "downshift";
7092
7398
  import defaults from "lodash/defaults";
7093
- import uniqueId7 from "lodash/uniqueId";
7399
+ import isArray from "lodash/isArray";
7400
+ import isNil2 from "lodash/isNil";
7094
7401
  import omit14 from "lodash/omit";
7095
- import { useSelect } from "downshift";
7096
- import { useOverlayPosition as useOverlayPosition6 } from "@react-aria/overlays";
7402
+ import uniqueId7 from "lodash/uniqueId";
7097
7403
  var hasIconProperty = (val) => {
7098
7404
  var _a;
7099
7405
  return typeof val === "string" || ((_a = val == null ? void 0 : val.icon) == null ? void 0 : _a.body) !== void 0;
@@ -7317,11 +7623,10 @@ var SelectSkeleton = () => /* @__PURE__ */ React69.createElement(LabelControl.Sk
7317
7623
  Select2.Skeleton = SelectSkeleton;
7318
7624
 
7319
7625
  // src/components/Pagination/Pagination.tsx
7626
+ var import_chevronBackward = __toESM(require_chevronBackward());
7627
+ var import_chevronForward = __toESM(require_chevronForward());
7320
7628
  var import_chevronLeft3 = __toESM(require_chevronLeft());
7321
7629
  var import_chevronRight3 = __toESM(require_chevronRight());
7322
- var import_chevronForward = __toESM(require_chevronForward());
7323
- var import_chevronBackward = __toESM(require_chevronBackward());
7324
- import clamp from "lodash/clamp";
7325
7630
  var Pagination = ({
7326
7631
  currentPage,
7327
7632
  totalPages,
@@ -7432,14 +7737,14 @@ var Title = (_a) => {
7432
7737
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7433
7738
  return /* @__PURE__ */ React71.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7434
7739
  htmlTag: "h1",
7435
- variant: "body-small-medium"
7740
+ variant: "small-strong"
7436
7741
  }), children);
7437
7742
  };
7438
7743
  var Body = (_a) => {
7439
7744
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7440
7745
  return /* @__PURE__ */ React71.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7441
7746
  htmlTag: "div",
7442
- variant: "caption-default",
7747
+ variant: "caption",
7443
7748
  className: classNames(tw("px-5 overflow-y-auto"), className)
7444
7749
  }), children);
7445
7750
  };
@@ -7543,9 +7848,9 @@ ProgressBar.Labels = (_a) => {
7543
7848
  return /* @__PURE__ */ React73.createElement("div", {
7544
7849
  className: classNames(tw("flex flex-row"), className)
7545
7850
  }, /* @__PURE__ */ React73.createElement("span", __spreadProps(__spreadValues({}, rest), {
7546
- className: tw("grow text-grey-70 typography-caption-default")
7851
+ className: tw("grow text-grey-70 typography-caption")
7547
7852
  }), startLabel), /* @__PURE__ */ React73.createElement("span", __spreadProps(__spreadValues({}, rest), {
7548
- className: tw("grow text-grey-70 typography-caption-default text-right")
7853
+ className: tw("grow text-grey-70 typography-caption text-right")
7549
7854
  }), endLabel));
7550
7855
  };
7551
7856
 
@@ -7587,35 +7892,10 @@ ProgressBar2.Skeleton = () => /* @__PURE__ */ React74.createElement(Skeleton, {
7587
7892
  import React75 from "react";
7588
7893
  var RadioButton2 = React75.forwardRef(
7589
7894
  (_a, ref) => {
7590
- var _b = _a, {
7591
- name,
7592
- id,
7593
- checked: _checked,
7594
- defaultChecked,
7595
- onChange,
7596
- readOnly = false,
7597
- disabled = false,
7598
- caption,
7599
- children,
7600
- "aria-label": ariaLabel
7601
- } = _b, props = __objRest(_b, [
7602
- "name",
7603
- "id",
7604
- "checked",
7605
- "defaultChecked",
7606
- "onChange",
7607
- "readOnly",
7608
- "disabled",
7609
- "caption",
7610
- "children",
7611
- "aria-label"
7612
- ]);
7895
+ var _b = _a, { name, id, readOnly = false, disabled = false, caption, children, "aria-label": ariaLabel } = _b, props = __objRest(_b, ["name", "id", "readOnly", "disabled", "caption", "children", "aria-label"]);
7613
7896
  var _a2;
7614
- const [checked, setChecked] = React75.useState((_a2 = _checked != null ? _checked : defaultChecked) != null ? _a2 : false);
7615
- if (_checked !== void 0 && checked !== _checked) {
7616
- setChecked(_checked);
7617
- }
7618
- return !readOnly || checked ? /* @__PURE__ */ React75.createElement(ControlLabel, {
7897
+ const isChecked = (_a2 = props.checked) != null ? _a2 : props.defaultChecked;
7898
+ return !readOnly || isChecked ? /* @__PURE__ */ React75.createElement(ControlLabel, {
7619
7899
  htmlFor: id,
7620
7900
  label: children,
7621
7901
  "aria-label": ariaLabel,
@@ -7628,13 +7908,8 @@ var RadioButton2 = React75.forwardRef(
7628
7908
  ref,
7629
7909
  name
7630
7910
  }, props), {
7631
- checked,
7632
7911
  readOnly,
7633
- disabled,
7634
- onChange: (e) => {
7635
- setChecked(e.target.checked);
7636
- onChange == null ? void 0 : onChange(e);
7637
- }
7912
+ disabled
7638
7913
  }))) : null;
7639
7914
  }
7640
7915
  );
@@ -7729,6 +8004,7 @@ RadioButtonGroup.Skeleton = RadioButtonGroupSkeleton;
7729
8004
 
7730
8005
  // src/components/Section/Section.tsx
7731
8006
  import React78 from "react";
8007
+ import castArray4 from "lodash/castArray";
7732
8008
 
7733
8009
  // src/common/Section/Section.tsx
7734
8010
  import React77 from "react";
@@ -7780,7 +8056,6 @@ Section2.Body = (_a) => {
7780
8056
  };
7781
8057
 
7782
8058
  // src/components/Section/Section.tsx
7783
- import castArray4 from "lodash/castArray";
7784
8059
  var Section3 = ({ title, subtitle, actions, children }) => /* @__PURE__ */ React78.createElement(Section2, null, title && /* @__PURE__ */ React78.createElement(React78.Fragment, null, /* @__PURE__ */ React78.createElement(Section2.Header, null, /* @__PURE__ */ React78.createElement(Section2.TitleContainer, null, /* @__PURE__ */ React78.createElement(Section2.Title, null, title), subtitle && /* @__PURE__ */ React78.createElement(Section2.Subtitle, null, subtitle)), /* @__PURE__ */ React78.createElement(Section2.Actions, null, actions && castArray4(actions).filter(Boolean).map((_a) => {
7785
8060
  var _b = _a, { text } = _b, action = __objRest(_b, ["text"]);
7786
8061
  return /* @__PURE__ */ React78.createElement(SecondaryButton, __spreadValues({
@@ -7872,45 +8147,59 @@ var getCommonClassNames = (dense, selected) => tw(
7872
8147
  {
7873
8148
  "py-4 px-5": !dense,
7874
8149
  "py-2 px-4": dense,
7875
- "typography-button-large": !dense,
7876
- "typography-button-small": dense,
8150
+ "typography-default-strong": !dense,
8151
+ "typography-small-strong": dense,
7877
8152
  "text-grey-50": !selected
7878
8153
  }
7879
8154
  );
7880
8155
 
7881
8156
  // src/components/Switch/Switch.tsx
8157
+ import React81 from "react";
8158
+
8159
+ // src/common/Switch/Switch.tsx
7882
8160
  import React80 from "react";
7883
8161
  var Switch = React80.forwardRef(
7884
8162
  (_a, ref) => {
7885
- var _b = _a, {
8163
+ var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
8164
+ return /* @__PURE__ */ React80.createElement("span", {
8165
+ className: tw("relative inline-flex justify-center items-center self-center group")
8166
+ }, /* @__PURE__ */ React80.createElement("input", __spreadProps(__spreadValues({
7886
8167
  id,
7887
- name,
7888
- caption,
7889
- checked: _checked,
7890
- defaultChecked,
7891
- onChange,
7892
- readOnly = false,
7893
- disabled = false,
7894
- children,
7895
- "aria-label": ariaLabel
7896
- } = _b, props = __objRest(_b, [
7897
- "id",
7898
- "name",
7899
- "caption",
7900
- "checked",
7901
- "defaultChecked",
7902
- "onChange",
7903
- "readOnly",
7904
- "disabled",
7905
- "children",
7906
- "aria-label"
7907
- ]);
8168
+ ref,
8169
+ type: "checkbox",
8170
+ name
8171
+ }, props), {
8172
+ className: tw("opacity-0 peer/switch w-0 h-0"),
8173
+ readOnly,
8174
+ disabled
8175
+ })), /* @__PURE__ */ React80.createElement("span", {
8176
+ className: tw(
8177
+ "rounded-full inline-block w-[34px] h-[20px] transition duration-300",
8178
+ "peer-focus/switch:border border-info-70 bg-grey-20",
8179
+ {
8180
+ "group-hover:bg-grey-30 peer-checked/switch:bg-navyBlue-100": !disabled,
8181
+ "bg-grey-5 peer-checked/switch:opacity-40": disabled
8182
+ }
8183
+ )
8184
+ }), /* @__PURE__ */ React80.createElement("span", {
8185
+ className: tw(
8186
+ "rounded-full absolute inline-block transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
8187
+ "bg-white peer-disabled/switch:bg-grey-0 left-2 peer-checked/switch:left-1",
8188
+ {
8189
+ "shadow-4dp": !disabled
8190
+ }
8191
+ )
8192
+ }));
8193
+ }
8194
+ );
8195
+
8196
+ // src/components/Switch/Switch.tsx
8197
+ var Switch2 = React81.forwardRef(
8198
+ (_a, ref) => {
8199
+ var _b = _a, { id, name, caption, readOnly = false, disabled = false, children, "aria-label": ariaLabel } = _b, props = __objRest(_b, ["id", "name", "caption", "readOnly", "disabled", "children", "aria-label"]);
7908
8200
  var _a2;
7909
- const [checked, setChecked] = React80.useState((_a2 = _checked != null ? _checked : defaultChecked) != null ? _a2 : false);
7910
- if (_checked !== void 0 && checked !== _checked) {
7911
- setChecked(_checked);
7912
- }
7913
- return !readOnly || checked ? /* @__PURE__ */ React80.createElement(ControlLabel, {
8201
+ const isChecked = (_a2 = props.checked) != null ? _a2 : props.defaultChecked;
8202
+ return !readOnly || isChecked ? /* @__PURE__ */ React81.createElement(ControlLabel, {
7914
8203
  htmlFor: id,
7915
8204
  label: children,
7916
8205
  "aria-label": ariaLabel,
@@ -7918,67 +8207,29 @@ var Switch = React80.forwardRef(
7918
8207
  readOnly,
7919
8208
  disabled,
7920
8209
  style: { gap: "0 8px" }
7921
- }, !readOnly && /* @__PURE__ */ React80.createElement(Box, {
7922
- component: "span",
7923
- display: "inline-flex",
7924
- justifyContent: "center",
7925
- alignItems: "center",
7926
- className: classNames(
7927
- tw("relative flex self-center group", {
7928
- "text-grey-30": disabled,
7929
- "text-grey-100 cursor-pointer": !disabled
7930
- })
7931
- )
7932
- }, /* @__PURE__ */ React80.createElement("input", __spreadProps(__spreadValues({
8210
+ }, !readOnly && /* @__PURE__ */ React81.createElement(Switch, __spreadProps(__spreadValues({
7933
8211
  id,
7934
8212
  ref,
7935
- type: "checkbox",
7936
8213
  name
7937
8214
  }, props), {
7938
- checked,
7939
- onChange: (e) => {
7940
- setChecked(e.target.checked);
7941
- onChange == null ? void 0 : onChange(e);
7942
- },
7943
- className: tw("appearance-none peer"),
7944
8215
  readOnly,
7945
8216
  disabled
7946
- })), /* @__PURE__ */ React80.createElement("span", {
7947
- className: tw(
7948
- "rounded-full inline-block w-[34px] h-[20px] transition duration-300 peer-focus:border border-info-70",
7949
- {
7950
- "bg-navyBlue-100": checked,
7951
- "bg-grey-20 group-hover:bg-grey-30": !disabled && !checked,
7952
- "bg-grey-5": disabled && !checked,
7953
- "opacity-40": disabled && checked
7954
- }
7955
- )
7956
- }), /* @__PURE__ */ React80.createElement("span", {
7957
- style: {
7958
- right: checked ? "20px" : void 0,
7959
- left: checked ? void 0 : "4px"
7960
- },
7961
- className: tw("rounded-full absolute inline-block transition duration-300 h-4 w-4", {
7962
- "transform translate-x-5": checked,
7963
- "bg-grey-0": disabled,
7964
- "bg-white shadow-4dp": !disabled
7965
- })
7966
8217
  }))) : null;
7967
8218
  }
7968
8219
  );
7969
- var SwitchSkeleton = () => /* @__PURE__ */ React80.createElement("div", {
8220
+ var SwitchSkeleton = () => /* @__PURE__ */ React81.createElement("div", {
7970
8221
  className: tw("flex gap-3")
7971
- }, /* @__PURE__ */ React80.createElement(Skeleton, {
8222
+ }, /* @__PURE__ */ React81.createElement(Skeleton, {
7972
8223
  height: 20,
7973
8224
  width: 35
7974
- }), /* @__PURE__ */ React80.createElement(Skeleton, {
8225
+ }), /* @__PURE__ */ React81.createElement(Skeleton, {
7975
8226
  height: 20,
7976
8227
  width: 150
7977
8228
  }));
7978
- Switch.Skeleton = SwitchSkeleton;
8229
+ Switch2.Skeleton = SwitchSkeleton;
7979
8230
 
7980
8231
  // src/components/SwitchGroup/SwitchGroup.tsx
7981
- import React81, { useState as useState11 } from "react";
8232
+ import React82, { useState as useState11 } from "react";
7982
8233
  import uniqueId9 from "lodash/uniqueId";
7983
8234
  var SwitchGroup = (_a) => {
7984
8235
  var _b = _a, {
@@ -8010,19 +8261,19 @@ var SwitchGroup = (_a) => {
8010
8261
  setSelectedItems(updated);
8011
8262
  onChange == null ? void 0 : onChange(updated);
8012
8263
  };
8013
- return /* @__PURE__ */ React81.createElement(LabelControl, __spreadValues(__spreadValues({
8264
+ return /* @__PURE__ */ React82.createElement(LabelControl, __spreadValues(__spreadValues({
8014
8265
  fieldset: true
8015
- }, labelControlProps), errorProps), /* @__PURE__ */ React81.createElement(InputGroup, {
8266
+ }, labelControlProps), errorProps), /* @__PURE__ */ React82.createElement(InputGroup, {
8016
8267
  cols
8017
- }, React81.Children.map(children, (c) => {
8268
+ }, React82.Children.map(children, (c) => {
8018
8269
  var _a3, _b2, _c, _d;
8019
- if (!isComponentType(c, Switch)) {
8270
+ if (!isComponentType(c, Switch2)) {
8020
8271
  return null;
8021
8272
  }
8022
8273
  const str = (_a3 = c.props.value) == null ? void 0 : _a3.toString();
8023
8274
  const defaultChecked = defaultValue === void 0 ? void 0 : str !== void 0 && defaultValue.includes(str);
8024
8275
  const checked = value === void 0 ? void 0 : str !== void 0 && value.includes(str);
8025
- return React81.cloneElement(c, {
8276
+ return React82.cloneElement(c, {
8026
8277
  defaultChecked: (_b2 = c.props.defaultChecked) != null ? _b2 : defaultChecked,
8027
8278
  checked: (_c = c.props.checked) != null ? _c : checked,
8028
8279
  onChange: (_d = c.props.onChange) != null ? _d : handleChange,
@@ -8032,35 +8283,35 @@ var SwitchGroup = (_a) => {
8032
8283
  })));
8033
8284
  };
8034
8285
  var SwitchGroupSkeleton = ({ options = 2 }) => {
8035
- return /* @__PURE__ */ React81.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React81.createElement("div", {
8286
+ return /* @__PURE__ */ React82.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React82.createElement("div", {
8036
8287
  className: tw("flex flex-wrap flex-col gap-2")
8037
- }, Array.from({ length: options }).map((_, key) => /* @__PURE__ */ React81.createElement(Switch.Skeleton, {
8288
+ }, Array.from({ length: options }).map((_, key) => /* @__PURE__ */ React82.createElement(Switch2.Skeleton, {
8038
8289
  key
8039
8290
  }))));
8040
8291
  };
8041
8292
  SwitchGroup.Skeleton = SwitchGroupSkeleton;
8042
8293
 
8043
8294
  // src/components/TagLabel/TagLabel.tsx
8044
- import React82 from "react";
8295
+ import React83 from "react";
8045
8296
  var TagLabel = (_a) => {
8046
8297
  var _b = _a, { title, dense = false } = _b, rest = __objRest(_b, ["title", "dense"]);
8047
- return /* @__PURE__ */ React82.createElement("span", __spreadProps(__spreadValues({}, rest), {
8298
+ return /* @__PURE__ */ React83.createElement("span", __spreadProps(__spreadValues({}, rest), {
8048
8299
  className: tw("rounded-full text-white bg-primary-70", {
8049
- "py-2 px-4 typography-caption-default": !dense,
8300
+ "py-2 px-4 typography-caption": !dense,
8050
8301
  "py-2 px-3 typography-caption-small": dense
8051
8302
  })
8052
8303
  }), title);
8053
8304
  };
8054
8305
 
8055
8306
  // src/components/Textarea/Textarea.tsx
8056
- import React83, { useRef as useRef11, useState as useState12 } from "react";
8057
- import uniqueId10 from "lodash/uniqueId";
8058
- import toString2 from "lodash/toString";
8307
+ import React84, { useRef as useRef11, useState as useState12 } from "react";
8059
8308
  import omit16 from "lodash/omit";
8060
- var TextareaBase = React83.forwardRef(
8309
+ import toString2 from "lodash/toString";
8310
+ import uniqueId10 from "lodash/uniqueId";
8311
+ var TextareaBase = React84.forwardRef(
8061
8312
  (_a, ref) => {
8062
8313
  var _b = _a, { readOnly = false, valid = true } = _b, props = __objRest(_b, ["readOnly", "valid"]);
8063
- return /* @__PURE__ */ React83.createElement("textarea", __spreadProps(__spreadValues({
8314
+ return /* @__PURE__ */ React84.createElement("textarea", __spreadProps(__spreadValues({
8064
8315
  ref
8065
8316
  }, props), {
8066
8317
  readOnly,
@@ -8068,10 +8319,10 @@ var TextareaBase = React83.forwardRef(
8068
8319
  }));
8069
8320
  }
8070
8321
  );
8071
- TextareaBase.Skeleton = () => /* @__PURE__ */ React83.createElement(Skeleton, {
8322
+ TextareaBase.Skeleton = () => /* @__PURE__ */ React84.createElement(Skeleton, {
8072
8323
  height: 58
8073
8324
  });
8074
- var Textarea = React83.forwardRef((props, ref) => {
8325
+ var Textarea = React84.forwardRef((props, ref) => {
8075
8326
  var _a, _b, _c;
8076
8327
  const [value, setValue] = useState12((_b = (_a = props.value) != null ? _a : props.defaultValue) != null ? _b : "");
8077
8328
  const id = useRef11((_c = props.id) != null ? _c : `textarea-${uniqueId10()}`);
@@ -8079,12 +8330,12 @@ var Textarea = React83.forwardRef((props, ref) => {
8079
8330
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
8080
8331
  const _d = getLabelControlProps(props), { "data-testid": dataTestId } = _d, labelControlProps = __objRest(_d, ["data-testid"]);
8081
8332
  const baseProps = omit16(props, Object.keys(labelControlProps));
8082
- return /* @__PURE__ */ React83.createElement(LabelControl, __spreadValues({
8333
+ return /* @__PURE__ */ React84.createElement(LabelControl, __spreadValues({
8083
8334
  id: `${id.current}-label`,
8084
8335
  htmlFor: id.current,
8085
8336
  messageId: errorMessageId,
8086
8337
  length: value !== void 0 ? toString2(value).length : void 0
8087
- }, labelControlProps), /* @__PURE__ */ React83.createElement(TextareaBase, __spreadProps(__spreadValues(__spreadValues({
8338
+ }, labelControlProps), /* @__PURE__ */ React84.createElement(TextareaBase, __spreadProps(__spreadValues(__spreadValues({
8088
8339
  ref
8089
8340
  }, baseProps), errorProps), {
8090
8341
  id: id.current,
@@ -8100,47 +8351,47 @@ var Textarea = React83.forwardRef((props, ref) => {
8100
8351
  valid: props.valid
8101
8352
  })));
8102
8353
  });
8103
- var TextAreaSkeleton = () => /* @__PURE__ */ React83.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React83.createElement(TextareaBase.Skeleton, null));
8354
+ var TextAreaSkeleton = () => /* @__PURE__ */ React84.createElement(LabelControl.Skeleton, null, /* @__PURE__ */ React84.createElement(TextareaBase.Skeleton, null));
8104
8355
  Textarea.Skeleton = TextAreaSkeleton;
8105
8356
 
8106
8357
  // src/components/Timeline/Timeline.tsx
8107
- import React85 from "react";
8358
+ import React86 from "react";
8108
8359
 
8109
8360
  // src/common/Timeline/Timeline.tsx
8110
- import React84 from "react";
8361
+ import React85 from "react";
8111
8362
  var Timeline = (_a) => {
8112
8363
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8113
- return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8364
+ return /* @__PURE__ */ React85.createElement("div", __spreadProps(__spreadValues({}, rest), {
8114
8365
  className: classNames(tw("grid grid-cols-[16px_1fr] gap-x-4"), className)
8115
8366
  }));
8116
8367
  };
8117
8368
  var Content = (_a) => {
8118
8369
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8119
- return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8370
+ return /* @__PURE__ */ React85.createElement("div", __spreadProps(__spreadValues({}, rest), {
8120
8371
  className: classNames(tw("pb-6"), className)
8121
8372
  }));
8122
8373
  };
8123
8374
  var Separator2 = (_a) => {
8124
8375
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8125
- return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8376
+ return /* @__PURE__ */ React85.createElement("div", __spreadProps(__spreadValues({}, rest), {
8126
8377
  className: classNames(tw("flex items-center justify-center h-5 w-5"), className)
8127
8378
  }));
8128
8379
  };
8129
8380
  var LineContainer = (_a) => {
8130
8381
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8131
- return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8382
+ return /* @__PURE__ */ React85.createElement("div", __spreadProps(__spreadValues({}, rest), {
8132
8383
  className: classNames(tw("flex justify-center py-1"), className)
8133
8384
  }));
8134
8385
  };
8135
8386
  var Line = (_a) => {
8136
8387
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8137
- return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8388
+ return /* @__PURE__ */ React85.createElement("div", __spreadProps(__spreadValues({}, rest), {
8138
8389
  className: classNames(tw("w-1 bg-grey-5 h-full justify-self-center"), className)
8139
8390
  }));
8140
8391
  };
8141
8392
  var Dot = (_a) => {
8142
8393
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
8143
- return /* @__PURE__ */ React84.createElement("div", __spreadProps(__spreadValues({}, rest), {
8394
+ return /* @__PURE__ */ React85.createElement("div", __spreadProps(__spreadValues({}, rest), {
8144
8395
  className: classNames(tw("bg-grey-30 h-[6px] w-[6px] rounded"), className)
8145
8396
  }));
8146
8397
  };
@@ -8151,64 +8402,64 @@ Timeline.LineContainer = LineContainer;
8151
8402
  Timeline.Content = Content;
8152
8403
 
8153
8404
  // src/components/Timeline/Timeline.tsx
8405
+ var import_error4 = __toESM(require_error());
8154
8406
  var import_time = __toESM(require_time());
8155
8407
  var import_warningSign4 = __toESM(require_warningSign());
8156
- var import_error4 = __toESM(require_error());
8157
8408
  var TimelineItem = () => null;
8158
- var Timeline2 = ({ children }) => /* @__PURE__ */ React85.createElement("div", null, React85.Children.map(children, (item) => {
8409
+ var Timeline2 = ({ children }) => /* @__PURE__ */ React86.createElement("div", null, React86.Children.map(children, (item) => {
8159
8410
  if (!isComponentType(item, TimelineItem)) {
8160
8411
  throw new Error("<Timeline> can only have <Timeline.Item> components as children");
8161
8412
  } else {
8162
8413
  const { props, key } = item;
8163
- return /* @__PURE__ */ React85.createElement(Timeline, {
8414
+ return /* @__PURE__ */ React86.createElement(Timeline, {
8164
8415
  key: key != null ? key : props.title
8165
- }, /* @__PURE__ */ React85.createElement(Timeline.Separator, null, props.variant === "error" ? /* @__PURE__ */ React85.createElement(Icon, {
8416
+ }, /* @__PURE__ */ React86.createElement(Timeline.Separator, null, props.variant === "error" ? /* @__PURE__ */ React86.createElement(Icon, {
8166
8417
  icon: import_error4.default,
8167
8418
  color: "error-30"
8168
- }) : props.variant === "warning" ? /* @__PURE__ */ React85.createElement(Icon, {
8419
+ }) : props.variant === "warning" ? /* @__PURE__ */ React86.createElement(Icon, {
8169
8420
  icon: import_warningSign4.default,
8170
8421
  color: "warning-30"
8171
- }) : props.variant === "info" ? /* @__PURE__ */ React85.createElement(Icon, {
8422
+ }) : props.variant === "info" ? /* @__PURE__ */ React86.createElement(Icon, {
8172
8423
  icon: import_time.default,
8173
8424
  color: "info-30"
8174
- }) : /* @__PURE__ */ React85.createElement(Timeline.Separator.Dot, null)), /* @__PURE__ */ React85.createElement(Typography2.Caption, {
8175
- fontWeight: 600
8176
- }, props.title), /* @__PURE__ */ React85.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React85.createElement(Timeline.LineContainer.Line, null)), /* @__PURE__ */ React85.createElement(Timeline.Content, null, /* @__PURE__ */ React85.createElement(Typography2, null, props.children)));
8425
+ }) : /* @__PURE__ */ React86.createElement(Timeline.Separator.Dot, null)), /* @__PURE__ */ React86.createElement(Typography2.Caption, {
8426
+ color: "grey-50"
8427
+ }, props.title), /* @__PURE__ */ React86.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React86.createElement(Timeline.LineContainer.Line, null)), /* @__PURE__ */ React86.createElement(Timeline.Content, null, /* @__PURE__ */ React86.createElement(Typography2, null, props.children)));
8177
8428
  }
8178
8429
  }));
8179
- var TimelineItemSkeleton = () => /* @__PURE__ */ React85.createElement(Timeline, null, /* @__PURE__ */ React85.createElement(Timeline.Separator, null, /* @__PURE__ */ React85.createElement(Skeleton, {
8430
+ var TimelineItemSkeleton = () => /* @__PURE__ */ React86.createElement(Timeline, null, /* @__PURE__ */ React86.createElement(Timeline.Separator, null, /* @__PURE__ */ React86.createElement(Skeleton, {
8180
8431
  width: 6,
8181
8432
  height: 6,
8182
8433
  rounded: true
8183
- })), /* @__PURE__ */ React85.createElement(Skeleton, {
8434
+ })), /* @__PURE__ */ React86.createElement(Skeleton, {
8184
8435
  height: 12,
8185
8436
  width: 120
8186
- }), /* @__PURE__ */ React85.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React85.createElement(Skeleton, {
8437
+ }), /* @__PURE__ */ React86.createElement(Timeline.LineContainer, null, /* @__PURE__ */ React86.createElement(Skeleton, {
8187
8438
  width: 2
8188
- })), /* @__PURE__ */ React85.createElement(Timeline.Content, null, /* @__PURE__ */ React85.createElement(Box, {
8439
+ })), /* @__PURE__ */ React86.createElement(Timeline.Content, null, /* @__PURE__ */ React86.createElement(Box, {
8189
8440
  display: "flex",
8190
8441
  flexDirection: "column",
8191
8442
  gap: "3"
8192
- }, /* @__PURE__ */ React85.createElement(Skeleton, {
8443
+ }, /* @__PURE__ */ React86.createElement(Skeleton, {
8193
8444
  height: 32,
8194
8445
  width: "100%"
8195
- }), /* @__PURE__ */ React85.createElement(Skeleton, {
8446
+ }), /* @__PURE__ */ React86.createElement(Skeleton, {
8196
8447
  height: 32,
8197
8448
  width: "73%"
8198
- }), /* @__PURE__ */ React85.createElement(Skeleton, {
8449
+ }), /* @__PURE__ */ React86.createElement(Skeleton, {
8199
8450
  height: 32,
8200
8451
  width: "80%"
8201
8452
  }))));
8202
- var TimelineSkeleton = ({ items = 3 }) => /* @__PURE__ */ React85.createElement("div", null, Array.from({ length: items }).map((_, key) => /* @__PURE__ */ React85.createElement(TimelineItemSkeleton, {
8453
+ var TimelineSkeleton = ({ items = 3 }) => /* @__PURE__ */ React86.createElement("div", null, Array.from({ length: items }).map((_, key) => /* @__PURE__ */ React86.createElement(TimelineItemSkeleton, {
8203
8454
  key
8204
8455
  })));
8205
8456
  Timeline2.Item = TimelineItem;
8206
8457
  Timeline2.Skeleton = TimelineSkeleton;
8207
8458
 
8208
8459
  // src/utils/table/useTableSelect.ts
8209
- import React86 from "react";
8460
+ import React87 from "react";
8210
8461
  var useTableSelect = (data, { key }) => {
8211
- const [selected, setSelected] = React86.useState([]);
8462
+ const [selected, setSelected] = React87.useState([]);
8212
8463
  const allSelected = selected.length === data.length;
8213
8464
  const isSelected = (dot) => selected.includes(dot[key]);
8214
8465
  const selectAll = () => setSelected(data.map((dot) => dot[key]));
@@ -8233,7 +8484,7 @@ var useTableSelect = (data, { key }) => {
8233
8484
  };
8234
8485
 
8235
8486
  // src/components/Pagination/usePagination.tsx
8236
- import { useState as useState13, useEffect as useEffect7 } from "react";
8487
+ import { useEffect as useEffect7, useState as useState13 } from "react";
8237
8488
  var initialState = {
8238
8489
  currentPage: 1,
8239
8490
  pageSize: 10
@@ -8472,7 +8723,7 @@ export {
8472
8723
  SelectItem,
8473
8724
  Skeleton,
8474
8725
  StatusChip,
8475
- Switch,
8726
+ Switch2 as Switch,
8476
8727
  SwitchGroup,
8477
8728
  TabContainer,
8478
8729
  TabItem,