@pismo/marola 1.0.22 → 1.0.24
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/Dialog.module-BFRHcF1J.js +29 -0
- package/dist/assets/BankCard.css +1 -0
- package/dist/assets/Dialog.css +1 -1
- package/dist/components/BankCard/BankCard.d.ts +43 -0
- package/dist/components/BankCard/BankCard.js +162 -0
- package/dist/components/BankCard/BankCard.stories.d.ts +15 -0
- package/dist/components/BankCard/BankCard.test.d.ts +1 -0
- package/dist/components/Chip/Chip.stories.d.ts +1 -1
- package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +1 -1
- package/dist/components/Dialog/Actions.js +1 -1
- package/dist/components/Dialog/Backdrop.js +1 -1
- package/dist/components/Dialog/CloseIconButton.js +1 -1
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +1 -1
- package/dist/components/Dialog/DialogTitle.js +1 -1
- package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -1
- package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +1 -1
- package/dist/components/Popover/Popover.stories.d.ts +1 -1
- package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/components/Typography/Typography.stories.d.ts +1 -1
- package/dist/contexts/SnackbarProvider/SnackbarProvider.stories.d.ts +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +95 -93
- package/package.json +2 -2
- package/dist/Dialog.module-Duis5XWM.js +0 -29
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import './assets/Dialog.css';
|
|
2
|
+
const _ = "_dialog_1rdt4_78", t = "_dialog__backdrop_1rdt4_88", a = "_dialog__panel_1rdt4_96", o = "_dialog__title_1rdt4_113", r = "_dialog__subtitle_1rdt4_119", p = "_dialog__divider_1rdt4_122", d = "_dialog__actions_1rdt4_137", y = {
|
|
3
|
+
"u-typography-h1": "_u-typography-h1_1rdt4_1",
|
|
4
|
+
"u-typography-h2": "_u-typography-h2_1rdt4_8",
|
|
5
|
+
"u-typography-h3": "_u-typography-h3_1rdt4_15",
|
|
6
|
+
"u-typography-h4": "_u-typography-h4_1rdt4_22",
|
|
7
|
+
"u-typography-h5": "_u-typography-h5_1rdt4_29",
|
|
8
|
+
"u-typography-h6": "_u-typography-h6_1rdt4_36",
|
|
9
|
+
"u-typography-base": "_u-typography-base_1rdt4_43",
|
|
10
|
+
"u-typography-base--xxl": "_u-typography-base--xxl_1rdt4_49",
|
|
11
|
+
"u-typography-base--xl": "_u-typography-base--xl_1rdt4_53",
|
|
12
|
+
"u-typography-base--lg": "_u-typography-base--lg_1rdt4_57",
|
|
13
|
+
"u-typography-base--sm": "_u-typography-base--sm_1rdt4_61",
|
|
14
|
+
"u-typography-base--bold": "_u-typography-base--bold_1rdt4_65",
|
|
15
|
+
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_1rdt4_68",
|
|
16
|
+
"u-typography-base--underlined": "_u-typography-base--underlined_1rdt4_71",
|
|
17
|
+
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1rdt4_74",
|
|
18
|
+
dialog: _,
|
|
19
|
+
dialog__backdrop: t,
|
|
20
|
+
dialog__panel: a,
|
|
21
|
+
dialog__title: o,
|
|
22
|
+
dialog__subtitle: r,
|
|
23
|
+
dialog__divider: p,
|
|
24
|
+
"dialog__close-icon": "_dialog__close-icon_1rdt4_127",
|
|
25
|
+
dialog__actions: d
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
y as s
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._bank-card_1hmne_1{transition:all .3s;box-shadow:inset 0 -.0625rem #ebeaf07a;color:var(--gray-25);background:linear-gradient(72.27deg,#1a1a22 -111.98%,#525061 103.61%);border-radius:15px;display:flex;flex-direction:column;justify-content:space-between;padding:1rem 1.125rem;max-width:20.5rem}._bank-card_1hmne_1 ._logo-wrapper_1hmne_13{margin-bottom:1.5rem}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16{height:3.75rem;display:flex;justify-content:space-between;position:relative;font-size:1.3125rem;font-weight:700;margin-bottom:0;align-items:self-end}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._helper_1hmne_26{position:absolute;top:0;opacity:1;font-style:normal;font-weight:400;font-size:.6875rem;line-height:1rem}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._helper_1hmne_26:after{content:"";height:3.5rem;position:absolute;width:1px;left:-5px}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._helper-bin-number_1hmne_42:after{background:var(--orange-6)}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._helper-bin-range_1hmne_45:after{background:var(--green-6)}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._helper-check-digit_1hmne_48{white-space:nowrap}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._helper-check-digit_1hmne_48:after{background:var(--gold-3);right:-.25rem;left:auto}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._number-section--02_1hmne_56 ._digit-wrapper_1hmne_56:nth-of-type(3)._bin-range_1hmne_56{padding-left:5px}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._number-section--04_1hmne_59 ._digit-wrapper_1hmne_56._check-digit_1hmne_59{padding-left:5px}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._number-section--04_1hmne_59 ._digit-wrapper_1hmne_56._check-digit_1hmne_59 ._helper-check-digit_1hmne_48{right:7.75%}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._number-section_1hmne_56{display:flex;gap:.25rem;align-items:center}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._bin-number_1hmne_70{color:var(--orange-6)}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._bin-range_1hmne_56{color:var(--green-6)}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._check-digit_1hmne_59{color:var(--gold-3)}._bank-card_1hmne_1 ._info-wrapper_1hmne_79{margin-top:1rem;flex:1;align-items:flex-end;display:flex;justify-content:space-between;gap:1rem}._bank-card_1hmne_1 ._info-wrapper_1hmne_79 ._info_1hmne_79:first-of-type{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._bank-card_1hmne_1 ._info-wrapper_1hmne_79 ._info_1hmne_79 ._label_1hmne_93{font-weight:400;font-size:.75rem}._bank-card_1hmne_1 ._info-wrapper_1hmne_79 ._info_1hmne_79 ._value_1hmne_97{font-size:1rem;font-weight:700;margin-top:.25rem}._bank-card_1hmne_1._highlight-bin_1hmne_103{transition:all .3s;color:#525061}._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16._bin-range_1hmne_56,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16._check-digit_1hmne_59,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16 ._bin-range_1hmne_56,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16 ._check-digit_1hmne_59,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16 ._helper-bin-range_1hmne_45,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16 ._helper-check-digit_1hmne_48{color:#525061;transition:all .3s}._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16._bin-range_1hmne_56:after,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16._check-digit_1hmne_59:after,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16 ._bin-range_1hmne_56:after,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16 ._check-digit_1hmne_59:after,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16 ._helper-bin-range_1hmne_45:after,._bank-card_1hmne_1._highlight-bin_1hmne_103 ._numbers-wrapper_1hmne_16 ._helper-check-digit_1hmne_48:after{background:#525061;transition:all .3s}._bank-card_1hmne_1._highlight-bin-range_1hmne_124{transition:all .3s;color:#525061}._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16._bin-number_1hmne_70,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16._check-digit_1hmne_59,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16 ._bin-number_1hmne_70,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16 ._check-digit_1hmne_59,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16 ._helper-bin-number_1hmne_42,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16 ._helper-check-digit_1hmne_48{color:#525061;transition:all .3s}._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16._bin-number_1hmne_70:after,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16._check-digit_1hmne_59:after,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16 ._bin-number_1hmne_70:after,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16 ._check-digit_1hmne_59:after,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16 ._helper-bin-number_1hmne_42:after,._bank-card_1hmne_1._highlight-bin-range_1hmne_124 ._numbers-wrapper_1hmne_16 ._helper-check-digit_1hmne_48:after{background:#525061;transition:all .3s}._bank-card_1hmne_1._highlight-no-highlight_1hmne_145{transition:all .3s;filter:grayscale(1) opacity(.5) contrast(.5)}._bank-card-wrapper_1hmne_150{container-type:inline-size;container-name:bank-card-wrapper}@container bank-card-wrapper (max-width: 19.25rem){._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16{font-size:1.125rem}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._number-section_1hmne_56{gap:.1rem}}@container bank-card-wrapper (max-width: 16rem){._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16{font-size:.875rem}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._number-section_1hmne_56{gap:.05rem}._bank-card_1hmne_1 ._numbers-wrapper_1hmne_16 ._helper_1hmne_26{font-size:.5rem}}
|
package/dist/assets/Dialog.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._u-typography-
|
|
1
|
+
._u-typography-h1_1rdt4_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1rdt4_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1rdt4_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1rdt4_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1rdt4_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1rdt4_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1rdt4_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1rdt4_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1rdt4_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1rdt4_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1rdt4_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1rdt4_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1rdt4_68{text-decoration:line-through}._u-typography-base--underlined_1rdt4_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1rdt4_74{text-decoration:underline line-through}._dialog_1rdt4_78{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;display:flex;align-items:center;justify-content:center;-webkit-box-align:center;-webkit-box-pack:center}._dialog__backdrop_1rdt4_88{position:fixed;z-index:-1;width:100%;height:100%;background-color:rgb(var(--black-100-rgb),.05);-webkit-tap-highlight-color:transparent}._dialog__panel_1rdt4_96{position:relative;display:flex;flex-direction:column;gap:8px;width:680px;max-height:100%;padding:2rem;overflow:auto;font-weight:500;color:var(--gray-90);text-align:start;background-color:var(--white-100);border:1px solid rgb(218,226,237);border-radius:8px;box-shadow:0 10px 20px rgb(var(--black-100-rgb),.2)}._dialog__title_1rdt4_113{display:flex;gap:.75rem;align-items:center;color:#3f3d4be0}._dialog__subtitle_1rdt4_119{color:#3f3d4be0}._dialog__divider_1rdt4_122{width:100%;border-top:1px solid var(--gray-10);margin:1.5rem 0}._dialog__close-icon_1rdt4_127{position:absolute;top:37px;right:32px;padding:0;margin:0;cursor:pointer;background:none;border:none}._dialog__actions_1rdt4_137{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1.5rem}._dialog__actions_1rdt4_137 button{padding:0 1.5rem}._dialog__actions_1rdt4_137 button [class*=_u-typography-base]{font-weight:700}._dialog__actions_1rdt4_137 button[class*=_button--secondary]{color:#3f3d4be0}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type BankCardTranslations = {
|
|
2
|
+
binNumber?: string;
|
|
3
|
+
binRange?: string;
|
|
4
|
+
checkDigit?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
cvv?: string;
|
|
7
|
+
expiration?: string;
|
|
8
|
+
};
|
|
9
|
+
export type CardExpiration = {
|
|
10
|
+
month: string;
|
|
11
|
+
year: string;
|
|
12
|
+
};
|
|
13
|
+
export type CardNumbers = {
|
|
14
|
+
bin: string;
|
|
15
|
+
range: string;
|
|
16
|
+
checkDigit?: string;
|
|
17
|
+
};
|
|
18
|
+
export type HighlightCard = 'bin' | 'bin-range' | 'no-highlight';
|
|
19
|
+
export type BINValueText = {
|
|
20
|
+
numbers: string;
|
|
21
|
+
isBIN6: boolean;
|
|
22
|
+
};
|
|
23
|
+
export type BINValues = {
|
|
24
|
+
numbers: CardNumbers;
|
|
25
|
+
} | BINValueText;
|
|
26
|
+
export type CardInfo = {
|
|
27
|
+
name?: string;
|
|
28
|
+
cvv?: string;
|
|
29
|
+
expiration?: CardExpiration | string;
|
|
30
|
+
};
|
|
31
|
+
export type BankCardProps = {
|
|
32
|
+
infos?: CardInfo;
|
|
33
|
+
highlight?: HighlightCard;
|
|
34
|
+
noHelpers?: boolean;
|
|
35
|
+
/** Set language */
|
|
36
|
+
language?: string;
|
|
37
|
+
/** Set translations to labels */
|
|
38
|
+
translations?: Partial<BankCardTranslations>;
|
|
39
|
+
className?: string;
|
|
40
|
+
'data-testid'?: string;
|
|
41
|
+
} & BINValues;
|
|
42
|
+
declare const BankCard: ({ infos, numbers, className, language, translations, highlight, noHelpers, ...rest }: BankCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export { BankCard };
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import '../../assets/BankCard.css';
|
|
2
|
+
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { useMemo as E } from "react";
|
|
5
|
+
import { c as a } from "../../clsx-DB4S2d7J.js";
|
|
6
|
+
const M = (n) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 73, height: 17, viewBox: "0 0 73 17", fill: "none", style: {
|
|
7
|
+
fill: "currentcolor"
|
|
8
|
+
}, ...n }, /* @__PURE__ */ t.createElement("path", { d: "M29.5027 0C29.0333 0 28.6527 0.380558 28.6527 0.85V0.991667C28.6527 1.46111 29.0333 1.84167 29.5027 1.84167C29.9721 1.84167 30.3527 1.46111 30.3527 0.991667V0.85C30.3527 0.380558 29.9721 0 29.5027 0Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M26.1027 8.4807C26.1027 5.67354 23.8293 3.4 21.0224 3.4C18.1761 3.4 15.9027 5.67354 15.9027 8.4807C15.9027 8.48714 15.9027 8.49357 15.9027 8.5L15.9027 16.15C15.9027 16.6194 16.2833 17 16.7527 17C17.2221 17 17.6027 16.6194 17.6027 16.15V12.304C18.5065 13.1116 19.7029 13.6 21.0224 13.6C23.8293 13.6 26.1027 11.3272 26.1027 8.4807ZM24.4027 8.49041C24.4027 10.4018 22.9045 11.9 21.0123 11.9C19.1001 11.9 17.6027 10.4018 17.6027 8.49041C17.6027 6.59823 19.1001 5.1 21.0123 5.1C22.9045 5.1 24.4027 6.59823 24.4027 8.49041Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M72.8527 8.4807C72.8527 5.67354 70.5793 3.4 67.7724 3.4C64.9261 3.4 62.6527 5.67354 62.6527 8.4807C62.6527 11.3272 64.9261 13.6 67.7724 13.6C70.5793 13.6 72.8527 11.3272 72.8527 8.4807ZM71.1527 8.49041C71.1527 10.4018 69.6545 11.9 67.7624 11.9C65.8501 11.9 64.3527 10.4018 64.3527 8.49041C64.3527 6.59823 65.8501 5.1 67.7624 5.1C69.6545 5.1 71.1527 6.59823 71.1527 8.49041Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { d: "M60.1027 8.5C60.1027 5.68218 57.8293 3.4 55.0224 3.4C53.2315 3.4 51.6674 4.30351 50.7537 5.67547C49.8434 4.30351 48.2886 3.4 46.5224 3.4C43.6761 3.4 41.4027 5.68218 41.4027 8.5V12.75C41.4027 13.2194 41.7833 13.6 42.2527 13.6C42.7221 13.6 43.1027 13.2194 43.1027 12.75L43.1027 8.5C43.1078 6.60524 44.6034 5.10646 46.5123 5.10646C48.4012 5.10646 49.8976 6.60524 49.9027 8.5V12.75C49.9027 13.2194 50.2833 13.6 50.7527 13.6C51.2221 13.6 51.6027 13.2194 51.6027 12.75L51.6027 8.5C51.6078 6.60524 53.1034 5.10646 55.0124 5.10646C56.9012 5.10646 58.3976 6.60524 58.4027 8.5L58.4027 12.75C58.4027 13.2194 58.7833 13.6 59.2527 13.6C59.7221 13.6 60.1027 13.2194 60.1027 12.75V8.5Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { d: "M32.9027 6.369C32.9027 4.71394 34.2221 3.4 35.8837 3.4C36.5019 3.4 37.0711 3.61709 37.5274 3.87455C37.9887 4.13483 38.388 4.46626 38.6832 4.77006C39.0103 5.10674 39.0026 5.64488 38.6659 5.97201C38.3292 6.29915 37.791 6.29141 37.4639 5.95472C37.2633 5.74822 36.9903 5.52345 36.692 5.35511C36.3886 5.18395 36.1109 5.1 35.8837 5.1C35.155 5.1 34.6027 5.65885 34.6027 6.369C34.6027 6.62126 34.7071 6.81581 34.9941 7.04014C35.2638 7.25096 35.5934 7.41175 35.9911 7.60583L35.9912 7.60587L35.9931 7.60678C36.0239 7.62181 36.0551 7.63704 36.0867 7.6525L36.119 7.66832C36.1874 7.68289 36.2551 7.7062 36.3207 7.73875C36.3842 7.77033 36.4538 7.80398 36.5278 7.8398C36.9257 8.03236 37.4532 8.28759 37.8791 8.62047C38.4259 9.04788 38.9235 9.68861 38.9235 10.631C38.9235 12.2861 37.6041 13.6 35.9425 13.6C35.3244 13.6 34.7551 13.3829 34.2988 13.1255C33.8376 12.8652 33.4383 12.5337 33.1431 12.2299C32.8159 11.8933 32.8237 11.3551 33.1604 11.028C33.4971 10.7009 34.0352 10.7086 34.3623 11.0453C34.563 11.2518 34.8359 11.4765 35.1343 11.6449C35.4376 11.816 35.7154 11.9 35.9425 11.9C36.6712 11.9 37.2235 11.3412 37.2235 10.631C37.2235 10.3787 37.1191 10.1842 36.8321 9.95986C36.5624 9.74904 36.2329 9.58824 35.8351 9.39416L35.835 9.39411C35.7931 9.3737 35.7506 9.35292 35.7072 9.33168C35.6388 9.31711 35.5711 9.2938 35.5056 9.26125C35.4421 9.22972 35.3727 9.19613 35.2988 9.16037L35.2984 9.1602C34.9005 8.96764 34.3731 8.71241 33.9472 8.37953C33.4004 7.95212 32.9027 7.31139 32.9027 6.369Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { d: "M28.6527 4.25C28.6527 3.78056 29.0333 3.4 29.5027 3.4C29.9721 3.4 30.3527 3.78056 30.3527 4.25V12.75C30.3527 13.2194 29.9721 13.6 29.5027 13.6C29.0333 13.6 28.6527 13.2194 28.6527 12.75V4.25Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { d: "M7.79782 4.82504C8.92577 5.99405 10.0593 7.16884 11.272 6.00772C11.6161 5.6785 11.7274 5.07878 11.633 4.66536C11.0035 1.90807 7.30509 1.79573 5.677 3.20259L5.6791 3.21328C6.39503 3.37119 7.09534 4.09699 7.79782 4.82504Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { d: "M10.4078 12.1909C8.92876 11.3964 9.69577 9.95529 10.459 8.5213C10.9343 7.62822 11.4082 6.7379 11.3372 6.00821L11.3467 6.00291C13.1878 7.11658 14.2238 10.6686 11.796 12.1194C11.432 12.337 10.8272 12.4165 10.4078 12.1909Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { d: "M4.26017 13.2797C4.55877 11.6275 6.16633 11.9117 7.76599 12.1944C8.76225 12.3705 9.75543 12.5461 10.4274 12.253L10.4354 12.2604C9.9452 14.3556 6.88714 16.4385 4.75712 14.5779C4.43774 14.2989 4.17526 13.7483 4.26017 13.2797Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { d: "M5.6585 3.27509C6.38805 4.78724 4.92048 5.50226 3.46013 6.21376C2.55064 6.65687 1.64395 7.09863 1.27253 7.73072L1.26172 7.72941C0.426829 5.74626 1.67652 2.26363 4.49341 2.51693C4.91577 2.5549 5.45175 2.84605 5.6585 3.27509Z", fill: "currentColor" }), /* @__PURE__ */ t.createElement("path", { d: "M3.44047 10.7683C3.21506 9.15954 2.98855 7.54285 1.32496 7.76941C0.853036 7.83347 0.410505 8.25325 0.243874 8.6432C-0.867492 11.2439 2.05851 13.5087 4.2026 13.3275L4.20718 13.3176C3.7208 12.769 3.58085 11.7702 3.44047 10.7683Z", fill: "currentColor" })), V = "_helper_1hmne_26", Z = "_info_1hmne_79", R = "_label_1hmne_93", X = "_value_1hmne_97", e = {
|
|
9
|
+
"bank-card": "_bank-card_1hmne_1",
|
|
10
|
+
"logo-wrapper": "_logo-wrapper_1hmne_13",
|
|
11
|
+
"numbers-wrapper": "_numbers-wrapper_1hmne_16",
|
|
12
|
+
helper: V,
|
|
13
|
+
"helper-bin-number": "_helper-bin-number_1hmne_42",
|
|
14
|
+
"helper-bin-range": "_helper-bin-range_1hmne_45",
|
|
15
|
+
"helper-check-digit": "_helper-check-digit_1hmne_48",
|
|
16
|
+
"number-section--02": "_number-section--02_1hmne_56",
|
|
17
|
+
"digit-wrapper": "_digit-wrapper_1hmne_56",
|
|
18
|
+
"bin-range": "_bin-range_1hmne_56",
|
|
19
|
+
"number-section--04": "_number-section--04_1hmne_59",
|
|
20
|
+
"check-digit": "_check-digit_1hmne_59",
|
|
21
|
+
"number-section": "_number-section_1hmne_56",
|
|
22
|
+
"bin-number": "_bin-number_1hmne_70",
|
|
23
|
+
"info-wrapper": "_info-wrapper_1hmne_79",
|
|
24
|
+
info: Z,
|
|
25
|
+
label: R,
|
|
26
|
+
value: X,
|
|
27
|
+
"highlight-bin": "_highlight-bin_1hmne_103",
|
|
28
|
+
"highlight-bin-range": "_highlight-bin-range_1hmne_124",
|
|
29
|
+
"highlight-no-highlight": "_highlight-no-highlight_1hmne_145",
|
|
30
|
+
"bank-card-wrapper": "_bank-card-wrapper_1hmne_150"
|
|
31
|
+
}, D = {
|
|
32
|
+
pt: {
|
|
33
|
+
binNumber: "Número BIN",
|
|
34
|
+
binRange: "Intervalo",
|
|
35
|
+
checkDigit: "Validador",
|
|
36
|
+
name: "Nome",
|
|
37
|
+
cvv: "CVV",
|
|
38
|
+
expiration: "EXP"
|
|
39
|
+
},
|
|
40
|
+
en: {
|
|
41
|
+
binNumber: "BIN Number",
|
|
42
|
+
binRange: "Range",
|
|
43
|
+
checkDigit: "Check Digit",
|
|
44
|
+
name: "Name",
|
|
45
|
+
cvv: "CVV",
|
|
46
|
+
expiration: "EXP"
|
|
47
|
+
}
|
|
48
|
+
// example to add a new language translation
|
|
49
|
+
// es: {
|
|
50
|
+
// binNumber: "BIN Number",
|
|
51
|
+
// binRange: "Range",
|
|
52
|
+
// checkDigit: "Check Digit",
|
|
53
|
+
// name: "Name",
|
|
54
|
+
// cvv: "CVV",
|
|
55
|
+
// expiration: "EXP",
|
|
56
|
+
// },
|
|
57
|
+
}, y = ({
|
|
58
|
+
infos: n,
|
|
59
|
+
numbers: d,
|
|
60
|
+
className: o,
|
|
61
|
+
language: _ = "en",
|
|
62
|
+
translations: u,
|
|
63
|
+
highlight: g,
|
|
64
|
+
noHelpers: c,
|
|
65
|
+
...N
|
|
66
|
+
}) => {
|
|
67
|
+
const v = { ...D[_], ...u || {} }, m = (h) => v[h], w = E(() => {
|
|
68
|
+
var h, i;
|
|
69
|
+
return n != null && n.expiration ? typeof (n == null ? void 0 : n.expiration) == "string" ? n == null ? void 0 : n.expiration : `${(h = n == null ? void 0 : n.expiration) == null ? void 0 : h.month}/${(i = n == null ? void 0 : n.expiration) == null ? void 0 : i.year}` : "XX/XX";
|
|
70
|
+
}, [n == null ? void 0 : n.expiration]), x = () => {
|
|
71
|
+
const { bin: h, range: i, checkDigit: s } = d, p = h.length <= 6, C = h.padStart(p ? 6 : 8, "0").slice(0, p ? 6 : 8), b = i.padStart(p ? 9 : 7, "0").slice(0, p ? 9 : 7);
|
|
72
|
+
return `${C}${b}${s || "X"}`;
|
|
73
|
+
}, k = () => {
|
|
74
|
+
const h = typeof d == "string", i = h ? d : x(), s = h ? N.isBIN6 : d.bin.length <= 6, p = /* @__PURE__ */ l("span", { className: a(e["number-section"], e["number-section--01"]), children: [
|
|
75
|
+
!c && /* @__PURE__ */ r(
|
|
76
|
+
"span",
|
|
77
|
+
{
|
|
78
|
+
className: a(e.helper, e["bin-number"], e["helper-bin-number"]),
|
|
79
|
+
children: m`binNumber`
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-number"]), children: i[0] }),
|
|
83
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-number"]), children: i[1] }),
|
|
84
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-number"]), children: i[2] }),
|
|
85
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-number"]), children: i[3] })
|
|
86
|
+
] }), C = /* @__PURE__ */ l("span", { className: a(e["number-section"], e["number-section--02"]), children: [
|
|
87
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-number"]), children: i[4] }),
|
|
88
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-number"]), children: i[5] }),
|
|
89
|
+
/* @__PURE__ */ l(
|
|
90
|
+
"span",
|
|
91
|
+
{
|
|
92
|
+
className: a(
|
|
93
|
+
e["digit-wrapper"],
|
|
94
|
+
!c && (s ? e["bin-range"] : e["bin-number"])
|
|
95
|
+
),
|
|
96
|
+
children: [
|
|
97
|
+
s && !c && /* @__PURE__ */ r(
|
|
98
|
+
"span",
|
|
99
|
+
{
|
|
100
|
+
className: a(e.helper, e["bin-range"], e["helper-bin-range"]),
|
|
101
|
+
children: m`binRange`
|
|
102
|
+
}
|
|
103
|
+
),
|
|
104
|
+
i[6]
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
),
|
|
108
|
+
/* @__PURE__ */ r(
|
|
109
|
+
"span",
|
|
110
|
+
{
|
|
111
|
+
className: a(
|
|
112
|
+
e["digit-wrapper"],
|
|
113
|
+
!c && (s ? e["bin-range"] : e["bin-number"])
|
|
114
|
+
),
|
|
115
|
+
children: i[7]
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
] }), b = /* @__PURE__ */ l("span", { className: a(e["number-section"], e["number-section--03"]), children: [
|
|
119
|
+
!s && !c && /* @__PURE__ */ r("span", { className: a(e.helper, e["bin-range"], e["helper-bin-range"]), children: m`binRange` }),
|
|
120
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-range"]), children: i[8] }),
|
|
121
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-range"]), children: i[9] }),
|
|
122
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-range"]), children: i[10] }),
|
|
123
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-range"]), children: i[11] })
|
|
124
|
+
] }), L = /* @__PURE__ */ l("span", { className: a(e["number-section"], e["number-section--04"]), children: [
|
|
125
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-range"]), children: i[12] }),
|
|
126
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-range"]), children: i[13] }),
|
|
127
|
+
/* @__PURE__ */ r("span", { className: a(e["digit-wrapper"], !c && e["bin-range"]), children: i[14] }),
|
|
128
|
+
/* @__PURE__ */ l("span", { className: a(e["digit-wrapper"], !c && e["check-digit"]), children: [
|
|
129
|
+
!c && /* @__PURE__ */ r(
|
|
130
|
+
"span",
|
|
131
|
+
{
|
|
132
|
+
className: a(e.helper, e["check-digit"], e["helper-check-digit"]),
|
|
133
|
+
children: m`checkDigit`
|
|
134
|
+
}
|
|
135
|
+
),
|
|
136
|
+
i[15]
|
|
137
|
+
] })
|
|
138
|
+
] });
|
|
139
|
+
return [p, C, b, L];
|
|
140
|
+
};
|
|
141
|
+
return /* @__PURE__ */ r("div", { className: e["bank-card-wrapper"], children: /* @__PURE__ */ l("div", { className: a(e["bank-card"], o, g && e[`highlight-${g}`]), children: [
|
|
142
|
+
/* @__PURE__ */ r("div", { className: e["logo-wrapper"], children: /* @__PURE__ */ r(M, {}) }),
|
|
143
|
+
/* @__PURE__ */ r("div", { className: e["numbers-wrapper"], children: k() }),
|
|
144
|
+
/* @__PURE__ */ l("div", { className: e["info-wrapper"], children: [
|
|
145
|
+
/* @__PURE__ */ l("div", { className: e.info, children: [
|
|
146
|
+
/* @__PURE__ */ r("div", { className: e.label, children: m`name` }),
|
|
147
|
+
/* @__PURE__ */ r("div", { className: e.value, children: (n == null ? void 0 : n.name) || "Xxxxx X Xxxx" })
|
|
148
|
+
] }),
|
|
149
|
+
/* @__PURE__ */ l("div", { className: e.info, children: [
|
|
150
|
+
/* @__PURE__ */ r("div", { className: e.label, children: m`cvv` }),
|
|
151
|
+
/* @__PURE__ */ r("div", { className: e.value, children: (n == null ? void 0 : n.cvv) || "123" })
|
|
152
|
+
] }),
|
|
153
|
+
/* @__PURE__ */ l("div", { className: e.info, children: [
|
|
154
|
+
/* @__PURE__ */ r("div", { className: e.label, children: m`expiration` }),
|
|
155
|
+
/* @__PURE__ */ r("div", { className: e.value, children: w })
|
|
156
|
+
] })
|
|
157
|
+
] })
|
|
158
|
+
] }) });
|
|
159
|
+
};
|
|
160
|
+
export {
|
|
161
|
+
y as BankCard
|
|
162
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ infos, numbers, className, language, translations, highlight, noHelpers, ...rest }: import('./BankCard').BankCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const BankCardNumbersAsObject: Story;
|
|
14
|
+
export declare const BankCardNumbersAsString: Story;
|
|
15
|
+
export declare const BankCardNoHelpers: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,7 +4,7 @@ declare const meta: {
|
|
|
4
4
|
title: string;
|
|
5
5
|
component: import('react').ForwardRefExoticComponent<import('./Chip').ChipProps & import('react').RefAttributes<unknown>>;
|
|
6
6
|
tags: string[];
|
|
7
|
-
decorators: ((Story: import('@storybook/
|
|
7
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
8
8
|
label: import('react').ReactNode;
|
|
9
9
|
loading?: boolean | undefined;
|
|
10
10
|
leftAdornment?: import('../Adornment/Adornment').AdornmentProps | undefined;
|
|
@@ -5,7 +5,7 @@ declare const meta: {
|
|
|
5
5
|
title: string;
|
|
6
6
|
component: ({ open, onClose, title, subtitle, content, cancelAction, confirmAction, confirmLabel, cancelLabel, }: ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
|
-
decorators: ((Story: import('@storybook/
|
|
8
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
9
9
|
open: boolean;
|
|
10
10
|
onClose: () => void;
|
|
11
11
|
title?: import('react').ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { s as t } from "../../Dialog.module-
|
|
2
|
+
import { s as t } from "../../Dialog.module-BFRHcF1J.js";
|
|
3
3
|
const i = ({ children: s }) => /* @__PURE__ */ o("div", { className: t.dialog__actions, children: s });
|
|
4
4
|
export {
|
|
5
5
|
i as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as s } from "react";
|
|
3
3
|
import { c as t } from "../../clsx-DB4S2d7J.js";
|
|
4
|
-
import { s as m } from "../../Dialog.module-
|
|
4
|
+
import { s as m } from "../../Dialog.module-BFRHcF1J.js";
|
|
5
5
|
const l = s(
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7
7
|
({ ownerState: e, ...r }, o) => /* @__PURE__ */ a("div", { ...r, className: t(m.dialog__backdrop, r.className), ref: o })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as i } from "../Icon/Icon.js";
|
|
3
|
-
import { s as r } from "../../Dialog.module-
|
|
3
|
+
import { s as r } from "../../Dialog.module-BFRHcF1J.js";
|
|
4
4
|
import { B as s } from "../../Button-BAljjMv3.js";
|
|
5
5
|
const n = ({ handleOnClose: t }) => /* @__PURE__ */ o(
|
|
6
6
|
s,
|
|
@@ -4,7 +4,7 @@ import ie from "./Actions.js";
|
|
|
4
4
|
import ae from "./Backdrop.js";
|
|
5
5
|
import le from "./CloseIconButton.js";
|
|
6
6
|
import ce from "./Content.js";
|
|
7
|
-
import { s as z } from "../../Dialog.module-
|
|
7
|
+
import { s as z } from "../../Dialog.module-BFRHcF1J.js";
|
|
8
8
|
import ee from "./DialogTitle.js";
|
|
9
9
|
import { u as te, P as i, f as de, b as C, g as ue, a as fe, _ as pe, c as G, d as be, e as he } from "../../useSlotProps-C_I1kEHr.js";
|
|
10
10
|
import * as f from "react";
|
|
@@ -10,7 +10,7 @@ declare const meta: {
|
|
|
10
10
|
Actions: import('react').FunctionComponent<import('./Actions').DialogActionProps>;
|
|
11
11
|
};
|
|
12
12
|
tags: string[];
|
|
13
|
-
decorators: ((Story: import('@storybook/
|
|
13
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
14
14
|
color?: string | undefined;
|
|
15
15
|
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
16
16
|
children: import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> & import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<unknown>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as d } from "../Icon/Icon.js";
|
|
3
3
|
import { Typography as i } from "../Typography/Typography.js";
|
|
4
|
-
import { s as r } from "../../Dialog.module-
|
|
4
|
+
import { s as r } from "../../Dialog.module-BFRHcF1J.js";
|
|
5
5
|
const g = ({ title: o, subTitle: t, icon: a }) => /* @__PURE__ */ l(s, { children: [
|
|
6
6
|
/* @__PURE__ */ l(
|
|
7
7
|
i,
|
|
@@ -8,7 +8,7 @@ declare const meta: {
|
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
10
10
|
};
|
|
11
|
-
decorators: ((Story: import('@storybook/
|
|
11
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
12
12
|
children: import('react').ReactNode;
|
|
13
13
|
title: import('react').ReactNode;
|
|
14
14
|
style?: import('react').CSSProperties | undefined;
|
|
@@ -4,7 +4,7 @@ declare const meta: {
|
|
|
4
4
|
title: string;
|
|
5
5
|
component: ({ invert, classNames }: import('./LoadingSpinner').LoadingSpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
|
-
decorators: ((Story: import('@storybook/
|
|
7
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
8
8
|
invert?: boolean | undefined;
|
|
9
9
|
classNames?: string | undefined;
|
|
10
10
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -25,7 +25,7 @@ declare const meta: {
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
tags: string[];
|
|
28
|
-
decorators: ((Story: import('@storybook/
|
|
28
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
31
31
|
};
|
|
@@ -5,7 +5,7 @@ declare const meta: {
|
|
|
5
5
|
title: string;
|
|
6
6
|
component: ({ snackbarMessage, variant, autoHideDuration, open, onClose, onClosed, classNameWrapper, "data-testid": dataTestId, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
|
-
decorators: ((Story: import('@storybook/
|
|
8
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
9
9
|
accept?: string | undefined;
|
|
10
10
|
alt?: string | undefined;
|
|
11
11
|
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
|
@@ -6,7 +6,7 @@ declare const meta: {
|
|
|
6
6
|
title: string;
|
|
7
7
|
component: import('react').ForwardRefExoticComponent<ToggleGroupProps & import('react').RefAttributes<HTMLFieldSetElement>>;
|
|
8
8
|
tags: string[];
|
|
9
|
-
decorators: ((Story: import('@storybook/
|
|
9
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
10
10
|
legend?: import('react').ReactNode;
|
|
11
11
|
error?: import('react').ReactNode;
|
|
12
12
|
children: import('react').ReactElement<import('./Toggle.tsx').ToggleGroupItemProps<string | number>, string | import('react').JSXElementConstructor<any>>[];
|
|
@@ -8,7 +8,7 @@ declare const meta: {
|
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
10
10
|
};
|
|
11
|
-
decorators: ((Story: import('@storybook/
|
|
11
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
12
12
|
children: import('react').ReactNode;
|
|
13
13
|
title: import('react').ReactNode;
|
|
14
14
|
open?: boolean | undefined;
|
|
@@ -12,7 +12,7 @@ declare const meta: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
decorators: ((Story: import('@storybook/
|
|
15
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
16
16
|
children: import('react').ReactNode;
|
|
17
17
|
element?: import('react').ElementType | undefined;
|
|
18
18
|
variant?: import('./Typography').VariantType | undefined;
|
|
@@ -12,7 +12,7 @@ declare const meta: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
tags: string[];
|
|
15
|
-
decorators: ((Story: import('@storybook/
|
|
15
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
16
16
|
[x: string]: any;
|
|
17
17
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
18
18
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './components/Advice/Advice';
|
|
|
7
7
|
export * from './components/Alert/Alert';
|
|
8
8
|
export * from './components/Autocomplete/Autocomplete';
|
|
9
9
|
export * from './components/Avatar/Avatar';
|
|
10
|
+
export * from './components/BankCard/BankCard';
|
|
10
11
|
export * from './components/Button/Button';
|
|
11
12
|
export * from './components/Checkbox/Checkbox';
|
|
12
13
|
export * from './components/Chip/Chip';
|
package/dist/main.js
CHANGED
|
@@ -3,103 +3,105 @@ import { Advice as p } from "./components/Advice/Advice.js";
|
|
|
3
3
|
import { Alert as f } from "./components/Alert/Alert.js";
|
|
4
4
|
import { Autocomplete as m } from "./components/Autocomplete/Autocomplete.js";
|
|
5
5
|
import { Avatar as l } from "./components/Avatar/Avatar.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import { default as Ko } from "./components/Dialog/
|
|
41
|
-
import { default as Qo } from "./components/Dialog/
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
6
|
+
import { BankCard as T } from "./components/BankCard/BankCard.js";
|
|
7
|
+
import { Button as c } from "./components/Button/Button.js";
|
|
8
|
+
import { Checkbox as u } from "./components/Checkbox/Checkbox.js";
|
|
9
|
+
import { C as d, R as C, T as b } from "./Toggle-BuZjueQ7.js";
|
|
10
|
+
import { ConfirmationDialog as h } from "./components/ConfirmationDialog/ConfirmationDialog.js";
|
|
11
|
+
import { Description as A } from "./components/Description/Description.js";
|
|
12
|
+
import { Dialog as v } from "./components/Dialog/Dialog.js";
|
|
13
|
+
import { EllipsisTooltip as P } from "./components/EllipsisTooltip/EllipsisTooltip.js";
|
|
14
|
+
import { Icon as y } from "./components/Icon/Icon.js";
|
|
15
|
+
import { IconButton as w } from "./components/IconButton/IconButton.js";
|
|
16
|
+
import { Input as E } from "./components/Input/Input.js";
|
|
17
|
+
import { InputSearch as N } from "./components/InputSearch/InputSearch.js";
|
|
18
|
+
import { LoadingSpinner as W } from "./components/LoadingSpinner/LoadingSpinner.js";
|
|
19
|
+
import { PageHeader as q } from "./components/PageHeader/PageHeader.js";
|
|
20
|
+
import { Pagination as F, paginationDefaultTranslations as J } from "./components/Pagination/Pagination.js";
|
|
21
|
+
import { Popover as M } from "./components/Popover/Popover.js";
|
|
22
|
+
import { RadioButton as U } from "./components/RadioButton/RadioButton.js";
|
|
23
|
+
import { ResultWithChips as X } from "./components/ResultWithChips/ResultWithChips.js";
|
|
24
|
+
import { Select as Z, SelectContext as _, SelectOption as $, useSelectContext as oo } from "./components/Select/Select.js";
|
|
25
|
+
import { Skeleton as to, SkeletonCircle as eo, SkeletonTable as po } from "./components/Skeleton/Skeleton.js";
|
|
26
|
+
import { Snackbar as fo } from "./components/Snackbar/Snackbar.js";
|
|
27
|
+
import { SortTooltip as mo, sortTooltipDefaultTranslations as no } from "./components/SortTooltip/SortTooltip.js";
|
|
28
|
+
import { Stepper as io } from "./components/Stepper/Stepper.js";
|
|
29
|
+
import { StepperNavigator as so } from "./components/StepperNavigator/StepperNavigator.js";
|
|
30
|
+
import { TBody as go, THead as uo, Table as So, Td as Co, Th as bo, Tr as ko } from "./components/Table/Table.js";
|
|
31
|
+
import { Tabs as Do } from "./components/Tabs/Tabs.js";
|
|
32
|
+
import { Tag as Io } from "./components/Tag/Tag.js";
|
|
33
|
+
import { TextDisplay as Bo } from "./components/TextDisplay/TextDisplay.js";
|
|
34
|
+
import { Toggle as Ro } from "./components/Toggle/Toggle.js";
|
|
35
|
+
import { G as Go } from "./Group-ZXteFV4M.js";
|
|
36
|
+
import { Tooltip as Ho } from "./components/Tooltip/Tooltip.js";
|
|
37
|
+
import { TransactionRow as Lo } from "./components/TransactionRow/TransactionRow.js";
|
|
38
|
+
import { Text as Oo, Typography as Wo } from "./components/Typography/Typography.js";
|
|
39
|
+
import { SnackbarContext as qo, SnackbarProvider as zo, useSnackbar as Fo } from "./contexts/SnackbarProvider/SnackbarProvider.js";
|
|
40
|
+
import { default as Ko } from "./components/Dialog/DialogTitle.js";
|
|
41
|
+
import { default as Qo } from "./components/Dialog/Content.js";
|
|
42
|
+
import { default as Vo } from "./components/Dialog/Actions.js";
|
|
43
|
+
import { Tab as Yo } from "./components/Tabs/Tab.js";
|
|
44
|
+
import { TabPanel as _o } from "./components/Tabs/TabPanel.js";
|
|
44
45
|
export {
|
|
45
|
-
|
|
46
|
+
Vo as Actions,
|
|
46
47
|
t as Adornment,
|
|
47
48
|
p as Advice,
|
|
48
49
|
f as Alert,
|
|
49
50
|
m as Autocomplete,
|
|
50
51
|
l as Avatar,
|
|
51
|
-
T as
|
|
52
|
-
c as
|
|
53
|
-
u as
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
A as
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
w as
|
|
63
|
-
E as
|
|
64
|
-
N as
|
|
65
|
-
W as
|
|
66
|
-
q as
|
|
67
|
-
|
|
68
|
-
M as
|
|
69
|
-
U as
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
po as
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
io as
|
|
83
|
-
so as
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
Yo as
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
Do as
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
52
|
+
T as BankCard,
|
|
53
|
+
c as Button,
|
|
54
|
+
u as Checkbox,
|
|
55
|
+
d as Chip,
|
|
56
|
+
h as ConfirmationDialog,
|
|
57
|
+
Qo as Content,
|
|
58
|
+
A as Description,
|
|
59
|
+
v as Dialog,
|
|
60
|
+
Ko as DialogTitle,
|
|
61
|
+
P as EllipsisTooltip,
|
|
62
|
+
y as Icon,
|
|
63
|
+
w as IconButton,
|
|
64
|
+
E as Input,
|
|
65
|
+
N as InputSearch,
|
|
66
|
+
W as LoadingSpinner,
|
|
67
|
+
q as PageHeader,
|
|
68
|
+
F as Pagination,
|
|
69
|
+
M as Popover,
|
|
70
|
+
U as RadioButton,
|
|
71
|
+
X as ResultWithChips,
|
|
72
|
+
C as RowItem,
|
|
73
|
+
Z as Select,
|
|
74
|
+
_ as SelectContext,
|
|
75
|
+
$ as SelectOption,
|
|
76
|
+
to as Skeleton,
|
|
77
|
+
eo as SkeletonCircle,
|
|
78
|
+
po as SkeletonTable,
|
|
79
|
+
fo as Snackbar,
|
|
80
|
+
qo as SnackbarContext,
|
|
81
|
+
zo as SnackbarProvider,
|
|
82
|
+
mo as SortTooltip,
|
|
83
|
+
io as Stepper,
|
|
84
|
+
so as StepperNavigator,
|
|
85
|
+
go as TBody,
|
|
86
|
+
uo as THead,
|
|
87
|
+
Yo as Tab,
|
|
88
|
+
_o as TabPanel,
|
|
89
|
+
So as Table,
|
|
90
|
+
Do as Tabs,
|
|
91
|
+
Io as Tag,
|
|
92
|
+
Co as Td,
|
|
93
|
+
Oo as Text,
|
|
94
|
+
Bo as TextDisplay,
|
|
95
|
+
bo as Th,
|
|
96
|
+
Ro as Toggle,
|
|
97
|
+
Go as ToggleGroup,
|
|
98
|
+
b as ToggleGroupItem,
|
|
99
|
+
Ho as Tooltip,
|
|
100
|
+
ko as Tr,
|
|
101
|
+
Lo as TransactionRow,
|
|
102
|
+
Wo as Typography,
|
|
103
|
+
J as paginationDefaultTranslations,
|
|
104
|
+
no as sortTooltipDefaultTranslations,
|
|
105
|
+
oo as useSelectContext,
|
|
106
|
+
Fo as useSnackbar
|
|
105
107
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pismo/marola",
|
|
3
3
|
"description": "CDX tribe component library",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.24",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -100,4 +100,4 @@
|
|
|
100
100
|
"@mui/base": "^5.0.0-beta.40",
|
|
101
101
|
"@mui/material": "^5.15.15"
|
|
102
102
|
}
|
|
103
|
-
}
|
|
103
|
+
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import './assets/Dialog.css';
|
|
2
|
-
const _ = "_dialog_2iy7w_78", y = "_dialog__backdrop_2iy7w_88", a = "_dialog__panel_2iy7w_96", o = "_dialog__title_2iy7w_113", i = "_dialog__subtitle_2iy7w_120", p = "_dialog__divider_2iy7w_124", t = "_dialog__actions_2iy7w_138", g = {
|
|
3
|
-
"u-typography-h1": "_u-typography-h1_2iy7w_1",
|
|
4
|
-
"u-typography-h2": "_u-typography-h2_2iy7w_8",
|
|
5
|
-
"u-typography-h3": "_u-typography-h3_2iy7w_15",
|
|
6
|
-
"u-typography-h4": "_u-typography-h4_2iy7w_22",
|
|
7
|
-
"u-typography-h5": "_u-typography-h5_2iy7w_29",
|
|
8
|
-
"u-typography-h6": "_u-typography-h6_2iy7w_36",
|
|
9
|
-
"u-typography-base": "_u-typography-base_2iy7w_43",
|
|
10
|
-
"u-typography-base--xxl": "_u-typography-base--xxl_2iy7w_49",
|
|
11
|
-
"u-typography-base--xl": "_u-typography-base--xl_2iy7w_53",
|
|
12
|
-
"u-typography-base--lg": "_u-typography-base--lg_2iy7w_57",
|
|
13
|
-
"u-typography-base--sm": "_u-typography-base--sm_2iy7w_61",
|
|
14
|
-
"u-typography-base--bold": "_u-typography-base--bold_2iy7w_65",
|
|
15
|
-
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_2iy7w_68",
|
|
16
|
-
"u-typography-base--underlined": "_u-typography-base--underlined_2iy7w_71",
|
|
17
|
-
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_2iy7w_74",
|
|
18
|
-
dialog: _,
|
|
19
|
-
dialog__backdrop: y,
|
|
20
|
-
dialog__panel: a,
|
|
21
|
-
dialog__title: o,
|
|
22
|
-
dialog__subtitle: i,
|
|
23
|
-
dialog__divider: p,
|
|
24
|
-
"dialog__close-icon": "_dialog__close-icon_2iy7w_128",
|
|
25
|
-
dialog__actions: t
|
|
26
|
-
};
|
|
27
|
-
export {
|
|
28
|
-
g as s
|
|
29
|
-
};
|