@instructure/ui-table 9.3.1-pr-snapshot-1721304755254 → 9.3.1-snapshot-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 +2 -10
- package/es/Table/Body/theme.js +2 -3
- package/es/Table/Cell/theme.js +3 -4
- package/es/Table/ColHeader/theme.js +4 -5
- package/es/Table/Head/theme.js +2 -3
- package/es/Table/Row/theme.js +4 -5
- package/es/Table/RowHeader/theme.js +3 -4
- package/es/Table/theme.js +2 -3
- package/lib/Table/Body/theme.js +2 -3
- package/lib/Table/Cell/theme.js +3 -4
- package/lib/Table/ColHeader/theme.js +4 -5
- package/lib/Table/Head/theme.js +2 -3
- package/lib/Table/Row/theme.js +4 -5
- package/lib/Table/RowHeader/theme.js +3 -4
- package/lib/Table/theme.js +2 -3
- package/package.json +16 -16
- package/src/Table/Body/theme.ts +2 -2
- package/src/Table/Cell/theme.ts +3 -3
- package/src/Table/ColHeader/theme.ts +4 -4
- package/src/Table/Head/theme.ts +2 -2
- package/src/Table/Row/theme.ts +4 -4
- package/src/Table/RowHeader/theme.ts +3 -3
- package/src/Table/theme.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
@@ -3,17 +3,9 @@
|
|
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
|
-
## [9.3.1-
|
6
|
+
## [9.3.1-snapshot-1](https://github.com/instructure/instructure-ui/compare/v9.3.0...v9.3.1-snapshot-1) (2024-07-19)
|
7
7
|
|
8
|
-
|
9
|
-
### Features
|
10
|
-
|
11
|
-
* **many:** rewrite color system ([aa974cb](https://github.com/instructure/instructure-ui/commit/aa974cb7c60d1e54b7cb1801fbbb82559989fd80))
|
12
|
-
|
13
|
-
|
14
|
-
### BREAKING CHANGES
|
15
|
-
|
16
|
-
* **many:** Breaks color overrides in certain cases
|
8
|
+
**Note:** Version bump only for package @instructure/ui-table
|
17
9
|
|
18
10
|
|
19
11
|
|
package/es/Table/Body/theme.js
CHANGED
@@ -28,15 +28,14 @@
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
29
29
|
*/
|
30
30
|
const generateComponentTheme = theme => {
|
31
|
-
var _colors$contrasts, _colors$contrasts2;
|
32
31
|
const colors = theme.colors,
|
33
32
|
typography = theme.typography;
|
34
33
|
const componentVariables = {
|
35
34
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
36
35
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
37
36
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
38
|
-
color: colors === null || colors === void 0 ? void 0 :
|
39
|
-
background: colors === null || colors === void 0 ? void 0 :
|
37
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
38
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest
|
40
39
|
};
|
41
40
|
return {
|
42
41
|
...componentVariables
|
package/es/Table/Cell/theme.js
CHANGED
@@ -28,7 +28,6 @@
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
29
29
|
*/
|
30
30
|
const generateComponentTheme = theme => {
|
31
|
-
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3;
|
32
31
|
const colors = theme.colors,
|
33
32
|
typography = theme.typography,
|
34
33
|
spacing = theme.spacing;
|
@@ -36,9 +35,9 @@ const generateComponentTheme = theme => {
|
|
36
35
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
37
36
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
38
37
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
39
|
-
color: colors === null || colors === void 0 ? void 0 :
|
40
|
-
background: colors === null || colors === void 0 ? void 0 :
|
41
|
-
borderColor: colors === null || colors === void 0 ? void 0 :
|
38
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
39
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
40
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
42
41
|
lineHeight: typography === null || typography === void 0 ? void 0 : typography.lineHeightCondensed,
|
43
42
|
padding: `${spacing === null || spacing === void 0 ? void 0 : spacing.xSmall} ${spacing === null || spacing === void 0 ? void 0 : spacing.small}`
|
44
43
|
};
|
@@ -28,7 +28,6 @@
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
29
29
|
*/
|
30
30
|
const generateComponentTheme = theme => {
|
31
|
-
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3, _colors$contrasts4;
|
32
31
|
const typography = theme.typography,
|
33
32
|
colors = theme.colors,
|
34
33
|
borders = theme.borders,
|
@@ -36,12 +35,12 @@ const generateComponentTheme = theme => {
|
|
36
35
|
const componentVariables = {
|
37
36
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
38
37
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
39
|
-
color: colors === null || colors === void 0 ? void 0 :
|
40
|
-
background: colors === null || colors === void 0 ? void 0 :
|
41
|
-
borderColor: colors === null || colors === void 0 ? void 0 :
|
38
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
39
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
40
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
42
41
|
lineHeight: typography === null || typography === void 0 ? void 0 : typography.lineHeightCondensed,
|
43
42
|
padding: `${spacing === null || spacing === void 0 ? void 0 : spacing.xSmall} ${spacing === null || spacing === void 0 ? void 0 : spacing.small}`,
|
44
|
-
focusOutlineColor: colors === null || colors === void 0 ? void 0 :
|
43
|
+
focusOutlineColor: colors === null || colors === void 0 ? void 0 : colors.borderBrand,
|
45
44
|
focusOutlineWidth: borders === null || borders === void 0 ? void 0 : borders.widthMedium,
|
46
45
|
focusOutlineStyle: borders === null || borders === void 0 ? void 0 : borders.style
|
47
46
|
};
|
package/es/Table/Head/theme.js
CHANGED
@@ -28,15 +28,14 @@
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
29
29
|
*/
|
30
30
|
const generateComponentTheme = theme => {
|
31
|
-
var _colors$contrasts, _colors$contrasts2;
|
32
31
|
const colors = theme.colors,
|
33
32
|
typography = theme.typography;
|
34
33
|
const componentVariables = {
|
35
34
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
36
35
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
37
36
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
38
|
-
color: colors === null || colors === void 0 ? void 0 :
|
39
|
-
background: colors === null || colors === void 0 ? void 0 :
|
37
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
38
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest
|
40
39
|
};
|
41
40
|
return {
|
42
41
|
...componentVariables
|
package/es/Table/Row/theme.js
CHANGED
@@ -28,7 +28,6 @@
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
29
29
|
*/
|
30
30
|
const generateComponentTheme = theme => {
|
31
|
-
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3, _colors$contrasts4;
|
32
31
|
const colors = theme.colors,
|
33
32
|
typography = theme.typography,
|
34
33
|
spacing = theme.spacing,
|
@@ -42,10 +41,10 @@ const generateComponentTheme = theme => {
|
|
42
41
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
43
42
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
44
43
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
45
|
-
color: colors === null || colors === void 0 ? void 0 :
|
46
|
-
background: colors === null || colors === void 0 ? void 0 :
|
47
|
-
borderColor: colors === null || colors === void 0 ? void 0 :
|
48
|
-
hoverBorderColor: colors === null || colors === void 0 ? void 0 :
|
44
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
45
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
46
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
47
|
+
hoverBorderColor: colors === null || colors === void 0 ? void 0 : colors.borderBrand,
|
49
48
|
padding: `${spacing === null || spacing === void 0 ? void 0 : spacing.xSmall} 0`
|
50
49
|
};
|
51
50
|
return {
|
@@ -28,7 +28,6 @@
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
29
29
|
*/
|
30
30
|
const generateComponentTheme = theme => {
|
31
|
-
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3;
|
32
31
|
const colors = theme.colors,
|
33
32
|
typography = theme.typography,
|
34
33
|
spacing = theme.spacing;
|
@@ -36,9 +35,9 @@ const generateComponentTheme = theme => {
|
|
36
35
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
37
36
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
38
37
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
39
|
-
color: colors === null || colors === void 0 ? void 0 :
|
40
|
-
background: colors === null || colors === void 0 ? void 0 :
|
41
|
-
borderColor: colors === null || colors === void 0 ? void 0 :
|
38
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
39
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
40
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
42
41
|
lineHeight: typography === null || typography === void 0 ? void 0 : typography.lineHeightCondensed,
|
43
42
|
padding: `${spacing === null || spacing === void 0 ? void 0 : spacing.xSmall} ${spacing === null || spacing === void 0 ? void 0 : spacing.small}`
|
44
43
|
};
|
package/es/Table/theme.js
CHANGED
@@ -28,7 +28,6 @@
|
|
28
28
|
* @return {Object} The final theme object with the overrides and component variables
|
29
29
|
*/
|
30
30
|
const generateComponentTheme = theme => {
|
31
|
-
var _colors$contrasts, _colors$contrasts2;
|
32
31
|
const colors = theme.colors,
|
33
32
|
typography = theme.typography,
|
34
33
|
themeName = theme.key;
|
@@ -41,8 +40,8 @@ const generateComponentTheme = theme => {
|
|
41
40
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
42
41
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
43
42
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
44
|
-
color: colors === null || colors === void 0 ? void 0 :
|
45
|
-
background: colors === null || colors === void 0 ? void 0 :
|
43
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
44
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest
|
46
45
|
};
|
47
46
|
return {
|
48
47
|
...componentVariables,
|
package/lib/Table/Body/theme.js
CHANGED
@@ -34,15 +34,14 @@ exports.default = void 0;
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
35
35
|
*/
|
36
36
|
const generateComponentTheme = theme => {
|
37
|
-
var _colors$contrasts, _colors$contrasts2;
|
38
37
|
const colors = theme.colors,
|
39
38
|
typography = theme.typography;
|
40
39
|
const componentVariables = {
|
41
40
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
42
41
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
43
42
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
44
|
-
color: colors === null || colors === void 0 ? void 0 :
|
45
|
-
background: colors === null || colors === void 0 ? void 0 :
|
43
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
44
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest
|
46
45
|
};
|
47
46
|
return {
|
48
47
|
...componentVariables
|
package/lib/Table/Cell/theme.js
CHANGED
@@ -34,7 +34,6 @@ exports.default = void 0;
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
35
35
|
*/
|
36
36
|
const generateComponentTheme = theme => {
|
37
|
-
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3;
|
38
37
|
const colors = theme.colors,
|
39
38
|
typography = theme.typography,
|
40
39
|
spacing = theme.spacing;
|
@@ -42,9 +41,9 @@ const generateComponentTheme = theme => {
|
|
42
41
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
43
42
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
44
43
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
45
|
-
color: colors === null || colors === void 0 ? void 0 :
|
46
|
-
background: colors === null || colors === void 0 ? void 0 :
|
47
|
-
borderColor: colors === null || colors === void 0 ? void 0 :
|
44
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
45
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
46
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
48
47
|
lineHeight: typography === null || typography === void 0 ? void 0 : typography.lineHeightCondensed,
|
49
48
|
padding: `${spacing === null || spacing === void 0 ? void 0 : spacing.xSmall} ${spacing === null || spacing === void 0 ? void 0 : spacing.small}`
|
50
49
|
};
|
@@ -34,7 +34,6 @@ exports.default = void 0;
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
35
35
|
*/
|
36
36
|
const generateComponentTheme = theme => {
|
37
|
-
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3, _colors$contrasts4;
|
38
37
|
const typography = theme.typography,
|
39
38
|
colors = theme.colors,
|
40
39
|
borders = theme.borders,
|
@@ -42,12 +41,12 @@ const generateComponentTheme = theme => {
|
|
42
41
|
const componentVariables = {
|
43
42
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
44
43
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
45
|
-
color: colors === null || colors === void 0 ? void 0 :
|
46
|
-
background: colors === null || colors === void 0 ? void 0 :
|
47
|
-
borderColor: colors === null || colors === void 0 ? void 0 :
|
44
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
45
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
46
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
48
47
|
lineHeight: typography === null || typography === void 0 ? void 0 : typography.lineHeightCondensed,
|
49
48
|
padding: `${spacing === null || spacing === void 0 ? void 0 : spacing.xSmall} ${spacing === null || spacing === void 0 ? void 0 : spacing.small}`,
|
50
|
-
focusOutlineColor: colors === null || colors === void 0 ? void 0 :
|
49
|
+
focusOutlineColor: colors === null || colors === void 0 ? void 0 : colors.borderBrand,
|
51
50
|
focusOutlineWidth: borders === null || borders === void 0 ? void 0 : borders.widthMedium,
|
52
51
|
focusOutlineStyle: borders === null || borders === void 0 ? void 0 : borders.style
|
53
52
|
};
|
package/lib/Table/Head/theme.js
CHANGED
@@ -34,15 +34,14 @@ exports.default = void 0;
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
35
35
|
*/
|
36
36
|
const generateComponentTheme = theme => {
|
37
|
-
var _colors$contrasts, _colors$contrasts2;
|
38
37
|
const colors = theme.colors,
|
39
38
|
typography = theme.typography;
|
40
39
|
const componentVariables = {
|
41
40
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
42
41
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
43
42
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
44
|
-
color: colors === null || colors === void 0 ? void 0 :
|
45
|
-
background: colors === null || colors === void 0 ? void 0 :
|
43
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
44
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest
|
46
45
|
};
|
47
46
|
return {
|
48
47
|
...componentVariables
|
package/lib/Table/Row/theme.js
CHANGED
@@ -34,7 +34,6 @@ exports.default = void 0;
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
35
35
|
*/
|
36
36
|
const generateComponentTheme = theme => {
|
37
|
-
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3, _colors$contrasts4;
|
38
37
|
const colors = theme.colors,
|
39
38
|
typography = theme.typography,
|
40
39
|
spacing = theme.spacing,
|
@@ -48,10 +47,10 @@ const generateComponentTheme = theme => {
|
|
48
47
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
49
48
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
50
49
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
51
|
-
color: colors === null || colors === void 0 ? void 0 :
|
52
|
-
background: colors === null || colors === void 0 ? void 0 :
|
53
|
-
borderColor: colors === null || colors === void 0 ? void 0 :
|
54
|
-
hoverBorderColor: colors === null || colors === void 0 ? void 0 :
|
50
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
51
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
52
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
53
|
+
hoverBorderColor: colors === null || colors === void 0 ? void 0 : colors.borderBrand,
|
55
54
|
padding: `${spacing === null || spacing === void 0 ? void 0 : spacing.xSmall} 0`
|
56
55
|
};
|
57
56
|
return {
|
@@ -34,7 +34,6 @@ exports.default = void 0;
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
35
35
|
*/
|
36
36
|
const generateComponentTheme = theme => {
|
37
|
-
var _colors$contrasts, _colors$contrasts2, _colors$contrasts3;
|
38
37
|
const colors = theme.colors,
|
39
38
|
typography = theme.typography,
|
40
39
|
spacing = theme.spacing;
|
@@ -42,9 +41,9 @@ const generateComponentTheme = theme => {
|
|
42
41
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
43
42
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
44
43
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
45
|
-
color: colors === null || colors === void 0 ? void 0 :
|
46
|
-
background: colors === null || colors === void 0 ? void 0 :
|
47
|
-
borderColor: colors === null || colors === void 0 ? void 0 :
|
44
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
45
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest,
|
46
|
+
borderColor: colors === null || colors === void 0 ? void 0 : colors.borderMedium,
|
48
47
|
lineHeight: typography === null || typography === void 0 ? void 0 : typography.lineHeightCondensed,
|
49
48
|
padding: `${spacing === null || spacing === void 0 ? void 0 : spacing.xSmall} ${spacing === null || spacing === void 0 ? void 0 : spacing.small}`
|
50
49
|
};
|
package/lib/Table/theme.js
CHANGED
@@ -34,7 +34,6 @@ exports.default = void 0;
|
|
34
34
|
* @return {Object} The final theme object with the overrides and component variables
|
35
35
|
*/
|
36
36
|
const generateComponentTheme = theme => {
|
37
|
-
var _colors$contrasts, _colors$contrasts2;
|
38
37
|
const colors = theme.colors,
|
39
38
|
typography = theme.typography,
|
40
39
|
themeName = theme.key;
|
@@ -47,8 +46,8 @@ const generateComponentTheme = theme => {
|
|
47
46
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
48
47
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
49
48
|
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
|
50
|
-
color: colors === null || colors === void 0 ? void 0 :
|
51
|
-
background: colors === null || colors === void 0 ? void 0 :
|
49
|
+
color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
|
50
|
+
background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest
|
52
51
|
};
|
53
52
|
return {
|
54
53
|
...componentVariables,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@instructure/ui-table",
|
3
|
-
"version": "9.3.1-
|
3
|
+
"version": "9.3.1-snapshot-1",
|
4
4
|
"description": "A styled HTML table component",
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
6
6
|
"module": "./es/index.js",
|
@@ -23,24 +23,24 @@
|
|
23
23
|
},
|
24
24
|
"license": "MIT",
|
25
25
|
"devDependencies": {
|
26
|
-
"@instructure/ui-babel-preset": "9.3.1-
|
27
|
-
"@instructure/ui-color-utils": "9.3.1-
|
28
|
-
"@instructure/ui-test-utils": "9.3.1-
|
29
|
-
"@instructure/ui-themes": "9.3.1-
|
26
|
+
"@instructure/ui-babel-preset": "9.3.1-snapshot-1",
|
27
|
+
"@instructure/ui-color-utils": "9.3.1-snapshot-1",
|
28
|
+
"@instructure/ui-test-utils": "9.3.1-snapshot-1",
|
29
|
+
"@instructure/ui-themes": "9.3.1-snapshot-1"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
32
|
"@babel/runtime": "^7.24.5",
|
33
|
-
"@instructure/console": "9.3.1-
|
34
|
-
"@instructure/emotion": "9.3.1-
|
35
|
-
"@instructure/shared-types": "9.3.1-
|
36
|
-
"@instructure/ui-a11y-content": "9.3.1-
|
37
|
-
"@instructure/ui-icons": "9.3.1-
|
38
|
-
"@instructure/ui-prop-types": "9.3.1-
|
39
|
-
"@instructure/ui-react-utils": "9.3.1-
|
40
|
-
"@instructure/ui-simple-select": "9.3.1-
|
41
|
-
"@instructure/ui-testable": "9.3.1-
|
42
|
-
"@instructure/ui-utils": "9.3.1-
|
43
|
-
"@instructure/ui-view": "9.3.1-
|
33
|
+
"@instructure/console": "9.3.1-snapshot-1",
|
34
|
+
"@instructure/emotion": "9.3.1-snapshot-1",
|
35
|
+
"@instructure/shared-types": "9.3.1-snapshot-1",
|
36
|
+
"@instructure/ui-a11y-content": "9.3.1-snapshot-1",
|
37
|
+
"@instructure/ui-icons": "9.3.1-snapshot-1",
|
38
|
+
"@instructure/ui-prop-types": "9.3.1-snapshot-1",
|
39
|
+
"@instructure/ui-react-utils": "9.3.1-snapshot-1",
|
40
|
+
"@instructure/ui-simple-select": "9.3.1-snapshot-1",
|
41
|
+
"@instructure/ui-testable": "9.3.1-snapshot-1",
|
42
|
+
"@instructure/ui-utils": "9.3.1-snapshot-1",
|
43
|
+
"@instructure/ui-view": "9.3.1-snapshot-1",
|
44
44
|
"prop-types": "^15.8.1"
|
45
45
|
},
|
46
46
|
"peerDependencies": {
|
package/src/Table/Body/theme.ts
CHANGED
@@ -37,8 +37,8 @@ const generateComponentTheme = (theme: Theme): TableBodyTheme => {
|
|
37
37
|
fontFamily: typography?.fontFamily,
|
38
38
|
fontWeight: typography?.fontWeightNormal,
|
39
39
|
|
40
|
-
color: colors?.
|
41
|
-
background: colors?.
|
40
|
+
color: colors?.textDarkest,
|
41
|
+
background: colors?.backgroundLightest
|
42
42
|
}
|
43
43
|
|
44
44
|
return {
|
package/src/Table/Cell/theme.ts
CHANGED
@@ -38,10 +38,10 @@ const generateComponentTheme = (theme: Theme): TableCellTheme => {
|
|
38
38
|
fontFamily: typography?.fontFamily,
|
39
39
|
fontWeight: typography?.fontWeightNormal,
|
40
40
|
|
41
|
-
color: colors?.
|
42
|
-
background: colors?.
|
41
|
+
color: colors?.textDarkest,
|
42
|
+
background: colors?.backgroundLightest,
|
43
43
|
|
44
|
-
borderColor: colors?.
|
44
|
+
borderColor: colors?.borderMedium,
|
45
45
|
|
46
46
|
lineHeight: typography?.lineHeightCondensed,
|
47
47
|
padding: `${spacing?.xSmall} ${spacing?.small}`
|
@@ -37,15 +37,15 @@ const generateComponentTheme = (theme: Theme): TableColHeaderTheme => {
|
|
37
37
|
fontSize: typography?.fontSizeMedium,
|
38
38
|
fontFamily: typography?.fontFamily,
|
39
39
|
|
40
|
-
color: colors?.
|
41
|
-
background: colors?.
|
40
|
+
color: colors?.textDarkest,
|
41
|
+
background: colors?.backgroundLightest,
|
42
42
|
|
43
|
-
borderColor: colors?.
|
43
|
+
borderColor: colors?.borderMedium,
|
44
44
|
|
45
45
|
lineHeight: typography?.lineHeightCondensed,
|
46
46
|
padding: `${spacing?.xSmall} ${spacing?.small}`,
|
47
47
|
|
48
|
-
focusOutlineColor: colors?.
|
48
|
+
focusOutlineColor: colors?.borderBrand,
|
49
49
|
focusOutlineWidth: borders?.widthMedium,
|
50
50
|
focusOutlineStyle: borders?.style
|
51
51
|
}
|
package/src/Table/Head/theme.ts
CHANGED
@@ -38,8 +38,8 @@ const generateComponentTheme = (theme: Theme): TableHeadTheme => {
|
|
38
38
|
fontFamily: typography?.fontFamily,
|
39
39
|
fontWeight: typography?.fontWeightNormal,
|
40
40
|
|
41
|
-
color: colors?.
|
42
|
-
background: colors?.
|
41
|
+
color: colors?.textDarkest,
|
42
|
+
background: colors?.backgroundLightest
|
43
43
|
}
|
44
44
|
|
45
45
|
return {
|
package/src/Table/Row/theme.ts
CHANGED
@@ -44,11 +44,11 @@ const generateComponentTheme = (theme: Theme): TableRowTheme => {
|
|
44
44
|
fontFamily: typography?.fontFamily,
|
45
45
|
fontWeight: typography?.fontWeightNormal,
|
46
46
|
|
47
|
-
color: colors?.
|
48
|
-
background: colors?.
|
47
|
+
color: colors?.textDarkest,
|
48
|
+
background: colors?.backgroundLightest,
|
49
49
|
|
50
|
-
borderColor: colors?.
|
51
|
-
hoverBorderColor: colors?.
|
50
|
+
borderColor: colors?.borderMedium,
|
51
|
+
hoverBorderColor: colors?.borderBrand,
|
52
52
|
|
53
53
|
padding: `${spacing?.xSmall} 0`
|
54
54
|
}
|
@@ -38,10 +38,10 @@ const generateComponentTheme = (theme: Theme): TableRowHeaderTheme => {
|
|
38
38
|
fontFamily: typography?.fontFamily,
|
39
39
|
fontWeight: typography?.fontWeightNormal,
|
40
40
|
|
41
|
-
color: colors?.
|
42
|
-
background: colors?.
|
41
|
+
color: colors?.textDarkest,
|
42
|
+
background: colors?.backgroundLightest,
|
43
43
|
|
44
|
-
borderColor: colors?.
|
44
|
+
borderColor: colors?.borderMedium,
|
45
45
|
|
46
46
|
lineHeight: typography?.lineHeightCondensed,
|
47
47
|
padding: `${spacing?.xSmall} ${spacing?.small}`
|
package/src/Table/theme.ts
CHANGED
@@ -44,8 +44,8 @@ const generateComponentTheme = (theme: Theme): TableTheme => {
|
|
44
44
|
fontFamily: typography?.fontFamily,
|
45
45
|
fontWeight: typography?.fontWeightNormal,
|
46
46
|
|
47
|
-
color: colors?.
|
48
|
-
background: colors?.
|
47
|
+
color: colors?.textDarkest,
|
48
|
+
background: colors?.backgroundLightest
|
49
49
|
}
|
50
50
|
|
51
51
|
return {
|