@workday/canvas-kit-css 11.0.0-alpha.805-next.0 → 11.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.
Files changed (3) hide show
  1. package/icon.css +3 -12
  2. package/package.json +2 -2
  3. package/text.css +20 -0
package/icon.css CHANGED
@@ -5,8 +5,8 @@
5
5
 
6
6
  .cnvs-svg >svg {
7
7
  display: block;
8
- width: var(--cnvs-svg-size);
9
- height: var(--cnvs-svg-size);
8
+ width: var(--cnvs-svg-width, var(--cnvs-svg-size));
9
+ height: var(--cnvs-svg-height, var(--cnvs-svg-size));
10
10
  }
11
11
 
12
12
 
@@ -120,18 +120,9 @@
120
120
  box-sizing: border-box;
121
121
  }
122
122
 
123
- .cnvs-graphic svg {
124
- width: var(--cnvs-graphic-width, 100%);
125
- height: var(--cnvs-graphic-height, 100%);
126
- }
127
-
128
123
 
129
124
  .cnvs-graphic.grow {
130
125
  width: 100%;
131
- }
132
-
133
- .cnvs-graphic.grow svg {
134
- width: 100%;
135
- height: 100%;
126
+ --cnvs-svg-width: 100%;
136
127
  }
137
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-css",
3
- "version": "11.0.0-alpha.805-next.0",
3
+ "version": "11.0.0",
4
4
  "description": "The parent module that contains all Workday Canvas Kit CSS components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -25,5 +25,5 @@
25
25
  "components",
26
26
  "workday"
27
27
  ],
28
- "gitHead": "48f9234cb2c6eaa82b57201ea15bd852b12c7d4c"
28
+ "gitHead": "60ab75c33942c15bb1fd116ca19bdebeb005a99d"
29
29
  }
package/text.css CHANGED
@@ -130,6 +130,26 @@
130
130
  }
131
131
 
132
132
 
133
+ .cnvs-subtext {
134
+ box-sizing: border-box;
135
+ }
136
+
137
+
138
+ .cnvs-body-text {
139
+ box-sizing: border-box;
140
+ }
141
+
142
+
143
+ .cnvs-heading {
144
+ box-sizing: border-box;
145
+ }
146
+
147
+
148
+ .cnvs-title {
149
+ box-sizing: border-box;
150
+ }
151
+
152
+
133
153
  .cnvs-label-text {
134
154
  box-sizing: border-box;
135
155
  font-family: var(--cnvs-base-font-family-50);