@opsinjs/react 0.0.0-stage → 0.1.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 +9 -0
- package/LICENSE +21 -0
- package/README.md +114 -2
- package/dist/components/accordion.d.ts +82 -0
- package/dist/components/accordion.d.ts.map +1 -0
- package/dist/components/accordion.js +154 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/components/alert-banner.d.ts +291 -0
- package/dist/components/alert-banner.d.ts.map +1 -0
- package/dist/components/alert-banner.js +529 -0
- package/dist/components/alert-banner.js.map +1 -0
- package/dist/components/avatar.d.ts +45 -0
- package/dist/components/avatar.d.ts.map +1 -0
- package/dist/components/avatar.js +159 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/badge.d.ts +78 -0
- package/dist/components/badge.d.ts.map +1 -0
- package/dist/components/badge.js +32 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/body-map.d.ts +51 -0
- package/dist/components/body-map.d.ts.map +1 -0
- package/dist/components/body-map.js +190 -0
- package/dist/components/body-map.js.map +1 -0
- package/dist/components/button.d.ts +260 -0
- package/dist/components/button.d.ts.map +1 -0
- package/dist/components/button.js +609 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/callout.d.ts +99 -0
- package/dist/components/callout.d.ts.map +1 -0
- package/dist/components/callout.js +285 -0
- package/dist/components/callout.js.map +1 -0
- package/dist/components/card.d.ts +156 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/card.js +396 -0
- package/dist/components/card.js.map +1 -0
- package/dist/components/care-card.d.ts +182 -0
- package/dist/components/care-card.d.ts.map +1 -0
- package/dist/components/care-card.js +544 -0
- package/dist/components/care-card.js.map +1 -0
- package/dist/components/checkbox.d.ts +58 -0
- package/dist/components/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox.js +167 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/combobox.d.ts +71 -0
- package/dist/components/combobox.d.ts.map +1 -0
- package/dist/components/combobox.js +204 -0
- package/dist/components/combobox.js.map +1 -0
- package/dist/components/consent-sheet.d.ts +186 -0
- package/dist/components/consent-sheet.d.ts.map +1 -0
- package/dist/components/consent-sheet.js +452 -0
- package/dist/components/consent-sheet.js.map +1 -0
- package/dist/components/dialog.d.ts +108 -0
- package/dist/components/dialog.d.ts.map +1 -0
- package/dist/components/dialog.js +573 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/disclaimer-note.d.ts +144 -0
- package/dist/components/disclaimer-note.d.ts.map +1 -0
- package/dist/components/disclaimer-note.js +486 -0
- package/dist/components/disclaimer-note.js.map +1 -0
- package/dist/components/divider.d.ts +76 -0
- package/dist/components/divider.d.ts.map +1 -0
- package/dist/components/divider.js +101 -0
- package/dist/components/divider.js.map +1 -0
- package/dist/components/dose-tracker.d.ts +137 -0
- package/dist/components/dose-tracker.d.ts.map +1 -0
- package/dist/components/dose-tracker.js +154 -0
- package/dist/components/dose-tracker.js.map +1 -0
- package/dist/components/empty-state.d.ts +171 -0
- package/dist/components/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state.js +387 -0
- package/dist/components/empty-state.js.map +1 -0
- package/dist/components/field.d.ts +195 -0
- package/dist/components/field.d.ts.map +1 -0
- package/dist/components/field.js +282 -0
- package/dist/components/field.js.map +1 -0
- package/dist/components/goal-ring.d.ts +114 -0
- package/dist/components/goal-ring.d.ts.map +1 -0
- package/dist/components/goal-ring.js +254 -0
- package/dist/components/goal-ring.js.map +1 -0
- package/dist/components/icon-button.d.ts +124 -0
- package/dist/components/icon-button.d.ts.map +1 -0
- package/dist/components/icon-button.js +113 -0
- package/dist/components/icon-button.js.map +1 -0
- package/dist/components/link.d.ts +122 -0
- package/dist/components/link.d.ts.map +1 -0
- package/dist/components/link.js +164 -0
- package/dist/components/link.js.map +1 -0
- package/dist/components/log-sheet.d.ts +259 -0
- package/dist/components/log-sheet.d.ts.map +1 -0
- package/dist/components/log-sheet.js +437 -0
- package/dist/components/log-sheet.js.map +1 -0
- package/dist/components/menu.d.ts +69 -0
- package/dist/components/menu.d.ts.map +1 -0
- package/dist/components/menu.js +190 -0
- package/dist/components/menu.js.map +1 -0
- package/dist/components/metric-tile.d.ts +301 -0
- package/dist/components/metric-tile.d.ts.map +1 -0
- package/dist/components/metric-tile.js +533 -0
- package/dist/components/metric-tile.js.map +1 -0
- package/dist/components/number-field.d.ts +62 -0
- package/dist/components/number-field.d.ts.map +1 -0
- package/dist/components/number-field.js +134 -0
- package/dist/components/number-field.js.map +1 -0
- package/dist/components/popover.d.ts +70 -0
- package/dist/components/popover.d.ts.map +1 -0
- package/dist/components/popover.js +174 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/progress.d.ts +83 -0
- package/dist/components/progress.d.ts.map +1 -0
- package/dist/components/progress.js +140 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/questionnaire.d.ts +123 -0
- package/dist/components/questionnaire.d.ts.map +1 -0
- package/dist/components/questionnaire.js +148 -0
- package/dist/components/questionnaire.js.map +1 -0
- package/dist/components/radio-group.d.ts +66 -0
- package/dist/components/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group.js +186 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/range-bar.d.ts +172 -0
- package/dist/components/range-bar.d.ts.map +1 -0
- package/dist/components/range-bar.js +578 -0
- package/dist/components/range-bar.js.map +1 -0
- package/dist/components/range-legend.d.ts +97 -0
- package/dist/components/range-legend.d.ts.map +1 -0
- package/dist/components/range-legend.js +166 -0
- package/dist/components/range-legend.js.map +1 -0
- package/dist/components/reading-input.d.ts +225 -0
- package/dist/components/reading-input.d.ts.map +1 -0
- package/dist/components/reading-input.js +651 -0
- package/dist/components/reading-input.js.map +1 -0
- package/dist/components/relative-time.d.ts +177 -0
- package/dist/components/relative-time.d.ts.map +1 -0
- package/dist/components/relative-time.js +603 -0
- package/dist/components/relative-time.js.map +1 -0
- package/dist/components/result-card.d.ts +319 -0
- package/dist/components/result-card.d.ts.map +1 -0
- package/dist/components/result-card.js +614 -0
- package/dist/components/result-card.js.map +1 -0
- package/dist/components/scale-input.d.ts +58 -0
- package/dist/components/scale-input.d.ts.map +1 -0
- package/dist/components/scale-input.js +170 -0
- package/dist/components/scale-input.js.map +1 -0
- package/dist/components/score-dial.d.ts +205 -0
- package/dist/components/score-dial.d.ts.map +1 -0
- package/dist/components/score-dial.js +728 -0
- package/dist/components/score-dial.js.map +1 -0
- package/dist/components/scroll-area.d.ts +38 -0
- package/dist/components/scroll-area.d.ts.map +1 -0
- package/dist/components/scroll-area.js +138 -0
- package/dist/components/scroll-area.js.map +1 -0
- package/dist/components/segmented-control.d.ts +69 -0
- package/dist/components/segmented-control.d.ts.map +1 -0
- package/dist/components/segmented-control.js +259 -0
- package/dist/components/segmented-control.js.map +1 -0
- package/dist/components/select.d.ts +72 -0
- package/dist/components/select.d.ts.map +1 -0
- package/dist/components/select.js +205 -0
- package/dist/components/select.js.map +1 -0
- package/dist/components/sheet.d.ts +192 -0
- package/dist/components/sheet.d.ts.map +1 -0
- package/dist/components/sheet.js +952 -0
- package/dist/components/sheet.js.map +1 -0
- package/dist/components/skeleton.d.ts +104 -0
- package/dist/components/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton.js +266 -0
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/slider.d.ts +55 -0
- package/dist/components/slider.d.ts.map +1 -0
- package/dist/components/slider.js +170 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/source-citation.d.ts +127 -0
- package/dist/components/source-citation.d.ts.map +1 -0
- package/dist/components/source-citation.js +391 -0
- package/dist/components/source-citation.js.map +1 -0
- package/dist/components/spinner.d.ts +86 -0
- package/dist/components/spinner.d.ts.map +1 -0
- package/dist/components/spinner.js +97 -0
- package/dist/components/spinner.js.map +1 -0
- package/dist/components/status-pill.d.ts +90 -0
- package/dist/components/status-pill.d.ts.map +1 -0
- package/dist/components/status-pill.js +259 -0
- package/dist/components/status-pill.js.map +1 -0
- package/dist/components/stepper.d.ts +99 -0
- package/dist/components/stepper.d.ts.map +1 -0
- package/dist/components/stepper.js +152 -0
- package/dist/components/stepper.js.map +1 -0
- package/dist/components/surface.d.ts +92 -0
- package/dist/components/surface.d.ts.map +1 -0
- package/dist/components/surface.js +261 -0
- package/dist/components/surface.js.map +1 -0
- package/dist/components/switch.d.ts +48 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/components/switch.js +152 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/symptom-picker.d.ts +69 -0
- package/dist/components/symptom-picker.d.ts.map +1 -0
- package/dist/components/symptom-picker.js +170 -0
- package/dist/components/symptom-picker.js.map +1 -0
- package/dist/components/tab-bar.d.ts +110 -0
- package/dist/components/tab-bar.d.ts.map +1 -0
- package/dist/components/tab-bar.js +118 -0
- package/dist/components/tab-bar.js.map +1 -0
- package/dist/components/table.d.ts +117 -0
- package/dist/components/table.d.ts.map +1 -0
- package/dist/components/table.js +65 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabs.d.ts +106 -0
- package/dist/components/tabs.d.ts.map +1 -0
- package/dist/components/tabs.js +136 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/term.d.ts +243 -0
- package/dist/components/term.d.ts.map +1 -0
- package/dist/components/term.js +562 -0
- package/dist/components/term.js.map +1 -0
- package/dist/components/textarea.d.ts +157 -0
- package/dist/components/textarea.d.ts.map +1 -0
- package/dist/components/textarea.js +66 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/components/timeline-entry.d.ts +99 -0
- package/dist/components/timeline-entry.d.ts.map +1 -0
- package/dist/components/timeline-entry.js +47 -0
- package/dist/components/timeline-entry.js.map +1 -0
- package/dist/components/toast.d.ts +80 -0
- package/dist/components/toast.d.ts.map +1 -0
- package/dist/components/toast.js +266 -0
- package/dist/components/toast.js.map +1 -0
- package/dist/components/tooltip.d.ts +48 -0
- package/dist/components/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip.js +159 -0
- package/dist/components/tooltip.js.map +1 -0
- package/dist/components/trend-sparkline.d.ts +188 -0
- package/dist/components/trend-sparkline.d.ts.map +1 -0
- package/dist/components/trend-sparkline.js +796 -0
- package/dist/components/trend-sparkline.js.map +1 -0
- package/dist/components/value.d.ts +150 -0
- package/dist/components/value.d.ts.map +1 -0
- package/dist/components/value.js +402 -0
- package/dist/components/value.js.map +1 -0
- package/dist/components/visually-hidden.d.ts +61 -0
- package/dist/components/visually-hidden.d.ts.map +1 -0
- package/dist/components/visually-hidden.js +172 -0
- package/dist/components/visually-hidden.js.map +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +72 -0
- package/dist/index.js.map +1 -0
- package/dist/opsinjs.d.ts +443 -0
- package/dist/opsinjs.d.ts.map +1 -0
- package/dist/opsinjs.js +906 -0
- package/dist/opsinjs.js.map +1 -0
- package/dist/status.d.ts +111 -0
- package/dist/status.d.ts.map +1 -0
- package/dist/status.js +125 -0
- package/dist/status.js.map +1 -0
- package/dist/styles.css +2 -0
- package/dist/utils.d.ts +20 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +82 -0
- package/dist/utils.js.map +1 -0
- package/package.json +86 -3
- package/styles/base.css +132 -0
- package/styles/roles.css +412 -0
- package/styles/standalone.css +20 -0
- package/styles/tailwind.css +18 -0
- package/styles/theme.css +309 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* VisuallyHidden puts content in the accessibility tree and clips it out of sight.
|
|
3
|
+
*
|
|
4
|
+
* THE ONE JOB, AND WHY IT IS NOT `display:none`. The children are announced by a
|
|
5
|
+
* screen reader and painted nowhere. `display:none`, the `hidden` attribute and
|
|
6
|
+
* `visibility:hidden` all remove content from the accessibility tree as well as
|
|
7
|
+
* from view, so none of them can carry a screen-reader-only string. This
|
|
8
|
+
* component clips instead: it positions the span absolutely, shrinks it to one
|
|
9
|
+
* pixel, hides the overflow and clips the box to nothing, which takes the
|
|
10
|
+
* content off the screen while leaving it in the tree. That difference is the
|
|
11
|
+
* whole reason the file exists.
|
|
12
|
+
*
|
|
13
|
+
* IT IS THE `sr-only` PATTERN, SHIPPED AS A COMPONENT. Every opsinjs component
|
|
14
|
+
* that needs a screen-reader-only string inlines the same four or five rules
|
|
15
|
+
* (StatusPill's `describes` span is one a reader has already seen). This file is
|
|
16
|
+
* that pattern named once, so a product can reach it in JSX with a real
|
|
17
|
+
* `data-slot`, a merged `className` and a single place to fix if the clip
|
|
18
|
+
* technique ever has to change. It is shipped for consumers, because the
|
|
19
|
+
* system's own components inline the rules rather than import a component into
|
|
20
|
+
* their substrate.
|
|
21
|
+
*
|
|
22
|
+
* WHAT IT REFUSES: IT IS NOT A SKIP LINK. A skip link is hidden until it
|
|
23
|
+
* receives focus and then it becomes visible, which is a different pattern
|
|
24
|
+
* built from `:focus` or `:focus-within` reveal. This component is always
|
|
25
|
+
* hidden and has no reveal. Placing a focusable control inside always-hidden
|
|
26
|
+
* content makes a keyboard trap, because focus lands somewhere the reader
|
|
27
|
+
* cannot see. So for a control that must appear on focus, reach for a link, and
|
|
28
|
+
* keep this component for the always-hidden case.
|
|
29
|
+
*
|
|
30
|
+
* IT REFUSES EMPTY CONTENT, IN DEVELOPMENT. A VisuallyHidden with nothing
|
|
31
|
+
* inside announces nothing and is a silent no-op, which is the mistake this
|
|
32
|
+
* component is most often reduced to when a caller wires up `children` from a
|
|
33
|
+
* variable that turned out empty. In development it warns once naming the
|
|
34
|
+
* mistake, and it still renders, because a presentation layer's job is to
|
|
35
|
+
* report rather than to throw on the render path.
|
|
36
|
+
*
|
|
37
|
+
* IT IS A SERVER COMPONENT. There is no state, no effect and no timer, so it
|
|
38
|
+
* renders on the server and ships no JavaScript.
|
|
39
|
+
*/
|
|
40
|
+
import { type ReactNode } from "react";
|
|
41
|
+
export interface VisuallyHiddenProps {
|
|
42
|
+
/**
|
|
43
|
+
* The words to announce. They are read by assistive technology and drawn
|
|
44
|
+
* nowhere. Give a control the name its icon stands for, or a repeated link
|
|
45
|
+
* the subject a sighted reader gets from the layout around it. Do not place a
|
|
46
|
+
* focusable control in here: an always-hidden control is a keyboard trap, and
|
|
47
|
+
* a control that must appear on focus is a skip link, which is a different
|
|
48
|
+
* pattern. Empty children announce nothing and raise a development warning.
|
|
49
|
+
*/
|
|
50
|
+
children: ReactNode;
|
|
51
|
+
/**
|
|
52
|
+
* Merged onto the span. It is rarely needed, because the component's whole
|
|
53
|
+
* treatment is the clip and there is nothing visible to style. Use it to
|
|
54
|
+
* position the span when it must sit at a particular point for a control's
|
|
55
|
+
* accessible name to compose correctly, not to make any of it visible: a
|
|
56
|
+
* class that unclips the content defeats the component.
|
|
57
|
+
*/
|
|
58
|
+
className?: string;
|
|
59
|
+
}
|
|
60
|
+
export declare function VisuallyHidden({ children, className }: VisuallyHiddenProps): import("react").JSX.Element;
|
|
61
|
+
//# sourceMappingURL=visually-hidden.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../src/components/visually-hidden.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AA2GtD,MAAM,WAAW,mBAAmB;IAClC;;;;;;;OAOG;IACH,QAAQ,EAAE,SAAS,CAAA;IACnB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,mBAAmB,+BAmC1E"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* VisuallyHidden puts content in the accessibility tree and clips it out of sight.
|
|
4
|
+
*
|
|
5
|
+
* THE ONE JOB, AND WHY IT IS NOT `display:none`. The children are announced by a
|
|
6
|
+
* screen reader and painted nowhere. `display:none`, the `hidden` attribute and
|
|
7
|
+
* `visibility:hidden` all remove content from the accessibility tree as well as
|
|
8
|
+
* from view, so none of them can carry a screen-reader-only string. This
|
|
9
|
+
* component clips instead: it positions the span absolutely, shrinks it to one
|
|
10
|
+
* pixel, hides the overflow and clips the box to nothing, which takes the
|
|
11
|
+
* content off the screen while leaving it in the tree. That difference is the
|
|
12
|
+
* whole reason the file exists.
|
|
13
|
+
*
|
|
14
|
+
* IT IS THE `sr-only` PATTERN, SHIPPED AS A COMPONENT. Every opsinjs component
|
|
15
|
+
* that needs a screen-reader-only string inlines the same four or five rules
|
|
16
|
+
* (StatusPill's `describes` span is one a reader has already seen). This file is
|
|
17
|
+
* that pattern named once, so a product can reach it in JSX with a real
|
|
18
|
+
* `data-slot`, a merged `className` and a single place to fix if the clip
|
|
19
|
+
* technique ever has to change. It is shipped for consumers, because the
|
|
20
|
+
* system's own components inline the rules rather than import a component into
|
|
21
|
+
* their substrate.
|
|
22
|
+
*
|
|
23
|
+
* WHAT IT REFUSES: IT IS NOT A SKIP LINK. A skip link is hidden until it
|
|
24
|
+
* receives focus and then it becomes visible, which is a different pattern
|
|
25
|
+
* built from `:focus` or `:focus-within` reveal. This component is always
|
|
26
|
+
* hidden and has no reveal. Placing a focusable control inside always-hidden
|
|
27
|
+
* content makes a keyboard trap, because focus lands somewhere the reader
|
|
28
|
+
* cannot see. So for a control that must appear on focus, reach for a link, and
|
|
29
|
+
* keep this component for the always-hidden case.
|
|
30
|
+
*
|
|
31
|
+
* IT REFUSES EMPTY CONTENT, IN DEVELOPMENT. A VisuallyHidden with nothing
|
|
32
|
+
* inside announces nothing and is a silent no-op, which is the mistake this
|
|
33
|
+
* component is most often reduced to when a caller wires up `children` from a
|
|
34
|
+
* variable that turned out empty. In development it warns once naming the
|
|
35
|
+
* mistake, and it still renders, because a presentation layer's job is to
|
|
36
|
+
* report rather than to throw on the render path.
|
|
37
|
+
*
|
|
38
|
+
* IT IS A SERVER COMPONENT. There is no state, no effect and no timer, so it
|
|
39
|
+
* renders on the server and ships no JavaScript.
|
|
40
|
+
*/
|
|
41
|
+
import { isValidElement } from "react";
|
|
42
|
+
import { isDevelopment } from "../opsinjs.js";
|
|
43
|
+
import { cn } from "../utils.js";
|
|
44
|
+
/**
|
|
45
|
+
* The clip pattern, as one literal string because Tailwind reads class names
|
|
46
|
+
* out of source and never builds them at runtime. It is absolutely positioned
|
|
47
|
+
* so it leaves the flow, shrunk to a single pixel, its overflow hidden, its box
|
|
48
|
+
* clipped to nothing by both the legacy `clip` rectangle and the modern
|
|
49
|
+
* `clip-path`, its whitespace held on one line so a wrapped word cannot leak a
|
|
50
|
+
* sliver into view, and its border and padding zeroed so neither draws. It is
|
|
51
|
+
* deliberately NOT `display:none` and NOT `visibility:hidden`: either of those
|
|
52
|
+
* would take the content out of the accessibility tree, which is the one thing
|
|
53
|
+
* this component exists to prevent.
|
|
54
|
+
*/
|
|
55
|
+
const CLIP = "absolute m-[-1px] h-px w-px overflow-hidden whitespace-nowrap border-0 p-0 [clip:rect(0,0,0,0)] [clip-path:inset(50%)]";
|
|
56
|
+
/**
|
|
57
|
+
* Development warnings, said once per distinct offender. Nothing here has an
|
|
58
|
+
* `OpsinErrorCode`: the caller's mistake is passing empty content, not a
|
|
59
|
+
* clinical error, so the warning is plain rather than coded, matching the same
|
|
60
|
+
* small pattern `button.tsx` and `segmented-control.tsx` keep for their own
|
|
61
|
+
* uncoded mistakes.
|
|
62
|
+
*/
|
|
63
|
+
const warned = new Set();
|
|
64
|
+
function warnDev(key, message) {
|
|
65
|
+
if (!isDevelopment() || warned.has(key))
|
|
66
|
+
return;
|
|
67
|
+
warned.add(key);
|
|
68
|
+
console.warn(message);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Whether the children amount to nothing a screen reader could announce.
|
|
72
|
+
* `null`, `undefined`, a boolean, an empty or whitespace-only string, and an
|
|
73
|
+
* array of only those are all empty. A number, including zero, is content, and
|
|
74
|
+
* any element is assumed to carry content because walking arbitrary children to
|
|
75
|
+
* prove otherwise is more than this guard should do.
|
|
76
|
+
*/
|
|
77
|
+
function isEmptyNode(node) {
|
|
78
|
+
if (node === null || node === undefined || typeof node === "boolean")
|
|
79
|
+
return true;
|
|
80
|
+
if (typeof node === "string")
|
|
81
|
+
return node.trim() === "";
|
|
82
|
+
if (typeof node === "number")
|
|
83
|
+
return false;
|
|
84
|
+
if (Array.isArray(node))
|
|
85
|
+
return node.every(isEmptyNode);
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Host tags and ARIA roles a browser or a screen reader treats as a tab stop.
|
|
90
|
+
* The list is deliberately short rather than exhaustive: it is a development
|
|
91
|
+
* guard against the mistake the file's own docblock names, not a claim about
|
|
92
|
+
* every element that could ever take focus.
|
|
93
|
+
*/
|
|
94
|
+
const FOCUSABLE_TAGS = new Set([
|
|
95
|
+
"a",
|
|
96
|
+
"button",
|
|
97
|
+
"input",
|
|
98
|
+
"select",
|
|
99
|
+
"textarea",
|
|
100
|
+
"audio",
|
|
101
|
+
"video",
|
|
102
|
+
"iframe",
|
|
103
|
+
"embed",
|
|
104
|
+
"object",
|
|
105
|
+
"summary",
|
|
106
|
+
]);
|
|
107
|
+
const FOCUSABLE_ROLES = new Set([
|
|
108
|
+
"button",
|
|
109
|
+
"link",
|
|
110
|
+
"checkbox",
|
|
111
|
+
"radio",
|
|
112
|
+
"switch",
|
|
113
|
+
"tab",
|
|
114
|
+
"menuitem",
|
|
115
|
+
"menuitemcheckbox",
|
|
116
|
+
"menuitemradio",
|
|
117
|
+
"option",
|
|
118
|
+
"slider",
|
|
119
|
+
"spinbutton",
|
|
120
|
+
"textbox",
|
|
121
|
+
"combobox",
|
|
122
|
+
]);
|
|
123
|
+
/**
|
|
124
|
+
* Whether a descendant renders as, or is marked as, a focusable control.
|
|
125
|
+
* Placing one inside this component is the keyboard trap the docblock warns
|
|
126
|
+
* against: the control keeps its tab stop while the clip keeps it off
|
|
127
|
+
* screen, so a keyboard user can focus something they cannot see and gets no
|
|
128
|
+
* visible ring to follow. Checked alongside the empty-content check, in
|
|
129
|
+
* development only.
|
|
130
|
+
*/
|
|
131
|
+
function hasFocusableDescendant(node) {
|
|
132
|
+
if (Array.isArray(node))
|
|
133
|
+
return node.some(hasFocusableDescendant);
|
|
134
|
+
if (!isValidElement(node))
|
|
135
|
+
return false;
|
|
136
|
+
const props = node.props;
|
|
137
|
+
const type = node.type;
|
|
138
|
+
if (typeof type === "string" && FOCUSABLE_TAGS.has(type))
|
|
139
|
+
return true;
|
|
140
|
+
const role = props.role;
|
|
141
|
+
if (typeof role === "string" && FOCUSABLE_ROLES.has(role))
|
|
142
|
+
return true;
|
|
143
|
+
const tabIndex = props.tabIndex;
|
|
144
|
+
if (typeof tabIndex === "number" && tabIndex >= 0)
|
|
145
|
+
return true;
|
|
146
|
+
return hasFocusableDescendant(props.children);
|
|
147
|
+
}
|
|
148
|
+
export function VisuallyHidden({ children, className }) {
|
|
149
|
+
/* A VisuallyHidden with nothing inside announces nothing. No OPSIN code
|
|
150
|
+
covers it, so the warning is a plain dev-only message keyed on the
|
|
151
|
+
mistake, and the span still renders because refusing on the render path is
|
|
152
|
+
worse than an empty span nobody hears. */
|
|
153
|
+
if (isEmptyNode(children)) {
|
|
154
|
+
warnDev("empty-children", "[opsinjs] VisuallyHidden was given no content to announce. It renders " +
|
|
155
|
+
"an empty span that a screen reader passes over in silence. Pass the " +
|
|
156
|
+
"words a sighted reader gets from the icon or the layout, or remove it.");
|
|
157
|
+
}
|
|
158
|
+
/* A focusable control inside always-hidden content is the keyboard trap
|
|
159
|
+
the docblock warns against: it keeps its tab stop while the clip keeps
|
|
160
|
+
it off screen. No OPSIN code covers it either, for the same reason the
|
|
161
|
+
empty-content warning above has none, so this is the same plain
|
|
162
|
+
dev-only pattern applied to the second named misuse. */
|
|
163
|
+
if (hasFocusableDescendant(children)) {
|
|
164
|
+
warnDev("focusable-child", "[opsinjs] VisuallyHidden was given a focusable child. This component " +
|
|
165
|
+
"is always hidden and never reveals its content, so a control placed " +
|
|
166
|
+
"inside it can receive keyboard focus with nothing on screen to show " +
|
|
167
|
+
"it, which is a keyboard trap. Move the control outside, or use a " +
|
|
168
|
+
"link that reveals itself on focus instead of this component.");
|
|
169
|
+
}
|
|
170
|
+
return (_jsx("span", { "data-slot": "visually-hidden", className: cn(CLIP, className), children: children }));
|
|
171
|
+
}
|
|
172
|
+
//# sourceMappingURL=visually-hidden.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visually-hidden.js","sourceRoot":"","sources":["../../src/components/visually-hidden.tsx"],"names":[],"mappings":"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"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export * from "./opsinjs.ts";
|
|
2
|
+
export { cn } from "./utils.ts";
|
|
3
|
+
export * from "./components/accordion.tsx";
|
|
4
|
+
export * from "./components/alert-banner.tsx";
|
|
5
|
+
export * from "./components/avatar.tsx";
|
|
6
|
+
export * from "./components/badge.tsx";
|
|
7
|
+
export * from "./components/body-map.tsx";
|
|
8
|
+
export * from "./components/button.tsx";
|
|
9
|
+
export * from "./components/callout.tsx";
|
|
10
|
+
export * from "./components/card.tsx";
|
|
11
|
+
export * from "./components/care-card.tsx";
|
|
12
|
+
export * from "./components/checkbox.tsx";
|
|
13
|
+
export * from "./components/combobox.tsx";
|
|
14
|
+
export * from "./components/consent-sheet.tsx";
|
|
15
|
+
export * from "./components/dialog.tsx";
|
|
16
|
+
export * from "./components/disclaimer-note.tsx";
|
|
17
|
+
export * from "./components/divider.tsx";
|
|
18
|
+
export * from "./components/dose-tracker.tsx";
|
|
19
|
+
export * from "./components/empty-state.tsx";
|
|
20
|
+
export * from "./components/field.tsx";
|
|
21
|
+
export * from "./components/goal-ring.tsx";
|
|
22
|
+
export * from "./components/icon-button.tsx";
|
|
23
|
+
export * from "./components/link.tsx";
|
|
24
|
+
export * from "./components/log-sheet.tsx";
|
|
25
|
+
export * from "./components/menu.tsx";
|
|
26
|
+
export * from "./components/metric-tile.tsx";
|
|
27
|
+
export * from "./components/number-field.tsx";
|
|
28
|
+
export * from "./components/popover.tsx";
|
|
29
|
+
export * from "./components/progress.tsx";
|
|
30
|
+
export * from "./components/questionnaire.tsx";
|
|
31
|
+
export * from "./components/radio-group.tsx";
|
|
32
|
+
export * from "./components/range-bar.tsx";
|
|
33
|
+
export * from "./components/range-legend.tsx";
|
|
34
|
+
export * from "./components/reading-input.tsx";
|
|
35
|
+
export * from "./components/relative-time.tsx";
|
|
36
|
+
export * from "./components/result-card.tsx";
|
|
37
|
+
export * from "./components/scale-input.tsx";
|
|
38
|
+
export * from "./components/score-dial.tsx";
|
|
39
|
+
export * from "./components/scroll-area.tsx";
|
|
40
|
+
export * from "./components/segmented-control.tsx";
|
|
41
|
+
export * from "./components/select.tsx";
|
|
42
|
+
export * from "./components/sheet.tsx";
|
|
43
|
+
export * from "./components/skeleton.tsx";
|
|
44
|
+
export * from "./components/slider.tsx";
|
|
45
|
+
export * from "./components/source-citation.tsx";
|
|
46
|
+
export * from "./components/spinner.tsx";
|
|
47
|
+
export * from "./components/status-pill.tsx";
|
|
48
|
+
export * from "./components/stepper.tsx";
|
|
49
|
+
export * from "./components/surface.tsx";
|
|
50
|
+
export * from "./components/switch.tsx";
|
|
51
|
+
export * from "./components/symptom-picker.tsx";
|
|
52
|
+
export * from "./components/tab-bar.tsx";
|
|
53
|
+
export * from "./components/table.tsx";
|
|
54
|
+
export * from "./components/tabs.tsx";
|
|
55
|
+
export * from "./components/term.tsx";
|
|
56
|
+
export * from "./components/textarea.tsx";
|
|
57
|
+
export * from "./components/timeline-entry.tsx";
|
|
58
|
+
export * from "./components/toast.tsx";
|
|
59
|
+
export * from "./components/tooltip.tsx";
|
|
60
|
+
export * from "./components/trend-sparkline.tsx";
|
|
61
|
+
export * from "./components/value.tsx";
|
|
62
|
+
export * from "./components/visually-hidden.tsx";
|
|
63
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAE/B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,yBAAyB,CAAA;AACvC,cAAc,kCAAkC,CAAA;AAChD,cAAc,0BAA0B,CAAA;AACxC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oCAAoC,CAAA;AAClD,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kCAAkC,CAAA;AAChD,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,kCAAkC,CAAA;AAChD,cAAc,wBAAwB,CAAA;AACtC,cAAc,kCAAkC,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* GENERATED FILE - DO NOT EDIT.
|
|
2
|
+
*
|
|
3
|
+
* Source: packages/react/src/components/*.tsx
|
|
4
|
+
* Generator: apps/www/scripts/build-registry.mts (`pnpm run generate`)
|
|
5
|
+
* Gate: `pnpm check:generated` regenerates this file and fails on a diff.
|
|
6
|
+
*
|
|
7
|
+
* The @opsinjs/react entry point: the shared substrate, then every component.
|
|
8
|
+
* Each component is also importable on its own as @opsinjs/react/<id>.
|
|
9
|
+
*/
|
|
10
|
+
export * from "./opsinjs.js";
|
|
11
|
+
export { cn } from "./utils.js";
|
|
12
|
+
export * from "./components/accordion.js";
|
|
13
|
+
export * from "./components/alert-banner.js";
|
|
14
|
+
export * from "./components/avatar.js";
|
|
15
|
+
export * from "./components/badge.js";
|
|
16
|
+
export * from "./components/body-map.js";
|
|
17
|
+
export * from "./components/button.js";
|
|
18
|
+
export * from "./components/callout.js";
|
|
19
|
+
export * from "./components/card.js";
|
|
20
|
+
export * from "./components/care-card.js";
|
|
21
|
+
export * from "./components/checkbox.js";
|
|
22
|
+
export * from "./components/combobox.js";
|
|
23
|
+
export * from "./components/consent-sheet.js";
|
|
24
|
+
export * from "./components/dialog.js";
|
|
25
|
+
export * from "./components/disclaimer-note.js";
|
|
26
|
+
export * from "./components/divider.js";
|
|
27
|
+
export * from "./components/dose-tracker.js";
|
|
28
|
+
export * from "./components/empty-state.js";
|
|
29
|
+
export * from "./components/field.js";
|
|
30
|
+
export * from "./components/goal-ring.js";
|
|
31
|
+
export * from "./components/icon-button.js";
|
|
32
|
+
export * from "./components/link.js";
|
|
33
|
+
export * from "./components/log-sheet.js";
|
|
34
|
+
export * from "./components/menu.js";
|
|
35
|
+
export * from "./components/metric-tile.js";
|
|
36
|
+
export * from "./components/number-field.js";
|
|
37
|
+
export * from "./components/popover.js";
|
|
38
|
+
export * from "./components/progress.js";
|
|
39
|
+
export * from "./components/questionnaire.js";
|
|
40
|
+
export * from "./components/radio-group.js";
|
|
41
|
+
export * from "./components/range-bar.js";
|
|
42
|
+
export * from "./components/range-legend.js";
|
|
43
|
+
export * from "./components/reading-input.js";
|
|
44
|
+
export * from "./components/relative-time.js";
|
|
45
|
+
export * from "./components/result-card.js";
|
|
46
|
+
export * from "./components/scale-input.js";
|
|
47
|
+
export * from "./components/score-dial.js";
|
|
48
|
+
export * from "./components/scroll-area.js";
|
|
49
|
+
export * from "./components/segmented-control.js";
|
|
50
|
+
export * from "./components/select.js";
|
|
51
|
+
export * from "./components/sheet.js";
|
|
52
|
+
export * from "./components/skeleton.js";
|
|
53
|
+
export * from "./components/slider.js";
|
|
54
|
+
export * from "./components/source-citation.js";
|
|
55
|
+
export * from "./components/spinner.js";
|
|
56
|
+
export * from "./components/status-pill.js";
|
|
57
|
+
export * from "./components/stepper.js";
|
|
58
|
+
export * from "./components/surface.js";
|
|
59
|
+
export * from "./components/switch.js";
|
|
60
|
+
export * from "./components/symptom-picker.js";
|
|
61
|
+
export * from "./components/tab-bar.js";
|
|
62
|
+
export * from "./components/table.js";
|
|
63
|
+
export * from "./components/tabs.js";
|
|
64
|
+
export * from "./components/term.js";
|
|
65
|
+
export * from "./components/textarea.js";
|
|
66
|
+
export * from "./components/timeline-entry.js";
|
|
67
|
+
export * from "./components/toast.js";
|
|
68
|
+
export * from "./components/tooltip.js";
|
|
69
|
+
export * from "./components/trend-sparkline.js";
|
|
70
|
+
export * from "./components/value.js";
|
|
71
|
+
export * from "./components/visually-hidden.js";
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAE/B,cAAc,2BAA4B,CAAA;AAC1C,cAAc,8BAA+B,CAAA;AAC7C,cAAc,wBAAyB,CAAA;AACvC,cAAc,uBAAwB,CAAA;AACtC,cAAc,0BAA2B,CAAA;AACzC,cAAc,wBAAyB,CAAA;AACvC,cAAc,yBAA0B,CAAA;AACxC,cAAc,sBAAuB,CAAA;AACrC,cAAc,2BAA4B,CAAA;AAC1C,cAAc,0BAA2B,CAAA;AACzC,cAAc,0BAA2B,CAAA;AACzC,cAAc,+BAAgC,CAAA;AAC9C,cAAc,wBAAyB,CAAA;AACvC,cAAc,iCAAkC,CAAA;AAChD,cAAc,yBAA0B,CAAA;AACxC,cAAc,8BAA+B,CAAA;AAC7C,cAAc,6BAA8B,CAAA;AAC5C,cAAc,uBAAwB,CAAA;AACtC,cAAc,2BAA4B,CAAA;AAC1C,cAAc,6BAA8B,CAAA;AAC5C,cAAc,sBAAuB,CAAA;AACrC,cAAc,2BAA4B,CAAA;AAC1C,cAAc,sBAAuB,CAAA;AACrC,cAAc,6BAA8B,CAAA;AAC5C,cAAc,8BAA+B,CAAA;AAC7C,cAAc,yBAA0B,CAAA;AACxC,cAAc,0BAA2B,CAAA;AACzC,cAAc,+BAAgC,CAAA;AAC9C,cAAc,6BAA8B,CAAA;AAC5C,cAAc,2BAA4B,CAAA;AAC1C,cAAc,8BAA+B,CAAA;AAC7C,cAAc,+BAAgC,CAAA;AAC9C,cAAc,+BAAgC,CAAA;AAC9C,cAAc,6BAA8B,CAAA;AAC5C,cAAc,6BAA8B,CAAA;AAC5C,cAAc,4BAA6B,CAAA;AAC3C,cAAc,6BAA8B,CAAA;AAC5C,cAAc,mCAAoC,CAAA;AAClD,cAAc,wBAAyB,CAAA;AACvC,cAAc,uBAAwB,CAAA;AACtC,cAAc,0BAA2B,CAAA;AACzC,cAAc,wBAAyB,CAAA;AACvC,cAAc,iCAAkC,CAAA;AAChD,cAAc,yBAA0B,CAAA;AACxC,cAAc,6BAA8B,CAAA;AAC5C,cAAc,yBAA0B,CAAA;AACxC,cAAc,yBAA0B,CAAA;AACxC,cAAc,wBAAyB,CAAA;AACvC,cAAc,gCAAiC,CAAA;AAC/C,cAAc,yBAA0B,CAAA;AACxC,cAAc,uBAAwB,CAAA;AACtC,cAAc,sBAAuB,CAAA;AACrC,cAAc,sBAAuB,CAAA;AACrC,cAAc,0BAA2B,CAAA;AACzC,cAAc,gCAAiC,CAAA;AAC/C,cAAc,uBAAwB,CAAA;AACtC,cAAc,yBAA0B,CAAA;AACxC,cAAc,iCAAkC,CAAA;AAChD,cAAc,uBAAwB,CAAA;AACtC,cAAc,iCAAkC,CAAA"}
|