@revikornmann/muka-ui 0.49.0 → 0.50.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/cli/templates/agents-block.md +16 -0
- package/dist/cjs/components/AppShell/AppShell.css +36 -10
- package/dist/cjs/components/BottomBar/BottomBar.css +2 -0
- package/dist/cjs/components/Dialog/Dialog.css +38 -0
- package/dist/cjs/components/DocumentViewer/DocumentViewer.css +22 -0
- package/dist/cjs/components/Drawer/Drawer.css +43 -0
- package/dist/cjs/components/Page/Page.css +57 -0
- package/dist/cjs/components/Page/Page.js +31 -0
- package/dist/cjs/components/Page/Page.js.map +1 -0
- package/dist/cjs/components/Page/index.js +6 -0
- package/dist/cjs/components/Page/index.js.map +1 -0
- package/dist/cjs/components/SiteHeader/SiteHeader.css +104 -0
- package/dist/cjs/components/SiteHeader/SiteHeader.js +34 -0
- package/dist/cjs/components/SiteHeader/SiteHeader.js.map +1 -0
- package/dist/cjs/components/SiteHeader/index.js +6 -0
- package/dist/cjs/components/SiteHeader/index.js.map +1 -0
- package/dist/cjs/components/Toast/Toast.css +12 -10
- package/dist/cjs/components/View/View.css +12 -0
- package/dist/cjs/components/index.js +7 -3
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/AppShell/AppShell.css +36 -10
- package/dist/esm/components/BottomBar/BottomBar.css +2 -0
- package/dist/esm/components/Dialog/Dialog.css +38 -0
- package/dist/esm/components/DocumentViewer/DocumentViewer.css +22 -0
- package/dist/esm/components/Drawer/Drawer.css +43 -0
- package/dist/esm/components/Page/Page.css +57 -0
- package/dist/esm/components/Page/Page.js +27 -0
- package/dist/esm/components/Page/Page.js.map +1 -0
- package/dist/esm/components/Page/index.js +2 -0
- package/dist/esm/components/Page/index.js.map +1 -0
- package/dist/esm/components/SiteHeader/SiteHeader.css +104 -0
- package/dist/esm/components/SiteHeader/SiteHeader.js +30 -0
- package/dist/esm/components/SiteHeader/SiteHeader.js.map +1 -0
- package/dist/esm/components/SiteHeader/index.js +2 -0
- package/dist/esm/components/SiteHeader/index.js.map +1 -0
- package/dist/esm/components/Toast/Toast.css +12 -10
- package/dist/esm/components/View/View.css +12 -0
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/AppShell.css +36 -10
- package/dist/styles/components/BottomBar.css +2 -0
- package/dist/styles/components/ControlBar.css +72 -0
- package/dist/styles/components/Dialog.css +38 -0
- package/dist/styles/components/DocumentViewer.css +22 -0
- package/dist/styles/components/Drawer.css +43 -0
- package/dist/styles/components/Page.css +57 -0
- package/dist/styles/components/SiteHeader.css +104 -0
- package/dist/styles/components/TablePagination.css +199 -0
- package/dist/styles/components/Toast.css +12 -10
- package/dist/styles/components/TopBar.css +225 -43
- package/dist/styles/components/View.css +12 -0
- package/dist/styles/index.css +2145 -1651
- package/dist/styles/muka-dark.css +2145 -1651
- package/dist/styles/muka-light.css +2145 -1651
- package/dist/styles/wireframe-dark.css +2145 -1651
- package/dist/styles/wireframe-light.css +2145 -1651
- package/dist/types/components/Page/Page.d.ts +38 -0
- package/dist/types/components/Page/Page.d.ts.map +1 -0
- package/dist/types/components/Page/index.d.ts +3 -0
- package/dist/types/components/Page/index.d.ts.map +1 -0
- package/dist/types/components/SiteHeader/SiteHeader.d.ts +43 -0
- package/dist/types/components/SiteHeader/SiteHeader.d.ts.map +1 -0
- package/dist/types/components/SiteHeader/index.d.ts +3 -0
- package/dist/types/components/SiteHeader/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/docs/consumers/README.md +1 -0
- package/docs/consumers/devices.md +59 -0
- package/docs/consumers/setup-instructions.md +7 -0
- package/package.json +1 -1
- package/skills/setup-muka/SKILL.md +9 -0
|
@@ -110,6 +110,22 @@ The rules: `node_modules/@revikornmann/muka-ui/docs/consumers/dialogs.md`.
|
|
|
110
110
|
|
|
111
111
|
---
|
|
112
112
|
|
|
113
|
+
## One app on web, iOS and Android
|
|
114
|
+
|
|
115
|
+
Muka handles notches, the status bar, the home indicator and landscape insets
|
|
116
|
+
in its components. Don't write safe-area CSS of your own:
|
|
117
|
+
|
|
118
|
+
- The root layout sets `viewport-fit=cover` once.
|
|
119
|
+
- App screens: `AppShell` + `View`. Document-scrolling pages (marketing,
|
|
120
|
+
sign-in, legal): `Page` + `SiteHeader`.
|
|
121
|
+
- Never add `env(safe-area-inset-*)` padding or a status-bar strip; the
|
|
122
|
+
components already do, and yours doubles the gap. If something is missing,
|
|
123
|
+
it belongs in Muka.
|
|
124
|
+
|
|
125
|
+
The details: `node_modules/@revikornmann/muka-ui/docs/consumers/devices.md`.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
113
129
|
## Checked in CI, not just written down
|
|
114
130
|
|
|
115
131
|
These rules are also code: `npx muka-ui check` lints the source with Muka's
|
|
@@ -12,8 +12,11 @@
|
|
|
12
12
|
position: relative;
|
|
13
13
|
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
14
14
|
--app-shell-sidebar-width: 240px;
|
|
15
|
-
/* Height of the optional top app bar. */
|
|
15
|
+
/* Height of the optional top app bar, without the status-bar inset. */
|
|
16
16
|
--app-shell-appbar-height: 64px;
|
|
17
|
+
/* What the app bar actually takes from the top: its height plus the status
|
|
18
|
+
bar on a device with one (an iPad in an app shell); 0 inset elsewhere. */
|
|
19
|
+
--app-shell-appbar-offset: calc(var(--app-shell-appbar-height) + env(safe-area-inset-top, 0px));
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
@@ -38,7 +41,10 @@
|
|
|
38
41
|
top: 0;
|
|
39
42
|
left: 0;
|
|
40
43
|
right: 0;
|
|
41
|
-
|
|
44
|
+
/* Extends behind the status bar in its own colour; content starts below it. */
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
height: var(--app-shell-appbar-offset);
|
|
47
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
42
48
|
padding-inline: var(--spacing-4);
|
|
43
49
|
background-color: var(--color-surface-level3);
|
|
44
50
|
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
@@ -58,15 +64,15 @@
|
|
|
58
64
|
}
|
|
59
65
|
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
60
66
|
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
61
|
-
padding-top: var(--app-shell-appbar-
|
|
67
|
+
padding-top: var(--app-shell-appbar-offset);
|
|
62
68
|
}
|
|
63
69
|
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
64
|
-
top: var(--app-shell-appbar-
|
|
65
|
-
height: calc(100vh - var(--app-shell-appbar-
|
|
70
|
+
top: var(--app-shell-appbar-offset);
|
|
71
|
+
height: calc(100vh - var(--app-shell-appbar-offset));
|
|
66
72
|
}
|
|
67
73
|
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
68
74
|
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
69
|
-
height: calc(100dvh - var(--app-shell-appbar-
|
|
75
|
+
height: calc(100dvh - var(--app-shell-appbar-offset));
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
78
|
|
|
@@ -81,13 +87,33 @@
|
|
|
81
87
|
display: flex;
|
|
82
88
|
}
|
|
83
89
|
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
84
|
-
padding-top: var(--app-shell-appbar-
|
|
90
|
+
padding-top: var(--app-shell-appbar-offset);
|
|
85
91
|
}
|
|
86
92
|
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
87
|
-
top: var(--app-shell-appbar-
|
|
88
|
-
height: calc(100vh - var(--app-shell-appbar-
|
|
93
|
+
top: var(--app-shell-appbar-offset);
|
|
94
|
+
height: calc(100vh - var(--app-shell-appbar-offset));
|
|
89
95
|
}
|
|
90
96
|
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
91
97
|
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
92
|
-
height: calc(100dvh - var(--app-shell-appbar-
|
|
98
|
+
height: calc(100dvh - var(--app-shell-appbar-offset));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* ─── Below an app bar, the status bar is already covered ───
|
|
102
|
+
The app bar takes the top inset, so the View's TopBar and the sidebar rail
|
|
103
|
+
under it must not pad for the status bar a second time. */
|
|
104
|
+
@media (min-width: 1024px) {
|
|
105
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view .muka-topbar {
|
|
106
|
+
padding-top: 0;
|
|
107
|
+
}
|
|
108
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
109
|
+
padding-top: var(--spacing-4);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view .muka-topbar {
|
|
114
|
+
padding-top: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar .muka-bottombar__content {
|
|
118
|
+
padding-top: var(--spacing-4);
|
|
93
119
|
}
|
|
@@ -261,6 +261,8 @@
|
|
|
261
261
|
flex-direction: column;
|
|
262
262
|
align-items: stretch;
|
|
263
263
|
padding: var(--spacing-4) var(--spacing-3);
|
|
264
|
+
/* The rail runs to the top of the screen: clear the status bar there. */
|
|
265
|
+
padding-top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
264
266
|
gap: var(--spacing-1);
|
|
265
267
|
}
|
|
266
268
|
|
|
@@ -319,3 +319,41 @@
|
|
|
319
319
|
font-size: var(--text-body-base-regular-fontSize);
|
|
320
320
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
321
321
|
}
|
|
322
|
+
|
|
323
|
+
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
324
|
+
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
325
|
+
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
326
|
+
|
|
327
|
+
/* The surface never reaches the top of the screen, so its TopBar must not pad
|
|
328
|
+
for the status bar. */
|
|
329
|
+
.muka-dialog .muka-topbar {
|
|
330
|
+
padding-top: 0;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
@media (max-width: 1023px) {
|
|
334
|
+
/* The tallest sheet still starts below the status bar. */
|
|
335
|
+
.muka-dialog--lg .muka-dialog__surface {
|
|
336
|
+
height: calc(100vh - var(--dialog-margin-top-mobile) - env(safe-area-inset-top, 0px));
|
|
337
|
+
height: calc(100dvh - var(--dialog-margin-top-mobile) - env(safe-area-inset-top, 0px));
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/* Landscape: keep the body clear of the notch. */
|
|
341
|
+
.muka-dialog__body {
|
|
342
|
+
padding-left: max(var(--dialog-padding-x), env(safe-area-inset-left, 0px));
|
|
343
|
+
padding-right: max(var(--dialog-padding-x), env(safe-area-inset-right, 0px));
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/* The sheet is bottom-attached. A footer BottomBar pads itself for the home
|
|
347
|
+
indicator; without a visible footer the body does. */
|
|
348
|
+
.muka-dialog__surface:not(:has(.muka-dialog__footer)) .muka-dialog__body,
|
|
349
|
+
.muka-dialog:not(.muka-dialog--non-modal):not(.muka-dialog--no-inputs):not(.muka-dialog--mobile-actions-footer) .muka-dialog__body {
|
|
350
|
+
padding-bottom: calc(var(--dialog-padding-x) + env(safe-area-inset-bottom, 0px));
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
@media (min-width: 1024px) {
|
|
355
|
+
/* Centred card: nothing touches the bottom edge. */
|
|
356
|
+
.muka-dialog__footer .muka-bottombar {
|
|
357
|
+
padding-bottom: 0;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
@@ -274,3 +274,25 @@
|
|
|
274
274
|
.react-pdf__Page__annotations {
|
|
275
275
|
max-width: 100%;
|
|
276
276
|
}
|
|
277
|
+
|
|
278
|
+
/* ─── Safe areas in full screen ─────────────────────────
|
|
279
|
+
Full screen covers the whole display: the toolbar extends behind the status
|
|
280
|
+
bar and the content clears the home indicator and a landscape notch.
|
|
281
|
+
env(safe-area-inset-*) is 0 outside notched devices. */
|
|
282
|
+
.muka-documentviewer--fullscreen {
|
|
283
|
+
height: 100dvh;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.muka-documentviewer--fullscreen .muka-documentviewer__toolbar {
|
|
287
|
+
box-sizing: border-box;
|
|
288
|
+
height: calc(var(--documentviewer-toolbar-height) + env(safe-area-inset-top, 0px));
|
|
289
|
+
padding-top: calc(var(--documentviewer-toolbar-padding-y) + env(safe-area-inset-top, 0px));
|
|
290
|
+
padding-left: max(var(--documentviewer-toolbar-padding-x), env(safe-area-inset-left, 0px));
|
|
291
|
+
padding-right: max(var(--documentviewer-toolbar-padding-x), env(safe-area-inset-right, 0px));
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.muka-documentviewer--fullscreen .muka-documentviewer__content {
|
|
295
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
296
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
297
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
298
|
+
}
|
|
@@ -140,3 +140,46 @@
|
|
|
140
140
|
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
141
141
|
flex-shrink: 0;
|
|
142
142
|
}
|
|
143
|
+
|
|
144
|
+
/* ─── Safe areas (notch, status bar, home indicator) ────
|
|
145
|
+
env(safe-area-inset-*) is 0 outside notched devices, so these only change
|
|
146
|
+
an app running edge to edge (viewport-fit=cover, e.g. an iOS shell). */
|
|
147
|
+
|
|
148
|
+
/* Top edge. Side, top and full-height drawers reach the status bar: their
|
|
149
|
+
TopBar pads for it; without a header the surface does. A bottom drawer
|
|
150
|
+
stops short of it, so its TopBar must not. */
|
|
151
|
+
.muka-drawer--right .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
152
|
+
.muka-drawer--left .muka-drawer__surface:not(:has(> .muka-topbar)),
|
|
153
|
+
.muka-drawer--top .muka-drawer__surface:not(:has(> .muka-topbar)) {
|
|
154
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.muka-drawer--bottom:not(.muka-drawer--full) .muka-topbar {
|
|
158
|
+
padding-top: 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Bottom edge. Side and bottom drawers reach the home indicator: the footer
|
|
162
|
+
pads for it, or the surface when there is no footer. */
|
|
163
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__footer {
|
|
164
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.muka-drawer:not(.muka-drawer--top) .muka-drawer__surface:not(:has(> .muka-drawer__footer)) {
|
|
168
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Sides (landscape notch): the edge the drawer is attached to. The TopBar
|
|
172
|
+
already insets its own content. */
|
|
173
|
+
@media (max-width: 1023px) {
|
|
174
|
+
.muka-drawer--left .muka-drawer__body,
|
|
175
|
+
.muka-drawer--top .muka-drawer__body,
|
|
176
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
177
|
+
padding-left: max(var(--drawer-padding-x), env(safe-area-inset-left, 0px));
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.muka-drawer--right .muka-drawer__body,
|
|
181
|
+
.muka-drawer--top .muka-drawer__body,
|
|
182
|
+
.muka-drawer--bottom .muka-drawer__body {
|
|
183
|
+
padding-right: max(var(--drawer-padding-x), env(safe-area-inset-right, 0px));
|
|
184
|
+
}
|
|
185
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* Page Component Styles */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
5
|
+
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
6
|
+
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
7
|
+
*
|
|
8
|
+
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
9
|
+
* header and its status-bar scrim match the page without configuration.
|
|
10
|
+
*/
|
|
11
|
+
.muka-page {
|
|
12
|
+
--muka-page-background: var(--color-surface-level3);
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
min-height: 100vh;
|
|
16
|
+
min-height: 100dvh;
|
|
17
|
+
background-color: var(--muka-page-background);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.muka-page--surface-2 {
|
|
21
|
+
--muka-page-background: var(--color-surface-level2);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
25
|
+
:root:has(.muka-page--surface-2) body {
|
|
26
|
+
background-color: var(--color-surface-level2);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.muka-page__main {
|
|
30
|
+
flex: 1 0 auto;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
/* Landscape: clear the notch. */
|
|
34
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
35
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.muka-page__footer {
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
41
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
42
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
46
|
+
.muka-page__footer--surface-2 {
|
|
47
|
+
background-color: var(--color-surface-level2);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.muka-page__footer--surface-3 {
|
|
51
|
+
background-color: var(--color-surface-level3);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Without a footer, the content is last and clears the home indicator. */
|
|
55
|
+
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
56
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
57
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Page = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
require("./Page.css");
|
|
6
|
+
/**
|
|
7
|
+
* Page
|
|
8
|
+
*
|
|
9
|
+
* Shell for a page that scrolls the document instead of a `View`: a marketing
|
|
10
|
+
* page, sign-in or sign-up, a legal page. It fills the screen, owns the page
|
|
11
|
+
* background, and keeps the content clear of the home indicator and a
|
|
12
|
+
* landscape notch, so the same page is right in a browser and in an iOS or
|
|
13
|
+
* Android app shell without extra CSS. Pair it with a `SiteHeader`, which
|
|
14
|
+
* handles the status bar.
|
|
15
|
+
*
|
|
16
|
+
* App screens use `View` (inside `AppShell`) instead; it scrolls its own body.
|
|
17
|
+
*/
|
|
18
|
+
const Page = ({ header, children, footer, surface = 'level3', footerSurface, className, ...props }) => {
|
|
19
|
+
const classes = [
|
|
20
|
+
'muka-page',
|
|
21
|
+
surface === 'level2' && 'muka-page--surface-2',
|
|
22
|
+
className,
|
|
23
|
+
].filter(Boolean).join(' ');
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: classes, ...props, children: [header, (0, jsx_runtime_1.jsx)("main", { className: "muka-page__main", children: children }), footer && ((0, jsx_runtime_1.jsx)("div", { className: [
|
|
25
|
+
'muka-page__footer',
|
|
26
|
+
footerSurface && `muka-page__footer--surface-${footerSurface === 'level2' ? 2 : 3}`,
|
|
27
|
+
].filter(Boolean).join(' '), children: footer }))] }));
|
|
28
|
+
};
|
|
29
|
+
exports.Page = Page;
|
|
30
|
+
exports.default = exports.Page;
|
|
31
|
+
//# sourceMappingURL=Page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Page.js","sourceRoot":"","sources":["../../../../components/Page/Page.tsx"],"names":[],"mappings":";;;;AACA,sBAAoB;AA4BpB;;;;;;;;;;;GAWG;AACI,MAAM,IAAI,GAAwB,CAAC,EACxC,MAAM,EACN,QAAQ,EACR,MAAM,EACN,OAAO,GAAG,QAAQ,EAClB,aAAa,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,OAAO,GAAG;QACd,WAAW;QACX,OAAO,KAAK,QAAQ,IAAI,sBAAsB;QAC9C,SAAS;KACV,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE5B,OAAO,CACL,iCAAK,SAAS,EAAE,OAAO,KAAM,KAAK,aAC/B,MAAM,EACP,iCAAM,SAAS,EAAC,iBAAiB,YAAE,QAAQ,GAAQ,EAClD,MAAM,IAAI,CACT,gCACE,SAAS,EAAE;oBACT,mBAAmB;oBACnB,aAAa,IAAI,8BAA8B,aAAa,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;iBACpF,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,YAE1B,MAAM,GACH,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AA/BW,QAAA,IAAI,QA+Bf;AAEF,kBAAe,YAAI,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Page = void 0;
|
|
4
|
+
var Page_1 = require("./Page");
|
|
5
|
+
Object.defineProperty(exports, "Page", { enumerable: true, get: function () { return Page_1.Page; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../components/Page/index.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;AAArB,4FAAA,IAAI,OAAA"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/* SiteHeader Component Styles */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5
|
+
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
6
|
+
* Page's `--muka-page-background`, and the base surface.
|
|
7
|
+
*
|
|
8
|
+
* Safe areas: env(safe-area-inset-*) is 0 outside notched devices. In an app
|
|
9
|
+
* running edge to edge, the header extends behind the status bar in its own
|
|
10
|
+
* colour and keeps its content clear of a landscape notch.
|
|
11
|
+
*/
|
|
12
|
+
.muka-site-header {
|
|
13
|
+
width: 100%;
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
background-color: var(--muka-site-header-background, var(--muka-page-background, var(--color-surface-level3)));
|
|
16
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.muka-site-header--sticky {
|
|
20
|
+
position: sticky;
|
|
21
|
+
top: 0;
|
|
22
|
+
z-index: 30;
|
|
23
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* A header that scrolls away would leave the status bar over the content. A
|
|
28
|
+
* fixed strip in the header's colour stays behind the status bar instead.
|
|
29
|
+
* Below Muka's overlays, so a dialog's backdrop dims it with the page.
|
|
30
|
+
*/
|
|
31
|
+
.muka-site-header:not(.muka-site-header--sticky)::before {
|
|
32
|
+
content: '';
|
|
33
|
+
position: fixed;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
height: env(safe-area-inset-top, 0px);
|
|
38
|
+
background-color: inherit;
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
z-index: 30;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.muka-site-header__inner {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
gap: var(--spacing-2);
|
|
47
|
+
width: 100%;
|
|
48
|
+
max-width: var(--container-max-width-xl);
|
|
49
|
+
margin: 0 auto;
|
|
50
|
+
padding-block: var(--spacing-6);
|
|
51
|
+
padding-left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
52
|
+
padding-right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.muka-site-header__brand {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
flex-shrink: 0;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.muka-site-header__nav {
|
|
63
|
+
display: none;
|
|
64
|
+
align-items: center;
|
|
65
|
+
gap: var(--spacing-1);
|
|
66
|
+
min-width: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.muka-site-header__actions {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
margin-left: auto;
|
|
73
|
+
min-width: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.muka-site-header__action-group {
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
gap: var(--spacing-2);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Small screens: the compact set replaces the full one. */
|
|
83
|
+
.muka-site-header__action-group--wide {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (min-width: 768px) {
|
|
88
|
+
.muka-site-header__inner {
|
|
89
|
+
gap: var(--spacing-4);
|
|
90
|
+
padding-block: var(--spacing-8);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.muka-site-header__nav {
|
|
94
|
+
display: flex;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.muka-site-header__action-group--wide {
|
|
98
|
+
display: flex;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.muka-site-header__action-group--compact {
|
|
102
|
+
display: none;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SiteHeader = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
require("./SiteHeader.css");
|
|
6
|
+
/**
|
|
7
|
+
* SiteHeader
|
|
8
|
+
*
|
|
9
|
+
* Header for document-scrolling pages: a marketing site, sign-in, legal pages.
|
|
10
|
+
* Use it in `Page`'s `header` slot. App screens use `TopBar` (via `View`).
|
|
11
|
+
*
|
|
12
|
+
* Works the same in a browser and in an iOS or Android app shell: the header
|
|
13
|
+
* extends behind the status bar in its own colour, and a header that scrolls
|
|
14
|
+
* away (`sticky={false}`) leaves a strip in that colour behind the status bar,
|
|
15
|
+
* so content never runs under the clock.
|
|
16
|
+
*
|
|
17
|
+
* Its colour is the page's (`Page` `surface`). Give it another one by setting
|
|
18
|
+
* `--muka-site-header-background` to a token, e.g.
|
|
19
|
+
* `style={{ '--muka-site-header-background': 'var(--color-surface-level2)' }}`.
|
|
20
|
+
*/
|
|
21
|
+
const SiteHeader = ({ brand, nav, navLabel, actions, compactActions, sticky = true, className, ...props }) => {
|
|
22
|
+
const classes = [
|
|
23
|
+
'muka-site-header',
|
|
24
|
+
sticky && 'muka-site-header--sticky',
|
|
25
|
+
className,
|
|
26
|
+
].filter(Boolean).join(' ');
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)("header", { className: classes, ...props, children: (0, jsx_runtime_1.jsxs)("div", { className: "muka-site-header__inner", children: [(0, jsx_runtime_1.jsx)("div", { className: "muka-site-header__brand", children: brand }), nav && ((0, jsx_runtime_1.jsx)("nav", { className: "muka-site-header__nav", "aria-label": navLabel, children: nav })), (actions || compactActions) && ((0, jsx_runtime_1.jsxs)("div", { className: "muka-site-header__actions", children: [actions && ((0, jsx_runtime_1.jsx)("div", { className: [
|
|
28
|
+
'muka-site-header__action-group',
|
|
29
|
+
compactActions && 'muka-site-header__action-group--wide',
|
|
30
|
+
].filter(Boolean).join(' '), children: actions })), compactActions && ((0, jsx_runtime_1.jsx)("div", { className: "muka-site-header__action-group muka-site-header__action-group--compact", children: compactActions }))] }))] }) }));
|
|
31
|
+
};
|
|
32
|
+
exports.SiteHeader = SiteHeader;
|
|
33
|
+
exports.default = exports.SiteHeader;
|
|
34
|
+
//# sourceMappingURL=SiteHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SiteHeader.js","sourceRoot":"","sources":["../../../../components/SiteHeader/SiteHeader.tsx"],"names":[],"mappings":";;;;AACA,4BAA0B;AA+B1B;;;;;;;;;;;;;;GAcG;AACI,MAAM,UAAU,GAA8B,CAAC,EACpD,KAAK,EACL,GAAG,EACH,QAAQ,EACR,OAAO,EACP,cAAc,EACd,MAAM,GAAG,IAAI,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,OAAO,GAAG;QACd,kBAAkB;QAClB,MAAM,IAAI,0BAA0B;QACpC,SAAS;KACV,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE5B,OAAO,CACL,mCAAQ,SAAS,EAAE,OAAO,KAAM,KAAK,YACnC,iCAAK,SAAS,EAAC,yBAAyB,aACtC,gCAAK,SAAS,EAAC,yBAAyB,YAAE,KAAK,GAAO,EAErD,GAAG,IAAI,CACN,gCAAK,SAAS,EAAC,uBAAuB,gBAAa,QAAQ,YACxD,GAAG,GACA,CACP,EAEA,CAAC,OAAO,IAAI,cAAc,CAAC,IAAI,CAC9B,iCAAK,SAAS,EAAC,2BAA2B,aACvC,OAAO,IAAI,CACV,gCACE,SAAS,EAAE;gCACT,gCAAgC;gCAChC,cAAc,IAAI,sCAAsC;6BACzD,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,YAE1B,OAAO,GACJ,CACP,EACA,cAAc,IAAI,CACjB,gCAAK,SAAS,EAAC,wEAAwE,YACpF,cAAc,GACX,CACP,IACG,CACP,IACG,GACC,CACV,CAAC;AACJ,CAAC,CAAC;AAjDW,QAAA,UAAU,cAiDrB;AAEF,kBAAe,kBAAU,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SiteHeader = void 0;
|
|
4
|
+
var SiteHeader_1 = require("./SiteHeader");
|
|
5
|
+
Object.defineProperty(exports, "SiteHeader", { enumerable: true, get: function () { return SiteHeader_1.SiteHeader; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../components/SiteHeader/index.ts"],"names":[],"mappings":";;;AAAA,2CAA0C;AAAjC,wGAAA,UAAU,OAAA"}
|
|
@@ -36,34 +36,36 @@
|
|
|
36
36
|
z-index: 9999;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
/* Offsets clear the status bar, home indicator and landscape notch on a device
|
|
40
|
+
that has them (env() is 0 elsewhere). */
|
|
39
41
|
.muka-toast--top-right {
|
|
40
|
-
top: var(--spacing-4);
|
|
41
|
-
right: var(--spacing-4);
|
|
42
|
+
top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
43
|
+
right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
.muka-toast--top-left {
|
|
45
|
-
top: var(--spacing-4);
|
|
46
|
-
left: var(--spacing-4);
|
|
47
|
+
top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
48
|
+
left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
.muka-toast--top-center {
|
|
50
|
-
top: var(--spacing-4);
|
|
52
|
+
top: calc(var(--spacing-4) + env(safe-area-inset-top, 0px));
|
|
51
53
|
left: 50%;
|
|
52
54
|
transform: translateX(-50%);
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
.muka-toast--bottom-right {
|
|
56
|
-
bottom: var(--spacing-4);
|
|
57
|
-
right: var(--spacing-4);
|
|
58
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
59
|
+
right: max(var(--spacing-4), env(safe-area-inset-right, 0px));
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
.muka-toast--bottom-left {
|
|
61
|
-
bottom: var(--spacing-4);
|
|
62
|
-
left: var(--spacing-4);
|
|
63
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
64
|
+
left: max(var(--spacing-4), env(safe-area-inset-left, 0px));
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
.muka-toast--bottom-center {
|
|
66
|
-
bottom: var(--spacing-4);
|
|
68
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
67
69
|
left: 50%;
|
|
68
70
|
transform: translateX(-50%);
|
|
69
71
|
}
|
|
@@ -66,6 +66,18 @@
|
|
|
66
66
|
/* Grow on short content so the sticky footer is pushed to the bottom rather
|
|
67
67
|
than floating mid-screen. */
|
|
68
68
|
flex: 1 0 auto;
|
|
69
|
+
/* Keep content clear of the notch in landscape (0 everywhere else). The
|
|
70
|
+
large tier below replaces this with its section padding. */
|
|
71
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
72
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Home indicator: the body pads for it only when nothing inside does. A
|
|
76
|
+
BottomBar pads itself, whether it sits in the footer slot or in the content
|
|
77
|
+
(a chat composer pinned under a message list), so the body must not do it
|
|
78
|
+
twice; doing so left a strip of body colour under the bar. */
|
|
79
|
+
.muka-view__body:not(:has(.muka-view__footer, .muka-bottombar:not(.muka-bottombar--no-safe-area))) {
|
|
80
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
69
81
|
}
|
|
70
82
|
|
|
71
83
|
@media (min-width: 1024px) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.TextLink = exports.PhotoUploader = exports.MediaViewer = exports.Thumbnail = exports.SocialSignInButton = exports.LicensePlateInput = exports.PullToRefresh = exports.SwipeActions = exports.Autocomplete = exports.Combobox = exports.ChatAttachmentChip = exports.TypingIndicator = exports.AgentTaskList = exports.DEFAULT_EMOJI = exports.EmojiPicker = exports.PhotoDraftStrip = exports.VOICE_PEAK_COUNT = exports.isVoiceRecordingSupported = exports.formatClock = exports.downsamplePeaks = exports.useVoiceRecorder = exports.VoiceMessage = exports.RecordingBar = exports.Waveform = exports.ChipSelectGroup = exports.ChatQuestionSeries = exports.ChatChoiceCard = exports.ChatQuestionCard = exports.ChatComposer = exports.ChatPhotoGrid = exports.ChatMessageList = exports.ChatMessageStack = exports.ChatMessage = exports.SearchInput = exports.ActionSheet = exports.FAB = exports.SpecRow = exports.SpecList = exports.Spinner = exports.Sheet = exports.AccordionContent = exports.AccordionTrigger = exports.AccordionItem = void 0;
|
|
3
|
+
exports.AvatarGroup = exports.Avatar = exports.BadgeNumber = exports.Badge = exports.Container = exports.Section = exports.NavigationTransition = exports.SiteHeader = exports.Page = exports.AppShell = exports.View = exports.DIRECT_MANIPULATION_ATTR = exports.DiscardConfirmationProvider = exports.useOverlayDismiss = exports.DismissButton = exports.Dialog = exports.BottomBarTab = exports.BottomBar = exports.ControlBar = exports.TopBar = exports.ProgressAccordeon = exports.ProgressTracker = exports.EmptyState = exports.Toast = exports.Alert = exports.RadioTile = exports.CheckboxTile = exports.Toggle = exports.Checkbox = exports.Radio = exports.TabPanel = exports.Tab = exports.TabList = exports.Tabs = exports.DropdownSelect = exports.Select = exports.Divider = exports.Chip = exports.listRegisteredIcons = exports.registerIcon = exports.Icon = exports.Label = exports.Card = exports.InputCounter = exports.NumberInput = exports.useForm = exports.Form = exports.Input = exports.ListItem = exports.Button = void 0;
|
|
4
|
+
exports.PopoverTrigger = exports.PopoverRoot = exports.PopoverContent = exports.Popover = exports.Tooltip = exports.Drawer = exports.Pagination = exports.Breadcrumb = exports.Skeleton = exports.Textarea = exports.Scrollbar = exports.useMenuSearch = exports.highlightMenuMatch = exports.MenuSubContent = exports.MenuSubTrigger = exports.MenuSub = exports.MenuRadioItem = exports.MenuRadioGroup = exports.MenuCheckboxItem = exports.MenuGroup = exports.MenuSeparator = exports.MenuItem = exports.MenuSearch = exports.MenuContent = exports.MenuTrigger = exports.DropdownMenu = exports.Menu = exports.FileUploadItem = exports.FileUpload = exports.SmsOtpField = exports.DocumentViewer = exports.Tile = exports.PriceTag = exports.SegmentGroup = exports.DatePicker = exports.DataTable = exports.useTableSelection = exports.TablePagination = exports.TableHeaderCell = exports.TableCell = exports.TableRow = exports.TableBody = exports.TableHead = exports.Table = exports.RangeSlider = exports.PlanningGantt = exports.DataPieChart = exports.PieChart = exports.Progress = exports.ProfileBadge = void 0;
|
|
5
|
+
exports.TextLink = exports.PhotoUploader = exports.MediaViewer = exports.Thumbnail = exports.SocialSignInButton = exports.LicensePlateInput = exports.PullToRefresh = exports.SwipeActions = exports.Autocomplete = exports.Combobox = exports.ChatAttachmentChip = exports.TypingIndicator = exports.AgentTaskList = exports.DEFAULT_EMOJI = exports.EmojiPicker = exports.PhotoDraftStrip = exports.VOICE_PEAK_COUNT = exports.isVoiceRecordingSupported = exports.formatClock = exports.downsamplePeaks = exports.useVoiceRecorder = exports.VoiceMessage = exports.RecordingBar = exports.Waveform = exports.ChipSelectGroup = exports.ChatQuestionSeries = exports.ChatChoiceCard = exports.ChatQuestionCard = exports.ChatComposer = exports.ChatPhotoGrid = exports.ChatMessageList = exports.ChatMessageStack = exports.ChatMessage = exports.SearchInput = exports.ActionSheet = exports.FAB = exports.SpecRow = exports.SpecList = exports.Spinner = exports.Sheet = exports.AccordionContent = exports.AccordionTrigger = exports.AccordionItem = exports.Accordion = exports.PopoverClose = void 0;
|
|
6
6
|
// Muka Design System Components
|
|
7
7
|
var Button_1 = require("./Button");
|
|
8
8
|
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
@@ -74,6 +74,10 @@ var View_1 = require("./View");
|
|
|
74
74
|
Object.defineProperty(exports, "View", { enumerable: true, get: function () { return View_1.View; } });
|
|
75
75
|
var AppShell_1 = require("./AppShell");
|
|
76
76
|
Object.defineProperty(exports, "AppShell", { enumerable: true, get: function () { return AppShell_1.AppShell; } });
|
|
77
|
+
var Page_1 = require("./Page");
|
|
78
|
+
Object.defineProperty(exports, "Page", { enumerable: true, get: function () { return Page_1.Page; } });
|
|
79
|
+
var SiteHeader_1 = require("./SiteHeader");
|
|
80
|
+
Object.defineProperty(exports, "SiteHeader", { enumerable: true, get: function () { return SiteHeader_1.SiteHeader; } });
|
|
77
81
|
var NavigationTransition_1 = require("./NavigationTransition");
|
|
78
82
|
Object.defineProperty(exports, "NavigationTransition", { enumerable: true, get: function () { return NavigationTransition_1.NavigationTransition; } });
|
|
79
83
|
var Section_1 = require("./Section");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/index.ts"],"names":[],"mappings":";;;;;AAAA,gCAAgC;AAChC,mCAAo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