@instructure/ui-img 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 (35) hide show
  1. package/CHANGELOG.md +31 -278
  2. package/es/Img/{index.js → v1/index.js} +2 -2
  3. package/es/{index.js → exports/a.js} +1 -1
  4. package/lib/Img/{index.js → v1/index.js} +4 -4
  5. package/lib/{index.js → exports/a.js} +2 -2
  6. package/package.json +38 -16
  7. package/src/Img/{index.tsx → v1/index.tsx} +2 -2
  8. package/src/{index.ts → exports/a.ts} +2 -2
  9. package/tsconfig.build.tsbuildinfo +1 -1
  10. package/types/Img/v1/index.d.ts.map +1 -0
  11. package/types/Img/v1/props.d.ts.map +1 -0
  12. package/types/Img/v1/styles.d.ts.map +1 -0
  13. package/types/Img/v1/theme.d.ts.map +1 -0
  14. package/types/exports/a.d.ts +3 -0
  15. package/types/exports/a.d.ts.map +1 -0
  16. package/types/Img/index.d.ts.map +0 -1
  17. package/types/Img/props.d.ts.map +0 -1
  18. package/types/Img/styles.d.ts.map +0 -1
  19. package/types/Img/theme.d.ts.map +0 -1
  20. package/types/index.d.ts +0 -3
  21. package/types/index.d.ts.map +0 -1
  22. /package/es/Img/{props.js → v1/props.js} +0 -0
  23. /package/es/Img/{styles.js → v1/styles.js} +0 -0
  24. /package/es/Img/{theme.js → v1/theme.js} +0 -0
  25. /package/lib/Img/{props.js → v1/props.js} +0 -0
  26. /package/lib/Img/{styles.js → v1/styles.js} +0 -0
  27. /package/lib/Img/{theme.js → v1/theme.js} +0 -0
  28. /package/src/Img/{README.md → v1/README.md} +0 -0
  29. /package/src/Img/{props.ts → v1/props.ts} +0 -0
  30. /package/src/Img/{styles.ts → v1/styles.ts} +0 -0
  31. /package/src/Img/{theme.ts → v1/theme.ts} +0 -0
  32. /package/types/Img/{index.d.ts → v1/index.d.ts} +0 -0
  33. /package/types/Img/{props.d.ts → v1/props.d.ts} +0 -0
  34. /package/types/Img/{styles.d.ts → v1/styles.d.ts} +0 -0
  35. /package/types/Img/{theme.d.ts → v1/theme.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-img",
3
- "version": "11.6.0",
3
+ "version": "11.6.1-snapshot-129",
4
4
  "description": "An accessible image component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,20 +15,20 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.27.6",
18
- "@instructure/emotion": "11.6.0",
19
- "@instructure/console": "11.6.0",
20
- "@instructure/ui-dom-utils": "11.6.0",
21
- "@instructure/shared-types": "11.6.0",
22
- "@instructure/ui-react-utils": "11.6.0",
23
- "@instructure/ui-view": "11.6.0"
18
+ "@instructure/console": "11.6.1-snapshot-129",
19
+ "@instructure/shared-types": "11.6.1-snapshot-129",
20
+ "@instructure/emotion": "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
24
  },
25
25
  "devDependencies": {
26
26
  "@testing-library/jest-dom": "^6.6.3",
27
27
  "@testing-library/react": "15.0.7",
28
28
  "@testing-library/user-event": "^14.6.1",
29
29
  "vitest": "^3.2.2",
30
- "@instructure/ui-axe-check": "11.6.0",
31
- "@instructure/ui-babel-preset": "11.6.0"
30
+ "@instructure/ui-axe-check": "11.6.1-snapshot-129",
31
+ "@instructure/ui-babel-preset": "11.6.1-snapshot-129"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": ">=18 <=19"
@@ -38,17 +38,39 @@
38
38
  },
39
39
  "sideEffects": false,
40
40
  "exports": {
41
- ".": {
42
- "types": "./types/index.d.ts",
43
- "import": "./es/index.js",
44
- "require": "./lib/index.js",
45
- "default": "./es/index.js"
46
- },
47
41
  "./lib/*": "./lib/*",
48
42
  "./es/*": "./es/*",
49
43
  "./types/*": "./types/*",
50
44
  "./package.json": "./package.json",
51
- "./src/*": "./src/*"
45
+ "./src/*": "./src/*",
46
+ ".": {
47
+ "src": "./src/exports/a.ts",
48
+ "types": "./types/exports/a.d.ts",
49
+ "import": "./es/exports/a.js",
50
+ "require": "./lib/exports/a.js",
51
+ "default": "./es/exports/a.js"
52
+ },
53
+ "./v11_6": {
54
+ "src": "./src/exports/a.ts",
55
+ "types": "./types/exports/a.d.ts",
56
+ "import": "./es/exports/a.js",
57
+ "require": "./lib/exports/a.js",
58
+ "default": "./es/exports/a.js"
59
+ },
60
+ "./v11_7": {
61
+ "src": "./src/exports/a.ts",
62
+ "types": "./types/exports/a.d.ts",
63
+ "import": "./es/exports/a.js",
64
+ "require": "./lib/exports/a.js",
65
+ "default": "./es/exports/a.js"
66
+ },
67
+ "./latest": {
68
+ "src": "./src/exports/a.ts",
69
+ "types": "./types/exports/a.d.ts",
70
+ "import": "./es/exports/a.js",
71
+ "require": "./lib/exports/a.js",
72
+ "default": "./es/exports/a.js"
73
+ }
52
74
  },
53
75
  "scripts": {
54
76
  "lint": "ui-scripts lint",
@@ -24,10 +24,10 @@
24
24
 
25
25
  import { Component } from 'react'
26
26
 
27
- import { View } from '@instructure/ui-view'
27
+ import { View } from '@instructure/ui-view/v11_6'
28
28
  import { passthroughProps } from '@instructure/ui-react-utils'
29
29
 
30
- import { withStyle } from '@instructure/emotion'
30
+ import { withStyleLegacy as withStyle } from '@instructure/emotion'
31
31
 
32
32
  import generateStyle from './styles'
33
33
  import generateComponentTheme from './theme'
@@ -21,5 +21,5 @@
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 { Img } from './Img'
25
- export type { ImgProps } from './Img/props'
24
+ export { Img } from '../Img/v1'
25
+ export type { ImgProps } from '../Img/v1/props'