@antscorp/ui 0.1.3 → 0.1.4

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.
Files changed (179) hide show
  1. package/README.md +25 -1
  2. package/dist/atoms/AddButton.d.ts +2 -5
  3. package/dist/atoms/Chip.d.ts +2 -5
  4. package/dist/atoms/Chip.js +1 -1
  5. package/dist/atoms/RemoveButton.d.ts +2 -5
  6. package/dist/atoms/TextAction.d.ts +2 -3
  7. package/dist/docs.json +1 -1
  8. package/dist/lib/iso.d.ts +2 -2
  9. package/dist/lib/iso.js +16 -8
  10. package/dist/lib/tokenEditorExtensions.js +1 -1
  11. package/dist/molecules/AccentCard.js +2 -2
  12. package/dist/molecules/CheckRow.d.ts +2 -7
  13. package/dist/molecules/ChoiceTiles.js +1 -1
  14. package/dist/molecules/CommitTextField.d.ts +1 -19
  15. package/dist/molecules/CommitTextField.js +21 -18
  16. package/dist/molecules/ConfirmDialog.d.ts +2 -7
  17. package/dist/molecules/DateTimeInput.d.ts +6 -3
  18. package/dist/molecules/DateTimeInput.js +82 -73
  19. package/dist/molecules/RemovableRow.js +32 -32
  20. package/dist/molecules/RevealRadioGroup.d.ts +2 -9
  21. package/dist/molecules/RevealSwitch.d.ts +2 -7
  22. package/dist/molecules/Select.d.ts +7 -23
  23. package/dist/molecules/Select.js +26 -20
  24. package/dist/molecules/StatusButton.d.ts +2 -7
  25. package/dist/molecules/TreeOptions.d.ts +3 -2
  26. package/dist/molecules/TreeOptions.js +67 -44
  27. package/dist/organisms/HourOfDayRow.js +2 -2
  28. package/dist/organisms/HourOfWeekGrid.js +2 -2
  29. package/dist/organisms/TreeSearchPanel.js +50 -47
  30. package/dist/ui.css +1 -1
  31. package/package.json +23 -17
  32. package/src/atoms/AddButton.tsx +2 -6
  33. package/src/atoms/Chip.tsx +5 -7
  34. package/src/atoms/RemoveButton.tsx +2 -6
  35. package/src/atoms/TextAction.tsx +2 -4
  36. package/src/lib/iso.ts +15 -3
  37. package/src/lib/tokenEditorExtensions.ts +1 -1
  38. package/src/molecules/AccentCard.tsx +4 -2
  39. package/src/molecules/CheckRow.tsx +2 -8
  40. package/src/molecules/ChoiceTiles.tsx +3 -1
  41. package/src/molecules/CommitTextField.tsx +15 -20
  42. package/src/molecules/ConfirmDialog.tsx +2 -8
  43. package/src/molecules/DateTimeInput.tsx +86 -68
  44. package/src/molecules/RemovableRow.tsx +1 -1
  45. package/src/molecules/RevealRadioGroup.tsx +5 -10
  46. package/src/molecules/RevealSwitch.tsx +2 -8
  47. package/src/molecules/Select.tsx +22 -22
  48. package/src/molecules/StatusButton.tsx +2 -8
  49. package/src/molecules/TreeOptions.tsx +86 -62
  50. package/src/organisms/HourOfDayRow.tsx +4 -2
  51. package/src/organisms/HourOfWeekGrid.tsx +4 -2
  52. package/src/organisms/TreeSearchPanel.tsx +1 -1
  53. package/dist/atoms/AddButton.doc.d.ts +0 -21
  54. package/dist/atoms/AddGlyph.doc.d.ts +0 -16
  55. package/dist/atoms/Chip.doc.d.ts +0 -29
  56. package/dist/atoms/ChipSkeletons.doc.d.ts +0 -21
  57. package/dist/atoms/FieldHeading.doc.d.ts +0 -15
  58. package/dist/atoms/HoverSwap.doc.d.ts +0 -25
  59. package/dist/atoms/InfoTip.doc.d.ts +0 -25
  60. package/dist/atoms/JointLabel.doc.d.ts +0 -15
  61. package/dist/atoms/LabeledDivider.doc.d.ts +0 -21
  62. package/dist/atoms/LogoImage.doc.d.ts +0 -21
  63. package/dist/atoms/PanelSearchInput.doc.d.ts +0 -25
  64. package/dist/atoms/PathMark.doc.d.ts +0 -16
  65. package/dist/atoms/RemoveButton.doc.d.ts +0 -16
  66. package/dist/atoms/RowSkeletons.doc.d.ts +0 -25
  67. package/dist/atoms/TextAction.doc.d.ts +0 -25
  68. package/dist/atoms/TruncatedOption.doc.d.ts +0 -24
  69. package/dist/atoms/TruncatedText.doc.d.ts +0 -15
  70. package/dist/molecules/AccentCard.doc.d.ts +0 -25
  71. package/dist/molecules/CheckGroup.doc.d.ts +0 -25
  72. package/dist/molecules/CheckRow.doc.d.ts +0 -25
  73. package/dist/molecules/ChoiceDialog.doc.d.ts +0 -21
  74. package/dist/molecules/ChoiceTiles.doc.d.ts +0 -21
  75. package/dist/molecules/CommitTextField.doc.d.ts +0 -29
  76. package/dist/molecules/ConfirmDialog.doc.d.ts +0 -21
  77. package/dist/molecules/DateTimeInput.doc.d.ts +0 -25
  78. package/dist/molecules/DurationInput.doc.d.ts +0 -25
  79. package/dist/molecules/FieldGroup.doc.d.ts +0 -25
  80. package/dist/molecules/FieldRow.doc.d.ts +0 -24
  81. package/dist/molecules/FieldSkeleton.doc.d.ts +0 -25
  82. package/dist/molecules/FrequencyLimitRow.doc.d.ts +0 -25
  83. package/dist/molecules/InlineEditableText.doc.d.ts +0 -25
  84. package/dist/molecules/LoadMoreRow.doc.d.ts +0 -21
  85. package/dist/molecules/LoadState.doc.d.ts +0 -21
  86. package/dist/molecules/MetaTable.doc.d.ts +0 -25
  87. package/dist/molecules/PercentRow.doc.d.ts +0 -25
  88. package/dist/molecules/PhoneFrame.doc.d.ts +0 -21
  89. package/dist/molecules/ProblemsButton.doc.d.ts +0 -25
  90. package/dist/molecules/RemovableRow.doc.d.ts +0 -25
  91. package/dist/molecules/RevealRadioGroup.doc.d.ts +0 -25
  92. package/dist/molecules/RevealSwitch.doc.d.ts +0 -25
  93. package/dist/molecules/RuleRow.doc.d.ts +0 -25
  94. package/dist/molecules/Select.doc.d.ts +0 -30
  95. package/dist/molecules/SideLabelRow.doc.d.ts +0 -20
  96. package/dist/molecules/SplitButton.doc.d.ts +0 -25
  97. package/dist/molecules/StatusButton.doc.d.ts +0 -25
  98. package/dist/molecules/TagSelect.doc.d.ts +0 -25
  99. package/dist/molecules/ToggleGrid.doc.d.ts +0 -25
  100. package/dist/molecules/TokenTextField.doc.d.ts +0 -29
  101. package/dist/molecules/TransferLayout.doc.d.ts +0 -25
  102. package/dist/molecules/TreeOptions.doc.d.ts +0 -25
  103. package/dist/organisms/ChipListAddPopover.doc.d.ts +0 -25
  104. package/dist/organisms/HourOfDayRow.doc.d.ts +0 -25
  105. package/dist/organisms/HourOfWeekGrid.doc.d.ts +0 -25
  106. package/dist/organisms/RepeatableList.doc.d.ts +0 -21
  107. package/dist/organisms/ResizableDrawer.doc.d.ts +0 -25
  108. package/dist/organisms/RuleGroups.doc.d.ts +0 -21
  109. package/dist/organisms/RuleList.doc.d.ts +0 -25
  110. package/dist/organisms/SearchableGroupedList.doc.d.ts +0 -25
  111. package/dist/organisms/TokenPickerDialog.doc.d.ts +0 -21
  112. package/dist/organisms/TransferPicker.doc.d.ts +0 -29
  113. package/dist/organisms/TreeSearchPanel.doc.d.ts +0 -25
  114. package/dist/organisms/TreeSelect.doc.d.ts +0 -29
  115. package/dist/theme/AntsomiTheme.doc.d.ts +0 -15
  116. package/dist/theme/AntsomiTheme.doc.js +0 -22
  117. package/src/atoms/AddButton.doc.ts +0 -36
  118. package/src/atoms/AddGlyph.doc.ts +0 -26
  119. package/src/atoms/Chip.doc.ts +0 -45
  120. package/src/atoms/ChipSkeletons.doc.ts +0 -31
  121. package/src/atoms/FieldHeading.doc.ts +0 -22
  122. package/src/atoms/HoverSwap.doc.ts +0 -39
  123. package/src/atoms/InfoTip.doc.ts +0 -37
  124. package/src/atoms/JointLabel.doc.ts +0 -23
  125. package/src/atoms/LabeledDivider.doc.ts +0 -35
  126. package/src/atoms/LogoImage.doc.ts +0 -42
  127. package/src/atoms/PanelSearchInput.doc.ts +0 -41
  128. package/src/atoms/PathMark.doc.ts +0 -25
  129. package/src/atoms/RemoveButton.doc.ts +0 -26
  130. package/src/atoms/RowSkeletons.doc.ts +0 -43
  131. package/src/atoms/TextAction.doc.ts +0 -40
  132. package/src/atoms/TruncatedOption.doc.ts +0 -39
  133. package/src/atoms/TruncatedText.doc.ts +0 -22
  134. package/src/molecules/AccentCard.doc.ts +0 -43
  135. package/src/molecules/CheckGroup.doc.ts +0 -40
  136. package/src/molecules/CheckRow.doc.ts +0 -43
  137. package/src/molecules/ChoiceDialog.doc.ts +0 -48
  138. package/src/molecules/ChoiceTiles.doc.ts +0 -42
  139. package/src/molecules/CommitTextField.doc.ts +0 -41
  140. package/src/molecules/ConfirmDialog.doc.ts +0 -43
  141. package/src/molecules/DateTimeInput.doc.ts +0 -48
  142. package/src/molecules/DurationInput.doc.ts +0 -36
  143. package/src/molecules/FieldGroup.doc.ts +0 -41
  144. package/src/molecules/FieldRow.doc.ts +0 -36
  145. package/src/molecules/FieldSkeleton.doc.ts +0 -38
  146. package/src/molecules/FrequencyLimitRow.doc.ts +0 -48
  147. package/src/molecules/InlineEditableText.doc.ts +0 -41
  148. package/src/molecules/LoadMoreRow.doc.ts +0 -36
  149. package/src/molecules/LoadState.doc.ts +0 -42
  150. package/src/molecules/MetaTable.doc.ts +0 -46
  151. package/src/molecules/PercentRow.doc.ts +0 -48
  152. package/src/molecules/PhoneFrame.doc.ts +0 -46
  153. package/src/molecules/ProblemsButton.doc.ts +0 -41
  154. package/src/molecules/RemovableRow.doc.ts +0 -48
  155. package/src/molecules/RevealRadioGroup.doc.ts +0 -41
  156. package/src/molecules/RevealSwitch.doc.ts +0 -38
  157. package/src/molecules/RuleRow.doc.ts +0 -43
  158. package/src/molecules/Select.doc.ts +0 -62
  159. package/src/molecules/SideLabelRow.doc.ts +0 -35
  160. package/src/molecules/SplitButton.doc.ts +0 -41
  161. package/src/molecules/StatusButton.doc.ts +0 -39
  162. package/src/molecules/TagSelect.doc.ts +0 -41
  163. package/src/molecules/ToggleGrid.doc.ts +0 -43
  164. package/src/molecules/TokenTextField.doc.ts +0 -41
  165. package/src/molecules/TransferLayout.doc.ts +0 -42
  166. package/src/molecules/TreeOptions.doc.ts +0 -38
  167. package/src/organisms/ChipListAddPopover.doc.ts +0 -54
  168. package/src/organisms/HourOfDayRow.doc.ts +0 -43
  169. package/src/organisms/HourOfWeekGrid.doc.ts +0 -48
  170. package/src/organisms/RepeatableList.doc.ts +0 -49
  171. package/src/organisms/ResizableDrawer.doc.ts +0 -48
  172. package/src/organisms/RuleGroups.doc.ts +0 -49
  173. package/src/organisms/RuleList.doc.ts +0 -43
  174. package/src/organisms/SearchableGroupedList.doc.ts +0 -49
  175. package/src/organisms/TokenPickerDialog.doc.ts +0 -54
  176. package/src/organisms/TransferPicker.doc.ts +0 -69
  177. package/src/organisms/TreeSearchPanel.doc.ts +0 -43
  178. package/src/organisms/TreeSelect.doc.ts +0 -56
  179. package/src/theme/AntsomiTheme.doc.ts +0 -23
@@ -1,25 +0,0 @@
1
- /** Usage guidance for RevealSwitch. */
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 RuleRow. */
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
- name: string;
20
- required: true;
21
- description: string;
22
- })[];
23
- };
24
- accessibility: string[];
25
- };
@@ -1,30 +0,0 @@
1
- /** Usage guidance for Select. */
2
- export declare const doc: {
3
- category: "Selection";
4
- keywords: string[];
5
- related: {
6
- name: string;
7
- when: string;
8
- }[];
9
- example: string;
10
- usage: {
11
- description: string;
12
- bestPractices: ({
13
- guidance: true;
14
- description: string;
15
- } | {
16
- guidance: false;
17
- description: string;
18
- })[];
19
- anatomy: ({
20
- name: string;
21
- required: true;
22
- description: string;
23
- } | {
24
- name: string;
25
- required: false;
26
- description: string;
27
- })[];
28
- };
29
- accessibility: string[];
30
- };
@@ -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;