@instructure/ui-instructure 11.7.3 → 11.7.4-pr-snapshot-1781695314229
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 +8 -0
- package/LICENSE.md +1 -0
- package/{lib/NutritionFacts/v1/props.js → babel.config.cjs} +12 -7
- package/es/AiInformation/v1/index.js +10 -5
- package/es/AiInformation/v2/index.js +4 -3
- package/es/DataPermissionLevels/v1/index.js +8 -3
- package/es/DataPermissionLevels/v2/index.js +2 -1
- package/es/NutritionFacts/v1/index.js +8 -3
- package/es/NutritionFacts/v2/index.js +2 -1
- package/es/exports/a.js +3 -3
- package/es/exports/b.js +3 -3
- package/package.json +18 -23
- package/src/AiInformation/v1/index.tsx +12 -5
- package/src/AiInformation/v2/index.tsx +4 -4
- package/src/DataPermissionLevels/v1/index.tsx +10 -3
- package/src/DataPermissionLevels/v2/index.tsx +2 -2
- package/src/NutritionFacts/v1/index.tsx +10 -3
- package/src/NutritionFacts/v2/index.tsx +2 -2
- package/src/exports/a.ts +3 -3
- package/src/exports/b.ts +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/AiInformation/v1/index.d.ts +1 -1
- package/types/AiInformation/v1/index.d.ts.map +1 -1
- package/types/AiInformation/v2/index.d.ts +1 -1
- package/types/AiInformation/v2/index.d.ts.map +1 -1
- package/types/DataPermissionLevels/v1/index.d.ts +1 -1
- package/types/DataPermissionLevels/v1/index.d.ts.map +1 -1
- package/types/DataPermissionLevels/v2/index.d.ts +1 -1
- package/types/DataPermissionLevels/v2/index.d.ts.map +1 -1
- package/types/NutritionFacts/v1/index.d.ts +1 -1
- package/types/NutritionFacts/v1/index.d.ts.map +1 -1
- package/types/NutritionFacts/v2/index.d.ts +1 -1
- package/types/NutritionFacts/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +3 -3
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +3 -3
- package/types/exports/b.d.ts.map +1 -1
- package/lib/AiInformation/v1/index.js +0 -196
- package/lib/AiInformation/v1/props.js +0 -31
- package/lib/AiInformation/v1/styles.js +0 -95
- package/lib/AiInformation/v1/theme.js +0 -59
- package/lib/AiInformation/v2/index.js +0 -197
- package/lib/AiInformation/v2/props.js +0 -31
- package/lib/AiInformation/v2/styles.js +0 -97
- package/lib/DataPermissionLevels/v1/index.js +0 -145
- package/lib/DataPermissionLevels/v1/props.js +0 -31
- package/lib/DataPermissionLevels/v1/styles.js +0 -102
- package/lib/DataPermissionLevels/v1/theme.js +0 -61
- package/lib/DataPermissionLevels/v2/index.js +0 -145
- package/lib/DataPermissionLevels/v2/props.js +0 -31
- package/lib/DataPermissionLevels/v2/styles.js +0 -103
- package/lib/NutritionFacts/v1/index.js +0 -154
- package/lib/NutritionFacts/v1/styles.js +0 -78
- package/lib/NutritionFacts/v1/theme.js +0 -56
- package/lib/NutritionFacts/v2/index.js +0 -154
- package/lib/NutritionFacts/v2/props.js +0 -31
- package/lib/NutritionFacts/v2/styles.js +0 -77
- package/lib/exports/a.js +0 -26
- package/lib/exports/b.js +0 -26
- package/lib/package.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-instructure
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.allowedProps = void 0;
|
|
7
1
|
/*
|
|
8
2
|
* The MIT License (MIT)
|
|
9
3
|
*
|
|
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
|
|
|
28
22
|
* SOFTWARE.
|
|
29
23
|
*/
|
|
30
24
|
|
|
31
|
-
|
|
25
|
+
module.exports = {
|
|
26
|
+
presets: [
|
|
27
|
+
[
|
|
28
|
+
require('@instructure/ui-babel-preset'),
|
|
29
|
+
{
|
|
30
|
+
esModules: Boolean(process.env.ES_MODULES),
|
|
31
|
+
removeConsole: process.env.NODE_ENV === 'production',
|
|
32
|
+
transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -29,10 +29,11 @@ import { Text } from '@instructure/ui-text/v11_6';
|
|
|
29
29
|
import { Link } from '@instructure/ui-link/v11_6';
|
|
30
30
|
import { IconExternalLinkLine } from '@instructure/ui-icons';
|
|
31
31
|
import { useStyle as useStyleNew } from '@instructure/emotion';
|
|
32
|
-
import { NutritionFacts } from
|
|
33
|
-
import { DataPermissionLevels } from
|
|
34
|
-
import generateStyle from
|
|
35
|
-
import generateComponentTheme from
|
|
32
|
+
import { NutritionFacts } from '../../NutritionFacts/v1/index.js';
|
|
33
|
+
import { DataPermissionLevels } from '../../DataPermissionLevels/v1/index.js';
|
|
34
|
+
import generateStyle from './styles.js';
|
|
35
|
+
import generateComponentTheme from './theme.js';
|
|
36
|
+
|
|
36
37
|
/**
|
|
37
38
|
---
|
|
38
39
|
category: components/AI Components
|
|
@@ -184,6 +185,10 @@ const AiInformation = ({
|
|
|
184
185
|
})
|
|
185
186
|
})
|
|
186
187
|
});
|
|
187
|
-
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
191
|
+
;
|
|
192
|
+
AiInformation.generateComponentTheme = generateComponentTheme;
|
|
188
193
|
export default AiInformation;
|
|
189
194
|
export { AiInformation };
|
|
@@ -29,9 +29,10 @@ import { Text } from '@instructure/ui-text/latest';
|
|
|
29
29
|
import { Link } from '@instructure/ui-link/latest';
|
|
30
30
|
import { ExternalLinkInstUIIcon } from '@instructure/ui-icons';
|
|
31
31
|
import { useStyleNew } from '@instructure/emotion';
|
|
32
|
-
import { NutritionFacts } from
|
|
33
|
-
import { DataPermissionLevels } from
|
|
34
|
-
import generateStyle from
|
|
32
|
+
import { NutritionFacts } from '../../NutritionFacts/v2/index.js';
|
|
33
|
+
import { DataPermissionLevels } from '../../DataPermissionLevels/v2/index.js';
|
|
34
|
+
import generateStyle from './styles.js';
|
|
35
|
+
|
|
35
36
|
/**
|
|
36
37
|
---
|
|
37
38
|
category: components/AI Components
|
|
@@ -28,8 +28,9 @@ import { Heading } from '@instructure/ui-heading/v11_6';
|
|
|
28
28
|
import { Text } from '@instructure/ui-text/v11_6';
|
|
29
29
|
import { Link } from '@instructure/ui-link/v11_6';
|
|
30
30
|
import { useStyle as useStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import generateComponentTheme from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import generateComponentTheme from './theme.js';
|
|
33
|
+
|
|
33
34
|
/**
|
|
34
35
|
---
|
|
35
36
|
category: components/AI Components
|
|
@@ -133,6 +134,10 @@ const DataPermissionLevels = ({
|
|
|
133
134
|
})]
|
|
134
135
|
})]
|
|
135
136
|
});
|
|
136
|
-
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
140
|
+
;
|
|
141
|
+
DataPermissionLevels.generateComponentTheme = generateComponentTheme;
|
|
137
142
|
export default DataPermissionLevels;
|
|
138
143
|
export { DataPermissionLevels };
|
|
@@ -28,7 +28,8 @@ import { Heading } from '@instructure/ui-heading/latest';
|
|
|
28
28
|
import { Text } from '@instructure/ui-text/latest';
|
|
29
29
|
import { Link } from '@instructure/ui-link/latest';
|
|
30
30
|
import { useStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
|
|
32
33
|
/**
|
|
33
34
|
---
|
|
34
35
|
category: components/AI Components
|
|
@@ -28,8 +28,9 @@ import { Heading } from '@instructure/ui-heading/v11_6';
|
|
|
28
28
|
import { Text } from '@instructure/ui-text/v11_6';
|
|
29
29
|
import { Link } from '@instructure/ui-link/v11_6';
|
|
30
30
|
import { useStyle as useStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import generateComponentTheme from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import generateComponentTheme from './theme.js';
|
|
33
|
+
|
|
33
34
|
/**
|
|
34
35
|
---
|
|
35
36
|
category: components/AI Components
|
|
@@ -142,6 +143,10 @@ const NutritionFacts = ({
|
|
|
142
143
|
})]
|
|
143
144
|
})]
|
|
144
145
|
});
|
|
145
|
-
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
149
|
+
;
|
|
150
|
+
NutritionFacts.generateComponentTheme = generateComponentTheme;
|
|
146
151
|
export default NutritionFacts;
|
|
147
152
|
export { NutritionFacts };
|
|
@@ -28,7 +28,8 @@ import { Heading } from '@instructure/ui-heading/latest';
|
|
|
28
28
|
import { Text } from '@instructure/ui-text/latest';
|
|
29
29
|
import { Link } from '@instructure/ui-link/latest';
|
|
30
30
|
import { useStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
|
|
32
33
|
/**
|
|
33
34
|
---
|
|
34
35
|
category: components/AI Components
|
package/es/exports/a.js
CHANGED
|
@@ -21,6 +21,6 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { NutritionFacts } from
|
|
25
|
-
export { DataPermissionLevels } from
|
|
26
|
-
export { AiInformation } from
|
|
24
|
+
export { NutritionFacts } from '../NutritionFacts/v1/index.js';
|
|
25
|
+
export { DataPermissionLevels } from '../DataPermissionLevels/v1/index.js';
|
|
26
|
+
export { AiInformation } from '../AiInformation/v1/index.js';
|
package/es/exports/b.js
CHANGED
|
@@ -21,6 +21,6 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { NutritionFacts } from
|
|
25
|
-
export { DataPermissionLevels } from
|
|
26
|
-
export { AiInformation } from
|
|
24
|
+
export { NutritionFacts } from '../NutritionFacts/v2/index.js';
|
|
25
|
+
export { DataPermissionLevels } from '../DataPermissionLevels/v2/index.js';
|
|
26
|
+
export { AiInformation } from '../AiInformation/v2/index.js';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-instructure",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.4-pr-snapshot-1781695314229",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "Collection of specific components for Instructure products",
|
|
5
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
7
|
"module": "./es/index.js",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-modal": "11.7.
|
|
24
|
-
"@instructure/ui-link": "11.7.
|
|
25
|
-
"@instructure/ui-popover": "11.7.
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-view": "11.7.
|
|
18
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
19
|
+
"@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/ui-buttons": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/ui-heading": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-modal": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-link": "11.7.4-pr-snapshot-1781695314229",
|
|
25
|
+
"@instructure/ui-popover": "11.7.4-pr-snapshot-1781695314229",
|
|
26
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
27
|
+
"@instructure/ui-text": "11.7.4-pr-snapshot-1781695314229",
|
|
28
|
+
"@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
|
|
29
|
+
"@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@testing-library/jest-dom": "^6.6.3",
|
|
33
33
|
"@testing-library/react": "15.0.7",
|
|
34
34
|
"vitest": "^3.2.2",
|
|
35
|
-
"@instructure/ui-
|
|
36
|
-
"@instructure/ui-
|
|
37
|
-
"@instructure/ui-color-utils": "11.7.
|
|
35
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
|
|
36
|
+
"@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229",
|
|
37
|
+
"@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": ">=18 <=19"
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
},
|
|
45
45
|
"sideEffects": false,
|
|
46
46
|
"exports": {
|
|
47
|
-
"./lib/*": "./lib/*",
|
|
48
47
|
"./es/*": "./es/*",
|
|
49
48
|
"./types/*": "./types/*",
|
|
50
49
|
"./package.json": "./package.json",
|
|
@@ -53,28 +52,24 @@
|
|
|
53
52
|
"src": "./src/exports/a.ts",
|
|
54
53
|
"types": "./types/exports/a.d.ts",
|
|
55
54
|
"import": "./es/exports/a.js",
|
|
56
|
-
"require": "./lib/exports/a.js",
|
|
57
55
|
"default": "./es/exports/a.js"
|
|
58
56
|
},
|
|
59
57
|
"./v11_6": {
|
|
60
58
|
"src": "./src/exports/a.ts",
|
|
61
59
|
"types": "./types/exports/a.d.ts",
|
|
62
60
|
"import": "./es/exports/a.js",
|
|
63
|
-
"require": "./lib/exports/a.js",
|
|
64
61
|
"default": "./es/exports/a.js"
|
|
65
62
|
},
|
|
66
63
|
"./v11_7": {
|
|
67
64
|
"src": "./src/exports/b.ts",
|
|
68
65
|
"types": "./types/exports/b.d.ts",
|
|
69
66
|
"import": "./es/exports/b.js",
|
|
70
|
-
"require": "./lib/exports/b.js",
|
|
71
67
|
"default": "./es/exports/b.js"
|
|
72
68
|
},
|
|
73
69
|
"./latest": {
|
|
74
70
|
"src": "./src/exports/b.ts",
|
|
75
71
|
"types": "./types/exports/b.d.ts",
|
|
76
72
|
"import": "./es/exports/b.js",
|
|
77
|
-
"require": "./lib/exports/b.js",
|
|
78
73
|
"default": "./es/exports/b.js"
|
|
79
74
|
}
|
|
80
75
|
},
|
|
@@ -82,7 +77,7 @@
|
|
|
82
77
|
"lint": "ui-scripts lint",
|
|
83
78
|
"lint:fix": "ui-scripts lint --fix",
|
|
84
79
|
"clean": "ui-scripts clean",
|
|
85
|
-
"build": "ui-scripts build
|
|
80
|
+
"build": "ui-scripts build",
|
|
86
81
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
87
82
|
"build:types": "tsc -p tsconfig.build.json",
|
|
88
83
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
@@ -29,12 +29,12 @@ import { Text } from '@instructure/ui-text/v11_6'
|
|
|
29
29
|
import { Link } from '@instructure/ui-link/v11_6'
|
|
30
30
|
import { IconExternalLinkLine } from '@instructure/ui-icons'
|
|
31
31
|
import { useStyle as useStyleNew } from '@instructure/emotion'
|
|
32
|
-
import { NutritionFacts } from '../../NutritionFacts/v1'
|
|
33
|
-
import { DataPermissionLevels } from '../../DataPermissionLevels/v1'
|
|
32
|
+
import { NutritionFacts } from '../../NutritionFacts/v1/index.js'
|
|
33
|
+
import { DataPermissionLevels } from '../../DataPermissionLevels/v1/index.js'
|
|
34
34
|
|
|
35
|
-
import { AiInformationProps } from './props'
|
|
36
|
-
import generateStyle from './styles'
|
|
37
|
-
import generateComponentTheme from './theme'
|
|
35
|
+
import { AiInformationProps } from './props.js'
|
|
36
|
+
import generateStyle from './styles.js'
|
|
37
|
+
import generateComponentTheme from './theme.js'
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
---
|
|
@@ -194,5 +194,12 @@ const AiInformation = ({
|
|
|
194
194
|
)
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
198
|
+
;(
|
|
199
|
+
AiInformation as typeof AiInformation & {
|
|
200
|
+
generateComponentTheme: typeof generateComponentTheme
|
|
201
|
+
}
|
|
202
|
+
).generateComponentTheme = generateComponentTheme
|
|
203
|
+
|
|
197
204
|
export default AiInformation
|
|
198
205
|
export { AiInformation }
|
|
@@ -29,11 +29,11 @@ import { Text } from '@instructure/ui-text/latest'
|
|
|
29
29
|
import { Link } from '@instructure/ui-link/latest'
|
|
30
30
|
import { ExternalLinkInstUIIcon } from '@instructure/ui-icons'
|
|
31
31
|
import { useStyleNew } from '@instructure/emotion'
|
|
32
|
-
import { NutritionFacts } from '../../NutritionFacts/v2'
|
|
33
|
-
import { DataPermissionLevels } from '../../DataPermissionLevels/v2'
|
|
32
|
+
import { NutritionFacts } from '../../NutritionFacts/v2/index.js'
|
|
33
|
+
import { DataPermissionLevels } from '../../DataPermissionLevels/v2/index.js'
|
|
34
34
|
|
|
35
|
-
import { AiInformationProps } from './props'
|
|
36
|
-
import generateStyle from './styles'
|
|
35
|
+
import { AiInformationProps } from './props.js'
|
|
36
|
+
import generateStyle from './styles.js'
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
---
|
|
@@ -29,9 +29,9 @@ import { Text } from '@instructure/ui-text/v11_6'
|
|
|
29
29
|
import { Link } from '@instructure/ui-link/v11_6'
|
|
30
30
|
import { useStyle as useStyleNew } from '@instructure/emotion'
|
|
31
31
|
|
|
32
|
-
import { DataPermissionLevelsProps } from './props'
|
|
33
|
-
import generateStyle from './styles'
|
|
34
|
-
import generateComponentTheme from './theme'
|
|
32
|
+
import { DataPermissionLevelsProps } from './props.js'
|
|
33
|
+
import generateStyle from './styles.js'
|
|
34
|
+
import generateComponentTheme from './theme.js'
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
---
|
|
@@ -133,5 +133,12 @@ const DataPermissionLevels = ({
|
|
|
133
133
|
)
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
137
|
+
;(
|
|
138
|
+
DataPermissionLevels as typeof DataPermissionLevels & {
|
|
139
|
+
generateComponentTheme: typeof generateComponentTheme
|
|
140
|
+
}
|
|
141
|
+
).generateComponentTheme = generateComponentTheme
|
|
142
|
+
|
|
136
143
|
export default DataPermissionLevels
|
|
137
144
|
export { DataPermissionLevels }
|
|
@@ -29,8 +29,8 @@ import { Text } from '@instructure/ui-text/latest'
|
|
|
29
29
|
import { Link } from '@instructure/ui-link/latest'
|
|
30
30
|
import { useStyleNew } from '@instructure/emotion'
|
|
31
31
|
|
|
32
|
-
import { DataPermissionLevelsProps } from './props'
|
|
33
|
-
import generateStyle from './styles'
|
|
32
|
+
import { DataPermissionLevelsProps } from './props.js'
|
|
33
|
+
import generateStyle from './styles.js'
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
---
|
|
@@ -29,9 +29,9 @@ import { Text } from '@instructure/ui-text/v11_6'
|
|
|
29
29
|
import { Link } from '@instructure/ui-link/v11_6'
|
|
30
30
|
import { useStyle as useStyleNew } from '@instructure/emotion'
|
|
31
31
|
|
|
32
|
-
import { NutritionFactsProps } from './props'
|
|
33
|
-
import generateStyle from './styles'
|
|
34
|
-
import generateComponentTheme from './theme'
|
|
32
|
+
import { NutritionFactsProps } from './props.js'
|
|
33
|
+
import generateStyle from './styles.js'
|
|
34
|
+
import generateComponentTheme from './theme.js'
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
---
|
|
@@ -143,5 +143,12 @@ const NutritionFacts = ({
|
|
|
143
143
|
)
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
147
|
+
;(
|
|
148
|
+
NutritionFacts as typeof NutritionFacts & {
|
|
149
|
+
generateComponentTheme: typeof generateComponentTheme
|
|
150
|
+
}
|
|
151
|
+
).generateComponentTheme = generateComponentTheme
|
|
152
|
+
|
|
146
153
|
export default NutritionFacts
|
|
147
154
|
export { NutritionFacts }
|
|
@@ -29,8 +29,8 @@ import { Text } from '@instructure/ui-text/latest'
|
|
|
29
29
|
import { Link } from '@instructure/ui-link/latest'
|
|
30
30
|
import { useStyleNew } from '@instructure/emotion'
|
|
31
31
|
|
|
32
|
-
import { NutritionFactsProps } from './props'
|
|
33
|
-
import generateStyle from './styles'
|
|
32
|
+
import { NutritionFactsProps } from './props.js'
|
|
33
|
+
import generateStyle from './styles.js'
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
---
|
package/src/exports/a.ts
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { NutritionFacts } from '../NutritionFacts/v1'
|
|
25
|
-
export { DataPermissionLevels } from '../DataPermissionLevels/v1'
|
|
26
|
-
export { AiInformation } from '../AiInformation/v1'
|
|
24
|
+
export { NutritionFacts } from '../NutritionFacts/v1/index.js'
|
|
25
|
+
export { DataPermissionLevels } from '../DataPermissionLevels/v1/index.js'
|
|
26
|
+
export { AiInformation } from '../AiInformation/v1/index.js'
|
|
27
27
|
export type { NutritionFactsProps } from '../NutritionFacts/v1/props'
|
|
28
28
|
export type { DataPermissionLevelsProps } from '../DataPermissionLevels/v1/props'
|
|
29
29
|
export type { AiInformationProps } from '../AiInformation/v1/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { NutritionFacts } from '../NutritionFacts/v2'
|
|
25
|
-
export { DataPermissionLevels } from '../DataPermissionLevels/v2'
|
|
26
|
-
export { AiInformation } from '../AiInformation/v2'
|
|
24
|
+
export { NutritionFacts } from '../NutritionFacts/v2/index.js'
|
|
25
|
+
export { DataPermissionLevels } from '../DataPermissionLevels/v2/index.js'
|
|
26
|
+
export { AiInformation } from '../AiInformation/v2/index.js'
|
|
27
27
|
export type { NutritionFactsProps } from '../NutritionFacts/v2/props'
|
|
28
28
|
export type { DataPermissionLevelsProps } from '../DataPermissionLevels/v2/props'
|
|
29
29
|
export type { AiInformationProps } from '../AiInformation/v2/props'
|