@driveflux/beam 3.0.16 → 3.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion/Accordion.js +87 -17
- package/dist/accordion/Accordion.stories.js +1 -1
- package/dist/alert/Alert.d.ts +1 -1
- package/dist/alert/Alert.d.ts.map +1 -1
- package/dist/alert/Alert.js +94 -21
- package/dist/alert/Alert.js.map +1 -1
- package/dist/alert/Alert.stories.js +3 -3
- package/dist/animations/LoadingAnimation.js +1 -1
- package/dist/badge/Badge.js +19 -10
- package/dist/badge/Badge.stories.js +1 -1
- package/dist/base-styles.css +1 -1
- package/dist/box/Box.js +75 -11
- package/dist/box/Box.stories.js +1 -1
- package/dist/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/breadcrumbs/Breadcrumbs.js +94 -31
- package/dist/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/breadcrumbs/Breadcrumbs.stories.js +3 -3
- package/dist/button/Button.js +75 -11
- package/dist/button/Button.stories.js +1 -1
- package/dist/button/TextButton.js +75 -11
- package/dist/card/Card.js +105 -26
- package/dist/card/Card.stories.js +1 -1
- package/dist/carousel/Carousel.js +53 -26
- package/dist/carousel/Carousel.stories.js +1 -1
- package/dist/carousel/CarouselButton.js +75 -11
- package/dist/center/Center.js +75 -11
- package/dist/center/Center.stories.js +1 -1
- package/dist/checkbox/Checkbox.js +77 -13
- package/dist/checkbox/Checkbox.stories.js +1 -1
- package/dist/chip/Chip.js +75 -11
- package/dist/chip/Chip.stories.js +1 -1
- package/dist/circular-progress/CircularProgress.js +23 -14
- package/dist/circular-progress/CircularProgress.stories.js +4 -4
- package/dist/command/command.d.ts +1 -1
- package/dist/command/command.d.ts.map +1 -1
- package/dist/command/command.js +110 -31
- package/dist/command/command.js.map +1 -1
- package/dist/datepicker/DatePicker.d.ts.map +1 -1
- package/dist/datepicker/DatePicker.js +25 -16
- package/dist/datepicker/DatePicker.js.map +1 -1
- package/dist/datepicker/DatePicker.stories.js +12 -13
- package/dist/datepicker/DatePicker.stories.js.map +1 -1
- package/dist/datepicker/DatePickerDrawer.js +4 -4
- package/dist/datepicker/DatePickerPopover.js +7 -7
- package/dist/datepicker/utils.js +2 -2
- package/dist/dialog/index.js +97 -24
- package/dist/dialog/index.js.map +1 -1
- package/dist/divider/Divider.js +75 -11
- package/dist/divider/Divider.stories.js +1 -1
- package/dist/drawer/index.js +99 -26
- package/dist/dropdown/Dropdown.js +119 -34
- package/dist/dropdown/Dropdown.stories.js +3 -3
- package/dist/dropdown/Dropdown.stories.js.map +1 -1
- package/dist/field-wrapper/FieldWrapper.js +75 -11
- package/dist/field-wrapper/FieldWrapper.stories.js +5 -5
- package/dist/flex/Flex.js +75 -11
- package/dist/flex/Flex.stories.js +1 -1
- package/dist/grid/Grid.js +75 -11
- package/dist/grid/Grid.stories.js +1 -1
- package/dist/hooks/use-breakpoint-value.js +2 -2
- package/dist/hooks/use-media-query.js +4 -4
- package/dist/hstack/HStack.js +75 -11
- package/dist/hstack/HStack.stories.js +1 -1
- package/dist/icons/FluxLogo.js +22 -13
- package/dist/icons/FluxLogoTable.js +19 -10
- package/dist/icons/Icon.js +19 -10
- package/dist/icons/Icon.stories.js +1 -1
- package/dist/icons/Icon24Hours.js +19 -10
- package/dist/icons/IconAcceleration.js +19 -10
- package/dist/icons/IconAccount.js +19 -10
- package/dist/icons/IconApplicant.js +19 -10
- package/dist/icons/IconArrow.js +20 -11
- package/dist/icons/IconArrowBack.js +19 -10
- package/dist/icons/IconArrowForward.js +19 -10
- package/dist/icons/IconArrowTopLeft.js +19 -10
- package/dist/icons/IconBluesharkProductGuide.js +22 -13
- package/dist/icons/IconBolt.js +19 -10
- package/dist/icons/IconBriefcase.js +19 -10
- package/dist/icons/IconBulb.js +19 -10
- package/dist/icons/IconCalendar.js +19 -10
- package/dist/icons/IconCalendarArrowBack.js +19 -10
- package/dist/icons/IconCalendarArrowForward.js +19 -10
- package/dist/icons/IconCalendarDoubleArrowBack.js +19 -10
- package/dist/icons/IconCalendarDoubleArrowForward.js +19 -10
- package/dist/icons/IconCancel.js +19 -10
- package/dist/icons/IconCancelMark.js +19 -10
- package/dist/icons/IconCarSUV.js +19 -10
- package/dist/icons/IconCarSedan.js +23 -14
- package/dist/icons/IconChain.js +19 -10
- package/dist/icons/IconCheckmark.js +19 -10
- package/dist/icons/IconChevronRight.js +19 -10
- package/dist/icons/IconCircle.js +19 -10
- package/dist/icons/IconCircleCheckmark.js +19 -10
- package/dist/icons/IconCircleError.js +19 -10
- package/dist/icons/IconCircleExclamation.js +19 -10
- package/dist/icons/IconCircleMark.js +19 -10
- package/dist/icons/IconCircleOutline.js +19 -10
- package/dist/icons/IconClock.js +19 -10
- package/dist/icons/IconClose.js +19 -10
- package/dist/icons/IconCollapseAll.js +19 -10
- package/dist/icons/IconConcierge.js +19 -10
- package/dist/icons/IconConciergeService.js +19 -10
- package/dist/icons/IconCreditCard.js +19 -10
- package/dist/icons/IconDash.js +19 -10
- package/dist/icons/IconDeliver.js +19 -10
- package/dist/icons/IconDelivery.js +21 -12
- package/dist/icons/IconDetails.js +19 -10
- package/dist/icons/IconDot.js +19 -10
- package/dist/icons/IconDownload.js +19 -10
- package/dist/icons/IconEVCharging.js +19 -10
- package/dist/icons/IconElectricCarFuel.js +19 -10
- package/dist/icons/IconEllipsis.js +19 -10
- package/dist/icons/IconEnvelope.js +19 -10
- package/dist/icons/IconExpandAll.js +19 -10
- package/dist/icons/IconEye.js +22 -13
- package/dist/icons/IconFacebook.js +19 -10
- package/dist/icons/IconFilter.js +19 -10
- package/dist/icons/IconFlagMalaysia.js +19 -10
- package/dist/icons/IconGiveKey.js +19 -10
- package/dist/icons/IconGlobe.js +19 -10
- package/dist/icons/IconGoogle.js +22 -13
- package/dist/icons/IconHome.js +21 -12
- package/dist/icons/IconHostAdvertise.js +19 -10
- package/dist/icons/IconHostCar.js +19 -10
- package/dist/icons/IconHostCash.js +19 -10
- package/dist/icons/IconHostHandle.js +19 -10
- package/dist/icons/IconHostLocation.js +19 -10
- package/dist/icons/IconHostPayment.js +19 -10
- package/dist/icons/IconHostService.js +19 -10
- package/dist/icons/IconHotDeals.js +19 -10
- package/dist/icons/IconInfo.js +19 -10
- package/dist/icons/IconInstagram.js +19 -10
- package/dist/icons/IconInsurance.js +19 -10
- package/dist/icons/IconInternet.js +19 -10
- package/dist/icons/IconInventory.js +21 -12
- package/dist/icons/IconLaurel.js +19 -10
- package/dist/icons/IconLinkedIn.js +19 -10
- package/dist/icons/IconLoading.js +19 -10
- package/dist/icons/IconLocation.js +19 -10
- package/dist/icons/IconLock.js +19 -10
- package/dist/icons/IconLogistics.js +19 -10
- package/dist/icons/IconMail.js +25 -16
- package/dist/icons/IconMember.js +21 -12
- package/dist/icons/IconMobilePen.js +19 -10
- package/dist/icons/IconMotorcycleMoped.js +21 -12
- package/dist/icons/IconNoCost.js +21 -12
- package/dist/icons/IconPDF.js +19 -10
- package/dist/icons/IconPencil.js +19 -10
- package/dist/icons/IconPhone.js +19 -10
- package/dist/icons/IconPlus.js +19 -10
- package/dist/icons/IconPricing.js +19 -10
- package/dist/icons/IconProtected.js +20 -11
- package/dist/icons/IconPsychology.js +19 -10
- package/dist/icons/IconQuestionTooltip.js +75 -11
- package/dist/icons/IconQuote.js +19 -10
- package/dist/icons/IconRate.js +20 -11
- package/dist/icons/IconRegister.js +19 -10
- package/dist/icons/IconReport.js +21 -12
- package/dist/icons/IconReturn.js +19 -10
- package/dist/icons/IconSearch.js +19 -10
- package/dist/icons/IconSecure.js +20 -11
- package/dist/icons/IconSecurity.js +19 -10
- package/dist/icons/IconSedanOutline.js +19 -10
- package/dist/icons/IconSelectArrow.js +20 -11
- package/dist/icons/IconSort.js +19 -10
- package/dist/icons/IconSortListed.js +19 -10
- package/dist/icons/IconSortPriceAscending.js +19 -10
- package/dist/icons/IconSortPriceDescending.js +19 -10
- package/dist/icons/IconSortYear.js +19 -10
- package/dist/icons/IconSpan.js +20 -11
- package/dist/icons/IconSpeaker.js +19 -10
- package/dist/icons/IconSpecialCar.js +20 -11
- package/dist/icons/IconStar.js +19 -10
- package/dist/icons/IconStockPhoto.js +19 -10
- package/dist/icons/IconSubscription.js +19 -10
- package/dist/icons/IconSubscriptions.js +19 -10
- package/dist/icons/IconSwap.js +19 -10
- package/dist/icons/IconTax.js +19 -10
- package/dist/icons/IconThinArrow.js +20 -11
- package/dist/icons/IconThumbsdown.js +19 -10
- package/dist/icons/IconThumbsup.js +19 -10
- package/dist/icons/IconTool.js +20 -11
- package/dist/icons/IconTooltip.js +75 -11
- package/dist/icons/IconTrash.js +19 -10
- package/dist/icons/IconTriangleExclamation.js +19 -10
- package/dist/icons/IconTyersBrakes.js +19 -10
- package/dist/icons/IconTyre.js +19 -10
- package/dist/icons/IconVacancy.js +19 -10
- package/dist/icons/IconVolunteer.js +19 -10
- package/dist/icons/IconWhatsapp.js +19 -10
- package/dist/icons/IconXPlatform.js +19 -10
- package/dist/icons/IconZeroEffort.js +21 -12
- package/dist/icons/Logo.js +19 -10
- package/dist/input/Input.js +17 -8
- package/dist/input-mask/InputMask.js +19 -10
- package/dist/input-mask/mask-trackers.js +1 -1
- package/dist/input-select/InputSelect.js +74 -41
- package/dist/input-select/InputSelect.stories.js +1 -1
- package/dist/popover/popover.d.ts +1 -1
- package/dist/popover/popover.js +76 -12
- package/dist/progress/Progress.js +75 -11
- package/dist/radio/Radio.js +75 -11
- package/dist/scroll-area/scroll-area.js +81 -14
- package/dist/search-input-select/SearchInputSelect.js +72 -39
- package/dist/select/Select.js +73 -34
- package/dist/skeleton/Skeleton.js +19 -10
- package/dist/skeleton/Skeleton.stories.js +1 -1
- package/dist/slider/Slider.js +75 -11
- package/dist/slider/Slider.stories.js +1 -1
- package/dist/stack/Stack.js +75 -11
- package/dist/stack/Stack.stories.js +1 -1
- package/dist/styles.css +1 -7
- package/dist/table/Table.d.ts +1 -1
- package/dist/table/Table.d.ts.map +1 -1
- package/dist/table/Table.js +118 -33
- package/dist/table/Table.js.map +1 -1
- package/dist/table/Table.stories.js +1 -1
- package/dist/tabs/Tabs.js +89 -19
- package/dist/tabs/Tabs.stories.js +1 -1
- package/dist/text/Text.js +75 -11
- package/dist/text/Text.stories.js +1 -1
- package/dist/toast/Toast.stories.js +4 -4
- package/dist/toast/ToastBox.js +4 -4
- package/dist/toast/sonner.js +3 -3
- package/dist/toggle/Toggle.js +78 -14
- package/dist/toggle/Toggle.stories.js +1 -1
- package/dist/tooltip/Tooltip.js +32 -14
- package/dist/tooltip/Tooltip.stories.js +2 -2
- package/dist/vstack/VStack.js +75 -11
- package/dist/vstack/VStack.stories.js +1 -1
- package/package.json +29 -29
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
function _array_like_to_array(arr, len) {
|
|
2
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
|
+
return arr2;
|
|
5
|
+
}
|
|
6
|
+
function _array_with_holes(arr) {
|
|
7
|
+
if (Array.isArray(arr)) return arr;
|
|
8
|
+
}
|
|
1
9
|
function _define_property(obj, key, value) {
|
|
2
10
|
if (key in obj) {
|
|
3
11
|
Object.defineProperty(obj, key, {
|
|
@@ -11,6 +19,36 @@ function _define_property(obj, key, value) {
|
|
|
11
19
|
}
|
|
12
20
|
return obj;
|
|
13
21
|
}
|
|
22
|
+
function _iterable_to_array(iter) {
|
|
23
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
24
|
+
}
|
|
25
|
+
function _iterable_to_array_limit(arr, i) {
|
|
26
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
27
|
+
if (_i == null) return;
|
|
28
|
+
var _arr = [];
|
|
29
|
+
var _n = true;
|
|
30
|
+
var _d = false;
|
|
31
|
+
var _s, _e;
|
|
32
|
+
try {
|
|
33
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
34
|
+
_arr.push(_s.value);
|
|
35
|
+
if (i && _arr.length === i) break;
|
|
36
|
+
}
|
|
37
|
+
} catch (err) {
|
|
38
|
+
_d = true;
|
|
39
|
+
_e = err;
|
|
40
|
+
} finally{
|
|
41
|
+
try {
|
|
42
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
43
|
+
} finally{
|
|
44
|
+
if (_d) throw _e;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return _arr;
|
|
48
|
+
}
|
|
49
|
+
function _non_iterable_rest() {
|
|
50
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
51
|
+
}
|
|
14
52
|
function _object_spread(target) {
|
|
15
53
|
for(var i = 1; i < arguments.length; i++){
|
|
16
54
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
@@ -52,12 +90,22 @@ function _object_spread_props(target, source) {
|
|
|
52
90
|
}
|
|
53
91
|
function _object_without_properties(source, excluded) {
|
|
54
92
|
if (source == null) return {};
|
|
55
|
-
var target =
|
|
56
|
-
|
|
93
|
+
var target = {}, sourceKeys, key, i;
|
|
94
|
+
if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
|
|
95
|
+
sourceKeys = Reflect.ownKeys(Object(source));
|
|
96
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
97
|
+
key = sourceKeys[i];
|
|
98
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
99
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
100
|
+
target[key] = source[key];
|
|
101
|
+
}
|
|
102
|
+
return target;
|
|
103
|
+
}
|
|
104
|
+
target = _object_without_properties_loose(source, excluded);
|
|
57
105
|
if (Object.getOwnPropertySymbols) {
|
|
58
|
-
|
|
59
|
-
for(i = 0; i <
|
|
60
|
-
key =
|
|
106
|
+
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
107
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
108
|
+
key = sourceKeys[i];
|
|
61
109
|
if (excluded.indexOf(key) >= 0) continue;
|
|
62
110
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
63
111
|
target[key] = source[key];
|
|
@@ -67,21 +115,37 @@ function _object_without_properties(source, excluded) {
|
|
|
67
115
|
}
|
|
68
116
|
function _object_without_properties_loose(source, excluded) {
|
|
69
117
|
if (source == null) return {};
|
|
70
|
-
var target = {};
|
|
71
|
-
var sourceKeys = Object.keys(source);
|
|
72
|
-
var key, i;
|
|
118
|
+
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
73
119
|
for(i = 0; i < sourceKeys.length; i++){
|
|
74
120
|
key = sourceKeys[i];
|
|
75
121
|
if (excluded.indexOf(key) >= 0) continue;
|
|
122
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
76
123
|
target[key] = source[key];
|
|
77
124
|
}
|
|
78
125
|
return target;
|
|
79
126
|
}
|
|
127
|
+
function _sliced_to_array(arr, i) {
|
|
128
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
129
|
+
}
|
|
130
|
+
function _to_array(arr) {
|
|
131
|
+
return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest();
|
|
132
|
+
}
|
|
133
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
134
|
+
if (!o) return;
|
|
135
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
136
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
137
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
138
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
139
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
140
|
+
}
|
|
80
141
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
81
142
|
import * as React from 'react';
|
|
82
143
|
import { cn } from '../utils';
|
|
83
|
-
var FieldWrapper = /*#__PURE__*/ React.forwardRef(function(
|
|
84
|
-
var
|
|
144
|
+
var FieldWrapper = /*#__PURE__*/ React.forwardRef(function(_0, _1) {
|
|
145
|
+
var _ref = [
|
|
146
|
+
_0,
|
|
147
|
+
_1
|
|
148
|
+
], _ref1 = _to_array(_ref), _ref2 = _ref1[0], _rest = _ref1.slice(1), children = _ref2.children, htmlFor = _ref2.htmlFor, label = _ref2.label, helperText = _ref2.helperText, showRequired = _ref2.showRequired, showOptional = _ref2.showOptional, outerPrefix = _ref2.outerPrefix, outerSuffix = _ref2.outerSuffix, error = _ref2.error, className = _ref2.className, props = _object_without_properties(_ref2, [
|
|
85
149
|
"children",
|
|
86
150
|
"htmlFor",
|
|
87
151
|
"label",
|
|
@@ -92,7 +156,7 @@ var FieldWrapper = /*#__PURE__*/ React.forwardRef(function(_param, ref) {
|
|
|
92
156
|
"outerSuffix",
|
|
93
157
|
"error",
|
|
94
158
|
"className"
|
|
95
|
-
]);
|
|
159
|
+
]), _rest1 = _sliced_to_array(_rest, 1), ref = _rest1[0];
|
|
96
160
|
return /*#__PURE__*/ _jsxs("div", _object_spread_props(_object_spread({
|
|
97
161
|
ref: ref,
|
|
98
162
|
className: cn('flex flex-col gap-2 w-full', className)
|
|
@@ -62,7 +62,7 @@ export var Demo = {
|
|
|
62
62
|
args: {
|
|
63
63
|
htmlFor: 'testing'
|
|
64
64
|
},
|
|
65
|
-
render: function(args) {
|
|
65
|
+
render: function render(args) {
|
|
66
66
|
return /*#__PURE__*/ _jsx(FieldWrapper, _object_spread_props(_object_spread({
|
|
67
67
|
label: "First Name",
|
|
68
68
|
showRequired: true
|
|
@@ -79,7 +79,7 @@ export var ErrorField = {
|
|
|
79
79
|
args: {
|
|
80
80
|
htmlFor: 'email'
|
|
81
81
|
},
|
|
82
|
-
render: function(args) {
|
|
82
|
+
render: function render(args) {
|
|
83
83
|
return /*#__PURE__*/ _jsx(FieldWrapper, _object_spread_props(_object_spread({
|
|
84
84
|
label: 'Email',
|
|
85
85
|
error: 'Invalid email'
|
|
@@ -96,7 +96,7 @@ export var Optional = {
|
|
|
96
96
|
args: {
|
|
97
97
|
htmlFor: 'notes'
|
|
98
98
|
},
|
|
99
|
-
render: function(args) {
|
|
99
|
+
render: function render(args) {
|
|
100
100
|
return /*#__PURE__*/ _jsx(FieldWrapper, _object_spread_props(_object_spread({
|
|
101
101
|
label: 'Notes',
|
|
102
102
|
showOptional: true
|
|
@@ -113,7 +113,7 @@ export var Prefix = {
|
|
|
113
113
|
args: {
|
|
114
114
|
htmlFor: 'facebook'
|
|
115
115
|
},
|
|
116
|
-
render: function(args) {
|
|
116
|
+
render: function render(args) {
|
|
117
117
|
return /*#__PURE__*/ _jsx(FieldWrapper, _object_spread_props(_object_spread({
|
|
118
118
|
label: 'Facebook Name',
|
|
119
119
|
outerPrefix: /*#__PURE__*/ _jsx(IconFacebook, {})
|
|
@@ -130,7 +130,7 @@ export var Suffix = {
|
|
|
130
130
|
args: {
|
|
131
131
|
htmlFor: 'url'
|
|
132
132
|
},
|
|
133
|
-
render: function(args) {
|
|
133
|
+
render: function render(args) {
|
|
134
134
|
return /*#__PURE__*/ _jsx(FieldWrapper, _object_spread_props(_object_spread({
|
|
135
135
|
label: 'URL',
|
|
136
136
|
outerSuffix: '.com'
|
package/dist/flex/Flex.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
function _array_like_to_array(arr, len) {
|
|
2
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
|
+
return arr2;
|
|
5
|
+
}
|
|
6
|
+
function _array_with_holes(arr) {
|
|
7
|
+
if (Array.isArray(arr)) return arr;
|
|
8
|
+
}
|
|
1
9
|
function _define_property(obj, key, value) {
|
|
2
10
|
if (key in obj) {
|
|
3
11
|
Object.defineProperty(obj, key, {
|
|
@@ -11,6 +19,36 @@ function _define_property(obj, key, value) {
|
|
|
11
19
|
}
|
|
12
20
|
return obj;
|
|
13
21
|
}
|
|
22
|
+
function _iterable_to_array(iter) {
|
|
23
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
24
|
+
}
|
|
25
|
+
function _iterable_to_array_limit(arr, i) {
|
|
26
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
27
|
+
if (_i == null) return;
|
|
28
|
+
var _arr = [];
|
|
29
|
+
var _n = true;
|
|
30
|
+
var _d = false;
|
|
31
|
+
var _s, _e;
|
|
32
|
+
try {
|
|
33
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
34
|
+
_arr.push(_s.value);
|
|
35
|
+
if (i && _arr.length === i) break;
|
|
36
|
+
}
|
|
37
|
+
} catch (err) {
|
|
38
|
+
_d = true;
|
|
39
|
+
_e = err;
|
|
40
|
+
} finally{
|
|
41
|
+
try {
|
|
42
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
43
|
+
} finally{
|
|
44
|
+
if (_d) throw _e;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return _arr;
|
|
48
|
+
}
|
|
49
|
+
function _non_iterable_rest() {
|
|
50
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
51
|
+
}
|
|
14
52
|
function _object_spread(target) {
|
|
15
53
|
for(var i = 1; i < arguments.length; i++){
|
|
16
54
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
@@ -28,12 +66,22 @@ function _object_spread(target) {
|
|
|
28
66
|
}
|
|
29
67
|
function _object_without_properties(source, excluded) {
|
|
30
68
|
if (source == null) return {};
|
|
31
|
-
var target =
|
|
32
|
-
|
|
69
|
+
var target = {}, sourceKeys, key, i;
|
|
70
|
+
if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
|
|
71
|
+
sourceKeys = Reflect.ownKeys(Object(source));
|
|
72
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
73
|
+
key = sourceKeys[i];
|
|
74
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
75
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
76
|
+
target[key] = source[key];
|
|
77
|
+
}
|
|
78
|
+
return target;
|
|
79
|
+
}
|
|
80
|
+
target = _object_without_properties_loose(source, excluded);
|
|
33
81
|
if (Object.getOwnPropertySymbols) {
|
|
34
|
-
|
|
35
|
-
for(i = 0; i <
|
|
36
|
-
key =
|
|
82
|
+
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
83
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
84
|
+
key = sourceKeys[i];
|
|
37
85
|
if (excluded.indexOf(key) >= 0) continue;
|
|
38
86
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
39
87
|
target[key] = source[key];
|
|
@@ -43,24 +91,40 @@ function _object_without_properties(source, excluded) {
|
|
|
43
91
|
}
|
|
44
92
|
function _object_without_properties_loose(source, excluded) {
|
|
45
93
|
if (source == null) return {};
|
|
46
|
-
var target = {};
|
|
47
|
-
var sourceKeys = Object.keys(source);
|
|
48
|
-
var key, i;
|
|
94
|
+
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
49
95
|
for(i = 0; i < sourceKeys.length; i++){
|
|
50
96
|
key = sourceKeys[i];
|
|
51
97
|
if (excluded.indexOf(key) >= 0) continue;
|
|
98
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
52
99
|
target[key] = source[key];
|
|
53
100
|
}
|
|
54
101
|
return target;
|
|
55
102
|
}
|
|
103
|
+
function _sliced_to_array(arr, i) {
|
|
104
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
105
|
+
}
|
|
106
|
+
function _to_array(arr) {
|
|
107
|
+
return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest();
|
|
108
|
+
}
|
|
109
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
110
|
+
if (!o) return;
|
|
111
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
112
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
113
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
114
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
115
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
116
|
+
}
|
|
56
117
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
57
118
|
import * as React from 'react';
|
|
58
119
|
import Box from '../box/Box';
|
|
59
120
|
import { cn } from '../utils';
|
|
60
|
-
var Flex = /*#__PURE__*/ React.forwardRef(function(
|
|
61
|
-
var
|
|
121
|
+
var Flex = /*#__PURE__*/ React.forwardRef(function(_0, _1) {
|
|
122
|
+
var _ref = [
|
|
123
|
+
_0,
|
|
124
|
+
_1
|
|
125
|
+
], _ref1 = _to_array(_ref), _ref2 = _ref1[0], _rest = _ref1.slice(1), className = _ref2.className, props = _object_without_properties(_ref2, [
|
|
62
126
|
"className"
|
|
63
|
-
]);
|
|
127
|
+
]), _rest1 = _sliced_to_array(_rest, 1), ref = _rest1[0];
|
|
64
128
|
return /*#__PURE__*/ _jsx(Box, _object_spread({
|
|
65
129
|
className: cn('flex gap-4', className),
|
|
66
130
|
ref: ref
|
package/dist/grid/Grid.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
function _array_like_to_array(arr, len) {
|
|
2
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
|
+
return arr2;
|
|
5
|
+
}
|
|
6
|
+
function _array_with_holes(arr) {
|
|
7
|
+
if (Array.isArray(arr)) return arr;
|
|
8
|
+
}
|
|
1
9
|
function _define_property(obj, key, value) {
|
|
2
10
|
if (key in obj) {
|
|
3
11
|
Object.defineProperty(obj, key, {
|
|
@@ -11,6 +19,36 @@ function _define_property(obj, key, value) {
|
|
|
11
19
|
}
|
|
12
20
|
return obj;
|
|
13
21
|
}
|
|
22
|
+
function _iterable_to_array(iter) {
|
|
23
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
24
|
+
}
|
|
25
|
+
function _iterable_to_array_limit(arr, i) {
|
|
26
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
27
|
+
if (_i == null) return;
|
|
28
|
+
var _arr = [];
|
|
29
|
+
var _n = true;
|
|
30
|
+
var _d = false;
|
|
31
|
+
var _s, _e;
|
|
32
|
+
try {
|
|
33
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
34
|
+
_arr.push(_s.value);
|
|
35
|
+
if (i && _arr.length === i) break;
|
|
36
|
+
}
|
|
37
|
+
} catch (err) {
|
|
38
|
+
_d = true;
|
|
39
|
+
_e = err;
|
|
40
|
+
} finally{
|
|
41
|
+
try {
|
|
42
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
43
|
+
} finally{
|
|
44
|
+
if (_d) throw _e;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return _arr;
|
|
48
|
+
}
|
|
49
|
+
function _non_iterable_rest() {
|
|
50
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
51
|
+
}
|
|
14
52
|
function _object_spread(target) {
|
|
15
53
|
for(var i = 1; i < arguments.length; i++){
|
|
16
54
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
@@ -28,12 +66,22 @@ function _object_spread(target) {
|
|
|
28
66
|
}
|
|
29
67
|
function _object_without_properties(source, excluded) {
|
|
30
68
|
if (source == null) return {};
|
|
31
|
-
var target =
|
|
32
|
-
|
|
69
|
+
var target = {}, sourceKeys, key, i;
|
|
70
|
+
if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
|
|
71
|
+
sourceKeys = Reflect.ownKeys(Object(source));
|
|
72
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
73
|
+
key = sourceKeys[i];
|
|
74
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
75
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
76
|
+
target[key] = source[key];
|
|
77
|
+
}
|
|
78
|
+
return target;
|
|
79
|
+
}
|
|
80
|
+
target = _object_without_properties_loose(source, excluded);
|
|
33
81
|
if (Object.getOwnPropertySymbols) {
|
|
34
|
-
|
|
35
|
-
for(i = 0; i <
|
|
36
|
-
key =
|
|
82
|
+
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
83
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
84
|
+
key = sourceKeys[i];
|
|
37
85
|
if (excluded.indexOf(key) >= 0) continue;
|
|
38
86
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
39
87
|
target[key] = source[key];
|
|
@@ -43,24 +91,40 @@ function _object_without_properties(source, excluded) {
|
|
|
43
91
|
}
|
|
44
92
|
function _object_without_properties_loose(source, excluded) {
|
|
45
93
|
if (source == null) return {};
|
|
46
|
-
var target = {};
|
|
47
|
-
var sourceKeys = Object.keys(source);
|
|
48
|
-
var key, i;
|
|
94
|
+
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
49
95
|
for(i = 0; i < sourceKeys.length; i++){
|
|
50
96
|
key = sourceKeys[i];
|
|
51
97
|
if (excluded.indexOf(key) >= 0) continue;
|
|
98
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
52
99
|
target[key] = source[key];
|
|
53
100
|
}
|
|
54
101
|
return target;
|
|
55
102
|
}
|
|
103
|
+
function _sliced_to_array(arr, i) {
|
|
104
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
105
|
+
}
|
|
106
|
+
function _to_array(arr) {
|
|
107
|
+
return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest();
|
|
108
|
+
}
|
|
109
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
110
|
+
if (!o) return;
|
|
111
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
112
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
113
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
114
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
115
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
116
|
+
}
|
|
56
117
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
57
118
|
import * as React from 'react';
|
|
58
119
|
import Box from '../box/Box';
|
|
59
120
|
import { cn } from '../utils';
|
|
60
|
-
var Grid = /*#__PURE__*/ React.forwardRef(function(
|
|
61
|
-
var
|
|
121
|
+
var Grid = /*#__PURE__*/ React.forwardRef(function(_0, _1) {
|
|
122
|
+
var _ref = [
|
|
123
|
+
_0,
|
|
124
|
+
_1
|
|
125
|
+
], _ref1 = _to_array(_ref), _ref2 = _ref1[0], _rest = _ref1.slice(1), className = _ref2.className, props = _object_without_properties(_ref2, [
|
|
62
126
|
"className"
|
|
63
|
-
]);
|
|
127
|
+
]), _rest1 = _sliced_to_array(_rest, 1), ref = _rest1[0];
|
|
64
128
|
return /*#__PURE__*/ _jsx(Box, _object_spread({
|
|
65
129
|
className: cn('grid gap-4', className),
|
|
66
130
|
ref: ref
|
|
@@ -53,11 +53,11 @@ var mediaQueries = {
|
|
|
53
53
|
sm: '(min-width: 640px)',
|
|
54
54
|
base: '(min-width: 0px)'
|
|
55
55
|
};
|
|
56
|
-
export var useBreakpointValue = function(values) {
|
|
56
|
+
export var useBreakpointValue = function useBreakpointValue(values) {
|
|
57
57
|
var _useState = _sliced_to_array(useState(values.base), 2), value = _useState[0], setValue = _useState[1];
|
|
58
58
|
// biome-ignore lint/correctness/useExhaustiveDependencies: only run on first render
|
|
59
59
|
useEffect(function() {
|
|
60
|
-
var getValidBreakpointValue = function() {
|
|
60
|
+
var getValidBreakpointValue = function getValidBreakpointValue() {
|
|
61
61
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
62
62
|
try {
|
|
63
63
|
for(var _iterator = Object.entries(mediaQueries)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -45,7 +45,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
45
45
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
46
46
|
}
|
|
47
47
|
import { useEffect, useState } from 'react';
|
|
48
|
-
export var useMediaQuery = function(query) {
|
|
48
|
+
export var useMediaQuery = function useMediaQuery(query) {
|
|
49
49
|
var _useState = _sliced_to_array(useState(false), 2), value = _useState[0], setValue = _useState[1];
|
|
50
50
|
useEffect(function() {
|
|
51
51
|
var onChange = function onChange(event) {
|
|
@@ -62,12 +62,12 @@ export var useMediaQuery = function(query) {
|
|
|
62
62
|
]);
|
|
63
63
|
return value;
|
|
64
64
|
};
|
|
65
|
-
export var useIsMobile = function() {
|
|
65
|
+
export var useIsMobile = function useIsMobile() {
|
|
66
66
|
return useMediaQuery('(max-width: 768px)');
|
|
67
67
|
};
|
|
68
|
-
export var useIsTablet = function() {
|
|
68
|
+
export var useIsTablet = function useIsTablet() {
|
|
69
69
|
return useMediaQuery('(min-width: 768px) and (max-width: 1024px)');
|
|
70
70
|
};
|
|
71
|
-
export var useIsDesktop = function() {
|
|
71
|
+
export var useIsDesktop = function useIsDesktop() {
|
|
72
72
|
return useMediaQuery('(min-width: 1024px)');
|
|
73
73
|
};
|
package/dist/hstack/HStack.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
function _array_like_to_array(arr, len) {
|
|
2
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
|
+
return arr2;
|
|
5
|
+
}
|
|
6
|
+
function _array_with_holes(arr) {
|
|
7
|
+
if (Array.isArray(arr)) return arr;
|
|
8
|
+
}
|
|
1
9
|
function _define_property(obj, key, value) {
|
|
2
10
|
if (key in obj) {
|
|
3
11
|
Object.defineProperty(obj, key, {
|
|
@@ -11,6 +19,36 @@ function _define_property(obj, key, value) {
|
|
|
11
19
|
}
|
|
12
20
|
return obj;
|
|
13
21
|
}
|
|
22
|
+
function _iterable_to_array(iter) {
|
|
23
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
24
|
+
}
|
|
25
|
+
function _iterable_to_array_limit(arr, i) {
|
|
26
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
27
|
+
if (_i == null) return;
|
|
28
|
+
var _arr = [];
|
|
29
|
+
var _n = true;
|
|
30
|
+
var _d = false;
|
|
31
|
+
var _s, _e;
|
|
32
|
+
try {
|
|
33
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
34
|
+
_arr.push(_s.value);
|
|
35
|
+
if (i && _arr.length === i) break;
|
|
36
|
+
}
|
|
37
|
+
} catch (err) {
|
|
38
|
+
_d = true;
|
|
39
|
+
_e = err;
|
|
40
|
+
} finally{
|
|
41
|
+
try {
|
|
42
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
43
|
+
} finally{
|
|
44
|
+
if (_d) throw _e;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return _arr;
|
|
48
|
+
}
|
|
49
|
+
function _non_iterable_rest() {
|
|
50
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
51
|
+
}
|
|
14
52
|
function _object_spread(target) {
|
|
15
53
|
for(var i = 1; i < arguments.length; i++){
|
|
16
54
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
@@ -28,12 +66,22 @@ function _object_spread(target) {
|
|
|
28
66
|
}
|
|
29
67
|
function _object_without_properties(source, excluded) {
|
|
30
68
|
if (source == null) return {};
|
|
31
|
-
var target =
|
|
32
|
-
|
|
69
|
+
var target = {}, sourceKeys, key, i;
|
|
70
|
+
if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
|
|
71
|
+
sourceKeys = Reflect.ownKeys(Object(source));
|
|
72
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
73
|
+
key = sourceKeys[i];
|
|
74
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
75
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
76
|
+
target[key] = source[key];
|
|
77
|
+
}
|
|
78
|
+
return target;
|
|
79
|
+
}
|
|
80
|
+
target = _object_without_properties_loose(source, excluded);
|
|
33
81
|
if (Object.getOwnPropertySymbols) {
|
|
34
|
-
|
|
35
|
-
for(i = 0; i <
|
|
36
|
-
key =
|
|
82
|
+
sourceKeys = Object.getOwnPropertySymbols(source);
|
|
83
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
84
|
+
key = sourceKeys[i];
|
|
37
85
|
if (excluded.indexOf(key) >= 0) continue;
|
|
38
86
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
39
87
|
target[key] = source[key];
|
|
@@ -43,24 +91,40 @@ function _object_without_properties(source, excluded) {
|
|
|
43
91
|
}
|
|
44
92
|
function _object_without_properties_loose(source, excluded) {
|
|
45
93
|
if (source == null) return {};
|
|
46
|
-
var target = {};
|
|
47
|
-
var sourceKeys = Object.keys(source);
|
|
48
|
-
var key, i;
|
|
94
|
+
var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
|
|
49
95
|
for(i = 0; i < sourceKeys.length; i++){
|
|
50
96
|
key = sourceKeys[i];
|
|
51
97
|
if (excluded.indexOf(key) >= 0) continue;
|
|
98
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
52
99
|
target[key] = source[key];
|
|
53
100
|
}
|
|
54
101
|
return target;
|
|
55
102
|
}
|
|
103
|
+
function _sliced_to_array(arr, i) {
|
|
104
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
105
|
+
}
|
|
106
|
+
function _to_array(arr) {
|
|
107
|
+
return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest();
|
|
108
|
+
}
|
|
109
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
110
|
+
if (!o) return;
|
|
111
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
112
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
113
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
114
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
115
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
116
|
+
}
|
|
56
117
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
57
118
|
import * as React from 'react';
|
|
58
119
|
import Box from '../box/Box';
|
|
59
120
|
import { cn } from '../utils';
|
|
60
|
-
var HStack = /*#__PURE__*/ React.forwardRef(function(
|
|
61
|
-
var
|
|
121
|
+
var HStack = /*#__PURE__*/ React.forwardRef(function(_0, _1) {
|
|
122
|
+
var _ref = [
|
|
123
|
+
_0,
|
|
124
|
+
_1
|
|
125
|
+
], _ref1 = _to_array(_ref), _ref2 = _ref1[0], _rest = _ref1.slice(1), className = _ref2.className, props = _object_without_properties(_ref2, [
|
|
62
126
|
"className"
|
|
63
|
-
]);
|
|
127
|
+
]), _rest1 = _sliced_to_array(_rest, 1), ref = _rest1[0];
|
|
64
128
|
return /*#__PURE__*/ _jsx(Box, _object_spread({
|
|
65
129
|
className: cn('flex items-center gap-4', className),
|
|
66
130
|
ref: ref
|