@hozo/semantics 0.1.0 → 0.3.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/CHANGELOG.md +40 -0
- package/README.md +39 -0
- package/dist/generated/badge.d.ts +2 -0
- package/dist/generated/badge.d.ts.map +1 -0
- package/dist/generated/badge.js +2 -0
- package/dist/generated/badge.js.map +1 -0
- package/dist/generated/badge.native.d.ts +2 -0
- package/dist/generated/badge.native.d.ts.map +1 -0
- package/dist/generated/badge.native.js +2 -0
- package/dist/generated/badge.native.js.map +1 -0
- package/dist/generated/meter.d.ts +2 -0
- package/dist/generated/meter.d.ts.map +1 -0
- package/dist/generated/meter.js +2 -0
- package/dist/generated/meter.js.map +1 -0
- package/dist/generated/meter.native.d.ts +2 -0
- package/dist/generated/meter.native.d.ts.map +1 -0
- package/dist/generated/meter.native.js +2 -0
- package/dist/generated/meter.native.js.map +1 -0
- package/dist/generated/table.d.ts +2 -0
- package/dist/generated/table.d.ts.map +1 -0
- package/dist/generated/table.js +2 -0
- package/dist/generated/table.js.map +1 -0
- package/dist/generated/table.native.d.ts +2 -0
- package/dist/generated/table.native.d.ts.map +1 -0
- package/dist/generated/table.native.js +2 -0
- package/dist/generated/table.native.js.map +1 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +74 -16
- package/dist/index.js.map +1 -1
- package/dist/index.native.d.ts +60 -0
- package/dist/index.native.d.ts.map +1 -1
- package/dist/index.native.js +83 -6
- package/dist/index.native.js.map +1 -1
- package/dist/meter-gauge.d.ts +30 -0
- package/dist/meter-gauge.d.ts.map +1 -0
- package/dist/meter-gauge.js +36 -0
- package/dist/meter-gauge.js.map +1 -0
- package/dist/table.d.ts +45 -0
- package/dist/table.d.ts.map +1 -0
- package/dist/table.js +31 -0
- package/dist/table.js.map +1 -0
- package/dist/table.native.d.ts +92 -0
- package/dist/table.native.d.ts.map +1 -0
- package/dist/table.native.js +207 -0
- package/dist/table.native.js.map +1 -0
- package/package.json +28 -3
- package/src/generated/badge.native.ts +1 -0
- package/src/generated/badge.ts +1 -0
- package/src/generated/meter.native.ts +1 -0
- package/src/generated/meter.ts +1 -0
- package/src/generated/table.native.ts +7 -0
- package/src/generated/table.ts +7 -0
- package/src/index.native.tsx +151 -6
- package/src/index.tsx +255 -45
- package/src/meter-gauge.ts +54 -0
- package/src/table.native.tsx +446 -0
- package/src/table.tsx +144 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @hozo/semantics
|
|
2
|
+
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#800](https://github.com/iray-tno/hozo/pull/800) [`18a0e93`](https://github.com/iray-tno/hozo/commit/18a0e93cac8a778ca919c23d0ccfe7a65c506ef6) Thanks [@iray-tno](https://github.com/iray-tno)! - Add `Table`, `TableCaption`, `TableHeader`, `TableBody`, `TableFooter`, `TableRow`, `TableHead` and `TableCell`.
|
|
8
|
+
|
|
9
|
+
- **Web:** they are the table elements themselves, and a header cell is `scope="col"` unless the author says otherwise.
|
|
10
|
+
- **React Native,** which has no table:
|
|
11
|
+
- Each column is as wide as its widest cell, the way the browser's automatic table layout does it. A table is shrink-to-fit by default, shares out the spare room in proportion with `w-full`, shrinks its columns to fit when too wide, or scrolls sideways with `scrollable`.
|
|
12
|
+
- A data cell is read with its column's header ("Price, $12").
|
|
13
|
+
- Each cell carries its row and column for TalkBack.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#794](https://github.com/iray-tno/hozo/pull/794) [`42d0e77`](https://github.com/iray-tno/hozo/commit/42d0e7772061d498b1bc2a1ae170cea93607ba10) Thanks [@iray-tno](https://github.com/iray-tno)! - `Meter` now draws its bar on React Native: a track, a fill as wide as the amount, and the fill coloured by `low`, `high` and `optimum` the way Chrome colours `<meter>`. Before, Native rendered an empty 80 x 16 box. The author's `className` styles the track. The compiled and uncompiled paths are now one component, `HozoMeter`.
|
|
18
|
+
|
|
19
|
+
- [#802](https://github.com/iray-tno/hozo/pull/802) [`8a7c8c7`](https://github.com/iray-tno/hozo/commit/8a7c8c73dc20d025a10ae5fe472bb81dc8659ce7) Thanks [@iray-tno](https://github.com/iray-tno)! - On the Web, a `<meter>` now carries its amount as a percentage in `aria-valuetext`, as Native already did. Without it, NVDA read `<Meter value={0.6}>` as "progress bar, 0.6" and VoiceOver as "0.6". An author's own `aria-valuetext` still wins.
|
|
20
|
+
|
|
21
|
+
A `Stepper` step's description is now separated from its status by a space a reader keeps. Before, VoiceOver read "completedEmail and password".
|
|
22
|
+
|
|
23
|
+
- [#804](https://github.com/iray-tno/hozo/pull/804) [`714cb5a`](https://github.com/iray-tno/hozo/commit/714cb5a934d99b93ef9221545eff0dc0db11bf65) Thanks [@iray-tno](https://github.com/iray-tno)! - A `TableCell` (and `TableHead`) takes a `ref` to its cell element on both platforms, for focusing it or measuring where it landed.
|
|
24
|
+
|
|
25
|
+
On Native, a table's header cells no longer carry `accessibilityRole="header"`, which made TalkBack read row headers as headings too. A column header is still read as a heading ("Price, Heading"), through its collection item.
|
|
26
|
+
- Updated dependencies [[`80f2686`](https://github.com/iray-tno/hozo/commit/80f2686ace0922e27502695d0b88c1dba2e08be0), [`adfe1fd`](https://github.com/iray-tno/hozo/commit/adfe1fd914d60effc27677efdaee6edf19feaf6b), [`496f1b7`](https://github.com/iray-tno/hozo/commit/496f1b75e06bc5f5b079870ce566754e7161c21a), [`ad1ad0b`](https://github.com/iray-tno/hozo/commit/ad1ad0b355c6ecae07372f44a65aed279e539e22), [`8d58223`](https://github.com/iray-tno/hozo/commit/8d5822322607b6214fa7f57d233a9173a45815b6), [`8d58223`](https://github.com/iray-tno/hozo/commit/8d5822322607b6214fa7f57d233a9173a45815b6), [`8d58223`](https://github.com/iray-tno/hozo/commit/8d5822322607b6214fa7f57d233a9173a45815b6), [`70cc763`](https://github.com/iray-tno/hozo/commit/70cc763166d3f3aa04c466c5a12e7a8a4dba0a0f), [`9a33076`](https://github.com/iray-tno/hozo/commit/9a3307689c1a37847d45bea9083cee1f63c7edba), [`8d58223`](https://github.com/iray-tno/hozo/commit/8d5822322607b6214fa7f57d233a9173a45815b6), [`030d179`](https://github.com/iray-tno/hozo/commit/030d1791515ef5523560c38c1788e4b23f6bfd92)]:
|
|
27
|
+
- @hozo/behaviors@0.3.0
|
|
28
|
+
- @hozo/engine@0.3.0
|
|
29
|
+
|
|
30
|
+
## 0.2.0
|
|
31
|
+
|
|
32
|
+
- No package-specific public API change. Release in lockstep with the compiler, engine and component owners at 0.2.0.
|
|
33
|
+
|
|
34
|
+
See the [Hozo release notes and migration steps](https://github.com/iray-tno/hozo/blob/main/CHANGELOG.md#020) for cross-package changes and measured boundaries.
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated Hozo dependencies:
|
|
39
|
+
- @hozo/engine@0.2.0
|
|
40
|
+
- @hozo/behaviors@0.2.0
|
package/README.md
CHANGED
|
@@ -81,6 +81,45 @@ export function Layout({ children }) {
|
|
|
81
81
|
- **`Separator`**: Content divider. Supports `orientation="horizontal" | "vertical"` and `decorative`. Web lowers to `<hr>`; Native lowers to an accessible separator view with `accessibilityRole="separator"`.
|
|
82
82
|
- **`Progress`**: Completion indicator (`value`, `max`). Web lowers to `<progress>`; Native lowers to an accessible bar with `accessibilityRole="progressbar"`.
|
|
83
83
|
|
|
84
|
+
### 7. Data display
|
|
85
|
+
- **`Meter`**: An amount within a known range. Web lowers to `<meter>`. Native draws a track and a fill coloured by `low`/`high`/`optimum`, and is read as a percentage ("Disk usage, 60%").
|
|
86
|
+
- **`Badge`**: A short status label. With `count` it draws the number and is read as its `accessibilityLabel` ("3 unread messages").
|
|
87
|
+
- **`Skeleton`**: A loading placeholder, hidden from assistive technology. Its animation stops under reduced motion, its descendants' included.
|
|
88
|
+
- **`Table`** with `TableCaption`, `TableHeader`, `TableBody`, `TableFooter`, `TableRow`, `TableHead` and `TableCell`. Web lowers to the table elements. On Native, each column is as wide as its widest cell, and a data cell is read with its column ("Price, $12").
|
|
89
|
+
|
|
90
|
+
## Verification Matrix: data display
|
|
91
|
+
|
|
92
|
+
| | axe (every PR) | Virtual reader (every PR) | NVDA (weekly) | VoiceOver, macOS (weekly) | TalkBack | iOS VoiceOver |
|
|
93
|
+
|---|---|---|---|---|---|---|
|
|
94
|
+
| `Meter` | ✅ | ✅ approved | ✅ approved | ✅ approved | ✅ census walk | ⬜ |
|
|
95
|
+
| `Badge` (`count`) | ✅ | ✅ approved | ✅ approved | ✅ approved | ✅ census walk | ⬜ |
|
|
96
|
+
| `Skeleton` | ✅ | ✅ approved (silent) | ✅ approved | ✅ approved | ✅ census walk (silent) | ⬜ |
|
|
97
|
+
| `Table` | ✅ | ✅ approved | ✅ approved | ✅ approved | ✅ census walk | ⬜ |
|
|
98
|
+
|
|
99
|
+
- **axe and the virtual reader** run on the `Semantics/Data Display` story. NVDA and VoiceOver walk the same story, which is named in `examples/screen-readers/stories.spec.ts`.
|
|
100
|
+
- **Their first reading** (run 37790021610):
|
|
101
|
+
- Both read the table with its caption, and each cell with its row, column and header ("row 2, Item, column 1, Tea" / "Price $8 column 3 of 3").
|
|
102
|
+
- Both read the badge as "3 unread messages". The skeleton was silent.
|
|
103
|
+
- **The meter was read as the fraction:** NVDA said "Disk usage, progress bar, 0.6" and VoiceOver said "0.6, suboptimal value Disk usage level indicator".
|
|
104
|
+
- #802 gives the Web `<meter>` an `aria-valuetext` of its percentage, as Native already had.
|
|
105
|
+
- **The reading after that fix** (run 37796061776) is the approved one. NVDA says "Disk usage, progress bar, 60 percent" and VoiceOver "60% Disk usage level indicator". NVDA calling a meter a progress bar is NVDA's mapping and is not something Hozo can change.
|
|
106
|
+
- **TalkBack: the census walk** (`examples/native-demo/CensusWalk.tsx`, #789) has read three of them on an emulator:
|
|
107
|
+
- the meter as "Disk usage, 60%";
|
|
108
|
+
- the badge as "3 unread messages";
|
|
109
|
+
- the skeleton as nothing.
|
|
110
|
+
|
|
111
|
+
Those readings are reported by the job, not yet asserted.
|
|
112
|
+
- **The virtual reader's "max value 100" for a `<meter>` with no `max` is the virtual reader's mapping.** Neither real reader mentioned a maximum.
|
|
113
|
+
- **On Native, `Table` on an Android emulator** (the census walk, #804):
|
|
114
|
+
- **Layout:** every column's cells landed at the same x and width, measured with `measureInWindow` on the device's own layout engine, not the stub the unit tests use.
|
|
115
|
+
- **Speech:** TalkBack read the data cell as "Price, $12".
|
|
116
|
+
- **Not announced:** row and column numbers. Android sets a table's `CollectionInfo` only inside a ScrollView, through the cast #525 is waiting on.
|
|
117
|
+
- **Header cells:** a column header is read as "Price, Heading".
|
|
118
|
+
- That word comes from Android's `CollectionItemInfo.isHeading`, which every column header sets, and is the platform's own mark for a header cell.
|
|
119
|
+
- Header cells also had `accessibilityRole="header"` at first. That made row headers headings as well, so it was removed: a row header is now read as just "Shortbread".
|
|
120
|
+
|
|
121
|
+
A ✅ in the reader columns means a person read the phrases and approved them, never only that a job ran.
|
|
122
|
+
|
|
84
123
|
## Features
|
|
85
124
|
|
|
86
125
|
- **Semantic HTML5 Web Output**: Direct compiler lowering to real HTML5 landmark and semantic elements, completely free of `react-native-web`.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/generated/badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,KAAK,UAAU,IAAI,cAAc,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../src/generated/badge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAqC,MAAM,aAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.native.d.ts","sourceRoot":"","sources":["../../src/generated/badge.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,KAAK,UAAU,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.native.js","sourceRoot":"","sources":["../../src/generated/badge.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAqC,MAAM,oBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meter.d.ts","sourceRoot":"","sources":["../../src/generated/meter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,KAAK,UAAU,IAAI,cAAc,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meter.js","sourceRoot":"","sources":["../../src/generated/meter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAqC,MAAM,aAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meter.native.d.ts","sourceRoot":"","sources":["../../src/generated/meter.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,KAAK,UAAU,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meter.native.js","sourceRoot":"","sources":["../../src/generated/meter.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAqC,MAAM,oBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/generated/table.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,GACjB,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../src/generated/table.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,GACjB,MAAM,aAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.native.d.ts","sourceRoot":"","sources":["../../src/generated/table.native.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,GACjB,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.native.js","sourceRoot":"","sources":["../../src/generated/table.native.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,GACjB,MAAM,oBAAqB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -56,5 +56,63 @@ export interface ProgressProps extends SemanticsUniversalProps {
|
|
|
56
56
|
max?: number;
|
|
57
57
|
children?: ReactNode;
|
|
58
58
|
}
|
|
59
|
+
export interface BadgeProps extends SemanticsUniversalProps {
|
|
60
|
+
/**
|
|
61
|
+
* A number to show. With it, the badge reads as its `accessibilityLabel`
|
|
62
|
+
* ("3 unread messages") rather than as the bare digit; without one, the
|
|
63
|
+
* children are the badge, a word that already says what it means.
|
|
64
|
+
*/
|
|
65
|
+
count?: number;
|
|
66
|
+
/** The largest number shown; above it the badge shows `99+`. */
|
|
67
|
+
max?: number;
|
|
68
|
+
children?: ReactNode;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* A short status label -- "Draft", or a count.
|
|
72
|
+
*
|
|
73
|
+
* A count is the case with something to get right. The digit alone is read
|
|
74
|
+
* as "three", which says nothing about what there are three of, and a
|
|
75
|
+
* `<span>` cannot carry an accessible name to say it instead: `generic` is
|
|
76
|
+
* one of the roles ARIA prohibits naming. So the digit is hidden from
|
|
77
|
+
* assistive technology and the sentence is beside it, off screen -- the
|
|
78
|
+
* same arrangement a screen reader would hear from `"3" + " unread messages"`
|
|
79
|
+
* written out, with only the first part drawn.
|
|
80
|
+
*/
|
|
81
|
+
export declare function Badge({ count, max, className, style, children, ...props }: BadgeProps): import("react").JSX.Element;
|
|
82
|
+
export interface SkeletonProps extends SemanticsUniversalProps {
|
|
83
|
+
children?: ReactNode;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* A loading placeholder.
|
|
87
|
+
*
|
|
88
|
+
* Hidden from assistive technology, because a grey box has nothing to say;
|
|
89
|
+
* the region being loaded is what says so, with `aria-busy`. Marked with
|
|
90
|
+
* `data-hozo-skeleton`, so the compiler's base CSS stops any animation on it
|
|
91
|
+
* or inside it under reduced motion -- whatever class started it
|
|
92
|
+
* (decision 007, section 5). The look, pulse included, is the caller's.
|
|
93
|
+
*/
|
|
94
|
+
export declare function Skeleton({ className, style, children, ...props }: SkeletonProps): import("react").JSX.Element;
|
|
95
|
+
export interface MeterProps extends SemanticsUniversalProps {
|
|
96
|
+
/** Where in the range the amount is. */
|
|
97
|
+
value: number;
|
|
98
|
+
/** The range, 0 to 1 when left out, as `<meter>` reads it. */
|
|
99
|
+
min?: number;
|
|
100
|
+
max?: number;
|
|
101
|
+
/**
|
|
102
|
+
* Where the range counts as low, high and best. The browser colours the
|
|
103
|
+
* bar by them; nothing announces them, on either platform.
|
|
104
|
+
*/
|
|
105
|
+
low?: number;
|
|
106
|
+
high?: number;
|
|
107
|
+
optimum?: number;
|
|
108
|
+
children?: ReactNode;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* An amount within a known range -- a disk's fill, a password's strength.
|
|
112
|
+
* Not `Progress`, which is how far a task has got: a reader says "meter"
|
|
113
|
+
* for this and "progress bar" for that, and they mean different things.
|
|
114
|
+
*/
|
|
115
|
+
export declare function Meter({ value, min, max, low, high, optimum, className, children, style, ...props }: MeterProps): import("react").JSX.Element;
|
|
59
116
|
export declare function Progress({ value, max, className, children, style, ...props }: ProgressProps): import("react").JSX.Element;
|
|
117
|
+
export { HozoTable, HozoTableCaption, HozoTableCell, HozoTableRow, HozoTableSection, Table, TableBody, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, TableHead, TableHeader, type TableProps, TableRow, type TableRowProps, type TableSectionProps, } from './table.tsx';
|
|
60
118
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGrD,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,SAAU,SAAQ,uBAAuB;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAaD,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,+BASrF;AAED,wBAAgB,MAAM,CAAC,EAAE,SAAS,EAAE,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pB,KAAK,EACL,GAAG,EACH,GAAG,EACH,GAAG,EACH,IAAI,EACJ,OAAO,EACP,SAAS,EACT,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,UAAU,+BAoBZ;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAM3F;AAED,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,SAAS,EACT,YAAY,EACZ,KAAK,iBAAiB,EACtB,SAAS,EACT,KAAK,cAAc,EACnB,WAAW,EACX,SAAS,EACT,WAAW,EACX,KAAK,UAAU,EACf,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB,MAAM,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useHozoMessage } from '@hozo/behaviors';
|
|
3
|
+
import { hozoViewBase, hozoViewClassName } from '@hozo/engine';
|
|
4
|
+
import { meterGauge } from './meter-gauge.js';
|
|
2
5
|
function domProps(props) {
|
|
3
6
|
return {
|
|
4
7
|
'data-testid': props.testID,
|
|
@@ -10,38 +13,38 @@ function domProps(props) {
|
|
|
10
13
|
};
|
|
11
14
|
}
|
|
12
15
|
export function Main({ className, children, style, ...props }) {
|
|
13
|
-
return (_jsx("main", { className: className, style: style, ...domProps(props), children: children }));
|
|
16
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("main", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
14
17
|
}
|
|
15
18
|
export function Header({ className, children, style, ...props }) {
|
|
16
|
-
return (_jsx("header", { className: className, style: style, ...domProps(props), children: children }));
|
|
19
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("header", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
17
20
|
}
|
|
18
21
|
export function Footer({ className, children, style, ...props }) {
|
|
19
|
-
return (_jsx("footer", { className: className, style: style, ...domProps(props), children: children }));
|
|
22
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("footer", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
20
23
|
}
|
|
21
24
|
export function Aside({ className, children, style, ...props }) {
|
|
22
|
-
return (_jsx("aside", { className: className, style: style, ...domProps(props), children: children }));
|
|
25
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("aside", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
23
26
|
}
|
|
24
27
|
export function Search({ className, children, style, ...props }) {
|
|
25
|
-
return (_jsx("search", { className: className, style: style, ...domProps(props), children: children }));
|
|
28
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("search", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
26
29
|
}
|
|
27
30
|
export function Section({ className, children, style, ...props }) {
|
|
28
|
-
return (_jsx("section", { className: className, style: style, ...domProps(props), children: children }));
|
|
31
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("section", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
29
32
|
}
|
|
30
33
|
export function Article({ className, children, style, ...props }) {
|
|
31
|
-
return (_jsx("article", { className: className, style: style, ...domProps(props), children: children }));
|
|
34
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("article", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
32
35
|
}
|
|
33
36
|
export function Nav({ className, children, style, ...props }) {
|
|
34
|
-
return (_jsx("nav", { className: className, style: style, ...domProps(props), children: children }));
|
|
37
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("nav", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
35
38
|
}
|
|
36
39
|
export function List({ ordered = false, className, children, style, ...props }) {
|
|
37
40
|
const Tag = ordered ? 'ol' : 'ul';
|
|
38
|
-
return (_jsx(Tag, { className: className, style: style, ...domProps(props), children: children }));
|
|
41
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx(Tag, { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
39
42
|
}
|
|
40
43
|
export function ListItem({ className, children, style, ...props }) {
|
|
41
|
-
return (_jsx("li", { className: className, style: style, ...domProps(props), children: children }));
|
|
44
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("li", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
42
45
|
}
|
|
43
46
|
export function Figure({ className, children, style, ...props }) {
|
|
44
|
-
return (_jsx("figure", { className: className, style: style, ...domProps(props), children: children }));
|
|
47
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("figure", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
45
48
|
}
|
|
46
49
|
export function Figcaption({ className, children, style, ...props }) {
|
|
47
50
|
return (_jsx("figcaption", { className: className, style: style, ...domProps(props), children: children }));
|
|
@@ -50,10 +53,10 @@ export function Time({ className, children, style, dateTime, datetime, ...props
|
|
|
50
53
|
return (_jsx("time", { className: className, style: style, dateTime: dateTime ?? datetime, ...domProps(props), children: children }));
|
|
51
54
|
}
|
|
52
55
|
export function Address({ className, children, style, ...props }) {
|
|
53
|
-
return (_jsx("address", { className: className, style: style, ...domProps(props), children: children }));
|
|
56
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("address", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
54
57
|
}
|
|
55
58
|
export function Fieldset({ className, children, style, ...props }) {
|
|
56
|
-
return (_jsx("fieldset", { className: className, style: style, ...domProps(props), children: children }));
|
|
59
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("fieldset", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
57
60
|
}
|
|
58
61
|
export function Legend({ className, children, style, ...props }) {
|
|
59
62
|
return (_jsx("legend", { className: className, style: style, ...domProps(props), children: children }));
|
|
@@ -68,10 +71,10 @@ export function Term({ className, children, style, ...props }) {
|
|
|
68
71
|
return (_jsx("dt", { className: className, style: style, ...domProps(props), children: children }));
|
|
69
72
|
}
|
|
70
73
|
export function Description({ className, children, style, ...props }) {
|
|
71
|
-
return (_jsx("dd", { className: className, style: style, ...domProps(props), children: children }));
|
|
74
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("dd", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
72
75
|
}
|
|
73
76
|
export function TermList({ className, children, style, ...props }) {
|
|
74
|
-
return (_jsx("dl", { className: className, style: style, ...domProps(props), children: children }));
|
|
77
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("dl", { className: hozoViewClassName(className), style: style, ...domProps(props), children: children })] }));
|
|
75
78
|
}
|
|
76
79
|
TermList.Term = Term;
|
|
77
80
|
TermList.Description = Description;
|
|
@@ -79,7 +82,62 @@ export function Separator({ className, style, orientation = 'horizontal', decora
|
|
|
79
82
|
const dom = domProps(props);
|
|
80
83
|
return (_jsx("hr", { className: className, style: style, "aria-orientation": orientation === 'vertical' ? 'vertical' : undefined, ...dom, role: role ?? (decorative ? 'none' : 'separator'), "aria-hidden": decorative ? true : dom['aria-hidden'] }));
|
|
81
84
|
}
|
|
85
|
+
/** Off screen and still in the accessibility tree. */
|
|
86
|
+
const VISUALLY_HIDDEN = {
|
|
87
|
+
position: 'absolute',
|
|
88
|
+
width: 1,
|
|
89
|
+
height: 1,
|
|
90
|
+
margin: -1,
|
|
91
|
+
padding: 0,
|
|
92
|
+
overflow: 'hidden',
|
|
93
|
+
clipPath: 'inset(50%)',
|
|
94
|
+
whiteSpace: 'nowrap',
|
|
95
|
+
border: 0,
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* A short status label -- "Draft", or a count.
|
|
99
|
+
*
|
|
100
|
+
* A count is the case with something to get right. The digit alone is read
|
|
101
|
+
* as "three", which says nothing about what there are three of, and a
|
|
102
|
+
* `<span>` cannot carry an accessible name to say it instead: `generic` is
|
|
103
|
+
* one of the roles ARIA prohibits naming. So the digit is hidden from
|
|
104
|
+
* assistive technology and the sentence is beside it, off screen -- the
|
|
105
|
+
* same arrangement a screen reader would hear from `"3" + " unread messages"`
|
|
106
|
+
* written out, with only the first part drawn.
|
|
107
|
+
*/
|
|
108
|
+
export function Badge({ count, max, className, style, children, ...props }) {
|
|
109
|
+
const message = useHozoMessage();
|
|
110
|
+
const { 'aria-label': named, ...dom } = domProps(props);
|
|
111
|
+
if (count === undefined) {
|
|
112
|
+
return (_jsx("span", { className: className, style: style, "aria-label": named, ...dom, children: children }));
|
|
113
|
+
}
|
|
114
|
+
const over = max !== undefined && count > max;
|
|
115
|
+
const shown = over ? `${max}+` : String(count);
|
|
116
|
+
const label = named ?? (over ? message('hozo.badge.overflow', { max: max }) : shown);
|
|
117
|
+
return (_jsxs("span", { className: className, style: style, ...dom, children: [_jsx("span", { "aria-hidden": "true", children: shown }), _jsx("span", { style: VISUALLY_HIDDEN, children: label })] }));
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* A loading placeholder.
|
|
121
|
+
*
|
|
122
|
+
* Hidden from assistive technology, because a grey box has nothing to say;
|
|
123
|
+
* the region being loaded is what says so, with `aria-busy`. Marked with
|
|
124
|
+
* `data-hozo-skeleton`, so the compiler's base CSS stops any animation on it
|
|
125
|
+
* or inside it under reduced motion -- whatever class started it
|
|
126
|
+
* (decision 007, section 5). The look, pulse included, is the caller's.
|
|
127
|
+
*/
|
|
128
|
+
export function Skeleton({ className, style, children, ...props }) {
|
|
129
|
+
return (_jsxs(_Fragment, { children: [hozoViewBase(), _jsx("div", { className: hozoViewClassName(className), style: style, ...domProps(props), "aria-hidden": true, "data-hozo-skeleton": "", children: children })] }));
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* An amount within a known range -- a disk's fill, a password's strength.
|
|
133
|
+
* Not `Progress`, which is how far a task has got: a reader says "meter"
|
|
134
|
+
* for this and "progress bar" for that, and they mean different things.
|
|
135
|
+
*/
|
|
136
|
+
export function Meter({ value, min, max, low, high, optimum, className, children, style, ...props }) {
|
|
137
|
+
return (_jsx("meter", { value: value, min: min, max: max, low: low, high: high, optimum: optimum, className: className, style: style, "aria-valuetext": `${Math.round(meterGauge({ value, min, max }).fraction * 100)}%`, ...domProps(props), children: children }));
|
|
138
|
+
}
|
|
82
139
|
export function Progress({ value, max, className, children, style, ...props }) {
|
|
83
140
|
return (_jsx("progress", { value: value, max: max, className: className, style: style, ...domProps(props), children: children ?? (value != null ? `${value}%` : undefined) }));
|
|
84
141
|
}
|
|
142
|
+
export { HozoTable, HozoTableCaption, HozoTableCell, HozoTableRow, HozoTableSection, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from './table.js';
|
|
85
143
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAoB7C,SAAS,QAAQ,CAAC,KAAwE;IACxF,OAAO;QACL,aAAa,EAAE,KAAK,CAAC,MAAM;QAC3B,EAAE,EAAE,KAAK,CAAC,QAAQ;QAClB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,Y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AG,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,GAAG,GAAG,CAAC,GAAG,KAC5E,QAAQ,CAAC,KAAK,CAAC,YAElB,QAAQ,GACH,CACT,CAAA;AACH,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAiB;IAC1F,OAAO,CACL,mBAAU,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,KAAM,QAAQ,CAAC,KAAK,CAAC,YACtF,QAAQ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,GAC7C,CACZ,CAAA;AACH,CAAC;AAED,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,SAAS,EACT,YAAY,EAEZ,SAAS,EAET,WAAW,EACX,SAAS,EACT,WAAW,EAEX,QAAQ,GAGT,MAAM,YAAa,CAAA"}
|
package/dist/index.native.d.ts
CHANGED
|
@@ -145,6 +145,65 @@ export interface ProgressProps extends SemanticsNativeProps {
|
|
|
145
145
|
export declare function Progress({ value, max, role, accessibilityValue, style, children, ...props }: ProgressProps): React.FunctionComponentElement<Omit<import("react-native").ViewProps, "ref"> & {
|
|
146
146
|
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
147
147
|
}>;
|
|
148
|
+
export interface BadgeProps extends SemanticsNativeProps {
|
|
149
|
+
count?: number;
|
|
150
|
+
max?: number;
|
|
151
|
+
children?: ReactNode;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* A short status label, on React Native: a `Text`, which -- unlike a
|
|
155
|
+
* `<span>` -- may carry an `accessibilityLabel`, so a count is the digit
|
|
156
|
+
* drawn and the sentence read with nothing hidden.
|
|
157
|
+
*/
|
|
158
|
+
export declare function Badge({ count, max, accessibilityLabel, children, ...props }: BadgeProps): React.FunctionComponentElement<Omit<import("react-native").TextProps, "ref"> & {
|
|
159
|
+
ref?: React.Ref<import("react-native").TextInstance> | undefined;
|
|
160
|
+
}>;
|
|
161
|
+
export interface SkeletonProps extends SemanticsNativeProps {
|
|
162
|
+
children?: ReactNode;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* A loading placeholder, on React Native: a `View` hidden from assistive
|
|
166
|
+
* technology. Compiled, an animation class on it runs only when motion is
|
|
167
|
+
* allowed; this fallback for an uncompiled file draws whatever `style` it is
|
|
168
|
+
* given.
|
|
169
|
+
*/
|
|
170
|
+
export declare function Skeleton({ children, ...props }: SkeletonProps): React.FunctionComponentElement<Omit<import("react-native").ViewProps, "ref"> & {
|
|
171
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
172
|
+
}>;
|
|
173
|
+
export interface MeterProps extends SemanticsNativeProps {
|
|
174
|
+
value: number;
|
|
175
|
+
min?: number;
|
|
176
|
+
max?: number;
|
|
177
|
+
/** Where the range counts as low, high and best; they colour the bar. */
|
|
178
|
+
low?: number;
|
|
179
|
+
high?: number;
|
|
180
|
+
optimum?: number;
|
|
181
|
+
accessibilityValue?: {
|
|
182
|
+
min?: number;
|
|
183
|
+
max?: number;
|
|
184
|
+
now?: number;
|
|
185
|
+
text?: string;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* An amount within a known range, on React Native: the bar the browser draws
|
|
190
|
+
* for `<meter>`, and the amount a reader hears.
|
|
191
|
+
*
|
|
192
|
+
* React Native accepts `role="meter"`, and Android does not map it to a
|
|
193
|
+
* platform role yet, so the amount is carried by `accessibilityValue`,
|
|
194
|
+
* which a reader announces either way. The range is 0 to 1 when left out,
|
|
195
|
+
* as `<meter>` reads it.
|
|
196
|
+
*
|
|
197
|
+
* The bar is a track and a fill, coloured by `low`, `high` and `optimum` the
|
|
198
|
+
* way Chrome colours its own (#788): the three colours are read off its
|
|
199
|
+
* pixels, not chosen. The author's `style` -- compiled from `className` --
|
|
200
|
+
* is the track's, so `bg-*`, `rounded-*` and the size all land where they
|
|
201
|
+
* would on the Web; the fill is clipped to it. Children are a `<meter>`'s
|
|
202
|
+
* fallback content, which no browser draws, so neither does this.
|
|
203
|
+
*/
|
|
204
|
+
export declare function Meter({ value, min, max, low, high, optimum, role, accessibilityValue, style, children: _children, ...props }: MeterProps): React.FunctionComponentElement<Omit<import("react-native").ViewProps, "ref"> & {
|
|
205
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
206
|
+
}>;
|
|
148
207
|
/**
|
|
149
208
|
* The names `@hozo/core` re-exports on the Web.
|
|
150
209
|
*
|
|
@@ -154,4 +213,5 @@ export declare function Progress({ value, max, role, accessibilityValue, style,
|
|
|
154
213
|
*/
|
|
155
214
|
export type DetailsProps = DetailsNativeProps;
|
|
156
215
|
export type TimeProps = TimeNativeProps;
|
|
216
|
+
export { HozoTable, HozoTableCaption, HozoTableCell, HozoTableRow, HozoTableSection, Table, TableBody, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, TableHead, TableHeader, type TableProps, TableRow, type TableRowProps, type TableSectionProps, } from './table.native.tsx';
|
|
157
217
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../src/index.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AASlE,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACT,KAAK,SAAS,EAEd,KAAK,SAAS,EAEd,KAAK,SAAS,EACf,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../src/index.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EA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