@manakind/shiptight-ui 0.2.1 → 0.3.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 (112) hide show
  1. package/README.md +41 -3
  2. package/dist/chart-scene/chart-scene.css +46 -0
  3. package/dist/chart-scene/chart-scene.css.d.ts +2 -0
  4. package/dist/chart-scene/chart-scene.d.ts +75 -0
  5. package/dist/chart-scene/chart-scene.d.ts.map +1 -0
  6. package/dist/chart-scene/chart-scene.js +93 -0
  7. package/dist/chart-scene/chart-scene.js.map +1 -0
  8. package/dist/chart-scene/index.d.ts +3 -0
  9. package/dist/chart-scene/index.d.ts.map +1 -0
  10. package/dist/chart-scene/index.js +2 -0
  11. package/dist/chart-scene/index.js.map +1 -0
  12. package/dist/chart-scene/layout.d.ts +72 -0
  13. package/dist/chart-scene/layout.d.ts.map +1 -0
  14. package/dist/chart-scene/layout.js +120 -0
  15. package/dist/chart-scene/layout.js.map +1 -0
  16. package/dist/illustrations/anchor.d.ts +4 -0
  17. package/dist/illustrations/anchor.d.ts.map +1 -0
  18. package/dist/illustrations/anchor.js +6 -0
  19. package/dist/illustrations/anchor.js.map +1 -0
  20. package/dist/illustrations/chart.d.ts +4 -0
  21. package/dist/illustrations/chart.d.ts.map +1 -0
  22. package/dist/illustrations/chart.js +6 -0
  23. package/dist/illustrations/chart.js.map +1 -0
  24. package/dist/illustrations/course.d.ts +4 -0
  25. package/dist/illustrations/course.d.ts.map +1 -0
  26. package/dist/illustrations/course.js +6 -0
  27. package/dist/illustrations/course.js.map +1 -0
  28. package/dist/illustrations/day-sail.d.ts +4 -0
  29. package/dist/illustrations/day-sail.d.ts.map +1 -0
  30. package/dist/illustrations/day-sail.js +6 -0
  31. package/dist/illustrations/day-sail.js.map +1 -0
  32. package/dist/illustrations/fitting-out.d.ts +4 -0
  33. package/dist/illustrations/fitting-out.d.ts.map +1 -0
  34. package/dist/illustrations/fitting-out.js +6 -0
  35. package/dist/illustrations/fitting-out.js.map +1 -0
  36. package/dist/illustrations/frame.d.ts +12 -0
  37. package/dist/illustrations/frame.d.ts.map +1 -0
  38. package/dist/illustrations/frame.js +15 -0
  39. package/dist/illustrations/frame.js.map +1 -0
  40. package/dist/illustrations/half-hull.d.ts +4 -0
  41. package/dist/illustrations/half-hull.d.ts.map +1 -0
  42. package/dist/illustrations/half-hull.js +6 -0
  43. package/dist/illustrations/half-hull.js.map +1 -0
  44. package/dist/illustrations/index.d.ts +26 -0
  45. package/dist/illustrations/index.d.ts.map +1 -0
  46. package/dist/illustrations/index.js +39 -0
  47. package/dist/illustrations/index.js.map +1 -0
  48. package/dist/illustrations/keel.d.ts +4 -0
  49. package/dist/illustrations/keel.d.ts.map +1 -0
  50. package/dist/illustrations/keel.js +6 -0
  51. package/dist/illustrations/keel.js.map +1 -0
  52. package/dist/illustrations/landfall.d.ts +4 -0
  53. package/dist/illustrations/landfall.d.ts.map +1 -0
  54. package/dist/illustrations/landfall.js +6 -0
  55. package/dist/illustrations/landfall.js.map +1 -0
  56. package/dist/illustrations/lodestar.d.ts +4 -0
  57. package/dist/illustrations/lodestar.d.ts.map +1 -0
  58. package/dist/illustrations/lodestar.js +6 -0
  59. package/dist/illustrations/lodestar.js.map +1 -0
  60. package/dist/illustrations/log.d.ts +4 -0
  61. package/dist/illustrations/log.d.ts.map +1 -0
  62. package/dist/illustrations/log.js +6 -0
  63. package/dist/illustrations/log.js.map +1 -0
  64. package/dist/illustrations/paint.d.ts +10 -0
  65. package/dist/illustrations/paint.d.ts.map +1 -0
  66. package/dist/illustrations/paint.js +9 -0
  67. package/dist/illustrations/paint.js.map +1 -0
  68. package/dist/illustrations/passage-plan.d.ts +4 -0
  69. package/dist/illustrations/passage-plan.d.ts.map +1 -0
  70. package/dist/illustrations/passage-plan.js +6 -0
  71. package/dist/illustrations/passage-plan.js.map +1 -0
  72. package/dist/illustrations/passage.d.ts +4 -0
  73. package/dist/illustrations/passage.d.ts.map +1 -0
  74. package/dist/illustrations/passage.js +6 -0
  75. package/dist/illustrations/passage.js.map +1 -0
  76. package/dist/illustrations/scuttled.d.ts +4 -0
  77. package/dist/illustrations/scuttled.d.ts.map +1 -0
  78. package/dist/illustrations/scuttled.js +6 -0
  79. package/dist/illustrations/scuttled.js.map +1 -0
  80. package/dist/illustrations/sounding.d.ts +4 -0
  81. package/dist/illustrations/sounding.d.ts.map +1 -0
  82. package/dist/illustrations/sounding.js +6 -0
  83. package/dist/illustrations/sounding.js.map +1 -0
  84. package/dist/illustrations/voyage.d.ts +4 -0
  85. package/dist/illustrations/voyage.d.ts.map +1 -0
  86. package/dist/illustrations/voyage.js +6 -0
  87. package/dist/illustrations/voyage.js.map +1 -0
  88. package/dist/index.d.ts +7 -3
  89. package/dist/index.d.ts.map +1 -1
  90. package/dist/index.js +6 -3
  91. package/dist/index.js.map +1 -1
  92. package/dist/scene/geometry.d.ts +17 -0
  93. package/dist/scene/geometry.d.ts.map +1 -0
  94. package/dist/scene/geometry.js +37 -0
  95. package/dist/scene/geometry.js.map +1 -0
  96. package/dist/scene/scene.css +123 -0
  97. package/dist/scene/scene.css.d.ts +2 -0
  98. package/dist/scene/vessels.d.ts +14 -0
  99. package/dist/scene/vessels.d.ts.map +1 -0
  100. package/dist/scene/vessels.js +19 -0
  101. package/dist/scene/vessels.js.map +1 -0
  102. package/dist/voyage-scene/index.d.ts +3 -0
  103. package/dist/voyage-scene/index.d.ts.map +1 -0
  104. package/dist/voyage-scene/index.js +2 -0
  105. package/dist/voyage-scene/index.js.map +1 -0
  106. package/dist/voyage-scene/voyage-scene.css +11 -0
  107. package/dist/voyage-scene/voyage-scene.css.d.ts +2 -0
  108. package/dist/voyage-scene/voyage-scene.d.ts +57 -0
  109. package/dist/voyage-scene/voyage-scene.d.ts.map +1 -0
  110. package/dist/voyage-scene/voyage-scene.js +54 -0
  111. package/dist/voyage-scene/voyage-scene.js.map +1 -0
  112. package/package.json +34 -8
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** Fitting out: a crane lowering a part onto a hull. */
3
+ export declare const FittingOutArtwork: IllustrationSource;
4
+ //# sourceMappingURL=fitting-out.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fitting-out.d.ts","sourceRoot":"","sources":["../../src/illustrations/fitting-out.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,wDAAwD;AACxD,eAAO,MAAM,iBAAiB,EAAE,kBAW/B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame, Waves } from './frame';
3
+ import { accent, muted } from './paint';
4
+ /** Fitting out: a crane lowering a part onto a hull. */
5
+ export const FittingOutArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M52 56 V8" }), _jsx("path", { d: "M52 10 H26" }), _jsx("path", { ...muted, d: "M52 20 L42 10" }), _jsx("path", { ...accent, d: "M30 10 V22" }), _jsx("path", { ...accent, d: "M30 22 a3 3 0 1 0 3 3" }), _jsx("path", { d: "M6 46 H42 L37 53 H11 Z" }), _jsx("path", { d: "M22 46 V28" }), _jsx(Waves, { y: 59 })] }));
6
+ //# sourceMappingURL=fitting-out.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fitting-out.js","sourceRoot":"","sources":["../../src/illustrations/fitting-out.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAExC,wDAAwD;AACxD,MAAM,CAAC,MAAM,iBAAiB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9D,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,WAAW,GAAG,EACtB,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,kBAAU,KAAK,EAAE,CAAC,EAAC,eAAe,GAAG,EACrC,kBAAU,MAAM,EAAE,CAAC,EAAC,YAAY,GAAG,EACnC,kBAAU,MAAM,EAAE,CAAC,EAAC,uBAAuB,GAAG,EAC9C,eAAM,CAAC,EAAC,wBAAwB,GAAG,EACnC,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,KAAC,KAAK,IAAC,CAAC,EAAE,EAAE,GAAI,IACV,CACT,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { SVGProps } from 'react';
2
+ /**
3
+ * The 64×64 grid every vocabulary drawing is drawn on. Hidden by default so a
4
+ * drawing rendered outside `Illustration` stays silent; `Illustration`
5
+ * replaces `aria-hidden` with a role and label when it is given one.
6
+ */
7
+ export declare function Frame({ children, ...props }: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
8
+ /** A band of waves across the drawing at `y`. */
9
+ export declare function Waves({ y }: {
10
+ y: number;
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=frame.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"frame.d.ts","sourceRoot":"","sources":["../../src/illustrations/frame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGtC;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,CAAC,aAAa,CAAC,2CAMpE;AAED,iDAAiD;AACjD,wBAAgB,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE;IAAE,CAAC,EAAE,MAAM,CAAA;CAAE,2CAEzC"}
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { muted } from './paint';
3
+ /**
4
+ * The 64×64 grid every vocabulary drawing is drawn on. Hidden by default so a
5
+ * drawing rendered outside `Illustration` stays silent; `Illustration`
6
+ * replaces `aria-hidden` with a role and label when it is given one.
7
+ */
8
+ export function Frame({ children, ...props }) {
9
+ return (_jsx("svg", { "aria-hidden": "true", viewBox: "0 0 64 64", ...props, children: children }));
10
+ }
11
+ /** A band of waves across the drawing at `y`. */
12
+ export function Waves({ y }) {
13
+ return _jsx("path", { ...muted, d: `M6 ${y} q4 -3 8 0 t8 0 t8 0 t8 0 t8 0 t8 0` });
14
+ }
15
+ //# sourceMappingURL=frame.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"frame.js","sourceRoot":"","sources":["../../src/illustrations/frame.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;GAIG;AACH,MAAM,UAAU,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAA2B;IACnE,OAAO,CACL,6BAAiB,MAAM,EAAC,OAAO,EAAC,WAAW,KAAK,KAAK,YAClD,QAAQ,GACL,CACP,CAAC;AACJ,CAAC;AAED,iDAAiD;AACjD,MAAM,UAAU,KAAK,CAAC,EAAE,CAAC,EAAiB;IACxC,OAAO,kBAAU,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,qCAAqC,GAAI,CAAC;AAC9E,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** A Half-hull: a shipwright's model hull mounted on a board. */
3
+ export declare const HalfHullArtwork: IllustrationSource;
4
+ //# sourceMappingURL=half-hull.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"half-hull.d.ts","sourceRoot":"","sources":["../../src/illustrations/half-hull.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,iEAAiE;AACjE,eAAO,MAAM,eAAe,EAAE,kBAO7B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame } from './frame';
3
+ import { accentWash, dashed, muted } from './paint';
4
+ /** A Half-hull: a shipwright's model hull mounted on a board. */
5
+ export const HalfHullArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("rect", { x: "6", y: "12", width: "52", height: "40", rx: "2" }), _jsx("path", { ...muted, d: "M24 12 v10 M40 12 v10" }), _jsx("path", { ...accentWash, d: "M12 24 H52 C50 34 42 40 32 40 C22 40 14 34 12 24 Z" }), _jsx("path", { ...muted, ...dashed, d: "M13 30 H51" })] }));
6
+ //# sourceMappingURL=half-hull.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"half-hull.js","sourceRoot":"","sources":["../../src/illustrations/half-hull.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEpD,iEAAiE;AACjE,MAAM,CAAC,MAAM,eAAe,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5D,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG,EACnD,kBAAU,KAAK,EAAE,CAAC,EAAC,uBAAuB,GAAG,EAC7C,kBAAU,UAAU,EAAE,CAAC,EAAC,oDAAoD,GAAG,EAC/E,kBAAU,KAAK,KAAM,MAAM,EAAE,CAAC,EAAC,YAAY,GAAG,IACxC,CACT,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ import { AnchorArtwork } from './anchor';
3
+ import { ChartArtwork } from './chart';
4
+ import { CourseArtwork } from './course';
5
+ import { DaySailArtwork } from './day-sail';
6
+ import { FittingOutArtwork } from './fitting-out';
7
+ import { HalfHullArtwork } from './half-hull';
8
+ import { KeelArtwork } from './keel';
9
+ import { LandfallArtwork } from './landfall';
10
+ import { LodestarArtwork } from './lodestar';
11
+ import { LogArtwork } from './log';
12
+ import { PassageArtwork } from './passage';
13
+ import { PassagePlanArtwork } from './passage-plan';
14
+ import { ScuttledArtwork } from './scuttled';
15
+ import { SoundingArtwork } from './sounding';
16
+ import { VoyageArtwork } from './voyage';
17
+ export { AnchorArtwork, ChartArtwork, CourseArtwork, DaySailArtwork, FittingOutArtwork, HalfHullArtwork, KeelArtwork, LandfallArtwork, LodestarArtwork, LogArtwork, PassageArtwork, PassagePlanArtwork, ScuttledArtwork, SoundingArtwork, VoyageArtwork, };
18
+ /** The Seaworthy vocabulary terms that have a drawing. */
19
+ export type ArtworkTerm = 'lodestar' | 'landfall' | 'passage' | 'course' | 'sounding' | 'halfhull' | 'keel' | 'fittingout' | 'plan' | 'chart' | 'voyage' | 'daysail' | 'log' | 'anchor' | 'scuttled';
20
+ /**
21
+ * Every vocabulary drawing, keyed by term. Render one through `Illustration`:
22
+ * `<Illustration source={artwork.landfall} decorative />` beside the term's
23
+ * name, or with a `label` when the drawing stands alone.
24
+ */
25
+ export declare const artwork: Readonly<Record<ArtworkTerm, IllustrationSource>>;
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/illustrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EACL,aAAa,EACb,YAAY,EACZ,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,eAAe,EACf,eAAe,EACf,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,aAAa,GACd,CAAC;AAEF,0DAA0D;AAC1D,MAAM,MAAM,WAAW,GACnB,UAAU,GACV,UAAU,GACV,SAAS,GACT,QAAQ,GACR,UAAU,GACV,UAAU,GACV,MAAM,GACN,YAAY,GACZ,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,KAAK,GACL,QAAQ,GACR,UAAU,CAAC;AAEf;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAgBrE,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { AnchorArtwork } from './anchor';
2
+ import { ChartArtwork } from './chart';
3
+ import { CourseArtwork } from './course';
4
+ import { DaySailArtwork } from './day-sail';
5
+ import { FittingOutArtwork } from './fitting-out';
6
+ import { HalfHullArtwork } from './half-hull';
7
+ import { KeelArtwork } from './keel';
8
+ import { LandfallArtwork } from './landfall';
9
+ import { LodestarArtwork } from './lodestar';
10
+ import { LogArtwork } from './log';
11
+ import { PassageArtwork } from './passage';
12
+ import { PassagePlanArtwork } from './passage-plan';
13
+ import { ScuttledArtwork } from './scuttled';
14
+ import { SoundingArtwork } from './sounding';
15
+ import { VoyageArtwork } from './voyage';
16
+ export { AnchorArtwork, ChartArtwork, CourseArtwork, DaySailArtwork, FittingOutArtwork, HalfHullArtwork, KeelArtwork, LandfallArtwork, LodestarArtwork, LogArtwork, PassageArtwork, PassagePlanArtwork, ScuttledArtwork, SoundingArtwork, VoyageArtwork, };
17
+ /**
18
+ * Every vocabulary drawing, keyed by term. Render one through `Illustration`:
19
+ * `<Illustration source={artwork.landfall} decorative />` beside the term's
20
+ * name, or with a `label` when the drawing stands alone.
21
+ */
22
+ export const artwork = {
23
+ lodestar: LodestarArtwork,
24
+ landfall: LandfallArtwork,
25
+ passage: PassageArtwork,
26
+ course: CourseArtwork,
27
+ sounding: SoundingArtwork,
28
+ halfhull: HalfHullArtwork,
29
+ keel: KeelArtwork,
30
+ fittingout: FittingOutArtwork,
31
+ plan: PassagePlanArtwork,
32
+ chart: ChartArtwork,
33
+ voyage: VoyageArtwork,
34
+ daysail: DaySailArtwork,
35
+ log: LogArtwork,
36
+ anchor: AnchorArtwork,
37
+ scuttled: ScuttledArtwork,
38
+ };
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/illustrations/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EACL,aAAa,EACb,YAAY,EACZ,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,eAAe,EACf,eAAe,EACf,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,aAAa,GACd,CAAC;AAoBF;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAsD;IACxE,QAAQ,EAAE,eAAe;IACzB,QAAQ,EAAE,eAAe;IACzB,OAAO,EAAE,cAAc;IACvB,MAAM,EAAE,aAAa;IACrB,QAAQ,EAAE,eAAe;IACzB,QAAQ,EAAE,eAAe;IACzB,IAAI,EAAE,WAAW;IACjB,UAAU,EAAE,iBAAiB;IAC7B,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,aAAa;IACrB,OAAO,EAAE,cAAc;IACvB,GAAG,EAAE,UAAU;IACf,MAAM,EAAE,aAAa;IACrB,QAAQ,EAAE,eAAe;CAC1B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** A Keel: a hull section with its keel below the waterline. */
3
+ export declare const KeelArtwork: IllustrationSource;
4
+ //# sourceMappingURL=keel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keel.d.ts","sourceRoot":"","sources":["../../src/illustrations/keel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,gEAAgE;AAChE,eAAO,MAAM,WAAW,EAAE,kBAOzB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame } from './frame';
3
+ import { accentWash, dashed, muted } from './paint';
4
+ /** A Keel: a hull section with its keel below the waterline. */
5
+ export const KeelArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M6 16 H58" }), _jsx("path", { d: "M8 16 C10 32 20 40 32 40 C44 40 54 32 56 16" }), _jsx("path", { ...muted, ...dashed, d: "M2 26 H62" }), _jsx("path", { ...accentWash, d: "M28 40 L30 58 H34 L36 40" })] }));
6
+ //# sourceMappingURL=keel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keel.js","sourceRoot":"","sources":["../../src/illustrations/keel.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEpD,gEAAgE;AAChE,MAAM,CAAC,MAAM,WAAW,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACxD,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,WAAW,GAAG,EACtB,eAAM,CAAC,EAAC,6CAA6C,GAAG,EACxD,kBAAU,KAAK,KAAM,MAAM,EAAE,CAAC,EAAC,WAAW,GAAG,EAC7C,kBAAU,UAAU,EAAE,CAAC,EAAC,0BAA0B,GAAG,IAC/C,CACT,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** A Landfall: an island with a flag on its peak. */
3
+ export declare const LandfallArtwork: IllustrationSource;
4
+ //# sourceMappingURL=landfall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"landfall.d.ts","sourceRoot":"","sources":["../../src/illustrations/landfall.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,qDAAqD;AACrD,eAAO,MAAM,eAAe,EAAE,kBAO7B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame, Waves } from './frame';
3
+ import { accentWash, land } from './paint';
4
+ /** A Landfall: an island with a flag on its peak. */
5
+ export const LandfallArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { ...land, d: "M6 46 C12 40 16 35 24 35 C28 29 36 27 40 32 C46 32 52 38 58 46 Z" }), _jsx("path", { d: "M36 30 V12" }), _jsx("path", { ...accentWash, d: "M36 12 L48 16 L36 20 Z" }), _jsx(Waves, { y: 53 })] }));
6
+ //# sourceMappingURL=landfall.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"landfall.js","sourceRoot":"","sources":["../../src/illustrations/landfall.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE3C,qDAAqD;AACrD,MAAM,CAAC,MAAM,eAAe,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5D,MAAC,KAAK,OAAK,KAAK,aACd,kBAAU,IAAI,EAAE,CAAC,EAAC,kEAAkE,GAAG,EACvF,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,kBAAU,UAAU,EAAE,CAAC,EAAC,wBAAwB,GAAG,EACnD,KAAC,KAAK,IAAC,CAAC,EAAE,EAAE,GAAI,IACV,CACT,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** The Lodestar: a star above the horizon. */
3
+ export declare const LodestarArtwork: IllustrationSource;
4
+ //# sourceMappingURL=lodestar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lodestar.d.ts","sourceRoot":"","sources":["../../src/illustrations/lodestar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,8CAA8C;AAC9C,eAAO,MAAM,eAAe,EAAE,kBAO7B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame, Waves } from './frame';
3
+ import { accentWash, muted } from './paint';
4
+ /** The Lodestar: a star above the horizon. */
5
+ export const LodestarArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { ...accentWash, d: "M32 8 L35.5 19 L46 22 L35.5 25 L32 36 L28.5 25 L18 22 L28.5 19 Z" }), _jsx("path", { ...muted, d: "M13 12 v4 M11 14 h4 M51 10 v3 M49.5 11.5 h3" }), _jsx("path", { d: "M4 46 H60" }), _jsx(Waves, { y: 53 })] }));
6
+ //# sourceMappingURL=lodestar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lodestar.js","sourceRoot":"","sources":["../../src/illustrations/lodestar.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE5C,8CAA8C;AAC9C,MAAM,CAAC,MAAM,eAAe,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5D,MAAC,KAAK,OAAK,KAAK,aACd,kBAAU,UAAU,EAAE,CAAC,EAAC,kEAAkE,GAAG,EAC7F,kBAAU,KAAK,EAAE,CAAC,EAAC,6CAA6C,GAAG,EACnE,eAAM,CAAC,EAAC,WAAW,GAAG,EACtB,KAAC,KAAK,IAAC,CAAC,EAAE,EAAE,GAAI,IACV,CACT,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** A Log: an open logbook with a rising line. */
3
+ export declare const LogArtwork: IllustrationSource;
4
+ //# sourceMappingURL=log.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/illustrations/log.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,iDAAiD;AACjD,eAAO,MAAM,UAAU,EAAE,kBAOxB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame } from './frame';
3
+ import { accent, muted } from './paint';
4
+ /** A Log: an open logbook with a rising line. */
5
+ export const LogArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M32 16 C24 12 14 12 8 14 V50 C14 48 24 48 32 52 C40 48 50 48 56 50 V14 C50 12 40 12 32 16 Z" }), _jsx("path", { d: "M32 16 V52" }), _jsx("path", { ...muted, d: "M13 22 h13 M13 28 h13 M13 34 h9" }), _jsx("path", { ...accent, d: "M37 40 L42 33 L47 36 L52 24" })] }));
6
+ //# sourceMappingURL=log.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.js","sourceRoot":"","sources":["../../src/illustrations/log.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAExC,iDAAiD;AACjD,MAAM,CAAC,MAAM,UAAU,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACvD,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,6FAA6F,GAAG,EACxG,eAAM,CAAC,EAAC,YAAY,GAAG,EACvB,kBAAU,KAAK,EAAE,CAAC,EAAC,iCAAiC,GAAG,EACvD,kBAAU,MAAM,EAAE,CAAC,EAAC,6BAA6B,GAAG,IAC9C,CACT,CAAC"}
@@ -0,0 +1,10 @@
1
+ /** The paint every vocabulary drawing uses, named for what it draws. */
2
+ export declare const muted: import("@manakind/ui-core").IllustrationPaintAttributes;
3
+ export declare const accent: import("@manakind/ui-core").IllustrationPaintAttributes;
4
+ export declare const accentWash: import("@manakind/ui-core").IllustrationPaintAttributes;
5
+ export declare const land: import("@manakind/ui-core").IllustrationPaintAttributes;
6
+ /** A dashed line: a course not yet sailed, or a waterline. */
7
+ export declare const dashed: {
8
+ strokeDasharray: string;
9
+ };
10
+ //# sourceMappingURL=paint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../src/illustrations/paint.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,eAAO,MAAM,KAAK,yDAAuC,CAAC;AAC1D,eAAO,MAAM,MAAM,yDAAwC,CAAC;AAC5D,eAAO,MAAM,UAAU,yDAAwD,CAAC;AAChF,eAAO,MAAM,IAAI,yDAAwD,CAAC;AAE1E,8DAA8D;AAC9D,eAAO,MAAM,MAAM;;CAA6B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { illustrationPaint } from '@manakind/ui-core';
2
+ /** The paint every vocabulary drawing uses, named for what it draws. */
3
+ export const muted = illustrationPaint({ line: 'muted' });
4
+ export const accent = illustrationPaint({ line: 'accent' });
5
+ export const accentWash = illustrationPaint({ line: 'accent', fill: 'accent' });
6
+ export const land = illustrationPaint({ line: 'muted', fill: 'default' });
7
+ /** A dashed line: a course not yet sailed, or a waterline. */
8
+ export const dashed = { strokeDasharray: '4 4' };
9
+ //# sourceMappingURL=paint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paint.js","sourceRoot":"","sources":["../../src/illustrations/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,wEAAwE;AACxE,MAAM,CAAC,MAAM,KAAK,GAAG,iBAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,MAAM,GAAG,iBAAiB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,UAAU,GAAG,iBAAiB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAChF,MAAM,CAAC,MAAM,IAAI,GAAG,iBAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;AAE1E,8DAA8D;AAC9D,MAAM,CAAC,MAAM,MAAM,GAAG,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** A Passage Plan: a folded chart with a plotted course to a mark. */
3
+ export declare const PassagePlanArtwork: IllustrationSource;
4
+ //# sourceMappingURL=passage-plan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passage-plan.d.ts","sourceRoot":"","sources":["../../src/illustrations/passage-plan.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,sEAAsE;AACtE,eAAO,MAAM,kBAAkB,EAAE,kBAOhC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame } from './frame';
3
+ import { accent, dashed, muted } from './paint';
4
+ /** A Passage Plan: a folded chart with a plotted course to a mark. */
5
+ export const PassagePlanArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M6 14 L22 10 L42 16 L58 12 V50 L42 54 L22 48 L6 52 Z" }), _jsx("path", { ...muted, d: "M22 10 V48 M42 16 V54" }), _jsx("path", { ...accent, ...dashed, d: "M12 42 C20 36 28 34 34 30 C40 26 46 26 50 22" }), _jsx("path", { ...accent, d: "M48 18 l5 5 M53 18 l-5 5" })] }));
6
+ //# sourceMappingURL=passage-plan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passage-plan.js","sourceRoot":"","sources":["../../src/illustrations/passage-plan.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhD,sEAAsE;AACtE,MAAM,CAAC,MAAM,kBAAkB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC/D,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,sDAAsD,GAAG,EACjE,kBAAU,KAAK,EAAE,CAAC,EAAC,uBAAuB,GAAG,EAC7C,kBAAU,MAAM,KAAM,MAAM,EAAE,CAAC,EAAC,8CAA8C,GAAG,EACjF,kBAAU,MAAM,EAAE,CAAC,EAAC,0BAA0B,GAAG,IAC3C,CACT,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** A Passage: a dashed course between two coasts. */
3
+ export declare const PassageArtwork: IllustrationSource;
4
+ //# sourceMappingURL=passage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passage.d.ts","sourceRoot":"","sources":["../../src/illustrations/passage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,qDAAqD;AACrD,eAAO,MAAM,cAAc,EAAE,kBAM5B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame } from './frame';
3
+ import { accent, dashed, land } from './paint';
4
+ /** A Passage: a dashed course between two coasts. */
5
+ export const PassageArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { ...land, d: "M4 10 C14 16 19 27 16 36 C14 44 9 50 4 56 Z" }), _jsx("path", { ...land, d: "M60 8 C50 15 45 26 48 34 C50 42 55 48 60 54 Z" }), _jsx("path", { ...accent, ...dashed, d: "M26 60 C30 46 36 30 38 4" })] }));
6
+ //# sourceMappingURL=passage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passage.js","sourceRoot":"","sources":["../../src/illustrations/passage.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/C,qDAAqD;AACrD,MAAM,CAAC,MAAM,cAAc,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC3D,MAAC,KAAK,OAAK,KAAK,aACd,kBAAU,IAAI,EAAE,CAAC,EAAC,6CAA6C,GAAG,EAClE,kBAAU,IAAI,EAAE,CAAC,EAAC,+CAA+C,GAAG,EACpE,kBAAU,MAAM,KAAM,MAAM,EAAE,CAAC,EAAC,0BAA0B,GAAG,IACvD,CACT,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** Scuttled: a hull sinking below the waterline, its mast broken. */
3
+ export declare const ScuttledArtwork: IllustrationSource;
4
+ //# sourceMappingURL=scuttled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scuttled.d.ts","sourceRoot":"","sources":["../../src/illustrations/scuttled.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,qEAAqE;AACrE,eAAO,MAAM,eAAe,EAAE,kBAO7B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame, Waves } from './frame';
3
+ import { muted } from './paint';
4
+ /** Scuttled: a hull sinking below the waterline, its mast broken. */
5
+ export const ScuttledArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M10 40 L50 30 L54 38 L16 50 Z" }), _jsx("path", { ...muted, d: "M30 36 L25 18 M25 18 L20 16" }), _jsx("path", { ...muted, d: "M2 44 H62" }), _jsx(Waves, { y: 54 })] }));
6
+ //# sourceMappingURL=scuttled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scuttled.js","sourceRoot":"","sources":["../../src/illustrations/scuttled.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qEAAqE;AACrE,MAAM,CAAC,MAAM,eAAe,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5D,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,+BAA+B,GAAG,EAC1C,kBAAU,KAAK,EAAE,CAAC,EAAC,6BAA6B,GAAG,EACnD,kBAAU,KAAK,EAAE,CAAC,EAAC,WAAW,GAAG,EACjC,KAAC,KAAK,IAAC,CAAC,EAAE,EAAE,GAAI,IACV,CACT,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** A Sounding: a lead line dropped from a boat, sending sound waves down. */
3
+ export declare const SoundingArtwork: IllustrationSource;
4
+ //# sourceMappingURL=sounding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sounding.d.ts","sourceRoot":"","sources":["../../src/illustrations/sounding.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,6EAA6E;AAC7E,eAAO,MAAM,eAAe,EAAE,kBAS7B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame } from './frame';
3
+ import { accent, accentWash, muted } from './paint';
4
+ /** A Sounding: a lead line dropped from a boat, sending sound waves down. */
5
+ export const SoundingArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M14 16 H50 L44 24 H20 Z" }), _jsx("path", { d: "M4 24 H60" }), _jsx("path", { ...accent, d: "M36 20 V50" }), _jsx("path", { ...muted, d: "M31 30 q5 4 10 0 M27 36 q9 6 18 0 M23 42 q13 8 26 0" }), _jsx("path", { ...accentWash, d: "M33 50 h6 l-1 6 h-4 z" }), _jsx("path", { ...muted, d: "M4 60 q8 -3 16 0 t16 0 t16 0 t12 0" })] }));
6
+ //# sourceMappingURL=sounding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sounding.js","sourceRoot":"","sources":["../../src/illustrations/sounding.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEpD,6EAA6E;AAC7E,MAAM,CAAC,MAAM,eAAe,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5D,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,yBAAyB,GAAG,EACpC,eAAM,CAAC,EAAC,WAAW,GAAG,EACtB,kBAAU,MAAM,EAAE,CAAC,EAAC,YAAY,GAAG,EACnC,kBAAU,KAAK,EAAE,CAAC,EAAC,qDAAqD,GAAG,EAC3E,kBAAU,UAAU,EAAE,CAAC,EAAC,uBAAuB,GAAG,EAClD,kBAAU,KAAK,EAAE,CAAC,EAAC,oCAAoC,GAAG,IACpD,CACT,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { IllustrationSource } from '@manakind/ui-core';
2
+ /** A Voyage: a ship under full sail. */
3
+ export declare const VoyageArtwork: IllustrationSource;
4
+ //# sourceMappingURL=voyage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voyage.d.ts","sourceRoot":"","sources":["../../src/illustrations/voyage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,wCAAwC;AACxC,eAAO,MAAM,aAAa,EAAE,kBAQ3B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Frame, Waves } from './frame';
3
+ import { accentWash } from './paint';
4
+ /** A Voyage: a ship under full sail. */
5
+ export const VoyageArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M8 44 H56 L50 51 H14 Z" }), _jsx("path", { d: "M32 44 V8" }), _jsx("path", { ...accentWash, d: "M33 10 L50 40 H33 Z" }), _jsx("path", { d: "M30 14 L16 40 H30" }), _jsx(Waves, { y: 57 })] }));
6
+ //# sourceMappingURL=voyage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voyage.js","sourceRoot":"","sources":["../../src/illustrations/voyage.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,wCAAwC;AACxC,MAAM,CAAC,MAAM,aAAa,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1D,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,wBAAwB,GAAG,EACnC,eAAM,CAAC,EAAC,WAAW,GAAG,EACtB,kBAAU,UAAU,EAAE,CAAC,EAAC,qBAAqB,GAAG,EAChD,eAAM,CAAC,EAAC,mBAAmB,GAAG,EAC9B,KAAC,KAAK,IAAC,CAAC,EAAE,EAAE,GAAI,IACV,CACT,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,12 +1,16 @@
1
1
  /**
2
2
  * `@manakind/shiptight-ui` is the ShipTight-flavored surface of the Manakind design system.
3
3
  *
4
- * It re-exports the shared base components from `@manakind/ui-core`.
5
- * ShipTight-specific compositions (`sti-` prefixed) are added here as they
6
- * are built.
4
+ * It re-exports the shared base components from `@manakind/ui-core` and adds
5
+ * ShipTight's own: the Seaworthy vocabulary artwork, drawn for ui-core's
6
+ * `Illustration`, and the scenes composed from it.
7
7
  *
8
8
  * The ShipTight theme is provided at runtime by importing
9
9
  * `@manakind/shiptight-tokens/css/theme` and the underlying token layers.
10
10
  */
11
11
  export * from '@manakind/ui-core';
12
+ export * from './chart-scene';
13
+ export * from './illustrations';
14
+ export type { SceneVessel } from './scene/vessels';
15
+ export * from './voyage-scene';
12
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,cAAc,gBAAgB,CAAC"}
package/dist/index.js CHANGED
@@ -1,12 +1,15 @@
1
1
  /**
2
2
  * `@manakind/shiptight-ui` is the ShipTight-flavored surface of the Manakind design system.
3
3
  *
4
- * It re-exports the shared base components from `@manakind/ui-core`.
5
- * ShipTight-specific compositions (`sti-` prefixed) are added here as they
6
- * are built.
4
+ * It re-exports the shared base components from `@manakind/ui-core` and adds
5
+ * ShipTight's own: the Seaworthy vocabulary artwork, drawn for ui-core's
6
+ * `Illustration`, and the scenes composed from it.
7
7
  *
8
8
  * The ShipTight theme is provided at runtime by importing
9
9
  * `@manakind/shiptight-tokens/css/theme` and the underlying token layers.
10
10
  */
11
11
  export * from '@manakind/ui-core';
12
+ export * from './chart-scene';
13
+ export * from './illustrations';
14
+ export * from './voyage-scene';
12
15
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /** A point in a scene's user units. */
2
+ export interface Point {
3
+ x: number;
4
+ y: number;
5
+ }
6
+ /** A cubic Bézier: start, two control points, end. */
7
+ export type Cubic = readonly [Point, Point, Point, Point];
8
+ /** The point `t` (0..1, clamped) of the way along a curve. */
9
+ export declare function pointAt([a, b, c, d]: Cubic, t: number): Point;
10
+ /**
11
+ * The curve cut at `t` (de Casteljau), so a route's sailed leg can be drawn
12
+ * solid and the leg still ahead dashed.
13
+ */
14
+ export declare function split(curve: Cubic, t: number): [Cubic, Cubic];
15
+ /** SVG path data for a curve. */
16
+ export declare function pathOf([a, b, c, d]: Cubic): string;
17
+ //# sourceMappingURL=geometry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../src/scene/geometry.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,sDAAsD;AACtD,MAAM,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;AAI1D,8DAA8D;AAC9D,wBAAgB,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,GAAG,KAAK,CAO7D;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAiB7D;AAED,iCAAiC;AACjC,wBAAgB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,GAAG,MAAM,CAElD"}
@@ -0,0 +1,37 @@
1
+ const clamp01 = (t) => Math.min(1, Math.max(0, t));
2
+ /** The point `t` (0..1, clamped) of the way along a curve. */
3
+ export function pointAt([a, b, c, d], t) {
4
+ const s = clamp01(t);
5
+ const u = 1 - s;
6
+ return {
7
+ x: u ** 3 * a.x + 3 * u * u * s * b.x + 3 * u * s * s * c.x + s ** 3 * d.x,
8
+ y: u ** 3 * a.y + 3 * u * u * s * b.y + 3 * u * s * s * c.y + s ** 3 * d.y,
9
+ };
10
+ }
11
+ /**
12
+ * The curve cut at `t` (de Casteljau), so a route's sailed leg can be drawn
13
+ * solid and the leg still ahead dashed.
14
+ */
15
+ export function split(curve, t) {
16
+ const s = clamp01(t);
17
+ const [a, b, c, d] = curve;
18
+ const lerp = (p, q) => ({
19
+ x: p.x + (q.x - p.x) * s,
20
+ y: p.y + (q.y - p.y) * s,
21
+ });
22
+ const ab = lerp(a, b);
23
+ const bc = lerp(b, c);
24
+ const cd = lerp(c, d);
25
+ const abc = lerp(ab, bc);
26
+ const bcd = lerp(bc, cd);
27
+ const m = lerp(abc, bcd);
28
+ return [
29
+ [a, ab, abc, m],
30
+ [m, bcd, cd, d],
31
+ ];
32
+ }
33
+ /** SVG path data for a curve. */
34
+ export function pathOf([a, b, c, d]) {
35
+ return `M${a.x} ${a.y} C${b.x} ${b.y} ${c.x} ${c.y} ${d.x} ${d.y}`;
36
+ }
37
+ //# sourceMappingURL=geometry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geometry.js","sourceRoot":"","sources":["../../src/scene/geometry.ts"],"names":[],"mappings":"AASA,MAAM,OAAO,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE3D,8DAA8D;AAC9D,MAAM,UAAU,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAQ,EAAE,CAAS;IACpD,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACrB,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChB,OAAO;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1E,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;KAC3E,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,KAAK,CAAC,KAAY,EAAE,CAAS;IAC3C,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACrB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC;IAC3B,MAAM,IAAI,GAAG,CAAC,CAAQ,EAAE,CAAQ,EAAS,EAAE,CAAC,CAAC;QAC3C,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;QACxB,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;KACzB,CAAC,CAAC;IACH,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACtB,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACtB,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACtB,MAAM,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IACzB,MAAM,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IACzB,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACzB,OAAO;QACL,CAAC,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QACf,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;KAChB,CAAC;AACJ,CAAC;AAED,iCAAiC;AACjC,MAAM,UAAU,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAQ;IACxC,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;AACrE,CAAC"}