@vkzstudio/muza-ui 1.0.47 → 1.0.48
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.d.ts +112 -18
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +208 -110
- package/dist/components/Accordion/Accordion.stories.d.ts +3 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +4 -4
- package/dist/components/ButtonArrow/ButtonArrow.stories.d.ts.map +1 -1
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts +111 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.d.ts.map +1 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +115 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts +13 -0
- package/dist/components/CardCheckboxAmount/CardCheckboxAmount.stories.d.ts.map +1 -0
- package/dist/components/CardCheckboxAmount/index.d.ts +2 -0
- package/dist/components/CardCheckboxAmount/index.d.ts.map +1 -0
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.js +6 -2
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.js +10 -2
- package/dist/components/DatePicker/DatePicker.stories.d.ts.map +1 -1
- package/dist/components/DatePickerButton/DatePickerButton.d.ts +97 -0
- package/dist/components/DatePickerButton/DatePickerButton.d.ts.map +1 -0
- package/dist/components/DatePickerButton/DatePickerButton.js +329 -0
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts +15 -0
- package/dist/components/DatePickerButton/DatePickerButton.stories.d.ts.map +1 -0
- package/dist/components/DatePickerButton/index.d.ts +2 -0
- package/dist/components/DatePickerButton/index.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Icons/CustomLogos.d.ts +18 -2
- package/dist/components/Icons/CustomLogos.d.ts.map +1 -1
- package/dist/components/Icons/CustomLogos.js +103 -97
- package/dist/components/Icons/LogosAndBadges.stories.d.ts +1 -0
- package/dist/components/Icons/LogosAndBadges.stories.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts +26 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.d.ts.map +1 -1
- package/dist/components/LanguageSwitcher/LanguageSwitcher.js +86 -44
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts +1 -0
- package/dist/components/LanguageSwitcher/LanguageSwitcher.stories.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +8 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.js +7 -6
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -1
- package/dist/components/TextEditor/TextEditor.d.ts.map +1 -1
- package/dist/components/TextEditor/TextEditor.js +12 -9
- package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/ToggleCheckButton/ToggleCheckButton.stories.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -1
- package/dist/components/Typography/Typography.d.ts +10 -1
- package/dist/components/Typography/Typography.d.ts.map +1 -1
- package/dist/components/Typography/Typography.js +82 -67
- package/dist/components/Typography/Typography.stories.d.ts +1 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -1
- package/dist/components/TypographyLink/TypographyLink.d.ts +72 -0
- package/dist/components/TypographyLink/TypographyLink.d.ts.map +1 -0
- package/dist/components/TypographyLink/TypographyLink.js +103 -0
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts +12 -0
- package/dist/components/TypographyLink/TypographyLink.stories.d.ts.map +1 -0
- package/dist/components/TypographyLink/index.d.ts +2 -0
- package/dist/components/TypographyLink/index.d.ts.map +1 -0
- package/dist/components/UniversalFooter/UniversalFooter.d.ts +198 -0
- package/dist/components/UniversalFooter/UniversalFooter.d.ts.map +1 -0
- package/dist/components/UniversalFooter/UniversalFooter.js +401 -0
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts +19 -0
- package/dist/components/UniversalFooter/UniversalFooter.stories.d.ts.map +1 -0
- package/dist/components/UniversalFooter/index.d.ts +2 -0
- package/dist/components/UniversalFooter/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.js +353 -322
- package/dist/muza-ui.css +1 -1
- package/dist/styles/primitives.css +2 -0
- package/dist/styles/token-colors.css +51 -43
- package/dist/styles/token-sizes.css +40 -0
- 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 +6 -1
- package/dist/translations/locales/en.d.ts.map +1 -1
- package/dist/translations/locales/en.js +6 -1
- package/dist/translations/locales/sk.d.ts.map +1 -1
- package/dist/translations/locales/sk.js +6 -1
- package/dist/translations/types.d.ts +12 -0
- package/dist/translations/types.d.ts.map +1 -1
- package/package.json +171 -169
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import { jsx as o, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { TypographyLink as w } from "../TypographyLink/TypographyLink.js";
|
|
4
|
+
import { cn as s } from "../../utils/cn.js";
|
|
5
|
+
import { Flex as n } from "../Flex/Flex.js";
|
|
6
|
+
import { Typography as v } from "../Typography/Typography.js";
|
|
7
|
+
const N = [
|
|
8
|
+
"mx-auto w-full",
|
|
9
|
+
"max-md:max-w-[calc(100%-2*var(--spacing-layout-p-standard))]",
|
|
10
|
+
"max-lg:max-w-[calc(100%-2*var(--spacing-layout-p-standard))]",
|
|
11
|
+
"max-xl:max-w-[58.5rem]",
|
|
12
|
+
"max-w-[75rem]",
|
|
13
|
+
"2xl:max-w-[93.75rem]"
|
|
14
|
+
], l = (e, t, r) => {
|
|
15
|
+
const a = i.useContext(e);
|
|
16
|
+
if (a === null)
|
|
17
|
+
throw new Error(
|
|
18
|
+
`\`${t}\` must be used within \`${r}\`.`
|
|
19
|
+
);
|
|
20
|
+
return a;
|
|
21
|
+
}, p = i.createContext(null), d = i.createContext(null), g = i.createContext(null), F = i.createContext(null), U = i.createContext(null), x = i.createContext(null), y = i.createContext(null), C = i.forwardRef(
|
|
22
|
+
({ className: e, contentClassName: t, children: r, ...a }, m) => /* @__PURE__ */ o(p.Provider, { value: !0, children: /* @__PURE__ */ o(
|
|
23
|
+
"footer",
|
|
24
|
+
{
|
|
25
|
+
ref: m,
|
|
26
|
+
"data-slot": "universal-footer",
|
|
27
|
+
className: s(
|
|
28
|
+
"w-full bg-surface-dark-def pt-5xl pb-3xl text-text-invert-def",
|
|
29
|
+
e
|
|
30
|
+
),
|
|
31
|
+
...a,
|
|
32
|
+
children: /* @__PURE__ */ o(
|
|
33
|
+
n,
|
|
34
|
+
{
|
|
35
|
+
"data-slot": "universal-footer-inner",
|
|
36
|
+
direction: "column",
|
|
37
|
+
align: "stretch",
|
|
38
|
+
className: s(
|
|
39
|
+
"gap-layout-gap-medium",
|
|
40
|
+
N,
|
|
41
|
+
t
|
|
42
|
+
),
|
|
43
|
+
children: r
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
) })
|
|
48
|
+
);
|
|
49
|
+
C.displayName = "UniversalFooter";
|
|
50
|
+
const S = ({
|
|
51
|
+
className: e,
|
|
52
|
+
...t
|
|
53
|
+
}) => (l(p, "UniversalFooterBody", "UniversalFooter"), /* @__PURE__ */ o(d.Provider, { value: !0, children: /* @__PURE__ */ o(
|
|
54
|
+
n,
|
|
55
|
+
{
|
|
56
|
+
"data-slot": "universal-footer-body",
|
|
57
|
+
direction: "column",
|
|
58
|
+
align: "stretch",
|
|
59
|
+
className: s("w-full gap-layout-gap-small", e),
|
|
60
|
+
...t
|
|
61
|
+
}
|
|
62
|
+
) }));
|
|
63
|
+
S.displayName = "UniversalFooterBody";
|
|
64
|
+
const B = ({
|
|
65
|
+
className: e,
|
|
66
|
+
...t
|
|
67
|
+
}) => (l(
|
|
68
|
+
d,
|
|
69
|
+
"UniversalFooterTop",
|
|
70
|
+
"UniversalFooterBody"
|
|
71
|
+
), /* @__PURE__ */ o(g.Provider, { value: !0, children: /* @__PURE__ */ o(
|
|
72
|
+
n,
|
|
73
|
+
{
|
|
74
|
+
"data-slot": "universal-footer-top",
|
|
75
|
+
direction: "column",
|
|
76
|
+
align: "start",
|
|
77
|
+
gap: "3xl",
|
|
78
|
+
className: s(
|
|
79
|
+
"w-full md:flex-row md:items-center md:justify-between md:gap-2xl",
|
|
80
|
+
e
|
|
81
|
+
),
|
|
82
|
+
...t
|
|
83
|
+
}
|
|
84
|
+
) }));
|
|
85
|
+
B.displayName = "UniversalFooterTop";
|
|
86
|
+
const L = ({
|
|
87
|
+
className: e,
|
|
88
|
+
...t
|
|
89
|
+
}) => (l(
|
|
90
|
+
g,
|
|
91
|
+
"UniversalFooterLogo",
|
|
92
|
+
"UniversalFooterTop"
|
|
93
|
+
), /* @__PURE__ */ o(
|
|
94
|
+
n,
|
|
95
|
+
{
|
|
96
|
+
"data-slot": "universal-footer-logo",
|
|
97
|
+
align: "center",
|
|
98
|
+
className: s("shrink-0", e),
|
|
99
|
+
...t
|
|
100
|
+
}
|
|
101
|
+
));
|
|
102
|
+
L.displayName = "UniversalFooterLogo";
|
|
103
|
+
const k = ({
|
|
104
|
+
className: e,
|
|
105
|
+
...t
|
|
106
|
+
}) => (l(
|
|
107
|
+
g,
|
|
108
|
+
"UniversalFooterSocialList",
|
|
109
|
+
"UniversalFooterTop"
|
|
110
|
+
), /* @__PURE__ */ o(F.Provider, { value: !0, children: /* @__PURE__ */ o(
|
|
111
|
+
n,
|
|
112
|
+
{
|
|
113
|
+
"data-slot": "universal-footer-social-list",
|
|
114
|
+
component: "ul",
|
|
115
|
+
align: "center",
|
|
116
|
+
gap: "sm",
|
|
117
|
+
className: s("shrink-0", e),
|
|
118
|
+
...t
|
|
119
|
+
}
|
|
120
|
+
) }));
|
|
121
|
+
k.displayName = "UniversalFooterSocialList";
|
|
122
|
+
const T = i.forwardRef(({ className: e, children: t, ...r }, a) => (l(
|
|
123
|
+
F,
|
|
124
|
+
"UniversalFooterSocialLink",
|
|
125
|
+
"UniversalFooterSocialList"
|
|
126
|
+
), /* @__PURE__ */ o("li", { "data-slot": "universal-footer-social-item", className: "flex", children: /* @__PURE__ */ o(
|
|
127
|
+
"a",
|
|
128
|
+
{
|
|
129
|
+
ref: a,
|
|
130
|
+
"data-slot": "universal-footer-social-link",
|
|
131
|
+
className: s(
|
|
132
|
+
"flex size-comp-button-h-sm items-center justify-center rounded-comp-button-radius",
|
|
133
|
+
"bg-comp-button-primary-bg-def text-comp-button-primary-text-def transition-colors",
|
|
134
|
+
"hover:bg-comp-button-primary-bg-hover hover:text-comp-button-primary-text-hover",
|
|
135
|
+
"focus-visible-default focus-visible:bg-comp-button-primary-bg-focused focus-visible:text-comp-button-primary-text-focused",
|
|
136
|
+
"active:bg-comp-button-primary-bg-pressed active:text-comp-button-primary-text-pressed",
|
|
137
|
+
"[&>svg]:size-icon-small",
|
|
138
|
+
e
|
|
139
|
+
),
|
|
140
|
+
...r,
|
|
141
|
+
children: t
|
|
142
|
+
}
|
|
143
|
+
) })));
|
|
144
|
+
T.displayName = "UniversalFooterSocialLink";
|
|
145
|
+
const P = ({
|
|
146
|
+
className: e,
|
|
147
|
+
...t
|
|
148
|
+
}) => (l(
|
|
149
|
+
d,
|
|
150
|
+
"UniversalFooterSeparator",
|
|
151
|
+
"UniversalFooterBody"
|
|
152
|
+
), /* @__PURE__ */ o(
|
|
153
|
+
"hr",
|
|
154
|
+
{
|
|
155
|
+
"data-slot": "universal-footer-separator",
|
|
156
|
+
className: s(
|
|
157
|
+
"w-full border-0 border-t border-surface-base-secondary/16",
|
|
158
|
+
e
|
|
159
|
+
),
|
|
160
|
+
...t
|
|
161
|
+
}
|
|
162
|
+
));
|
|
163
|
+
P.displayName = "UniversalFooterSeparator";
|
|
164
|
+
const j = ({
|
|
165
|
+
className: e,
|
|
166
|
+
...t
|
|
167
|
+
}) => (l(
|
|
168
|
+
d,
|
|
169
|
+
"UniversalFooterSections",
|
|
170
|
+
"UniversalFooterBody"
|
|
171
|
+
), /* @__PURE__ */ o(U.Provider, { value: !0, children: /* @__PURE__ */ o(
|
|
172
|
+
"div",
|
|
173
|
+
{
|
|
174
|
+
"data-slot": "universal-footer-sections",
|
|
175
|
+
className: s(
|
|
176
|
+
"flex w-full flex-col gap-4xl",
|
|
177
|
+
"md:grid md:grid-cols-2 md:grid-rows-2 md:gap-x-4xl md:gap-y-2xl md:[&>:first-child]:row-span-2",
|
|
178
|
+
"lg:flex lg:flex-row lg:items-start lg:justify-between lg:gap-x-2xl lg:gap-y-0",
|
|
179
|
+
e
|
|
180
|
+
),
|
|
181
|
+
...t
|
|
182
|
+
}
|
|
183
|
+
) }));
|
|
184
|
+
j.displayName = "UniversalFooterSections";
|
|
185
|
+
const z = (e, t) => {
|
|
186
|
+
const r = i.Children.toArray(e);
|
|
187
|
+
if (r.length === 0) return [];
|
|
188
|
+
const a = Math.max(1, Math.ceil(r.length / t)), m = [];
|
|
189
|
+
for (let c = 0; c < t; c += 1) {
|
|
190
|
+
const u = r.slice(c * a, (c + 1) * a);
|
|
191
|
+
u.length > 0 && m.push(u);
|
|
192
|
+
}
|
|
193
|
+
return m;
|
|
194
|
+
}, R = ({
|
|
195
|
+
className: e,
|
|
196
|
+
heading: t,
|
|
197
|
+
columns: r = 1,
|
|
198
|
+
children: a,
|
|
199
|
+
...m
|
|
200
|
+
}) => {
|
|
201
|
+
l(
|
|
202
|
+
U,
|
|
203
|
+
"UniversalFooterSection",
|
|
204
|
+
"UniversalFooterSections"
|
|
205
|
+
);
|
|
206
|
+
const c = r > 1, u = c ? z(a, r) : null;
|
|
207
|
+
return /* @__PURE__ */ o(x.Provider, { value: !0, children: /* @__PURE__ */ f(
|
|
208
|
+
n,
|
|
209
|
+
{
|
|
210
|
+
"data-slot": "universal-footer-section",
|
|
211
|
+
direction: "column",
|
|
212
|
+
align: "start",
|
|
213
|
+
gap: "xl",
|
|
214
|
+
className: e,
|
|
215
|
+
...m,
|
|
216
|
+
children: [
|
|
217
|
+
/* @__PURE__ */ o(
|
|
218
|
+
v,
|
|
219
|
+
{
|
|
220
|
+
component: "span",
|
|
221
|
+
variant: "title",
|
|
222
|
+
size: "base",
|
|
223
|
+
weight: "medium",
|
|
224
|
+
fixY: !0,
|
|
225
|
+
className: "text-text-invert-def",
|
|
226
|
+
children: t
|
|
227
|
+
}
|
|
228
|
+
),
|
|
229
|
+
c ? /* @__PURE__ */ o(
|
|
230
|
+
n,
|
|
231
|
+
{
|
|
232
|
+
direction: "column",
|
|
233
|
+
gap: "xl",
|
|
234
|
+
className: "lg:flex-row lg:items-start lg:gap-7xl",
|
|
235
|
+
children: u.map((h, b) => /* @__PURE__ */ o(
|
|
236
|
+
n,
|
|
237
|
+
{
|
|
238
|
+
"data-slot": "universal-footer-section-column",
|
|
239
|
+
direction: "column",
|
|
240
|
+
align: "start",
|
|
241
|
+
gap: "xl",
|
|
242
|
+
children: h
|
|
243
|
+
},
|
|
244
|
+
b
|
|
245
|
+
))
|
|
246
|
+
}
|
|
247
|
+
) : /* @__PURE__ */ o(n, { direction: "column", align: "start", gap: "xl", children: a })
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
) });
|
|
251
|
+
};
|
|
252
|
+
R.displayName = "UniversalFooterSection";
|
|
253
|
+
const A = i.forwardRef(({ variant: e = "invertSecondary", underline: t = !1, ...r }, a) => (l(p, "UniversalFooterLink", "UniversalFooter"), /* @__PURE__ */ o(
|
|
254
|
+
w,
|
|
255
|
+
{
|
|
256
|
+
ref: a,
|
|
257
|
+
"data-slot": "universal-footer-link",
|
|
258
|
+
variant: e,
|
|
259
|
+
underline: t,
|
|
260
|
+
...r
|
|
261
|
+
}
|
|
262
|
+
)));
|
|
263
|
+
A.displayName = "UniversalFooterLink";
|
|
264
|
+
const G = ({
|
|
265
|
+
className: e,
|
|
266
|
+
...t
|
|
267
|
+
}) => (l(
|
|
268
|
+
x,
|
|
269
|
+
"UniversalFooterContactList",
|
|
270
|
+
"UniversalFooterSection"
|
|
271
|
+
), /* @__PURE__ */ o(
|
|
272
|
+
n,
|
|
273
|
+
{
|
|
274
|
+
"data-slot": "universal-footer-contact-list",
|
|
275
|
+
direction: "column",
|
|
276
|
+
align: "start",
|
|
277
|
+
gap: "md",
|
|
278
|
+
className: e,
|
|
279
|
+
...t
|
|
280
|
+
}
|
|
281
|
+
));
|
|
282
|
+
G.displayName = "UniversalFooterContactList";
|
|
283
|
+
const Y = ({
|
|
284
|
+
className: e,
|
|
285
|
+
...t
|
|
286
|
+
}) => (l(
|
|
287
|
+
x,
|
|
288
|
+
"UniversalFooterAppBadges",
|
|
289
|
+
"UniversalFooterSection"
|
|
290
|
+
), /* @__PURE__ */ o(
|
|
291
|
+
n,
|
|
292
|
+
{
|
|
293
|
+
"data-slot": "universal-footer-app-badges",
|
|
294
|
+
align: "start",
|
|
295
|
+
gap: "md",
|
|
296
|
+
className: e,
|
|
297
|
+
...t
|
|
298
|
+
}
|
|
299
|
+
));
|
|
300
|
+
Y.displayName = "UniversalFooterAppBadges";
|
|
301
|
+
const M = ({
|
|
302
|
+
className: e,
|
|
303
|
+
...t
|
|
304
|
+
}) => (l(
|
|
305
|
+
d,
|
|
306
|
+
"UniversalFooterBottom",
|
|
307
|
+
"UniversalFooterBody"
|
|
308
|
+
), /* @__PURE__ */ o(y.Provider, { value: !0, children: /* @__PURE__ */ o(
|
|
309
|
+
n,
|
|
310
|
+
{
|
|
311
|
+
"data-slot": "universal-footer-bottom",
|
|
312
|
+
direction: "column",
|
|
313
|
+
align: "start",
|
|
314
|
+
gap: "4xl",
|
|
315
|
+
className: s(
|
|
316
|
+
"w-full md:flex-row md:items-start md:justify-between md:gap-2xl",
|
|
317
|
+
e
|
|
318
|
+
),
|
|
319
|
+
...t
|
|
320
|
+
}
|
|
321
|
+
) }));
|
|
322
|
+
M.displayName = "UniversalFooterBottom";
|
|
323
|
+
const $ = ({
|
|
324
|
+
className: e,
|
|
325
|
+
label: t,
|
|
326
|
+
align: r = "start",
|
|
327
|
+
labelSize: a = "sm",
|
|
328
|
+
children: m,
|
|
329
|
+
...c
|
|
330
|
+
}) => (l(
|
|
331
|
+
y,
|
|
332
|
+
"UniversalFooterBottomGroup",
|
|
333
|
+
"UniversalFooterBottom"
|
|
334
|
+
), /* @__PURE__ */ f(
|
|
335
|
+
n,
|
|
336
|
+
{
|
|
337
|
+
"data-slot": "universal-footer-bottom-group",
|
|
338
|
+
direction: "column",
|
|
339
|
+
align: "start",
|
|
340
|
+
gap: "sm",
|
|
341
|
+
className: s(r === "end" && "md:items-end", e),
|
|
342
|
+
...c,
|
|
343
|
+
children: [
|
|
344
|
+
t != null && /* @__PURE__ */ o(
|
|
345
|
+
v,
|
|
346
|
+
{
|
|
347
|
+
component: "span",
|
|
348
|
+
variant: "body",
|
|
349
|
+
size: a,
|
|
350
|
+
weight: "regular",
|
|
351
|
+
fixY: !0,
|
|
352
|
+
className: "text-text-invert-def opacity-70",
|
|
353
|
+
children: t
|
|
354
|
+
}
|
|
355
|
+
),
|
|
356
|
+
m
|
|
357
|
+
]
|
|
358
|
+
}
|
|
359
|
+
));
|
|
360
|
+
$.displayName = "UniversalFooterBottomGroup";
|
|
361
|
+
const E = ({
|
|
362
|
+
className: e,
|
|
363
|
+
...t
|
|
364
|
+
}) => (l(
|
|
365
|
+
p,
|
|
366
|
+
"UniversalFooterCopyright",
|
|
367
|
+
"UniversalFooter"
|
|
368
|
+
), /* @__PURE__ */ o(
|
|
369
|
+
v,
|
|
370
|
+
{
|
|
371
|
+
component: "p",
|
|
372
|
+
variant: "body",
|
|
373
|
+
size: "sm",
|
|
374
|
+
weight: "regular",
|
|
375
|
+
fixY: !0,
|
|
376
|
+
"data-slot": "universal-footer-copyright",
|
|
377
|
+
className: s(
|
|
378
|
+
"w-full text-center text-text-invert-def opacity-40",
|
|
379
|
+
e
|
|
380
|
+
),
|
|
381
|
+
...t
|
|
382
|
+
}
|
|
383
|
+
));
|
|
384
|
+
E.displayName = "UniversalFooterCopyright";
|
|
385
|
+
export {
|
|
386
|
+
C as UniversalFooter,
|
|
387
|
+
Y as UniversalFooterAppBadges,
|
|
388
|
+
S as UniversalFooterBody,
|
|
389
|
+
M as UniversalFooterBottom,
|
|
390
|
+
$ as UniversalFooterBottomGroup,
|
|
391
|
+
G as UniversalFooterContactList,
|
|
392
|
+
E as UniversalFooterCopyright,
|
|
393
|
+
A as UniversalFooterLink,
|
|
394
|
+
L as UniversalFooterLogo,
|
|
395
|
+
R as UniversalFooterSection,
|
|
396
|
+
j as UniversalFooterSections,
|
|
397
|
+
P as UniversalFooterSeparator,
|
|
398
|
+
T as UniversalFooterSocialLink,
|
|
399
|
+
k as UniversalFooterSocialList,
|
|
400
|
+
B as UniversalFooterTop
|
|
401
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { UniversalFooter } from './UniversalFooter';
|
|
3
|
+
declare const meta: Meta<typeof UniversalFooter>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof UniversalFooter>;
|
|
6
|
+
/**
|
|
7
|
+
* Full Market-style footer matching the design-system reference. Resize the
|
|
8
|
+
* viewport to see the responsive layout shift between desktop (`lg`), tablet
|
|
9
|
+
* (`md` 2-col grid with the first section spanning both rows), and mobile
|
|
10
|
+
* (stacked single column).
|
|
11
|
+
*/
|
|
12
|
+
export declare const Market: Story;
|
|
13
|
+
/**
|
|
14
|
+
* Minimal composition for surfaces with fewer footer slots — a single link
|
|
15
|
+
* column, contact info, and a copyright line. Useful for help / docs sites
|
|
16
|
+
* where the link inventory is small.
|
|
17
|
+
*/
|
|
18
|
+
export declare const HelpStyle: Story;
|
|
19
|
+
//# sourceMappingURL=UniversalFooter.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UniversalFooter.stories.d.ts","sourceRoot":"","sources":["../../../src/components/UniversalFooter/UniversalFooter.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAY3D,OAAO,EACL,eAAe,EAehB,MAAM,mBAAmB,CAAA;AAE1B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,eAAe,CAqDtC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAA;AA4B7C;;;;;GAKG;AACH,eAAO,MAAM,MAAM,EAAE,KAqHpB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KA2DvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UniversalFooter/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA"}
|
|
@@ -7,10 +7,12 @@ export * from './Button';
|
|
|
7
7
|
export * from './ButtonArrow';
|
|
8
8
|
export * from './Calendar';
|
|
9
9
|
export * from './Card';
|
|
10
|
+
export * from './CardCheckboxAmount';
|
|
10
11
|
export * from './Carousel';
|
|
11
12
|
export * from './Checkbox';
|
|
12
13
|
export * from './Chip';
|
|
13
14
|
export * from './DatePicker';
|
|
15
|
+
export * from './DatePickerButton';
|
|
14
16
|
export * from './Dialog';
|
|
15
17
|
export * from './DropdownMenu';
|
|
16
18
|
export * from './EdgeButton';
|
|
@@ -53,6 +55,8 @@ export * from './ToggleCheckButton';
|
|
|
53
55
|
export * from './ToggleGroup';
|
|
54
56
|
export * from './Tooltip';
|
|
55
57
|
export * from './Typography';
|
|
58
|
+
export * from './TypographyLink';
|
|
59
|
+
export * from './UniversalFooter';
|
|
56
60
|
export * from './DataTable';
|
|
57
61
|
export * from './ExpandableTable';
|
|
58
62
|
export * from './ResponsiveLayoutTable';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAA;AAG/B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB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