@antscorp/ui 0.1.3 → 0.1.5
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 +25 -1
- package/dist/atoms/AddButton.d.ts +3 -5
- package/dist/atoms/Chip.d.ts +3 -3
- package/dist/atoms/Chip.js +1 -1
- package/dist/atoms/RemoveButton.d.ts +3 -5
- package/dist/atoms/TextAction.d.ts +3 -3
- package/dist/docs.json +1 -1
- package/dist/lib/forwardable.d.ts +8 -0
- package/dist/lib/iso.d.ts +2 -2
- package/dist/lib/iso.js +16 -8
- package/dist/lib/tokenEditorExtensions.js +1 -1
- package/dist/molecules/AccentCard.js +2 -2
- package/dist/molecules/CheckGroup.d.ts +2 -1
- package/dist/molecules/CheckRow.d.ts +3 -5
- package/dist/molecules/ChoiceTiles.js +1 -1
- package/dist/molecules/CommitTextField.d.ts +2 -19
- package/dist/molecules/CommitTextField.js +21 -18
- package/dist/molecules/ConfirmDialog.d.ts +3 -7
- package/dist/molecules/DateTimeInput.d.ts +7 -3
- package/dist/molecules/DateTimeInput.js +82 -73
- package/dist/molecules/DurationInput.d.ts +2 -1
- package/dist/molecules/PercentRow.d.ts +2 -1
- package/dist/molecules/RemovableRow.js +32 -32
- package/dist/molecules/RevealRadioGroup.d.ts +3 -9
- package/dist/molecules/RevealSwitch.d.ts +3 -7
- package/dist/molecules/Select.d.ts +8 -23
- package/dist/molecules/Select.js +26 -20
- package/dist/molecules/StatusButton.d.ts +3 -7
- package/dist/molecules/ToggleGrid.d.ts +2 -1
- package/dist/molecules/TokenTextField.d.ts +2 -1
- package/dist/molecules/TreeOptions.d.ts +3 -2
- package/dist/molecules/TreeOptions.js +67 -44
- package/dist/organisms/HourOfDayRow.js +2 -2
- package/dist/organisms/HourOfWeekGrid.js +2 -2
- package/dist/organisms/TokenPickerDialog.d.ts +2 -1
- package/dist/organisms/TransferPicker.d.ts +2 -1
- package/dist/organisms/TreeSearchPanel.js +50 -47
- package/dist/theme/AntsomiTheme.d.ts +3 -2
- package/dist/theme/AntsomiTheme.js +8 -7
- package/dist/ui.css +1 -1
- package/package.json +23 -17
- package/src/atoms/AddButton.tsx +3 -6
- package/src/atoms/Chip.tsx +6 -5
- package/src/atoms/RemoveButton.tsx +4 -6
- package/src/atoms/TextAction.tsx +4 -4
- package/src/lib/forwardable.ts +8 -0
- package/src/lib/iso.ts +15 -3
- package/src/lib/tokenEditorExtensions.ts +1 -1
- package/src/molecules/AccentCard.tsx +4 -2
- package/src/molecules/CheckGroup.tsx +3 -3
- package/src/molecules/CheckRow.tsx +3 -6
- package/src/molecules/ChoiceTiles.tsx +3 -1
- package/src/molecules/CommitTextField.tsx +18 -20
- package/src/molecules/ConfirmDialog.tsx +6 -8
- package/src/molecules/DateTimeInput.tsx +87 -68
- package/src/molecules/DurationInput.tsx +4 -1
- package/src/molecules/PercentRow.tsx +3 -2
- package/src/molecules/RemovableRow.tsx +1 -1
- package/src/molecules/RevealRadioGroup.tsx +5 -10
- package/src/molecules/RevealSwitch.tsx +4 -8
- package/src/molecules/Select.tsx +25 -22
- package/src/molecules/StatusButton.tsx +4 -8
- package/src/molecules/ToggleGrid.tsx +3 -3
- package/src/molecules/TokenTextField.tsx +3 -3
- package/src/molecules/TreeOptions.tsx +86 -62
- package/src/organisms/HourOfDayRow.tsx +4 -2
- package/src/organisms/HourOfWeekGrid.tsx +4 -2
- package/src/organisms/TokenPickerDialog.tsx +2 -1
- package/src/organisms/TransferPicker.tsx +3 -3
- package/src/organisms/TreeSearchPanel.tsx +1 -1
- package/src/theme/AntsomiTheme.tsx +9 -3
- package/dist/atoms/AddButton.doc.d.ts +0 -21
- package/dist/atoms/AddGlyph.doc.d.ts +0 -16
- package/dist/atoms/Chip.doc.d.ts +0 -29
- package/dist/atoms/ChipSkeletons.doc.d.ts +0 -21
- package/dist/atoms/FieldHeading.doc.d.ts +0 -15
- package/dist/atoms/HoverSwap.doc.d.ts +0 -25
- package/dist/atoms/InfoTip.doc.d.ts +0 -25
- package/dist/atoms/JointLabel.doc.d.ts +0 -15
- package/dist/atoms/LabeledDivider.doc.d.ts +0 -21
- package/dist/atoms/LogoImage.doc.d.ts +0 -21
- package/dist/atoms/PanelSearchInput.doc.d.ts +0 -25
- package/dist/atoms/PathMark.doc.d.ts +0 -16
- package/dist/atoms/RemoveButton.doc.d.ts +0 -16
- package/dist/atoms/RowSkeletons.doc.d.ts +0 -25
- package/dist/atoms/TextAction.doc.d.ts +0 -25
- package/dist/atoms/TruncatedOption.doc.d.ts +0 -24
- package/dist/atoms/TruncatedText.doc.d.ts +0 -15
- package/dist/molecules/AccentCard.doc.d.ts +0 -25
- package/dist/molecules/CheckGroup.doc.d.ts +0 -25
- package/dist/molecules/CheckRow.doc.d.ts +0 -25
- package/dist/molecules/ChoiceDialog.doc.d.ts +0 -21
- package/dist/molecules/ChoiceTiles.doc.d.ts +0 -21
- package/dist/molecules/CommitTextField.doc.d.ts +0 -29
- package/dist/molecules/ConfirmDialog.doc.d.ts +0 -21
- package/dist/molecules/DateTimeInput.doc.d.ts +0 -25
- package/dist/molecules/DurationInput.doc.d.ts +0 -25
- package/dist/molecules/FieldGroup.doc.d.ts +0 -25
- package/dist/molecules/FieldRow.doc.d.ts +0 -24
- package/dist/molecules/FieldSkeleton.doc.d.ts +0 -25
- package/dist/molecules/FrequencyLimitRow.doc.d.ts +0 -25
- package/dist/molecules/InlineEditableText.doc.d.ts +0 -25
- package/dist/molecules/LoadMoreRow.doc.d.ts +0 -21
- package/dist/molecules/LoadState.doc.d.ts +0 -21
- package/dist/molecules/MetaTable.doc.d.ts +0 -25
- package/dist/molecules/PercentRow.doc.d.ts +0 -25
- package/dist/molecules/PhoneFrame.doc.d.ts +0 -21
- package/dist/molecules/ProblemsButton.doc.d.ts +0 -25
- package/dist/molecules/RemovableRow.doc.d.ts +0 -25
- package/dist/molecules/RevealRadioGroup.doc.d.ts +0 -25
- package/dist/molecules/RevealSwitch.doc.d.ts +0 -25
- package/dist/molecules/RuleRow.doc.d.ts +0 -25
- package/dist/molecules/Select.doc.d.ts +0 -30
- package/dist/molecules/SideLabelRow.doc.d.ts +0 -20
- package/dist/molecules/SplitButton.doc.d.ts +0 -25
- package/dist/molecules/StatusButton.doc.d.ts +0 -25
- package/dist/molecules/TagSelect.doc.d.ts +0 -25
- package/dist/molecules/ToggleGrid.doc.d.ts +0 -25
- package/dist/molecules/TokenTextField.doc.d.ts +0 -29
- package/dist/molecules/TransferLayout.doc.d.ts +0 -25
- package/dist/molecules/TreeOptions.doc.d.ts +0 -25
- package/dist/organisms/ChipListAddPopover.doc.d.ts +0 -25
- package/dist/organisms/HourOfDayRow.doc.d.ts +0 -25
- package/dist/organisms/HourOfWeekGrid.doc.d.ts +0 -25
- package/dist/organisms/RepeatableList.doc.d.ts +0 -21
- package/dist/organisms/ResizableDrawer.doc.d.ts +0 -25
- package/dist/organisms/RuleGroups.doc.d.ts +0 -21
- package/dist/organisms/RuleList.doc.d.ts +0 -25
- package/dist/organisms/SearchableGroupedList.doc.d.ts +0 -25
- package/dist/organisms/TokenPickerDialog.doc.d.ts +0 -21
- package/dist/organisms/TransferPicker.doc.d.ts +0 -29
- package/dist/organisms/TreeSearchPanel.doc.d.ts +0 -25
- package/dist/organisms/TreeSelect.doc.d.ts +0 -29
- package/dist/theme/AntsomiTheme.doc.d.ts +0 -15
- package/dist/theme/AntsomiTheme.doc.js +0 -22
- package/src/atoms/AddButton.doc.ts +0 -36
- package/src/atoms/AddGlyph.doc.ts +0 -26
- package/src/atoms/Chip.doc.ts +0 -45
- package/src/atoms/ChipSkeletons.doc.ts +0 -31
- package/src/atoms/FieldHeading.doc.ts +0 -22
- package/src/atoms/HoverSwap.doc.ts +0 -39
- package/src/atoms/InfoTip.doc.ts +0 -37
- package/src/atoms/JointLabel.doc.ts +0 -23
- package/src/atoms/LabeledDivider.doc.ts +0 -35
- package/src/atoms/LogoImage.doc.ts +0 -42
- package/src/atoms/PanelSearchInput.doc.ts +0 -41
- package/src/atoms/PathMark.doc.ts +0 -25
- package/src/atoms/RemoveButton.doc.ts +0 -26
- package/src/atoms/RowSkeletons.doc.ts +0 -43
- package/src/atoms/TextAction.doc.ts +0 -40
- package/src/atoms/TruncatedOption.doc.ts +0 -39
- package/src/atoms/TruncatedText.doc.ts +0 -22
- package/src/molecules/AccentCard.doc.ts +0 -43
- package/src/molecules/CheckGroup.doc.ts +0 -40
- package/src/molecules/CheckRow.doc.ts +0 -43
- package/src/molecules/ChoiceDialog.doc.ts +0 -48
- package/src/molecules/ChoiceTiles.doc.ts +0 -42
- package/src/molecules/CommitTextField.doc.ts +0 -41
- package/src/molecules/ConfirmDialog.doc.ts +0 -43
- package/src/molecules/DateTimeInput.doc.ts +0 -48
- package/src/molecules/DurationInput.doc.ts +0 -36
- package/src/molecules/FieldGroup.doc.ts +0 -41
- package/src/molecules/FieldRow.doc.ts +0 -36
- package/src/molecules/FieldSkeleton.doc.ts +0 -38
- package/src/molecules/FrequencyLimitRow.doc.ts +0 -48
- package/src/molecules/InlineEditableText.doc.ts +0 -41
- package/src/molecules/LoadMoreRow.doc.ts +0 -36
- package/src/molecules/LoadState.doc.ts +0 -42
- package/src/molecules/MetaTable.doc.ts +0 -46
- package/src/molecules/PercentRow.doc.ts +0 -48
- package/src/molecules/PhoneFrame.doc.ts +0 -46
- package/src/molecules/ProblemsButton.doc.ts +0 -41
- package/src/molecules/RemovableRow.doc.ts +0 -48
- package/src/molecules/RevealRadioGroup.doc.ts +0 -41
- package/src/molecules/RevealSwitch.doc.ts +0 -38
- package/src/molecules/RuleRow.doc.ts +0 -43
- package/src/molecules/Select.doc.ts +0 -62
- package/src/molecules/SideLabelRow.doc.ts +0 -35
- package/src/molecules/SplitButton.doc.ts +0 -41
- package/src/molecules/StatusButton.doc.ts +0 -39
- package/src/molecules/TagSelect.doc.ts +0 -41
- package/src/molecules/ToggleGrid.doc.ts +0 -43
- package/src/molecules/TokenTextField.doc.ts +0 -41
- package/src/molecules/TransferLayout.doc.ts +0 -42
- package/src/molecules/TreeOptions.doc.ts +0 -38
- package/src/organisms/ChipListAddPopover.doc.ts +0 -54
- package/src/organisms/HourOfDayRow.doc.ts +0 -43
- package/src/organisms/HourOfWeekGrid.doc.ts +0 -48
- package/src/organisms/RepeatableList.doc.ts +0 -49
- package/src/organisms/ResizableDrawer.doc.ts +0 -48
- package/src/organisms/RuleGroups.doc.ts +0 -49
- package/src/organisms/RuleList.doc.ts +0 -43
- package/src/organisms/SearchableGroupedList.doc.ts +0 -49
- package/src/organisms/TokenPickerDialog.doc.ts +0 -54
- package/src/organisms/TransferPicker.doc.ts +0 -69
- package/src/organisms/TreeSearchPanel.doc.ts +0 -43
- package/src/organisms/TreeSelect.doc.ts +0 -56
- package/src/theme/AntsomiTheme.doc.ts +0 -23
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for SideLabelRow. */
|
|
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
|
-
};
|
|
20
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for SplitButton. */
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for StatusButton. */
|
|
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: true;
|
|
17
|
-
description: string;
|
|
18
|
-
} | {
|
|
19
|
-
name: string;
|
|
20
|
-
required: false;
|
|
21
|
-
description: string;
|
|
22
|
-
})[];
|
|
23
|
-
};
|
|
24
|
-
accessibility: string[];
|
|
25
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for TagSelect. */
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for ToggleGrid. */
|
|
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
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for TokenTextField. */
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for TransferLayout. */
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for TreeOptions. */
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for ChipListAddPopover. */
|
|
2
|
-
export declare const doc: {
|
|
3
|
-
category: "Selection";
|
|
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: false;
|
|
21
|
-
description: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
accessibility: string[];
|
|
25
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for HourOfDayRow. */
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for HourOfWeekGrid. */
|
|
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
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for RepeatableList. */
|
|
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: false;
|
|
17
|
-
description: string;
|
|
18
|
-
}[];
|
|
19
|
-
};
|
|
20
|
-
accessibility: string[];
|
|
21
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for ResizableDrawer. */
|
|
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
|
-
name: string;
|
|
20
|
-
required: false;
|
|
21
|
-
description: string;
|
|
22
|
-
})[];
|
|
23
|
-
};
|
|
24
|
-
accessibility: string[];
|
|
25
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for RuleGroups. */
|
|
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: false;
|
|
17
|
-
description: string;
|
|
18
|
-
}[];
|
|
19
|
-
};
|
|
20
|
-
accessibility: string[];
|
|
21
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for RuleList. */
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for SearchableGroupedList. */
|
|
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
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for TokenPickerDialog. */
|
|
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
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for TransferPicker. */
|
|
2
|
-
export declare const doc: {
|
|
3
|
-
category: "Selection";
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for TreeSearchPanel. */
|
|
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
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for TreeSelect. */
|
|
2
|
-
export declare const doc: {
|
|
3
|
-
category: "Selection";
|
|
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
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** Usage guidance for AntsomiTheme. */
|
|
2
|
-
export declare const doc: {
|
|
3
|
-
category: "Theme";
|
|
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
|
-
};
|
|
15
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// src/theme/AntsomiTheme.doc.ts
|
|
2
|
-
var e = {
|
|
3
|
-
category: "Theme",
|
|
4
|
-
keywords: [
|
|
5
|
-
"theme",
|
|
6
|
-
"provider",
|
|
7
|
-
"tokens",
|
|
8
|
-
"icons",
|
|
9
|
-
"mode"
|
|
10
|
-
],
|
|
11
|
-
usage: {
|
|
12
|
-
description: "Apply the Antsomi base theme to a subtree and forward Astryx's light, dark or system mode. Extend antsomiTheme with defineTheme and pass the result through theme for a scoped override.",
|
|
13
|
-
bestPractices: [{
|
|
14
|
-
guidance: !0,
|
|
15
|
-
description: "Import @antscorp/ui/theme.css separately and load Roboto in the host; nest providers when an override should affect only a subtree."
|
|
16
|
-
}, {
|
|
17
|
-
guidance: !1,
|
|
18
|
-
description: "Do not expect the provider to load CSS or fonts, or replace theme tokens with hard-coded colors in consuming views."
|
|
19
|
-
}]
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
export { e as doc };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { ComponentDoc } from "../doc/schema";
|
|
2
|
-
|
|
3
|
-
/** Usage guidance for AddButton. */
|
|
4
|
-
export const doc = {
|
|
5
|
-
category: "Inputs",
|
|
6
|
-
keywords: ["add", "button", "list", "plus"],
|
|
7
|
-
usage: {
|
|
8
|
-
description:
|
|
9
|
-
"Add a row or item with a labeled plus button. Use TextAction for an action that does not need the add glyph.",
|
|
10
|
-
bestPractices: [
|
|
11
|
-
{
|
|
12
|
-
guidance: true,
|
|
13
|
-
description:
|
|
14
|
-
"Keep label specific about what will be added and let the host update the list in onClick.",
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
guidance: false,
|
|
18
|
-
description:
|
|
19
|
-
"Do not expect the button to add data itself; isReadOnly hides the entire editing affordance.",
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
anatomy: [
|
|
23
|
-
{
|
|
24
|
-
name: "Plus",
|
|
25
|
-
required: true,
|
|
26
|
-
description: "The theme's ui:add glyph, sized with the button.",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
name: "Label",
|
|
30
|
-
required: true,
|
|
31
|
-
description: "The translated action text, optionally shown in capitals.",
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
accessibility: ["The button is named by label; uppercase presentation preserves that name."],
|
|
36
|
-
} satisfies ComponentDoc;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { ComponentDoc } from "../doc/schema";
|
|
2
|
-
|
|
3
|
-
/** Usage guidance for AddGlyph. */
|
|
4
|
-
export const doc = {
|
|
5
|
-
category: "Data display",
|
|
6
|
-
keywords: ["plus", "glyph", "icon", "add"],
|
|
7
|
-
usage: {
|
|
8
|
-
description:
|
|
9
|
-
"Draw the theme's decorative plus inside a custom add control. Use AddButton when a complete labeled action is needed.",
|
|
10
|
-
bestPractices: [
|
|
11
|
-
{
|
|
12
|
-
guidance: true,
|
|
13
|
-
description:
|
|
14
|
-
"Match size to the containing button and provide its action label on that button.",
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
guidance: false,
|
|
18
|
-
description:
|
|
19
|
-
"Do not use the glyph alone as an action or expect it to draw in a theme without ui:add.",
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
},
|
|
23
|
-
accessibility: [
|
|
24
|
-
"The glyph is decorative and hidden from assistive technology; the containing button supplies the name.",
|
|
25
|
-
],
|
|
26
|
-
} satisfies ComponentDoc;
|
package/src/atoms/Chip.doc.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { ComponentDoc } from "../doc/schema";
|
|
2
|
-
|
|
3
|
-
/** Usage guidance for Chip. */
|
|
4
|
-
export const doc = {
|
|
5
|
-
category: "Data display",
|
|
6
|
-
keywords: ["pill", "picked value", "remove"],
|
|
7
|
-
related: [
|
|
8
|
-
{
|
|
9
|
-
name: "astryx/Badge",
|
|
10
|
-
when: "Show an informational status or category rather than a removable picked value.",
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
usage: {
|
|
14
|
-
description:
|
|
15
|
-
"Show one picked value in a compact pill. Supply onRemove and labels.remove together to offer removal; the host owns the picked values.",
|
|
16
|
-
bestPractices: [
|
|
17
|
-
{
|
|
18
|
-
guidance: true,
|
|
19
|
-
description:
|
|
20
|
-
"Use a short, recognizable label and provide a translated remove label naming the value.",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
guidance: false,
|
|
24
|
-
description:
|
|
25
|
-
"Do not use colour alone to explain why a value is invalid; provide surrounding validation text.",
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
anatomy: [
|
|
29
|
-
{
|
|
30
|
-
name: "Label",
|
|
31
|
-
required: true,
|
|
32
|
-
description: "The picked value, truncated with a tooltip when needed.",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
name: "Remove button",
|
|
36
|
-
required: false,
|
|
37
|
-
description: "Removes the value; hidden in read-only mode.",
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
accessibility: [
|
|
42
|
-
"Name the remove action through labels.remove.",
|
|
43
|
-
"Hover removal also appears on keyboard focus; keep the action reachable with Tab.",
|
|
44
|
-
],
|
|
45
|
-
} satisfies ComponentDoc;
|