@instructure/ui-pages 11.6.0 → 11.6.1-snapshot-129

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +34 -282
  2. package/es/Pages/{Page → v1/Page}/index.js +1 -1
  3. package/es/Pages/{index.js → v1/index.js} +2 -2
  4. package/es/{index.js → exports/a.js} +2 -2
  5. package/lib/Pages/{Page → v1/Page}/index.js +2 -2
  6. package/lib/Pages/{index.js → v1/index.js} +3 -3
  7. package/lib/{index.js → exports/a.js} +3 -3
  8. package/package.json +40 -18
  9. package/src/Pages/{Page → v1/Page}/index.tsx +1 -1
  10. package/src/Pages/{index.tsx → v1/index.tsx} +2 -2
  11. package/src/{index.ts → exports/a.ts} +4 -4
  12. package/tsconfig.build.tsbuildinfo +1 -1
  13. package/types/Pages/v1/Page/index.d.ts.map +1 -0
  14. package/types/Pages/v1/Page/props.d.ts.map +1 -0
  15. package/types/Pages/v1/PagesContext.d.ts.map +1 -0
  16. package/types/Pages/v1/index.d.ts.map +1 -0
  17. package/types/Pages/v1/props.d.ts.map +1 -0
  18. package/types/Pages/v1/styles.d.ts.map +1 -0
  19. package/types/Pages/v1/theme.d.ts.map +1 -0
  20. package/types/exports/a.d.ts +5 -0
  21. package/types/exports/a.d.ts.map +1 -0
  22. package/types/Pages/Page/index.d.ts.map +0 -1
  23. package/types/Pages/Page/props.d.ts.map +0 -1
  24. package/types/Pages/PagesContext.d.ts.map +0 -1
  25. package/types/Pages/index.d.ts.map +0 -1
  26. package/types/Pages/props.d.ts.map +0 -1
  27. package/types/Pages/styles.d.ts.map +0 -1
  28. package/types/Pages/theme.d.ts.map +0 -1
  29. package/types/index.d.ts +0 -5
  30. package/types/index.d.ts.map +0 -1
  31. /package/es/Pages/{Page → v1/Page}/props.js +0 -0
  32. /package/es/Pages/{PagesContext.js → v1/PagesContext.js} +0 -0
  33. /package/es/Pages/{props.js → v1/props.js} +0 -0
  34. /package/es/Pages/{styles.js → v1/styles.js} +0 -0
  35. /package/es/Pages/{theme.js → v1/theme.js} +0 -0
  36. /package/lib/Pages/{Page → v1/Page}/props.js +0 -0
  37. /package/lib/Pages/{PagesContext.js → v1/PagesContext.js} +0 -0
  38. /package/lib/Pages/{props.js → v1/props.js} +0 -0
  39. /package/lib/Pages/{styles.js → v1/styles.js} +0 -0
  40. /package/lib/Pages/{theme.js → v1/theme.js} +0 -0
  41. /package/src/Pages/{Page → v1/Page}/props.ts +0 -0
  42. /package/src/Pages/{PagesContext.ts → v1/PagesContext.ts} +0 -0
  43. /package/src/Pages/{README.md → v1/README.md} +0 -0
  44. /package/src/Pages/{props.ts → v1/props.ts} +0 -0
  45. /package/src/Pages/{styles.ts → v1/styles.ts} +0 -0
  46. /package/src/Pages/{theme.ts → v1/theme.ts} +0 -0
  47. /package/types/Pages/{Page → v1/Page}/index.d.ts +0 -0
  48. /package/types/Pages/{Page → v1/Page}/props.d.ts +0 -0
  49. /package/types/Pages/{PagesContext.d.ts → v1/PagesContext.d.ts} +0 -0
  50. /package/types/Pages/{index.d.ts → v1/index.d.ts} +0 -0
  51. /package/types/Pages/{props.d.ts → v1/props.d.ts} +0 -0
  52. /package/types/Pages/{styles.d.ts → v1/styles.d.ts} +0 -0
  53. /package/types/Pages/{theme.d.ts → v1/theme.d.ts} +0 -0
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "Pages", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _Pages.Pages;
9
+ return _v.Pages;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "PagesPage", {
@@ -15,5 +15,5 @@ Object.defineProperty(exports, "PagesPage", {
15
15
  return _Page.Page;
16
16
  }
17
17
  });
18
- var _Pages = require("./Pages");
19
- var _Page = require("./Pages/Page");
18
+ var _v = require("../Pages/v1");
19
+ var _Page = require("../Pages/v1/Page");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-pages",
3
- "version": "11.6.0",
3
+ "version": "11.6.1-snapshot-129",
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",
@@ -15,22 +15,22 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.27.6",
18
- "@instructure/console": "11.6.0",
19
- "@instructure/emotion": "11.6.0",
20
- "@instructure/shared-types": "11.6.0",
21
- "@instructure/ui-dom-utils": "11.6.0",
22
- "@instructure/ui-react-utils": "11.6.0",
23
- "@instructure/ui-utils": "11.6.0",
24
- "@instructure/ui-view": "11.6.0"
18
+ "@instructure/console": "11.6.1-snapshot-129",
19
+ "@instructure/emotion": "11.6.1-snapshot-129",
20
+ "@instructure/shared-types": "11.6.1-snapshot-129",
21
+ "@instructure/ui-dom-utils": "11.6.1-snapshot-129",
22
+ "@instructure/ui-react-utils": "11.6.1-snapshot-129",
23
+ "@instructure/ui-view": "11.6.1-snapshot-129",
24
+ "@instructure/ui-utils": "11.6.1-snapshot-129"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@testing-library/jest-dom": "^6.6.3",
28
28
  "@testing-library/react": "15.0.7",
29
29
  "@testing-library/user-event": "^14.6.1",
30
30
  "vitest": "^3.2.2",
31
- "@instructure/ui-babel-preset": "11.6.0",
32
- "@instructure/ui-color-utils": "11.6.0",
33
- "@instructure/ui-themes": "11.6.0"
31
+ "@instructure/ui-color-utils": "11.6.1-snapshot-129",
32
+ "@instructure/ui-themes": "11.6.1-snapshot-129",
33
+ "@instructure/ui-babel-preset": "11.6.1-snapshot-129"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": ">=18 <=19"
@@ -40,17 +40,39 @@
40
40
  },
41
41
  "sideEffects": false,
42
42
  "exports": {
43
- ".": {
44
- "types": "./types/index.d.ts",
45
- "import": "./es/index.js",
46
- "require": "./lib/index.js",
47
- "default": "./es/index.js"
48
- },
49
43
  "./lib/*": "./lib/*",
50
44
  "./es/*": "./es/*",
51
45
  "./types/*": "./types/*",
52
46
  "./package.json": "./package.json",
53
- "./src/*": "./src/*"
47
+ "./src/*": "./src/*",
48
+ ".": {
49
+ "src": "./src/exports/a.ts",
50
+ "types": "./types/exports/a.d.ts",
51
+ "import": "./es/exports/a.js",
52
+ "require": "./lib/exports/a.js",
53
+ "default": "./es/exports/a.js"
54
+ },
55
+ "./v11_6": {
56
+ "src": "./src/exports/a.ts",
57
+ "types": "./types/exports/a.d.ts",
58
+ "import": "./es/exports/a.js",
59
+ "require": "./lib/exports/a.js",
60
+ "default": "./es/exports/a.js"
61
+ },
62
+ "./v11_7": {
63
+ "src": "./src/exports/a.ts",
64
+ "types": "./types/exports/a.d.ts",
65
+ "import": "./es/exports/a.js",
66
+ "require": "./lib/exports/a.js",
67
+ "default": "./es/exports/a.js"
68
+ },
69
+ "./latest": {
70
+ "src": "./src/exports/a.ts",
71
+ "types": "./types/exports/a.d.ts",
72
+ "import": "./es/exports/a.js",
73
+ "require": "./lib/exports/a.js",
74
+ "default": "./es/exports/a.js"
75
+ }
54
76
  },
55
77
  "scripts": {
56
78
  "lint": "ui-scripts lint",
@@ -26,7 +26,7 @@ import { Component } from 'react'
26
26
 
27
27
  import { findDOMNode, findTabbable } from '@instructure/ui-dom-utils'
28
28
  import { logError as error } from '@instructure/console'
29
- import { View } from '@instructure/ui-view'
29
+ import { View } from '@instructure/ui-view/v11_6'
30
30
 
31
31
  import { PagesContext } from '../PagesContext'
32
32
 
@@ -24,7 +24,7 @@
24
24
 
25
25
  import { Children, Component, ReactElement } from 'react'
26
26
 
27
- import { View } from '@instructure/ui-view'
27
+ import { View } from '@instructure/ui-view/v11_6'
28
28
  import { containsActiveElement, findTabbable } from '@instructure/ui-dom-utils'
29
29
  import {
30
30
  safeCloneElement,
@@ -34,7 +34,7 @@ import { logError as error } from '@instructure/console'
34
34
 
35
35
  import { Page } from './Page'
36
36
 
37
- import { withStyle } from '@instructure/emotion'
37
+ import { withStyleLegacy as withStyle } from '@instructure/emotion'
38
38
  import generateStyle from './styles'
39
39
  import generateComponentTheme from './theme'
40
40
 
@@ -21,8 +21,8 @@
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 { Pages } from './Pages'
25
- export { Page as PagesPage } from './Pages/Page'
24
+ export { Pages } from '../Pages/v1'
25
+ export { Page as PagesPage } from '../Pages/v1/Page'
26
26
 
27
- export type { PagesProps } from './Pages/props'
28
- export type { PagesPageProps } from './Pages/Page/props'
27
+ export type { PagesProps } from '../Pages/v1/props'
28
+ export type { PagesPageProps } from '../Pages/v1/Page/props'