@sharadox/sharadox-web-library 0.49.0 → 0.50.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAUrG;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,oBAAoB,+BAwFrE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAUrG;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,oBAAoB,+BA2FrE"}
@@ -39,6 +39,6 @@ export function Navigation({ locale, path = "" }) {
39
39
  name: translate(section, locale),
40
40
  }));
41
41
  const contact = `${home}#${SECTION.contact.id}`;
42
- return (_jsxs(_Fragment, { children: [_jsx("header", { className: classNames(styles.navigation, (scrolled || menu.open) && styles.scrolled), ...menu.closer, children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": translate(NAVIGATION.main, locale), children: links.map((link) => (_jsx(SectionLink, { href: link.href, children: link.name }, link.href))) }), _jsxs("div", { className: styles.end, children: [_jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsx(LanguageSwitch, { locale: locale, path: path }), _jsx(Button, { href: contact, size: "small", className: styles.callToAction, children: translate(ACTION.startProject, locale) }), _jsxs("button", { type: "button", className: styles.toggle, ...menu.toggle, "aria-label": translate(menu.open ? NAVIGATION.close : NAVIGATION.menu, locale), children: [_jsx("span", {}), _jsx("span", {})] })] })] }) }), _jsx(AnimatePresence, { children: menu.open && (_jsxs(motion.nav, { id: "menu", "data-lenis-prevent": true, className: styles.menu, "aria-label": translate(NAVIGATION.main, locale), ...menu.closer, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { duration: 0.35 }, children: [links.map((link, index) => (_jsxs(MotionSectionLink, { href: link.href, initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, delay: 0.06 + index * 0.05, ease: EASE }, children: [_jsx("span", { className: "monospace", children: String(index + 1).padStart(2, "0") }), link.name] }, link.href))), _jsxs(motion.div, { className: styles.menuAction, initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, delay: 0.06 + links.length * 0.05, ease: EASE }, children: [_jsx(Button, { href: contact, arrow: true, children: translate(ACTION.startProject, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.menuStyle })] })] })) })] }));
42
+ return (_jsxs(_Fragment, { children: [_jsx("header", { className: classNames(styles.navigation, scrolled && styles.scrolled, menu.open && styles.open), ...menu.closer, children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": translate(NAVIGATION.main, locale), children: links.map((link) => (_jsx(SectionLink, { href: link.href, children: link.name }, link.href))) }), _jsxs("div", { className: styles.end, children: [_jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsx(LanguageSwitch, { locale: locale, path: path }), _jsx(Button, { href: contact, size: "small", className: styles.callToAction, children: translate(ACTION.startProject, locale) }), _jsxs("button", { type: "button", className: styles.toggle, ...menu.toggle, "aria-label": translate(menu.open ? NAVIGATION.close : NAVIGATION.menu, locale), children: [_jsx("span", {}), _jsx("span", {})] })] })] }) }), _jsx(AnimatePresence, { children: menu.open && (_jsxs(motion.nav, { id: "menu", "data-lenis-prevent": true, className: styles.menu, "aria-label": translate(NAVIGATION.main, locale), ...menu.closer, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { duration: 0.35 }, children: [links.map((link, index) => (_jsxs(MotionSectionLink, { href: link.href, initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, delay: 0.06 + index * 0.05, ease: EASE }, children: [_jsx("span", { className: "monospace", children: String(index + 1).padStart(2, "0") }), link.name] }, link.href))), _jsxs(motion.div, { className: styles.menuAction, initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, delay: 0.06 + links.length * 0.05, ease: EASE }, children: [_jsx(Button, { href: contact, arrow: true, children: translate(ACTION.startProject, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.menuStyle })] })] })) })] }));
43
43
  }
44
44
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACv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AAE,aAE5E,KAAC,MAAM,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,kBACzB,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAChC,EAET,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,GAAI,IACjD,IACF,CACd,GACe,IACjB,CACJ,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .navigation{text-align:left;position:fixed;z-index:50;inset:0 0 auto;border-bottom:1px solid rgba(0,0,0,0);transition:background .4s,border-color .4s,backdrop-filter .4s}.scrolled{background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);border-color:var(--line)}.inner{width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;height:64px;padding:0 var(--padding);display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width: 520px){.inner{padding:0 12px}}.links{display:flex;gap:28px;margin:0 auto 0 28px;font-size:14px;color:var(--foreground-2)}.links a{position:relative;transition:color .2s}.links a::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:1px;background:var(--foreground);transform:scaleX(0);transform-origin:right;transition:transform .4s cubic-bezier(0.22, 1, 0.36, 1)}.links a:hover{color:var(--foreground)}.links a:hover::after{transform:scaleX(1);transform-origin:left}@media(max-width: 1200px){.links{display:none}}.end{margin-left:auto;display:flex;align-items:center;gap:10px}@media(max-width: 520px){.end{gap:6px}.end .callToAction{display:none}}.toggle{align-items:stretch;display:none;flex-direction:column;justify-content:center;gap:6px;width:36px;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:none;cursor:pointer}.toggle span{height:1.4px;background:var(--foreground);transition:transform .45s cubic-bezier(0.22, 1, 0.36, 1)}.toggle[aria-expanded=true] span:first-child{transform:translateY(3.7px) rotate(45deg)}.toggle[aria-expanded=true] span:last-child{transform:translateY(-3.7px) rotate(-45deg)}@media(max-width: 1200px){.toggle{display:flex}}.menu{text-align:left;align-items:stretch;position:fixed;inset:65px 0 0;z-index:49;overflow-y:auto;overscroll-behavior:contain;background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);display:flex;flex-direction:column;padding:16px max(var(--gutter),20px) calc(28px + env(safe-area-inset-bottom))}.menu>:first-child{margin-top:auto}.menu>:last-child{margin-bottom:auto}.menu>a{justify-content:flex-start;display:flex;align-items:baseline;gap:14px;padding:12px 0;border-bottom:1px dashed var(--line-2);font-size:clamp(1.5rem,min(7vw,6.5svh),2.6rem);font-weight:500;letter-spacing:-0.04em;line-height:1.1;color:var(--foreground)}.menu>a span{font-size:11.5px;letter-spacing:.05em;color:var(--foreground-3)}@media(min-width: 1201px){.menu{display:none}}.menuAction{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}.menuStyle{display:none !important}@media(max-width: 400px){.menuStyle{display:flex !important}}@media(max-width: 400px){.style{display:none !important}}
1
+ .navigation{text-align:left;position:fixed;z-index:50;inset:0 0 auto;border-bottom:1px solid rgba(0,0,0,0);transition:background .4s,border-color .4s,backdrop-filter .4s}.scrolled{background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);border-color:var(--line)}.open{background:rgba(0,0,0,0);backdrop-filter:none;border-color:rgba(0,0,0,0)}.inner{width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;height:64px;padding:0 var(--padding);display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width: 520px){.inner{padding:0 12px}}.links{display:flex;gap:28px;margin:0 auto 0 28px;font-size:14px;color:var(--foreground-2)}.links a{position:relative;transition:color .2s}.links a::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:1px;background:var(--foreground);transform:scaleX(0);transform-origin:right;transition:transform .4s cubic-bezier(0.22, 1, 0.36, 1)}.links a:hover{color:var(--foreground)}.links a:hover::after{transform:scaleX(1);transform-origin:left}@media(max-width: 1200px){.links{display:none}}.end{margin-left:auto;display:flex;align-items:center;gap:10px}@media(max-width: 520px){.end{gap:6px}.end .callToAction{display:none}}.toggle{align-items:stretch;display:none;flex-direction:column;justify-content:center;gap:6px;width:36px;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:none;cursor:pointer}.toggle span{height:1.4px;background:var(--foreground);transition:transform .45s cubic-bezier(0.22, 1, 0.36, 1)}.toggle[aria-expanded=true] span:first-child{transform:translateY(3.7px) rotate(45deg)}.toggle[aria-expanded=true] span:last-child{transform:translateY(-3.7px) rotate(-45deg)}@media(max-width: 1200px){.toggle{display:flex}}.menu{text-align:left;align-items:stretch;position:fixed;inset:0;z-index:49;overflow-y:auto;overscroll-behavior:contain;background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);display:flex;flex-direction:column;padding:81px max(var(--gutter),20px) calc(28px + env(safe-area-inset-bottom))}.menu>:first-child{margin-top:auto}.menu>:last-child{margin-bottom:auto}.menu>a{justify-content:flex-start;display:flex;align-items:baseline;gap:14px;padding:12px 0;border-bottom:1px dashed var(--line-2);font-size:clamp(1.5rem,min(7vw,6.5svh),2.6rem);font-weight:500;letter-spacing:-0.04em;line-height:1.1;color:var(--foreground)}.menu>a span{font-size:11.5px;letter-spacing:.05em;color:var(--foreground-3)}@media(min-width: 1201px){.menu{display:none}}.menuAction{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}.menuStyle{display:none !important}@media(max-width: 400px){.menuStyle{display:flex !important}}@media(max-width: 400px){.style{display:none !important}}
@@ -17,6 +17,13 @@
17
17
  backdrop-filter: blur(16px) saturate(1.6);
18
18
  border-color: var(--line);
19
19
  }
20
+ /* With the menu open, the bar sits on the menu's own frosted surface, which runs from the top of the screen: one
21
+ surface, no seam or line between them. */
22
+ .open {
23
+ background: transparent;
24
+ backdrop-filter: none;
25
+ border-color: transparent;
26
+ }
20
27
  .inner {
21
28
  width: min(100% - 2 * var(--gutter), var(--maximum-width));
22
29
  margin: 0 auto;
@@ -106,12 +113,12 @@
106
113
  display: flex;
107
114
  }
108
115
  }
109
- /* The bar's frosted background, under the bar, so the two read as one. */
116
+ /* The bar's frosted background, from the top of the screen under the bar, so the two are one surface. */
110
117
  .menu {
111
118
  text-align: left;
112
119
  align-items: stretch;
113
120
  position: fixed;
114
- inset: 65px 0 0;
121
+ inset: 0;
115
122
  z-index: 49;
116
123
  overflow-y: auto;
117
124
  overscroll-behavior: contain;
@@ -119,7 +126,7 @@
119
126
  backdrop-filter: blur(16px) saturate(1.6);
120
127
  display: flex;
121
128
  flex-direction: column;
122
- padding: 16px max(var(--gutter), 20px) calc(28px + env(safe-area-inset-bottom));
129
+ padding: calc(65px + 16px) max(var(--gutter), 20px) calc(28px + env(safe-area-inset-bottom));
123
130
  /* Centered when it fits; when it doesn't (a phone held sideways), it starts at the top and scrolls. */
124
131
  > :first-child {
125
132
  margin-top: auto;
@@ -1 +1 @@
1
- .page{display:grid;grid-template-columns:minmax(0, 1fr)}.intro{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);align-items:center;margin-top:64px}@media(max-width: 1000px){.intro{grid-template-columns:minmax(0, 1fr)}}.copy{display:grid;justify-content:stretch;gap:24px;padding:clamp(40px,6vw,88px) var(--padding);text-align:left}.copy h1{display:grid;gap:14px;font-size:clamp(2.4rem,5vw,4rem);line-height:1;text-wrap:balance}.client{font-size:15px;font-weight:500;letter-spacing:0;color:var(--foreground-2)}.story{color:var(--foreground-2);line-height:1.7;text-wrap:pretty}.details{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));margin:0;border-block:1px dashed var(--line-2)}.details>div{display:grid;justify-content:stretch;align-content:start;gap:4px;padding:14px 12px 14px 0}.details>div+div{padding-left:12px;border-left:1px dashed var(--line-2)}.details dt{font-family:var(--monospace);font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.details dd{margin:0;font-size:14px}.services{display:grid;justify-content:stretch;gap:10px}.services>span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.services ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0;padding:0;list-style:none}.services li{padding:6px 12px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:13px}.end{display:grid;justify-items:center;gap:28px;text-align:center}.end h2{max-width:22ch;text-wrap:balance}.actions{display:flex;flex-wrap:wrap;gap:12px}.lead{display:grid;justify-items:start;gap:18px;border-top:1px solid var(--line);text-align:left}.lead .leadText{max-width:52ch;font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:500;line-height:1.3;letter-spacing:-0.03em;text-wrap:pretty}
1
+ .page{display:grid;grid-template-columns:minmax(0, 1fr)}.intro{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);align-items:center;margin-top:64px}@media(max-width: 1000px){.intro{grid-template-columns:minmax(0, 1fr)}}.copy{display:grid;justify-content:stretch;gap:24px;padding:clamp(40px,6vw,88px) var(--padding);text-align:left}.copy h1{display:grid;gap:14px;font-size:clamp(2.4rem,5vw,4rem);line-height:1;text-wrap:balance}.client{font-size:15px;font-weight:500;letter-spacing:0;color:var(--foreground-2)}.story{color:var(--foreground-2);line-height:1.7;text-wrap:pretty}.details{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));margin:0;border-block:1px dashed var(--line-2)}.details>div{display:grid;justify-content:stretch;align-content:start;gap:4px;padding:14px 12px 14px 0}.details>div+div{padding-left:12px;border-left:1px dashed var(--line-2)}.details dt{font-family:var(--monospace);font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.details dd{margin:0;font-size:14px}.services{display:grid;justify-content:stretch;gap:10px}.services>span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.services ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0;padding:0;list-style:none}.services li{padding:6px 12px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:13px}.end{display:grid;justify-items:center;gap:28px;text-align:center}.end h2{max-width:22ch;text-wrap:balance}.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.lead{display:grid;justify-items:start;gap:18px;border-top:1px solid var(--line);text-align:left}.lead .leadText{max-width:52ch;font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:500;line-height:1.3;letter-spacing:-0.03em;text-wrap:pretty}
@@ -108,9 +108,11 @@
108
108
  text-wrap: balance;
109
109
  }
110
110
  }
111
+ /* Centered under the title, also when they wrap onto two lines on phones. */
111
112
  .actions {
112
113
  display: flex;
113
114
  flex-wrap: wrap;
115
+ justify-content: center;
114
116
  gap: 12px;
115
117
  }
116
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/sharadox-web-library",
3
- "version": "0.49.0",
3
+ "version": "0.50.0",
4
4
  "description": "Sharadox's own website building blocks: content, components, brand and actions for sharadox-web-application, plus the preview notice and agency credit used on client demos.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENCA.md",