@synopackageland/ui 0.17.9 → 0.17.11
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/CHANGELOG.md +23 -0
- package/README.md +51 -17
- package/dist/components/composite/comment-item/CommentItem.vue.d.ts +5 -1
- package/dist/components/composite/copy-button/CopyButton.vue.d.ts +2 -2
- package/dist/components/composite/file-picker/FilePicker.vue.d.ts +5 -2
- package/dist/components/composite/file-thumbs/FileThumbs.vue.d.ts +24 -0
- package/dist/components/composite/form/FormItem.vue.d.ts +1 -1
- package/dist/components/composite/form-note/FormNote.vue.d.ts +6 -2
- package/dist/components/composite/image-lightbox/ImageLightbox.vue.d.ts +19 -0
- package/dist/components/composite/mention-list/MentionList.vue.d.ts +31 -0
- package/dist/components/composite/rich-text-view/RichTextBlocks.vue.d.ts +14 -0
- package/dist/components/composite/rich-text-view/RichTextImage.vue.d.ts +12 -0
- package/dist/components/composite/rich-text-view/RichTextInline.vue.d.ts +23 -0
- package/dist/components/composite/rich-text-view/RichTextView.vue.d.ts +28 -0
- package/dist/components/composite/stat-tile/StatTile.vue.d.ts +1 -1
- package/dist/components/composite/upload-queue/UploadQueue.vue.d.ts +36 -0
- package/dist/components/composite/wizard/WizardStep.vue.d.ts +1 -1
- package/dist/components/containers/fieldset/Fieldset.vue.d.ts +6 -2
- package/dist/components/primitives/input/Input.vue.d.ts +13 -1
- package/dist/components/rich-text-editor/RichTextEditor.vue.d.ts +83 -0
- package/dist/components/rich-text-editor/extensions.d.ts +30 -0
- package/dist/components/rich-text-editor/markdown.d.ts +22 -0
- package/dist/i18n/filePicker.d.ts +3 -0
- package/dist/i18n/text.d.ts +48 -0
- package/dist/index.d.ts +15 -4
- package/dist/index.js +11305 -10025
- package/dist/json/catalog.d.ts +2 -2
- package/dist/json/registry.d.ts +34 -34
- package/dist/json-preview/preview.js +3608 -3161
- package/dist/lib/files.d.ts +28 -0
- package/dist/lib/mentions.d.ts +0 -10
- package/dist/lib/richText.d.ts +66 -0
- package/dist/lib/uploadQueue.d.ts +39 -0
- package/dist/reka-runtime.json +1 -1
- package/dist/rich-text.d.ts +3 -0
- package/dist/rich-text.js +1075 -0
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/layout-rules.md +7 -3
- package/docs/theme-hooks.md +14 -3
- package/package.json +14 -1
- package/dist/components/composite/comment-item/CommentInlineParts.vue.d.ts +0 -7
- package/dist/components/composite/mention-textarea/MentionTextarea.vue.d.ts +0 -52
- package/dist/lib/commentMarkdown.d.ts +0 -34
- /package/dist/components/composite/{mention-textarea → comment-item}/PersonInitials.vue.d.ts +0 -0
|
@@ -20,5 +20,8 @@ export type FilePickerText = {
|
|
|
20
20
|
sizeRejected: string;
|
|
21
21
|
countRejected: string;
|
|
22
22
|
duplicateRejected: string;
|
|
23
|
+
/** With `paste`: the button that pastes from the clipboard, and what it says when the clipboard holds no file. */
|
|
24
|
+
paste: string;
|
|
25
|
+
pasteEmpty: string;
|
|
23
26
|
};
|
|
24
27
|
export declare const filePickerText: Record<UiLocale, FilePickerText>;
|
package/dist/i18n/text.d.ts
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
import { UiLocale } from './locale';
|
|
2
2
|
export declare const englishUiText: {
|
|
3
|
+
readonly "{count} failed": "{count} failed";
|
|
4
|
+
readonly "{name} is not a JPEG, PNG, WebP or GIF image": "{name} is not a JPEG, PNG, WebP or GIF image";
|
|
5
|
+
readonly "{name}: {kind} images are not supported; on an iPhone, set Settings > Camera > Formats to Most Compatible": "{name}: {kind} images are not supported; on an iPhone, set Settings > Camera > Formats to Most Compatible";
|
|
6
|
+
readonly "You can add up to {count} images": "You can add up to {count} images";
|
|
7
|
+
readonly "Add image": "Add image";
|
|
8
|
+
readonly Bold: "Bold";
|
|
9
|
+
readonly "Bulleted list": "Bulleted list";
|
|
10
|
+
readonly "Can't show this file": "Can't show this file";
|
|
11
|
+
readonly "Cancel {name}": "Cancel {name}";
|
|
12
|
+
readonly "Cancel all": "Cancel all";
|
|
13
|
+
readonly "Code block": "Code block";
|
|
14
|
+
readonly Code: "Code";
|
|
15
|
+
readonly "File has changed": "File has changed";
|
|
16
|
+
readonly "File is missing": "File is missing";
|
|
17
|
+
readonly Formatting: "Formatting";
|
|
18
|
+
readonly Heading: "Heading";
|
|
19
|
+
readonly "Hide uploads": "Hide uploads";
|
|
20
|
+
readonly "Images from other websites are not pasted; save them first and add them as files": "Images from other websites are not pasted; save them first and add them as files";
|
|
21
|
+
readonly Images: "Images";
|
|
22
|
+
readonly Italic: "Italic";
|
|
23
|
+
readonly "Link address": "Link address";
|
|
24
|
+
readonly Link: "Link";
|
|
25
|
+
readonly "Links start with http://, https:// or mailto:": "Links start with http://, https:// or mailto:";
|
|
26
|
+
readonly "Mention someone": "Mention someone";
|
|
27
|
+
readonly "Next file": "Next file";
|
|
28
|
+
readonly "Numbered list": "Numbered list";
|
|
29
|
+
readonly "Open {name}": "Open {name}";
|
|
30
|
+
readonly "Previous file": "Previous file";
|
|
31
|
+
readonly "Processing {count}": "Processing {count}";
|
|
32
|
+
readonly Processing: "Processing";
|
|
33
|
+
readonly Quote: "Quote";
|
|
34
|
+
readonly "Remove link": "Remove link";
|
|
35
|
+
readonly "Retry {name}": "Retry {name}";
|
|
36
|
+
readonly "Retry all": "Retry all";
|
|
37
|
+
readonly Send: "Send";
|
|
38
|
+
readonly Sending: "Sending";
|
|
39
|
+
readonly "Show all {count} files": "Show all {count} files";
|
|
40
|
+
readonly "Show uploads": "Show uploads";
|
|
41
|
+
readonly Strikethrough: "Strikethrough";
|
|
42
|
+
readonly Subheading: "Subheading";
|
|
43
|
+
readonly "Upload failed": "Upload failed";
|
|
44
|
+
readonly "Uploaded {done} of {total}": "Uploaded {done} of {total}";
|
|
45
|
+
readonly Uploading: "Uploading";
|
|
46
|
+
readonly Uploads: "Uploads";
|
|
47
|
+
readonly "Wait for the images to finish uploading": "Wait for the images to finish uploading";
|
|
48
|
+
readonly Waiting: "Waiting";
|
|
49
|
+
readonly Uploaded: "Uploaded";
|
|
50
|
+
readonly Canceled: "Canceled";
|
|
3
51
|
readonly "Opens in a new tab": "Opens in a new tab";
|
|
4
52
|
readonly Download: "Download";
|
|
5
53
|
readonly Close: "Close";
|
package/dist/index.d.ts
CHANGED
|
@@ -131,12 +131,21 @@ export { default as StatTile } from './components/composite/stat-tile/StatTile.v
|
|
|
131
131
|
export type { StatTileTone } from './components/composite/stat-tile/StatTile.vue';
|
|
132
132
|
export { default as StatTileGroup } from './components/composite/stat-tile/StatTileGroup.vue';
|
|
133
133
|
export { default as CompletionToggle } from './components/composite/completion-toggle/CompletionToggle.vue';
|
|
134
|
-
export { default as MentionTextarea } from './components/composite/mention-textarea/MentionTextarea.vue';
|
|
135
134
|
export { default as CommentItem } from './components/composite/comment-item/CommentItem.vue';
|
|
136
|
-
export { mentionParts
|
|
135
|
+
export { mentionParts } from './lib/mentions';
|
|
136
|
+
export { default as MentionList } from './components/composite/mention-list/MentionList.vue';
|
|
137
137
|
export type { MentionCandidate, MentionPart } from './lib/mentions';
|
|
138
|
-
export {
|
|
139
|
-
export type {
|
|
138
|
+
export { richTextParts, richTextText, richTextFileIds } from './lib/richText';
|
|
139
|
+
export type { RichTextBlock, RichTextInline, RichTextList, RichTextListItem, RichTextOptions } from './lib/richText';
|
|
140
|
+
export { default as RichTextView } from './components/composite/rich-text-view/RichTextView.vue';
|
|
141
|
+
export { default as FileThumbs } from './components/composite/file-thumbs/FileThumbs.vue';
|
|
142
|
+
export { default as ImageLightbox } from './components/composite/image-lightbox/ImageLightbox.vue';
|
|
143
|
+
export { default as UploadQueue } from './components/composite/upload-queue/UploadQueue.vue';
|
|
144
|
+
export type { UploadQueueItem } from './components/composite/upload-queue/UploadQueue.vue';
|
|
145
|
+
export { useUploadQueue } from './lib/uploadQueue';
|
|
146
|
+
export type { UploadFunction, UploadQueueOptions, UploadStatus, UploadTask } from './lib/uploadQueue';
|
|
147
|
+
export { isPicture, isUnsupportedPicture } from './lib/files';
|
|
148
|
+
export type { FileItem, FileState } from './lib/files';
|
|
140
149
|
export type { DataTableColumn } from './components/composite/data-table/DataTable.vue';
|
|
141
150
|
export { default as DataGrid } from './components/composite/data-grid/DataGrid.vue';
|
|
142
151
|
export type { DataGridColumn, DataGridColumnWidths, DataGridLabels, ResolvedDataGridLabels, DataGridSort, DataGridGroup, DataGridExpandable, DataGridDraggable, DataGridReorder, DataGridCellUpdate, DataGridAdapter, DataGridCellSlotProps } from './components/composite/data-grid/DataGrid.vue';
|
|
@@ -246,6 +255,8 @@ export { default as OverflowToolbar } from './components/composite/overflow-tool
|
|
|
246
255
|
export { computeOverflowFit, ITEM_GAP } from './components/composite/overflow-toolbar/overflow';
|
|
247
256
|
export type { OverflowToolbarItem, OverflowToolbarMenuEntry, OverflowToolbarMoreMenu, OverflowToolbarMoreState, OverflowToolbarMoreText, } from './components/composite/overflow-toolbar/types';
|
|
248
257
|
export type { UiLocale } from './i18n/locale';
|
|
258
|
+
export { useUiText } from './i18n/text';
|
|
259
|
+
export type { UiTextKey } from './i18n/text';
|
|
249
260
|
export { filePickerText } from './i18n/filePicker';
|
|
250
261
|
export type { FilePickerText } from './i18n/filePicker';
|
|
251
262
|
export { default as Link } from './components/primitives/link/Link.vue';
|