@sharadox/sharadox-web-library 0.27.0 → 0.29.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.
Files changed (51) hide show
  1. package/README.md +1 -1
  2. package/distribution/component/service-card/index.d.ts +2 -3
  3. package/distribution/component/service-card/index.d.ts.map +1 -1
  4. package/distribution/component/service-card/index.js +3 -4
  5. package/distribution/component/service-card/index.js.map +1 -1
  6. package/distribution/component/service-card/index.module.css +1 -1
  7. package/distribution/component/service-card/index.module.scss +0 -54
  8. package/distribution/component/service-card/type.d.ts +0 -2
  9. package/distribution/component/service-card/type.d.ts.map +1 -1
  10. package/distribution/component/service-object/android-application/index.d.ts +7 -0
  11. package/distribution/component/service-object/android-application/index.d.ts.map +1 -0
  12. package/distribution/component/service-object/android-application/index.js +16 -0
  13. package/distribution/component/service-object/android-application/index.js.map +1 -0
  14. package/distribution/component/service-object/android-application/index.module.css +1 -0
  15. package/distribution/component/service-object/android-application/index.module.scss +172 -0
  16. package/distribution/component/service-object/hosting/index.d.ts +6 -0
  17. package/distribution/component/service-object/hosting/index.d.ts.map +1 -0
  18. package/distribution/component/service-object/hosting/index.js +13 -0
  19. package/distribution/component/service-object/hosting/index.js.map +1 -0
  20. package/distribution/component/service-object/hosting/index.module.css +1 -0
  21. package/distribution/component/service-object/hosting/index.module.scss +128 -0
  22. package/distribution/component/service-object/index.d.ts.map +1 -1
  23. package/distribution/component/service-object/index.js +6 -0
  24. package/distribution/component/service-object/index.js.map +1 -1
  25. package/distribution/component/service-object/ios-application/index.d.ts +6 -0
  26. package/distribution/component/service-object/ios-application/index.d.ts.map +1 -0
  27. package/distribution/component/service-object/ios-application/index.js +15 -0
  28. package/distribution/component/service-object/ios-application/index.js.map +1 -0
  29. package/distribution/component/service-object/ios-application/index.module.css +1 -0
  30. package/distribution/component/service-object/ios-application/index.module.scss +186 -0
  31. package/distribution/component/service-object/product-launch/index.d.ts +4 -3
  32. package/distribution/component/service-object/product-launch/index.d.ts.map +1 -1
  33. package/distribution/component/service-object/product-launch/index.js +8 -8
  34. package/distribution/component/service-object/product-launch/index.js.map +1 -1
  35. package/distribution/component/service-object/product-launch/index.module.css +1 -1
  36. package/distribution/component/service-object/product-launch/index.module.scss +191 -117
  37. package/distribution/component/services/index.js +1 -1
  38. package/distribution/component/services/index.js.map +1 -1
  39. package/distribution/component/services/index.module.css +1 -1
  40. package/distribution/component/services/index.module.scss +1 -5
  41. package/distribution/content/contact/index.d.ts +27 -15
  42. package/distribution/content/contact/index.d.ts.map +1 -1
  43. package/distribution/content/services/index.d.ts +68 -42
  44. package/distribution/content/services/index.d.ts.map +1 -1
  45. package/distribution/content/services/index.js +41 -32
  46. package/distribution/content/services/index.js.map +1 -1
  47. package/distribution/content/site/index.d.ts.map +1 -1
  48. package/distribution/content/site/index.js +6 -2
  49. package/distribution/content/site/index.js.map +1 -1
  50. package/llms.txt +3 -1
  51. package/package.json +1 -1
package/README.md CHANGED
@@ -34,7 +34,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
34
34
  - **One source for shared copy:** text used in more than one place lives in its own content module and is imported, never retyped.
35
35
  - **`component/`:** the page's branded parts:
36
36
  - grid frame, `Cross` marks, navigation (below 1100px its links open in a menu under the bar, in the bar's frosted background, scrolling when it doesn't fit, as on a phone held sideways) and footer
37
- - hero and its guides, service index, statement, and Services: four groups of cards (Web, Desktop & Mobile, Creative, Marketing), each card with its own animated 3D object (`service-object`, in CSS 3D, turning towards the pointer), a description and a button that starts that project; a card alone in its group lies wide, with its numbered `points`; then `ServiceUnlisted`, the invitation for ideas none of them name
37
+ - hero and its guides, service index, statement, and Services: four groups of cards (Web, Desktop & Mobile, Creative, Marketing), each card with its own animated 3D object (`service-object`, in CSS 3D, turning towards the pointer), a description and a button that starts that project; rows of three, with a row of two (or two rows of two) when the count needs it; then `ServiceUnlisted`, the invitation for ideas none of them name
38
38
  - the 3D touchpoint stack, capabilities sheet, process, contact, section indicator, style switch
39
39
  - `Consent`, the Sharadox cookie panel (reopened by the footer's Cookie Preferences), and the footer's legal parts: Portugal's complaints book and the Algarve's consumer dispute notice (CIMAAL)
40
40
  - the Sharadox wrapper around the shared globe, structured data, share image, `llmsText()` for `/llms.txt`
@@ -1,11 +1,10 @@
1
1
  import type { ServiceCardProperties } from "@sharadox/sharadox-web-library/component/service-card/type";
2
2
  /**
3
3
  * One service: its 3D object (which turns towards the pointer anywhere on the card), name, description, and a button
4
- * that scrolls to the contact form with this service ticked, and its `points` when it has them. A soft light follows
5
- * the pointer. A `wide` card puts the object beside the words.
4
+ * that scrolls to the contact form with this service ticked. A soft light follows the pointer.
6
5
  *
7
6
  * @example
8
7
  * <ServiceCard locale="en" card={SERVICES.items[0].cards[0]} />
9
8
  */
10
- export declare function ServiceCard({ locale, card, wide }: ServiceCardProperties): import("react").JSX.Element;
9
+ export declare function ServiceCard({ locale, card }: ServiceCardProperties): import("react").JSX.Element;
11
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-card/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAY,EAAE,EAAE,qBAAqB,+BAoChF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-card/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,qBAAqB,+BAyBlE"}
@@ -10,15 +10,14 @@ import { requestContactNeeds } from "@sharadox/sharadox-web-library/utility/cont
10
10
  import styles from "./index.module.css";
11
11
  /**
12
12
  * One service: its 3D object (which turns towards the pointer anywhere on the card), name, description, and a button
13
- * that scrolls to the contact form with this service ticked, and its `points` when it has them. A soft light follows
14
- * the pointer. A `wide` card puts the object beside the words.
13
+ * that scrolls to the contact form with this service ticked. A soft light follows the pointer.
15
14
  *
16
15
  * @example
17
16
  * <ServiceCard locale="en" card={SERVICES.items[0].cards[0]} />
18
17
  */
19
- export function ServiceCard({ locale, card, wide = false }) {
18
+ export function ServiceCard({ locale, card }) {
20
19
  const spotlight = useSpotlight();
21
20
  const tilt = useTilt(16);
22
- return (_jsx("article", { ref: spotlight, className: styles.card, "data-wide": wide || undefined, children: _jsxs("div", { ref: tilt, className: styles.inner, children: [_jsx("div", { className: styles.visual, children: _jsx(ServiceObject, { kind: card.key }) }), _jsxs("div", { className: styles.copy, children: [_jsx("h4", { children: translate(card.title, locale) }), _jsx("p", { children: translate(card.text, locale) }), "points" in card && (_jsx("ol", { className: styles.points, children: card.points.map((point, index) => (_jsxs("li", { children: [_jsx("span", { className: "monospace", children: String(index + 1).padStart(2, "0") }), _jsx("strong", { children: translate(point.title, locale) }), _jsx("span", { children: translate(point.text, locale) })] }, point.title.en))) })), _jsx(Button, { href: `#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.action, onClick: () => requestContactNeeds([card.key]), children: translate(card.action, locale) })] })] }) }));
21
+ return (_jsx("article", { ref: spotlight, className: styles.card, children: _jsxs("div", { ref: tilt, className: styles.inner, children: [_jsx("div", { className: styles.visual, children: _jsx(ServiceObject, { kind: card.key }) }), _jsxs("div", { className: styles.copy, children: [_jsx("h4", { children: translate(card.title, locale) }), _jsx("p", { children: translate(card.text, locale) }), _jsx(Button, { href: `#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.action, onClick: () => requestContactNeeds([card.key]), children: translate(card.action, locale) })] })] }) }));
23
22
  }
24
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-card/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SA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AAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAiB,EAAE,CAAC,CAAC;IACzC,OAAO,CACL,kBAAS,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,YAC7C,eAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,aACrC,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,KAAC,aAAa,IAAC,IAAI,EAAE,IAAI,CAAC,GAAG,GAAI,GAC7B,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,uBAAK,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EACxC,sBAAI,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,EACrC,KAAC,MAAM,IACL,IAAI,EAAE,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAC9B,IAAI,EAAC,OAAO,EACZ,KAAK,QACL,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,YAE7C,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,GACxB,IACL,IACF,GACE,CACX,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .card{--pointer-x: -500px;--pointer-y: -500px;position:relative;height:100%;background:var(--background);isolation:isolate}.card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 60%)}.inner{--tilt-x: 0deg;--tilt-y: 0deg;display:flex;flex-direction:column;height:100%}.visual{position:relative;height:270px;border-bottom:1px dashed var(--line-2);background:radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--foreground) 6%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 640px){.visual{height:250px}}.copy{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px 26px 28px}.copy h4{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-0.03em}.copy p{margin-bottom:14px;color:var(--foreground-2);max-width:44ch;text-wrap:pretty}.action{margin-top:auto}.points{display:grid;gap:14px;margin:0 0 22px;padding:0;list-style:none}.points li{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;padding-top:14px;border-top:1px dashed var(--line-2)}.points li>span:first-child{grid-row:span 2;font-size:12px;color:var(--foreground-3);line-height:1.7}.points li strong{font-weight:600}.points li>span:last-child{color:var(--foreground-2);text-wrap:pretty}@media(min-width: 961px){.card[data-wide] .inner{display:grid;grid-template-columns:1fr 1fr}.card[data-wide] .visual{--object-scale: 1.5;height:auto;min-height:440px;border-bottom:0;border-right:1px dashed var(--line-2)}.card[data-wide] .copy{justify-content:center;padding:40px clamp(28px,4vw,56px)}.card[data-wide] .copy p{max-width:56ch}.card[data-wide] .action{margin-top:0}}
1
+ .card{--pointer-x: -500px;--pointer-y: -500px;position:relative;height:100%;background:var(--background);isolation:isolate}.card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 60%)}.inner{--tilt-x: 0deg;--tilt-y: 0deg;display:flex;flex-direction:column;height:100%}.visual{position:relative;height:270px;border-bottom:1px dashed var(--line-2);background:radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--foreground) 6%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 640px){.visual{height:250px}}.copy{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px 26px 28px}.copy h4{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-0.03em}.copy p{margin-bottom:14px;color:var(--foreground-2);max-width:44ch;text-wrap:pretty}.action{margin-top:auto}
@@ -57,57 +57,3 @@
57
57
  .action {
58
58
  margin-top: auto;
59
59
  }
60
- /* The card's reasons, numbered. */
61
- .points {
62
- display: grid;
63
- gap: 14px;
64
- margin: 0 0 22px;
65
- padding: 0;
66
- list-style: none;
67
- li {
68
- display: grid;
69
- grid-template-columns: auto 1fr;
70
- gap: 2px 14px;
71
- padding-top: 14px;
72
- border-top: 1px dashed var(--line-2);
73
- > span:first-child {
74
- grid-row: span 2;
75
- font-size: 12px;
76
- color: var(--foreground-3);
77
- line-height: 1.7;
78
- }
79
- strong {
80
- font-weight: 600;
81
- }
82
- > span:last-child {
83
- color: var(--foreground-2);
84
- text-wrap: pretty;
85
- }
86
- }
87
- }
88
- /* Alone in its row: the object on the left, the words on the right. */
89
- .card[data-wide] {
90
- @media (min-width: 961px) {
91
- .inner {
92
- display: grid;
93
- grid-template-columns: 1fr 1fr;
94
- }
95
- .visual {
96
- --object-scale: 1.5;
97
- height: auto;
98
- min-height: 440px;
99
- border-bottom: 0;
100
- border-right: 1px dashed var(--line-2);
101
- }
102
- .copy {
103
- justify-content: center;
104
- padding: 40px clamp(28px, 4vw, 56px);
105
- p {
106
- max-width: 56ch;
107
- }
108
- }
109
- .action {
110
- margin-top: 0;
111
- }
112
- }
113
- }
@@ -4,7 +4,5 @@ export interface ServiceCardProperties {
4
4
  locale: Locale;
5
5
  /** One of the cards in `SERVICES`. */
6
6
  card: (typeof SERVICES.items)[number]["cards"][number];
7
- /** The object beside the words instead of above them, for a card alone in its row. */
8
- wide?: boolean;
9
7
  }
10
8
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/service-card/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAEhF,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,IAAI,EAAE,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IACvD,sFAAsF;IACtF,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/service-card/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAEhF,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,IAAI,EAAE,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;CACxD"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Android applications: an Android phone as people know it, with the camera in a hole in the screen, round app icons,
3
+ * the search bar and the three buttons. The quick settings shade slides down from the top, its toggles switch on one
4
+ * by one, and it slides back up.
5
+ */
6
+ export declare function AndroidApplication(): import("react").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/android-application/index.tsx"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,wBAAgB,kBAAkB,gCA+BjC"}
@@ -0,0 +1,16 @@
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
+ /** The home screen's apps: round icons, four to a row. */
5
+ const APPS = 12;
6
+ /** The quick settings in the shade: rounded toggles, two to a row, switching on one after the other. */
7
+ const TOGGLES = 4;
8
+ /**
9
+ * Android applications: an Android phone as people know it, with the camera in a hole in the screen, round app icons,
10
+ * the search bar and the three buttons. The quick settings shade slides down from the top, its toggles switch on one
11
+ * by one, and it slides back up.
12
+ */
13
+ export function AndroidApplication() {
14
+ return (_jsx("div", { className: styles.object, children: _jsx(Cuboid, { className: styles.phone, front: _jsxs("span", { className: styles.screen, children: [_jsx("span", { className: styles.status }), _jsx("span", { className: styles.apps, children: Array.from({ length: APPS }, (_, app) => (_jsx("i", {}, app))) }), _jsx("span", { className: styles.search }), _jsxs("span", { className: styles.buttons, children: [_jsx("i", { className: styles.back }), _jsx("i", { className: styles.home }), _jsx("i", { className: styles.recent })] }), _jsxs("span", { className: styles.shade, children: [Array.from({ length: TOGGLES }, (_, toggle) => (_jsx("i", { style: { animationDelay: `${toggle * 0.25}s` } }, toggle))), _jsx("b", {})] }), _jsx("span", { className: styles.camera })] }) }) }));
15
+ }
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/android-application/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,0DAA0D;AAC1D,MAAM,IAAI,GAAG,EAAE,CAAC;AAChB,wGAAwG;AACxG,MAAM,OAAO,GAAG,CAAC,CAAC;AAElB;;;;GAIG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,KAAC,MAAM,IACL,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,KAAK,EACH,gBAAM,SAAS,EAAE,MAAM,CAAC,MAAM,aAC5B,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,EAClC,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YACzB,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CACxC,cAAQ,GAAG,CAAI,CAChB,CAAC,GACG,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,EAClC,gBAAM,SAAS,EAAE,MAAM,CAAC,OAAO,aAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,IAC1B,EACP,gBAAM,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,CAC9C,YAAgB,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,MAAM,GAAG,IAAI,GAAG,EAAE,IAAtD,MAAM,CAAoD,CACnE,CAAC,EACF,aAAK,IACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,IAC7B,GAET,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:android-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(-28deg)}@keyframes android-turn{0%,100%{transform:rotateX(10deg) rotateY(-30deg)}50%{transform:rotateX(6deg) rotateY(20deg)}}.phone{--width: 88px;--height: 176px;--depth: 9px;--radius: 10px;--front-amount: 4%;--edge-amount: 55%}.screen{position:absolute;inset:3px;overflow:hidden;border-radius:8px}.camera{position:absolute;left:50%;top:6px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 1.5px var(--background)}.status{position:absolute;left:7px;right:7px;top:7px;height:4px;background:linear-gradient(color-mix(in srgb, var(--foreground) 50%, transparent), color-mix(in srgb, var(--foreground) 50%, transparent)) left/12px 100% no-repeat,linear-gradient(color-mix(in srgb, var(--foreground) 50%, transparent), color-mix(in srgb, var(--foreground) 50%, transparent)) right/14px 100% no-repeat}.apps{position:absolute;inset:26px 9px auto;display:grid;grid-template-columns:repeat(4, 1fr);gap:9px 6px}.apps i{aspect-ratio:1;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:color-mix(in srgb, var(--foreground) 16%, transparent)}.apps i:nth-child(3n+1){background:color-mix(in srgb, var(--foreground) 34%, transparent)}.search{position:absolute;left:9px;right:9px;bottom:26px;height:14px;border-radius:7px;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:radial-gradient(circle at 9px 50%, color-mix(in srgb, var(--foreground) 70%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent)}.buttons{position:absolute;left:20px;right:20px;bottom:7px;display:flex;align-items:center;justify-content:space-between}.buttons i{width:8px;height:8px;border:1.5px solid color-mix(in srgb, var(--foreground) 55%, transparent)}.back{width:0 !important;height:0 !important;border:0 !important;border-top:4.5px solid rgba(0,0,0,0) !important;border-bottom:4.5px solid rgba(0,0,0,0) !important;border-right:7px solid color-mix(in srgb, var(--foreground) 55%, transparent) !important}.home{border-radius:50%}.recent{border-radius:2px}.shade{position:absolute;left:0;right:0;top:0;display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:18px 7px 12px;border-radius:0 0 12px 12px;background:var(--background);border-bottom:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);box-shadow:0 8px 18px -8px color-mix(in srgb, var(--foreground) 40%, transparent);transform:translateY(-105%);animation:android-shade 6s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.shade{animation:none}}.shade i{height:16px;border-radius:8px;border:1px solid color-mix(in srgb, var(--foreground) 40%, transparent);background:radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--foreground) 60%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent);animation:android-toggle 6s ease-out infinite}@media(prefers-reduced-motion: reduce){.shade i{animation:none}}.shade b{grid-column:1/-1;justify-self:center;width:18px;height:3px;margin-top:3px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}@keyframes android-shade{0%,20%{transform:translateY(-105%)}32%,72%{transform:translateY(0)}84%,100%{transform:translateY(-105%)}}@keyframes android-toggle{0%,38%{background:radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--foreground) 60%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent)}44%,100%{background:radial-gradient(circle at 8px 50%, var(--background) 3px, transparent 3.5px),var(--foreground)}}
@@ -0,0 +1,172 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ /* One round: the home screen, the shade sliding down (from 20%), its toggles switching on, and back up (from 72%). */
5
+ $round: 6s;
6
+
7
+ .object {
8
+ @include centered(0px, 0px);
9
+ @include loop(android-turn 10s ease-in-out infinite);
10
+ transform: rotateX(10deg) rotateY(-28deg);
11
+ }
12
+ @keyframes android-turn {
13
+ 0%,
14
+ 100% {
15
+ transform: rotateX(10deg) rotateY(-30deg);
16
+ }
17
+ 50% {
18
+ transform: rotateX(6deg) rotateY(20deg);
19
+ }
20
+ }
21
+ .phone {
22
+ --width: 88px;
23
+ --height: 176px;
24
+ --depth: 9px;
25
+ --radius: 10px;
26
+ --front-amount: 4%;
27
+ --edge-amount: 55%;
28
+ }
29
+ .screen {
30
+ position: absolute;
31
+ inset: 3px;
32
+ overflow: hidden;
33
+ border-radius: 8px;
34
+ }
35
+ /* The camera in a small hole at the top of the screen. */
36
+ .camera {
37
+ position: absolute;
38
+ left: 50%;
39
+ top: 6px;
40
+ width: 6px;
41
+ height: 6px;
42
+ margin-left: -3px;
43
+ border-radius: 50%;
44
+ background: var(--foreground);
45
+ box-shadow: 0 0 0 1.5px var(--background);
46
+ }
47
+ .status {
48
+ position: absolute;
49
+ left: 7px;
50
+ right: 7px;
51
+ top: 7px;
52
+ height: 4px;
53
+ background:
54
+ linear-gradient(tint(50%), tint(50%)) left / 12px 100% no-repeat,
55
+ linear-gradient(tint(50%), tint(50%)) right / 14px 100% no-repeat;
56
+ }
57
+ /* Round app icons, four to a row. */
58
+ .apps {
59
+ position: absolute;
60
+ inset: 26px 9px auto;
61
+ display: grid;
62
+ grid-template-columns: repeat(4, 1fr);
63
+ gap: 9px 6px;
64
+ i {
65
+ aspect-ratio: 1;
66
+ border-radius: 50%;
67
+ border: 1px solid tint(45%);
68
+ background: tint(16%);
69
+ &:nth-child(3n + 1) {
70
+ background: tint(34%);
71
+ }
72
+ }
73
+ }
74
+ /* The search bar near the bottom: a long pill with a round mark at its start. */
75
+ .search {
76
+ position: absolute;
77
+ left: 9px;
78
+ right: 9px;
79
+ bottom: 26px;
80
+ height: 14px;
81
+ border-radius: 7px;
82
+ border: 1px solid tint(45%);
83
+ background: radial-gradient(circle at 9px 50%, tint(70%) 3px, transparent 3.5px), tint(10%);
84
+ }
85
+ /* The three buttons: back, home and recent apps. */
86
+ .buttons {
87
+ position: absolute;
88
+ left: 20px;
89
+ right: 20px;
90
+ bottom: 7px;
91
+ display: flex;
92
+ align-items: center;
93
+ justify-content: space-between;
94
+ i {
95
+ width: 8px;
96
+ height: 8px;
97
+ border: 1.5px solid tint(55%);
98
+ }
99
+ }
100
+ .back {
101
+ width: 0 !important;
102
+ height: 0 !important;
103
+ border: 0 !important;
104
+ border-top: 4.5px solid transparent !important;
105
+ border-bottom: 4.5px solid transparent !important;
106
+ border-right: 7px solid tint(55%) !important;
107
+ }
108
+ .home {
109
+ border-radius: 50%;
110
+ }
111
+ .recent {
112
+ border-radius: 2px;
113
+ }
114
+ /* The quick settings shade, pulled down over the top of the screen. */
115
+ .shade {
116
+ position: absolute;
117
+ left: 0;
118
+ right: 0;
119
+ top: 0;
120
+ display: grid;
121
+ grid-template-columns: 1fr 1fr;
122
+ gap: 5px;
123
+ padding: 18px 7px 12px;
124
+ border-radius: 0 0 12px 12px;
125
+ background: var(--background);
126
+ border-bottom: 1px solid tint(45%);
127
+ box-shadow: 0 8px 18px -8px tint(40%);
128
+ transform: translateY(-105%);
129
+ @include loop(android-shade $round $ease infinite);
130
+ // A toggle: a rounded pill with a round icon, dim when off, lit when on.
131
+ i {
132
+ height: 16px;
133
+ border-radius: 8px;
134
+ border: 1px solid tint(40%);
135
+ background: radial-gradient(circle at 8px 50%, tint(60%) 3px, transparent 3.5px), tint(10%);
136
+ @include loop(android-toggle $round ease-out infinite);
137
+ }
138
+ // The handle at the bottom of the shade.
139
+ b {
140
+ grid-column: 1 / -1;
141
+ justify-self: center;
142
+ width: 18px;
143
+ height: 3px;
144
+ margin-top: 3px;
145
+ border-radius: 2px;
146
+ background: tint(45%);
147
+ }
148
+ }
149
+ @keyframes android-shade {
150
+ 0%,
151
+ 20% {
152
+ transform: translateY(-105%);
153
+ }
154
+ 32%,
155
+ 72% {
156
+ transform: translateY(0);
157
+ }
158
+ 84%,
159
+ 100% {
160
+ transform: translateY(-105%);
161
+ }
162
+ }
163
+ @keyframes android-toggle {
164
+ 0%,
165
+ 38% {
166
+ background: radial-gradient(circle at 8px 50%, tint(60%) 3px, transparent 3.5px), tint(10%);
167
+ }
168
+ 44%,
169
+ 100% {
170
+ background: radial-gradient(circle at 8px 50%, var(--background) 3px, transparent 3.5px), var(--foreground);
171
+ }
172
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Hosting: what we build, kept running. A rack of servers, their lights blinking. Then one server has an incident and
3
+ * its lights go out. It is looked after at once: the server comes back with a glow and a tick.
4
+ */
5
+ export declare function Hosting(): import("react").JSX.Element;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/hosting/index.tsx"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,OAAO,gCAoBtB"}
@@ -0,0 +1,13 @@
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
+ /** The servers in the rack, top to bottom; the middle one is the one that has the incident. */
5
+ const SERVERS = 3;
6
+ /**
7
+ * Hosting: what we build, kept running. A rack of servers, their lights blinking. Then one server has an incident and
8
+ * its lights go out. It is looked after at once: the server comes back with a glow and a tick.
9
+ */
10
+ export function Hosting() {
11
+ return (_jsxs("div", { className: styles.object, children: [Array.from({ length: SERVERS }, (_, server) => (_jsx(Cuboid, { className: styles.server, front: _jsxs("span", { className: styles.panel, "data-incident": server === 1 || undefined, children: [[0, 1, 2].map((light) => (_jsx("i", { style: { animationDelay: `${(server * 3 + light) * -0.37}s` } }, light))), _jsx("b", {})] }) }, server))), _jsx("span", { className: styles.fixed })] }));
12
+ }
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/hosting/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,+FAA+F;AAC/F,MAAM,OAAO,GAAG,CAAC,CAAC;AAClB;;;GAGG;AACH,MAAM,UAAU,OAAO;IACrB,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC1B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,CAC9C,KAAC,MAAM,IAEL,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,KAAK,EACH,gBAAM,SAAS,EAAE,MAAM,CAAC,KAAK,mBAAiB,MAAM,KAAK,CAAC,IAAI,SAAS,aACpE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACxB,YAAe,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,EAAE,IAApE,KAAK,CAAmE,CACjF,CAAC,EACF,aAAK,IACA,IARJ,MAAM,CAUX,CACH,CAAC,EACF,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,IAC7B,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:hosting-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.15) rotateX(-12deg) rotateY(-24deg)}@keyframes hosting-sway{0%,100%{transform:scale(1.15) rotateX(-12deg) rotateY(-24deg)}50%{transform:scale(1.15) rotateX(-8deg) rotateY(14deg)}}.server{--width: 120px;--height: 30px;--depth: 84px;--radius: 3px;--fill-amount: 8%;--front-amount: 10%;--edge-amount: 60%}.server:nth-child(1){transform:translateY(-36px)}.server:nth-child(3){transform:translateY(36px)}.panel{position:absolute;inset:0;display:flex;align-items:center;gap:6px;padding:0 12px}.panel i{width:6px;height:6px;border-radius:50%;background:var(--foreground);box-shadow:0 0 6px color-mix(in srgb, var(--foreground) 70%, transparent);animation:hosting-blink 1.1s steps(2, jump-none) infinite}@media(prefers-reduced-motion: reduce){.panel i{animation:none}}.panel b{flex:1;height:12px;margin-left:10px;background:repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 35%, transparent) 0 2px, transparent 2px 6px)}@keyframes hosting-blink{0%{opacity:1}100%{opacity:.35}}.panel[data-incident]{animation:hosting-incident 8s linear infinite}@media(prefers-reduced-motion: reduce){.panel[data-incident]{animation:none}}@keyframes hosting-incident{0%,40%{opacity:1;filter:none}42%,56%{opacity:.15}60%{opacity:1;filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 80%, transparent))}72%,100%{opacity:1;filter:none}}.fixed{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;transform-style:preserve-3d;border-radius:50%;border:1.5px solid var(--foreground);background:var(--background);transform:translateX(92px) translateZ(44px);opacity:0;animation:hosting-fixed 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.fixed{animation:none}}.fixed::after{content:"";position:absolute;left:9px;top:6px;width:7px;height:12px;border-right:2px solid var(--foreground);border-bottom:2px solid var(--foreground);transform:rotate(45deg)}@keyframes hosting-fixed{0%,57%{opacity:0;transform:translateX(92px) translateZ(44px) scale(0.4)}62%,84%{opacity:1;transform:translateX(92px) translateZ(44px) scale(1)}92%,100%{opacity:0;transform:translateX(92px) translateZ(44px) scale(1)}}
@@ -0,0 +1,128 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ /* One round: steady running, the incident (from 40%), the fix (from 58%), and steady running again. */
5
+ $round: 8s;
6
+
7
+ .object {
8
+ @include centered(0px, 0px);
9
+ @include loop(hosting-sway 12s ease-in-out infinite);
10
+ transform: scale(1.15) rotateX(-12deg) rotateY(-24deg);
11
+ }
12
+ @keyframes hosting-sway {
13
+ 0%,
14
+ 100% {
15
+ transform: scale(1.15) rotateX(-12deg) rotateY(-24deg);
16
+ }
17
+ 50% {
18
+ transform: scale(1.15) rotateX(-8deg) rotateY(14deg);
19
+ }
20
+ }
21
+ .server {
22
+ --width: 120px;
23
+ --height: 30px;
24
+ --depth: 84px;
25
+ --radius: 3px;
26
+ --fill-amount: 8%;
27
+ --front-amount: 10%;
28
+ --edge-amount: 60%;
29
+ &:nth-child(1) {
30
+ transform: translateY(-36px);
31
+ }
32
+ &:nth-child(3) {
33
+ transform: translateY(36px);
34
+ }
35
+ }
36
+ /* A server's front: three status lights and a vent. */
37
+ .panel {
38
+ position: absolute;
39
+ inset: 0;
40
+ display: flex;
41
+ align-items: center;
42
+ gap: 6px;
43
+ padding: 0 12px;
44
+ i {
45
+ width: 6px;
46
+ height: 6px;
47
+ border-radius: 50%;
48
+ background: var(--foreground);
49
+ box-shadow: 0 0 6px tint(70%);
50
+ @include loop(hosting-blink 1.1s steps(2, jump-none) infinite);
51
+ }
52
+ b {
53
+ flex: 1;
54
+ height: 12px;
55
+ margin-left: 10px;
56
+ background: repeating-linear-gradient(90deg, tint(35%) 0 2px, transparent 2px 6px);
57
+ }
58
+ }
59
+ @keyframes hosting-blink {
60
+ 0% {
61
+ opacity: 1;
62
+ }
63
+ 100% {
64
+ opacity: 0.35;
65
+ }
66
+ }
67
+ /* The server with the incident: its lights go out, then come back once it is fixed. */
68
+ .panel[data-incident] {
69
+ @include loop(hosting-incident $round linear infinite);
70
+ }
71
+ @keyframes hosting-incident {
72
+ 0%,
73
+ 40% {
74
+ opacity: 1;
75
+ filter: none;
76
+ }
77
+ 42%,
78
+ 56% {
79
+ opacity: 0.15;
80
+ }
81
+ 60% {
82
+ opacity: 1;
83
+ filter: drop-shadow(0 0 8px tint(80%));
84
+ }
85
+ 72%,
86
+ 100% {
87
+ opacity: 1;
88
+ filter: none;
89
+ }
90
+ }
91
+ /* The ring of light and the tick when the server is back up. */
92
+ .fixed {
93
+ @include centered(30px, 30px);
94
+ border-radius: 50%;
95
+ border: 1.5px solid var(--foreground);
96
+ background: var(--background);
97
+ transform: translateX(92px) translateZ(44px);
98
+ opacity: 0;
99
+ @include loop(hosting-fixed $round $ease infinite);
100
+ &::after {
101
+ content: "";
102
+ position: absolute;
103
+ left: 9px;
104
+ top: 6px;
105
+ width: 7px;
106
+ height: 12px;
107
+ border-right: 2px solid var(--foreground);
108
+ border-bottom: 2px solid var(--foreground);
109
+ transform: rotate(45deg);
110
+ }
111
+ }
112
+ @keyframes hosting-fixed {
113
+ 0%,
114
+ 57% {
115
+ opacity: 0;
116
+ transform: translateX(92px) translateZ(44px) scale(0.4);
117
+ }
118
+ 62%,
119
+ 84% {
120
+ opacity: 1;
121
+ transform: translateX(92px) translateZ(44px) scale(1);
122
+ }
123
+ 92%,
124
+ 100% {
125
+ opacity: 0;
126
+ transform: translateX(92px) translateZ(44px) scale(1);
127
+ }
128
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AAqB5G;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,uBAAuB,+BAS9D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AAwB5G;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,uBAAuB,+BAS9D"}
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AndroidApplication } from "@sharadox/sharadox-web-library/component/service-object/android-application";
2
3
  import { BrandAwareness } from "@sharadox/sharadox-web-library/component/service-object/brand-awareness";
3
4
  import { Branding } from "@sharadox/sharadox-web-library/component/service-object/branding";
4
5
  import { BrandingDesign } from "@sharadox/sharadox-web-library/component/service-object/branding-design";
@@ -8,6 +9,8 @@ import { LeadGeneration } from "@sharadox/sharadox-web-library/component/service
8
9
  import { Platform } from "@sharadox/sharadox-web-library/component/service-object/platform";
9
10
  import { PrintDesign } from "@sharadox/sharadox-web-library/component/service-object/print-design";
10
11
  import { ProfessionalEmail } from "@sharadox/sharadox-web-library/component/service-object/professional-email";
12
+ import { Hosting } from "@sharadox/sharadox-web-library/component/service-object/hosting";
13
+ import { IosApplication } from "@sharadox/sharadox-web-library/component/service-object/ios-application";
11
14
  import { ProductLaunch } from "@sharadox/sharadox-web-library/component/service-object/product-launch";
12
15
  import { ProgressiveWebApplication } from "@sharadox/sharadox-web-library/component/service-object/progressive-web-application";
13
16
  import { Rebranding } from "@sharadox/sharadox-web-library/component/service-object/rebranding";
@@ -20,8 +23,11 @@ const OBJECTS = {
20
23
  website: Website,
21
24
  platform: Platform,
22
25
  "e-commerce": ECommerce,
26
+ hosting: Hosting,
23
27
  "professional-email": ProfessionalEmail,
24
28
  "progressive-web-application": ProgressiveWebApplication,
29
+ "android-application": AndroidApplication,
30
+ "ios-application": IosApplication,
25
31
  branding: Branding,
26
32
  rebranding: Rebranding,
27
33
  "branding-design": BrandingDesign,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,oEAAoE,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,qEAAqE,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,sEAAsE,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4EAA4E,CAAC;AAC/G,OAAO,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,qFAAqF,CAAC;AAChI,OAAO,EAAE,UAAU,EAAE,MAAM,oEAAoE,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,0EAA0E,CAAC;AAC3G,OAAO,EAAE,mBAAmB,EAAE,MAAM,+EAA+E,CAAC;AACpH,OAAO,EAAE,OAAO,EAAE,MAAM,iEAAiE,CAAC;AAE1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,sCAAsC;AACtC,MAAM,OAAO,GAA0C;IACrD,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,QAAQ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CAAC;AACJ,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * iOS applications: an iPhone as people know it, with the Dynamic Island, rounded-square app icons, the page dots, the
3
+ * dock and the home bar. The island opens into a live activity, then the icons jiggle, ready to be arranged.
4
+ */
5
+ export declare function IosApplication(): import("react").JSX.Element;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/ios-application/index.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AACH,wBAAgB,cAAc,gCA+B7B"}
@@ -0,0 +1,15 @@
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
+ /** The home screen's apps: rounded squares, four to a row. */
5
+ const APPS = 12;
6
+ /** The apps in the dock. */
7
+ const DOCK = 4;
8
+ /**
9
+ * iOS applications: an iPhone as people know it, with the Dynamic Island, rounded-square app icons, the page dots, the
10
+ * dock and the home bar. The island opens into a live activity, then the icons jiggle, ready to be arranged.
11
+ */
12
+ export function IosApplication() {
13
+ return (_jsx("div", { className: styles.object, children: _jsx(Cuboid, { className: styles.phone, front: _jsxs("span", { className: styles.screen, children: [_jsx("span", { className: styles.island, children: _jsx("i", {}) }), _jsx("span", { className: styles.apps, children: Array.from({ length: APPS }, (_, app) => (_jsx("i", {}, app))) }), _jsxs("span", { className: styles.dots, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: styles.dock, children: Array.from({ length: DOCK }, (_, app) => (_jsx("i", {}, app))) }), _jsx("span", { className: styles.indicator })] }) }) }));
14
+ }
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/ios-application/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,8DAA8D;AAC9D,MAAM,IAAI,GAAG,EAAE,CAAC;AAChB,4BAA4B;AAC5B,MAAM,IAAI,GAAG,CAAC,CAAC;AAEf;;;GAGG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,KAAC,MAAM,IACL,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,KAAK,EACH,gBAAM,SAAS,EAAE,MAAM,CAAC,MAAM,aAC5B,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,YAC5B,aAAK,GACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YACzB,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CACxC,cAAQ,GAAG,CAAI,CAChB,CAAC,GACG,EACP,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YACzB,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CACxC,cAAQ,GAAG,CAAI,CAChB,CAAC,GACG,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,SAAS,GAAI,IAChC,GAET,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:ios-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-6deg) rotateY(26deg)}@keyframes ios-turn{0%,100%{transform:rotateX(-6deg) rotateY(28deg)}50%{transform:rotateX(-2deg) rotateY(-20deg)}}.phone{--width: 88px;--height: 178px;--depth: 9px;--radius: 20px;--front-amount: 4%;--edge-amount: 55%}.screen{position:absolute;inset:3px;overflow:hidden;border-radius:17px}.island{position:absolute;left:50%;top:6px;width:28px;height:9px;border-radius:9px;background:var(--foreground);transform:translateX(-50%);animation:ios-island 6s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.island{animation:none}}.island i{position:absolute;left:8px;right:8px;bottom:5px;height:2px;border-radius:1px;background:linear-gradient(90deg, var(--background) var(--done, 0%), color-mix(in srgb, var(--foreground) 70%, transparent) var(--done, 0%));opacity:0;animation:ios-activity 6s linear infinite}@media(prefers-reduced-motion: reduce){.island i{animation:none}}@keyframes ios-island{0%,8%,46%,100%{width:28px;height:9px}16%,38%{width:72px;height:20px}}@keyframes ios-activity{0%,14%{opacity:0;--done: 0%}18%{opacity:1}36%{opacity:1;--done: 100%}40%,100%{opacity:0;--done: 100%}}@property --done{syntax:"<percentage>";inherits:false;initial-value:0%}.apps{position:absolute;inset:26px 9px auto;display:grid;grid-template-columns:repeat(4, 1fr);gap:9px 6px}.apps i{aspect-ratio:1;border-radius:30%;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:linear-gradient(150deg, color-mix(in srgb, var(--foreground) 30%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent));animation:ios-jiggle 6s linear infinite}@media(prefers-reduced-motion: reduce){.apps i{animation:none}}.apps i:nth-child(odd){animation-name:ios-jiggle-other}@keyframes ios-jiggle{0%,52%,88%,100%{transform:rotate(0)}54%{transform:rotate(-4deg)}58%{transform:rotate(4deg)}62%{transform:rotate(-4deg)}66%{transform:rotate(4deg)}70%{transform:rotate(-4deg)}74%{transform:rotate(4deg)}78%{transform:rotate(-4deg)}82%{transform:rotate(4deg)}86%{transform:rotate(-4deg)}}@keyframes ios-jiggle-other{0%,52%,88%,100%{transform:rotate(0)}54%{transform:rotate(4deg)}58%{transform:rotate(-4deg)}62%{transform:rotate(4deg)}66%{transform:rotate(-4deg)}70%{transform:rotate(4deg)}74%{transform:rotate(-4deg)}78%{transform:rotate(4deg)}82%{transform:rotate(-4deg)}86%{transform:rotate(4deg)}}.dots{position:absolute;left:0;right:0;bottom:40px;display:flex;justify-content:center;gap:4px}.dots i{width:3px;height:3px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 35%, transparent)}.dots i:first-child{background:var(--foreground)}.dock{position:absolute;left:5px;right:5px;bottom:12px;display:grid;grid-template-columns:repeat(4, 1fr);gap:6px;padding:4px;border-radius:9px;background:color-mix(in srgb, var(--foreground) 14%, transparent)}.dock i{aspect-ratio:1;border-radius:30%;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:linear-gradient(150deg, color-mix(in srgb, var(--foreground) 40%, transparent), color-mix(in srgb, var(--foreground) 14%, transparent))}.indicator{position:absolute;left:50%;bottom:4px;width:30px;height:3px;margin-left:-15px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 60%, transparent)}