Skip to content

Commit 4bda8c0

Browse files
authored
🍱 Icons: circle_filled, adjusted in_progress (#3719)
* figma broker: all imports must have file ending * circle_filled, modified in_progress * 🔖release [email protected]
1 parent 0886e92 commit 4bda8c0

File tree

25 files changed

+833
-796
lines changed

25 files changed

+833
-796
lines changed
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 1 deletion
Loading

packages/eds-core-react/stories/assets/icons/system-icons.json

Lines changed: 746 additions & 734 deletions
Large diffs are not rendered by default.

packages/eds-icons/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.22.0] - 2025-01-08
9+
10+
### Added
11+
12+
- `circle_filled`
13+
14+
### Changed
15+
16+
- `in_progress` stroke thickness adjusted to conform with the rest of the circle icons
17+
818
## [0.21.0] - 2024-01-26
919

1020
### Added

packages/eds-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@equinor/eds-icons",
3-
"version": "0.21.0",
3+
"version": "0.22.0",
44
"description": "Icons from the Equinor Design System",
55
"main": "dist/icons.cjs",
66
"module": "dist/esm/index.js",

packages/eds-icons/src/data.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ export const in_progress: IconData = {
562562
prefix: 'eds',
563563
height: '24',
564564
width: '24',
565-
svgPathData: 'M12 19.5v-15a7.5 7.5 0 1 0 0 15M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2',
565+
svgPathData: 'M12 20V4c-4.142 0-8 3.858-8 8s3.858 8 8 8m0-18c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2',
566566

567567
}
568568

@@ -611,6 +611,15 @@ export const enlarge: IconData = {
611611

612612
}
613613

614+
export const circle_filled: IconData = {
615+
name: 'circle_filled',
616+
prefix: 'eds',
617+
height: '24',
618+
width: '24',
619+
svgPathData: 'M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10',
620+
621+
}
622+
614623
export const signature: IconData = {
615624
name: 'signature',
616625
prefix: 'eds',

scripts/figma-broker/actions/createAssets/fetchAssets.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import {
44
getFigmaFile,
55
processFigmaFile,
66
fetchFigmaImageUrls,
7-
} from '../../functions/figma'
8-
import { fetchFile } from '../../functions/file'
9-
import { getAssets } from '../../files/assets'
10-
import { sleep, mergeStrings } from '../../functions/utils'
7+
} from '../../functions/figma.js'
8+
import { fetchFile } from '../../functions/file.js'
9+
import { getAssets } from '../../files/assets/index.js'
10+
import { sleep, mergeStrings } from '../../functions/utils.js'
1111

1212
const getSvgPathData = R.pipe(
1313
R.match(/d="(.+?)"/g),

scripts/figma-broker/actions/createAssets/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import {
44
writeResults,
55
writeFile,
66
writeResultsIndividually,
7-
} from '../../functions/file'
8-
import { PATHS } from '../../constants'
9-
import { fetchAssets } from './fetchAssets'
7+
} from '../../functions/file.js'
8+
import { PATHS } from '../../constants.js'
9+
import { fetchAssets } from './fetchAssets.js'
1010

1111
// const svgContent = (asset) => {
1212
// if (!asset) return { symbol: '', use: '' }

scripts/figma-broker/actions/createTokens.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import * as R from 'ramda'
2-
import { getFigmaFile, processFigmaFile } from '../functions/figma'
3-
import { writeFile, writeResults } from '../functions/file'
4-
import { makeTokens } from '../files/design-tokens'
5-
import { makeColorCss } from '../files/design-tokens/color'
6-
import { makeSpacingCss } from '../files/design-tokens/spacing'
7-
import { makeElevationCss } from '../files/design-tokens/elevation'
8-
import { makeClickboundsCss } from '../files/design-tokens/clickbounds'
9-
import { makeTypographyCss } from '../files/design-tokens/typography'
10-
import { makeShapeCss } from '../files/design-tokens/shape'
11-
import { PATHS } from '../constants'
12-
import { mergeStrings } from '../functions/utils'
2+
import { getFigmaFile, processFigmaFile } from '../functions/figma.js'
3+
import { writeFile, writeResults } from '../functions/file.js'
4+
import { makeTokens } from '../files/design-tokens/index.js'
5+
import { makeColorCss } from '../files/design-tokens/color.js'
6+
import { makeSpacingCss } from '../files/design-tokens/spacing.js'
7+
import { makeElevationCss } from '../files/design-tokens/elevation.js'
8+
import { makeClickboundsCss } from '../files/design-tokens/clickbounds.js'
9+
import { makeTypographyCss } from '../files/design-tokens/typography.js'
10+
import { makeShapeCss } from '../files/design-tokens/shape.js'
11+
import { PATHS } from '../constants.js'
12+
import { mergeStrings } from '../functions/utils.js'
1313

1414
const TOKENS_LIB_DIR = PATHS.BASE_TOKENS
1515

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export { createAssets } from './createAssets'
2-
export { createTokens } from './createTokens'
1+
export { createAssets } from './createAssets/index.js'
2+
export { createTokens } from './createTokens.js'

0 commit comments

Comments
 (0)