@canonical/react-ds-app-launchpad 0.15.1 → 0.16.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.
- package/dist/esm/lib/DiffChangeMarker/icons.js +3 -3
- package/dist/esm/lib/DiffChangeMarker/icons.js.map +1 -1
- package/dist/esm/lib/FileTree/common/SearchBox/styles.css +1 -0
- package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.js +2 -2
- package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.js.map +1 -1
- package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.js +1 -1
- package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.js.map +1 -1
- package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/styles.css +45 -45
- package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/common/icons.js +1 -1
- package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/common/icons.js.map +1 -1
- package/dist/esm/lib/MarkdownEditor/styles.css +1 -0
- package/package.json +10 -10
- package/dist/esm/ui/DiffChangeMarker/DiffChangeMarker.js +0 -47
- package/dist/esm/ui/DiffChangeMarker/DiffChangeMarker.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/DetailedChangeMarker.js +0 -8
- package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/DetailedChangeMarker.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/index.js +0 -4
- package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/index.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/styles.css +0 -21
- package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/types.js +0 -2
- package/dist/esm/ui/DiffChangeMarker/common/DetailedChangeMarker/types.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/SimpleChangeMarker.js +0 -11
- package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/SimpleChangeMarker.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/index.js +0 -4
- package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/index.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/styles.css +0 -29
- package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/types.js +0 -2
- package/dist/esm/ui/DiffChangeMarker/common/SimpleChangeMarker/types.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/common/index.js +0 -3
- package/dist/esm/ui/DiffChangeMarker/common/index.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/icons.js +0 -5
- package/dist/esm/ui/DiffChangeMarker/icons.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/index.js +0 -4
- package/dist/esm/ui/DiffChangeMarker/index.js.map +0 -1
- package/dist/esm/ui/DiffChangeMarker/styles.css +0 -30
- package/dist/esm/ui/DiffChangeMarker/types.js +0 -2
- package/dist/esm/ui/DiffChangeMarker/types.js.map +0 -1
- package/dist/esm/ui/EditableBlock/Context.js +0 -4
- package/dist/esm/ui/EditableBlock/Context.js.map +0 -1
- package/dist/esm/ui/EditableBlock/EditableBlock.js +0 -37
- package/dist/esm/ui/EditableBlock/EditableBlock.js.map +0 -1
- package/dist/esm/ui/EditableBlock/hooks/index.js +0 -2
- package/dist/esm/ui/EditableBlock/hooks/index.js.map +0 -1
- package/dist/esm/ui/EditableBlock/hooks/useEditableBlock.js +0 -11
- package/dist/esm/ui/EditableBlock/hooks/useEditableBlock.js.map +0 -1
- package/dist/esm/ui/EditableBlock/index.js +0 -3
- package/dist/esm/ui/EditableBlock/index.js.map +0 -1
- package/dist/esm/ui/EditableBlock/styles.css +0 -38
- package/dist/esm/ui/EditableBlock/types.js +0 -2
- package/dist/esm/ui/EditableBlock/types.js.map +0 -1
- package/dist/esm/ui/FileTree/Context.js +0 -4
- package/dist/esm/ui/FileTree/Context.js.map +0 -1
- package/dist/esm/ui/FileTree/Provider.js +0 -74
- package/dist/esm/ui/FileTree/Provider.js.map +0 -1
- package/dist/esm/ui/FileTree/common/File/File.js +0 -12
- package/dist/esm/ui/FileTree/common/File/File.js.map +0 -1
- package/dist/esm/ui/FileTree/common/File/index.js +0 -4
- package/dist/esm/ui/FileTree/common/File/index.js.map +0 -1
- package/dist/esm/ui/FileTree/common/File/styles.css +0 -4
- package/dist/esm/ui/FileTree/common/File/types.js +0 -2
- package/dist/esm/ui/FileTree/common/File/types.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Folder/Folder.js +0 -12
- package/dist/esm/ui/FileTree/common/Folder/Folder.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Folder/index.js +0 -4
- package/dist/esm/ui/FileTree/common/Folder/index.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Folder/styles.css +0 -4
- package/dist/esm/ui/FileTree/common/Folder/types.js +0 -2
- package/dist/esm/ui/FileTree/common/Folder/types.js.map +0 -1
- package/dist/esm/ui/FileTree/common/IndentationBlock/IndentationBlock.js +0 -16
- package/dist/esm/ui/FileTree/common/IndentationBlock/IndentationBlock.js.map +0 -1
- package/dist/esm/ui/FileTree/common/IndentationBlock/index.js +0 -4
- package/dist/esm/ui/FileTree/common/IndentationBlock/index.js.map +0 -1
- package/dist/esm/ui/FileTree/common/IndentationBlock/styles.css +0 -32
- package/dist/esm/ui/FileTree/common/IndentationBlock/types.js +0 -2
- package/dist/esm/ui/FileTree/common/IndentationBlock/types.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Node/Context.js +0 -10
- package/dist/esm/ui/FileTree/common/Node/Context.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Node/Provider.js +0 -165
- package/dist/esm/ui/FileTree/common/Node/Provider.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Node/hooks/index.js +0 -2
- package/dist/esm/ui/FileTree/common/Node/hooks/index.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Node/hooks/useNode.js +0 -12
- package/dist/esm/ui/FileTree/common/Node/hooks/useNode.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Node/index.js +0 -4
- package/dist/esm/ui/FileTree/common/Node/index.js.map +0 -1
- package/dist/esm/ui/FileTree/common/Node/styles.css +0 -56
- package/dist/esm/ui/FileTree/common/Node/types.js +0 -2
- package/dist/esm/ui/FileTree/common/Node/types.js.map +0 -1
- package/dist/esm/ui/FileTree/common/SearchBox/SearchBox.js +0 -31
- package/dist/esm/ui/FileTree/common/SearchBox/SearchBox.js.map +0 -1
- package/dist/esm/ui/FileTree/common/SearchBox/index.js +0 -4
- package/dist/esm/ui/FileTree/common/SearchBox/index.js.map +0 -1
- package/dist/esm/ui/FileTree/common/SearchBox/styles.css +0 -65
- package/dist/esm/ui/FileTree/common/SearchBox/types.js +0 -2
- package/dist/esm/ui/FileTree/common/SearchBox/types.js.map +0 -1
- package/dist/esm/ui/FileTree/common/TreeView/TreeView.js +0 -60
- package/dist/esm/ui/FileTree/common/TreeView/TreeView.js.map +0 -1
- package/dist/esm/ui/FileTree/common/TreeView/index.js +0 -4
- package/dist/esm/ui/FileTree/common/TreeView/index.js.map +0 -1
- package/dist/esm/ui/FileTree/common/TreeView/types.js +0 -2
- package/dist/esm/ui/FileTree/common/TreeView/types.js.map +0 -1
- package/dist/esm/ui/FileTree/common/index.js +0 -5
- package/dist/esm/ui/FileTree/common/index.js.map +0 -1
- package/dist/esm/ui/FileTree/hooks/index.js +0 -2
- package/dist/esm/ui/FileTree/hooks/index.js.map +0 -1
- package/dist/esm/ui/FileTree/hooks/useFileTree.js +0 -11
- package/dist/esm/ui/FileTree/hooks/useFileTree.js.map +0 -1
- package/dist/esm/ui/FileTree/index.js +0 -10
- package/dist/esm/ui/FileTree/index.js.map +0 -1
- package/dist/esm/ui/FileTree/styles.css +0 -59
- package/dist/esm/ui/FileTree/types.js +0 -2
- package/dist/esm/ui/FileTree/types.js.map +0 -1
- package/dist/esm/ui/FileTree/utils/hashNodeName.js +0 -11
- package/dist/esm/ui/FileTree/utils/hashNodeName.js.map +0 -1
- package/dist/esm/ui/FileTree/utils/index.js +0 -2
- package/dist/esm/ui/FileTree/utils/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/Context.js +0 -4
- package/dist/esm/ui/GitDiffViewer/Context.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/Provider.js +0 -27
- package/dist/esm/ui/GitDiffViewer/Provider.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.js +0 -74
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/HighlighTheme.css +0 -171
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.js +0 -38
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.js +0 -4
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/styles.css +0 -15
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.js +0 -3
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.js +0 -36
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/index.js +0 -4
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/styles.css +0 -118
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/types.js +0 -2
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/types.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.js +0 -5
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/index.js +0 -2
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/common/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/constants.js +0 -2
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/constants.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/index.js +0 -5
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/styles.css +0 -27
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/types.js +0 -2
- package/dist/esm/ui/GitDiffViewer/common/CodeDiffViewer/types.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/FileHeader/FileHeader.js +0 -36
- package/dist/esm/ui/GitDiffViewer/common/FileHeader/FileHeader.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/FileHeader/index.js +0 -4
- package/dist/esm/ui/GitDiffViewer/common/FileHeader/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/FileHeader/styles.css +0 -56
- package/dist/esm/ui/GitDiffViewer/common/FileHeader/types.js +0 -2
- package/dist/esm/ui/GitDiffViewer/common/FileHeader/types.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/common/index.js +0 -3
- package/dist/esm/ui/GitDiffViewer/common/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/hooks/index.js +0 -2
- package/dist/esm/ui/GitDiffViewer/hooks/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/hooks/useGitDiffViewer.js +0 -11
- package/dist/esm/ui/GitDiffViewer/hooks/useGitDiffViewer.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/index.js +0 -9
- package/dist/esm/ui/GitDiffViewer/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/styles.css +0 -26
- package/dist/esm/ui/GitDiffViewer/types.js +0 -2
- package/dist/esm/ui/GitDiffViewer/types.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/utils/highlightDiffHunkLines.js +0 -83
- package/dist/esm/ui/GitDiffViewer/utils/highlightDiffHunkLines.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/utils/index.js +0 -3
- package/dist/esm/ui/GitDiffViewer/utils/index.js.map +0 -1
- package/dist/esm/ui/GitDiffViewer/utils/parseGitDiff.js +0 -96
- package/dist/esm/ui/GitDiffViewer/utils/parseGitDiff.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/MarkdownEditor.js +0 -75
- package/dist/esm/ui/MarkdownEditor/MarkdownEditor.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/Toolbar.js +0 -52
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/Toolbar.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/Button.js +0 -19
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/Button.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/index.js +0 -4
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/styles.css +0 -17
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/types.js +0 -2
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Button/types.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/Group.js +0 -13
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/Group.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/index.js +0 -4
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/styles.css +0 -7
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/types.js +0 -2
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Group/types.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.js +0 -11
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/index.js +0 -4
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/styles.css +0 -7
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/types.js +0 -2
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/Separator/types.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/index.js +0 -4
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/common/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/index.js +0 -9
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/styles.css +0 -16
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/types.js +0 -2
- package/dist/esm/ui/MarkdownEditor/common/Toolbar/types.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.js +0 -34
- package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/index.js +0 -4
- package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/styles.css +0 -42
- package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/types.js +0 -2
- package/dist/esm/ui/MarkdownEditor/common/ViewModeTabs/types.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/icons.js +0 -10
- package/dist/esm/ui/MarkdownEditor/common/icons.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/common/index.js +0 -4
- package/dist/esm/ui/MarkdownEditor/common/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/hooks/index.js +0 -2
- package/dist/esm/ui/MarkdownEditor/hooks/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/hooks/useEditor.js +0 -274
- package/dist/esm/ui/MarkdownEditor/hooks/useEditor.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/index.js +0 -4
- package/dist/esm/ui/MarkdownEditor/index.js.map +0 -1
- package/dist/esm/ui/MarkdownEditor/styles.css +0 -85
- package/dist/esm/ui/MarkdownEditor/types.js +0 -2
- package/dist/esm/ui/MarkdownEditor/types.js.map +0 -1
- package/dist/esm/ui/RelativeTime/RelativeTime.js +0 -66
- package/dist/esm/ui/RelativeTime/RelativeTime.js.map +0 -1
- package/dist/esm/ui/RelativeTime/index.js +0 -4
- package/dist/esm/ui/RelativeTime/index.js.map +0 -1
- package/dist/esm/ui/RelativeTime/types.js +0 -2
- package/dist/esm/ui/RelativeTime/types.js.map +0 -1
- package/dist/esm/ui/RelativeTime/utils/constants.js +0 -6
- package/dist/esm/ui/RelativeTime/utils/constants.js.map +0 -1
- package/dist/esm/ui/RelativeTime/utils/formatHumanTime.js +0 -43
- package/dist/esm/ui/RelativeTime/utils/formatHumanTime.js.map +0 -1
- package/dist/esm/ui/RelativeTime/utils/getOptimalUpdateInterval.js +0 -24
- package/dist/esm/ui/RelativeTime/utils/getOptimalUpdateInterval.js.map +0 -1
- package/dist/esm/ui/RelativeTime/utils/index.js +0 -4
- package/dist/esm/ui/RelativeTime/utils/index.js.map +0 -1
- package/dist/esm/ui/RelativeTime/utils/parseInstant.js +0 -22
- package/dist/esm/ui/RelativeTime/utils/parseInstant.js.map +0 -1
- package/dist/esm/ui/index.js +0 -7
- package/dist/esm/ui/index.js.map +0 -1
- package/dist/types/ui/DiffChangeMarker/DiffChangeMarker.d.ts +0 -11
- package/dist/types/ui/DiffChangeMarker/DiffChangeMarker.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/DetailedChangeMarker.d.ts +0 -6
- package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/DetailedChangeMarker.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/index.d.ts +0 -3
- package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/index.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/types.d.ts +0 -10
- package/dist/types/ui/DiffChangeMarker/common/DetailedChangeMarker/types.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/SimpleChangeMarker.d.ts +0 -6
- package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/SimpleChangeMarker.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/index.d.ts +0 -3
- package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/index.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/types.d.ts +0 -9
- package/dist/types/ui/DiffChangeMarker/common/SimpleChangeMarker/types.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/common/index.d.ts +0 -3
- package/dist/types/ui/DiffChangeMarker/common/index.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/icons.d.ts +0 -4
- package/dist/types/ui/DiffChangeMarker/icons.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/index.d.ts +0 -3
- package/dist/types/ui/DiffChangeMarker/index.d.ts.map +0 -1
- package/dist/types/ui/DiffChangeMarker/types.d.ts +0 -18
- package/dist/types/ui/DiffChangeMarker/types.d.ts.map +0 -1
- package/dist/types/ui/EditableBlock/Context.d.ts +0 -4
- package/dist/types/ui/EditableBlock/Context.d.ts.map +0 -1
- package/dist/types/ui/EditableBlock/EditableBlock.d.ts +0 -10
- package/dist/types/ui/EditableBlock/EditableBlock.d.ts.map +0 -1
- package/dist/types/ui/EditableBlock/hooks/index.d.ts +0 -2
- package/dist/types/ui/EditableBlock/hooks/index.d.ts.map +0 -1
- package/dist/types/ui/EditableBlock/hooks/useEditableBlock.d.ts +0 -4
- package/dist/types/ui/EditableBlock/hooks/useEditableBlock.d.ts.map +0 -1
- package/dist/types/ui/EditableBlock/index.d.ts +0 -3
- package/dist/types/ui/EditableBlock/index.d.ts.map +0 -1
- package/dist/types/ui/EditableBlock/types.d.ts +0 -26
- package/dist/types/ui/EditableBlock/types.d.ts.map +0 -1
- package/dist/types/ui/FileTree/Context.d.ts +0 -4
- package/dist/types/ui/FileTree/Context.d.ts.map +0 -1
- package/dist/types/ui/FileTree/Provider.d.ts +0 -7
- package/dist/types/ui/FileTree/Provider.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/File/File.d.ts +0 -10
- package/dist/types/ui/FileTree/common/File/File.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/File/index.d.ts +0 -3
- package/dist/types/ui/FileTree/common/File/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/File/types.d.ts +0 -16
- package/dist/types/ui/FileTree/common/File/types.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Folder/Folder.d.ts +0 -10
- package/dist/types/ui/FileTree/common/Folder/Folder.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Folder/index.d.ts +0 -3
- package/dist/types/ui/FileTree/common/Folder/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Folder/types.d.ts +0 -16
- package/dist/types/ui/FileTree/common/Folder/types.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/IndentationBlock/IndentationBlock.d.ts +0 -10
- package/dist/types/ui/FileTree/common/IndentationBlock/IndentationBlock.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/IndentationBlock/index.d.ts +0 -3
- package/dist/types/ui/FileTree/common/IndentationBlock/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/IndentationBlock/types.d.ts +0 -12
- package/dist/types/ui/FileTree/common/IndentationBlock/types.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Node/Context.d.ts +0 -5
- package/dist/types/ui/FileTree/common/Node/Context.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Node/Provider.d.ts +0 -6
- package/dist/types/ui/FileTree/common/Node/Provider.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Node/hooks/index.d.ts +0 -2
- package/dist/types/ui/FileTree/common/Node/hooks/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Node/hooks/useNode.d.ts +0 -3
- package/dist/types/ui/FileTree/common/Node/hooks/useNode.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Node/index.d.ts +0 -5
- package/dist/types/ui/FileTree/common/Node/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/Node/types.d.ts +0 -28
- package/dist/types/ui/FileTree/common/Node/types.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/SearchBox/SearchBox.d.ts +0 -10
- package/dist/types/ui/FileTree/common/SearchBox/SearchBox.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/SearchBox/index.d.ts +0 -3
- package/dist/types/ui/FileTree/common/SearchBox/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/SearchBox/types.d.ts +0 -10
- package/dist/types/ui/FileTree/common/SearchBox/types.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/TreeView/TreeView.d.ts +0 -16
- package/dist/types/ui/FileTree/common/TreeView/TreeView.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/TreeView/index.d.ts +0 -3
- package/dist/types/ui/FileTree/common/TreeView/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/TreeView/types.d.ts +0 -20
- package/dist/types/ui/FileTree/common/TreeView/types.d.ts.map +0 -1
- package/dist/types/ui/FileTree/common/index.d.ts +0 -5
- package/dist/types/ui/FileTree/common/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/hooks/index.d.ts +0 -2
- package/dist/types/ui/FileTree/hooks/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/hooks/useFileTree.d.ts +0 -3
- package/dist/types/ui/FileTree/hooks/useFileTree.d.ts.map +0 -1
- package/dist/types/ui/FileTree/index.d.ts +0 -5
- package/dist/types/ui/FileTree/index.d.ts.map +0 -1
- package/dist/types/ui/FileTree/types.d.ts +0 -73
- package/dist/types/ui/FileTree/types.d.ts.map +0 -1
- package/dist/types/ui/FileTree/utils/hashNodeName.d.ts +0 -3
- package/dist/types/ui/FileTree/utils/hashNodeName.d.ts.map +0 -1
- package/dist/types/ui/FileTree/utils/index.d.ts +0 -2
- package/dist/types/ui/FileTree/utils/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/Context.d.ts +0 -4
- package/dist/types/ui/GitDiffViewer/Context.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/Provider.d.ts +0 -5
- package/dist/types/ui/GitDiffViewer/Provider.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.d.ts +0 -7
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/CodeDiffViewer.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.d.ts +0 -10
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/AnnotatedDiffLine.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.d.ts +0 -3
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.d.ts +0 -21
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/types.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.d.ts +0 -11
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/DiffLine.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/index.d.ts +0 -3
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/types.d.ts +0 -34
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/types.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.d.ts +0 -2
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/icons.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/index.d.ts +0 -2
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/common/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/constants.d.ts +0 -2
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/constants.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/index.d.ts +0 -4
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/types.d.ts +0 -34
- package/dist/types/ui/GitDiffViewer/common/CodeDiffViewer/types.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/FileHeader/FileHeader.d.ts +0 -15
- package/dist/types/ui/GitDiffViewer/common/FileHeader/FileHeader.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/FileHeader/index.d.ts +0 -3
- package/dist/types/ui/GitDiffViewer/common/FileHeader/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/FileHeader/types.d.ts +0 -17
- package/dist/types/ui/GitDiffViewer/common/FileHeader/types.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/common/index.d.ts +0 -3
- package/dist/types/ui/GitDiffViewer/common/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/hooks/index.d.ts +0 -2
- package/dist/types/ui/GitDiffViewer/hooks/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/hooks/useGitDiffViewer.d.ts +0 -3
- package/dist/types/ui/GitDiffViewer/hooks/useGitDiffViewer.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/index.d.ts +0 -10
- package/dist/types/ui/GitDiffViewer/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/types.d.ts +0 -75
- package/dist/types/ui/GitDiffViewer/types.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/utils/highlightDiffHunkLines.d.ts +0 -4
- package/dist/types/ui/GitDiffViewer/utils/highlightDiffHunkLines.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/utils/index.d.ts +0 -3
- package/dist/types/ui/GitDiffViewer/utils/index.d.ts.map +0 -1
- package/dist/types/ui/GitDiffViewer/utils/parseGitDiff.d.ts +0 -4
- package/dist/types/ui/GitDiffViewer/utils/parseGitDiff.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/MarkdownEditor.d.ts +0 -10
- package/dist/types/ui/MarkdownEditor/MarkdownEditor.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/Toolbar.d.ts +0 -8
- package/dist/types/ui/MarkdownEditor/common/Toolbar/Toolbar.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/Button.d.ts +0 -9
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/Button.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/index.d.ts +0 -3
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/types.d.ts +0 -14
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Button/types.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/Group.d.ts +0 -9
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/Group.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/index.d.ts +0 -3
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/types.d.ts +0 -14
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Group/types.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.d.ts +0 -9
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/index.d.ts +0 -3
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/types.d.ts +0 -10
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/Separator/types.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/index.d.ts +0 -4
- package/dist/types/ui/MarkdownEditor/common/Toolbar/common/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/index.d.ts +0 -4
- package/dist/types/ui/MarkdownEditor/common/Toolbar/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/Toolbar/types.d.ts +0 -20
- package/dist/types/ui/MarkdownEditor/common/Toolbar/types.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.d.ts +0 -9
- package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/index.d.ts +0 -3
- package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/types.d.ts +0 -14
- package/dist/types/ui/MarkdownEditor/common/ViewModeTabs/types.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/icons.d.ts +0 -9
- package/dist/types/ui/MarkdownEditor/common/icons.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/common/index.d.ts +0 -4
- package/dist/types/ui/MarkdownEditor/common/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/hooks/index.d.ts +0 -2
- package/dist/types/ui/MarkdownEditor/hooks/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/hooks/useEditor.d.ts +0 -40
- package/dist/types/ui/MarkdownEditor/hooks/useEditor.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/index.d.ts +0 -3
- package/dist/types/ui/MarkdownEditor/index.d.ts.map +0 -1
- package/dist/types/ui/MarkdownEditor/types.d.ts +0 -47
- package/dist/types/ui/MarkdownEditor/types.d.ts.map +0 -1
- package/dist/types/ui/RelativeTime/RelativeTime.d.ts +0 -11
- package/dist/types/ui/RelativeTime/RelativeTime.d.ts.map +0 -1
- package/dist/types/ui/RelativeTime/index.d.ts +0 -3
- package/dist/types/ui/RelativeTime/index.d.ts.map +0 -1
- package/dist/types/ui/RelativeTime/types.d.ts +0 -36
- package/dist/types/ui/RelativeTime/types.d.ts.map +0 -1
- package/dist/types/ui/RelativeTime/utils/constants.d.ts +0 -6
- package/dist/types/ui/RelativeTime/utils/constants.d.ts.map +0 -1
- package/dist/types/ui/RelativeTime/utils/formatHumanTime.d.ts +0 -21
- package/dist/types/ui/RelativeTime/utils/formatHumanTime.d.ts.map +0 -1
- package/dist/types/ui/RelativeTime/utils/getOptimalUpdateInterval.d.ts +0 -8
- package/dist/types/ui/RelativeTime/utils/getOptimalUpdateInterval.d.ts.map +0 -1
- package/dist/types/ui/RelativeTime/utils/index.d.ts +0 -4
- package/dist/types/ui/RelativeTime/utils/index.d.ts.map +0 -1
- package/dist/types/ui/RelativeTime/utils/parseInstant.d.ts +0 -9
- package/dist/types/ui/RelativeTime/utils/parseInstant.d.ts.map +0 -1
- package/dist/types/ui/index.d.ts +0 -7
- package/dist/types/ui/index.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Group/Group.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,cAAc,CAAC;AAItB;;GAEG;AACH,QAAA,MAAM,YAAY,GAAI,4CAMnB,iBAAiB,KAAG,KAAK,CAAC,YAa5B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Group/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAC;AACrD,cAAc,YAAY,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
export interface ToolbarGroupProps {
|
|
3
|
-
/** A unique identifier for the ToolbarGroup */
|
|
4
|
-
id?: string;
|
|
5
|
-
/** Additional CSS classes */
|
|
6
|
-
className?: string;
|
|
7
|
-
/** Child elements */
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
/** Inline styles */
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
/** Toolbar group label */
|
|
12
|
-
label: string;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Group/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,iBAAiB;IAChC,+CAA+C;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import "./styles.css";
|
|
3
|
-
import type { ToolbarSeparatorProps } from "./types.js";
|
|
4
|
-
/**
|
|
5
|
-
* A visual separator between groups of controls in a toolbar.
|
|
6
|
-
*/
|
|
7
|
-
declare const ToolbarSeparator: ({ id, className, style, }: ToolbarSeparatorProps) => React.ReactElement;
|
|
8
|
-
export default ToolbarSeparator;
|
|
9
|
-
//# sourceMappingURL=Separator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Separator/Separator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAIxD;;GAEG;AACH,QAAA,MAAM,gBAAgB,GAAI,2BAIvB,qBAAqB,KAAG,KAAK,CAAC,YAQhC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Separator/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,cAAc,YAAY,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
export interface ToolbarSeparatorProps {
|
|
3
|
-
/** A unique identifier for the ToolbarSeparator */
|
|
4
|
-
id?: string;
|
|
5
|
-
/** Additional CSS classes */
|
|
6
|
-
className?: string;
|
|
7
|
-
/** Inline styles */
|
|
8
|
-
style?: React.CSSProperties;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/Separator/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,qBAAqB;IACpC,mDAAmD;IACnD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/MarkdownEditor/common/Toolbar/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/MarkdownEditor/common/Toolbar/index.ts"],"names":[],"mappings":"AAOA,OAAO,OAAO,MAAM,cAAc,CAAC;AAMnC,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import type { ToolbarButtonProps, ToolbarGroupProps, ToolbarSeparatorProps } from "./common/index.js";
|
|
3
|
-
export interface ToolbarProps {
|
|
4
|
-
/** A unique identifier for the Toolbar */
|
|
5
|
-
id?: string;
|
|
6
|
-
/** Additional CSS classes */
|
|
7
|
-
className?: string;
|
|
8
|
-
/** Child elements */
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
/** Inline styles */
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
/** Toolbar label */
|
|
13
|
-
label: string;
|
|
14
|
-
}
|
|
15
|
-
export type ToolbarComponent = ((props: ToolbarProps) => React.ReactElement) & {
|
|
16
|
-
Button: (props: ToolbarButtonProps) => React.ReactElement | null;
|
|
17
|
-
Group: (props: ToolbarGroupProps) => React.ReactElement | null;
|
|
18
|
-
Separator: (props: ToolbarSeparatorProps) => React.ReactElement | null;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/MarkdownEditor/common/Toolbar/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,YAAY;IAC3B,0CAA0C;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG;IAC7E,MAAM,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IACjE,KAAK,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAC/D,SAAS,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;CACxE,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import "./styles.css";
|
|
3
|
-
import type { ViewModeTabsProps } from "./types.js";
|
|
4
|
-
/**
|
|
5
|
-
* A toggle interface for switching between write and preview modes.
|
|
6
|
-
*/
|
|
7
|
-
declare const ViewModeTabs: ({ className, style, editMode, onEditModeChange, ariaLabelMessage, }: ViewModeTabsProps) => React.ReactElement;
|
|
8
|
-
export default ViewModeTabs;
|
|
9
|
-
//# sourceMappingURL=ViewModeTabs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ViewModeTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/MarkdownEditor/common/ViewModeTabs/ViewModeTabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAMpD;;GAEG;AACH,QAAA,MAAM,YAAY,GAAI,qEAMnB,iBAAiB,KAAG,KAAK,CAAC,YAkD5B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/MarkdownEditor/common/ViewModeTabs/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import type { EditMode } from "../../types.js";
|
|
3
|
-
export interface ViewModeTabsProps {
|
|
4
|
-
/** Additional CSS classes */
|
|
5
|
-
className?: string;
|
|
6
|
-
/** Inline styles */
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
/** The current edit mode */
|
|
9
|
-
editMode: EditMode;
|
|
10
|
-
/** Callback for edit mode change */
|
|
11
|
-
onEditModeChange: (mode: EditMode, eventType: "click" | "keydown") => void;
|
|
12
|
-
ariaLabelMessage?: string;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/MarkdownEditor/common/ViewModeTabs/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,4BAA4B;IAC5B,QAAQ,EAAE,QAAQ,CAAC;IACnB,oCAAoC;IACpC,gBAAgB,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3E,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const ToolbarTitle: import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export declare const ToolbarBold: import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const ToolbarItalic: import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const ToolbarQuote: import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const ToolbarCode: import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const ToolbarLink: import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const ToolbarUnorderedList: import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const ToolbarOrderedList: import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../../src/ui/MarkdownEditor/common/icons.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,yCAcxB,CAAC;AAEF,eAAO,MAAM,WAAW,yCAcvB,CAAC;AAEF,eAAO,MAAM,aAAa,yCAczB,CAAC;AAEF,eAAO,MAAM,YAAY,yCAcxB,CAAC;AAEF,eAAO,MAAM,WAAW,yCAcvB,CAAC;AAEF,eAAO,MAAM,WAAW,yCAcvB,CAAC;AAEF,eAAO,MAAM,oBAAoB,yCAchC,CAAC;AAEF,eAAO,MAAM,kBAAkB,yCAc9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/MarkdownEditor/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/MarkdownEditor/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
declare const useEditor: (textareaRef: React.RefObject<HTMLTextAreaElement | null>) => {
|
|
2
|
-
toolbar?: undefined;
|
|
3
|
-
} | {
|
|
4
|
-
toolbar: {
|
|
5
|
-
italic: {
|
|
6
|
-
shortcut: string;
|
|
7
|
-
handler: () => void;
|
|
8
|
-
};
|
|
9
|
-
bold: {
|
|
10
|
-
shortcut: string;
|
|
11
|
-
handler: () => void;
|
|
12
|
-
};
|
|
13
|
-
title: {
|
|
14
|
-
shortcut: undefined;
|
|
15
|
-
handler: () => void;
|
|
16
|
-
};
|
|
17
|
-
quote: {
|
|
18
|
-
shortcut: string;
|
|
19
|
-
handler: () => void;
|
|
20
|
-
};
|
|
21
|
-
code: {
|
|
22
|
-
shortcut: string;
|
|
23
|
-
handler: () => void;
|
|
24
|
-
};
|
|
25
|
-
uList: {
|
|
26
|
-
shortcut: string;
|
|
27
|
-
handler: () => void;
|
|
28
|
-
};
|
|
29
|
-
oList: {
|
|
30
|
-
shortcut: string;
|
|
31
|
-
handler: () => void;
|
|
32
|
-
};
|
|
33
|
-
link: {
|
|
34
|
-
shortcut: string;
|
|
35
|
-
handler: () => void;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export default useEditor;
|
|
40
|
-
//# sourceMappingURL=useEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../src/ui/MarkdownEditor/hooks/useEditor.ts"],"names":[],"mappings":"AAkBA,QAAA,MAAM,SAAS,GACb,aAAa,KAAK,CAAC,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoUzD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/MarkdownEditor/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,cAAc,YAAY,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
export type EditMode = "write" | "preview";
|
|
3
|
-
export type MarkdownEditorProps = {
|
|
4
|
-
ref?: React.Ref<HTMLTextAreaElement>;
|
|
5
|
-
/** A unique identifier for the MarkdownEditor */
|
|
6
|
-
id?: string;
|
|
7
|
-
/** Additional CSS classes */
|
|
8
|
-
className?: string;
|
|
9
|
-
/** Child elements */
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
/** Inline styles */
|
|
12
|
-
style?: React.CSSProperties;
|
|
13
|
-
/** Placeholder for the textarea */
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
/** Default value for the textarea (Markdown content) */
|
|
16
|
-
defaultValue?: string;
|
|
17
|
-
/** Hide the toolbar */
|
|
18
|
-
hideToolbar?: boolean;
|
|
19
|
-
/** Hide the preview pane */
|
|
20
|
-
hidePreview?: boolean;
|
|
21
|
-
/** Hide the border around the editor */
|
|
22
|
-
borderless?: boolean;
|
|
23
|
-
/** Controlled edit mode, leave undefined for internal control */
|
|
24
|
-
editMode?: EditMode;
|
|
25
|
-
/** Callback for edit mode change, needed if editMode is controlled */
|
|
26
|
-
onEditModeChange?: (newEditMode: EditMode) => void;
|
|
27
|
-
/** Textarea styles */
|
|
28
|
-
textareaStyle?: React.CSSProperties;
|
|
29
|
-
/** Preview pane styles */
|
|
30
|
-
previewStyle?: React.CSSProperties;
|
|
31
|
-
/** Control how the switch to preview mode looks */
|
|
32
|
-
previewSwitchMode?: "tab" | "checkbox";
|
|
33
|
-
/** On preview pane overflow, show a button to expand the preview pane */
|
|
34
|
-
emptyInputMessage?: string;
|
|
35
|
-
toolbarBarLabelMessage?: string;
|
|
36
|
-
ToolbarTextFormattingGroupLabelMessage?: string;
|
|
37
|
-
ToolbarToolsGroupLabelMessage?: string;
|
|
38
|
-
ToolbarTitleButtonLabelMessage?: string;
|
|
39
|
-
ToolbarBoldButtonLabelMessage?: string;
|
|
40
|
-
ToolbarItalicButtonLabelMessage?: string;
|
|
41
|
-
ToolbarQuoteButtonLabelMessage?: string;
|
|
42
|
-
ToolbarCodeButtonLabelMessage?: string;
|
|
43
|
-
ToolbarLinkButtonLabelMessage?: string;
|
|
44
|
-
ToolbarUnorderedListButtonLabelMessage?: string;
|
|
45
|
-
ToolbarOrderedListButtonLabelMessage?: string;
|
|
46
|
-
} & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
47
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui/MarkdownEditor/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IACrC,iDAAiD;IACjD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uBAAuB;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wCAAwC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,KAAK,IAAI,CAAC;IACnD,sBAAsB;IACtB,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,0BAA0B;IAC1B,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,mDAAmD;IACnD,iBAAiB,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;IACvC,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,sCAAsC,CAAC,EAAE,MAAM,CAAC;IAChD,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,sCAAsC,CAAC,EAAE,MAAM,CAAC;IAChD,oCAAoC,CAAC,EAAE,MAAM,CAAC;CAC/C,GAAG,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import type { RelativeTimeProps } from "./types.js";
|
|
3
|
-
/**
|
|
4
|
-
* The RelativeTime component displays timestamps in a human-readable relative format (like "2 hours ago" or "in 3 days").
|
|
5
|
-
*
|
|
6
|
-
* It features automatic live updates with interval optimization based on time distance, configurable "now" threshold,
|
|
7
|
-
* and renders as proper semantic HTML using the <time> element. The component leverages the Temporal API for calculations and Intl.RelativeTimeFormat for localization.
|
|
8
|
-
*/
|
|
9
|
-
declare const RelativeTime: ({ id, className, style, time, relativeTimeFormat, nowThreshold, disableLiveUpdate, nowKeyword, invalidDateKeyword, }: RelativeTimeProps) => React.ReactElement;
|
|
10
|
-
export default RelativeTime;
|
|
11
|
-
//# sourceMappingURL=RelativeTime.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RelativeTime.d.ts","sourceRoot":"","sources":["../../../../src/ui/RelativeTime/RelativeTime.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AASpD;;;;;GAKG;AACH,QAAA,MAAM,YAAY,GAAI,sHAUnB,iBAAiB,KAAG,KAAK,CAAC,YA0E5B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/RelativeTime/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5D,cAAc,YAAY,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { Temporal } from "@js-temporal/polyfill";
|
|
2
|
-
import type React from "react";
|
|
3
|
-
export interface RelativeTimeProps {
|
|
4
|
-
/** A unique identifier for the RelativeTime */
|
|
5
|
-
id?: string;
|
|
6
|
-
/** Additional CSS classes */
|
|
7
|
-
className?: string;
|
|
8
|
-
/** Inline styles */
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
/**
|
|
11
|
-
* The time to be displayed as a relative time (ISO string or Date object).
|
|
12
|
-
*/
|
|
13
|
-
time: string | Date | Temporal.Instant;
|
|
14
|
-
/**
|
|
15
|
-
* Disable live duration updates (default: false).
|
|
16
|
-
*/
|
|
17
|
-
disableLiveUpdate?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* custom relative time format (default: local language and narrow style).
|
|
20
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat
|
|
21
|
-
*/
|
|
22
|
-
relativeTimeFormat?: Intl.RelativeTimeFormat;
|
|
23
|
-
/**
|
|
24
|
-
* The threshold in seconds for when to display the relative time as "just now" (default is 10).
|
|
25
|
-
*/
|
|
26
|
-
nowThreshold?: number;
|
|
27
|
-
/**
|
|
28
|
-
* The keyword to use for "now" (default: "now")
|
|
29
|
-
*/
|
|
30
|
-
nowKeyword?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The keyword to use when the given time is not a valid. (default: "invalid date")
|
|
33
|
-
*/
|
|
34
|
-
invalidDateKeyword?: string;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui/RelativeTime/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,iBAAiB;IAChC,+CAA+C;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC;IAEvC;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,IAAI,CAAC,kBAAkB,CAAC;IAE7C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const MINUTE_IN_SECONDS = 60;
|
|
2
|
-
export declare const HOUR_IN_SECONDS: number;
|
|
3
|
-
export declare const DAY_IN_SECONDS: number;
|
|
4
|
-
export declare const MONTH_IN_SECONDS: number;
|
|
5
|
-
export declare const YEAR_IN_SECONDS: number;
|
|
6
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/ui/RelativeTime/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,eAAe,QAAyB,CAAC;AACtD,eAAO,MAAM,cAAc,QAAuB,CAAC;AACnD,eAAO,MAAM,gBAAgB,QAAsB,CAAC;AACpD,eAAO,MAAM,eAAe,QAAuB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
2
|
-
type FormatterOptions = {
|
|
3
|
-
/** The threshold in seconds for considering the time as "now". */
|
|
4
|
-
nowThreshold: number;
|
|
5
|
-
/** The keyword to use for "now". */
|
|
6
|
-
nowKeyword: string;
|
|
7
|
-
/**
|
|
8
|
-
* The Intl.RelativeTimeFormat instance to use for formatting.
|
|
9
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat
|
|
10
|
-
*/
|
|
11
|
-
relativeTimeFormat: Intl.RelativeTimeFormat;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Formats a given instant as a human-readable time relative to the current time.
|
|
15
|
-
* @param instant The instant to format.
|
|
16
|
-
* @param options The options to use for formatting.
|
|
17
|
-
* @returns A human-readable relative time string
|
|
18
|
-
*/
|
|
19
|
-
declare function formatHumanTime(instant: Temporal.Instant, options: FormatterOptions): string;
|
|
20
|
-
export default formatHumanTime;
|
|
21
|
-
//# sourceMappingURL=formatHumanTime.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatHumanTime.d.ts","sourceRoot":"","sources":["../../../../../src/ui/RelativeTime/utils/formatHumanTime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,KAAK,gBAAgB,GAAG;IACtB,kEAAkE;IAClE,YAAY,EAAE,MAAM,CAAC;IAErB,oCAAoC;IACpC,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC;CAC7C,CAAC;AAEF;;;;;GAKG;AACH,iBAAS,eAAe,CACtB,OAAO,EAAE,QAAQ,CAAC,OAAO,EACzB,OAAO,EAAE,gBAAgB,GACxB,MAAM,CAyCR;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
2
|
-
/**
|
|
3
|
-
* Calcualte the optimal update interval for a given instant based on the time distance from now.
|
|
4
|
-
* @returns The optimal update interval in milliseconds.
|
|
5
|
-
*/
|
|
6
|
-
declare function getOptimalUpdateInterval(instant: Temporal.Instant): number;
|
|
7
|
-
export default getOptimalUpdateInterval;
|
|
8
|
-
//# sourceMappingURL=getOptimalUpdateInterval.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getOptimalUpdateInterval.d.ts","sourceRoot":"","sources":["../../../../../src/ui/RelativeTime/utils/getOptimalUpdateInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD;;;GAGG;AACH,iBAAS,wBAAwB,CAAC,OAAO,EAAE,QAAQ,CAAC,OAAO,GAAG,MAAM,CAmBnE;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/RelativeTime/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Temporal } from "@js-temporal/polyfill";
|
|
2
|
-
/**
|
|
3
|
-
* Parser for Temporal.Instant.
|
|
4
|
-
* @param time - instance, date or string to parse
|
|
5
|
-
* @throws Error if time is invalid
|
|
6
|
-
*/
|
|
7
|
-
declare function parseInstant(time: Temporal.Instant | Date | string): Temporal.Instant;
|
|
8
|
-
export default parseInstant;
|
|
9
|
-
//# sourceMappingURL=parseInstant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parseInstant.d.ts","sourceRoot":"","sources":["../../../../../src/ui/RelativeTime/utils/parseInstant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD;;;;GAIG;AACH,iBAAS,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,GAAG,IAAI,GAAG,MAAM,oBAc3D;AAED,eAAe,YAAY,CAAC"}
|
package/dist/types/ui/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./DiffChangeMarker/index.js";
|
|
2
|
-
export * from "./EditableBlock/index.js";
|
|
3
|
-
export * from "./FileTree/index.js";
|
|
4
|
-
export * from "./GitDiffViewer/index.js";
|
|
5
|
-
export * from "./MarkdownEditor/index.js";
|
|
6
|
-
export * from "./RelativeTime/index.js";
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
|