diff --git a/package.json b/package.json index 8190478..da0b048 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@manuscripts/style-guide", "description": "Shared components for Manuscripts applications", - "version": "2.0.25", + "version": "2.0.26-LEAN-4150.0", "repository": "github:Atypon-OpenSource/manuscripts-style-guide", "license": "Apache-2.0", "main": "dist/cjs", diff --git a/src/components/ContextMenu.tsx b/src/components/ContextMenu.tsx index 8623309..b7150ab 100644 --- a/src/components/ContextMenu.tsx +++ b/src/components/ContextMenu.tsx @@ -18,7 +18,7 @@ import React from 'react' import styled from 'styled-components' import { IconButton, IconButtonGroup } from './Button' -import { AddCommentIcon, EditIcon } from './icons' +import { AddCommentIcon, EditIcon, ScrollIcon } from './icons' import { Tooltip } from './Tooltip' export interface Actions { @@ -44,6 +44,7 @@ const ContextMenuIconButton = styled(IconButton)` const icons: { [key: string]: React.FC } = { AddComment: AddCommentIcon, Edit: EditIcon, + Scroll: ScrollIcon, } export const ContextMenu: React.FC = ({ actions }) => ( diff --git a/src/components/icons/index.ts b/src/components/icons/index.ts index fe51617..2d5ec6e 100644 --- a/src/components/icons/index.ts +++ b/src/components/icons/index.ts @@ -76,6 +76,7 @@ export { default as RoleReadingIcon } from './role-reading' export { default as SaveStatusOfflineIcon } from './save-status-offline' export { default as SaveStatusSavedIcon } from './save-status-saved' export { default as SaveStatusSavingIcon } from './save-status-saving' +export { default as ScrollIcon } from './scroll' export { default as SearchIcon } from './search' export { default as SectionCategoryIcon } from './section-category' export { default as SliderOffIcon } from './slider-off' diff --git a/src/components/icons/scroll.tsx b/src/components/icons/scroll.tsx new file mode 100644 index 0000000..d44adeb --- /dev/null +++ b/src/components/icons/scroll.tsx @@ -0,0 +1,61 @@ +/*! + * © 2024 Atypon Systems LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import React from 'react' + +import { IconProps } from './types' + +const ScrollIcon: React.FC = () => ( + + + + + + + +) + +export default ScrollIcon diff --git a/stories/Icons.stories.tsx b/stories/Icons.stories.tsx index 477d402..ea71242 100644 --- a/stories/Icons.stories.tsx +++ b/stories/Icons.stories.tsx @@ -76,6 +76,7 @@ import { SaveStatusOfflineIcon, SaveStatusSavedIcon, SaveStatusSavingIcon, + ScrollIcon, SearchIcon, SystemUserAvatarIcon, TaskStepDoneIcon, @@ -173,6 +174,7 @@ storiesOf('Icons', module).add('Icons', () => ( +