@instructure/ui-table 10.12.1-snapshot-0 → 10.12.1-snapshot-2
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 +5 -2
- package/es/Table/RowHeader/styles.js +1 -1
- package/es/Table/RowHeader/theme.js +1 -1
- package/lib/Table/RowHeader/styles.js +1 -1
- package/lib/Table/RowHeader/theme.js +1 -1
- package/package.json +17 -17
- package/src/Table/RowHeader/styles.ts +1 -1
- package/src/Table/RowHeader/theme.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
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
|
-
## [10.12.1-snapshot-
|
|
6
|
+
## [10.12.1-snapshot-2](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.12.1-snapshot-2) (2025-03-04)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui-table:** match fontWeight in style to the appropriate theme variabel ([abad1cc](https://github.com/instructure/instructure-ui/commit/abad1cc60880460f1cb854864d2e5eae1f0d38df))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
|
@@ -39,7 +39,7 @@ const generateStyle = (componentTheme, props) => {
|
|
|
39
39
|
label: 'rowHeader',
|
|
40
40
|
fontSize: componentTheme.fontSize,
|
|
41
41
|
fontFamily: componentTheme.fontFamily,
|
|
42
|
-
fontWeight:
|
|
42
|
+
fontWeight: componentTheme.fontWeight,
|
|
43
43
|
color: componentTheme.color,
|
|
44
44
|
background: componentTheme.background,
|
|
45
45
|
boxSizing: 'border-box',
|
|
@@ -35,7 +35,7 @@ const generateComponentTheme = theme => {
|
|
|
35
35
|
const componentVariables = {
|
|
36
36
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
|
37
37
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
|
38
|
-
fontWeight: typography === null || typography === void 0 ? void 0 : typography.
|
|
38
|
+
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightBold,
|
|
39
39
|
color: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.grey125125,
|
|
40
40
|
background: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.white1010,
|
|
41
41
|
borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.grey4570,
|
|
@@ -45,7 +45,7 @@ const generateStyle = (componentTheme, props) => {
|
|
|
45
45
|
label: 'rowHeader',
|
|
46
46
|
fontSize: componentTheme.fontSize,
|
|
47
47
|
fontFamily: componentTheme.fontFamily,
|
|
48
|
-
fontWeight:
|
|
48
|
+
fontWeight: componentTheme.fontWeight,
|
|
49
49
|
color: componentTheme.color,
|
|
50
50
|
background: componentTheme.background,
|
|
51
51
|
boxSizing: 'border-box',
|
|
@@ -41,7 +41,7 @@ const generateComponentTheme = theme => {
|
|
|
41
41
|
const componentVariables = {
|
|
42
42
|
fontSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
|
|
43
43
|
fontFamily: typography === null || typography === void 0 ? void 0 : typography.fontFamily,
|
|
44
|
-
fontWeight: typography === null || typography === void 0 ? void 0 : typography.
|
|
44
|
+
fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightBold,
|
|
45
45
|
color: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.grey125125,
|
|
46
46
|
background: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.white1010,
|
|
47
47
|
borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.grey4570,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-table",
|
|
3
|
-
"version": "10.12.1-snapshot-
|
|
3
|
+
"version": "10.12.1-snapshot-2",
|
|
4
4
|
"description": "A styled HTML table component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "10.12.1-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "10.12.1-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "10.12.1-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "10.12.1-snapshot-
|
|
30
|
-
"@instructure/ui-themes": "10.12.1-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "10.12.1-snapshot-2",
|
|
27
|
+
"@instructure/ui-babel-preset": "10.12.1-snapshot-2",
|
|
28
|
+
"@instructure/ui-color-utils": "10.12.1-snapshot-2",
|
|
29
|
+
"@instructure/ui-test-utils": "10.12.1-snapshot-2",
|
|
30
|
+
"@instructure/ui-themes": "10.12.1-snapshot-2",
|
|
31
31
|
"@testing-library/jest-dom": "^6.6.3",
|
|
32
32
|
"@testing-library/react": "^16.0.1",
|
|
33
33
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/runtime": "^7.26.0",
|
|
38
|
-
"@instructure/console": "10.12.1-snapshot-
|
|
39
|
-
"@instructure/emotion": "10.12.1-snapshot-
|
|
40
|
-
"@instructure/shared-types": "10.12.1-snapshot-
|
|
41
|
-
"@instructure/ui-a11y-content": "10.12.1-snapshot-
|
|
42
|
-
"@instructure/ui-icons": "10.12.1-snapshot-
|
|
43
|
-
"@instructure/ui-prop-types": "10.12.1-snapshot-
|
|
44
|
-
"@instructure/ui-react-utils": "10.12.1-snapshot-
|
|
45
|
-
"@instructure/ui-simple-select": "10.12.1-snapshot-
|
|
46
|
-
"@instructure/ui-testable": "10.12.1-snapshot-
|
|
47
|
-
"@instructure/ui-utils": "10.12.1-snapshot-
|
|
48
|
-
"@instructure/ui-view": "10.12.1-snapshot-
|
|
38
|
+
"@instructure/console": "10.12.1-snapshot-2",
|
|
39
|
+
"@instructure/emotion": "10.12.1-snapshot-2",
|
|
40
|
+
"@instructure/shared-types": "10.12.1-snapshot-2",
|
|
41
|
+
"@instructure/ui-a11y-content": "10.12.1-snapshot-2",
|
|
42
|
+
"@instructure/ui-icons": "10.12.1-snapshot-2",
|
|
43
|
+
"@instructure/ui-prop-types": "10.12.1-snapshot-2",
|
|
44
|
+
"@instructure/ui-react-utils": "10.12.1-snapshot-2",
|
|
45
|
+
"@instructure/ui-simple-select": "10.12.1-snapshot-2",
|
|
46
|
+
"@instructure/ui-testable": "10.12.1-snapshot-2",
|
|
47
|
+
"@instructure/ui-utils": "10.12.1-snapshot-2",
|
|
48
|
+
"@instructure/ui-view": "10.12.1-snapshot-2",
|
|
49
49
|
"prop-types": "^15.8.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
@@ -46,7 +46,7 @@ const generateStyle = (
|
|
|
46
46
|
label: 'rowHeader',
|
|
47
47
|
fontSize: componentTheme.fontSize,
|
|
48
48
|
fontFamily: componentTheme.fontFamily,
|
|
49
|
-
fontWeight:
|
|
49
|
+
fontWeight: componentTheme.fontWeight,
|
|
50
50
|
color: componentTheme.color,
|
|
51
51
|
background: componentTheme.background,
|
|
52
52
|
boxSizing: 'border-box',
|
|
@@ -36,7 +36,7 @@ const generateComponentTheme = (theme: Theme): TableRowHeaderTheme => {
|
|
|
36
36
|
const componentVariables: TableRowHeaderTheme = {
|
|
37
37
|
fontSize: typography?.fontSizeMedium,
|
|
38
38
|
fontFamily: typography?.fontFamily,
|
|
39
|
-
fontWeight: typography?.
|
|
39
|
+
fontWeight: typography?.fontWeightBold,
|
|
40
40
|
|
|
41
41
|
color: colors?.contrasts?.grey125125,
|
|
42
42
|
background: colors?.contrasts?.white1010,
|