@driveflux/beam 3.0.19 → 3.0.20

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 +203 -7
  2. package/dist/accordion/Accordion.stories.js +31 -11
  3. package/dist/alert/Alert.js +193 -19
  4. package/dist/alert/Alert.stories.js +50 -15
  5. package/dist/animations/LoadingAnimation.js +34 -21
  6. package/dist/badge/Badge.js +105 -7
  7. package/dist/badge/Badge.stories.js +28 -7
  8. package/dist/box/Box.js +151 -3
  9. package/dist/box/Box.stories.js +8 -7
  10. package/dist/breadcrumbs/Breadcrumbs.js +351 -26
  11. package/dist/breadcrumbs/Breadcrumbs.stories.js +51 -27
  12. package/dist/button/Button.js +190 -12
  13. package/dist/button/Button.stories.js +35 -7
  14. package/dist/button/TextButton.js +168 -9
  15. package/dist/card/Card.js +188 -7
  16. package/dist/card/Card.stories.js +10 -7
  17. package/dist/carousel/Carousel.js +308 -58
  18. package/dist/carousel/Carousel.stories.js +39 -7
  19. package/dist/carousel/CarouselButton.js +132 -7
  20. package/dist/center/Center.js +127 -3
  21. package/dist/center/Center.stories.js +19 -7
  22. package/dist/checkbox/Checkbox.js +188 -4
  23. package/dist/checkbox/Checkbox.stories.js +10 -8
  24. package/dist/chip/Chip.js +168 -3
  25. package/dist/chip/Chip.stories.js +19 -7
  26. package/dist/circular-progress/CircularProgress.js +159 -11
  27. package/dist/circular-progress/CircularProgress.stories.js +54 -14
  28. package/dist/command/command.js +249 -13
  29. package/dist/datepicker/DatePicker.js +245 -90
  30. package/dist/datepicker/DatePicker.stories.js +162 -58
  31. package/dist/datepicker/DatePickerDrawer.js +115 -17
  32. package/dist/datepicker/DatePickerPopover.js +208 -35
  33. package/dist/datepicker/constants.js +3 -4
  34. package/dist/datepicker/utils.js +4 -11
  35. package/dist/dialog/index.js +253 -12
  36. package/dist/divider/Divider.js +127 -3
  37. package/dist/divider/Divider.stories.js +13 -7
  38. package/dist/drawer/index.js +230 -12
  39. package/dist/dropdown/Dropdown.js +297 -26
  40. package/dist/dropdown/Dropdown.stories.js +109 -22
  41. package/dist/field-wrapper/FieldWrapper.js +203 -3
  42. package/dist/field-wrapper/FieldWrapper.stories.js +124 -28
  43. package/dist/flex/Flex.js +127 -3
  44. package/dist/flex/Flex.stories.js +19 -7
  45. package/dist/grid/Grid.js +127 -3
  46. package/dist/grid/Grid.stories.js +28 -7
  47. package/dist/hooks/use-breakpoint-value.js +77 -14
  48. package/dist/hooks/use-media-query.js +61 -12
  49. package/dist/hstack/HStack.js +127 -3
  50. package/dist/hstack/HStack.stories.js +19 -7
  51. package/dist/icons/FluxLogo.js +222 -9
  52. package/dist/icons/FluxLogoTable.js +118 -5
  53. package/dist/icons/Icon.js +117 -7
  54. package/dist/icons/Icon.stories.js +12 -7
  55. package/dist/icons/Icon24Hours.js +92 -5
  56. package/dist/icons/IconAcceleration.js +81 -4
  57. package/dist/icons/IconAccount.js +81 -4
  58. package/dist/icons/IconApplicant.js +87 -5
  59. package/dist/icons/IconArrow.js +87 -6
  60. package/dist/icons/IconArrowBack.js +81 -4
  61. package/dist/icons/IconArrowForward.js +81 -4
  62. package/dist/icons/IconArrowTopLeft.js +79 -4
  63. package/dist/icons/IconBluesharkProductGuide.js +89 -5
  64. package/dist/icons/IconBolt.js +81 -4
  65. package/dist/icons/IconBriefcase.js +81 -4
  66. package/dist/icons/IconBulb.js +81 -4
  67. package/dist/icons/IconCalendar.js +81 -4
  68. package/dist/icons/IconCalendarArrowBack.js +81 -4
  69. package/dist/icons/IconCalendarArrowForward.js +81 -4
  70. package/dist/icons/IconCalendarDoubleArrowBack.js +81 -4
  71. package/dist/icons/IconCalendarDoubleArrowForward.js +81 -4
  72. package/dist/icons/IconCancel.js +86 -5
  73. package/dist/icons/IconCancelMark.js +81 -4
  74. package/dist/icons/IconCarSUV.js +81 -4
  75. package/dist/icons/IconCarSedan.js +156 -7
  76. package/dist/icons/IconChain.js +88 -5
  77. package/dist/icons/IconCheckmark.js +81 -4
  78. package/dist/icons/IconChevronRight.js +81 -4
  79. package/dist/icons/IconCircle.js +123 -11
  80. package/dist/icons/IconCircleCheckmark.js +86 -5
  81. package/dist/icons/IconCircleError.js +81 -4
  82. package/dist/icons/IconCircleExclamation.js +113 -6
  83. package/dist/icons/IconCircleMark.js +87 -5
  84. package/dist/icons/IconCircleOutline.js +148 -5
  85. package/dist/icons/IconClock.js +89 -5
  86. package/dist/icons/IconClose.js +81 -4
  87. package/dist/icons/IconCollapseAll.js +103 -5
  88. package/dist/icons/IconConcierge.js +88 -5
  89. package/dist/icons/IconConciergeService.js +96 -5
  90. package/dist/icons/IconCreditCard.js +87 -5
  91. package/dist/icons/IconDash.js +81 -4
  92. package/dist/icons/IconDeliver.js +81 -4
  93. package/dist/icons/IconDelivery.js +96 -5
  94. package/dist/icons/IconDetails.js +81 -4
  95. package/dist/icons/IconDot.js +96 -6
  96. package/dist/icons/IconDownload.js +88 -5
  97. package/dist/icons/IconEVCharging.js +88 -5
  98. package/dist/icons/IconElectricCarFuel.js +89 -5
  99. package/dist/icons/IconEllipsis.js +87 -5
  100. package/dist/icons/IconEnvelope.js +81 -4
  101. package/dist/icons/IconExpandAll.js +103 -5
  102. package/dist/icons/IconEye.js +88 -5
  103. package/dist/icons/IconFacebook.js +103 -6
  104. package/dist/icons/IconFilter.js +92 -5
  105. package/dist/icons/IconFlagMalaysia.js +150 -5
  106. package/dist/icons/IconGiveKey.js +88 -5
  107. package/dist/icons/IconGlobe.js +79 -4
  108. package/dist/icons/IconGoogle.js +96 -5
  109. package/dist/icons/IconHome.js +87 -5
  110. package/dist/icons/IconHostAdvertise.js +81 -4
  111. package/dist/icons/IconHostCar.js +84 -4
  112. package/dist/icons/IconHostCash.js +100 -5
  113. package/dist/icons/IconHostHandle.js +79 -4
  114. package/dist/icons/IconHostLocation.js +79 -4
  115. package/dist/icons/IconHostPayment.js +100 -5
  116. package/dist/icons/IconHostService.js +88 -5
  117. package/dist/icons/IconHotDeals.js +81 -4
  118. package/dist/icons/IconInfo.js +86 -5
  119. package/dist/icons/IconInstagram.js +81 -4
  120. package/dist/icons/IconInsurance.js +108 -5
  121. package/dist/icons/IconInternet.js +82 -4
  122. package/dist/icons/IconInventory.js +87 -5
  123. package/dist/icons/IconLaurel.js +110 -5
  124. package/dist/icons/IconLinkedIn.js +81 -4
  125. package/dist/icons/IconLoading.js +87 -4
  126. package/dist/icons/IconLocation.js +89 -5
  127. package/dist/icons/IconLock.js +82 -4
  128. package/dist/icons/IconLogistics.js +81 -4
  129. package/dist/icons/IconMail.js +103 -5
  130. package/dist/icons/IconMember.js +87 -5
  131. package/dist/icons/IconMobilePen.js +92 -5
  132. package/dist/icons/IconMotorcycleMoped.js +87 -5
  133. package/dist/icons/IconNoCost.js +101 -5
  134. package/dist/icons/IconPDF.js +89 -5
  135. package/dist/icons/IconPencil.js +79 -4
  136. package/dist/icons/IconPhone.js +79 -4
  137. package/dist/icons/IconPlus.js +81 -4
  138. package/dist/icons/IconPricing.js +81 -4
  139. package/dist/icons/IconProtected.js +80 -4
  140. package/dist/icons/IconPsychology.js +81 -4
  141. package/dist/icons/IconQuestionTooltip.js +137 -4
  142. package/dist/icons/IconQuote.js +81 -4
  143. package/dist/icons/IconRate.js +80 -4
  144. package/dist/icons/IconRegister.js +108 -5
  145. package/dist/icons/IconReport.js +98 -6
  146. package/dist/icons/IconReturn.js +81 -4
  147. package/dist/icons/IconSearch.js +79 -4
  148. package/dist/icons/IconSecure.js +80 -4
  149. package/dist/icons/IconSecurity.js +82 -4
  150. package/dist/icons/IconSedanOutline.js +168 -5
  151. package/dist/icons/IconSelectArrow.js +87 -6
  152. package/dist/icons/IconSort.js +88 -5
  153. package/dist/icons/IconSortListed.js +104 -5
  154. package/dist/icons/IconSortPriceAscending.js +92 -5
  155. package/dist/icons/IconSortPriceDescending.js +92 -5
  156. package/dist/icons/IconSortYear.js +88 -5
  157. package/dist/icons/IconSpan.js +80 -4
  158. package/dist/icons/IconSpeaker.js +88 -4
  159. package/dist/icons/IconSpecialCar.js +104 -5
  160. package/dist/icons/IconStar.js +101 -7
  161. package/dist/icons/IconStockPhoto.js +104 -5
  162. package/dist/icons/IconSubscription.js +122 -6
  163. package/dist/icons/IconSubscriptions.js +122 -6
  164. package/dist/icons/IconSwap.js +88 -5
  165. package/dist/icons/IconTax.js +81 -4
  166. package/dist/icons/IconThinArrow.js +87 -6
  167. package/dist/icons/IconThumbsdown.js +87 -5
  168. package/dist/icons/IconThumbsup.js +87 -5
  169. package/dist/icons/IconTool.js +81 -4
  170. package/dist/icons/IconTooltip.js +137 -4
  171. package/dist/icons/IconTrash.js +81 -4
  172. package/dist/icons/IconTriangleExclamation.js +81 -4
  173. package/dist/icons/IconTyersBrakes.js +92 -5
  174. package/dist/icons/IconTyre.js +92 -5
  175. package/dist/icons/IconVacancy.js +87 -5
  176. package/dist/icons/IconVolunteer.js +81 -4
  177. package/dist/icons/IconWhatsapp.js +82 -4
  178. package/dist/icons/IconXPlatform.js +81 -4
  179. package/dist/icons/IconZeroEffort.js +86 -5
  180. package/dist/icons/Logo.js +108 -3
  181. package/dist/input/Input.js +134 -11
  182. package/dist/input/Input.stories.js +17 -18
  183. package/dist/input-mask/InputMask.js +158 -11
  184. package/dist/input-mask/InputMask.stories.js +5 -6
  185. package/dist/input-mask/mask-trackers.js +4 -5
  186. package/dist/input-select/InputSelect.js +390 -68
  187. package/dist/input-select/InputSelect.stories.js +98 -25
  188. package/dist/popover/popover.js +136 -4
  189. package/dist/progress/Progress.js +160 -2
  190. package/dist/progress/Progress.stories.js +13 -14
  191. package/dist/radio/Radio.js +227 -4
  192. package/dist/scroll-area/scroll-area.js +180 -5
  193. package/dist/search-input-select/SearchInputSelect.js +379 -69
  194. package/dist/select/Select.js +354 -29
  195. package/dist/select/Select.stories.js +55 -19
  196. package/dist/skeleton/Skeleton.js +71 -3
  197. package/dist/skeleton/Skeleton.stories.js +8 -7
  198. package/dist/slider/Slider.js +170 -5
  199. package/dist/slider/Slider.stories.js +12 -11
  200. package/dist/stack/Stack.js +127 -3
  201. package/dist/stack/Stack.stories.js +19 -7
  202. package/dist/table/Table.js +216 -10
  203. package/dist/table/Table.stories.js +84 -8
  204. package/dist/tabs/Tabs.js +198 -9
  205. package/dist/tabs/Tabs.stories.js +46 -13
  206. package/dist/text/Text.js +152 -6
  207. package/dist/text/Text.stories.js +44 -7
  208. package/dist/toast/Toast.stories.js +66 -14
  209. package/dist/toast/ToastBox.js +77 -29
  210. package/dist/toast/index.js +0 -1
  211. package/dist/toast/sonner.js +66 -6
  212. package/dist/toggle/Toggle.js +180 -7
  213. package/dist/toggle/Toggle.stories.js +10 -8
  214. package/dist/tooltip/Tooltip.js +169 -12
  215. package/dist/tooltip/Tooltip.stories.js +71 -13
  216. package/dist/utils.js +4 -2
  217. package/dist/vstack/VStack.js +127 -3
  218. package/dist/vstack/VStack.stories.js +19 -7
  219. package/package.json +11 -11
@@ -1,13 +1,226 @@
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
+ }
1
65
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
66
  import { Icon } from './Icon';
3
- const variants = {
4
- solid: ({ alt, forceColor, fluxIconColor }) => (_jsxs(_Fragment, { children: [_jsx("title", { children: alt || 'FLUX Home' }), _jsxs("defs", { children: [_jsx("path", { id: "prefix__XAXA", d: "M.066.229H14.98v16.39H.066z" }), _jsx("path", { id: "prefix__SMIOD", d: "M.38.4h6.028v5.99H.38z" })] }), _jsxs("g", { fill: 'none', fillRule: "evenodd", children: [_jsx("path", { fill: forceColor || '#fff', d: "M23 7h12v1.919H24.885v5.626h8.23v1.91h-8.23V24H23zM40 7h1.838v15.082H51V24H40zM56.77 16.4V7.126h1.86v9.155c0 3.536 1.885 5.526 5.043 5.526 3.039 0 4.97-1.826 4.97-5.409V7.127h1.862v9.132c0 4.776-2.757 7.258-6.88 7.258-4.075 0-6.855-2.482-6.855-7.118" }), _jsx("g", { transform: "translate(75.668 6.898)", children: _jsx("path", { fill: forceColor || '#fff', d: "M6.404 8.26L.302.229h2.191L7.56 6.925 12.576.23h2.168L8.642 8.237l6.338 8.382h-2.215L7.488 9.571 2.21 16.62H.066z" }) }), _jsx("path", { d: "M.883 16.44a2.985 2.985 0 010-4.238L12.141 1.014a3.029 3.029 0 014.265 0 2.983 2.983 0 010 4.238L5.148 16.441a3.015 3.015 0 01-2.132.878 3.015 3.015 0 01-2.133-.878zM6.513 22.036a2.985 2.985 0 010-4.24l5.628-5.592a3.029 3.029 0 014.265 0 2.984 2.984 0 010 4.239l-5.628 5.593a3.015 3.015 0 01-2.132.878 3.015 3.015 0 01-2.133-.878z", fill: fluxIconColor || '#50C8E8', opacity: 0.3 }), _jsx("g", { transform: "translate(10.88 22.119)", children: _jsx("path", { d: "M6.408 3.395A3.004 3.004 0 013.394 6.39 3.005 3.005 0 01.38 3.395 3.005 3.005 0 013.394.399a3.005 3.005 0 013.014 2.996", fill: fluxIconColor || '#50C8E8' }) }), _jsx("path", { d: "M17.288 3.132a3.004 3.004 0 01-3.014 2.995 3.005 3.005 0 01-3.014-2.995A3.005 3.005 0 0114.274.136a3.004 3.004 0 013.014 2.996M17.288 14.322a3.004 3.004 0 01-3.014 2.995 3.005 3.005 0 01-3.014-2.995 3.005 3.005 0 013.014-2.995 3.004 3.004 0 013.014 2.995", fill: fluxIconColor || '#50C8E8' })] })] })),
5
- default: ({ alt, forceColor, fluxIconColor }) => (_jsxs(_Fragment, { children: [_jsx("title", { children: alt || 'FLUX Home' }), _jsxs("defs", { children: [_jsx("path", { id: "prefix__XAXA", d: "M.066.229H14.98v16.39H.066z" }), _jsx("path", { id: "prefix__SMIOD", d: "M.38.4h6.028v5.99H.38z" })] }), _jsxs("g", { fill: 'none', fillRule: "evenodd", children: [_jsx("path", { fill: forceColor || '#000', d: "M23 7h12v1.919H24.885v5.626h8.23v1.91h-8.23V24H23zM40 7h1.838v15.082H51V24H40zM56.77 16.4V7.126h1.86v9.155c0 3.536 1.885 5.526 5.043 5.526 3.039 0 4.97-1.826 4.97-5.409V7.127h1.862v9.132c0 4.776-2.757 7.258-6.88 7.258-4.075 0-6.855-2.482-6.855-7.118" }), _jsx("g", { transform: "translate(75.668 6.898)", children: _jsx("path", { fill: forceColor || '#000', d: "M6.404 8.26L.302.229h2.191L7.56 6.925 12.576.23h2.168L8.642 8.237l6.338 8.382h-2.215L7.488 9.571 2.21 16.62H.066z" }) }), _jsx("path", { d: "M.883 16.44a2.985 2.985 0 010-4.238L12.141 1.014a3.029 3.029 0 014.265 0 2.983 2.983 0 010 4.238L5.148 16.441a3.015 3.015 0 01-2.132.878 3.015 3.015 0 01-2.133-.878zM6.513 22.036a2.985 2.985 0 010-4.24l5.628-5.592a3.029 3.029 0 014.265 0 2.984 2.984 0 010 4.239l-5.628 5.593a3.015 3.015 0 01-2.132.878 3.015 3.015 0 01-2.133-.878z", fill: fluxIconColor || '#50C8E8', opacity: 0.3 }), _jsx("g", { transform: "translate(10.88 22.119)", children: _jsx("path", { d: "M6.408 3.395A3.004 3.004 0 013.394 6.39 3.005 3.005 0 01.38 3.395 3.005 3.005 0 013.394.399a3.005 3.005 0 013.014 2.996", fill: fluxIconColor || '#50C8E8', mask: "url(#prefix__JDNIJ)" }) }), _jsx("path", { d: "M17.288 3.132a3.004 3.004 0 01-3.014 2.995 3.005 3.005 0 01-3.014-2.995A3.005 3.005 0 0114.274.136a3.004 3.004 0 013.014 2.996M17.288 14.322a3.004 3.004 0 01-3.014 2.995 3.005 3.005 0 01-3.014-2.995 3.005 3.005 0 013.014-2.995 3.004 3.004 0 013.014 2.995", fill: fluxIconColor || '#50C8E8' })] })] })),
6
- icon: ({ forceColor }) => (_jsxs(_Fragment, { children: [_jsx("path", { opacity: "0.3", d: "M3.05983 17.5616C2.45523 17.56 1.86464 17.3794 1.3624 17.0425C0.860172 16.7056 0.468759 16.2275 0.237458 15.6684C0.00615705 15.1093 -0.0546916 14.4942 0.0625746 13.9006C0.179841 13.307 0.469979 12.7613 0.896452 12.3324L12.326 0.892787C12.9095 0.364984 13.6733 0.0819496 14.4595 0.102282C15.2457 0.122614 15.9939 0.444756 16.5493 1.00201C17.1047 1.55927 17.4247 2.30895 17.4431 3.09585C17.4615 3.88275 17.1769 4.64659 16.6481 5.22923L5.21849 16.6688C4.9349 16.9523 4.5983 17.177 4.22791 17.3302C3.85751 17.4834 3.46059 17.562 3.05983 17.5616Z", fill: forceColor || '#50C8E8' }), _jsx("path", { opacity: "0.3", d: "M8.77507 23.2802C8.17013 23.279 7.57908 23.0987 7.07641 22.7618C6.57375 22.4249 6.18198 21.9467 5.95048 21.3873C5.71899 20.8279 5.65813 20.2125 5.77559 19.6185C5.89305 19.0246 6.18357 18.4787 6.61051 18.0498L12.3218 12.3335C12.6009 12.0271 12.9392 11.7806 13.3163 11.6088C13.6933 11.437 14.1012 11.3435 14.5154 11.334C14.9296 11.3245 15.3414 11.3992 15.7259 11.5535C16.1104 11.7078 16.4597 11.9386 16.7525 12.2319C17.0454 12.5252 17.2758 12.8748 17.4297 13.2598C17.5837 13.6447 17.6581 14.0569 17.6484 14.4714C17.6387 14.886 17.5451 15.2942 17.3732 15.6715C17.2013 16.0488 16.9548 16.3872 16.6485 16.6664L10.9373 22.3839C10.6535 22.6683 10.3164 22.8938 9.94538 23.0476C9.57435 23.2014 9.17665 23.2805 8.77507 23.2802Z", fill: forceColor || '#50C8E8' }), _jsx("path", { d: "M14.4871 29C16.1765 29 17.546 27.6293 17.546 25.9384C17.546 24.2475 16.1765 22.8768 14.4871 22.8768C12.7977 22.8768 11.4282 24.2475 11.4282 25.9384C11.4282 27.6293 12.7977 29 14.4871 29Z", fill: forceColor || '#50C8E8' }), _jsx("path", { d: "M14.4871 6.12314C16.1765 6.12314 17.546 4.75243 17.546 3.06157C17.546 1.37071 16.1765 0 14.4871 0C12.7977 0 11.4282 1.37071 11.4282 3.06157C11.4282 4.75243 12.7977 6.12314 14.4871 6.12314Z", fill: forceColor || '#50C8E8' }), _jsx("path", { d: "M14.4871 17.5616C16.1765 17.5616 17.546 16.1908 17.546 14.5C17.546 12.8091 16.1765 11.4384 14.4871 11.4384C12.7977 11.4384 11.4282 12.8091 11.4282 14.5C11.4282 16.1908 12.7977 17.5616 14.4871 17.5616Z", fill: forceColor || '#50C8E8' })] })),
67
+ var variants = {
68
+ solid: function solid(param) {
69
+ var alt = param.alt, forceColor = param.forceColor, fluxIconColor = param.fluxIconColor;
70
+ return /*#__PURE__*/ _jsxs(_Fragment, {
71
+ children: [
72
+ /*#__PURE__*/ _jsx("title", {
73
+ children: alt || 'FLUX Home'
74
+ }),
75
+ /*#__PURE__*/ _jsxs("defs", {
76
+ children: [
77
+ /*#__PURE__*/ _jsx("path", {
78
+ id: "prefix__XAXA",
79
+ d: "M.066.229H14.98v16.39H.066z"
80
+ }),
81
+ /*#__PURE__*/ _jsx("path", {
82
+ id: "prefix__SMIOD",
83
+ d: "M.38.4h6.028v5.99H.38z"
84
+ })
85
+ ]
86
+ }),
87
+ /*#__PURE__*/ _jsxs("g", {
88
+ fill: 'none',
89
+ fillRule: "evenodd",
90
+ children: [
91
+ /*#__PURE__*/ _jsx("path", {
92
+ fill: forceColor || '#fff',
93
+ d: "M23 7h12v1.919H24.885v5.626h8.23v1.91h-8.23V24H23zM40 7h1.838v15.082H51V24H40zM56.77 16.4V7.126h1.86v9.155c0 3.536 1.885 5.526 5.043 5.526 3.039 0 4.97-1.826 4.97-5.409V7.127h1.862v9.132c0 4.776-2.757 7.258-6.88 7.258-4.075 0-6.855-2.482-6.855-7.118"
94
+ }),
95
+ /*#__PURE__*/ _jsx("g", {
96
+ transform: "translate(75.668 6.898)",
97
+ children: /*#__PURE__*/ _jsx("path", {
98
+ fill: forceColor || '#fff',
99
+ d: "M6.404 8.26L.302.229h2.191L7.56 6.925 12.576.23h2.168L8.642 8.237l6.338 8.382h-2.215L7.488 9.571 2.21 16.62H.066z"
100
+ })
101
+ }),
102
+ /*#__PURE__*/ _jsx("path", {
103
+ d: "M.883 16.44a2.985 2.985 0 010-4.238L12.141 1.014a3.029 3.029 0 014.265 0 2.983 2.983 0 010 4.238L5.148 16.441a3.015 3.015 0 01-2.132.878 3.015 3.015 0 01-2.133-.878zM6.513 22.036a2.985 2.985 0 010-4.24l5.628-5.592a3.029 3.029 0 014.265 0 2.984 2.984 0 010 4.239l-5.628 5.593a3.015 3.015 0 01-2.132.878 3.015 3.015 0 01-2.133-.878z",
104
+ fill: fluxIconColor || '#50C8E8',
105
+ opacity: 0.3
106
+ }),
107
+ /*#__PURE__*/ _jsx("g", {
108
+ transform: "translate(10.88 22.119)",
109
+ children: /*#__PURE__*/ _jsx("path", {
110
+ d: "M6.408 3.395A3.004 3.004 0 013.394 6.39 3.005 3.005 0 01.38 3.395 3.005 3.005 0 013.394.399a3.005 3.005 0 013.014 2.996",
111
+ fill: fluxIconColor || '#50C8E8'
112
+ })
113
+ }),
114
+ /*#__PURE__*/ _jsx("path", {
115
+ d: "M17.288 3.132a3.004 3.004 0 01-3.014 2.995 3.005 3.005 0 01-3.014-2.995A3.005 3.005 0 0114.274.136a3.004 3.004 0 013.014 2.996M17.288 14.322a3.004 3.004 0 01-3.014 2.995 3.005 3.005 0 01-3.014-2.995 3.005 3.005 0 013.014-2.995 3.004 3.004 0 013.014 2.995",
116
+ fill: fluxIconColor || '#50C8E8'
117
+ })
118
+ ]
119
+ })
120
+ ]
121
+ });
122
+ },
123
+ default: function _default(param) {
124
+ var alt = param.alt, forceColor = param.forceColor, fluxIconColor = param.fluxIconColor;
125
+ return /*#__PURE__*/ _jsxs(_Fragment, {
126
+ children: [
127
+ /*#__PURE__*/ _jsx("title", {
128
+ children: alt || 'FLUX Home'
129
+ }),
130
+ /*#__PURE__*/ _jsxs("defs", {
131
+ children: [
132
+ /*#__PURE__*/ _jsx("path", {
133
+ id: "prefix__XAXA",
134
+ d: "M.066.229H14.98v16.39H.066z"
135
+ }),
136
+ /*#__PURE__*/ _jsx("path", {
137
+ id: "prefix__SMIOD",
138
+ d: "M.38.4h6.028v5.99H.38z"
139
+ })
140
+ ]
141
+ }),
142
+ /*#__PURE__*/ _jsxs("g", {
143
+ fill: 'none',
144
+ fillRule: "evenodd",
145
+ children: [
146
+ /*#__PURE__*/ _jsx("path", {
147
+ fill: forceColor || '#000',
148
+ d: "M23 7h12v1.919H24.885v5.626h8.23v1.91h-8.23V24H23zM40 7h1.838v15.082H51V24H40zM56.77 16.4V7.126h1.86v9.155c0 3.536 1.885 5.526 5.043 5.526 3.039 0 4.97-1.826 4.97-5.409V7.127h1.862v9.132c0 4.776-2.757 7.258-6.88 7.258-4.075 0-6.855-2.482-6.855-7.118"
149
+ }),
150
+ /*#__PURE__*/ _jsx("g", {
151
+ transform: "translate(75.668 6.898)",
152
+ children: /*#__PURE__*/ _jsx("path", {
153
+ fill: forceColor || '#000',
154
+ d: "M6.404 8.26L.302.229h2.191L7.56 6.925 12.576.23h2.168L8.642 8.237l6.338 8.382h-2.215L7.488 9.571 2.21 16.62H.066z"
155
+ })
156
+ }),
157
+ /*#__PURE__*/ _jsx("path", {
158
+ d: "M.883 16.44a2.985 2.985 0 010-4.238L12.141 1.014a3.029 3.029 0 014.265 0 2.983 2.983 0 010 4.238L5.148 16.441a3.015 3.015 0 01-2.132.878 3.015 3.015 0 01-2.133-.878zM6.513 22.036a2.985 2.985 0 010-4.24l5.628-5.592a3.029 3.029 0 014.265 0 2.984 2.984 0 010 4.239l-5.628 5.593a3.015 3.015 0 01-2.132.878 3.015 3.015 0 01-2.133-.878z",
159
+ fill: fluxIconColor || '#50C8E8',
160
+ opacity: 0.3
161
+ }),
162
+ /*#__PURE__*/ _jsx("g", {
163
+ transform: "translate(10.88 22.119)",
164
+ children: /*#__PURE__*/ _jsx("path", {
165
+ d: "M6.408 3.395A3.004 3.004 0 013.394 6.39 3.005 3.005 0 01.38 3.395 3.005 3.005 0 013.394.399a3.005 3.005 0 013.014 2.996",
166
+ fill: fluxIconColor || '#50C8E8',
167
+ mask: "url(#prefix__JDNIJ)"
168
+ })
169
+ }),
170
+ /*#__PURE__*/ _jsx("path", {
171
+ d: "M17.288 3.132a3.004 3.004 0 01-3.014 2.995 3.005 3.005 0 01-3.014-2.995A3.005 3.005 0 0114.274.136a3.004 3.004 0 013.014 2.996M17.288 14.322a3.004 3.004 0 01-3.014 2.995 3.005 3.005 0 01-3.014-2.995 3.005 3.005 0 013.014-2.995 3.004 3.004 0 013.014 2.995",
172
+ fill: fluxIconColor || '#50C8E8'
173
+ })
174
+ ]
175
+ })
176
+ ]
177
+ });
178
+ },
179
+ icon: function icon(param) {
180
+ var forceColor = param.forceColor;
181
+ return /*#__PURE__*/ _jsxs(_Fragment, {
182
+ children: [
183
+ /*#__PURE__*/ _jsx("path", {
184
+ opacity: "0.3",
185
+ d: "M3.05983 17.5616C2.45523 17.56 1.86464 17.3794 1.3624 17.0425C0.860172 16.7056 0.468759 16.2275 0.237458 15.6684C0.00615705 15.1093 -0.0546916 14.4942 0.0625746 13.9006C0.179841 13.307 0.469979 12.7613 0.896452 12.3324L12.326 0.892787C12.9095 0.364984 13.6733 0.0819496 14.4595 0.102282C15.2457 0.122614 15.9939 0.444756 16.5493 1.00201C17.1047 1.55927 17.4247 2.30895 17.4431 3.09585C17.4615 3.88275 17.1769 4.64659 16.6481 5.22923L5.21849 16.6688C4.9349 16.9523 4.5983 17.177 4.22791 17.3302C3.85751 17.4834 3.46059 17.562 3.05983 17.5616Z",
186
+ fill: forceColor || '#50C8E8'
187
+ }),
188
+ /*#__PURE__*/ _jsx("path", {
189
+ opacity: "0.3",
190
+ d: "M8.77507 23.2802C8.17013 23.279 7.57908 23.0987 7.07641 22.7618C6.57375 22.4249 6.18198 21.9467 5.95048 21.3873C5.71899 20.8279 5.65813 20.2125 5.77559 19.6185C5.89305 19.0246 6.18357 18.4787 6.61051 18.0498L12.3218 12.3335C12.6009 12.0271 12.9392 11.7806 13.3163 11.6088C13.6933 11.437 14.1012 11.3435 14.5154 11.334C14.9296 11.3245 15.3414 11.3992 15.7259 11.5535C16.1104 11.7078 16.4597 11.9386 16.7525 12.2319C17.0454 12.5252 17.2758 12.8748 17.4297 13.2598C17.5837 13.6447 17.6581 14.0569 17.6484 14.4714C17.6387 14.886 17.5451 15.2942 17.3732 15.6715C17.2013 16.0488 16.9548 16.3872 16.6485 16.6664L10.9373 22.3839C10.6535 22.6683 10.3164 22.8938 9.94538 23.0476C9.57435 23.2014 9.17665 23.2805 8.77507 23.2802Z",
191
+ fill: forceColor || '#50C8E8'
192
+ }),
193
+ /*#__PURE__*/ _jsx("path", {
194
+ d: "M14.4871 29C16.1765 29 17.546 27.6293 17.546 25.9384C17.546 24.2475 16.1765 22.8768 14.4871 22.8768C12.7977 22.8768 11.4282 24.2475 11.4282 25.9384C11.4282 27.6293 12.7977 29 14.4871 29Z",
195
+ fill: forceColor || '#50C8E8'
196
+ }),
197
+ /*#__PURE__*/ _jsx("path", {
198
+ d: "M14.4871 6.12314C16.1765 6.12314 17.546 4.75243 17.546 3.06157C17.546 1.37071 16.1765 0 14.4871 0C12.7977 0 11.4282 1.37071 11.4282 3.06157C11.4282 4.75243 12.7977 6.12314 14.4871 6.12314Z",
199
+ fill: forceColor || '#50C8E8'
200
+ }),
201
+ /*#__PURE__*/ _jsx("path", {
202
+ d: "M14.4871 17.5616C16.1765 17.5616 17.546 16.1908 17.546 14.5C17.546 12.8091 16.1765 11.4384 14.4871 11.4384C12.7977 11.4384 11.4282 12.8091 11.4282 14.5C11.4282 16.1908 12.7977 17.5616 14.4871 17.5616Z",
203
+ fill: forceColor || '#50C8E8'
204
+ })
205
+ ]
206
+ });
207
+ }
208
+ };
209
+ var FluxLogo = function FluxLogo(_0) {
210
+ var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 91 29' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'default' : _0_variant, alt = _0.alt, forceColor = _0.forceColor, fill = _0.fill, props = _object_without_properties(_0, [
211
+ "viewBox",
212
+ "variant",
213
+ "alt",
214
+ "forceColor",
215
+ "fill"
216
+ ]);
217
+ return /*#__PURE__*/ _jsx(Icon, _object_spread({
218
+ width: 'unset',
219
+ viewBox: variant === 'icon' ? '0 0 18 29' : viewBox,
220
+ element: variants[variant]({
221
+ forceColor: forceColor || fill,
222
+ alt: alt
223
+ })
224
+ }, props));
7
225
  };
8
- const FluxLogo = ({ viewBox = '0 0 91 29', variant = 'default', alt, forceColor, fill, ...props }) => (_jsx(Icon, { width: 'unset', viewBox: variant === 'icon' ? '0 0 18 29' : viewBox, element: variants[variant]({
9
- forceColor: (forceColor || fill),
10
- alt,
11
- }), ...props }));
12
226
  export default FluxLogo;
13
- //# sourceMappingURL=FluxLogo.js.map
@@ -1,8 +1,121 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
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";
2
66
  import { Icon } from './Icon';
3
- const variants = {
4
- default: (_jsxs(_Fragment, { children: [_jsx("path", { d: "M9.77393 2.53369H14.7421V3.3145H10.5565V5.60811H13.9634V6.38648H10.5565V9.4609H9.77782L9.77393 2.53369Z", fill: "white" }), _jsx("path", { d: "M16.9341 2.53369H17.7128V8.68253H21.6039V9.46334H16.9316L16.9341 2.53369Z", fill: "white" }), _jsx("path", { d: "M23.7983 6.45529V2.53369H24.577V6.406C24.577 7.90124 25.367 8.74304 26.6903 8.74304C27.9644 8.74304 28.7743 7.97054 28.7743 6.45529V2.53369H29.553V6.39526C29.553 8.41559 28.3971 9.46529 26.6689 9.46529C24.9635 9.46578 23.7983 8.41608 23.7983 6.45529Z", fill: "white" }), _jsx("path", { d: "M34.4054 5.93069L31.8473 2.53369H32.7686L34.8916 5.36411L36.9951 2.53369H37.9042L35.3462 5.92044L38.0026 9.46578H37.072L34.8614 6.48506L32.6494 9.46578H31.7466L34.4054 5.93069Z", fill: "white" }), _jsx("path", { opacity: "0.3", d: "M1.26398 7.26696C1.01426 7.26629 0.770314 7.19155 0.56287 7.05215C0.355426 6.91274 0.193756 6.71491 0.0982186 6.48357C0.00268112 6.25222 -0.022452 5.9977 0.025984 5.75206C0.07442 5.50642 0.19426 5.28064 0.370412 5.10315L5.09133 0.369522C5.33231 0.151121 5.64782 0.0340028 5.97254 0.042416C6.29726 0.0508292 6.60632 0.18413 6.83572 0.414718C7.06513 0.645306 7.19731 0.955522 7.20491 1.28114C7.2125 1.60675 7.09492 1.92282 6.87652 2.16391L2.1556 6.89754C2.03847 7.01482 1.89943 7.10782 1.74645 7.1712C1.59346 7.23459 1.42951 7.26713 1.26398 7.26696Z", fill: "white" }), _jsx("path", { opacity: "0.3", d: "M3.62432 9.63328C3.37446 9.6328 3.13033 9.55817 2.92271 9.41878C2.71509 9.27939 2.55327 9.08148 2.45765 8.85002C2.36203 8.61855 2.3369 8.36388 2.38541 8.11811C2.43393 7.87234 2.55392 7.64648 2.73027 7.46899L5.08927 5.10363C5.20456 4.97685 5.3443 4.87483 5.50003 4.80373C5.65577 4.73264 5.82427 4.69396 5.99534 4.69003C6.16641 4.6861 6.3365 4.717 6.49532 4.78086C6.65414 4.84472 6.79839 4.94021 6.91936 5.06157C7.04032 5.18292 7.13548 5.32762 7.19908 5.4869C7.26269 5.64618 7.29341 5.81675 7.28939 5.98828C7.28538 6.1598 7.24671 6.32874 7.17573 6.48485C7.10474 6.64097 7.00292 6.78103 6.87641 6.89656L4.51741 9.2624C4.40019 9.38008 4.26096 9.47341 4.10771 9.53705C3.95446 9.60069 3.7902 9.63339 3.62432 9.63328Z", fill: "white" }), _jsx("path", { d: "M5.98367 12C6.68146 12 7.24712 11.4328 7.24712 10.7332C7.24712 10.0335 6.68146 9.46631 5.98367 9.46631C5.28588 9.46631 4.72021 10.0335 4.72021 10.7332C4.72021 11.4328 5.28588 12 5.98367 12Z", fill: "white" }), _jsx("path", { d: "M5.98367 2.53371C6.68146 2.53371 7.24712 1.96652 7.24712 1.26686C7.24712 0.567191 6.68146 0 5.98367 0C5.28588 0 4.72021 0.567191 4.72021 1.26686C4.72021 1.96652 5.28588 2.53371 5.98367 2.53371Z", fill: "white" }), _jsx("path", { d: "M5.98367 7.26687C6.68146 7.26687 7.24712 6.69968 7.24712 6.00001C7.24712 5.30035 6.68146 4.73315 5.98367 4.73315C5.28588 4.73315 4.72021 5.30035 4.72021 6.00001C4.72021 6.69968 5.28588 7.26687 5.98367 7.26687Z", fill: "white" })] })),
67
+ var variants = {
68
+ default: /*#__PURE__*/ _jsxs(_Fragment, {
69
+ children: [
70
+ /*#__PURE__*/ _jsx("path", {
71
+ d: "M9.77393 2.53369H14.7421V3.3145H10.5565V5.60811H13.9634V6.38648H10.5565V9.4609H9.77782L9.77393 2.53369Z",
72
+ fill: "white"
73
+ }),
74
+ /*#__PURE__*/ _jsx("path", {
75
+ d: "M16.9341 2.53369H17.7128V8.68253H21.6039V9.46334H16.9316L16.9341 2.53369Z",
76
+ fill: "white"
77
+ }),
78
+ /*#__PURE__*/ _jsx("path", {
79
+ d: "M23.7983 6.45529V2.53369H24.577V6.406C24.577 7.90124 25.367 8.74304 26.6903 8.74304C27.9644 8.74304 28.7743 7.97054 28.7743 6.45529V2.53369H29.553V6.39526C29.553 8.41559 28.3971 9.46529 26.6689 9.46529C24.9635 9.46578 23.7983 8.41608 23.7983 6.45529Z",
80
+ fill: "white"
81
+ }),
82
+ /*#__PURE__*/ _jsx("path", {
83
+ d: "M34.4054 5.93069L31.8473 2.53369H32.7686L34.8916 5.36411L36.9951 2.53369H37.9042L35.3462 5.92044L38.0026 9.46578H37.072L34.8614 6.48506L32.6494 9.46578H31.7466L34.4054 5.93069Z",
84
+ fill: "white"
85
+ }),
86
+ /*#__PURE__*/ _jsx("path", {
87
+ opacity: "0.3",
88
+ d: "M1.26398 7.26696C1.01426 7.26629 0.770314 7.19155 0.56287 7.05215C0.355426 6.91274 0.193756 6.71491 0.0982186 6.48357C0.00268112 6.25222 -0.022452 5.9977 0.025984 5.75206C0.07442 5.50642 0.19426 5.28064 0.370412 5.10315L5.09133 0.369522C5.33231 0.151121 5.64782 0.0340028 5.97254 0.042416C6.29726 0.0508292 6.60632 0.18413 6.83572 0.414718C7.06513 0.645306 7.19731 0.955522 7.20491 1.28114C7.2125 1.60675 7.09492 1.92282 6.87652 2.16391L2.1556 6.89754C2.03847 7.01482 1.89943 7.10782 1.74645 7.1712C1.59346 7.23459 1.42951 7.26713 1.26398 7.26696Z",
89
+ fill: "white"
90
+ }),
91
+ /*#__PURE__*/ _jsx("path", {
92
+ opacity: "0.3",
93
+ d: "M3.62432 9.63328C3.37446 9.6328 3.13033 9.55817 2.92271 9.41878C2.71509 9.27939 2.55327 9.08148 2.45765 8.85002C2.36203 8.61855 2.3369 8.36388 2.38541 8.11811C2.43393 7.87234 2.55392 7.64648 2.73027 7.46899L5.08927 5.10363C5.20456 4.97685 5.3443 4.87483 5.50003 4.80373C5.65577 4.73264 5.82427 4.69396 5.99534 4.69003C6.16641 4.6861 6.3365 4.717 6.49532 4.78086C6.65414 4.84472 6.79839 4.94021 6.91936 5.06157C7.04032 5.18292 7.13548 5.32762 7.19908 5.4869C7.26269 5.64618 7.29341 5.81675 7.28939 5.98828C7.28538 6.1598 7.24671 6.32874 7.17573 6.48485C7.10474 6.64097 7.00292 6.78103 6.87641 6.89656L4.51741 9.2624C4.40019 9.38008 4.26096 9.47341 4.10771 9.53705C3.95446 9.60069 3.7902 9.63339 3.62432 9.63328Z",
94
+ fill: "white"
95
+ }),
96
+ /*#__PURE__*/ _jsx("path", {
97
+ d: "M5.98367 12C6.68146 12 7.24712 11.4328 7.24712 10.7332C7.24712 10.0335 6.68146 9.46631 5.98367 9.46631C5.28588 9.46631 4.72021 10.0335 4.72021 10.7332C4.72021 11.4328 5.28588 12 5.98367 12Z",
98
+ fill: "white"
99
+ }),
100
+ /*#__PURE__*/ _jsx("path", {
101
+ d: "M5.98367 2.53371C6.68146 2.53371 7.24712 1.96652 7.24712 1.26686C7.24712 0.567191 6.68146 0 5.98367 0C5.28588 0 4.72021 0.567191 4.72021 1.26686C4.72021 1.96652 5.28588 2.53371 5.98367 2.53371Z",
102
+ fill: "white"
103
+ }),
104
+ /*#__PURE__*/ _jsx("path", {
105
+ d: "M5.98367 7.26687C6.68146 7.26687 7.24712 6.69968 7.24712 6.00001C7.24712 5.30035 6.68146 4.73315 5.98367 4.73315C5.28588 4.73315 4.72021 5.30035 4.72021 6.00001C4.72021 6.69968 5.28588 7.26687 5.98367 7.26687Z",
106
+ fill: "white"
107
+ })
108
+ ]
109
+ })
110
+ };
111
+ var FluxLogoTable = function FluxLogoTable(_0) {
112
+ var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 38 12' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'default' : _0_variant, props = _object_without_properties(_0, [
113
+ "viewBox",
114
+ "variant"
115
+ ]);
116
+ return /*#__PURE__*/ _jsx(Icon, _object_spread({
117
+ viewBox: viewBox,
118
+ element: variants[variant]
119
+ }, props));
5
120
  };
6
- const FluxLogoTable = ({ viewBox = '0 0 38 12', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
7
121
  export default FluxLogoTable;
8
- //# sourceMappingURL=FluxLogoTable.js.map
@@ -1,9 +1,119 @@
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
+ }
1
89
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const Icon = ({ size = '24px', viewBox, element, fill, color, width, height, title, ...props }) => (_jsxs("svg", { viewBox: viewBox, style: {
3
- color: fill || color,
4
- fill: fill || 'currentColor',
5
- width: width || size,
6
- height: height || size,
7
- }, fill: fill || 'currentColor', ...props, children: [_jsx("title", { children: title || (element ? 'Icon' : 'No Icon') }), element] }));
90
+ var Icon = function Icon(_0) {
91
+ var _0_size = _0.size, size = _0_size === void 0 ? '24px' : _0_size, viewBox = _0.viewBox, element = _0.element, fill = _0.fill, color = _0.color, width = _0.width, height = _0.height, title = _0.title, props = _object_without_properties(_0, [
92
+ "size",
93
+ "viewBox",
94
+ "element",
95
+ "fill",
96
+ "color",
97
+ "width",
98
+ "height",
99
+ "title"
100
+ ]);
101
+ return /*#__PURE__*/ _jsxs("svg", _object_spread_props(_object_spread({
102
+ viewBox: viewBox,
103
+ style: {
104
+ color: fill || color,
105
+ fill: fill || 'currentColor',
106
+ width: width || size,
107
+ height: height || size
108
+ },
109
+ fill: fill || 'currentColor'
110
+ }, props), {
111
+ children: [
112
+ /*#__PURE__*/ _jsx("title", {
113
+ children: title || (element ? 'Icon' : 'No Icon')
114
+ }),
115
+ element
116
+ ]
117
+ }));
118
+ };
8
119
  export { Icon };
9
- //# sourceMappingURL=Icon.js.map
@@ -1,13 +1,18 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import IconArrowBack from './IconArrowBack.js';
3
3
  import IconArrowForward from './IconArrowForward.js';
4
- const meta = {
5
- title: 'Icons',
4
+ var meta = {
5
+ title: 'Icons'
6
6
  };
7
7
  export default meta;
8
- export const AllIcons = {
9
- render: () => {
10
- return (_jsxs("div", { className: "grid grid-cols-6 gap-4 text-primary3", children: [_jsx(IconArrowBack, {}), _jsx(IconArrowForward, {})] }));
11
- },
8
+ export var AllIcons = {
9
+ render: function render() {
10
+ return /*#__PURE__*/ _jsxs("div", {
11
+ className: "grid grid-cols-6 gap-4 text-primary3",
12
+ children: [
13
+ /*#__PURE__*/ _jsx(IconArrowBack, {}),
14
+ /*#__PURE__*/ _jsx(IconArrowForward, {})
15
+ ]
16
+ });
17
+ }
12
18
  };
13
- //# sourceMappingURL=Icon.stories.js.map
@@ -1,8 +1,95 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
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";
2
66
  import { Icon } from './Icon';
3
- const variants = {
4
- default: (_jsxs(_Fragment, { children: [_jsx("path", { d: "M31.5 16.875C30.9375 10.35 25.7625 5.0625 19.125 4.5C18.7875 4.5 18.3375 4.5 18 4.5C17.6625 4.5 17.2125 4.5 16.875 4.5C13.05 4.8375 9.67495 6.75 7.31245 9.675C7.19995 9.7875 7.08745 10.0125 6.97495 10.125L4.61245 8.4375V15.975C4.49995 15.975 10.9125 13.1625 10.9125 13.1625L8.77495 11.5875C8.77495 11.5875 8.77495 11.475 8.88745 11.3625C10.6875 8.8875 13.6125 7.2 16.7625 6.8625V8.1H19.0125V6.8625C24.3 7.425 28.575 11.5875 29.1375 16.9875H27.9V19.2375H29.1375C28.575 24.525 24.4125 28.8 19.0125 29.3625V28.125H16.7625V29.3625C11.1375 28.8 6.63745 23.9625 6.63745 18.225L4.38745 18.5625C4.61245 25.5375 9.89995 31.05 16.7625 31.6125C17.1 31.6125 17.55 31.6125 17.8875 31.6125C18.225 31.6125 18.675 31.6125 19.0125 31.6125C25.5375 31.05 30.8899 25.875 31.4524 19.2375C31.5001 18.5625 31.5001 18.3375 31.5001 18C31.5001 17.6625 31.5 17.2125 31.5 16.875Z", fill: "currentColor" }), _jsx("path", { d: "M13.725 18.5625L10.8 20.925V22.3875H17.2125V20.7H13.3875L14.85 19.575C16.425 18.3375 17.1 17.6625 17.1 16.2C17.1 14.5125 15.8625 13.5 14.175 13.5C12.4875 13.5 11.8125 14.175 10.9125 15.3L12.2625 16.425C12.9375 15.6375 13.3875 15.3 14.0625 15.3C14.7375 15.3 15.1875 15.6375 15.1875 16.425C15.1875 17.2125 14.7375 17.6625 13.725 18.45V18.5625Z", fill: "currentColor" }), _jsx("path", { d: "M22.3876 13.725L17.6626 19.2375L18.0001 20.5875H22.2751V22.5H24.0751V20.5875H25.2001V19.0125H24.0751V13.725H22.5001H22.3876ZM22.1626 19.0125H19.9126L22.1626 16.3125V19.0125Z", fill: "currentColor" })] })),
67
+ var variants = {
68
+ default: /*#__PURE__*/ _jsxs(_Fragment, {
69
+ children: [
70
+ /*#__PURE__*/ _jsx("path", {
71
+ d: "M31.5 16.875C30.9375 10.35 25.7625 5.0625 19.125 4.5C18.7875 4.5 18.3375 4.5 18 4.5C17.6625 4.5 17.2125 4.5 16.875 4.5C13.05 4.8375 9.67495 6.75 7.31245 9.675C7.19995 9.7875 7.08745 10.0125 6.97495 10.125L4.61245 8.4375V15.975C4.49995 15.975 10.9125 13.1625 10.9125 13.1625L8.77495 11.5875C8.77495 11.5875 8.77495 11.475 8.88745 11.3625C10.6875 8.8875 13.6125 7.2 16.7625 6.8625V8.1H19.0125V6.8625C24.3 7.425 28.575 11.5875 29.1375 16.9875H27.9V19.2375H29.1375C28.575 24.525 24.4125 28.8 19.0125 29.3625V28.125H16.7625V29.3625C11.1375 28.8 6.63745 23.9625 6.63745 18.225L4.38745 18.5625C4.61245 25.5375 9.89995 31.05 16.7625 31.6125C17.1 31.6125 17.55 31.6125 17.8875 31.6125C18.225 31.6125 18.675 31.6125 19.0125 31.6125C25.5375 31.05 30.8899 25.875 31.4524 19.2375C31.5001 18.5625 31.5001 18.3375 31.5001 18C31.5001 17.6625 31.5 17.2125 31.5 16.875Z",
72
+ fill: "currentColor"
73
+ }),
74
+ /*#__PURE__*/ _jsx("path", {
75
+ d: "M13.725 18.5625L10.8 20.925V22.3875H17.2125V20.7H13.3875L14.85 19.575C16.425 18.3375 17.1 17.6625 17.1 16.2C17.1 14.5125 15.8625 13.5 14.175 13.5C12.4875 13.5 11.8125 14.175 10.9125 15.3L12.2625 16.425C12.9375 15.6375 13.3875 15.3 14.0625 15.3C14.7375 15.3 15.1875 15.6375 15.1875 16.425C15.1875 17.2125 14.7375 17.6625 13.725 18.45V18.5625Z",
76
+ fill: "currentColor"
77
+ }),
78
+ /*#__PURE__*/ _jsx("path", {
79
+ d: "M22.3876 13.725L17.6626 19.2375L18.0001 20.5875H22.2751V22.5H24.0751V20.5875H25.2001V19.0125H24.0751V13.725H22.5001H22.3876ZM22.1626 19.0125H19.9126L22.1626 16.3125V19.0125Z",
80
+ fill: "currentColor"
81
+ })
82
+ ]
83
+ })
84
+ };
85
+ var Icon24Hours = function Icon24Hours(_0) {
86
+ var _0_viewBox = _0.viewBox, viewBox = _0_viewBox === void 0 ? '0 0 36 36' : _0_viewBox, _0_variant = _0.variant, variant = _0_variant === void 0 ? 'default' : _0_variant, props = _object_without_properties(_0, [
87
+ "viewBox",
88
+ "variant"
89
+ ]);
90
+ return /*#__PURE__*/ _jsx(Icon, _object_spread({
91
+ viewBox: viewBox,
92
+ element: variants[variant]
93
+ }, props));
5
94
  };
6
- const Icon24Hours = ({ viewBox = '0 0 36 36', variant = 'default', ...props }) => _jsx(Icon, { viewBox: viewBox, element: variants[variant], ...props });
7
95
  export default Icon24Hours;
8
- //# sourceMappingURL=Icon24Hours.js.map