@procore/core-react 12.37.0 → 12.39.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/.jest/testShims.js +6 -0
- package/CHANGELOG.md +64 -0
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +6 -6
- package/dist/Avatar/Avatar.styles.js.map +1 -1
- package/dist/AvatarStack/AvatarStack.js +65 -25
- package/dist/AvatarStack/AvatarStack.js.map +1 -1
- package/dist/AvatarStack/AvatarStack.styles.js +8 -8
- package/dist/AvatarStack/AvatarStack.styles.js.map +1 -1
- package/dist/AvatarStack/useAvatarPopover.d.ts +14 -0
- package/dist/AvatarStack/useAvatarPopover.js +57 -0
- package/dist/AvatarStack/useAvatarPopover.js.map +1 -0
- package/dist/AvatarStack/useAvatarPopover.types.d.ts +4 -0
- package/dist/AvatarStack/useAvatarPopover.types.js +2 -0
- package/dist/AvatarStack/useAvatarPopover.types.js.map +1 -0
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/BadgePill/BadgePill.styles.js +4 -4
- package/dist/Banner/Banner.d.ts +2 -1
- package/dist/Banner/Banner.js +53 -34
- package/dist/Banner/Banner.js.map +1 -1
- package/dist/Banner/Banner.styles.js +10 -10
- package/dist/Banner/Banner.types.d.ts +6 -0
- package/dist/Banner/Banner.types.js.map +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js.map +1 -1
- 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 +9 -9
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.d.ts +0 -1
- package/dist/Checkbox/Checkbox.js +5 -6
- package/dist/Checkbox/Checkbox.js.map +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.js +12 -2
- package/dist/DateInput/DateInput.js.map +1 -1
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DateSelect/DateSelect.types.d.ts +1 -1
- package/dist/DateSelect/DateSelect.types.js.map +1 -1
- 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.js +3 -7
- package/dist/FileList/FileList.js.map +1 -1
- package/dist/FileList/FileList.styles.d.ts +0 -1
- package/dist/FileList/FileList.styles.js +3 -7
- package/dist/FileList/FileList.styles.js.map +1 -1
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.js +3 -1
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.js.map +1 -1
- 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.js +10 -5
- package/dist/FileSelect/SourceItem/SourceItem.js.map +1 -1
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- 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 +74 -58
- package/dist/Form/Form.js.map +1 -1
- package/dist/Form/Form.styles.d.ts +0 -14
- package/dist/Form/Form.styles.js +14 -24
- package/dist/Form/Form.styles.js.map +1 -1
- package/dist/Form/Form.types.d.ts +22 -2
- package/dist/Form/Form.types.js.map +1 -1
- package/dist/Form/FormFieldTooltip.js +4 -11
- package/dist/Form/FormFieldTooltip.js.map +1 -1
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- package/dist/Form/stories/util.js +1 -12
- package/dist/Form/stories/util.js.map +1 -1
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.js +5 -4
- package/dist/GroupSelect/GroupSelect.js.map +1 -1
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/GroupSelect/GroupSelect.types.d.ts +5 -5
- package/dist/GroupSelect/GroupSelect.types.js.map +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/Menu/Menu.js +1 -5
- package/dist/Menu/Menu.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.js +7 -10
- package/dist/MenuImperative/MenuImperative.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.styles.d.ts +2 -3
- package/dist/MenuImperative/MenuImperative.styles.js +26 -25
- package/dist/MenuImperative/MenuImperative.styles.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.types.d.ts +4 -0
- package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
- package/dist/MenuImperative/sensors.js +16 -58
- package/dist/MenuImperative/sensors.js.map +1 -1
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/MultiSelect/MultiSelect.js +50 -28
- package/dist/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.styles.d.ts +1 -0
- package/dist/MultiSelect/MultiSelect.styles.js +12 -8
- package/dist/MultiSelect/MultiSelect.styles.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.types.d.ts +31 -1
- package/dist/MultiSelect/MultiSelect.types.js.map +1 -1
- 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/OverlayTrigger.js +4 -2
- package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.types.d.ts +8 -0
- package/dist/OverlayTrigger/OverlayTrigger.types.js.map +1 -1
- package/dist/OverlayTrigger/a11yPresets.js +5 -3
- package/dist/OverlayTrigger/a11yPresets.js.map +1 -1
- package/dist/PageLayout/PageLayout.js +31 -12
- package/dist/PageLayout/PageLayout.js.map +1 -1
- package/dist/PageLayout/PageLayout.styles.d.ts +1 -0
- package/dist/PageLayout/PageLayout.styles.js +17 -17
- package/dist/PageLayout/PageLayout.styles.js.map +1 -1
- package/dist/PageLayout/PageLayout.types.d.ts +10 -0
- package/dist/PageLayout/PageLayout.types.js.map +1 -1
- 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.js +4 -3
- package/dist/PillSelect/PillSelect.js.map +1 -1
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- package/dist/Popover/Popover.js +2 -1
- package/dist/Popover/Popover.js.map +1 -1
- 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 +9 -9
- package/dist/Section/Section.styles.js.map +1 -1
- package/dist/SegmentedController/SegmentedController.js +1 -2
- package/dist/SegmentedController/SegmentedController.js.map +1 -1
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.d.ts +3 -4
- package/dist/Select/Select.js +37 -15
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +9 -9
- package/dist/Select/Select.styles.js.map +1 -1
- package/dist/Select/Select.types.d.ts +20 -0
- package/dist/Select/Select.types.js.map +1 -1
- package/dist/Select/index.d.ts +1 -1
- package/dist/Select/index.js.map +1 -1
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.js +21 -6
- package/dist/Spinner/Spinner.js.map +1 -1
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.js +13 -0
- package/dist/SplitViewCard/SplitViewCard.js.map +1 -1
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.components.js +6 -15
- package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.js +1 -1
- package/dist/SuperSelect/SuperSelect.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +38 -38
- package/dist/SuperSelect/SuperSelect.types.d.ts +0 -3
- package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
- package/dist/SuperSelect/useSuperSelect.d.ts +1 -1
- package/dist/SuperSelect/useSuperSelect.js +19 -52
- package/dist/SuperSelect/useSuperSelect.js.map +1 -1
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.d.ts +1 -1
- 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 +17 -28
- package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
- package/dist/Tearsheet/storybook/PageLayoutDemo.js +11 -2
- package/dist/Tearsheet/storybook/PageLayoutDemo.js.map +1 -1
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- 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.d.ts +4 -2
- package/dist/Tooltip/Tooltip.js +30 -5
- package/dist/Tooltip/Tooltip.js.map +1 -1
- package/dist/Tooltip/Tooltip.styles.d.ts +1 -0
- package/dist/Tooltip/Tooltip.styles.js +12 -4
- package/dist/Tooltip/Tooltip.styles.js.map +1 -1
- package/dist/Tooltip/Tooltip.types.d.ts +8 -0
- package/dist/Tooltip/Tooltip.types.js.map +1 -1
- package/dist/Tree/Tree.js +1 -1
- package/dist/Tree/Tree.styles.js +10 -10
- 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/_hooks/I18n.d.ts +65 -67
- package/dist/_hooks/IntersectionObserver/createIntersectionObserver.d.ts +0 -1
- package/dist/_hooks/IntersectionObserver/createIntersectionObserver.js +0 -1
- package/dist/_hooks/IntersectionObserver/createIntersectionObserver.js.map +1 -1
- package/dist/_locales/de-DE.json +3 -1
- package/dist/_locales/en-AU.json +3 -1
- package/dist/_locales/en-CA.json +3 -1
- package/dist/_locales/en-GB.json +3 -1
- package/dist/_locales/en.json +5 -2
- package/dist/_locales/es-ES.json +3 -1
- package/dist/_locales/es.json +3 -1
- package/dist/_locales/fr-CA.json +3 -1
- package/dist/_locales/fr-FR.json +3 -1
- package/dist/_locales/is-IS.json +3 -1
- package/dist/_locales/it-IT.json +3 -1
- package/dist/_locales/ja-JP.json +3 -1
- package/dist/_locales/pl-PL.json +3 -1
- package/dist/_locales/pseudo.json +5 -2
- package/dist/_locales/pt-BR.json +3 -1
- package/dist/_locales/pt-PT.json +5 -3
- package/dist/_locales/th-TH.json +3 -1
- package/dist/_locales/zh-SG.json +3 -1
- package/dist/_locales/zh-TW.json +3 -1
- package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
- package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
- package/dist/_styles/mixins.d.ts +13 -1
- package/dist/_styles/mixins.js +15 -1
- package/dist/_styles/mixins.js.map +1 -1
- 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 +39 -13
- package/dist/_typedoc/Box/Box.types.json +68 -68
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
- package/dist/_typedoc/Button/Button.types.json +13 -13
- 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 +37 -37
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +31 -31
- 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 +862 -762
- 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 +75 -55
- 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 +77 -77
- package/dist/_typedoc/Modal/Modal.types.json +46 -46
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +52 -32
- 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 +48 -48
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +42 -32
- package/dist/_typedoc/PageLayout/PageLayout.types.json +46 -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 +141 -60
- 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 +102 -102
- 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 +11 -11
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
- package/dist/_typedoc/Tile/Tile.types.json +8 -8
- package/dist/_typedoc/Title/Title.types.json +1 -1
- 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 +8 -8
- package/dist/_typedoc/Tooltip/Tooltip.types.json +25 -14
- 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/_utils/scrollIntoView.js +21 -7
- package/dist/_utils/scrollIntoView.js.map +1 -1
- package/package.json +9 -8
- package/dist/Checkbox/CheckboxTooltip.d.ts +0 -4
- package/dist/Checkbox/CheckboxTooltip.js +0 -26
- package/dist/Checkbox/CheckboxTooltip.js.map +0 -1
|
@@ -35,6 +35,14 @@ export interface TooltipProps extends Props {
|
|
|
35
35
|
* @since 10.19.0
|
|
36
36
|
*/
|
|
37
37
|
showDelay?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @a11y Preference `true`, with it makes sense for Buttons and other controls
|
|
40
|
+
* that support `aria-expanded`. This will pass the open state to the element.
|
|
41
|
+
* @default false
|
|
42
|
+
* @see [MDN aria-expanded associated roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-expanded#associated_roles)
|
|
43
|
+
* @since 12.37.0
|
|
44
|
+
*/
|
|
45
|
+
trackAriaExpanded?: OverlayTriggerProps['trackAriaExpanded'];
|
|
38
46
|
/**
|
|
39
47
|
* The event to trigger the overlay
|
|
40
48
|
* @since 10.19.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.types.js","names":[],"sources":["../../src/Tooltip/Tooltip.types.ts"],"sourcesContent":["import type { OverlayTriggerProps } from '../OverlayTrigger/OverlayTrigger.types'\nimport type { Placement } from '../_utils/placement'\nimport type { Props } from '../_utils/types'\n\nexport interface TooltipContentProps extends Props {\n /**\n * @since 10.19.0\n */\n placement?: Placement\n /**\n * @since 12.33.0\n */\n id?: string\n}\n\nexport interface TooltipProps extends Props {\n /**\n * @since 10.19.0\n */\n hideDelay?: number\n\n /**\n * Whether to show the overlay on initial render\n * @since 10.19.0\n */\n initialIsVisible?: boolean\n\n /**\n * The tip we want to display\n * @since 10.19.0\n */\n overlay?: any\n\n /**\n * Determines the position of the arrow\n * @since 10.19.0\n */\n placement?: Placement\n /**\n * @since 10.19.0\n */\n showDelay?: number\n\n /**\n * The event to trigger the overlay\n * @since 10.19.0\n */\n trigger?: OverlayTriggerProps['trigger']\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Tooltip.types.js","names":[],"sources":["../../src/Tooltip/Tooltip.types.ts"],"sourcesContent":["import type { OverlayTriggerProps } from '../OverlayTrigger/OverlayTrigger.types'\nimport type { Placement } from '../_utils/placement'\nimport type { Props } from '../_utils/types'\n\nexport interface TooltipContentProps extends Props {\n /**\n * @since 10.19.0\n */\n placement?: Placement\n /**\n * @since 12.33.0\n */\n id?: string\n}\n\nexport interface TooltipProps extends Props {\n /**\n * @since 10.19.0\n */\n hideDelay?: number\n\n /**\n * Whether to show the overlay on initial render\n * @since 10.19.0\n */\n initialIsVisible?: boolean\n\n /**\n * The tip we want to display\n * @since 10.19.0\n */\n overlay?: any\n\n /**\n * Determines the position of the arrow\n * @since 10.19.0\n */\n placement?: Placement\n /**\n * @since 10.19.0\n */\n showDelay?: number\n /**\n * @a11y Preference `true`, with it makes sense for Buttons and other controls\n * that support `aria-expanded`. This will pass the open state to the element.\n * @default false\n * @see [MDN aria-expanded associated roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-expanded#associated_roles)\n * @since 12.37.0\n */\n trackAriaExpanded?: OverlayTriggerProps['trackAriaExpanded']\n /**\n * The event to trigger the overlay\n * @since 10.19.0\n */\n trigger?: OverlayTriggerProps['trigger']\n}\n"],"mappings":""}
|
package/dist/Tree/Tree.js
CHANGED
|
@@ -565,7 +565,7 @@ var IconContainer = function IconContainer(_ref5) {
|
|
|
565
565
|
};
|
|
566
566
|
var StyledChevronIcon = /*#__PURE__*/styled(ChevronRight).withConfig({
|
|
567
567
|
displayName: "StyledChevronIcon",
|
|
568
|
-
componentId: "core-
|
|
568
|
+
componentId: "core-12_39_0__sc-f25ekl-0"
|
|
569
569
|
})(["transform:rotate(", "deg);transition:transform 150ms ease-out;"], function (_ref6) {
|
|
570
570
|
var $isExpanded = _ref6.$isExpanded;
|
|
571
571
|
return $isExpanded ? 90 : 0;
|
package/dist/Tree/Tree.styles.js
CHANGED
|
@@ -5,11 +5,11 @@ import { Typography } from '../Typography/Typography';
|
|
|
5
5
|
import { colors } from '../_styles/colors';
|
|
6
6
|
export var StyledFilenameCaption = /*#__PURE__*/styled(Typography).withConfig({
|
|
7
7
|
displayName: "StyledFilenameCaption",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_39_0__sc-2d45b5-0"
|
|
9
9
|
})(["display:flex;width:100%;"]);
|
|
10
10
|
export var StyledTree = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
displayName: "StyledTree",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_39_0__sc-2d45b5-1"
|
|
13
13
|
})(["width:100%;height:100%;min-height:36px;outline:none;overflow:auto;"]);
|
|
14
14
|
export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
|
|
15
15
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
@@ -17,7 +17,7 @@ export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
|
|
|
17
17
|
}
|
|
18
18
|
}).withConfig({
|
|
19
19
|
displayName: "StyledTreeRowContainer",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-12_39_0__sc-2d45b5-2"
|
|
21
21
|
})(["display:flex;align-items:center;height:36px;background:transparent;box-shadow:inset 4px 0px 0px transparent;cursor:default;outline:none;", " &:hover{background:", ";}", " ", ""], function (_ref) {
|
|
22
22
|
var isSelectable = _ref.isSelectable,
|
|
23
23
|
$isSelectable = _ref.$isSelectable;
|
|
@@ -35,29 +35,29 @@ export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
|
|
|
35
35
|
});
|
|
36
36
|
export var StyledTreeRowContent = /*#__PURE__*/styled.div.withConfig({
|
|
37
37
|
displayName: "StyledTreeRowContent",
|
|
38
|
-
componentId: "core-
|
|
38
|
+
componentId: "core-12_39_0__sc-2d45b5-3"
|
|
39
39
|
})(["display:flex;align-items:center;"]);
|
|
40
40
|
export var StyledTreeRowWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
41
41
|
displayName: "StyledTreeRowWrapper",
|
|
42
|
-
componentId: "core-
|
|
42
|
+
componentId: "core-12_39_0__sc-2d45b5-4"
|
|
43
43
|
})(["outline:none;"]);
|
|
44
44
|
var StyledIconBase = /*#__PURE__*/styled(Box).withConfig({
|
|
45
45
|
displayName: "StyledIconBase",
|
|
46
|
-
componentId: "core-
|
|
46
|
+
componentId: "core-12_39_0__sc-2d45b5-5"
|
|
47
47
|
})(["display:flex;justify-content:center;align-items:center;width:24px;height:24px;min-width:24px;min-height:24px;"]);
|
|
48
48
|
|
|
49
49
|
/** @deprecated Use StyledChevronPlaceholder instead */
|
|
50
50
|
export var StyledChevronContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
|
|
51
51
|
displayName: "StyledChevronContainer",
|
|
52
|
-
componentId: "core-
|
|
52
|
+
componentId: "core-12_39_0__sc-2d45b5-6"
|
|
53
53
|
})([""]);
|
|
54
54
|
export var StyledChevronPlaceholder = /*#__PURE__*/styled(StyledIconBase).withConfig({
|
|
55
55
|
displayName: "StyledChevronPlaceholder",
|
|
56
|
-
componentId: "core-
|
|
56
|
+
componentId: "core-12_39_0__sc-2d45b5-7"
|
|
57
57
|
})([""]);
|
|
58
58
|
export var StyledIconContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
|
|
59
59
|
displayName: "StyledIconContainer",
|
|
60
|
-
componentId: "core-
|
|
60
|
+
componentId: "core-12_39_0__sc-2d45b5-8"
|
|
61
61
|
})(["color:", ";"], function (_ref4) {
|
|
62
62
|
var $isSelected = _ref4.$isSelected;
|
|
63
63
|
return $isSelected ? colors.blue45 : colors.gray40;
|
|
@@ -66,7 +66,7 @@ export var StyledIconContainer = /*#__PURE__*/styled(StyledIconBase).withConfig(
|
|
|
66
66
|
/** @deprecated TreeRowChevron now uses Button with inline styled icon */
|
|
67
67
|
export var StyledChevron = /*#__PURE__*/styled(ChevronRight).withConfig({
|
|
68
68
|
displayName: "StyledChevron",
|
|
69
|
-
componentId: "core-
|
|
69
|
+
componentId: "core-12_39_0__sc-2d45b5-9"
|
|
70
70
|
})(["transform:rotate(", "deg);transition:transform 150ms ease-out;"], function (_ref5) {
|
|
71
71
|
var $isExpanded = _ref5.$isExpanded;
|
|
72
72
|
return $isExpanded ? 90 : 0;
|
|
@@ -5,11 +5,11 @@ import { spacing } from '../_styles/spacing';
|
|
|
5
5
|
var inputHeight = 36;
|
|
6
6
|
export var StyledInput = /*#__PURE__*/styled.input.withConfig({
|
|
7
7
|
displayName: "StyledInput",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_39_0__sc-gpc39h-0"
|
|
9
9
|
})(["", " padding-right:", "px;"], getSearchInputStyles(), spacing.xxl);
|
|
10
10
|
export var StyledIcon = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
displayName: "StyledIcon",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_39_0__sc-gpc39h-1"
|
|
13
13
|
})(["align-items:center;color:", ";display:flex;height:", "px;justify-content:center;pointer-events:", ";position:absolute;right:0;top:0;width:", "px;"], function (p) {
|
|
14
14
|
return p.disabled ? colors.gray70 : colors.gray45;
|
|
15
15
|
}, inputHeight, function (p) {
|
|
@@ -17,6 +17,6 @@ export var StyledIcon = /*#__PURE__*/styled.div.withConfig({
|
|
|
17
17
|
}, inputHeight);
|
|
18
18
|
export var StyledTypeahead = /*#__PURE__*/styled.div.withConfig({
|
|
19
19
|
displayName: "StyledTypeahead",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-12_39_0__sc-gpc39h-2"
|
|
21
21
|
})(["position:relative;width:100%;"]);
|
|
22
22
|
//# sourceMappingURL=Typeahead.styles.js.map
|
|
@@ -35,7 +35,7 @@ export var semiboldRules = function semiboldRules() {
|
|
|
35
35
|
};
|
|
36
36
|
export var StyledTypography = /*#__PURE__*/styled.span.withConfig({
|
|
37
37
|
displayName: "StyledTypography",
|
|
38
|
-
componentId: "core-
|
|
38
|
+
componentId: "core-12_39_0__sc-1c4583t-0"
|
|
39
39
|
})(["", " color:", ";font-style:", ";font-weight:", ";", " ", " em,i{font-style:italic;}"], function (_ref) {
|
|
40
40
|
var _ref$$intent = _ref.$intent,
|
|
41
41
|
$intent = _ref$$intent === void 0 ? 'body' : _ref$$intent;
|
|
@@ -5,11 +5,11 @@ import { colors } from '../_styles/colors';
|
|
|
5
5
|
import { getTypographyIntent } from './Typography.styles';
|
|
6
6
|
var StyledBodyCell = /*#__PURE__*/styled(Table.BodyCell).withConfig({
|
|
7
7
|
displayName: "StyledBodyCell",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_39_0__sc-p4v7d-0"
|
|
9
9
|
})([""]);
|
|
10
10
|
var StyledTextCell = /*#__PURE__*/styled(Table.TextCell).withConfig({
|
|
11
11
|
displayName: "StyledTextCell",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_39_0__sc-p4v7d-1"
|
|
13
13
|
})(["", " color:", ";"], getTypographyIntent('body'), colors.blue50);
|
|
14
14
|
function BodyCell() {
|
|
15
15
|
return /*#__PURE__*/React.createElement(StyledBodyCell, {
|
package/dist/_hooks/I18n.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export declare const coreTranslations: {
|
|
|
15
15
|
core: {
|
|
16
16
|
banner: {
|
|
17
17
|
dismissAlert: string;
|
|
18
|
+
expand: string;
|
|
19
|
+
collapse: string;
|
|
18
20
|
};
|
|
19
21
|
breadcrumbs: {
|
|
20
22
|
label: string;
|
|
@@ -404,6 +406,8 @@ export declare const coreTranslations: {
|
|
|
404
406
|
core: {
|
|
405
407
|
banner: {
|
|
406
408
|
dismissAlert: string;
|
|
409
|
+
expand: string;
|
|
410
|
+
collapse: string;
|
|
407
411
|
};
|
|
408
412
|
breadcrumbs: {
|
|
409
413
|
label: string;
|
|
@@ -625,6 +629,7 @@ export declare const coreTranslations: {
|
|
|
625
629
|
noResults: string;
|
|
626
630
|
selectedToken: string;
|
|
627
631
|
selectedItems: string;
|
|
632
|
+
noneSelected: string;
|
|
628
633
|
};
|
|
629
634
|
tearsheet: {
|
|
630
635
|
a11y: {
|
|
@@ -793,6 +798,8 @@ export declare const coreTranslations: {
|
|
|
793
798
|
core: {
|
|
794
799
|
banner: {
|
|
795
800
|
dismissAlert: string;
|
|
801
|
+
expand: string;
|
|
802
|
+
collapse: string;
|
|
796
803
|
};
|
|
797
804
|
breadcrumbs: {
|
|
798
805
|
label: string;
|
|
@@ -1182,6 +1189,8 @@ export declare const coreTranslations: {
|
|
|
1182
1189
|
core: {
|
|
1183
1190
|
banner: {
|
|
1184
1191
|
dismissAlert: string;
|
|
1192
|
+
expand: string;
|
|
1193
|
+
collapse: string;
|
|
1185
1194
|
};
|
|
1186
1195
|
breadcrumbs: {
|
|
1187
1196
|
label: string;
|
|
@@ -1571,6 +1580,8 @@ export declare const coreTranslations: {
|
|
|
1571
1580
|
core: {
|
|
1572
1581
|
banner: {
|
|
1573
1582
|
dismissAlert: string;
|
|
1583
|
+
expand: string;
|
|
1584
|
+
collapse: string;
|
|
1574
1585
|
};
|
|
1575
1586
|
breadcrumbs: {
|
|
1576
1587
|
label: string;
|
|
@@ -1960,6 +1971,8 @@ export declare const coreTranslations: {
|
|
|
1960
1971
|
core: {
|
|
1961
1972
|
banner: {
|
|
1962
1973
|
dismissAlert: string;
|
|
1974
|
+
expand: string;
|
|
1975
|
+
collapse: string;
|
|
1963
1976
|
};
|
|
1964
1977
|
breadcrumbs: {
|
|
1965
1978
|
label: string;
|
|
@@ -2349,6 +2362,8 @@ export declare const coreTranslations: {
|
|
|
2349
2362
|
core: {
|
|
2350
2363
|
banner: {
|
|
2351
2364
|
dismissAlert: string;
|
|
2365
|
+
expand: string;
|
|
2366
|
+
collapse: string;
|
|
2352
2367
|
};
|
|
2353
2368
|
breadcrumbs: {
|
|
2354
2369
|
label: string;
|
|
@@ -2550,17 +2565,6 @@ export declare const coreTranslations: {
|
|
|
2550
2565
|
wrongFileTypeErrorGroup: string;
|
|
2551
2566
|
standaloneMaxFileNumberError: string;
|
|
2552
2567
|
standaloneUnsupportedFileTypeError: string;
|
|
2553
|
-
/**
|
|
2554
|
-
* Hook to access the I18n context.
|
|
2555
|
-
*
|
|
2556
|
-
* @template Translations - An optional generic to provide type safety for translations.
|
|
2557
|
-
* If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.
|
|
2558
|
-
* These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.
|
|
2559
|
-
* If not specified, the default I18nWithCDN instance is returned.
|
|
2560
|
-
*
|
|
2561
|
-
* @returns {I18nWithCDNFlag | I18njsWithTypedTranslate<Translations>} The I18n context instance,
|
|
2562
|
-
* either with or without typed translations based on the provided generic.
|
|
2563
|
-
*/
|
|
2564
2568
|
standaloneMinFileSizeError: string;
|
|
2565
2569
|
standaloneMaxFileSizeError: string;
|
|
2566
2570
|
standaloneZeroFileSizeError: string;
|
|
@@ -2749,6 +2753,8 @@ export declare const coreTranslations: {
|
|
|
2749
2753
|
core: {
|
|
2750
2754
|
banner: {
|
|
2751
2755
|
dismissAlert: string;
|
|
2756
|
+
expand: string;
|
|
2757
|
+
collapse: string;
|
|
2752
2758
|
};
|
|
2753
2759
|
breadcrumbs: {
|
|
2754
2760
|
label: string;
|
|
@@ -3138,6 +3144,8 @@ export declare const coreTranslations: {
|
|
|
3138
3144
|
core: {
|
|
3139
3145
|
banner: {
|
|
3140
3146
|
dismissAlert: string;
|
|
3147
|
+
expand: string;
|
|
3148
|
+
collapse: string;
|
|
3141
3149
|
};
|
|
3142
3150
|
breadcrumbs: {
|
|
3143
3151
|
label: string;
|
|
@@ -3207,14 +3215,6 @@ export declare const coreTranslations: {
|
|
|
3207
3215
|
close: string;
|
|
3208
3216
|
date: string;
|
|
3209
3217
|
itemType: string;
|
|
3210
|
-
/**
|
|
3211
|
-
* Hook to create I18n object.
|
|
3212
|
-
* @param {UseI18n} props - The I18n configuration.
|
|
3213
|
-
* @param {string} props.locale - The locale to use.
|
|
3214
|
-
* @param {Record<string, string>} props.translations - The translations to use.
|
|
3215
|
-
* @param {boolean} props.enableCDN - Whether to pull core-react translations from the CDN or not, by default it follows the value passed down through the parent I18nProvider.
|
|
3216
|
-
* @returns {I18nWithCDNFlag} The I18n object.
|
|
3217
|
-
*/
|
|
3218
3218
|
itemTypeGroupLabel: {
|
|
3219
3219
|
dailyLog: string;
|
|
3220
3220
|
prostoreFile: string;
|
|
@@ -3535,6 +3535,8 @@ export declare const coreTranslations: {
|
|
|
3535
3535
|
core: {
|
|
3536
3536
|
banner: {
|
|
3537
3537
|
dismissAlert: string;
|
|
3538
|
+
expand: string;
|
|
3539
|
+
collapse: string;
|
|
3538
3540
|
};
|
|
3539
3541
|
breadcrumbs: {
|
|
3540
3542
|
label: string;
|
|
@@ -3647,15 +3649,6 @@ export declare const coreTranslations: {
|
|
|
3647
3649
|
timeOnDate: string;
|
|
3648
3650
|
};
|
|
3649
3651
|
table: {
|
|
3650
|
-
/**
|
|
3651
|
-
* Provider to wrap the application with the I18n context.
|
|
3652
|
-
* @param {PropsWithChildren<UseI18n>} props - The I18n configuration.
|
|
3653
|
-
* @param {React.ReactNode} props.children - The children to render.
|
|
3654
|
-
* @param {UseI18n} props.locale - The locale to use.
|
|
3655
|
-
* @param {Record<string, string>} props.translations - The translations to use.
|
|
3656
|
-
* @param {boolean} props.enableCDN - Whether to pull core-react translations from the CDN or not, by default it follows the value passed down through the parent I18nProvider.
|
|
3657
|
-
* @returns {React.ReactNode} The I18n context instance.
|
|
3658
|
-
*/
|
|
3659
3652
|
a11y: {
|
|
3660
3653
|
expand: string;
|
|
3661
3654
|
collapse: string;
|
|
@@ -3933,6 +3926,8 @@ export declare const coreTranslations: {
|
|
|
3933
3926
|
core: {
|
|
3934
3927
|
banner: {
|
|
3935
3928
|
dismissAlert: string;
|
|
3929
|
+
expand: string;
|
|
3930
|
+
collapse: string;
|
|
3936
3931
|
};
|
|
3937
3932
|
breadcrumbs: {
|
|
3938
3933
|
label: string;
|
|
@@ -4322,6 +4317,8 @@ export declare const coreTranslations: {
|
|
|
4322
4317
|
core: {
|
|
4323
4318
|
banner: {
|
|
4324
4319
|
dismissAlert: string;
|
|
4320
|
+
expand: string;
|
|
4321
|
+
collapse: string;
|
|
4325
4322
|
};
|
|
4326
4323
|
breadcrumbs: {
|
|
4327
4324
|
label: string;
|
|
@@ -4382,14 +4379,6 @@ export declare const coreTranslations: {
|
|
|
4382
4379
|
};
|
|
4383
4380
|
distributionSelect: {
|
|
4384
4381
|
noCompany: string;
|
|
4385
|
-
/**
|
|
4386
|
-
* Hook to create I18n object.
|
|
4387
|
-
* @param {UseI18n} props - The I18n configuration.
|
|
4388
|
-
* @param {string} props.locale - The locale to use.
|
|
4389
|
-
* @param {Record<string, string>} props.translations - The translations to use.
|
|
4390
|
-
* @param {boolean} props.enableCDN - Whether to pull core-react translations from the CDN or not, by default it follows the value passed down through the parent I18nProvider.
|
|
4391
|
-
* @returns {I18nWithCDNFlag} The I18n object.
|
|
4392
|
-
*/
|
|
4393
4382
|
peopleCount: string;
|
|
4394
4383
|
distributionGroups: string;
|
|
4395
4384
|
people: string;
|
|
@@ -4524,17 +4513,6 @@ export declare const coreTranslations: {
|
|
|
4524
4513
|
errorTitle: string;
|
|
4525
4514
|
oneFileAtATimeError: string;
|
|
4526
4515
|
multipleErrorsMessage: string;
|
|
4527
|
-
/**
|
|
4528
|
-
* Hook to access the I18n context.
|
|
4529
|
-
*
|
|
4530
|
-
* @template Translations - An optional generic to provide type safety for translations.
|
|
4531
|
-
* If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.
|
|
4532
|
-
* These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.
|
|
4533
|
-
* If not specified, the default I18nWithCDN instance is returned.
|
|
4534
|
-
*
|
|
4535
|
-
* @returns {I18nWithCDNFlag | I18njsWithTypedTranslate<Translations>} The I18n context instance,
|
|
4536
|
-
* either with or without typed translations based on the provided generic.
|
|
4537
|
-
*/
|
|
4538
4516
|
maxFileSizeErrorGroup: string;
|
|
4539
4517
|
minFileSizeErrorGroup: string;
|
|
4540
4518
|
zeroFileSizeErrorGroup: string;
|
|
@@ -4562,6 +4540,7 @@ export declare const coreTranslations: {
|
|
|
4562
4540
|
noResults: string;
|
|
4563
4541
|
selectedToken: string;
|
|
4564
4542
|
selectedItems: string;
|
|
4543
|
+
noneSelected: string;
|
|
4565
4544
|
};
|
|
4566
4545
|
tearsheet: {
|
|
4567
4546
|
a11y: {
|
|
@@ -4730,6 +4709,8 @@ export declare const coreTranslations: {
|
|
|
4730
4709
|
core: {
|
|
4731
4710
|
banner: {
|
|
4732
4711
|
dismissAlert: string;
|
|
4712
|
+
expand: string;
|
|
4713
|
+
collapse: string;
|
|
4733
4714
|
};
|
|
4734
4715
|
breadcrumbs: {
|
|
4735
4716
|
label: string;
|
|
@@ -5119,6 +5100,8 @@ export declare const coreTranslations: {
|
|
|
5119
5100
|
core: {
|
|
5120
5101
|
banner: {
|
|
5121
5102
|
dismissAlert: string;
|
|
5103
|
+
expand: string;
|
|
5104
|
+
collapse: string;
|
|
5122
5105
|
};
|
|
5123
5106
|
breadcrumbs: {
|
|
5124
5107
|
label: string;
|
|
@@ -5197,6 +5180,14 @@ export declare const coreTranslations: {
|
|
|
5197
5180
|
notes: string;
|
|
5198
5181
|
notesPlaceholder: string;
|
|
5199
5182
|
newItem: string;
|
|
5183
|
+
/**
|
|
5184
|
+
* Hook to create I18n object.
|
|
5185
|
+
* @param {UseI18n} props - The I18n configuration.
|
|
5186
|
+
* @param {string} props.locale - The locale to use.
|
|
5187
|
+
* @param {Record<string, string>} props.translations - The translations to use.
|
|
5188
|
+
* @param {boolean} props.enableCDN - Whether to pull core-react translations from the CDN or not, by default it follows the value passed down through the parent I18nProvider.
|
|
5189
|
+
* @returns {I18nWithCDNFlag} The I18n object.
|
|
5190
|
+
*/
|
|
5200
5191
|
noRelatedItems: {
|
|
5201
5192
|
title: string;
|
|
5202
5193
|
description: string;
|
|
@@ -5508,6 +5499,8 @@ export declare const coreTranslations: {
|
|
|
5508
5499
|
core: {
|
|
5509
5500
|
banner: {
|
|
5510
5501
|
dismissAlert: string;
|
|
5502
|
+
expand: string;
|
|
5503
|
+
collapse: string;
|
|
5511
5504
|
};
|
|
5512
5505
|
breadcrumbs: {
|
|
5513
5506
|
label: string;
|
|
@@ -5605,17 +5598,16 @@ export declare const coreTranslations: {
|
|
|
5605
5598
|
};
|
|
5606
5599
|
panelTitle: string;
|
|
5607
5600
|
search: string;
|
|
5608
|
-
searchItemType: string;
|
|
5601
|
+
searchItemType: string; /**
|
|
5602
|
+
* Hook to create I18n object.
|
|
5603
|
+
* @param {UseI18n} props - The I18n configuration.
|
|
5604
|
+
* @param {string} props.locale - The locale to use.
|
|
5605
|
+
* @param {Record<string, string>} props.translations - The translations to use.
|
|
5606
|
+
* @param {boolean} props.enableCDN - Whether to pull core-react translations from the CDN or not, by default it follows the value passed down through the parent I18nProvider.
|
|
5607
|
+
* @returns {I18nWithCDNFlag} The I18n object.
|
|
5608
|
+
*/
|
|
5609
5609
|
submit: string;
|
|
5610
5610
|
toast: {
|
|
5611
|
-
/**
|
|
5612
|
-
* Hook to create I18n object.
|
|
5613
|
-
* @param {UseI18n} props - The I18n configuration.
|
|
5614
|
-
* @param {string} props.locale - The locale to use.
|
|
5615
|
-
* @param {Record<string, string>} props.translations - The translations to use.
|
|
5616
|
-
* @param {boolean} props.enableCDN - Whether to pull core-react translations from the CDN or not, by default it follows the value passed down through the parent I18nProvider.
|
|
5617
|
-
* @returns {I18nWithCDNFlag} The I18n object.
|
|
5618
|
-
*/
|
|
5619
5611
|
itemAdded: string;
|
|
5620
5612
|
itemAdditionFailed: string;
|
|
5621
5613
|
itemRemoved: string;
|
|
@@ -5905,6 +5897,8 @@ export declare const coreTranslations: {
|
|
|
5905
5897
|
core: {
|
|
5906
5898
|
banner: {
|
|
5907
5899
|
dismissAlert: string;
|
|
5900
|
+
expand: string;
|
|
5901
|
+
collapse: string;
|
|
5908
5902
|
};
|
|
5909
5903
|
breadcrumbs: {
|
|
5910
5904
|
label: string;
|
|
@@ -5937,11 +5931,7 @@ export declare const coreTranslations: {
|
|
|
5937
5931
|
recipientSelectPlaceholder: string;
|
|
5938
5932
|
emailRecipientRequiredError: string;
|
|
5939
5933
|
emailSubjectRequiredError: string;
|
|
5940
|
-
goToAllEmails: string;
|
|
5941
|
-
* @deprecated this type will no longer be supported from core-i18n-js,
|
|
5942
|
-
* to have a type safe Locale use TmsSupportedLocale or AllLocales from [Globalization toolkit](https://github.com/procore/globalization-toolkit)
|
|
5943
|
-
* @deprecatedSince 12.10.0
|
|
5944
|
-
*/
|
|
5934
|
+
goToAllEmails: string;
|
|
5945
5935
|
sendEmail: string;
|
|
5946
5936
|
replyAll: string;
|
|
5947
5937
|
downloadAll: string;
|
|
@@ -5981,7 +5971,14 @@ export declare const coreTranslations: {
|
|
|
5981
5971
|
itemTypeGroupLabel: {
|
|
5982
5972
|
dailyLog: string;
|
|
5983
5973
|
prostoreFile: string;
|
|
5984
|
-
};
|
|
5974
|
+
}; /**
|
|
5975
|
+
* Hook to create I18n object.
|
|
5976
|
+
* @param {UseI18n} props - The I18n configuration.
|
|
5977
|
+
* @param {string} props.locale - The locale to use.
|
|
5978
|
+
* @param {Record<string, string>} props.translations - The translations to use.
|
|
5979
|
+
* @param {boolean} props.enableCDN - Whether to pull core-react translations from the CDN or not, by default it follows the value passed down through the parent I18nProvider.
|
|
5980
|
+
* @returns {I18nWithCDNFlag} The I18n object.
|
|
5981
|
+
*/
|
|
5985
5982
|
itemName: string;
|
|
5986
5983
|
loading: string;
|
|
5987
5984
|
notes: string;
|
|
@@ -6299,6 +6296,8 @@ export declare const coreTranslations: {
|
|
|
6299
6296
|
core: {
|
|
6300
6297
|
banner: {
|
|
6301
6298
|
dismissAlert: string;
|
|
6299
|
+
expand: string;
|
|
6300
|
+
collapse: string;
|
|
6302
6301
|
};
|
|
6303
6302
|
breadcrumbs: {
|
|
6304
6303
|
label: string;
|
|
@@ -6344,11 +6343,6 @@ export declare const coreTranslations: {
|
|
|
6344
6343
|
cc: string;
|
|
6345
6344
|
bcc: string;
|
|
6346
6345
|
downloadPdfLong: string;
|
|
6347
|
-
/**
|
|
6348
|
-
* @deprecated this type will no longer be supported from core-i18n-js,
|
|
6349
|
-
* to have a type safe Locale use TmsSupportedLocale or AllLocales from [Globalization toolkit](https://github.com/procore/globalization-toolkit)
|
|
6350
|
-
* @deprecatedSince 12.10.0
|
|
6351
|
-
*/
|
|
6352
6346
|
downloadPdfShort: string;
|
|
6353
6347
|
privateEmailDisclaimer: string;
|
|
6354
6348
|
privateLabel: string;
|
|
@@ -6693,6 +6687,8 @@ export declare const coreTranslations: {
|
|
|
6693
6687
|
core: {
|
|
6694
6688
|
banner: {
|
|
6695
6689
|
dismissAlert: string;
|
|
6690
|
+
expand: string;
|
|
6691
|
+
collapse: string;
|
|
6696
6692
|
};
|
|
6697
6693
|
breadcrumbs: {
|
|
6698
6694
|
label: string;
|
|
@@ -7082,6 +7078,8 @@ export declare const coreTranslations: {
|
|
|
7082
7078
|
core: {
|
|
7083
7079
|
banner: {
|
|
7084
7080
|
dismissAlert: string;
|
|
7081
|
+
expand: string;
|
|
7082
|
+
collapse: string;
|
|
7085
7083
|
};
|
|
7086
7084
|
breadcrumbs: {
|
|
7087
7085
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIntersectionObserver.js","names":["createIntersectionObserver","callback","options","arguments","length","undefined","IntersectionObserver"],"sources":["../../../src/_hooks/IntersectionObserver/createIntersectionObserver.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"createIntersectionObserver.js","names":["createIntersectionObserver","callback","options","arguments","length","undefined","IntersectionObserver"],"sources":["../../../src/_hooks/IntersectionObserver/createIntersectionObserver.ts"],"sourcesContent":["export const createIntersectionObserver = (\n callback: IntersectionObserverCallback,\n options: IntersectionObserverInit = {}\n) => {\n return new IntersectionObserver(callback, options)\n}\n"],"mappings":"AAAA,OAAO,IAAMA,0BAA0B,GAAG,SAA7BA,0BAA0BA,CACrCC,QAAsC,EAEnC;EAAA,IADHC,OAAiC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAEtC,OAAO,IAAIG,oBAAoB,CAACL,QAAQ,EAAEC,OAAO,CAAC;AACpD,CAAC"}
|
package/dist/_locales/de-DE.json
CHANGED
package/dist/_locales/en-AU.json
CHANGED
package/dist/_locales/en-CA.json
CHANGED
package/dist/_locales/en-GB.json
CHANGED
package/dist/_locales/en.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"core": {
|
|
3
3
|
"banner": {
|
|
4
|
-
"dismissAlert": "Dismiss Alert"
|
|
4
|
+
"dismissAlert": "Dismiss Alert",
|
|
5
|
+
"expand": "Expand",
|
|
6
|
+
"collapse": "Collapse"
|
|
5
7
|
},
|
|
6
8
|
"breadcrumbs": {
|
|
7
9
|
"label": "Breadcrumb"
|
|
@@ -222,7 +224,8 @@
|
|
|
222
224
|
"selectValues": "Select Values",
|
|
223
225
|
"noResults": "No results",
|
|
224
226
|
"selectedToken": "{{tokenLabel}}, selected",
|
|
225
|
-
"selectedItems": "Selected items"
|
|
227
|
+
"selectedItems": "Selected items",
|
|
228
|
+
"noneSelected": "None selected"
|
|
226
229
|
},
|
|
227
230
|
"tearsheet": {
|
|
228
231
|
"a11y": {
|
package/dist/_locales/es-ES.json
CHANGED
package/dist/_locales/es.json
CHANGED
package/dist/_locales/fr-CA.json
CHANGED
package/dist/_locales/fr-FR.json
CHANGED
package/dist/_locales/is-IS.json
CHANGED