@zohodesk/icons 1.4.0 → 1.4.1

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.4.1
4
+
5
+ - `@dot-system/css-utility` classes adopted
6
+
7
+
3
8
  ## 1.4.0
4
9
 
5
10
  - `@dot-system/css-utility` classes adopted and cva added (consumers need to import the utility CSS)
@@ -1,14 +1,10 @@
1
1
  @layer dot-icons.base {
2
2
  /* $Id$ */
3
3
  .basic {
4
+ composes: d-not-italic d-normal-case d-antialiased d-font-normal from global;
4
5
  speak: none;
5
- font-style: normal;
6
- font-weight: normal;
7
6
  font-variant: normal;
8
- text-transform: none;
9
7
  line-height: 1;
10
- -webkit-font-smoothing: antialiased;
11
- -moz-osx-font-smoothing: grayscale;
12
8
  font-size: var(--zd-iconfont-size, inherit);
13
9
  }
14
10
  .basic,.basic > span{
@@ -1,14 +1,10 @@
1
1
  @layer dot-icons.base {
2
2
  /* $Id$ */
3
3
  .basic {
4
+ composes: d-not-italic d-normal-case d-antialiased d-font-normal from global;
4
5
  speak: none;
5
- font-style: normal;
6
- font-weight: normal;
7
6
  font-variant: normal;
8
- text-transform: none;
9
7
  line-height: 1;
10
- -webkit-font-smoothing: antialiased;
11
- -moz-osx-font-smoothing: grayscale;
12
8
  font-size: var(--zd-iconfont-size, inherit);
13
9
  }
14
10
  .basic,.basic > span{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/icons",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "DOT - Icons",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -18,6 +18,7 @@
18
18
  "LIBRARY"
19
19
  ],
20
20
  "scripts": {
21
+ "lint:css": "cd ../ && npx stylelint icons/src/**/*.css",
21
22
  "clean": "cdt clean lib es coverage test-slices assets",
22
23
  "build": "npm run build:lib && npm run build:es",
23
24
  "build:lib": "cbt build:lib src lib",
@@ -44,7 +45,7 @@
44
45
  "css:layer_wrap_lib": "npx z-node-plugins css:layer_wrap ./lib ./assets css_layer_config.json --rewrite=src=lib --rewrite=assets=assets --skip-existing-layer",
45
46
  "css:layer_generate_order": "npx z-node-plugins css:layer_order css_layer_config.json ./src/icon_layer.module.css",
46
47
  "css:layer_config_validate": "npx z-node-plugins css:layer_validate css_layer_config.json ./src/ ./assets",
47
- "css:build": "npm run css:layer_config_validate && npm run css:layer_generate_order && npm run build && npm run css:layer_wrap_es && npm run css:layer_wrap_lib && npm run css:ff",
48
+ "css:build": "npm run lint:css && npm run css:layer_config_validate && npm run css:layer_generate_order && npm run build && npm run css:layer_wrap_es && npm run css:layer_wrap_lib && npm run css:ff",
48
49
  "css:ff": "node ./scripts/rewriteFontFamilyToFf.js",
49
50
  "css:layer_remove": "npx z-node-plugins css:layer_remove ./es ./assets css_layer_config.json --rewrite=src=es --rewrite=assets=assets",
50
51
  "cssVariableConvert": "react-cli variableConverter ./lib ./lib && react-cli variableConverter ./es ./es",
@@ -59,20 +60,20 @@
59
60
  "@testing-library/react-hooks": "^7.0.2",
60
61
  "@testing-library/user-event": "^13.0.10",
61
62
  "@zohodesk-private/node-plugins": "1.1.16",
62
- "@zohodesk/variables": "1.3.2",
63
+ "@zohodesk/variables": "1.3.3",
63
64
  "postcss": "^8.5.6",
64
65
  "@zohodesk/react-cli": "1.1.27",
65
66
  "@zohodesk/client_build_tool": "0.0.23",
66
67
  "@zohodesk/jsx_attribute_wrapper": "1.0.0",
67
- "@dot-system/css-utility": "0.1.4",
68
+ "@dot-system/css-utility": "0.1.6",
68
69
  "@zohodesk/dotkit": "1.0.10",
69
70
  "@zohodesk-private/client_deployment_tool": "0.0.7",
70
71
  "@babel/preset-react": "7.29.7",
71
- "@zohodesk/testinglibrary": "4.1.10"
72
+ "@zohodesk/testinglibrary": "4.1.16"
72
73
  },
73
74
  "peerDependencies": {
74
- "@zohodesk/variables": "1.3.2",
75
- "@dot-system/css-utility": "0.1.4",
75
+ "@zohodesk/variables": "1.3.3",
76
+ "@dot-system/css-utility": "0.1.6",
76
77
  "@zohodesk/dotkit": "1.0.10"
77
78
  }
78
- }
79
+ }