@procore/core-react 12.14.0 → 12.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/Banner/Banner.js +3 -3
- package/dist/Banner/Banner.js.map +1 -1
- package/dist/Banner/Banner.styles.d.ts +3 -3
- package/dist/Banner/Banner.styles.js +16 -16
- package/dist/Banner/Banner.styles.js.map +1 -1
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.js +5 -2
- package/dist/Breadcrumbs/Breadcrumbs.js.map +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.js +1 -1
- package/dist/DateInput/DateInput.js.map +1 -1
- package/dist/DateInput/DateInput.styles.d.ts +1 -1
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DateInput/DateInput.styles.js.map +1 -1
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/DetailPageTemplate/DetailPageTemplate.d.ts +11 -0
- package/dist/DetailPageTemplate/DetailPageTemplate.js +38 -0
- package/dist/DetailPageTemplate/DetailPageTemplate.js.map +1 -0
- package/dist/DetailPageTemplate/DetailPageTemplate.types.d.ts +13 -0
- package/dist/DetailPageTemplate/DetailPageTemplate.types.js +2 -0
- package/dist/DetailPageTemplate/DetailPageTemplate.types.js.map +1 -0
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/Dropdown/Dropdown.types.d.ts +5 -11
- package/dist/Dropdown/Dropdown.types.js.map +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.js +6 -2
- package/dist/DropdownFlyout/DropdownFlyout.js.map +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/DropdownFlyout/DropdownFlyout.types.d.ts +12 -14
- package/dist/DropdownFlyout/DropdownFlyout.types.js.map +1 -1
- package/dist/Dropzone/Dropzone.js +3 -2
- package/dist/Dropzone/Dropzone.js.map +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/Dropzone/Dropzone.types.d.ts +22 -20
- package/dist/Dropzone/Dropzone.types.js.map +1 -1
- 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.js +3 -3
- package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
- package/dist/FileSelect/GridSource/GridSource.styles.d.ts +3 -3
- package/dist/FileSelect/GridSource/GridSource.styles.js +12 -12
- package/dist/FileSelect/GridSource/GridSource.styles.js.map +1 -1
- package/dist/FileSelect/GridSource/GridSource.types.d.ts +14 -23
- package/dist/FileSelect/GridSource/GridSource.types.js.map +1 -1
- package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
- package/dist/FileSelect/LocalSource/LocalSource.types.d.ts +43 -47
- package/dist/FileSelect/LocalSource/LocalSource.types.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/FileSelect/TreeSource/TreeSource.types.d.ts +3 -1
- package/dist/FileSelect/TreeSource/TreeSource.types.js.map +1 -1
- package/dist/FileToken/FileToken.styles.js +4 -4
- package/dist/FilterToken/FilterToken.styles.js +2 -2
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.js +12 -7
- package/dist/Form/Form.js.map +1 -1
- package/dist/Form/Form.styles.js +14 -14
- package/dist/Form/Form.types.d.ts +55 -67
- package/dist/Form/Form.types.js.map +1 -1
- 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 +4 -4
- package/dist/Loader/Loader.styles.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.js +8 -5
- package/dist/MenuImperative/MenuImperative.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.styles.js +10 -10
- package/dist/Modal/Modal.js +2 -2
- package/dist/Modal/Modal.js.map +1 -1
- package/dist/Modal/Modal.styles.d.ts +2 -2
- package/dist/Modal/Modal.styles.js +18 -18
- package/dist/Modal/Modal.styles.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.styles.js +6 -6
- package/dist/MultiSelect/MultiSelect.types.d.ts +22 -15
- 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.js +2 -2
- package/dist/NumberInput/NumberInput.js.map +1 -1
- package/dist/NumberInput/NumberInput.styles.d.ts +2 -2
- package/dist/NumberInput/NumberInput.styles.js +11 -11
- package/dist/NumberInput/NumberInput.styles.js.map +1 -1
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/PageFooterTemplate/PageFooterTemplate.styles.js +2 -2
- package/dist/PageFooterTemplate/PageFooterTemplate.styles.js.map +1 -1
- package/dist/PageHeaderTemplate/PageHeaderTemplate.js +70 -23
- package/dist/PageHeaderTemplate/PageHeaderTemplate.js.map +1 -1
- package/dist/PageHeaderTemplate/PageHeaderTemplate.styles.d.ts +2 -0
- package/dist/PageHeaderTemplate/PageHeaderTemplate.styles.js +11 -1
- package/dist/PageHeaderTemplate/PageHeaderTemplate.styles.js.map +1 -1
- package/dist/PageHeaderTemplate/PageHeaderTemplate.utils.d.ts +11 -0
- package/dist/PageHeaderTemplate/PageHeaderTemplate.utils.js +88 -0
- package/dist/PageHeaderTemplate/PageHeaderTemplate.utils.js.map +1 -0
- package/dist/PageLayout/PageLayout.styles.js +16 -16
- package/dist/PageLayout/PageLayout.utils.d.ts +2 -0
- package/dist/PageLayout/PageLayout.utils.js +6 -0
- package/dist/PageLayout/PageLayout.utils.js.map +1 -1
- package/dist/PageTemplate/PageTemplate.js +6 -2
- package/dist/PageTemplate/PageTemplate.js.map +1 -1
- package/dist/PageTemplate/PageTemplate.styles.d.ts +5 -0
- package/dist/PageTemplate/PageTemplate.styles.js +24 -0
- package/dist/PageTemplate/PageTemplate.styles.js.map +1 -0
- package/dist/PageTemplate/PageTemplate.types.d.ts +1 -0
- package/dist/PageTemplate/PageTemplate.types.js.map +1 -1
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +2 -2
- package/dist/Pill/Pill.types.d.ts +3 -1
- package/dist/Pill/Pill.types.js.map +1 -1
- 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/Search/Search.types.d.ts +4 -2
- package/dist/Search/Search.types.js.map +1 -1
- package/dist/Section/Section.styles.js +7 -7
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.js +6 -3
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +9 -8
- package/dist/Select/Select.styles.js.map +1 -1
- package/dist/Select/Select.types.d.ts +9 -1
- package/dist/Select/Select.types.js.map +1 -1
- package/dist/Semantic/Semantic.d.ts +3 -7
- package/dist/Semantic/Semantic.js +14 -2
- package/dist/Semantic/Semantic.js.map +1 -1
- package/dist/Semantic/Semantic.styles.d.ts +3 -3
- package/dist/Semantic/Semantic.styles.js +11 -11
- package/dist/Semantic/Semantic.styles.js.map +1 -1
- package/dist/Semantic/Semantic.types.d.ts +5 -0
- package/dist/Semantic/Semantic.types.js.map +1 -1
- package/dist/SettingsPageTemplate/SettingsPageTemplate.d.ts +7 -0
- package/dist/SettingsPageTemplate/SettingsPageTemplate.js +34 -0
- package/dist/SettingsPageTemplate/SettingsPageTemplate.js.map +1 -0
- package/dist/SettingsPageTemplate/SettingsPageTemplate.types.d.ts +9 -0
- package/dist/SettingsPageTemplate/SettingsPageTemplate.types.js +2 -0
- package/dist/SettingsPageTemplate/SettingsPageTemplate.types.js.map +1 -0
- package/dist/Slider/Slider.js +2 -2
- package/dist/Slider/Slider.js.map +1 -1
- package/dist/Slider/Slider.styles.d.ts +2 -2
- package/dist/Slider/Slider.styles.js +9 -9
- package/dist/Slider/Slider.styles.js.map +1 -1
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/Spinner/Spinner.types.d.ts +2 -5
- package/dist/Spinner/Spinner.types.js.map +1 -1
- 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 +7 -7
- package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditor/TextEditor.types.d.ts +12 -9
- package/dist/TextEditor/TextEditor.types.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.js +25 -10
- package/dist/Thumbnail/Thumbnail.js.map +1 -1
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/Thumbnail/Thumbnail.types.d.ts +2 -3
- package/dist/Thumbnail/Thumbnail.types.js.map +1 -1
- package/dist/Thumbnail/ThumbnailCaption.js +2 -2
- package/dist/Thumbnail/ThumbnailCaption.js.map +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/TieredSelect/TieredSelect.types.d.ts +64 -40
- package/dist/TieredSelect/TieredSelect.types.js.map +1 -1
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Tile/Tile.types.d.ts +1 -1
- package/dist/Tile/Tile.types.js.map +1 -1
- 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/ToggleButton/ToggleButton.types.d.ts +1 -1
- package/dist/ToggleButton/ToggleButton.types.js.map +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/ToolLandingPageTemplate/ToolLandingPageTemplate.d.ts +5 -0
- package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.js +44 -0
- package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.js.map +1 -0
- package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.types.d.ts +7 -0
- package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.types.js +2 -0
- package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.types.js.map +1 -0
- package/dist/Tooltip/Tooltip.styles.js +2 -2
- package/dist/Tree/Tree.js +3 -3
- package/dist/Tree/Tree.js.map +1 -1
- package/dist/Tree/Tree.styles.d.ts +9 -3
- package/dist/Tree/Tree.styles.js +23 -15
- package/dist/Tree/Tree.styles.js.map +1 -1
- package/dist/Tree/Tree.types.d.ts +40 -19
- package/dist/Tree/Tree.types.js.map +1 -1
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.js +1 -1
- package/dist/Typography/Typography.js.map +1 -1
- package/dist/Typography/Typography.styles.d.ts +2 -1
- package/dist/Typography/Typography.styles.js +3 -3
- package/dist/Typography/Typography.styles.js.map +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_hooks/useCurrentMedia.d.ts +36 -0
- package/dist/_hooks/useCurrentMedia.js +73 -0
- package/dist/_hooks/useCurrentMedia.js.map +1 -0
- package/dist/_locales/en-AU.json +56 -56
- package/dist/_locales/en-CA.json +56 -56
- package/dist/_locales/en-GB.json +55 -55
- package/dist/_locales/es.json +2 -2
- package/dist/_locales/ja-JP.json +5 -5
- package/dist/_locales/pt-BR.json +1 -1
- package/dist/_locales/th-TH.json +1 -1
- 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 +68 -68
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
- package/dist/_typedoc/Button/Button.types.json +12 -12
- 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 +9 -9
- 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 +35 -35
- package/dist/_typedoc/Dropzone/Dropzone.types.json +53 -53
- package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
- package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +42 -42
- package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +30 -30
- package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +27 -27
- 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 +1015 -975
- 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 +54 -54
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +4 -4
- 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 +35 -35
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
- package/dist/_typedoc/PageLayout/PageLayout.types.json +28 -28
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +28 -28
- package/dist/_typedoc/Pill/Pill.types.json +4 -4
- package/dist/_typedoc/PillSelect/PillSelect.types.json +58 -48
- package/dist/_typedoc/Popover/Popover.types.json +14 -14
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
- 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 +22 -22
- package/dist/_typedoc/Section/Section.types.json +15 -15
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
- package/dist/_typedoc/Select/Select.types.json +78 -58
- 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 +11 -11
- package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +12 -12
- package/dist/_typedoc/Switch/Switch.types.json +3 -3
- package/dist/_typedoc/Table/Table.types.json +112 -102
- package/dist/_typedoc/Tabs/Tabs.types.json +19 -19
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +13 -13
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +23 -23
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +56 -56
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +44 -44
- package/dist/_typedoc/Tile/Tile.types.json +32 -32
- 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 +6 -6
- package/dist/_typedoc/Token/Token.types.json +4 -4
- 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 +110 -110
- 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/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { FlattenSimpleInterpolation } from 'styled-components';
|
|
2
2
|
import type { Intent, TypographyProps, Weight } from './Typography.types';
|
|
3
|
-
export interface StyledTypographyProps extends Omit<TypographyProps, 'color'> {
|
|
3
|
+
export interface StyledTypographyProps extends Omit<TypographyProps, 'color' | 'breakWord'> {
|
|
4
4
|
$color?: TypographyProps['color'];
|
|
5
|
+
$breakWord?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const typographyWeights: {
|
|
7
8
|
[key in Weight]: number;
|
|
@@ -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_16_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;
|
|
@@ -52,7 +52,7 @@ export var StyledTypography = /*#__PURE__*/styled.span.withConfig({
|
|
|
52
52
|
var weight = _ref4.weight;
|
|
53
53
|
return weight && typographyWeights[weight];
|
|
54
54
|
}, semiboldRules, function (_ref5) {
|
|
55
|
-
var breakWord = _ref5
|
|
56
|
-
return breakWord && "\n word-wrap: break-word;\n word-break: break-word;\n";
|
|
55
|
+
var $breakWord = _ref5.$breakWord;
|
|
56
|
+
return $breakWord && "\n word-wrap: break-word;\n word-break: break-word;\n";
|
|
57
57
|
});
|
|
58
58
|
//# sourceMappingURL=Typography.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.styles.js","names":["styled","css","colors","typographyWeights","regular","semibold","bold","typographyLineHeight","small","body","h1","h2","h3","label","typographyIntents","getTypographyIntent","intent","semiboldRules","StyledTypography","span","withConfig","displayName","componentId","_ref","_ref$intent","_ref2","_ref2$$color","$color","_ref3","_ref3$italic","italic","_ref4","weight","_ref5","breakWord"],"sources":["../../src/Typography/Typography.styles.ts"],"sourcesContent":["import type { FlattenSimpleInterpolation } from 'styled-components'\nimport styled, { css } from 'styled-components'\nimport { colors } from '../_styles/colors'\nimport type { Intent, TypographyProps, Weight } from './Typography.types'\n\nexport interface StyledTypographyProps
|
|
1
|
+
{"version":3,"file":"Typography.styles.js","names":["styled","css","colors","typographyWeights","regular","semibold","bold","typographyLineHeight","small","body","h1","h2","h3","label","typographyIntents","getTypographyIntent","intent","semiboldRules","StyledTypography","span","withConfig","displayName","componentId","_ref","_ref$intent","_ref2","_ref2$$color","$color","_ref3","_ref3$italic","italic","_ref4","weight","_ref5","$breakWord"],"sources":["../../src/Typography/Typography.styles.ts"],"sourcesContent":["import type { FlattenSimpleInterpolation } from 'styled-components'\nimport styled, { css } from 'styled-components'\nimport { colors } from '../_styles/colors'\nimport type { Intent, TypographyProps, Weight } from './Typography.types'\n\nexport interface StyledTypographyProps\n extends Omit<TypographyProps, 'color' | 'breakWord'> {\n $color?: TypographyProps['color']\n $breakWord?: boolean\n}\n\nexport const typographyWeights: {\n [key in Weight]: number\n} = {\n regular: 400,\n semibold: 600,\n bold: 700,\n}\n\nexport const typographyLineHeight: Record<Intent, number> = {\n small: 16,\n body: 20,\n h1: 32,\n h2: 28,\n h3: 24,\n label: 20,\n}\n\nconst body = css`\n font-family: inherit;\n font-size: 14px;\n font-weight: ${typographyWeights.regular};\n letter-spacing: 0.15px;\n line-height: ${typographyLineHeight.body}px;\n`\n\nconst h1 = css`\n font-family: inherit;\n font-size: 24px;\n font-weight: ${typographyWeights.bold};\n letter-spacing: 0.15px;\n line-height: ${typographyLineHeight.h1}px;\n`\n\nconst h2 = css`\n font-family: inherit;\n font-size: 20px;\n font-weight: ${typographyWeights.semibold};\n letter-spacing: 0.15px;\n line-height: ${typographyLineHeight.h2}px;\n`\n\nconst h3 = css`\n font-family: inherit;\n font-size: 16px;\n font-weight: ${typographyWeights.semibold};\n letter-spacing: 0.15px;\n line-height: ${typographyLineHeight.h3}px;\n`\n\nconst small = css`\n font-family: inherit;\n font-size: 12px;\n font-weight: ${typographyWeights.regular};\n letter-spacing: 0.25px;\n line-height: ${typographyLineHeight.small}px;\n`\n\nconst label = css`\n font-family: inherit;\n font-size: 14px;\n font-weight: ${typographyWeights.semibold};\n letter-spacing: 0.15px;\n line-height: ${typographyLineHeight.label}px;\n`\n\nconst typographyIntents: {\n [key in Intent]: FlattenSimpleInterpolation\n} = {\n body,\n h1,\n h2,\n h3,\n small,\n label,\n}\n\nexport function getTypographyIntent(intent: Intent) {\n return typographyIntents[intent]\n}\n\nexport const semiboldRules = () => {\n return css`\n & > strong,\n > b {\n font-weight: 600;\n }\n `\n}\n\nexport const StyledTypography = styled.span<StyledTypographyProps>`\n ${({ intent = 'body' }) => typographyIntents[intent]}\n color: ${({ $color = 'gray15' }) => colors[$color]};\n font-style: ${({ italic = false }) => (italic ? 'italic' : 'inherit')};\n font-weight: ${({ weight }) => weight && typographyWeights[weight]};\n ${semiboldRules}\n ${({ $breakWord }) =>\n $breakWord &&\n `\n word-wrap: break-word;\n word-break: break-word;\n`}\n em,\n i {\n font-style: italic;\n }\n`\n"],"mappings":"AACA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,MAAM,QAAQ,mBAAmB;AAS1C,OAAO,IAAMC,iBAEZ,GAAG;EACFC,OAAO,EAAE,GAAG;EACZC,QAAQ,EAAE,GAAG;EACbC,IAAI,EAAE;AACR,CAAC;AAED,OAAO,IAAMC,oBAA4C,GAAG;EAC1DC,KAAK,EAAE,EAAE;EACTC,IAAI,EAAE,EAAE;EACRC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,KAAK,EAAE;AACT,CAAC;AAED,IAAMJ,IAAI,gBAAGR,GAAG,oGAGCE,iBAAiB,CAACC,OAAO,EAEzBG,oBAAoB,CAACE,IAAI,CACzC;AAED,IAAMC,EAAE,gBAAGT,GAAG,oGAGGE,iBAAiB,CAACG,IAAI,EAEtBC,oBAAoB,CAACG,EAAE,CACvC;AAED,IAAMC,EAAE,gBAAGV,GAAG,oGAGGE,iBAAiB,CAACE,QAAQ,EAE1BE,oBAAoB,CAACI,EAAE,CACvC;AAED,IAAMC,EAAE,gBAAGX,GAAG,oGAGGE,iBAAiB,CAACE,QAAQ,EAE1BE,oBAAoB,CAACK,EAAE,CACvC;AAED,IAAMJ,KAAK,gBAAGP,GAAG,oGAGAE,iBAAiB,CAACC,OAAO,EAEzBG,oBAAoB,CAACC,KAAK,CAC1C;AAED,IAAMK,KAAK,gBAAGZ,GAAG,oGAGAE,iBAAiB,CAACE,QAAQ,EAE1BE,oBAAoB,CAACM,KAAK,CAC1C;AAED,IAAMC,iBAEL,GAAG;EACFL,IAAI,EAAJA,IAAI;EACJC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFJ,KAAK,EAALA,KAAK;EACLK,KAAK,EAALA;AACF,CAAC;AAED,OAAO,SAASE,mBAAmBA,CAACC,MAAc,EAAE;EAClD,OAAOF,iBAAiB,CAACE,MAAM,CAAC;AAClC;AAEA,OAAO,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAA,EAAS;EACjC,OAAOhB,GAAG;AAMZ,CAAC;AAED,OAAO,IAAMiB,gBAAgB,gBAAGlB,MAAM,CAACmB,IAAI,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,4FACvC,UAAAC,IAAA;EAAA,IAAAC,WAAA,GAAAD,IAAA,CAAGP,MAAM;IAANA,MAAM,GAAAQ,WAAA,cAAG,MAAM,GAAAA,WAAA;EAAA,OAAOV,iBAAiB,CAACE,MAAM,CAAC;AAAA,GAC3C,UAAAS,KAAA;EAAA,IAAAC,YAAA,GAAAD,KAAA,CAAGE,MAAM;IAANA,MAAM,GAAAD,YAAA,cAAG,QAAQ,GAAAA,YAAA;EAAA,OAAOxB,MAAM,CAACyB,MAAM,CAAC;AAAA,GACpC,UAAAC,KAAA;EAAA,IAAAC,YAAA,GAAAD,KAAA,CAAGE,MAAM;IAANA,MAAM,GAAAD,YAAA,cAAG,KAAK,GAAAA,YAAA;EAAA,OAAQC,MAAM,GAAG,QAAQ,GAAG,SAAS;AAAA,CAAC,EACtD,UAAAC,KAAA;EAAA,IAAGC,MAAM,GAAAD,KAAA,CAANC,MAAM;EAAA,OAAOA,MAAM,IAAI7B,iBAAiB,CAAC6B,MAAM,CAAC;AAAA,GAChEf,aAAa,EACb,UAAAgB,KAAA;EAAA,IAAGC,UAAU,GAAAD,KAAA,CAAVC,UAAU;EAAA,OACbA,UAAU,6DAIb;AAAA,EAKA"}
|
|
@@ -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_16_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_16_0__sc-p4v7d-1"
|
|
13
13
|
})(["", " color:", ";"], getTypographyIntent('body'), colors.blue50);
|
|
14
14
|
function BodyCell() {
|
|
15
15
|
return /*#__PURE__*/React.createElement(StyledBodyCell, {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare type BreakpointName = 'mobile' | 'tabletPortrait' | 'tabletLandscape' | 'desktop';
|
|
2
|
+
declare type MediaValueConfig = Record<BreakpointName, number>;
|
|
3
|
+
/**
|
|
4
|
+
* Minimum size for that breakpoint to be active
|
|
5
|
+
*/
|
|
6
|
+
export declare const breakpointsMinSize: MediaValueConfig;
|
|
7
|
+
/**
|
|
8
|
+
* Maximum size for that breakpoint to be active
|
|
9
|
+
*/
|
|
10
|
+
export declare const breakpointsMaxSize: MediaValueConfig;
|
|
11
|
+
declare type BreakpointMediaQueryList = Record<BreakpointName, string>;
|
|
12
|
+
export declare const defaultMediaConfig: {
|
|
13
|
+
mobile: string;
|
|
14
|
+
tabletPortrait: string;
|
|
15
|
+
tabletLandscape: string;
|
|
16
|
+
desktop: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Point in time check if matching a specific breakpoint
|
|
20
|
+
*/
|
|
21
|
+
export declare function getCurrentMedia(config?: BreakpointMediaQueryList): {
|
|
22
|
+
isMobile: boolean;
|
|
23
|
+
isTabletPortrait: boolean;
|
|
24
|
+
isTabletLandscape: boolean;
|
|
25
|
+
isDesktop: boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Reactive check if matching a specific breakpoint
|
|
29
|
+
*/
|
|
30
|
+
export declare function useCurrentMedia(): {
|
|
31
|
+
isMobile: boolean;
|
|
32
|
+
isTabletPortrait: boolean;
|
|
33
|
+
isTabletLandscape: boolean;
|
|
34
|
+
isDesktop: boolean;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
6
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
+
/* eslint-disable no-magic-numbers */
|
|
8
|
+
import React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* Minimum size for that breakpoint to be active
|
|
11
|
+
*/
|
|
12
|
+
export var breakpointsMinSize = {
|
|
13
|
+
mobile: 0,
|
|
14
|
+
tabletPortrait: 768,
|
|
15
|
+
tabletLandscape: 1024,
|
|
16
|
+
desktop: 1440
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Maximum size for that breakpoint to be active
|
|
21
|
+
*/
|
|
22
|
+
export var breakpointsMaxSize = {
|
|
23
|
+
mobile: breakpointsMinSize.tabletPortrait - 1,
|
|
24
|
+
tabletPortrait: breakpointsMinSize.tabletLandscape - 1,
|
|
25
|
+
tabletLandscape: breakpointsMinSize.desktop - 1,
|
|
26
|
+
// setting to Infinity messes with matchMedia queries
|
|
27
|
+
// getMediaQueryString would have to check and adjust the string
|
|
28
|
+
desktop: breakpointsMinSize.desktop + 10000
|
|
29
|
+
};
|
|
30
|
+
export var defaultMediaConfig = {
|
|
31
|
+
mobile: "(width <= ".concat(breakpointsMaxSize.mobile, "px)"),
|
|
32
|
+
tabletPortrait: "(".concat(breakpointsMinSize.tabletPortrait, "px <= width <= ").concat(breakpointsMaxSize.tabletPortrait, "px)"),
|
|
33
|
+
tabletLandscape: "(".concat(breakpointsMinSize.tabletLandscape, "px <= width <= ").concat(breakpointsMaxSize.tabletLandscape, "px)"),
|
|
34
|
+
desktop: "(min-width: ".concat(breakpointsMinSize.desktop, "px)")
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Point in time check if matching a specific breakpoint
|
|
39
|
+
*/
|
|
40
|
+
export function getCurrentMedia() {
|
|
41
|
+
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultMediaConfig;
|
|
42
|
+
var isMobile = window.matchMedia(config.mobile).matches;
|
|
43
|
+
var isTabletPortrait = window.matchMedia(config.tabletPortrait).matches;
|
|
44
|
+
var isTabletLandscape = window.matchMedia(config.tabletLandscape).matches;
|
|
45
|
+
var isDesktop = window.matchMedia(config.desktop).matches;
|
|
46
|
+
return {
|
|
47
|
+
isMobile: isMobile,
|
|
48
|
+
isTabletPortrait: isTabletPortrait,
|
|
49
|
+
isTabletLandscape: isTabletLandscape,
|
|
50
|
+
isDesktop: isDesktop
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Reactive check if matching a specific breakpoint
|
|
56
|
+
*/
|
|
57
|
+
export function useCurrentMedia() {
|
|
58
|
+
var _React$useState = React.useState(getCurrentMedia()),
|
|
59
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
60
|
+
currentMedia = _React$useState2[0],
|
|
61
|
+
setCurrentMedia = _React$useState2[1];
|
|
62
|
+
React.useEffect(function () {
|
|
63
|
+
function handleResize() {
|
|
64
|
+
setCurrentMedia(getCurrentMedia());
|
|
65
|
+
}
|
|
66
|
+
window.addEventListener('resize', handleResize);
|
|
67
|
+
return function () {
|
|
68
|
+
return window.removeEventListener('resize', handleResize);
|
|
69
|
+
};
|
|
70
|
+
}, []);
|
|
71
|
+
return currentMedia;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=useCurrentMedia.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCurrentMedia.js","names":["React","breakpointsMinSize","mobile","tabletPortrait","tabletLandscape","desktop","breakpointsMaxSize","defaultMediaConfig","concat","getCurrentMedia","config","arguments","length","undefined","isMobile","window","matchMedia","matches","isTabletPortrait","isTabletLandscape","isDesktop","useCurrentMedia","_React$useState","useState","_React$useState2","_slicedToArray","currentMedia","setCurrentMedia","useEffect","handleResize","addEventListener","removeEventListener"],"sources":["../../src/_hooks/useCurrentMedia.ts"],"sourcesContent":["/* eslint-disable no-magic-numbers */\nimport React from 'react'\n\nexport type BreakpointName =\n | 'mobile'\n | 'tabletPortrait'\n | 'tabletLandscape'\n | 'desktop'\n\ntype MediaValueConfig = Record<BreakpointName, number>\n\n/**\n * Minimum size for that breakpoint to be active\n */\nexport const breakpointsMinSize: MediaValueConfig = {\n mobile: 0,\n tabletPortrait: 768,\n tabletLandscape: 1024,\n desktop: 1440,\n}\n\n/**\n * Maximum size for that breakpoint to be active\n */\nexport const breakpointsMaxSize: MediaValueConfig = {\n mobile: breakpointsMinSize.tabletPortrait - 1,\n tabletPortrait: breakpointsMinSize.tabletLandscape - 1,\n tabletLandscape: breakpointsMinSize.desktop - 1,\n // setting to Infinity messes with matchMedia queries\n // getMediaQueryString would have to check and adjust the string\n desktop: breakpointsMinSize.desktop + 10000,\n}\n\ntype BreakpointMediaQueryList = Record<BreakpointName, string>\n\nexport const defaultMediaConfig = {\n mobile: `(width <= ${breakpointsMaxSize.mobile}px)`,\n tabletPortrait: `(${breakpointsMinSize.tabletPortrait}px <= width <= ${breakpointsMaxSize.tabletPortrait}px)`,\n tabletLandscape: `(${breakpointsMinSize.tabletLandscape}px <= width <= ${breakpointsMaxSize.tabletLandscape}px)`,\n desktop: `(min-width: ${breakpointsMinSize.desktop}px)`,\n}\n\n/**\n * Point in time check if matching a specific breakpoint\n */\nexport function getCurrentMedia(\n config: BreakpointMediaQueryList = defaultMediaConfig\n) {\n const isMobile = window.matchMedia(config.mobile).matches\n const isTabletPortrait = window.matchMedia(config.tabletPortrait).matches\n const isTabletLandscape = window.matchMedia(config.tabletLandscape).matches\n const isDesktop = window.matchMedia(config.desktop).matches\n\n return {\n isMobile,\n isTabletPortrait,\n isTabletLandscape,\n isDesktop,\n }\n}\n\n/**\n * Reactive check if matching a specific breakpoint\n */\nexport function useCurrentMedia() {\n const [currentMedia, setCurrentMedia] = React.useState(getCurrentMedia())\n\n React.useEffect(() => {\n function handleResize() {\n setCurrentMedia(getCurrentMedia())\n }\n\n window.addEventListener('resize', handleResize)\n return () => window.removeEventListener('resize', handleResize)\n }, [])\n\n return currentMedia\n}\n"],"mappings":";;;;;;AAAA;AACA,OAAOA,KAAK,MAAM,OAAO;AAUzB;AACA;AACA;AACA,OAAO,IAAMC,kBAAoC,GAAG;EAClDC,MAAM,EAAE,CAAC;EACTC,cAAc,EAAE,GAAG;EACnBC,eAAe,EAAE,IAAI;EACrBC,OAAO,EAAE;AACX,CAAC;;AAED;AACA;AACA;AACA,OAAO,IAAMC,kBAAoC,GAAG;EAClDJ,MAAM,EAAED,kBAAkB,CAACE,cAAc,GAAG,CAAC;EAC7CA,cAAc,EAAEF,kBAAkB,CAACG,eAAe,GAAG,CAAC;EACtDA,eAAe,EAAEH,kBAAkB,CAACI,OAAO,GAAG,CAAC;EAC/C;EACA;EACAA,OAAO,EAAEJ,kBAAkB,CAACI,OAAO,GAAG;AACxC,CAAC;AAID,OAAO,IAAME,kBAAkB,GAAG;EAChCL,MAAM,eAAAM,MAAA,CAAeF,kBAAkB,CAACJ,MAAM,QAAK;EACnDC,cAAc,MAAAK,MAAA,CAAMP,kBAAkB,CAACE,cAAc,qBAAAK,MAAA,CAAkBF,kBAAkB,CAACH,cAAc,QAAK;EAC7GC,eAAe,MAAAI,MAAA,CAAMP,kBAAkB,CAACG,eAAe,qBAAAI,MAAA,CAAkBF,kBAAkB,CAACF,eAAe,QAAK;EAChHC,OAAO,iBAAAG,MAAA,CAAiBP,kBAAkB,CAACI,OAAO;AACpD,CAAC;;AAED;AACA;AACA;AACA,OAAO,SAASI,eAAeA,CAAA,EAE7B;EAAA,IADAC,MAAgC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGJ,kBAAkB;EAErD,IAAMO,QAAQ,GAAGC,MAAM,CAACC,UAAU,CAACN,MAAM,CAACR,MAAM,CAAC,CAACe,OAAO;EACzD,IAAMC,gBAAgB,GAAGH,MAAM,CAACC,UAAU,CAACN,MAAM,CAACP,cAAc,CAAC,CAACc,OAAO;EACzE,IAAME,iBAAiB,GAAGJ,MAAM,CAACC,UAAU,CAACN,MAAM,CAACN,eAAe,CAAC,CAACa,OAAO;EAC3E,IAAMG,SAAS,GAAGL,MAAM,CAACC,UAAU,CAACN,MAAM,CAACL,OAAO,CAAC,CAACY,OAAO;EAE3D,OAAO;IACLH,QAAQ,EAARA,QAAQ;IACRI,gBAAgB,EAAhBA,gBAAgB;IAChBC,iBAAiB,EAAjBA,iBAAiB;IACjBC,SAAS,EAATA;EACF,CAAC;AACH;;AAEA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAAA,EAAG;EAChC,IAAAC,eAAA,GAAwCtB,KAAK,CAACuB,QAAQ,CAACd,eAAe,CAAC,CAAC,CAAC;IAAAe,gBAAA,GAAAC,cAAA,CAAAH,eAAA;IAAlEI,YAAY,GAAAF,gBAAA;IAAEG,eAAe,GAAAH,gBAAA;EAEpCxB,KAAK,CAAC4B,SAAS,CAAC,YAAM;IACpB,SAASC,YAAYA,CAAA,EAAG;MACtBF,eAAe,CAAClB,eAAe,CAAC,CAAC,CAAC;IACpC;IAEAM,MAAM,CAACe,gBAAgB,CAAC,QAAQ,EAAED,YAAY,CAAC;IAC/C,OAAO;MAAA,OAAMd,MAAM,CAACgB,mBAAmB,CAAC,QAAQ,EAAEF,YAAY,CAAC;IAAA;EACjE,CAAC,EAAE,EAAE,CAAC;EAEN,OAAOH,YAAY;AACrB"}
|
package/dist/_locales/en-AU.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"core" : {
|
|
3
3
|
"banner" : {
|
|
4
|
-
"dismissAlert" : "Dismiss
|
|
4
|
+
"dismissAlert" : "Dismiss alert"
|
|
5
5
|
},
|
|
6
6
|
"breadcrumbs" : {
|
|
7
7
|
"label" : "Breadcrumb"
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"forms" : "Forms",
|
|
17
17
|
"photos" : "Photos",
|
|
18
18
|
"selectAlbum" : "Select album",
|
|
19
|
-
"selectAnAlbum" : "Select an
|
|
19
|
+
"selectAnAlbum" : "Select an album",
|
|
20
20
|
"selectArea" : "Select area",
|
|
21
|
-
"selectAnArea" : "Select an
|
|
21
|
+
"selectAnArea" : "Select an area",
|
|
22
22
|
"selectDiscipline" : "Select discipline",
|
|
23
|
-
"selectADiscipline" : "Select a
|
|
23
|
+
"selectADiscipline" : "Select a discipline",
|
|
24
24
|
"selectSet" : "Select set",
|
|
25
|
-
"selectASet" : "Select a
|
|
25
|
+
"selectASet" : "Select a set",
|
|
26
26
|
"selectTemplate" : "Select template",
|
|
27
|
-
"selectATemplate" : "Select a
|
|
27
|
+
"selectATemplate" : "Select a template"
|
|
28
28
|
},
|
|
29
29
|
"emails" : {
|
|
30
30
|
"emailSendErrorTitle" : "Sorry, we couldn't send this message.",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"emailContentDisclaimer" : "Note: The general information about “{{title}}” will be included in the body of this email.",
|
|
34
34
|
"recipientSelectPlaceholder" : "Type to search people",
|
|
35
35
|
"emailRecipientRequiredError" : "Enter recipient to send.",
|
|
36
|
-
"emailSubjectRequiredError" : "Enter
|
|
37
|
-
"goToAllEmails" : "All
|
|
36
|
+
"emailSubjectRequiredError" : "Enter subject to send.",
|
|
37
|
+
"goToAllEmails" : "All emails",
|
|
38
38
|
"sendEmail" : "Send",
|
|
39
|
-
"replyAll" : "Reply
|
|
40
|
-
"downloadAll" : "Download
|
|
39
|
+
"replyAll" : "Reply all",
|
|
40
|
+
"downloadAll" : "Download all",
|
|
41
41
|
"showAll" : "Show all",
|
|
42
42
|
"showLess" : "Show less",
|
|
43
|
-
"composeEmailPageTitle" : "Compose
|
|
43
|
+
"composeEmailPageTitle" : "Compose new email",
|
|
44
44
|
"emailSentMessage" : "The email was successfully sent.",
|
|
45
45
|
"from" : "From",
|
|
46
46
|
"to" : "To",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"privateEmailDisclaimer" : "Private emails are only shown to recipients and the sender of the email.",
|
|
52
52
|
"privateLabel" : "Private",
|
|
53
53
|
"settingsLink" : "Settings",
|
|
54
|
-
"composeNewEmail" : "Compose
|
|
54
|
+
"composeNewEmail" : "Compose email",
|
|
55
55
|
"startNewCommunication" : "To initiate a new communication thread associated with this item, send an email to",
|
|
56
|
-
"emptyStateTitle" : "Send an
|
|
56
|
+
"emptyStateTitle" : "Send an email to get started",
|
|
57
57
|
"emptyStateDescription" : "When you and your team send emails about this item, you can reference them here.",
|
|
58
58
|
"reply" : "Reply",
|
|
59
59
|
"cancel" : "Cancel",
|
|
@@ -63,43 +63,43 @@
|
|
|
63
63
|
"distributionSelect" : {
|
|
64
64
|
"noCompany" : "No company",
|
|
65
65
|
"peopleCount" : "{{count}} people",
|
|
66
|
-
"distributionGroups" : "Distribution
|
|
66
|
+
"distributionGroups" : "Distribution groups",
|
|
67
67
|
"people" : "People"
|
|
68
68
|
},
|
|
69
69
|
"relatedItems" : {
|
|
70
70
|
"cancel" : "Cancel",
|
|
71
71
|
"close" : "Close",
|
|
72
72
|
"date" : "Date",
|
|
73
|
-
"itemType" : "Item
|
|
73
|
+
"itemType" : "Item type",
|
|
74
74
|
"itemTypeGroupLabel" : {
|
|
75
75
|
"dailyLog" : "Site Diary",
|
|
76
|
-
"prostoreFile" : "Attach
|
|
76
|
+
"prostoreFile" : "Attach files"
|
|
77
77
|
},
|
|
78
|
-
"itemName" : "Item
|
|
78
|
+
"itemName" : "Item name",
|
|
79
79
|
"loading" : "Loading",
|
|
80
80
|
"notes" : "Notes",
|
|
81
81
|
"notesPlaceholder" : "Optional explanation of why this item is related",
|
|
82
|
-
"newItem" : "Link
|
|
82
|
+
"newItem" : "Link related item",
|
|
83
83
|
"noRelatedItems" : {
|
|
84
|
-
"title" : "Link
|
|
84
|
+
"title" : "Link related items to get started",
|
|
85
85
|
"description" : "Linking items to this {{itemName}} makes it easier for you and your team to find relevant information throughout Procore."
|
|
86
86
|
},
|
|
87
87
|
"noItems" : {
|
|
88
|
-
"title" : "There
|
|
88
|
+
"title" : "There are no items to display",
|
|
89
89
|
"description" : "Create items in your project to add them as related items here."
|
|
90
90
|
},
|
|
91
91
|
"noResultsSearchQuery" : {
|
|
92
|
-
"title" : "No
|
|
92
|
+
"title" : "No items match your search",
|
|
93
93
|
"description" : "Check your spelling and filter options, or search for a different keyword."
|
|
94
94
|
},
|
|
95
95
|
"noResultsServerError" : {
|
|
96
|
-
"title" : "Something
|
|
96
|
+
"title" : "Something went wrong",
|
|
97
97
|
"description" : "Please check your internet connection and try again.",
|
|
98
|
-
"action" : "Try
|
|
98
|
+
"action" : "Try again"
|
|
99
99
|
},
|
|
100
|
-
"panelTitle" : "Link
|
|
100
|
+
"panelTitle" : "Link related item",
|
|
101
101
|
"search" : "Search",
|
|
102
|
-
"searchItemType" : "Search
|
|
102
|
+
"searchItemType" : "Search item type",
|
|
103
103
|
"submit" : "Link",
|
|
104
104
|
"toast" : {
|
|
105
105
|
"itemAdded" : "The related item was successfully linked.",
|
|
@@ -120,26 +120,26 @@
|
|
|
120
120
|
"emptyState" : {
|
|
121
121
|
"noFilteredResults" : {
|
|
122
122
|
"description" : "Check your spelling and filter options, or search for a different keyword.",
|
|
123
|
-
"title" : "No
|
|
123
|
+
"title" : "No items match your search"
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
"exporting" : "Exporting...",
|
|
127
127
|
"filters" : {
|
|
128
128
|
"filters" : "Filters",
|
|
129
|
-
"moreFilters" : "More
|
|
130
|
-
"clearAllFilters" : "Clear
|
|
129
|
+
"moreFilters" : "More filters",
|
|
130
|
+
"clearAllFilters" : "Clear all filters"
|
|
131
131
|
},
|
|
132
|
-
"grandTotals" : "Grand
|
|
132
|
+
"grandTotals" : "Grand totals",
|
|
133
133
|
"search" : "Search",
|
|
134
134
|
"subtotals" : "Subtotals",
|
|
135
135
|
"tableSettings" : {
|
|
136
|
-
"configureColumns" : "Configure
|
|
137
|
-
"resetToDefault" : "Reset
|
|
138
|
-
"rowHeight" : "Row
|
|
136
|
+
"configureColumns" : "Configure columns",
|
|
137
|
+
"resetToDefault" : "Reset to default",
|
|
138
|
+
"rowHeight" : "Row height",
|
|
139
139
|
"small" : "Small",
|
|
140
140
|
"medium" : "Medium",
|
|
141
141
|
"large" : "Large",
|
|
142
|
-
"tableSettings" : "Table
|
|
142
|
+
"tableSettings" : "Table settings"
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
"dateInput" : {
|
|
@@ -168,15 +168,15 @@
|
|
|
168
168
|
},
|
|
169
169
|
"dropdown" : {
|
|
170
170
|
"search" : "Search",
|
|
171
|
-
"moreOptions" : "More
|
|
171
|
+
"moreOptions" : "More options",
|
|
172
172
|
"loading" : "Loading"
|
|
173
173
|
},
|
|
174
174
|
"dropzone" : {
|
|
175
175
|
"uploadFiles" : {
|
|
176
|
-
"one" : "Upload
|
|
177
|
-
"other" : "Upload
|
|
176
|
+
"one" : "Upload file",
|
|
177
|
+
"other" : "Upload files"
|
|
178
178
|
},
|
|
179
|
-
"dragAndDrop" : "or
|
|
179
|
+
"dragAndDrop" : "or drag & drop",
|
|
180
180
|
"incorrectFileTypeMessage" : {
|
|
181
181
|
"one" : "Sorry - that file type is not allowed.",
|
|
182
182
|
"other" : "Sorry, some of those file types are not allowed."
|
|
@@ -186,9 +186,9 @@
|
|
|
186
186
|
"one" : "Sorry, only {{count}} file can be attached.",
|
|
187
187
|
"other" : "Sorry, only {{count}} files can be attached."
|
|
188
188
|
},
|
|
189
|
-
"hideDetails" : "Hide
|
|
190
|
-
"showDetails" : "Show
|
|
191
|
-
"errorTitle" : "We
|
|
189
|
+
"hideDetails" : "Hide details",
|
|
190
|
+
"showDetails" : "Show details",
|
|
191
|
+
"errorTitle" : "We couldn't upload some of your files",
|
|
192
192
|
"oneFileAtATimeError" : "Sorry, you can only attach one file at a time.",
|
|
193
193
|
"multipleErrorsMessage" : "Sorry, some of your items could not be uploaded due to multiple errors.",
|
|
194
194
|
"maxFileSizeErrorGroup" : "Max file size ({{sizeInMegabytes}}mb) exceeded",
|
|
@@ -200,8 +200,8 @@
|
|
|
200
200
|
"standaloneMinFileSizeError" : "Sorry, we couldn't upload your files because one or multiple files doesn't meet the minimum file size of {{sizeInMegabytes}}mb.",
|
|
201
201
|
"standaloneMaxFileSizeError" : "Sorry, we couldn't upload your files because one or multiple files doesn't meet the maximum file size of {{sizeInMegabytes}}mb.",
|
|
202
202
|
"uploadTotalProgress" : {
|
|
203
|
-
"withFailed" : "Total
|
|
204
|
-
"withoutFailed" : "Total
|
|
203
|
+
"withFailed" : "Total progress: {{totalProgress}}%. Uploaded {{uploaded}} of {{total}}. Failed {{failed}}.",
|
|
204
|
+
"withoutFailed" : "Total progress: {{totalProgress}}%. Uploaded {{uploaded}} of {{total}}."
|
|
205
205
|
}
|
|
206
206
|
},
|
|
207
207
|
"modal" : {
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
},
|
|
213
213
|
"multiSelect" : {
|
|
214
214
|
"clearAll" : "Delete field",
|
|
215
|
-
"selectValues" : "Select
|
|
215
|
+
"selectValues" : "Select values",
|
|
216
216
|
"noResults" : "No results"
|
|
217
217
|
},
|
|
218
218
|
"tearsheet" : {
|
|
@@ -222,8 +222,8 @@
|
|
|
222
222
|
},
|
|
223
223
|
"fileAttacher" : {
|
|
224
224
|
"attachFiles" : {
|
|
225
|
-
"one" : "Attach
|
|
226
|
-
"other" : "Attach
|
|
225
|
+
"one" : "Attach file",
|
|
226
|
+
"other" : "Attach files"
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
"fileToken" : {
|
|
@@ -249,13 +249,13 @@
|
|
|
249
249
|
"cancelAction" : "Cancel",
|
|
250
250
|
"attachAction" : "Attach",
|
|
251
251
|
"maxNumberOfFilesSelected" : "Maximum number of files selected",
|
|
252
|
-
"modalTitle" : "Attach
|
|
252
|
+
"modalTitle" : "Attach files",
|
|
253
253
|
"filesPendingUpload" : "One or more files have not finished uploading.",
|
|
254
254
|
"noSelectedItems" : "Please select a file.",
|
|
255
255
|
"emptySearchResults" : "No results found",
|
|
256
256
|
"noItems" : "No items",
|
|
257
257
|
"searchPlaceholder" : "Search",
|
|
258
|
-
"uploadFailed" : "Upload
|
|
258
|
+
"uploadFailed" : "Upload failed",
|
|
259
259
|
"supportedFileTypes" : "Supported file types"
|
|
260
260
|
},
|
|
261
261
|
"form" : {
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"fixErrorsToUpdate" : "Please fix the errors below and try updating again."
|
|
276
276
|
},
|
|
277
277
|
"field" : {
|
|
278
|
-
"tooltipHelp" : "More
|
|
278
|
+
"tooltipHelp" : "More information"
|
|
279
279
|
}
|
|
280
280
|
},
|
|
281
281
|
"menu" : {
|
|
@@ -317,15 +317,15 @@
|
|
|
317
317
|
}
|
|
318
318
|
},
|
|
319
319
|
"fileList" : {
|
|
320
|
-
"downloadAll" : "Download
|
|
320
|
+
"downloadAll" : "Download all",
|
|
321
321
|
"download" : "Download",
|
|
322
|
-
"noPreview" : "No
|
|
322
|
+
"noPreview" : "No preview available"
|
|
323
323
|
},
|
|
324
324
|
"tieredSelect" : {
|
|
325
325
|
"emptyMessage" : "No locations.",
|
|
326
326
|
"goToTier" : "Go to sub menu",
|
|
327
327
|
"placeholder" : "Select an item",
|
|
328
|
-
"quickCreateActionLabel" : "Create
|
|
328
|
+
"quickCreateActionLabel" : "Create new location",
|
|
329
329
|
"quickCreateCancelLabel" : "Cancel",
|
|
330
330
|
"quickCreateCreateLabel" : "Create",
|
|
331
331
|
"quickCreatePlaceholder" : "Add location",
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
"spinnerLabel" : "Loading"
|
|
335
335
|
},
|
|
336
336
|
"tieredDropdown" : {
|
|
337
|
-
"emptyMessage" : "No
|
|
337
|
+
"emptyMessage" : "No items.",
|
|
338
338
|
"searchEmptyMessage" : "No results.",
|
|
339
339
|
"searchPlaceholder" : "Search",
|
|
340
340
|
"spinnerLabel" : "Loading"
|
|
@@ -343,18 +343,18 @@
|
|
|
343
343
|
"remove" : "Remove selection"
|
|
344
344
|
},
|
|
345
345
|
"toolHeader" : {
|
|
346
|
-
"settingsAction" : "Configure
|
|
346
|
+
"settingsAction" : "Configure settings"
|
|
347
347
|
},
|
|
348
348
|
"fileSelect" : {
|
|
349
|
-
"localFilesSource" : "My
|
|
350
|
-
"uploadFailed" : "Upload
|
|
349
|
+
"localFilesSource" : "My computer",
|
|
350
|
+
"uploadFailed" : "Upload failed",
|
|
351
351
|
"maxNumberOfFilesSelected" : "Maximum number of files selected"
|
|
352
352
|
},
|
|
353
353
|
"required" : {
|
|
354
354
|
"requiredFields" : "Required fields"
|
|
355
355
|
},
|
|
356
356
|
"avatarStack" : {
|
|
357
|
-
"viewAll" : "View
|
|
357
|
+
"viewAll" : "View all",
|
|
358
358
|
"close" : "Close"
|
|
359
359
|
},
|
|
360
360
|
"panel" : {
|