@lanaco/lnc-react-ui 4.0.84 → 4.0.86
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 +1 -1
- package/dist/BannerSectionCarousel.js +1 -1
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BannerSectionWithListImage.cjs +1 -1
- package/dist/BannerSectionWithListImage.js +9 -9
- 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 +6 -6
- package/dist/BlogsSectionDetailed.js +65 -62
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +6 -6
- package/dist/BlogsSectionSimple.js +46 -43
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +6 -2
- package/dist/BlogsSectionWithFilters.js +43 -36
- 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 +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +2 -2
- package/dist/CalorieCalculatorSection.js +2 -2
- 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 +1 -1
- package/dist/ColorInput.js +1 -1
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +2 -2
- package/dist/{CustomStyles-ZBxlReAi.js → CustomStyles-DSaRbYZg.js} +1 -1
- package/dist/{CustomStyles-ChA_393q.cjs → CustomStyles-DzChCA5c.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsSection.cjs +7 -3
- package/dist/DetailedProductsSection.js +17 -12
- 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/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 +12 -7
- package/dist/FieldOfInterestsWithTagsCardsSection.js +41 -36
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- 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 +17 -12
- package/dist/GeneralWithTagsCardsSection.js +32 -27
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +1 -1
- 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 +6 -6
- package/dist/LocationSearchSection.js +16 -13
- package/dist/MasonryGeneralCardsSection.cjs +6 -6
- package/dist/MasonryGeneralCardsSection.js +44 -46
- 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 +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +7 -5
- package/dist/OverlayGeneralCardsSection.js +12 -10
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +2 -2
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.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 +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +1 -1
- package/dist/ReviewsSection.js +2 -2
- package/dist/SalesCampaignsSection.cjs +35 -31
- package/dist/SalesCampaignsSection.js +183 -177
- 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 +2 -2
- 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 +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- 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 +2 -2
- package/dist/UrgentSaleProductsSection.js +2 -2
- package/dist/{index-baEuidT3.js → index-B5bRol0l.js} +1 -1
- package/dist/{index-D0Cl3mpJ.js → index-B69VVFyo.js} +1 -1
- package/dist/{index-CfA579i2.cjs → index-B9HSHvhH.cjs} +4 -3
- package/dist/{index-m9SN4CZC.js → index-BBPnKoi6.js} +13 -12
- package/dist/{index-CAqPGuiA.cjs → index-BVaZWq6y.cjs} +1 -1
- package/dist/{index-bTSzxSNK.js → index-BpS5mEUu.js} +2 -2
- package/dist/{index-Q6GmUkJx.cjs → index-C7iutNsj.cjs} +1 -1
- package/dist/{index-ZbylnHR8.cjs → index-CWAifrDS.cjs} +1 -1
- package/dist/{index-BLxkXrqU.js → index-Ca38iPjf.js} +1 -1
- package/dist/{index-DXmajb7F.js → index-DmuZIVnC.js} +1 -1
- package/dist/{index-Dy-o153l.cjs → index-ZR5ws_qw.cjs} +1 -1
- package/dist/{index-ryadTWiS.cjs → index-rYeYJwuL.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{skeleton-D0bLAwfj.cjs → skeleton-BRWiMY6b.cjs} +7 -3
- package/dist/{skeleton-CtJG0_SN.cjs → skeleton-C_Jypl8r.cjs} +1 -1
- package/dist/{skeleton-CfSTJ_9L.js → skeleton-DhXNRCfI.js} +8 -4
- package/dist/{skeleton-iQWpOw9K.js → skeleton-wfDIalr3.js} +2 -2
- package/dist/{suspense-categories-card-simple-Tiure3NX.js → suspense-categories-card-simple-BmmCOsc0.js} +1 -1
- package/dist/{suspense-categories-card-simple-o7JK0fA4.cjs → suspense-categories-card-simple-D-tE8xV6.cjs} +1 -1
- package/dist/{suspense-large-v60EOiID.cjs → suspense-large-Buu1428e.cjs} +1 -1
- package/dist/{suspense-large-CQpNiB26.js → suspense-large-iKRJJlJv.js} +1 -1
- package/dist/{suspense-product-card-detailed-D490oqXC.cjs → suspense-product-card-detailed-CwUN6A-L.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-DDXuOKib.js → suspense-product-card-detailed-J2a9wi6Z.js} +2 -2
- package/dist/{suspense-product-card-simple-fSvde3aM.js → suspense-product-card-simple--ExcEpD-.js} +1 -1
- package/dist/{suspense-product-card-simple-CQxB1MF4.cjs → suspense-product-card-simple-0x5sc47a.cjs} +1 -1
- package/dist/{utils-DCs-SbIv.js → utils-BE-UlkKf.js} +8 -8
- package/dist/{utils-BXPz9bck.cjs → utils-DhRHf5Ed.cjs} +3 -3
- package/package.json +1 -1
package/dist/Dropdown.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),n=require("react"),t=require("./CustomStyles-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),n=require("react"),t=require("./CustomStyles-DzChCA5c.cjs"),l=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");require("./index-EeoArxOx.cjs");const O=require("./index-DaiUAQVF.cjs");function S(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const p=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,p.get?p:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const M=S(n);var h=n.forwardRef(function(o,s){var r=t.useStateManager(o);return M.createElement(t.Select,l._extends({ref:s},r))}),j=h;const a=n.forwardRef((o,s)=>{const{styles:r,debounceTime:p=0,name:C,isSearchable:u=!0,isClearable:c=!0,size:i="small",color:y="primary",className:T="",style:P={},...b}=o,m=l.useTheme();return n.useCallback(O.debounce((f,d)=>{onInputChange==null||onInputChange(f,d)},p)),g.jsx(j,{ref:s,styles:r||t.customStyles,size:i,color:y,theme:m,isSearchable:u,isClearable:c,className:T,style:P,...b})});a.propTypes={options:e.PropTypes.array,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.any,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};exports.components=t.components;exports.default=a;
|
package/dist/Dropdown.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as g } from "react/jsx-runtime";
|
|
|
2
2
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import * as O from "react";
|
|
4
4
|
import { forwardRef as a, useCallback as S } from "react";
|
|
5
|
-
import { u as y, S as M, a as h } from "./CustomStyles-
|
|
6
|
-
import { c as H } from "./CustomStyles-
|
|
5
|
+
import { u as y, S as M, a as h } from "./CustomStyles-DSaRbYZg.js";
|
|
6
|
+
import { c as H } from "./CustomStyles-DSaRbYZg.js";
|
|
7
7
|
import { _ as C, u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import "./index-64mXPFBC.js";
|
|
9
9
|
import { d as x } from "./index-CkWvbrVT.js";
|
package/dist/DropdownItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),d=require("react"),s=require("./index-BPVoEhTF.cjs"),G=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./Icon.cjs"),l=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),d=require("react"),s=require("./index-BPVoEhTF.cjs"),G=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./Icon.cjs"),l=require("./utils-DhRHf5Ed.cjs"),H=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),J=G.styled.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${o=>o.disabled==!1?"pointer":"context-menu"};
|
|
4
4
|
width: 100%;
|
package/dist/DropdownItem.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as J, useRef as Q, useState as W, useEffect as X } from "rea
|
|
|
3
3
|
import { P as l } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as Z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import M from "./Icon.js";
|
|
6
|
-
import { b as t, c as I, h as N } from "./utils-
|
|
6
|
+
import { b as t, c as I, h as N } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import { u as ee } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const ne = Z.div`
|
|
9
9
|
box-sizing: border-box;
|
package/dist/DropdownLookup.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const le=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),t=require("react"),B=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n=require("./CustomStyles-
|
|
1
|
+
"use strict";const le=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),t=require("react"),B=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n=require("./CustomStyles-DzChCA5c.cjs"),ce=require("./defineProperty-CqVRDJI8.cjs");require("./index-EeoArxOx.cjs");const fe=require("./index-DaiUAQVF.cjs");function de(o){const p=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(p,s,a.get?a:{enumerable:!0,get:()=>o[s]})}}return p.default=o,Object.freeze(p)}const ye=de(t);var Te=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function Pe(o){var p=o.defaultOptions,s=p===void 0?!1:p,a=o.cacheOptions,i=a===void 0?!1:a,y=o.loadOptions;o.options;var l=o.isLoading,h=l===void 0?!1:l,S=o.onInputChange,m=o.filterOption,C=m===void 0?null:m,g=n._objectWithoutProperties(o,Te),_=g.inputValue,u=t.useRef(void 0),c=t.useRef(!1),T=t.useState(Array.isArray(s)?s:void 0),f=n._slicedToArray(T,2),G=f[0],x=f[1],W=t.useState(typeof _<"u"?_:""),q=n._slicedToArray(W,2),D=q[0],I=q[1],J=t.useState(s===!0),R=n._slicedToArray(J,2),K=R[0],P=R[1],Q=t.useState(void 0),w=n._slicedToArray(Q,2),A=w[0],L=w[1],U=t.useState([]),E=n._slicedToArray(U,2),X=E[0],j=E[1],Y=t.useState(!1),$=n._slicedToArray(Y,2),Z=$[0],v=$[1],ee=t.useState({}),k=n._slicedToArray(ee,2),O=k[0],F=k[1],te=t.useState(void 0),z=n._slicedToArray(te,2),oe=z[0],se=z[1],ne=t.useState(void 0),N=n._slicedToArray(ne,2),re=N[0],pe=N[1];i!==re&&(F({}),pe(i)),s!==oe&&(x(Array.isArray(s)?s:void 0),se(s)),t.useEffect(function(){return c.current=!0,function(){c.current=!1}},[]);var M=t.useCallback(function(b,d){if(!y)return d();var r=y(b,d);r&&typeof r.then=="function"&&r.then(d,function(){return d()})},[y]);t.useEffect(function(){s===!0&&M(D,function(b){c.current&&(x(b||[]),P(!!u.current))})},[]);var ae=t.useCallback(function(b,d){var r=n.handleInputChange(b,d,S);if(!r){u.current=void 0,I(""),L(""),j([]),P(!1),v(!1);return}if(i&&O[r])I(r),L(r),j(O[r]),P(!1),v(!1);else{var ie=u.current={};I(r),P(!0),v(!A),M(r,function(V){c&&ie===u.current&&(u.current=void 0,P(!1),L(r),j(V||[]),v(!1),F(V?n._objectSpread2(n._objectSpread2({},O),{},ce._defineProperty({},r,V)):O))})}},[i,M,A,O,S]),ue=Z?[]:D&&A?X:G||[];return n._objectSpread2(n._objectSpread2({},g),{},{options:ue,isLoading:K||h,onInputChange:ae,filterOption:C})}var Oe=t.forwardRef(function(o,p){var s=Pe(o),a=n.useStateManager(s);return ye.createElement(n.Select,B._extends({ref:p},a))}),be=Oe;const H=t.forwardRef((o,p)=>{const{styles:s,debounceTime:a=0,isSearchable:i=!0,isClearable:y=!0,onInputChange:l,size:h="small",color:S="primary",className:m="",style:C={},...g}=o,_=B.useTheme(),u=t.useCallback(fe.debounce((T,f)=>{l==null||l(T,f)},a)),c=(T,f)=>{u(T,f)};return le.jsx(be,{ref:p,styles:s||n.customStyles,size:h,color:S,theme:_,isSearchable:i,isClearable:y,onInputChange:c,className:m,style:C,...g})});H.propTypes={defaultOptions:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.array]),cacheOptions:e.PropTypes.any,loadOptions:e.PropTypes.func,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.string,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};module.exports=H;
|
package/dist/DropdownLookup.js
CHANGED
|
@@ -3,7 +3,7 @@ import { P as e } from "./index-S5Cd7WrG.js";
|
|
|
3
3
|
import * as Oe from "react";
|
|
4
4
|
import { useRef as G, useState as a, useEffect as W, useCallback as j, forwardRef as J } from "react";
|
|
5
5
|
import { _ as me, u as be } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
|
-
import { _ as ge, b as s, h as Se, d as C, u as he, S as ve, a as ye } from "./CustomStyles-
|
|
6
|
+
import { _ as ge, b as s, h as Se, d as C, u as he, S as ve, a as ye } from "./CustomStyles-DSaRbYZg.js";
|
|
7
7
|
import { _ as _e } from "./defineProperty-DF3p0mVo.js";
|
|
8
8
|
import "./index-64mXPFBC.js";
|
|
9
9
|
import { d as Ie } from "./index-CkWvbrVT.js";
|
package/dist/DropdownMenu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),t=require("react"),o=require("./index-BPVoEhTF.cjs"),I=require("./emotion-styled.browser.esm-BtEseadx.cjs"),B=require("./Button.cjs"),K=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),t=require("react"),o=require("./index-BPVoEhTF.cjs"),I=require("./emotion-styled.browser.esm-BtEseadx.cjs"),B=require("./Button.cjs"),K=require("./utils-DhRHf5Ed.cjs"),L=require("./ThemeProvider.cjs"),U=require("./Popover.cjs"),Y=require("./PopoverTrigger.cjs"),$=require("./PopoverContent.cjs"),A=require("./motion-B_VPZaJq.cjs"),G=I.styled.div``,H=I.styled(A.motion.div)`
|
|
2
2
|
gap: 0.25rem;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
package/dist/DropdownMenu.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as K, useRef as l, useState as L, Children as U, isValidElem
|
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as T } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import $ from "./Button.js";
|
|
6
|
-
import { b as q } from "./utils-
|
|
6
|
+
import { b as q } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import { useTheme as A } from "./ThemeProvider.js";
|
|
8
8
|
import G from "./Popover.js";
|
|
9
9
|
import H from "./PopoverTrigger.js";
|
package/dist/EditableTable.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),i=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),i=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./utils-DhRHf5Ed.cjs"),H=require("./Table.cjs"),$=require("./emotion-styled.browser.esm-BtEseadx.cjs"),B=require("./TextInput.cjs"),W=require("./NumberInput.cjs"),J=require("./DecimalInput.cjs"),Q=require("./CheckBoxInput.cjs"),U=require("./Dropdown.cjs"),X=require("./DecimalInputV2.cjs"),Z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),C={BOOLEAN:"BOOLEAN",STRING:"STRING",INTEGER:"INTEGER",DECIMAL:"DECIMAL",DECIMAL2:"DECIMAL2",DATE:"DATE",SELECT:"SELECT"},ee=$.styled.td`
|
|
2
2
|
white-space: nowrap;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
text-overflow: ellipsis;
|
package/dist/EditableTable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l, Fragment as $, jsxs as U } from "react/jsx-runtime";
|
|
2
2
|
import { useState as X, useRef as A, useEffect as F, createElement as Z, forwardRef as ee, useImperativeHandle as re } from "react";
|
|
3
3
|
import { P as r } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { c as z, r as G, i as V } from "./utils-
|
|
4
|
+
import { c as z, r as G, i as V } from "./utils-BE-UlkKf.js";
|
|
5
5
|
import te from "./Table.js";
|
|
6
6
|
import { s as Y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
7
|
import N from "./TextInput.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-CtNoHdBj.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-CtNoHdBj.cjs"),o=require("./utils-DhRHf5Ed.cjs"),k=require("./Icon.cjs"),I=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),E=require("./useEffectOnce-DFrzfNzT.cjs"),M=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: fit-content;
|
|
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as l } from "react";
|
|
3
3
|
import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as u } from "./consts-C1uHV4xc.js";
|
|
5
|
-
import { t as $, m as N, l as I } from "./utils-
|
|
5
|
+
import { t as $, m as N, l as I } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import C from "./Icon.js";
|
|
7
7
|
import { u as E } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { u as F } from "./useEffectOnce-guOKBPuL.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-CtNoHdBj.cjs"),y=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-CtNoHdBj.cjs"),y=require("./utils-DhRHf5Ed.cjs"),$=require("./index-B9HSHvhH.cjs"),c=h.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 11.625rem;
|
|
4
4
|
border-radius: 0.75rem;
|
|
@@ -2,8 +2,8 @@ import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as g } from "react";
|
|
3
3
|
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as x } from "./consts-C1uHV4xc.js";
|
|
5
|
-
import { m as v, l as C } from "./utils-
|
|
6
|
-
import { S as F } from "./index-
|
|
5
|
+
import { m as v, l as C } from "./utils-BE-UlkKf.js";
|
|
6
|
+
import { S as F } from "./index-BBPnKoi6.js";
|
|
7
7
|
const N = _.div`
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: 11.625rem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),p=require("react"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),p=require("react"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-DhRHf5Ed.cjs"),b=require("./Icon.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),k=require("./consts-CtNoHdBj.cjs"),$=m.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -65,11 +65,13 @@
|
|
|
65
65
|
background: ${l.linearGradientAnimation("-90deg")};
|
|
66
66
|
`,I=m.styled.div`
|
|
67
67
|
display: flex;
|
|
68
|
-
padding: 0 0.
|
|
68
|
+
padding: 0 0.75rem 0 0.75rem;
|
|
69
69
|
align-items: center;
|
|
70
70
|
justify-content: center;
|
|
71
|
-
background: var(--neutral-
|
|
71
|
+
background: var(--neutral-95004, rgba(20, 22, 26, 0.04));
|
|
72
72
|
border-radius: 999px;
|
|
73
|
+
min-width: 2.75rem;
|
|
74
|
+
min-height: 2.75rem;
|
|
73
75
|
|
|
74
76
|
&:hover {
|
|
75
77
|
cursor: pointer;
|
|
@@ -79,11 +81,14 @@
|
|
|
79
81
|
font-size: 1.75rem;
|
|
80
82
|
color: var(--gray-950, #14161a);
|
|
81
83
|
border-radius: 999px;
|
|
82
|
-
|
|
83
|
-
height: 2.75rem;
|
|
84
|
+
margin-left: -0.5rem;
|
|
84
85
|
|
|
85
86
|
& i {
|
|
86
87
|
width: auto;
|
|
88
|
+
|
|
89
|
+
&::after {
|
|
90
|
+
margin-left: 0;
|
|
91
|
+
}
|
|
87
92
|
}
|
|
88
93
|
}
|
|
89
94
|
|
|
@@ -112,7 +117,7 @@
|
|
|
112
117
|
height: 3rem;
|
|
113
118
|
border-radius: 999px;
|
|
114
119
|
background: ${l.linearGradientAnimation("-90deg")};
|
|
115
|
-
`,W=p.forwardRef(({},i)=>r.jsx(C,{})),F=p.forwardRef(({name:i,isActive:n,icon:t,onSelectCard:a=()=>{}},
|
|
120
|
+
`,W=p.forwardRef(({},i)=>r.jsx(C,{})),F=p.forwardRef(({name:i,isActive:n,icon:t,onSelectCard:a=()=>{}},f)=>r.jsxs(I,{className:n?"active":"",onClick:a,children:[l.isDefinedNotEmptyString(t)&&r.jsx(b,{icon:t,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),R=p.forwardRef(({image:i,imageComponent:n,name:t,description:a,onSelectCard:f=()=>{}},u)=>{const{theme:d}=j.useTheme();return r.jsxs($,{theme:d,onClick:f,children:[l.isDefined(n)?n:r.jsx("img",{src:i,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),a&&r.jsx("div",{className:"wrapper__description",children:a})]})]})}),q=p.forwardRef(({},i)=>r.jsx(N,{})),z=m.styled.div`
|
|
116
121
|
display: flex;
|
|
117
122
|
flex-direction: column;
|
|
118
123
|
align-items: center;
|
|
@@ -186,4 +191,4 @@
|
|
|
186
191
|
gap: 1rem;
|
|
187
192
|
}
|
|
188
193
|
}
|
|
189
|
-
`,O=p.forwardRef(({title:i,subtitle:n,tags:t=[],limitTags:a=7,limitTagsForMobile:
|
|
194
|
+
`,O=p.forwardRef(({title:i,subtitle:n,tags:t=[],limitTags:a=7,limitTagsForMobile:f=7,limit:u=3,limitForMobile:d=2,items:s=[],selectedTag:c,onSelectTag:_=()=>{},onSelectCard:h=()=>{},getImage:y=()=>{}},A)=>{var g,v;const w=e=>{_==null||_(e)},x=e=>{h==null||h(e)};return r.jsxs(z,{limitTags:a,limitTagsForMobile:f,limitCards:u,limitCardsForMobile:d,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),n&&r.jsx("div",{className:"wrapper__subtitle",children:n})]}),r.jsx("div",{className:"wrapper__tags",children:t&&(t==null?void 0:t.length)>0?t==null?void 0:t.map((e,o)=>r.jsx(F,{icon:e==null?void 0:e.icon,name:e==null?void 0:e.name,isActive:(e==null?void 0:e.uuid)===(c==null?void 0:c.uuid),onSelectCard:()=>w==null?void 0:w(e)},`field-of-interests-with-tags-card-tag__${o+1}`)):(g=Array.from("123"))==null?void 0:g.map((e,o)=>r.jsx(W,{},`field-of-interests-with-tags-card-tag-skeleton__${o+1}`))}),r.jsx("div",{className:"wrapper__cards",children:s&&(s==null?void 0:s.length)>0?s==null?void 0:s.map((e,o)=>r.jsx(R,{image:y(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid),imageComponent:e==null?void 0:e.imageComponent,name:e==null?void 0:e.name,description:(e==null?void 0:e.shortDescription)||(e==null?void 0:e.description),onSelectCard:()=>x==null?void 0:x(e)},`field-of-interests-with-tags-card__${o+1}`)):(v=Array.from("123"))==null?void 0:v.map((e,o)=>r.jsx(q,{},`field-of-interests-with-tags-card-skeleton__${o+1}`))})]})});module.exports=O;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as i, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p } from "react";
|
|
3
3
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { t as y, m as b, l as
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
import { M as
|
|
8
|
-
const
|
|
4
|
+
import { t as y, m as b, k as $, l as N } from "./utils-BE-UlkKf.js";
|
|
5
|
+
import C from "./Icon.js";
|
|
6
|
+
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
|
+
import { M as W } from "./consts-C1uHV4xc.js";
|
|
8
|
+
const F = m.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -65,18 +65,20 @@ const W = m.div`
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`, j = m.div`
|
|
69
69
|
width: 100%;
|
|
70
70
|
height: 11.625rem;
|
|
71
71
|
border-radius: 0.75rem;
|
|
72
72
|
background: ${b("-90deg")};
|
|
73
|
-
`,
|
|
73
|
+
`, z = m.div`
|
|
74
74
|
display: flex;
|
|
75
|
-
padding: 0 0.
|
|
75
|
+
padding: 0 0.75rem 0 0.75rem;
|
|
76
76
|
align-items: center;
|
|
77
77
|
justify-content: center;
|
|
78
|
-
background: var(--neutral-
|
|
78
|
+
background: var(--neutral-95004, rgba(20, 22, 26, 0.04));
|
|
79
79
|
border-radius: 999px;
|
|
80
|
+
min-width: 2.75rem;
|
|
81
|
+
min-height: 2.75rem;
|
|
80
82
|
|
|
81
83
|
&:hover {
|
|
82
84
|
cursor: pointer;
|
|
@@ -86,11 +88,14 @@ const W = m.div`
|
|
|
86
88
|
font-size: 1.75rem;
|
|
87
89
|
color: var(--gray-950, #14161a);
|
|
88
90
|
border-radius: 999px;
|
|
89
|
-
|
|
90
|
-
height: 2.75rem;
|
|
91
|
+
margin-left: -0.5rem;
|
|
91
92
|
|
|
92
93
|
& i {
|
|
93
94
|
width: auto;
|
|
95
|
+
|
|
96
|
+
&::after {
|
|
97
|
+
margin-left: 0;
|
|
98
|
+
}
|
|
94
99
|
}
|
|
95
100
|
}
|
|
96
101
|
|
|
@@ -114,30 +119,30 @@ const W = m.div`
|
|
|
114
119
|
color: var(--white, #fff);
|
|
115
120
|
}
|
|
116
121
|
}
|
|
117
|
-
`,
|
|
122
|
+
`, O = m.div`
|
|
118
123
|
width: 7rem;
|
|
119
124
|
height: 3rem;
|
|
120
125
|
border-radius: 999px;
|
|
121
126
|
background: ${b("-90deg")};
|
|
122
|
-
`,
|
|
127
|
+
`, A = p(({}, r) => /* @__PURE__ */ i(O, {})), E = p(
|
|
123
128
|
({ name: r, isActive: n, icon: t, onSelectCard: s = () => {
|
|
124
|
-
} }, f) => /* @__PURE__ */ l(
|
|
125
|
-
/* @__PURE__ */ i(
|
|
129
|
+
} }, f) => /* @__PURE__ */ l(z, { className: n ? "active" : "", onClick: s, children: [
|
|
130
|
+
$(t) && /* @__PURE__ */ i(C, { icon: t, className: "wrapper__icon" }),
|
|
126
131
|
/* @__PURE__ */ i("div", { className: "wrapper__text", children: r })
|
|
127
132
|
] })
|
|
128
133
|
), M = p(
|
|
129
134
|
({ image: r, imageComponent: n, name: t, description: s, onSelectCard: f = () => {
|
|
130
135
|
} }, u) => {
|
|
131
|
-
const { theme: d } =
|
|
132
|
-
return /* @__PURE__ */ l(
|
|
133
|
-
|
|
136
|
+
const { theme: d } = I();
|
|
137
|
+
return /* @__PURE__ */ l(F, { theme: d, onClick: f, children: [
|
|
138
|
+
N(n) ? n : /* @__PURE__ */ i("img", { src: r, className: "wrapper__image" }),
|
|
134
139
|
/* @__PURE__ */ l("div", { className: "wrapper__content", children: [
|
|
135
140
|
t && /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
|
|
136
141
|
s && /* @__PURE__ */ i("div", { className: "wrapper__description", children: s })
|
|
137
142
|
] })
|
|
138
143
|
] });
|
|
139
144
|
}
|
|
140
|
-
),
|
|
145
|
+
), D = p(({}, r) => /* @__PURE__ */ i(j, {})), G = m.div`
|
|
141
146
|
display: flex;
|
|
142
147
|
flex-direction: column;
|
|
143
148
|
align-items: center;
|
|
@@ -185,7 +190,7 @@ const W = m.div`
|
|
|
185
190
|
width: 100%;
|
|
186
191
|
}
|
|
187
192
|
|
|
188
|
-
@media (max-width: ${
|
|
193
|
+
@media (max-width: ${W + "px"}) {
|
|
189
194
|
& .wrapper__tags {
|
|
190
195
|
overflow-x: scroll;
|
|
191
196
|
justify-content: flex-start;
|
|
@@ -211,7 +216,7 @@ const W = m.div`
|
|
|
211
216
|
gap: 1rem;
|
|
212
217
|
}
|
|
213
218
|
}
|
|
214
|
-
`,
|
|
219
|
+
`, q = p(
|
|
215
220
|
({
|
|
216
221
|
title: r,
|
|
217
222
|
subtitle: n,
|
|
@@ -220,7 +225,7 @@ const W = m.div`
|
|
|
220
225
|
limitTagsForMobile: f = 7,
|
|
221
226
|
limit: u = 3,
|
|
222
227
|
limitForMobile: d = 2,
|
|
223
|
-
items:
|
|
228
|
+
items: a = [],
|
|
224
229
|
selectedTag: c,
|
|
225
230
|
onSelectTag: h = () => {
|
|
226
231
|
},
|
|
@@ -228,7 +233,7 @@ const W = m.div`
|
|
|
228
233
|
},
|
|
229
234
|
getImage: k = () => {
|
|
230
235
|
}
|
|
231
|
-
},
|
|
236
|
+
}, L) => {
|
|
232
237
|
var x, v;
|
|
233
238
|
const w = (e) => {
|
|
234
239
|
h == null || h(e);
|
|
@@ -236,7 +241,7 @@ const W = m.div`
|
|
|
236
241
|
_ == null || _(e);
|
|
237
242
|
};
|
|
238
243
|
return /* @__PURE__ */ l(
|
|
239
|
-
|
|
244
|
+
G,
|
|
240
245
|
{
|
|
241
246
|
limitTags: s,
|
|
242
247
|
limitTagsForMobile: f,
|
|
@@ -247,21 +252,21 @@ const W = m.div`
|
|
|
247
252
|
r && /* @__PURE__ */ i("div", { className: "wrapper__title", children: r }),
|
|
248
253
|
n && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: n })
|
|
249
254
|
] }),
|
|
250
|
-
/* @__PURE__ */ i("div", { className: "wrapper__tags", children: t && (t == null ? void 0 : t.length) > 0 ? t == null ? void 0 : t.map((e,
|
|
251
|
-
|
|
255
|
+
/* @__PURE__ */ i("div", { className: "wrapper__tags", children: t && (t == null ? void 0 : t.length) > 0 ? t == null ? void 0 : t.map((e, o) => /* @__PURE__ */ i(
|
|
256
|
+
E,
|
|
252
257
|
{
|
|
253
258
|
icon: e == null ? void 0 : e.icon,
|
|
254
259
|
name: e == null ? void 0 : e.name,
|
|
255
260
|
isActive: (e == null ? void 0 : e.uuid) === (c == null ? void 0 : c.uuid),
|
|
256
261
|
onSelectCard: () => w == null ? void 0 : w(e)
|
|
257
262
|
},
|
|
258
|
-
`field-of-interests-with-tags-card-tag__${
|
|
259
|
-
)) : (x = Array.from("123")) == null ? void 0 : x.map((e,
|
|
260
|
-
|
|
263
|
+
`field-of-interests-with-tags-card-tag__${o + 1}`
|
|
264
|
+
)) : (x = Array.from("123")) == null ? void 0 : x.map((e, o) => /* @__PURE__ */ i(
|
|
265
|
+
A,
|
|
261
266
|
{},
|
|
262
|
-
`field-of-interests-with-tags-card-tag-skeleton__${
|
|
267
|
+
`field-of-interests-with-tags-card-tag-skeleton__${o + 1}`
|
|
263
268
|
)) }),
|
|
264
|
-
/* @__PURE__ */ i("div", { className: "wrapper__cards", children:
|
|
269
|
+
/* @__PURE__ */ i("div", { className: "wrapper__cards", children: a && (a == null ? void 0 : a.length) > 0 ? a == null ? void 0 : a.map((e, o) => /* @__PURE__ */ i(
|
|
265
270
|
M,
|
|
266
271
|
{
|
|
267
272
|
image: k(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid),
|
|
@@ -270,11 +275,11 @@ const W = m.div`
|
|
|
270
275
|
description: (e == null ? void 0 : e.shortDescription) || (e == null ? void 0 : e.description),
|
|
271
276
|
onSelectCard: () => g == null ? void 0 : g(e)
|
|
272
277
|
},
|
|
273
|
-
`field-of-interests-with-tags-card__${
|
|
274
|
-
)) : (v = Array.from("123")) == null ? void 0 : v.map((e,
|
|
275
|
-
|
|
278
|
+
`field-of-interests-with-tags-card__${o + 1}`
|
|
279
|
+
)) : (v = Array.from("123")) == null ? void 0 : v.map((e, o) => /* @__PURE__ */ i(
|
|
280
|
+
D,
|
|
276
281
|
{},
|
|
277
|
-
`field-of-interests-with-tags-card-skeleton__${
|
|
282
|
+
`field-of-interests-with-tags-card-skeleton__${o + 1}`
|
|
278
283
|
)) })
|
|
279
284
|
]
|
|
280
285
|
}
|
|
@@ -282,5 +287,5 @@ const W = m.div`
|
|
|
282
287
|
}
|
|
283
288
|
);
|
|
284
289
|
export {
|
|
285
|
-
|
|
290
|
+
q as default
|
|
286
291
|
};
|
package/dist/FileInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),g=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),g=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),r=require("./utils-DhRHf5Ed.cjs"),k=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=b.styled.label`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
width: 100%;
|
package/dist/FileInput.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as R, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as S, useState as g } from "react";
|
|
3
3
|
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
5
|
-
import { d as y, b as r, e as V, c as x, h as p } from "./utils-
|
|
5
|
+
import { d as y, b as r, e as V, c as x, h as p } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import { u as B } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const D = c.label`
|
|
8
8
|
display: inline-flex;
|
package/dist/FlexGridItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-
|
|
1
|
+
"use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-DhRHf5Ed.cjs"),$=g.styled.div`
|
|
2
2
|
${s=>s.width>0?"":"flex: 1;"}
|
|
3
3
|
min-width: ${s=>100/s.columns}%;
|
|
4
4
|
width: ${s=>s.width}%;
|
package/dist/FlexGridItem.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as N, useState as S, useEffect as b } from "react";
|
|
3
3
|
import { P as i } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { u as M } from "./utils-
|
|
5
|
+
import { u as M } from "./utils-BE-UlkKf.js";
|
|
6
6
|
const W = I.div`
|
|
7
7
|
${(t) => t.width > 0 ? "" : "flex: 1;"}
|
|
8
8
|
min-width: ${(t) => 100 / t.columns}%;
|
package/dist/FormField.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-DhRHf5Ed.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=a.styled.label`
|
|
2
2
|
display: block;
|
|
3
3
|
margin-bottom: 4px;
|
|
4
4
|
${e=>s.getComponentTypographyCss(e.theme,"FormField",e.size,"enabled")}
|
package/dist/FormField.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { P as l } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { c as i, b as n } from "./utils-
|
|
4
|
+
import { c as i, b as n } from "./utils-BE-UlkKf.js";
|
|
5
5
|
import { u as g } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const f = m.label`
|
|
7
7
|
display: block;
|
package/dist/FormView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),W=require("react"),r=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),b=require("./Button.cjs"),m=require("./IconButton.cjs"),Y=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),Q=require("./TextAreaInput.cjs"),X=require("./TimeInput.cjs"),Z=require("./ColorInput.cjs"),z=require("./FileInput.cjs"),ee=require("./RangeSlider.cjs"),x=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),W=require("react"),r=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),b=require("./Button.cjs"),m=require("./IconButton.cjs"),Y=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),Q=require("./TextAreaInput.cjs"),X=require("./TimeInput.cjs"),Z=require("./ColorInput.cjs"),z=require("./FileInput.cjs"),ee=require("./RangeSlider.cjs"),x=require("./utils-DhRHf5Ed.cjs"),re=require("./FormField.cjs"),te=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),oe=g.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,se=g.styled.form`
|
package/dist/FormView.js
CHANGED
|
@@ -17,7 +17,7 @@ import X from "./TimeInput.js";
|
|
|
17
17
|
import Z from "./ColorInput.js";
|
|
18
18
|
import z from "./FileInput.js";
|
|
19
19
|
import ee from "./RangeSlider.js";
|
|
20
|
-
import { g as re, a as te, b as oe } from "./utils-
|
|
20
|
+
import { g as re, a as te, b as oe } from "./utils-BE-UlkKf.js";
|
|
21
21
|
import ae from "./FormField.js";
|
|
22
22
|
import { u as ne } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
23
23
|
const ie = y.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-CtNoHdBj.cjs"),d=require("./utils-DhRHf5Ed.cjs"),y=require("./Icon.cjs"),v=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),j=o.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
font-style: normal;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
line-height: 1.5rem;
|
|
40
|
-
${
|
|
40
|
+
${d.truncateTextInRows(2)}
|
|
41
41
|
transition: var(--transition, all 0.2s ease);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
@media (max-width: ${
|
|
55
|
+
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
56
56
|
background: transparent;
|
|
57
57
|
border: none;
|
|
58
58
|
box-shadow: none;
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
width: 100%;
|
|
79
79
|
height: 11.625rem;
|
|
80
80
|
border-radius: 0.75rem;
|
|
81
|
-
background: ${
|
|
81
|
+
background: ${d.linearGradientAnimation("-90deg")};
|
|
82
82
|
|
|
83
|
-
@media (max-width: ${
|
|
83
|
+
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
84
84
|
width: 5rem;
|
|
85
85
|
height: 5rem;
|
|
86
86
|
border-radius: 999px;
|
|
87
87
|
}
|
|
88
88
|
`,$=o.styled.div`
|
|
89
89
|
display: flex;
|
|
90
|
-
padding: 0 0.5rem 0 0;
|
|
90
|
+
padding: 0 0.5rem 0 0.5rem;
|
|
91
91
|
align-items: center;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
background: var(--white, #fff);
|
|
@@ -105,9 +105,14 @@
|
|
|
105
105
|
border-radius: 999px;
|
|
106
106
|
width: 2.5rem;
|
|
107
107
|
height: 2.5rem;
|
|
108
|
+
margin-left: -0.5rem;
|
|
108
109
|
|
|
109
110
|
& i {
|
|
110
111
|
width: auto;
|
|
112
|
+
|
|
113
|
+
&::after {
|
|
114
|
+
margin-left: 0;
|
|
115
|
+
}
|
|
111
116
|
}
|
|
112
117
|
}
|
|
113
118
|
|
|
@@ -120,17 +125,17 @@
|
|
|
120
125
|
letter-spacing: -0.09px;
|
|
121
126
|
}
|
|
122
127
|
|
|
123
|
-
@media (max-width: ${
|
|
128
|
+
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
124
129
|
& .wrapper__text {
|
|
125
130
|
white-space: nowrap;
|
|
126
131
|
}
|
|
127
132
|
}
|
|
128
|
-
`,
|
|
133
|
+
`,N=o.styled.div`
|
|
129
134
|
width: 7rem;
|
|
130
135
|
height: 3rem;
|
|
131
136
|
border-radius: 999px;
|
|
132
|
-
background: ${
|
|
133
|
-
`,
|
|
137
|
+
background: ${d.linearGradientAnimation("-90deg")};
|
|
138
|
+
`,C=l.forwardRef(({},a)=>r.jsx(N,{})),E=l.forwardRef(({title:a,icon:i,onSelectCard:t=()=>{}},p)=>r.jsxs($,{onClick:t,children:[d.isDefinedNotEmptyString(i)&&r.jsx(y,{icon:i,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:a})]})),I=l.forwardRef(({imageUrl:a,imageComponent:i,title:t,onSelectCard:p=()=>{}},c)=>{const{theme:g}=v.useTheme();return r.jsxs(j,{ref:c,theme:g,onClick:p,children:[d.isDefined(i)?i:r.jsx("img",{src:a,className:"wrapper__image"}),r.jsx("div",{className:"wrapper__content",children:r.jsx("div",{className:"wrapper__title",children:t})})]})}),W=l.forwardRef(({},a)=>r.jsx(k,{})),G=o.styled.div`
|
|
134
139
|
display: flex;
|
|
135
140
|
flex-direction: column;
|
|
136
141
|
align-items: center;
|
|
@@ -179,7 +184,7 @@
|
|
|
179
184
|
width: 100%;
|
|
180
185
|
}
|
|
181
186
|
|
|
182
|
-
@media (max-width: ${
|
|
187
|
+
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
183
188
|
& .wrapper__tags {
|
|
184
189
|
display: flex;
|
|
185
190
|
flex-wrap: nowrap;
|
|
@@ -207,4 +212,4 @@
|
|
|
207
212
|
gap: 1rem;
|
|
208
213
|
}
|
|
209
214
|
}
|
|
210
|
-
`,R=l.forwardRef(({title:a,subtitle:i,options:t=[],limitTags:
|
|
215
|
+
`,R=l.forwardRef(({title:a,subtitle:i,options:t=[],limitTags:p=7,limitTagsForMobile:c=2,limit:g=3,limitForMobile:f=3,items:n=[],onSelectTag:h=()=>{},onSelectCard:_=()=>{},isLoading:u},b)=>{var w,x;return r.jsxs(G,{ref:b,limitTags:p,limitTagsForMobile:c,limitCards:g,limitCardsForMobile:f,children:[r.jsxs("div",{className:"wrapper__heading",children:[a&&r.jsx("div",{className:"wrapper__title",children:a}),i&&r.jsx("div",{className:"wrapper__subtitle",children:i})]}),r.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,s)=>r.jsx(I,{imageUrl:e==null?void 0:e.imageUrl,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,onSelectCard:()=>{_==null||_(e)}},`general-with-tags-card__${s+1}`)):(w=Array.from("123"))==null?void 0:w.map((e,s)=>r.jsx(W,{},`general-with-tags-card-skeleton__${s+1}`))}),(t==null?void 0:t.length)>0&&r.jsx("div",{className:"wrapper__tags",children:t==null?void 0:t.map((e,s)=>r.jsx(E,{icon:e==null?void 0:e.icon,title:e==null?void 0:e.title,onSelectCard:()=>h==null?void 0:h(e)},`general-with-tags-card-tag__${s+1}`))}),u===!0&&!((t==null?void 0:t.length)>0)&&r.jsx("div",{className:"wrapper__tags",children:(x=Array.from("123"))==null?void 0:x.map((e,s)=>r.jsx(C,{},`general-with-tags-card-tag-skeleton__${s+1}`))})]})});module.exports=R;
|