@lanaco/lnc-react-ui 4.0.105 → 4.0.107
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 +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.cjs +3 -2
- package/dist/BannerSectionCarousel.js +3 -2
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +3 -3
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +3 -3
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +2 -2
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.cjs +1 -1
- package/dist/BlogSingleSection.js +2 -2
- 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 +1 -1
- package/dist/BlogsSectionWithFilters.js +4 -4
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +1 -1
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.cjs +6 -4
- package/dist/Button.js +12 -3
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +10 -6
- package/dist/ColorInput.js +117 -87
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-DYULk9y7.js → CustomStyles-Dd8IsVV6.js} +1 -1
- package/dist/{CustomStyles-Uqkz9jDo.cjs → CustomStyles-DtKDPOdk.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.cjs +28 -24
- package/dist/DecimalInput.js +315 -285
- package/dist/DecimalInputV2.cjs +23 -19
- package/dist/DecimalInputV2.js +124 -94
- package/dist/DetailedProductsSection.cjs +5 -5
- package/dist/DetailedProductsSection.js +39 -38
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FeedbackSection.cjs +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
- package/dist/FieldOfInterestsMasonrySection.js +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
- package/dist/FileInput.cjs +25 -20
- package/dist/FileInput.js +86 -55
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +1 -1
- package/dist/GeneralWithTagsCardsSection.js +1 -1
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +2 -2
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +1 -1
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- 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 +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +23 -19
- package/dist/NumberInput.js +116 -86
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +2 -2
- package/dist/PasswordInput.cjs +23 -19
- package/dist/PasswordInput.js +94 -64
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.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 +1 -1
- package/dist/QuattroCardsSection.cjs +1 -1
- package/dist/QuattroCardsSection.js +1 -1
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +8 -8
- package/dist/RangeSlider.js +19 -17
- package/dist/ReviewsSection.cjs +1 -1
- package/dist/ReviewsSection.js +2 -2
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +2 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +3 -3
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.cjs +15 -12
- package/dist/TextAreaInput.js +70 -54
- package/dist/TextInput.cjs +23 -19
- package/dist/TextInput.js +90 -60
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.cjs +7 -5
- package/dist/TimeInput.js +47 -32
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{index-C4gGt12B.cjs → index-B30K8mkW.cjs} +1 -1
- package/dist/{index-Kx8irvHH.js → index-BBMleFo5.js} +1 -1
- package/dist/{index-BRgZcjpI.cjs → index-BvSNRLNa.cjs} +1 -1
- package/dist/{index-C_T-BQ5p.cjs → index-C1DkD2ug.cjs} +1 -1
- package/dist/{index-DMysapsB.cjs → index-C9GK00PM.cjs} +1 -1
- package/dist/{index-Dcw6ecHw.js → index-CEI_JOki.js} +2 -2
- package/dist/{index-BPgWhA1t.js → index-CQLF61YV.js} +1 -1
- package/dist/{index-Cru8Sd2q.js → index-CTJpJFtr.js} +2 -2
- package/dist/{index-DZDz9qZP.cjs → index-Cg4t3q_p.cjs} +1 -1
- package/dist/{index-D86vS9UF.js → index-YGcWbzeb.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{skeleton-BrUEdt6Z.js → skeleton-CkTNgaA3.js} +2 -2
- package/dist/{skeleton-BcaMeKFQ.cjs → skeleton-CoErfoMc.cjs} +1 -1
- package/dist/{skeleton-TrselJrj.js → skeleton-DWZNwK33.js} +1 -1
- package/dist/{skeleton-DwZzdFei.cjs → skeleton-DdlE-y3C.cjs} +1 -1
- package/dist/{style-LEmcTrN9.js → style-08foMKSd.js} +1 -1
- package/dist/{style-Bjk6yHcP.cjs → style-JqDQj4jh.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-B2swGa6t.cjs → suspense-categories-card-simple-B5zd-nnm.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-BCn3U1cz.js → suspense-categories-card-simple-Ds6hXZKt.js} +1 -1
- package/dist/{suspense-large-DgzTM-qh.js → suspense-large-BM9s_kZP.js} +1 -1
- package/dist/{suspense-large-DMhn-lIG.cjs → suspense-large-CtcwWswP.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-BNOhu3Z4.cjs → suspense-product-card-detailed-DXwya4fQ.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-BDkww9pS.js → suspense-product-card-detailed-bYBpLiXc.js} +2 -2
- package/dist/{suspense-product-card-simple-BxDjW7gR.cjs → suspense-product-card-simple-Ba1UPqgy.cjs} +1 -1
- package/dist/{suspense-product-card-simple-CQ1qPZOa.js → suspense-product-card-simple-ib6FLerL.js} +1 -1
- package/dist/{utils-BXCGNjIy.js → utils-BbgAIA9N.js} +51 -13
- package/dist/utils-CZynEOC_.cjs +51 -0
- package/package.json +1 -1
- package/dist/utils-BWzf4vLl.cjs +0 -51
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),d=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),B=require("./useDetectMobile-zkbzoOGV.cjs"),c=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),B=require("./useDetectMobile-zkbzoOGV.cjs"),c=require("./utils-CZynEOC_.cjs"),M=require("./style-JqDQj4jh.cjs"),R=require("./Button.cjs"),W=require("./Link.cjs"),A=require("./index-BvSNRLNa.cjs"),I=require("./index-C1DkD2ug.cjs"),P=p.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -3,12 +3,12 @@ import { forwardRef as f, Suspense as A, memo as I, useMemo as O } from "react";
|
|
|
3
3
|
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as C } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as R } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { o as h, p as j, k as y } from "./utils-
|
|
7
|
-
import { T as E } from "./style-
|
|
6
|
+
import { o as h, p as j, k as y } from "./utils-BbgAIA9N.js";
|
|
7
|
+
import { T as E } from "./style-08foMKSd.js";
|
|
8
8
|
import F from "./Button.js";
|
|
9
9
|
import L from "./Link.js";
|
|
10
|
-
import { P as U } from "./index-
|
|
11
|
-
import { S as _ } from "./index-
|
|
10
|
+
import { P as U } from "./index-YGcWbzeb.js";
|
|
11
|
+
import { S as _ } from "./index-CQLF61YV.js";
|
|
12
12
|
const D = b.div`
|
|
13
13
|
display: grid;
|
|
14
14
|
grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),p=require("react"),c=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("react"),c=require("./utils-CZynEOC_.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),h=o.styled.div`
|
|
2
2
|
width: 7.5rem;
|
|
3
3
|
height: auto;
|
|
4
4
|
max-height: 7.5rem;
|
package/dist/BrandHitsSection.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as o } from "react";
|
|
3
|
-
import { o as c, l as s } from "./utils-
|
|
3
|
+
import { o as c, l as s } from "./utils-BbgAIA9N.js";
|
|
4
4
|
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { M as l } from "./consts-BuFChS64.js";
|
|
6
6
|
const g = d.div`
|
package/dist/Breadcrumbs.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BPVoEhTF.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BPVoEhTF.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-CZynEOC_.cjs"),S=require("./Icon.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),z=u.styled.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
${o=>g.getComponentTypographyCss(o.theme,"Breadcrumbs",o.size,"enabled")};
|
package/dist/Breadcrumbs.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as u, Fragment as A } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as N, useState as O } from "react";
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { c as P, b as S } from "./utils-
|
|
5
|
+
import { c as P, b as S } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import v from "./Icon.js";
|
|
7
7
|
import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const $ = c.div`
|
package/dist/Button.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),w=require("react"),l=require("./index-BPVoEhTF.cjs"),k=require("./index-DAOBjHnD.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CZynEOC_.cjs"),I=require("./Icon.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f={small:{regular:"1rem",icon:"0.75rem",justIcon:"0.5rem"},medium:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"},large:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"}},T=e=>`
|
|
2
2
|
outline: none;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -82,9 +82,11 @@
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
&:disabled {
|
|
85
|
-
${e=>e.disabled===!0&&t.getDisabledStateCss(e.theme)};
|
|
85
|
+
/* ${e=>e.disabled===!0&&t.getDisabledStateCss(e.theme)};
|
|
86
|
+
*/
|
|
87
|
+
color: ${e=>t.getColorRgbaValue(e.theme,"ButtonTinted",e.color,"disabled","text")};
|
|
86
88
|
cursor: default;
|
|
87
|
-
background-color: ${e=>t.getColorRgbaValue(e.theme,"ButtonTinted","gray","disabled","background")};
|
|
89
|
+
background-color: ${e=>t.getColorRgbaValue(e.theme,"ButtonTinted","gray","disabled","background","backgroundOpacity")};
|
|
88
90
|
}
|
|
89
91
|
`,v=d.styled.button`
|
|
90
92
|
${e=>T(e)}
|
|
@@ -124,4 +126,4 @@
|
|
|
124
126
|
`,L=d.styled(v)`
|
|
125
127
|
border: 1px solid
|
|
126
128
|
${e=>t.getColorRgbaValue(e.theme,"ButtonBasic",e.color,"enabled","border","borderOpacity")};
|
|
127
|
-
`,j=w.forwardRef((e,u)=>{const{text:x="",iconStyle:R="solid",leadingIcon:V=null,trailingIcon:z=null,borderRadius:F="regular",btnType:
|
|
129
|
+
`,j=w.forwardRef((e,u)=>{const{text:x="",iconStyle:R="solid",leadingIcon:V=null,trailingIcon:z=null,borderRadius:F="regular",btnType:a="filled",disabled:N=!1,tabIndex:s=0,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,onLeadingIconClick:_,onTrailingIconClick:K,size:C="small",color:i="primary",className:$="",style:S={},children:U,...y}=e,o={theme:P.useTheme(),color:i,size:C,style:S,disabled:N,borderRadius:F,btnType:a,className:"lnc-ui-button "},c=!k.isEmpty(V),r=!k.isEmpty(z),q=!k.isEmpty(x),B=()=>n.jsxs(n.Fragment,{children:[c&&n.jsx(W,{size:C,children:n.jsx(I,{icon:V,sizeInUnits:"1.125rem",iconStyle:R})}),x,U,r&&n.jsx(D,{size:C,children:n.jsx(I,{icon:z,sizeInUnits:"1.125rem",iconStyle:R})})]});return a==="filled"?n.jsx(O,{ref:u,"data-type":"filled",...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,tabIndex:s,btnType:a,...y,children:B()}):a==="tinted"?n.jsx(E,{ref:u,"data-type":"tinted",...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,tabIndex:s,btnType:a,...y,children:B()}):a==="outline"?n.jsx(L,{ref:u,"data-type":"outline",...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,tabIndex:s,btnType:a,...y,children:B()}):a==="basic"?n.jsx(v,{ref:u,"data-type":"basic",...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,tabIndex:s,btnType:a,...y,children:B()}):n.jsx(O,{ref:u,"data-type":"filled",size:C,...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,hasText:q,tabIndex:s,btnType:a,...y,children:B()})});j.propTypes={text:l.PropTypes.string,iconStyle:l.PropTypes.oneOf(["regular","solid"]),leadingIcon:l.PropTypes.string,trailingIcon:l.PropTypes.string,borderRadius:l.PropTypes.oneOf(["slight","regular","edged","curved","none"]),btnType:l.PropTypes.oneOf(["filled","tinted","outline","basic"]),disabled:l.PropTypes.bool,tabIndex:l.PropTypes.number,onBlur:l.PropTypes.func,onFocus:l.PropTypes.func,onClick:l.PropTypes.func,onKeyDown:l.PropTypes.func,className:l.PropTypes.string,style:l.PropTypes.object,color:l.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:l.PropTypes.oneOf(["small","medium","large"])};module.exports=j;
|
package/dist/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as q } from "react";
|
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { i as T } from "./index-BlxaTV-D.js";
|
|
5
5
|
import { s as u } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
-
import { c as z, b as t, d as r, h as I, e as v, a as A } from "./utils-
|
|
6
|
+
import { c as z, b as t, d as r, h as I, e as v, a as A } from "./utils-BbgAIA9N.js";
|
|
7
7
|
import w from "./Icon.js";
|
|
8
8
|
import { u as G } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const x = {
|
|
@@ -231,14 +231,23 @@ const x = {
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
&:disabled {
|
|
234
|
-
${(e) => e.disabled === !0 && I(e.theme)};
|
|
234
|
+
/* ${(e) => e.disabled === !0 && I(e.theme)};
|
|
235
|
+
*/
|
|
236
|
+
color: ${(e) => t(
|
|
237
|
+
e.theme,
|
|
238
|
+
"ButtonTinted",
|
|
239
|
+
e.color,
|
|
240
|
+
"disabled",
|
|
241
|
+
"text"
|
|
242
|
+
)};
|
|
235
243
|
cursor: default;
|
|
236
244
|
background-color: ${(e) => t(
|
|
237
245
|
e.theme,
|
|
238
246
|
"ButtonTinted",
|
|
239
247
|
"gray",
|
|
240
248
|
"disabled",
|
|
241
|
-
"background"
|
|
249
|
+
"background",
|
|
250
|
+
"backgroundOpacity"
|
|
242
251
|
)};
|
|
243
252
|
}
|
|
244
253
|
`, L = u.button`
|
package/dist/ButtonGroup.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),o=require("./utils-CZynEOC_.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),s=a.styled.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
width: fit-content;
|
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { b as o, a as b } from "./utils-
|
|
4
|
+
import { b as o, a as b } from "./utils-BbgAIA9N.js";
|
|
5
5
|
import { u as l } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const s = i.div`
|
|
7
7
|
display: inline-flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-BPVoEhTF.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-BPVoEhTF.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-CZynEOC_.cjs"),D=b.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -9,7 +9,7 @@ import _ from "./DropdownItem.js";
|
|
|
9
9
|
import K from "./DropdownMenu.js";
|
|
10
10
|
import X from "./IconButton.js";
|
|
11
11
|
import Z from "./BannerSectionWithList.js";
|
|
12
|
-
import { y as q } from "./utils-
|
|
12
|
+
import { y as q } from "./utils-BbgAIA9N.js";
|
|
13
13
|
const J = y.div`
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
package/dist/CheckBoxInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-BPVoEhTF.cjs"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-BPVoEhTF.cjs"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-CZynEOC_.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),V=e=>e=="left"?"row-reverse":"row",i=(e,s)=>`calc(${e.components.Checkbox.default.enabled.sizes[s]} / 2)`,O=R.styled.label`
|
|
2
2
|
-webkit-user-select: none;
|
|
3
3
|
-moz-user-select: none;
|
|
4
4
|
-ms-user-select: none;
|
package/dist/CheckBoxInput.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as k, jsx as i, Fragment as B } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as I } from "react";
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as j } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { d as g, c as L, b as n, a as N, e as x } from "./utils-
|
|
5
|
+
import { d as g, c as L, b as n, a as N, e as x } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const R = (e) => e == "left" ? "row-reverse" : "row", o = (e, d) => `calc(${e.components.Checkbox.default.enabled.sizes[d]} / 2)`, T = j.label`
|
|
8
8
|
-webkit-user-select: none;
|
package/dist/Chip.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-CZynEOC_.cjs"),O=require("./Avatar.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>{var o="fas";return`${o} fa-${e} fa-fw`},S=(e,o,l,a)=>e?`padding-right: ${a=="small"?"0.75rem":"0.625rem"}; padding-left: ${a=="small"?"0.25rem":"0.125rem"};`:o?`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"};`,F=w.styled.span`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
|
package/dist/Chip.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as u, jsx as c, Fragment as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as j } from "react";
|
|
3
3
|
import { P as a } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-
|
|
5
|
+
import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import W from "./Avatar.js";
|
|
7
7
|
import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const h = (e) => {
|
package/dist/ColorInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),m=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),n=require("./utils-CZynEOC_.cjs"),N=require("./index-DaiUAQVF.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),H=require("./useUpdateEffect-BtMgpgIV.cjs"),R=(e,o)=>`calc(${n.getSizeValueWithUnits(e,o)} - 1rem)`,L=P.styled.label`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 0.5rem;
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
padding: 0.625rem 0.75rem;
|
|
14
14
|
width: 100%;
|
|
15
15
|
${e=>!e.disabled&&e.readOnly!==!0&&e.isFocused===!0&&n.getOutlineCss(e.theme)};
|
|
16
|
-
${e=>e.disabled===!0&&n.getDisabledBackgroundCss(e.theme)}
|
|
16
|
+
/* ${e=>e.disabled===!0&&n.getDisabledBackgroundCss(e.theme)} */
|
|
17
|
+
${e=>e.disabled===!0&&`background-color: ${n.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
|
|
18
|
+
color: ${o=>n.getColorRgbaValue(o.theme,"Input",o.color,"disabled","text")};`}
|
|
17
19
|
border: 1px solid ${e=>n.getColorRgbaValue(e.theme,"Input",e.color,"disabled","border")};
|
|
18
20
|
`,G=P.styled.div`
|
|
19
21
|
${e=>!e.disabled&&e.readOnly!==!0&&"cursor: pointer;"}
|
|
@@ -32,8 +34,8 @@
|
|
|
32
34
|
}
|
|
33
35
|
${e=>e.disabled===!0&&`opacity: ${e.theme.palette.opacity[e.theme.palette.disabled.opacity]};`}
|
|
34
36
|
box-sizing: border-box;
|
|
35
|
-
min-width: ${e=>
|
|
36
|
-
height: ${e=>
|
|
37
|
+
min-width: ${e=>R(e.theme,e.size)};
|
|
38
|
+
height: ${e=>R(e.theme,e.size)};
|
|
37
39
|
border-radius: ${e=>n.getBorderRadiusValueWithUnits(e.theme,"curved")};
|
|
38
40
|
overflow: hidden;
|
|
39
41
|
& input[type="color"] {
|
|
@@ -43,7 +45,9 @@
|
|
|
43
45
|
height: 200%;
|
|
44
46
|
cursor: pointer;
|
|
45
47
|
transform: translate(-25%, -25%);
|
|
46
|
-
${e=>e.disabled===!0&&n.getDisabledStateCss(e.theme)};
|
|
48
|
+
/* ${e=>e.disabled===!0&&n.getDisabledStateCss(e.theme)}; */
|
|
49
|
+
${e=>e.disabled===!0&&`background-color: ${n.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
|
|
50
|
+
color: ${o=>n.getColorRgbaValue(o.theme,"Input",o.color,"disabled","text")};`}
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
`,J=P.styled.span`
|
|
@@ -57,4 +61,4 @@
|
|
|
57
61
|
background-color: transparent;
|
|
58
62
|
width: 100%;
|
|
59
63
|
}
|
|
60
|
-
`,
|
|
64
|
+
`,F=m.forwardRef((e,o)=>{const{id:u,name:y,defaultValue:I="#000000",value:r,size:w="small",tabIndex:p,withInput:f=!1,className:O="",style:S={},color:d="primary",debounceTime:j=0,readOnly:a,disabled:s,onChange:x=()=>{},onFocus:k=()=>{},onBlur:B=()=>{},onInput:U=()=>{},onKeyDown:q=()=>{},labelRef:W,inputProps:$,...V}=e,v=A.useTheme(),[c,C]=m.useState(r),[D,z]=m.useState(!1),E=new RegExp(/^#[0-9A-F]{6}$/i);H.useUpdateEffect(()=>C(r),[r]);const _=m.useCallback(N.debounce((l,T)=>K(l,T),j),[x]),K=(l,T)=>{x&&x(l,T)},h=l=>{r&&C(l.target.value),_(l,l.target.value)},b=l=>{z(!0),k(l)},g=l=>{E.test(c)||C(I),z(!1),B(l)};return i.jsx(G,{ref:o,theme:v,size:w,className:O,style:S,disabled:s,readOnly:a,withInput:f,...V,children:f?i.jsxs(L,{withInput:f,theme:v,color:d,size:w,disabled:s,readOnly:a,tabIndex:p,isFocused:D,children:[i.jsx("div",{children:i.jsx("input",{type:"color",ref:o,id:u,name:y,value:c,disabled:s||a,onChange:h,onBlur:g,onFocus:b,color:d,...$})}),i.jsx(J,{children:i.jsx("input",{ref:W,value:c,onChange:h,onFocus:b,onBlur:g,onInput:U,onKeyDown:q,disabled:s||a,...V})})]}):i.jsx("div",{children:r==null||r=="undefined"?i.jsx("input",{type:"color",ref:o,id:u,name:y,defaultValue:I,disabled:s||a,onChange:h,onBlur:g,onFocus:b,color:d,tabIndex:p,...$}):i.jsx("input",{type:"color",ref:o,id:u,name:y,value:c,disabled:s||a,onChange:h,onBlur:g,onFocus:b,color:d,tabIndex:p,...$})})})});F.propTypes={id:t.PropTypes.any,name:t.PropTypes.string,defaultValue:t.PropTypes.string,value:t.PropTypes.string,debounceTime:t.PropTypes.number,disabled:t.PropTypes.bool,readOnly:t.PropTypes.bool,tabIndex:t.PropTypes.number,preventDefault:t.PropTypes.bool,labelRef:t.PropTypes.any,inputProps:t.PropTypes.bool,withInput:t.PropTypes.bool,onChange:t.PropTypes.func,onBlur:t.PropTypes.func,onFocus:t.PropTypes.func,onInput:t.PropTypes.func,onKeyDown:t.PropTypes.func,className:t.PropTypes.string,style:t.PropTypes.object,size:t.PropTypes.oneOf(["small","medium","large"]),color:t.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=F;
|
package/dist/ColorInput.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as G, useState as
|
|
3
|
-
import { s as
|
|
1
|
+
import { jsx as o, jsxs as q } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as G, useState as S, useCallback as J } from "react";
|
|
3
|
+
import { s as z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
5
|
-
import { c as M, d, b as
|
|
5
|
+
import { c as M, d as u, b as l, a as T, e as C, f as Q, h as X } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import { d as Y } from "./index-CkWvbrVT.js";
|
|
7
7
|
import { u as Z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { u as _ } from "./useUpdateEffect-CuYWz7EA.js";
|
|
9
|
-
const
|
|
9
|
+
const R = (e, n) => `calc(${u(e, n)} - 1rem)`, ee = z.label`
|
|
10
10
|
display: inline-flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
gap: 0.5rem;
|
|
13
13
|
${(e) => M(e.theme, "Input", e.size, "enabled")};
|
|
14
|
-
min-height: ${(e) =>
|
|
15
|
-
max-height: ${(e) =>
|
|
16
|
-
background-color: ${(e) =>
|
|
14
|
+
min-height: ${(e) => u(e.theme, e.size)};
|
|
15
|
+
max-height: ${(e) => u(e.theme, e.size)};
|
|
16
|
+
background-color: ${(e) => l(
|
|
17
17
|
e.theme,
|
|
18
18
|
"Input",
|
|
19
19
|
e.color,
|
|
20
20
|
"enabled",
|
|
21
21
|
"background"
|
|
22
22
|
)};
|
|
23
|
-
color: ${(e) =>
|
|
23
|
+
color: ${(e) => l(
|
|
24
24
|
e.theme,
|
|
25
25
|
"Input",
|
|
26
26
|
e.isFocused ? "primary" : e.color,
|
|
@@ -28,23 +28,38 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
|
|
|
28
28
|
"text"
|
|
29
29
|
)};
|
|
30
30
|
border: 1px solid
|
|
31
|
-
${(e) =>
|
|
31
|
+
${(e) => l(
|
|
32
32
|
e.theme,
|
|
33
33
|
"Input",
|
|
34
34
|
e.isFocused ? "primary" : e.color,
|
|
35
35
|
"enabled",
|
|
36
36
|
"border"
|
|
37
37
|
)};
|
|
38
|
-
border-radius: ${(e) =>
|
|
38
|
+
border-radius: ${(e) => T(e.theme, "regular")};
|
|
39
39
|
padding: 0.625rem 0.75rem;
|
|
40
40
|
width: 100%;
|
|
41
41
|
${(e) => !e.disabled && e.readOnly !== !0 && e.isFocused === !0 && C(e.theme)};
|
|
42
|
-
${(e) => e.disabled === !0 && Q(e.theme)}
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
/* ${(e) => e.disabled === !0 && Q(e.theme)} */
|
|
43
|
+
${(e) => e.disabled === !0 && `background-color: ${l(
|
|
44
|
+
e.theme,
|
|
45
|
+
"Input",
|
|
46
|
+
e.color,
|
|
47
|
+
"disabled",
|
|
48
|
+
"background",
|
|
49
|
+
"backgroundOpacity"
|
|
50
|
+
)};
|
|
51
|
+
color: ${(n) => l(
|
|
52
|
+
n.theme,
|
|
53
|
+
"Input",
|
|
54
|
+
n.color,
|
|
55
|
+
"disabled",
|
|
56
|
+
"text"
|
|
57
|
+
)};`}
|
|
58
|
+
border: 1px solid ${(e) => l(e.theme, "Input", e.color, "disabled", "border")};
|
|
59
|
+
`, te = z.div`
|
|
45
60
|
${(e) => !e.disabled && e.readOnly !== !0 && "cursor: pointer;"}
|
|
46
|
-
min-height: ${(e) =>
|
|
47
|
-
max-height: ${(e) =>
|
|
61
|
+
min-height: ${(e) => u(e.theme, e.size)};
|
|
62
|
+
max-height: ${(e) => u(e.theme, e.size)};
|
|
48
63
|
display: inline-flex;
|
|
49
64
|
align-items: center;
|
|
50
65
|
justify-content: center;
|
|
@@ -58,9 +73,9 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
|
|
|
58
73
|
}
|
|
59
74
|
${(e) => e.disabled === !0 && `opacity: ${e.theme.palette.opacity[e.theme.palette.disabled.opacity]};`}
|
|
60
75
|
box-sizing: border-box;
|
|
61
|
-
min-width: ${(e) =>
|
|
62
|
-
height: ${(e) =>
|
|
63
|
-
border-radius: ${(e) =>
|
|
76
|
+
min-width: ${(e) => R(e.theme, e.size)};
|
|
77
|
+
height: ${(e) => R(e.theme, e.size)};
|
|
78
|
+
border-radius: ${(e) => T(e.theme, "curved")};
|
|
64
79
|
overflow: hidden;
|
|
65
80
|
& input[type="color"] {
|
|
66
81
|
border: 0;
|
|
@@ -69,10 +84,25 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
|
|
|
69
84
|
height: 200%;
|
|
70
85
|
cursor: pointer;
|
|
71
86
|
transform: translate(-25%, -25%);
|
|
72
|
-
${(e) => e.disabled === !0 && X(e.theme)};
|
|
87
|
+
/* ${(e) => e.disabled === !0 && X(e.theme)}; */
|
|
88
|
+
${(e) => e.disabled === !0 && `background-color: ${l(
|
|
89
|
+
e.theme,
|
|
90
|
+
"Input",
|
|
91
|
+
e.color,
|
|
92
|
+
"disabled",
|
|
93
|
+
"background",
|
|
94
|
+
"backgroundOpacity"
|
|
95
|
+
)};
|
|
96
|
+
color: ${(n) => l(
|
|
97
|
+
n.theme,
|
|
98
|
+
"Input",
|
|
99
|
+
n.color,
|
|
100
|
+
"disabled",
|
|
101
|
+
"text"
|
|
102
|
+
)};`}
|
|
73
103
|
}
|
|
74
104
|
}
|
|
75
|
-
`, ne =
|
|
105
|
+
`, ne = z.span`
|
|
76
106
|
display: flex;
|
|
77
107
|
align-items: center;
|
|
78
108
|
overflow: hidden;
|
|
@@ -83,22 +113,22 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
|
|
|
83
113
|
background-color: transparent;
|
|
84
114
|
width: 100%;
|
|
85
115
|
}
|
|
86
|
-
`, ae = G((e,
|
|
116
|
+
`, ae = G((e, n) => {
|
|
87
117
|
const {
|
|
88
|
-
id:
|
|
118
|
+
id: s,
|
|
89
119
|
name: f,
|
|
90
|
-
defaultValue:
|
|
120
|
+
defaultValue: F = "#000000",
|
|
91
121
|
value: i,
|
|
92
|
-
size:
|
|
122
|
+
size: p = "small",
|
|
93
123
|
tabIndex: y,
|
|
94
124
|
withInput: $ = !1,
|
|
95
|
-
className:
|
|
125
|
+
className: V = "",
|
|
96
126
|
style: D = {},
|
|
97
|
-
color:
|
|
127
|
+
color: c = "primary",
|
|
98
128
|
debounceTime: j = 0,
|
|
99
|
-
readOnly:
|
|
129
|
+
readOnly: d,
|
|
100
130
|
disabled: r,
|
|
101
|
-
onChange:
|
|
131
|
+
onChange: I = () => {
|
|
102
132
|
},
|
|
103
133
|
onFocus: P = () => {
|
|
104
134
|
},
|
|
@@ -109,109 +139,109 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
|
|
|
109
139
|
onKeyDown: K = () => {
|
|
110
140
|
},
|
|
111
141
|
labelRef: N,
|
|
112
|
-
inputProps:
|
|
142
|
+
inputProps: x,
|
|
113
143
|
...O
|
|
114
|
-
} = e,
|
|
144
|
+
} = e, k = Z(), [m, v] = S(i), [W, B] = S(!1), A = new RegExp(/^#[0-9A-F]{6}$/i);
|
|
115
145
|
_(() => v(i), [i]);
|
|
116
146
|
const H = J(
|
|
117
|
-
Y((
|
|
118
|
-
[
|
|
119
|
-
), L = (
|
|
120
|
-
|
|
121
|
-
},
|
|
122
|
-
i && v(
|
|
123
|
-
},
|
|
124
|
-
|
|
125
|
-
},
|
|
126
|
-
A.test(
|
|
147
|
+
Y((a, w) => L(a, w), j),
|
|
148
|
+
[I]
|
|
149
|
+
), L = (a, w) => {
|
|
150
|
+
I && I(a, w);
|
|
151
|
+
}, h = (a) => {
|
|
152
|
+
i && v(a.target.value), H(a, a.target.value);
|
|
153
|
+
}, b = (a) => {
|
|
154
|
+
B(!0), P(a);
|
|
155
|
+
}, g = (a) => {
|
|
156
|
+
A.test(m) || v(F), B(!1), U(a);
|
|
127
157
|
};
|
|
128
|
-
return /* @__PURE__ */
|
|
158
|
+
return /* @__PURE__ */ o(
|
|
129
159
|
te,
|
|
130
160
|
{
|
|
131
|
-
ref:
|
|
132
|
-
theme:
|
|
133
|
-
size:
|
|
134
|
-
className:
|
|
161
|
+
ref: n,
|
|
162
|
+
theme: k,
|
|
163
|
+
size: p,
|
|
164
|
+
className: V,
|
|
135
165
|
style: D,
|
|
136
166
|
disabled: r,
|
|
137
|
-
readOnly:
|
|
167
|
+
readOnly: d,
|
|
138
168
|
withInput: $,
|
|
139
169
|
...O,
|
|
140
170
|
children: $ ? /* @__PURE__ */ q(
|
|
141
171
|
ee,
|
|
142
172
|
{
|
|
143
173
|
withInput: $,
|
|
144
|
-
theme:
|
|
145
|
-
color:
|
|
146
|
-
size:
|
|
174
|
+
theme: k,
|
|
175
|
+
color: c,
|
|
176
|
+
size: p,
|
|
147
177
|
disabled: r,
|
|
148
|
-
readOnly:
|
|
178
|
+
readOnly: d,
|
|
149
179
|
tabIndex: y,
|
|
150
180
|
isFocused: W,
|
|
151
181
|
children: [
|
|
152
|
-
/* @__PURE__ */
|
|
182
|
+
/* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
153
183
|
"input",
|
|
154
184
|
{
|
|
155
185
|
type: "color",
|
|
156
|
-
ref:
|
|
157
|
-
id:
|
|
186
|
+
ref: n,
|
|
187
|
+
id: s,
|
|
158
188
|
name: f,
|
|
159
|
-
value:
|
|
160
|
-
disabled: r ||
|
|
161
|
-
onChange:
|
|
162
|
-
onBlur:
|
|
163
|
-
onFocus:
|
|
164
|
-
color:
|
|
165
|
-
...
|
|
189
|
+
value: m,
|
|
190
|
+
disabled: r || d,
|
|
191
|
+
onChange: h,
|
|
192
|
+
onBlur: g,
|
|
193
|
+
onFocus: b,
|
|
194
|
+
color: c,
|
|
195
|
+
...x
|
|
166
196
|
}
|
|
167
197
|
) }),
|
|
168
|
-
/* @__PURE__ */
|
|
198
|
+
/* @__PURE__ */ o(ne, { children: /* @__PURE__ */ o(
|
|
169
199
|
"input",
|
|
170
200
|
{
|
|
171
201
|
ref: N,
|
|
172
|
-
value:
|
|
173
|
-
onChange:
|
|
174
|
-
onFocus:
|
|
175
|
-
onBlur:
|
|
202
|
+
value: m,
|
|
203
|
+
onChange: h,
|
|
204
|
+
onFocus: b,
|
|
205
|
+
onBlur: g,
|
|
176
206
|
onInput: E,
|
|
177
207
|
onKeyDown: K,
|
|
178
|
-
disabled: r ||
|
|
208
|
+
disabled: r || d,
|
|
179
209
|
...O
|
|
180
210
|
}
|
|
181
211
|
) })
|
|
182
212
|
]
|
|
183
213
|
}
|
|
184
|
-
) : /* @__PURE__ */
|
|
214
|
+
) : /* @__PURE__ */ o("div", { children: i == null || i == "undefined" ? /* @__PURE__ */ o(
|
|
185
215
|
"input",
|
|
186
216
|
{
|
|
187
217
|
type: "color",
|
|
188
|
-
ref:
|
|
189
|
-
id:
|
|
218
|
+
ref: n,
|
|
219
|
+
id: s,
|
|
190
220
|
name: f,
|
|
191
|
-
defaultValue:
|
|
192
|
-
disabled: r ||
|
|
193
|
-
onChange:
|
|
194
|
-
onBlur:
|
|
195
|
-
onFocus:
|
|
196
|
-
color:
|
|
221
|
+
defaultValue: F,
|
|
222
|
+
disabled: r || d,
|
|
223
|
+
onChange: h,
|
|
224
|
+
onBlur: g,
|
|
225
|
+
onFocus: b,
|
|
226
|
+
color: c,
|
|
197
227
|
tabIndex: y,
|
|
198
|
-
...
|
|
228
|
+
...x
|
|
199
229
|
}
|
|
200
|
-
) : /* @__PURE__ */
|
|
230
|
+
) : /* @__PURE__ */ o(
|
|
201
231
|
"input",
|
|
202
232
|
{
|
|
203
233
|
type: "color",
|
|
204
|
-
ref:
|
|
205
|
-
id:
|
|
234
|
+
ref: n,
|
|
235
|
+
id: s,
|
|
206
236
|
name: f,
|
|
207
|
-
value:
|
|
208
|
-
disabled: r ||
|
|
209
|
-
onChange:
|
|
210
|
-
onBlur:
|
|
211
|
-
onFocus:
|
|
212
|
-
color:
|
|
237
|
+
value: m,
|
|
238
|
+
disabled: r || d,
|
|
239
|
+
onChange: h,
|
|
240
|
+
onBlur: g,
|
|
241
|
+
onFocus: b,
|
|
242
|
+
color: c,
|
|
213
243
|
tabIndex: y,
|
|
214
|
-
...
|
|
244
|
+
...x
|
|
215
245
|
}
|
|
216
246
|
) })
|
|
217
247
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),p=require("react"),r=require("./index-BPVoEhTF.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./Icon.cjs"),u=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),p=require("react"),r=require("./index-BPVoEhTF.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./Icon.cjs"),u=require("./utils-CZynEOC_.cjs"),B=require("./Modal.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),E=y.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 1rem;
|
|
4
4
|
align-items: center;
|
package/dist/ConfirmationForm.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as S, cloneElement as E } from "react";
|
|
|
3
3
|
import { P as r } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import m from "./Icon.js";
|
|
6
|
-
import { b as d } from "./utils-
|
|
6
|
+
import { b as d } from "./utils-BbgAIA9N.js";
|
|
7
7
|
import M from "./Modal.js";
|
|
8
8
|
import { u as V } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const q = f.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),k=require("react"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),G=require("./index-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),k=require("react"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),G=require("./index-Cg4t3q_p.cjs"),J=require("./LoanCalculatorSection.cjs"),K=z.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 2rem;
|
|
4
4
|
|
|
@@ -2,7 +2,7 @@ import { jsxs as q, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as z } from "react";
|
|
3
3
|
import { s as D } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as G } from "./consts-BuFChS64.js";
|
|
5
|
-
import { L as J } from "./index-
|
|
5
|
+
import { L as J } from "./index-BBMleFo5.js";
|
|
6
6
|
import K from "./LoanCalculatorSection.js";
|
|
7
7
|
const N = D.div`
|
|
8
8
|
display: flex;
|