@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
package/dist/Chip.cjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),q=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-RnrgDDZP.cjs"),S=require("./Avatar.cjs"),O=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),u=e=>{var r="fas";return`${r} fa-${e} fa-fw`},F=(e,r,n,t)=>e?`padding-right: ${t=="small"?"0.75rem":"0.625rem"}; padding-left: ${t=="small"?"0.25rem":"0.125rem"};`:r?`padding-right: ${t=="small"?"0.5rem":"0.375rem"}; padding-left: ${t=="small"?"0.5rem":"0.375rem"};`:n?`padding-right: ${t=="small"?"0.5rem":"0.375rem"}; padding-left: ${t=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${t=="small"?"1rem":"0.75rem"}; padding-left: ${t=="small"?"1rem":"0.75rem"};`,N=w.styled.span`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
display: inline-flex;
|
|
4
|
-
height: ${e=>
|
|
5
|
-
${e=>e.disabled===!0&&
|
|
6
|
-
background-color: ${e=>!e.disabled&&
|
|
7
|
-
color: ${e=>!e.disabled&&
|
|
4
|
+
height: ${e=>a.getSizeValueWithUnits(e.theme,e.size)};
|
|
5
|
+
${e=>e.disabled===!0&&a.getDisabledStateCss(e.theme)};
|
|
6
|
+
background-color: ${e=>!e.disabled&&a.getColorRgbaValue(e.theme,"Chip",e.color,"enabled","background","backgroundOpacity")};
|
|
7
|
+
color: ${e=>!e.disabled&&a.getColorRgbaValue(e.theme,"Chip",e.color,"enabled","text")};
|
|
8
8
|
font-weight: ${e=>e.theme.typography.fontWeightBold};
|
|
9
|
-
${e=>
|
|
9
|
+
${e=>F(e.avatar,e.leadingIcon,e.trailingIcon,e.size)}
|
|
10
10
|
gap: 0.375rem;
|
|
11
|
-
border-radius: ${e=>
|
|
11
|
+
border-radius: ${e=>a.getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
|
|
12
12
|
justify-content: center;
|
|
13
13
|
align-items: center;
|
|
14
|
-
${e=>
|
|
15
|
-
backdrop-filter: ${e=>
|
|
14
|
+
${e=>a.getComponentTypographyCss(e.theme,"Chip",e.size,"enabled")};
|
|
15
|
+
backdrop-filter: ${e=>a.getComponentPropValue(e.theme,"Chip",e.color,"enabled","backDropFilter")};
|
|
16
16
|
|
|
17
17
|
&:hover {
|
|
18
|
-
background-color: ${e=>!e.disabled&&
|
|
18
|
+
background-color: ${e=>!e.disabled&&a.getColorRgbaValue(e.theme,"Chip",e.color,"hover","background","backgroundOpacity")};
|
|
19
19
|
}
|
|
20
20
|
&:focus {
|
|
21
|
-
background-color: ${e=>!e.disabled&&
|
|
22
|
-
${e=>!e.disabled&&
|
|
21
|
+
background-color: ${e=>!e.disabled&&a.getColorRgbaValue(e.theme,"Chip",e.color,"focus","background","backgroundOpacity")};
|
|
22
|
+
${e=>!e.disabled&&a.getOutlineCss(e.theme)};
|
|
23
23
|
}
|
|
24
24
|
&:active {
|
|
25
|
-
background-color: ${e=>!e.disabled&&
|
|
25
|
+
background-color: ${e=>!e.disabled&&a.getColorRgbaValue(e.theme,"Chip",e.color,"active","background","backgroundOpacity")};
|
|
26
26
|
}
|
|
27
|
-
`,
|
|
27
|
+
`,P=(e,r)=>`calc(${a.getSizeValueWithUnits(e,r)} - 8px)`,U=q.forwardRef((e,r)=>{const{label:n,leadingIcon:t,trailingIcon:i,avatar:c=!1,size:o="small",borderRadius:m="regular",disabled:d=!1,tabIndex:h=0,onFocus:b=()=>{},onBlur:C=()=>{},onClick:$=()=>{},onKeyDown:f=()=>{},onLeadingIconClick:k=()=>{},onTrailingIconClick:y=()=>{},className:x="",style:R={},color:v="primary",avatarProps:I,children:V,...j}=e,s=O.useTheme(),g={theme:s,color:v,style:R,size:o,className:"lnc-ui-chip "+x};return l.jsxs(N,{ref:r,size:o,...g,trailingIcon:i,leadingIcon:t,avatar:c,borderRadius:m,disabled:d,tabIndex:h,onClick:$,onKeyDown:f,onBlur:C,onFocus:b,...j,children:[c&&l.jsx(S,{...g,disabled:d,sizeInUnits:P(s,o),...I}),t&&l.jsx("i",{className:u(t),onClick:k}),l.jsxs(l.Fragment,{children:[n,V]}),i&&l.jsx("i",{className:u(i),onClick:y})]})});module.exports=U;
|
package/dist/Chip.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import W from "./
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}, K = (e, n, l, r) => e ? `padding-right: ${r == "small" ? "0.75rem" : "0.625rem"}; padding-left: ${r == "small" ? "0.25rem" : "0.125rem"};` : n ? `padding-right: ${r == "small" ? "0.5rem" : "0.375rem"}; padding-left: ${r == "small" ? "0.5rem" : "0.375rem"};` : l ? `padding-right: ${r == "small" ? "0.5rem" : "0.375rem"}; padding-left: ${r == "small" ? "0.75rem" : "0.625rem"};` : `padding-right: ${r == "small" ? "1rem" : "0.75rem"}; padding-left: ${r == "small" ? "1rem" : "0.75rem"};`, L = B.span`
|
|
1
|
+
import { jsxs as g, jsx as o, Fragment as P } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as S } from "react";
|
|
3
|
+
import { s as V } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { d as h, h as j, b as r, a as B, c as D, g as F, e as T } from "./utils-DtEfC-TX.js";
|
|
5
|
+
import U from "./Avatar.js";
|
|
6
|
+
import { u as W } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
|
+
const u = (e) => {
|
|
8
|
+
var t = "fas";
|
|
9
|
+
return `${t} fa-${e} fa-fw`;
|
|
10
|
+
}, A = (e, t, l, a) => e ? `padding-right: ${a == "small" ? "0.75rem" : "0.625rem"}; padding-left: ${a == "small" ? "0.25rem" : "0.125rem"};` : t ? `padding-right: ${a == "small" ? "0.5rem" : "0.375rem"}; padding-left: ${a == "small" ? "0.5rem" : "0.375rem"};` : l ? `padding-right: ${a == "small" ? "0.5rem" : "0.375rem"}; padding-left: ${a == "small" ? "0.75rem" : "0.625rem"};` : `padding-right: ${a == "small" ? "1rem" : "0.75rem"}; padding-left: ${a == "small" ? "1rem" : "0.75rem"};`, K = V.span`
|
|
12
11
|
cursor: pointer;
|
|
13
12
|
display: inline-flex;
|
|
14
|
-
height: ${(e) =>
|
|
15
|
-
${(e) => e.disabled === !0 &&
|
|
16
|
-
background-color: ${(e) => !e.disabled &&
|
|
13
|
+
height: ${(e) => h(e.theme, e.size)};
|
|
14
|
+
${(e) => e.disabled === !0 && j(e.theme)};
|
|
15
|
+
background-color: ${(e) => !e.disabled && r(
|
|
17
16
|
e.theme,
|
|
18
17
|
"Chip",
|
|
19
18
|
e.color,
|
|
@@ -21,15 +20,15 @@ const h = (e) => {
|
|
|
21
20
|
"background",
|
|
22
21
|
"backgroundOpacity"
|
|
23
22
|
)};
|
|
24
|
-
color: ${(e) => !e.disabled &&
|
|
23
|
+
color: ${(e) => !e.disabled && r(e.theme, "Chip", e.color, "enabled", "text")};
|
|
25
24
|
font-weight: ${(e) => e.theme.typography.fontWeightBold};
|
|
26
|
-
${(e) =>
|
|
25
|
+
${(e) => A(e.avatar, e.leadingIcon, e.trailingIcon, e.size)}
|
|
27
26
|
gap: 0.375rem;
|
|
28
|
-
border-radius: ${(e) =>
|
|
27
|
+
border-radius: ${(e) => B(e.theme, e.borderRadius)};
|
|
29
28
|
justify-content: center;
|
|
30
29
|
align-items: center;
|
|
31
|
-
${(e) =>
|
|
32
|
-
backdrop-filter: ${(e) =>
|
|
30
|
+
${(e) => D(e.theme, "Chip", e.size, "enabled")};
|
|
31
|
+
backdrop-filter: ${(e) => F(
|
|
33
32
|
e.theme,
|
|
34
33
|
"Chip",
|
|
35
34
|
e.color,
|
|
@@ -38,7 +37,7 @@ const h = (e) => {
|
|
|
38
37
|
)};
|
|
39
38
|
|
|
40
39
|
&:hover {
|
|
41
|
-
background-color: ${(e) => !e.disabled &&
|
|
40
|
+
background-color: ${(e) => !e.disabled && r(
|
|
42
41
|
e.theme,
|
|
43
42
|
"Chip",
|
|
44
43
|
e.color,
|
|
@@ -48,7 +47,7 @@ const h = (e) => {
|
|
|
48
47
|
)};
|
|
49
48
|
}
|
|
50
49
|
&:focus {
|
|
51
|
-
background-color: ${(e) => !e.disabled &&
|
|
50
|
+
background-color: ${(e) => !e.disabled && r(
|
|
52
51
|
e.theme,
|
|
53
52
|
"Chip",
|
|
54
53
|
e.color,
|
|
@@ -56,10 +55,10 @@ const h = (e) => {
|
|
|
56
55
|
"background",
|
|
57
56
|
"backgroundOpacity"
|
|
58
57
|
)};
|
|
59
|
-
${(e) => !e.disabled &&
|
|
58
|
+
${(e) => !e.disabled && T(e.theme)};
|
|
60
59
|
}
|
|
61
60
|
&:active {
|
|
62
|
-
background-color: ${(e) => !e.disabled &&
|
|
61
|
+
background-color: ${(e) => !e.disabled && r(
|
|
63
62
|
e.theme,
|
|
64
63
|
"Chip",
|
|
65
64
|
e.color,
|
|
@@ -68,123 +67,86 @@ const h = (e) => {
|
|
|
68
67
|
"backgroundOpacity"
|
|
69
68
|
)};
|
|
70
69
|
}
|
|
71
|
-
`,
|
|
70
|
+
`, L = (e, t) => `calc(${h(e, t)} - 8px)`, M = S((e, t) => {
|
|
72
71
|
const {
|
|
73
72
|
label: l,
|
|
74
|
-
leadingIcon:
|
|
75
|
-
trailingIcon:
|
|
73
|
+
leadingIcon: a,
|
|
74
|
+
trailingIcon: i,
|
|
76
75
|
avatar: d = !1,
|
|
77
|
-
size:
|
|
78
|
-
borderRadius:
|
|
79
|
-
disabled:
|
|
80
|
-
tabIndex:
|
|
76
|
+
size: n = "small",
|
|
77
|
+
borderRadius: b = "regular",
|
|
78
|
+
disabled: c = !1,
|
|
79
|
+
tabIndex: f = 0,
|
|
81
80
|
//----------------
|
|
82
|
-
onFocus:
|
|
81
|
+
onFocus: $ = () => {
|
|
83
82
|
},
|
|
84
|
-
onBlur:
|
|
83
|
+
onBlur: C = () => {
|
|
85
84
|
},
|
|
86
85
|
onClick: k = () => {
|
|
87
86
|
},
|
|
88
|
-
onKeyDown:
|
|
87
|
+
onKeyDown: y = () => {
|
|
89
88
|
},
|
|
90
|
-
onLeadingIconClick:
|
|
89
|
+
onLeadingIconClick: v = () => {
|
|
91
90
|
},
|
|
92
|
-
onTrailingIconClick:
|
|
91
|
+
onTrailingIconClick: I = () => {
|
|
93
92
|
},
|
|
94
93
|
//----------------
|
|
95
|
-
className:
|
|
96
|
-
style:
|
|
97
|
-
color:
|
|
98
|
-
avatarProps:
|
|
99
|
-
children:
|
|
100
|
-
...
|
|
101
|
-
} = e,
|
|
102
|
-
theme:
|
|
103
|
-
color:
|
|
104
|
-
style:
|
|
105
|
-
size:
|
|
106
|
-
className: "lnc-ui-chip " +
|
|
94
|
+
className: p = "",
|
|
95
|
+
style: x = {},
|
|
96
|
+
color: O = "primary",
|
|
97
|
+
avatarProps: R,
|
|
98
|
+
children: w,
|
|
99
|
+
...N
|
|
100
|
+
} = e, s = W(), m = {
|
|
101
|
+
theme: s,
|
|
102
|
+
color: O,
|
|
103
|
+
style: x,
|
|
104
|
+
size: n,
|
|
105
|
+
className: "lnc-ui-chip " + p
|
|
107
106
|
};
|
|
108
|
-
return /* @__PURE__ */
|
|
109
|
-
|
|
107
|
+
return /* @__PURE__ */ g(
|
|
108
|
+
K,
|
|
110
109
|
{
|
|
111
|
-
ref:
|
|
112
|
-
size:
|
|
113
|
-
...
|
|
114
|
-
trailingIcon:
|
|
115
|
-
leadingIcon:
|
|
110
|
+
ref: t,
|
|
111
|
+
size: n,
|
|
112
|
+
...m,
|
|
113
|
+
trailingIcon: i,
|
|
114
|
+
leadingIcon: a,
|
|
116
115
|
avatar: d,
|
|
117
|
-
borderRadius:
|
|
118
|
-
disabled:
|
|
119
|
-
tabIndex:
|
|
116
|
+
borderRadius: b,
|
|
117
|
+
disabled: c,
|
|
118
|
+
tabIndex: f,
|
|
120
119
|
onClick: k,
|
|
121
|
-
onKeyDown:
|
|
122
|
-
onBlur:
|
|
123
|
-
onFocus:
|
|
124
|
-
...
|
|
120
|
+
onKeyDown: y,
|
|
121
|
+
onBlur: C,
|
|
122
|
+
onFocus: $,
|
|
123
|
+
...N,
|
|
125
124
|
children: [
|
|
126
|
-
d && /* @__PURE__ */
|
|
127
|
-
|
|
125
|
+
d && /* @__PURE__ */ o(
|
|
126
|
+
U,
|
|
128
127
|
{
|
|
129
|
-
...
|
|
130
|
-
disabled:
|
|
131
|
-
sizeInUnits:
|
|
132
|
-
...
|
|
128
|
+
...m,
|
|
129
|
+
disabled: c,
|
|
130
|
+
sizeInUnits: L(s, n),
|
|
131
|
+
...R
|
|
133
132
|
}
|
|
134
133
|
),
|
|
135
|
-
|
|
136
|
-
/* @__PURE__ */
|
|
134
|
+
a && /* @__PURE__ */ o("i", { className: u(a), onClick: v }),
|
|
135
|
+
/* @__PURE__ */ g(P, { children: [
|
|
137
136
|
l,
|
|
138
|
-
|
|
137
|
+
w
|
|
139
138
|
] }),
|
|
140
|
-
|
|
139
|
+
i && /* @__PURE__ */ o(
|
|
141
140
|
"i",
|
|
142
141
|
{
|
|
143
|
-
className:
|
|
144
|
-
onClick:
|
|
142
|
+
className: u(i),
|
|
143
|
+
onClick: I
|
|
145
144
|
}
|
|
146
145
|
)
|
|
147
146
|
]
|
|
148
147
|
}
|
|
149
148
|
);
|
|
150
149
|
});
|
|
151
|
-
q.propTypes = {
|
|
152
|
-
label: a.string,
|
|
153
|
-
leadingIcon: a.string,
|
|
154
|
-
trailingIcon: a.string,
|
|
155
|
-
avatar: a.bool,
|
|
156
|
-
borderRadius: a.oneOf([
|
|
157
|
-
"slight",
|
|
158
|
-
"regular",
|
|
159
|
-
"edged",
|
|
160
|
-
"curved",
|
|
161
|
-
"none"
|
|
162
|
-
]),
|
|
163
|
-
disabled: a.bool,
|
|
164
|
-
tabIndex: a.number,
|
|
165
|
-
//---------------------------------------------------------------
|
|
166
|
-
onBlur: a.func,
|
|
167
|
-
onFocus: a.func,
|
|
168
|
-
onClick: a.func,
|
|
169
|
-
onKeyDown: a.func,
|
|
170
|
-
onLeadingIconClick: a.func,
|
|
171
|
-
onTrailingIconClick: a.func,
|
|
172
|
-
//---------------------------------------------------------------
|
|
173
|
-
className: a.string,
|
|
174
|
-
style: a.object,
|
|
175
|
-
color: a.oneOf([
|
|
176
|
-
"primary",
|
|
177
|
-
"secondary",
|
|
178
|
-
"success",
|
|
179
|
-
"warning",
|
|
180
|
-
"danger",
|
|
181
|
-
"information",
|
|
182
|
-
"neutral",
|
|
183
|
-
"gray"
|
|
184
|
-
]),
|
|
185
|
-
size: a.oneOf(["small", "medium", "large"]),
|
|
186
|
-
avatarProps: a.any
|
|
187
|
-
};
|
|
188
150
|
export {
|
|
189
|
-
|
|
151
|
+
M as default
|
|
190
152
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),a=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./Icon.cjs"),d=require("./utils-RnrgDDZP.cjs"),z=require("./Modal.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),B=u.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 1rem;
|
|
4
4
|
align-items: center;
|
|
5
5
|
${e=>e.type=="centered"&&"flex-direction: column; gap: 1.25rem;"}
|
|
6
6
|
& .alert-icon {
|
|
7
7
|
font-size: 2.2rem;
|
|
8
|
-
color: ${e=>
|
|
8
|
+
color: ${e=>d.getColorRgbaValue(e.theme,"ConfirmationForm",e.color,"enabled","icon")};
|
|
9
9
|
}
|
|
10
10
|
${e=>e.type=="centered"&&"padding-top: 0.5rem;"}
|
|
11
|
-
`,
|
|
11
|
+
`,E=u.styled.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: ${e=>e.type=="regular"?"row":"column"};
|
|
14
14
|
width: 100%;
|
|
15
15
|
flex: 1;
|
|
16
16
|
gap: 0.5rem;
|
|
17
|
-
justify-content: ${e=>
|
|
17
|
+
justify-content: ${e=>V(e.actionsAlignment)};
|
|
18
18
|
${e=>e.type=="regular"&&"height: 4rem; border-radius: 0 0 16px 16px; padding: 0.75rem 1.5rem 0.75rem 1.5rem;"}
|
|
19
19
|
${e=>e.type=="regular"&&e.actionsTrack==!1&&"padding: 0 1.5rem 1.5rem 1.5rem;"}
|
|
20
|
-
${e=>e.type=="regular"&&e.actionsTrack==!0&&`background-color: ${
|
|
20
|
+
${e=>e.type=="regular"&&e.actionsTrack==!0&&`background-color: ${d.getColorRgbaValue(e.theme,"ConfirmationForm","primary","enabled","trackBg")};`}
|
|
21
21
|
${e=>e.type=="centered"&&"padding: 1rem 0 0.5rem 0;"}
|
|
22
|
-
`,
|
|
22
|
+
`,V=e=>e=="right"?"end":e=="left"?"start":"center",M=a.forwardRef((e,g)=>{const{color:f,statusIcon:y=!0,title:p,type:o="regular",actions:h,actionsAlignment:x="right",actionsTrack:j=!1,overlay:k=!0,showCloseButton:$=!0,onClose:b=()=>{},zIndex:C=1e3,size:T="fluid",clickOutsideToClose:q=!1,className:w="",style:A={},overlayProps:N,rest:v}=e;let i={theme:S.useTheme(),size:T,zIndex:C,className:"lnc-ui-confirmation-form "+w,style:A};const R=r=>r=="danger"?"times-circle":r=="warning"?"exclamation-triangle":r=="success"?"check-circle":"exclamation-circle",F=({statusIcon:r,color:n})=>typeof r=="boolean"&&r==!0?t.jsx(m,{className:"alert-icon",icon:R(n)}):typeof r=="string"&&r!==""?t.jsx(m,{className:"alert-icon",icon:r}):a.cloneElement(r,{className:"alert-icon "+(r==null?void 0:r.className)}),P=({statusIcon:r,color:n,title:c,type:l,themeProps:s})=>t.jsxs(B,{...s,color:n,type:l,children:[t.jsx(F,{statusIcon:r,color:n}),t.jsx("h3",{children:c})]}),_=({actions:r,type:n,actionsAlignment:c,actionsTrack:l,themeProps:s})=>t.jsx(E,{type:n,actionsAlignment:c,actionsTrack:l,...s,children:r});return t.jsx(z,{ref:g,...i,header:o=="regular"?t.jsx(P,{statusIcon:y,color:f,title:p,type:o,themeProps:i}):null,footer:o=="regular"?t.jsx(_,{actions:h,type:o,actionsAlignment:x,actionsTrack:j,themeProps:i}):null,overlay:k,showCloseButton:$,onClose:b,clickOutsideToClose:q,overlayProps:N,...v,children:t.jsx("div",{children:"okej"})})});module.exports=M;
|
package/dist/ConfirmationForm.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t, jsxs as R } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S, cloneElement as E } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
|
+
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
4
|
import m from "./Icon.js";
|
|
6
5
|
import { b as d } from "./utils-DtEfC-TX.js";
|
|
7
6
|
import M from "./Modal.js";
|
|
8
|
-
import { u as
|
|
9
|
-
const
|
|
7
|
+
import { u as O } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
+
const V = s.div`
|
|
10
9
|
display: flex;
|
|
11
10
|
gap: 1rem;
|
|
12
11
|
align-items: center;
|
|
@@ -22,13 +21,13 @@ const q = f.div`
|
|
|
22
21
|
)};
|
|
23
22
|
}
|
|
24
23
|
${(e) => e.type == "centered" && "padding-top: 0.5rem;"}
|
|
25
|
-
`,
|
|
24
|
+
`, q = s.div`
|
|
26
25
|
display: flex;
|
|
27
26
|
flex-direction: ${(e) => e.type == "regular" ? "row" : "column"};
|
|
28
27
|
width: 100%;
|
|
29
28
|
flex: 1;
|
|
30
29
|
gap: 0.5rem;
|
|
31
|
-
justify-content: ${(e) =>
|
|
30
|
+
justify-content: ${(e) => D(e.actionsAlignment)};
|
|
32
31
|
${(e) => e.type == "regular" && "height: 4rem; border-radius: 0 0 16px 16px; padding: 0.75rem 1.5rem 0.75rem 1.5rem;"}
|
|
33
32
|
${(e) => e.type == "regular" && e.actionsTrack == !1 && "padding: 0 1.5rem 1.5rem 1.5rem;"}
|
|
34
33
|
${(e) => e.type == "regular" && e.actionsTrack == !0 && `background-color: ${d(
|
|
@@ -39,131 +38,90 @@ const q = f.div`
|
|
|
39
38
|
"trackBg"
|
|
40
39
|
)};`}
|
|
41
40
|
${(e) => e.type == "centered" && "padding: 1rem 0 0.5rem 0;"}
|
|
42
|
-
`,
|
|
41
|
+
`, D = (e) => e == "right" ? "end" : e == "left" ? "start" : "center", X = S((e, f) => {
|
|
43
42
|
const {
|
|
44
|
-
color:
|
|
43
|
+
color: u,
|
|
45
44
|
statusIcon: g = !0,
|
|
46
|
-
title:
|
|
47
|
-
type:
|
|
48
|
-
actions:
|
|
49
|
-
actionsAlignment:
|
|
50
|
-
actionsTrack:
|
|
51
|
-
overlay:
|
|
52
|
-
showCloseButton:
|
|
53
|
-
onClose:
|
|
45
|
+
title: p,
|
|
46
|
+
type: o = "regular",
|
|
47
|
+
actions: y,
|
|
48
|
+
actionsAlignment: h = "right",
|
|
49
|
+
actionsTrack: x = !1,
|
|
50
|
+
overlay: k = !0,
|
|
51
|
+
showCloseButton: $ = !0,
|
|
52
|
+
onClose: T = () => {
|
|
54
53
|
},
|
|
55
|
-
zIndex:
|
|
56
|
-
size:
|
|
57
|
-
clickOutsideToClose:
|
|
58
|
-
className:
|
|
59
|
-
style:
|
|
60
|
-
overlayProps:
|
|
61
|
-
|
|
62
|
-
rest: P
|
|
54
|
+
zIndex: C = 1e3,
|
|
55
|
+
size: b = "fluid",
|
|
56
|
+
clickOutsideToClose: A = !1,
|
|
57
|
+
className: N = "",
|
|
58
|
+
style: v = {},
|
|
59
|
+
overlayProps: w,
|
|
60
|
+
rest: j
|
|
63
61
|
} = e;
|
|
64
|
-
let
|
|
65
|
-
theme:
|
|
66
|
-
size:
|
|
67
|
-
zIndex:
|
|
68
|
-
className: "lnc-ui-confirmation-form " +
|
|
69
|
-
style:
|
|
62
|
+
let i = {
|
|
63
|
+
theme: O(),
|
|
64
|
+
size: b,
|
|
65
|
+
zIndex: C,
|
|
66
|
+
className: "lnc-ui-confirmation-form " + N,
|
|
67
|
+
style: v
|
|
70
68
|
};
|
|
71
|
-
const
|
|
72
|
-
className: "alert-icon " + (
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
] }),
|
|
77
|
-
actions:
|
|
69
|
+
const P = (r) => r == "danger" ? "times-circle" : r == "warning" ? "exclamation-triangle" : r == "success" ? "check-circle" : "exclamation-circle", z = ({ statusIcon: r, color: n }) => typeof r == "boolean" && r == !0 ? /* @__PURE__ */ t(m, { className: "alert-icon", icon: P(n) }) : typeof r == "string" && r !== "" ? /* @__PURE__ */ t(m, { className: "alert-icon", icon: r }) : E(r, {
|
|
70
|
+
className: "alert-icon " + (r == null ? void 0 : r.className)
|
|
71
|
+
}), F = ({ statusIcon: r, color: n, title: l, type: c, themeProps: a }) => /* @__PURE__ */ R(V, { ...a, color: n, type: c, children: [
|
|
72
|
+
/* @__PURE__ */ t(z, { statusIcon: r, color: n }),
|
|
73
|
+
/* @__PURE__ */ t("h3", { children: l })
|
|
74
|
+
] }), B = ({
|
|
75
|
+
actions: r,
|
|
78
76
|
type: n,
|
|
79
|
-
actionsAlignment:
|
|
77
|
+
actionsAlignment: l,
|
|
80
78
|
actionsTrack: c,
|
|
81
|
-
themeProps:
|
|
82
|
-
}) => /* @__PURE__ */
|
|
83
|
-
|
|
79
|
+
themeProps: a
|
|
80
|
+
}) => /* @__PURE__ */ t(
|
|
81
|
+
q,
|
|
84
82
|
{
|
|
85
83
|
type: n,
|
|
86
|
-
actionsAlignment:
|
|
84
|
+
actionsAlignment: l,
|
|
87
85
|
actionsTrack: c,
|
|
88
|
-
...
|
|
89
|
-
children:
|
|
86
|
+
...a,
|
|
87
|
+
children: r
|
|
90
88
|
}
|
|
91
89
|
);
|
|
92
|
-
return /* @__PURE__ */
|
|
90
|
+
return /* @__PURE__ */ t(
|
|
93
91
|
M,
|
|
94
92
|
{
|
|
95
|
-
ref:
|
|
96
|
-
...
|
|
97
|
-
header:
|
|
98
|
-
|
|
93
|
+
ref: f,
|
|
94
|
+
...i,
|
|
95
|
+
header: o == "regular" ? /* @__PURE__ */ t(
|
|
96
|
+
F,
|
|
99
97
|
{
|
|
100
98
|
statusIcon: g,
|
|
101
|
-
color:
|
|
102
|
-
title:
|
|
103
|
-
type:
|
|
104
|
-
themeProps:
|
|
99
|
+
color: u,
|
|
100
|
+
title: p,
|
|
101
|
+
type: o,
|
|
102
|
+
themeProps: i
|
|
105
103
|
}
|
|
106
104
|
) : null,
|
|
107
|
-
footer:
|
|
108
|
-
|
|
105
|
+
footer: o == "regular" ? /* @__PURE__ */ t(
|
|
106
|
+
B,
|
|
109
107
|
{
|
|
110
|
-
actions:
|
|
111
|
-
type:
|
|
112
|
-
actionsAlignment:
|
|
113
|
-
actionsTrack:
|
|
114
|
-
themeProps:
|
|
108
|
+
actions: y,
|
|
109
|
+
type: o,
|
|
110
|
+
actionsAlignment: h,
|
|
111
|
+
actionsTrack: x,
|
|
112
|
+
themeProps: i
|
|
115
113
|
}
|
|
116
114
|
) : null,
|
|
117
|
-
overlay:
|
|
118
|
-
showCloseButton:
|
|
119
|
-
onClose:
|
|
120
|
-
clickOutsideToClose:
|
|
121
|
-
overlayProps:
|
|
122
|
-
...
|
|
123
|
-
children: /* @__PURE__ */
|
|
115
|
+
overlay: k,
|
|
116
|
+
showCloseButton: $,
|
|
117
|
+
onClose: T,
|
|
118
|
+
clickOutsideToClose: A,
|
|
119
|
+
overlayProps: w,
|
|
120
|
+
...j,
|
|
121
|
+
children: /* @__PURE__ */ t("div", { children: "okej" })
|
|
124
122
|
}
|
|
125
123
|
);
|
|
126
124
|
});
|
|
127
|
-
H.propTypes = {
|
|
128
|
-
color: r.oneOf([
|
|
129
|
-
"primary",
|
|
130
|
-
"secondary",
|
|
131
|
-
"success",
|
|
132
|
-
"danger",
|
|
133
|
-
"warning",
|
|
134
|
-
"information",
|
|
135
|
-
"neutral",
|
|
136
|
-
"gray"
|
|
137
|
-
]),
|
|
138
|
-
/**
|
|
139
|
-
* Can be boolean (true - display default icon, false - don't display icon at all), string (display custom icon), element (display custom element as icon)
|
|
140
|
-
*/
|
|
141
|
-
statusIcon: r.oneOfType([
|
|
142
|
-
r.string,
|
|
143
|
-
r.element,
|
|
144
|
-
r.bool
|
|
145
|
-
]),
|
|
146
|
-
title: r.oneOfType([r.string, r.element]),
|
|
147
|
-
type: r.oneOf(["regular", "centered"]),
|
|
148
|
-
actions: r.element,
|
|
149
|
-
/**
|
|
150
|
-
* Aligmnent of actions when `type="regular"`
|
|
151
|
-
*/
|
|
152
|
-
actionsAlignment: r.oneOf(["right", "center", "left"]),
|
|
153
|
-
/**
|
|
154
|
-
* Defines whether actions will be inside a track
|
|
155
|
-
*/
|
|
156
|
-
actionsTrack: r.bool,
|
|
157
|
-
showCloseButton: r.bool,
|
|
158
|
-
overlay: r.bool,
|
|
159
|
-
onClose: r.func,
|
|
160
|
-
zIndex: r.number,
|
|
161
|
-
clickOutsideToClose: r.bool,
|
|
162
|
-
className: r.string,
|
|
163
|
-
style: r.object,
|
|
164
|
-
size: r.oneOf(["fluid", "xs", "s", "m", "l", "xl", "full"]),
|
|
165
|
-
overlayProps: r.any
|
|
166
|
-
};
|
|
167
125
|
export {
|
|
168
|
-
|
|
126
|
+
X as default
|
|
169
127
|
};
|
package/dist/ContactSection.cjs
CHANGED
package/dist/ContactSection.js
CHANGED
package/dist/Content.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),c=require("react"),e=c.forwardRef((t,n)=>{const{children:r,...s}=t;return o.jsx("main",{ref:n,...s,children:r})});e.displayName="Content";module.exports=e;
|
package/dist/Content.js
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
return /* @__PURE__ */ p("main", { ref: o, ...n, children: e });
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
const m = a((t, r) => {
|
|
4
|
+
const { children: o, ...e } = t;
|
|
5
|
+
return /* @__PURE__ */ n("main", { ref: r, ...e, children: o });
|
|
7
6
|
});
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Do not override this property.
|
|
11
|
-
* Should only be used as indicator for type if you are passing custom component.
|
|
12
|
-
*/
|
|
13
|
-
__TYPE__: m.string
|
|
14
|
-
};
|
|
15
|
-
r.displayName = "Content";
|
|
7
|
+
m.displayName = "Content";
|
|
16
8
|
export {
|
|
17
|
-
|
|
9
|
+
m as default
|
|
18
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as P } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import v from "react";
|
|
3
|
-
import { u as D, p as O } from "./SearchSection-
|
|
3
|
+
import { u as D, p as O } from "./SearchSection-DAaMecR4.js";
|
|
4
4
|
function b(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|