@estiva-app/ui 0.107.0 → 0.108.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/dist/FollowSwitch.d.ts +42 -0
- package/dist/FollowSwitch.d.ts.map +1 -0
- package/dist/MembersDialog.d.ts +25 -0
- package/dist/MembersDialog.d.ts.map +1 -1
- package/dist/MembersPill.d.ts +3 -1
- package/dist/MembersPill.d.ts.map +1 -1
- package/dist/WhoFollowsDialog.d.ts +27 -0
- package/dist/WhoFollowsDialog.d.ts.map +1 -0
- package/dist/eslint/index.js +1 -1
- package/dist/eslint/index.js.map +2 -2
- package/dist/eslint/no-native-title.d.ts +1 -1
- package/dist/eslint/no-native-title.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1088 -951
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/registry.json +231 -3
- package/src/FollowSwitch.mdx +64 -0
- package/src/FollowSwitch.stories.tsx +54 -0
- package/src/FollowSwitch.test.tsx +139 -0
- package/src/FollowSwitch.tsx +127 -0
- package/src/MembersDialog.tsx +115 -62
- package/src/MembersPill.tsx +4 -2
- package/src/WhoFollowsDialog.mdx +65 -0
- package/src/WhoFollowsDialog.stories.tsx +40 -0
- package/src/WhoFollowsDialog.tsx +74 -0
- package/src/eslint/no-native-title.ts +1 -1
- package/src/index.ts +2 -0
- package/src/registry/registry.test.ts +6 -6
- package/stories/Choosing.mdx +2 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/** A level someone follows a place at. Not following is `undefined`. */
|
|
2
|
+
export type FollowLevel = 'all' | 'important';
|
|
3
|
+
/** One pick on the switch: a level, Not following, or back to the default a group gives. */
|
|
4
|
+
export type FollowChoice = FollowLevel | 'off' | 'default';
|
|
5
|
+
export interface LevelIconProps {
|
|
6
|
+
/** The level it is followed at; `undefined` draws Not following. */
|
|
7
|
+
level: FollowLevel | undefined;
|
|
8
|
+
/** People rather than circles: for a place that is a group's own (Miky, 2 Nov). */
|
|
9
|
+
people?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* How a place is followed, as one 16px icon: a dashed circle for Important, a
|
|
13
|
+
* full one for All, a dashed one with a plus, muted, for Not following. With
|
|
14
|
+
* `people`, the same three as people: outline, solid, and a plus.
|
|
15
|
+
*/
|
|
16
|
+
export declare function LevelIcon({ level, people }: LevelIconProps): import("react").JSX.Element;
|
|
17
|
+
export interface FollowSwitchProps {
|
|
18
|
+
/** What lights for the viewer now: a level, or `undefined` for Not following. */
|
|
19
|
+
level: FollowLevel | undefined;
|
|
20
|
+
/** The place's name, for the button's accessible name. */
|
|
21
|
+
label: string;
|
|
22
|
+
/** Changes it. While its promise runs the button waits; a rejection is the caller's to report. Without it the switch shows the level and cannot change it. */
|
|
23
|
+
onChoose?: (choice: FollowChoice) => void | Promise<unknown>;
|
|
24
|
+
/** Without `onChoose`: why it cannot be changed, said under the pointer ("This team is archived"). */
|
|
25
|
+
readOnlyReason?: string;
|
|
26
|
+
/** People rather than circles, as `LevelIcon`'s `people`. */
|
|
27
|
+
people?: boolean;
|
|
28
|
+
/** The line under Not following. */
|
|
29
|
+
offDescription?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the group whose default reaches the viewer, when they chose
|
|
32
|
+
* against it: offers "Back to <name>’s default". Leave it out otherwise.
|
|
33
|
+
*/
|
|
34
|
+
backTo?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The one switch on a place: Not following, Important or All, each with what
|
|
38
|
+
* it lights, and "Back to <name>’s default" when the viewer chose against a
|
|
39
|
+
* group's default. It sits before the place's title, drawn as `LevelIcon`.
|
|
40
|
+
*/
|
|
41
|
+
export declare function FollowSwitch({ level, label, onChoose, readOnlyReason, people, offDescription, backTo }: FollowSwitchProps): import("react").JSX.Element;
|
|
42
|
+
//# sourceMappingURL=FollowSwitch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FollowSwitch.d.ts","sourceRoot":"","sources":["../src/FollowSwitch.tsx"],"names":[],"mappings":"AAKA,wEAAwE;AACxE,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,WAAW,CAAA;AAE7C,4FAA4F;AAC5F,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,KAAK,GAAG,SAAS,CAAA;AAgB1D,MAAM,WAAW,cAAc;IAC7B,oEAAoE;IACpE,KAAK,EAAE,WAAW,GAAG,SAAS,CAAA;IAC9B,mFAAmF;IACnF,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,MAAc,EAAE,EAAE,cAAc,+BASlE;AAOD,MAAM,WAAW,iBAAiB;IAChC,iFAAiF;IACjF,KAAK,EAAE,WAAW,GAAG,SAAS,CAAA;IAC9B,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAA;IACb,8JAA8J;IAC9J,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAC5D,sGAAsG;IACtG,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oCAAoC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAc,EAAE,cAA8C,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BAgDjK"}
|
package/dist/MembersDialog.d.ts
CHANGED
|
@@ -50,6 +50,31 @@ export interface MembersDialogProps {
|
|
|
50
50
|
initialView?: 'list' | 'add';
|
|
51
51
|
onClose: () => void;
|
|
52
52
|
}
|
|
53
|
+
/** One person in a roster: a face, a name, a second line, and an optional control at the end. Shared with `WhoFollowsDialog`. */
|
|
54
|
+
export declare function RosterRow({ member, trailing }: {
|
|
55
|
+
member: MembersDialogMember;
|
|
56
|
+
trailing?: ReactNode;
|
|
57
|
+
}): import("react").JSX.Element;
|
|
58
|
+
/** The row on top that opens the add layer. Shared with `WhoFollowsDialog`. */
|
|
59
|
+
export declare function AddRow({ label, onClick }: {
|
|
60
|
+
label: string;
|
|
61
|
+
onClick: () => void;
|
|
62
|
+
}): import("react").JSX.Element;
|
|
63
|
+
/**
|
|
64
|
+
* The add layer: an "Invite people" picker over `candidates`, with a back
|
|
65
|
+
* arrow. Shared with `WhoFollowsDialog`, so adding somebody looks and works
|
|
66
|
+
* the same wherever it opens (Miky, 6 November: "We have standard that it
|
|
67
|
+
* opens modal and there is add").
|
|
68
|
+
*/
|
|
69
|
+
export declare function AddPeopleLayer({ title, backLabel, candidates, excludeIds, onAdd, onBack, onClose, }: {
|
|
70
|
+
title: string;
|
|
71
|
+
backLabel: string;
|
|
72
|
+
candidates: MembersDialogCandidate[];
|
|
73
|
+
excludeIds: string[];
|
|
74
|
+
onAdd: (chosen: MembersDialogCandidate[]) => void | boolean | Promise<void | boolean>;
|
|
75
|
+
onBack: () => void;
|
|
76
|
+
onClose: () => void;
|
|
77
|
+
}): import("react").JSX.Element;
|
|
53
78
|
/**
|
|
54
79
|
* Who is in this, with joining, leaving and adding people — the list a
|
|
55
80
|
* `MembersPill` opens.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MembersDialog.d.ts","sourceRoot":"","sources":["../src/MembersDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKvD,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,aAAa,CAAA;AAO7D,0EAA0E;AAC1E,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,0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E,SAAS,CAAA;IAChB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAKD,iIAAiI;AACjI,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE;IAAE,MAAM,EAAE,mBAAmB,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,+BAWpG;AAED,+EAA+E;AAC/E,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,+BAUhF;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,SAAS,EACT,UAAU,EACV,UAAU,EACV,KAAK,EACL,MAAM,EACN,OAAO,GACR,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,sBAAsB,EAAE,CAAA;IACpC,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,KAAK,EAAE,CAAC,MAAM,EAAE,sBAAsB,EAAE,KAAK,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,CAAA;IACrF,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+BA6CA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,UAAe,EAAE,KAAK,EAAE,IAAI,EAAE,WAAoB,EAAE,OAAO,EAAE,EAAE,kBAAkB,+BA+EtI"}
|
package/dist/MembersPill.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export interface MembersPillProps {
|
|
|
6
6
|
count?: number;
|
|
7
7
|
/** Opens the list — usually a `MembersDialog`. Without it the pill is disabled. */
|
|
8
8
|
onClick?: () => void;
|
|
9
|
+
/** The button's accessible name, when the list it opens is not "members" — "Who follows <name>: 4". Defaults to "4 members". */
|
|
10
|
+
label?: string;
|
|
9
11
|
className?: string;
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
@@ -18,5 +20,5 @@ export interface MembersPillProps {
|
|
|
18
20
|
* pick of 15 September). `disabled` rather than another element when there is
|
|
19
21
|
* nothing to press, so one element keeps one set of pixels.
|
|
20
22
|
*/
|
|
21
|
-
export declare function MembersPill({ members, count, onClick, className }: MembersPillProps): import("react").JSX.Element | null;
|
|
23
|
+
export declare function MembersPill({ members, count, onClick, label, className }: MembersPillProps): import("react").JSX.Element | null;
|
|
22
24
|
//# sourceMappingURL=MembersPill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MembersPill.d.ts","sourceRoot":"","sources":["../src/MembersPill.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAKnE,MAAM,WAAW,gBAAgB;IAC/B,2DAA2D;IAC3D,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"MembersPill.d.ts","sourceRoot":"","sources":["../src/MembersPill.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAKnE,MAAM,WAAW,gBAAgB;IAC/B,2DAA2D;IAC3D,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,gIAAgI;IAChI,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,sCAS1F"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type MembersDialogCandidate, type MembersDialogMember } from './MembersDialog';
|
|
2
|
+
export interface WhoFollowsDialogProps {
|
|
3
|
+
/** The place's name: the title reads "Who follows <title>". */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Who follows it at All, in the order to draw them. A row is a `MembersDialogMember`; its caption says how they are in it. */
|
|
6
|
+
all: MembersDialogMember[];
|
|
7
|
+
/** Who follows it at Important. */
|
|
8
|
+
important: MembersDialogMember[];
|
|
9
|
+
/** Who "Add someone" may offer. Everyone listed is left out by id; leave the viewer out yourself — they join with the switch, not by adding themselves. */
|
|
10
|
+
candidates?: MembersDialogCandidate[];
|
|
11
|
+
/**
|
|
12
|
+
* Adds the people chosen. With it, the "Add someone" row shows and opens the
|
|
13
|
+
* same add layer as `MembersDialog`'s. Return `false` to stay on it.
|
|
14
|
+
*/
|
|
15
|
+
onAdd?: (chosen: MembersDialogCandidate[]) => void | boolean | Promise<void | boolean>;
|
|
16
|
+
/** `add` opens straight on the add layer, as a menu's "Add someone…" does. */
|
|
17
|
+
initialView?: 'list' | 'add';
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Who follows a place, in two groups, All then Important, each with its count
|
|
22
|
+
* and "Nobody" when empty; and "Add someone" on top, which opens the add layer
|
|
23
|
+
* `MembersDialog` uses. Nobody's level is changed here: each person changes
|
|
24
|
+
* their own on the place's `FollowSwitch`.
|
|
25
|
+
*/
|
|
26
|
+
export declare function WhoFollowsDialog({ title, all, important, candidates, onAdd, initialView, onClose }: WhoFollowsDialogProps): import("react").JSX.Element;
|
|
27
|
+
//# sourceMappingURL=WhoFollowsDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WhoFollowsDialog.d.ts","sourceRoot":"","sources":["../src/WhoFollowsDialog.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAqC,KAAK,sBAAsB,EAAE,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAG1H,MAAM,WAAW,qBAAqB;IACpC,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAA;IACb,+HAA+H;IAC/H,GAAG,EAAE,mBAAmB,EAAE,CAAA;IAC1B,mCAAmC;IACnC,SAAS,EAAE,mBAAmB,EAAE,CAAA;IAChC,2JAA2J;IAC3J,UAAU,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACrC;;;OAGG;IACH,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,sBAAsB,EAAE,KAAK,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,CAAA;IACtF,8EAA8E;IAC9E,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,UAAe,EAAE,KAAK,EAAE,WAAoB,EAAE,OAAO,EAAE,EAAE,qBAAqB,+BA0CvI"}
|
package/dist/eslint/index.js
CHANGED
|
@@ -2029,7 +2029,7 @@ var noFieldOutsideAForm = {
|
|
|
2029
2029
|
};
|
|
2030
2030
|
|
|
2031
2031
|
// src/eslint/no-native-title.ts
|
|
2032
|
-
var PARTS_WITH_A_TITLE = ["ArchiveDialog", "CollapsibleSection", "ConfirmDialog", "ContainerHeader", "ConversationLayout", "DialogShell", "FormDialog", "ListColumn", "MoveDialog", "NavTree", "NavTreeSection", "PageHeader", "Panel", "SectionHeader", "Thread"];
|
|
2032
|
+
var PARTS_WITH_A_TITLE = ["ArchiveDialog", "CollapsibleSection", "ConfirmDialog", "ContainerHeader", "ConversationLayout", "DialogShell", "FormDialog", "ListColumn", "MoveDialog", "NavTree", "NavTreeSection", "PageHeader", "Panel", "SectionHeader", "Thread", "WhoFollowsDialog"];
|
|
2033
2033
|
var child4 = (node, key) => node[key];
|
|
2034
2034
|
var nameOf5 = (node) => node?.type === "JSXIdentifier" || node?.type === "Identifier" ? node.name : void 0;
|
|
2035
2035
|
var noNativeTitle = {
|