@stokelp/ui 2.122.1 → 2.124.0

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.
Files changed (37) hide show
  1. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs +1 -1
  2. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.cjs.map +1 -1
  3. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.d.ts +13 -0
  4. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js +85 -165
  5. package/dist/components/app/navigation/language-select/AppNavigationLanguageSelect.js.map +1 -1
  6. package/dist/components/combobox/Combobox.cjs +1 -1
  7. package/dist/components/combobox/Combobox.cjs.map +1 -1
  8. package/dist/components/combobox/Combobox.js +71 -70
  9. package/dist/components/combobox/Combobox.js.map +1 -1
  10. package/dist/components/index.d.ts +1 -0
  11. package/dist/components/select/Select.cjs +1 -1
  12. package/dist/components/select/Select.cjs.map +1 -1
  13. package/dist/components/select/Select.js +75 -74
  14. package/dist/components/select/Select.js.map +1 -1
  15. package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs +1 -1
  16. package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs.map +1 -1
  17. package/dist/components/supplier-rating-badge/SupplierRatingBadge.js +10 -9
  18. package/dist/components/supplier-rating-badge/SupplierRatingBadge.js.map +1 -1
  19. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs +1 -1
  20. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs.map +1 -1
  21. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.d.ts +5 -43
  22. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js +69 -101
  23. package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js.map +1 -1
  24. package/dist/components/supplier-rating-badge/labels.cjs +2 -0
  25. package/dist/components/supplier-rating-badge/labels.cjs.map +1 -0
  26. package/dist/components/supplier-rating-badge/labels.d.ts +42 -0
  27. package/dist/components/supplier-rating-badge/labels.js +49 -0
  28. package/dist/components/supplier-rating-badge/labels.js.map +1 -0
  29. package/dist/components/ui-labels/UiLabelsProvider.cjs +2 -0
  30. package/dist/components/ui-labels/UiLabelsProvider.cjs.map +1 -0
  31. package/dist/components/ui-labels/UiLabelsProvider.d.ts +27 -0
  32. package/dist/components/ui-labels/UiLabelsProvider.js +28 -0
  33. package/dist/components/ui-labels/UiLabelsProvider.js.map +1 -0
  34. package/dist/components/ui-labels/index.d.ts +1 -0
  35. package/dist/index.cjs +1 -1
  36. package/dist/index.js +57 -55
  37. package/package.json +8 -7
@@ -0,0 +1,27 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { SupplierRatingLabels } from '../supplier-rating-badge/labels';
3
+ /**
4
+ * The words and number format the kit renders on its own (empty lists, loading states, the
5
+ * supplier rating). The kit carries no translations: an app wraps its tree once in
6
+ * UiLabelsProvider with its own, in the reader's locale. Without a provider the kit reads French,
7
+ * as it always has.
8
+ */
9
+ export type UiLabels = {
10
+ /** BCP 47 tag the kit formats numbers with (the supplier rating's note). */
11
+ locale: string;
12
+ /** Shown by Select and Combobox when there is nothing to pick. */
13
+ noResults: string;
14
+ /** Shown by Combobox while its items load. */
15
+ loading: string;
16
+ supplierRating: SupplierRatingLabels;
17
+ };
18
+ export type UiLabelsInput = Partial<Omit<UiLabels, 'supplierRating'>> & {
19
+ supplierRating?: Partial<SupplierRatingLabels>;
20
+ };
21
+ export declare const DEFAULT_UI_LABELS: UiLabels;
22
+ export declare const UiLabelsProvider: FC<{
23
+ labels: UiLabelsInput;
24
+ children: ReactNode;
25
+ }>;
26
+ /** The labels of the nearest UiLabelsProvider, or the French defaults. */
27
+ export declare function useUiLabels(): UiLabels;
@@ -0,0 +1,28 @@
1
+ "use client";
2
+ import { DEFAULT_SUPPLIER_RATING_LABELS as e, mergeSupplierRatingLabels as t } from "../supplier-rating-badge/labels.js";
3
+ import { createContext as n, useContext as r, useMemo as i } from "react";
4
+ import { jsx as a } from "react/jsx-runtime";
5
+ //#region src/components/ui-labels/UiLabelsProvider.tsx
6
+ var o = {
7
+ locale: "fr-FR",
8
+ noResults: "Aucun résultat",
9
+ loading: "Chargement...",
10
+ supplierRating: e
11
+ }, s = n(o), c = ({ labels: e, children: n }) => {
12
+ let r = i(() => ({
13
+ ...o,
14
+ ...e,
15
+ supplierRating: t(o.supplierRating, e.supplierRating)
16
+ }), [e]);
17
+ return /* @__PURE__ */ a(s.Provider, {
18
+ value: r,
19
+ children: n
20
+ });
21
+ };
22
+ function l() {
23
+ return r(s);
24
+ }
25
+ //#endregion
26
+ export { o as DEFAULT_UI_LABELS, c as UiLabelsProvider, l as useUiLabels };
27
+
28
+ //# sourceMappingURL=UiLabelsProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UiLabelsProvider.js","names":[],"sources":["../../../src/components/ui-labels/UiLabelsProvider.tsx"],"sourcesContent":["import { createContext, type FC, type ReactNode, useContext, useMemo } from 'react'\n\nimport {\n DEFAULT_SUPPLIER_RATING_LABELS,\n mergeSupplierRatingLabels,\n type SupplierRatingLabels,\n} from '../supplier-rating-badge/labels'\n\n/**\n * The words and number format the kit renders on its own (empty lists, loading states, the\n * supplier rating). The kit carries no translations: an app wraps its tree once in\n * UiLabelsProvider with its own, in the reader's locale. Without a provider the kit reads French,\n * as it always has.\n */\nexport type UiLabels = {\n /** BCP 47 tag the kit formats numbers with (the supplier rating's note). */\n locale: string\n /** Shown by Select and Combobox when there is nothing to pick. */\n noResults: string\n /** Shown by Combobox while its items load. */\n loading: string\n supplierRating: SupplierRatingLabels\n}\n\nexport type UiLabelsInput = Partial<Omit<UiLabels, 'supplierRating'>> & {\n supplierRating?: Partial<SupplierRatingLabels>\n}\n\nexport const DEFAULT_UI_LABELS: UiLabels = {\n locale: 'fr-FR',\n noResults: 'Aucun résultat',\n loading: 'Chargement...',\n supplierRating: DEFAULT_SUPPLIER_RATING_LABELS,\n}\n\nconst UiLabelsContext = createContext<UiLabels>(DEFAULT_UI_LABELS)\n\nexport const UiLabelsProvider: FC<{ labels: UiLabelsInput; children: ReactNode }> = ({ labels, children }) => {\n const value = useMemo<UiLabels>(\n () => ({\n ...DEFAULT_UI_LABELS,\n ...labels,\n supplierRating: mergeSupplierRatingLabels(DEFAULT_UI_LABELS.supplierRating, labels.supplierRating),\n }),\n [labels],\n )\n return <UiLabelsContext.Provider value={value}>{children}</UiLabelsContext.Provider>\n}\n\n/** The labels of the nearest UiLabelsProvider, or the French defaults. */\nexport function useUiLabels(): UiLabels {\n return useContext(UiLabelsContext)\n}\n"],"mappings":";;;;;AA4BA,IAAa,IAA8B;CACzC,QAAQ;CACR,WAAW;CACX,SAAS;CACT,gBAAgB;AAClB,GAEM,IAAkB,EAAwB,CAAiB,GAEpD,KAAwE,EAAE,WAAQ,kBAAe;CAC5G,IAAM,IAAQ,SACL;EACL,GAAG;EACH,GAAG;EACH,gBAAgB,EAA0B,EAAkB,gBAAgB,EAAO,cAAc;CACnG,IACA,CAAC,CAAM,CACT;CACA,OAAO,kBAAC,EAAgB,UAAjB;EAAiC;EAAQ;CAAmC,CAAA;AACrF;AAGA,SAAgB,IAAwB;CACtC,OAAO,EAAW,CAAe;AACnC"}
@@ -0,0 +1 @@
1
+ export * from './UiLabelsProvider';
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});/* empty css */const e=require("./components/accordion/Accordion.cjs"),t=require("./components/button/Button.cjs"),n=require("./components/checkbox/Checkbox.cjs"),r=require("./components/icon-button/IconButton.cjs"),i=require("./components/drawer/Drawer.cjs"),a=require("./components/form/FormControl.cjs"),ee=require("./components/tooltip/Tooltip.cjs"),o=require("./components/form/FormLabel.cjs"),s=require("./components/form/FormHelperText.cjs"),c=require("./components/heading/Heading.cjs"),l=require("./components/switch/Switch.cjs"),u=require("./components/text/Text.cjs"),d=require("./components/textarea/Textarea.cjs"),f=require("./components/tabs/Tabs.cjs"),p=require("./components/steps/Steps.cjs"),m=require("./components/select/Select.cjs"),te=require("./components/select-language/SelectLanguage.cjs"),ne=require("./components/input/Input.cjs"),h=require("./components/input/HighlightedInput.cjs"),re=require("./components/input/InputAddon.cjs"),g=require("./components/input/InputGroup.cjs"),_=require("./components/input/PhoneNumberInput.cjs"),v=require("./components/box/Box.cjs"),y=require("./components/date-picker/DatePicker.cjs"),b=require("./components/tag/Tag.cjs"),x=require("./components/radio-button-group/RadioButtonGroup.cjs"),S=require("./components/radio-group/RadioGroup.cjs"),C=require("./components/chip/Chip.cjs"),w=require("./components/action-card/ActionCard.cjs"),T=require("./components/alert/Alert.cjs"),E=require("./components/table/Table.cjs"),D=require("./components/breadcrumb/Breadcrumb.cjs"),O=require("./components/popover/Popover.cjs"),k=require("./components/pagination/Pagination.cjs"),A=require("./components/illustration/Illustration.cjs"),j=require("./components/button-filter/ButtonFilter.cjs"),M=require("./components/status-tag-select/StatusTagSelect.cjs"),N=require("./components/switch-card/namespace.cjs"),P=require("./components/radio-card-group/namespace.cjs"),F=require("./components/checkbox-card/namespace.cjs"),I=require("./components/combobox/Combobox.cjs"),L=require("./components/icon/Icon.cjs"),R=require("./components/collapsible/styled.cjs"),ie=require("./components/dialog/styled.cjs"),z=require("./components/avatar/styled.cjs"),B=require("./components/menu/Menu.cjs"),V=require("./components/flag/styled.cjs"),H=require("./components/origin-select/OriginSelect.cjs"),U=require("./components/chat/ChatMessage.cjs"),W=require("./components/chat/ChatDocumentMessage.cjs"),G=require("./components/chat/ChatProfileAvatar.cjs"),K=require("./components/chat/Chat.cjs"),q=require("./components/chat/ChatScoreBreakdown.cjs"),J=require("./components/chat/ChatTextInput.cjs"),Y=require("./components/supplier-rating-badge/SupplierRatingBreakdown.cjs"),ae=require("./components/supplier-rating-badge/SupplierRatingBadge.cjs"),oe=require("./components/app/price-tag/PriceTag.cjs"),se=require("./components/app/product-card-catalog/styled.cjs"),ce=require("./components/app/navigation/AppNavigation.cjs"),le=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),X=require("./components/app/mobile-navigation/MobileNavigation.cjs"),ue=require("./components/app/mobile-card/MobileCardShell.cjs"),de=require("./components/app/mobile-card/MobileCardHeader.cjs"),fe=require("./components/app/mobile-card/MobileCardNotificationBadge.cjs"),pe=require("./components/app/mobile-card/MobileCardEntityRow.cjs"),Z=require("./components/app/mobile-card/MobileCardSkeleton.cjs"),me=require("./preset.cjs");let Q=require("@ark-ui/react"),$=require("react-phone-number-input");exports.Accordion=e.Accordion,exports.AccordionItem=e.AccordionItem,exports.AccordionItemContent=e.AccordionItemContent,exports.AccordionItemIndicator=e.AccordionItemIndicator,exports.AccordionItemTrigger=e.AccordionItemTrigger,exports.ActionCard=w.ActionCard,exports.ActionCardDescription=w.ActionCardDescription,exports.ActionCardTitle=w.ActionCardTitle,exports.Alert=T.Alert,Object.defineProperty(exports,"AppNavigation",{enumerable:!0,get:function(){return ce.AppNavigation_exports}}),exports.AppNavigationLanguageSelect=le.AppNavigationLanguageSelect,Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return z.styled_exports}}),exports.Box=v.Box,exports.Breadcrumb=D.Breadcrumb,exports.BreadcrumbItem=D.BreadcrumbItem,exports.BreadcrumbLink=D.BreadcrumbLink,exports.Button=t.Button,exports.ButtonFilter=j.ButtonFilter,Object.defineProperty(exports,"Chat",{enumerable:!0,get:function(){return K.Chat_exports}}),exports.ChatDocumentMessage=W.ChatDocumentMessage,exports.ChatMessage=U.ChatMessage,exports.ChatProfileAvatar=G.ChatProfileAvatar,exports.ChatScoreBreakdown=q.ChatScoreBreakdown,exports.ChatTextInput=J.ChatTextInput,exports.Checkbox=n.Checkbox,Object.defineProperty(exports,"CheckboxCard",{enumerable:!0,get:function(){return F.namespace_exports}}),exports.CheckboxGroup=n.CheckboxGroup,exports.Chip=C.Chip,exports.ChipAvatar=C.ChipAvatar,exports.ChipClearTrigger=C.ChipClearTrigger,exports.ChipLabel=C.ChipLabel,Object.defineProperty(exports,"Collapsible",{enumerable:!0,get:function(){return R.styled_exports}}),exports.Combobox=I.Combobox,exports.DEFAULT_SUPPLIER_RATING_LABELS=Y.DEFAULT_SUPPLIER_RATING_LABELS,exports.DatePicker=y.DatePicker,Object.defineProperty(exports,"Dialog",{enumerable:!0,get:function(){return ie.styled_exports}}),exports.Drawer=i.Drawer,exports.DrawerBody=i.DrawerBody,exports.DrawerCloseTrigger=i.DrawerCloseTrigger,exports.DrawerContent=i.DrawerContent,exports.DrawerContext=i.DrawerContext,exports.DrawerFooter=i.DrawerFooter,exports.DrawerHeader=i.DrawerHeader,exports.DrawerTitle=i.DrawerTitle,exports.DrawerTrigger=i.DrawerTrigger,exports.Flag=V.Flag,exports.FlagCountryCodes=V.FlagCountryCodes,exports.FormControl=a.FormControl,exports.FormHelperText=s.FormHelperText,exports.FormLabel=o.FormLabel,exports.Heading=c.Heading,exports.Highlight=h.Highlight,exports.HighlightedInput=h.HighlightedInput,exports.Icon=L.Icon,exports.IconButton=r.IconButton,exports.Illustration=A.Illustration,exports.Input=ne.Input,exports.InputAddon=re.InputAddon,exports.InputGroup=g.InputGroup,exports.InputSlot=h.InputSlot,Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return B.Menu_exports}}),exports.MobileCardEntityRow=pe.MobileCardEntityRow,exports.MobileCardHeader=de.MobileCardHeader,exports.MobileCardNotificationBadge=fe.MobileCardNotificationBadge,exports.MobileCardShell=ue.MobileCardShell,exports.MobileCardSkeleton=Z.MobileCardSkeleton,exports.MobileCardSkeletonList=Z.MobileCardSkeletonList,Object.defineProperty(exports,"MobileNavigation",{enumerable:!0,get:function(){return X.MobileNavigation_exports}}),exports.OriginSelect=H.OriginSelect,exports.Pagination=k.Pagination,exports.PhoneNumberInput=_.PhoneNumberInput,exports.Popover=O.Popover,exports.PopoverAnchor=O.PopoverAnchor,exports.PopoverCloseTrigger=O.PopoverCloseTrigger,exports.PopoverContent=O.PopoverContent,exports.PopoverContext=O.PopoverContext,exports.PopoverTrigger=O.PopoverTrigger,exports.PriceTag=oe.PriceTag,Object.defineProperty(exports,"ProductCardCatalog",{enumerable:!0,get:function(){return se.styled_exports}}),exports.RadioButtonGroup=x.RadioButtonGroup,exports.RadioButtonGroupItem=x.RadioButtonGroupItem,exports.RadioButtonGroupLabel=x.RadioButtonGroupLabel,Object.defineProperty(exports,"RadioCardGroup",{enumerable:!0,get:function(){return P.namespace_exports}}),exports.RadioGroup=S.RadioGroup,exports.RadioGroupItem=S.RadioGroupItem,exports.RadioGroupLabel=S.RadioGroupLabel,exports.Renderer=h.Renderer,exports.Root=h.Root,exports.SUPPLIER_RATING_MAX=Y.SUPPLIER_RATING_MAX,exports.Select=m.Select,exports.SelectLanguage=te.SelectLanguage,exports.SkeletonBlock=Z.SkeletonBlock,exports.StatusTagSelect=M.StatusTagSelect,exports.Steps=p.Steps,exports.StepsContent=p.StepsContent,exports.StepsIndicator=p.StepsIndicator,exports.StepsItem=p.StepsItem,exports.StepsList=p.StepsList,exports.StepsSeparator=p.StepsSeparator,exports.StepsTrigger=p.StepsTrigger,exports.SupplierRatingBadge=ae.SupplierRatingBadge,exports.SupplierRatingBreakdown=Y.SupplierRatingBreakdown,exports.Switch=l.Switch,Object.defineProperty(exports,"SwitchCard",{enumerable:!0,get:function(){return N.namespace_exports}}),exports.Table=E.Table,exports.TableContainer=E.TableContainer,exports.TableEmptyRow=E.TableEmptyRow,exports.TableGroupTitle=E.TableGroupTitle,exports.Tabs=f.Tabs,exports.TabsChip=f.TabsChip,exports.TabsContent=f.TabsContent,exports.TabsList=f.TabsList,exports.TabsTrigger=f.TabsTrigger,exports.Tag=b.Tag,exports.Tbody=E.Tbody,exports.Td=E.Td,exports.Text=u.Text,exports.Textarea=d.Textarea,exports.Th=E.Th,exports.Thead=E.Thead,exports.Tooltip=ee.Tooltip,exports.Tr=E.Tr,Object.defineProperty(exports,"createListCollection",{enumerable:!0,get:function(){return Q.createListCollection}}),Object.defineProperty(exports,"createToaster",{enumerable:!0,get:function(){return Q.createToaster}}),exports.formatOverall=Y.formatOverall,Object.defineProperty(exports,"formatPhoneNumber",{enumerable:!0,get:function(){return $.formatPhoneNumber}}),Object.defineProperty(exports,"formatPhoneNumberIntl",{enumerable:!0,get:function(){return $.formatPhoneNumberIntl}}),exports.formatResponseDelay=Y.formatResponseDelay,Object.defineProperty(exports,"getCountries",{enumerable:!0,get:function(){return $.getCountries}}),Object.defineProperty(exports,"getCountryCallingCode",{enumerable:!0,get:function(){return $.getCountryCallingCode}}),exports.getHeadlineColor=Y.getHeadlineColor,Object.defineProperty(exports,"isPossiblePhoneNumber",{enumerable:!0,get:function(){return $.isPossiblePhoneNumber}}),Object.defineProperty(exports,"isSupportedCountry",{enumerable:!0,get:function(){return $.isSupportedCountry}}),Object.defineProperty(exports,"isValidPhoneNumber",{enumerable:!0,get:function(){return $.isValidPhoneNumber}}),Object.defineProperty(exports,"parseColor",{enumerable:!0,get:function(){return Q.parseColor}}),Object.defineProperty(exports,"parseDate",{enumerable:!0,get:function(){return Q.parseDate}}),Object.defineProperty(exports,"parsePhoneNumber",{enumerable:!0,get:function(){return $.parsePhoneNumber}}),exports.preset=me.preset,Object.defineProperty(exports,"useAccordion",{enumerable:!0,get:function(){return Q.useAccordion}});
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});/* empty css */const e=require("./components/accordion/Accordion.cjs"),t=require("./components/button/Button.cjs"),n=require("./components/checkbox/Checkbox.cjs"),r=require("./components/icon-button/IconButton.cjs"),i=require("./components/drawer/Drawer.cjs"),a=require("./components/form/FormControl.cjs"),o=require("./components/tooltip/Tooltip.cjs"),s=require("./components/form/FormLabel.cjs"),ee=require("./components/form/FormHelperText.cjs"),c=require("./components/heading/Heading.cjs"),l=require("./components/switch/Switch.cjs"),u=require("./components/text/Text.cjs"),d=require("./components/textarea/Textarea.cjs"),f=require("./components/tabs/Tabs.cjs"),p=require("./components/steps/Steps.cjs"),m=require("./components/supplier-rating-badge/labels.cjs"),h=require("./components/ui-labels/UiLabelsProvider.cjs"),te=require("./components/select/Select.cjs"),ne=require("./components/select-language/SelectLanguage.cjs"),re=require("./components/input/Input.cjs"),g=require("./components/input/HighlightedInput.cjs"),ie=require("./components/input/InputAddon.cjs"),ae=require("./components/input/InputGroup.cjs"),_=require("./components/input/PhoneNumberInput.cjs"),v=require("./components/box/Box.cjs"),y=require("./components/date-picker/DatePicker.cjs"),b=require("./components/tag/Tag.cjs"),x=require("./components/radio-button-group/RadioButtonGroup.cjs"),S=require("./components/radio-group/RadioGroup.cjs"),C=require("./components/chip/Chip.cjs"),w=require("./components/action-card/ActionCard.cjs"),T=require("./components/alert/Alert.cjs"),E=require("./components/table/Table.cjs"),D=require("./components/breadcrumb/Breadcrumb.cjs"),O=require("./components/popover/Popover.cjs"),k=require("./components/pagination/Pagination.cjs"),A=require("./components/illustration/Illustration.cjs"),j=require("./components/button-filter/ButtonFilter.cjs"),M=require("./components/status-tag-select/StatusTagSelect.cjs"),N=require("./components/switch-card/namespace.cjs"),P=require("./components/radio-card-group/namespace.cjs"),F=require("./components/checkbox-card/namespace.cjs"),I=require("./components/combobox/Combobox.cjs"),L=require("./components/icon/Icon.cjs"),R=require("./components/collapsible/styled.cjs"),z=require("./components/dialog/styled.cjs"),oe=require("./components/avatar/styled.cjs"),B=require("./components/menu/Menu.cjs"),V=require("./components/flag/styled.cjs"),H=require("./components/origin-select/OriginSelect.cjs"),U=require("./components/chat/ChatMessage.cjs"),W=require("./components/chat/ChatDocumentMessage.cjs"),G=require("./components/chat/ChatProfileAvatar.cjs"),K=require("./components/chat/Chat.cjs"),q=require("./components/chat/ChatScoreBreakdown.cjs"),se=require("./components/chat/ChatTextInput.cjs"),J=require("./components/supplier-rating-badge/SupplierRatingBreakdown.cjs"),ce=require("./components/supplier-rating-badge/SupplierRatingBadge.cjs"),le=require("./components/app/price-tag/PriceTag.cjs"),ue=require("./components/app/product-card-catalog/styled.cjs"),de=require("./components/app/navigation/AppNavigation.cjs"),Y=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),fe=require("./components/app/mobile-navigation/MobileNavigation.cjs"),X=require("./components/app/mobile-card/MobileCardShell.cjs"),pe=require("./components/app/mobile-card/MobileCardHeader.cjs"),me=require("./components/app/mobile-card/MobileCardNotificationBadge.cjs"),he=require("./components/app/mobile-card/MobileCardEntityRow.cjs"),Z=require("./components/app/mobile-card/MobileCardSkeleton.cjs"),ge=require("./preset.cjs");let Q=require("@ark-ui/react"),$=require("react-phone-number-input");exports.Accordion=e.Accordion,exports.AccordionItem=e.AccordionItem,exports.AccordionItemContent=e.AccordionItemContent,exports.AccordionItemIndicator=e.AccordionItemIndicator,exports.AccordionItemTrigger=e.AccordionItemTrigger,exports.ActionCard=w.ActionCard,exports.ActionCardDescription=w.ActionCardDescription,exports.ActionCardTitle=w.ActionCardTitle,exports.Alert=T.Alert,Object.defineProperty(exports,"AppNavigation",{enumerable:!0,get:function(){return de.AppNavigation_exports}}),exports.AppNavigationLanguageSelect=Y.AppNavigationLanguageSelect,Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return oe.styled_exports}}),exports.Box=v.Box,exports.Breadcrumb=D.Breadcrumb,exports.BreadcrumbItem=D.BreadcrumbItem,exports.BreadcrumbLink=D.BreadcrumbLink,exports.Button=t.Button,exports.ButtonFilter=j.ButtonFilter,Object.defineProperty(exports,"Chat",{enumerable:!0,get:function(){return K.Chat_exports}}),exports.ChatDocumentMessage=W.ChatDocumentMessage,exports.ChatMessage=U.ChatMessage,exports.ChatProfileAvatar=G.ChatProfileAvatar,exports.ChatScoreBreakdown=q.ChatScoreBreakdown,exports.ChatTextInput=se.ChatTextInput,exports.Checkbox=n.Checkbox,Object.defineProperty(exports,"CheckboxCard",{enumerable:!0,get:function(){return F.namespace_exports}}),exports.CheckboxGroup=n.CheckboxGroup,exports.Chip=C.Chip,exports.ChipAvatar=C.ChipAvatar,exports.ChipClearTrigger=C.ChipClearTrigger,exports.ChipLabel=C.ChipLabel,Object.defineProperty(exports,"Collapsible",{enumerable:!0,get:function(){return R.styled_exports}}),exports.Combobox=I.Combobox,exports.DEFAULT_APP_NAVIGATION_LANGUAGES=Y.DEFAULT_APP_NAVIGATION_LANGUAGES,exports.DEFAULT_SUPPLIER_RATING_LABELS=m.DEFAULT_SUPPLIER_RATING_LABELS,exports.DEFAULT_UI_LABELS=h.DEFAULT_UI_LABELS,exports.DatePicker=y.DatePicker,Object.defineProperty(exports,"Dialog",{enumerable:!0,get:function(){return z.styled_exports}}),exports.Drawer=i.Drawer,exports.DrawerBody=i.DrawerBody,exports.DrawerCloseTrigger=i.DrawerCloseTrigger,exports.DrawerContent=i.DrawerContent,exports.DrawerContext=i.DrawerContext,exports.DrawerFooter=i.DrawerFooter,exports.DrawerHeader=i.DrawerHeader,exports.DrawerTitle=i.DrawerTitle,exports.DrawerTrigger=i.DrawerTrigger,exports.Flag=V.Flag,exports.FlagCountryCodes=V.FlagCountryCodes,exports.FormControl=a.FormControl,exports.FormHelperText=ee.FormHelperText,exports.FormLabel=s.FormLabel,exports.Heading=c.Heading,exports.Highlight=g.Highlight,exports.HighlightedInput=g.HighlightedInput,exports.Icon=L.Icon,exports.IconButton=r.IconButton,exports.Illustration=A.Illustration,exports.Input=re.Input,exports.InputAddon=ie.InputAddon,exports.InputGroup=ae.InputGroup,exports.InputSlot=g.InputSlot,Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return B.Menu_exports}}),exports.MobileCardEntityRow=he.MobileCardEntityRow,exports.MobileCardHeader=pe.MobileCardHeader,exports.MobileCardNotificationBadge=me.MobileCardNotificationBadge,exports.MobileCardShell=X.MobileCardShell,exports.MobileCardSkeleton=Z.MobileCardSkeleton,exports.MobileCardSkeletonList=Z.MobileCardSkeletonList,Object.defineProperty(exports,"MobileNavigation",{enumerable:!0,get:function(){return fe.MobileNavigation_exports}}),exports.OriginSelect=H.OriginSelect,exports.Pagination=k.Pagination,exports.PhoneNumberInput=_.PhoneNumberInput,exports.Popover=O.Popover,exports.PopoverAnchor=O.PopoverAnchor,exports.PopoverCloseTrigger=O.PopoverCloseTrigger,exports.PopoverContent=O.PopoverContent,exports.PopoverContext=O.PopoverContext,exports.PopoverTrigger=O.PopoverTrigger,exports.PriceTag=le.PriceTag,Object.defineProperty(exports,"ProductCardCatalog",{enumerable:!0,get:function(){return ue.styled_exports}}),exports.RadioButtonGroup=x.RadioButtonGroup,exports.RadioButtonGroupItem=x.RadioButtonGroupItem,exports.RadioButtonGroupLabel=x.RadioButtonGroupLabel,Object.defineProperty(exports,"RadioCardGroup",{enumerable:!0,get:function(){return P.namespace_exports}}),exports.RadioGroup=S.RadioGroup,exports.RadioGroupItem=S.RadioGroupItem,exports.RadioGroupLabel=S.RadioGroupLabel,exports.Renderer=g.Renderer,exports.Root=g.Root,exports.SUPPLIER_RATING_MAX=J.SUPPLIER_RATING_MAX,exports.Select=te.Select,exports.SelectLanguage=ne.SelectLanguage,exports.SkeletonBlock=Z.SkeletonBlock,exports.StatusTagSelect=M.StatusTagSelect,exports.Steps=p.Steps,exports.StepsContent=p.StepsContent,exports.StepsIndicator=p.StepsIndicator,exports.StepsItem=p.StepsItem,exports.StepsList=p.StepsList,exports.StepsSeparator=p.StepsSeparator,exports.StepsTrigger=p.StepsTrigger,exports.SupplierRatingBadge=ce.SupplierRatingBadge,exports.SupplierRatingBreakdown=J.SupplierRatingBreakdown,exports.Switch=l.Switch,Object.defineProperty(exports,"SwitchCard",{enumerable:!0,get:function(){return N.namespace_exports}}),exports.Table=E.Table,exports.TableContainer=E.TableContainer,exports.TableEmptyRow=E.TableEmptyRow,exports.TableGroupTitle=E.TableGroupTitle,exports.Tabs=f.Tabs,exports.TabsChip=f.TabsChip,exports.TabsContent=f.TabsContent,exports.TabsList=f.TabsList,exports.TabsTrigger=f.TabsTrigger,exports.Tag=b.Tag,exports.Tbody=E.Tbody,exports.Td=E.Td,exports.Text=u.Text,exports.Textarea=d.Textarea,exports.Th=E.Th,exports.Thead=E.Thead,exports.Tooltip=o.Tooltip,exports.Tr=E.Tr,exports.UiLabelsProvider=h.UiLabelsProvider,Object.defineProperty(exports,"createListCollection",{enumerable:!0,get:function(){return Q.createListCollection}}),Object.defineProperty(exports,"createToaster",{enumerable:!0,get:function(){return Q.createToaster}}),exports.formatOverall=J.formatOverall,Object.defineProperty(exports,"formatPhoneNumber",{enumerable:!0,get:function(){return $.formatPhoneNumber}}),Object.defineProperty(exports,"formatPhoneNumberIntl",{enumerable:!0,get:function(){return $.formatPhoneNumberIntl}}),exports.formatResponseDelay=J.formatResponseDelay,Object.defineProperty(exports,"getCountries",{enumerable:!0,get:function(){return $.getCountries}}),Object.defineProperty(exports,"getCountryCallingCode",{enumerable:!0,get:function(){return $.getCountryCallingCode}}),exports.getHeadlineColor=J.getHeadlineColor,Object.defineProperty(exports,"isPossiblePhoneNumber",{enumerable:!0,get:function(){return $.isPossiblePhoneNumber}}),Object.defineProperty(exports,"isSupportedCountry",{enumerable:!0,get:function(){return $.isSupportedCountry}}),Object.defineProperty(exports,"isValidPhoneNumber",{enumerable:!0,get:function(){return $.isValidPhoneNumber}}),exports.mergeSupplierRatingLabels=m.mergeSupplierRatingLabels,Object.defineProperty(exports,"parseColor",{enumerable:!0,get:function(){return Q.parseColor}}),Object.defineProperty(exports,"parseDate",{enumerable:!0,get:function(){return Q.parseDate}}),Object.defineProperty(exports,"parsePhoneNumber",{enumerable:!0,get:function(){return $.parsePhoneNumber}}),exports.preset=ge.preset,Object.defineProperty(exports,"useAccordion",{enumerable:!0,get:function(){return Q.useAccordion}}),exports.useUiLabels=h.useUiLabels;
package/dist/index.js CHANGED
@@ -15,58 +15,60 @@ import { Text as T } from "./components/text/Text.js";
15
15
  import { Textarea as E } from "./components/textarea/Textarea.js";
16
16
  import { Tabs as D, TabsChip as O, TabsContent as k, TabsList as A, TabsTrigger as j } from "./components/tabs/Tabs.js";
17
17
  import { Steps as M, StepsContent as N, StepsIndicator as P, StepsItem as F, StepsList as I, StepsSeparator as L, StepsTrigger as R } from "./components/steps/Steps.js";
18
- import { Select as z } from "./components/select/Select.js";
19
- import { SelectLanguage as B } from "./components/select-language/SelectLanguage.js";
20
- import { Input as V } from "./components/input/Input.js";
21
- import { Highlight as H, HighlightedInput as U, InputSlot as W, Renderer as G, Root as K } from "./components/input/HighlightedInput.js";
22
- import { InputAddon as q } from "./components/input/InputAddon.js";
23
- import { InputGroup as J } from "./components/input/InputGroup.js";
24
- import { PhoneNumberInput as Y } from "./components/input/PhoneNumberInput.js";
25
- import { Box as X } from "./components/box/Box.js";
26
- import { DatePicker as Z } from "./components/date-picker/DatePicker.js";
27
- import { Tag as Q } from "./components/tag/Tag.js";
28
- import { RadioButtonGroup as $, RadioButtonGroupItem as ee, RadioButtonGroupLabel as te } from "./components/radio-button-group/RadioButtonGroup.js";
29
- import { RadioGroup as ne, RadioGroupItem as re, RadioGroupLabel as ie } from "./components/radio-group/RadioGroup.js";
30
- import { Chip as ae, ChipAvatar as oe, ChipClearTrigger as se, ChipLabel as ce } from "./components/chip/Chip.js";
31
- import { ActionCard as le, ActionCardDescription as ue, ActionCardTitle as de } from "./components/action-card/ActionCard.js";
32
- import { Alert as fe } from "./components/alert/Alert.js";
33
- import { Table as pe, TableContainer as me, TableEmptyRow as he, TableGroupTitle as ge, Tbody as _e, Td as ve, Th as ye, Thead as be, Tr as xe } from "./components/table/Table.js";
34
- import { Breadcrumb as Se, BreadcrumbItem as Ce, BreadcrumbLink as we } from "./components/breadcrumb/Breadcrumb.js";
35
- import { Popover as Te, PopoverAnchor as Ee, PopoverCloseTrigger as De, PopoverContent as Oe, PopoverContext as ke, PopoverTrigger as Ae } from "./components/popover/Popover.js";
36
- import { Pagination as je } from "./components/pagination/Pagination.js";
37
- import { Illustration as Me } from "./components/illustration/Illustration.js";
38
- import { ButtonFilter as Ne } from "./components/button-filter/ButtonFilter.js";
39
- import { StatusTagSelect as Pe } from "./components/status-tag-select/StatusTagSelect.js";
40
- import { namespace_exports as Fe } from "./components/switch-card/namespace.js";
41
- import { namespace_exports as Ie } from "./components/radio-card-group/namespace.js";
42
- import { namespace_exports as Le } from "./components/checkbox-card/namespace.js";
43
- import { Combobox as Re } from "./components/combobox/Combobox.js";
44
- import { Icon as ze } from "./components/icon/Icon.js";
45
- import { styled_exports as Be } from "./components/collapsible/styled.js";
46
- import { styled_exports as Ve } from "./components/dialog/styled.js";
47
- import { styled_exports as He } from "./components/avatar/styled.js";
48
- import { Menu_exports as Ue } from "./components/menu/Menu.js";
49
- import { Flag as We, FlagCountryCodes as Ge } from "./components/flag/styled.js";
50
- import { OriginSelect as Ke } from "./components/origin-select/OriginSelect.js";
51
- import { ChatMessage as qe } from "./components/chat/ChatMessage.js";
52
- import { ChatDocumentMessage as Je } from "./components/chat/ChatDocumentMessage.js";
53
- import { ChatProfileAvatar as Ye } from "./components/chat/ChatProfileAvatar.js";
54
- import { Chat_exports as Xe } from "./components/chat/Chat.js";
55
- import { ChatScoreBreakdown as Ze } from "./components/chat/ChatScoreBreakdown.js";
56
- import { ChatTextInput as Qe } from "./components/chat/ChatTextInput.js";
57
- import { DEFAULT_SUPPLIER_RATING_LABELS as $e, SUPPLIER_RATING_MAX as et, SupplierRatingBreakdown as tt, formatOverall as nt, formatResponseDelay as rt, getHeadlineColor as it } from "./components/supplier-rating-badge/SupplierRatingBreakdown.js";
58
- import { SupplierRatingBadge as at } from "./components/supplier-rating-badge/SupplierRatingBadge.js";
59
- import { PriceTag as ot } from "./components/app/price-tag/PriceTag.js";
60
- import { styled_exports as st } from "./components/app/product-card-catalog/styled.js";
61
- import { AppNavigation_exports as ct } from "./components/app/navigation/AppNavigation.js";
62
- import { AppNavigationLanguageSelect as lt } from "./components/app/navigation/language-select/AppNavigationLanguageSelect.js";
63
- import { MobileNavigation_exports as ut } from "./components/app/mobile-navigation/MobileNavigation.js";
64
- import { MobileCardShell as dt } from "./components/app/mobile-card/MobileCardShell.js";
65
- import { MobileCardHeader as ft } from "./components/app/mobile-card/MobileCardHeader.js";
66
- import { MobileCardNotificationBadge as pt } from "./components/app/mobile-card/MobileCardNotificationBadge.js";
67
- import { MobileCardEntityRow as mt } from "./components/app/mobile-card/MobileCardEntityRow.js";
68
- import { MobileCardSkeleton as ht, MobileCardSkeletonList as gt, SkeletonBlock as _t } from "./components/app/mobile-card/MobileCardSkeleton.js";
69
- import { preset as vt } from "./preset.js";
70
- import { createListCollection as yt, createToaster as bt, parseColor as xt, parseDate as St } from "@ark-ui/react";
71
- import { formatPhoneNumber as Ct, formatPhoneNumberIntl as wt, getCountries as Tt, getCountryCallingCode as Et, isPossiblePhoneNumber as Dt, isSupportedCountry as Ot, isValidPhoneNumber as kt, parsePhoneNumber as At } from "react-phone-number-input";
72
- export { e as Accordion, t as AccordionItem, n as AccordionItemContent, r as AccordionItemIndicator, i as AccordionItemTrigger, le as ActionCard, ue as ActionCardDescription, de as ActionCardTitle, fe as Alert, ct as AppNavigation, lt as AppNavigationLanguageSelect, He as Avatar, X as Box, Se as Breadcrumb, Ce as BreadcrumbItem, we as BreadcrumbLink, o as Button, Ne as ButtonFilter, Xe as Chat, Je as ChatDocumentMessage, qe as ChatMessage, Ye as ChatProfileAvatar, Ze as ChatScoreBreakdown, Qe as ChatTextInput, s as Checkbox, Le as CheckboxCard, c as CheckboxGroup, ae as Chip, oe as ChipAvatar, se as ChipClearTrigger, ce as ChipLabel, Be as Collapsible, Re as Combobox, $e as DEFAULT_SUPPLIER_RATING_LABELS, Z as DatePicker, Ve as Dialog, u as Drawer, d as DrawerBody, f as DrawerCloseTrigger, p as DrawerContent, m as DrawerContext, h as DrawerFooter, g as DrawerHeader, _ as DrawerTitle, v as DrawerTrigger, We as Flag, Ge as FlagCountryCodes, y as FormControl, S as FormHelperText, x as FormLabel, C as Heading, H as Highlight, U as HighlightedInput, ze as Icon, l as IconButton, Me as Illustration, V as Input, q as InputAddon, J as InputGroup, W as InputSlot, Ue as Menu, mt as MobileCardEntityRow, ft as MobileCardHeader, pt as MobileCardNotificationBadge, dt as MobileCardShell, ht as MobileCardSkeleton, gt as MobileCardSkeletonList, ut as MobileNavigation, Ke as OriginSelect, je as Pagination, Y as PhoneNumberInput, Te as Popover, Ee as PopoverAnchor, De as PopoverCloseTrigger, Oe as PopoverContent, ke as PopoverContext, Ae as PopoverTrigger, ot as PriceTag, st as ProductCardCatalog, $ as RadioButtonGroup, ee as RadioButtonGroupItem, te as RadioButtonGroupLabel, Ie as RadioCardGroup, ne as RadioGroup, re as RadioGroupItem, ie as RadioGroupLabel, G as Renderer, K as Root, et as SUPPLIER_RATING_MAX, z as Select, B as SelectLanguage, _t as SkeletonBlock, Pe as StatusTagSelect, M as Steps, N as StepsContent, P as StepsIndicator, F as StepsItem, I as StepsList, L as StepsSeparator, R as StepsTrigger, at as SupplierRatingBadge, tt as SupplierRatingBreakdown, w as Switch, Fe as SwitchCard, pe as Table, me as TableContainer, he as TableEmptyRow, ge as TableGroupTitle, D as Tabs, O as TabsChip, k as TabsContent, A as TabsList, j as TabsTrigger, Q as Tag, _e as Tbody, ve as Td, T as Text, E as Textarea, ye as Th, be as Thead, b as Tooltip, xe as Tr, yt as createListCollection, bt as createToaster, nt as formatOverall, Ct as formatPhoneNumber, wt as formatPhoneNumberIntl, rt as formatResponseDelay, Tt as getCountries, Et as getCountryCallingCode, it as getHeadlineColor, Dt as isPossiblePhoneNumber, Ot as isSupportedCountry, kt as isValidPhoneNumber, xt as parseColor, St as parseDate, At as parsePhoneNumber, vt as preset, a as useAccordion };
18
+ import { DEFAULT_SUPPLIER_RATING_LABELS as z, mergeSupplierRatingLabels as B } from "./components/supplier-rating-badge/labels.js";
19
+ import { DEFAULT_UI_LABELS as V, UiLabelsProvider as H, useUiLabels as U } from "./components/ui-labels/UiLabelsProvider.js";
20
+ import { Select as W } from "./components/select/Select.js";
21
+ import { SelectLanguage as G } from "./components/select-language/SelectLanguage.js";
22
+ import { Input as K } from "./components/input/Input.js";
23
+ import { Highlight as q, HighlightedInput as J, InputSlot as Y, Renderer as X, Root as Z } from "./components/input/HighlightedInput.js";
24
+ import { InputAddon as Q } from "./components/input/InputAddon.js";
25
+ import { InputGroup as $ } from "./components/input/InputGroup.js";
26
+ import { PhoneNumberInput as ee } from "./components/input/PhoneNumberInput.js";
27
+ import { Box as te } from "./components/box/Box.js";
28
+ import { DatePicker as ne } from "./components/date-picker/DatePicker.js";
29
+ import { Tag as re } from "./components/tag/Tag.js";
30
+ import { RadioButtonGroup as ie, RadioButtonGroupItem as ae, RadioButtonGroupLabel as oe } from "./components/radio-button-group/RadioButtonGroup.js";
31
+ import { RadioGroup as se, RadioGroupItem as ce, RadioGroupLabel as le } from "./components/radio-group/RadioGroup.js";
32
+ import { Chip as ue, ChipAvatar as de, ChipClearTrigger as fe, ChipLabel as pe } from "./components/chip/Chip.js";
33
+ import { ActionCard as me, ActionCardDescription as he, ActionCardTitle as ge } from "./components/action-card/ActionCard.js";
34
+ import { Alert as _e } from "./components/alert/Alert.js";
35
+ import { Table as ve, TableContainer as ye, TableEmptyRow as be, TableGroupTitle as xe, Tbody as Se, Td as Ce, Th as we, Thead as Te, Tr as Ee } from "./components/table/Table.js";
36
+ import { Breadcrumb as De, BreadcrumbItem as Oe, BreadcrumbLink as ke } from "./components/breadcrumb/Breadcrumb.js";
37
+ import { Popover as Ae, PopoverAnchor as je, PopoverCloseTrigger as Me, PopoverContent as Ne, PopoverContext as Pe, PopoverTrigger as Fe } from "./components/popover/Popover.js";
38
+ import { Pagination as Ie } from "./components/pagination/Pagination.js";
39
+ import { Illustration as Le } from "./components/illustration/Illustration.js";
40
+ import { ButtonFilter as Re } from "./components/button-filter/ButtonFilter.js";
41
+ import { StatusTagSelect as ze } from "./components/status-tag-select/StatusTagSelect.js";
42
+ import { namespace_exports as Be } from "./components/switch-card/namespace.js";
43
+ import { namespace_exports as Ve } from "./components/radio-card-group/namespace.js";
44
+ import { namespace_exports as He } from "./components/checkbox-card/namespace.js";
45
+ import { Combobox as Ue } from "./components/combobox/Combobox.js";
46
+ import { Icon as We } from "./components/icon/Icon.js";
47
+ import { styled_exports as Ge } from "./components/collapsible/styled.js";
48
+ import { styled_exports as Ke } from "./components/dialog/styled.js";
49
+ import { styled_exports as qe } from "./components/avatar/styled.js";
50
+ import { Menu_exports as Je } from "./components/menu/Menu.js";
51
+ import { Flag as Ye, FlagCountryCodes as Xe } from "./components/flag/styled.js";
52
+ import { OriginSelect as Ze } from "./components/origin-select/OriginSelect.js";
53
+ import { ChatMessage as Qe } from "./components/chat/ChatMessage.js";
54
+ import { ChatDocumentMessage as $e } from "./components/chat/ChatDocumentMessage.js";
55
+ import { ChatProfileAvatar as et } from "./components/chat/ChatProfileAvatar.js";
56
+ import { Chat_exports as tt } from "./components/chat/Chat.js";
57
+ import { ChatScoreBreakdown as nt } from "./components/chat/ChatScoreBreakdown.js";
58
+ import { ChatTextInput as rt } from "./components/chat/ChatTextInput.js";
59
+ import { SUPPLIER_RATING_MAX as it, SupplierRatingBreakdown as at, formatOverall as ot, formatResponseDelay as st, getHeadlineColor as ct } from "./components/supplier-rating-badge/SupplierRatingBreakdown.js";
60
+ import { SupplierRatingBadge as lt } from "./components/supplier-rating-badge/SupplierRatingBadge.js";
61
+ import { PriceTag as ut } from "./components/app/price-tag/PriceTag.js";
62
+ import { styled_exports as dt } from "./components/app/product-card-catalog/styled.js";
63
+ import { AppNavigation_exports as ft } from "./components/app/navigation/AppNavigation.js";
64
+ import { AppNavigationLanguageSelect as pt, DEFAULT_APP_NAVIGATION_LANGUAGES as mt } from "./components/app/navigation/language-select/AppNavigationLanguageSelect.js";
65
+ import { MobileNavigation_exports as ht } from "./components/app/mobile-navigation/MobileNavigation.js";
66
+ import { MobileCardShell as gt } from "./components/app/mobile-card/MobileCardShell.js";
67
+ import { MobileCardHeader as _t } from "./components/app/mobile-card/MobileCardHeader.js";
68
+ import { MobileCardNotificationBadge as vt } from "./components/app/mobile-card/MobileCardNotificationBadge.js";
69
+ import { MobileCardEntityRow as yt } from "./components/app/mobile-card/MobileCardEntityRow.js";
70
+ import { MobileCardSkeleton as bt, MobileCardSkeletonList as xt, SkeletonBlock as St } from "./components/app/mobile-card/MobileCardSkeleton.js";
71
+ import { preset as Ct } from "./preset.js";
72
+ import { createListCollection as wt, createToaster as Tt, parseColor as Et, parseDate as Dt } from "@ark-ui/react";
73
+ import { formatPhoneNumber as Ot, formatPhoneNumberIntl as kt, getCountries as At, getCountryCallingCode as jt, isPossiblePhoneNumber as Mt, isSupportedCountry as Nt, isValidPhoneNumber as Pt, parsePhoneNumber as Ft } from "react-phone-number-input";
74
+ export { e as Accordion, t as AccordionItem, n as AccordionItemContent, r as AccordionItemIndicator, i as AccordionItemTrigger, me as ActionCard, he as ActionCardDescription, ge as ActionCardTitle, _e as Alert, ft as AppNavigation, pt as AppNavigationLanguageSelect, qe as Avatar, te as Box, De as Breadcrumb, Oe as BreadcrumbItem, ke as BreadcrumbLink, o as Button, Re as ButtonFilter, tt as Chat, $e as ChatDocumentMessage, Qe as ChatMessage, et as ChatProfileAvatar, nt as ChatScoreBreakdown, rt as ChatTextInput, s as Checkbox, He as CheckboxCard, c as CheckboxGroup, ue as Chip, de as ChipAvatar, fe as ChipClearTrigger, pe as ChipLabel, Ge as Collapsible, Ue as Combobox, mt as DEFAULT_APP_NAVIGATION_LANGUAGES, z as DEFAULT_SUPPLIER_RATING_LABELS, V as DEFAULT_UI_LABELS, ne as DatePicker, Ke as Dialog, u as Drawer, d as DrawerBody, f as DrawerCloseTrigger, p as DrawerContent, m as DrawerContext, h as DrawerFooter, g as DrawerHeader, _ as DrawerTitle, v as DrawerTrigger, Ye as Flag, Xe as FlagCountryCodes, y as FormControl, S as FormHelperText, x as FormLabel, C as Heading, q as Highlight, J as HighlightedInput, We as Icon, l as IconButton, Le as Illustration, K as Input, Q as InputAddon, $ as InputGroup, Y as InputSlot, Je as Menu, yt as MobileCardEntityRow, _t as MobileCardHeader, vt as MobileCardNotificationBadge, gt as MobileCardShell, bt as MobileCardSkeleton, xt as MobileCardSkeletonList, ht as MobileNavigation, Ze as OriginSelect, Ie as Pagination, ee as PhoneNumberInput, Ae as Popover, je as PopoverAnchor, Me as PopoverCloseTrigger, Ne as PopoverContent, Pe as PopoverContext, Fe as PopoverTrigger, ut as PriceTag, dt as ProductCardCatalog, ie as RadioButtonGroup, ae as RadioButtonGroupItem, oe as RadioButtonGroupLabel, Ve as RadioCardGroup, se as RadioGroup, ce as RadioGroupItem, le as RadioGroupLabel, X as Renderer, Z as Root, it as SUPPLIER_RATING_MAX, W as Select, G as SelectLanguage, St as SkeletonBlock, ze as StatusTagSelect, M as Steps, N as StepsContent, P as StepsIndicator, F as StepsItem, I as StepsList, L as StepsSeparator, R as StepsTrigger, lt as SupplierRatingBadge, at as SupplierRatingBreakdown, w as Switch, Be as SwitchCard, ve as Table, ye as TableContainer, be as TableEmptyRow, xe as TableGroupTitle, D as Tabs, O as TabsChip, k as TabsContent, A as TabsList, j as TabsTrigger, re as Tag, Se as Tbody, Ce as Td, T as Text, E as Textarea, we as Th, Te as Thead, b as Tooltip, Ee as Tr, H as UiLabelsProvider, wt as createListCollection, Tt as createToaster, ot as formatOverall, Ot as formatPhoneNumber, kt as formatPhoneNumberIntl, st as formatResponseDelay, At as getCountries, jt as getCountryCallingCode, ct as getHeadlineColor, Mt as isPossiblePhoneNumber, Nt as isSupportedCountry, Pt as isValidPhoneNumber, B as mergeSupplierRatingLabels, Et as parseColor, Dt as parseDate, Ft as parsePhoneNumber, Ct as preset, a as useAccordion, U as useUiLabels };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokelp/ui",
3
- "version": "2.122.1",
3
+ "version": "2.124.0",
4
4
  "description": "Stokelp UI React",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -75,13 +75,13 @@
75
75
  "react-window": "^1.8.11"
76
76
  },
77
77
  "devDependencies": {
78
- "@chromatic-com/storybook": "^5.1.1",
78
+ "@chromatic-com/storybook": "^5.3.1",
79
79
  "@pandacss/preset-base": "^1.11.1",
80
80
  "@pandacss/shared": "^1.11.1",
81
81
  "@stokelp/styled-system": "workspace:*",
82
- "@storybook/addon-docs": "^10.3.5",
83
- "@storybook/addon-links": "^10.3.5",
84
- "@storybook/react-vite": "^10.3.5",
82
+ "@storybook/addon-docs": "^10.6.0",
83
+ "@storybook/addon-links": "^10.6.0",
84
+ "@storybook/react-vite": "^10.6.0",
85
85
  "@types/lodash": "^4.17.24",
86
86
  "@types/react": "^19.2.14",
87
87
  "@types/react-is": "^19.2.0",
@@ -89,10 +89,11 @@
89
89
  "@vitejs/plugin-react": "^6.0.2",
90
90
  "deepmerge": "^4.3.1",
91
91
  "prop-types": "^15.8.1",
92
- "storybook": "^10.3.5",
92
+ "storybook": "^10.6.0",
93
93
  "storybook-addon-data-theme-switcher": "^3.2.0",
94
94
  "vite-plugin-dts": "^5.0.1",
95
- "vite-tsconfig-paths": "^6.1.1"
95
+ "vite-tsconfig-paths": "^6.1.1",
96
+ "@storybook/addon-mcp": "^10.6.0"
96
97
  },
97
98
  "dependencies": {
98
99
  "@ark-ui/react": "5.39.1",