@danxbot/ui 20.23.3 → 21.0.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 (105) hide show
  1. package/dist/index.js +23583 -22525
  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/Combobox.d.ts +2 -1
  8. package/dist/types/components/CommandPalette.d.ts +2 -0
  9. package/dist/types/components/DateField.d.ts +2 -2
  10. package/dist/types/components/DragDrop.d.ts +2 -4
  11. package/dist/types/components/InlineEdit.d.ts +4 -4
  12. package/dist/types/components/InlineMarkdownEdit.d.ts +2 -2
  13. package/dist/types/components/PagedWindowList.d.ts +1 -9
  14. package/dist/types/components/Progress.d.ts +4 -4
  15. package/dist/types/components/ReadMore.d.ts +2 -2
  16. package/dist/types/components/SecretField.d.ts +1 -1
  17. package/dist/types/components/Slider.d.ts +1 -1
  18. package/dist/types/components/SortMenu.d.ts +1 -1
  19. package/dist/types/components/Stat.d.ts +1 -1
  20. package/dist/types/components/StatusSelect.d.ts +1 -1
  21. package/dist/types/components/TriStateSwitch.d.ts +1 -7
  22. package/dist/types/components/board/context.d.ts +2 -4
  23. package/dist/types/components/calendar/CalendarMonth.d.ts +2 -3
  24. package/dist/types/components/calendar/CalendarTimeGrid.d.ts +1 -2
  25. package/dist/types/components/calendar/EventActions.d.ts +1 -2
  26. package/dist/types/components/calendar/format.d.ts +10 -9
  27. package/dist/types/components/calendar/use-calendar-drag.d.ts +0 -1
  28. package/dist/types/components/calendar/use-event-keyboard.d.ts +0 -1
  29. package/dist/types/components/chart/BarList.d.ts +1 -1
  30. package/dist/types/components/chart/ShareBar.d.ts +1 -1
  31. package/dist/types/components/chart/TimeSeriesChart.d.ts +2 -4
  32. package/dist/types/components/chart/shared.d.ts +2 -2
  33. package/dist/types/components/chart/time-series-scale.d.ts +1 -1
  34. package/dist/types/components/chat/EffortControl.d.ts +2 -2
  35. package/dist/types/components/chat/MessageScroller.d.ts +1 -1
  36. package/dist/types/components/checklist/StatusChecklist.d.ts +1 -1
  37. package/dist/types/components/edit/outcome.d.ts +0 -12
  38. package/dist/types/components/file-viewer/frames.d.ts +2 -1
  39. package/dist/types/components/kanban/KanbanBoard.d.ts +2 -21
  40. package/dist/types/components/kanban/types.d.ts +1 -1
  41. package/dist/types/components/markdown/Affordances.d.ts +3 -1
  42. package/dist/types/components/openapi/resolve.d.ts +7 -3
  43. package/dist/types/components/openapi/types.d.ts +2 -1
  44. package/dist/types/components/provenance/ConfidenceBar.d.ts +1 -1
  45. package/dist/types/components/provenance/ConfidenceReadout.d.ts +2 -2
  46. package/dist/types/components/provenance/ProvenanceBadge.d.ts +4 -3
  47. package/dist/types/components/provenance/ProvenanceDetail.d.ts +4 -6
  48. package/dist/types/components/provenance/ProvenanceDisclosure.d.ts +1 -1
  49. package/dist/types/components/provenance/absence.d.ts +4 -3
  50. package/dist/types/components/rbac/RoleKeyPicker.d.ts +1 -1
  51. package/dist/types/components/rbac/permissionSections.d.ts +1 -1
  52. package/dist/types/components/rbac/stagedForm.d.ts +4 -4
  53. package/dist/types/components/roadmap/RoadmapItemCard.d.ts +0 -1
  54. package/dist/types/index.d.ts +9 -7
  55. package/dist/types/lib/board/index.d.ts +2 -1
  56. package/dist/types/lib/board/move.d.ts +2 -2
  57. package/dist/types/lib/board/rejection.d.ts +8 -0
  58. package/dist/types/lib/board/types.d.ts +46 -0
  59. package/dist/types/lib/board/use-board.d.ts +2 -2
  60. package/dist/types/lib/calendar/drag.d.ts +1 -1
  61. package/dist/types/lib/calendar/index.d.ts +1 -1
  62. package/dist/types/lib/calendar/types.d.ts +3 -3
  63. package/dist/types/lib/confidence.d.ts +5 -0
  64. package/dist/types/lib/dnd/announce.d.ts +5 -23
  65. package/dist/types/lib/dnd/index.d.ts +1 -1
  66. package/dist/types/lib/format.d.ts +19 -18
  67. package/dist/types/lib/i18n/areas/auth-provenance-flows.d.ts +258 -0
  68. package/dist/types/lib/i18n/areas/board.d.ts +51 -0
  69. package/dist/types/lib/i18n/areas/chat-chart.d.ts +164 -0
  70. package/dist/types/lib/i18n/areas/code-editor.d.ts +40 -0
  71. package/dist/types/lib/i18n/areas/dates.d.ts +103 -0
  72. package/dist/types/lib/i18n/areas/docs-views.d.ts +268 -0
  73. package/dist/types/lib/i18n/areas/feedback.d.ts +104 -0
  74. package/dist/types/lib/i18n/areas/formats.d.ts +30 -0
  75. package/dist/types/lib/i18n/areas/forms.d.ts +130 -0
  76. package/dist/types/lib/i18n/areas/markdown.d.ts +139 -0
  77. package/dist/types/lib/i18n/areas/move-rejected.d.ts +16 -0
  78. package/dist/types/lib/i18n/areas/navigation.d.ts +144 -0
  79. package/dist/types/lib/i18n/areas/rbac.d.ts +584 -0
  80. package/dist/types/lib/i18n/emphasis.d.ts +3 -0
  81. package/dist/types/lib/i18n/index.d.ts +8 -0
  82. package/dist/types/lib/i18n/number-format.d.ts +5 -0
  83. package/dist/types/lib/i18n/plural.d.ts +7 -0
  84. package/dist/types/lib/i18n/provider.d.ts +16 -0
  85. package/dist/types/lib/i18n/strings.d.ts +15 -0
  86. package/dist/types/lib/intl-cache.d.ts +31 -0
  87. package/dist/types/lib/markdown/commands.d.ts +4 -2
  88. package/dist/types/lib/markdown/dom.d.ts +27 -21
  89. package/dist/types/lib/markdown/hotkeys.d.ts +12 -5
  90. package/dist/types/lib/markdown/image-decoration.d.ts +22 -1
  91. package/dist/types/lib/markdown/image-pipeline.d.ts +2 -0
  92. package/dist/types/lib/markdown/images.d.ts +1 -1
  93. package/dist/types/lib/markdown/reconcile.d.ts +4 -2
  94. package/dist/types/lib/markdown/surface.d.ts +4 -2
  95. package/dist/types/lib/reduced-motion-help.d.ts +2 -1
  96. package/dist/types/lib/time/relativeAge.d.ts +3 -2
  97. package/dist/types/lib/time/zone.d.ts +9 -0
  98. package/dist/types/lib/values/boolean.d.ts +11 -10
  99. package/dist/types/lib/values/currency.d.ts +5 -5
  100. package/dist/types/lib/values/date.d.ts +4 -4
  101. package/dist/types/lib/values/datetime.d.ts +3 -3
  102. package/dist/types/lib/values/locale-date.d.ts +34 -0
  103. package/dist/types/lib/values/number.d.ts +5 -5
  104. package/dist/types/pure.d.ts +1 -0
  105. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ import type { DragAnnouncementContext } from "../../dnd/announce";
2
+ export interface BoardStrings {
3
+ /** `<Board>` / `<BoardColumn>` / the per-card move menu. */
4
+ board: {
5
+ /** Badge text when a column or lane is at/over its work-in-progress limit: `count` and `limit` are already locale-formatted. */
6
+ wipCount: (count: string, limit: string) => string;
7
+ /** Card menu item moving the card to the top of its own column (unless `reorderLabels` words it). */
8
+ moveToTop: string;
9
+ /** Card menu item moving the card to the bottom of its own column (unless `reorderLabels` words it). */
10
+ moveToBottom: string;
11
+ /** Title of a column's built-in empty state. */
12
+ emptyTitle: string;
13
+ /** Description of a column's built-in empty state. */
14
+ emptyDescription: string;
15
+ /** Accessible name of the card's "move" menu trigger, for the card called `name`. */
16
+ moveCard: (name: string) => string;
17
+ /** Card menu item moving the card to the lane called `label`. */
18
+ moveToColumn: (label: string) => string;
19
+ /** Card menu text when the card has nowhere to go. */
20
+ nothingToMove: string;
21
+ };
22
+ /** `<KanbanBoard>`. */
23
+ kanban: {
24
+ /** Text of an empty lane when neither the lane nor the board supplies one. */
25
+ empty: string;
26
+ /** Live-region announcement that a drop was refused: the card `name` and the consumer's `reason`. */
27
+ notMoved: (name: string, reason: string) => string;
28
+ /** Accessible name of the lock button that explains why a lane refuses drops. */
29
+ whyRefused: (lane: string) => string;
30
+ };
31
+ /** The drag-and-drop engine's screen-reader grammar (`<DragDrop>`, `<DragInstructions>`, `<DragLiveRegion>`). */
32
+ dragDrop: {
33
+ /** The paragraph every drag handle's `aria-describedby` points at. */
34
+ instructions: string;
35
+ /** Live-region message when a keyboard or pointer drag picks an item up. */
36
+ picked: (c: DragAnnouncementContext) => string;
37
+ /** Live-region message when the carried item moves to another position. */
38
+ moved: (c: DragAnnouncementContext) => string;
39
+ /** Live-region message when the item is dropped. */
40
+ dropped: (c: DragAnnouncementContext) => string;
41
+ /** `moved`, for an item held over a container that takes it as a whole: no position is spoken. */
42
+ movedToLane: (c: DragAnnouncementContext) => string;
43
+ /** `dropped`, for an item released over such a container. */
44
+ droppedInLane: (c: DragAnnouncementContext) => string;
45
+ /** Live-region message when a drag is cancelled; describes the item's ORIGINAL position. */
46
+ cancelled: (c: DragAnnouncementContext) => string;
47
+ /** Accessible name of a drag handle that has no `label`, for the item called `item`. */
48
+ reorder: (item: string) => string;
49
+ };
50
+ }
51
+ export declare const boardStrings: BoardStrings;
@@ -0,0 +1,164 @@
1
+ export interface ChatChartStrings {
2
+ chart: {
3
+ /** The folded remainder row of `BarList`, `ShareBar` and `TimeSeriesChart`: the row, legend entry and table header for everything past the cap. */
4
+ other: string;
5
+ barList: {
6
+ /** `BarList` "Other" row, the quiet line under its label: how many rows were folded into it. */
7
+ moreCount: (countText: string) => string;
8
+ /** `BarList` visually hidden table, first column header. */
9
+ columnItem: string;
10
+ /** `BarList` visually hidden table, second column header. */
11
+ columnValue: string;
12
+ /** `BarList` visually hidden table, third column header. */
13
+ columnNote: string;
14
+ };
15
+ shareBar: {
16
+ /** `ShareBar` segment: accessible name of one focusable segment (label, formatted value, formatted share). */
17
+ segment: (label: string, value: string, share: string) => string;
18
+ /** `ShareBar` visually hidden table, first column header. */
19
+ columnSegment: string;
20
+ /** `ShareBar` visually hidden table, second column header. */
21
+ columnValue: string;
22
+ /** `ShareBar` visually hidden table, third column header. */
23
+ columnShare: string;
24
+ };
25
+ timeSeriesChart: {
26
+ /** `TimeSeriesChart` placeholder shown when there is nothing to draw (unless the caller passes `emptyLabel`). */
27
+ empty: string;
28
+ /** `TimeSeriesChart` text over the axis when every value is zero (unless the caller passes `zeroLabel`). */
29
+ zero: string;
30
+ /** `TimeSeriesChart` text over the axis when the viewer has hidden every series from the legend. */
31
+ allHidden: string;
32
+ /** `TimeSeriesChart` tooltip, last line of a bucket: the formatted total. */
33
+ total: (value: string) => string;
34
+ /** `TimeSeriesChart` visually hidden table, last column header. */
35
+ columnTotal: string;
36
+ /** `TimeSeriesChart` accessible name of the plot group (the chart's own label, then the keyboard hint). */
37
+ plot: (label: string) => string;
38
+ /** `TimeSeriesChart` accessible name of one bucket: its time, each series as "label value", then the total. */
39
+ bucket: (when: string, parts: readonly string[], total: string) => string;
40
+ /** `TimeSeriesChart` bucket accessible name, one series' part: the series label and its formatted value. */
41
+ bucketPart: (label: string, value: string) => string;
42
+ /** `TimeSeriesChart` legend list accessible name. */
43
+ legend: string;
44
+ /** `TimeSeriesChart` legend toggle button accessible name for one series. */
45
+ showSeries: (label: string) => string;
46
+ };
47
+ };
48
+ chat: {
49
+ attachment: {
50
+ /** `Attachment` caption of a file whose upload failed and carries no error text. */
51
+ failed: string;
52
+ /** `Attachment` caption of a file uploading with no known progress. */
53
+ uploading: string;
54
+ /** `Attachment` download button name and tooltip. */
55
+ download: (fileName: string) => string;
56
+ /** `Attachment` remove button name and tooltip. */
57
+ remove: (fileName: string) => string;
58
+ /** `Attachment` full-card preview button accessible name. */
59
+ preview: (fileName: string) => string;
60
+ /** `AttachmentList` overflow tile past `max`: how many files are not shown. */
61
+ more: (countText: string) => string;
62
+ };
63
+ chat: {
64
+ /** `Chat` empty transcript title. */
65
+ emptyTitle: string;
66
+ /** `Chat` empty transcript description. */
67
+ emptyDescription: string;
68
+ /** `ChatPopover` default floating trigger button accessible name. */
69
+ open: string;
70
+ };
71
+ composer: {
72
+ /** `Composer` textarea placeholder and accessible name (unless the caller passes `placeholder`). */
73
+ placeholder: string;
74
+ /** `Composer` paperclip button name and tooltip. */
75
+ attach: string;
76
+ /** `Composer` stop button name and tooltip, shown while streaming. */
77
+ stop: string;
78
+ /** `Composer` send button accessible name. */
79
+ send: string;
80
+ /** `Composer` overlay while files are dragged over it. */
81
+ dropToAttach: string;
82
+ };
83
+ contextMeter: {
84
+ /** `ContextMeter` panel heading. */
85
+ title: string;
86
+ /** `ContextMeter` breakdown row for the unused part of the window. */
87
+ free: string;
88
+ /** `ContextMeter` used / capacity (percent) line; every argument is already formatted. */
89
+ summary: (used: string, capacity: string, percent: string) => string;
90
+ /** `ContextMeter` trigger button accessible name; the argument is the formatted summary. */
91
+ triggerLabel: (summary: string) => string;
92
+ /** `ContextMeter` trigger ring accessible name. */
93
+ dialLabel: string;
94
+ };
95
+ effortControl: {
96
+ /** `EffortControl` panel heading and slider accessible name. */
97
+ title: string;
98
+ /** `EffortControl` help button accessible name. */
99
+ help: string;
100
+ /** `EffortControl` slider caption under the low end. */
101
+ faster: string;
102
+ /** `EffortControl` slider caption under the high end. */
103
+ smarter: string;
104
+ /** `EffortControl` trigger button accessible name; the argument is the current level's label. */
105
+ triggerLabel: (level: string) => string;
106
+ /** `EffortControl` built-in scale (used when the caller passes no `levels`): the level label and the one-line trade shown under the slider. */
107
+ levels: {
108
+ minimal: {
109
+ label: string;
110
+ description: string;
111
+ };
112
+ low: {
113
+ label: string;
114
+ description: string;
115
+ };
116
+ medium: {
117
+ label: string;
118
+ description: string;
119
+ };
120
+ high: {
121
+ label: string;
122
+ description: string;
123
+ };
124
+ max: {
125
+ label: string;
126
+ description: string;
127
+ };
128
+ };
129
+ };
130
+ message: {
131
+ /** `Message` reasoning row label while the model is still thinking (unless the part carries a label). */
132
+ thinking: string;
133
+ /** `Message` reasoning row label once the model is done (unless the part carries a label). */
134
+ thought: string;
135
+ /** `Message` tool call output region accessible name; the argument is the tool name. */
136
+ toolOutput: (toolName: string) => string;
137
+ /** `Message` placeholder for a part nothing can draw: the bold lead-in. */
138
+ unrenderable: string;
139
+ /** `Message` placeholder reason when a component part names no registered component. */
140
+ unregisteredComponent: string;
141
+ /** `Message` placeholder reason when a part has a type nothing knows. */
142
+ unknownPart: string;
143
+ /** `Message` avatar name when the author has none. */
144
+ assistant: string;
145
+ /** `Message` copy button name and tooltip. */
146
+ copy: string;
147
+ /** `Message` copy button name and tooltip for the moment after a successful copy. */
148
+ copied: string;
149
+ };
150
+ messageScroller: {
151
+ /** `MessageScroller` return-to-newest button (unless the caller passes `jumpLabel`). */
152
+ jumpToLatest: string;
153
+ };
154
+ modelSelector: {
155
+ /** `ModelSelector` trigger accessible name; the argument is the current model's name. */
156
+ triggerLabel: (modelName: string) => string;
157
+ /** `ModelSelector` menu group heading for the primary models. */
158
+ models: string;
159
+ /** `ModelSelector` menu group heading, and the row that reveals it, for the secondary models. */
160
+ moreModels: string;
161
+ };
162
+ };
163
+ }
164
+ export declare const chatChartStrings: ChatChartStrings;
@@ -0,0 +1,40 @@
1
+ export interface CodeEditorStrings {
2
+ /** `<CodeEditor>` and its toolbar, caption, expand control and keyboard hint. */
3
+ codeEditor: {
4
+ /** Accessible name of a read-only code region with no `label` or filename. */
5
+ readOnlyLabel: string;
6
+ /** Accessible name of an editable code region with no `label` or filename. */
7
+ editableLabel: string;
8
+ /** Expand button text while a long read-only block is expanded. */
9
+ collapse: string;
10
+ /** Expand button text while a long read-only block is collapsed, for `lineCount` lines. */
11
+ showAllLines: (n: number, nText: string) => string;
12
+ /** Toolbar caption when there is neither a filename nor a language. */
13
+ captionFallback: string;
14
+ /** Copy button tooltip while idle. */
15
+ copy: string;
16
+ /** Copy button tooltip and name once the code is copied. */
17
+ copied: string;
18
+ /** Copy button accessible name while idle. */
19
+ copyCode: string;
20
+ /** Wrap toggle tooltip while wrapping is on. */
21
+ stopWrapping: string;
22
+ /** Wrap toggle tooltip while wrapping is off. */
23
+ wrapLongLines: string;
24
+ /** Wrap toggle accessible name. */
25
+ softWrap: string;
26
+ /** Accessible name of the Source / Preview / Split switch. */
27
+ view: string;
28
+ /** Name and tooltip of each view in that switch. */
29
+ views: {
30
+ source: string;
31
+ rendered: string;
32
+ split: string;
33
+ };
34
+ /** Footer hint while Tab leaves the editor (after Escape). */
35
+ tabLeavesHint: string;
36
+ /** Footer hint while Tab indents. */
37
+ tabIndentsHint: string;
38
+ };
39
+ }
40
+ export declare const codeEditorStrings: CodeEditorStrings;
@@ -0,0 +1,103 @@
1
+ import type { PaletteKey } from "../../calendar/types";
2
+ export interface DatesStrings {
3
+ dateField: {
4
+ /** Placeholder of the typeable date box: the shape a person types. */
5
+ /** Placeholder of the date box. The catalog supplies the hint for the provider locale ("DD.MM.YYYY" for de-DE): it must match the order and separator `formatDate` prints for that locale. */
6
+ placeholder: string;
7
+ /** Sentence under the box when the typed text is not a date. */
8
+ invalidMessage: string;
9
+ /** Accessible name of the calendar popover opened beside the box, given the box's own name. */
10
+ calendarOf: (name: string) => string;
11
+ /** Accessible name of the button that opens the calendar beside the box. */
12
+ chooseFromCalendar: string;
13
+ /** Tooltip on the calendar button while the box is disabled. */
14
+ locked: string;
15
+ /** Accessible name of the date half of a date-time field, given the field's own name. */
16
+ dateOf: (name: string) => string;
17
+ /** Accessible name of the time half of a date-time field, given the field's own name. */
18
+ timeOf: (name: string) => string;
19
+ };
20
+ dateCalendar: {
21
+ /** Column headings of the month grid, which starts on Monday. */
22
+ /** Accessible name of the button that pages the calendar back one month. */
23
+ previousMonth: string;
24
+ /** Accessible name of the button that pages the calendar forward one month. */
25
+ nextMonth: string;
26
+ /** Footer button that jumps to and picks today. */
27
+ today: string;
28
+ /** Footer button that clears the chosen date or range. */
29
+ clear: string;
30
+ };
31
+ datePicker: {
32
+ /** Trigger text of a DatePicker with nothing chosen. */
33
+ placeholder: string;
34
+ /** Trigger text for a complete chosen range: both ends, already formatted. */
35
+ range: (from: string, to: string) => string;
36
+ /** Trigger text while a range has only its start chosen. */
37
+ rangeOpen: (from: string) => string;
38
+ };
39
+ calendar: {
40
+ /** Spoken colour name of each calendar swatch, so colour is never the only cue on an event. */
41
+ colors: Record<PaletteKey, string>;
42
+ /** Accessible name of a day cell: the long date, then how many events it holds. */
43
+ cellLabel: (eventCount: number, eventCountText: string, date: string) => string;
44
+ /** Range of an all-day event on a single day. */
45
+ allDayOn: (day: string) => string;
46
+ /** Range of an all-day event over several days. */
47
+ allDayRange: (from: string, to: string) => string;
48
+ /** Range of a timed event that starts and ends on the same day. */
49
+ timedRange: (from: string, to: string) => string;
50
+ /** Range of a timed event that ends on a later day. */
51
+ timedRangeUntil: (from: string, to: string, endDay: string) => string;
52
+ /** Live-region text for an event picked up with the keyboard. */
53
+ grabbed: (title: string) => string;
54
+ /** Live-region text for a keyboard move abandoned with Escape. */
55
+ returned: (title: string) => string;
56
+ /** Live-region text for a keyboard grab dropped without moving. */
57
+ droppedInPlace: (title: string) => string;
58
+ /** Live-region text for a keyboard move that committed. */
59
+ moved: (title: string) => string;
60
+ /** Live-region text when Escape abandons a pointer drag. */
61
+ moveCancelled: string;
62
+ month: {
63
+ /** Default accessible name of the month grid. */
64
+ label: string;
65
+ /** Text of the overflow button in a day cell. */
66
+ more: (hiddenText: string) => string;
67
+ /** Accessible name of that overflow button, given the cell's own label. */
68
+ showMore: (hidden: number, hiddenText: string, cell: string) => string;
69
+ /** Screen-reader-only keyboard instructions under the month grid. */
70
+ keyboardHint: string;
71
+ };
72
+ timeGrid: {
73
+ /** Default accessible name of the time grid. */
74
+ label: string;
75
+ /** Heading of the all-day row. */
76
+ allDay: string;
77
+ /** Accessible name of a day column's event list, given the long date. */
78
+ eventsOn: (date: string) => string;
79
+ };
80
+ actions: {
81
+ /** Label of the day picker in the event action menu. */
82
+ moveTo: string;
83
+ /** Accessible name of the day picker. */
84
+ day: string;
85
+ /** Label of the start-time picker. */
86
+ startAt: string;
87
+ /** Accessible name of the start-time picker. */
88
+ startTime: string;
89
+ /** Label of the duration picker. */
90
+ lasting: string;
91
+ /** Accessible name of the duration picker. */
92
+ duration: string;
93
+ /** One duration choice split into whole `hours` and leftover `minutes`, each with its locale-formatted text (the same pair shape as `relativeAge.daysHoursAgo`). */
94
+ minutes: (hours: number, hoursText: string, minutes: number, minutesText: string) => string;
95
+ /** Button that closes the action menu without changing the event. */
96
+ cancel: string;
97
+ /** Button that applies the chosen day, start and duration. */
98
+ apply: string;
99
+ };
100
+ };
101
+ }
102
+ export declare const datesStrings: DatesStrings;
103
+ export type CalendarStrings = DatesStrings["calendar"];
@@ -0,0 +1,268 @@
1
+ export interface DocsViewsStrings {
2
+ /** `OpenApiViewer`: the spec header, filter box, empty state, webhooks section. */
3
+ openApiViewer: {
4
+ /** Name of the group holding operations that carry no tag when other operations are tagged. */
5
+ untaggedGroup: string;
6
+ /** The version badge beside the spec title ("v1.2.0"). */
7
+ version: (version: string) => string;
8
+ /** Badge in the spec header counting operations. */
9
+ operationCount: (count: number, countText: string) => string;
10
+ /** Badge in the spec header counting webhooks. */
11
+ webhookCount: (count: number, countText: string) => string;
12
+ /** Term of the servers row in the spec header. */
13
+ servers: string;
14
+ /** Term of the security-schemes row in the spec header. */
15
+ securitySchemes: string;
16
+ /** Placeholder of the operation filter box. */
17
+ filterPlaceholder: string;
18
+ /** Accessible name of the operation filter box. */
19
+ filterLabel: string;
20
+ /** Title of the empty state shown when the filter matches nothing. */
21
+ noMatchTitle: string;
22
+ /** Description of that empty state; `query` is what the reader typed. */
23
+ noMatchDescription: (query: string) => string;
24
+ /** Button in that empty state that clears the filter. */
25
+ clearFilter: string;
26
+ /** Title of each operation's collapsed disclosure. */
27
+ details: string;
28
+ /** Heading of the webhooks section. */
29
+ webhooks: string;
30
+ /** Paragraph under the webhooks heading. */
31
+ webhooksIntro: string;
32
+ /** Footer line while filtering: how many of all operations match. */
33
+ matchSummary: (matched: number, matchedText: string, total: number, totalText: string) => string;
34
+ };
35
+ /** `OperationCard`: one operation's header, tabs, responses and security. */
36
+ operationCard: {
37
+ /** Badge on a deprecated operation. */
38
+ deprecated: string;
39
+ /** Line under the summary naming the operation id. */
40
+ operationId: (id: string) => string;
41
+ /** Tab holding the parameters. */
42
+ parameters: string;
43
+ /** Tab holding the request body. */
44
+ requestBody: string;
45
+ /** Tab holding the responses. */
46
+ responses: string;
47
+ /** Tab holding the security requirements. */
48
+ security: string;
49
+ /** Heading above the parameters of one location. */
50
+ locationLabel: {
51
+ path: string;
52
+ query: string;
53
+ header: string;
54
+ cookie: string;
55
+ };
56
+ /** Badge on a required request body. */
57
+ required: string;
58
+ /** Shown in a response that declares no body. */
59
+ noResponseBody: string;
60
+ /** File name shown on the synthesised example code block. */
61
+ example: string;
62
+ /** Shown when a schema reference could not be resolved. */
63
+ couldNotResolve: (ref: string) => string;
64
+ /** Separator between alternative security requirements. */
65
+ securityOr: string;
66
+ /** Accessible name of the copy-link button after the link was copied. */
67
+ linkCopied: string;
68
+ /** Accessible name of the copy-link button. */
69
+ copyLink: string;
70
+ };
71
+ /** `SchemaView`: the recursive schema property tree. */
72
+ schemaView: {
73
+ /** Type label of an allOf composition. */
74
+ allOf: string;
75
+ /** Type label of a oneOf composition. */
76
+ oneOf: string;
77
+ /** Type label of an anyOf composition. */
78
+ anyOf: string;
79
+ /** Type label of a schema with properties and no declared type. */
80
+ object: string;
81
+ /** Type label of an enum with no declared type. */
82
+ enum: string;
83
+ /** Type label of a schema that constrains nothing. */
84
+ any: string;
85
+ /** Note on a reference already shown further up the same branch. */
86
+ circularReference: string;
87
+ /** Note where the tree stops expanding. */
88
+ nestedFurther: string;
89
+ /** Badge on a deprecated schema. */
90
+ deprecated: string;
91
+ /** Badge on a required property. */
92
+ required: string;
93
+ /** The schema's declared format ("date-time"). */
94
+ format: (format: string) => string;
95
+ /** Note on an object that allows extra properties of any shape. */
96
+ additionalProperties: string;
97
+ };
98
+ /** `RoadmapItemCard`, `RoadmapSwimlaneBoard`, `RoadmapPage`: roadmap-item statuses and chrome. */
99
+ roadmap: {
100
+ /** Badge and column label per roadmap-item status. */
101
+ itemStatus: {
102
+ planned: string;
103
+ "in-progress": string;
104
+ shipped: string;
105
+ unresolved: string;
106
+ };
107
+ /** Disclosure button on a roadmap item card; `expanded` is the current state. */
108
+ toggleUseCases: (count: number, countText: string, expanded: boolean) => string;
109
+ /** Heading of the customer-facing roadmap page. */
110
+ pageTitle: string;
111
+ /** Subtitle of the customer-facing roadmap page. */
112
+ pageSubtitle: string;
113
+ /** Shown when no domain has a customer-visible item. */
114
+ empty: string;
115
+ /** Shown in a swimlane cell with no items. */
116
+ cellEmpty: string;
117
+ };
118
+ /** `UseCaseCard`: one use case's status and per-track build state. */
119
+ useCaseCard: {
120
+ /** Label per use-case status (badge and select option). */
121
+ status: {
122
+ pending: string;
123
+ "in-progress": string;
124
+ verified: string;
125
+ rejected: string;
126
+ };
127
+ /** Accessible name of the status select; `ref` is the use case's ref. */
128
+ statusFor: (ref: string) => string;
129
+ /** Accessible name of a track chip, saying whether the use case is built on it. */
130
+ trackBuilt: (trackName: string, built: boolean) => string;
131
+ /** Title of the collapsible background section. */
132
+ background: string;
133
+ };
134
+ /** `UseCaseLedgerPage`: the internal ledger with its filters. */
135
+ useCaseLedger: {
136
+ /** Page heading. */
137
+ title: string;
138
+ /** Page subtitle. */
139
+ subtitle: string;
140
+ /** Label of the domain filter. */
141
+ domain: string;
142
+ /** Option that clears the domain filter. */
143
+ allDomains: string;
144
+ /** Label of the status filter. */
145
+ status: string;
146
+ /** Option that clears the status filter. */
147
+ allStatuses: string;
148
+ /** Shown when the filters match no roadmap item. */
149
+ noMatch: string;
150
+ };
151
+ /** `OrderedEntityManager`: the shared list editor behind the phase and track managers. */
152
+ orderedEntityManager: {
153
+ /** Accessible name of a row's delete button. */
154
+ delete: (name: string) => string;
155
+ /** Label of the button that adds a new entry. */
156
+ add: string;
157
+ };
158
+ /** `PhaseManager`: the roadmap phase editor. */
159
+ phaseManager: {
160
+ /** Card title. */
161
+ title: string;
162
+ /** Card description. */
163
+ description: string;
164
+ /** Shown when there are no phases. */
165
+ empty: string;
166
+ /** Label of the add-a-phase field. */
167
+ addFieldLabel: string;
168
+ /** Placeholder of the add-a-phase field. */
169
+ addPlaceholder: string;
170
+ /** Accessible name of the drag container. */
171
+ containerLabel: string;
172
+ /** Badge on a phase that roadmap items still use. */
173
+ inUse: (count: number, countText: string) => string;
174
+ /** Why a phase's delete button is disabled. */
175
+ deleteBlocked: (count: number, countText: string, phaseName: string) => string;
176
+ };
177
+ /** `TrackManager`: the build-track editor. */
178
+ trackManager: {
179
+ /** Card title. */
180
+ title: string;
181
+ /** Card description. */
182
+ description: string;
183
+ /** Shown when there are no tracks. */
184
+ empty: string;
185
+ /** Label of the add-a-track field. */
186
+ addFieldLabel: string;
187
+ /** Placeholder of the add-a-track field. */
188
+ addPlaceholder: string;
189
+ /** Accessible name of the drag container. */
190
+ containerLabel: string;
191
+ /** Badge on a track row: use cases built out of the live ones. */
192
+ progress: (built: number, builtText: string, liveText: string) => string;
193
+ /** Why a track's delete button is disabled. */
194
+ deleteBlocked: (built: number, builtText: string, trackName: string) => string;
195
+ };
196
+ /** `FileViewer` and its header, rail, stage and page-jump field. */
197
+ fileViewer: {
198
+ /** Default heading when the host gives no title and there is no file. */
199
+ defaultTitle: string;
200
+ /** Default word for what a mark means, as an adjective ("marked"). */
201
+ marked: string;
202
+ /** Toggle that collapses the thumbnail rail. */
203
+ hideFileList: string;
204
+ /** Toggle that expands the thumbnail rail. */
205
+ showFileList: string;
206
+ /** Overflow-menu trigger and popover name on narrow screens. */
207
+ moreControls: string;
208
+ /** Previous-frame button. */
209
+ previous: string;
210
+ /** Why previous is disabled. */
211
+ firstOne: string;
212
+ /** Next-frame button. */
213
+ next: string;
214
+ /** Why next is disabled. */
215
+ lastOne: string;
216
+ /** Position readout of a pageless frame ("3 of 7"). */
217
+ position: (indexText: string, totalText: string) => string;
218
+ /** Position readout of a page frame ("Page 4 · 3 of 7"). */
219
+ pagePosition: (pageNumberText: string, indexText: string, totalText: string) => string;
220
+ /** Previous-mark button; `mark` is the host's word for a mark. */
221
+ previousMark: (mark: string) => string;
222
+ /** Next-mark button; `mark` is the host's word for a mark. */
223
+ nextMark: (mark: string) => string;
224
+ /** Count beside the mark buttons ("3 cited"). */
225
+ markCount: (countText: string, mark: string) => string;
226
+ /** Accessible name of a rail thumbnail that is marked. */
227
+ markedFrame: (frameName: string, mark: string) => string;
228
+ /** Name of the jump-to-page-number control and its popover. */
229
+ jumpToPage: string;
230
+ /** Placeholder of the page-number field. */
231
+ pageNumberPlaceholder: string;
232
+ /** Button that submits the page number. */
233
+ go: string;
234
+ /** Error when the typed page number is not digits. */
235
+ enterPageNumber: string;
236
+ /** Error when the page number does not exist in the file. */
237
+ noPageInFile: (typed: string) => string;
238
+ /** Zoom-out button. */
239
+ zoomOut: string;
240
+ /** Zoom-in button. */
241
+ zoomIn: string;
242
+ /** Fit button when the frame is a page. */
243
+ fitWidth: string;
244
+ /** Fit button when the frame is an image. */
245
+ fitWindow: string;
246
+ /** Download button with a visible label. */
247
+ download: string;
248
+ /** Accessible name of the icon-only download button. */
249
+ downloadFile: (fileName: string) => string;
250
+ /** Accessible name of the thumbnail rail. */
251
+ filesInViewer: string;
252
+ /** Name of a page frame of a file; also the image's alt text. */
253
+ pageOf: (fileName: string, pageNumberText: string) => string;
254
+ /** Name of a page frame that has no printed number. */
255
+ unnumberedPageOf: (fileName: string) => string;
256
+ /** Spinner label while the image is measured. */
257
+ loading: string;
258
+ /** Stage text when a page image failed to load. */
259
+ pageImageFailed: string;
260
+ /** Stage text when an image failed to load. */
261
+ imageFailed: string;
262
+ /** Stage text for a file with no preview. */
263
+ noPreview: string;
264
+ /** Link that opens the file in a new tab. */
265
+ openInNewTab: string;
266
+ };
267
+ }
268
+ export declare const docsViewsStrings: DocsViewsStrings;