@procore/core-react 12.21.2 → 12.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -8
- package/dist/@types/global.d.js.map +1 -1
- package/dist/AnchorNavigation/AnchorNavigation.styles.d.ts +6 -5
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.d.ts +7 -6
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.styles.d.ts +1677 -13
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.d.ts +3 -2
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/BadgePill/BadgePill.d.ts +3 -0
- package/dist/BadgePill/BadgePill.js +25 -0
- package/dist/BadgePill/BadgePill.js.map +1 -0
- package/dist/BadgePill/BadgePill.styles.d.ts +12 -0
- package/dist/BadgePill/BadgePill.styles.js +33 -0
- package/dist/BadgePill/BadgePill.styles.js.map +1 -0
- package/dist/BadgePill/BadgePill.types.d.ts +50 -0
- package/dist/BadgePill/BadgePill.types.js +2 -0
- package/dist/BadgePill/BadgePill.types.js.map +1 -0
- package/dist/BadgePill/index.d.ts +2 -0
- package/dist/BadgePill/index.js +2 -0
- package/dist/BadgePill/index.js.map +1 -0
- package/dist/Banner/Banner.js +1 -1
- package/dist/Banner/Banner.js.map +1 -1
- package/dist/Banner/Banner.styles.d.ts +22 -13
- package/dist/Banner/Banner.styles.js +12 -12
- package/dist/Banner/Banner.styles.js.map +1 -1
- package/dist/Box/Box.js +1 -1
- package/dist/Box/Box.js.map +1 -1
- package/dist/Box/Box.styles.d.ts +2 -1
- package/dist/Box/Box.styles.js +3 -3
- package/dist/Box/Box.styles.js.map +1 -1
- package/dist/Box/Box.types.d.ts +1 -1
- package/dist/Box/Box.types.js.map +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.d.ts +5 -4
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
- package/dist/Button/Button.styles.d.ts +8 -6
- package/dist/Button/Button.styles.js +5 -5
- package/dist/Calendar/Calendar.styles.d.ts +15 -9
- package/dist/Calendar/Calendar.styles.js +8 -8
- package/dist/Card/Card.styles.d.ts +3 -2
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.d.ts +11 -10
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/Checkbox/CheckboxTooltip.js +1 -1
- package/dist/ContactItem/ContactItem.js +2 -0
- package/dist/ContactItem/ContactItem.js.map +1 -1
- package/dist/ContactItem/ContactItem.styles.d.ts +18 -7
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.d.ts +6 -2
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.js +6 -6
- package/dist/DateInput/DateInput.js.map +1 -1
- package/dist/DateInput/DateInput.styles.d.ts +20 -13
- package/dist/DateInput/DateInput.styles.js +21 -23
- package/dist/DateInput/DateInput.styles.js.map +1 -1
- package/dist/DateSelect/DateSelect.js +2 -2
- package/dist/DateSelect/DateSelect.js.map +1 -1
- package/dist/DetailPage/DetailPage.styles.d.ts +13 -7
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.styles.d.ts +10 -4
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/DropdownFlyout/DropdownFlyout.js +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.js.map +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.styles.d.ts +5 -4
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/DropdownFlyout/DropdownFlyout.types.d.ts +4 -1
- package/dist/DropdownFlyout/DropdownFlyout.types.js.map +1 -1
- package/dist/Dropzone/Dropzone.d.ts +3 -1
- package/dist/Dropzone/Dropzone.js +5 -5
- package/dist/Dropzone/Dropzone.js.map +1 -1
- package/dist/Dropzone/Dropzone.styles.d.ts +24 -16
- package/dist/Dropzone/Dropzone.styles.js +22 -22
- package/dist/Dropzone/Dropzone.styles.js.map +1 -1
- package/dist/EmptyState/EmptyState.js +1 -1
- package/dist/EmptyState/EmptyState.js.map +1 -1
- package/dist/EmptyState/EmptyState.styles.d.ts +8 -7
- package/dist/EmptyState/EmptyState.styles.js +6 -6
- package/dist/Field/Field.styles.d.ts +4 -3
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.styles.d.ts +8 -4
- package/dist/FileList/FileList.styles.js +4 -4
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.d.ts +18 -10
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.d.ts +5 -3
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
- package/dist/FileSelect/FileSelect.d.ts +3 -3
- package/dist/FileSelect/FileSelect.js +4 -4
- package/dist/FileSelect/FileSelect.js.map +1 -1
- package/dist/FileSelect/FileSelect.styles.d.ts +4 -2
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.d.ts +7 -5
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
- package/dist/FileSelect/FileTokenList/FileTokenList.styles.d.ts +4 -2
- package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
- package/dist/FileSelect/GridSource/GridSource.styles.d.ts +11 -9
- package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
- package/dist/FileSelect/LocalSource/LocalSource.styles.d.ts +10 -4
- package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
- package/dist/FileSelect/SourceItem/SourceItem.styles.d.ts +5 -4
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- package/dist/FileSelect/ThumbnailList/ThumbnailList.js +1 -1
- package/dist/FileSelect/ThumbnailList/ThumbnailList.js.map +1 -1
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +18 -8
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
- package/dist/FileSelect/TreeSource/TreeSource.styles.d.ts +2 -1
- package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
- package/dist/FileToken/FileToken.styles.d.ts +6 -5
- package/dist/FileToken/FileToken.styles.js +4 -4
- package/dist/FilterToken/FilterToken.styles.d.ts +8 -7
- package/dist/FilterToken/FilterToken.styles.js +5 -5
- package/dist/FlexList/FlexList.styles.d.ts +4 -2
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.d.ts +2 -1
- package/dist/Form/Form.js.map +1 -1
- package/dist/Form/Form.styles.d.ts +48 -25
- package/dist/Form/Form.styles.js +18 -18
- package/dist/Form/Form.styles.js.map +1 -1
- package/dist/Form/Form.types.d.ts +1 -1
- package/dist/Form/Form.types.js.map +1 -1
- package/dist/Form/StyledFormikForm.styles.d.ts +7 -3
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.d.ts +5 -2
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
- package/dist/Grid/Grid.styles.d.ts +5 -4
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.js +1 -1
- package/dist/GroupSelect/GroupSelect.js.map +1 -1
- package/dist/GroupSelect/GroupSelect.styles.d.ts +4 -2
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.js +5 -1
- package/dist/Input/Input.js.map +1 -1
- package/dist/Input/Input.styles.d.ts +8 -8
- package/dist/Input/Input.styles.js +5 -5
- package/dist/Input/Input.styles.js.map +1 -1
- package/dist/Link/Link.js +3 -1
- package/dist/Link/Link.js.map +1 -1
- package/dist/Link/Link.styles.d.ts +4 -1
- package/dist/Link/Link.styles.js +4 -4
- package/dist/Link/Link.styles.js.map +1 -1
- package/dist/Link/Link.types.d.ts +1 -2
- package/dist/Link/Link.types.js.map +1 -1
- package/dist/ListPage/ListPage.styles.d.ts +9 -8
- package/dist/ListPage/ListPage.styles.js +8 -8
- package/dist/Loader/Loader.styles.d.ts +4 -3
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/Menu/Menu.js +6 -5
- package/dist/Menu/Menu.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.d.ts +2 -3
- package/dist/MenuImperative/MenuImperative.js +8 -26
- package/dist/MenuImperative/MenuImperative.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.styles.d.ts +15 -13
- package/dist/MenuImperative/MenuImperative.styles.js +13 -13
- package/dist/MenuImperative/MenuImperative.styles.js.map +1 -1
- package/dist/Modal/Modal.d.ts +6 -6
- package/dist/Modal/Modal.js +2 -2
- package/dist/Modal/Modal.js.map +1 -1
- package/dist/Modal/Modal.styles.d.ts +27 -19
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/MultiSelect/MultiSelect.js +5 -5
- package/dist/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.styles.d.ts +19 -13
- package/dist/MultiSelect/MultiSelect.styles.js +6 -6
- package/dist/NextMenu/NextMenu.styles.d.ts +4 -3
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/Notation/Notation.js +5 -5
- package/dist/Notation/Notation.js.map +1 -1
- package/dist/NumberInput/NumberInput.hooks.d.ts +1 -1
- package/dist/NumberInput/NumberInput.styles.d.ts +16 -10
- package/dist/NumberInput/NumberInput.styles.js +7 -7
- package/dist/Overlay/OverlayArrow.styles.d.ts +2 -1
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/OverlayTrigger/a11yPresets.d.ts +20 -20
- package/dist/PageLayout/PageLayout.styles.d.ts +33 -24
- package/dist/PageLayout/PageLayout.styles.js +16 -16
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.d.ts +2 -1
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.d.ts +3 -1
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.js.map +1 -1
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.d.ts +10 -4
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
- package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.d.ts +12 -8
- package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
- package/dist/PageTemplate/PageTemplate/PageTemplate.styles.d.ts +5 -3
- package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
- package/dist/Pagination/Pagination.styles.d.ts +13 -5
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.js +1 -1
- package/dist/Panel/Panel.js.map +1 -1
- package/dist/Panel/Panel.styles.d.ts +19 -15
- package/dist/Panel/Panel.styles.js +19 -19
- package/dist/Panel/Panel.styles.js.map +1 -1
- package/dist/Pill/Pill.styles.d.ts +9 -5
- package/dist/Pill/Pill.styles.js +2 -2
- package/dist/PillSelect/PillSelect.styles.d.ts +7 -5
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- package/dist/Popover/Popover.styles.d.ts +3 -2
- package/dist/Popover/Popover.styles.js +2 -2
- package/dist/Portal/Portal.styles.d.ts +2 -1
- package/dist/Portal/Portal.styles.js +1 -1
- package/dist/ProgressBar/ProgressBar.styles.d.ts +3 -3
- package/dist/ProgressBar/ProgressBar.styles.js +2 -2
- package/dist/RadioButton/RadioButton.styles.d.ts +5 -4
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.styles.d.ts +5 -4
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.js +6 -2
- package/dist/Search/Search.js.map +1 -1
- package/dist/Search/Search.styles.d.ts +11 -12
- package/dist/Search/Search.styles.js +13 -7
- package/dist/Search/Search.styles.js.map +1 -1
- package/dist/Section/Section.styles.d.ts +11 -9
- package/dist/Section/Section.styles.js +7 -7
- package/dist/SegmentedController/SegmentedController.js +1 -1
- package/dist/SegmentedController/SegmentedController.js.map +1 -1
- package/dist/SegmentedController/SegmentedController.styles.d.ts +8 -7
- package/dist/SegmentedController/SegmentedController.styles.js +9 -9
- package/dist/SegmentedController/SegmentedController.styles.js.map +1 -1
- package/dist/Select/Select.js +4 -4
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.d.ts +13 -9
- package/dist/Select/Select.styles.js +7 -7
- package/dist/Semantic/Semantic.styles.d.ts +359 -20
- package/dist/Semantic/Semantic.styles.js +11 -12
- package/dist/Semantic/Semantic.styles.js.map +1 -1
- package/dist/Slider/Slider.styles.d.ts +9 -7
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.d.ts +9 -8
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.d.ts +13 -11
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.components.d.ts +1 -1
- package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.d.ts +3 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.d.ts +67 -54
- package/dist/SuperSelect/SuperSelect.styles.js +37 -37
- package/dist/SuperSelect/SuperSelect.styles.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.types.d.ts +9 -8
- package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
- package/dist/SuperSelect/presets/filterPreset.js.map +1 -1
- package/dist/SuperSelect/useSuperSelect.js.map +1 -1
- package/dist/Switch/Switch.styles.d.ts +6 -5
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.d.ts +7 -3
- package/dist/Table/Table.js.map +1 -1
- package/dist/Table/Table.styles.d.ts +69 -45
- package/dist/Table/Table.styles.js +28 -28
- package/dist/TableShelf/TableShelf.styles.d.ts +6 -5
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.styles.d.ts +31 -9
- package/dist/Tabs/Tabs.styles.js +15 -15
- package/dist/Tearsheet/Tearsheet.styles.d.ts +12 -10
- package/dist/Tearsheet/Tearsheet.styles.js +6 -6
- package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
- package/dist/TextArea/TextArea.js +6 -2
- package/dist/TextArea/TextArea.js.map +1 -1
- package/dist/TextArea/TextArea.styles.d.ts +7 -1
- package/dist/TextArea/TextArea.styles.js +2 -2
- package/dist/TextArea/TextArea.styles.js.map +1 -1
- package/dist/TextEditor/TextEditor.styles.d.ts +3 -2
- package/dist/TextEditorOutput/TextEditorOutput.styles.d.ts +2 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.hooks.d.ts +131 -141
- package/dist/Thumbnail/Thumbnail.js +69 -56
- package/dist/Thumbnail/Thumbnail.js.map +1 -1
- package/dist/Thumbnail/Thumbnail.styles.d.ts +34 -32
- package/dist/Thumbnail/Thumbnail.styles.js +78 -79
- package/dist/Thumbnail/Thumbnail.styles.js.map +1 -1
- package/dist/Thumbnail/Thumbnail.types.d.ts +1 -1
- package/dist/Thumbnail/Thumbnail.types.js.map +1 -1
- package/dist/Thumbnail/ThumbnailCaption.js +10 -10
- package/dist/Thumbnail/ThumbnailCaption.js.map +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.js +2 -2
- package/dist/ThumbnailGrid/ThumbnailGrid.js.map +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +20 -8
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/TierSelectionTieredSelect.js +9 -9
- package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
- package/dist/TieredSelect/TieredSelect.styles.d.ts +29 -13
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/TieredSelect/TieredSelect.types.d.ts +1 -1
- package/dist/TieredSelect/TieredSelect.types.js.map +1 -1
- package/dist/TieredSelect/TieredSelectMenu.js +10 -10
- package/dist/TieredSelect/TieredSelectMenu.js.map +1 -1
- package/dist/Tile/Tile.js +1 -1
- package/dist/Tile/Tile.js.map +1 -1
- package/dist/Tile/Tile.styles.d.ts +13 -11
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Title/Title.styles.d.ts +12 -8
- package/dist/Title/Title.styles.js +7 -7
- package/dist/Toast/Toast.styles.d.ts +7 -5
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.d.ts +4 -2
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.styles.d.ts +9 -5
- package/dist/Token/Token.styles.js +3 -3
- package/dist/ToolHeader/ToolHeader.d.ts +8 -4
- package/dist/ToolHeader/ToolHeader.styles.d.ts +9 -7
- package/dist/ToolHeader/ToolHeader.styles.js +8 -8
- package/dist/ToolHeader/ToolHeader.styles.js.map +1 -1
- package/dist/ToolLandingPage/ToolLandingPage.styles.d.ts +5 -3
- package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
- package/dist/Tooltip/Tooltip.js +3 -4
- package/dist/Tooltip/Tooltip.js.map +1 -1
- package/dist/Tooltip/Tooltip.styles.d.ts +3 -2
- package/dist/Tooltip/Tooltip.styles.js +3 -3
- package/dist/Tooltip/Tooltip.styles.js.map +1 -1
- package/dist/Tree/Tree.styles.d.ts +24 -12
- package/dist/Tree/Tree.styles.js +9 -9
- package/dist/Typeahead/Typeahead.js +1 -1
- package/dist/Typeahead/Typeahead.js.map +1 -1
- package/dist/Typeahead/Typeahead.styles.d.ts +5 -7
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.styles.d.ts +5 -4
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.styles.js.map +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_hooks/ClickOutside.js +19 -5
- package/dist/_hooks/ClickOutside.js.map +1 -1
- package/dist/_hooks/I18n.d.ts +44 -9
- package/dist/_hooks/I18n.js +63 -28
- package/dist/_hooks/I18n.js.map +1 -1
- package/dist/_styles/arrows.d.ts +4 -4
- package/dist/_styles/borderRadius.d.ts +1 -1
- package/dist/_styles/mixins.d.ts +7 -7
- package/dist/_styles/shadows.d.ts +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 +13 -13
- package/dist/_typedoc/Box/Box.types.json +77 -77
- 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 +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 +37 -37
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +39 -29
- 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 +747 -747
- package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +11 -6
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
- package/dist/_typedoc/Modal/Modal.types.json +46 -46
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- package/dist/_typedoc/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 +29 -29
- 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 +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 +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 +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 +60 -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 +12 -12
- package/dist/_typedoc/Switch/Switch.types.json +3 -3
- package/dist/_typedoc/Table/Table.types.json +101 -101
- package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
- 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 +44 -44
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +30 -30
- package/dist/_typedoc/Tile/Tile.types.json +30 -30
- package/dist/_typedoc/Title/Title.types.json +3 -3
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
- package/dist/_typedoc/Token/Token.types.json +6 -6
- 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 +86 -86
- 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 +90 -91
package/dist/Box/Box.styles.js
CHANGED
|
@@ -21,10 +21,10 @@ function sizeToPx(size) {
|
|
|
21
21
|
}
|
|
22
22
|
export var StyledBox = /*#__PURE__*/styled.div.withConfig({
|
|
23
23
|
displayName: "StyledBox",
|
|
24
|
-
componentId: "core-
|
|
24
|
+
componentId: "core-12_23_0__sc-fgsy0p-0"
|
|
25
25
|
})(["", " ", ""], function (_ref) {
|
|
26
|
-
var
|
|
27
|
-
if (
|
|
26
|
+
var as = _ref.as;
|
|
27
|
+
if (as === 'ol' || as === 'ul') {
|
|
28
28
|
return css(["list-style:none;margin:0;padding:0;"]);
|
|
29
29
|
}
|
|
30
30
|
}, function (p) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.styles.js","names":["styled","css","spacing","appendPx","value","concat","sizeStrToPx","str","undefined","shorthandSizeToPx","shorthand","split","map","join","sizeToPx","size","StyledBox","div","withConfig","displayName","componentId","_ref","
|
|
1
|
+
{"version":3,"file":"Box.styles.js","names":["styled","css","spacing","appendPx","value","concat","sizeStrToPx","str","undefined","shorthandSizeToPx","shorthand","split","map","join","sizeToPx","size","StyledBox","div","withConfig","displayName","componentId","_ref","as","p","$alignContent","$alignItems","$alignSelf","$display","$flexBasis","$flexDirection","$flexGrow","$flexShrink","$flexWrap","$flex","$gap","$justifyContent","$margin","$marginBottom","$marginLeft","$marginRight","$marginTop","$order","$padding","$paddingBottom","$paddingLeft","$paddingRight","$paddingTop","$textAlign"],"sources":["../../src/Box/Box.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport type { Spacing } from '../_styles/spacing'\nimport { spacing } from '../_styles/spacing'\nimport type { $BoxProps, MarginSize, PaddingSize } from './Box.types'\n\nfunction appendPx(value?: number | string): string | undefined {\n if (!value) {\n return\n }\n\n return typeof value === 'string' ? value : `${value}px`\n}\n\nfunction sizeStrToPx(str?: string): string | undefined {\n /**\n * hacky usage of \"as\" here, but since we have a default fallback if the\n * lookup fails it should be fine\n */\n return spacing[str as Spacing] !== undefined\n ? `${spacing[str as Spacing]}px`\n : str\n}\n\nfunction shorthandSizeToPx(shorthand?: string): string | undefined {\n return shorthand?.split(' ').map(sizeStrToPx).join(' ')\n}\n\nfunction sizeToPx(size?: MarginSize | PaddingSize): string | undefined {\n return sizeStrToPx(size) || size\n}\n\nexport const StyledBox = styled.div<$BoxProps>`\n ${({ as }) => {\n if (as === 'ol' || as === 'ul') {\n return css`\n list-style: none;\n margin: 0;\n padding: 0;\n `\n }\n }}\n ${(p) => css`\n align-content: ${p.$alignContent};\n align-items: ${p.$alignItems};\n align-self: ${p.$alignSelf};\n display: ${p.$display};\n flex-basis: ${p.$flexBasis};\n flex-direction: ${p.$flexDirection};\n flex-grow: ${p.$flexGrow};\n flex-shrink: ${p.$flexShrink};\n flex-wrap: ${p.$flexWrap};\n flex: ${p.$flex};\n gap: ${shorthandSizeToPx(p.$gap)};\n justify-content: ${p.$justifyContent};\n margin: ${shorthandSizeToPx(p.$margin)};\n margin-bottom: ${sizeToPx(p.$marginBottom)};\n margin-left: ${sizeToPx(p.$marginLeft)};\n margin-right: ${sizeToPx(p.$marginRight)};\n margin-top: ${sizeToPx(p.$marginTop)};\n order: ${p.$order};\n padding: ${shorthandSizeToPx(p.$padding)};\n padding-bottom: ${sizeToPx(p.$paddingBottom)};\n padding-left: ${sizeToPx(p.$paddingLeft)};\n padding-right: ${sizeToPx(p.$paddingRight)};\n padding-top: ${sizeToPx(p.$paddingTop)};\n text-align: ${p.$textAlign};\n `}\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAE/C,SAASC,OAAO,QAAQ,oBAAoB;AAG5C,SAASC,QAAQA,CAACC,KAAuB,EAAsB;EAC7D,IAAI,CAACA,KAAK,EAAE;IACV;EACF;EAEA,OAAO,OAAOA,KAAK,KAAK,QAAQ,GAAGA,KAAK,MAAAC,MAAA,CAAMD,KAAK,OAAI;AACzD;AAEA,SAASE,WAAWA,CAACC,GAAY,EAAsB;EACrD;AACF;AACA;AACA;EACE,OAAOL,OAAO,CAACK,GAAG,CAAY,KAAKC,SAAS,MAAAH,MAAA,CACrCH,OAAO,CAACK,GAAG,CAAY,UAC1BA,GAAG;AACT;AAEA,SAASE,iBAAiBA,CAACC,SAAkB,EAAsB;EACjE,OAAOA,SAAS,aAATA,SAAS,uBAATA,SAAS,CAAEC,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAACN,WAAW,CAAC,CAACO,IAAI,CAAC,GAAG,CAAC;AACzD;AAEA,SAASC,QAAQA,CAACC,IAA+B,EAAsB;EACrE,OAAOT,WAAW,CAACS,IAAI,CAAC,IAAIA,IAAI;AAClC;AAEA,OAAO,IAAMC,SAAS,gBAAGhB,MAAM,CAACiB,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,kBAC/B,UAAAC,IAAA,EAAY;EAAA,IAATC,EAAE,GAAAD,IAAA,CAAFC,EAAE;EACL,IAAIA,EAAE,KAAK,IAAI,IAAIA,EAAE,KAAK,IAAI,EAAE;IAC9B,OAAOrB,GAAG;EAKZ;AACF,CAAC,EACC,UAACsB,CAAC;EAAA,OAAKtB,GAAG,uYACOsB,CAAC,CAACC,aAAa,EACjBD,CAAC,CAACE,WAAW,EACdF,CAAC,CAACG,UAAU,EACfH,CAAC,CAACI,QAAQ,EACPJ,CAAC,CAACK,UAAU,EACRL,CAAC,CAACM,cAAc,EACrBN,CAAC,CAACO,SAAS,EACTP,CAAC,CAACQ,WAAW,EACfR,CAAC,CAACS,SAAS,EAChBT,CAAC,CAACU,KAAK,EACRxB,iBAAiB,CAACc,CAAC,CAACW,IAAI,CAAC,EACbX,CAAC,CAACY,eAAe,EAC1B1B,iBAAiB,CAACc,CAAC,CAACa,OAAO,CAAC,EACrBtB,QAAQ,CAACS,CAAC,CAACc,aAAa,CAAC,EAC3BvB,QAAQ,CAACS,CAAC,CAACe,WAAW,CAAC,EACtBxB,QAAQ,CAACS,CAAC,CAACgB,YAAY,CAAC,EAC1BzB,QAAQ,CAACS,CAAC,CAACiB,UAAU,CAAC,EAC3BjB,CAAC,CAACkB,MAAM,EACNhC,iBAAiB,CAACc,CAAC,CAACmB,QAAQ,CAAC,EACtB5B,QAAQ,CAACS,CAAC,CAACoB,cAAc,CAAC,EAC5B7B,QAAQ,CAACS,CAAC,CAACqB,YAAY,CAAC,EACvB9B,QAAQ,CAACS,CAAC,CAACsB,aAAa,CAAC,EAC3B/B,QAAQ,CAACS,CAAC,CAACuB,WAAW,CAAC,EACxBvB,CAAC,CAACwB,UAAU;AAAA,CAC3B,CACF"}
|
package/dist/Box/Box.types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.types.js","names":[],"sources":["../../src/Box/Box.types.ts"],"sourcesContent":["import type { Props, Size } from '../_utils/types'\n\n/**\n * @deprecated\n *\n * These display modes are no longer valid, please use `direction` prop\n *\n * @deprecatedSince 10.20.0\n */\nexport type DeprecatedDisplay =\n | 'flex-column-reverse'\n | 'flex-column'\n | 'flex-inline-column-reverse'\n | 'flex-inline-column'\n | 'flex-inline-row-reverse'\n | 'flex-inline-row'\n | 'flex-row-reverse'\n | 'flex-row'\n\nexport type Display =\n | DeprecatedDisplay\n | 'block'\n | 'flex'\n | 'inline'\n | 'inline-block'\n | 'inline-flex'\n\nexport type FlexAlign =\n | 'baseline'\n | 'center'\n | 'flex-end'\n | 'flex-start'\n | 'normal'\n | 'stretch'\n\nexport type FlexDirection = 'column' | 'column-reverse' | 'row' | 'row-reverse'\n\nexport type FlexJustify =\n | 'center'\n | 'flex-end'\n | 'flex-start'\n | 'normal'\n | 'space-around'\n | 'space-between'\n | 'space-evenly'\n\nexport type FlexAlignContent = FlexJustify | 'stretch'\n\nexport type FlexWrap = 'nowrap' | 'wrap-reverse' | 'wrap'\n\nexport type TextAlign = 'center' | 'left' | 'right'\n\nexport type MarginSize = Extract<\n Size,\n 'auto' | 'none' | 'xss' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n>\n\nexport type PaddingSize = Extract<\n Size,\n 'none' | 'xss' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n>\n\nexport type BoxSize = MarginSize | PaddingSize | undefined\n\nexport interface MarginOptions {\n /**\n * @since 10.19.0\n */\n margin?: MarginSize | string\n /**\n * @since 10.19.0\n */\n marginBottom?: MarginSize\n /**\n * @since 10.19.0\n */\n marginLeft?: MarginSize\n /**\n * @since 10.19.0\n */\n marginRight?: MarginSize\n /**\n * @since 10.19.0\n */\n marginTop?: MarginSize\n}\n\nexport interface PaddingOptions {\n /**\n * @since 10.19.0\n */\n padding?: PaddingSize | string\n /**\n * @since 10.19.0\n */\n paddingBottom?: PaddingSize\n /**\n * @since 10.19.0\n */\n paddingLeft?: PaddingSize\n /**\n * @since 10.19.0\n */\n paddingRight?: PaddingSize\n /**\n * @since 10.19.0\n */\n paddingTop?: PaddingSize\n /**\n * @since 10.19.0\n */\n}\n\nexport interface FlexOptions {\n /**\n * @since 10.19.0\n */\n alignContent?: FlexAlignContent\n /**\n * @since 10.19.0\n */\n alignItems?: FlexAlign\n /**\n * @since 10.19.0\n */\n alignSelf?: FlexAlign\n /**\n * @since 10.19.0\n */\n justifyContent?: FlexJustify\n}\n\nexport interface BoxProps\n extends Props,\n FlexOptions,\n MarginOptions,\n PaddingOptions {\n /**\n * Render semantic HTML tags with browser reset and normalize CSS\n * @since 10.19.0\n */\n as?: 'ul' | 'ol' | 'li'\n /**\n * @since 10.19.0\n */\n display?: Display\n\n /**\n * Alias to the `flex` property on a flexbox child.\n * @since 10.19.0\n */\n flex?: string | number\n\n /**\n * Alias to the `basis` property on a flexbox child.\n * @since 10.19.0\n */\n flexBasis?: string | number\n\n /**\n * Alias to the `direction` property on a flexbox child.\n * @since 10.19.0\n */\n flexDirection?: FlexDirection\n\n /**\n * Alias to the `grow` property on a flexbox child.\n * @since 10.19.0\n */\n flexGrow?: string | number\n\n /**\n * Alias to the `shrink` property on a flexbox child.\n * @since 10.19.0\n */\n flexShrink?: string | number\n\n /**\n * Alias to the `wrap` property on a flexbox child.\n * @since 10.19.0\n */\n flexWrap?: FlexWrap\n\n /**\n * * Alias to the `gap` property on a flexbox child.\n * @since 11.3.0\n */\n gap?: MarginSize | string\n\n /**\n * Alias to the `order` property on a flexbox child.\n * @since 10.19.0\n */\n order?: number\n /**\n * @since 10.19.0\n */\n tabIndex?: number\n /**\n * @since 10.19.0\n */\n textAlign?: TextAlign\n}\n\nexport interface $BoxProps {\n /**\n * @since 10.19.0\n */\n
|
|
1
|
+
{"version":3,"file":"Box.types.js","names":[],"sources":["../../src/Box/Box.types.ts"],"sourcesContent":["import type { Props, Size } from '../_utils/types'\n\n/**\n * @deprecated\n *\n * These display modes are no longer valid, please use `direction` prop\n *\n * @deprecatedSince 10.20.0\n */\nexport type DeprecatedDisplay =\n | 'flex-column-reverse'\n | 'flex-column'\n | 'flex-inline-column-reverse'\n | 'flex-inline-column'\n | 'flex-inline-row-reverse'\n | 'flex-inline-row'\n | 'flex-row-reverse'\n | 'flex-row'\n\nexport type Display =\n | DeprecatedDisplay\n | 'block'\n | 'flex'\n | 'inline'\n | 'inline-block'\n | 'inline-flex'\n\nexport type FlexAlign =\n | 'baseline'\n | 'center'\n | 'flex-end'\n | 'flex-start'\n | 'normal'\n | 'stretch'\n\nexport type FlexDirection = 'column' | 'column-reverse' | 'row' | 'row-reverse'\n\nexport type FlexJustify =\n | 'center'\n | 'flex-end'\n | 'flex-start'\n | 'normal'\n | 'space-around'\n | 'space-between'\n | 'space-evenly'\n\nexport type FlexAlignContent = FlexJustify | 'stretch'\n\nexport type FlexWrap = 'nowrap' | 'wrap-reverse' | 'wrap'\n\nexport type TextAlign = 'center' | 'left' | 'right'\n\nexport type MarginSize = Extract<\n Size,\n 'auto' | 'none' | 'xss' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n>\n\nexport type PaddingSize = Extract<\n Size,\n 'none' | 'xss' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n>\n\nexport type BoxSize = MarginSize | PaddingSize | undefined\n\nexport interface MarginOptions {\n /**\n * @since 10.19.0\n */\n margin?: MarginSize | string\n /**\n * @since 10.19.0\n */\n marginBottom?: MarginSize\n /**\n * @since 10.19.0\n */\n marginLeft?: MarginSize\n /**\n * @since 10.19.0\n */\n marginRight?: MarginSize\n /**\n * @since 10.19.0\n */\n marginTop?: MarginSize\n}\n\nexport interface PaddingOptions {\n /**\n * @since 10.19.0\n */\n padding?: PaddingSize | string\n /**\n * @since 10.19.0\n */\n paddingBottom?: PaddingSize\n /**\n * @since 10.19.0\n */\n paddingLeft?: PaddingSize\n /**\n * @since 10.19.0\n */\n paddingRight?: PaddingSize\n /**\n * @since 10.19.0\n */\n paddingTop?: PaddingSize\n /**\n * @since 10.19.0\n */\n}\n\nexport interface FlexOptions {\n /**\n * @since 10.19.0\n */\n alignContent?: FlexAlignContent\n /**\n * @since 10.19.0\n */\n alignItems?: FlexAlign\n /**\n * @since 10.19.0\n */\n alignSelf?: FlexAlign\n /**\n * @since 10.19.0\n */\n justifyContent?: FlexJustify\n}\n\nexport interface BoxProps\n extends Props,\n FlexOptions,\n MarginOptions,\n PaddingOptions {\n /**\n * Render semantic HTML tags with browser reset and normalize CSS\n * @since 10.19.0\n */\n as?: 'ul' | 'ol' | 'li'\n /**\n * @since 10.19.0\n */\n display?: Display\n\n /**\n * Alias to the `flex` property on a flexbox child.\n * @since 10.19.0\n */\n flex?: string | number\n\n /**\n * Alias to the `basis` property on a flexbox child.\n * @since 10.19.0\n */\n flexBasis?: string | number\n\n /**\n * Alias to the `direction` property on a flexbox child.\n * @since 10.19.0\n */\n flexDirection?: FlexDirection\n\n /**\n * Alias to the `grow` property on a flexbox child.\n * @since 10.19.0\n */\n flexGrow?: string | number\n\n /**\n * Alias to the `shrink` property on a flexbox child.\n * @since 10.19.0\n */\n flexShrink?: string | number\n\n /**\n * Alias to the `wrap` property on a flexbox child.\n * @since 10.19.0\n */\n flexWrap?: FlexWrap\n\n /**\n * * Alias to the `gap` property on a flexbox child.\n * @since 11.3.0\n */\n gap?: MarginSize | string\n\n /**\n * Alias to the `order` property on a flexbox child.\n * @since 10.19.0\n */\n order?: number\n /**\n * @since 10.19.0\n */\n tabIndex?: number\n /**\n * @since 10.19.0\n */\n textAlign?: TextAlign\n}\n\nexport interface $BoxProps {\n /**\n * @since 10.19.0\n */\n as?: BoxProps['as']\n /**\n * @since 10.19.0\n */\n $alignContent?: BoxProps['alignContent']\n /**\n * @since 10.19.0\n */\n $alignItems?: BoxProps['alignItems']\n /**\n * @since 10.19.0\n */\n $alignSelf?: BoxProps['alignSelf']\n /**\n * @since 10.19.0\n */\n $display?: BoxProps['display']\n /**\n * @since 10.19.0\n */\n $flex?: BoxProps['flex']\n /**\n * @since 10.19.0\n */\n $flexBasis?: BoxProps['flexBasis']\n /**\n * @since 10.19.0\n */\n $flexDirection?: BoxProps['flexDirection']\n /**\n * @since 10.19.0\n */\n $flexGrow?: BoxProps['flexGrow']\n /**\n * @since 10.19.0\n */\n $flexShrink?: BoxProps['flexShrink']\n /**\n * @since 10.19.0\n */\n $flexWrap?: BoxProps['flexWrap']\n /**\n * @since 11.3.0\n */\n $gap?: BoxProps['gap']\n /**\n /**\n * @since 10.19.0\n */\n $justifyContent?: BoxProps['justifyContent']\n /**\n * @since 10.19.0\n */\n $margin?: BoxProps['margin']\n /**\n * @since 10.19.0\n */\n $marginBottom?: BoxProps['marginBottom']\n /**\n * @since 10.19.0\n */\n $marginLeft?: BoxProps['marginLeft']\n /**\n * @since 10.19.0\n */\n $marginRight?: BoxProps['marginRight']\n /**\n * @since 10.19.0\n */\n $marginTop?: BoxProps['marginTop']\n /**\n * @since 10.19.0\n */\n $order?: BoxProps['order']\n /**\n * @since 10.19.0\n */\n $padding?: BoxProps['padding']\n /**\n * @since 10.19.0\n */\n $paddingBottom?: BoxProps['paddingBottom']\n /**\n * @since 10.19.0\n */\n $paddingLeft?: BoxProps['paddingLeft']\n /**\n * @since 10.19.0\n */\n $paddingRight?: BoxProps['paddingRight']\n /**\n * @since 10.19.0\n */\n $paddingTop?: BoxProps['paddingTop']\n /**\n * @since 10.19.0\n */\n $textAlign?: BoxProps['textAlign']\n}\n"],"mappings":""}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { BreadcrumbCrumbProps } from './Breadcrumbs.types';
|
|
2
|
-
export declare const StyledContainer: import("styled-components").
|
|
3
|
-
export declare const StyledList: import("styled-components").
|
|
4
|
-
export declare const StyledSeparator: import("styled-components").
|
|
5
|
-
export declare const StyledCrumb: import("styled-components").
|
|
3
|
+
export declare const StyledContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
4
|
+
export declare const StyledList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, never>> & string;
|
|
5
|
+
export declare const StyledSeparator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const StyledCrumb: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, BreadcrumbCrumbProps>> & string;
|
|
@@ -4,19 +4,19 @@ import { colors } from '../_styles/colors';
|
|
|
4
4
|
import { spacing } from '../_styles/spacing';
|
|
5
5
|
export var StyledContainer = /*#__PURE__*/styled.nav.withConfig({
|
|
6
6
|
displayName: "StyledContainer",
|
|
7
|
-
componentId: "core-
|
|
7
|
+
componentId: "core-12_23_0__sc-1q6nqfz-0"
|
|
8
8
|
})(["color:", ";display:flex;align-items:center;a,a:hover{display:inline-flex;text-decoration:none;}"], colors.gray50);
|
|
9
9
|
export var StyledList = /*#__PURE__*/styled.ol.withConfig({
|
|
10
10
|
displayName: "StyledList",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_23_0__sc-1q6nqfz-1"
|
|
12
12
|
})(["display:flex;margin:0;padding-left:0;"]);
|
|
13
13
|
export var StyledSeparator = /*#__PURE__*/styled.div.withConfig({
|
|
14
14
|
displayName: "StyledSeparator",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-12_23_0__sc-1q6nqfz-2"
|
|
16
16
|
})(["align-items:center;display:inline-flex;justify-content:center;margin:0px ", "px;"], spacing.xs);
|
|
17
17
|
export var StyledCrumb = /*#__PURE__*/styled.li.withConfig({
|
|
18
18
|
displayName: "StyledCrumb",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_23_0__sc-1q6nqfz-3"
|
|
20
20
|
})(["", " align-items:center;color:", ";display:inline-flex;min-height:24px;text-decoration:none;&:hover{cursor:", ";text-decoration:", ";}> a{color:", ";", "}", ""], getTypographyIntent('body'), colors.gray45, function (_ref) {
|
|
21
21
|
var active = _ref.active;
|
|
22
22
|
return active ? 'default' : 'pointer';
|
|
@@ -9,9 +9,11 @@ export declare function getTextColor(variant: ButtonVariant): {
|
|
|
9
9
|
main: string;
|
|
10
10
|
disabled: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const StyledContent: import("styled-components").
|
|
13
|
-
export declare const StyledSpinner: import("styled-components").
|
|
14
|
-
|
|
12
|
+
export declare const StyledContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
13
|
+
export declare const StyledSpinner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").SpinnerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
+
}, never>> & string & Omit<React.ForwardRefExoticComponent<import("..").SpinnerProps & React.RefAttributes<HTMLDivElement>>, keyof React.Component<any, {}, any>>;
|
|
16
|
+
export declare const StyledLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
15
17
|
interface StyledButtonProps {
|
|
16
18
|
disabled: boolean;
|
|
17
19
|
$block: boolean;
|
|
@@ -19,8 +21,8 @@ interface StyledButtonProps {
|
|
|
19
21
|
$size: ButtonSizes;
|
|
20
22
|
$variant: ButtonVariant;
|
|
21
23
|
}
|
|
22
|
-
export declare function getButtonStyles(block: boolean, disabled: boolean, loading: boolean, size: ButtonSizes, variant: ButtonVariant): import("styled-components").
|
|
23
|
-
export declare const StyledButton: import("styled-components").
|
|
24
|
+
export declare function getButtonStyles(block: boolean, disabled: boolean, loading: boolean, size: ButtonSizes, variant: ButtonVariant): import("styled-components").RuleSet<object>;
|
|
25
|
+
export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledButtonProps>> & string;
|
|
24
26
|
interface StyledLinkButtonProps extends Pick<StyledButtonProps, '$block' | '$size' | '$variant'> {
|
|
25
27
|
as?: LinkButtonProps['as'];
|
|
26
28
|
children?: React.ReactNode;
|
|
@@ -28,5 +30,5 @@ interface StyledLinkButtonProps extends Pick<StyledButtonProps, '$block' | '$siz
|
|
|
28
30
|
$disabled: boolean;
|
|
29
31
|
ref?: React.RefCallback<HTMLAnchorElement>;
|
|
30
32
|
}
|
|
31
|
-
export declare const StyledLinkButton: import("styled-components").
|
|
33
|
+
export declare const StyledLinkButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, StyledLinkButtonProps>> & string;
|
|
32
34
|
export {};
|
|
@@ -93,11 +93,11 @@ function getColors(loading, variant) {
|
|
|
93
93
|
}
|
|
94
94
|
export var StyledContent = /*#__PURE__*/styled.span.withConfig({
|
|
95
95
|
displayName: "StyledContent",
|
|
96
|
-
componentId: "core-
|
|
96
|
+
componentId: "core-12_23_0__sc-c5bhwh-0"
|
|
97
97
|
})(["align-items:center;display:flex;overflow:hidden;"]);
|
|
98
98
|
export var StyledSpinner = /*#__PURE__*/styled(Spinner).withConfig({
|
|
99
99
|
displayName: "StyledSpinner",
|
|
100
|
-
componentId: "core-
|
|
100
|
+
componentId: "core-12_23_0__sc-c5bhwh-1"
|
|
101
101
|
})(["box-sizing:border-box;display:none;position:absolute;transform:translateZ(0);@media ", "{left:50%;top:50%;", "}"], mediaIE11Hack, function (_ref) {
|
|
102
102
|
var size = _ref.size;
|
|
103
103
|
var margin = -1 * (spinnerDimensions[size !== null && size !== void 0 ? size : defaultSpinnerSize] / 2);
|
|
@@ -105,14 +105,14 @@ export var StyledSpinner = /*#__PURE__*/styled(Spinner).withConfig({
|
|
|
105
105
|
});
|
|
106
106
|
export var StyledLabel = /*#__PURE__*/styled.span.withConfig({
|
|
107
107
|
displayName: "StyledLabel",
|
|
108
|
-
componentId: "core-
|
|
108
|
+
componentId: "core-12_23_0__sc-c5bhwh-2"
|
|
109
109
|
})(["overflow:hidden;padding:0 6px;text-overflow:ellipsis;white-space:nowrap;& + span{padding-left:0;}"]);
|
|
110
110
|
export function getButtonStyles(block, disabled, loading, size, variant) {
|
|
111
111
|
return css(["", " ", " ", " ", " align-items:center;border-radius:", "px;border:0;box-sizing:border-box;cursor:pointer;display:inline-flex;flex-direction:row;flex-shrink:0;font-family:inherit;font-weight:", ";height:", "px;justify-content:center;margin:0;overflow:hidden;padding:0 ", "px;position:relative;pointer-events:", ";text-overflow:ellipsis;user-select:", ";vertical-align:middle;white-space:nowrap;width:", ";[data-icon-prop='true']{pointer-events:none;height:", "px;width:", "px;}", ""], getTypographyIntent(typographySizes[size]), focusable, variant === 'UNSAFE_helixNav' && css(["&.focus,&:focus{outline:none;box-shadow:0 0 0 2px ", ";}"], colors.blue70), getColors(loading, variant), borderRadius.md, typographyWeights.semibold, heights[size], paddingX[size], disabled || loading ? 'none' : 'inherit', disabled || loading ? 'none' : 'inherit', block && '100%', size === 'sm' ? 16 : 24, size === 'sm' ? 16 : 24, loading && css(["", "{pointer-events:none;visibility:hidden;}", "{display:block;}"], StyledContent, StyledSpinner));
|
|
112
112
|
}
|
|
113
113
|
export var StyledButton = /*#__PURE__*/styled.button.withConfig({
|
|
114
114
|
displayName: "StyledButton",
|
|
115
|
-
componentId: "core-
|
|
115
|
+
componentId: "core-12_23_0__sc-c5bhwh-3"
|
|
116
116
|
})(["", ""], function (_ref2) {
|
|
117
117
|
var $block = _ref2.$block,
|
|
118
118
|
disabled = _ref2.disabled,
|
|
@@ -123,7 +123,7 @@ export var StyledButton = /*#__PURE__*/styled.button.withConfig({
|
|
|
123
123
|
});
|
|
124
124
|
export var StyledLinkButton = /*#__PURE__*/styled.a.withConfig({
|
|
125
125
|
displayName: "StyledLinkButton",
|
|
126
|
-
componentId: "core-
|
|
126
|
+
componentId: "core-12_23_0__sc-c5bhwh-4"
|
|
127
127
|
})(["&,&:hover{text-decoration:none;}", ""], function (_ref3) {
|
|
128
128
|
var $block = _ref3.$block,
|
|
129
129
|
$disabled = _ref3.$disabled,
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledContainer: import("styled-components").
|
|
3
|
-
export declare const StyledPaginator: import("styled-components").
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
2
|
+
export declare const StyledContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const StyledPaginator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").ButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
5
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
|
|
6
|
+
export declare const StyledSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const StyledNavigation: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
export declare const StyledCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
+
export declare const StyledDayHeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
10
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
+
}, never>> & string;
|
|
12
|
+
export declare const StyledDayCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
|
|
13
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
14
|
+
}, {
|
|
9
15
|
$disabled: boolean;
|
|
10
16
|
$selected: boolean;
|
|
11
17
|
$isCurrentMonth: boolean;
|
|
12
18
|
$isToday: boolean;
|
|
13
19
|
$isRangeStart: boolean;
|
|
14
20
|
$isRangeEnd: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const StyledWeekRow: import("styled-components").
|
|
21
|
+
}>> & string;
|
|
22
|
+
export declare const StyledWeekRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -8,31 +8,31 @@ var cellSize = 36; // TODO one-off size
|
|
|
8
8
|
|
|
9
9
|
export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledContainer",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_23_0__sc-1kkl86t-0"
|
|
12
12
|
})(["", ";display:inline-flex;flex-direction:column;padding:", "px ", "px ", "px;"], getTypographyIntent('small'), spacing.lg, spacing.md, spacing.md);
|
|
13
13
|
export var StyledPaginator = /*#__PURE__*/styled(Button).withConfig({
|
|
14
14
|
displayName: "StyledPaginator",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-12_23_0__sc-1kkl86t-1"
|
|
16
16
|
})(["flex:0 0 auto;"]);
|
|
17
17
|
export var StyledSelect = /*#__PURE__*/styled.div.withConfig({
|
|
18
18
|
displayName: "StyledSelect",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_23_0__sc-1kkl86t-2"
|
|
20
20
|
})(["display:inline-flex;flex:1 1 0;margin-left:", "px;> div{font-size:12px;}"], spacing.sm);
|
|
21
21
|
export var StyledNavigation = /*#__PURE__*/styled.div.withConfig({
|
|
22
22
|
displayName: "StyledNavigation",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-12_23_0__sc-1kkl86t-3"
|
|
24
24
|
})(["display:inline-flex;margin-bottom:", "px;", " + ", ",", " + ", "{margin-left:", "px;}"], spacing.sm, StyledPaginator, StyledSelect, StyledSelect, StyledPaginator, spacing.sm);
|
|
25
25
|
export var StyledCell = /*#__PURE__*/styled.div.withConfig({
|
|
26
26
|
displayName: "StyledCell",
|
|
27
|
-
componentId: "core-
|
|
27
|
+
componentId: "core-12_23_0__sc-1kkl86t-4"
|
|
28
28
|
})(["align-items:center;display:inline-flex;height:", "px;justify-content:center;width:", "px;"], cellSize, cellSize);
|
|
29
29
|
export var StyledDayHeaderCell = /*#__PURE__*/styled(StyledCell).withConfig({
|
|
30
30
|
displayName: "StyledDayHeaderCell",
|
|
31
|
-
componentId: "core-
|
|
31
|
+
componentId: "core-12_23_0__sc-1kkl86t-5"
|
|
32
32
|
})(["cursor:default;font-weight:", ";"], typographyWeights.semibold);
|
|
33
33
|
export var StyledDayCell = /*#__PURE__*/styled(StyledCell).withConfig({
|
|
34
34
|
displayName: "StyledDayCell",
|
|
35
|
-
componentId: "core-
|
|
35
|
+
componentId: "core-12_23_0__sc-1kkl86t-6"
|
|
36
36
|
})(["", ""], function (_ref) {
|
|
37
37
|
var _ref$$disabled = _ref.$disabled,
|
|
38
38
|
$disabled = _ref$$disabled === void 0 ? false : _ref$$disabled,
|
|
@@ -55,6 +55,6 @@ export var StyledDayCell = /*#__PURE__*/styled(StyledCell).withConfig({
|
|
|
55
55
|
});
|
|
56
56
|
export var StyledWeekRow = /*#__PURE__*/styled.div.withConfig({
|
|
57
57
|
displayName: "StyledWeekRow",
|
|
58
|
-
componentId: "core-
|
|
58
|
+
componentId: "core-12_23_0__sc-1kkl86t-7"
|
|
59
59
|
})(["display:inline-flex;padding-bottom:2px;user-select:none;&:last-child{padding-bottom:0;}", "{&:first-child{border-top-left-radius:", "px;border-bottom-left-radius:", "px;}&:last-child{border-top-right-radius:", "px;border-bottom-right-radius:", "px;}}"], StyledCell, borderRadius.md, borderRadius.md, borderRadius.md, borderRadius.md);
|
|
60
60
|
//# sourceMappingURL=Calendar.styles.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { CardProps } from './Card.types';
|
|
2
|
-
export declare const StyledCardContainer: import("styled-components").
|
|
3
|
+
export declare const StyledCardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
4
|
$level?: CardProps['level'];
|
|
4
5
|
$shadowStrength: Required<CardProps>['shadowStrength'];
|
|
5
6
|
$variant?: CardProps['variant'];
|
|
6
|
-
}
|
|
7
|
+
}>> & string;
|
package/dist/Card/Card.styles.js
CHANGED
|
@@ -4,7 +4,7 @@ import { colors } from '../_styles/colors';
|
|
|
4
4
|
import { getShadow } from '../_styles/shadows';
|
|
5
5
|
export var StyledCardContainer = /*#__PURE__*/styled.div.withConfig({
|
|
6
6
|
displayName: "StyledCardContainer",
|
|
7
|
-
componentId: "core-
|
|
7
|
+
componentId: "core-12_23_0__sc-2fii7b-0"
|
|
8
8
|
})(["background-color:", ";border-radius:", "px;transition:box-shadow 0.2s ease-in-out;", " ", ""], colors.white, borderRadius.md, function (_ref) {
|
|
9
9
|
var $level = _ref.$level,
|
|
10
10
|
$shadowStrength = _ref.$shadowStrength;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const dataQa: {
|
|
2
3
|
focused: string;
|
|
3
4
|
};
|
|
4
5
|
export declare const checkboxSize = 20;
|
|
5
|
-
export declare const StyledCheckboxContainer: import("styled-components").
|
|
6
|
-
export declare const StyledCheckboxLabelWrapper: import("styled-components").
|
|
6
|
+
export declare const StyledCheckboxContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const StyledCheckboxLabelWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
7
8
|
$hasLabel: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const StyledCheckboxLabel: import("styled-components").
|
|
10
|
-
export declare const StyledCheckboxInput: import("styled-components").
|
|
9
|
+
}>> & string;
|
|
10
|
+
export declare const StyledCheckboxLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
11
|
+
export declare const StyledCheckboxInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
|
|
11
12
|
$error: boolean;
|
|
12
13
|
$indeterminate: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const StyledFakeCheckboxLabel: import("styled-components").
|
|
14
|
+
}>> & string;
|
|
15
|
+
export declare const StyledFakeCheckboxLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
15
16
|
$checked: boolean;
|
|
16
17
|
$disabled: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const StyledFakeCheckboxInput: import("styled-components").
|
|
18
|
+
}>> & string;
|
|
19
|
+
export declare const StyledFakeCheckboxInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
19
20
|
$checked: boolean;
|
|
20
21
|
$error: boolean;
|
|
21
22
|
$disabled: boolean;
|
|
22
23
|
$indeterminate: boolean;
|
|
23
|
-
}
|
|
24
|
+
}>> & string;
|
|
@@ -9,7 +9,7 @@ export var dataQa = {
|
|
|
9
9
|
export var checkboxSize = 20;
|
|
10
10
|
export var StyledCheckboxContainer = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
displayName: "StyledCheckboxContainer",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_23_0__sc-u63tye-0"
|
|
13
13
|
})(["color:", ";display:block;position:relative;& + &{margin-top:", "px;}"], colors.gray15, spacing.md);
|
|
14
14
|
function StyledIndeterminate() {
|
|
15
15
|
return css(["background-color:", ";content:'';height:2px;left:5px;position:absolute;top:9px;width:10px;border:none;"], colors.white);
|
|
@@ -48,18 +48,18 @@ function StyledFakeIndeterminate() {
|
|
|
48
48
|
}
|
|
49
49
|
export var StyledCheckboxLabelWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
50
50
|
displayName: "StyledCheckboxLabelWrapper",
|
|
51
|
-
componentId: "core-
|
|
51
|
+
componentId: "core-12_23_0__sc-u63tye-1"
|
|
52
52
|
})(["padding-left:", "px;min-height:", "px;position:relative;", ""], function (_ref) {
|
|
53
53
|
var $hasLabel = _ref.$hasLabel;
|
|
54
54
|
return $hasLabel ? checkboxSize + spacing.md : checkboxSize;
|
|
55
55
|
}, checkboxSize, getTypographyIntent('body'));
|
|
56
56
|
export var StyledCheckboxLabel = /*#__PURE__*/styled.label.withConfig({
|
|
57
57
|
displayName: "StyledCheckboxLabel",
|
|
58
|
-
componentId: "core-
|
|
58
|
+
componentId: "core-12_23_0__sc-u63tye-2"
|
|
59
59
|
})(["user-select:none;&:before{background-color:", ";border-radius:2px;border:2px solid ", ";content:'';display:inline-block;height:", "px;width:", "px;min-width:", "px;top:0;left:0;position:absolute;}"], colors.white, colors.gray70, checkboxSize, checkboxSize, checkboxSize);
|
|
60
60
|
export var StyledCheckboxInput = /*#__PURE__*/styled.input.withConfig({
|
|
61
61
|
displayName: "StyledCheckboxInput",
|
|
62
|
-
componentId: "core-
|
|
62
|
+
componentId: "core-12_23_0__sc-u63tye-3"
|
|
63
63
|
})(["left:0;opacity:0;position:absolute;top:0;&:disabled:checked + ", " > ", ":before{background-color:", ";border-color:", ";}&:disabled + ", " > ", ":before{background-color:", ";border-color:", ";}", " &:checked + ", " > ", "{&:before{background-color:", ";border-color:", ";color:", ";}&:after{", "}}&:focus:not(:disabled),&[data-qa=", "]:not(:disabled){+ ", " > ", ":before{", "}}", ""], StyledCheckboxLabelWrapper, StyledCheckboxLabel, colors.blue85, colors.blue85, StyledCheckboxLabelWrapper, StyledCheckboxLabel, function (_ref2) {
|
|
64
64
|
var $indeterminate = _ref2.$indeterminate;
|
|
65
65
|
return $indeterminate ? colors.gray85 : colors.white;
|
|
@@ -83,7 +83,7 @@ export var StyledCheckboxInput = /*#__PURE__*/styled.input.withConfig({
|
|
|
83
83
|
});
|
|
84
84
|
export var StyledFakeCheckboxLabel = /*#__PURE__*/styled.span.withConfig({
|
|
85
85
|
displayName: "StyledFakeCheckboxLabel",
|
|
86
|
-
componentId: "core-
|
|
86
|
+
componentId: "core-12_23_0__sc-u63tye-4"
|
|
87
87
|
})(["", " display:block;min-height:", "px;padding-left:", "px;position:relative;user-select:none;cursor:pointer;", ""], getTypographyIntent('body'), checkboxSize, function (_ref7) {
|
|
88
88
|
var children = _ref7.children;
|
|
89
89
|
return children ? checkboxSize + spacing.md : checkboxSize;
|
|
@@ -99,7 +99,7 @@ export var StyledFakeCheckboxLabel = /*#__PURE__*/styled.span.withConfig({
|
|
|
99
99
|
});
|
|
100
100
|
export var StyledFakeCheckboxInput = /*#__PURE__*/styled.div.withConfig({
|
|
101
101
|
displayName: "StyledFakeCheckboxInput",
|
|
102
|
-
componentId: "core-
|
|
102
|
+
componentId: "core-12_23_0__sc-u63tye-5"
|
|
103
103
|
})(["width:", "px;height:", "px;border-radius:2px;border:2px solid ", ";position:absolute;", " ", " ", " ", ""], checkboxSize, checkboxSize, colors.gray70, function (_ref9) {
|
|
104
104
|
var $checked = _ref9.$checked,
|
|
105
105
|
$disabled = _ref9.$disabled,
|
|
@@ -21,6 +21,6 @@ export var CheckboxTooltip = function CheckboxTooltip(props) {
|
|
|
21
21
|
};
|
|
22
22
|
var StyledCheckboxTooltipIcon = /*#__PURE__*/styled(Help).withConfig({
|
|
23
23
|
displayName: "StyledCheckboxTooltipIcon",
|
|
24
|
-
componentId: "core-
|
|
24
|
+
componentId: "core-12_23_0__sc-1qa1ncf-0"
|
|
25
25
|
})(["margin-left:", "px;color:", ";vertical-align:middle;&:focus-visible{border-radius:50%;", " outline-offset:0;}"], spacing.sm, colors.gray45, getGapOutlineFocus);
|
|
26
26
|
//# sourceMappingURL=CheckboxTooltip.js.map
|
|
@@ -25,6 +25,8 @@ var ContactItem_ = /*#__PURE__*/React.forwardRef(function ContactItem(_ref, ref)
|
|
|
25
25
|
$selected: selected,
|
|
26
26
|
$disabled: disabled,
|
|
27
27
|
$clickable: clickable,
|
|
28
|
+
"aria-disabled": disabled || undefined,
|
|
29
|
+
"aria-selected": selected || undefined,
|
|
28
30
|
ref: ref
|
|
29
31
|
}, props), showAvatar && /*#__PURE__*/React.createElement(ContactItemAvatarWrapper, null, /*#__PURE__*/React.createElement(ContactItemAvatar, {
|
|
30
32
|
"aria-hidden": true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactItem.js","names":["React","Avatar","addSubcomponents","ContactItemAvatar","ContactItemAvatarWrapper","ContactItemText","ContactItemTextWrapper","ContactItemWrapper","ContactItem_","forwardRef","ContactItem","_ref","ref","imageUrl","icon","initials","_ref$selected","selected","_ref$disabled","disabled","_ref$clickable","clickable","children","props","_objectWithoutProperties","_excluded","showAvatar","createElement","_extends","$selected","$disabled","$clickable","size","Portrait","Icon","Label","Title","_ref2","_excluded2","weight","color","Description","_ref3","_excluded3","displayName"],"sources":["../../src/ContactItem/ContactItem.tsx"],"sourcesContent":["import React from 'react'\nimport { Avatar } from '../Avatar/Avatar'\nimport type { TypographyProps } from '../Typography/Typography.types'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport type { SpanAttributes } from '../_utils/types'\nimport {\n ContactItemAvatar,\n ContactItemAvatarWrapper,\n ContactItemText,\n ContactItemTextWrapper,\n ContactItemWrapper,\n} from './ContactItem.styles'\nimport type { ContactItemProps } from './ContactItem.types'\n\nconst ContactItem_ = React.forwardRef<HTMLDivElement, ContactItemProps>(\n function ContactItem(\n {\n imageUrl,\n icon,\n initials,\n selected = false,\n disabled = false,\n clickable = false,\n children,\n ...props\n },\n ref\n ) {\n const showAvatar = imageUrl || icon || initials\n\n return (\n <ContactItemWrapper\n $selected={selected}\n $disabled={disabled}\n $clickable={clickable}\n ref={ref}\n {...props}\n >\n {showAvatar && (\n <ContactItemAvatarWrapper>\n <ContactItemAvatar aria-hidden size=\"lg\" disabled={disabled}>\n {(() => {\n if (imageUrl) return <Avatar.Portrait imageUrl={imageUrl} />\n if (icon) return <Avatar.Icon icon={icon} />\n if (initials) return <Avatar.Label>{initials}</Avatar.Label>\n })()}\n </ContactItemAvatar>\n </ContactItemAvatarWrapper>\n )}\n <ContactItemTextWrapper>{children}</ContactItemTextWrapper>\n </ContactItemWrapper>\n )\n }\n)\n\nconst Title = React.forwardRef<\n HTMLDivElement,\n SpanAttributes & TypographyProps\n>(function Title({ children, ...props }, ref) {\n return (\n <ContactItemText weight=\"bold\" color=\"gray15\" ref={ref} {...props}>\n {children}\n </ContactItemText>\n )\n})\n\nconst Description = React.forwardRef<\n HTMLDivElement,\n SpanAttributes & TypographyProps\n>(function Description({ children, ...props }, ref) {\n return (\n <ContactItemText weight=\"regular\" color=\"gray45\" ref={ref} {...props}>\n {children}\n </ContactItemText>\n )\n})\n\nContactItem_.displayName = 'ContactItem'\n\nTitle.displayName = 'ContactItem.Title'\n\nDescription.displayName = 'ContactItem.Description'\n\n/**\n\n The contact item component is a more complex alternative to a standard line\n of text found in a list or form component. Use this component when you have\n a list or set of items that can benefit from an additional line of content or\n an avatar.\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-contact-item--demo)\n\n @see [Design Guidelines](https://design.procore.com/contact-item)\n\n*/\nexport const ContactItem = addSubcomponents(\n {\n Title,\n Description,\n },\n ContactItem_\n)\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,kBAAkB;AAEzC,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SACEC,iBAAiB,EACjBC,wBAAwB,EACxBC,eAAe,EACfC,sBAAsB,EACtBC,kBAAkB,QACb,sBAAsB;AAG7B,IAAMC,YAAY,gBAAGR,KAAK,CAACS,UAAU,CACnC,SAASC,WAAWA,CAAAC,IAAA,EAWlBC,GAAG,EACH;EAAA,IAVEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IACRC,IAAI,GAAAH,IAAA,CAAJG,IAAI;IACJC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ;IAAAC,aAAA,GAAAL,IAAA,CACRM,QAAQ;IAARA,QAAQ,GAAAD,aAAA,cAAG,KAAK,GAAAA,aAAA;IAAAE,aAAA,GAAAP,IAAA,CAChBQ,QAAQ;IAARA,QAAQ,GAAAD,aAAA,cAAG,KAAK,GAAAA,aAAA;IAAAE,cAAA,GAAAT,IAAA,CAChBU,SAAS;IAATA,SAAS,GAAAD,cAAA,cAAG,KAAK,GAAAA,cAAA;IACjBE,QAAQ,GAAAX,IAAA,CAARW,QAAQ;IACLC,KAAK,GAAAC,wBAAA,CAAAb,IAAA,EAAAc,SAAA;EAIV,IAAMC,UAAU,GAAGb,QAAQ,IAAIC,IAAI,IAAIC,QAAQ;EAE/C,oBACEf,KAAA,CAAA2B,aAAA,CAACpB,kBAAkB,EAAAqB,QAAA;IACjBC,SAAS,EAAEZ,QAAS;IACpBa,SAAS,EAAEX,QAAS;IACpBY,UAAU,EAAEV,SAAU;
|
|
1
|
+
{"version":3,"file":"ContactItem.js","names":["React","Avatar","addSubcomponents","ContactItemAvatar","ContactItemAvatarWrapper","ContactItemText","ContactItemTextWrapper","ContactItemWrapper","ContactItem_","forwardRef","ContactItem","_ref","ref","imageUrl","icon","initials","_ref$selected","selected","_ref$disabled","disabled","_ref$clickable","clickable","children","props","_objectWithoutProperties","_excluded","showAvatar","createElement","_extends","$selected","$disabled","$clickable","undefined","size","Portrait","Icon","Label","Title","_ref2","_excluded2","weight","color","Description","_ref3","_excluded3","displayName"],"sources":["../../src/ContactItem/ContactItem.tsx"],"sourcesContent":["import React from 'react'\nimport { Avatar } from '../Avatar/Avatar'\nimport type { TypographyProps } from '../Typography/Typography.types'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport type { SpanAttributes } from '../_utils/types'\nimport {\n ContactItemAvatar,\n ContactItemAvatarWrapper,\n ContactItemText,\n ContactItemTextWrapper,\n ContactItemWrapper,\n} from './ContactItem.styles'\nimport type { ContactItemProps } from './ContactItem.types'\n\nconst ContactItem_ = React.forwardRef<HTMLDivElement, ContactItemProps>(\n function ContactItem(\n {\n imageUrl,\n icon,\n initials,\n selected = false,\n disabled = false,\n clickable = false,\n children,\n ...props\n },\n ref\n ) {\n const showAvatar = imageUrl || icon || initials\n\n return (\n <ContactItemWrapper\n $selected={selected}\n $disabled={disabled}\n $clickable={clickable}\n aria-disabled={disabled || undefined}\n aria-selected={selected || undefined}\n ref={ref}\n {...props}\n >\n {showAvatar && (\n <ContactItemAvatarWrapper>\n <ContactItemAvatar aria-hidden size=\"lg\" disabled={disabled}>\n {(() => {\n if (imageUrl) return <Avatar.Portrait imageUrl={imageUrl} />\n if (icon) return <Avatar.Icon icon={icon} />\n if (initials) return <Avatar.Label>{initials}</Avatar.Label>\n })()}\n </ContactItemAvatar>\n </ContactItemAvatarWrapper>\n )}\n <ContactItemTextWrapper>{children}</ContactItemTextWrapper>\n </ContactItemWrapper>\n )\n }\n)\n\nconst Title = React.forwardRef<\n HTMLDivElement,\n SpanAttributes & TypographyProps\n>(function Title({ children, ...props }, ref) {\n return (\n <ContactItemText weight=\"bold\" color=\"gray15\" ref={ref} {...props}>\n {children}\n </ContactItemText>\n )\n})\n\nconst Description = React.forwardRef<\n HTMLDivElement,\n SpanAttributes & TypographyProps\n>(function Description({ children, ...props }, ref) {\n return (\n <ContactItemText weight=\"regular\" color=\"gray45\" ref={ref} {...props}>\n {children}\n </ContactItemText>\n )\n})\n\nContactItem_.displayName = 'ContactItem'\n\nTitle.displayName = 'ContactItem.Title'\n\nDescription.displayName = 'ContactItem.Description'\n\n/**\n\n The contact item component is a more complex alternative to a standard line\n of text found in a list or form component. Use this component when you have\n a list or set of items that can benefit from an additional line of content or\n an avatar.\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-contact-item--demo)\n\n @see [Design Guidelines](https://design.procore.com/contact-item)\n\n*/\nexport const ContactItem = addSubcomponents(\n {\n Title,\n Description,\n },\n ContactItem_\n)\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,kBAAkB;AAEzC,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SACEC,iBAAiB,EACjBC,wBAAwB,EACxBC,eAAe,EACfC,sBAAsB,EACtBC,kBAAkB,QACb,sBAAsB;AAG7B,IAAMC,YAAY,gBAAGR,KAAK,CAACS,UAAU,CACnC,SAASC,WAAWA,CAAAC,IAAA,EAWlBC,GAAG,EACH;EAAA,IAVEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IACRC,IAAI,GAAAH,IAAA,CAAJG,IAAI;IACJC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ;IAAAC,aAAA,GAAAL,IAAA,CACRM,QAAQ;IAARA,QAAQ,GAAAD,aAAA,cAAG,KAAK,GAAAA,aAAA;IAAAE,aAAA,GAAAP,IAAA,CAChBQ,QAAQ;IAARA,QAAQ,GAAAD,aAAA,cAAG,KAAK,GAAAA,aAAA;IAAAE,cAAA,GAAAT,IAAA,CAChBU,SAAS;IAATA,SAAS,GAAAD,cAAA,cAAG,KAAK,GAAAA,cAAA;IACjBE,QAAQ,GAAAX,IAAA,CAARW,QAAQ;IACLC,KAAK,GAAAC,wBAAA,CAAAb,IAAA,EAAAc,SAAA;EAIV,IAAMC,UAAU,GAAGb,QAAQ,IAAIC,IAAI,IAAIC,QAAQ;EAE/C,oBACEf,KAAA,CAAA2B,aAAA,CAACpB,kBAAkB,EAAAqB,QAAA;IACjBC,SAAS,EAAEZ,QAAS;IACpBa,SAAS,EAAEX,QAAS;IACpBY,UAAU,EAAEV,SAAU;IACtB,iBAAeF,QAAQ,IAAIa,SAAU;IACrC,iBAAef,QAAQ,IAAIe,SAAU;IACrCpB,GAAG,EAAEA;EAAI,GACLW,KAAK,GAERG,UAAU,iBACT1B,KAAA,CAAA2B,aAAA,CAACvB,wBAAwB,qBACvBJ,KAAA,CAAA2B,aAAA,CAACxB,iBAAiB;IAAC,mBAAW;IAAC8B,IAAI,EAAC,IAAI;IAACd,QAAQ,EAAEA;EAAS,GACxD,YAAM;IACN,IAAIN,QAAQ,EAAE,oBAAOb,KAAA,CAAA2B,aAAA,CAAC1B,MAAM,CAACiC,QAAQ;MAACrB,QAAQ,EAAEA;IAAS,CAAE,CAAC;IAC5D,IAAIC,IAAI,EAAE,oBAAOd,KAAA,CAAA2B,aAAA,CAAC1B,MAAM,CAACkC,IAAI;MAACrB,IAAI,EAAEA;IAAK,CAAE,CAAC;IAC5C,IAAIC,QAAQ,EAAE,oBAAOf,KAAA,CAAA2B,aAAA,CAAC1B,MAAM,CAACmC,KAAK,QAAErB,QAAuB,CAAC;EAC9D,CAAC,CAAE,CACc,CACK,CAC3B,eACDf,KAAA,CAAA2B,aAAA,CAACrB,sBAAsB,QAAEgB,QAAiC,CACxC,CAAC;AAEzB,CACF,CAAC;AAED,IAAMe,KAAK,gBAAGrC,KAAK,CAACS,UAAU,CAG5B,SAAS4B,KAAKA,CAAAC,KAAA,EAAyB1B,GAAG,EAAE;EAAA,IAA3BU,QAAQ,GAAAgB,KAAA,CAARhB,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAc,KAAA,EAAAC,UAAA;EACnC,oBACEvC,KAAA,CAAA2B,aAAA,CAACtB,eAAe,EAAAuB,QAAA;IAACY,MAAM,EAAC,MAAM;IAACC,KAAK,EAAC,QAAQ;IAAC7B,GAAG,EAAEA;EAAI,GAAKW,KAAK,GAC9DD,QACc,CAAC;AAEtB,CAAC,CAAC;AAEF,IAAMoB,WAAW,gBAAG1C,KAAK,CAACS,UAAU,CAGlC,SAASiC,WAAWA,CAAAC,KAAA,EAAyB/B,GAAG,EAAE;EAAA,IAA3BU,QAAQ,GAAAqB,KAAA,CAARrB,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAmB,KAAA,EAAAC,UAAA;EACzC,oBACE5C,KAAA,CAAA2B,aAAA,CAACtB,eAAe,EAAAuB,QAAA;IAACY,MAAM,EAAC,SAAS;IAACC,KAAK,EAAC,QAAQ;IAAC7B,GAAG,EAAEA;EAAI,GAAKW,KAAK,GACjED,QACc,CAAC;AAEtB,CAAC,CAAC;AAEFd,YAAY,CAACqC,WAAW,GAAG,aAAa;AAExCR,KAAK,CAACQ,WAAW,GAAG,mBAAmB;AAEvCH,WAAW,CAACG,WAAW,GAAG,yBAAyB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMnC,WAAW,GAAGR,gBAAgB,CACzC;EACEmC,KAAK,EAALA,KAAK;EACLK,WAAW,EAAXA;AACF,CAAC,EACDlC,YACF,CAAC"}
|
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ContactItemAvatarWrapper: import("styled-components").
|
|
3
|
-
export declare const ContactItemAvatar: import("styled-components").
|
|
2
|
+
export declare const ContactItemAvatarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const ContactItemAvatar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(import("../_utils/polymorphic").Polymorphic.ComponentPropsWithRef<import("../Avatar/Avatar.types").AvatarPolyMap, "link", "href", import("../_utils/types").AriaLabelled<import("../Avatar/Avatar.types").BaseAvatarProps>> | import("../_utils/polymorphic").Polymorphic.ComponentPropsWithRef<import("../Avatar/Avatar.types").AvatarPolyMap, "button", never, import("../_utils/types").AriaLabelled<{
|
|
4
|
+
onPress: ((e: import("@react-types/shared").PressEvent) => void) | undefined;
|
|
5
|
+
} & import("../Avatar/Avatar.types").BaseAvatarProps>> | import("../_utils/polymorphic").Polymorphic.ComponentPropsWithRef<import("../Avatar/Avatar.types").AvatarPolyMap, "img", never, import("../_utils/types").AriaLabelled<import("../Avatar/Avatar.types").BaseAvatarProps>> | ({
|
|
6
|
+
'aria-hidden': true;
|
|
7
|
+
role?: undefined;
|
|
8
|
+
} & import("../Avatar/Avatar.types").BaseAvatarProps & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}) | (import("../Avatar/Avatar.types").BaseAvatarProps & {
|
|
11
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
+
})) & import("styled-components/dist/types").BaseObject, import("styled-components/dist/types").BaseObject>> & string & Omit<(<Role extends import("../Avatar/Avatar.types").AvatarRoles>(props: import("..").AvatarProps<Role> | (import("../Avatar/Avatar.types").BaseAvatarProps & {
|
|
4
13
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
14
|
})) => import("react").JSX.Element) & {
|
|
6
15
|
Icon: import("react").ForwardRefExoticComponent<import("..").DivAttributes & import("..").AvatarIconProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
16
|
Label: import("react").ForwardRefExoticComponent<import("..").DivAttributes & import("../Avatar/Avatar.types").AvatarLabelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
17
|
Portrait: import("react").ForwardRefExoticComponent<import("..").DivAttributes & import("..").AvatarPortraitProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
-
}, any, {},
|
|
10
|
-
export declare const ContactItemTextWrapper: import("styled-components").
|
|
11
|
-
export declare const ContactItemText: import("styled-components").
|
|
12
|
-
|
|
18
|
+
}, keyof import("react").Component<any, {}, any>>;
|
|
19
|
+
export declare const ContactItemTextWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
20
|
+
export declare const ContactItemText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").SpanAttributes & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
21
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
22
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").SpanAttributes & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
|
|
23
|
+
export declare const ContactItemWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
13
24
|
$selected: boolean;
|
|
14
25
|
$disabled: boolean;
|
|
15
26
|
$clickable: boolean;
|
|
16
|
-
}
|
|
27
|
+
}>> & string;
|
|
@@ -7,23 +7,23 @@ import { getLineClamp } from '../_styles/mixins';
|
|
|
7
7
|
import { spacing } from '../_styles/spacing';
|
|
8
8
|
export var ContactItemAvatarWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "ContactItemAvatarWrapper",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-12_23_0__sc-1c4z9pn-0"
|
|
11
11
|
})(["display:inline-flex;align-self:flex-start;"]);
|
|
12
12
|
export var ContactItemAvatar = /*#__PURE__*/styled(Avatar).withConfig({
|
|
13
13
|
displayName: "ContactItemAvatar",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-12_23_0__sc-1c4z9pn-1"
|
|
15
15
|
})(["cursor:inherit;font-weight:", ";"], typographyWeights.bold);
|
|
16
16
|
export var ContactItemTextWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
17
17
|
displayName: "ContactItemTextWrapper",
|
|
18
|
-
componentId: "core-
|
|
18
|
+
componentId: "core-12_23_0__sc-1c4z9pn-2"
|
|
19
19
|
})(["overflow:hidden;margin-left:", "px;"], spacing.sm);
|
|
20
20
|
export var ContactItemText = /*#__PURE__*/styled(Typography).withConfig({
|
|
21
21
|
displayName: "ContactItemText",
|
|
22
|
-
componentId: "core-
|
|
22
|
+
componentId: "core-12_23_0__sc-1c4z9pn-3"
|
|
23
23
|
})(["display:flex;", ""], getLineClamp());
|
|
24
24
|
export var ContactItemWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
25
25
|
displayName: "ContactItemWrapper",
|
|
26
|
-
componentId: "core-
|
|
26
|
+
componentId: "core-12_23_0__sc-1c4z9pn-4"
|
|
27
27
|
})(["display:flex;flex-direction:row;align-items:center;padding:", "px ", "px ", "px ", "px;", " ", " ", ""], spacing.sm, spacing.lg, spacing.sm, spacing.sm, function (_ref) {
|
|
28
28
|
var $disabled = _ref.$disabled,
|
|
29
29
|
$clickable = _ref.$clickable;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledContent: import("styled-components").
|
|
3
|
-
|
|
2
|
+
export declare const StyledContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").DivAttributes & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").DivAttributes & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
5
|
+
export declare const StyledActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").DivAttributes & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").DivAttributes & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -5,10 +5,10 @@ import { mediaIE11Hack } from '../_styles/media';
|
|
|
5
5
|
import { spacing } from '../_styles/spacing';
|
|
6
6
|
export var StyledContent = /*#__PURE__*/styled(Box).withConfig({
|
|
7
7
|
displayName: "StyledContent",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_23_0__sc-10y57gh-0"
|
|
9
9
|
})(["> * + *,> * + h1,> * + h2,> * + h3,> * + h4,> * + p,> * + ul,> * + ol{margin-top:", "px;}> ", " + *{margin-top:0;}> ", ",> ", " > ", ",> ", "{", "{min-height:0;margin-bottom:", "px;}&:last-child ", "{margin-bottom:0;}}"], spacing.lg, StyledFormRow, StyledFormRow, StyledForm, StyledFormRow, StyledFormRow, StyledFormFieldBanner, spacing.md, StyledFormFieldBanner);
|
|
10
10
|
export var StyledActions = /*#__PURE__*/styled(Box).withConfig({
|
|
11
11
|
displayName: "StyledActions",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_23_0__sc-10y57gh-1"
|
|
13
13
|
})(["display:flex;justify-content:flex-end;gap:", "px;@media ", "{& > * + *{margin-left:", "px;}}"], spacing.sm, mediaIE11Hack, spacing.sm);
|
|
14
14
|
//# sourceMappingURL=Content.styles.js.map
|