@lanaco/lnc-react-ui 4.0.199 → 4.0.201
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 +45 -56
- package/dist/AccordionDetails.cjs +3 -3
- package/dist/AccordionDetails.js +11 -25
- package/dist/AccordionSummary.cjs +4 -4
- package/dist/AccordionSummary.js +34 -44
- package/dist/ActionsToolbar.cjs +2 -3
- package/dist/ActionsToolbar.js +83 -135
- package/dist/Alert.cjs +10 -10
- package/dist/Alert.js +32 -64
- package/dist/Avatar.cjs +9 -9
- package/dist/Avatar.js +33 -72
- package/dist/Badge.cjs +6 -6
- package/dist/Badge.js +22 -47
- package/dist/BannerSectionCarousel.cjs +4 -4
- package/dist/BannerSectionCarousel.js +51 -542
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +1 -1
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -14
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +1 -1
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +1 -1
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +1 -1
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +2 -2
- package/dist/Breadcrumbs.cjs +5 -5
- package/dist/Breadcrumbs.js +57 -87
- package/dist/Button.cjs +11 -11
- package/dist/Button.js +126 -173
- package/dist/ButtonGroup.cjs +8 -8
- package/dist/ButtonGroup.js +37 -49
- package/dist/CalorieCalculatorSection.cjs +8 -8
- package/dist/CalorieCalculatorSection.js +90 -97
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -5
- package/dist/Chip.cjs +14 -14
- package/dist/Chip.js +73 -111
- package/dist/ConfirmationForm.cjs +6 -6
- package/dist/ConfirmationForm.js +67 -109
- package/dist/ContactSection.cjs +1 -0
- package/dist/ContactSection.js +1 -0
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +7 -15
- package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
- package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +30 -50
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +1347 -1383
- package/dist/DecimalInput.cjs +6 -6
- package/dist/DecimalInput.js +210 -263
- package/dist/DecimalInputV2.cjs +23 -23
- package/dist/DecimalInputV2.js +119 -176
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +2 -2
- package/dist/DetailsView.cjs +9 -9
- package/dist/DetailsView.js +111 -162
- package/dist/DoubleRangeSlider.cjs +22 -22
- package/dist/DoubleRangeSlider.js +70 -95
- package/dist/DragAndDropFile.cjs +10 -10
- package/dist/DragAndDropFile.js +347 -402
- package/dist/DragDropFiles.cjs +4 -4
- package/dist/DragDropFiles.js +70 -124
- package/dist/Drawer.cjs +5 -5
- package/dist/Drawer.js +97 -135
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +44 -213
- package/dist/DropdownItem.cjs +14 -14
- package/dist/DropdownItem.js +106 -142
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +61 -242
- package/dist/DropdownMenu.cjs +4 -4
- package/dist/DropdownMenu.js +87 -149
- package/dist/EditableTable.cjs +10 -10
- package/dist/EditableTable.js +165 -331
- package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
- package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +119 -153
- package/dist/FileInput.cjs +7 -7
- package/dist/FileInput.js +66 -94
- package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
- package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
- package/dist/FlexBox.cjs +6 -6
- package/dist/FlexBox.js +28 -63
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +27 -67
- package/dist/FlexGridItem.cjs +6 -6
- package/dist/FlexGridItem.js +34 -62
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +7 -15
- package/dist/FormField.cjs +7 -7
- package/dist/FormField.js +22 -47
- package/dist/FormView.cjs +6 -6
- package/dist/FormView.js +148 -195
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +1 -1
- package/dist/Grid.cjs +2 -2
- package/dist/Grid.js +40 -65
- package/dist/GridItem.cjs +2 -2
- package/dist/GridItem.js +47 -80
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +7 -15
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +9 -15
- package/dist/Icon.cjs +4 -4
- package/dist/Icon.js +29 -55
- package/dist/IconButton.cjs +9 -9
- package/dist/IconButton.js +89 -127
- package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
- package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
- package/dist/Kanban.cjs +7 -7
- package/dist/Kanban.js +2033 -2098
- package/dist/KanbanActionsToolbar.cjs +4 -5
- package/dist/KanbanActionsToolbar.js +61 -96
- package/dist/KanbanCard-B9V9EjVE.js +137 -0
- package/dist/KanbanCard-DihrKn-I.cjs +30 -0
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -3
- package/dist/KanbanFooter.cjs +3 -3
- package/dist/KanbanFooter.js +37 -55
- package/dist/KanbanHeader.cjs +4 -4
- package/dist/KanbanHeader.js +49 -81
- package/dist/KanbanView.cjs +2 -2
- package/dist/KanbanView.js +106 -173
- package/dist/Link.cjs +7 -7
- package/dist/Link.js +20 -37
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/MenuItem.cjs +13 -13
- package/dist/MenuItem.js +101 -139
- package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
- package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
- package/dist/Modal.cjs +18 -19
- package/dist/Modal.js +131 -166
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +25 -196
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +27 -209
- package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
- package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
- package/dist/NestedDropdownItem.cjs +3 -3
- package/dist/NestedDropdownItem.js +45 -67
- package/dist/NestedMenuItem.cjs +5 -5
- package/dist/NestedMenuItem.js +51 -78
- package/dist/NotificationContainer.cjs +10 -10
- package/dist/NotificationContainer.js +46 -79
- package/dist/NotificationMessage.cjs +2 -2
- package/dist/NotificationMessage.js +47 -64
- package/dist/NumberInput.cjs +23 -23
- package/dist/NumberInput.js +89 -149
- package/dist/PageLayout.cjs +2 -2
- package/dist/PageLayout.js +20 -28
- package/dist/Pagination.cjs +3 -3
- package/dist/Pagination.js +102 -185
- package/dist/PartnerBrandsSection.cjs +62 -0
- package/dist/PartnerBrandsSection.js +154 -0
- package/dist/PartnerStatsSection.cjs +100 -0
- package/dist/PartnerStatsSection.js +124 -0
- package/dist/PasswordInput.cjs +23 -23
- package/dist/PasswordInput.js +108 -137
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +7 -32
- package/dist/PopoverContent.cjs +5 -5
- package/dist/PopoverContent.js +22 -28
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +7 -12
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/ProgressBar.cjs +8 -8
- package/dist/ProgressBar.js +32 -59
- package/dist/RadioGroup.cjs +3 -3
- package/dist/RadioGroup.js +41 -72
- package/dist/RadioInput.cjs +28 -28
- package/dist/RadioInput.js +78 -123
- package/dist/RangeSlider.cjs +19 -19
- package/dist/RangeSlider.js +92 -119
- package/dist/ReviewsSection.cjs +13 -13
- package/dist/ReviewsSection.js +81 -101
- package/dist/SalesCampaignsSection.cjs +38 -28
- package/dist/SalesCampaignsSection.js +297 -325
- package/dist/SearchBar.cjs +10 -10
- package/dist/SearchBar.js +168 -188
- package/dist/SearchSection-B94YN_6P.cjs +161 -0
- package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +2 -3
- package/dist/Separator.cjs +3 -3
- package/dist/Separator.js +14 -19
- package/dist/Sidebar.cjs +4 -5
- package/dist/Sidebar.js +33 -56
- package/dist/SimpleCategoriesSection.cjs +2 -2
- package/dist/SimpleCategoriesSection.js +2 -2
- package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
- package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
- package/dist/Spinner.cjs +18 -18
- package/dist/Spinner.js +37 -54
- package/dist/StatsSection.cjs +6 -6
- package/dist/StatsSection.js +15 -25
- package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
- package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
- package/dist/Surface.cjs +4 -4
- package/dist/Surface.js +19 -34
- package/dist/SwipeableDrawer.cjs +8 -8
- package/dist/SwipeableDrawer.js +84 -136
- package/dist/TabItem.cjs +11 -11
- package/dist/TabItem.js +83 -118
- package/dist/Table.cjs +65 -65
- package/dist/Table.js +786 -1167
- package/dist/TableView.cjs +2 -2
- package/dist/TableView.js +113 -197
- package/dist/Tabs.cjs +4 -4
- package/dist/Tabs.js +41 -60
- package/dist/TextAreaInput.cjs +14 -14
- package/dist/TextAreaInput.js +131 -181
- package/dist/TextInput.cjs +23 -23
- package/dist/TextInput.js +78 -126
- package/dist/ThemeProvider.cjs +5 -5
- package/dist/ThemeProvider.js +35 -39
- package/dist/TimeInput.cjs +7 -7
- package/dist/TimeInput.js +46 -72
- package/dist/Toggle.cjs +20 -20
- package/dist/Toggle.js +78 -109
- package/dist/ToggleSection.cjs +5 -5
- package/dist/ToggleSection.js +48 -55
- package/dist/TreeMenu.cjs +5 -5
- package/dist/TreeMenu.js +43 -67
- package/dist/TreeMenuSeparator.cjs +3 -3
- package/dist/TreeMenuSeparator.js +12 -20
- package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
- package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
- package/dist/UploadedFile.cjs +11 -11
- package/dist/UploadedFile.js +73 -99
- package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
- package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
- package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
- package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
- package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
- package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
- package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
- package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
- package/dist/index-BdKi2ogu.js +39 -0
- package/dist/index-BppfjY8h.js +497 -0
- package/dist/index-CRk3vcd4.cjs +95 -0
- package/dist/index-CX2A-q39.cjs +4 -0
- package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
- package/dist/index-DeS-oqJB.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +25 -21
- package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
- package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
- package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
- package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
- package/package.json +4 -2
- package/vite.config.js +8 -0
- package/dist/KanbanCard-68kSAXL6.js +0 -175
- package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
- package/dist/SearchSection-BcbHP6QF.cjs +0 -161
- package/dist/index-Be-_NM9Q.cjs +0 -4
- package/dist/index-C0LcDEqa.js +0 -47
- package/dist/index-CSNxZFTX.cjs +0 -95
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),t=require("./utils-RnrgDDZP.cjs"),i=r.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 1.5rem;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
`,n=
|
|
40
|
+
`,n=r.styled.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: column;
|
|
43
43
|
gap: 0.75rem;
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
display: flex;
|
|
56
56
|
gap: 0.5rem;
|
|
57
57
|
align-items: center;
|
|
58
|
-
${
|
|
58
|
+
${t.truncateText()}
|
|
59
59
|
|
|
60
60
|
& span {
|
|
61
|
-
${
|
|
61
|
+
${t.truncateText()}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
padding-bottom: 0.5rem;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`,o=e=>(e==null?void 0:e.toLowerCase())=="success"?"color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);":(e==null?void 0:e.toLowerCase())=="warning"?"color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);":(e==null?void 0:e.toLowerCase())=="info"?"color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);":(e==null?void 0:e.toLowerCase())=="danger"?"color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);":(e==null?void 0:e.toLowerCase())=="secondary"?"color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);":"color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);",s=r.styled.div`
|
|
82
82
|
font-size: 0.75rem;
|
|
83
83
|
font-weight: 500;
|
|
84
84
|
padding: 0 0.5rem;
|
|
@@ -88,6 +88,36 @@
|
|
|
88
88
|
border-radius: 0.25rem;
|
|
89
89
|
display: flex;
|
|
90
90
|
max-width: 12.5rem;
|
|
91
|
-
${e=>
|
|
92
|
-
${
|
|
93
|
-
|
|
91
|
+
${e=>o(e.color)}
|
|
92
|
+
${t.truncateText()}
|
|
93
|
+
`,d=r.styled.div`
|
|
94
|
+
display: flex;
|
|
95
|
+
justify-content: space-between;
|
|
96
|
+
|
|
97
|
+
& .heading__title {
|
|
98
|
+
color: var(--gray-950, #14161a);
|
|
99
|
+
font-weight: 600;
|
|
100
|
+
font-size: 1.5rem;
|
|
101
|
+
line-height: 2rem;
|
|
102
|
+
letter-spacing: -0.0294rem;
|
|
103
|
+
|
|
104
|
+
& i {
|
|
105
|
+
font-size: 1.5rem;
|
|
106
|
+
color: var(--primary-500, #f59e0b);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
& .heading__action {
|
|
111
|
+
/* color: var(--gray-950, #14161a);
|
|
112
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.04)); */
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
|
|
115
|
+
/* &:hover {
|
|
116
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.12));
|
|
117
|
+
} */
|
|
118
|
+
|
|
119
|
+
&:focus {
|
|
120
|
+
outline: none;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
`;exports.BlogTag=s;exports.RegulatTitleSectionWrapper=i;exports.SectionHeadingContainer=d;exports.TitleWithOptionsSectionWrapper=n;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as
|
|
1
|
+
import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
2
2
|
import { M as t } from "./consts-BuFChS64.js";
|
|
3
|
-
import { t as
|
|
4
|
-
const
|
|
3
|
+
import { t as a } from "./utils-DtEfC-TX.js";
|
|
4
|
+
const d = r.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
gap: 1.5rem;
|
|
@@ -40,7 +40,7 @@ const o = a.div`
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`, g = r.div`
|
|
44
44
|
display: flex;
|
|
45
45
|
flex-direction: column;
|
|
46
46
|
gap: 0.75rem;
|
|
@@ -58,10 +58,10 @@ const o = a.div`
|
|
|
58
58
|
display: flex;
|
|
59
59
|
gap: 0.5rem;
|
|
60
60
|
align-items: center;
|
|
61
|
-
${
|
|
61
|
+
${a()}
|
|
62
62
|
|
|
63
63
|
& span {
|
|
64
|
-
${
|
|
64
|
+
${a()}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -81,7 +81,7 @@ const o = a.div`
|
|
|
81
81
|
padding-bottom: 0.5rem;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
`, i = (e) => (e == null ? void 0 : e.toLowerCase()) == "success" ? "color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);" : (e == null ? void 0 : e.toLowerCase()) == "warning" ? "color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);" : (e == null ? void 0 : e.toLowerCase()) == "info" ? "color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);" : (e == null ? void 0 : e.toLowerCase()) == "danger" ? "color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);" : (e == null ? void 0 : e.toLowerCase()) == "secondary" ? "color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);" : "color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);",
|
|
84
|
+
`, i = (e) => (e == null ? void 0 : e.toLowerCase()) == "success" ? "color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);" : (e == null ? void 0 : e.toLowerCase()) == "warning" ? "color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);" : (e == null ? void 0 : e.toLowerCase()) == "info" ? "color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);" : (e == null ? void 0 : e.toLowerCase()) == "danger" ? "color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);" : (e == null ? void 0 : e.toLowerCase()) == "secondary" ? "color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);" : "color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);", f = r.div`
|
|
85
85
|
font-size: 0.75rem;
|
|
86
86
|
font-weight: 500;
|
|
87
87
|
padding: 0 0.5rem;
|
|
@@ -92,10 +92,41 @@ const o = a.div`
|
|
|
92
92
|
display: flex;
|
|
93
93
|
max-width: 12.5rem;
|
|
94
94
|
${(e) => i(e.color)}
|
|
95
|
-
${
|
|
95
|
+
${a()}
|
|
96
|
+
`, l = r.div`
|
|
97
|
+
display: flex;
|
|
98
|
+
justify-content: space-between;
|
|
99
|
+
|
|
100
|
+
& .heading__title {
|
|
101
|
+
color: var(--gray-950, #14161a);
|
|
102
|
+
font-weight: 600;
|
|
103
|
+
font-size: 1.5rem;
|
|
104
|
+
line-height: 2rem;
|
|
105
|
+
letter-spacing: -0.0294rem;
|
|
106
|
+
|
|
107
|
+
& i {
|
|
108
|
+
font-size: 1.5rem;
|
|
109
|
+
color: var(--primary-500, #f59e0b);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
& .heading__action {
|
|
114
|
+
/* color: var(--gray-950, #14161a);
|
|
115
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.04)); */
|
|
116
|
+
white-space: nowrap;
|
|
117
|
+
|
|
118
|
+
/* &:hover {
|
|
119
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.12));
|
|
120
|
+
} */
|
|
121
|
+
|
|
122
|
+
&:focus {
|
|
123
|
+
outline: none;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
96
126
|
`;
|
|
97
127
|
export {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
128
|
+
f as B,
|
|
129
|
+
d as R,
|
|
130
|
+
l as S,
|
|
131
|
+
g as T
|
|
101
132
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const p = o.div`
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as m } from "react";
|
|
3
|
+
import f from "./Chip.js";
|
|
4
|
+
import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { M as o } from "./consts-BuFChS64.js";
|
|
6
|
+
const d = r.div`
|
|
8
7
|
display: flex;
|
|
9
8
|
gap: 0.75rem;
|
|
10
9
|
align-items: center;
|
|
@@ -41,7 +40,7 @@ const p = o.div`
|
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
42
|
|
|
44
|
-
@media (max-width: ${
|
|
43
|
+
@media (max-width: ${o + "px"}) {
|
|
45
44
|
width: 100%;
|
|
46
45
|
overflow-x: auto;
|
|
47
46
|
white-space: nowrap;
|
|
@@ -60,7 +59,7 @@ const p = o.div`
|
|
|
60
59
|
/* Safari and Chrome */
|
|
61
60
|
}
|
|
62
61
|
}
|
|
63
|
-
`,
|
|
62
|
+
`, b = r.div`
|
|
64
63
|
display: flex;
|
|
65
64
|
gap: 1.25rem;
|
|
66
65
|
width: 100%;
|
|
@@ -85,10 +84,10 @@ const p = o.div`
|
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
|
|
88
|
-
@media (max-width: ${
|
|
87
|
+
@media (max-width: ${o + "px"}) {
|
|
89
88
|
flex-direction: column;
|
|
90
89
|
}
|
|
91
|
-
`,
|
|
90
|
+
`, x = r.div`
|
|
92
91
|
width: 100%;
|
|
93
92
|
height: fit-content;
|
|
94
93
|
background: var(--white, #fff);
|
|
@@ -168,7 +167,7 @@ const p = o.div`
|
|
|
168
167
|
}
|
|
169
168
|
}
|
|
170
169
|
|
|
171
|
-
@media (max-width: ${
|
|
170
|
+
@media (max-width: ${o + "px"}) {
|
|
172
171
|
& .card__impression {
|
|
173
172
|
justify-content: space-between;
|
|
174
173
|
|
|
@@ -177,29 +176,24 @@ const p = o.div`
|
|
|
177
176
|
}
|
|
178
177
|
}
|
|
179
178
|
}
|
|
180
|
-
`,
|
|
181
|
-
({ tags:
|
|
182
|
-
} },
|
|
183
|
-
|
|
179
|
+
`, _ = m(
|
|
180
|
+
({ tags: t = [], allTagText: a, selectedTagCode: i = null, onSelectTag: l = () => {
|
|
181
|
+
} }, s) => /* @__PURE__ */ n(d, { ref: s, className: "section__tags", children: [{ name: a, code: null }, ...t].map((e, c) => /* @__PURE__ */ n(
|
|
182
|
+
f,
|
|
184
183
|
{
|
|
185
184
|
label: e == null ? void 0 : e.name,
|
|
186
185
|
borderRadius: "curved",
|
|
187
186
|
color: "neutral",
|
|
188
|
-
className: `tags__item ${
|
|
187
|
+
className: `tags__item ${i === (e == null ? void 0 : e.code) ? "active" : ""}`,
|
|
189
188
|
onClick: () => {
|
|
190
|
-
|
|
189
|
+
l(e);
|
|
191
190
|
}
|
|
192
191
|
},
|
|
193
|
-
`faq-section-tag__${
|
|
192
|
+
`faq-section-tag__${c + 1}`
|
|
194
193
|
)) })
|
|
195
194
|
);
|
|
196
|
-
g.propTypes = {
|
|
197
|
-
tags: r.array,
|
|
198
|
-
allTagText: r.string,
|
|
199
|
-
onSelectTag: r.func
|
|
200
|
-
};
|
|
201
195
|
export {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
196
|
+
_ as F,
|
|
197
|
+
b as I,
|
|
198
|
+
x as a
|
|
205
199
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),d=require("react"),m=require("./Chip.cjs"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./consts-goSZX3xP.cjs"),f=r.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 0.75rem;
|
|
4
4
|
align-items: center;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
@media (max-width: ${
|
|
38
|
+
@media (max-width: ${n.MOBILE_SIZE_PX+"px"}) {
|
|
39
39
|
width: 100%;
|
|
40
40
|
overflow-x: auto;
|
|
41
41
|
white-space: nowrap;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
/* Safari and Chrome */
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
`,
|
|
57
|
+
`,p=r.styled.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
gap: 1.25rem;
|
|
60
60
|
width: 100%;
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
@media (max-width: ${
|
|
82
|
+
@media (max-width: ${n.MOBILE_SIZE_PX+"px"}) {
|
|
83
83
|
flex-direction: column;
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
85
|
+
`,g=r.styled.div`
|
|
86
86
|
width: 100%;
|
|
87
87
|
height: fit-content;
|
|
88
88
|
background: var(--white, #fff);
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
@media (max-width: ${
|
|
165
|
+
@media (max-width: ${n.MOBILE_SIZE_PX+"px"}) {
|
|
166
166
|
& .card__impression {
|
|
167
167
|
justify-content: space-between;
|
|
168
168
|
|
|
@@ -171,4 +171,4 @@
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
`,
|
|
174
|
+
`,u=d.forwardRef(({tags:o=[],allTagText:i,selectedTagCode:a=null,onSelectTag:s=()=>{}},l)=>t.jsx(f,{ref:l,className:"section__tags",children:[{name:i,code:null},...o].map((e,c)=>t.jsx(m,{label:e==null?void 0:e.name,borderRadius:"curved",color:"neutral",className:`tags__item ${a===(e==null?void 0:e.code)?"active":""}`,onClick:()=>{s(e)}},`faq-section-tag__${c+1}`))}));exports.FaqSectionTags=u;exports.ItemContainer=g;exports.ItemsContainer=p;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lanaco/lnc-react-ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.201",
|
|
4
4
|
"description": "React component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -167,7 +167,9 @@
|
|
|
167
167
|
"./ToggleSection": "./dist/ToggleSection.js",
|
|
168
168
|
"./BlogExploreSection": "./dist/BlogExploreSection.js",
|
|
169
169
|
"./BlogImagePathSection": "./dist/BlogImagePathSection.js",
|
|
170
|
-
"./BannerNextSection": "./dist/BannerNextSection.js"
|
|
170
|
+
"./BannerNextSection": "./dist/BannerNextSection.js",
|
|
171
|
+
"./PartnerStatsSection": "./dist/PartnerStatsSection.js",
|
|
172
|
+
"./PartnerBrandsSection": "./dist/PartnerBrandsSection.js"
|
|
171
173
|
},
|
|
172
174
|
"dependencies": {
|
|
173
175
|
"@dnd-kit/core": "^6.0.5",
|
package/vite.config.js
CHANGED
|
@@ -351,6 +351,14 @@ export default defineConfig({
|
|
|
351
351
|
__dirname,
|
|
352
352
|
"src/Landing Sections/banners-sections/banner-next-section/BannerNextSection.jsx",
|
|
353
353
|
),
|
|
354
|
+
resolve(
|
|
355
|
+
__dirname,
|
|
356
|
+
"src/Landing Sections/partner-sections/partner-stats-section/PartnerStatsSection.jsx",
|
|
357
|
+
),
|
|
358
|
+
resolve(
|
|
359
|
+
__dirname,
|
|
360
|
+
"src/Landing Sections/partner-sections/partner-brands-section/PartnerBrandsSection.jsx",
|
|
361
|
+
),
|
|
354
362
|
],
|
|
355
363
|
name: "@lanaco/lnc-react-ui",
|
|
356
364
|
fileName: (format, name) => {
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as z } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as d, memo as T } from "react";
|
|
3
|
-
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { P as r } from "./index-CblbdqjE.js";
|
|
5
|
-
import C from "./Icon.js";
|
|
6
|
-
import P from "./DropdownMenu.js";
|
|
7
|
-
import K from "./DropdownItem.js";
|
|
8
|
-
import { c as O } from "./index-fN7hCOo3.js";
|
|
9
|
-
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
10
|
-
const j = "_Action_bw0a9_5", B = {
|
|
11
|
-
Action: j
|
|
12
|
-
}, D = d(
|
|
13
|
-
({ active: o, className: a, cursor: s, style: l, ...t }, i) => /* @__PURE__ */ e(
|
|
14
|
-
"button",
|
|
15
|
-
{
|
|
16
|
-
ref: i,
|
|
17
|
-
...t,
|
|
18
|
-
className: O(B.Action, a),
|
|
19
|
-
tabIndex: 0,
|
|
20
|
-
style: {
|
|
21
|
-
...l,
|
|
22
|
-
cursor: s,
|
|
23
|
-
"--fill": o == null ? void 0 : o.fill,
|
|
24
|
-
"--background": o == null ? void 0 : o.background
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
)
|
|
28
|
-
), I = d((o, a) => /* @__PURE__ */ e(D, { ref: a, cursor: "grab", "data-cypress": "draggable-handle", ...o, children: /* @__PURE__ */ e("svg", { viewBox: "0 0 20 20", width: "12", children: /* @__PURE__ */ e("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" }) }) })), M = m.div`
|
|
29
|
-
height: 100%;
|
|
30
|
-
width: 100%;
|
|
31
|
-
padding: ${(o) => `18px 20px 18px ${o.handle == !0 ? "10px" : "20px"}`};
|
|
32
|
-
position: relative;
|
|
33
|
-
word-wrap: break-word;
|
|
34
|
-
white-space: pre-wrap;
|
|
35
|
-
word-break: break-word;
|
|
36
|
-
display: flex;
|
|
37
|
-
gap: 8px;
|
|
38
|
-
& .card-action-lnc {
|
|
39
|
-
position: absolute;
|
|
40
|
-
right: 10px;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
& > .kanban-card-content {
|
|
45
|
-
${(o) => o.clickable && "cursor: pointer;"}
|
|
46
|
-
}
|
|
47
|
-
`, R = m.div`
|
|
48
|
-
display: flex;
|
|
49
|
-
|
|
50
|
-
& > *:first-of-type:not(:last-of-type) {
|
|
51
|
-
opacity: 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
& > *:first-of-type:not(:last-of-type):focus-visible {
|
|
55
|
-
opacity: 1;
|
|
56
|
-
}
|
|
57
|
-
`, f = T(
|
|
58
|
-
d(
|
|
59
|
-
({
|
|
60
|
-
__TYPE__: o = "KANBAN_CARD",
|
|
61
|
-
id: a,
|
|
62
|
-
containerId: s,
|
|
63
|
-
item: l,
|
|
64
|
-
handle: t = !0,
|
|
65
|
-
handleProps: i,
|
|
66
|
-
actionsMenu: u = !1,
|
|
67
|
-
actions: c = [],
|
|
68
|
-
onDetails: p,
|
|
69
|
-
color: b = "primary",
|
|
70
|
-
size: y = "small",
|
|
71
|
-
className: A = "",
|
|
72
|
-
style: g = {},
|
|
73
|
-
children: h,
|
|
74
|
-
...w
|
|
75
|
-
}, x) => {
|
|
76
|
-
const _ = $();
|
|
77
|
-
return /* @__PURE__ */ z(
|
|
78
|
-
M,
|
|
79
|
-
{
|
|
80
|
-
ref: x,
|
|
81
|
-
handle: t,
|
|
82
|
-
theme: _,
|
|
83
|
-
className: A,
|
|
84
|
-
style: g,
|
|
85
|
-
clickable: !!p,
|
|
86
|
-
...w,
|
|
87
|
-
children: [
|
|
88
|
-
t && /* @__PURE__ */ e(R, { className: "Actions", children: /* @__PURE__ */ e(I, { ...i }) }),
|
|
89
|
-
u && /* @__PURE__ */ e(
|
|
90
|
-
P,
|
|
91
|
-
{
|
|
92
|
-
className: "card-action-lnc",
|
|
93
|
-
horizontalAlignment: "right",
|
|
94
|
-
verticalAlignment: "bottom",
|
|
95
|
-
color: b,
|
|
96
|
-
size: y,
|
|
97
|
-
control: /* @__PURE__ */ e(
|
|
98
|
-
C,
|
|
99
|
-
{
|
|
100
|
-
color: "neutral",
|
|
101
|
-
className: "card-action-lnc",
|
|
102
|
-
icon: "ellipsis-v"
|
|
103
|
-
}
|
|
104
|
-
),
|
|
105
|
-
children: c == null ? void 0 : c.map((n, N) => {
|
|
106
|
-
if ((n == null ? void 0 : n.show) != !1)
|
|
107
|
-
return /* @__PURE__ */ e(
|
|
108
|
-
K,
|
|
109
|
-
{
|
|
110
|
-
icon: n.icon,
|
|
111
|
-
disabled: n.enable == !1,
|
|
112
|
-
onClick: (k) => n.onAction(k, l, s),
|
|
113
|
-
children: n.name
|
|
114
|
-
},
|
|
115
|
-
N
|
|
116
|
-
);
|
|
117
|
-
})
|
|
118
|
-
}
|
|
119
|
-
),
|
|
120
|
-
/* @__PURE__ */ e(
|
|
121
|
-
"div",
|
|
122
|
-
{
|
|
123
|
-
className: "kanban-card-content-lnc",
|
|
124
|
-
onClick: (n) => {
|
|
125
|
-
p && p(n, l, s);
|
|
126
|
-
},
|
|
127
|
-
children: h
|
|
128
|
-
}
|
|
129
|
-
)
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
);
|
|
133
|
-
}
|
|
134
|
-
)
|
|
135
|
-
);
|
|
136
|
-
f.propTypes = {
|
|
137
|
-
__TYPE__: r.string,
|
|
138
|
-
id: r.oneOfType([r.string, r.number]),
|
|
139
|
-
containerId: r.oneOfType([r.string, r.number]),
|
|
140
|
-
className: r.string,
|
|
141
|
-
style: r.object,
|
|
142
|
-
handle: r.bool,
|
|
143
|
-
handleProps: r.any,
|
|
144
|
-
/**
|
|
145
|
-
* Show actions menu on Card
|
|
146
|
-
*/
|
|
147
|
-
actionsMenu: r.bool,
|
|
148
|
-
/**
|
|
149
|
-
* type of: [{ name: `<string>`, show: `<bool>`, enable: `<bool>`, onAction: `<func>`, icon: `<string>`}]
|
|
150
|
-
* show and enable are true by default
|
|
151
|
-
*/
|
|
152
|
-
actions: r.array,
|
|
153
|
-
//-------------------------------------------------------------
|
|
154
|
-
/**
|
|
155
|
-
* (e, item, columnId) => { }
|
|
156
|
-
*/
|
|
157
|
-
onDetails: r.func,
|
|
158
|
-
//-------------------------------------------------------------
|
|
159
|
-
color: r.oneOf([
|
|
160
|
-
"primary",
|
|
161
|
-
"secondary",
|
|
162
|
-
"success",
|
|
163
|
-
"warning",
|
|
164
|
-
"danger",
|
|
165
|
-
"information",
|
|
166
|
-
"neutral",
|
|
167
|
-
"gray"
|
|
168
|
-
]),
|
|
169
|
-
size: r.oneOf(["small", "medium", "large"])
|
|
170
|
-
};
|
|
171
|
-
f.displayName = "KANBAN_CARD";
|
|
172
|
-
export {
|
|
173
|
-
I as H,
|
|
174
|
-
f as K
|
|
175
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),p=require("react"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),e=require("./index-BpbMKBf_.cjs"),N=require("./Icon.cjs"),k=require("./DropdownMenu.cjs"),q=require("./DropdownItem.cjs"),z=require("./index-Bg5OOQN0.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.styled.div`
|
|
2
|
-
height: 100%;
|
|
3
|
-
width: 100%;
|
|
4
|
-
padding: ${r=>`18px 20px 18px ${r.handle==!0?"10px":"20px"}`};
|
|
5
|
-
position: relative;
|
|
6
|
-
word-wrap: break-word;
|
|
7
|
-
white-space: pre-wrap;
|
|
8
|
-
word-break: break-word;
|
|
9
|
-
display: flex;
|
|
10
|
-
gap: 8px;
|
|
11
|
-
& .card-action-lnc {
|
|
12
|
-
position: absolute;
|
|
13
|
-
right: 10px;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
& > .kanban-card-content {
|
|
18
|
-
${r=>r.clickable&&"cursor: pointer;"}
|
|
19
|
-
}
|
|
20
|
-
`,B=m.styled.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
|
|
23
|
-
& > *:first-of-type:not(:last-of-type) {
|
|
24
|
-
opacity: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
& > *:first-of-type:not(:last-of-type):focus-visible {
|
|
28
|
-
opacity: 1;
|
|
29
|
-
}
|
|
30
|
-
`,y=p.memo(p.forwardRef(({__TYPE__:r="KANBAN_CARD",id:n,containerId:a,item:t,handle:l=!0,handleProps:i,actionsMenu:b=!1,actions:c=[],onDetails:d,color:f="primary",size:x="small",className:A="",style:T={},children:g,...h},w)=>{const P=C.useTheme();return s.jsxs(O,{ref:w,handle:l,theme:P,className:A,style:T,clickable:!!d,...h,children:[l&&s.jsx(B,{className:"Actions",children:s.jsx(u,{...i})}),b&&s.jsx(k,{className:"card-action-lnc",horizontalAlignment:"right",verticalAlignment:"bottom",color:f,size:x,control:s.jsx(N,{color:"neutral",className:"card-action-lnc",icon:"ellipsis-v"}),children:c==null?void 0:c.map((o,_)=>{if((o==null?void 0:o.show)!=!1)return s.jsx(q,{icon:o.icon,disabled:o.enable==!1,onClick:j=>o.onAction(j,t,a),children:o.name},_)})}),s.jsx("div",{className:"kanban-card-content-lnc",onClick:o=>{d&&d(o,t,a)},children:g})]})}));y.propTypes={__TYPE__:e.PropTypes.string,id:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),containerId:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),className:e.PropTypes.string,style:e.PropTypes.object,handle:e.PropTypes.bool,handleProps:e.PropTypes.any,actionsMenu:e.PropTypes.bool,actions:e.PropTypes.array,onDetails:e.PropTypes.func,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};y.displayName="KANBAN_CARD";exports.Handle=u;exports.KanbanCard=y;
|