@aiquants/auth-react-router 0.27.0 → 0.28.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 +16 -0
- package/dist/admin.js +1 -1
- package/dist/admin.mjs +1 -1
- package/dist/styles/auth-react-router.standalone.css +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -204,6 +204,22 @@ export default () => <AuthUserAdminAppView basePath="/users" />
|
|
|
204
204
|
upstream-group pickers keep the 44 px targets of `@aiquants/select-box` itself. Rows grow to hold their actions; on
|
|
205
205
|
a narrow screen the toolbars and the tabs wrap, the tables scroll sideways, and a dialog taller than the screen
|
|
206
206
|
scrolls with its backdrop.
|
|
207
|
+
- **Text size**: the names of the row actions, of the links to a group's members and of the pressable "create from"
|
|
208
|
+
and "members only" labels are set in the `body` step (13 px on a 20 px line), and the permission badge of the header
|
|
209
|
+
and its pills in the `caption` step (11 px on a 20 px line); no text of the package is smaller than `caption`. A
|
|
210
|
+
size is always read together with its line height. A one-line name sits inside its 44 px target without changing
|
|
211
|
+
it; a name that wraps takes 20 px per line (the longer "create from" label wraps to two lines, a 54.8 px box). The
|
|
212
|
+
sizes are in rem, so they follow the browser's zoom and its root font-size setting. They are read from custom
|
|
213
|
+
properties with these defaults, which a host may bind once on `:root` (never declare them on an element inside the
|
|
214
|
+
screen: a declaration there wins over the host's binding):
|
|
215
|
+
|
|
216
|
+
| Custom property | Default | Read by |
|
|
217
|
+
| --- | --- | --- |
|
|
218
|
+
| `--aqau-font-size-body` | `0.8125rem` (13 px) | the names of the controls above |
|
|
219
|
+
| `--aqau-line-height-body` | `1.25rem` (20 px) | the same controls, together with the size |
|
|
220
|
+
| `--aqau-font-size-caption` | `0.6875rem` (11 px) | the permission badge of the header and its pills |
|
|
221
|
+
| `--aqau-line-height-caption` | `1.25rem` (20 px) | the same badge and pills, together with the size |
|
|
222
|
+
|
|
207
223
|
- **The group-members tab reflows without a media query** (WCAG 2.2 SC 1.4.10): the group list keeps a 240 px basis
|
|
208
224
|
and the member panel never takes less than half the row, so the two sit side by side from about 518 px
|
|
209
225
|
(`2 × (240 px + 1.2rem)`) and stack, each at the full width, below it. The heading, the action error and the
|