@manakind/shiptight-ui 0.10.1 → 0.11.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 +9 -3
- package/dist/band-chip/band-chip.css +11 -0
- package/dist/band-chip/band-chip.css.d.ts +2 -0
- package/dist/band-chip/band-chip.d.ts +55 -0
- package/dist/band-chip/band-chip.d.ts.map +1 -0
- package/dist/band-chip/band-chip.js +67 -0
- package/dist/band-chip/band-chip.js.map +1 -0
- package/dist/band-chip/index.d.ts +3 -0
- package/dist/band-chip/index.d.ts.map +1 -0
- package/dist/band-chip/index.js +2 -0
- package/dist/band-chip/index.js.map +1 -0
- package/dist/illustrations/attitudinal-method.d.ts +4 -0
- package/dist/illustrations/attitudinal-method.d.ts.map +1 -0
- package/dist/illustrations/attitudinal-method.js +6 -0
- package/dist/illustrations/attitudinal-method.js.map +1 -0
- package/dist/illustrations/behavioural-method.d.ts +4 -0
- package/dist/illustrations/behavioural-method.d.ts.map +1 -0
- package/dist/illustrations/behavioural-method.js +6 -0
- package/dist/illustrations/behavioural-method.js.map +1 -0
- package/dist/illustrations/contextual-method.d.ts +4 -0
- package/dist/illustrations/contextual-method.d.ts.map +1 -0
- package/dist/illustrations/contextual-method.js +6 -0
- package/dist/illustrations/contextual-method.js.map +1 -0
- package/dist/illustrations/experiment-method.d.ts +4 -0
- package/dist/illustrations/experiment-method.d.ts.map +1 -0
- package/dist/illustrations/experiment-method.js +6 -0
- package/dist/illustrations/experiment-method.js.map +1 -0
- package/dist/illustrations/expert-method.d.ts +4 -0
- package/dist/illustrations/expert-method.d.ts.map +1 -0
- package/dist/illustrations/expert-method.js +6 -0
- package/dist/illustrations/expert-method.js.map +1 -0
- package/dist/illustrations/frame.d.ts +4 -3
- package/dist/illustrations/frame.d.ts.map +1 -1
- package/dist/illustrations/frame.js +4 -3
- package/dist/illustrations/frame.js.map +1 -1
- package/dist/illustrations/index.d.ts +23 -1
- package/dist/illustrations/index.d.ts.map +1 -1
- package/dist/illustrations/index.js +26 -1
- package/dist/illustrations/index.js.map +1 -1
- package/dist/illustrations/interview-method.d.ts +4 -0
- package/dist/illustrations/interview-method.d.ts.map +1 -0
- package/dist/illustrations/interview-method.js +6 -0
- package/dist/illustrations/interview-method.js.map +1 -0
- package/dist/illustrations/paint.d.ts +1 -1
- package/dist/illustrations/paint.d.ts.map +1 -1
- package/dist/illustrations/paint.js +1 -1
- package/dist/illustrations/paint.js.map +1 -1
- package/dist/illustrations/prototype-method.d.ts +4 -0
- package/dist/illustrations/prototype-method.d.ts.map +1 -0
- package/dist/illustrations/prototype-method.js +6 -0
- package/dist/illustrations/prototype-method.js.map +1 -0
- package/dist/illustrations/support-signal-method.d.ts +4 -0
- package/dist/illustrations/support-signal-method.d.ts.map +1 -0
- package/dist/illustrations/support-signal-method.js +6 -0
- package/dist/illustrations/support-signal-method.js.map +1 -0
- package/dist/illustrations/usability-method.d.ts +4 -0
- package/dist/illustrations/usability-method.d.ts.map +1 -0
- package/dist/illustrations/usability-method.js +6 -0
- package/dist/illustrations/usability-method.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
The ShipTight-flavored surface of the [Manakind](https://github.com/Humanity-Plus/Manakind)
|
|
4
4
|
design system. It re-exports the shared base components from `@manakind/ui-core`
|
|
5
|
-
and adds ShipTight's own: the Seaworthy vocabulary artwork
|
|
6
|
-
from it (`sti-` prefixed)
|
|
5
|
+
and adds ShipTight's own: the Seaworthy vocabulary artwork, the scenes drawn
|
|
6
|
+
from it (`sti-` prefixed), a drawing per research method family, and the
|
|
7
|
+
confidence band chip.
|
|
7
8
|
|
|
8
9
|
Pair it with `@manakind/shiptight-tokens`, whose `theme.css` resolves the
|
|
9
10
|
`--ds-*` contract into ShipTight's Chart paper and Night watch themes.
|
|
@@ -49,6 +50,10 @@ Everything is exported from the package root, `@manakind/shiptight-ui`.
|
|
|
49
50
|
| Everything in `@manakind/ui-core` | The shared base components, including `Illustration` and `illustrationPaint` |
|
|
50
51
|
| `artwork`, `ArtworkTerm` | Every Seaworthy vocabulary drawing, keyed by term (`lodestar`, `landfall`, `passage`, `course`, `sounding`, `halfhull`, `keel`, `fittingout`, `plan`, `chart`, `voyage`, `daysail`, `log`, `anchor`, `scuttled`) |
|
|
51
52
|
| `LodestarArtwork`, `LandfallArtwork`, … `ScuttledArtwork` | The same drawings one by one, each an `IllustrationSource` |
|
|
53
|
+
| `methodArtwork`, `MethodFamily` | One drawing per research method family, keyed by ShipTight's own family keys (`contextual`, `interview`, `support-signal`, `usability`, `prototype`, `behavioural`, `attitudinal`, `expert`, `experiment`) |
|
|
54
|
+
| `ContextualMethodArtwork`, `InterviewMethodArtwork`, … `ExperimentMethodArtwork` | The same method drawings one by one, each an `IllustrationSource` |
|
|
55
|
+
| `BandChip` | A Seaworthy confidence band (Uncharted, Low, Medium, High) as a chip, with sounding marks so it never relies on colour, and a lid when a ceiling holds it at Medium |
|
|
56
|
+
| `CONFIDENCE_BANDS`, `ConfidenceBand` | The bands in order, and their type |
|
|
52
57
|
| `ChartScene` | The Chart: Lodestar, Landfalls as islands, and each Passage as a route with its vessel and gates |
|
|
53
58
|
| `VoyageScene` | One voyage as a route from home port to its Landfall, stage by stage and gate by gate |
|
|
54
59
|
| `SceneVessel` | The vessel a scene draws: `voyage`, `daysail`, `anchor` or `wreck` |
|
|
@@ -56,9 +61,10 @@ Everything is exported from the package root, `@manakind/shiptight-ui`.
|
|
|
56
61
|
Render a drawing through `Illustration`, never on its own:
|
|
57
62
|
|
|
58
63
|
```tsx
|
|
59
|
-
import { artwork, Illustration } from '@manakind/shiptight-ui';
|
|
64
|
+
import { artwork, Illustration, methodArtwork } from '@manakind/shiptight-ui';
|
|
60
65
|
|
|
61
66
|
<Illustration source={artwork.landfall} decorative />
|
|
67
|
+
<Illustration source={methodArtwork[method.family]} decorative />
|
|
62
68
|
```
|
|
63
69
|
|
|
64
70
|
The scenes take plain props (titles, positions from 0 to 1, counts), never
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
/*
|
|
3
|
+
* The chip sits inside running text as well as in table cells. An
|
|
4
|
+
* inline-flex box whose first item is an SVG takes the SVG's bottom edge as
|
|
5
|
+
* its baseline, which lifts the chip above the line; centring it on the
|
|
6
|
+
* text keeps it level with the words around it.
|
|
7
|
+
*/
|
|
8
|
+
.sti-band-chip {
|
|
9
|
+
vertical-align: middle;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import './band-chip.css';
|
|
2
|
+
/** Seaworthy's confidence bands, from no counting evidence to well charted. */
|
|
3
|
+
export declare const CONFIDENCE_BANDS: readonly ["uncharted", "low", "medium", "high"];
|
|
4
|
+
export type ConfidenceBand = (typeof CONFIDENCE_BANDS)[number];
|
|
5
|
+
type BandChipName = {
|
|
6
|
+
/** The band's visible name. Defaults to English: Uncharted, Low, Medium or High. */
|
|
7
|
+
label?: undefined;
|
|
8
|
+
/**
|
|
9
|
+
* The chip's accessible name. Defaults to "Confidence: <band>", with
|
|
10
|
+
* ", capped" when a ceiling holds it. Replaces that default whole, so a
|
|
11
|
+
* name given for a capped chip must say it is capped itself.
|
|
12
|
+
*/
|
|
13
|
+
'aria-label'?: string;
|
|
14
|
+
} | {
|
|
15
|
+
label: string;
|
|
16
|
+
'aria-label': string;
|
|
17
|
+
};
|
|
18
|
+
export type BandChipProps = BandChipName & {
|
|
19
|
+
/** The band the engine computed. */
|
|
20
|
+
band: ConfidenceBand;
|
|
21
|
+
/**
|
|
22
|
+
* A ceiling is what holds the band at Medium: the evidence would score
|
|
23
|
+
* higher, but a requirement such as fresh contextual evidence is unmet.
|
|
24
|
+
* Draws a lid over the marks and adds ", capped" to the default accessible
|
|
25
|
+
* name; an `aria-label` of your own has to carry the cap itself.
|
|
26
|
+
* Show the ceiling's reason beside the chip; the mark only says one holds.
|
|
27
|
+
*
|
|
28
|
+
* Has no effect on another band. A ceiling caps at Medium, so it never holds
|
|
29
|
+
* Low, and High means no ceiling applied; marking either would be untrue.
|
|
30
|
+
*/
|
|
31
|
+
capped?: boolean;
|
|
32
|
+
/** Extra class names on the chip. */
|
|
33
|
+
className?: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* A Passage's or Course's confidence band, never a number or a percentage:
|
|
37
|
+
* Uncharted, Low, Medium or High.
|
|
38
|
+
*
|
|
39
|
+
* The band is carried three ways, so no reader depends on colour: by its name,
|
|
40
|
+
* by three sounding marks filled none, one, two or three deep, and by a tint
|
|
41
|
+
* that rises with it. A ceiling holding the band at Medium adds a lid over
|
|
42
|
+
* the marks.
|
|
43
|
+
*
|
|
44
|
+
* The chip is one labelled image, named "Confidence: Medium" by default, so
|
|
45
|
+
* it reads correctly in a table cell or beside unrelated text.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```tsx
|
|
49
|
+
* <BandChip band={result.band} />
|
|
50
|
+
* <BandChip band="medium" capped />
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function BandChip({ band, capped, label, 'aria-label': ariaLabel, className, }: BandChipProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=band-chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"band-chip.d.ts","sourceRoot":"","sources":["../../src/band-chip/band-chip.tsx"],"names":[],"mappings":"AACA,OAAO,iBAAiB,CAAC;AAEzB,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,iDAAkD,CAAC;AAEhF,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAwD/D,KAAK,YAAY,GACb;IACE,oFAAoF;IACpF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GACD;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG;IACzC,oCAAoC;IACpC,IAAI,EAAE,cAAc,CAAC;IACrB;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,MAAc,EACd,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,SAAS,GACV,EAAE,aAAa,2CAef"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Badge, cx } from '@manakind/ui-core';
|
|
3
|
+
import './band-chip.css';
|
|
4
|
+
/** Seaworthy's confidence bands, from no counting evidence to well charted. */
|
|
5
|
+
export const CONFIDENCE_BANDS = ['uncharted', 'low', 'medium', 'high'];
|
|
6
|
+
const BAND_NAME = {
|
|
7
|
+
uncharted: 'Uncharted',
|
|
8
|
+
low: 'Low',
|
|
9
|
+
medium: 'Medium',
|
|
10
|
+
high: 'High',
|
|
11
|
+
};
|
|
12
|
+
/*
|
|
13
|
+
* A rising scale of tints, so the chip reads at a glance in a table. The tint
|
|
14
|
+
* only reinforces: the marks and the name carry the band on their own.
|
|
15
|
+
*/
|
|
16
|
+
const BAND_VARIANT = {
|
|
17
|
+
uncharted: 'outline',
|
|
18
|
+
low: 'warning',
|
|
19
|
+
medium: 'info',
|
|
20
|
+
high: 'success',
|
|
21
|
+
};
|
|
22
|
+
/*
|
|
23
|
+
* Three sounding marks of rising depth on a 14×14 grid, Badge's small icon
|
|
24
|
+
* size, so a 1px outline lands on whole pixels. Each is outlined in the chip's
|
|
25
|
+
* text colour and filled when the band reaches it.
|
|
26
|
+
*/
|
|
27
|
+
const MARKS = [
|
|
28
|
+
{ x: 1.5, y: 9.5, height: 3 },
|
|
29
|
+
{ x: 6.5, y: 6.5, height: 6 },
|
|
30
|
+
{ x: 11.5, y: 3.5, height: 9 },
|
|
31
|
+
];
|
|
32
|
+
function soundingMarks(filled, capped = false) {
|
|
33
|
+
return (props) => (_jsxs("svg", { "aria-hidden": "true", viewBox: "0 0 14 14", ...props, children: [MARKS.map((mark, i) => (_jsx("rect", { ...mark, width: 2, rx: 0.5, fill: i < filled ? undefined : 'none' }, mark.x))), capped && _jsx("path", { d: "M1 1.5 H14" })] }));
|
|
34
|
+
}
|
|
35
|
+
const BAND_GLYPH = {
|
|
36
|
+
uncharted: soundingMarks(0),
|
|
37
|
+
low: soundingMarks(1),
|
|
38
|
+
medium: soundingMarks(2),
|
|
39
|
+
high: soundingMarks(3),
|
|
40
|
+
};
|
|
41
|
+
/** Medium under a ceiling: the same two marks, with a lid drawn over all three. */
|
|
42
|
+
const CAPPED_GLYPH = soundingMarks(2, true);
|
|
43
|
+
/**
|
|
44
|
+
* A Passage's or Course's confidence band, never a number or a percentage:
|
|
45
|
+
* Uncharted, Low, Medium or High.
|
|
46
|
+
*
|
|
47
|
+
* The band is carried three ways, so no reader depends on colour: by its name,
|
|
48
|
+
* by three sounding marks filled none, one, two or three deep, and by a tint
|
|
49
|
+
* that rises with it. A ceiling holding the band at Medium adds a lid over
|
|
50
|
+
* the marks.
|
|
51
|
+
*
|
|
52
|
+
* The chip is one labelled image, named "Confidence: Medium" by default, so
|
|
53
|
+
* it reads correctly in a table cell or beside unrelated text.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```tsx
|
|
57
|
+
* <BandChip band={result.band} />
|
|
58
|
+
* <BandChip band="medium" capped />
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export function BandChip({ band, capped = false, label, 'aria-label': ariaLabel, className, }) {
|
|
62
|
+
const held = capped && band === 'medium';
|
|
63
|
+
const name = label ?? BAND_NAME[band];
|
|
64
|
+
const accessibleName = ariaLabel ?? `Confidence: ${name}${held ? ', capped' : ''}`;
|
|
65
|
+
return (_jsx(Badge, { variant: BAND_VARIANT[band], icon: held ? CAPPED_GLYPH : BAND_GLYPH[band], "aria-label": accessibleName, className: cx('sti-band-chip', className), children: name }));
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=band-chip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"band-chip.js","sourceRoot":"","sources":["../../src/band-chip/band-chip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAqB,EAAE,EAAmB,MAAM,mBAAmB,CAAC;AAClF,OAAO,iBAAiB,CAAC;AAEzB,+EAA+E;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AAIhF,MAAM,SAAS,GAAmC;IAChD,SAAS,EAAE,WAAW;IACtB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,YAAY,GAAyC;IACzD,SAAS,EAAE,SAAS;IACpB,GAAG,EAAE,SAAS;IACd,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,SAAS;CAChB,CAAC;AAEF;;;;GAIG;AACH,MAAM,KAAK,GAAG;IACZ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE;IAC7B,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE;IAC7B,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE;CACtB,CAAC;AAEX,SAAS,aAAa,C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CAAC,EAC3B,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,gBAChC,cAAc,EAC1B,SAAS,EAAE,EAAE,CAAC,eAAe,EAAE,SAAS,CAAC,YAExC,IAAI,GACC,CACT,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/band-chip/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/band-chip/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attitudinal-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/attitudinal-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,wFAAwF;AACxF,eAAO,MAAM,wBAAwB,EAAE,kBActC,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, muted } from './paint';
|
|
4
|
+
/** Attitudinal research: a survey on a clipboard, each question answered on a scale. */
|
|
5
|
+
export const AttitudinalMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M24 10 H15 a3 3 0 0 0 -3 3 V55 a3 3 0 0 0 3 3 H49 a3 3 0 0 0 3 -3 V13 a3 3 0 0 0 -3 -3 H40" }), _jsx("rect", { x: "24", y: "6", width: "16", height: "7", rx: "2" }), _jsx("path", { ...muted, d: "M18 21 H40 M18 38 H36" }), _jsx("circle", { cx: "21", cy: "29", r: "2.5" }), _jsx("circle", { cx: "29", cy: "29", r: "2.5" }), _jsx("circle", { ...accentWash, cx: "37", cy: "29", r: "2.5" }), _jsx("circle", { cx: "45", cy: "29", r: "2.5" }), _jsx("circle", { ...accentWash, cx: "21", cy: "46", r: "2.5" }), _jsx("circle", { cx: "29", cy: "46", r: "2.5" }), _jsx("circle", { cx: "37", cy: "46", r: "2.5" }), _jsx("circle", { cx: "45", cy: "46", r: "2.5" })] }));
|
|
6
|
+
//# sourceMappingURL=attitudinal-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attitudinal-method.js","sourceRoot":"","sources":["../../src/illustrations/attitudinal-method.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE5C,wFAAwF;AACxF,MAAM,CAAC,MAAM,wBAAwB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACrE,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,4FAA4F,GAAG,EACvG,eAAM,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,kBAAU,KAAK,EAAE,CAAC,EAAC,uBAAuB,GAAG,EAC7C,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClC,oBAAY,UAAU,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClD,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClC,oBAAY,UAAU,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClD,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAClC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,IAC5B,CACT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"behavioural-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/behavioural-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,iEAAiE;AACjE,eAAO,MAAM,wBAAwB,EAAE,kBAQtC,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
|
+
/** Behavioural data: a bar chart of what people actually did. */
|
|
5
|
+
export const BehaviouralMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { ...muted, ...dashed, d: "M10 20 H58 M10 36 H58" }), _jsx("rect", { x: "16", y: "32", width: "8", height: "22" }), _jsx("rect", { ...accentWash, x: "29", y: "16", width: "8", height: "38" }), _jsx("rect", { x: "42", y: "40", width: "8", height: "14" }), _jsx("path", { d: "M10 8 V54 H58" })] }));
|
|
6
|
+
//# sourceMappingURL=behavioural-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"behavioural-method.js","sourceRoot":"","sources":["../../src/illustrations/behavioural-method.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,wBAAwB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACrE,MAAC,KAAK,OAAK,KAAK,aACd,kBAAU,KAAK,KAAM,MAAM,EAAE,CAAC,EAAC,uBAAuB,GAAG,EACzD,eAAM,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,IAAI,GAAG,EAC5C,kBAAU,UAAU,EAAE,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,IAAI,GAAG,EAC5D,eAAM,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,IAAI,GAAG,EAC5C,eAAM,CAAC,EAAC,eAAe,GAAG,IACpB,CACT,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IllustrationSource } from '@manakind/ui-core';
|
|
2
|
+
/** Contextual research: a spyglass trained on a cottage ashore, watching people where they live and work. */
|
|
3
|
+
export declare const ContextualMethodArtwork: IllustrationSource;
|
|
4
|
+
//# sourceMappingURL=contextual-method.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextual-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/contextual-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,6GAA6G;AAC7G,eAAO,MAAM,uBAAuB,EAAE,kBAWrC,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, dashed, land, muted } from './paint';
|
|
4
|
+
/** Contextual research: a spyglass trained on a cottage ashore, watching people where they live and work. */
|
|
5
|
+
export const ContextualMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { ...land, d: "M30 48 C34 42 40 39 48 39 C54 39 58 42 62 45 V48 Z" }), _jsx("path", { d: "M42 39 V28 L48 21 L54 28 V39" }), _jsx("rect", { ...muted, x: "45", y: "29", width: "4", height: "4" }), _jsx("path", { ...muted, ...dashed, d: "M29.7 36 L41 31" }), _jsx("path", { d: "M4.3 45.4 L10.7 42.5 L12.1 45.8 L5.7 48.6 Z" }), _jsx("path", { d: "M10.3 41.8 L17.6 38.5 L19.8 43.3 L12.5 46.5 Z" }), _jsx("path", { ...accentWash, d: "M17.2 37.6 L25.5 33.9 L28.4 40.5 L20.2 44.2 Z" }), _jsx(Waves, { y: 56 })] }));
|
|
6
|
+
//# sourceMappingURL=contextual-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextual-method.js","sourceRoot":"","sources":["../../src/illustrations/contextual-method.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE1D,6GAA6G;AAC7G,MAAM,CAAC,MAAM,uBAAuB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACpE,MAAC,KAAK,OAAK,KAAK,aACd,kBAAU,IAAI,EAAE,CAAC,EAAC,oDAAoD,GAAG,EACzE,eAAM,CAAC,EAAC,8BAA8B,GAAG,EACzC,kBAAU,KAAK,EAAE,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,GAAG,EACtD,kBAAU,KAAK,KAAM,MAAM,EAAE,CAAC,EAAC,iBAAiB,GAAG,EACnD,eAAM,CAAC,EAAC,6CAA6C,GAAG,EACxD,eAAM,CAAC,EAAC,+CAA+C,GAAG,EAC1D,kBAAU,UAAU,EAAE,CAAC,EAAC,+CAA+C,GAAG,EAC1E,KAAC,KAAK,IAAC,CAAC,EAAE,EAAE,GAAI,IACV,CACT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiment-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/experiment-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,yEAAyE;AACzE,eAAO,MAAM,uBAAuB,EAAE,kBAWrC,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, muted } from './paint';
|
|
4
|
+
/** An experiment: a flask, with bubbles rising from what it measures. */
|
|
5
|
+
export const ExperimentMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { ...accentWash, d: "M20 40 q3 -2 6 0 t6 0 t6 0 t6 0 L50 52 a3 3 0 0 1 -3 4 H17 a3 3 0 0 1 -3 -4 Z" }), _jsx("path", { d: "M24 8 H40 M28 8 V24 L14 52 a3 3 0 0 0 3 4 H47 a3 3 0 0 0 3 -4 L36 24 V8" }), _jsx("circle", { ...muted, cx: "29", cy: "34", r: "1.5" }), _jsx("circle", { ...muted, cx: "34", cy: "28", r: "1" }), _jsx("circle", { ...muted, cx: "36", cy: "46", r: "2" })] }));
|
|
6
|
+
//# sourceMappingURL=experiment-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiment-method.js","sourceRoot":"","sources":["../../src/illustrations/experiment-method.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE5C,yEAAyE;AACzE,MAAM,CAAC,MAAM,uBAAuB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACpE,MAAC,KAAK,OAAK,KAAK,aACd,kBACM,UAAU,EACd,CAAC,EAAC,+EAA+E,GACjF,EACF,eAAM,CAAC,EAAC,yEAAyE,GAAG,EACpF,oBAAY,KAAK,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,GAAG,EAC7C,oBAAY,KAAK,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,EAC3C,oBAAY,KAAK,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,IACrC,CACT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expert-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/expert-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,EAAE,kBAQjC,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, muted } from './paint';
|
|
4
|
+
/** Expert review: a magnifying glass checking a page against the rules. */
|
|
5
|
+
export const ExpertMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("rect", { x: "8", y: "6", width: "34", height: "46", rx: "2" }), _jsx("path", { ...muted, d: "M14 14 H36 M14 20 H36 M14 26 H30" }), _jsx("circle", { ...accentWash, cx: "36", cy: "36", r: "12" }), _jsx("path", { d: "M30.5 36 l3.5 3.5 l7 -7.5" }), _jsx("path", { d: "M44.5 44.5 L56 56" })] }));
|
|
6
|
+
//# sourceMappingURL=expert-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expert-method.js","sourceRoot":"","sources":["../../src/illustrations/expert-method.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE5C,2EAA2E;AAC3E,MAAM,CAAC,MAAM,mBAAmB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CAChE,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,kBAAU,KAAK,EAAE,CAAC,EAAC,kCAAkC,GAAG,EACxD,oBAAY,UAAU,EAAE,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAG,EACjD,eAAM,CAAC,EAAC,2BAA2B,GAAG,EACtC,eAAM,CAAC,EAAC,mBAAmB,GAAG,IACxB,CACT,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { SVGProps } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* The 64×64 grid every
|
|
4
|
-
* drawing rendered outside `Illustration`
|
|
5
|
-
* replaces `aria-hidden` with a role and label
|
|
3
|
+
* The 64×64 grid every ShipTight drawing, vocabulary and method family, is
|
|
4
|
+
* drawn on. Hidden by default so a drawing rendered outside `Illustration`
|
|
5
|
+
* stays silent; `Illustration` replaces `aria-hidden` with a role and label
|
|
6
|
+
* when it is given one.
|
|
6
7
|
*/
|
|
7
8
|
export declare function Frame({ children, ...props }: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
/** A band of waves across the drawing at `y`. */
|
|
@@ -1 +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
|
|
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;;;;;GAKG;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"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { muted } from './paint';
|
|
3
3
|
/**
|
|
4
|
-
* The 64×64 grid every
|
|
5
|
-
* drawing rendered outside `Illustration`
|
|
6
|
-
* replaces `aria-hidden` with a role and label
|
|
4
|
+
* The 64×64 grid every ShipTight drawing, vocabulary and method family, is
|
|
5
|
+
* drawn on. Hidden by default so a drawing rendered outside `Illustration`
|
|
6
|
+
* stays silent; `Illustration` replaces `aria-hidden` with a role and label
|
|
7
|
+
* when it is given one.
|
|
7
8
|
*/
|
|
8
9
|
export function Frame({ children, ...props }) {
|
|
9
10
|
return (_jsx("svg", { "aria-hidden": "true", viewBox: "0 0 64 64", ...props, children: children }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frame.js","sourceRoot":"","sources":["../../src/illustrations/frame.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC
|
|
1
|
+
{"version":3,"file":"frame.js","sourceRoot":"","sources":["../../src/illustrations/frame.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;;GAKG;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"}
|
|
@@ -1,20 +1,29 @@
|
|
|
1
1
|
import type { IllustrationSource } from '@manakind/ui-core';
|
|
2
2
|
import { AnchorArtwork } from './anchor';
|
|
3
|
+
import { AttitudinalMethodArtwork } from './attitudinal-method';
|
|
4
|
+
import { BehaviouralMethodArtwork } from './behavioural-method';
|
|
3
5
|
import { ChartArtwork } from './chart';
|
|
6
|
+
import { ContextualMethodArtwork } from './contextual-method';
|
|
4
7
|
import { CourseArtwork } from './course';
|
|
5
8
|
import { DaySailArtwork } from './day-sail';
|
|
9
|
+
import { ExperimentMethodArtwork } from './experiment-method';
|
|
10
|
+
import { ExpertMethodArtwork } from './expert-method';
|
|
6
11
|
import { FittingOutArtwork } from './fitting-out';
|
|
7
12
|
import { HalfHullArtwork } from './half-hull';
|
|
13
|
+
import { InterviewMethodArtwork } from './interview-method';
|
|
8
14
|
import { KeelArtwork } from './keel';
|
|
9
15
|
import { LandfallArtwork } from './landfall';
|
|
10
16
|
import { LodestarArtwork } from './lodestar';
|
|
11
17
|
import { LogArtwork } from './log';
|
|
12
18
|
import { PassageArtwork } from './passage';
|
|
13
19
|
import { PassagePlanArtwork } from './passage-plan';
|
|
20
|
+
import { PrototypeMethodArtwork } from './prototype-method';
|
|
14
21
|
import { ScuttledArtwork } from './scuttled';
|
|
15
22
|
import { SoundingArtwork } from './sounding';
|
|
23
|
+
import { SupportSignalMethodArtwork } from './support-signal-method';
|
|
24
|
+
import { UsabilityMethodArtwork } from './usability-method';
|
|
16
25
|
import { VoyageArtwork } from './voyage';
|
|
17
|
-
export { AnchorArtwork, ChartArtwork, CourseArtwork, DaySailArtwork, FittingOutArtwork, HalfHullArtwork, KeelArtwork, LandfallArtwork, LodestarArtwork, LogArtwork, PassageArtwork, PassagePlanArtwork, ScuttledArtwork, SoundingArtwork, VoyageArtwork, };
|
|
26
|
+
export { AnchorArtwork, AttitudinalMethodArtwork, BehaviouralMethodArtwork, ChartArtwork, ContextualMethodArtwork, CourseArtwork, DaySailArtwork, ExperimentMethodArtwork, ExpertMethodArtwork, FittingOutArtwork, HalfHullArtwork, InterviewMethodArtwork, KeelArtwork, LandfallArtwork, LodestarArtwork, LogArtwork, PassageArtwork, PassagePlanArtwork, PrototypeMethodArtwork, ScuttledArtwork, SoundingArtwork, SupportSignalMethodArtwork, UsabilityMethodArtwork, VoyageArtwork, };
|
|
18
27
|
/** The Seaworthy vocabulary terms that have a drawing. */
|
|
19
28
|
export type ArtworkTerm = 'lodestar' | 'landfall' | 'passage' | 'course' | 'sounding' | 'halfhull' | 'keel' | 'fittingout' | 'plan' | 'chart' | 'voyage' | 'daysail' | 'log' | 'anchor' | 'scuttled';
|
|
20
29
|
/**
|
|
@@ -23,4 +32,17 @@ export type ArtworkTerm = 'lodestar' | 'landfall' | 'passage' | 'course' | 'soun
|
|
|
23
32
|
* name, or with a `label` when the drawing stands alone.
|
|
24
33
|
*/
|
|
25
34
|
export declare const artwork: Readonly<Record<ArtworkTerm, IllustrationSource>>;
|
|
35
|
+
/**
|
|
36
|
+
* The families a Sounding's research method belongs to. The keys copy
|
|
37
|
+
* ShipTight's `METHOD_FAMILIES`, so a method's `family` indexes
|
|
38
|
+
* `methodArtwork` directly; a family ShipTight adds without a drawing here
|
|
39
|
+
* fails ShipTight's typecheck where it indexes the map.
|
|
40
|
+
*/
|
|
41
|
+
export type MethodFamily = 'contextual' | 'interview' | 'support-signal' | 'usability' | 'prototype' | 'behavioural' | 'attitudinal' | 'expert' | 'experiment';
|
|
42
|
+
/**
|
|
43
|
+
* One drawing per research method family, so a Sounding's method is
|
|
44
|
+
* recognisable at a glance. Render one through `Illustration`, decorative
|
|
45
|
+
* beside the method's name: `<Illustration source={methodArtwork[method.family]} decorative />`.
|
|
46
|
+
*/
|
|
47
|
+
export declare const methodArtwork: Readonly<Record<MethodFamily, IllustrationSource>>;
|
|
26
48
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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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AAK,GACL,QAAQ,GACR,UAAU,CAAC;AAEf;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAgBrE,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,WAAW,GACX,gBAAgB,GAChB,WAAW,GACX,WAAW,GACX,aAAa,GACb,aAAa,GACb,QAAQ,GACR,YAAY,CAAC;AAEjB;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAU5E,CAAC"}
|
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import { AnchorArtwork } from './anchor';
|
|
2
|
+
import { AttitudinalMethodArtwork } from './attitudinal-method';
|
|
3
|
+
import { BehaviouralMethodArtwork } from './behavioural-method';
|
|
2
4
|
import { ChartArtwork } from './chart';
|
|
5
|
+
import { ContextualMethodArtwork } from './contextual-method';
|
|
3
6
|
import { CourseArtwork } from './course';
|
|
4
7
|
import { DaySailArtwork } from './day-sail';
|
|
8
|
+
import { ExperimentMethodArtwork } from './experiment-method';
|
|
9
|
+
import { ExpertMethodArtwork } from './expert-method';
|
|
5
10
|
import { FittingOutArtwork } from './fitting-out';
|
|
6
11
|
import { HalfHullArtwork } from './half-hull';
|
|
12
|
+
import { InterviewMethodArtwork } from './interview-method';
|
|
7
13
|
import { KeelArtwork } from './keel';
|
|
8
14
|
import { LandfallArtwork } from './landfall';
|
|
9
15
|
import { LodestarArtwork } from './lodestar';
|
|
10
16
|
import { LogArtwork } from './log';
|
|
11
17
|
import { PassageArtwork } from './passage';
|
|
12
18
|
import { PassagePlanArtwork } from './passage-plan';
|
|
19
|
+
import { PrototypeMethodArtwork } from './prototype-method';
|
|
13
20
|
import { ScuttledArtwork } from './scuttled';
|
|
14
21
|
import { SoundingArtwork } from './sounding';
|
|
22
|
+
import { SupportSignalMethodArtwork } from './support-signal-method';
|
|
23
|
+
import { UsabilityMethodArtwork } from './usability-method';
|
|
15
24
|
import { VoyageArtwork } from './voyage';
|
|
16
|
-
export { AnchorArtwork, ChartArtwork, CourseArtwork, DaySailArtwork, FittingOutArtwork, HalfHullArtwork, KeelArtwork, LandfallArtwork, LodestarArtwork, LogArtwork, PassageArtwork, PassagePlanArtwork, ScuttledArtwork, SoundingArtwork, VoyageArtwork, };
|
|
25
|
+
export { AnchorArtwork, AttitudinalMethodArtwork, BehaviouralMethodArtwork, ChartArtwork, ContextualMethodArtwork, CourseArtwork, DaySailArtwork, ExperimentMethodArtwork, ExpertMethodArtwork, FittingOutArtwork, HalfHullArtwork, InterviewMethodArtwork, KeelArtwork, LandfallArtwork, LodestarArtwork, LogArtwork, PassageArtwork, PassagePlanArtwork, PrototypeMethodArtwork, ScuttledArtwork, SoundingArtwork, SupportSignalMethodArtwork, UsabilityMethodArtwork, VoyageArtwork, };
|
|
17
26
|
/**
|
|
18
27
|
* Every vocabulary drawing, keyed by term. Render one through `Illustration`:
|
|
19
28
|
* `<Illustration source={artwork.landfall} decorative />` beside the term's
|
|
@@ -36,4 +45,20 @@ export const artwork = {
|
|
|
36
45
|
anchor: AnchorArtwork,
|
|
37
46
|
scuttled: ScuttledArtwork,
|
|
38
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* One drawing per research method family, so a Sounding's method is
|
|
50
|
+
* recognisable at a glance. Render one through `Illustration`, decorative
|
|
51
|
+
* beside the method's name: `<Illustration source={methodArtwork[method.family]} decorative />`.
|
|
52
|
+
*/
|
|
53
|
+
export const methodArtwork = {
|
|
54
|
+
contextual: ContextualMethodArtwork,
|
|
55
|
+
interview: InterviewMethodArtwork,
|
|
56
|
+
'support-signal': SupportSignalMethodArtwork,
|
|
57
|
+
usability: UsabilityMethodArtwork,
|
|
58
|
+
prototype: PrototypeMethodArtwork,
|
|
59
|
+
behavioural: BehaviouralMethodArtwork,
|
|
60
|
+
attitudinal: AttitudinalMethodArtwork,
|
|
61
|
+
expert: ExpertMethodArtwork,
|
|
62
|
+
experiment: ExperimentMethodArtwork,
|
|
63
|
+
};
|
|
39
64
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,e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AU,EAAE,uBAAuB;IACnC,SAAS,EAAE,sBAAsB;IACjC,gBAAgB,EAAE,0BAA0B;IAC5C,SAAS,EAAE,sBAAsB;IACjC,SAAS,EAAE,sBAAsB;IACjC,WAAW,EAAE,wBAAwB;IACrC,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,mBAAmB;IAC3B,UAAU,EAAE,uBAAuB;CACpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interview-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/interview-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,4EAA4E;AAC5E,eAAO,MAAM,sBAAsB,EAAE,kBAUpC,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, muted } from './paint';
|
|
4
|
+
/** An interview: two speech bubbles, a question and the story told back. */
|
|
5
|
+
export const InterviewMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M12 8 H36 a4 4 0 0 1 4 4 V26 a4 4 0 0 1 -4 4 H20 L13 36 V30 H12 a4 4 0 0 1 -4 -4 V12 a4 4 0 0 1 4 -4 Z" }), _jsx("path", { ...muted, d: "M14 16 H34 M14 22 H26" }), _jsx("path", { ...accentWash, d: "M28 26 H52 a4 4 0 0 1 4 4 V46 a4 4 0 0 1 -4 4 H51 V57 L43 50 H28 a4 4 0 0 1 -4 -4 V30 a4 4 0 0 1 4 -4 Z" }), _jsx("path", { ...muted, d: "M30 34 H50 M30 40 H50 M30 46 H42" })] }));
|
|
6
|
+
//# sourceMappingURL=interview-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interview-method.js","sourceRoot":"","sources":["../../src/illustrations/interview-method.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE5C,4EAA4E;AAC5E,MAAM,CAAC,MAAM,sBAAsB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACnE,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,wGAAwG,GAAG,EACnH,kBAAU,KAAK,EAAE,CAAC,EAAC,uBAAuB,GAAG,EAC7C,kBACM,UAAU,EACd,CAAC,EAAC,yGAAyG,GAC3G,EACF,kBAAU,KAAK,EAAE,CAAC,EAAC,kCAAkC,GAAG,IAClD,CACT,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** The paint every
|
|
1
|
+
/** The paint every ShipTight drawing uses, named for what it draws. */
|
|
2
2
|
export declare const muted: import("@manakind/ui-core").IllustrationPaintAttributes;
|
|
3
3
|
export declare const accent: import("@manakind/ui-core").IllustrationPaintAttributes;
|
|
4
4
|
export declare const accentWash: import("@manakind/ui-core").IllustrationPaintAttributes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../src/illustrations/paint.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../src/illustrations/paint.ts"],"names":[],"mappings":"AAEA,uEAAuE;AACvE,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { illustrationPaint } from '@manakind/ui-core';
|
|
2
|
-
/** The paint every
|
|
2
|
+
/** The paint every ShipTight drawing uses, named for what it draws. */
|
|
3
3
|
export const muted = illustrationPaint({ line: 'muted' });
|
|
4
4
|
export const accent = illustrationPaint({ line: 'accent' });
|
|
5
5
|
export const accentWash = illustrationPaint({ line: 'accent', fill: 'accent' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paint.js","sourceRoot":"","sources":["../../src/illustrations/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,
|
|
1
|
+
{"version":3,"file":"paint.js","sourceRoot":"","sources":["../../src/illustrations/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,uEAAuE;AACvE,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 prototype: a hull sketched in pencil on a drafting sheet, ready to put in front of people. */
|
|
3
|
+
export declare const PrototypeMethodArtwork: IllustrationSource;
|
|
4
|
+
//# sourceMappingURL=prototype-method.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prototype-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/prototype-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,mGAAmG;AACnG,eAAO,MAAM,sBAAsB,EAAE,kBAQpC,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 prototype: a hull sketched in pencil on a drafting sheet, ready to put in front of people. */
|
|
5
|
+
export const PrototypeMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("rect", { x: "6", y: "10", width: "46", height: "46", rx: "2" }), _jsx("path", { ...dashed, d: "M10 24 H44 C42 34 35 40 27 40 C19 40 12 34 10 24 Z" }), _jsx("path", { ...muted, d: "M12 30 H42" }), _jsx("path", { ...accentWash, d: "M38.6 29.3 L50.8 11 L55.8 14.4 L43.6 32.7 Z" }), _jsx("path", { d: "M38.6 29.3 L37.8 36 L43.6 32.7 M48.6 14.3 L53.6 17.7" })] }));
|
|
6
|
+
//# sourceMappingURL=prototype-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prototype-method.js","sourceRoot":"","sources":["../../src/illustrations/prototype-method.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEpD,mGAAmG;AACnG,MAAM,CAAC,MAAM,sBAAsB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACnE,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,MAAM,EAAE,CAAC,EAAC,oDAAoD,GAAG,EAC3E,kBAAU,KAAK,EAAE,CAAC,EAAC,YAAY,GAAG,EAClC,kBAAU,UAAU,EAAE,CAAC,EAAC,6CAA6C,GAAG,EACxE,eAAM,CAAC,EAAC,sDAAsD,GAAG,IAC3D,CACT,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IllustrationSource } from '@manakind/ui-core';
|
|
2
|
+
/** A support signal: a message in a bottle, washed up unasked from the people using the product. */
|
|
3
|
+
export declare const SupportSignalMethodArtwork: IllustrationSource;
|
|
4
|
+
//# sourceMappingURL=support-signal-method.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support-signal-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/support-signal-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,oGAAoG;AACpG,eAAO,MAAM,0BAA0B,EAAE,kBASxC,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
|
+
/** A support signal: a message in a bottle, washed up unasked from the people using the product. */
|
|
5
|
+
export const SupportSignalMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("path", { d: "M10 30 a4 4 0 0 1 4 -4 H38 C42 26 43 30 47 30 H52 V36 H47 C43 36 42 40 38 40 H14 a4 4 0 0 1 -4 -4 Z" }), _jsx("rect", { x: "52", y: "29", width: "4", height: "8", rx: "1" }), _jsx("rect", { ...accentWash, x: "16", y: "29", width: "18", height: "8", rx: "2" }), _jsx("path", { ...muted, d: "M20 33 H30" }), _jsx(Waves, { y: 46 }), _jsx("path", { ...muted, d: "M14 54 q4 -3 8 0 t8 0 t8 0 t8 0 t8 0" })] }));
|
|
6
|
+
//# sourceMappingURL=support-signal-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support-signal-method.js","sourceRoot":"","sources":["../../src/illustrations/support-signal-method.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE5C,oGAAoG;AACpG,MAAM,CAAC,MAAM,0BAA0B,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACvE,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,qGAAqG,GAAG,EAChH,eAAM,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,kBAAU,UAAU,EAAE,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,GAAG,EACnE,kBAAU,KAAK,EAAE,CAAC,EAAC,YAAY,GAAG,EAClC,KAAC,KAAK,IAAC,CAAC,EAAE,EAAE,GAAI,EAChB,kBAAU,KAAK,EAAE,CAAC,EAAC,sCAAsC,GAAG,IACtD,CACT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usability-method.d.ts","sourceRoot":"","sources":["../../src/illustrations/usability-method.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,sEAAsE;AACtE,eAAO,MAAM,sBAAsB,EAAE,kBASpC,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, muted } from './paint';
|
|
4
|
+
/** A usability test: a pointer working through a task on a screen. */
|
|
5
|
+
export const UsabilityMethodArtwork = (props) => (_jsxs(Frame, { ...props, children: [_jsx("rect", { x: "6", y: "8", width: "52", height: "40", rx: "2" }), _jsx("path", { d: "M6 16 H58" }), _jsx("path", { ...muted, d: "M10 12 H16" }), _jsx("path", { ...muted, d: "M12 24 H40 M12 30 H32" }), _jsx("rect", { ...accentWash, x: "12", y: "36", width: "20", height: "6", rx: "1" }), _jsx("path", { d: "M28 40 V55 L31.5 51.5 L34.5 58 L37 57 L34 50.5 H39 Z" })] }));
|
|
6
|
+
//# sourceMappingURL=usability-method.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usability-method.js","sourceRoot":"","sources":["../../src/illustrations/usability-method.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE5C,sEAAsE;AACtE,MAAM,CAAC,MAAM,sBAAsB,GAAuB,CAAC,KAAK,EAAE,EAAE,CAAC,CACnE,MAAC,KAAK,OAAK,KAAK,aACd,eAAM,CAAC,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG,EAClD,eAAM,CAAC,EAAC,WAAW,GAAG,EACtB,kBAAU,KAAK,EAAE,CAAC,EAAC,YAAY,GAAG,EAClC,kBAAU,KAAK,EAAE,CAAC,EAAC,uBAAuB,GAAG,EAC7C,kBAAU,UAAU,EAAE,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,GAAG,EACnE,eAAM,CAAC,EAAC,sDAAsD,GAAG,IAC3D,CACT,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* `@manakind/shiptight-ui` is the ShipTight-flavored surface of the Manakind design system.
|
|
3
3
|
*
|
|
4
4
|
* It re-exports the shared base components from `@manakind/ui-core` and adds
|
|
5
|
-
* ShipTight's own: the Seaworthy vocabulary artwork
|
|
6
|
-
* `Illustration`, and the
|
|
5
|
+
* ShipTight's own: the Seaworthy vocabulary artwork and a drawing per
|
|
6
|
+
* research method family, both drawn for ui-core's `Illustration`, and the
|
|
7
|
+
* scenes composed from the vocabulary.
|
|
7
8
|
*
|
|
8
9
|
* The ShipTight theme is provided at runtime by importing
|
|
9
10
|
* `@manakind/shiptight-tokens/css/theme` and the underlying token layers.
|
|
10
11
|
*/
|
|
11
12
|
export * from '@manakind/ui-core';
|
|
13
|
+
export * from './band-chip';
|
|
12
14
|
export * from './chart-scene';
|
|
13
15
|
export * from './illustrations';
|
|
14
16
|
export type { SceneVessel } from './scene/vessels';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,cAAc,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* `@manakind/shiptight-ui` is the ShipTight-flavored surface of the Manakind design system.
|
|
3
3
|
*
|
|
4
4
|
* It re-exports the shared base components from `@manakind/ui-core` and adds
|
|
5
|
-
* ShipTight's own: the Seaworthy vocabulary artwork
|
|
6
|
-
* `Illustration`, and the
|
|
5
|
+
* ShipTight's own: the Seaworthy vocabulary artwork and a drawing per
|
|
6
|
+
* research method family, both drawn for ui-core's `Illustration`, and the
|
|
7
|
+
* scenes composed from the vocabulary.
|
|
7
8
|
*
|
|
8
9
|
* The ShipTight theme is provided at runtime by importing
|
|
9
10
|
* `@manakind/shiptight-tokens/css/theme` and the underlying token layers.
|
|
10
11
|
*/
|
|
11
12
|
export * from '@manakind/ui-core';
|
|
13
|
+
export * from './band-chip';
|
|
12
14
|
export * from './chart-scene';
|
|
13
15
|
export * from './illustrations';
|
|
14
16
|
export * from './voyage-scene';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manakind/shiptight-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@manakind/shiptight-tokens": "0.10.0",
|
|
41
|
-
"@manakind/ui-core": "0.11.
|
|
41
|
+
"@manakind/ui-core": "0.11.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": "^19.0.0",
|