@instructure/emotion 11.7.4-snapshot-106 → 11.7.4-snapshot-108
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 -1
- package/es/styleUtils/ThemeablePropValues.js +5 -5
- package/lib/styleUtils/ThemeablePropValues.js +5 -5
- package/package.json +10 -10
- package/src/index.ts +0 -2
- package/src/styleUtils/ThemeablePropValues.ts +5 -9
- package/src/styleUtils/index.ts +0 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
- package/types/styleUtils/ThemeablePropValues.d.ts +5 -4
- package/types/styleUtils/ThemeablePropValues.d.ts.map +1 -1
- package/types/styleUtils/index.d.ts +1 -1
- package/types/styleUtils/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-108](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-108) (2026-07-16)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
@@ -15,6 +15,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
15
15
|
|
|
16
16
|
* **emotion,ui-scripts:** resolve tokens studio color modifiers and emit hex ([99141c0](https://github.com/instructure/instructure-ui/commit/99141c036c6a353c25200c57e2cd68a1bc1b8205))
|
|
17
17
|
* **emotion:** support alpha color modifier in applyColorModifiers ([c1643b3](https://github.com/instructure/instructure-ui/commit/c1643b3de2f0be084a042d8fd9478b963907da77))
|
|
18
|
+
* **many:** add prop most shared tokens to prop options in view ([a08bb3e](https://github.com/instructure/instructure-ui/commit/a08bb3e15759681c5247c8bf27b7a87fa0766dde))
|
|
18
19
|
* **many:** support current spacing tokens in the margin prop for v2 components ([1b47c5f](https://github.com/instructure/instructure-ui/commit/1b47c5f23eaa60b532cdfd53c39bd71f0cf51aaa))
|
|
19
20
|
* **ui-scripts:** refactor theme type generation and fix token fetching script ([ab0536f](https://github.com/instructure/instructure-ui/commit/ab0536f81ffe9ae60f8b8cdc5038f4f323314416))
|
|
20
21
|
|
|
@@ -27,7 +27,11 @@ const ThemeablePropValues = {
|
|
|
27
27
|
resting: 'resting',
|
|
28
28
|
above: 'above',
|
|
29
29
|
topmost: 'topmost',
|
|
30
|
-
none: 'none'
|
|
30
|
+
none: 'none',
|
|
31
|
+
elevation1: 'elevation1',
|
|
32
|
+
elevation2: 'elevation2',
|
|
33
|
+
elevation3: 'elevation3',
|
|
34
|
+
elevation4: 'elevation4'
|
|
31
35
|
},
|
|
32
36
|
STACKING_TYPES: {
|
|
33
37
|
deepest: 'deepest',
|
|
@@ -110,10 +114,6 @@ const ThemeablePropValues = {
|
|
|
110
114
|
|
|
111
115
|
// BACKGROUNDS
|
|
112
116
|
|
|
113
|
-
// BORDER_RADII
|
|
114
|
-
|
|
115
|
-
// TODO type better for actual values like '12px'
|
|
116
|
-
|
|
117
117
|
// BORDER_WIDTHS
|
|
118
118
|
|
|
119
119
|
export default ThemeablePropValues;
|
|
@@ -33,7 +33,11 @@ const ThemeablePropValues = exports.ThemeablePropValues = {
|
|
|
33
33
|
resting: 'resting',
|
|
34
34
|
above: 'above',
|
|
35
35
|
topmost: 'topmost',
|
|
36
|
-
none: 'none'
|
|
36
|
+
none: 'none',
|
|
37
|
+
elevation1: 'elevation1',
|
|
38
|
+
elevation2: 'elevation2',
|
|
39
|
+
elevation3: 'elevation3',
|
|
40
|
+
elevation4: 'elevation4'
|
|
37
41
|
},
|
|
38
42
|
STACKING_TYPES: {
|
|
39
43
|
deepest: 'deepest',
|
|
@@ -116,9 +120,5 @@ const ThemeablePropValues = exports.ThemeablePropValues = {
|
|
|
116
120
|
|
|
117
121
|
// BACKGROUNDS
|
|
118
122
|
|
|
119
|
-
// BORDER_RADII
|
|
120
|
-
|
|
121
|
-
// TODO type better for actual values like '12px'
|
|
122
|
-
|
|
123
123
|
// BORDER_WIDTHS
|
|
124
124
|
var _default = exports.default = ThemeablePropValues;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/emotion",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-108",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
18
|
"@emotion/react": "^11",
|
|
19
19
|
"hoist-non-react-statics": "^3.3.2",
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
20
|
+
"@instructure/shared-types": "11.7.4-snapshot-108",
|
|
21
|
+
"@instructure/console": "11.7.4-snapshot-108",
|
|
22
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-108",
|
|
23
|
+
"@instructure/ui-decorator": "11.7.4-snapshot-108",
|
|
24
|
+
"@instructure/ui-i18n": "11.7.4-snapshot-108",
|
|
25
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-108",
|
|
26
|
+
"@instructure/ui-themes": "11.7.4-snapshot-108",
|
|
27
|
+
"@instructure/ui-utils": "11.7.4-snapshot-108"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@types/hoist-non-react-statics": "^3.3.7",
|
|
34
34
|
"react-dom": "18.3.1",
|
|
35
35
|
"vitest": "^4.1.9",
|
|
36
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
36
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-108"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=18 <=19"
|
package/src/index.ts
CHANGED
|
@@ -29,7 +29,11 @@ const ThemeablePropValues = {
|
|
|
29
29
|
resting: 'resting',
|
|
30
30
|
above: 'above',
|
|
31
31
|
topmost: 'topmost',
|
|
32
|
-
none: 'none'
|
|
32
|
+
none: 'none',
|
|
33
|
+
elevation1: 'elevation1',
|
|
34
|
+
elevation2: 'elevation2',
|
|
35
|
+
elevation3: 'elevation3',
|
|
36
|
+
elevation4: 'elevation4'
|
|
33
37
|
},
|
|
34
38
|
|
|
35
39
|
STACKING_TYPES: {
|
|
@@ -178,12 +182,6 @@ type Stacking = (typeof ThemeablePropValues.STACKING_TYPES)[StackingKeys]
|
|
|
178
182
|
type BackgroundKeys = keyof typeof ThemeablePropValues.BACKGROUNDS
|
|
179
183
|
type Background = (typeof ThemeablePropValues.BACKGROUNDS)[BackgroundKeys]
|
|
180
184
|
|
|
181
|
-
// BORDER_RADII
|
|
182
|
-
type BorderRadiiKeys = keyof typeof ThemeablePropValues.BORDER_RADII
|
|
183
|
-
type BorderRadiiValues =
|
|
184
|
-
(typeof ThemeablePropValues.BORDER_RADII)[BorderRadiiKeys]
|
|
185
|
-
type BorderRadii = CSSShorthandValue<BorderRadiiValues | string> // TODO type better for actual values like '12px'
|
|
186
|
-
|
|
187
185
|
// BORDER_WIDTHS
|
|
188
186
|
type BorderWidthKeys = keyof typeof ThemeablePropValues.BORDER_WIDTHS
|
|
189
187
|
type BorderWidthValues =
|
|
@@ -199,8 +197,6 @@ export type {
|
|
|
199
197
|
Shadow,
|
|
200
198
|
Stacking,
|
|
201
199
|
Background,
|
|
202
|
-
BorderRadiiValues,
|
|
203
|
-
BorderRadii,
|
|
204
200
|
BorderWidthValues,
|
|
205
201
|
BorderWidth
|
|
206
202
|
}
|