@procore/core-react 12.28.1 → 12.30.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 +18 -0
- package/README.md +3 -49
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/Avatar/Avatar.types.d.ts +1 -1
- package/dist/Avatar/Avatar.types.js.map +1 -1
- package/dist/AvatarStack/AvatarStack.styles.d.ts +76 -76
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/AvatarStack/AvatarStack.types.d.ts +0 -2
- package/dist/AvatarStack/AvatarStack.types.js.map +1 -1
- 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 +29 -10
- 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 +4 -1
- 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.styles.js +7 -7
- 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.components.js +1 -1
- package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +38 -38
- package/dist/SuperSelect/useSuperSelect.js +377 -62
- package/dist/SuperSelect/useSuperSelect.js.map +1 -1
- 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/TextEditor.d.ts +17 -41
- package/dist/TextEditor/TextEditor.js +141 -155
- package/dist/TextEditor/TextEditor.js.map +1 -1
- package/dist/TextEditor/TextEditor.styles.d.ts +2 -5
- package/dist/TextEditor/TextEditor.styles.js +4 -24
- package/dist/TextEditor/TextEditor.styles.js.map +1 -1
- package/dist/TextEditor/TextEditor.types.d.ts +55 -109
- package/dist/TextEditor/TextEditor.types.js.map +1 -1
- package/dist/TextEditor/index.d.ts +2 -4
- package/dist/TextEditor/index.js +1 -3
- package/dist/TextEditor/index.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.d.ts +7 -3
- package/dist/TextEditorOutput/TextEditorOutput.js +29 -13
- package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +2 -2
- package/dist/TextEditorOutput/TextEditorOutput.styles.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.types.d.ts +10 -3
- package/dist/TextEditorOutput/TextEditorOutput.types.js.map +1 -1
- 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 +22 -22
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -27
- 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 +847 -1131
- 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 +54 -54
- 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 +44 -160
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +15 -5
- 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/TinyMCE.d.ts +21 -0
- package/dist/_utils/TinyMCE.js +86 -0
- package/dist/_utils/TinyMCE.js.map +1 -0
- package/dist/_utils/props.d.ts +4 -0
- package/dist/_utils/props.js +5 -0
- package/dist/_utils/props.js.map +1 -0
- package/dist/_utils/propsTypedoc.d.ts +0 -1
- package/dist/_utils/propsTypedoc.js +0 -1
- package/dist/_utils/propsTypedoc.js.map +1 -1
- package/dist/index.d.ts +7 -12
- package/dist/index.js +9 -17
- package/dist/index.js.map +1 -1
- package/package.json +6 -14
- package/dist/TextEditor/EditorError.d.ts +0 -2
- package/dist/TextEditor/EditorError.js +0 -9
- package/dist/TextEditor/EditorError.js.map +0 -1
- package/dist/TextEditor/StickyToolbar/StickyToolbar.types.d.ts +0 -5
- package/dist/TextEditor/StickyToolbar/StickyToolbar.types.js +0 -2
- package/dist/TextEditor/StickyToolbar/StickyToolbar.types.js.map +0 -1
- package/dist/TextEditor/StickyToolbar/StickyToolbar.utils.d.ts +0 -3
- package/dist/TextEditor/StickyToolbar/StickyToolbar.utils.js +0 -153
- package/dist/TextEditor/StickyToolbar/StickyToolbar.utils.js.map +0 -1
- package/dist/TextEditor/StickyToolbar/index.d.ts +0 -4
- package/dist/TextEditor/StickyToolbar/index.js +0 -3
- package/dist/TextEditor/StickyToolbar/index.js.map +0 -1
- package/dist/TextEditor/StickyToolbar/useStickyToolbar.d.ts +0 -2
- package/dist/TextEditor/StickyToolbar/useStickyToolbar.js +0 -49
- package/dist/TextEditor/StickyToolbar/useStickyToolbar.js.map +0 -1
- package/dist/TextEditor/StickyToolbar/useStickyToolbar.types.d.ts +0 -12
- package/dist/TextEditor/StickyToolbar/useStickyToolbar.types.js +0 -2
- package/dist/TextEditor/StickyToolbar/useStickyToolbar.types.js.map +0 -1
- package/dist/TextEditor/TextEditorProvider.d.ts +0 -4
- package/dist/TextEditor/TextEditorProvider.js +0 -17
- package/dist/TextEditor/TextEditorProvider.js.map +0 -1
- package/dist/TextEditor/TextEditorProvider.types.d.ts +0 -14
- package/dist/TextEditor/TextEditorProvider.types.js +0 -2
- package/dist/TextEditor/TextEditorProvider.types.js.map +0 -1
- package/dist/TextEditor/license_key.d.ts +0 -2
- package/dist/TextEditor/license_key.js +0 -3
- package/dist/TextEditor/license_key.js.map +0 -1
- package/dist/TextEditor/plugins/CutPlugin/CutCommand.d.ts +0 -5
- package/dist/TextEditor/plugins/CutPlugin/CutCommand.js +0 -99
- package/dist/TextEditor/plugins/CutPlugin/CutCommand.js.map +0 -1
- package/dist/TextEditor/plugins/CutPlugin/CutPlugin.d.ts +0 -5
- package/dist/TextEditor/plugins/CutPlugin/CutPlugin.js +0 -56
- package/dist/TextEditor/plugins/CutPlugin/CutPlugin.js.map +0 -1
- package/dist/TextEditor/plugins/CutPlugin/index.d.ts +0 -1
- package/dist/TextEditor/plugins/CutPlugin/index.js +0 -2
- package/dist/TextEditor/plugins/CutPlugin/index.js.map +0 -1
- package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.d.ts +0 -5
- package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js +0 -40
- package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js.map +0 -1
- package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/index.d.ts +0 -1
- package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/index.js +0 -2
- package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/index.js.map +0 -1
- package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.d.ts +0 -5
- package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js +0 -86
- package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js.map +0 -1
- package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.d.ts +0 -5
- package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js +0 -56
- package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js.map +0 -1
- package/dist/TextEditor/plugins/PasteAsTextPlugin/index.d.ts +0 -1
- package/dist/TextEditor/plugins/PasteAsTextPlugin/index.js +0 -2
- package/dist/TextEditor/plugins/PasteAsTextPlugin/index.js.map +0 -1
- package/dist/TextEditor/plugins/PastePlugin/PasteCommand.d.ts +0 -5
- package/dist/TextEditor/plugins/PastePlugin/PasteCommand.js +0 -149
- package/dist/TextEditor/plugins/PastePlugin/PasteCommand.js.map +0 -1
- package/dist/TextEditor/plugins/PastePlugin/PastePlugin.d.ts +0 -5
- package/dist/TextEditor/plugins/PastePlugin/PastePlugin.js +0 -56
- package/dist/TextEditor/plugins/PastePlugin/PastePlugin.js.map +0 -1
- package/dist/TextEditor/plugins/PastePlugin/index.d.ts +0 -1
- package/dist/TextEditor/plugins/PastePlugin/index.js +0 -2
- package/dist/TextEditor/plugins/PastePlugin/index.js.map +0 -1
- package/dist/TextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.d.ts +0 -6
- package/dist/TextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js +0 -87
- package/dist/TextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js.map +0 -1
- package/dist/TextEditor/plugins/TabSpacesPlugin/index.d.ts +0 -1
- package/dist/TextEditor/plugins/TabSpacesPlugin/index.js +0 -2
- package/dist/TextEditor/plugins/TabSpacesPlugin/index.js.map +0 -1
- package/dist/TextEditor/textEditorTheming/icons.d.ts +0 -23
- package/dist/TextEditor/textEditorTheming/icons.js +0 -24
- package/dist/TextEditor/textEditorTheming/icons.js.map +0 -1
- package/dist/TextEditor/textEditorTheming/index.d.ts +0 -1
- package/dist/TextEditor/textEditorTheming/index.js +0 -2
- package/dist/TextEditor/textEditorTheming/index.js.map +0 -1
- package/dist/TextEditor/textEditorTheming/textEditorTheming.styles.d.ts +0 -2
- package/dist/TextEditor/textEditorTheming/textEditorTheming.styles.js +0 -10
- package/dist/TextEditor/textEditorTheming/textEditorTheming.styles.js.map +0 -1
- package/dist/TextEditor/useCKEditorCss.d.ts +0 -3
- package/dist/TextEditor/useCKEditorCss.js +0 -36
- package/dist/TextEditor/useCKEditorCss.js.map +0 -1
- package/dist/TextEditor/useTabAsNavigation.d.ts +0 -11
- package/dist/TextEditor/useTabAsNavigation.js +0 -29
- package/dist/TextEditor/useTabAsNavigation.js.map +0 -1
- package/dist/TextEditor/utils/config.d.ts +0 -3
- package/dist/TextEditor/utils/config.js +0 -177
- package/dist/TextEditor/utils/config.js.map +0 -1
- package/dist/TextEditor/utils/index.d.ts +0 -2
- package/dist/TextEditor/utils/index.js +0 -3
- package/dist/TextEditor/utils/index.js.map +0 -1
- package/dist/TextEditor/utils/locale.d.ts +0 -3
- package/dist/TextEditor/utils/locale.js +0 -102
- package/dist/TextEditor/utils/locale.js.map +0 -1
- package/dist/TextEditor/utils/plugins.d.ts +0 -7
- package/dist/TextEditor/utils/plugins.js +0 -184
- package/dist/TextEditor/utils/plugins.js.map +0 -1
- package/dist/TextEditorOutput/TextEditorOutput.utils.d.ts +0 -2
- package/dist/TextEditorOutput/TextEditorOutput.utils.js +0 -59
- package/dist/TextEditorOutput/TextEditorOutput.utils.js.map +0 -1
- package/dist/_typedoc/TextEditor/TextEditorProvider.types.json +0 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.30.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3f27bb5: SuperSelect fix for "Select All" - auto-selection
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- ce99170: Avatar size sm and AvatarStack size sm undeprecated
|
|
12
|
+
- Updated dependencies [1a41336]
|
|
13
|
+
- @procore/core-icons@12.10.1
|
|
14
|
+
|
|
15
|
+
## 12.29.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 5139e79: TextEditor rollback, revert CKEditor (as-if 12.25.2). Keep coreReactJestConfig (optional). **Important Note Do Not Use Core React v12.26.0 - 12.28.1**, multiple loads may break pages.
|
|
20
|
+
|
|
3
21
|
## 12.28.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -83,14 +83,6 @@ We use Storybook to develop. Stories are broken into two categories, Demos for i
|
|
|
83
83
|
yarn storybook
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
Additional testing includes Visual Regression Testing (VRT) that is ran in CI, which compares pixel snapshots of Storybook Coverage stories.
|
|
87
|
-
|
|
88
|
-
## Building
|
|
89
|
-
|
|
90
|
-
```
|
|
91
|
-
yarn build
|
|
92
|
-
```
|
|
93
|
-
|
|
94
86
|
## Testing
|
|
95
87
|
|
|
96
88
|
Testing currently consists of Jest snapshots and React Testing Library tests.
|
|
@@ -99,50 +91,12 @@ Testing currently consists of Jest snapshots and React Testing Library tests.
|
|
|
99
91
|
yarn test
|
|
100
92
|
```
|
|
101
93
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
To ensure your Jest tests work seamlessly with `@procore/core-react`, we provide a configuration wrapper that you can easily use in your Jest setup.
|
|
105
|
-
|
|
106
|
-
### Using Jest config file
|
|
107
|
-
|
|
108
|
-
`jest.config.js`
|
|
109
|
-
|
|
110
|
-
```javascript
|
|
111
|
-
const { coreReactJestConfig } = require('@procore/core-react/jestConfig');
|
|
112
|
-
|
|
113
|
-
module.exports = coreReactJestConfig({
|
|
114
|
-
// Your existing Jest config
|
|
115
|
-
});
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
### Using Hammer
|
|
119
|
-
|
|
120
|
-
`hammer.config.js`
|
|
94
|
+
Additional testing includes Visual Regression Testing (VRT) that is ran in CI, which compares pixel snapshots of Storybook Coverage stories.
|
|
121
95
|
|
|
122
|
-
|
|
123
|
-
import { coreReactJestConfig } from '@procore/core-react/jestConfig';
|
|
96
|
+
## Building
|
|
124
97
|
|
|
125
|
-
export default {
|
|
126
|
-
testJest: (defaultConfig) => coreReactJestConfig({
|
|
127
|
-
...defaultConfig,
|
|
128
|
-
// Your existing Jest config
|
|
129
|
-
})
|
|
130
|
-
};
|
|
131
98
|
```
|
|
132
|
-
|
|
133
|
-
### Using Core Scripts
|
|
134
|
-
|
|
135
|
-
`procore.config.js`
|
|
136
|
-
|
|
137
|
-
```javascript
|
|
138
|
-
const { coreReactJestConfig } = require('@procore/core-react/jestConfig');
|
|
139
|
-
|
|
140
|
-
module.exports = () => ({
|
|
141
|
-
jestOverride: (defaultConfig) => coreReactJestConfig({
|
|
142
|
-
...defaultConfig,
|
|
143
|
-
// Your existing Jest config
|
|
144
|
-
}),
|
|
145
|
-
});
|
|
99
|
+
yarn build
|
|
146
100
|
```
|
|
147
101
|
|
|
148
102
|
## Contributing and Styleguide
|
|
@@ -5,11 +5,11 @@ import { getEllipsis } from '../_styles/mixins';
|
|
|
5
5
|
import { spacing } from '../_styles/spacing';
|
|
6
6
|
export var StyledAnchorNavigation = /*#__PURE__*/styled.ul.withConfig({
|
|
7
7
|
displayName: "StyledAnchorNavigation",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_30_0__sc-aacdj4-0"
|
|
9
9
|
})(["max-width:200px;margin:0;padding-inline-start:0;"]);
|
|
10
10
|
export var StyledAnchorSection = /*#__PURE__*/styled.li.withConfig({
|
|
11
11
|
displayName: "StyledAnchorSection",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_30_0__sc-aacdj4-1"
|
|
13
13
|
})(["display:flex;cursor:pointer;border-left:", "px solid ", ";background-color:", ";border-top-right-radius:4px;border-bottom-right-radius:4px;:hover{border-left:", "px solid ", ";background-color:", ";}"], spacing.xs, function (_ref) {
|
|
14
14
|
var $selected = _ref.$selected;
|
|
15
15
|
return $selected ? colors.gray15 : colors.gray90;
|
|
@@ -22,7 +22,7 @@ export var StyledAnchorSection = /*#__PURE__*/styled.li.withConfig({
|
|
|
22
22
|
}, colors.gray90);
|
|
23
23
|
export var StyledAnchor = /*#__PURE__*/styled.a.withConfig({
|
|
24
24
|
displayName: "StyledAnchor",
|
|
25
|
-
componentId: "core-
|
|
25
|
+
componentId: "core-12_30_0__sc-aacdj4-2"
|
|
26
26
|
})(["width:100%;padding:6px ", "px;", " ", ";", " :focus-visible{box-shadow:inset 0 0 0 2px ", ";outline:none;}"], spacing.sm, getTypographyIntent('body'), function (_ref4) {
|
|
27
27
|
var $selected = _ref4.$selected;
|
|
28
28
|
return $selected ? css(["font-weight:600;"]) : '';
|
|
@@ -28,26 +28,26 @@ var iconSize = {
|
|
|
28
28
|
};
|
|
29
29
|
export var StyledAvatarOverlay = /*#__PURE__*/styled.div.withConfig({
|
|
30
30
|
displayName: "StyledAvatarOverlay",
|
|
31
|
-
componentId: "core-
|
|
31
|
+
componentId: "core-12_30_0__sc-7q2ydl-0"
|
|
32
32
|
})(["width:100%;height:100%;position:absolute;top:0;left:0;border-radius:100%;opacity:0;"]);
|
|
33
33
|
export var StyledIconContainer = /*#__PURE__*/styled.div.withConfig({
|
|
34
34
|
displayName: "StyledIconContainer",
|
|
35
|
-
componentId: "core-
|
|
35
|
+
componentId: "core-12_30_0__sc-7q2ydl-1"
|
|
36
36
|
})(["display:inline-flex;"]);
|
|
37
37
|
export var StyledLabelContainer = /*#__PURE__*/styled.div.withConfig({
|
|
38
38
|
displayName: "StyledLabelContainer",
|
|
39
|
-
componentId: "core-
|
|
39
|
+
componentId: "core-12_30_0__sc-7q2ydl-2"
|
|
40
40
|
})(["text-transform:uppercase;"]);
|
|
41
41
|
export var StyledPortraitContainer = /*#__PURE__*/styled.div.withConfig({
|
|
42
42
|
displayName: "StyledPortraitContainer",
|
|
43
|
-
componentId: "core-
|
|
43
|
+
componentId: "core-12_30_0__sc-7q2ydl-3"
|
|
44
44
|
})(["background-color:", ";background-position:center;background-repeat:no-repeat;background-size:cover;height:100%;width:100%;", ""], colors.white, function (_ref) {
|
|
45
45
|
var $imageUrl = _ref.$imageUrl;
|
|
46
46
|
return css(["background-image:url(", ");"], $imageUrl);
|
|
47
47
|
});
|
|
48
48
|
export var StyledAvatarContainer = /*#__PURE__*/styled.div.withConfig({
|
|
49
49
|
displayName: "StyledAvatarContainer",
|
|
50
|
-
componentId: "core-
|
|
50
|
+
componentId: "core-12_30_0__sc-7q2ydl-4"
|
|
51
51
|
})(["display:inline-flex;justify-content:center;align-items:center;border-radius:100%;overflow:hidden;position:relative;cursor:default;color:", ";background-color:", ";text-decoration:none;a:has(> &){text-decoration:none;}&:focus{", "}a:focus:has(> &){", " border-radius:100%;}", " ", ";"], colors.white, colors.gray30, getGapOutlineFocus, getGapOutlineFocus, function (_ref2) {
|
|
52
52
|
var _ref2$$size = _ref2.$size,
|
|
53
53
|
$size = _ref2$$size === void 0 ? 'md' : _ref2$$size;
|
|
@@ -34,7 +34,7 @@ export interface BaseAvatarProps extends Props {
|
|
|
34
34
|
*
|
|
35
35
|
* @deprecated
|
|
36
36
|
*
|
|
37
|
-
* Size "xl"
|
|
37
|
+
* Size "xl" been deprecated and will be removed in a future version.
|
|
38
38
|
* Please use "lg" instead of "xl".
|
|
39
39
|
*
|
|
40
40
|
* **Before**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.types.js","names":[],"sources":["../../src/Avatar/Avatar.types.ts"],"sourcesContent":["import type { AriaButtonProps } from '@react-aria/button'\nimport type React from 'react'\nimport type { Polymorphic } from '../_utils/polymorphic'\nimport type { AriaLabelled, Props, Size } from '../_utils/types'\n\nexport type AvatarSize = Extract<Size, 'sm' | 'md' | 'lg' | 'xl'>\n\nexport type AvatarRoleType = 'link' | 'button' | 'img'\n\nexport interface AvatarPolyMap\n extends Record<AvatarRoleType, React.ElementType> {\n button: 'div'\n img: 'div'\n link: 'a'\n}\n\n// Add undefined for aria-hidden\nexport type AvatarRoles = AvatarRoleType | undefined\n\nexport type AvatarRef<Role extends AvatarRoles = undefined> =\n Role extends AvatarRoleType\n ? Polymorphic.Ref<AvatarPolyMap, Role>\n : React.ComponentPropsWithRef<'div'>['ref']\n\nexport interface BaseAvatarProps extends Props {\n /**\n * Sets the Avatar's clickable UI state. For accessibility, see `role`\n * @ally This prop is around UI and has 0 UX or JS for interaction, try `role` instead.\n * @defaultValue false\n * @deprecated Reviewing for removal from system, prefer accessible `role=\"link\"` or `role=\"button\"` for interactive UI.\n * @deprecatedSince TBD\n * @since 10.19.0\n */\n clickable?: boolean\n /**\n * Sets the Avatar's disabled state\n *\n * @defaultValue false\n */\n disabled?: boolean\n /**\n * Sets the Avatar's size\n *\n * @defaultValue md\n *\n * @deprecated\n *\n * Size \"xl\"
|
|
1
|
+
{"version":3,"file":"Avatar.types.js","names":[],"sources":["../../src/Avatar/Avatar.types.ts"],"sourcesContent":["import type { AriaButtonProps } from '@react-aria/button'\nimport type React from 'react'\nimport type { Polymorphic } from '../_utils/polymorphic'\nimport type { AriaLabelled, Props, Size } from '../_utils/types'\n\nexport type AvatarSize = Extract<Size, 'sm' | 'md' | 'lg' | 'xl'>\n\nexport type AvatarRoleType = 'link' | 'button' | 'img'\n\nexport interface AvatarPolyMap\n extends Record<AvatarRoleType, React.ElementType> {\n button: 'div'\n img: 'div'\n link: 'a'\n}\n\n// Add undefined for aria-hidden\nexport type AvatarRoles = AvatarRoleType | undefined\n\nexport type AvatarRef<Role extends AvatarRoles = undefined> =\n Role extends AvatarRoleType\n ? Polymorphic.Ref<AvatarPolyMap, Role>\n : React.ComponentPropsWithRef<'div'>['ref']\n\nexport interface BaseAvatarProps extends Props {\n /**\n * Sets the Avatar's clickable UI state. For accessibility, see `role`\n * @ally This prop is around UI and has 0 UX or JS for interaction, try `role` instead.\n * @defaultValue false\n * @deprecated Reviewing for removal from system, prefer accessible `role=\"link\"` or `role=\"button\"` for interactive UI.\n * @deprecatedSince TBD\n * @since 10.19.0\n */\n clickable?: boolean\n /**\n * Sets the Avatar's disabled state\n *\n * @defaultValue false\n */\n disabled?: boolean\n /**\n * Sets the Avatar's size\n *\n * @defaultValue md\n *\n * @deprecated\n *\n * Size \"xl\" been deprecated and will be removed in a future version.\n * Please use \"lg\" instead of \"xl\".\n *\n * **Before**\n *\n * `<Avatar size=\"xl\" />`\n *\n * **After**\n *\n * `<Avatar size=\"lg\" />`\n *\n * @deprecatedSince 10.20.0\n * @since 10.19.0\n */\n size?: AvatarSize\n}\n\ntype DecorativeAvatarProps<Role extends AvatarRoles = undefined> = {\n 'aria-hidden': true\n role?: Role\n} & BaseAvatarProps\n\nexport type AvatarProps<Role extends AvatarRoles = undefined> =\n Role extends 'link'\n ? Polymorphic.ComponentPropsWithRef<\n AvatarPolyMap,\n 'link',\n 'href',\n AriaLabelled<BaseAvatarProps>\n >\n : Role extends 'button'\n ? Polymorphic.ComponentPropsWithRef<\n AvatarPolyMap,\n 'button',\n never,\n AriaLabelled<{ onPress: AriaButtonProps['onPress'] } & BaseAvatarProps>\n >\n : Role extends 'img'\n ? Polymorphic.ComponentPropsWithRef<\n AvatarPolyMap,\n 'img',\n never,\n AriaLabelled<BaseAvatarProps>\n >\n : DecorativeAvatarProps & { ref?: AvatarRef<undefined> }\n\nexport interface AvatarIconProps extends Props {\n /**\n * The icon to display\n *\n * @since 10.19.0\n */\n icon: React.ReactNode\n}\n\nexport interface AvatarPortraitProps extends Props {\n /**\n * The Avatar rich media url\n * @since 10.19.0\n */\n imageUrl: string\n}\n\nexport interface AvatarLabelProps extends Props {}\n"],"mappings":""}
|