Skip to content

Commit

Permalink
⬆️ Styled-components@6.1.11 (#3431)
Browse files Browse the repository at this point in the history
* ⬆️ Styled-components@6.1.11

* progress: fix types
  • Loading branch information
oddvernes authored May 13, 2024
1 parent 83a78c7 commit 37c6dec
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 70 deletions.
2 changes: 1 addition & 1 deletion packages/eds-core-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-postcss": "^4.0.2",
"storybook": "^8.0.2",
"styled-components": "6.1.8",
"styled-components": "6.1.11",
"tsc-watch": "^6.0.4",
"typescript": "^5.2.2"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import { forwardRef, SVGProps, Ref, useEffect, useState } from 'react'
import {
forwardRef,
SVGProps,
Ref,
useEffect,
useState,
CSSProperties,
} from 'react'
import styled, { css, keyframes } from 'styled-components'
import * as tokens from './CircularProgress.tokens'
import type { CircularProgressToken } from './CircularProgress.tokens'
import type { CSSObject } from 'styled-components'

const indeterminate = keyframes`
100% {
Expand Down Expand Up @@ -81,7 +87,7 @@ const CircularProgress = forwardRef<SVGSVGElement, CircularProgressProps>(
) {
const thickness = 4
const progress = Math.round(value)
const trackStyle: CSSObject = {}
const trackStyle: CSSProperties = {}
const props = {
...rest,
ref,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { forwardRef, HTMLAttributes, useEffect, useState } from 'react'
import {
forwardRef,
HTMLAttributes,
useEffect,
useState,
CSSProperties,
} from 'react'
import styled, { keyframes } from 'styled-components'
import type { CSSObject } from 'styled-components'
import * as tokens from './LinearProgress.tokens'

const indeterminate = keyframes`
Expand Down Expand Up @@ -99,7 +104,7 @@ const LinearProgress = forwardRef<HTMLDivElement, LinearProgressProps>(
}
}

const transformStyle: CSSObject = {
const transformStyle: CSSProperties = {
transform: barStyle,
}

Expand Down
2 changes: 1 addition & 1 deletion packages/eds-data-grid-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-postcss": "^4.0.2",
"storybook": "^8.0.2",
"styled-components": "6.1.8",
"styled-components": "6.1.11",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"tsc-watch": "^6.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/eds-lab-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-postcss": "^4.0.2",
"storybook": "8.0.2",
"styled-components": "6.1.8",
"styled-components": "6.1.11",
"tsc-watch": "^6.0.4",
"typescript": "^5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/eds-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"react-is": "^18.2.0",
"rollup": "^4.2.0",
"rollup-plugin-delete": "^2.0.0",
"styled-components": "6.1.8",
"styled-components": "6.1.11",
"tsc-watch": "^6.0.4",
"typescript": "^5.2.2"
},
Expand Down
Loading

0 comments on commit 37c6dec

Please sign in to comment.