@lanaco/lnc-react-ui 4.0.35 → 4.0.37
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.cjs +5 -5
- package/dist/Accordion.js +11 -11
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +3 -3
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +2 -2
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +2 -2
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +3 -3
- package/dist/Badge.cjs +2 -2
- package/dist/Badge.js +3 -3
- package/dist/BannerSectionBasic.cjs +1 -1
- package/dist/BannerSectionBasic.js +1 -1
- package/dist/BannerSectionCarousel.cjs +2 -2
- package/dist/BannerSectionCarousel.js +63 -63
- package/dist/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +43 -39
- package/dist/BannerSectionSimple.cjs +1 -1
- package/dist/BannerSectionSimple.js +1 -1
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +2 -2
- package/dist/BannerSectionWithListImage.cjs +1 -1
- package/dist/BannerSectionWithListImage.js +1 -1
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +3 -3
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +3 -3
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +11 -108
- package/dist/BlogsSectionWithFilters.js +59 -437
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +2 -2
- package/dist/Breadcrumbs.cjs +3 -3
- package/dist/Breadcrumbs.js +12 -12
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +4 -4
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +3 -3
- package/dist/CalorieCalculatorSection.cjs +333 -0
- package/dist/CalorieCalculatorSection.js +851 -0
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +3 -3
- package/dist/Chip.cjs +2 -2
- package/dist/Chip.js +3 -3
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +4 -4
- package/dist/ConfirmationForm.cjs +2 -2
- package/dist/ConfirmationForm.js +3 -3
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +2 -2
- package/dist/{CustomStyles-BMY2-z7P.js → CustomStyles-BwnfUVvi.js} +8 -8
- package/dist/{CustomStyles-zroEcINq.cjs → CustomStyles-DUDHRSkh.cjs} +2 -2
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +1 -1
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +76 -80
- package/dist/DecimalInput.cjs +3 -3
- package/dist/DecimalInput.js +4 -4
- package/dist/DecimalInputV2.cjs +2 -2
- package/dist/DecimalInputV2.js +3 -3
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +4 -4
- package/dist/DetailsView.cjs +2 -2
- package/dist/DetailsView.js +3 -3
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +3 -3
- package/dist/DragAndDropFile.cjs +6 -6
- package/dist/DragAndDropFile.js +4 -4
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +3 -3
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +12 -12
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +5 -5
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +10 -10
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +5 -5
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +6 -6
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +3 -3
- package/dist/FieldOfInterestsMasonrySection.cjs +6 -6
- package/dist/FieldOfInterestsMasonrySection.js +43 -42
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +3 -3
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +3 -3
- package/dist/FieldOfInterestsWithTagsCardsSection.js +3 -3
- package/dist/FileInput.cjs +2 -2
- package/dist/FileInput.js +3 -3
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +2 -2
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +7 -7
- package/dist/FormView.cjs +2 -2
- package/dist/FormView.js +15 -15
- package/dist/GeneralWithTagsCardsSection.cjs +1 -1
- package/dist/GeneralWithTagsCardsSection.js +3 -3
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +2 -2
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +1 -1
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/Icon.cjs +2 -2
- package/dist/Icon.js +6 -6
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +3 -3
- package/dist/Kanban.cjs +7 -7
- package/dist/Kanban.js +37 -41
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +2 -2
- package/dist/{KanbanCard-BDyFaKYd.js → KanbanCard-BDRSqfVD.js} +2 -2
- package/dist/{KanbanCard-CofqdTrO.cjs → KanbanCard-CLOKZFYP.cjs} +1 -1
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +3 -3
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +2 -2
- package/dist/KanbanHeader.cjs +2 -2
- package/dist/KanbanHeader.js +2 -2
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +3 -3
- package/dist/Link.cjs +2 -2
- package/dist/Link.js +6 -6
- package/dist/LocationSearchSection.cjs +53 -0
- package/dist/LocationSearchSection.js +108 -0
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +3 -3
- package/dist/MenuItem.cjs +2 -2
- package/dist/MenuItem.js +3 -3
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +6 -6
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +3 -3
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +3 -3
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +9 -9
- package/dist/NestedMenuItem.cjs +2 -2
- package/dist/NestedMenuItem.js +8 -8
- package/dist/Notification.cjs +1 -1
- package/dist/Notification.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +3 -3
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +3 -3
- package/dist/NumberInput.cjs +2 -2
- package/dist/NumberInput.js +4 -4
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +3 -3
- package/dist/PageLayout.cjs +2 -2
- package/dist/PageLayout.js +2 -2
- package/dist/Pagination.cjs +2 -2
- package/dist/Pagination.js +2 -2
- package/dist/PasswordInput.cjs +2 -2
- package/dist/PasswordInput.js +4 -4
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +5 -5
- package/dist/PopoverDescription.cjs +1 -1
- package/dist/PopoverDescription.js +1 -1
- package/dist/PopoverHeading.cjs +1 -1
- package/dist/PopoverHeading.js +1 -1
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +3 -3
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +8 -8
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +2 -2
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +2 -2
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +3 -3
- package/dist/RangeSlider.cjs +2 -2
- package/dist/RangeSlider.js +3 -3
- package/dist/SalesCampaignsSection.cjs +423 -0
- package/dist/SalesCampaignsSection.js +967 -0
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +6 -6
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +3 -3
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +2 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +3 -3
- package/dist/SimpleCategoriesSection.cjs +9 -9
- package/dist/SimpleCategoriesSection.js +48 -44
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +3 -3
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +12 -12
- package/dist/Surface.cjs +2 -2
- package/dist/Surface.js +3 -3
- package/dist/SwipeableDrawer.cjs +2 -2
- package/dist/SwipeableDrawer.js +3 -3
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +11 -11
- package/dist/Table.cjs +7 -7
- package/dist/Table.js +4 -4
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +2 -2
- package/dist/Tabs.cjs +2 -2
- package/dist/Tabs.js +2 -2
- package/dist/TextAreaInput.cjs +12 -12
- package/dist/TextAreaInput.js +124 -112
- package/dist/TextInput.cjs +2 -2
- package/dist/TextInput.js +4 -4
- package/dist/ThemeProvider.cjs +10 -10
- package/dist/ThemeProvider.js +189 -187
- package/dist/TimeInput.cjs +2 -2
- package/dist/TimeInput.js +4 -4
- package/dist/Toggle.cjs +15 -15
- package/dist/Toggle.js +40 -50
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +3 -3
- package/dist/UploadedFile.cjs +2 -2
- package/dist/UploadedFile.js +16 -16
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +2 -2
- package/dist/{defineProperty-DHvxLH8G.cjs → defineProperty-CqVRDJI8.cjs} +1 -1
- package/dist/{defineProperty-B5pLF6px.js → defineProperty-DF3p0mVo.js} +5 -5
- package/dist/emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs +1 -0
- package/dist/emotion-element-f0de968e.browser.esm-CkCiQliQ.js +877 -0
- package/dist/{emotion-is-prop-valid.esm-CMrshNb7.cjs → emotion-is-prop-valid.esm-BNsx9k19.cjs} +1 -1
- package/dist/{emotion-is-prop-valid.esm-DkbeH1Xy.js → emotion-is-prop-valid.esm-CbWxtx4i.js} +1 -1
- package/dist/emotion-react.browser.esm-1R69UXoj.cjs +1 -0
- package/dist/emotion-react.browser.esm-C6iWxXPG.js +95 -0
- package/dist/{emotion-styled.browser.esm-BiK8DcgW.js → emotion-styled.browser.esm-CjCaF13H.js} +55 -53
- package/dist/emotion-styled.browser.esm-Cle7tAM9.cjs +1 -0
- package/dist/floating-ui.dom-CFbLeFcw.cjs +1 -0
- package/dist/floating-ui.dom-vNhdy5RI.js +947 -0
- package/dist/{floating-ui.react.esm-C4vrBVJU.cjs → floating-ui.react.esm-7Yt4LHw6.cjs} +1 -1
- package/dist/{floating-ui.react.esm-72DKnou_.js → floating-ui.react.esm-umB-tMXa.js} +3 -3
- package/dist/{index--Kmch3aI.js → index-64mXPFBC.js} +6724 -6724
- package/dist/{index-CvebWhtp.js → index-BlxaTV-D.js} +1 -1
- package/dist/{index-CkPex_K5.js → index-CHkb_Sj6.js} +2 -2
- package/dist/index-CT6_7UFb.js +350 -0
- package/dist/index-Cb_AeN9A.cjs +4 -0
- package/dist/{index-CNBqQrtK.js → index-CkWvbrVT.js} +1 -1
- package/dist/{index-BUChtubz.js → index-D-c5IxDk.js} +1 -1
- package/dist/{index-DKztZfzw.js → index-D6g5ZqyJ.js} +2 -2
- package/dist/{index-BP5r5zGN.cjs → index-DZoWlChs.cjs} +1 -1
- package/dist/{index-B67WqHGh.cjs → index-Dit169OA.cjs} +1 -1
- package/dist/{index-BmobrEkT.cjs → index-Dj5wZCVs.cjs} +1 -1
- package/dist/{index-CTJZaJ_S.js → index-DxdBg_r_.js} +1 -1
- package/dist/index-EeoArxOx.cjs +174 -0
- package/dist/index-Q_i-aqsF.cjs +95 -0
- package/dist/{index-C5vAqIS6.cjs → index-vXmvgZ2Y.cjs} +1 -1
- package/dist/index-wy-PXQR9.js +47 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +96 -92
- package/dist/{motion-Oud-wpUz.cjs → motion-B_VPZaJq.cjs} +1 -1
- package/dist/{motion-ecIGZGwI.js → motion-Ckekul_K.js} +1 -1
- package/dist/objectWithoutPropertiesLoose-BLga_MQA.cjs +1 -0
- package/dist/{objectWithoutPropertiesLoose-DwEN6RBQ.js → objectWithoutPropertiesLoose-DhwSMsjf.js} +1 -1
- package/dist/{react-toastify.esm-CkXGwKXL.js → react-toastify.esm--2awuizG.js} +1 -1
- package/dist/{react-toastify.esm-Dqcb4SQT.cjs → react-toastify.esm-Dq1k28O7.cjs} +1 -1
- package/dist/{style-BGQ1B_dp.js → style-6tSw9aqK.js} +1 -1
- package/dist/{style-BEUISPP7.cjs → style-BR3tIhP1.cjs} +1 -1
- package/dist/usePopover.cjs +1 -1
- package/dist/usePopover.js +6 -6
- package/dist/{utils-jiuifwtJ.js → utils-DtRLzzTZ.js} +224 -73
- package/dist/utils-NZLCh-J5.cjs +51 -0
- package/package.json +5 -2
- package/vite.config.js +12 -1
- package/dist/emotion-element-5486c51c.browser.esm-Bb4VkP8U.js +0 -886
- package/dist/emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs +0 -1
- package/dist/emotion-react.browser.esm-CN-s34fZ.js +0 -94
- package/dist/emotion-react.browser.esm-D7h2t2Bz.cjs +0 -1
- package/dist/emotion-styled.browser.esm-Cbp_XsK4.cjs +0 -1
- package/dist/floating-ui.dom-1F2mTXOe.cjs +0 -1
- package/dist/floating-ui.dom-BdUovkEr.js +0 -938
- package/dist/index-Ct1N7fF4.cjs +0 -174
- package/dist/objectWithoutPropertiesLoose-Bz3hwpmU.cjs +0 -1
- package/dist/utils-scuIeOqU.cjs +0 -51
package/dist/Kanban.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as xe, jsxs as Xn } from "react/jsx-runtime";
|
|
2
|
-
import ae, { useLayoutEffect as vi, useEffect as J, useRef as V, useMemo as Q, useCallback as Ne, useState as be, createContext as Cn, memo as Oo, useReducer as bi, useContext as Wt,
|
|
3
|
-
import { r as on } from "./index
|
|
2
|
+
import ae, { useLayoutEffect as vi, useEffect as J, useRef as V, useMemo as Q, useCallback as Ne, useState as be, createContext as Cn, memo as Oo, useReducer as bi, useContext as Wt, forwardRef as er, cloneElement as yi } from "react";
|
|
3
|
+
import { r as on } from "./index-64mXPFBC.js";
|
|
4
4
|
import { P as te } from "./index-S5Cd7WrG.js";
|
|
5
|
-
import {
|
|
5
|
+
import { b as sn, r as nn, x as rn } from "./utils-DtRLzzTZ.js";
|
|
6
6
|
import { c as lo } from "./index-Bq3leL2e.js";
|
|
7
|
-
import { n as ln } from "./emotion-styled.browser.esm-
|
|
8
|
-
import { u as Vr } from "./emotion-element-
|
|
9
|
-
import { H as mi, K as wi } from "./KanbanCard-
|
|
7
|
+
import { n as ln } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
8
|
+
import { u as Vr } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
|
+
import { H as mi, K as wi } from "./KanbanCard-BDRSqfVD.js";
|
|
10
10
|
import { c as Yt, g as Eo } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
11
11
|
import xi from "./KanbanHeader.js";
|
|
12
12
|
import { u as Ci } from "./useEffectOnce-guOKBPuL.js";
|
|
@@ -3351,11 +3351,9 @@ const fs = [
|
|
|
3351
3351
|
}
|
|
3352
3352
|
});
|
|
3353
3353
|
const u = Hi({
|
|
3354
|
-
active: t,
|
|
3355
3354
|
collisionRect: a,
|
|
3356
3355
|
droppableRects: n,
|
|
3357
|
-
droppableContainers: l
|
|
3358
|
-
pointerCoordinates: null
|
|
3356
|
+
droppableContainers: l
|
|
3359
3357
|
}), g = no(u, "id");
|
|
3360
3358
|
if (g != null) {
|
|
3361
3359
|
const d = o.get(g), v = d == null ? void 0 : d.node.current, p = d == null ? void 0 : d.rect.current;
|
|
@@ -3372,7 +3370,7 @@ const fs = [
|
|
|
3372
3370
|
};
|
|
3373
3371
|
}
|
|
3374
3372
|
}
|
|
3375
|
-
}, hs = "_Wrapper_37o6x_33", ps = "_fadeIn_37o6x_41", vs = "_dragOverlay_37o6x_44", bs = "_Item_37o6x_53", ys = "_withHandle_37o6x_79", ms = "_dragging_37o6x_83", ws = "_disabled_37o6x_91", xs = "
|
|
3373
|
+
}, hs = "_Wrapper_37o6x_33", ps = "_fadeIn_37o6x_41", vs = "_dragOverlay_37o6x_44", bs = "_Item_37o6x_53", ys = "_withHandle_37o6x_79", ms = "_dragging_37o6x_83", ws = "_disabled_37o6x_91", xs = "_color_37o6x_110", Cs = "_Actions_37o6x_129", wt = {
|
|
3376
3374
|
Wrapper: hs,
|
|
3377
3375
|
fadeIn: ps,
|
|
3378
3376
|
dragOverlay: vs,
|
|
@@ -3380,11 +3378,9 @@ const fs = [
|
|
|
3380
3378
|
withHandle: ys,
|
|
3381
3379
|
dragging: ms,
|
|
3382
3380
|
disabled: ws,
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
Actions: Ss
|
|
3387
|
-
}, Ds = ln.div`
|
|
3381
|
+
color: xs,
|
|
3382
|
+
Actions: Cs
|
|
3383
|
+
}, _s = ln.div`
|
|
3388
3384
|
font-family: ${(e) => {
|
|
3389
3385
|
var t, n;
|
|
3390
3386
|
return (n = (t = e.theme) == null ? void 0 : t.typography) == null ? void 0 : n.fontFamily;
|
|
@@ -3471,7 +3467,7 @@ const fs = [
|
|
|
3471
3467
|
},
|
|
3472
3468
|
ref: N,
|
|
3473
3469
|
children: /* @__PURE__ */ Xn(
|
|
3474
|
-
|
|
3470
|
+
_s,
|
|
3475
3471
|
{
|
|
3476
3472
|
theme: M,
|
|
3477
3473
|
color: t,
|
|
@@ -3498,7 +3494,7 @@ const fs = [
|
|
|
3498
3494
|
);
|
|
3499
3495
|
}
|
|
3500
3496
|
)
|
|
3501
|
-
),
|
|
3497
|
+
), Ss = ln.div`
|
|
3502
3498
|
display: flex;
|
|
3503
3499
|
flex: 1;
|
|
3504
3500
|
flex-direction: column;
|
|
@@ -3546,7 +3542,7 @@ const fs = [
|
|
|
3546
3542
|
"enabled",
|
|
3547
3543
|
"background"
|
|
3548
3544
|
)};
|
|
3549
|
-
`,
|
|
3545
|
+
`, Ds = ln.div`
|
|
3550
3546
|
display: flex;
|
|
3551
3547
|
padding: 5px 20px;
|
|
3552
3548
|
padding-left: 8px;
|
|
@@ -3573,7 +3569,7 @@ const fs = [
|
|
|
3573
3569
|
&:hover .Actions > * {
|
|
3574
3570
|
opacity: 1 !important;
|
|
3575
3571
|
}
|
|
3576
|
-
`,
|
|
3572
|
+
`, As = ln.div`
|
|
3577
3573
|
display: flex;
|
|
3578
3574
|
|
|
3579
3575
|
& > *:first-of-type:not(:last-of-type) {
|
|
@@ -3606,7 +3602,7 @@ const fs = [
|
|
|
3606
3602
|
...E
|
|
3607
3603
|
} = e, P = Vr();
|
|
3608
3604
|
return /* @__PURE__ */ Xn(
|
|
3609
|
-
|
|
3605
|
+
Ss,
|
|
3610
3606
|
{
|
|
3611
3607
|
...E,
|
|
3612
3608
|
ref: t,
|
|
@@ -3625,8 +3621,8 @@ const fs = [
|
|
|
3625
3621
|
color: O,
|
|
3626
3622
|
theme: P,
|
|
3627
3623
|
children: [
|
|
3628
|
-
p ? /* @__PURE__ */ Xn(
|
|
3629
|
-
/* @__PURE__ */ xe(
|
|
3624
|
+
p ? /* @__PURE__ */ Xn(Ds, { theme: P, color: O, children: [
|
|
3625
|
+
/* @__PURE__ */ xe(As, { className: "Actions", children: /* @__PURE__ */ xe(mi, { ...l }) }),
|
|
3630
3626
|
p
|
|
3631
3627
|
] }) : null,
|
|
3632
3628
|
/* @__PURE__ */ xe("ul", { children: n }),
|
|
@@ -4080,8 +4076,8 @@ Zn.exports;
|
|
|
4080
4076
|
}
|
|
4081
4077
|
e.exports = In;
|
|
4082
4078
|
})(Zn, Zn.exports);
|
|
4083
|
-
var
|
|
4084
|
-
const
|
|
4079
|
+
var Rs = Zn.exports;
|
|
4080
|
+
const Os = /* @__PURE__ */ Eo(Rs);
|
|
4085
4081
|
var Qn = { exports: {} };
|
|
4086
4082
|
Qn.exports;
|
|
4087
4083
|
(function(e, t) {
|
|
@@ -4691,14 +4687,14 @@ Qn.exports;
|
|
|
4691
4687
|
}
|
|
4692
4688
|
e.exports = me;
|
|
4693
4689
|
})(Qn, Qn.exports);
|
|
4694
|
-
var
|
|
4695
|
-
const Vt = /* @__PURE__ */ Eo(
|
|
4690
|
+
var Es = Qn.exports;
|
|
4691
|
+
const Vt = /* @__PURE__ */ Eo(Es), Ts = ln.div``, Is = ln.div`
|
|
4696
4692
|
box-sizing: border-box;
|
|
4697
4693
|
display: flex;
|
|
4698
4694
|
flex-direction: ${(e) => e.verticalDisplay ? "column" : "row"};
|
|
4699
4695
|
${(e) => e.horizontalDisplay == !1 && "flex-wrap: wrap;"}
|
|
4700
4696
|
overflow: auto;
|
|
4701
|
-
`,
|
|
4697
|
+
`, Ns = (e) => ri({ ...e, wasDragging: !0 }), Ms = {
|
|
4702
4698
|
sideEffects: Qo({
|
|
4703
4699
|
styles: {
|
|
4704
4700
|
active: {
|
|
@@ -4706,7 +4702,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
4706
4702
|
}
|
|
4707
4703
|
}
|
|
4708
4704
|
})
|
|
4709
|
-
},
|
|
4705
|
+
}, Ps = () => {
|
|
4710
4706
|
const [e, t] = be(!1);
|
|
4711
4707
|
return J(() => {
|
|
4712
4708
|
const n = setTimeout(() => t(!0), 500);
|
|
@@ -4721,7 +4717,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
4721
4717
|
"enabled",
|
|
4722
4718
|
"highlight"
|
|
4723
4719
|
);
|
|
4724
|
-
},
|
|
4720
|
+
}, Ls = ({
|
|
4725
4721
|
children: e,
|
|
4726
4722
|
containerId: t,
|
|
4727
4723
|
columns: n = 1,
|
|
@@ -4750,7 +4746,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
4750
4746
|
type: "container",
|
|
4751
4747
|
children: c
|
|
4752
4748
|
},
|
|
4753
|
-
animateLayoutChanges:
|
|
4749
|
+
animateLayoutChanges: Ns
|
|
4754
4750
|
}), O = m ? a === m.id && ((E = p == null ? void 0 : p.data.current) == null ? void 0 : E.type) !== "container" || c.includes(m.id) : !1;
|
|
4755
4751
|
return /* @__PURE__ */ xe(
|
|
4756
4752
|
ai,
|
|
@@ -4775,7 +4771,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
4775
4771
|
children: e
|
|
4776
4772
|
}
|
|
4777
4773
|
);
|
|
4778
|
-
},
|
|
4774
|
+
}, $s = ({
|
|
4779
4775
|
disabled: e,
|
|
4780
4776
|
id: t,
|
|
4781
4777
|
item: n,
|
|
@@ -4803,7 +4799,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
4803
4799
|
attributes: N
|
|
4804
4800
|
} = ii({
|
|
4805
4801
|
id: t
|
|
4806
|
-
}), M =
|
|
4802
|
+
}), M = Ps(), $ = S && !M;
|
|
4807
4803
|
return /* @__PURE__ */ xe(
|
|
4808
4804
|
qr,
|
|
4809
4805
|
{
|
|
@@ -4842,7 +4838,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
4842
4838
|
})
|
|
4843
4839
|
}
|
|
4844
4840
|
);
|
|
4845
|
-
},
|
|
4841
|
+
}, Bs = er((e, t) => {
|
|
4846
4842
|
const {
|
|
4847
4843
|
horizontalDisplay: n = !1,
|
|
4848
4844
|
verticalDisplay: o = !1,
|
|
@@ -4969,7 +4965,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
4969
4965
|
});
|
|
4970
4966
|
}, F = (y) => {
|
|
4971
4967
|
const { active: x, over: j } = y;
|
|
4972
|
-
var Z = !1, U =
|
|
4968
|
+
var Z = !1, U = Os(G);
|
|
4973
4969
|
x.id in G && (j != null && j.id) && Re((fe) => {
|
|
4974
4970
|
Z = !0;
|
|
4975
4971
|
const ge = fe.indexOf(x.id), He = fe.indexOf(j.id);
|
|
@@ -5156,7 +5152,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
5156
5152
|
y,
|
|
5157
5153
|
!0
|
|
5158
5154
|
) || /* @__PURE__ */ xe(wi, { color: H, size: se, ...j, children: y });
|
|
5159
|
-
return /* @__PURE__ */ xe(
|
|
5155
|
+
return /* @__PURE__ */ xe(Ts, { ref: t, ...Ae, children: /* @__PURE__ */ Xn(
|
|
5160
5156
|
Pa,
|
|
5161
5157
|
{
|
|
5162
5158
|
measuring: {
|
|
@@ -5174,7 +5170,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
5174
5170
|
onDragEnd: F,
|
|
5175
5171
|
children: [
|
|
5176
5172
|
/* @__PURE__ */ xe(
|
|
5177
|
-
|
|
5173
|
+
Is,
|
|
5178
5174
|
{
|
|
5179
5175
|
horizontalDisplay: n,
|
|
5180
5176
|
verticalDisplay: o,
|
|
@@ -5184,7 +5180,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
5184
5180
|
items: [...ke],
|
|
5185
5181
|
strategy: o ? Do : ns,
|
|
5186
5182
|
children: ke.map((y) => /* @__PURE__ */ xe(
|
|
5187
|
-
|
|
5183
|
+
Ls,
|
|
5188
5184
|
{
|
|
5189
5185
|
id: y,
|
|
5190
5186
|
label: w ? void 0 : _t(y),
|
|
@@ -5198,7 +5194,7 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
5198
5194
|
maxContainerHeight: I,
|
|
5199
5195
|
...E,
|
|
5200
5196
|
children: /* @__PURE__ */ xe(Ao, { items: G[y], strategy: S, children: G[y].map((x, j) => /* @__PURE__ */ xe(
|
|
5201
|
-
|
|
5197
|
+
$s,
|
|
5202
5198
|
{
|
|
5203
5199
|
disabled: Je || (x == null ? void 0 : x.disabled),
|
|
5204
5200
|
id: x.id,
|
|
@@ -5223,14 +5219,14 @@ const Vt = /* @__PURE__ */ Eo(Is), Ns = ln.div``, Ms = ln.div`
|
|
|
5223
5219
|
}
|
|
5224
5220
|
),
|
|
5225
5221
|
on.createPortal(
|
|
5226
|
-
/* @__PURE__ */ xe(Za, { adjustScale: a, dropAnimation:
|
|
5222
|
+
/* @__PURE__ */ xe(Za, { adjustScale: a, dropAnimation: Ms, children: B ? ke.includes(B) ? Fe(B) : tt(B) : null }),
|
|
5227
5223
|
document.body
|
|
5228
5224
|
)
|
|
5229
5225
|
]
|
|
5230
5226
|
}
|
|
5231
5227
|
) });
|
|
5232
5228
|
});
|
|
5233
|
-
|
|
5229
|
+
Bs.propTypes = {
|
|
5234
5230
|
horizontalDisplay: te.bool,
|
|
5235
5231
|
verticalDisplay: te.bool,
|
|
5236
5232
|
adjustScale: te.bool,
|
|
@@ -5288,5 +5284,5 @@ Fs.propTypes = {
|
|
|
5288
5284
|
size: te.oneOf(["small", "medium", "large"])
|
|
5289
5285
|
};
|
|
5290
5286
|
export {
|
|
5291
|
-
|
|
5287
|
+
Bs as default
|
|
5292
5288
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),w=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-NZLCh-J5.cjs"),A=require("./ThemeProvider.cjs"),j=f.newStyled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
border-radius: 8px;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as _, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as w } from "react";
|
|
3
3
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { n as C } from "./emotion-styled.browser.esm-
|
|
4
|
+
import { n as C } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
5
5
|
import A from "./DropdownMenu.js";
|
|
6
6
|
import N from "./DropdownItem.js";
|
|
7
7
|
import s from "./Button.js";
|
|
8
|
-
import {
|
|
8
|
+
import { b as m } from "./utils-DtRLzzTZ.js";
|
|
9
9
|
import { useTheme as O } from "./ThemeProvider.js";
|
|
10
10
|
const I = C.div`
|
|
11
11
|
display: flex;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as z } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d, memo as T } from "react";
|
|
3
|
-
import { n as m } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as m } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
4
4
|
import { P as r } from "./index-S5Cd7WrG.js";
|
|
5
5
|
import C from "./Icon.js";
|
|
6
6
|
import P from "./DropdownMenu.js";
|
|
7
7
|
import K from "./DropdownItem.js";
|
|
8
8
|
import { c as O } from "./index-Bq3leL2e.js";
|
|
9
|
-
import { u as $ } from "./emotion-element-
|
|
9
|
+
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
10
10
|
const j = "_Action_bw0a9_5", B = {
|
|
11
11
|
Action: j
|
|
12
12
|
}, D = d(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),p=require("react"),m=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),p=require("react"),m=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),e=require("./index-BPVoEhTF.cjs"),N=require("./Icon.cjs"),k=require("./DropdownMenu.cjs"),q=require("./DropdownItem.cjs"),z=require("./index-gY9e_8LL.cjs"),C=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),R="_Action_bw0a9_5",$={Action:R},K=p.forwardRef(({active:r,className:n,cursor:a,style:t,...l},i)=>s.jsx("button",{ref:i,...l,className:z.classNames($.Action,n),tabIndex:0,style:{...t,cursor:a,"--fill":r==null?void 0:r.fill,"--background":r==null?void 0:r.background}})),u=p.forwardRef((r,n)=>s.jsx(K,{ref:n,cursor:"grab","data-cypress":"draggable-handle",...r,children:s.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:s.jsx("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})),O=m.newStyled.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
width: 100%;
|
|
4
4
|
padding: ${r=>`18px 20px 18px ${r.handle==!0?"10px":"20px"}`};
|
package/dist/KanbanCard.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");require("react");require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("react");require("./emotion-styled.browser.esm-Cle7tAM9.cjs");require("./index-BPVoEhTF.cjs");require("./Icon.cjs");require("./DropdownMenu.cjs");require("./DropdownItem.cjs");const r=require("./KanbanCard-CLOKZFYP.cjs");require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");module.exports=r.KanbanCard;
|
package/dist/KanbanCard.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "./emotion-styled.browser.esm-
|
|
3
|
+
import "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
4
4
|
import "./index-S5Cd7WrG.js";
|
|
5
5
|
import "./Icon.js";
|
|
6
6
|
import "./DropdownMenu.js";
|
|
7
7
|
import "./DropdownItem.js";
|
|
8
|
-
import { K as l } from "./KanbanCard-
|
|
9
|
-
import "./emotion-element-
|
|
8
|
+
import { K as l } from "./KanbanCard-BDRSqfVD.js";
|
|
9
|
+
import "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
10
10
|
export {
|
|
11
11
|
l as default
|
|
12
12
|
};
|
package/dist/KanbanFooter.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),i=require("react"),_=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),i=require("react"),_=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),e=require("./index-BPVoEhTF.cjs"),d=require("./IconButton.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),h=_.newStyled.div`
|
|
2
2
|
font-family: ${p=>{var o,r;return(r=(o=p.theme)==null?void 0:o.typography)==null?void 0:r.fontFamily}};
|
|
3
3
|
padding: 5px 8px;
|
|
4
4
|
margin-top: auto;
|
package/dist/KanbanFooter.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as w, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { memo as T, forwardRef as x } from "react";
|
|
3
|
-
import { n as N } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as N } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
4
4
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
5
5
|
import d from "./IconButton.js";
|
|
6
|
-
import { u as _ } from "./emotion-element-
|
|
6
|
+
import { u as _ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const g = N.div`
|
|
8
8
|
font-family: ${(n) => {
|
|
9
9
|
var e, t;
|
package/dist/KanbanHeader.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),c=require("react"),w=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),e=require("./index-BPVoEhTF.cjs"),A=require("./DropdownMenu.cjs"),q=require("./DropdownItem.cjs"),x=require("./Icon.cjs"),N=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),j=w.newStyled.div`
|
|
2
2
|
font-family: ${n=>{var i,o;return(o=(i=n.theme)==null?void 0:i.typography)==null?void 0:o.fontFamily}};
|
|
3
3
|
position: relative;
|
|
4
4
|
width: 100%;
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
& > span {
|
|
13
13
|
${n=>n.clickable&&"cursor: pointer;"}
|
|
14
14
|
}
|
|
15
|
-
`,t=
|
|
15
|
+
`,t=c.memo(c.forwardRef(({__TYPE__:n="KANBAN_HEADER",id:i,item:o,column:p,actionsMenu:m=!1,actions:l=[],onDetails:a=()=>{},color:u="primary",size:y="small",className:d="",style:T={},children:f,..._},P)=>{const b=N.useTheme();return s.jsxs(j,{ref:P,theme:b,className:d,style:T,clickable:!!a,..._,children:[s.jsx("span",{onClick:r=>a(r,o,p),children:f}),m&&s.jsx(A,{className:"column-action-lnc",horizontalAlignment:"right",verticalAlignment:"bottom",color:u,size:y,control:s.jsx(x,{color:"neutral",className:"column-action-lnc",icon:"ellipsis-v"}),children:l==null?void 0:l.map((r,g)=>{if((r==null?void 0:r.show)!=!1)return s.jsx(q,{icon:r.icon,disabled:r.enable==!1,onClick:h=>{r.onAction(h,o,p)},children:r.name},g)})})]})}));t.propTypes={__TYPE__:e.PropTypes.string,id:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),actionsMenu:e.PropTypes.bool,actions:e.PropTypes.array,onDetails:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};t.displayName="KANBAN_HEADER";module.exports=t;
|
package/dist/KanbanHeader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as N, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { memo as w, forwardRef as E } from "react";
|
|
3
|
-
import { n as T } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { n as T } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
4
4
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
5
5
|
import k from "./DropdownMenu.js";
|
|
6
6
|
import v from "./DropdownItem.js";
|
|
7
7
|
import D from "./Icon.js";
|
|
8
|
-
import { u as H } from "./emotion-element-
|
|
8
|
+
import { u as H } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const P = T.div`
|
|
10
10
|
font-family: ${(n) => {
|
|
11
11
|
var i, o;
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BPVoEhTF.cjs"),X=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BPVoEhTF.cjs"),X=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-NZLCh-J5.cjs"),$=require("./Kanban.cjs"),k=require("./KanbanCard-CLOKZFYP.cjs"),ee=require("./KanbanHeader.cjs"),oe=require("./KanbanFooter.cjs"),ne=X.newStyled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|
package/dist/KanbanView.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as $ } from "react";
|
|
3
3
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { n as k } from "./emotion-styled.browser.esm-
|
|
4
|
+
import { n as k } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
5
5
|
import P from "./KanbanActionsToolbar.js";
|
|
6
|
-
import { r as s, i as d } from "./utils-
|
|
6
|
+
import { r as s, i as d } from "./utils-DtRLzzTZ.js";
|
|
7
7
|
import ee from "./Kanban.js";
|
|
8
|
-
import { K as oe } from "./KanbanCard-
|
|
8
|
+
import { K as oe } from "./KanbanCard-BDRSqfVD.js";
|
|
9
9
|
import ne from "./KanbanHeader.js";
|
|
10
10
|
import ae from "./KanbanFooter.js";
|
|
11
11
|
const te = k.div`
|
package/dist/Link.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const d=require("react/jsx-runtime"),y=require("react"),t=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),o=require("./utils-NZLCh-J5.cjs"),h=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),b=g.newStyled.a`
|
|
2
2
|
${e=>o.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
|
|
3
3
|
color: ${e=>o.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
|
|
4
4
|
text-decoration: none;
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
&:visited {
|
|
13
13
|
color: ${e=>o.getColorRgbaValue(e.theme,"Link",e.color,"visited","text")};
|
|
14
14
|
}
|
|
15
|
-
`,r=
|
|
15
|
+
`,r=y.forwardRef((e,s)=>{const{className:n="",style:l={},color:i="primary",size:c="small",children:a,...m}=e,u={theme:h.useTheme(),size:c,color:i,className:"lnc-ui-link "+n,style:l};return d.jsx(b,{ref:s,...u,...m,children:a})});r.propTypes={className:t.PropTypes.string,style:t.PropTypes.object,color:t.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:t.PropTypes.oneOf(["small","medium","large"])};module.exports=r;
|
package/dist/Link.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { n as f } from "./emotion-styled.browser.esm-
|
|
5
|
-
import {
|
|
6
|
-
import { u
|
|
7
|
-
const
|
|
4
|
+
import { n as f } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
5
|
+
import { c as y, b as t } from "./utils-DtRLzzTZ.js";
|
|
6
|
+
import { u } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
|
+
const g = f.a`
|
|
8
8
|
${(e) => y(
|
|
9
9
|
e.theme,
|
|
10
10
|
"Breadcrumbs",
|
|
@@ -33,13 +33,13 @@ const u = f.a`
|
|
|
33
33
|
children: i,
|
|
34
34
|
...l
|
|
35
35
|
} = e, c = {
|
|
36
|
-
theme:
|
|
36
|
+
theme: u(),
|
|
37
37
|
size: m,
|
|
38
38
|
color: n,
|
|
39
39
|
className: "lnc-ui-link " + a,
|
|
40
40
|
style: s
|
|
41
41
|
};
|
|
42
|
-
return /* @__PURE__ */ d(
|
|
42
|
+
return /* @__PURE__ */ d(g, { ref: r, ...c, ...l, children: i });
|
|
43
43
|
});
|
|
44
44
|
p.propTypes = {
|
|
45
45
|
//---------------------------------------------------------------
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),o=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),d=require("./consts-CtNoHdBj.cjs"),f=require("./index-Q_i-aqsF.cjs"),v=o.newStyled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
padding: 1.25rem;
|
|
5
|
+
gap: 1.25rem;
|
|
6
|
+
|
|
7
|
+
& .wrapper-title {
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
font-size: 1rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
15
|
+
`,j=o.newStyled.div`
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-template-columns: repeat(4, 1fr);
|
|
18
|
+
gap: 1.5rem;
|
|
19
|
+
|
|
20
|
+
@media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
|
|
21
|
+
grid-template-columns: repeat(2, 1fr);
|
|
22
|
+
gap: 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
`,w=o.newStyled.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: 0.75rem;
|
|
28
|
+
font-weight: 500;
|
|
29
|
+
font-size: 0.875rem;
|
|
30
|
+
|
|
31
|
+
& .group-items {
|
|
32
|
+
padding: 0 0.75rem;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
gap: 0.5rem;
|
|
36
|
+
font-size: 0.75rem;
|
|
37
|
+
font-weight: 400;
|
|
38
|
+
|
|
39
|
+
& .count-txt {
|
|
40
|
+
color: var(--gray-600, #676e79);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
& .region,
|
|
45
|
+
.city {
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
transition: var(--transition);
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
color: var(--primary-500, #f59e0b);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
`,S=l.forwardRef((c,m)=>{const{title:p,items:t,options:i,onSelectRegion:g=()=>{},onSelectCity:u=()=>{}}=c;return r.jsxs(v,{ref:m,children:[r.jsx("div",{className:"wrapper-title",children:p}),(i==null?void 0:i.length)>0&&r.jsx(f.SelectBar,{items:i,onRemove:e=>{},onSelect:e=>{},labelKey:"name",valueKey:"code",noMargin:!0}),r.jsx(j,{children:t==null?void 0:t.map((e,s)=>{var a;return r.jsxs(w,{children:[r.jsx("div",{className:"region",onClick:()=>g(e==null?void 0:e.code),children:e==null?void 0:e.name}),r.jsx("div",{className:"group-items",children:(a=e==null?void 0:e.cities)==null?void 0:a.map((n,h)=>r.jsx(l.Fragment,{children:r.jsxs("div",{className:"city",onClick:()=>u(n==null?void 0:n.code),children:[r.jsx("span",{children:n==null?void 0:n.name}),r.jsxs("span",{className:"count-txt",children:["(",n==null?void 0:n.count,")"]})]})},s+h))})]},s)})})]})});module.exports=S;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { jsxs as a, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as u, Fragment as v } from "react";
|
|
3
|
+
import { n as t } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
4
|
+
import { M as d } from "./consts-C1uHV4xc.js";
|
|
5
|
+
import { S as w } from "./index-CT6_7UFb.js";
|
|
6
|
+
const S = t.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
padding: 1.25rem;
|
|
10
|
+
gap: 1.25rem;
|
|
11
|
+
|
|
12
|
+
& .wrapper-title {
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
font-size: 1rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media (max-width: ${d + "px"}) {
|
|
18
|
+
padding: 0;
|
|
19
|
+
}
|
|
20
|
+
`, N = t.div`
|
|
21
|
+
display: grid;
|
|
22
|
+
grid-template-columns: repeat(4, 1fr);
|
|
23
|
+
gap: 1.5rem;
|
|
24
|
+
|
|
25
|
+
@media (max-width: ${d + "px"}) {
|
|
26
|
+
grid-template-columns: repeat(2, 1fr);
|
|
27
|
+
gap: 0.5rem;
|
|
28
|
+
}
|
|
29
|
+
`, C = t.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
gap: 0.75rem;
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
font-size: 0.875rem;
|
|
35
|
+
|
|
36
|
+
& .group-items {
|
|
37
|
+
padding: 0 0.75rem;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
gap: 0.5rem;
|
|
41
|
+
font-size: 0.75rem;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
|
|
44
|
+
& .count-txt {
|
|
45
|
+
color: var(--gray-600, #676e79);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
& .region,
|
|
50
|
+
.city {
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
transition: var(--transition);
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
color: var(--primary-500, #f59e0b);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
`, k = u((p, s) => {
|
|
59
|
+
const {
|
|
60
|
+
title: c,
|
|
61
|
+
items: i,
|
|
62
|
+
options: o,
|
|
63
|
+
onSelectRegion: f = () => {
|
|
64
|
+
},
|
|
65
|
+
onSelectCity: g = () => {
|
|
66
|
+
}
|
|
67
|
+
} = p;
|
|
68
|
+
return /* @__PURE__ */ a(S, { ref: s, children: [
|
|
69
|
+
/* @__PURE__ */ n("div", { className: "wrapper-title", children: c }),
|
|
70
|
+
(o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ n(
|
|
71
|
+
w,
|
|
72
|
+
{
|
|
73
|
+
items: o,
|
|
74
|
+
onRemove: (e) => {
|
|
75
|
+
},
|
|
76
|
+
onSelect: (e) => {
|
|
77
|
+
},
|
|
78
|
+
labelKey: "name",
|
|
79
|
+
valueKey: "code",
|
|
80
|
+
noMargin: !0
|
|
81
|
+
}
|
|
82
|
+
),
|
|
83
|
+
/* @__PURE__ */ n(N, { children: i == null ? void 0 : i.map((e, l) => {
|
|
84
|
+
var m;
|
|
85
|
+
return /* @__PURE__ */ a(C, { children: [
|
|
86
|
+
/* @__PURE__ */ n("div", { className: "region", onClick: () => f(e == null ? void 0 : e.code), children: e == null ? void 0 : e.name }),
|
|
87
|
+
/* @__PURE__ */ n("div", { className: "group-items", children: (m = e == null ? void 0 : e.cities) == null ? void 0 : m.map((r, h) => /* @__PURE__ */ n(v, { children: /* @__PURE__ */ a(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
className: "city",
|
|
91
|
+
onClick: () => g(r == null ? void 0 : r.code),
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ n("span", { children: r == null ? void 0 : r.name }),
|
|
94
|
+
/* @__PURE__ */ a("span", { className: "count-txt", children: [
|
|
95
|
+
"(",
|
|
96
|
+
r == null ? void 0 : r.count,
|
|
97
|
+
")"
|
|
98
|
+
] })
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
) }, l + h)) })
|
|
102
|
+
] }, l);
|
|
103
|
+
}) })
|
|
104
|
+
] });
|
|
105
|
+
});
|
|
106
|
+
export {
|
|
107
|
+
k as default
|
|
108
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),m=require("react"),x=require("./Button.cjs"),d=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),m=require("react"),x=require("./Button.cjs"),d=require("./emotion-styled.browser.esm-Cle7tAM9.cjs"),i=require("./utils-NZLCh-J5.cjs"),h=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=require("./consts-CtNoHdBj.cjs"),f=d.newStyled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t, Fragment as u, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f } from "react";
|
|
3
3
|
import _ from "./Button.js";
|
|
4
|
-
import { n as s } from "./emotion-styled.browser.esm-
|
|
5
|
-
import { m as n, t as g, k as p } from "./utils-
|
|
6
|
-
import { u as w } from "./emotion-element-
|
|
4
|
+
import { n as s } from "./emotion-styled.browser.esm-CjCaF13H.js";
|
|
5
|
+
import { m as n, t as g, k as p } from "./utils-DtRLzzTZ.js";
|
|
6
|
+
import { u as w } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { M as h } from "./consts-C1uHV4xc.js";
|
|
8
8
|
const b = s.div`
|
|
9
9
|
display: flex;
|