@dmsi/wedgekit-react 0.0.451 → 0.0.453
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/{chunk-LCJZRP5S.js → chunk-2F3R3WXW.js} +3 -3
- package/dist/{chunk-SVTQGC2D.js → chunk-44TH3VC7.js} +9 -5
- package/dist/{chunk-IFHMGICR.js → chunk-6TYWM26K.js} +2 -2
- package/dist/chunk-75USUR3I.js +27 -0
- package/dist/{chunk-PQWWVBSR.js → chunk-7BVUTFZ5.js} +2 -2
- package/dist/{chunk-DCLNAUC4.js → chunk-7GHD74J3.js} +1 -1
- package/dist/{chunk-7CS736EF.js → chunk-AL5QIRY3.js} +1 -1
- package/dist/{chunk-7B334WPV.js → chunk-BYRLHNBP.js} +16 -16
- package/dist/{chunk-3HBYDOYE.js → chunk-DNUBM26R.js} +4 -4
- package/dist/{chunk-DTW7JCBR.js → chunk-DORD2EBO.js} +1 -1
- package/dist/{chunk-FRHPFACM.js → chunk-FG7GNGE3.js} +1 -1
- package/dist/{chunk-VEL4ICLU.js → chunk-G7EOLHST.js} +1 -1
- package/dist/{chunk-T36HX6QY.js → chunk-G7KIKHER.js} +3 -3
- package/dist/{chunk-TYAQWVIM.js → chunk-GRGDX7JC.js} +2 -2
- package/dist/{chunk-6LHBY2IH.js → chunk-GTBGPBH6.js} +4 -4
- package/dist/{chunk-EU73QPW7.js → chunk-H2KC5XUY.js} +1 -1
- package/dist/{chunk-JQWYQDH7.js → chunk-HVNHTM3P.js} +1 -1
- package/dist/{chunk-DNYGKNQM.js → chunk-I363QX6Y.js} +1 -1
- package/dist/{chunk-NAY4I3FL.js → chunk-IT4VFU6T.js} +3 -3
- package/dist/{chunk-6CTCHYIS.js → chunk-IXR65MOU.js} +8 -0
- package/dist/{chunk-EJSPFQCY.js → chunk-JUFBGNWW.js} +1 -1
- package/dist/{chunk-SBCFBHNG.js → chunk-KCUB3UWA.js} +5 -5
- package/dist/{chunk-GICZ5RWY.js → chunk-KHIJYWZ7.js} +1 -1
- package/dist/{chunk-TJV3S52X.js → chunk-KJNK7KEV.js} +1 -1
- package/dist/{chunk-7HCS6TZN.js → chunk-KW6V7O3H.js} +1 -1
- package/dist/{chunk-WWAPK5PH.js → chunk-LPY6PMAY.js} +1 -1
- package/dist/{chunk-UOHCOOC2.js → chunk-LZH6DJEZ.js} +2 -2
- package/dist/{chunk-FHQL42YP.js → chunk-PCQXSYTH.js} +1 -1
- package/dist/{chunk-MVMYXAXB.js → chunk-RQRR4FEF.js} +6 -3
- package/dist/{chunk-QNJTYAPX.js → chunk-SOZRGIQW.js} +3 -3
- package/dist/{chunk-RDJT63IS.js → chunk-TVXBP5CW.js} +5 -5
- package/dist/{chunk-FA7IFW66.js → chunk-UCJUC5AZ.js} +1 -1
- package/dist/{chunk-FFGIFICI.js → chunk-UKSV4UHI.js} +5 -5
- package/dist/{chunk-CANJ2YPW.js → chunk-W53FKPJD.js} +1 -1
- package/dist/{chunk-NO5BIKWS.js → chunk-WEAVZEE4.js} +2 -2
- package/dist/{chunk-4V6ZO2MR.js → chunk-WX62IDZ5.js} +3 -3
- package/dist/{chunk-RQLWSLVE.js → chunk-YNKN6RKF.js} +1 -1
- package/dist/{chunk-4OMINRN5.js → chunk-Z6HIIJK3.js} +1 -1
- package/dist/{chunk-XM7IQHBU.js → chunk-ZQJMNPCF.js} +2 -2
- package/dist/{chunk-5TGP5EFM.js → chunk-ZQSD74IJ.js} +3 -3
- package/dist/{chunk-OGIFIPKH.js → chunk-ZSETMD4A.js} +1 -1
- package/dist/components/AccessChangerTabItem.cjs +6 -0
- package/dist/components/AccessChangerTabItem.js +2 -2
- package/dist/components/Accordion.cjs +6 -0
- package/dist/components/Accordion.js +4 -4
- package/dist/components/Breadcrumbs.cjs +6 -0
- package/dist/components/Breadcrumbs.js +2 -2
- package/dist/components/Button.cjs +6 -0
- package/dist/components/Button.js +2 -2
- package/dist/components/CalendarRange.cjs +45 -30
- package/dist/components/CalendarRange.css +9 -3
- package/dist/components/CalendarRange.js +37 -36
- package/dist/components/Caption.cjs +6 -0
- package/dist/components/Caption.js +1 -1
- package/dist/components/Checkbox.cjs +6 -0
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CompactImagesPreview.cjs +6 -0
- package/dist/components/CompactImagesPreview.js +3 -3
- package/dist/components/ContentTab.cjs +6 -0
- package/dist/components/ContentTab.js +3 -3
- package/dist/components/ContentTabs.cjs +6 -0
- package/dist/components/ContentTabs.js +3 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +22 -7
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +9 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +36 -35
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +29 -14
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +9 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +36 -35
- package/dist/components/DataGrid/PinnedColumns.cjs +40 -25
- package/dist/components/DataGrid/PinnedColumns.css +9 -3
- package/dist/components/DataGrid/PinnedColumns.js +36 -35
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +25 -10
- package/dist/components/DataGrid/TableBody/LoadingCell.css +9 -3
- package/dist/components/DataGrid/TableBody/LoadingCell.js +36 -35
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +27 -12
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +9 -3
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +36 -35
- package/dist/components/DataGrid/TableBody/index.cjs +40 -25
- package/dist/components/DataGrid/TableBody/index.css +9 -3
- package/dist/components/DataGrid/TableBody/index.js +36 -35
- package/dist/components/DataGrid/index.cjs +100 -85
- package/dist/components/DataGrid/index.css +9 -3
- package/dist/components/DataGrid/index.js +36 -35
- package/dist/components/DataGrid/utils.cjs +23 -8
- package/dist/components/DataGrid/utils.css +9 -3
- package/dist/components/DataGrid/utils.js +36 -35
- package/dist/components/DataGridCell.cjs +17 -5
- package/dist/components/DataGridCell.js +7 -7
- package/dist/components/DateInput.cjs +51 -36
- package/dist/components/DateInput.css +9 -3
- package/dist/components/DateInput.js +37 -36
- package/dist/components/DateRangeInput.cjs +51 -36
- package/dist/components/DateRangeInput.css +9 -3
- package/dist/components/DateRangeInput.js +37 -36
- package/dist/components/Display.cjs +6 -0
- package/dist/components/Display.js +2 -2
- package/dist/components/EmptyCartIcon.cjs +51 -0
- package/dist/components/EmptyCartIcon.js +7 -0
- package/dist/components/FilterGroup.cjs +17 -5
- package/dist/components/FilterGroup.js +9 -9
- package/dist/components/Heading.cjs +6 -0
- package/dist/components/Heading.js +2 -2
- package/dist/components/Input.cjs +12 -3
- package/dist/components/Input.js +3 -3
- package/dist/components/InputGroup.cjs +6 -0
- package/dist/components/InputGroup.js +2 -2
- package/dist/components/Label.cjs +6 -0
- package/dist/components/Label.js +2 -2
- package/dist/components/Link.cjs +6 -0
- package/dist/components/Link.js +2 -2
- package/dist/components/ListGroup.cjs +6 -0
- package/dist/components/ListGroup.js +4 -4
- package/dist/components/MainBar.cjs +8 -2
- package/dist/components/MainBar.js +4 -4
- package/dist/components/MenuOption.cjs +6 -0
- package/dist/components/MenuOption.js +4 -4
- package/dist/components/MobileDataGrid/ColumnList.cjs +6 -0
- package/dist/components/MobileDataGrid/ColumnList.js +8 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +28 -13
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +9 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +36 -35
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.cjs +6 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.js +3 -3
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +6 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +7 -7
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +36 -21
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +9 -3
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +36 -35
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +6 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +5 -5
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +6 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +12 -12
- package/dist/components/MobileDataGrid/index.cjs +81 -66
- package/dist/components/MobileDataGrid/index.css +9 -3
- package/dist/components/MobileDataGrid/index.js +36 -35
- package/dist/components/Modal.cjs +6 -0
- package/dist/components/Modal.js +7 -7
- package/dist/components/ModalButtons.cjs +6 -0
- package/dist/components/ModalButtons.js +3 -3
- package/dist/components/ModalContent.cjs +6 -0
- package/dist/components/ModalContent.js +2 -2
- package/dist/components/ModalHeader.cjs +6 -0
- package/dist/components/ModalHeader.js +4 -4
- package/dist/components/NavigationTab.cjs +6 -0
- package/dist/components/NavigationTab.js +3 -3
- package/dist/components/NavigationTabs.cjs +6 -0
- package/dist/components/NavigationTabs.js +3 -3
- package/dist/components/NestedMenu.cjs +6 -0
- package/dist/components/NestedMenu.js +4 -4
- package/dist/components/Notification.cjs +6 -0
- package/dist/components/Notification.js +5 -5
- package/dist/components/OptionPill.cjs +6 -0
- package/dist/components/OptionPill.js +4 -4
- package/dist/components/PDFViewer/DownloadIcon.cjs +6 -0
- package/dist/components/PDFViewer/DownloadIcon.js +3 -3
- package/dist/components/PDFViewer/PDFElement.cjs +6 -0
- package/dist/components/PDFViewer/PDFElement.js +3 -3
- package/dist/components/PDFViewer/PDFNavigation.cjs +6 -0
- package/dist/components/PDFViewer/PDFNavigation.js +6 -6
- package/dist/components/PDFViewer/index.cjs +6 -0
- package/dist/components/PDFViewer/index.js +13 -13
- package/dist/components/Pagination.cjs +6 -0
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Paragraph.cjs +6 -0
- package/dist/components/Paragraph.js +2 -2
- package/dist/components/Password.cjs +12 -3
- package/dist/components/Password.js +3 -3
- package/dist/components/ProductImagePreview/index.cjs +6 -0
- package/dist/components/ProductImagePreview/index.js +3 -3
- package/dist/components/ProjectBar.cjs +6 -0
- package/dist/components/ProjectBar.js +1 -1
- package/dist/components/Radio.cjs +6 -0
- package/dist/components/Radio.js +2 -2
- package/dist/components/Search.cjs +17 -5
- package/dist/components/Search.js +4 -4
- package/dist/components/Select.cjs +12 -3
- package/dist/components/Select.js +4 -4
- package/dist/components/SideMenuGroup.cjs +6 -0
- package/dist/components/SideMenuGroup.js +3 -3
- package/dist/components/SideMenuItem.cjs +6 -0
- package/dist/components/SideMenuItem.js +3 -3
- package/dist/components/SimpleTable.cjs +6 -0
- package/dist/components/SimpleTable.js +4 -4
- package/dist/components/Stack.cjs +6 -0
- package/dist/components/Stack.js +2 -2
- package/dist/components/StatusPill.cjs +6 -0
- package/dist/components/StatusPill.js +2 -2
- package/dist/components/Stepper.cjs +12 -3
- package/dist/components/Stepper.js +4 -4
- package/dist/components/Subheader.cjs +6 -0
- package/dist/components/Subheader.js +2 -2
- package/dist/components/Swatch.cjs +6 -0
- package/dist/components/Swatch.js +5 -5
- package/dist/components/Textarea.cjs +6 -0
- package/dist/components/Textarea.js +1 -1
- package/dist/components/Time.cjs +12 -3
- package/dist/components/Time.js +4 -4
- package/dist/components/Toast.cjs +6 -0
- package/dist/components/Toast.js +4 -4
- package/dist/components/Tooltip.cjs +6 -0
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/TopBar.cjs +8 -2
- package/dist/components/TopBar.js +3 -3
- package/dist/components/Upload.cjs +6 -0
- package/dist/components/Upload.js +4 -4
- package/dist/components/index.cjs +43 -5
- package/dist/components/index.css +9 -3
- package/dist/components/index.js +39 -35
- package/dist/index.css +9 -3
- package/package.json +1 -1
- package/src/classNames.ts +8 -0
- package/src/components/EmptyCartIcon.tsx +18 -0
- package/src/components/Input.tsx +5 -1
- package/src/components/MainBar.tsx +3 -3
- package/src/components/Search.tsx +3 -0
- package/src/components/TopBar.tsx +2 -2
- package/src/components/index.ts +1 -0
|
@@ -166,12 +166,18 @@ var componentPaddingXUsingComponentGap = (0, import_clsx.default)(
|
|
|
166
166
|
var componentPaddingYUsingComponentGap = (0, import_clsx.default)(
|
|
167
167
|
"py-mobile-component-gap desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
168
168
|
);
|
|
169
|
+
var componentPaddingYUsingComponentGap2xMobile = (0, import_clsx.default)(
|
|
170
|
+
"py-[calc(var(--spacing-mobile-component-gap)_+_8px)] desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
171
|
+
);
|
|
169
172
|
var componentPaddingMinusBorder = (0, import_clsx.default)(
|
|
170
173
|
"p-[calc(var(--spacing-mobile-component-padding)_-_1px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_1px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_1px)]"
|
|
171
174
|
);
|
|
172
175
|
var componentPaddingMinus2pxBorder = (0, import_clsx.default)(
|
|
173
176
|
"p-[calc(var(--spacing-mobile-component-padding)_-_2px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_2px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_2px)]"
|
|
174
177
|
);
|
|
178
|
+
var componentPaddingMinusBorderDesktop = (0, import_clsx.default)(
|
|
179
|
+
"p-[calc(var(--spacing-desktop-component-padding)_-_1px)]"
|
|
180
|
+
);
|
|
175
181
|
var layoutPaddding = (0, import_clsx.default)(
|
|
176
182
|
"p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding"
|
|
177
183
|
);
|
|
@@ -336,7 +342,8 @@ var InputBase = (_a) => {
|
|
|
336
342
|
secondaryIconColor,
|
|
337
343
|
fullWidth = true,
|
|
338
344
|
width,
|
|
339
|
-
wrapperRef
|
|
345
|
+
wrapperRef,
|
|
346
|
+
autocompletePadding = false
|
|
340
347
|
} = _b, props = __objRest(_b, [
|
|
341
348
|
"id",
|
|
342
349
|
"testid",
|
|
@@ -358,7 +365,8 @@ var InputBase = (_a) => {
|
|
|
358
365
|
"secondaryIconColor",
|
|
359
366
|
"fullWidth",
|
|
360
367
|
"width",
|
|
361
|
-
"wrapperRef"
|
|
368
|
+
"wrapperRef",
|
|
369
|
+
"autocompletePadding"
|
|
362
370
|
]);
|
|
363
371
|
const attributes = {
|
|
364
372
|
"data-error": error && !focus || null,
|
|
@@ -386,7 +394,8 @@ var InputBase = (_a) => {
|
|
|
386
394
|
componentGap,
|
|
387
395
|
baseTransition,
|
|
388
396
|
"outline-transparent outline-2 -outline-offset-2",
|
|
389
|
-
componentPaddingMinusBorder,
|
|
397
|
+
!autocompletePadding && componentPaddingMinusBorder,
|
|
398
|
+
autocompletePadding && componentPaddingMinusBorderDesktop,
|
|
390
399
|
!removeRoundness && "rounded-base",
|
|
391
400
|
!removeBorder && "border border-border-primary-normal",
|
|
392
401
|
"relative"
|
|
@@ -1894,7 +1903,8 @@ var Search = (_a) => {
|
|
|
1894
1903
|
renderMenu,
|
|
1895
1904
|
onClick,
|
|
1896
1905
|
wrapperClassName,
|
|
1897
|
-
removeRoundness
|
|
1906
|
+
removeRoundness,
|
|
1907
|
+
autocompletePadding = false
|
|
1898
1908
|
} = _b, props = __objRest(_b, [
|
|
1899
1909
|
"id",
|
|
1900
1910
|
"testid",
|
|
@@ -1905,7 +1915,8 @@ var Search = (_a) => {
|
|
|
1905
1915
|
"renderMenu",
|
|
1906
1916
|
"onClick",
|
|
1907
1917
|
"wrapperClassName",
|
|
1908
|
-
"removeRoundness"
|
|
1918
|
+
"removeRoundness",
|
|
1919
|
+
"autocompletePadding"
|
|
1909
1920
|
]);
|
|
1910
1921
|
const inputRef = (0, import_react10.useRef)(null);
|
|
1911
1922
|
const inputContainerRef = (0, import_react10.useRef)(null);
|
|
@@ -1933,6 +1944,7 @@ var Search = (_a) => {
|
|
|
1933
1944
|
ref: inputRef,
|
|
1934
1945
|
label,
|
|
1935
1946
|
wrapperClassName,
|
|
1947
|
+
autocompletePadding,
|
|
1936
1948
|
onClick: (e) => {
|
|
1937
1949
|
if (props.disabled || readOnly) {
|
|
1938
1950
|
return;
|
|
@@ -4930,8 +4942,11 @@ Pagination.displayName = "Pagination";
|
|
|
4930
4942
|
// src/components/SkeletonParagraph.tsx
|
|
4931
4943
|
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
4932
4944
|
|
|
4933
|
-
// src/components/
|
|
4945
|
+
// src/components/EmptyCartIcon.tsx
|
|
4934
4946
|
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
4947
|
+
|
|
4948
|
+
// src/components/CalendarRange.tsx
|
|
4949
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
4935
4950
|
function DateCell(_a) {
|
|
4936
4951
|
var _b = _a, {
|
|
4937
4952
|
date,
|
|
@@ -4966,7 +4981,7 @@ function DateCell(_a) {
|
|
|
4966
4981
|
"id",
|
|
4967
4982
|
"testid"
|
|
4968
4983
|
]);
|
|
4969
|
-
return /* @__PURE__ */ (0,
|
|
4984
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4970
4985
|
"span",
|
|
4971
4986
|
__spreadProps(__spreadValues({}, props), {
|
|
4972
4987
|
id,
|
|
@@ -5120,7 +5135,7 @@ function CalendarRange({
|
|
|
5120
5135
|
}
|
|
5121
5136
|
return false;
|
|
5122
5137
|
}
|
|
5123
|
-
return /* @__PURE__ */ (0,
|
|
5138
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5124
5139
|
"div",
|
|
5125
5140
|
{
|
|
5126
5141
|
id,
|
|
@@ -5133,7 +5148,7 @@ function CalendarRange({
|
|
|
5133
5148
|
// baseTransition,
|
|
5134
5149
|
"overflow-hidden"
|
|
5135
5150
|
),
|
|
5136
|
-
children: /* @__PURE__ */ (0,
|
|
5151
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5137
5152
|
"div",
|
|
5138
5153
|
{
|
|
5139
5154
|
className: (0, import_clsx38.default)(
|
|
@@ -5141,7 +5156,7 @@ function CalendarRange({
|
|
|
5141
5156
|
layoutGap
|
|
5142
5157
|
),
|
|
5143
5158
|
children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
|
|
5144
|
-
return /* @__PURE__ */ (0,
|
|
5159
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5145
5160
|
CalendarPane,
|
|
5146
5161
|
{
|
|
5147
5162
|
getMonthData,
|
|
@@ -5206,13 +5221,13 @@ function CalendarPane({
|
|
|
5206
5221
|
const month = getMonthData(offset);
|
|
5207
5222
|
const totalCells = 42;
|
|
5208
5223
|
const emptyCells = month.firstDayOffset;
|
|
5209
|
-
return /* @__PURE__ */ (0,
|
|
5210
|
-
/* @__PURE__ */ (0,
|
|
5224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_react37.default.Fragment, { children: [
|
|
5225
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
5211
5226
|
"div",
|
|
5212
5227
|
{
|
|
5213
5228
|
className: (0, import_clsx38.default)("flex flex-col"),
|
|
5214
5229
|
children: [
|
|
5215
|
-
/* @__PURE__ */ (0,
|
|
5230
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
5216
5231
|
"div",
|
|
5217
5232
|
{
|
|
5218
5233
|
className: (0, import_clsx38.default)(
|
|
@@ -5221,7 +5236,7 @@ function CalendarPane({
|
|
|
5221
5236
|
"text-text-action-primary-normal"
|
|
5222
5237
|
),
|
|
5223
5238
|
children: [
|
|
5224
|
-
idx === 0 ? /* @__PURE__ */ (0,
|
|
5239
|
+
idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5225
5240
|
"button",
|
|
5226
5241
|
{
|
|
5227
5242
|
id: id ? `${id}-prev-month-button` : void 0,
|
|
@@ -5233,11 +5248,11 @@ function CalendarPane({
|
|
|
5233
5248
|
),
|
|
5234
5249
|
"aria-label": "Previous month",
|
|
5235
5250
|
onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
|
|
5236
|
-
children: /* @__PURE__ */ (0,
|
|
5251
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon, { name: "chevron_left", size: 24 })
|
|
5237
5252
|
}
|
|
5238
|
-
) : /* @__PURE__ */ (0,
|
|
5239
|
-
/* @__PURE__ */ (0,
|
|
5240
|
-
/* @__PURE__ */ (0,
|
|
5253
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: (0, import_clsx38.default)(componentPadding, "mr-1") }),
|
|
5254
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
|
|
5255
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5241
5256
|
"button",
|
|
5242
5257
|
{
|
|
5243
5258
|
ref: (el) => {
|
|
@@ -5252,13 +5267,13 @@ function CalendarPane({
|
|
|
5252
5267
|
children: month.name
|
|
5253
5268
|
}
|
|
5254
5269
|
),
|
|
5255
|
-
/* @__PURE__ */ (0,
|
|
5270
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5256
5271
|
Menu,
|
|
5257
5272
|
{
|
|
5258
5273
|
show: monthMenuOpen,
|
|
5259
5274
|
positionTo: monthMenuRef,
|
|
5260
5275
|
setShow: () => setMonthMenuOpen(false),
|
|
5261
|
-
children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0,
|
|
5276
|
+
children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5262
5277
|
MenuOption,
|
|
5263
5278
|
{
|
|
5264
5279
|
selected: baseMonth.month === x + 1,
|
|
@@ -5272,7 +5287,7 @@ function CalendarPane({
|
|
|
5272
5287
|
))
|
|
5273
5288
|
}
|
|
5274
5289
|
),
|
|
5275
|
-
/* @__PURE__ */ (0,
|
|
5290
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5276
5291
|
"button",
|
|
5277
5292
|
{
|
|
5278
5293
|
ref: (el) => {
|
|
@@ -5287,13 +5302,13 @@ function CalendarPane({
|
|
|
5287
5302
|
children: month.year
|
|
5288
5303
|
}
|
|
5289
5304
|
),
|
|
5290
|
-
/* @__PURE__ */ (0,
|
|
5305
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5291
5306
|
Menu,
|
|
5292
5307
|
{
|
|
5293
5308
|
show: yearMenuOpen,
|
|
5294
5309
|
positionTo: yearMenuRef,
|
|
5295
5310
|
setShow: () => setYearMenuOpen(false),
|
|
5296
|
-
children: years.map((y) => /* @__PURE__ */ (0,
|
|
5311
|
+
children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5297
5312
|
MenuOption,
|
|
5298
5313
|
{
|
|
5299
5314
|
selected: baseMonth.year === y,
|
|
@@ -5308,7 +5323,7 @@ function CalendarPane({
|
|
|
5308
5323
|
}
|
|
5309
5324
|
)
|
|
5310
5325
|
] }),
|
|
5311
|
-
(mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0,
|
|
5326
|
+
(mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5312
5327
|
"button",
|
|
5313
5328
|
{
|
|
5314
5329
|
id: id ? `${id}-next-month-button` : void 0,
|
|
@@ -5320,13 +5335,13 @@ function CalendarPane({
|
|
|
5320
5335
|
),
|
|
5321
5336
|
"aria-label": "Next month",
|
|
5322
5337
|
onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
|
|
5323
|
-
children: /* @__PURE__ */ (0,
|
|
5338
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon, { name: "chevron_right", size: 24 })
|
|
5324
5339
|
}
|
|
5325
|
-
) : /* @__PURE__ */ (0,
|
|
5340
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: (0, import_clsx38.default)(componentPadding, "ml-1") })
|
|
5326
5341
|
]
|
|
5327
5342
|
}
|
|
5328
5343
|
),
|
|
5329
|
-
/* @__PURE__ */ (0,
|
|
5344
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: (0, import_clsx38.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5330
5345
|
"span",
|
|
5331
5346
|
{
|
|
5332
5347
|
className: (0, import_clsx38.default)(
|
|
@@ -5338,7 +5353,7 @@ function CalendarPane({
|
|
|
5338
5353
|
},
|
|
5339
5354
|
d
|
|
5340
5355
|
)) }),
|
|
5341
|
-
/* @__PURE__ */ (0,
|
|
5356
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: (0, import_clsx38.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
|
|
5342
5357
|
const day = i - emptyCells + 1;
|
|
5343
5358
|
const date = month.date.with({ day: 1 }).add({
|
|
5344
5359
|
days: i - emptyCells
|
|
@@ -5352,7 +5367,7 @@ function CalendarPane({
|
|
|
5352
5367
|
const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
|
|
5353
5368
|
const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
|
|
5354
5369
|
const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
|
|
5355
|
-
return /* @__PURE__ */ (0,
|
|
5370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5356
5371
|
DateCell,
|
|
5357
5372
|
{
|
|
5358
5373
|
id: id ? `${id}-date-${date.toString()}` : void 0,
|
|
@@ -5377,7 +5392,7 @@ function CalendarPane({
|
|
|
5377
5392
|
]
|
|
5378
5393
|
}
|
|
5379
5394
|
),
|
|
5380
|
-
mode === "double" && idx === 0 && /* @__PURE__ */ (0,
|
|
5395
|
+
mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5381
5396
|
"div",
|
|
5382
5397
|
{
|
|
5383
5398
|
className: (0, import_clsx38.default)(
|
|
@@ -5391,7 +5406,7 @@ function CalendarPane({
|
|
|
5391
5406
|
}
|
|
5392
5407
|
|
|
5393
5408
|
// src/components/DateRangeInput.tsx
|
|
5394
|
-
var
|
|
5409
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5395
5410
|
var DateRangeInput = (_a) => {
|
|
5396
5411
|
var _b = _a, {
|
|
5397
5412
|
id,
|
|
@@ -5811,8 +5826,8 @@ var DateRangeInput = (_a) => {
|
|
|
5811
5826
|
}
|
|
5812
5827
|
}
|
|
5813
5828
|
};
|
|
5814
|
-
return /* @__PURE__ */ (0,
|
|
5815
|
-
/* @__PURE__ */ (0,
|
|
5829
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
|
|
5830
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
5816
5831
|
InputBase,
|
|
5817
5832
|
__spreadProps(__spreadValues({
|
|
5818
5833
|
id,
|
|
@@ -5826,7 +5841,7 @@ var DateRangeInput = (_a) => {
|
|
|
5826
5841
|
placeholder: disableRange ? "MM/DD/YYYY" : placeholder,
|
|
5827
5842
|
disabled,
|
|
5828
5843
|
readOnly,
|
|
5829
|
-
after: /* @__PURE__ */ (0,
|
|
5844
|
+
after: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { name: "calendar_month" }),
|
|
5830
5845
|
onFocus: handleFocus,
|
|
5831
5846
|
onClick: handleClick,
|
|
5832
5847
|
onChange: handleInputChange,
|
|
@@ -5837,7 +5852,7 @@ var DateRangeInput = (_a) => {
|
|
|
5837
5852
|
})
|
|
5838
5853
|
),
|
|
5839
5854
|
visible && !readOnly && (0, import_react_dom4.createPortal)(
|
|
5840
|
-
/* @__PURE__ */ (0,
|
|
5855
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
5841
5856
|
"div",
|
|
5842
5857
|
{
|
|
5843
5858
|
ref: (el) => {
|
|
@@ -5849,7 +5864,7 @@ var DateRangeInput = (_a) => {
|
|
|
5849
5864
|
left: `${calendarPosition.left}px`,
|
|
5850
5865
|
minWidth: `${calendarPosition.width}px`
|
|
5851
5866
|
},
|
|
5852
|
-
children: /* @__PURE__ */ (0,
|
|
5867
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
5853
5868
|
CalendarRange,
|
|
5854
5869
|
{
|
|
5855
5870
|
id: id ? `${id}-calendar` : void 0,
|
|
@@ -895,12 +895,12 @@
|
|
|
895
895
|
.max-w-38 {
|
|
896
896
|
max-width: calc(var(--spacing) * 38);
|
|
897
897
|
}
|
|
898
|
+
.max-w-100 {
|
|
899
|
+
max-width: calc(var(--spacing) * 100);
|
|
900
|
+
}
|
|
898
901
|
.max-w-240 {
|
|
899
902
|
max-width: calc(var(--spacing) * 240);
|
|
900
903
|
}
|
|
901
|
-
.max-w-\[400px\] {
|
|
902
|
-
max-width: 400px;
|
|
903
|
-
}
|
|
904
904
|
.max-w-fit {
|
|
905
905
|
max-width: fit-content;
|
|
906
906
|
}
|
|
@@ -1919,6 +1919,9 @@
|
|
|
1919
1919
|
.p-6 {
|
|
1920
1920
|
padding: calc(var(--spacing) * 6);
|
|
1921
1921
|
}
|
|
1922
|
+
.p-\[calc\(var\(--spacing-desktop-component-padding\)_-_1px\)\] {
|
|
1923
|
+
padding: calc(var(--spacing-desktop-component-padding) - 1px);
|
|
1924
|
+
}
|
|
1922
1925
|
.p-\[calc\(var\(--spacing-mobile-component-padding\)_-_1px\)\] {
|
|
1923
1926
|
padding: calc(var(--spacing-mobile-component-padding) - 1px);
|
|
1924
1927
|
}
|
|
@@ -1997,6 +2000,9 @@
|
|
|
1997
2000
|
.py-\[15px\] {
|
|
1998
2001
|
padding-block: 15px;
|
|
1999
2002
|
}
|
|
2003
|
+
.py-\[calc\(var\(--spacing-mobile-component-gap\)_\+_8px\)\] {
|
|
2004
|
+
padding-block: calc(var(--spacing-mobile-component-gap) + 8px);
|
|
2005
|
+
}
|
|
2000
2006
|
.py-mobile-component-gap {
|
|
2001
2007
|
padding-block: var(--spacing-mobile-component-gap);
|
|
2002
2008
|
}
|
|
@@ -1,56 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarRange
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-LZH6DJEZ.js";
|
|
4
|
+
import "../chunk-BYRLHNBP.js";
|
|
5
|
+
import "../chunk-UKSV4UHI.js";
|
|
6
|
+
import "../chunk-IT4VFU6T.js";
|
|
7
7
|
import "../chunk-M7INAUAJ.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-DNUBM26R.js";
|
|
9
|
+
import "../chunk-I363QX6Y.js";
|
|
10
10
|
import "../chunk-MBZ55T2D.js";
|
|
11
11
|
import "../chunk-2IKT6IHB.js";
|
|
12
12
|
import "../chunk-YCDDBSVU.js";
|
|
13
13
|
import "../chunk-3X3Y4TMS.js";
|
|
14
14
|
import "../chunk-BQNPOGD5.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-KJNK7KEV.js";
|
|
16
|
+
import "../chunk-TVXBP5CW.js";
|
|
17
17
|
import "../chunk-5IFPG6TS.js";
|
|
18
|
+
import "../chunk-KW6V7O3H.js";
|
|
18
19
|
import "../chunk-AJ5M6MVX.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-RQLWSLVE.js";
|
|
22
|
-
import "../chunk-6LHBY2IH.js";
|
|
20
|
+
import "../chunk-JUFBGNWW.js";
|
|
21
|
+
import "../chunk-YNKN6RKF.js";
|
|
23
22
|
import "../chunk-VJVY6NPF.js";
|
|
23
|
+
import "../chunk-GTBGPBH6.js";
|
|
24
|
+
import "../chunk-AT4AWD6B.js";
|
|
24
25
|
import "../chunk-EWGHVZL5.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-7GHD74J3.js";
|
|
27
|
+
import "../chunk-7BVUTFZ5.js";
|
|
27
28
|
import "../chunk-ETAEB3TA.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-SBCFBHNG.js";
|
|
29
|
+
import "../chunk-HVNHTM3P.js";
|
|
30
|
+
import "../chunk-GRGDX7JC.js";
|
|
31
|
+
import "../chunk-KCUB3UWA.js";
|
|
32
32
|
import "../chunk-4RJKB7LC.js";
|
|
33
|
+
import "../chunk-G7KIKHER.js";
|
|
33
34
|
import "../chunk-AG43RS4Q.js";
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-IFHMGICR.js";
|
|
35
|
+
import "../chunk-ZQJMNPCF.js";
|
|
36
|
+
import "../chunk-FG7GNGE3.js";
|
|
37
|
+
import "../chunk-6TYWM26K.js";
|
|
38
38
|
import "../chunk-SBRRNFOP.js";
|
|
39
39
|
import "../chunk-Y2GK27RX.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-H2KC5XUY.js";
|
|
41
41
|
import "../chunk-QVWYTQKL.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-75USUR3I.js";
|
|
43
|
+
import "../chunk-WEAVZEE4.js";
|
|
44
|
+
import "../chunk-W53FKPJD.js";
|
|
45
|
+
import "../chunk-WX62IDZ5.js";
|
|
45
46
|
import "../chunk-22VBZWJG.js";
|
|
46
47
|
import "../chunk-NVOZAVEX.js";
|
|
47
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-SOZRGIQW.js";
|
|
48
49
|
import "../chunk-WVUIIBRR.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-RQRR4FEF.js";
|
|
50
51
|
import {
|
|
51
52
|
InputBase
|
|
52
|
-
} from "../chunk-
|
|
53
|
-
import "../chunk-
|
|
53
|
+
} from "../chunk-44TH3VC7.js";
|
|
54
|
+
import "../chunk-AL5QIRY3.js";
|
|
54
55
|
import "../chunk-MYKYZHEO.js";
|
|
55
56
|
import {
|
|
56
57
|
findDocumentRoot
|
|
@@ -64,16 +65,16 @@ import {
|
|
|
64
65
|
parseInputDate
|
|
65
66
|
} from "../chunk-TYTD4FLW.js";
|
|
66
67
|
import "../chunk-5UH6QUFB.js";
|
|
67
|
-
import "../chunk-
|
|
68
|
-
import "../chunk-
|
|
68
|
+
import "../chunk-UCJUC5AZ.js";
|
|
69
|
+
import "../chunk-ZQSD74IJ.js";
|
|
69
70
|
import "../chunk-KBJZUVLM.js";
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
71
|
+
import "../chunk-DORD2EBO.js";
|
|
72
|
+
import "../chunk-ZSETMD4A.js";
|
|
72
73
|
import {
|
|
73
74
|
Icon
|
|
74
75
|
} from "../chunk-NKUETCDA.js";
|
|
75
|
-
import "../chunk-
|
|
76
|
-
import "../chunk-
|
|
76
|
+
import "../chunk-LPY6PMAY.js";
|
|
77
|
+
import "../chunk-IXR65MOU.js";
|
|
77
78
|
import {
|
|
78
79
|
__objRest,
|
|
79
80
|
__spreadProps,
|
|
@@ -163,12 +163,18 @@ var componentPaddingXUsingComponentGap = (0, import_clsx.default)(
|
|
|
163
163
|
var componentPaddingYUsingComponentGap = (0, import_clsx.default)(
|
|
164
164
|
"py-mobile-component-gap desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
165
165
|
);
|
|
166
|
+
var componentPaddingYUsingComponentGap2xMobile = (0, import_clsx.default)(
|
|
167
|
+
"py-[calc(var(--spacing-mobile-component-gap)_+_8px)] desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
168
|
+
);
|
|
166
169
|
var componentPaddingMinusBorder = (0, import_clsx.default)(
|
|
167
170
|
"p-[calc(var(--spacing-mobile-component-padding)_-_1px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_1px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_1px)]"
|
|
168
171
|
);
|
|
169
172
|
var componentPaddingMinus2pxBorder = (0, import_clsx.default)(
|
|
170
173
|
"p-[calc(var(--spacing-mobile-component-padding)_-_2px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_2px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_2px)]"
|
|
171
174
|
);
|
|
175
|
+
var componentPaddingMinusBorderDesktop = (0, import_clsx.default)(
|
|
176
|
+
"p-[calc(var(--spacing-desktop-component-padding)_-_1px)]"
|
|
177
|
+
);
|
|
172
178
|
var layoutPaddding = (0, import_clsx.default)(
|
|
173
179
|
"p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding"
|
|
174
180
|
);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/EmptyCartIcon.tsx
|
|
21
|
+
var EmptyCartIcon_exports = {};
|
|
22
|
+
__export(EmptyCartIcon_exports, {
|
|
23
|
+
EmptyCartIcon: () => EmptyCartIcon
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(EmptyCartIcon_exports);
|
|
26
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
+
function EmptyCartIcon() {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
29
|
+
"svg",
|
|
30
|
+
{
|
|
31
|
+
width: "211",
|
|
32
|
+
height: "196",
|
|
33
|
+
viewBox: "0 0 211 196",
|
|
34
|
+
fill: "none",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
37
|
+
"path",
|
|
38
|
+
{
|
|
39
|
+
"fill-rule": "evenodd",
|
|
40
|
+
"clip-rule": "evenodd",
|
|
41
|
+
d: "M54.5305 76.3333H137.059L154.793 141.333L22.0305 141.333L54.5305 76.3333ZM3.60295 152.73C7.57878 159.165 14.4688 163 22.0305 163L160.697 163L167.381 187.516C168.67 192.228 172.95 195.5 177.835 195.5H199.502C205.493 195.5 210.335 190.647 210.335 184.667C210.335 178.687 205.493 173.833 199.502 173.833H186.112L155.79 62.6508C154.5 57.9383 150.221 54.6667 145.335 54.6667L47.8354 54.6667C43.7296 54.6667 39.9813 56.985 38.1396 60.6575L2.64963 131.648C-0.741211 138.419 -0.372879 146.295 3.60295 152.73ZM150.75 33C159.72 33 167 25.7308 167 16.75C167 7.76917 159.72 0.5 150.75 0.5C141.78 0.5 134.5 7.76917 134.5 16.75C134.5 25.7308 141.78 33 150.75 33ZM58.6666 16.75C58.6666 25.7308 51.3866 33 42.4166 33C33.4466 33 26.1666 25.7308 26.1666 16.75C26.1666 7.76917 33.4466 0.5 42.4166 0.5C51.3866 0.5 58.6666 7.76917 58.6666 16.75Z",
|
|
42
|
+
fill: "#6B6D6D"
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
49
|
+
0 && (module.exports = {
|
|
50
|
+
EmptyCartIcon
|
|
51
|
+
});
|
|
@@ -166,12 +166,18 @@ var componentPaddingXUsingComponentGap = (0, import_clsx.default)(
|
|
|
166
166
|
var componentPaddingYUsingComponentGap = (0, import_clsx.default)(
|
|
167
167
|
"py-mobile-component-gap desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
168
168
|
);
|
|
169
|
+
var componentPaddingYUsingComponentGap2xMobile = (0, import_clsx.default)(
|
|
170
|
+
"py-[calc(var(--spacing-mobile-component-gap)_+_8px)] desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
171
|
+
);
|
|
169
172
|
var componentPaddingMinusBorder = (0, import_clsx.default)(
|
|
170
173
|
"p-[calc(var(--spacing-mobile-component-padding)_-_1px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_1px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_1px)]"
|
|
171
174
|
);
|
|
172
175
|
var componentPaddingMinus2pxBorder = (0, import_clsx.default)(
|
|
173
176
|
"p-[calc(var(--spacing-mobile-component-padding)_-_2px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_2px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_2px)]"
|
|
174
177
|
);
|
|
178
|
+
var componentPaddingMinusBorderDesktop = (0, import_clsx.default)(
|
|
179
|
+
"p-[calc(var(--spacing-desktop-component-padding)_-_1px)]"
|
|
180
|
+
);
|
|
175
181
|
var layoutPaddding = (0, import_clsx.default)(
|
|
176
182
|
"p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding"
|
|
177
183
|
);
|
|
@@ -865,7 +871,8 @@ var InputBase = (_a) => {
|
|
|
865
871
|
secondaryIconColor,
|
|
866
872
|
fullWidth = true,
|
|
867
873
|
width,
|
|
868
|
-
wrapperRef
|
|
874
|
+
wrapperRef,
|
|
875
|
+
autocompletePadding = false
|
|
869
876
|
} = _b, props = __objRest(_b, [
|
|
870
877
|
"id",
|
|
871
878
|
"testid",
|
|
@@ -887,7 +894,8 @@ var InputBase = (_a) => {
|
|
|
887
894
|
"secondaryIconColor",
|
|
888
895
|
"fullWidth",
|
|
889
896
|
"width",
|
|
890
|
-
"wrapperRef"
|
|
897
|
+
"wrapperRef",
|
|
898
|
+
"autocompletePadding"
|
|
891
899
|
]);
|
|
892
900
|
const attributes = {
|
|
893
901
|
"data-error": error && !focus || null,
|
|
@@ -915,7 +923,8 @@ var InputBase = (_a) => {
|
|
|
915
923
|
componentGap,
|
|
916
924
|
baseTransition,
|
|
917
925
|
"outline-transparent outline-2 -outline-offset-2",
|
|
918
|
-
componentPaddingMinusBorder,
|
|
926
|
+
!autocompletePadding && componentPaddingMinusBorder,
|
|
927
|
+
autocompletePadding && componentPaddingMinusBorderDesktop,
|
|
919
928
|
!removeRoundness && "rounded-base",
|
|
920
929
|
!removeBorder && "border border-border-primary-normal",
|
|
921
930
|
"relative"
|
|
@@ -1260,7 +1269,8 @@ var Search = (_a) => {
|
|
|
1260
1269
|
renderMenu,
|
|
1261
1270
|
onClick,
|
|
1262
1271
|
wrapperClassName,
|
|
1263
|
-
removeRoundness
|
|
1272
|
+
removeRoundness,
|
|
1273
|
+
autocompletePadding = false
|
|
1264
1274
|
} = _b, props = __objRest(_b, [
|
|
1265
1275
|
"id",
|
|
1266
1276
|
"testid",
|
|
@@ -1271,7 +1281,8 @@ var Search = (_a) => {
|
|
|
1271
1281
|
"renderMenu",
|
|
1272
1282
|
"onClick",
|
|
1273
1283
|
"wrapperClassName",
|
|
1274
|
-
"removeRoundness"
|
|
1284
|
+
"removeRoundness",
|
|
1285
|
+
"autocompletePadding"
|
|
1275
1286
|
]);
|
|
1276
1287
|
const inputRef = (0, import_react2.useRef)(null);
|
|
1277
1288
|
const inputContainerRef = (0, import_react2.useRef)(null);
|
|
@@ -1299,6 +1310,7 @@ var Search = (_a) => {
|
|
|
1299
1310
|
ref: inputRef,
|
|
1300
1311
|
label,
|
|
1301
1312
|
wrapperClassName,
|
|
1313
|
+
autocompletePadding,
|
|
1302
1314
|
onClick: (e) => {
|
|
1303
1315
|
if (props.disabled || readOnly) {
|
|
1304
1316
|
return;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
OptionPill
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2F3R3WXW.js";
|
|
5
5
|
import {
|
|
6
6
|
Link
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-Z6HIIJK3.js";
|
|
8
8
|
import {
|
|
9
9
|
Checkbox
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-WEAVZEE4.js";
|
|
11
11
|
import {
|
|
12
12
|
Search
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-RQRR4FEF.js";
|
|
14
|
+
import "../chunk-44TH3VC7.js";
|
|
15
15
|
import {
|
|
16
16
|
Label
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-AL5QIRY3.js";
|
|
18
18
|
import "../chunk-5UH6QUFB.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-ZSETMD4A.js";
|
|
20
20
|
import {
|
|
21
21
|
Icon
|
|
22
22
|
} from "../chunk-NKUETCDA.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-LPY6PMAY.js";
|
|
24
24
|
import {
|
|
25
25
|
baseTransition,
|
|
26
26
|
componentGap,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
componentPaddingY,
|
|
29
29
|
layoutGroupGap,
|
|
30
30
|
layoutPaddingBottom
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-IXR65MOU.js";
|
|
32
32
|
import {
|
|
33
33
|
__objRest,
|
|
34
34
|
__spreadProps,
|