@vkzstudio/muza-ui 1.5.1 → 1.5.2
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/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/index.js +16 -0
- package/dist/components/Alert/Alert.js +6 -6
- package/dist/components/Alert/index.js +4 -0
- package/dist/components/ArticleCard/ArticleCard.js +11 -11
- package/dist/components/ArticleCard/index.js +7 -0
- package/dist/components/Avatar/index.js +6 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +4 -4
- package/dist/components/Breadcrumb/index.js +10 -0
- package/dist/components/Button/Button.js +7 -7
- package/dist/components/Button/index.js +6 -0
- package/dist/components/ButtonArrow/index.js +5 -0
- package/dist/components/Calendar/Calendar.js +6 -6
- package/dist/components/Calendar/index.js +10 -0
- package/dist/components/Card/Card.js +7 -7
- package/dist/components/Card/index.js +5 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +8 -8
- package/dist/components/CardCheckboxAmount/index.js +4 -0
- package/dist/components/Carousel/Carousel.js +5 -5
- package/dist/components/Carousel/index.js +9 -0
- package/dist/components/CategoryCard/CategoryCard.js +2 -2
- package/dist/components/CategoryCard/index.js +6 -0
- package/dist/components/CategoryIcon/index.js +5 -0
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/index.js +4 -0
- package/dist/components/Chip/Chip.js +5 -5
- package/dist/components/Chip/index.js +5 -0
- package/dist/components/DataTable/index.js +5 -0
- package/dist/components/DatePicker/DatePicker.js +18 -18
- package/dist/components/DatePicker/index.js +7 -0
- package/dist/components/DatePickerButton/DatePickerButton.js +5 -5
- package/dist/components/DatePickerButton/index.js +5 -0
- package/dist/components/Dialog/Dialog.js +21 -20
- package/dist/components/Dialog/index.js +13 -0
- package/dist/components/DotDivider/index.js +5 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +2 -2
- package/dist/components/DropdownMenu/index.js +14 -0
- package/dist/components/DropdownSearchMenu/DropdownSearchMenu.js +7 -6
- package/dist/components/DropdownSearchMenu/index.js +7 -0
- package/dist/components/EdgeButton/EdgeButton.js +1 -1
- package/dist/components/EdgeButton/index.js +5 -0
- package/dist/components/EmptyState/index.js +4 -0
- package/dist/components/ExpandableTable/ExpandableTable.js +13 -13
- package/dist/components/ExpandableTable/index.js +4 -0
- package/dist/components/FileUpload/FileItem.js +1 -1
- package/dist/components/FileUpload/FileUpload.js +7 -7
- package/dist/components/FileUpload/index.js +4 -0
- package/dist/components/Flex/Flex.js +5 -5
- package/dist/components/Flex/index.js +7 -0
- package/dist/components/FormField/FormField.js +9 -9
- package/dist/components/FormField/InputHint.js +4 -4
- package/dist/components/FormField/index.js +8 -0
- package/dist/components/HeartButton/index.js +5 -0
- package/dist/components/Icons/index.js +65 -0
- package/dist/components/InfoCard/InfoCard.js +45 -0
- package/dist/components/InfoCard/index.js +5 -0
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/index.js +4 -0
- package/dist/components/InputOTP/InputOTP.js +7 -7
- package/dist/components/InputOTP/index.js +7 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +9 -9
- package/dist/components/LanguageSwitcher/index.js +6 -0
- package/dist/components/Lightbox/Lightbox.js +1 -1
- package/dist/components/Lightbox/index.js +8 -0
- package/dist/components/Loader/index.js +4 -0
- package/dist/components/LoginScreen/LoginScreen.js +4 -4
- package/dist/components/LoginScreen/index.js +8 -0
- package/dist/components/MultiSelect/MultiSelect.js +20 -20
- package/dist/components/MultiSelect/index.js +4 -0
- package/dist/components/MuzaUIProvider/MuzaUIProvider.js +5 -5
- package/dist/components/MuzaUIProvider/index.js +13 -0
- package/dist/components/MuzaUIProvider/theme/ThemeSetterModal.js +17 -17
- package/dist/components/OfferCard/OfferCard.js +11 -11
- package/dist/components/OfferCard/index.js +7 -0
- package/dist/components/PageContainer/index.js +5 -0
- package/dist/components/Pagination/Pagination.js +5 -5
- package/dist/components/Pagination/index.js +4 -0
- package/dist/components/PartnerCard/PartnerCard.js +10 -10
- package/dist/components/PartnerCard/index.js +6 -0
- package/dist/components/PasswordInput/PasswordInput.js +7 -7
- package/dist/components/PasswordInput/index.js +4 -0
- package/dist/components/PhoneInput/CountrySelector.js +5 -5
- package/dist/components/PhoneInput/PhoneInput.js +8 -8
- package/dist/components/PhoneInput/index.js +4 -0
- package/dist/components/PinIndicator/index.js +4 -0
- package/dist/components/Popover/index.js +7 -0
- package/dist/components/Progress/index.js +5 -0
- package/dist/components/Radio/index.js +5 -0
- package/dist/components/Rating/Rating.js +5 -5
- package/dist/components/Rating/index.js +4 -0
- package/dist/components/RatingBlock/RatingBlock.js +2 -2
- package/dist/components/RatingBlock/index.js +4 -0
- package/dist/components/Reorderable/index.js +9 -0
- package/dist/components/ReorderableTable/ReorderableTable.js +7 -6
- package/dist/components/ReorderableTable/index.js +4 -0
- package/dist/components/ResponsiveLayoutTable/ResponsiveLayoutTable.js +5 -5
- package/dist/components/ResponsiveLayoutTable/index.js +4 -0
- package/dist/components/SearchFilters/SearchFilters.js +11 -11
- package/dist/components/SearchFilters/index.js +5 -0
- package/dist/components/Searchbar/index.js +4 -0
- package/dist/components/SegmentedControl/index.js +5 -0
- package/dist/components/SegmentedIconControl/index.js +5 -0
- package/dist/components/Select/Select.js +17 -17
- package/dist/components/Select/index.js +4 -0
- package/dist/components/Sheet/Sheet.js +13 -12
- package/dist/components/Sheet/index.js +15 -0
- package/dist/components/Skeleton/index.js +4 -0
- package/dist/components/Slider/index.js +7 -0
- package/dist/components/SliderIndicators/index.js +4 -0
- package/dist/components/Stepper/Stepper.js +6 -6
- package/dist/components/Stepper/index.js +4 -0
- package/dist/components/SwipeButton/SwipeButton.js +14 -14
- package/dist/components/SwipeButton/index.js +4 -0
- package/dist/components/Switch/index.js +4 -0
- package/dist/components/Tag/index.js +5 -0
- package/dist/components/TextEditor/EditorToolbar.js +15 -15
- package/dist/components/TextEditor/LinkBubbleMenu.js +9 -9
- package/dist/components/TextEditor/TextEditor.js +12 -12
- package/dist/components/TextEditor/index.js +9 -0
- package/dist/components/Textarea/Textarea.js +1 -1
- package/dist/components/Textarea/index.js +4 -0
- package/dist/components/TimePicker/TimePicker.js +4 -4
- package/dist/components/TimePicker/index.js +4 -0
- package/dist/components/Toast/Toast.js +7 -7
- package/dist/components/Toast/index.js +7 -0
- package/dist/components/Toggle/index.js +5 -0
- package/dist/components/ToggleCheckButton/index.js +5 -0
- package/dist/components/ToggleGroup/ToggleGroup.js +4 -4
- package/dist/components/ToggleGroup/index.js +5 -0
- package/dist/components/Tooltip/Tooltip.js +6 -6
- package/dist/components/Tooltip/index.js +7 -0
- package/dist/components/TransactionsListView/TransactionsListView.js +2 -2
- package/dist/components/TransactionsListView/index.js +5 -0
- package/dist/components/Typography/index.js +5 -0
- package/dist/components/TypographyLink/index.js +5 -0
- package/dist/components/UniversalFooter/UniversalFooter.js +2 -2
- package/dist/components/UniversalFooter/index.js +18 -0
- package/dist/components/VoucherCard/VoucherCard.js +2 -2
- package/dist/components/VoucherCard/index.js +7 -0
- package/dist/index.js +429 -429
- package/dist/utils/index.js +13 -0
- package/package.json +22 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s, jsxs as v } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
import * as n from "@radix-ui/react-tooltip";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { useMuzaTranslationContext as y } from "../../translations/TranslationContext.js";
|
|
5
|
+
import { cn as T } from "../../utils/cn.js";
|
|
6
|
+
import { XClose as w } from "../Icons/CustomIcons.js";
|
|
7
7
|
import { Typography as z } from "../Typography/Typography.js";
|
|
8
8
|
const b = () => {
|
|
9
9
|
}, u = i.createContext({
|
|
@@ -56,13 +56,13 @@ const b = () => {
|
|
|
56
56
|
N.displayName = n.Trigger.displayName;
|
|
57
57
|
const h = i.forwardRef(
|
|
58
58
|
({ className: t, children: r, sideOffset: l = 4, closeAriaLabel: o, onClose: e, ...d }, p) => {
|
|
59
|
-
const { openOnClick: c, setOpen: a } = i.useContext(u), { translations: m } =
|
|
59
|
+
const { openOnClick: c, setOpen: a } = i.useContext(u), { translations: m } = y(), f = o ?? m.tooltip.closeAriaLabel;
|
|
60
60
|
return /* @__PURE__ */ v(
|
|
61
61
|
n.Content,
|
|
62
62
|
{
|
|
63
63
|
ref: p,
|
|
64
64
|
sideOffset: l,
|
|
65
|
-
className:
|
|
65
|
+
className: T(
|
|
66
66
|
"relative z-50 origin-[--radix-tooltip-content-transform-origin] animate-in overflow-hidden rounded-comp-tooltip-radius bg-surface-brand-brand-tertiary py-comp-tooltip-p-ver text-text-brand-def fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
67
67
|
// Desktop uses the left token on both sides; tablet/mobile reserves
|
|
68
68
|
// extra right padding for the close button.
|
|
@@ -85,7 +85,7 @@ const h = i.forwardRef(
|
|
|
85
85
|
},
|
|
86
86
|
"aria-label": f,
|
|
87
87
|
className: "absolute top-2xs right-2xs flex size-comp-button-w-xs cursor-pointer items-center justify-center rounded-full text-text-brand-def focus-visible-auto lg:hidden",
|
|
88
|
-
children: /* @__PURE__ */ s(
|
|
88
|
+
children: /* @__PURE__ */ s(w, { className: "size-icon-xsmall" })
|
|
89
89
|
}
|
|
90
90
|
)
|
|
91
91
|
]
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import * as L from "react";
|
|
3
|
+
import { cn as s } from "../../utils/cn.js";
|
|
3
4
|
import { Accordion as S, AccordionItem as Y, AccordionHeader as R, AccordionTitle as D, AccordionChevron as B, AccordionContent as F } from "../Accordion/Accordion.js";
|
|
4
5
|
import { Alert as E } from "../Alert/Alert.js";
|
|
5
6
|
import { Card as H } from "../Card/Card.js";
|
|
6
|
-
import { cn as s } from "../../utils/cn.js";
|
|
7
7
|
import { Flex as n } from "../Flex/Flex.js";
|
|
8
|
-
import { Skeleton as h } from "../Skeleton/Skeleton.js";
|
|
9
8
|
import { CloseCircleBold as M, MinusCircleBold as O, AddCircleBold as _ } from "@solar-icons/react-perf";
|
|
9
|
+
import { Skeleton as h } from "../Skeleton/Skeleton.js";
|
|
10
10
|
import { Typography as u } from "../Typography/Typography.js";
|
|
11
11
|
const q = {
|
|
12
12
|
info: "bg-surface-state-bg-info text-text-brand-def",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import { PageContainer as N } from "../PageContainer/PageContainer.js";
|
|
4
|
-
import { TypographyLink as C } from "../TypographyLink/TypographyLink.js";
|
|
5
3
|
import { cn as l } from "../../utils/cn.js";
|
|
6
4
|
import { Flex as i } from "../Flex/Flex.js";
|
|
5
|
+
import { PageContainer as N } from "../PageContainer/PageContainer.js";
|
|
7
6
|
import { Typography as v } from "../Typography/Typography.js";
|
|
7
|
+
import { TypographyLink as C } from "../TypographyLink/TypographyLink.js";
|
|
8
8
|
const n = (t, e, r) => {
|
|
9
9
|
const a = s.useContext(t);
|
|
10
10
|
if (a === null)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UniversalFooter as e, UniversalFooterAppBadges as t, UniversalFooterBody as i, UniversalFooterBottom as a, UniversalFooterBottomGroup as n, UniversalFooterContactList as s, UniversalFooterCopyright as l, UniversalFooterLink as v, UniversalFooterLogo as F, UniversalFooterSection as U, UniversalFooterSections as p, UniversalFooterSeparator as c, UniversalFooterSocialLink as L, UniversalFooterSocialList as S, UniversalFooterTop as B } from "./UniversalFooter.js";
|
|
2
|
+
export {
|
|
3
|
+
e as UniversalFooter,
|
|
4
|
+
t as UniversalFooterAppBadges,
|
|
5
|
+
i as UniversalFooterBody,
|
|
6
|
+
a as UniversalFooterBottom,
|
|
7
|
+
n as UniversalFooterBottomGroup,
|
|
8
|
+
s as UniversalFooterContactList,
|
|
9
|
+
l as UniversalFooterCopyright,
|
|
10
|
+
v as UniversalFooterLink,
|
|
11
|
+
F as UniversalFooterLogo,
|
|
12
|
+
U as UniversalFooterSection,
|
|
13
|
+
p as UniversalFooterSections,
|
|
14
|
+
c as UniversalFooterSeparator,
|
|
15
|
+
L as UniversalFooterSocialLink,
|
|
16
|
+
S as UniversalFooterSocialList,
|
|
17
|
+
B as UniversalFooterTop
|
|
18
|
+
};
|
|
@@ -3,10 +3,10 @@ import * as s from "react";
|
|
|
3
3
|
import { Slot as j } from "@radix-ui/react-slot";
|
|
4
4
|
import { cva as d } from "class-variance-authority";
|
|
5
5
|
import { cn as c } from "../../utils/cn.js";
|
|
6
|
-
import { Flex as v } from "../Flex/Flex.js";
|
|
7
|
-
import { Typography as h } from "../Typography/Typography.js";
|
|
8
6
|
import { disabledLinkProps as z } from "../../utils/disabledLinkProps.js";
|
|
7
|
+
import { Flex as v } from "../Flex/Flex.js";
|
|
9
8
|
import { Skeleton as l } from "../Skeleton/Skeleton.js";
|
|
9
|
+
import { Typography as h } from "../Typography/Typography.js";
|
|
10
10
|
const A = d(
|
|
11
11
|
"group relative flex w-full flex-row items-start gap-comp-voucher-listview-gap border border-solid border-transparent transition-colors outline-none focus-visible:outline-none data-[disabled=true]:pointer-events-none"
|
|
12
12
|
), E = d(
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { VoucherCard as e, voucherCardDescriptionVariants as o, voucherCardTitleVariants as i, voucherCardVariants as t } from "./VoucherCard.js";
|
|
2
|
+
export {
|
|
3
|
+
e as VoucherCard,
|
|
4
|
+
o as voucherCardDescriptionVariants,
|
|
5
|
+
i as voucherCardTitleVariants,
|
|
6
|
+
t as voucherCardVariants
|
|
7
|
+
};
|