@antscorp/ui 0.1.2 → 0.1.3
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 +1 -1
- package/dist/atoms/AddButton.d.ts +1 -1
- package/dist/atoms/AddButton.doc.d.ts +21 -0
- package/dist/atoms/AddGlyph.doc.d.ts +16 -0
- package/dist/atoms/Chip.doc.d.ts +29 -0
- package/dist/atoms/ChipSkeletons.doc.d.ts +21 -0
- package/dist/atoms/FieldHeading.doc.d.ts +15 -0
- package/dist/atoms/HoverSwap.doc.d.ts +25 -0
- package/dist/atoms/InfoTip.doc.d.ts +25 -0
- package/dist/atoms/InfoTip.js +2 -0
- package/dist/atoms/JointLabel.doc.d.ts +15 -0
- package/dist/atoms/LabeledDivider.d.ts +1 -1
- package/dist/atoms/LabeledDivider.doc.d.ts +21 -0
- package/dist/atoms/LogoImage.doc.d.ts +21 -0
- package/dist/atoms/PanelSearchInput.d.ts +1 -1
- package/dist/atoms/PanelSearchInput.doc.d.ts +25 -0
- package/dist/atoms/PathMark.doc.d.ts +16 -0
- package/dist/atoms/RemoveButton.doc.d.ts +16 -0
- package/dist/atoms/RowSkeletons.doc.d.ts +25 -0
- package/dist/atoms/TextAction.d.ts +3 -3
- package/dist/atoms/TextAction.doc.d.ts +25 -0
- package/dist/atoms/TruncatedOption.d.ts +1 -1
- package/dist/atoms/TruncatedOption.doc.d.ts +24 -0
- package/dist/atoms/TruncatedText.doc.d.ts +15 -0
- package/dist/cli.js +248 -0
- package/dist/doc/schema.d.ts +34 -0
- package/dist/doc/schema.js +33 -0
- package/dist/docs.json +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +53 -51
- package/dist/lib/useLoadingShown.d.ts +1 -1
- package/dist/molecules/AccentCard.d.ts +2 -3
- package/dist/molecules/AccentCard.doc.d.ts +25 -0
- package/dist/molecules/CheckGroup.doc.d.ts +25 -0
- package/dist/molecules/CheckRow.d.ts +1 -1
- package/dist/molecules/CheckRow.doc.d.ts +25 -0
- package/dist/molecules/ChoiceDialog.doc.d.ts +21 -0
- package/dist/molecules/ChoiceTiles.d.ts +1 -1
- package/dist/molecules/ChoiceTiles.doc.d.ts +21 -0
- package/dist/molecules/CommitTextField.doc.d.ts +29 -0
- package/dist/molecules/ConfirmDialog.doc.d.ts +21 -0
- package/dist/molecules/DateTimeInput.doc.d.ts +25 -0
- package/dist/molecules/DurationInput.doc.d.ts +25 -0
- package/dist/molecules/FieldGroup.d.ts +1 -1
- package/dist/molecules/FieldGroup.doc.d.ts +25 -0
- package/dist/molecules/FieldRow.d.ts +1 -1
- package/dist/molecules/FieldRow.doc.d.ts +24 -0
- package/dist/molecules/FieldSkeleton.doc.d.ts +25 -0
- package/dist/molecules/FrequencyLimitRow.doc.d.ts +25 -0
- package/dist/molecules/InlineEditableText.doc.d.ts +25 -0
- package/dist/molecules/LoadMoreRow.doc.d.ts +21 -0
- package/dist/molecules/LoadState.doc.d.ts +21 -0
- package/dist/molecules/MetaTable.d.ts +1 -1
- package/dist/molecules/MetaTable.doc.d.ts +25 -0
- package/dist/molecules/PercentRow.doc.d.ts +25 -0
- package/dist/molecules/PhoneFrame.d.ts +1 -1
- package/dist/molecules/PhoneFrame.doc.d.ts +21 -0
- package/dist/molecules/ProblemsButton.doc.d.ts +25 -0
- package/dist/molecules/RemovableRow.d.ts +1 -1
- package/dist/molecules/RemovableRow.doc.d.ts +25 -0
- package/dist/molecules/RevealRadioGroup.doc.d.ts +25 -0
- package/dist/molecules/RevealSwitch.doc.d.ts +25 -0
- package/dist/molecules/RuleRow.doc.d.ts +25 -0
- package/dist/molecules/Select.d.ts +2 -2
- package/dist/molecules/Select.doc.d.ts +30 -0
- package/dist/molecules/Select.js +27 -27
- package/dist/molecules/SideLabelRow.d.ts +1 -1
- package/dist/molecules/SideLabelRow.doc.d.ts +20 -0
- package/dist/molecules/SplitButton.d.ts +1 -1
- package/dist/molecules/SplitButton.doc.d.ts +25 -0
- package/dist/molecules/StatusButton.doc.d.ts +25 -0
- package/dist/molecules/TagSelect.d.ts +2 -2
- package/dist/molecules/TagSelect.doc.d.ts +25 -0
- package/dist/molecules/ToggleGrid.doc.d.ts +25 -0
- package/dist/molecules/TokenTextField.doc.d.ts +29 -0
- package/dist/molecules/TransferLayout.d.ts +1 -1
- package/dist/molecules/TransferLayout.doc.d.ts +25 -0
- package/dist/molecules/TreeOptions.d.ts +1 -1
- package/dist/molecules/TreeOptions.doc.d.ts +25 -0
- package/dist/organisms/ChipListAddPopover.doc.d.ts +25 -0
- package/dist/organisms/HourOfDayRow.doc.d.ts +25 -0
- package/dist/organisms/HourOfWeekGrid.doc.d.ts +25 -0
- package/dist/organisms/RepeatableList.doc.d.ts +21 -0
- package/dist/organisms/ResizableDrawer.doc.d.ts +25 -0
- package/dist/organisms/RuleGroups.d.ts +3 -3
- package/dist/organisms/RuleGroups.doc.d.ts +21 -0
- package/dist/organisms/RuleList.doc.d.ts +25 -0
- package/dist/organisms/SearchableGroupedList.d.ts +1 -1
- package/dist/organisms/SearchableGroupedList.doc.d.ts +25 -0
- package/dist/organisms/TokenPickerDialog.doc.d.ts +21 -0
- package/dist/organisms/TransferPicker.d.ts +1 -1
- package/dist/organisms/TransferPicker.doc.d.ts +29 -0
- package/dist/organisms/TreeSearchPanel.doc.d.ts +25 -0
- package/dist/organisms/TreeSelect.d.ts +3 -3
- package/dist/organisms/TreeSelect.doc.d.ts +29 -0
- package/dist/theme/AntsomiTheme.doc.d.ts +15 -0
- package/dist/theme/AntsomiTheme.doc.js +22 -0
- package/package.json +17 -6
- package/src/atoms/AddButton.doc.ts +36 -0
- package/src/atoms/AddButton.tsx +1 -1
- package/src/atoms/AddGlyph.doc.ts +26 -0
- package/src/atoms/Chip.doc.ts +45 -0
- package/src/atoms/Chip.tsx +2 -2
- package/src/atoms/ChipSkeletons.doc.ts +31 -0
- package/src/atoms/FieldHeading.doc.ts +22 -0
- package/src/atoms/HoverSwap.doc.ts +39 -0
- package/src/atoms/InfoTip.doc.ts +37 -0
- package/src/atoms/InfoTip.tsx +2 -2
- package/src/atoms/JointLabel.doc.ts +23 -0
- package/src/atoms/LabeledDivider.doc.ts +35 -0
- package/src/atoms/LabeledDivider.tsx +1 -1
- package/src/atoms/LogoImage.doc.ts +42 -0
- package/src/atoms/PanelSearchInput.doc.ts +41 -0
- package/src/atoms/PanelSearchInput.tsx +1 -1
- package/src/atoms/PathMark.doc.ts +25 -0
- package/src/atoms/RemoveButton.doc.ts +26 -0
- package/src/atoms/RowSkeletons.doc.ts +43 -0
- package/src/atoms/TextAction.doc.ts +40 -0
- package/src/atoms/TextAction.tsx +4 -4
- package/src/atoms/TruncatedOption.doc.ts +39 -0
- package/src/atoms/TruncatedOption.tsx +1 -1
- package/src/atoms/TruncatedText.doc.ts +22 -0
- package/src/doc/schema.ts +67 -0
- package/src/index.ts +2 -0
- package/src/lib/useLoadMore.ts +1 -2
- package/src/lib/useLoadingShown.ts +1 -1
- package/src/molecules/AccentCard.doc.ts +43 -0
- package/src/molecules/AccentCard.tsx +7 -8
- package/src/molecules/CheckGroup.doc.ts +40 -0
- package/src/molecules/CheckRow.doc.ts +43 -0
- package/src/molecules/CheckRow.tsx +1 -1
- package/src/molecules/ChoiceDialog.doc.ts +48 -0
- package/src/molecules/ChoiceTiles.doc.ts +42 -0
- package/src/molecules/ChoiceTiles.tsx +3 -3
- package/src/molecules/CommitTextField.doc.ts +41 -0
- package/src/molecules/ConfirmDialog.doc.ts +43 -0
- package/src/molecules/DateTimeInput.doc.ts +48 -0
- package/src/molecules/DurationInput.doc.ts +36 -0
- package/src/molecules/DurationInput.tsx +2 -2
- package/src/molecules/FieldGroup.doc.ts +41 -0
- package/src/molecules/FieldGroup.tsx +1 -1
- package/src/molecules/FieldRow.doc.ts +36 -0
- package/src/molecules/FieldRow.tsx +1 -1
- package/src/molecules/FieldSkeleton.doc.ts +38 -0
- package/src/molecules/FrequencyLimitRow.doc.ts +48 -0
- package/src/molecules/FrequencyLimitRow.tsx +1 -1
- package/src/molecules/InlineEditableText.doc.ts +41 -0
- package/src/molecules/LoadMoreRow.doc.ts +36 -0
- package/src/molecules/LoadState.doc.ts +42 -0
- package/src/molecules/MetaTable.doc.ts +46 -0
- package/src/molecules/MetaTable.tsx +1 -1
- package/src/molecules/PercentRow.doc.ts +48 -0
- package/src/molecules/PhoneFrame.doc.ts +46 -0
- package/src/molecules/PhoneFrame.tsx +2 -2
- package/src/molecules/ProblemsButton.doc.ts +41 -0
- package/src/molecules/RemovableRow.doc.ts +48 -0
- package/src/molecules/RemovableRow.tsx +2 -2
- package/src/molecules/RevealRadioGroup.doc.ts +41 -0
- package/src/molecules/RevealSwitch.doc.ts +38 -0
- package/src/molecules/RuleRow.doc.ts +43 -0
- package/src/molecules/Select.doc.ts +62 -0
- package/src/molecules/Select.tsx +2 -2
- package/src/molecules/SideLabelRow.doc.ts +35 -0
- package/src/molecules/SideLabelRow.tsx +2 -2
- package/src/molecules/SplitButton.doc.ts +41 -0
- package/src/molecules/SplitButton.tsx +1 -1
- package/src/molecules/StatusButton.doc.ts +39 -0
- package/src/molecules/TagSelect.doc.ts +41 -0
- package/src/molecules/TagSelect.tsx +5 -5
- package/src/molecules/ToggleGrid.doc.ts +43 -0
- package/src/molecules/TokenTextField.doc.ts +41 -0
- package/src/molecules/TransferLayout.doc.ts +42 -0
- package/src/molecules/TransferLayout.tsx +2 -3
- package/src/molecules/TreeOptions.doc.ts +38 -0
- package/src/molecules/TreeOptions.tsx +6 -6
- package/src/organisms/ChipListAddPopover.doc.ts +54 -0
- package/src/organisms/HourOfDayRow.doc.ts +43 -0
- package/src/organisms/HourOfDayRow.tsx +1 -1
- package/src/organisms/HourOfWeekGrid.doc.ts +48 -0
- package/src/organisms/HourOfWeekGrid.tsx +1 -1
- package/src/organisms/RepeatableList.doc.ts +49 -0
- package/src/organisms/ResizableDrawer.doc.ts +48 -0
- package/src/organisms/RuleGroups.doc.ts +49 -0
- package/src/organisms/RuleGroups.tsx +3 -3
- package/src/organisms/RuleList.doc.ts +43 -0
- package/src/organisms/SearchableGroupedList.doc.ts +49 -0
- package/src/organisms/SearchableGroupedList.tsx +2 -2
- package/src/organisms/TokenPickerDialog.doc.ts +54 -0
- package/src/organisms/TransferPicker.doc.ts +69 -0
- package/src/organisms/TransferPicker.tsx +3 -3
- package/src/organisms/TreeSearchPanel.doc.ts +43 -0
- package/src/organisms/TreeSearchPanel.tsx +1 -1
- package/src/organisms/TreeSelect.doc.ts +56 -0
- package/src/organisms/TreeSelect.tsx +4 -4
- package/src/theme/AntsomiTheme.doc.ts +23 -0
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { PathMark, type PathMarkProps, useEnclosingPath } from "./atoms/PathMark
|
|
|
15
15
|
export { RowSkeletons, type RowSkeletonsProps } from "./atoms/RowSkeletons.js";
|
|
16
16
|
export { TextAction, type TextActionProps } from "./atoms/TextAction.js";
|
|
17
17
|
export { TruncatedText, type TruncatedTextProps } from "./atoms/TruncatedText.js";
|
|
18
|
+
export { TruncatedOption, type TruncatedOptionProps } from "./atoms/TruncatedOption.js";
|
|
18
19
|
export { AccentCard, type AccentCardProps } from "./molecules/AccentCard.js";
|
|
19
20
|
export { ChoiceDialog, type ChoiceDialogProps } from "./molecules/ChoiceDialog.js";
|
|
20
21
|
export { type ChoiceTile, ChoiceTiles, type ChoiceTilesProps } from "./molecules/ChoiceTiles.js";
|
|
@@ -66,3 +67,4 @@ export { HourOfDayRow, type HourOfDayRowProps } from "./organisms/HourOfDayRow.j
|
|
|
66
67
|
export { HourOfWeekGrid, type HourOfWeekGridProps } from "./organisms/HourOfWeekGrid.js";
|
|
67
68
|
export { ResizableDrawer, type ResizableDrawerProps } from "./organisms/ResizableDrawer.js";
|
|
68
69
|
export { TreeSelect, type TreeSelectItem, type TreeSelectProps } from "./organisms/TreeSelect.js";
|
|
70
|
+
export { TreeSearchPanel, type TreeSearchPanelProps } from "./organisms/TreeSearchPanel.js";
|
package/dist/index.js
CHANGED
|
@@ -16,54 +16,56 @@ import { PathMark as y, useEnclosingPath as b } from "./atoms/PathMark.js";
|
|
|
16
16
|
import { RowSkeletons as x } from "./atoms/RowSkeletons.js";
|
|
17
17
|
import { TextAction as S } from "./atoms/TextAction.js";
|
|
18
18
|
import { TruncatedText as C } from "./atoms/TruncatedText.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
|
|
19
|
+
import { TruncatedOption as w } from "./atoms/TruncatedOption.js";
|
|
20
|
+
import { AccentCard as T } from "./molecules/AccentCard.js";
|
|
21
|
+
import { RevealRadioGroup as E } from "./molecules/RevealRadioGroup.js";
|
|
22
|
+
import { ChoiceDialog as D } from "./molecules/ChoiceDialog.js";
|
|
23
|
+
import { ChoiceTiles as O } from "./molecules/ChoiceTiles.js";
|
|
24
|
+
import { errorStatus as k } from "./lib/errorStatus.js";
|
|
25
|
+
import { tokenLength as A } from "./lib/tokenLength.js";
|
|
26
|
+
import { fitToMaxLength as j } from "./lib/fitToMaxLength.js";
|
|
27
|
+
import { useDraft as M } from "./lib/useDraft.js";
|
|
28
|
+
import { CommitTextField as N } from "./molecules/CommitTextField.js";
|
|
29
|
+
import { FieldSkeleton as P } from "./molecules/FieldSkeleton.js";
|
|
30
|
+
import { TokenTextField as F } from "./molecules/TokenTextField.js";
|
|
31
|
+
import { TreeOptions as I } from "./molecules/TreeOptions.js";
|
|
32
|
+
import { LoadMoreRow as L } from "./molecules/LoadMoreRow.js";
|
|
33
|
+
import { TreeSearchPanel as R } from "./organisms/TreeSearchPanel.js";
|
|
34
|
+
import { TreeSelect as z } from "./organisms/TreeSelect.js";
|
|
35
|
+
import { TokenPickerDialog as B } from "./organisms/TokenPickerDialog.js";
|
|
36
|
+
import { ConfirmDialog as V } from "./molecules/ConfirmDialog.js";
|
|
37
|
+
import { dateValue as H, timeValue as U } from "./lib/iso.js";
|
|
38
|
+
import { FieldGroup as W } from "./molecules/FieldGroup.js";
|
|
39
|
+
import { DateTimeInput as G } from "./molecules/DateTimeInput.js";
|
|
40
|
+
import { DurationInput as K } from "./molecules/DurationInput.js";
|
|
41
|
+
import { FieldRow as q } from "./molecules/FieldRow.js";
|
|
42
|
+
import { PercentRow as J } from "./molecules/PercentRow.js";
|
|
43
|
+
import { PhoneFrame as Y } from "./molecules/PhoneFrame.js";
|
|
44
|
+
import { ProblemsButton as X } from "./molecules/ProblemsButton.js";
|
|
45
|
+
import { RemovableRow as Z } from "./molecules/RemovableRow.js";
|
|
46
|
+
import { RevealSwitch as Q } from "./molecules/RevealSwitch.js";
|
|
47
|
+
import { RuleRow as $ } from "./molecules/RuleRow.js";
|
|
48
|
+
import { Select as ee } from "./molecules/Select.js";
|
|
49
|
+
import { SideLabelRow as te } from "./molecules/SideLabelRow.js";
|
|
50
|
+
import { CheckRow as ne } from "./molecules/CheckRow.js";
|
|
51
|
+
import { MetaTable as re } from "./molecules/MetaTable.js";
|
|
52
|
+
import { TransferLayout as ie } from "./molecules/TransferLayout.js";
|
|
53
|
+
import { CheckGroup as ae } from "./molecules/CheckGroup.js";
|
|
54
|
+
import { FrequencyLimitRow as oe } from "./molecules/FrequencyLimitRow.js";
|
|
55
|
+
import { InlineEditableText as se } from "./molecules/InlineEditableText.js";
|
|
56
|
+
import { LoadState as ce } from "./molecules/LoadState.js";
|
|
57
|
+
import { SplitButton as le } from "./molecules/SplitButton.js";
|
|
58
|
+
import { StatusButton as ue } from "./molecules/StatusButton.js";
|
|
59
|
+
import { TagSelect as de } from "./molecules/TagSelect.js";
|
|
60
|
+
import { ToggleGrid as fe } from "./molecules/ToggleGrid.js";
|
|
61
|
+
import { useConfirmedChange as pe } from "./lib/useConfirmedChange.js";
|
|
62
|
+
import { RepeatableList as me } from "./organisms/RepeatableList.js";
|
|
63
|
+
import { RuleGroups as he } from "./organisms/RuleGroups.js";
|
|
64
|
+
import { RuleList as ge } from "./organisms/RuleList.js";
|
|
65
|
+
import { SearchableGroupedList as _e } from "./organisms/SearchableGroupedList.js";
|
|
66
|
+
import { TransferPicker as ve } from "./organisms/TransferPicker.js";
|
|
67
|
+
import { ChipListAddPopover as ye } from "./organisms/ChipListAddPopover.js";
|
|
68
|
+
import { HourOfDayRow as be } from "./organisms/HourOfDayRow.js";
|
|
69
|
+
import { HourOfWeekGrid as xe } from "./organisms/HourOfWeekGrid.js";
|
|
70
|
+
import { ResizableDrawer as Se } from "./organisms/ResizableDrawer.js";
|
|
71
|
+
export { T as AccentCard, n as AddButton, t as AddGlyph, e as AntsomiTheme, ae as CheckGroup, ne as CheckRow, i as Chip, ye as ChipListAddPopover, l as ChipSkeletons, D as ChoiceDialog, O as ChoiceTiles, N as CommitTextField, V as ConfirmDialog, G as DateTimeInput, K as DurationInput, p as FIELD_PATH_ATTRIBUTE, W as FieldGroup, s as FieldHeading, q as FieldRow, P as FieldSkeleton, oe as FrequencyLimitRow, be as HourOfDayRow, xe as HourOfWeekGrid, a as HoverSwap, o as InfoTip, se as InlineEditableText, c as JointLabel, u as LabeledDivider, L as LoadMoreRow, ce as LoadState, f as LogoImage, re as MetaTable, d as PanelSearchInput, y as PathMark, m as PathRevealContext, J as PercentRow, Y as PhoneFrame, X as ProblemsButton, Z as RemovableRow, r as RemoveButton, me as RepeatableList, Se as ResizableDrawer, E as RevealRadioGroup, Q as RevealSwitch, x as RowSkeletons, he as RuleGroups, ge as RuleList, $ as RuleRow, _e as SearchableGroupedList, ee as Select, te as SideLabelRow, le as SplitButton, ue as StatusButton, de as TagSelect, S as TextAction, fe as ToggleGrid, B as TokenPickerDialog, F as TokenTextField, ie as TransferLayout, ve as TransferPicker, I as TreeOptions, R as TreeSearchPanel, z as TreeSelect, w as TruncatedOption, C as TruncatedText, H as dateValue, k as errorStatus, j as fitToMaxLength, h as pathMarkOf, g as revealPath, U as timeValue, A as tokenLength, pe as useConfirmedChange, M as useDraft, b as useEnclosingPath, _ as usePathReveal, v as useRevealedState };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* When a loading state shows, for every view of the kit
|
|
2
|
+
* When a loading state shows, for every view of the kit: only after the load has
|
|
3
3
|
* lasted `delay` ms, then for at least `minDuration` ms, so a fast load shows nothing and a slow
|
|
4
4
|
* one never flashes. `delay` matches the antsomi theme's skeleton `animationDelay`.
|
|
5
5
|
*/
|
|
@@ -21,9 +21,8 @@ export type AccentCardProps = {
|
|
|
21
21
|
readonly isDisabled?: boolean | undefined;
|
|
22
22
|
/**
|
|
23
23
|
* `stripe` (default): a grey border with an accent stripe down the start edge and a light
|
|
24
|
-
* header bar
|
|
25
|
-
* under a dark blue header bar with the title in white capitals and a white close cross
|
|
26
|
-
* fe-app's audience picker.
|
|
24
|
+
* header bar. `banner`: no border nor stripe but a soft shadow,
|
|
25
|
+
* under a dark blue header bar with the title in white capitals and a white close cross.
|
|
27
26
|
*/
|
|
28
27
|
readonly variant?: "stripe" | "banner" | undefined;
|
|
29
28
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for AccentCard. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Layout";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for CheckGroup. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Selection";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -25,7 +25,7 @@ export type CheckRowProps = {
|
|
|
25
25
|
* One row of a list to tick: a checkbox (md, as every checkbox), the row's text on one line (and
|
|
26
26
|
* an optional second line), and content at its end that `hoverContent` replaces while the row is
|
|
27
27
|
* hovered or focused. The box is the control and is named by the text; the text itself is not a
|
|
28
|
-
* click target
|
|
28
|
+
* click target. As high as a small control, so `RowSkeletons variant="check"`
|
|
29
29
|
* stands in for it without a shift. It holds no state.
|
|
30
30
|
*/
|
|
31
31
|
export declare function CheckRow(props: CheckRowProps): ReactNode;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for CheckRow. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Selection";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Usage guidance for ChoiceDialog. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Overlays";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: {
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
accessibility: string[];
|
|
21
|
+
};
|
|
@@ -22,7 +22,7 @@ export type ChoiceTilesProps<V extends string> = {
|
|
|
22
22
|
readonly isDisabled?: boolean | undefined;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
|
-
* A choice among a few ways to go on
|
|
25
|
+
* A choice among a few ways to go on: a wrapping row of 180×170 cards, each
|
|
26
26
|
* a button with its glyph in a soft accent circle, a bold title and a description under it. A pick
|
|
27
27
|
* is an action, not a selected state: the host shows what follows instead. It holds no state.
|
|
28
28
|
*/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Usage guidance for ChoiceTiles. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Selection";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: {
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
accessibility: string[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** Usage guidance for CommitTextField. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Inputs";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
related: {
|
|
6
|
+
name: string;
|
|
7
|
+
when: string;
|
|
8
|
+
}[];
|
|
9
|
+
usage: {
|
|
10
|
+
description: string;
|
|
11
|
+
bestPractices: ({
|
|
12
|
+
guidance: true;
|
|
13
|
+
description: string;
|
|
14
|
+
} | {
|
|
15
|
+
guidance: false;
|
|
16
|
+
description: string;
|
|
17
|
+
})[];
|
|
18
|
+
anatomy: ({
|
|
19
|
+
name: string;
|
|
20
|
+
required: true;
|
|
21
|
+
description: string;
|
|
22
|
+
} | {
|
|
23
|
+
name: string;
|
|
24
|
+
required: false;
|
|
25
|
+
description: string;
|
|
26
|
+
})[];
|
|
27
|
+
};
|
|
28
|
+
accessibility: string[];
|
|
29
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Usage guidance for ConfirmDialog. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Overlays";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: {
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
accessibility: string[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for DateTimeInput. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Inputs";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for DurationInput. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Inputs";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -11,7 +11,7 @@ export type FieldGroupProps = {
|
|
|
11
11
|
readonly frame?: "none" | "card" | undefined;
|
|
12
12
|
/** Help under the label. */
|
|
13
13
|
readonly description?: string | undefined;
|
|
14
|
-
/** Disables
|
|
14
|
+
/** Disables fields through the unframed fieldset; with `frame="card"`, disable children yourself. */
|
|
15
15
|
readonly isDisabled?: boolean | undefined;
|
|
16
16
|
/** A problem with the group as a whole, already in the user's language. */
|
|
17
17
|
readonly error?: string | undefined;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for FieldGroup. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Layout";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -3,7 +3,7 @@ import type { ReactNode } from "react";
|
|
|
3
3
|
export type FieldRowProps = {
|
|
4
4
|
/**
|
|
5
5
|
* The row's caption, in a column at the start. Without it the column stays, empty, so the
|
|
6
|
-
* content lines up with the captioned rows around it
|
|
6
|
+
* content lines up with the captioned rows around it; stacked,
|
|
7
7
|
* nothing is drawn above the content.
|
|
8
8
|
*/
|
|
9
9
|
readonly label?: string | undefined;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** Usage guidance for FieldRow. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Layout";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: false;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: true;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for FieldSkeleton. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Feedback";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: false;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: true;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for FrequencyLimitRow. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Inputs";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for InlineEditableText. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Inputs";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Usage guidance for LoadMoreRow. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Feedback";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: {
|
|
15
|
+
name: string;
|
|
16
|
+
required: false;
|
|
17
|
+
description: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
accessibility: string[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Usage guidance for LoadState. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Feedback";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: {
|
|
15
|
+
name: string;
|
|
16
|
+
required: false;
|
|
17
|
+
description: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
accessibility: string[];
|
|
21
|
+
};
|
|
@@ -32,7 +32,7 @@ export type MetaTableProps = {
|
|
|
32
32
|
} | undefined;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
|
-
* A read-only table of names and a short value each
|
|
35
|
+
* A read-only table of names and a short value each: a name
|
|
36
36
|
* column (each name a link when it has an `href`, on one line with the whole name in a tooltip when
|
|
37
37
|
* cut; a problem in the error tone with a ⚠ tip) and, with `labels.meta`, a value column at the
|
|
38
38
|
* end. A row that `isLoading` shows shimmer bars in its cells, in the table's real columns; the
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Usage guidance for MetaTable. */
|
|
2
|
+
export declare const doc: {
|
|
3
|
+
category: "Data display";
|
|
4
|
+
keywords: string[];
|
|
5
|
+
usage: {
|
|
6
|
+
description: string;
|
|
7
|
+
bestPractices: ({
|
|
8
|
+
guidance: true;
|
|
9
|
+
description: string;
|
|
10
|
+
} | {
|
|
11
|
+
guidance: false;
|
|
12
|
+
description: string;
|
|
13
|
+
})[];
|
|
14
|
+
anatomy: ({
|
|
15
|
+
name: string;
|
|
16
|
+
required: true;
|
|
17
|
+
description: string;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
required: false;
|
|
21
|
+
description: string;
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
accessibility: string[];
|
|
25
|
+
};
|