@zohodesk/components 1.6.30 → 1.6.31

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.31
4
+
5
+ - `@dot-system/css-utility` classes adopted
6
+
3
7
  ## 1.6.30
4
8
 
5
9
  - Updated the semibold font-weight CSS variable from 600 to 500 to avoid font-family conflicts across applications in Lato @font-face.
@@ -272,10 +272,9 @@
272
272
  }
273
273
 
274
274
  .overlay {
275
- composes: d-absolute from global;
275
+ composes: d-absolute d-bg-inherit from global;
276
276
  top: 0 ;
277
277
  bottom: 0 ;
278
- background-color: inherit;
279
278
  border-radius: inherit;
280
279
  }
281
280
 
@@ -144,7 +144,7 @@
144
144
 
145
145
  .labelContainer {
146
146
  composes: dflex flexcolumn from '../common/common.module.css';
147
- gap: var(--zd_size4) ;
147
+ composes: d-gap-[4px] from global;
148
148
  margin-inline-start:var(--zd_size6) ;
149
149
  }
150
150
  @keyframes tickAnimate {
@@ -1,7 +1,6 @@
1
1
  .wrapper {
2
- flex-shrink: 0;
2
+ composes: d-flex-shrink-0 d-m-0 from global;
3
3
  border: none;
4
- margin: 0 ;
5
4
  }
6
5
 
7
6
  .horizontal {
@@ -28,13 +28,12 @@
28
28
  }
29
29
  .list {
30
30
  composes: varClass;
31
- composes: d-relative d-border-solid d-cursor-pointer from global;
31
+ composes: d-relative d-border-solid d-cursor-pointer d-no-underline from global;
32
32
  list-style: none;
33
33
  color: var(--listitem_text_color);
34
34
  font-size: var(--listitem_font_size);
35
35
  height: var(--listitem_height);
36
36
  min-height: var(--listitem_min_height);
37
- text-decoration: none;
38
37
  padding: var(--listitem_padding);
39
38
  border-width: var(--listitem_border_width);
40
39
  border-color: var(--listitem_border_color);
@@ -133,7 +133,7 @@
133
133
 
134
134
  .labelContainer {
135
135
  composes: dflex flexcolumn from '../common/common.module.css';
136
- gap: var(--zd_size4) ;
136
+ composes: d-gap-[4px] from global;
137
137
  margin: var(--radio_label_margin);
138
138
  }
139
139
 
@@ -1,7 +1,6 @@
1
1
  .tab {
2
- composes: d-uppercase d-cursor-pointer from global;
2
+ composes: d-uppercase d-cursor-pointer d-no-underline from global;
3
3
  letter-spacing: 0.6px;
4
- text-decoration: none;
5
4
  }
6
5
  .vertical {
7
6
  composes: d-h-full from global;
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .decoration_default {
54
- text-decoration: none;
54
+ composes: d-no-underline from global;
55
55
  }
56
56
 
57
57
  .decoration_underline {
@@ -1,6 +1,5 @@
1
1
  .buttonReset {
2
- composes: d-p-0 d-bg-inherit d-text-inherit d-outline-0 from global;
2
+ composes: d-p-0 d-bg-inherit d-text-inherit d-outline-0 d-text-align-inherit from global;
3
3
  font: inherit;
4
4
  border: inherit;
5
- text-align: inherit;
6
5
  }
@@ -31,7 +31,6 @@
31
31
  transition-duration: var(--local-button-transition-duration);
32
32
  transition-timing-function: ease;
33
33
  cursor: var(--local-button-cursor);
34
- background-image: none;
35
34
  }
36
35
 
37
36
  .disabledPointer {
@@ -1,7 +1,7 @@
1
1
  .container {
2
+ composes: d-gap-[6px] from global;
2
3
  --local-switch-cursor: pointer;
3
4
  --local-switch-offLabel-stroke: var(--zdt_v1_switch_offLabel);
4
- gap: var(--zd_size6) ;
5
5
  }
6
6
  .small {
7
7
  --local-switch-track-width: var(--zd_size22);
@@ -66,11 +66,10 @@
66
66
  opacity: 0.4;
67
67
  }
68
68
  .track {
69
- composes: d-block d-relative from global;
69
+ composes: d-block d-relative d-m-0 from global;
70
70
  appearance: none;
71
71
  height: var(--local-switch-track-height);
72
72
  width: var(--local-switch-track-width);
73
- margin: 0 ;
74
73
  border-radius: var(--local-switch-track-border-radius);
75
74
  background-color: var(--local-switch-track-background-color);
76
75
  cursor: var(--local-switch-cursor);
@@ -272,10 +272,9 @@
272
272
  }
273
273
 
274
274
  .overlay {
275
- composes: d-absolute from global;
275
+ composes: d-absolute d-bg-inherit from global;
276
276
  top: 0 ;
277
277
  bottom: 0 ;
278
- background-color: inherit;
279
278
  border-radius: inherit;
280
279
  }
281
280
 
@@ -144,7 +144,7 @@
144
144
 
145
145
  .labelContainer {
146
146
  composes: dflex flexcolumn from '../common/common.module.css';
147
- gap: var(--zd_size4) ;
147
+ composes: d-gap-[4px] from global;
148
148
  margin-inline-start:var(--zd_size6) ;
149
149
  }
150
150
  @keyframes tickAnimate {
@@ -1,7 +1,6 @@
1
1
  .wrapper {
2
- flex-shrink: 0;
2
+ composes: d-flex-shrink-0 d-m-0 from global;
3
3
  border: none;
4
- margin: 0 ;
5
4
  }
6
5
 
7
6
  .horizontal {
@@ -28,13 +28,12 @@
28
28
  }
29
29
  .list {
30
30
  composes: varClass;
31
- composes: d-relative d-border-solid d-cursor-pointer from global;
31
+ composes: d-relative d-border-solid d-cursor-pointer d-no-underline from global;
32
32
  list-style: none;
33
33
  color: var(--listitem_text_color);
34
34
  font-size: var(--listitem_font_size);
35
35
  height: var(--listitem_height);
36
36
  min-height: var(--listitem_min_height);
37
- text-decoration: none;
38
37
  padding: var(--listitem_padding);
39
38
  border-width: var(--listitem_border_width);
40
39
  border-color: var(--listitem_border_color);
@@ -133,7 +133,7 @@
133
133
 
134
134
  .labelContainer {
135
135
  composes: dflex flexcolumn from '../common/common.module.css';
136
- gap: var(--zd_size4) ;
136
+ composes: d-gap-[4px] from global;
137
137
  margin: var(--radio_label_margin);
138
138
  }
139
139
 
@@ -1,7 +1,6 @@
1
1
  .tab {
2
- composes: d-uppercase d-cursor-pointer from global;
2
+ composes: d-uppercase d-cursor-pointer d-no-underline from global;
3
3
  letter-spacing: 0.6px;
4
- text-decoration: none;
5
4
  }
6
5
  .vertical {
7
6
  composes: d-h-full from global;
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .decoration_default {
54
- text-decoration: none;
54
+ composes: d-no-underline from global;
55
55
  }
56
56
 
57
57
  .decoration_underline {
@@ -1,6 +1,5 @@
1
1
  .buttonReset {
2
- composes: d-p-0 d-bg-inherit d-text-inherit d-outline-0 from global;
2
+ composes: d-p-0 d-bg-inherit d-text-inherit d-outline-0 d-text-align-inherit from global;
3
3
  font: inherit;
4
4
  border: inherit;
5
- text-align: inherit;
6
5
  }
@@ -31,7 +31,6 @@
31
31
  transition-duration: var(--local-button-transition-duration);
32
32
  transition-timing-function: ease;
33
33
  cursor: var(--local-button-cursor);
34
- background-image: none;
35
34
  }
36
35
 
37
36
  .disabledPointer {
@@ -1,7 +1,7 @@
1
1
  .container {
2
+ composes: d-gap-[6px] from global;
2
3
  --local-switch-cursor: pointer;
3
4
  --local-switch-offLabel-stroke: var(--zdt_v1_switch_offLabel);
4
- gap: var(--zd_size6) ;
5
5
  }
6
6
  .small {
7
7
  --local-switch-track-width: var(--zd_size22);
@@ -66,11 +66,10 @@
66
66
  opacity: 0.4;
67
67
  }
68
68
  .track {
69
- composes: d-block d-relative from global;
69
+ composes: d-block d-relative d-m-0 from global;
70
70
  appearance: none;
71
71
  height: var(--local-switch-track-height);
72
72
  width: var(--local-switch-track-width);
73
- margin: 0 ;
74
73
  border-radius: var(--local-switch-track-border-radius);
75
74
  background-color: var(--local-switch-track-background-color);
76
75
  cursor: var(--local-switch-cursor);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.6.30",
3
+ "version": "1.6.31",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -78,12 +78,12 @@
78
78
  "@zohodesk-private/css-variable-migrator": "1.0.12",
79
79
  "@zohodesk-private/node-plugins": "1.1.16",
80
80
  "@zohodesk-private/react-prop-validator": "1.2.4",
81
- "@zohodesk/a11y": "2.3.9",
81
+ "@zohodesk/a11y": "2.3.10",
82
82
  "@zohodesk/docstool": "1.0.0-alpha-2",
83
83
  "@zohodesk/dotkit": "1.0.10",
84
84
  "@zohodesk/hooks": "2.0.8",
85
- "@zohodesk/icons": "1.4.0",
86
- "@zohodesk/layout": "3.2.3",
85
+ "@zohodesk/icons": "1.4.1",
86
+ "@zohodesk/layout": "3.2.4",
87
87
  "@zohodesk/svg": "1.4.1",
88
88
  "@zohodesk/utils": "1.3.16",
89
89
  "@zohodesk/variables": "1.3.3",
@@ -94,7 +94,7 @@
94
94
  "@zohodesk/client_build_tool": "0.0.23",
95
95
  "color": "4.2.3",
96
96
  "@zohodesk/jsx_attribute_wrapper": "1.0.0",
97
- "@dot-system/css-utility": "0.1.5",
97
+ "@dot-system/css-utility": "0.1.6",
98
98
  "@zohodesk-private/client_deployment_tool": "0.0.7",
99
99
  "@babel/preset-react": "7.29.7",
100
100
  "@zohodesk/testinglibrary": "4.1.16"
@@ -106,7 +106,7 @@
106
106
  "selectn": "1.1.2"
107
107
  },
108
108
  "peerDependencies": {
109
- "@zohodesk/icons": "1.4.0",
109
+ "@zohodesk/icons": "1.4.1",
110
110
  "@zohodesk/variables": "1.3.3",
111
111
  "@zohodesk/svg": "1.4.1",
112
112
  "@zohodesk/virtualizer": "1.0.13",
@@ -114,10 +114,10 @@
114
114
  "react-sortable-hoc": "^0.8.3",
115
115
  "@zohodesk/hooks": "2.0.8",
116
116
  "@zohodesk/utils": "1.3.16",
117
- "@zohodesk/a11y": "2.3.9",
118
- "@zohodesk/layout": "3.2.3",
117
+ "@zohodesk/a11y": "2.3.10",
118
+ "@zohodesk/layout": "3.2.4",
119
119
  "@zohodesk/dotkit": "1.0.10",
120
120
  "color": "4.2.3",
121
- "@dot-system/css-utility": "0.1.5"
121
+ "@dot-system/css-utility": "0.1.6"
122
122
  }
123
123
  }