@instructure/ui-instructure 11.7.4-snapshot-14 → 11.7.4-snapshot-50
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 +1 -1
- package/LICENSE.md +1 -0
- 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/lib/AiInformation/v1/index.js +11 -7
- package/lib/AiInformation/v2/index.js +5 -5
- package/lib/DataPermissionLevels/v1/index.js +7 -3
- package/lib/DataPermissionLevels/v2/index.js +1 -1
- package/lib/NutritionFacts/v1/index.js +7 -3
- package/lib/NutritionFacts/v2/index.js +1 -1
- package/lib/exports/a.js +6 -6
- package/lib/exports/b.js +6 -6
- package/package.json +16 -16
- 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/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-50](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-50) (2026-06-18)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-instructure
|
|
9
9
|
|
package/LICENSE.md
CHANGED
|
@@ -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';
|
|
@@ -13,10 +13,10 @@ var _v11_4 = require("@instructure/ui-text/v11_6");
|
|
|
13
13
|
var _v11_5 = require("@instructure/ui-link/v11_6");
|
|
14
14
|
var _IconExternalLinkLine = require("@instructure/ui-icons/lib/generated/IconExternalLinkLine.js");
|
|
15
15
|
var _emotion = require("@instructure/emotion");
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
19
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
16
|
+
var _index = require("../../NutritionFacts/v1/index.js");
|
|
17
|
+
var _index2 = require("../../DataPermissionLevels/v1/index.js");
|
|
18
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
19
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
20
20
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
21
21
|
/*
|
|
22
22
|
* The MIT License (MIT)
|
|
@@ -150,7 +150,7 @@ category: components/AI Components
|
|
|
150
150
|
})
|
|
151
151
|
}), (0, _jsxRuntime.jsx)("div", {
|
|
152
152
|
css: styles?.permissionLevelsModalTriggerText,
|
|
153
|
-
children: (0, _jsxRuntime.jsx)(
|
|
153
|
+
children: (0, _jsxRuntime.jsx)(_index2.DataPermissionLevels, {
|
|
154
154
|
fullscreen: fullscreenModals,
|
|
155
155
|
title: dataPermissionLevelsTitle,
|
|
156
156
|
currentFeatureText: dataPermissionLevelsCurrentFeatureText,
|
|
@@ -174,7 +174,7 @@ category: components/AI Components
|
|
|
174
174
|
variant: "contentSmall",
|
|
175
175
|
children: [" ", modelName, " "]
|
|
176
176
|
})
|
|
177
|
-
}), (0, _jsxRuntime.jsx)(
|
|
177
|
+
}), (0, _jsxRuntime.jsx)(_index.NutritionFacts, {
|
|
178
178
|
fullscreen: fullscreenModals,
|
|
179
179
|
modalLabel: nutritionFactsModalLabel,
|
|
180
180
|
title: nutritionFactsTitle,
|
|
@@ -191,6 +191,10 @@ category: components/AI Components
|
|
|
191
191
|
})
|
|
192
192
|
})
|
|
193
193
|
});
|
|
194
|
-
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
197
|
+
;
|
|
195
198
|
exports.AiInformation = AiInformation;
|
|
199
|
+
AiInformation.generateComponentTheme = _theme.default;
|
|
196
200
|
var _default = exports.default = AiInformation;
|
|
@@ -13,9 +13,9 @@ var _latest4 = require("@instructure/ui-text/latest");
|
|
|
13
13
|
var _latest5 = require("@instructure/ui-link/latest");
|
|
14
14
|
var _uiIcons = require("@instructure/ui-icons");
|
|
15
15
|
var _emotion = require("@instructure/emotion");
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
16
|
+
var _index = require("../../NutritionFacts/v2/index.js");
|
|
17
|
+
var _index2 = require("../../DataPermissionLevels/v2/index.js");
|
|
18
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
19
19
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
20
20
|
/*
|
|
21
21
|
* The MIT License (MIT)
|
|
@@ -151,7 +151,7 @@ category: components/AI Components
|
|
|
151
151
|
})
|
|
152
152
|
}), (0, _jsxRuntime.jsx)("div", {
|
|
153
153
|
css: styles?.permissionLevelsModalTriggerText,
|
|
154
|
-
children: (0, _jsxRuntime.jsx)(
|
|
154
|
+
children: (0, _jsxRuntime.jsx)(_index2.DataPermissionLevels, {
|
|
155
155
|
fullscreen: fullscreenModals,
|
|
156
156
|
title: dataPermissionLevelsTitle,
|
|
157
157
|
currentFeatureText: dataPermissionLevelsCurrentFeatureText,
|
|
@@ -175,7 +175,7 @@ category: components/AI Components
|
|
|
175
175
|
variant: "contentSmall",
|
|
176
176
|
children: [" ", modelName, " "]
|
|
177
177
|
})
|
|
178
|
-
}), (0, _jsxRuntime.jsx)(
|
|
178
|
+
}), (0, _jsxRuntime.jsx)(_index.NutritionFacts, {
|
|
179
179
|
fullscreen: fullscreenModals,
|
|
180
180
|
modalLabel: nutritionFactsModalLabel,
|
|
181
181
|
title: nutritionFactsTitle,
|
|
@@ -12,8 +12,8 @@ var _v11_3 = require("@instructure/ui-heading/v11_6");
|
|
|
12
12
|
var _v11_4 = require("@instructure/ui-text/v11_6");
|
|
13
13
|
var _v11_5 = require("@instructure/ui-link/v11_6");
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
16
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
15
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
16
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
17
17
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
18
18
|
/*
|
|
19
19
|
* The MIT License (MIT)
|
|
@@ -140,6 +140,10 @@ category: components/AI Components
|
|
|
140
140
|
})]
|
|
141
141
|
})]
|
|
142
142
|
});
|
|
143
|
-
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
146
|
+
;
|
|
144
147
|
exports.DataPermissionLevels = DataPermissionLevels;
|
|
148
|
+
DataPermissionLevels.generateComponentTheme = _theme.default;
|
|
145
149
|
var _default = exports.default = DataPermissionLevels;
|
|
@@ -12,7 +12,7 @@ var _latest3 = require("@instructure/ui-heading/latest");
|
|
|
12
12
|
var _latest4 = require("@instructure/ui-text/latest");
|
|
13
13
|
var _latest5 = require("@instructure/ui-link/latest");
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
15
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
17
|
/*
|
|
18
18
|
* The MIT License (MIT)
|
|
@@ -12,8 +12,8 @@ var _v11_3 = require("@instructure/ui-heading/v11_6");
|
|
|
12
12
|
var _v11_4 = require("@instructure/ui-text/v11_6");
|
|
13
13
|
var _v11_5 = require("@instructure/ui-link/v11_6");
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
16
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
15
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
16
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
17
17
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
18
18
|
/*
|
|
19
19
|
* The MIT License (MIT)
|
|
@@ -149,6 +149,10 @@ category: components/AI Components
|
|
|
149
149
|
})]
|
|
150
150
|
})]
|
|
151
151
|
});
|
|
152
|
-
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// expose generateComponentTheme so Document can render "Default Theme Variables" for v11.6
|
|
155
|
+
;
|
|
153
156
|
exports.NutritionFacts = NutritionFacts;
|
|
157
|
+
NutritionFacts.generateComponentTheme = _theme.default;
|
|
154
158
|
var _default = exports.default = NutritionFacts;
|
|
@@ -12,7 +12,7 @@ var _latest3 = require("@instructure/ui-heading/latest");
|
|
|
12
12
|
var _latest4 = require("@instructure/ui-text/latest");
|
|
13
13
|
var _latest5 = require("@instructure/ui-link/latest");
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
15
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
17
|
/*
|
|
18
18
|
* The MIT License (MIT)
|
package/lib/exports/a.js
CHANGED
|
@@ -6,21 +6,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "AiInformation", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index3.AiInformation;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DataPermissionLevels", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.DataPermissionLevels;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "NutritionFacts", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function () {
|
|
21
|
-
return
|
|
21
|
+
return _index.NutritionFacts;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
24
|
+
var _index = require("../NutritionFacts/v1/index.js");
|
|
25
|
+
var _index2 = require("../DataPermissionLevels/v1/index.js");
|
|
26
|
+
var _index3 = require("../AiInformation/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,21 +6,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "AiInformation", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index3.AiInformation;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DataPermissionLevels", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.DataPermissionLevels;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "NutritionFacts", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function () {
|
|
21
|
-
return
|
|
21
|
+
return _index.NutritionFacts;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
24
|
+
var _index = require("../NutritionFacts/v2/index.js");
|
|
25
|
+
var _index2 = require("../DataPermissionLevels/v2/index.js");
|
|
26
|
+
var _index3 = require("../AiInformation/v2/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-instructure",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-50",
|
|
4
4
|
"description": "Collection of specific components for Instructure products",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/shared-types": "11.7.4-snapshot-
|
|
20
|
-
"@instructure/ui-
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-
|
|
18
|
+
"@instructure/ui-buttons": "11.7.4-snapshot-50",
|
|
19
|
+
"@instructure/shared-types": "11.7.4-snapshot-50",
|
|
20
|
+
"@instructure/ui-icons": "11.7.4-snapshot-50",
|
|
21
|
+
"@instructure/emotion": "11.7.4-snapshot-50",
|
|
22
|
+
"@instructure/ui-heading": "11.7.4-snapshot-50",
|
|
23
|
+
"@instructure/ui-popover": "11.7.4-snapshot-50",
|
|
24
|
+
"@instructure/ui-link": "11.7.4-snapshot-50",
|
|
25
|
+
"@instructure/ui-text": "11.7.4-snapshot-50",
|
|
26
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-50",
|
|
27
|
+
"@instructure/ui-themes": "11.7.4-snapshot-50",
|
|
28
|
+
"@instructure/ui-view": "11.7.4-snapshot-50",
|
|
29
|
+
"@instructure/ui-modal": "11.7.4-snapshot-50"
|
|
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-axe-check": "11.7.4-snapshot-
|
|
36
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
37
|
-
"@instructure/ui-color-utils": "11.7.4-snapshot-
|
|
35
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-50",
|
|
36
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-50",
|
|
37
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-50"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": ">=18 <=19"
|
|
@@ -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'
|