@mistriwork/kit 1.0.0-rc.47 → 1.0.0-rc.49
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.
|
@@ -275,7 +275,7 @@ export function Palette({ prefill = '', onClose }) {
|
|
|
275
275
|
}, children: _jsxs("div", { className: `palette${inApp ? ' palette-grouped' : ''}`, role: "dialog", "aria-modal": "true", "aria-label": say('navigation.search'), children: [_jsx("input", { ref: input, type: "text", className: "palette-input", placeholder: shell().inApp() ? say('searchRecordsPagesAndCommands') : say('goToATable'), "aria-label": say('navigation.search'), autoComplete: "off", spellCheck: false, role: "combobox", "aria-autocomplete": "list", "aria-expanded": "true", "aria-controls": "palette-list", "aria-activedescendant": shown.length ? `palette-o${current}` : undefined, value: query, onChange: (e) => {
|
|
276
276
|
setQuery(e.currentTarget.value);
|
|
277
277
|
setActive(0);
|
|
278
|
-
} }), _jsx("div", { ref: list, className: "palette-list", id: "palette-list", role: "listbox", children: !shown.length
|
|
278
|
+
} }), _jsx("div", { ref: list, className: "palette-list", id: "palette-list", role: "listbox", "aria-label": say('navigation.search'), children: !shown.length
|
|
279
279
|
? settled && _jsx("p", { className: "palette-empty", children: term ? say('nothingMatches', { term }) : say('nothingToGo') })
|
|
280
280
|
: inApp
|
|
281
281
|
? grouped.map(({ group, items, from: first }) => {
|
|
@@ -839,6 +839,14 @@
|
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
|
|
842
|
+
/* A Segmented of five or more folds to a native picker at a phone's width (sdk/kit.css); a finger lands on the whole of it,
|
|
843
|
+
and a look's field height (visualThemes.css) is 36px, so the picker says its 44px here, after the looks. */
|
|
844
|
+
@media (max-width: 560px), (pointer: coarse) {
|
|
845
|
+
.kit-segmented-pick {
|
|
846
|
+
min-height: 44px;
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
|
|
842
850
|
/* A row's own small controls draw at 22–24px, which a pointer hits and a
|
|
843
851
|
finger does not: on a coarse pointer each takes a 44px hit area (WCAG
|
|
844
852
|
2.5.5) without growing what it draws, so the row keeps its measure. The
|
package/dist/client/style.css
CHANGED
|
@@ -2314,9 +2314,11 @@ body.app-mode .page-head.has-record + .page-body { padding-bottom: calc(132px +
|
|
|
2314
2314
|
.command-row-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
|
|
2315
2315
|
.command-row-number { font: 500 var(--text-xs) var(--mono); color: var(--ink-muted); }
|
|
2316
2316
|
.command-repeat-actions { display: flex; gap: var(--space-3); }
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
.command-
|
|
2317
|
+
/* A choice is the reader's own word, so it wraps and is never cut (Truncation): a row of radios whose label is longer than
|
|
2318
|
+
the phone is wide wraps inside the label, beside its own radio, rather than running on or ending in an ellipsis. */
|
|
2319
|
+
.command-choices { display: flex; flex-wrap: wrap; gap: var(--space-2h) var(--space-5); min-width: 0; }
|
|
2320
|
+
.command-choice { display: inline-flex; align-items: center; gap: var(--space-2h); min-width: 0; max-width: 100%; overflow-wrap: anywhere; font: var(--text-base) var(--sans); color: var(--ink); }
|
|
2321
|
+
.command-choice input { flex: none; margin: 0; accent-color: var(--accent); }
|
|
2320
2322
|
.command-form .command-feedback { min-height: 3em; margin: 20px 0 0; color: var(--ink-muted); font-size: var(--text-base); overflow-wrap: anywhere; }
|
|
2321
2323
|
/* "Ready to submit" is said to a screen reader and not drawn: the primary button says it, and the line stood as filler. */
|
|
2322
2324
|
.command-feedback[data-phase="ready"] { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mistriwork/kit",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.49",
|
|
4
4
|
"description": "The shared React client both shells are drawn with: the walk and the address, Grid, Value, the record page, lists, filters and charts.",
|
|
5
5
|
"homepage": "https://mistriwork.dev",
|
|
6
6
|
"bugs": {
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"./package.json": "./package.json"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@mistriwork/engine": "1.0.0-rc.
|
|
87
|
-
"@mistriwork/ui": "1.0.0-rc.
|
|
86
|
+
"@mistriwork/engine": "1.0.0-rc.49",
|
|
87
|
+
"@mistriwork/ui": "1.0.0-rc.49",
|
|
88
88
|
"intl-messageformat": "12.1.2",
|
|
89
89
|
"qrcode-generator": "^2.0.4"
|
|
90
90
|
},
|