@mistriwork/kit 1.0.0-rc.58 → 1.0.0-rc.60
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/client/app.js +16 -3
- package/dist/client/audience.d.ts +1 -0
- package/dist/client/audience.js +10 -0
- package/dist/client/brandLook.css +49 -1
- package/dist/client/components/AppColumnMenuPopups.js +46 -11
- package/dist/client/components/AppList.d.ts +3 -1
- package/dist/client/components/AppList.js +92 -19
- package/dist/client/components/CardsList.js +14 -1
- package/dist/client/components/Chart.css +4 -0
- package/dist/client/components/Chart.d.ts +4 -4
- package/dist/client/components/Chart.js +30 -9
- package/dist/client/components/Content.js +4 -2
- package/dist/client/components/DateField.css +1 -1
- package/dist/client/components/DateField.js +1 -0
- package/dist/client/components/DefinedFields.js +2 -2
- package/dist/client/components/Diagram.css +82 -0
- package/dist/client/components/Diagram.d.ts +1 -0
- package/dist/client/components/Diagram.js +1 -0
- package/dist/client/components/Dressed.js +1 -1
- package/dist/client/components/Editable.js +7 -3
- package/dist/client/components/Export.js +1 -1
- package/dist/client/components/FilterBoxes.js +2 -2
- package/dist/client/components/FilterRail.css +1 -1
- package/dist/client/components/FilterRail.js +6 -4
- package/dist/client/components/Gallery.css +171 -0
- package/dist/client/components/Gallery.d.ts +1 -0
- package/dist/client/components/Gallery.js +1 -0
- package/dist/client/components/Grid.d.ts +2 -1
- package/dist/client/components/Grid.js +78 -24
- package/dist/client/components/GridCellEditor.js +4 -2
- package/dist/client/components/GridSelection.d.ts +4 -7
- package/dist/client/components/GridSelection.js +45 -3
- package/dist/client/components/LandingSurface.css +2 -2
- package/dist/client/components/LayoutBuilder.css +225 -0
- package/dist/client/components/LayoutBuilder.d.ts +1 -0
- package/dist/client/components/LayoutBuilder.js +1 -0
- package/dist/client/components/ListColumns.d.ts +12 -0
- package/dist/client/components/ListColumns.js +61 -0
- package/dist/client/components/ListFilterBar.css +43 -16
- package/dist/client/components/ListFilterBar.js +45 -23
- package/dist/client/components/MultiStepForm.css +22 -22
- package/dist/client/components/NewRecord.js +120 -104
- package/dist/client/components/Notes.css +9 -0
- package/dist/client/components/Notes.d.ts +6 -2
- package/dist/client/components/Notes.js +10 -6
- package/dist/client/components/OverflowMenu.js +16 -11
- package/dist/client/components/PageFields.js +19 -4
- package/dist/client/components/PageRelated.d.ts +8 -1
- package/dist/client/components/PageRelated.js +46 -33
- package/dist/client/components/PageSections.js +18 -5
- package/dist/client/components/Palette.js +1 -1
- package/dist/client/components/Prefs.d.ts +10 -0
- package/dist/client/components/Prefs.js +33 -23
- package/dist/client/components/PresentationSwitch.js +4 -0
- package/dist/client/components/Prompt.js +4 -4
- package/dist/client/components/RecordGone.js +4 -4
- package/dist/client/components/RecordPicker.js +24 -6
- package/dist/client/components/RecordSummaries.js +31 -5
- package/dist/client/components/RecordTrailNav.js +4 -0
- package/dist/client/components/RichTextEditor.css +2 -2
- package/dist/client/components/RichTextEditor.js +18 -19
- package/dist/client/components/Rooms.js +27 -6
- package/dist/client/components/SectionPeriod.css +1 -1
- package/dist/client/components/SetFieldDialog.js +1 -1
- package/dist/client/components/Sidebar.js +15 -5
- package/dist/client/components/SuggestBox.js +2 -2
- package/dist/client/components/TableRoom.d.ts +5 -1
- package/dist/client/components/TableRoom.js +29 -10
- package/dist/client/components/TableView.js +6 -2
- package/dist/client/components/ThMenu.js +26 -15
- package/dist/client/components/Tour.css +96 -0
- package/dist/client/components/Tour.d.ts +1 -0
- package/dist/client/components/Tour.js +1 -0
- package/dist/client/components/TreePicker.css +1 -1
- package/dist/client/components/TreePicker.js +27 -20
- package/dist/client/components/Value.js +4 -1
- package/dist/client/components/WorkflowStatus.js +8 -4
- package/dist/client/components/appListModel.d.ts +4 -0
- package/dist/client/components/appRooms.d.ts +2 -0
- package/dist/client/components/appRooms.js +2 -0
- package/dist/client/components/boardNew.d.ts +5 -0
- package/dist/client/components/boardNew.js +5 -0
- package/dist/client/components/conditionWords.d.ts +10 -0
- package/dist/client/components/conditionWords.js +20 -0
- package/dist/client/components/dashboardModel.d.ts +8 -0
- package/dist/client/components/dashboardModel.js +28 -1
- package/dist/client/components/editInteraction.d.ts +1 -1
- package/dist/client/components/editInteraction.js +1 -1
- package/dist/client/components/gridSizing.d.ts +14 -20
- package/dist/client/components/gridSizing.js +147 -108
- package/dist/client/components/pageContext.d.ts +3 -2
- package/dist/client/components/pageModel.d.ts +2 -0
- package/dist/client/components/pickerStaleness.d.ts +11 -1
- package/dist/client/components/pickerStaleness.js +12 -2
- package/dist/client/components/rowTitle.d.ts +2 -0
- package/dist/client/components/rowTitle.js +10 -0
- package/dist/client/components/textMeasure.js +72 -3
- package/dist/client/components/useConditionWords.d.ts +5 -0
- package/dist/client/components/useConditionWords.js +3 -1
- package/dist/client/components/useGridKeyboard.js +5 -0
- package/dist/client/components/useMediaQuery.d.ts +2 -0
- package/dist/client/components/useMediaQuery.js +2 -0
- package/dist/client/components/valueModel.d.ts +1 -0
- package/dist/client/components/valueModel.js +39 -4
- package/dist/client/composer.css +2 -2
- package/dist/client/copy/es.js +3 -3
- package/dist/client/copy/filters/components/ListFilterBar.d.ts +1 -0
- package/dist/client/copy/filters/components/ListFilterBar.js +1 -0
- package/dist/client/copy/forms/components/DateField.d.ts +2 -0
- package/dist/client/copy/forms/components/DateField.js +2 -0
- package/dist/client/copy/forms/components/NewRecord.d.ts +8 -0
- package/dist/client/copy/forms/components/NewRecord.js +2 -0
- package/dist/client/copy/lists/components/AppList.d.ts +2 -0
- package/dist/client/copy/lists/components/AppList.js +2 -0
- package/dist/client/copy/lists/components/GridSelection.d.ts +1 -0
- package/dist/client/copy/lists/components/GridSelection.js +1 -0
- package/dist/client/copy/lists/components/ListColumns.d.ts +5 -0
- package/dist/client/copy/lists/components/ListColumns.js +7 -0
- package/dist/client/copy/lists/components/TableRoom.d.ts +3 -1
- package/dist/client/copy/lists/components/TableRoom.js +3 -1
- package/dist/client/copy/record/components/PageHistory.d.ts +2 -2
- package/dist/client/copy/record/components/PageHistory.js +4 -2
- package/dist/client/copy/record/components/WorkflowStatus.d.ts +1 -0
- package/dist/client/copy/record/components/WorkflowStatus.js +1 -0
- package/dist/client/copy/shell/components/MobileNavDrawer.d.ts +1 -0
- package/dist/client/copy/shell/components/MobileNavDrawer.js +2 -0
- package/dist/client/core.d.ts +2 -1
- package/dist/client/core.js +46 -2
- package/dist/client/customThemes.css +3 -3
- package/dist/client/dom.js +5 -5
- package/dist/client/features.css +220 -356
- package/dist/client/fonts/Manrope-OFL.txt +93 -0
- package/dist/client/fonts/faces.css +10 -1
- package/dist/client/fonts/manrope-latin.woff2 +0 -0
- package/dist/client/formControls.css +4 -4
- package/dist/client/help.css +2 -2
- package/dist/client/ledgerLook.css +28 -0
- package/dist/client/locale.d.ts +2 -10
- package/dist/client/locale.js +0 -0
- package/dist/client/lumenLook.css +295 -105
- package/dist/client/manropeFace.css +32 -0
- package/dist/client/messages.d.ts +3 -3
- package/dist/client/messages.js +3 -3
- package/dist/client/navigationHold.d.ts +9 -0
- package/dist/client/navigationHold.js +46 -3
- package/dist/client/page.css +107 -357
- package/dist/client/palette.js +31 -6
- package/dist/client/partsLook.css +60 -60
- package/dist/client/sageLook.css +101 -32
- package/dist/client/shellHost.d.ts +2 -2
- package/dist/client/shellHost.js +2 -2
- package/dist/client/shellMode.d.ts +9 -0
- package/dist/client/shellMode.js +2 -0
- package/dist/client/structure.css +282 -201
- package/dist/client/style.css +75 -224
- package/dist/client/themeFamilies.css +471 -66
- package/dist/client/tilesLook.css +502 -0
- package/dist/client/visualTheme.js +5 -2
- package/dist/client/visualThemes.css +38 -34
- package/dist/client/workbenchLook.css +12 -12
- package/dist/client/workshopLook.css +3 -8
- package/dist/vite.d.ts +1 -20
- package/dist/vite.js +33 -3
- package/package.json +8 -7
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2019 The Manrope Project Authors (https://github.com/sharanda/manrope)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* The kit's own faces, for a host product's look (`@mistriwork/kit/client/fonts/faces.css`): every font file the kit
|
|
2
2
|
ships, declared once each under the family names its looks use, so a look of the host's own can name Barlow, Barlow
|
|
3
|
-
Semi Condensed, IBM Plex Mono or
|
|
3
|
+
Semi Condensed, IBM Plex Mono, Inter or Manrope in a stack, as Workshop, Ledger and Lumen do. Each is under the SIL Open Font
|
|
4
4
|
License, whose text travels beside it (the *-OFL.txt files here; the kit's Vite preset copies them into the build).
|
|
5
5
|
A rule costs nothing until a line is drawn in its family, so importing this sheet fetches no font a page does not
|
|
6
6
|
set. The kit's own face sheets (barlowFace.css, interFace.css, ledgerLook.css) keep their own rules and their cut
|
|
@@ -51,3 +51,12 @@
|
|
|
51
51
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
52
52
|
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
53
53
|
}
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: Manrope;
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 200 800;
|
|
58
|
+
font-display: swap;
|
|
59
|
+
src: url('./manrope-latin.woff2') format('woff2');
|
|
60
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
61
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
62
|
+
}
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* @mistriwork/ui's
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/* @mistriwork/ui's answers to the reader's own settings (packages/ui/src/preferences.css), in the base layer beside
|
|
2
|
+
its tokens. Apart from style.css so a first paint that draws no control does not carry them: the module that
|
|
3
|
+
first draws a TextField, a Select or a choice imports this file, and it arrives with that chunk. The controls' own
|
|
4
|
+
rules are in style.css with the tokens (controls.css). */
|
|
5
5
|
@import '@mistriwork/ui/preferences.css' layer(base);
|
package/dist/client/help.css
CHANGED
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
|
|
62
62
|
/* A Modal (HelpPanel.tsx): the scrim is its backdrop, and the box hangs from the top rather than sitting centered, so
|
|
63
63
|
the sections do not jump as the examples sharpen. */
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
[data-slot='dialog-backdrop'][data-for='help-panel'] { background: var(--scrim); }
|
|
65
|
+
[data-slot='dialog-content'][data-kind='modal'].help-panel {
|
|
66
66
|
inset: 8vh 0 auto; margin: 0 auto; padding: 0;
|
|
67
67
|
width: min(720px, 96vw); max-width: none; height: auto; max-height: 84vh;
|
|
68
68
|
color: var(--ink);
|
|
@@ -25,8 +25,36 @@
|
|
|
25
25
|
:root[data-look-rules='double'] .app-mode .table-wrap thead th {
|
|
26
26
|
border-bottom: 3px double var(--rules-head);
|
|
27
27
|
}
|
|
28
|
+
/* The book's cover runs over the pane as it runs down the menu: the pane's bar stands on the menu's ground in the
|
|
29
|
+
menu's ink. The bar's own rules read the page's colour roles (structure.css), so the bar is given the menu's
|
|
30
|
+
under those names and everything in it — the trail, the search's well, the keys — follows without a rule each. */
|
|
31
|
+
:root[data-look-rules='double'] body.app-sidebar-shell .layout > .pane-bar {
|
|
32
|
+
--surface: var(--nav-ground);
|
|
33
|
+
--raised: color-mix(in srgb, var(--nav-ink) 8%, var(--nav-ground));
|
|
34
|
+
--ground: var(--raised);
|
|
35
|
+
--field-fill: var(--raised);
|
|
36
|
+
--line: var(--nav-line);
|
|
37
|
+
--line-control: var(--nav-line);
|
|
38
|
+
--ink: var(--nav-ink);
|
|
39
|
+
--ink-muted: var(--nav-muted);
|
|
40
|
+
--ink-subtle: var(--nav-muted);
|
|
41
|
+
color: var(--nav-ink);
|
|
42
|
+
}
|
|
43
|
+
/* A list's tabs are words to choose between, not a column's head: the text face in sentence case, where the
|
|
44
|
+
label role would set them in the book's capitals. */
|
|
45
|
+
:root[data-look-rules='double'][data-type-label~='upper'] :is(.tab, :where(body.app-mode) .page-tab) {
|
|
46
|
+
font-family: var(--sans);
|
|
47
|
+
text-transform: none;
|
|
48
|
+
letter-spacing: 0;
|
|
49
|
+
}
|
|
28
50
|
/* A field group, a dashboard section and a stat card are ruled boxes in the strong line, not the hairline. */
|
|
29
51
|
:root[data-look-rules='double'] .app-mode :is(.page-fields, .page-section, .home-card) {
|
|
30
52
|
border-color: var(--line-strong);
|
|
31
53
|
}
|
|
54
|
+
/* A ledger sets every cell in the figures' face, a tenth wider a letter than the text's: a ten-column list at a
|
|
55
|
+
desk cut its residents' names by a letter or two. Its list cells are set at the platform's size, not the book's
|
|
56
|
+
own a step up, and the names are whole. A record's own tables keep the book's size. */
|
|
57
|
+
:root[data-look-rules='double'] .app-mode .applist-room td {
|
|
58
|
+
font-size: calc(var(--text-base) / var(--type-k, 1));
|
|
59
|
+
}
|
|
32
60
|
}
|
package/dist/client/locale.d.ts
CHANGED
|
@@ -102,19 +102,11 @@ export declare function formatDateTime(value: string | number | Date, options?:
|
|
|
102
102
|
* the start (a range that runs backwards is two facts, not one).
|
|
103
103
|
*/
|
|
104
104
|
export declare function formatSpan(start: string, end: string): string | null;
|
|
105
|
-
|
|
106
|
-
* A stored day or moment said absolutely, the same words on any day and for any reader (`format: 'date'` and
|
|
107
|
-
* `'datetime'`, and every date on a document's paper). A date alone is its calendar day and never shifts, whatever
|
|
108
|
-
* the zone. A moment is an instant: one with its offset (`Z`, `+10`) is that instant, a zone-less one was written in
|
|
109
|
-
* the App's clock zone (appPayload.ts servedUi). It is said in `zone`, else the App's `ui.timezone`, else that clock
|
|
110
|
-
* zone, never the reader's own; with `time` its clock and the zone's short name follow the day ("Sep 4, 2026,
|
|
111
|
-
* 2:30 PM PDT"), without, it is the day it falls on there. A Date or an epoch is an instant. A time alone is a time;
|
|
112
|
-
* text that is no date comes back as it was. `short` says it in the fewest characters ("9/4/26, 2:30 PM PDT").
|
|
113
|
-
*/
|
|
114
|
-
export declare function formatAbsolute(value: string | number | Date, { time, zone, short }?: {
|
|
105
|
+
export declare function formatAbsolute(value: string | number | Date, { time, zone, short, reader }?: {
|
|
115
106
|
time?: boolean;
|
|
116
107
|
zone?: string;
|
|
117
108
|
short?: boolean;
|
|
109
|
+
reader?: boolean;
|
|
118
110
|
}): string;
|
|
119
111
|
/**
|
|
120
112
|
* A date said from today: "today", "yesterday", "in 3 days", "7 weeks
|
package/dist/client/locale.js
CHANGED
|
Binary file
|