@scbt-ecom/ui 0.130.2 → 0.130.3
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as m}from"react/jsx-runtime";import{cn as t}from"../../../shared/utils/cn.js";import"react";import"../../../shared/ui/button/Button.js";import"../../../shared/ui/buttonIcon/ButtonIcon.js";import{PhoneView as n}from"../../../shared/ui/phoneView/PhoneView.js";import"../../../shared/ui/calendar/Calendar.js";import"../../../shared/ui/calendar/model/utils.js";import"../../../shared/ui/accordion/Accordion.js";import"react-hook-form";import"react-dom";import"../../../shared/ui/modal/ui/IframeModalContent.js";import"../../../../node_modules/react-hot-toast/dist/index.js";import"../../../shared/ui/table/ui/primitives/Primitives.js";import"../../../shared/ui/carousel/ui/CarouselContent.js";import"../../../shared/ui/slot/Slot.js";import"../../../shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.js";import"../../../shared/ui/formElements/uncontrolled/checkbox/Checkbox.js";import"../../../shared/ui/formElements/uncontrolled/combobox/combobox.js";import"../../../shared/ui/formElements/uncontrolled/dayPicker/DayPicker.js";import"../../../shared/ui/formElements/uncontrolled/input/Input.js";import"../../../shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.js";import"../../../shared/ui/formElements/uncontrolled/maskInput/MaskInput.js";import"../../../shared/ui/formElements/uncontrolled/radio/RadioGroup.js";import"../../../shared/ui/formElements/uncontrolled/radio/ui/RadioItem.js";import"../../../shared/ui/formElements/uncontrolled/slider/SliderBase.js";import"../../../shared/ui/formElements/uncontrolled/switch/Switch.js";import"../../../shared/ui/formElements/uncontrolled/textarea/Textarea.js";import"../../../shared/ui/formElements/uncontrolled/uploader/UploaderBase.js";import"../../../shared/ui/formElements/uncontrolled/inputCurrency/InputCurrency.js";import"../../../../src/configs/api.js";import"../../../shared/ui/formElements/controlled/editor/ui/Editor.js";import"../../../shared/ui/formElements/controlled/input/MaskInputControl.js";import"../../../shared/ui/dropdownList/ui/dropdownItem/DropdownItem.js";const O=({phones:r,classes:o})=>m("div",{className:t("flex flex-col gap-4 desktop:items-end",o==null?void 0:o.phonesRoot),children:r==null?void 0:r.map(({phone:i,text:p})=>m(n,{phone:i,text:p,classes:{root:t(o==null?void 0:o.phoneWrapper),text:t("text-color-footer",o==null?void 0:o.phoneText),link:t("text-color-white mobile:m-0",o==null?void 0:o.phoneLink)}},i))});export{O as PhonesBlock};
|
|
2
2
|
//# sourceMappingURL=PhonesBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhonesBlock.js","sources":["../../../../../lib/widgets/footer/ui/PhonesBlock.tsx"],"sourcesContent":["import type { FooterPhones } from '../model/types'\nimport { PhoneView } from '$/shared/ui'\nimport { cn
|
|
1
|
+
{"version":3,"file":"PhonesBlock.js","sources":["../../../../../lib/widgets/footer/ui/PhonesBlock.tsx"],"sourcesContent":["import type { FooterPhones } from '../model/types'\nimport { PhoneView } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\nexport type PhoneBlockClasses = {\n phonesRoot?: string\n phoneWrapper?: string\n phoneText?: string\n phoneLink?: string\n}\n\ninterface PhonesBlockProps {\n phones: FooterPhones[]\n classes?: PhoneBlockClasses\n}\n\nexport const PhonesBlock = ({ phones, classes }: PhonesBlockProps) => {\n return (\n <div className={cn('flex flex-col gap-4 desktop:items-end', classes?.phonesRoot)}>\n {phones?.map(({ phone, text }) => (\n <PhoneView\n key={phone}\n phone={phone}\n text={text}\n classes={{\n root: cn(classes?.phoneWrapper),\n text: cn('text-color-footer', classes?.phoneText),\n link: cn('text-color-white mobile:m-0', classes?.phoneLink)\n }}\n />\n ))}\n </div>\n )\n}\n"],"names":["PhonesBlock","phones","classes","jsx","cn","phone","text","PhoneView"],"mappings":"ugEAgBO,MAAMA,EAAc,CAAC,CAAE,OAAAC,EAAQ,QAAAC,KAElCC,EAAC,MAAA,CAAI,UAAWC,EAAG,wCAAyCF,GAAA,YAAAA,EAAS,UAAU,EAC5E,SAAAD,GAAA,YAAAA,EAAQ,IAAI,CAAC,CAAE,MAAAI,EAAO,KAAAC,KACrBH,EAACI,EAAA,CAEC,MAAAF,EACA,KAAAC,EACA,QAAS,CACP,KAAMF,EAAGF,GAAA,YAAAA,EAAS,YAAY,EAC9B,KAAME,EAAG,oBAAqBF,GAAA,YAAAA,EAAS,SAAS,EAChD,KAAME,EAAG,8BAA+BF,GAAA,YAAAA,EAAS,SAAS,CAAA,CAC5D,EAPKG,CAAA,GAUX"}
|