@driveflux/beam 3.0.18 → 3.0.19

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 (219) hide show
  1. package/dist/accordion/Accordion.js +7 -203
  2. package/dist/accordion/Accordion.stories.js +11 -31
  3. package/dist/alert/Alert.js +19 -193
  4. package/dist/alert/Alert.stories.js +15 -50
  5. package/dist/animations/LoadingAnimation.js +21 -34
  6. package/dist/badge/Badge.js +7 -105
  7. package/dist/badge/Badge.stories.js +7 -28
  8. package/dist/box/Box.js +3 -151
  9. package/dist/box/Box.stories.js +7 -8
  10. package/dist/breadcrumbs/Breadcrumbs.js +26 -351
  11. package/dist/breadcrumbs/Breadcrumbs.stories.js +27 -51
  12. package/dist/button/Button.js +12 -190
  13. package/dist/button/Button.stories.js +7 -35
  14. package/dist/button/TextButton.js +9 -168
  15. package/dist/card/Card.js +7 -188
  16. package/dist/card/Card.stories.js +7 -10
  17. package/dist/carousel/Carousel.js +58 -308
  18. package/dist/carousel/Carousel.stories.js +7 -39
  19. package/dist/carousel/CarouselButton.js +7 -132
  20. package/dist/center/Center.js +3 -127
  21. package/dist/center/Center.stories.js +7 -19
  22. package/dist/checkbox/Checkbox.js +4 -188
  23. package/dist/checkbox/Checkbox.stories.js +8 -10
  24. package/dist/chip/Chip.js +3 -168
  25. package/dist/chip/Chip.stories.js +7 -19
  26. package/dist/circular-progress/CircularProgress.js +11 -159
  27. package/dist/circular-progress/CircularProgress.stories.js +14 -54
  28. package/dist/command/command.js +13 -249
  29. package/dist/datepicker/DatePicker.js +90 -245
  30. package/dist/datepicker/DatePicker.stories.js +58 -162
  31. package/dist/datepicker/DatePickerDrawer.js +17 -115
  32. package/dist/datepicker/DatePickerPopover.js +35 -208
  33. package/dist/datepicker/constants.js +4 -3
  34. package/dist/datepicker/utils.js +11 -4
  35. package/dist/dialog/index.js +12 -253
  36. package/dist/divider/Divider.js +3 -127
  37. package/dist/divider/Divider.stories.js +7 -13
  38. package/dist/drawer/index.js +12 -230
  39. package/dist/dropdown/Dropdown.js +26 -297
  40. package/dist/dropdown/Dropdown.stories.js +22 -109
  41. package/dist/field-wrapper/FieldWrapper.js +3 -203
  42. package/dist/field-wrapper/FieldWrapper.stories.js +28 -124
  43. package/dist/flex/Flex.js +3 -127
  44. package/dist/flex/Flex.stories.js +7 -19
  45. package/dist/grid/Grid.js +3 -127
  46. package/dist/grid/Grid.stories.js +7 -28
  47. package/dist/hooks/use-breakpoint-value.js +14 -77
  48. package/dist/hooks/use-media-query.js +12 -61
  49. package/dist/hstack/HStack.js +3 -127
  50. package/dist/hstack/HStack.stories.js +7 -19
  51. package/dist/icons/FluxLogo.js +9 -222
  52. package/dist/icons/FluxLogoTable.js +5 -118
  53. package/dist/icons/Icon.js +7 -117
  54. package/dist/icons/Icon.stories.js +7 -12
  55. package/dist/icons/Icon24Hours.js +5 -92
  56. package/dist/icons/IconAcceleration.js +4 -81
  57. package/dist/icons/IconAccount.js +4 -81
  58. package/dist/icons/IconApplicant.js +5 -87
  59. package/dist/icons/IconArrow.js +6 -87
  60. package/dist/icons/IconArrowBack.js +4 -81
  61. package/dist/icons/IconArrowForward.js +4 -81
  62. package/dist/icons/IconArrowTopLeft.js +4 -79
  63. package/dist/icons/IconBluesharkProductGuide.js +5 -89
  64. package/dist/icons/IconBolt.js +4 -81
  65. package/dist/icons/IconBriefcase.js +4 -81
  66. package/dist/icons/IconBulb.js +4 -81
  67. package/dist/icons/IconCalendar.js +4 -81
  68. package/dist/icons/IconCalendarArrowBack.js +4 -81
  69. package/dist/icons/IconCalendarArrowForward.js +4 -81
  70. package/dist/icons/IconCalendarDoubleArrowBack.js +4 -81
  71. package/dist/icons/IconCalendarDoubleArrowForward.js +4 -81
  72. package/dist/icons/IconCancel.js +5 -86
  73. package/dist/icons/IconCancelMark.js +4 -81
  74. package/dist/icons/IconCarSUV.js +4 -81
  75. package/dist/icons/IconCarSedan.js +7 -156
  76. package/dist/icons/IconChain.js +5 -88
  77. package/dist/icons/IconCheckmark.js +4 -81
  78. package/dist/icons/IconChevronRight.js +4 -81
  79. package/dist/icons/IconCircle.js +11 -123
  80. package/dist/icons/IconCircleCheckmark.js +5 -86
  81. package/dist/icons/IconCircleError.js +4 -81
  82. package/dist/icons/IconCircleExclamation.js +6 -113
  83. package/dist/icons/IconCircleMark.js +5 -87
  84. package/dist/icons/IconCircleOutline.js +5 -148
  85. package/dist/icons/IconClock.js +5 -89
  86. package/dist/icons/IconClose.js +4 -81
  87. package/dist/icons/IconCollapseAll.js +5 -103
  88. package/dist/icons/IconConcierge.js +5 -88
  89. package/dist/icons/IconConciergeService.js +5 -96
  90. package/dist/icons/IconCreditCard.js +5 -87
  91. package/dist/icons/IconDash.js +4 -81
  92. package/dist/icons/IconDeliver.js +4 -81
  93. package/dist/icons/IconDelivery.js +5 -96
  94. package/dist/icons/IconDetails.js +4 -81
  95. package/dist/icons/IconDot.js +6 -96
  96. package/dist/icons/IconDownload.js +5 -88
  97. package/dist/icons/IconEVCharging.js +5 -88
  98. package/dist/icons/IconElectricCarFuel.js +5 -89
  99. package/dist/icons/IconEllipsis.js +5 -87
  100. package/dist/icons/IconEnvelope.js +4 -81
  101. package/dist/icons/IconExpandAll.js +5 -103
  102. package/dist/icons/IconEye.js +5 -88
  103. package/dist/icons/IconFacebook.js +6 -103
  104. package/dist/icons/IconFilter.js +5 -92
  105. package/dist/icons/IconFlagMalaysia.js +5 -150
  106. package/dist/icons/IconGiveKey.js +5 -88
  107. package/dist/icons/IconGlobe.js +4 -79
  108. package/dist/icons/IconGoogle.js +5 -96
  109. package/dist/icons/IconHome.js +5 -87
  110. package/dist/icons/IconHostAdvertise.js +4 -81
  111. package/dist/icons/IconHostCar.js +4 -84
  112. package/dist/icons/IconHostCash.js +5 -100
  113. package/dist/icons/IconHostHandle.js +4 -79
  114. package/dist/icons/IconHostLocation.js +4 -79
  115. package/dist/icons/IconHostPayment.js +5 -100
  116. package/dist/icons/IconHostService.js +5 -88
  117. package/dist/icons/IconHotDeals.js +4 -81
  118. package/dist/icons/IconInfo.js +5 -86
  119. package/dist/icons/IconInstagram.js +4 -81
  120. package/dist/icons/IconInsurance.js +5 -108
  121. package/dist/icons/IconInternet.js +4 -82
  122. package/dist/icons/IconInventory.js +5 -87
  123. package/dist/icons/IconLaurel.js +5 -110
  124. package/dist/icons/IconLinkedIn.js +4 -81
  125. package/dist/icons/IconLoading.js +4 -87
  126. package/dist/icons/IconLocation.js +5 -89
  127. package/dist/icons/IconLock.js +4 -82
  128. package/dist/icons/IconLogistics.js +4 -81
  129. package/dist/icons/IconMail.js +5 -103
  130. package/dist/icons/IconMember.js +5 -87
  131. package/dist/icons/IconMobilePen.js +5 -92
  132. package/dist/icons/IconMotorcycleMoped.js +5 -87
  133. package/dist/icons/IconNoCost.js +5 -101
  134. package/dist/icons/IconPDF.js +5 -89
  135. package/dist/icons/IconPencil.js +4 -79
  136. package/dist/icons/IconPhone.js +4 -79
  137. package/dist/icons/IconPlus.js +4 -81
  138. package/dist/icons/IconPricing.js +4 -81
  139. package/dist/icons/IconProtected.js +4 -80
  140. package/dist/icons/IconPsychology.js +4 -81
  141. package/dist/icons/IconQuestionTooltip.js +4 -137
  142. package/dist/icons/IconQuote.js +4 -81
  143. package/dist/icons/IconRate.js +4 -80
  144. package/dist/icons/IconRegister.js +5 -108
  145. package/dist/icons/IconReport.js +6 -98
  146. package/dist/icons/IconReturn.js +4 -81
  147. package/dist/icons/IconSearch.js +4 -79
  148. package/dist/icons/IconSecure.js +4 -80
  149. package/dist/icons/IconSecurity.js +4 -82
  150. package/dist/icons/IconSedanOutline.js +5 -168
  151. package/dist/icons/IconSelectArrow.js +6 -87
  152. package/dist/icons/IconSort.js +5 -88
  153. package/dist/icons/IconSortListed.js +5 -104
  154. package/dist/icons/IconSortPriceAscending.js +5 -92
  155. package/dist/icons/IconSortPriceDescending.js +5 -92
  156. package/dist/icons/IconSortYear.js +5 -88
  157. package/dist/icons/IconSpan.js +4 -80
  158. package/dist/icons/IconSpeaker.js +4 -88
  159. package/dist/icons/IconSpecialCar.js +5 -104
  160. package/dist/icons/IconStar.js +7 -101
  161. package/dist/icons/IconStockPhoto.js +5 -104
  162. package/dist/icons/IconSubscription.js +6 -122
  163. package/dist/icons/IconSubscriptions.js +6 -122
  164. package/dist/icons/IconSwap.js +5 -88
  165. package/dist/icons/IconTax.js +4 -81
  166. package/dist/icons/IconThinArrow.js +6 -87
  167. package/dist/icons/IconThumbsdown.js +5 -87
  168. package/dist/icons/IconThumbsup.js +5 -87
  169. package/dist/icons/IconTool.js +4 -81
  170. package/dist/icons/IconTooltip.js +4 -137
  171. package/dist/icons/IconTrash.js +4 -81
  172. package/dist/icons/IconTriangleExclamation.js +4 -81
  173. package/dist/icons/IconTyersBrakes.js +5 -92
  174. package/dist/icons/IconTyre.js +5 -92
  175. package/dist/icons/IconVacancy.js +5 -87
  176. package/dist/icons/IconVolunteer.js +4 -81
  177. package/dist/icons/IconWhatsapp.js +4 -82
  178. package/dist/icons/IconXPlatform.js +4 -81
  179. package/dist/icons/IconZeroEffort.js +5 -86
  180. package/dist/icons/Logo.js +3 -108
  181. package/dist/input/Input.js +11 -134
  182. package/dist/input/Input.stories.js +18 -17
  183. package/dist/input-mask/InputMask.js +11 -158
  184. package/dist/input-mask/InputMask.stories.js +6 -5
  185. package/dist/input-mask/mask-trackers.js +5 -4
  186. package/dist/input-select/InputSelect.js +68 -390
  187. package/dist/input-select/InputSelect.stories.js +25 -98
  188. package/dist/popover/popover.js +4 -136
  189. package/dist/progress/Progress.js +2 -160
  190. package/dist/progress/Progress.stories.js +14 -13
  191. package/dist/radio/Radio.js +4 -227
  192. package/dist/scroll-area/scroll-area.js +5 -180
  193. package/dist/search-input-select/SearchInputSelect.js +69 -379
  194. package/dist/select/Select.js +29 -354
  195. package/dist/select/Select.stories.js +19 -55
  196. package/dist/skeleton/Skeleton.js +3 -71
  197. package/dist/skeleton/Skeleton.stories.js +7 -8
  198. package/dist/slider/Slider.js +5 -170
  199. package/dist/slider/Slider.stories.js +11 -12
  200. package/dist/stack/Stack.js +3 -127
  201. package/dist/stack/Stack.stories.js +7 -19
  202. package/dist/table/Table.js +10 -216
  203. package/dist/table/Table.stories.js +8 -84
  204. package/dist/tabs/Tabs.js +9 -198
  205. package/dist/tabs/Tabs.stories.js +13 -46
  206. package/dist/text/Text.js +6 -152
  207. package/dist/text/Text.stories.js +7 -44
  208. package/dist/toast/Toast.stories.js +14 -66
  209. package/dist/toast/ToastBox.js +29 -77
  210. package/dist/toast/index.js +1 -0
  211. package/dist/toast/sonner.js +6 -66
  212. package/dist/toggle/Toggle.js +7 -180
  213. package/dist/toggle/Toggle.stories.js +8 -10
  214. package/dist/tooltip/Tooltip.js +12 -169
  215. package/dist/tooltip/Tooltip.stories.js +13 -71
  216. package/dist/utils.js +2 -4
  217. package/dist/vstack/VStack.js +3 -127
  218. package/dist/vstack/VStack.stories.js +7 -19
  219. package/package.json +16 -16
@@ -1,85 +1,8 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function _object_without_properties(source, excluded) {
30
- if (source == null) return {};
31
- var target = {}, sourceKeys, key, i;
32
- if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
33
- sourceKeys = Reflect.ownKeys(Object(source));
34
- for(i = 0; i < sourceKeys.length; i++){
35
- key = sourceKeys[i];
36
- if (excluded.indexOf(key) >= 0) continue;
37
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
38
- target[key] = source[key];
39
- }
40
- return target;
41
- }
42
- target = _object_without_properties_loose(source, excluded);
43
- if (Object.getOwnPropertySymbols) {
44
- sourceKeys = Object.getOwnPropertySymbols(source);
45
- for(i = 0; i < sourceKeys.length; i++){
46
- key = sourceKeys[i];
47
- if (excluded.indexOf(key) >= 0) continue;
48
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
49
- target[key] = source[key];
50
- }
51
- }
52
- return target;
53
- }
54
- function _object_without_properties_loose(source, excluded) {
55
- if (source == null) return {};
56
- var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
57
- for(i = 0; i < sourceKeys.length; i++){
58
- key = sourceKeys[i];
59
- if (excluded.indexOf(key) >= 0) continue;
60
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
61
- target[key] = source[key];
62
- }
63
- return target;
64
- }
65
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
66
2
  import { Icon } from './Icon';
67
- export var variants = {
68
- default: /*#__PURE__*/ _jsx(_Fragment, {
69
- children: /*#__PURE__*/ _jsx("path", {
70
- d: "M15.0281 9.99625L11.0908 6.19425C10.6277 5.75075 10.2382 5.257 9.92232 4.713C9.60649 4.16917 9.44857 3.57683 9.44857 2.936C9.44857 2.12883 9.72349 1.43767 10.2733 0.8625C10.8233 0.2875 11.4988 0 12.2998 0C12.8533 0 13.3597 0.145917 13.8188 0.43775C14.278 0.72975 14.6811 1.08942 15.0281 1.51675C15.3751 1.08942 15.7771 0.72975 16.2341 0.43775C16.6912 0.145917 17.1987 0 17.7563 0C18.5573 0 19.2328 0.2875 19.7828 0.8625C20.3327 1.43767 20.6076 2.12883 20.6076 2.936C20.6076 3.57567 20.4486 4.16708 20.1306 4.71025C19.8124 5.25325 19.4236 5.74792 18.9641 6.19425L15.0281 9.99625ZM15.0281 8.26275L18.0218 5.34075C18.3645 5.00758 18.6717 4.64417 18.9436 4.2505C19.2152 3.85683 19.3511 3.41867 19.3511 2.936C19.3511 2.47483 19.1989 2.07958 18.8946 1.75025C18.5901 1.42108 18.2107 1.2565 17.7563 1.2565C17.3883 1.2565 17.0547 1.36117 16.7556 1.5705C16.4564 1.78 16.1904 2.033 15.9576 2.3295L15.0281 3.48075L14.0923 2.3295C13.8637 2.033 13.5997 1.78 13.3006 1.5705C13.0014 1.36117 12.6678 1.2565 12.2998 1.2565C11.8455 1.2565 11.4661 1.42108 11.1616 1.75025C10.8572 2.07958 10.7051 2.47483 10.7051 2.936C10.7051 3.41867 10.8399 3.85683 11.1096 4.2505C11.3791 4.64417 11.688 5.00833 12.0363 5.343L15.0281 8.26275ZM5.50807 16.3205L13.1146 18.5435L19.2056 16.6462C19.1971 16.3269 19.0879 16.0785 18.8781 15.901C18.6682 15.7233 18.4249 15.6345 18.1481 15.6345H13.1661C12.8219 15.6345 12.499 15.6162 12.1973 15.5795C11.8957 15.5427 11.5929 15.4713 11.2891 15.3655L8.99407 14.6462L9.40107 13.3832L11.5851 14.1512C11.8339 14.2427 12.1107 14.3037 12.4153 14.334C12.72 14.3643 13.1001 14.3791 13.5556 14.3783H14.2391C14.2391 14.0496 14.1512 13.7735 13.9756 13.55C13.7999 13.3265 13.5792 13.1641 13.3133 13.0627L7.70757 10.9692C7.68407 10.9629 7.6654 10.9581 7.65157 10.9548C7.63757 10.9516 7.62099 10.95 7.60182 10.95H5.50807V16.3205ZM0.80957 19V9.69375H7.57382C7.66882 9.69375 7.76199 9.70358 7.85332 9.72325C7.94465 9.74292 8.03307 9.766 8.11857 9.7925L13.7391 11.8807C14.2356 12.0624 14.6576 12.3709 15.0051 12.8062C15.3524 13.2414 15.5261 13.7654 15.5261 14.3783H18.1481C18.8734 14.3783 19.4647 14.6268 19.9218 15.124C20.379 15.6213 20.6076 16.2274 20.6076 16.9422V17.5807L13.2018 19.8603L5.50807 17.6372V19H0.80957ZM2.06582 17.7435H4.23507V10.95H2.06582V17.7435Z",
71
- fill: "currentColor"
72
- })
73
- })
74
- };
75
- var IconVolunteer = function IconVolunteer(_0) {
76
- var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 21 20' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'default' : _0_variant, props = _object_without_properties(_0, [
77
- "viewBox",
78
- "variant"
79
- ]);
80
- return /*#__PURE__*/ _jsx(Icon, _object_spread({
81
- viewBox: viewBox,
82
- element: variants[variant]
83
- }, props));
3
+ export const variants = {
4
+ default: (_jsx(_Fragment, { children: _jsx("path", { d: "M15.0281 9.99625L11.0908 6.19425C10.6277 5.75075 10.2382 5.257 9.92232 4.713C9.60649 4.16917 9.44857 3.57683 9.44857 2.936C9.44857 2.12883 9.72349 1.43767 10.2733 0.8625C10.8233 0.2875 11.4988 0 12.2998 0C12.8533 0 13.3597 0.145917 13.8188 0.43775C14.278 0.72975 14.6811 1.08942 15.0281 1.51675C15.3751 1.08942 15.7771 0.72975 16.2341 0.43775C16.6912 0.145917 17.1987 0 17.7563 0C18.5573 0 19.2328 0.2875 19.7828 0.8625C20.3327 1.43767 20.6076 2.12883 20.6076 2.936C20.6076 3.57567 20.4486 4.16708 20.1306 4.71025C19.8124 5.25325 19.4236 5.74792 18.9641 6.19425L15.0281 9.99625ZM15.0281 8.26275L18.0218 5.34075C18.3645 5.00758 18.6717 4.64417 18.9436 4.2505C19.2152 3.85683 19.3511 3.41867 19.3511 2.936C19.3511 2.47483 19.1989 2.07958 18.8946 1.75025C18.5901 1.42108 18.2107 1.2565 17.7563 1.2565C17.3883 1.2565 17.0547 1.36117 16.7556 1.5705C16.4564 1.78 16.1904 2.033 15.9576 2.3295L15.0281 3.48075L14.0923 2.3295C13.8637 2.033 13.5997 1.78 13.3006 1.5705C13.0014 1.36117 12.6678 1.2565 12.2998 1.2565C11.8455 1.2565 11.4661 1.42108 11.1616 1.75025C10.8572 2.07958 10.7051 2.47483 10.7051 2.936C10.7051 3.41867 10.8399 3.85683 11.1096 4.2505C11.3791 4.64417 11.688 5.00833 12.0363 5.343L15.0281 8.26275ZM5.50807 16.3205L13.1146 18.5435L19.2056 16.6462C19.1971 16.3269 19.0879 16.0785 18.8781 15.901C18.6682 15.7233 18.4249 15.6345 18.1481 15.6345H13.1661C12.8219 15.6345 12.499 15.6162 12.1973 15.5795C11.8957 15.5427 11.5929 15.4713 11.2891 15.3655L8.99407 14.6462L9.40107 13.3832L11.5851 14.1512C11.8339 14.2427 12.1107 14.3037 12.4153 14.334C12.72 14.3643 13.1001 14.3791 13.5556 14.3783H14.2391C14.2391 14.0496 14.1512 13.7735 13.9756 13.55C13.7999 13.3265 13.5792 13.1641 13.3133 13.0627L7.70757 10.9692C7.68407 10.9629 7.6654 10.9581 7.65157 10.9548C7.63757 10.9516 7.62099 10.95 7.60182 10.95H5.50807V16.3205ZM0.80957 19V9.69375H7.57382C7.66882 9.69375 7.76199 9.70358 7.85332 9.72325C7.94465 9.74292 8.03307 9.766 8.11857 9.7925L13.7391 11.8807C14.2356 12.0624 14.6576 12.3709 15.0051 12.8062C15.3524 13.2414 15.5261 13.7654 15.5261 14.3783H18.1481C18.8734 14.3783 19.4647 14.6268 19.9218 15.124C20.379 15.6213 20.6076 16.2274 20.6076 16.9422V17.5807L13.2018 19.8603L5.50807 17.6372V19H0.80957ZM2.06582 17.7435H4.23507V10.95H2.06582V17.7435Z", fill: "currentColor" }) })),
84
5
  };
6
+ const IconVolunteer = ({ viewBox = '0 0 21 20', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
85
7
  export default IconVolunteer;
8
+ //# sourceMappingURL=IconVolunteer.js.map
@@ -1,86 +1,8 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function _object_without_properties(source, excluded) {
30
- if (source == null) return {};
31
- var target = {}, sourceKeys, key, i;
32
- if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
33
- sourceKeys = Reflect.ownKeys(Object(source));
34
- for(i = 0; i < sourceKeys.length; i++){
35
- key = sourceKeys[i];
36
- if (excluded.indexOf(key) >= 0) continue;
37
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
38
- target[key] = source[key];
39
- }
40
- return target;
41
- }
42
- target = _object_without_properties_loose(source, excluded);
43
- if (Object.getOwnPropertySymbols) {
44
- sourceKeys = Object.getOwnPropertySymbols(source);
45
- for(i = 0; i < sourceKeys.length; i++){
46
- key = sourceKeys[i];
47
- if (excluded.indexOf(key) >= 0) continue;
48
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
49
- target[key] = source[key];
50
- }
51
- }
52
- return target;
53
- }
54
- function _object_without_properties_loose(source, excluded) {
55
- if (source == null) return {};
56
- var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
57
- for(i = 0; i < sourceKeys.length; i++){
58
- key = sourceKeys[i];
59
- if (excluded.indexOf(key) >= 0) continue;
60
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
61
- target[key] = source[key];
62
- }
63
- return target;
64
- }
65
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
66
2
  import { Icon } from './Icon';
67
- var variants = {
68
- default: /*#__PURE__*/ _jsx(_Fragment, {
69
- children: /*#__PURE__*/ _jsx("path", {
70
- d: "M357.84 61.16A207.2 207.2 0 00210.31 0C95.31 0 1.8 93.55 1.75 208.54A208.16 208.16 0 0029.59 312.8L0 420.87l110.56-29a208.4 208.4 0 0099.65 25.38h.09c114.94 0 208.51-93.56 208.55-208.55a207.32 207.32 0 00-61.01-147.54zM210.31 382.03h-.1a173.1 173.1 0 01-88.23-24.16l-6.33-3.76-65.61 17.21 17.52-64-4.13-6.56a173 173 0 01-26.47-92.18c0-95.57 77.8-173.33 173.42-173.33a173.37 173.37 0 01173.27 173.44c-.04 95.58-77.8 173.34-173.34 173.34zm95.08-129.82c-5.21-2.61-30.83-15.22-35.61-17s-8.25-2.6-11.72 2.61-13.46 17-16.5 20.43-6.08 3.92-11.29 1.31-22-8.11-41.91-25.87c-15.49-13.81-25.95-30.88-29-36.1s-.32-8 2.29-10.63c2.34-2.34 5.21-6.09 7.81-9.13s3.48-5.22 5.21-8.69.87-6.52-.43-9.13-11.72-28.26-16.07-38.7c-4.23-10.16-8.52-8.78-11.72-8.94-3-.15-6.52-.19-10-.19a19.17 19.17 0 00-13.9 6.53c-4.77 5.21-18.23 17.82-18.23 43.47s18.67 50.43 21.27 53.91 36.75 56.11 89 78.68a299.53 299.53 0 0029.71 11c12.49 4 23.85 3.4 32.82 2.06 10-1.49 30.84-12.6 35.18-24.77s4.34-22.61 3-24.79-4.7-3.45-9.91-6.06z",
71
- fillRule: "evenodd",
72
- "data-name": "WA Logo"
73
- })
74
- })
75
- };
76
- var IconWhatsapp = function IconWhatsapp(_0) {
77
- var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 418.86 420.88' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'default' : _0_variant, props = _object_without_properties(_0, [
78
- "viewBox",
79
- "variant"
80
- ]);
81
- return /*#__PURE__*/ _jsx(Icon, _object_spread({
82
- viewBox: viewBox,
83
- element: variants[variant]
84
- }, props));
3
+ const variants = {
4
+ default: (_jsx(_Fragment, { children: _jsx("path", { d: "M357.84 61.16A207.2 207.2 0 00210.31 0C95.31 0 1.8 93.55 1.75 208.54A208.16 208.16 0 0029.59 312.8L0 420.87l110.56-29a208.4 208.4 0 0099.65 25.38h.09c114.94 0 208.51-93.56 208.55-208.55a207.32 207.32 0 00-61.01-147.54zM210.31 382.03h-.1a173.1 173.1 0 01-88.23-24.16l-6.33-3.76-65.61 17.21 17.52-64-4.13-6.56a173 173 0 01-26.47-92.18c0-95.57 77.8-173.33 173.42-173.33a173.37 173.37 0 01173.27 173.44c-.04 95.58-77.8 173.34-173.34 173.34zm95.08-129.82c-5.21-2.61-30.83-15.22-35.61-17s-8.25-2.6-11.72 2.61-13.46 17-16.5 20.43-6.08 3.92-11.29 1.31-22-8.11-41.91-25.87c-15.49-13.81-25.95-30.88-29-36.1s-.32-8 2.29-10.63c2.34-2.34 5.21-6.09 7.81-9.13s3.48-5.22 5.21-8.69.87-6.52-.43-9.13-11.72-28.26-16.07-38.7c-4.23-10.16-8.52-8.78-11.72-8.94-3-.15-6.52-.19-10-.19a19.17 19.17 0 00-13.9 6.53c-4.77 5.21-18.23 17.82-18.23 43.47s18.67 50.43 21.27 53.91 36.75 56.11 89 78.68a299.53 299.53 0 0029.71 11c12.49 4 23.85 3.4 32.82 2.06 10-1.49 30.84-12.6 35.18-24.77s4.34-22.61 3-24.79-4.7-3.45-9.91-6.06z", fillRule: "evenodd", "data-name": "WA Logo" }) })),
85
5
  };
6
+ const IconWhatsapp = ({ viewBox = '0 0 418.86 420.88', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
86
7
  export default IconWhatsapp;
8
+ //# sourceMappingURL=IconWhatsapp.js.map
@@ -1,85 +1,8 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function _object_without_properties(source, excluded) {
30
- if (source == null) return {};
31
- var target = {}, sourceKeys, key, i;
32
- if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
33
- sourceKeys = Reflect.ownKeys(Object(source));
34
- for(i = 0; i < sourceKeys.length; i++){
35
- key = sourceKeys[i];
36
- if (excluded.indexOf(key) >= 0) continue;
37
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
38
- target[key] = source[key];
39
- }
40
- return target;
41
- }
42
- target = _object_without_properties_loose(source, excluded);
43
- if (Object.getOwnPropertySymbols) {
44
- sourceKeys = Object.getOwnPropertySymbols(source);
45
- for(i = 0; i < sourceKeys.length; i++){
46
- key = sourceKeys[i];
47
- if (excluded.indexOf(key) >= 0) continue;
48
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
49
- target[key] = source[key];
50
- }
51
- }
52
- return target;
53
- }
54
- function _object_without_properties_loose(source, excluded) {
55
- if (source == null) return {};
56
- var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
57
- for(i = 0; i < sourceKeys.length; i++){
58
- key = sourceKeys[i];
59
- if (excluded.indexOf(key) >= 0) continue;
60
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
61
- target[key] = source[key];
62
- }
63
- return target;
64
- }
65
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
66
2
  import { Icon } from './Icon';
67
- var variants = {
68
- default: /*#__PURE__*/ _jsx(_Fragment, {
69
- children: /*#__PURE__*/ _jsx("path", {
70
- d: "M13.5697 11.0504L19.7122 3.75H18.2567L12.9231 10.0889L8.66326 3.75H3.75L10.1918 13.3355L3.75 20.9911H5.20566L10.838 14.2971L15.3367 20.9911H20.25L13.5694 11.0504H13.5697ZM11.576 13.42L10.9233 12.4655L5.73015 4.8704H7.96596L12.1569 10.9998L12.8096 11.9543L18.2573 19.9217H16.0215L11.576 13.4203V13.42Z",
71
- fill: "fill"
72
- })
73
- })
74
- };
75
- var IconXPlatform = function IconXPlatform(_0) {
76
- var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 24 24' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'default' : _0_variant, props = _object_without_properties(_0, [
77
- "viewBox",
78
- "variant"
79
- ]);
80
- return /*#__PURE__*/ _jsx(Icon, _object_spread({
81
- viewBox: viewBox,
82
- element: variants[variant]
83
- }, props));
3
+ const variants = {
4
+ default: (_jsx(_Fragment, { children: _jsx("path", { d: "M13.5697 11.0504L19.7122 3.75H18.2567L12.9231 10.0889L8.66326 3.75H3.75L10.1918 13.3355L3.75 20.9911H5.20566L10.838 14.2971L15.3367 20.9911H20.25L13.5694 11.0504H13.5697ZM11.576 13.42L10.9233 12.4655L5.73015 4.8704H7.96596L12.1569 10.9998L12.8096 11.9543L18.2573 19.9217H16.0215L11.576 13.4203V13.42Z", fill: "fill" }) })),
84
5
  };
6
+ const IconXPlatform = ({ viewBox = '0 0 24 24', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
85
7
  export default IconXPlatform;
8
+ //# sourceMappingURL=IconXPlatform.js.map
@@ -1,89 +1,8 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function _object_without_properties(source, excluded) {
30
- if (source == null) return {};
31
- var target = {}, sourceKeys, key, i;
32
- if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
33
- sourceKeys = Reflect.ownKeys(Object(source));
34
- for(i = 0; i < sourceKeys.length; i++){
35
- key = sourceKeys[i];
36
- if (excluded.indexOf(key) >= 0) continue;
37
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
38
- target[key] = source[key];
39
- }
40
- return target;
41
- }
42
- target = _object_without_properties_loose(source, excluded);
43
- if (Object.getOwnPropertySymbols) {
44
- sourceKeys = Object.getOwnPropertySymbols(source);
45
- for(i = 0; i < sourceKeys.length; i++){
46
- key = sourceKeys[i];
47
- if (excluded.indexOf(key) >= 0) continue;
48
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
49
- target[key] = source[key];
50
- }
51
- }
52
- return target;
53
- }
54
- function _object_without_properties_loose(source, excluded) {
55
- if (source == null) return {};
56
- var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
57
- for(i = 0; i < sourceKeys.length; i++){
58
- key = sourceKeys[i];
59
- if (excluded.indexOf(key) >= 0) continue;
60
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
61
- target[key] = source[key];
62
- }
63
- return target;
64
- }
65
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
66
2
  import { Icon } from './Icon';
67
- var variants = {
68
- default: /*#__PURE__*/ _jsxs(_Fragment, {
69
- children: [
70
- /*#__PURE__*/ _jsx("path", {
71
- d: "M16,4C9.4,4,4,9.4,4,16s5.4,12,12,12s12-5.4,12-12S22.6,4,16,4z M16,6c5.5,0,10,4.5,10,10s-4.5,10-10,10S6,21.5,6,16\n S10.5,6,16,6z"
72
- }),
73
- /*#__PURE__*/ _jsx("path", {
74
- d: "M16,10c-2.2,0-4,1.8-4,4v4c0,2.2,1.8,4,4,4s4-1.8,4-4v-4C20,11.8,18.2,10,16,10z M14,14c0-1.1,0.9-2,2-2\n c0.3,0,0.5,0.1,0.7,0.1L14,17.9V14z M18,18c0,1.1-0.9,2-2,2c-0.3,0-0.5-0.1-0.7-0.1l2.7-5.7V18z"
75
- })
76
- ]
77
- })
78
- };
79
- var IconSpecialCar = function IconSpecialCar(_0) {
80
- var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 32 32' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'default' : _0_variant, props = _object_without_properties(_0, [
81
- "viewBox",
82
- "variant"
83
- ]);
84
- return /*#__PURE__*/ _jsx(Icon, _object_spread({
85
- viewBox: viewBox,
86
- element: variants[variant]
87
- }, props));
3
+ const variants = {
4
+ default: (_jsxs(_Fragment, { children: [_jsx("path", { d: "M16,4C9.4,4,4,9.4,4,16s5.4,12,12,12s12-5.4,12-12S22.6,4,16,4z M16,6c5.5,0,10,4.5,10,10s-4.5,10-10,10S6,21.5,6,16\n\tS10.5,6,16,6z" }), _jsx("path", { d: "M16,10c-2.2,0-4,1.8-4,4v4c0,2.2,1.8,4,4,4s4-1.8,4-4v-4C20,11.8,18.2,10,16,10z M14,14c0-1.1,0.9-2,2-2\n\tc0.3,0,0.5,0.1,0.7,0.1L14,17.9V14z M18,18c0,1.1-0.9,2-2,2c-0.3,0-0.5-0.1-0.7-0.1l2.7-5.7V18z" })] })),
88
5
  };
6
+ const IconSpecialCar = ({ viewBox = '0 0 32 32', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
89
7
  export default IconSpecialCar;
8
+ //# sourceMappingURL=IconZeroEffort.js.map
@@ -1,114 +1,9 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _object_spread_props(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
- function _object_without_properties(source, excluded) {
54
- if (source == null) return {};
55
- var target = {}, sourceKeys, key, i;
56
- if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
57
- sourceKeys = Reflect.ownKeys(Object(source));
58
- for(i = 0; i < sourceKeys.length; i++){
59
- key = sourceKeys[i];
60
- if (excluded.indexOf(key) >= 0) continue;
61
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
62
- target[key] = source[key];
63
- }
64
- return target;
65
- }
66
- target = _object_without_properties_loose(source, excluded);
67
- if (Object.getOwnPropertySymbols) {
68
- sourceKeys = Object.getOwnPropertySymbols(source);
69
- for(i = 0; i < sourceKeys.length; i++){
70
- key = sourceKeys[i];
71
- if (excluded.indexOf(key) >= 0) continue;
72
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
73
- target[key] = source[key];
74
- }
75
- }
76
- return target;
77
- }
78
- function _object_without_properties_loose(source, excluded) {
79
- if (source == null) return {};
80
- var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
81
- for(i = 0; i < sourceKeys.length; i++){
82
- key = sourceKeys[i];
83
- if (excluded.indexOf(key) >= 0) continue;
84
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
85
- target[key] = source[key];
86
- }
87
- return target;
88
- }
89
1
  import { jsx as _jsx } from "react/jsx-runtime";
90
2
  import Box from '../box/Box';
91
3
  import FluxLogo from '../icons/FluxLogo';
92
4
  import { cn } from '../utils';
93
- var Logo = function Logo(_0) {
94
- var colorScheme = _0.colorScheme, _0_size = _0.size, size = _0_size === void 0 ? '29px' : _0_size, className = _0.className, style = _0.style, props = _object_without_properties(_0, [
95
- "colorScheme",
96
- "size",
97
- "className",
98
- "style"
99
- ]);
100
- return /*#__PURE__*/ _jsx(Box, _object_spread_props(_object_spread({
101
- className: cn(className),
102
- style: style
103
- }, props), {
104
- children: /*#__PURE__*/ _jsx(FluxLogo, _object_spread({
105
- width: 'full',
106
- size: size,
107
- variant: colorScheme ? 'solid' : 'default',
108
- alt: 'FLUX Logo'
109
- }, colorScheme ? {
110
- forceColor: colorScheme
111
- } : {}))
112
- }));
5
+ const Logo = ({ colorScheme, size = '29px', className, style, ...props }) => {
6
+ return (_jsx(Box, { className: cn(className), style: style, ...props, children: _jsx(FluxLogo, { width: 'full', size: size, variant: colorScheme ? 'solid' : 'default', alt: 'FLUX Logo', ...(colorScheme ? { forceColor: colorScheme } : {}) }) }));
113
7
  };
114
8
  export default Logo;
9
+ //# sourceMappingURL=Logo.js.map
@@ -1,141 +1,18 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _object_spread_props(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
- function _object_without_properties(source, excluded) {
54
- if (source == null) return {};
55
- var target = {}, sourceKeys, key, i;
56
- if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
57
- sourceKeys = Reflect.ownKeys(Object(source));
58
- for(i = 0; i < sourceKeys.length; i++){
59
- key = sourceKeys[i];
60
- if (excluded.indexOf(key) >= 0) continue;
61
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
62
- target[key] = source[key];
63
- }
64
- return target;
65
- }
66
- target = _object_without_properties_loose(source, excluded);
67
- if (Object.getOwnPropertySymbols) {
68
- sourceKeys = Object.getOwnPropertySymbols(source);
69
- for(i = 0; i < sourceKeys.length; i++){
70
- key = sourceKeys[i];
71
- if (excluded.indexOf(key) >= 0) continue;
72
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
73
- target[key] = source[key];
74
- }
75
- }
76
- return target;
77
- }
78
- function _object_without_properties_loose(source, excluded) {
79
- if (source == null) return {};
80
- var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
81
- for(i = 0; i < sourceKeys.length; i++){
82
- key = sourceKeys[i];
83
- if (excluded.indexOf(key) >= 0) continue;
84
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
85
- target[key] = source[key];
86
- }
87
- return target;
88
- }
89
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
90
2
  import * as React from 'react';
91
3
  import FieldWrapper from '../field-wrapper/FieldWrapper.js';
92
4
  import { cn } from '../utils.js';
93
- var Input = /*#__PURE__*/ React.forwardRef(function(props, ref) {
94
- var // for wrapper
95
- wrapperProps = props.wrapperProps, htmlFor = props.htmlFor, label = props.label, helperText = props.helperText, showRequired = props.showRequired, showOptional = props.showOptional, outerPrefix = props.outerPrefix, outerSuffix = props.outerSuffix, error = props.error, // for input container
96
- className = props.className, // for input
97
- prefix = props.prefix, suffix = props.suffix, inputClassName = props.inputClassName, inputRef = props.inputRef, isDisabled = props.isDisabled, inputProps = _object_without_properties(props, [
98
- "wrapperProps",
99
- "htmlFor",
100
- "label",
101
- "helperText",
102
- "showRequired",
103
- "showOptional",
104
- "outerPrefix",
105
- "outerSuffix",
106
- "error",
107
- "className",
108
- "prefix",
109
- "suffix",
110
- "inputClassName",
111
- "inputRef",
112
- "isDisabled"
113
- ]);
114
- return /*#__PURE__*/ _jsx(FieldWrapper, _object_spread_props(_object_spread({
115
- htmlFor: htmlFor,
116
- label: label,
117
- helperText: helperText,
118
- showOptional: showOptional,
119
- showRequired: showRequired,
120
- outerPrefix: outerPrefix,
121
- outerSuffix: outerSuffix,
122
- error: error
123
- }, wrapperProps), {
124
- children: /*#__PURE__*/ _jsxs("div", {
125
- ref: ref,
126
- "aria-disabled": isDisabled,
127
- className: cn('flex gap-x-2 h-10 w-full border border-primary2 bg-white px-3 py-2 text-sm ring-offset-white items-center file:border-0 file:bg-transparent file:text-sm file:font-medium hover:border-black focus-within:border-black focus-within:outline-none rounded-lg', isDisabled && 'bg-primary1 cursor-not-allowed hover:border-black', !!error && 'border-alert4 hover:border-alert4 focus-within:border-alert4', className),
128
- children: [
129
- prefix,
130
- /*#__PURE__*/ _jsx("input", _object_spread({
131
- ref: inputRef,
132
- disabled: isDisabled,
133
- className: cn('border-none outline-none placeholder-primary2 placeholder:tracking-normal w-full', isDisabled && 'bg-primary1 cursor-not-allowed', inputClassName)
134
- }, inputProps)),
135
- suffix
136
- ]
137
- })
138
- }));
5
+ const Input = React.forwardRef((props, ref) => {
6
+ const {
7
+ // for wrapper
8
+ wrapperProps, htmlFor, label, helperText, showRequired, showOptional, outerPrefix, outerSuffix, error,
9
+ // for input container
10
+ className,
11
+ // for input
12
+ prefix, suffix, inputClassName, inputRef, isDisabled, ...inputProps } = props;
13
+ return (_jsx(FieldWrapper, { htmlFor: htmlFor, label: label, helperText: helperText, showOptional: showOptional, showRequired: showRequired, outerPrefix: outerPrefix, outerSuffix: outerSuffix, error: error, ...wrapperProps, children: _jsxs("div", { ref: ref, "aria-disabled": isDisabled, className: cn('flex gap-x-2 h-10 w-full border border-primary2 bg-white px-3 py-2 text-sm ring-offset-white items-center file:border-0 file:bg-transparent file:text-sm file:font-medium hover:border-black focus-within:border-black focus-within:outline-none rounded-lg', isDisabled && 'bg-primary1 cursor-not-allowed hover:border-black', !!error &&
14
+ 'border-alert4 hover:border-alert4 focus-within:border-alert4', className), children: [prefix, _jsx("input", { ref: inputRef, disabled: isDisabled, className: cn('border-none outline-none placeholder-primary2 placeholder:tracking-normal w-full', isDisabled && 'bg-primary1 cursor-not-allowed', inputClassName), ...inputProps }), suffix] }) }));
139
15
  });
140
16
  Input.displayName = 'Input';
141
17
  export default Input;
18
+ //# sourceMappingURL=Input.js.map