@kaizen/design-tokens 7.2.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/src/themes/heart.js +1 -1
- package/less/shadow.less +2 -2
- package/package.json +3 -4
- package/sass/shadow.scss +2 -2
- package/src/themes/heart.js +1 -1
- package/src/themes/heart.ts +1 -1
- package/tokens/shadow.json +1 -1
- package/elm/Kaizen/Theme.elm +0 -29
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,46 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [8.0.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/design-tokens@7.2.2...@kaizen/design-tokens@8.0.0) (2022-04-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* remove elm related files, styles and config from Kaizen ([#2686](https://github.com/cultureamp/kaizen-design-system/issues/2686)) ([2fdf913](https://github.com/cultureamp/kaizen-design-system/commit/2fdf913dd4221d10e91cea2bb88208faf958efcc))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* * remove .elm files
|
|
17
|
+
* remove Elm specific .scss files
|
|
18
|
+
* remove Elm specific package folders
|
|
19
|
+
* remove Elm config and devDependencies on Elm
|
|
20
|
+
* remove Elm specific classes and declarations from modal stylesheets
|
|
21
|
+
* update documentation on Elm
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## [7.2.2](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/design-tokens@7.2.1...@kaizen/design-tokens@7.2.2) (2022-04-03)
|
|
28
|
+
|
|
29
|
+
**Note:** Version bump only for package @kaizen/design-tokens
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## [7.2.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/design-tokens@7.2.0...@kaizen/design-tokens@7.2.1) (2022-04-01)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* update small box shadow design token value ([#2666](https://github.com/cultureamp/kaizen-design-system/issues/2666)) ([3eb65c1](https://github.com/cultureamp/kaizen-design-system/commit/3eb65c16deea41bb3ecc18db32c843c346398976))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
6
46
|
# [7.2.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/design-tokens@7.1.4...@kaizen/design-tokens@7.2.0) (2022-03-31)
|
|
7
47
|
|
|
8
48
|
|
package/dist/src/themes/heart.js
CHANGED
|
@@ -129,7 +129,7 @@ exports.heartTheme = {
|
|
|
129
129
|
},
|
|
130
130
|
shadow: {
|
|
131
131
|
small: {
|
|
132
|
-
boxShadow: "0px
|
|
132
|
+
boxShadow: "0px 3px 16px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1)",
|
|
133
133
|
},
|
|
134
134
|
large: {
|
|
135
135
|
boxShadow: "0px 8px 40px rgba(0, 0, 0, 0.08), 0px 3px 9px rgba(0, 0, 0, 0.1)",
|
package/less/shadow.less
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
@shadow-small-box-shadow: var(
|
|
4
4
|
--shadow-small-box-shadow,
|
|
5
|
-
0px
|
|
6
|
-
0px
|
|
5
|
+
0px 3px 16px rgba(0, 0, 0, 0.06),
|
|
6
|
+
0px 1px 3px rgba(0, 0, 0, 0.1)
|
|
7
7
|
);
|
|
8
8
|
@shadow-small-box-shadow-id: --shadow-small-box-shadow;
|
|
9
9
|
@shadow-large-box-shadow: var(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/design-tokens",
|
|
3
3
|
"description": "Tokens used in the Kaizen Design System",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8.0.0",
|
|
5
5
|
"homepage": "https://github.com/cultureamp/kaizen-design-system/tree/master/packages/design-tokens",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"src",
|
|
19
19
|
"react",
|
|
20
20
|
"dist",
|
|
21
|
-
"elm",
|
|
22
21
|
"!**/*.spec.*",
|
|
23
22
|
"!docs"
|
|
24
23
|
],
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
"@types/yargs": "^16.0.4",
|
|
44
43
|
"json-to-flat-sass": "^1.0.0",
|
|
45
44
|
"lodash.flatmap": "^4.5.0",
|
|
46
|
-
"postcss": "^8.4.
|
|
45
|
+
"postcss": "^8.4.12",
|
|
47
46
|
"prettier": "*",
|
|
48
47
|
"react-highlight": "^0.14.0",
|
|
49
48
|
"react-intersection-observer": "^8.32.5",
|
|
@@ -60,5 +59,5 @@
|
|
|
60
59
|
"peerDependencies": {
|
|
61
60
|
"react": ">=16 || ^17.0.0"
|
|
62
61
|
},
|
|
63
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "9c18c6ac4f466c3191ff5e12a93e7ce5db77be72"
|
|
64
63
|
}
|
package/sass/shadow.scss
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
$shadow-small-box-shadow: var(
|
|
4
4
|
--shadow-small-box-shadow,
|
|
5
|
-
0px
|
|
6
|
-
0px
|
|
5
|
+
0px 3px 16px rgba(0, 0, 0, 0.06),
|
|
6
|
+
0px 1px 3px rgba(0, 0, 0, 0.1)
|
|
7
7
|
);
|
|
8
8
|
$shadow-small-box-shadow-id: --shadow-small-box-shadow;
|
|
9
9
|
$shadow-large-box-shadow: var(
|
package/src/themes/heart.js
CHANGED
|
@@ -129,7 +129,7 @@ exports.heartTheme = {
|
|
|
129
129
|
},
|
|
130
130
|
shadow: {
|
|
131
131
|
small: {
|
|
132
|
-
boxShadow: "0px
|
|
132
|
+
boxShadow: "0px 3px 16px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1)"
|
|
133
133
|
},
|
|
134
134
|
large: {
|
|
135
135
|
boxShadow: "0px 8px 40px rgba(0, 0, 0, 0.08), 0px 3px 9px rgba(0, 0, 0, 0.1)"
|
package/src/themes/heart.ts
CHANGED
|
@@ -129,7 +129,7 @@ export const heartTheme: Theme = {
|
|
|
129
129
|
shadow: {
|
|
130
130
|
small: {
|
|
131
131
|
boxShadow:
|
|
132
|
-
"0px
|
|
132
|
+
"0px 3px 16px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1)",
|
|
133
133
|
},
|
|
134
134
|
large: {
|
|
135
135
|
boxShadow:
|
package/tokens/shadow.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"shadow": {
|
|
3
3
|
"small": {
|
|
4
|
-
"boxShadow": "var(--shadow-small-box-shadow, 0px
|
|
4
|
+
"boxShadow": "var(--shadow-small-box-shadow, 0px 3px 16px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1))",
|
|
5
5
|
"boxShadow-id": "--shadow-small-box-shadow"
|
|
6
6
|
},
|
|
7
7
|
"large": {
|
package/elm/Kaizen/Theme.elm
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
module Kaizen.Theme exposing (Theme(..), defaultTheme, themeDecoder)
|
|
2
|
-
|
|
3
|
-
import Json.Decode as Decode exposing (Decoder)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type Theme
|
|
7
|
-
= Heart
|
|
8
|
-
| Zen
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
defaultTheme =
|
|
12
|
-
Heart
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
themeDecoder : Decoder Theme
|
|
16
|
-
themeDecoder =
|
|
17
|
-
Decode.string
|
|
18
|
-
|> Decode.map
|
|
19
|
-
(\themeString ->
|
|
20
|
-
case themeString of
|
|
21
|
-
"zen" ->
|
|
22
|
-
Zen
|
|
23
|
-
|
|
24
|
-
"heart" ->
|
|
25
|
-
Heart
|
|
26
|
-
|
|
27
|
-
_ ->
|
|
28
|
-
defaultTheme
|
|
29
|
-
)
|