@danxbot/ui 20.23.3 → 21.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.
Files changed (106) hide show
  1. package/dist/index.js +23607 -22540
  2. package/dist/index.js.map +1 -1
  3. package/dist/pure.js +290 -210
  4. package/dist/pure.js.map +1 -1
  5. package/dist/types/components/AppShell.d.ts +1 -1
  6. package/dist/types/components/Board.d.ts +4 -6
  7. package/dist/types/components/Card.d.ts +25 -1
  8. package/dist/types/components/Combobox.d.ts +2 -1
  9. package/dist/types/components/CommandPalette.d.ts +2 -0
  10. package/dist/types/components/DateField.d.ts +2 -2
  11. package/dist/types/components/DragDrop.d.ts +2 -4
  12. package/dist/types/components/InlineEdit.d.ts +4 -4
  13. package/dist/types/components/InlineMarkdownEdit.d.ts +2 -2
  14. package/dist/types/components/PagedWindowList.d.ts +1 -9
  15. package/dist/types/components/Progress.d.ts +4 -4
  16. package/dist/types/components/ReadMore.d.ts +2 -2
  17. package/dist/types/components/SecretField.d.ts +1 -1
  18. package/dist/types/components/Slider.d.ts +1 -1
  19. package/dist/types/components/SortMenu.d.ts +1 -1
  20. package/dist/types/components/Stat.d.ts +1 -1
  21. package/dist/types/components/StatusSelect.d.ts +1 -1
  22. package/dist/types/components/TriStateSwitch.d.ts +1 -7
  23. package/dist/types/components/board/context.d.ts +2 -4
  24. package/dist/types/components/calendar/CalendarMonth.d.ts +2 -3
  25. package/dist/types/components/calendar/CalendarTimeGrid.d.ts +1 -2
  26. package/dist/types/components/calendar/EventActions.d.ts +1 -2
  27. package/dist/types/components/calendar/format.d.ts +10 -9
  28. package/dist/types/components/calendar/use-calendar-drag.d.ts +0 -1
  29. package/dist/types/components/calendar/use-event-keyboard.d.ts +0 -1
  30. package/dist/types/components/chart/BarList.d.ts +1 -1
  31. package/dist/types/components/chart/ShareBar.d.ts +1 -1
  32. package/dist/types/components/chart/TimeSeriesChart.d.ts +2 -4
  33. package/dist/types/components/chart/shared.d.ts +2 -2
  34. package/dist/types/components/chart/time-series-scale.d.ts +1 -1
  35. package/dist/types/components/chat/EffortControl.d.ts +2 -2
  36. package/dist/types/components/chat/MessageScroller.d.ts +1 -1
  37. package/dist/types/components/checklist/StatusChecklist.d.ts +1 -1
  38. package/dist/types/components/edit/outcome.d.ts +0 -12
  39. package/dist/types/components/file-viewer/frames.d.ts +2 -1
  40. package/dist/types/components/kanban/KanbanBoard.d.ts +2 -21
  41. package/dist/types/components/kanban/types.d.ts +1 -1
  42. package/dist/types/components/markdown/Affordances.d.ts +3 -1
  43. package/dist/types/components/openapi/resolve.d.ts +7 -3
  44. package/dist/types/components/openapi/types.d.ts +2 -1
  45. package/dist/types/components/provenance/ConfidenceBar.d.ts +1 -1
  46. package/dist/types/components/provenance/ConfidenceReadout.d.ts +2 -2
  47. package/dist/types/components/provenance/ProvenanceBadge.d.ts +4 -3
  48. package/dist/types/components/provenance/ProvenanceDetail.d.ts +4 -6
  49. package/dist/types/components/provenance/ProvenanceDisclosure.d.ts +1 -1
  50. package/dist/types/components/provenance/absence.d.ts +4 -3
  51. package/dist/types/components/rbac/RoleKeyPicker.d.ts +1 -1
  52. package/dist/types/components/rbac/permissionSections.d.ts +1 -1
  53. package/dist/types/components/rbac/stagedForm.d.ts +4 -4
  54. package/dist/types/components/roadmap/RoadmapItemCard.d.ts +0 -1
  55. package/dist/types/index.d.ts +9 -7
  56. package/dist/types/lib/board/index.d.ts +2 -1
  57. package/dist/types/lib/board/move.d.ts +2 -2
  58. package/dist/types/lib/board/rejection.d.ts +8 -0
  59. package/dist/types/lib/board/types.d.ts +46 -0
  60. package/dist/types/lib/board/use-board.d.ts +2 -2
  61. package/dist/types/lib/calendar/drag.d.ts +1 -1
  62. package/dist/types/lib/calendar/index.d.ts +1 -1
  63. package/dist/types/lib/calendar/types.d.ts +3 -3
  64. package/dist/types/lib/confidence.d.ts +5 -0
  65. package/dist/types/lib/dnd/announce.d.ts +5 -23
  66. package/dist/types/lib/dnd/index.d.ts +1 -1
  67. package/dist/types/lib/format.d.ts +19 -18
  68. package/dist/types/lib/i18n/areas/auth-provenance-flows.d.ts +258 -0
  69. package/dist/types/lib/i18n/areas/board.d.ts +51 -0
  70. package/dist/types/lib/i18n/areas/chat-chart.d.ts +164 -0
  71. package/dist/types/lib/i18n/areas/code-editor.d.ts +40 -0
  72. package/dist/types/lib/i18n/areas/dates.d.ts +103 -0
  73. package/dist/types/lib/i18n/areas/docs-views.d.ts +268 -0
  74. package/dist/types/lib/i18n/areas/feedback.d.ts +104 -0
  75. package/dist/types/lib/i18n/areas/formats.d.ts +30 -0
  76. package/dist/types/lib/i18n/areas/forms.d.ts +130 -0
  77. package/dist/types/lib/i18n/areas/markdown.d.ts +139 -0
  78. package/dist/types/lib/i18n/areas/move-rejected.d.ts +16 -0
  79. package/dist/types/lib/i18n/areas/navigation.d.ts +144 -0
  80. package/dist/types/lib/i18n/areas/rbac.d.ts +584 -0
  81. package/dist/types/lib/i18n/emphasis.d.ts +3 -0
  82. package/dist/types/lib/i18n/index.d.ts +8 -0
  83. package/dist/types/lib/i18n/number-format.d.ts +5 -0
  84. package/dist/types/lib/i18n/plural.d.ts +7 -0
  85. package/dist/types/lib/i18n/provider.d.ts +16 -0
  86. package/dist/types/lib/i18n/strings.d.ts +15 -0
  87. package/dist/types/lib/intl-cache.d.ts +31 -0
  88. package/dist/types/lib/markdown/commands.d.ts +4 -2
  89. package/dist/types/lib/markdown/dom.d.ts +27 -21
  90. package/dist/types/lib/markdown/hotkeys.d.ts +12 -5
  91. package/dist/types/lib/markdown/image-decoration.d.ts +22 -1
  92. package/dist/types/lib/markdown/image-pipeline.d.ts +2 -0
  93. package/dist/types/lib/markdown/images.d.ts +1 -1
  94. package/dist/types/lib/markdown/reconcile.d.ts +4 -2
  95. package/dist/types/lib/markdown/surface.d.ts +4 -2
  96. package/dist/types/lib/reduced-motion-help.d.ts +2 -1
  97. package/dist/types/lib/time/relativeAge.d.ts +3 -2
  98. package/dist/types/lib/time/zone.d.ts +9 -0
  99. package/dist/types/lib/values/boolean.d.ts +11 -10
  100. package/dist/types/lib/values/currency.d.ts +5 -5
  101. package/dist/types/lib/values/date.d.ts +4 -4
  102. package/dist/types/lib/values/datetime.d.ts +3 -3
  103. package/dist/types/lib/values/locale-date.d.ts +34 -0
  104. package/dist/types/lib/values/number.d.ts +5 -5
  105. package/dist/types/pure.d.ts +1 -0
  106. package/package.json +1 -1
@@ -0,0 +1,16 @@
1
+ export interface MoveRejectedStrings {
2
+ /** Why a move was refused, by the core's rejection code. */
3
+ moveRejected: {
4
+ /** The card is no longer on the board (removed while it was carried). */
5
+ unknownItem: (itemId: string) => string;
6
+ /** The card is not in the lane the move said it was in (moved under the person). */
7
+ wrongColumn: (itemId: string, actualColumn: string, claimedColumn: string) => string;
8
+ /** A lane in the move is no longer declared (a live update removed it during the drag). */
9
+ unknownColumn: (column: string) => string;
10
+ /** The card's old position is beyond the end of its lane (the lane shrank): `n` is the lane's card count, `nText` the same, formatted. */
11
+ fromIndexPastEnd: (n: number, nText: string, itemId: string, position: string, column: string) => string;
12
+ /** The new position is beyond the end of the destination lane (`max` is the last allowed). */
13
+ toIndexPastEnd: (itemId: string, position: string, column: string, max: string) => string;
14
+ };
15
+ }
16
+ export declare const moveRejectedStrings: MoveRejectedStrings;
@@ -0,0 +1,144 @@
1
+ export interface NavigationStrings {
2
+ /** `<AppShell>`: the sidebar, its collapse control and the mobile navigation drawer. */
3
+ appShell: {
4
+ /** The sidebar landmark's accessible name when the consumer passes no `navLabel`. */
5
+ mainNavigation: string;
6
+ /** Name (and tooltip) of the sidebar toggle while the sidebar is collapsed. */
7
+ expandSidebar: string;
8
+ /** Name (and tooltip) of the sidebar toggle while the sidebar is expanded. */
9
+ collapseSidebar: string;
10
+ /** Name of the narrow-layout button that opens the navigation drawer. */
11
+ openNavigation: string;
12
+ /** Name of the button that closes the navigation drawer. */
13
+ closeNavigation: string;
14
+ /** Screen-reader-only title of the navigation drawer dialog. */
15
+ navigationTitle: string;
16
+ };
17
+ navigation: {
18
+ /** Accessible name of the breadcrumb trail. */
19
+ breadcrumb: string;
20
+ /** Accessible name of the pagination control. */
21
+ pagination: string;
22
+ /** Accessible name of the previous-page button. */
23
+ previousPage: string;
24
+ /** Accessible name of the next-page button. */
25
+ nextPage: string;
26
+ /** Tooltip on the disabled previous-page button on page one. */
27
+ onFirstPage: string;
28
+ /** Tooltip on the disabled next-page button on the last page. */
29
+ onLastPage: string;
30
+ /** Accessible name of a page-number button. */
31
+ page: (pageText: string) => string;
32
+ };
33
+ themeMenu: {
34
+ /** Accessible name of the Appearance trigger button. */
35
+ triggerLabel: string;
36
+ /** Visible text of the Appearance trigger button. */
37
+ appearance: string;
38
+ /** Heading and group name of the light/dark choice. */
39
+ theme: string;
40
+ /** The two theme choices. */
41
+ themes: {
42
+ light: string;
43
+ dark: string;
44
+ };
45
+ /** Heading and slider name of the text size setting. */
46
+ textSize: string;
47
+ /** The three text sizes, as slider stops. */
48
+ scales: {
49
+ sm: string;
50
+ md: string;
51
+ lg: string;
52
+ };
53
+ /** Label and switch name of the high-contrast setting. */
54
+ highContrast: string;
55
+ /** Explanation under the high-contrast label. */
56
+ highContrastHint: string;
57
+ /** Heading and group name of the motion setting. */
58
+ motion: string;
59
+ /** The three motion choices. */
60
+ motionChoices: {
61
+ system: string;
62
+ full: string;
63
+ reduced: string;
64
+ };
65
+ /** What the current motion choice means right now. */
66
+ motionHint: {
67
+ full: string;
68
+ reduced: string;
69
+ systemReduced: string;
70
+ systemFull: string;
71
+ };
72
+ /** Title of the warning shown when the OS asks for reduced motion and the choice follows the system. */
73
+ systemReducesTitle: string;
74
+ /** Advice line of that warning. */
75
+ systemReducesAdvice: string;
76
+ /** Where the OS reduce-motion setting lives, per operating system. */
77
+ osSteps: {
78
+ windows: string;
79
+ macos: string;
80
+ ios: string;
81
+ android: string;
82
+ unknown: string;
83
+ };
84
+ };
85
+ /** `<CommandPalette>`. */
86
+ commandPalette: {
87
+ /** Screen-reader-only dialog title. */
88
+ title: string;
89
+ /** Search input placeholder when the consumer passes none. */
90
+ placeholder: string;
91
+ /** Search input accessible name. */
92
+ searchLabel: string;
93
+ /** The Escape key cap shown beside the search input. */
94
+ escapeKey: string;
95
+ /** Message when no command matches, when the consumer passes none. */
96
+ noMatch: string;
97
+ /** Footer legend for the arrow keys. */
98
+ navigate: string;
99
+ /** Footer legend for the Enter key. */
100
+ run: string;
101
+ /** Footer counter: `shown` matching commands out of `total`. */
102
+ resultCount: (shownText: string, totalText: string) => string;
103
+ };
104
+ paginationBar: {
105
+ /** Accessible name of the bar's navigation landmark; `label` names what is paged ("Cards"). */
106
+ navLabel: (label: string) => string;
107
+ /** Live range text at the bar's left: which items of how many are shown. */
108
+ range: (firstText: string, lastText: string, totalText: string) => string;
109
+ /** Accessible name of the per-page picker's trigger button. */
110
+ rowsPerPage: (sizeText: string) => string;
111
+ /** Visible text of the per-page trigger on a wide bar. */
112
+ pageSizeTrigger: (sizeText: string) => string;
113
+ /** One row of the per-page picker menu. */
114
+ pageSizeOption: (sizeText: string) => string;
115
+ /** Accessible name of the previous-page arrow in the simple bar. */
116
+ previousPage: string;
117
+ /** Accessible name of the next-page arrow in the simple bar. */
118
+ nextPage: string;
119
+ /** Tooltip explaining the previous arrow is disabled on page one. */
120
+ onFirstPage: string;
121
+ /** Tooltip explaining the next arrow is disabled on the last page. */
122
+ onLastPage: string;
123
+ /** Caption between the arrows of the simple bar. */
124
+ pageOf: (pageText: string, pageCountText: string) => string;
125
+ };
126
+ pagedWindowList: {
127
+ /** Shown in place of a page whose request failed. */
128
+ failed: string;
129
+ /** The retry button next to a failed page. */
130
+ retry: string;
131
+ };
132
+ sortMenu: {
133
+ /** The words for each direction of an option that supplies none of its own. */
134
+ directions: {
135
+ asc: string;
136
+ desc: string;
137
+ };
138
+ /** Accessible name of the closed trigger: the control's own name, the sorted field, its direction. */
139
+ currentOrder: (controlLabel: string, field: string, direction: string) => string;
140
+ /** Accessible name of one direction arrow inside the open menu. */
141
+ optionDirection: (field: string, direction: string) => string;
142
+ };
143
+ }
144
+ export declare const navigationStrings: NavigationStrings;