Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
CHORE(NPM) - bump @leafygreen-ui/tokens from 2.1.0 to 2.3.0 (#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 13, 2024
1 parent 6c571cf commit c03baa4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"@leafygreen-ui/text-input": "12.1.24",
"@leafygreen-ui/toast": "6.1.4",
"@leafygreen-ui/toggle": "10.0.17",
"@leafygreen-ui/tokens": "2.1.0",
"@leafygreen-ui/tokens": "2.3.0",
"@leafygreen-ui/tooltip": "10.0.10",
"@leafygreen-ui/typography": "17.0.1",
"@rjsf/core": "4.2.3",
Expand Down
6 changes: 3 additions & 3 deletions src/constants/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { spacing } from "@leafygreen-ui/tokens";

// Should be used for spacing such as margins and padding.
const size = {
xxs: `${spacing[1]}px`, // 4px
xs: `${spacing[2]}px`, // 8px
s: `${spacing[3]}px`, // 16px
xxs: `${spacing[100]}px`, // 4px
xs: `${spacing[200]}px`, // 8px
s: `${spacing[400]}px`, // 16px
m: `${spacing[4]}px`, // 24px
l: `${spacing[5]}px`, // 32px
xl: `${spacing[6]}px`, // 64px
Expand Down
17 changes: 5 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3967,12 +3967,12 @@
"@leafygreen-ui/palette" "^4.0.7"
"@leafygreen-ui/tokens" "^2.1.4"

"@leafygreen-ui/tokens@2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@leafygreen-ui/tokens/-/tokens-2.1.0.tgz#9677750169876536447b2944c4caaca7c0a4fa4e"
integrity sha512-sn+vveqrWYq0ubKuo5i1q8DS8IVIyApxyjwR0j4QoxW0w1ina9DOgK5KG1XIptw/i1kGQEMCw/5rOfqQWLv3Kw==
"@leafygreen-ui/tokens@2.3.0", "@leafygreen-ui/tokens@^2.0.0", "@leafygreen-ui/tokens@^2.0.1", "@leafygreen-ui/tokens@^2.1.0", "@leafygreen-ui/tokens@^2.1.1", "@leafygreen-ui/tokens@^2.1.4", "@leafygreen-ui/tokens@^2.2.0", "@leafygreen-ui/tokens@^2.3.0":
version "2.3.0"
resolved "https://registry.yarnpkg.com/@leafygreen-ui/tokens/-/tokens-2.3.0.tgz#33ec8416f423849c64174b387c2844cb41c24752"
integrity sha512-8oDrQWRvUISitKLufO+9rpvQnJxU56sVUhTjR3O3sY7CkRo1vhHUV7F82oY3Gt6nBXVn82RrBTHzZ6F6LHlBvw==
dependencies:
"@leafygreen-ui/palette" "^4.0.4"
"@leafygreen-ui/palette" "^4.0.7"

"@leafygreen-ui/tokens@^1.4.1":
version "1.4.1"
Expand All @@ -3981,13 +3981,6 @@
dependencies:
"@leafygreen-ui/palette" "^3.4.5"

"@leafygreen-ui/tokens@^2.0.0", "@leafygreen-ui/tokens@^2.0.1", "@leafygreen-ui/tokens@^2.1.0", "@leafygreen-ui/tokens@^2.1.1", "@leafygreen-ui/tokens@^2.1.4", "@leafygreen-ui/tokens@^2.2.0", "@leafygreen-ui/tokens@^2.3.0":
version "2.3.0"
resolved "https://registry.yarnpkg.com/@leafygreen-ui/tokens/-/tokens-2.3.0.tgz#33ec8416f423849c64174b387c2844cb41c24752"
integrity sha512-8oDrQWRvUISitKLufO+9rpvQnJxU56sVUhTjR3O3sY7CkRo1vhHUV7F82oY3Gt6nBXVn82RrBTHzZ6F6LHlBvw==
dependencies:
"@leafygreen-ui/palette" "^4.0.7"

"@leafygreen-ui/[email protected]":
version "10.0.10"
resolved "https://registry.yarnpkg.com/@leafygreen-ui/tooltip/-/tooltip-10.0.10.tgz#bebf502c7b8ef12fdb40a2a9bdcbafa1273b410b"
Expand Down

0 comments on commit c03baa4

Please sign in to comment.