@vkzstudio/muza-ui 1.3.0 → 1.4.1
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/BalanceListView/BalanceListView.examples.d.ts +38 -0
- package/dist/components/BalanceListView/BalanceListView.examples.d.ts.map +1 -0
- package/dist/components/BalanceListView/BalanceListView.stories.d.ts +8 -0
- package/dist/components/BalanceListView/BalanceListView.stories.d.ts.map +1 -0
- package/dist/components/ButtonArrow/ButtonArrow.d.ts +3 -3
- package/dist/components/ButtonArrow/ButtonArrow.d.ts.map +1 -1
- package/dist/components/ButtonArrow/ButtonArrow.js +25 -24
- package/dist/components/CarouselSection/CarouselSection.examples.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts +12 -6
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.js +116 -120
- package/dist/components/Dialog/Dialog.stories.d.ts +1 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +13 -13
- package/dist/components/EdgeButton/EdgeButton.d.ts.map +1 -1
- package/dist/components/EdgeButton/EdgeButton.js +10 -11
- package/dist/components/EmptyState/EmptyState.js +19 -19
- package/dist/components/FileUpload/FileItem.d.ts.map +1 -1
- package/dist/components/FileUpload/FileItem.js +8 -9
- package/dist/components/FileUpload/FileUpload.js +3 -3
- package/dist/components/InputOTP/InputOTP.d.ts +95 -0
- package/dist/components/InputOTP/InputOTP.d.ts.map +1 -0
- package/dist/components/InputOTP/InputOTP.js +187 -0
- package/dist/components/InputOTP/InputOTP.stories.d.ts +18 -0
- package/dist/components/InputOTP/InputOTP.stories.d.ts.map +1 -0
- package/dist/components/InputOTP/index.d.ts +3 -0
- package/dist/components/InputOTP/index.d.ts.map +1 -0
- package/dist/components/InputOTP/useWebOtpAutofill.d.ts +33 -0
- package/dist/components/InputOTP/useWebOtpAutofill.d.ts.map +1 -0
- package/dist/components/InputOTP/useWebOtpAutofill.js +25 -0
- package/dist/components/MarketNav/MarketNav.examples.d.ts +60 -0
- package/dist/components/MarketNav/MarketNav.examples.d.ts.map +1 -0
- package/dist/components/MarketNav/MarketNav.stories.d.ts +9 -0
- package/dist/components/MarketNav/MarketNav.stories.d.ts.map +1 -0
- package/dist/components/PageContainer/PageContainer.d.ts +53 -0
- package/dist/components/PageContainer/PageContainer.d.ts.map +1 -0
- package/dist/components/PageContainer/PageContainer.js +49 -0
- package/dist/components/PageContainer/PageContainer.stories.d.ts +14 -0
- package/dist/components/PageContainer/PageContainer.stories.d.ts.map +1 -0
- package/dist/components/PageContainer/index.d.ts +2 -0
- package/dist/components/PageContainer/index.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +12 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +25 -17
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts.map +1 -1
- package/dist/components/ReorderableTable/ReorderableTable.stories.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +11 -11
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/UniversalFooter/UniversalFooter.d.ts +6 -5
- package/dist/components/UniversalFooter/UniversalFooter.d.ts.map +1 -1
- package/dist/components/UniversalFooter/UniversalFooter.js +186 -177
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.js +257 -249
- package/dist/muza-ui.css +1 -1
- package/dist/styles/token-colors.css +1 -0
- package/dist/styles/token-sizes.css +36 -16
- package/dist/translations/index.d.ts +1 -1
- package/dist/translations/index.d.ts.map +1 -1
- package/dist/translations/locales/cs.d.ts.map +1 -1
- package/dist/translations/locales/cs.js +4 -0
- package/dist/translations/locales/en.d.ts.map +1 -1
- package/dist/translations/locales/en.js +4 -0
- package/dist/translations/locales/sk.d.ts.map +1 -1
- package/dist/translations/locales/sk.js +4 -0
- package/dist/translations/types.d.ts +10 -0
- package/dist/translations/types.d.ts.map +1 -1
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/cn.js +9 -4
- package/package.json +4 -3
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Visual state of a single balance row, driving its title/subtitle/amount
|
|
3
|
+
* colours and the locked-row lock icon.
|
|
4
|
+
*/
|
|
5
|
+
export type BalanceState = 'default' | 'expiring' | 'warning' | 'disabled' | 'locked';
|
|
6
|
+
/** A single benefit-balance row — a left title + subtitle and a right amount + note. */
|
|
7
|
+
export interface BalanceItem {
|
|
8
|
+
/** Benefit name, e.g. "Dentální hygiena". */
|
|
9
|
+
title: string;
|
|
10
|
+
/** Expiry / status line under the title. */
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
/** Pre-formatted amount, e.g. "2 500 Kč". */
|
|
13
|
+
amount: string;
|
|
14
|
+
/** Secondary note under the amount. */
|
|
15
|
+
note?: string;
|
|
16
|
+
/** Visual state of the row. @default 'default' */
|
|
17
|
+
state?: BalanceState;
|
|
18
|
+
}
|
|
19
|
+
/** Props for the BalanceListView example. */
|
|
20
|
+
export interface BalanceListViewProps {
|
|
21
|
+
/** Rows to render. */
|
|
22
|
+
items: BalanceItem[];
|
|
23
|
+
/** Extra classes merged onto the list container. */
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const BalanceListView: {
|
|
27
|
+
({ items, className }: BalanceListViewProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
Skeleton: ({ rows, className, }: BalanceListViewSkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
};
|
|
30
|
+
/** Props for the BalanceListView loading skeleton. */
|
|
31
|
+
export interface BalanceListViewSkeletonProps {
|
|
32
|
+
/** Number of placeholder rows to render. @default 5 */
|
|
33
|
+
rows?: number;
|
|
34
|
+
/** Extra classes merged onto the list container. */
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const balances: BalanceItem[];
|
|
38
|
+
//# sourceMappingURL=BalanceListView.examples.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BalanceListView.examples.d.ts","sourceRoot":"","sources":["../../../src/components/BalanceListView/BalanceListView.examples.tsx"],"names":[],"mappings":"AAeA;;;GAGG;AACH,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,UAAU,GACV,SAAS,GACT,UAAU,GACV,QAAQ,CAAA;AAEZ,wFAAwF;AACxF,MAAM,WAAW,WAAW;IAC1B,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6CAA6C;IAC7C,MAAM,EAAE,MAAM,CAAA;IACd,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,KAAK,CAAC,EAAE,YAAY,CAAA;CACrB;AAED,6CAA6C;AAC7C,MAAM,WAAW,oBAAoB;IACnC,sBAAsB;IACtB,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AA2GD,eAAO,MAAM,eAAe;2BAA0B,oBAAoB;qCAgCvE,4BAA4B;CAnB9B,CAAA;AAQD,sDAAsD;AACtD,MAAM,WAAW,4BAA4B;IAC3C,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AA0CD,eAAO,MAAM,QAAQ,EAAE,WAAW,EAmCjC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { BalanceListViewProps } from './BalanceListView.examples';
|
|
3
|
+
declare const meta: Meta<BalanceListViewProps>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<BalanceListViewProps>;
|
|
6
|
+
export declare const AllStates: Story;
|
|
7
|
+
export declare const Loading: Story;
|
|
8
|
+
//# sourceMappingURL=BalanceListView.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BalanceListView.stories.d.ts","sourceRoot":"","sources":["../../../src/components/BalanceListView/BalanceListView.stories.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,4BAA4B,CAAA;AAGnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,oBAAoB,CA8BpC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAA;AAE3C,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAiBrB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const buttonArrowVariants: (props?: ({
|
|
4
|
-
size?: "default" | "sm" | null | undefined;
|
|
4
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
5
5
|
direction?: "left" | "right" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
/**
|
|
@@ -12,8 +12,8 @@ declare const buttonArrowVariants: (props?: ({
|
|
|
12
12
|
export interface ButtonArrowProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, Omit<VariantProps<typeof buttonArrowVariants>, 'direction' | 'size'> {
|
|
13
13
|
/** Arrow direction. Controls which icon is rendered. @default 'left' */
|
|
14
14
|
direction?: 'left' | 'right';
|
|
15
|
-
/** Button size. `'default'` = 40px, `'sm'` = 32px. @default 'default' */
|
|
16
|
-
size?: 'default' | 'sm';
|
|
15
|
+
/** Button size. `'default'` = 40px, `'sm'` = 32px, `'lg'` = 48px. @default 'default' */
|
|
16
|
+
size?: 'default' | 'sm' | 'lg';
|
|
17
17
|
}
|
|
18
18
|
declare const ButtonArrow: React.ForwardRefExoticComponent<ButtonArrowProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
export { ButtonArrow, buttonArrowVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonArrow.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonArrow/ButtonArrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,mBAAmB;;;
|
|
1
|
+
{"version":3,"file":"ButtonArrow.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonArrow/ButtonArrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,mBAAmB;;;8EA0CxB,CAAA;AAED;;;;GAIG;AACH,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,IAAI,CAAC,YAAY,CAAC,OAAO,mBAAmB,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IACtE,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC5B,wFAAwF;IACxF,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,CAAA;CAC/B;AAED,QAAA,MAAM,WAAW,4FAehB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { cva as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { AltArrowLeftOutline as
|
|
6
|
-
const l =
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { cva as n } from "class-variance-authority";
|
|
4
|
+
import { cn as b } from "../../utils/cn.js";
|
|
5
|
+
import { AltArrowLeftOutline as c, AltArrowRightOutline as d } from "@solar-icons/react-perf";
|
|
6
|
+
const l = n(
|
|
7
7
|
[
|
|
8
8
|
"inline-flex items-center justify-center",
|
|
9
|
-
"rounded-
|
|
9
|
+
"rounded-comp-button-arrow-radius border",
|
|
10
10
|
"cursor-pointer transition-colors",
|
|
11
11
|
"focus-visible-default",
|
|
12
12
|
// Default state
|
|
13
|
-
"border-comp-button-
|
|
14
|
-
"bg-comp-button-
|
|
15
|
-
"text-comp-button-
|
|
13
|
+
"border-comp-button-arrow-stroke-def",
|
|
14
|
+
"bg-comp-button-arrow-bg-def",
|
|
15
|
+
"text-comp-button-arrow-icon-def",
|
|
16
16
|
// Hover
|
|
17
|
-
"hover:border-comp-button-
|
|
18
|
-
"hover:bg-comp-button-
|
|
19
|
-
"hover:text-comp-button-
|
|
17
|
+
"hover:border-comp-button-arrow-stroke-hover",
|
|
18
|
+
"hover:bg-comp-button-arrow-bg-hover",
|
|
19
|
+
"hover:text-comp-button-arrow-icon-hover",
|
|
20
20
|
// Focus-visible
|
|
21
|
-
"focus-visible:
|
|
22
|
-
"focus-visible:
|
|
23
|
-
"focus-visible:
|
|
21
|
+
"focus-visible:border-comp-button-arrow-stroke-focused",
|
|
22
|
+
"focus-visible:bg-comp-button-arrow-bg-focused",
|
|
23
|
+
"focus-visible:text-comp-button-arrow-icon-focused",
|
|
24
24
|
// Disabled
|
|
25
25
|
"disabled:pointer-events-none",
|
|
26
26
|
"disabled:cursor-not-allowed",
|
|
27
|
-
"disabled:border-comp-button-
|
|
27
|
+
"disabled:border-comp-button-arrow-stroke-disabled",
|
|
28
28
|
"disabled:bg-comp-button-arrow-bg-disabled",
|
|
29
|
-
"disabled:text-comp-button-
|
|
29
|
+
"disabled:text-comp-button-arrow-icon-disabled"
|
|
30
30
|
],
|
|
31
31
|
{
|
|
32
32
|
variants: {
|
|
33
33
|
size: {
|
|
34
34
|
default: "size-comp-button-arrow-bg-size-def",
|
|
35
|
-
sm: "size-comp-button-arrow-bg-size-sm"
|
|
35
|
+
sm: "size-comp-button-arrow-bg-size-sm",
|
|
36
|
+
lg: "size-comp-button-arrow-bg-size-lg"
|
|
36
37
|
},
|
|
37
38
|
direction: {
|
|
38
39
|
left: "",
|
|
@@ -44,15 +45,15 @@ const l = c(
|
|
|
44
45
|
direction: "left"
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
|
-
), u =
|
|
48
|
-
({ className:
|
|
48
|
+
), u = a.forwardRef(
|
|
49
|
+
({ className: r, direction: t = "left", size: e = "default", ...s }, i) => /* @__PURE__ */ o(
|
|
49
50
|
"button",
|
|
50
51
|
{
|
|
51
52
|
type: "button",
|
|
52
|
-
className:
|
|
53
|
-
ref:
|
|
53
|
+
className: b(l({ size: e, direction: t, className: r })),
|
|
54
|
+
ref: i,
|
|
54
55
|
...s,
|
|
55
|
-
children:
|
|
56
|
+
children: t === "left" ? /* @__PURE__ */ o(c, { className: "size-icon-small" }) : /* @__PURE__ */ o(d, { className: "size-icon-small" })
|
|
56
57
|
}
|
|
57
58
|
)
|
|
58
59
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselSection.examples.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselSection/CarouselSection.examples.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CarouselSection.examples.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselSection/CarouselSection.examples.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgB9B,2DAA2D;AAC3D,MAAM,WAAW,oBAAoB;IACnC,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IACxB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,sCAK7B,oBAAoB,4CA0EtB,CAAA;AA8HD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,SAAS,EAQtC,CAAA"}
|
|
@@ -17,6 +17,14 @@ export interface DialogContentProps extends ComponentPropsWithoutRef<typeof Dial
|
|
|
17
17
|
size?: 'small' | 'medium' | 'large';
|
|
18
18
|
/** Accessible label for the close button. Defaults to translation value. */
|
|
19
19
|
closeAriaLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Shrinks the content region's top and bottom padding to
|
|
22
|
+
* `--spacing-comp-dialog-p-hor-sm` for a more compact dialog. Header and
|
|
23
|
+
* footer keep their own padding and stay flush to the edges.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
smallerContentYpadding?: boolean;
|
|
20
28
|
}
|
|
21
29
|
declare const Dialog: React.FC<DialogProps>;
|
|
22
30
|
declare const DialogTitle: import('react').ForwardRefExoticComponent<DialogPrimitive.DialogTitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
|
|
@@ -33,12 +41,9 @@ export interface DialogHeaderProps extends Omit<ComponentPropsWithoutRef<'div'>,
|
|
|
33
41
|
title?: ReactNode;
|
|
34
42
|
}
|
|
35
43
|
declare const DialogHeader: import('react').ForwardRefExoticComponent<DialogHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
36
|
-
/** Props for the DialogFooter component. Renders a fixed footer area for action buttons with a
|
|
37
|
-
export
|
|
38
|
-
|
|
39
|
-
_showBorder?: boolean;
|
|
40
|
-
}
|
|
41
|
-
declare const DialogFooter: import('react').ForwardRefExoticComponent<DialogFooterProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
44
|
+
/** Props for the DialogFooter component. Renders a fixed footer area for action buttons with a top border separating it from the content. */
|
|
45
|
+
export type DialogFooterProps = ComponentPropsWithoutRef<'div'>;
|
|
46
|
+
declare const DialogFooter: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
42
47
|
declare const DialogTrigger: import('react').ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
43
48
|
declare const DialogPortal: import('react').FC<DialogPrimitive.DialogPortalProps>;
|
|
44
49
|
declare const DialogClose: import('react').ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -46,6 +51,7 @@ declare const DialogOverlay: import('react').ForwardRefExoticComponent<Omit<Dial
|
|
|
46
51
|
declare const DialogContent: import('react').ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
47
52
|
size?: "small" | "medium" | "large";
|
|
48
53
|
closeAriaLabel?: string;
|
|
54
|
+
smallerContentYpadding?: boolean;
|
|
49
55
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
50
56
|
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
51
57
|
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"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ACtE,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED,QAAA,MAAM,YAAY,8GAyDjB,CAAA;AAGD,6IAA6I;AAC7I,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAA;AAE/D,QAAA,MAAM,YAAY,2MAejB,CAAA;AAGD,QAAA,MAAM,aAAa,kIAA0B,CAAA;AAC7C,QAAA,MAAM,YAAY,uDAAyB,CAAA;AAC3C,QAAA,MAAM,WAAW,gIAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,4LAYjB,CAAA;AAGF,QAAA,MAAM,aAAa;WAGR,OAAO,GAAG,QAAQ,GAAG,OAAO;qBAClB,MAAM;6BACE,OAAO;kDA4FnC,CAAA;AAGD,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,WAAW,EACX,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAA"}
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import * as
|
|
4
|
-
import { typographyVariants as
|
|
5
|
-
import { useMuzaTranslations as
|
|
6
|
-
import { cn as
|
|
7
|
-
import { XClose as
|
|
8
|
-
const
|
|
9
|
-
className:
|
|
10
|
-
ariaLabel:
|
|
1
|
+
import { jsx as a, jsxs as n, Fragment as N } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p, Children as L, isValidElement as w } from "react";
|
|
3
|
+
import * as e from "@radix-ui/react-dialog";
|
|
4
|
+
import { typographyVariants as T } from "../Typography/Typography.js";
|
|
5
|
+
import { useMuzaTranslations as D } from "../../translations/TranslationContext.js";
|
|
6
|
+
import { cn as r } from "../../utils/cn.js";
|
|
7
|
+
import { XClose as z } from "../Icons/CustomIcons.js";
|
|
8
|
+
const X = e.Root, q = e.Title, G = e.Description, k = ({
|
|
9
|
+
className: i,
|
|
10
|
+
ariaLabel: o
|
|
11
11
|
}) => /* @__PURE__ */ a(
|
|
12
|
-
|
|
12
|
+
e.Close,
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
15
|
-
"cursor-pointer
|
|
16
|
-
|
|
14
|
+
className: r(
|
|
15
|
+
"cursor-pointer text-icon-dark-primary-def focus-visible-default transition-opacity disabled:pointer-events-none",
|
|
16
|
+
i
|
|
17
17
|
),
|
|
18
|
-
"aria-label":
|
|
19
|
-
children: /* @__PURE__ */ a(
|
|
18
|
+
"aria-label": o,
|
|
19
|
+
children: /* @__PURE__ */ a(z, { className: "size-icon-medium" })
|
|
20
20
|
}
|
|
21
|
-
),
|
|
21
|
+
), F = p(
|
|
22
22
|
({
|
|
23
|
-
className:
|
|
24
|
-
icon:
|
|
25
|
-
children:
|
|
26
|
-
title:
|
|
27
|
-
hideCloseButton:
|
|
28
|
-
closeAriaLabel:
|
|
29
|
-
...
|
|
30
|
-
},
|
|
31
|
-
const y =
|
|
23
|
+
className: i,
|
|
24
|
+
icon: o,
|
|
25
|
+
children: t,
|
|
26
|
+
title: s,
|
|
27
|
+
hideCloseButton: m = !1,
|
|
28
|
+
closeAriaLabel: g,
|
|
29
|
+
...b
|
|
30
|
+
}, f) => {
|
|
31
|
+
const y = D(), c = g ?? y.dialog.closeAriaLabel;
|
|
32
32
|
return /* @__PURE__ */ a(
|
|
33
33
|
"div",
|
|
34
34
|
{
|
|
35
|
-
ref:
|
|
36
|
-
className:
|
|
35
|
+
ref: f,
|
|
36
|
+
className: r(
|
|
37
37
|
"-mx-comp-dialog-p -mt-comp-dialog-p border-b border-stroke-base-primary px-comp-dialog-p py-comp-dialog-p-hor-def",
|
|
38
|
-
|
|
38
|
+
i
|
|
39
39
|
),
|
|
40
|
-
...
|
|
41
|
-
children: /* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
|
|
40
|
+
...b,
|
|
41
|
+
children: /* @__PURE__ */ n("div", { className: "flex items-center gap-comp-dialog-gap", children: [
|
|
42
|
+
/* @__PURE__ */ n("div", { className: "flex min-w-0 flex-1 items-center gap-sm", children: [
|
|
43
|
+
o && /* @__PURE__ */ a("span", { className: "text-icon-brand-def [&>svg]:size-icon-medium", children: o }),
|
|
44
44
|
/* @__PURE__ */ a(
|
|
45
|
-
|
|
45
|
+
e.Title,
|
|
46
46
|
{
|
|
47
|
-
className:
|
|
48
|
-
"
|
|
49
|
-
|
|
47
|
+
className: r(
|
|
48
|
+
"min-w-0 flex-1 text-text-dark-primary-def",
|
|
49
|
+
T({
|
|
50
50
|
variant: "title",
|
|
51
51
|
size: "md",
|
|
52
52
|
weight: "medium",
|
|
53
53
|
fixY: !0
|
|
54
54
|
})
|
|
55
55
|
),
|
|
56
|
-
children:
|
|
56
|
+
children: s ?? t
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
] }),
|
|
60
|
-
!
|
|
61
|
-
|
|
60
|
+
!m && /* @__PURE__ */ a(
|
|
61
|
+
k,
|
|
62
62
|
{
|
|
63
63
|
className: "shrink-0",
|
|
64
|
-
ariaLabel:
|
|
64
|
+
ariaLabel: c
|
|
65
65
|
}
|
|
66
66
|
)
|
|
67
67
|
] })
|
|
@@ -69,99 +69,95 @@ const Q = o.Root, U = o.Title, Z = o.Description, A = ({
|
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
|
-
|
|
73
|
-
const
|
|
74
|
-
({ className:
|
|
72
|
+
F.displayName = "DialogHeader";
|
|
73
|
+
const H = p(
|
|
74
|
+
({ className: i, children: o, ...t }, s) => /* @__PURE__ */ a(
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
77
|
-
ref:
|
|
78
|
-
className:
|
|
79
|
-
"-mx-comp-dialog-p -mb-comp-dialog-p flex items-center justify-end gap-sm px-comp-dialog-p py-comp-dialog-p-hor-sm",
|
|
80
|
-
|
|
81
|
-
l
|
|
77
|
+
ref: s,
|
|
78
|
+
className: r(
|
|
79
|
+
"-mx-comp-dialog-p -mb-comp-dialog-p flex items-center justify-end gap-sm border-t border-stroke-base-primary px-comp-dialog-p py-comp-dialog-p-hor-sm",
|
|
80
|
+
i
|
|
82
81
|
),
|
|
83
|
-
...
|
|
84
|
-
children:
|
|
82
|
+
...t,
|
|
83
|
+
children: o
|
|
85
84
|
}
|
|
86
85
|
)
|
|
87
86
|
);
|
|
88
|
-
|
|
89
|
-
const
|
|
90
|
-
|
|
87
|
+
H.displayName = "DialogFooter";
|
|
88
|
+
const I = e.Trigger, j = e.Portal, J = e.Close, C = p(({ className: i, ...o }, t) => /* @__PURE__ */ a(
|
|
89
|
+
e.Overlay,
|
|
91
90
|
{
|
|
92
|
-
ref:
|
|
93
|
-
className:
|
|
94
|
-
"
|
|
95
|
-
|
|
91
|
+
ref: t,
|
|
92
|
+
className: r(
|
|
93
|
+
"fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-surface-base-overlay px-layout-p-standard py-comp-dialog-p-hor-overlay data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
94
|
+
i
|
|
96
95
|
),
|
|
97
|
-
...
|
|
96
|
+
...o
|
|
98
97
|
}
|
|
99
98
|
));
|
|
100
|
-
|
|
101
|
-
const
|
|
99
|
+
C.displayName = e.Overlay.displayName;
|
|
100
|
+
const O = p(
|
|
102
101
|
({
|
|
103
|
-
className:
|
|
104
|
-
children:
|
|
105
|
-
size:
|
|
106
|
-
closeAriaLabel:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
102
|
+
className: i,
|
|
103
|
+
children: o,
|
|
104
|
+
size: t = "medium",
|
|
105
|
+
closeAriaLabel: s,
|
|
106
|
+
smallerContentYpadding: m = !1,
|
|
107
|
+
...g
|
|
108
|
+
}, b) => {
|
|
109
|
+
const f = D(), y = s ?? f.dialog.closeAriaLabel, c = L.toArray(o), u = c.find(
|
|
110
|
+
(l) => {
|
|
111
|
+
var d;
|
|
112
|
+
return w(l) && ((d = l.type) == null ? void 0 : d.displayName) === "DialogHeader";
|
|
113
113
|
}
|
|
114
|
-
),
|
|
115
|
-
(
|
|
116
|
-
var
|
|
117
|
-
return
|
|
114
|
+
), h = c.find(
|
|
115
|
+
(l) => {
|
|
116
|
+
var d;
|
|
117
|
+
return w(l) && ((d = l.type) == null ? void 0 : d.displayName) === "DialogFooter";
|
|
118
118
|
}
|
|
119
|
-
),
|
|
120
|
-
(
|
|
121
|
-
),
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
const F = e.scrollHeight > e.clientHeight;
|
|
125
|
-
x(F);
|
|
126
|
-
};
|
|
127
|
-
r(), setTimeout(r, 100), setTimeout(r, 250), setTimeout(r, 500);
|
|
128
|
-
const D = new ResizeObserver(r);
|
|
129
|
-
D.observe(e), e.firstElementChild && D.observe(e.firstElementChild), d.current = D;
|
|
130
|
-
}, []), R = p && C(m) ? B(m, { _showBorder: y }) : m;
|
|
131
|
-
return /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
|
|
132
|
-
o.Content,
|
|
119
|
+
), A = c.filter(
|
|
120
|
+
(l) => l !== u && l !== h
|
|
121
|
+
), x = !!u, v = !!h;
|
|
122
|
+
return /* @__PURE__ */ a(j, { children: /* @__PURE__ */ a(C, { children: /* @__PURE__ */ a(
|
|
123
|
+
e.Content,
|
|
133
124
|
{
|
|
134
|
-
ref:
|
|
135
|
-
className:
|
|
136
|
-
"relative flex w-full flex-col rounded-
|
|
125
|
+
ref: b,
|
|
126
|
+
className: r(
|
|
127
|
+
"relative flex w-full flex-col rounded-comp-dialog-radius bg-surface-base-secondary px-comp-dialog-p duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
137
128
|
{
|
|
138
|
-
"max-w-comp-dialog-w-sm":
|
|
139
|
-
"max-w-comp-dialog-w-md":
|
|
140
|
-
"max-w-comp-dialog-w-lg":
|
|
141
|
-
"
|
|
142
|
-
"max-h-[calc(100vh-var(--spacing-comp-dialog-p-hor-overlay)*2)]": p || N
|
|
129
|
+
"max-w-comp-dialog-w-sm": t === "small",
|
|
130
|
+
"max-w-comp-dialog-w-md": t === "medium",
|
|
131
|
+
"max-w-comp-dialog-w-lg": t === "large",
|
|
132
|
+
"max-h-[calc(100vh-var(--spacing-comp-dialog-p-hor-overlay)*2)]": v || x
|
|
143
133
|
},
|
|
144
|
-
|
|
134
|
+
// Header/footer bleed to the edges via negative margins that cancel
|
|
135
|
+
// the root vertical padding, so it stays standard when either is
|
|
136
|
+
// present. A bare content dialog is padded directly by the root.
|
|
137
|
+
x || v ? "py-comp-dialog-p" : m ? "py-comp-dialog-p-hor-sm" : "pt-5xl pb-comp-dialog-p",
|
|
138
|
+
i
|
|
145
139
|
),
|
|
146
|
-
...
|
|
147
|
-
children:
|
|
148
|
-
|
|
140
|
+
...g,
|
|
141
|
+
children: x || v ? /* @__PURE__ */ n(N, { children: [
|
|
142
|
+
u,
|
|
149
143
|
/* @__PURE__ */ a(
|
|
150
144
|
"div",
|
|
151
145
|
{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
146
|
+
className: r(
|
|
147
|
+
"-mr-[calc(var(--spacing-comp-dialog-p)-8px)] min-h-0 flex-1 overflow-y-auto pr-[calc(var(--spacing-comp-dialog-p)-8px-5px)] [&::-webkit-scrollbar]:w-[5px] [&::-webkit-scrollbar]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-stroke-base-secondary hover:[&::-webkit-scrollbar-thumb]:bg-stroke-base-primary [&::-webkit-scrollbar-track]:bg-transparent",
|
|
148
|
+
m ? "py-comp-dialog-p-hor-sm" : "py-comp-dialog-p"
|
|
149
|
+
),
|
|
150
|
+
children: /* @__PURE__ */ a("div", { children: A })
|
|
155
151
|
}
|
|
156
152
|
),
|
|
157
|
-
|
|
158
|
-
] }) : /* @__PURE__ */
|
|
159
|
-
|
|
153
|
+
h
|
|
154
|
+
] }) : /* @__PURE__ */ n(N, { children: [
|
|
155
|
+
o,
|
|
160
156
|
/* @__PURE__ */ a(
|
|
161
|
-
|
|
157
|
+
k,
|
|
162
158
|
{
|
|
163
159
|
className: "absolute top-4 right-4",
|
|
164
|
-
ariaLabel:
|
|
160
|
+
ariaLabel: y
|
|
165
161
|
}
|
|
166
162
|
)
|
|
167
163
|
] })
|
|
@@ -169,16 +165,16 @@ const X = b(
|
|
|
169
165
|
) }) });
|
|
170
166
|
}
|
|
171
167
|
);
|
|
172
|
-
|
|
168
|
+
O.displayName = e.Content.displayName;
|
|
173
169
|
export {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
170
|
+
X as Dialog,
|
|
171
|
+
J as DialogClose,
|
|
172
|
+
O as DialogContent,
|
|
173
|
+
G as DialogDescription,
|
|
174
|
+
H as DialogFooter,
|
|
175
|
+
F as DialogHeader,
|
|
176
|
+
C as DialogOverlay,
|
|
177
|
+
j as DialogPortal,
|
|
178
|
+
q as DialogTitle,
|
|
179
|
+
I as DialogTrigger
|
|
184
180
|
};
|
|
@@ -15,5 +15,6 @@ export declare const Medium: Story;
|
|
|
15
15
|
export declare const Large: Story;
|
|
16
16
|
export declare const OverflowContent: Story;
|
|
17
17
|
export declare const WithHeaderAndFooter: Story;
|
|
18
|
+
export declare const SmallerContentYPadding: Story;
|
|
18
19
|
export declare const WithHeaderAndFooterLongContent: Story;
|
|
19
20
|
//# sourceMappingURL=Dialog.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CA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