Skip to content

Commit

Permalink
feat: add new icons and new size to ProgressRing
Browse files Browse the repository at this point in the history
- add `cloud-download` icon
- add `xxs` size to `ProgressRing`
- add `UndeleteIcon`
Ticket: task/Fundae-140
Reviewed-by: @MIGUELez11
Refs: #205
  • Loading branch information
MIGUELez11 authored Nov 8, 2024
1 parent 60f35d3 commit 6a9603d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';

export const PROGRESSRING_SIZES = ['xs', 'sm', 'md', 'lg', 'xl'];
export const PROGRESSRING_SIZES = ['xxs', 'xs', 'sm', 'md', 'lg', 'xl'];
export const PROGRESS_RING_DEFAULT_PROPS = {
sections: [{ value: 10, color: '#307AE8' }],
label: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const ProgressRing = ({ sections, label, roundCaps, size, thickness, rootColor }

const sizeValue = PROGRESSRING_SIZES.includes(size) ? size : PROGRESSRING_SIZES[2];
const sizeHandler = {
xxs: 28,
xs: 56,
sm: 82,
md: 92,
Expand Down
3 changes: 3 additions & 0 deletions packages/icons/src/outline/cloud-download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6a9603d

Please sign in to comment.