@sharadox/sharadox-web-library 0.25.0 → 0.27.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.
- package/README.md +1 -1
- package/distribution/component/service-object/brand-awareness/index.d.ts +5 -1
- package/distribution/component/service-object/brand-awareness/index.d.ts.map +1 -1
- package/distribution/component/service-object/brand-awareness/index.js +25 -3
- package/distribution/component/service-object/brand-awareness/index.js.map +1 -1
- package/distribution/component/service-object/brand-awareness/index.module.css +1 -1
- package/distribution/component/service-object/brand-awareness/index.module.scss +147 -68
- package/distribution/component/service-object/branding/index.d.ts +4 -1
- package/distribution/component/service-object/branding/index.d.ts.map +1 -1
- package/distribution/component/service-object/branding/index.js +7 -3
- package/distribution/component/service-object/branding/index.js.map +1 -1
- package/distribution/component/service-object/branding/index.module.css +1 -1
- package/distribution/component/service-object/branding/index.module.scss +109 -42
- package/distribution/component/service-object/branding-design/index.d.ts +4 -1
- package/distribution/component/service-object/branding-design/index.d.ts.map +1 -1
- package/distribution/component/service-object/branding-design/index.js +36 -2
- package/distribution/component/service-object/branding-design/index.js.map +1 -1
- package/distribution/component/service-object/branding-design/index.module.css +1 -1
- package/distribution/component/service-object/branding-design/index.module.scss +64 -47
- package/distribution/component/service-object/index.js +4 -4
- package/distribution/component/service-object/index.js.map +1 -1
- package/distribution/component/service-object/mark/index.d.ts +10 -0
- package/distribution/component/service-object/mark/index.d.ts.map +1 -0
- package/distribution/component/service-object/mark/index.js +14 -0
- package/distribution/component/service-object/mark/index.js.map +1 -0
- package/distribution/component/service-object/mark/index.module.css +1 -0
- package/distribution/component/service-object/mark/index.module.scss +23 -0
- package/distribution/component/service-object/mark/type.d.ts +5 -0
- package/distribution/component/service-object/mark/type.d.ts.map +1 -0
- package/distribution/component/service-object/mark/type.js +2 -0
- package/distribution/component/service-object/mark/type.js.map +1 -0
- package/distribution/component/service-object/merchandise/index.d.ts +6 -0
- package/distribution/component/service-object/merchandise/index.d.ts.map +1 -0
- package/distribution/component/service-object/merchandise/index.js +13 -0
- package/distribution/component/service-object/merchandise/index.js.map +1 -0
- package/distribution/component/service-object/merchandise/index.module.css +1 -0
- package/distribution/component/service-object/merchandise/index.module.scss +91 -0
- package/distribution/component/service-object/person/index.d.ts +10 -0
- package/distribution/component/service-object/person/index.d.ts.map +1 -0
- package/distribution/component/service-object/person/index.js +14 -0
- package/distribution/component/service-object/person/index.js.map +1 -0
- package/distribution/component/service-object/person/index.module.css +1 -0
- package/distribution/component/service-object/person/index.module.scss +38 -0
- package/distribution/component/service-object/person/type.d.ts +5 -0
- package/distribution/component/service-object/person/type.d.ts.map +1 -0
- package/distribution/component/service-object/person/type.js +2 -0
- package/distribution/component/service-object/person/type.js.map +1 -0
- package/distribution/component/service-object/platform/index.d.ts +5 -1
- package/distribution/component/service-object/platform/index.d.ts.map +1 -1
- package/distribution/component/service-object/platform/index.js +36 -3
- package/distribution/component/service-object/platform/index.js.map +1 -1
- package/distribution/component/service-object/platform/index.module.css +1 -1
- package/distribution/component/service-object/platform/index.module.scss +139 -35
- package/distribution/component/service-object/product-launch/index.d.ts +5 -1
- package/distribution/component/service-object/product-launch/index.d.ts.map +1 -1
- package/distribution/component/service-object/product-launch/index.js +10 -2
- package/distribution/component/service-object/product-launch/index.js.map +1 -1
- package/distribution/component/service-object/product-launch/index.module.css +1 -1
- package/distribution/component/service-object/product-launch/index.module.scss +145 -74
- package/distribution/component/service-object/professional-email/index.d.ts +6 -0
- package/distribution/component/service-object/professional-email/index.d.ts.map +1 -0
- package/distribution/component/service-object/professional-email/index.js +12 -0
- package/distribution/component/service-object/professional-email/index.js.map +1 -0
- package/distribution/component/service-object/professional-email/index.module.css +1 -0
- package/distribution/component/service-object/professional-email/index.module.scss +153 -0
- package/distribution/component/service-object/rebranding/index.d.ts +4 -1
- package/distribution/component/service-object/rebranding/index.d.ts.map +1 -1
- package/distribution/component/service-object/rebranding/index.js +5 -3
- package/distribution/component/service-object/rebranding/index.js.map +1 -1
- package/distribution/component/service-object/rebranding/index.module.css +1 -1
- package/distribution/component/service-object/rebranding/index.module.scss +88 -44
- package/distribution/component/services/index.d.ts +1 -2
- package/distribution/component/services/index.d.ts.map +1 -1
- package/distribution/component/services/index.js +1 -2
- package/distribution/component/services/index.js.map +1 -1
- package/distribution/component/structured-data/index.d.ts.map +1 -1
- package/distribution/component/structured-data/index.js +3 -2
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +28 -28
- package/distribution/content/services/index.d.ts +67 -67
- package/distribution/content/services/index.js +49 -49
- package/distribution/content/services/index.js.map +1 -1
- package/distribution/content/site/index.d.ts.map +1 -1
- package/distribution/content/site/index.js +8 -6
- package/distribution/content/site/index.js.map +1 -1
- package/llms.txt +3 -1
- package/package.json +2 -2
- package/distribution/component/service-object/application-programming-interface/index.d.ts +0 -6
- package/distribution/component/service-object/application-programming-interface/index.d.ts.map +0 -1
- package/distribution/component/service-object/application-programming-interface/index.js +0 -11
- package/distribution/component/service-object/application-programming-interface/index.js.map +0 -1
- package/distribution/component/service-object/application-programming-interface/index.module.css +0 -1
- package/distribution/component/service-object/application-programming-interface/index.module.scss +0 -154
- package/distribution/component/service-object/content-management-system/index.d.ts +0 -6
- package/distribution/component/service-object/content-management-system/index.d.ts.map +0 -1
- package/distribution/component/service-object/content-management-system/index.js +0 -10
- package/distribution/component/service-object/content-management-system/index.js.map +0 -1
- package/distribution/component/service-object/content-management-system/index.module.css +0 -1
- package/distribution/component/service-object/content-management-system/index.module.scss +0 -181
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,gEAAgE;AAChE,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,CAAC;AAE5B,sFAAsF;AACtF,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,sBAAsB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE;QACX,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,gEAAgE;AAChE,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,CAAC;AAE5B,sFAAsF;AACtF,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,sBAAsB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE;QACX,EAAE,EAAE,6OAA6O;QACjP,EAAE,EAAE,kQAAkQ;KAClP;IACtB,QAAQ,EAAE;QACR,EAAE,EAAE;YACF,cAAc;YACd,UAAU;YACV,cAAc;YACd,UAAU;YACV,kBAAkB;YAClB,WAAW;YACX,sBAAsB;YACtB,YAAY;YACZ,oBAAoB;YACpB,cAAc;YACd,aAAa;YACb,uBAAuB;YACvB,iBAAiB;YACjB,WAAW;YACX,SAAS;YACT,UAAU;SACX;QACD,EAAE,EAAE;YACF,kBAAkB;YAClB,UAAU;YACV,iBAAiB;YACjB,UAAU;YACV,gBAAgB;YAChB,aAAa;YACb,6BAA6B;YAC7B,YAAY;YACZ,oBAAoB;YACpB,qBAAqB;YACrB,eAAe;YACf,6BAA6B;YAC7B,kBAAkB;YAClB,WAAW;YACX,SAAS;YACT,UAAU;SACX;KACF;CACF,CAAC"}
|
package/llms.txt
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
- component/not-found NotFound({ locale, path }) the 404 screen (giant 404 with the live globe as the zero, failed request line, way home); content/not-found NOT_FOUND; ServiceIndex takes base? ("/<locale>" off the home page)
|
|
14
14
|
- content/slogan SLOGAN (with full stop) and SLOGAN_LINES; content/section SECTION { home, services, touchpoints, capabilities, process, contact } with id + names; content/action ACTION.startProject; content/language LANGUAGE { label, names }. SITE.slogan, HERO.lines, HERO.primary, NAVIGATION.<name>, FOOTER.services/language, CAPABILITY.eyebrow and CONTACT.eyebrow were removed in 0.10.0 in favor of these.
|
|
15
15
|
- Language switch (internationalization-web-library 0.2): entrances skip on soft navigation (hero/not-found Motion initial, Sass mixin skip-entrance($durations...) for CSS entrances); site must render <LocaleTransitionStyle /> in <head>
|
|
16
|
-
- Service cards: SERVICES.items (groups web-application, mobile-application, creative, marketing; anchors) each with cards [{ key, title, text, action, chip }]; a card's key is its contact choice and its 3D object; ServiceCard's button links to #contact and calls requestContactNeeds([key]) (utility/contact-need, window event CONTACT_NEED_EVENT); ContactForm ticks the chip with a glow. CONTACT.needs.groups (chips grouped like the services) + other, and options (flat). Choices: website, platform, e-commerce,
|
|
16
|
+
- Service cards: SERVICES.items (groups web-application, mobile-application, creative, marketing; anchors; titled Web, Desktop & Mobile, Creative, Marketing) each with cards [{ key, title, text, action, chip }]; a card's key is its contact choice and its 3D object; ServiceCard's button links to #contact and calls requestContactNeeds([key]) (utility/contact-need, window event CONTACT_NEED_EVENT); ContactForm ticks the chip with a glow. CONTACT.needs.groups (chips grouped like the services) + other, and options (flat). Choices: website, platform, e-commerce, professional-email, progressive-web-application, branding, rebranding, branding-design, print-design, merchandise, product-launch, lead-generation, sales-generation, brand-awareness, social-media-strategy, unsure, not-listed
|
|
17
17
|
- content/site FOUNDED 2026; the footer's copyright years come from CopyrightYears (@sharadox/time-web-library): "2026", then "2026–<current year>" as years pass
|
|
18
18
|
- utility/llms-text llmsText() → sharadox.com's llms.txt (shared shape from @sharadox/metadata-web-library). The cookie panel was removed in 0.14.0: the site stores only what it needs (language, style), which needs no consent.
|
|
19
19
|
- content/privacy PRIVACY (privacy-web-library options) and PRIVACY_PAGE { path "/privacy", title, eyebrow, description }; component/privacy-page PrivacyPage({ locale }); the footer links it
|
|
@@ -28,3 +28,5 @@
|
|
|
28
28
|
- 0.23.0: footer in four columns only: the legal links, the consumer dispute notice and the copyright sit under the brand (behind a dashed line, at the foot of the column), and Back to top under the style switch, level with the copyright; the separate legal row is gone
|
|
29
29
|
- 0.24.0: Merchandise removed from Creative Services (15 cards); internal links are Next.js links (SectionLink from scroll-web-library for sections, including the menu's animated ones, service index, section indicator, capabilities and footer; Link for the wordmark, license and privacy; Button picks for itself); email stays a plain <a>
|
|
30
30
|
- 0.25.0: Creative Services descriptions rewritten in plain words (branding, rebranding, branding design, print design); a group of two cards shares a row in halves and four make two rows of two, so no row is left half empty
|
|
31
|
+
- 0.26.0: Services renamed Web, Desktop & Mobile, Creative and Marketing. Web drops CMS and APIs and adds Professional Emails (object: an envelope opening behind an address that changes name, always @yourdomain.com); Platforms reads as your company's own system. Creative brings Merchandise back (designed by us, made by trusted partners) and every description is short, like the web ones; new objects: Branding (pieces of the brand settle on a board, then its mark rises), Rebranding (a divider sweeps the dated mark into the fresh one), Branding Design (a pointer drags a vector anchor and its handles, SVG with a still copy for reduced motion). Marketing cards are named campaigns (Product Launch, Lead Generation, Sales Generation, Brand Awareness Campaigns). "Didn't find the service you were looking for?"; 15 cards in all
|
|
32
|
+
- 0.27.0: New objects: Platforms (a company's people around one system, joined to it by lines; messages travel from person to person through it, its gear turning and its tasks ticking off; text: your company's way of working, made digital), Product Launch (a countdown over a covered product, then the cover lifts, the product rises into the light and sparks fly), Brand Awareness (a billboard, then word of mouth spreads the brand's mark through a crowd until everyone thinks of it together). Shared Person and Mark pieces (component/service-object/person, /mark); Branding uses Mark. animation-web-library ^0.2.3 (the marquee glides sideways). The 0.26.0 note above said 16 cards: there are 15
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.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",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"homepage": "https://github.com/Sharadox/sharadox-web-library#readme",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@sharadox/animation-web-library": "^0.2.
|
|
57
|
+
"@sharadox/animation-web-library": "^0.2.3",
|
|
58
58
|
"@sharadox/consent-web-library": "^0.3.0",
|
|
59
59
|
"@sharadox/form-web-library": "^0.3.0",
|
|
60
60
|
"@sharadox/globe-web-library": "^0.2.1",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* APIs: a database and an app talking through a gateway in between. Requests travel one way and answers come back
|
|
3
|
-
* the other, along the same line, without anyone in the middle.
|
|
4
|
-
*/
|
|
5
|
-
export declare function ApplicationProgrammingInterface(): import("react").JSX.Element;
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
package/distribution/component/service-object/application-programming-interface/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/application-programming-interface/index.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,+BAA+B,gCAuB9C"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
|
|
3
|
-
import styles from "./index.module.css";
|
|
4
|
-
/**
|
|
5
|
-
* APIs: a database and an app talking through a gateway in between. Requests travel one way and answers come back
|
|
6
|
-
* the other, along the same line, without anyone in the middle.
|
|
7
|
-
*/
|
|
8
|
-
export function ApplicationProgrammingInterface() {
|
|
9
|
-
return (_jsxs("div", { className: styles.object, children: [_jsx("div", { className: styles.database, children: Array.from({ length: 3 }, (_, disc) => (_jsx("span", { className: styles.disc, style: { transform: `translateY(${disc * 26 - 26}px)` }, children: Array.from({ length: 6 }, (_, layer) => (_jsx("i", { style: { transform: `rotateX(90deg) translateZ(${layer * 3 - 7.5}px)` } }, layer))) }, disc))) }), _jsx("span", { className: styles.line }), _jsx(Cuboid, { className: styles.gateway, front: _jsx("span", { className: styles.braces }) }), _jsxs("div", { className: styles.application, children: [_jsx("span", { className: styles.row }), _jsx("span", { className: styles.row }), _jsx("span", { className: styles.row })] }), _jsx("span", { className: `${styles.packet} ${styles.request}` }), _jsx("span", { className: `${styles.packet} ${styles.answer}` })] }));
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
package/distribution/component/service-object/application-programming-interface/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/application-programming-interface/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC;;;GAGG;AACH,MAAM,UAAU,+BAA+B;IAC7C,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC5B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CACtC,eAAiB,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,cAAc,IAAI,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,YAC7F,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACvC,YAAe,KAAK,EAAE,EAAE,SAAS,EAAE,6BAA6B,KAAK,GAAG,CAAC,GAAG,GAAG,KAAK,EAAE,IAA9E,KAAK,CAA6E,CAC3F,CAAC,IAHO,IAAI,CAIR,CACR,CAAC,GACE,EACN,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAChC,KAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,GAAI,EAChF,eAAK,SAAS,EAAE,MAAM,CAAC,WAAW,aAChC,eAAM,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,EAC/B,eAAM,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,EAC/B,eAAM,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,IAC3B,EACN,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE,GAAI,EACzD,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,GAAI,IACpD,CACP,CAAC;AACJ,CAAC"}
|
package/distribution/component/service-object/application-programming-interface/index.module.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:api-sway 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-18deg) rotateY(-20deg)}@keyframes api-sway{0%,100%{transform:rotateX(-18deg) rotateY(-24deg)}50%{transform:rotateX(-12deg) rotateY(14deg)}}.database{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translateX(-118px)}.disc{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d}.disc i{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;transform-style:preserve-3d;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 34%, transparent)}.disc i:first-child,.disc i:last-child{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 8%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 55%, transparent);border-radius:50%}.line{position:absolute;left:50%;top:50%;width:236px;height:0px;margin:-0px 0 0 -118px;transform-style:preserve-3d;border-top:1px dashed color-mix(in srgb, var(--foreground) 40%, transparent)}.gateway{--width: 50px;--height: 50px;--depth: 50px;--radius: 6px;--front-amount: 14%;--top-amount: 24%;--edge-amount: 72%}.braces{position:absolute;inset:13px 12px}.braces::before,.braces::after{content:"";position:absolute;top:0;bottom:0;width:7px;border:2px solid var(--foreground)}.braces::before{left:0;border-right:0;border-radius:6px 0 0 6px}.braces::after{right:0;border-left:0;border-radius:0 6px 6px 0}.application{position:absolute;left:50%;top:50%;width:74px;height:96px;margin:-48px 0 0 -37px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 4%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 48%, transparent);display:grid;align-content:start;gap:8px;padding:14px 10px;border-radius:8px;transform:translateX(118px) rotateY(-14deg)}.row{height:12px;border-radius:3px;background:color-mix(in srgb, var(--foreground) 14%, transparent);animation:api-row 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.row{animation:none}}.row:nth-child(2){animation-delay:.12s}.row:nth-child(3){animation-delay:.24s}@keyframes api-row{0%,86%,100%{background:color-mix(in srgb, var(--foreground) 14%, transparent)}92%{background:color-mix(in srgb, var(--foreground) 45%, transparent)}}.packet{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;transform-style:preserve-3d;border-radius:3px;opacity:0}.request{background:var(--foreground);animation:api-request 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.request{animation:none}}@keyframes api-request{0%{opacity:0;transform:translateX(84px)}8%,40%{opacity:1}48%,100%{opacity:0;transform:translateX(-84px)}}.answer{border:2px solid var(--foreground);animation:api-answer 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.answer{animation:none}}@keyframes api-answer{0%,44%{opacity:0;transform:translateX(-84px)}52%,84%{opacity:1}92%,100%{opacity:0;transform:translateX(84px)}}
|
package/distribution/component/service-object/application-programming-interface/index.module.scss
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
@use "style/token" as *;
|
|
2
|
-
@use "style/object" as *;
|
|
3
|
-
|
|
4
|
-
$period: 3.2s;
|
|
5
|
-
|
|
6
|
-
.object {
|
|
7
|
-
@include centered(0px, 0px);
|
|
8
|
-
@include loop(api-sway 10s ease-in-out infinite);
|
|
9
|
-
transform: rotateX(-18deg) rotateY(-20deg);
|
|
10
|
-
}
|
|
11
|
-
@keyframes api-sway {
|
|
12
|
-
0%,
|
|
13
|
-
100% {
|
|
14
|
-
transform: rotateX(-18deg) rotateY(-24deg);
|
|
15
|
-
}
|
|
16
|
-
50% {
|
|
17
|
-
transform: rotateX(-12deg) rotateY(14deg);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
/* A database: three stacked cylinders, each a few rings. */
|
|
21
|
-
.database {
|
|
22
|
-
@include centered(0px, 0px);
|
|
23
|
-
transform: translateX(-118px);
|
|
24
|
-
}
|
|
25
|
-
.disc {
|
|
26
|
-
@include centered(0px, 0px);
|
|
27
|
-
i {
|
|
28
|
-
@include centered(64px, 64px);
|
|
29
|
-
border-radius: 50%;
|
|
30
|
-
border: 1px solid tint(34%);
|
|
31
|
-
&:first-child,
|
|
32
|
-
&:last-child {
|
|
33
|
-
@include face(8%, 55%);
|
|
34
|
-
border-radius: 50%;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
/* The line every message travels along. */
|
|
39
|
-
.line {
|
|
40
|
-
@include centered(236px, 0px);
|
|
41
|
-
border-top: 1px dashed tint(40%);
|
|
42
|
-
}
|
|
43
|
-
/* The gateway: the API itself, with braces on its face. */
|
|
44
|
-
.gateway {
|
|
45
|
-
--width: 50px;
|
|
46
|
-
--height: 50px;
|
|
47
|
-
--depth: 50px;
|
|
48
|
-
--radius: 6px;
|
|
49
|
-
--front-amount: 14%;
|
|
50
|
-
--top-amount: 24%;
|
|
51
|
-
--edge-amount: 72%;
|
|
52
|
-
}
|
|
53
|
-
.braces {
|
|
54
|
-
position: absolute;
|
|
55
|
-
inset: 13px 12px;
|
|
56
|
-
&::before,
|
|
57
|
-
&::after {
|
|
58
|
-
content: "";
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
width: 7px;
|
|
63
|
-
border: 2px solid var(--foreground);
|
|
64
|
-
}
|
|
65
|
-
&::before {
|
|
66
|
-
left: 0;
|
|
67
|
-
border-right: 0;
|
|
68
|
-
border-radius: 6px 0 0 6px;
|
|
69
|
-
}
|
|
70
|
-
&::after {
|
|
71
|
-
right: 0;
|
|
72
|
-
border-left: 0;
|
|
73
|
-
border-radius: 0 6px 6px 0;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
/* An app window on the other side. */
|
|
77
|
-
.application {
|
|
78
|
-
@include centered(74px, 96px);
|
|
79
|
-
@include face(4%, 48%);
|
|
80
|
-
display: grid;
|
|
81
|
-
align-content: start;
|
|
82
|
-
gap: 8px;
|
|
83
|
-
padding: 14px 10px;
|
|
84
|
-
border-radius: 8px;
|
|
85
|
-
transform: translateX(118px) rotateY(-14deg);
|
|
86
|
-
}
|
|
87
|
-
.row {
|
|
88
|
-
height: 12px;
|
|
89
|
-
border-radius: 3px;
|
|
90
|
-
background: tint(14%);
|
|
91
|
-
@include loop(api-row $period $ease infinite);
|
|
92
|
-
&:nth-child(2) {
|
|
93
|
-
animation-delay: 0.12s;
|
|
94
|
-
}
|
|
95
|
-
&:nth-child(3) {
|
|
96
|
-
animation-delay: 0.24s;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
@keyframes api-row {
|
|
100
|
-
0%,
|
|
101
|
-
86%,
|
|
102
|
-
100% {
|
|
103
|
-
background: tint(14%);
|
|
104
|
-
}
|
|
105
|
-
92% {
|
|
106
|
-
background: tint(45%);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
.packet {
|
|
110
|
-
@include centered(12px, 12px);
|
|
111
|
-
border-radius: 3px;
|
|
112
|
-
opacity: 0;
|
|
113
|
-
}
|
|
114
|
-
/* The app asks... */
|
|
115
|
-
.request {
|
|
116
|
-
background: var(--foreground);
|
|
117
|
-
@include loop(api-request $period $ease infinite);
|
|
118
|
-
}
|
|
119
|
-
@keyframes api-request {
|
|
120
|
-
0% {
|
|
121
|
-
opacity: 0;
|
|
122
|
-
transform: translateX(84px);
|
|
123
|
-
}
|
|
124
|
-
8%,
|
|
125
|
-
40% {
|
|
126
|
-
opacity: 1;
|
|
127
|
-
}
|
|
128
|
-
48%,
|
|
129
|
-
100% {
|
|
130
|
-
opacity: 0;
|
|
131
|
-
transform: translateX(-84px);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
/* ...and the database answers. */
|
|
135
|
-
.answer {
|
|
136
|
-
border: 2px solid var(--foreground);
|
|
137
|
-
@include loop(api-answer $period $ease infinite);
|
|
138
|
-
}
|
|
139
|
-
@keyframes api-answer {
|
|
140
|
-
0%,
|
|
141
|
-
44% {
|
|
142
|
-
opacity: 0;
|
|
143
|
-
transform: translateX(-84px);
|
|
144
|
-
}
|
|
145
|
-
52%,
|
|
146
|
-
84% {
|
|
147
|
-
opacity: 1;
|
|
148
|
-
}
|
|
149
|
-
92%,
|
|
150
|
-
100% {
|
|
151
|
-
opacity: 0;
|
|
152
|
-
transform: translateX(84px);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Content management systems: a web page with an editing panel floating in front of it. As a field is typed in the
|
|
3
|
-
* panel, the same words appear on the page and its picture changes, with no code in sight.
|
|
4
|
-
*/
|
|
5
|
-
export declare function ContentManagementSystem(): import("react").JSX.Element;
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/content-management-system/index.tsx"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,uBAAuB,gCAgCtC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import styles from "./index.module.css";
|
|
3
|
-
/**
|
|
4
|
-
* Content management systems: a web page with an editing panel floating in front of it. As a field is typed in the
|
|
5
|
-
* panel, the same words appear on the page and its picture changes, with no code in sight.
|
|
6
|
-
*/
|
|
7
|
-
export function ContentManagementSystem() {
|
|
8
|
-
return (_jsxs("div", { className: styles.object, children: [_jsxs("div", { className: styles.page, children: [_jsxs("span", { className: styles.bar, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: styles.title }), _jsx("span", { className: styles.picture }), _jsxs("span", { className: styles.lines, children: [_jsx("i", {}), _jsx("i", {})] })] }), _jsxs("div", { className: styles.panel, children: [_jsx("span", { className: styles.label }), _jsxs("span", { className: styles.field, children: [_jsx("i", { className: styles.typed }), _jsx("i", { className: styles.caret })] }), _jsx("span", { className: styles.label }), _jsxs("span", { className: styles.swatches, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: styles.save })] })] }));
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/content-management-system/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC;;;GAGG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,gBAAM,SAAS,EAAE,MAAM,CAAC,GAAG,aACzB,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACjC,eAAM,SAAS,EAAE,MAAM,CAAC,OAAO,GAAI,EACnC,gBAAM,SAAS,EAAE,MAAM,CAAC,KAAK,aAC3B,aAAK,EACL,aAAK,IACA,IACH,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACjC,gBAAM,SAAS,EAAE,MAAM,CAAC,KAAK,aAC3B,YAAG,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EAC9B,YAAG,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,IACzB,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACjC,gBAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC9B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IAC5B,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:cms-sway 11s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-12deg) rotateY(24deg)}@keyframes cms-sway{0%,100%{transform:rotateX(-12deg) rotateY(26deg)}50%{transform:rotateX(-8deg) rotateY(6deg)}}.page{position:absolute;left:50%;top:50%;width:176px;height:128px;margin:-64px 0 0 -88px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 4%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 42%, transparent);display:grid;grid-template-rows:auto 8px 1fr auto;gap:8px;padding:0 0 10px;border-radius:8px;transform:translate3d(-26px, 0, -30px)}.bar{display:flex;gap:4px;padding:6px 8px;border-bottom:1px solid color-mix(in srgb, var(--foreground) 18%, transparent)}.bar i{width:5px;height:5px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 30%, transparent)}.title{justify-self:start;margin:0 10px;width:62%;border-radius:3px;background:color-mix(in srgb, var(--foreground) 55%, transparent);transform-origin:left;animation:cms-title 5s steps(8, end) infinite}@media(prefers-reduced-motion: reduce){.title{animation:none}}@keyframes cms-title{0%,12%{transform:scaleX(0.05)}52%,100%{transform:scaleX(1)}}.picture{margin:0 10px;border-radius:4px;border:1px solid color-mix(in srgb, var(--foreground) 30%, transparent);animation:cms-picture 5s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.picture{animation:none}}@keyframes cms-picture{0%,60%{background:linear-gradient(135deg, color-mix(in srgb, var(--foreground) 10%, transparent), color-mix(in srgb, var(--foreground) 4%, transparent))}70%,100%{background:linear-gradient(135deg, color-mix(in srgb, var(--foreground) 40%, transparent), color-mix(in srgb, var(--foreground) 12%, transparent))}}.lines{display:grid;gap:5px;margin:0 10px}.lines i{height:4px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.lines i:last-child{width:70%}.panel{position:absolute;left:50%;top:50%;width:92px;height:112px;margin:-56px 0 0 -46px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 10%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 60%, transparent);display:grid;align-content:start;gap:6px;padding:10px;border-radius:8px;transform:translate3d(74px, 14px, 40px)}.label{width:44%;height:4px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 35%, transparent)}.field{position:relative;display:flex;align-items:center;gap:2px;height:16px;padding:0 4px;border-radius:4px;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:var(--background)}.typed{height:4px;width:54px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 55%, transparent);transform-origin:left;animation:cms-title 5s steps(8, end) infinite}@media(prefers-reduced-motion: reduce){.typed{animation:none}}.caret{width:1.5px;height:9px;background:var(--foreground);animation:cms-blink .9s steps(1, end) infinite}@media(prefers-reduced-motion: reduce){.caret{animation:none}}@keyframes cms-blink{50%{opacity:0}}.swatches{display:flex;gap:5px}.swatches i{width:14px;height:14px;border-radius:4px;border:1px solid color-mix(in srgb, var(--foreground) 40%, transparent);background:color-mix(in srgb, var(--foreground) 10%, transparent)}.swatches i:nth-child(2){animation:cms-pick 5s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.swatches i:nth-child(2){animation:none}}@keyframes cms-pick{0%,58%{background:color-mix(in srgb, var(--foreground) 10%, transparent);box-shadow:none}64%,100%{background:color-mix(in srgb, var(--foreground) 45%, transparent);box-shadow:0 0 0 2px color-mix(in srgb, var(--foreground) 25%, transparent)}}.save{margin-top:4px;height:14px;border-radius:7px;background:var(--foreground);animation:cms-save 5s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.save{animation:none}}@keyframes cms-save{0%,74%,90%,100%{transform:scale(1)}82%{transform:scale(0.92)}}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
@use "style/token" as *;
|
|
2
|
-
@use "style/object" as *;
|
|
3
|
-
|
|
4
|
-
$period: 5s;
|
|
5
|
-
|
|
6
|
-
.object {
|
|
7
|
-
@include centered(0px, 0px);
|
|
8
|
-
@include loop(cms-sway 11s ease-in-out infinite);
|
|
9
|
-
transform: rotateX(-12deg) rotateY(24deg);
|
|
10
|
-
}
|
|
11
|
-
@keyframes cms-sway {
|
|
12
|
-
0%,
|
|
13
|
-
100% {
|
|
14
|
-
transform: rotateX(-12deg) rotateY(26deg);
|
|
15
|
-
}
|
|
16
|
-
50% {
|
|
17
|
-
transform: rotateX(-8deg) rotateY(6deg);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
.page {
|
|
21
|
-
@include centered(176px, 128px);
|
|
22
|
-
@include face(4%, 42%);
|
|
23
|
-
display: grid;
|
|
24
|
-
grid-template-rows: auto 8px 1fr auto;
|
|
25
|
-
gap: 8px;
|
|
26
|
-
padding: 0 0 10px;
|
|
27
|
-
border-radius: 8px;
|
|
28
|
-
transform: translate3d(-26px, 0, -30px);
|
|
29
|
-
}
|
|
30
|
-
.bar {
|
|
31
|
-
display: flex;
|
|
32
|
-
gap: 4px;
|
|
33
|
-
padding: 6px 8px;
|
|
34
|
-
border-bottom: 1px solid tint(18%);
|
|
35
|
-
i {
|
|
36
|
-
width: 5px;
|
|
37
|
-
height: 5px;
|
|
38
|
-
border-radius: 50%;
|
|
39
|
-
background: tint(30%);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
/* The page's title grows as the field in the panel is typed. */
|
|
43
|
-
.title {
|
|
44
|
-
justify-self: start;
|
|
45
|
-
margin: 0 10px;
|
|
46
|
-
width: 62%;
|
|
47
|
-
border-radius: 3px;
|
|
48
|
-
background: tint(55%);
|
|
49
|
-
transform-origin: left;
|
|
50
|
-
@include loop(cms-title $period steps(8, end) infinite);
|
|
51
|
-
}
|
|
52
|
-
@keyframes cms-title {
|
|
53
|
-
0%,
|
|
54
|
-
12% {
|
|
55
|
-
transform: scaleX(0.05);
|
|
56
|
-
}
|
|
57
|
-
52%,
|
|
58
|
-
100% {
|
|
59
|
-
transform: scaleX(1);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.picture {
|
|
63
|
-
margin: 0 10px;
|
|
64
|
-
border-radius: 4px;
|
|
65
|
-
border: 1px solid tint(30%);
|
|
66
|
-
@include loop(cms-picture $period $ease infinite);
|
|
67
|
-
}
|
|
68
|
-
@keyframes cms-picture {
|
|
69
|
-
0%,
|
|
70
|
-
60% {
|
|
71
|
-
background: linear-gradient(135deg, tint(10%), tint(4%));
|
|
72
|
-
}
|
|
73
|
-
70%,
|
|
74
|
-
100% {
|
|
75
|
-
background: linear-gradient(135deg, tint(40%), tint(12%));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
.lines {
|
|
79
|
-
display: grid;
|
|
80
|
-
gap: 5px;
|
|
81
|
-
margin: 0 10px;
|
|
82
|
-
i {
|
|
83
|
-
height: 4px;
|
|
84
|
-
border-radius: 2px;
|
|
85
|
-
background: tint(20%);
|
|
86
|
-
&:last-child {
|
|
87
|
-
width: 70%;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
/* The editing panel, closer to the visitor. */
|
|
92
|
-
.panel {
|
|
93
|
-
@include centered(92px, 112px);
|
|
94
|
-
@include face(10%, 60%);
|
|
95
|
-
display: grid;
|
|
96
|
-
align-content: start;
|
|
97
|
-
gap: 6px;
|
|
98
|
-
padding: 10px;
|
|
99
|
-
border-radius: 8px;
|
|
100
|
-
transform: translate3d(74px, 14px, 40px);
|
|
101
|
-
}
|
|
102
|
-
.label {
|
|
103
|
-
width: 44%;
|
|
104
|
-
height: 4px;
|
|
105
|
-
border-radius: 2px;
|
|
106
|
-
background: tint(35%);
|
|
107
|
-
}
|
|
108
|
-
.field {
|
|
109
|
-
position: relative;
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
gap: 2px;
|
|
113
|
-
height: 16px;
|
|
114
|
-
padding: 0 4px;
|
|
115
|
-
border-radius: 4px;
|
|
116
|
-
border: 1px solid tint(45%);
|
|
117
|
-
background: var(--background);
|
|
118
|
-
}
|
|
119
|
-
.typed {
|
|
120
|
-
height: 4px;
|
|
121
|
-
width: 54px;
|
|
122
|
-
border-radius: 2px;
|
|
123
|
-
background: tint(55%);
|
|
124
|
-
transform-origin: left;
|
|
125
|
-
@include loop(cms-title $period steps(8, end) infinite);
|
|
126
|
-
}
|
|
127
|
-
.caret {
|
|
128
|
-
width: 1.5px;
|
|
129
|
-
height: 9px;
|
|
130
|
-
background: var(--foreground);
|
|
131
|
-
@include loop(cms-blink 0.9s steps(1, end) infinite);
|
|
132
|
-
}
|
|
133
|
-
@keyframes cms-blink {
|
|
134
|
-
50% {
|
|
135
|
-
opacity: 0;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
.swatches {
|
|
139
|
-
display: flex;
|
|
140
|
-
gap: 5px;
|
|
141
|
-
i {
|
|
142
|
-
width: 14px;
|
|
143
|
-
height: 14px;
|
|
144
|
-
border-radius: 4px;
|
|
145
|
-
border: 1px solid tint(40%);
|
|
146
|
-
background: tint(10%);
|
|
147
|
-
&:nth-child(2) {
|
|
148
|
-
@include loop(cms-pick $period $ease infinite);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
@keyframes cms-pick {
|
|
153
|
-
0%,
|
|
154
|
-
58% {
|
|
155
|
-
background: tint(10%);
|
|
156
|
-
box-shadow: none;
|
|
157
|
-
}
|
|
158
|
-
64%,
|
|
159
|
-
100% {
|
|
160
|
-
background: tint(45%);
|
|
161
|
-
box-shadow: 0 0 0 2px tint(25%);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
.save {
|
|
165
|
-
margin-top: 4px;
|
|
166
|
-
height: 14px;
|
|
167
|
-
border-radius: 7px;
|
|
168
|
-
background: var(--foreground);
|
|
169
|
-
@include loop(cms-save $period $ease infinite);
|
|
170
|
-
}
|
|
171
|
-
@keyframes cms-save {
|
|
172
|
-
0%,
|
|
173
|
-
74%,
|
|
174
|
-
90%,
|
|
175
|
-
100% {
|
|
176
|
-
transform: scale(1);
|
|
177
|
-
}
|
|
178
|
-
82% {
|
|
179
|
-
transform: scale(0.92);
|
|
180
|
-
}
|
|
181
|
-
}
|