@maple-kit/ui 0.2.0 → 0.4.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.
@@ -15,6 +15,7 @@ interface Held {
15
15
  readonly altKey?: boolean;
16
16
  readonly shiftKey?: boolean;
17
17
  readonly target?: unknown;
18
+ readonly composedPath?: () => readonly unknown[];
18
19
  }
19
20
  /** True while Space means "show me the page" and not "type a space". */
20
21
  export declare function peeks(event: Held): boolean;
@@ -2,10 +2,14 @@ import { useEffect, useState } from "react";
2
2
  import { isEditable } from "@maple-kit/core/client";
3
3
  //#region src/composer/peek.ts
4
4
  const PEEK_CODE = "Space";
5
+ function origin(event) {
6
+ const path = event.composedPath?.();
7
+ return path !== void 0 && path.length > 0 ? path[0] : event.target;
8
+ }
5
9
  function peeks(event) {
6
10
  if (event.code !== PEEK_CODE && event.key !== " ") return false;
7
11
  if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return false;
8
- return !isEditable(event.target);
12
+ return !isEditable(origin(event));
9
13
  }
10
14
  function useHoldToPeek(view, enabled) {
11
15
  const [peeking, setPeeking] = useState(false);
@@ -96,6 +96,41 @@ function shell() {
96
96
  stroke-linejoin: round;
97
97
  }
98
98
 
99
+ /* The lockup. Both halves are their own ink box, so centring them centres the
100
+ drawing rather than two boxes of whitespace. The gap is zero: the leaf's
101
+ own tips carry the air, and a gap on top of them reads as a gap. */
102
+ .mk-wordmark {
103
+ flex: none;
104
+ display: inline-flex;
105
+ align-items: center;
106
+ gap: 0;
107
+ }
108
+
109
+ .mk-wordmark-leaf {
110
+ flex: none;
111
+ display: block;
112
+ color: var(--mk-accent);
113
+ filter: saturate(0.9);
114
+ }
115
+
116
+ .mk-wordmark-leaf path {
117
+ fill: currentColor;
118
+ stroke: currentColor;
119
+ stroke-width: 1.5;
120
+ stroke-linejoin: round;
121
+ }
122
+
123
+ /* The leaf's mass is below its box centre — the stem is the long end — so the
124
+ word rides up by the same ratio the mark's number rides down: one part in
125
+ 38 of the leaf's edge. A percentage resolves against the word's own height,
126
+ which is 0.86 of that edge, so 1 / (38 * 0.86) holds at every size. */
127
+ .mk-wordmark-word {
128
+ flex: none;
129
+ display: block;
130
+ fill: var(--mk-fg);
131
+ transform: translateY(-3.06%);
132
+ }
133
+
99
134
  .mk-card {
100
135
  position: absolute;
101
136
  right: 0;
@@ -202,6 +237,12 @@ function header() {
202
237
  letter-spacing: -0.01em;
203
238
  }
204
239
 
240
+ /* An application that replaces the wordmark with its own text gets the type
241
+ back; the drawing sets its own size and ignores this. */
242
+ .mk-head-title:has(.mk-wordmark) {
243
+ font-size: 0;
244
+ }
245
+
205
246
  .mk-spacer {
206
247
  flex: 1 1 auto;
207
248
  }
@@ -5,9 +5,9 @@ import { ReactNode } from "react";
5
5
  export interface HeaderProps extends PartProps {
6
6
  readonly children?: ReactNode;
7
7
  }
8
- /** The wordmark, and the word. */
8
+ /** The wordmark. */
9
9
  export interface LogoProps extends PartProps {
10
- /** Replaces the title beside the leaf. */
10
+ /** Replaces the wordmark, for an application that brands the island. */
11
11
  readonly children?: ReactNode;
12
12
  }
13
13
  /** Which branch these comments belong to. */
@@ -20,7 +20,11 @@ export interface BranchProps extends PartProps {
20
20
  }
21
21
  /** The header, with the close control after whatever it was given. */
22
22
  export declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
23
- /** The leaf and the word "Comments", which is what the island is. */
23
+ /**
24
+ * The lockup, which is what the island is. It said "Comments" beside the leaf
25
+ * and now says the product's name: the island is the one Maple object on the
26
+ * page, and what it holds is already the only thing in it.
27
+ */
24
28
  export declare const Logo: import("react").ForwardRefExoticComponent<LogoProps & import("react").RefAttributes<HTMLHeadingElement>>;
25
29
  /**
26
30
  * The branch chip. It takes the branch rather than reading it, because the
@@ -1,7 +1,7 @@
1
1
  import { cx, renderPart } from "../part.js";
2
2
  import { ISLAND_COPY } from "./language.js";
3
3
  import { useIsland } from "./context.js";
4
- import { Leaf } from "./leaf.js";
4
+ import { Wordmark } from "./wordmark.js";
5
5
  import { forwardRef } from "react";
6
6
  //#region src/island/header.ts
7
7
  const HEADER_PART = "<Maple.Header>";
@@ -26,11 +26,7 @@ const Logo = forwardRef(function Logo(props, ref) {
26
26
  ...rest,
27
27
  className: cx("mk-head-title", className),
28
28
  ref
29
- }, [renderPart(Leaf, false, {
30
- key: "leaf",
31
- size: 17,
32
- className: "mk-logo-leaf"
33
- }), children ?? ISLAND_COPY.title]);
29
+ }, children ?? renderPart(Wordmark, false, { key: "wordmark" }));
34
30
  });
35
31
  const Branch = forwardRef(function Branch(props, ref) {
36
32
  const { asChild, branch, children, className, label, ...rest } = props;
@@ -15,4 +15,5 @@ import { Settings, SettingsProps } from "./settings.js";
15
15
  import { STAGGER_ROWS } from "./stagger.js";
16
16
  import { absoluteTime, relativeTime } from "./time.js";
17
17
  import { IslandTrigger, IslandTriggerProps } from "./trigger.js";
18
- export { Account, type AccountProps, Branch, type BranchProps, DRAGGING_ATTRIBUTE, DRAG_THRESHOLD_PX, type DragHandlers, FILTER_LABELS, type FilterCounts, Filters, type FiltersProps, Header, type HeaderProps, ISLAND_COPY, Island, IslandContent, type IslandContentProps, IslandContextError, type IslandContextValue, type IslandPhase, type IslandProps, IslandTrigger, type IslandTriggerProps, Item, type ItemProps, List, type ListProps, Logo, type LogoProps, NewComment, type NewCommentProps, PickButton, type PickButtonProps, type PointerEventLike, SETTINGS_COPY, STAGGER_ROWS, Settings, type SettingsProps, TIME_DELAY_MS, absoluteTime, countsFor, islandCss, kindPhrase, numbersFor, openLabel, orphanReason, reasonOf, relativeTime, resolutionsFor, useDrag, useIsland };
18
+ import { WORDMARK_SIZE_PX, WORDMARK_WORD_SCALE, Wordmark, WordmarkProps } from "./wordmark.js";
19
+ export { Account, type AccountProps, Branch, type BranchProps, DRAGGING_ATTRIBUTE, DRAG_THRESHOLD_PX, type DragHandlers, FILTER_LABELS, type FilterCounts, Filters, type FiltersProps, Header, type HeaderProps, ISLAND_COPY, Island, IslandContent, type IslandContentProps, IslandContextError, type IslandContextValue, type IslandPhase, type IslandProps, IslandTrigger, type IslandTriggerProps, Item, type ItemProps, List, type ListProps, Logo, type LogoProps, NewComment, type NewCommentProps, PickButton, type PickButtonProps, type PointerEventLike, SETTINGS_COPY, STAGGER_ROWS, Settings, type SettingsProps, TIME_DELAY_MS, WORDMARK_SIZE_PX, WORDMARK_WORD_SCALE, Wordmark, type WordmarkProps, absoluteTime, countsFor, islandCss, kindPhrase, numbersFor, openLabel, orphanReason, reasonOf, relativeTime, resolutionsFor, useDrag, useIsland };
@@ -7,6 +7,7 @@ import { IslandContextError, reasonOf, useIsland } from "./context.js";
7
7
  import { IslandContent } from "./content.js";
8
8
  import { DRAGGING_ATTRIBUTE, DRAG_THRESHOLD_PX, useDrag } from "./drag.js";
9
9
  import { Filters } from "./filters.js";
10
+ import { WORDMARK_SIZE_PX, WORDMARK_WORD_SCALE, Wordmark } from "./wordmark.js";
10
11
  import { Branch, Header, Logo } from "./header.js";
11
12
  import { Island } from "./island.js";
12
13
  import { absoluteTime, relativeTime } from "./time.js";
@@ -15,4 +16,4 @@ import { List } from "./list.js";
15
16
  import { NewComment, PickButton } from "./new-comment.js";
16
17
  import { Settings } from "./settings.js";
17
18
  import { IslandTrigger } from "./trigger.js";
18
- export { Account, Branch, DRAGGING_ATTRIBUTE, DRAG_THRESHOLD_PX, FILTER_LABELS, Filters, Header, ISLAND_COPY, Island, IslandContent, IslandContextError, IslandTrigger, Item, List, Logo, NewComment, PickButton, SETTINGS_COPY, STAGGER_ROWS, Settings, TIME_DELAY_MS, absoluteTime, countsFor, islandCss, kindPhrase, numbersFor, openLabel, orphanReason, reasonOf, relativeTime, resolutionsFor, useDrag, useIsland };
19
+ export { Account, Branch, DRAGGING_ATTRIBUTE, DRAG_THRESHOLD_PX, FILTER_LABELS, Filters, Header, ISLAND_COPY, Island, IslandContent, IslandContextError, IslandTrigger, Item, List, Logo, NewComment, PickButton, SETTINGS_COPY, STAGGER_ROWS, Settings, TIME_DELAY_MS, WORDMARK_SIZE_PX, WORDMARK_WORD_SCALE, Wordmark, absoluteTime, countsFor, islandCss, kindPhrase, numbersFor, openLabel, orphanReason, reasonOf, relativeTime, resolutionsFor, useDrag, useIsland };
@@ -32,6 +32,7 @@ export declare const SETTINGS_COPY: {
32
32
  /** Copy with no better home than a name. */
33
33
  export declare const ISLAND_COPY: {
34
34
  readonly title: "Comments";
35
+ readonly wordmark: "Maple";
35
36
  readonly settings: "Settings";
36
37
  readonly close: "Close the inventory";
37
38
  readonly closeGlyph: "✕";
@@ -94,6 +94,7 @@ const ACCOUNT_COPY = {
94
94
  };
95
95
  const ISLAND_COPY = {
96
96
  title: "Comments",
97
+ wordmark: "Maple",
97
98
  settings: "Settings",
98
99
  close: "Close the inventory",
99
100
  closeGlyph: "✕",
@@ -0,0 +1,20 @@
1
+ import { PartProps } from "../part.js";
2
+ //#region src/island/wordmark.d.ts
3
+ /** The leaf's edge, in pixels, when nothing says otherwise. */
4
+ export declare const WORDMARK_SIZE_PX = 17;
5
+ /**
6
+ * The word is 0.86 of the leaf's edge. At parity the leaf overpowers a
7
+ * lowercase word whose x-height is half its own box; this is where the two
8
+ * read as one weight.
9
+ */
10
+ export declare const WORDMARK_WORD_SCALE = 0.86;
11
+ /** The lockup. `size` is the leaf's edge; everything else follows it. */
12
+ export interface WordmarkProps extends PartProps {
13
+ /** The leaf's edge in pixels. The word is scaled from it. */
14
+ readonly size?: number;
15
+ /** Overrides the accessible name, which is otherwise the product's. */
16
+ readonly label?: string;
17
+ }
18
+ /** The leaf and the word, drawn together and named once. */
19
+ export declare const Wordmark: import("react").ForwardRefExoticComponent<WordmarkProps & import("react").RefAttributes<HTMLSpanElement>>;
20
+ //#endregion
@@ -0,0 +1,43 @@
1
+ import { cx, renderPart } from "../part.js";
2
+ import { ISLAND_COPY } from "./language.js";
3
+ import { LEAF_ROTATION, LEAF_SOLID, LEAF_VIEW_BOX } from "../marks/leaf.js";
4
+ import { WORDMARK_PATH, WORDMARK_RATIO, WORDMARK_VIEW_BOX } from "../marks/wordmark.js";
5
+ import { createElement, forwardRef } from "react";
6
+ //#region src/island/wordmark.ts
7
+ const WORDMARK_SIZE_PX = 17;
8
+ const WORDMARK_WORD_SCALE = .86;
9
+ function leaf(size) {
10
+ return createElement("svg", {
11
+ key: "leaf",
12
+ "aria-hidden": true,
13
+ focusable: false,
14
+ className: "mk-wordmark-leaf",
15
+ width: size,
16
+ height: size,
17
+ viewBox: LEAF_VIEW_BOX
18
+ }, createElement("g", { transform: LEAF_ROTATION }, createElement("path", { d: LEAF_SOLID })));
19
+ }
20
+ function word(size) {
21
+ const height = size * WORDMARK_WORD_SCALE;
22
+ return createElement("svg", {
23
+ key: "word",
24
+ "aria-hidden": true,
25
+ focusable: false,
26
+ className: "mk-wordmark-word",
27
+ width: height * WORDMARK_RATIO,
28
+ height,
29
+ viewBox: WORDMARK_VIEW_BOX
30
+ }, createElement("path", { d: WORDMARK_PATH }));
31
+ }
32
+ const Wordmark = forwardRef(function Wordmark(props, ref) {
33
+ const { asChild, className, label, size = 17, ...rest } = props;
34
+ return renderPart("span", asChild, {
35
+ ...rest,
36
+ className: cx("mk-wordmark", className),
37
+ role: "img",
38
+ "aria-label": label ?? ISLAND_COPY.wordmark,
39
+ ref
40
+ }, [leaf(size), word(size)]);
41
+ });
42
+ //#endregion
43
+ export { WORDMARK_SIZE_PX, WORDMARK_WORD_SCALE, Wordmark };
@@ -0,0 +1,6 @@
1
+ //#region src/marks/wordmark.ts
2
+ const WORDMARK_VIEW_BOX = "0 0 200.2 94.22";
3
+ const WORDMARK_RATIO = 2.1248;
4
+ const WORDMARK_PATH = "m4.2,27.1h0.2q1.3-0.4,4.2,0.3,1,0.3,1.2,5.7,0.4,4.1,0.4,5.7,0,1.5,0.1,1.8v6.7l0.5,0.1q0-0.1,0.2-1.2,0.5-2.8,1.1-4.3,0.4-0.4,0.5-1,0-0.6,0.5-1.3,0.6-2.8,3-7.3,0.8-1.9,1.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.5,2.2-3.3,0.1-0.5,0.8-1.8l1.3-1.2q0.6-0.9,1.8-1.3,1.4-0.7,2.1-0.7l2.8-0.4q0.5,0.1,0.7,0.1h1.3q2.2,0.2,3.6,0.9,3,0.9,4.4,2.3,3.1,3.5,3.1,6.7,0,3.2-1,5.5-2.5,5.7-3.6,7.2-1.8,3.3-4.3,3.3z";
5
+ //#endregion
6
+ export { WORDMARK_PATH, WORDMARK_RATIO, WORDMARK_VIEW_BOX };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maple-kit/ui",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Maple's composed reviewer parts: the marks, the island and the composer",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -32,8 +32,8 @@
32
32
  "./package.json": "./package.json"
33
33
  },
34
34
  "dependencies": {
35
- "@maple-kit/react": "0.2.0",
36
- "@maple-kit/core": "0.2.0"
35
+ "@maple-kit/core": "0.4.0",
36
+ "@maple-kit/react": "0.4.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "^18.2.0 || ^19.0.0",