@procore/core-react 12.26.5 → 12.27.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/CHANGELOG.md +15 -0
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.styles.d.ts +76 -76
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/BadgePill/BadgePill.styles.js +4 -4
- package/dist/Banner/Banner.styles.js +10 -10
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
- package/dist/Button/Button.styles.js +5 -5
- package/dist/Calendar/Calendar.styles.js +8 -8
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/Checkbox/CheckboxTooltip.js +1 -1
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/Dropzone/Dropzone.js +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/EmptyState/EmptyState.styles.js +6 -6
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.styles.js +4 -4
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
- package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
- package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
- package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +1 -1
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
- package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
- package/dist/FileToken/FileToken.styles.js +4 -4
- package/dist/FilterToken/FilterToken.styles.js +5 -5
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.js +12 -2
- package/dist/Form/Form.js.map +1 -1
- package/dist/Form/Form.styles.js +14 -14
- package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.styles.js +1 -1
- package/dist/Link/Link.styles.js +1 -1
- package/dist/ListPage/ListPage.styles.js +8 -8
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/MenuImperative/MenuImperative.styles.js +10 -10
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/Modal/storyHelpers.js +1 -4
- package/dist/Modal/storyHelpers.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.styles.js +6 -6
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/Notation/Notation.js +1 -1
- package/dist/NumberInput/NumberInput.hooks.d.ts +2 -1
- package/dist/NumberInput/NumberInput.hooks.js +40 -0
- package/dist/NumberInput/NumberInput.hooks.js.map +1 -1
- package/dist/NumberInput/NumberInput.js +20 -7
- package/dist/NumberInput/NumberInput.js.map +1 -1
- package/dist/NumberInput/NumberInput.styles.js +7 -7
- package/dist/NumberInput/NumberInput.types.d.ts +26 -1
- package/dist/NumberInput/NumberInput.types.js.map +1 -1
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/OverlayTrigger/a11yPresets.d.ts +6 -6
- package/dist/PageLayout/PageLayout.styles.js +16 -16
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
- package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
- package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +3 -3
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- package/dist/Popover/Popover.styles.js +2 -2
- package/dist/Portal/Portal.styles.js +1 -1
- package/dist/ProgressBar/ProgressBar.styles.js +2 -2
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.styles.js +5 -5
- package/dist/Section/Section.styles.js +7 -7
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.styles.js +7 -7
- package/dist/Semantic/Semantic.styles.d.ts +76 -76
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +37 -37
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +28 -28
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.styles.js +15 -15
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditor/EditorError.js.map +1 -0
- package/dist/TextEditor/StickyToolbar/StickyToolbar.types.js.map +1 -0
- package/dist/TextEditor/StickyToolbar/StickyToolbar.utils.js.map +1 -0
- package/dist/TextEditor/StickyToolbar/index.js.map +1 -0
- package/dist/TextEditor/StickyToolbar/useStickyToolbar.js.map +1 -0
- package/dist/TextEditor/StickyToolbar/useStickyToolbar.types.js.map +1 -0
- package/dist/TextEditor/TextEditor.d.ts +42 -1
- package/dist/TextEditor/TextEditor.js +175 -10
- package/dist/TextEditor/TextEditor.js.map +1 -1
- package/dist/{NextTextEditor/NextTextEditor.styles.js → TextEditor/TextEditor.styles.js} +3 -3
- package/dist/TextEditor/TextEditor.styles.js.map +1 -0
- package/dist/TextEditor/TextEditor.types.d.ts +100 -22
- package/dist/TextEditor/TextEditor.types.js.map +1 -1
- package/dist/TextEditor/index.d.ts +1 -1
- package/dist/TextEditor/index.js +1 -0
- package/dist/TextEditor/index.js.map +1 -1
- package/dist/TextEditor/license_key.js.map +1 -0
- package/dist/TextEditor/plugins/CutPlugin/CutCommand.js.map +1 -0
- package/dist/TextEditor/plugins/CutPlugin/CutPlugin.js.map +1 -0
- package/dist/TextEditor/plugins/CutPlugin/index.js.map +1 -0
- package/dist/{NextTextEditor → TextEditor}/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js +1 -1
- package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js.map +1 -0
- package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/index.js.map +1 -0
- package/dist/{NextTextEditor/plugins/CutPlugin/CutCommand.js.map → TextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js.map} +1 -1
- package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js.map +1 -0
- package/dist/TextEditor/plugins/PasteAsTextPlugin/index.js.map +1 -0
- package/dist/TextEditor/plugins/PastePlugin/PasteCommand.js.map +1 -0
- package/dist/TextEditor/plugins/PastePlugin/PastePlugin.js.map +1 -0
- package/dist/TextEditor/plugins/PastePlugin/index.js.map +1 -0
- package/dist/TextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js.map +1 -0
- package/dist/TextEditor/plugins/TabSpacesPlugin/index.js.map +1 -0
- package/dist/TextEditor/textEditorTheming/icons.js.map +1 -0
- package/dist/TextEditor/textEditorTheming/index.js.map +1 -0
- package/dist/TextEditor/textEditorTheming/textEditorTheming.styles.js.map +1 -0
- package/dist/TextEditor/useCKEditorCss.js.map +1 -0
- package/dist/TextEditor/useTabAsNavigation.js.map +1 -0
- package/dist/TextEditor/utils/config.js.map +1 -0
- package/dist/TextEditor/utils/index.js.map +1 -0
- package/dist/TextEditor/utils/locale.js.map +1 -0
- package/dist/TextEditor/utils/plugins.js.map +1 -0
- package/dist/TextEditorOutput/TextEditorOutput.d.ts +1 -3
- package/dist/TextEditorOutput/TextEditorOutput.js +15 -14
- package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
- package/dist/{NextTextEditorOutput/NextTextEditorOutput.styles.js → TextEditorOutput/TextEditorOutput.styles.js} +2 -2
- package/dist/TextEditorOutput/TextEditorOutput.styles.js.map +1 -0
- package/dist/TextEditorOutput/TextEditorOutput.types.d.ts +7 -17
- package/dist/TextEditorOutput/TextEditorOutput.types.js.map +1 -1
- package/dist/{NextTextEditorOutput/NextTextEditorOutput.utils.js → TextEditorOutput/TextEditorOutput.utils.js} +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.utils.js.map +1 -0
- package/dist/Thumbnail/Thumbnail.hooks.d.ts +64 -64
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Title/Title.styles.js +7 -7
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.styles.js +3 -3
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
- package/dist/Tooltip/Tooltip.styles.js +2 -2
- package/dist/Tree/Tree.styles.js +9 -9
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
- package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
- package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +13 -13
- package/dist/_typedoc/Box/Box.types.json +72 -72
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
- package/dist/_typedoc/Button/Button.types.json +15 -15
- package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
- package/dist/_typedoc/Card/Card.types.json +6 -6
- package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
- package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
- package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
- package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
- package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
- package/dist/_typedoc/Dropdown/Dropdown.types.json +39 -39
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
- package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
- package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
- package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
- package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
- package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
- package/dist/_typedoc/Flex/Flex.types.json +27 -27
- package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
- package/dist/_typedoc/Form/Form.types.json +986 -958
- package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +1 -1
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
- package/dist/_typedoc/Modal/Modal.types.json +46 -46
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +167 -43
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +32 -32
- package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -26
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +30 -30
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
- package/dist/_typedoc/Popover/Popover.types.json +15 -15
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
- package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
- package/dist/_typedoc/Required/Required.types.json +5 -5
- package/dist/_typedoc/Search/Search.types.json +18 -18
- package/dist/_typedoc/Section/Section.types.json +15 -15
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
- package/dist/_typedoc/Select/Select.types.json +62 -62
- package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
- package/dist/_typedoc/Table/Table.types.json +101 -101
- package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +144 -1
- package/dist/_typedoc/TextEditor/TextEditorProvider.types.json +2 -2
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +32 -6
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
- package/dist/_typedoc/Tile/Tile.types.json +8 -8
- package/dist/_typedoc/Title/Title.types.json +3 -3
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
- package/dist/_typedoc/Token/Token.types.json +7 -7
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
- package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
- package/dist/_typedoc/Tree/Tree.types.json +88 -88
- package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
- package/dist/_typedoc/Typography/Typography.types.json +9 -9
- package/dist/_typedoc/_utils/types.json +3 -3
- package/dist/_typedoc/deprecations.json +1 -1
- package/dist/_utils/propsTypedoc.d.ts +0 -2
- package/dist/_utils/propsTypedoc.js +0 -2
- package/dist/_utils/propsTypedoc.js.map +1 -1
- package/dist/index.d.ts +12 -6
- package/dist/index.js +17 -8
- package/dist/index.js.map +1 -1
- package/jestConfig.d.ts +3 -0
- package/package.json +8 -4
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.d.ts +0 -19
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.js +0 -159
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.js.map +0 -1
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.styles.d.ts +0 -4
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.styles.js +0 -6
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.styles.js.map +0 -1
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.d.ts +0 -72
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.js +0 -2
- package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.js.map +0 -1
- package/dist/DeprecatedTextEditor/index.d.ts +0 -2
- package/dist/DeprecatedTextEditor/index.js +0 -3
- package/dist/DeprecatedTextEditor/index.js.map +0 -1
- package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.d.ts +0 -12
- package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.js +0 -45
- package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.js.map +0 -1
- package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.js +0 -6
- package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.js.map +0 -1
- package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.d.ts +0 -16
- package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.js +0 -2
- package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.js.map +0 -1
- package/dist/DeprecatedTextEditorOutput/index.d.ts +0 -2
- package/dist/DeprecatedTextEditorOutput/index.js +0 -2
- package/dist/DeprecatedTextEditorOutput/index.js.map +0 -1
- package/dist/NextTextEditor/EditorError.js.map +0 -1
- package/dist/NextTextEditor/NextTextEditor.d.ts +0 -3
- package/dist/NextTextEditor/NextTextEditor.js +0 -156
- package/dist/NextTextEditor/NextTextEditor.js.map +0 -1
- package/dist/NextTextEditor/NextTextEditor.styles.js.map +0 -1
- package/dist/NextTextEditor/NextTextEditor.types.d.ts +0 -111
- package/dist/NextTextEditor/NextTextEditor.types.js +0 -2
- package/dist/NextTextEditor/NextTextEditor.types.js.map +0 -1
- package/dist/NextTextEditor/StickyToolbar/StickyToolbar.types.js.map +0 -1
- package/dist/NextTextEditor/StickyToolbar/StickyToolbar.utils.js.map +0 -1
- package/dist/NextTextEditor/StickyToolbar/index.js.map +0 -1
- package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.js.map +0 -1
- package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.types.js.map +0 -1
- package/dist/NextTextEditor/index.d.ts +0 -2
- package/dist/NextTextEditor/index.js +0 -3
- package/dist/NextTextEditor/index.js.map +0 -1
- package/dist/NextTextEditor/license_key.js.map +0 -1
- package/dist/NextTextEditor/plugins/CutPlugin/CutPlugin.js.map +0 -1
- package/dist/NextTextEditor/plugins/CutPlugin/index.js.map +0 -1
- package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js.map +0 -1
- package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/index.js.map +0 -1
- package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.d.ts +0 -15
- package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.js +0 -65
- package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.js.map +0 -1
- package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.d.ts +0 -13
- package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.js +0 -80
- package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.js.map +0 -1
- package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js.map +0 -1
- package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js.map +0 -1
- package/dist/NextTextEditor/plugins/PasteAsTextPlugin/index.js.map +0 -1
- package/dist/NextTextEditor/plugins/PastePlugin/PasteCommand.js.map +0 -1
- package/dist/NextTextEditor/plugins/PastePlugin/PastePlugin.js.map +0 -1
- package/dist/NextTextEditor/plugins/PastePlugin/index.js.map +0 -1
- package/dist/NextTextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js.map +0 -1
- package/dist/NextTextEditor/plugins/TabSpacesPlugin/index.js.map +0 -1
- package/dist/NextTextEditor/textEditorTheming/icons.js.map +0 -1
- package/dist/NextTextEditor/textEditorTheming/index.js.map +0 -1
- package/dist/NextTextEditor/textEditorTheming/textEditorTheming.styles.js.map +0 -1
- package/dist/NextTextEditor/useCKEditorCss.js.map +0 -1
- package/dist/NextTextEditor/useTabAsNavigation.js.map +0 -1
- package/dist/NextTextEditor/utils/config.js.map +0 -1
- package/dist/NextTextEditor/utils/index.js.map +0 -1
- package/dist/NextTextEditor/utils/locale.js.map +0 -1
- package/dist/NextTextEditor/utils/plugins.js.map +0 -1
- package/dist/NextTextEditorOutput/NextTextEditorOutput.d.ts +0 -8
- package/dist/NextTextEditorOutput/NextTextEditorOutput.js +0 -29
- package/dist/NextTextEditorOutput/NextTextEditorOutput.js.map +0 -1
- package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.d.ts +0 -2
- package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.js.map +0 -1
- package/dist/NextTextEditorOutput/NextTextEditorOutput.types.d.ts +0 -9
- package/dist/NextTextEditorOutput/NextTextEditorOutput.types.js +0 -2
- package/dist/NextTextEditorOutput/NextTextEditorOutput.types.js.map +0 -1
- package/dist/NextTextEditorOutput/NextTextEditorOutput.utils.js.map +0 -1
- package/dist/NextTextEditorOutput/index.d.ts +0 -2
- package/dist/NextTextEditorOutput/index.js +0 -2
- package/dist/NextTextEditorOutput/index.js.map +0 -1
- package/dist/TextEditor/TextEditorDocs.types.d.ts +0 -65
- package/dist/TextEditor/TextEditorDocs.types.js +0 -2
- package/dist/TextEditor/TextEditorDocs.types.js.map +0 -1
- package/dist/TextEditorOutput/TextEditorOutputDocs.types.d.ts +0 -21
- package/dist/TextEditorOutput/TextEditorOutputDocs.types.js +0 -2
- package/dist/TextEditorOutput/TextEditorOutputDocs.types.js.map +0 -1
- package/dist/_typedoc/TextEditor/TextEditorDocs.types.json +0 -98
- package/dist/_typedoc/TextEditorOutput/TextEditorOutputDocs.types.json +0 -38
- package/dist/_utils/TinyMCE.d.ts +0 -21
- package/dist/_utils/TinyMCE.js +0 -86
- package/dist/_utils/TinyMCE.js.map +0 -1
- package/dist/_utils/props.d.ts +0 -4
- package/dist/_utils/props.js +0 -5
- package/dist/_utils/props.js.map +0 -1
- /package/dist/{NextTextEditor → TextEditor}/EditorError.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/EditorError.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/StickyToolbar.types.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/StickyToolbar.types.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/StickyToolbar.utils.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/StickyToolbar.utils.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/index.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/index.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/useStickyToolbar.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/useStickyToolbar.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/useStickyToolbar.types.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/useStickyToolbar.types.js +0 -0
- /package/dist/{NextTextEditor/NextTextEditor.styles.d.ts → TextEditor/TextEditor.styles.d.ts} +0 -0
- /package/dist/{NextTextEditor → TextEditor}/license_key.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/license_key.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/CutCommand.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/CutCommand.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/CutPlugin.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/CutPlugin.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/index.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/index.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/IndentPaddingToMarginPlugin/index.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/IndentPaddingToMarginPlugin/index.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextCommand.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextCommand.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextPlugin.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/index.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/index.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/PasteCommand.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/PasteCommand.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/PastePlugin.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/PastePlugin.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/index.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/index.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/TabSpacesPlugin/TabSpacesPlugin.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/TabSpacesPlugin/TabSpacesPlugin.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/TabSpacesPlugin/index.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/plugins/TabSpacesPlugin/index.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/icons.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/icons.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/index.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/index.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/textEditorTheming.styles.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/textEditorTheming.styles.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/useCKEditorCss.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/useCKEditorCss.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/useTabAsNavigation.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/useTabAsNavigation.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/utils/config.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/utils/config.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/utils/index.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/utils/index.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/utils/locale.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/utils/locale.js +0 -0
- /package/dist/{NextTextEditor → TextEditor}/utils/plugins.d.ts +0 -0
- /package/dist/{NextTextEditor → TextEditor}/utils/plugins.js +0 -0
- /package/dist/{DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.d.ts → TextEditorOutput/TextEditorOutput.styles.d.ts} +0 -0
- /package/dist/{NextTextEditorOutput/NextTextEditorOutput.utils.d.ts → TextEditorOutput/TextEditorOutput.utils.d.ts} +0 -0
package/dist/_utils/TinyMCE.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Editor } from '@tinymce/tinymce-react';
|
|
2
|
-
import type { Locale } from '../_hooks/I18n';
|
|
3
|
-
export declare const scriptId = "tiny-mce-core-source";
|
|
4
|
-
export declare const tinyMCESource = "https://s3.amazonaws.com/procore-core/tinymce";
|
|
5
|
-
export declare const tinyMCEVersion = "5.8.1";
|
|
6
|
-
export declare const defaultPlugins: string[];
|
|
7
|
-
export declare const plugins: string[];
|
|
8
|
-
/**
|
|
9
|
-
* Historically, `nonbreaking_force_tab` has been set to `true`
|
|
10
|
-
* and this takes the `Tab` keypress as input to add to the content.
|
|
11
|
-
* e.g indent the start of the text block like a paragraph.
|
|
12
|
-
* This is different from the TinyMCE tool and command 'Indent', which
|
|
13
|
-
* indents the entire block. e.g. indent this entire text block and the
|
|
14
|
-
* wrapped lines.
|
|
15
|
-
* This is the HTML it outputs when `nonbreaking_force_tab: true`
|
|
16
|
-
*/
|
|
17
|
-
export declare const tinyMCETabMarkup = "<span class=\"mce-nbsp-wrap\" contenteditable=\"false\"> </span>";
|
|
18
|
-
export declare const tinyMCEConfig: any & Editor;
|
|
19
|
-
export declare function getValidLookupLocale(locale: Locale): string;
|
|
20
|
-
export declare function generateLanguageUrl(locale: Locale): string;
|
|
21
|
-
export declare function generateExternalPlugins(plugins: Array<string>, basePlugins?: string[]): {};
|
package/dist/_utils/TinyMCE.js
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
3
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
4
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
|
-
export var scriptId = 'tiny-mce-core-source';
|
|
6
|
-
export var tinyMCESource = 'https://s3.amazonaws.com/procore-core/tinymce';
|
|
7
|
-
export var tinyMCEVersion = '5.8.1';
|
|
8
|
-
// TinyMCE Supported Languages: https://www.tiny.cloud/docs/configure/localization/#supportedlanguages
|
|
9
|
-
var textEditorLocales = {
|
|
10
|
-
en: 'en',
|
|
11
|
-
'en-CA': 'en',
|
|
12
|
-
'fr-CA': 'fr_FR',
|
|
13
|
-
'fr-FR': 'fr_FR',
|
|
14
|
-
es: 'es',
|
|
15
|
-
'es-ES': 'es',
|
|
16
|
-
'en-AE': 'en',
|
|
17
|
-
'en-AU': 'en',
|
|
18
|
-
'en-GB': 'en',
|
|
19
|
-
'en-SG': 'en',
|
|
20
|
-
'th-TH': 'th_TH',
|
|
21
|
-
'ja-JP': 'ja',
|
|
22
|
-
'pt-BR': 'pt_BR',
|
|
23
|
-
'is-IS': 'en',
|
|
24
|
-
'de-DE': 'de',
|
|
25
|
-
'zh-SG': 'zh_CN',
|
|
26
|
-
pseudo: 'en',
|
|
27
|
-
'pl-PL': 'pl'
|
|
28
|
-
};
|
|
29
|
-
export var defaultPlugins = ['autolink', 'autoresize', 'lists', 'nonbreaking', 'paste', 'advlist'];
|
|
30
|
-
export var plugins = ['advlist', 'anchor', 'autolink', 'autoresize', 'autosave', 'bbcode', 'charmap', 'code', 'codesample', 'colorpicker', 'contextmenu', 'directionality', 'emoticons', 'fullpage', 'fullscreen', 'help', 'hr', 'image', 'imagetools', 'importcss', 'insertdatetime', 'legacyoutput', 'link', 'lists', 'media', 'nonbreaking', 'noneditable', 'pagebreak', 'paste', 'preview', 'print', 'save', 'searchreplace', 'spellchecker', 'tabfocus', 'table', 'template', 'textpattern', 'toc', 'visualblocks', 'visualchars', 'wordcount'];
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Historically, `nonbreaking_force_tab` has been set to `true`
|
|
34
|
-
* and this takes the `Tab` keypress as input to add to the content.
|
|
35
|
-
* e.g indent the start of the text block like a paragraph.
|
|
36
|
-
* This is different from the TinyMCE tool and command 'Indent', which
|
|
37
|
-
* indents the entire block. e.g. indent this entire text block and the
|
|
38
|
-
* wrapped lines.
|
|
39
|
-
* This is the HTML it outputs when `nonbreaking_force_tab: true`
|
|
40
|
-
*/
|
|
41
|
-
export var tinyMCETabMarkup = "<span class=\"mce-nbsp-wrap\" contenteditable=\"false\"> </span>";
|
|
42
|
-
export var tinyMCEConfig = {
|
|
43
|
-
autoresize_overflow_padding: 12,
|
|
44
|
-
autoresize_bottom_margin: 0,
|
|
45
|
-
browser_spellcheck: true,
|
|
46
|
-
convert_url: false,
|
|
47
|
-
content_css: "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/skins/content/default/content.min.css"),
|
|
48
|
-
extended_valid_elements: 'table[class=mce-table|border:1px double #000|cellpadding: 3px|style=border-collapse: collapse; border-color: #000]',
|
|
49
|
-
min_height: 96,
|
|
50
|
-
invalid_elements: 'form,script',
|
|
51
|
-
menubar: false,
|
|
52
|
-
nonbreaking_force_tab: true,
|
|
53
|
-
paste_preprocess: function paste_preprocess(_, args) {
|
|
54
|
-
args.content = args.content.replace(/<pre>/gi, '<p>');
|
|
55
|
-
args.content = args.content.replace(/<\/pre>/gi, '</p>');
|
|
56
|
-
},
|
|
57
|
-
paste_remove_styles_if_webkit: true,
|
|
58
|
-
paste_retain_style_properties: 'font-size,text-decoration',
|
|
59
|
-
paste_word_valid_elements: '@[style],pre,-strong/b,-em/i,-span,-p,-ol,-ul,-li,-table,-tr,-td[colspan|rowspan],-th,-thead,-tfoot,-tbody,-a[href|name],sub,sup,strike,br,u',
|
|
60
|
-
relative_urls: false,
|
|
61
|
-
remove_script_host: false,
|
|
62
|
-
statusbar: false,
|
|
63
|
-
skin_url: "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/skins/ui/oxide"),
|
|
64
|
-
toolbar: 'bold italic underline strikethrough | alignleft aligncenter alignright | bullist numlist | outdent indent | cut paste pastetext | fontsizeselect | forecolor backcolor | link table image | undo redo',
|
|
65
|
-
toolbar_mode: 'floating'
|
|
66
|
-
};
|
|
67
|
-
export function getValidLookupLocale(locale) {
|
|
68
|
-
return textEditorLocales[locale] || textEditorLocales.en;
|
|
69
|
-
}
|
|
70
|
-
function usesBuiltInText(locale) {
|
|
71
|
-
return locale === textEditorLocales.en;
|
|
72
|
-
}
|
|
73
|
-
export function generateLanguageUrl(locale) {
|
|
74
|
-
var lookupLocale = getValidLookupLocale(locale);
|
|
75
|
-
return usesBuiltInText(lookupLocale) ? '' : "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/langs/").concat(lookupLocale, ".js");
|
|
76
|
-
}
|
|
77
|
-
function generatePluginUrl(plugin) {
|
|
78
|
-
return "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/plugins/").concat(plugin, "/plugin.min.js");
|
|
79
|
-
}
|
|
80
|
-
export function generateExternalPlugins(plugins) {
|
|
81
|
-
var basePlugins = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultPlugins;
|
|
82
|
-
return Array.from(new Set(plugins.concat(basePlugins))).reduce(function (acc, plugin) {
|
|
83
|
-
return plugins.includes(plugin) ? Object.assign(acc, _defineProperty({}, plugin, generatePluginUrl(plugin))) : acc;
|
|
84
|
-
}, {});
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=TinyMCE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TinyMCE.js","names":["scriptId","tinyMCESource","tinyMCEVersion","textEditorLocales","en","es","pseudo","defaultPlugins","plugins","tinyMCETabMarkup","tinyMCEConfig","autoresize_overflow_padding","autoresize_bottom_margin","browser_spellcheck","convert_url","content_css","concat","extended_valid_elements","min_height","invalid_elements","menubar","nonbreaking_force_tab","paste_preprocess","_","args","content","replace","paste_remove_styles_if_webkit","paste_retain_style_properties","paste_word_valid_elements","relative_urls","remove_script_host","statusbar","skin_url","toolbar","toolbar_mode","getValidLookupLocale","locale","usesBuiltInText","generateLanguageUrl","lookupLocale","generatePluginUrl","plugin","generateExternalPlugins","basePlugins","arguments","length","undefined","Array","from","Set","reduce","acc","includes","Object","assign","_defineProperty"],"sources":["../../src/_utils/TinyMCE.ts"],"sourcesContent":["import type { Editor } from '@tinymce/tinymce-react'\nimport type { Locale } from '../_hooks/I18n'\n\nexport const scriptId = 'tiny-mce-core-source'\nexport const tinyMCESource = 'https://s3.amazonaws.com/procore-core/tinymce'\nexport const tinyMCEVersion = '5.8.1'\n\ntype TextEditorLocales = { [key in Locale]: string }\n\n// TinyMCE Supported Languages: https://www.tiny.cloud/docs/configure/localization/#supportedlanguages\nconst textEditorLocales: TextEditorLocales = {\n en: 'en',\n 'en-CA': 'en',\n 'fr-CA': 'fr_FR',\n 'fr-FR': 'fr_FR',\n es: 'es',\n 'es-ES': 'es',\n 'en-AE': 'en',\n 'en-AU': 'en',\n 'en-GB': 'en',\n 'en-SG': 'en',\n 'th-TH': 'th_TH',\n 'ja-JP': 'ja',\n 'pt-BR': 'pt_BR',\n 'is-IS': 'en',\n 'de-DE': 'de',\n 'zh-SG': 'zh_CN',\n pseudo: 'en',\n 'pl-PL': 'pl',\n}\n\nexport const defaultPlugins = [\n 'autolink',\n 'autoresize',\n 'lists',\n 'nonbreaking',\n 'paste',\n 'advlist',\n]\n\nexport const plugins = [\n 'advlist',\n 'anchor',\n 'autolink',\n 'autoresize',\n 'autosave',\n 'bbcode',\n 'charmap',\n 'code',\n 'codesample',\n 'colorpicker',\n 'contextmenu',\n 'directionality',\n 'emoticons',\n 'fullpage',\n 'fullscreen',\n 'help',\n 'hr',\n 'image',\n 'imagetools',\n 'importcss',\n 'insertdatetime',\n 'legacyoutput',\n 'link',\n 'lists',\n 'media',\n 'nonbreaking',\n 'noneditable',\n 'pagebreak',\n 'paste',\n 'preview',\n 'print',\n 'save',\n 'searchreplace',\n 'spellchecker',\n 'tabfocus',\n 'table',\n 'template',\n 'textpattern',\n 'toc',\n 'visualblocks',\n 'visualchars',\n 'wordcount',\n]\n\n/**\n * Historically, `nonbreaking_force_tab` has been set to `true`\n * and this takes the `Tab` keypress as input to add to the content.\n * e.g indent the start of the text block like a paragraph.\n * This is different from the TinyMCE tool and command 'Indent', which\n * indents the entire block. e.g. indent this entire text block and the\n * wrapped lines.\n * This is the HTML it outputs when `nonbreaking_force_tab: true`\n */\nexport const tinyMCETabMarkup = `<span class=\\\"mce-nbsp-wrap\\\" contenteditable=\\\"false\\\"> </span>`\n\nexport const tinyMCEConfig: any & Editor = {\n autoresize_overflow_padding: 12,\n autoresize_bottom_margin: 0,\n browser_spellcheck: true,\n convert_url: false,\n content_css: `${tinyMCESource}/${tinyMCEVersion}/skins/content/default/content.min.css`,\n extended_valid_elements:\n 'table[class=mce-table|border:1px double #000|cellpadding: 3px|style=border-collapse: collapse; border-color: #000]',\n min_height: 96,\n invalid_elements: 'form,script',\n menubar: false,\n nonbreaking_force_tab: true,\n paste_preprocess: (_: any, args: any) => {\n args.content = args.content.replace(/<pre>/gi, '<p>')\n args.content = args.content.replace(/<\\/pre>/gi, '</p>')\n },\n paste_remove_styles_if_webkit: true,\n paste_retain_style_properties: 'font-size,text-decoration',\n paste_word_valid_elements:\n '@[style],pre,-strong/b,-em/i,-span,-p,-ol,-ul,-li,-table,-tr,-td[colspan|rowspan],-th,-thead,-tfoot,-tbody,-a[href|name],sub,sup,strike,br,u',\n relative_urls: false,\n remove_script_host: false,\n statusbar: false,\n skin_url: `${tinyMCESource}/${tinyMCEVersion}/skins/ui/oxide`,\n toolbar:\n 'bold italic underline strikethrough | alignleft aligncenter alignright | bullist numlist | outdent indent | cut paste pastetext | fontsizeselect | forecolor backcolor | link table image | undo redo',\n toolbar_mode: 'floating',\n}\n\nexport function getValidLookupLocale(locale: Locale): string {\n return textEditorLocales[locale] || textEditorLocales.en\n}\n\nfunction usesBuiltInText(locale: string) {\n return locale === textEditorLocales.en\n}\n\nexport function generateLanguageUrl(locale: Locale) {\n const lookupLocale = getValidLookupLocale(locale)\n return usesBuiltInText(lookupLocale)\n ? ''\n : `${tinyMCESource}/${tinyMCEVersion}/langs/${lookupLocale}.js`\n}\n\nfunction generatePluginUrl(plugin: string) {\n return `${tinyMCESource}/${tinyMCEVersion}/plugins/${plugin}/plugin.min.js`\n}\n\nexport function generateExternalPlugins(\n plugins: Array<string>,\n basePlugins = defaultPlugins\n) {\n return Array.from(new Set(plugins.concat(basePlugins))).reduce(\n (acc, plugin) => {\n return plugins.includes(plugin)\n ? Object.assign(acc, { [plugin]: generatePluginUrl(plugin) })\n : acc\n },\n {}\n )\n}\n"],"mappings":"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"}
|
package/dist/_utils/props.d.ts
DELETED
package/dist/_utils/props.js
DELETED
package/dist/_utils/props.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.js","names":["TinyMCE","docsProps"],"sources":["../../src/_utils/props.ts"],"sourcesContent":["import * as TinyMCE from './TinyMCE'\n\nexport const docsProps = {\n TinyMCE,\n}\n"],"mappings":"AAAA,OAAO,KAAKA,OAAO,MAAM,WAAW;AAEpC,OAAO,IAAMC,SAAS,GAAG;EACvBD,OAAO,EAAPA;AACF,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{NextTextEditor/NextTextEditor.styles.d.ts → TextEditor/TextEditor.styles.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextCommand.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextPlugin.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|