@instructure/ui-file-drop 11.7.4-snapshot-130 → 11.7.4-snapshot-132

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 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-130](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-130) (2026-07-23)
6
+ ## [11.7.4-snapshot-132](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-132) (2026-07-23)
7
7
 
8
8
 
9
9
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-file-drop",
3
- "version": "11.7.4-snapshot-130",
3
+ "version": "11.7.4-snapshot-132",
4
4
  "description": "A flexible facade for an HTML file input",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -16,23 +16,23 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.7",
18
18
  "keycode": "^2",
19
- "@instructure/console": "11.7.4-snapshot-130",
20
- "@instructure/shared-types": "11.7.4-snapshot-130",
21
- "@instructure/emotion": "11.7.4-snapshot-130",
22
- "@instructure/ui-color-utils": "11.7.4-snapshot-130",
23
- "@instructure/ui-form-field": "11.7.4-snapshot-130",
24
- "@instructure/ui-react-utils": "11.7.4-snapshot-130",
25
- "@instructure/ui-themes": "11.7.4-snapshot-130",
26
- "@instructure/uid": "11.7.4-snapshot-130",
27
- "@instructure/ui-view": "11.7.4-snapshot-130",
28
- "@instructure/ui-utils": "11.7.4-snapshot-130"
19
+ "@instructure/emotion": "11.7.4-snapshot-132",
20
+ "@instructure/console": "11.7.4-snapshot-132",
21
+ "@instructure/ui-color-utils": "11.7.4-snapshot-132",
22
+ "@instructure/shared-types": "11.7.4-snapshot-132",
23
+ "@instructure/ui-form-field": "11.7.4-snapshot-132",
24
+ "@instructure/ui-react-utils": "11.7.4-snapshot-132",
25
+ "@instructure/ui-themes": "11.7.4-snapshot-132",
26
+ "@instructure/ui-utils": "11.7.4-snapshot-132",
27
+ "@instructure/ui-view": "11.7.4-snapshot-132",
28
+ "@instructure/uid": "11.7.4-snapshot-132"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@testing-library/jest-dom": "^6.9.1",
32
32
  "@testing-library/react": "16.3.2",
33
33
  "vitest": "^4.1.9",
34
- "@instructure/ui-babel-preset": "11.7.4-snapshot-130",
35
- "@instructure/ui-axe-check": "11.7.4-snapshot-130"
34
+ "@instructure/ui-axe-check": "11.7.4-snapshot-132",
35
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-132"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": ">=18 <=19"
@@ -17,8 +17,8 @@ type: example
17
17
  onDropAccepted={([file]) => { console.log(`File accepted ${file.name}`) }}
18
18
  onDropRejected={([file]) => { console.log(`File rejected ${file.name}`) }}
19
19
  renderLabel={
20
- <View as="div" padding="xx-large large" background="primary">
21
- <IconModuleLine size="large" />
20
+ <View as="div" padding="general.space2xl general.space2xl" background="primary">
21
+ <BoxesInstUIIcon size="illu-md" />
22
22
  <Heading>Drop files here to add them to module</Heading>
23
23
  <Text color="brand">
24
24
  Drag and drop, or click to browse your computer
@@ -61,8 +61,8 @@ type: example
61
61
  onDropAccepted={([file]) => { console.log(`File accepted ${file.name}`) }}
62
62
  onDropRejected={([file]) => { console.log(`File rejected ${file.name}`) }}
63
63
  renderLabel={
64
- <View background="secondary" as="div" textAlign="center" padding="x-large large">
65
- <IconUploadSolid />
64
+ <View background="secondary" as="div" textAlign="center" padding="general.space2xl general.space2xl">
65
+ <UploadInstUIIcon />
66
66
  <Text as="div" weight="bold">
67
67
  Upload document
68
68
  </Text>
@@ -82,7 +82,7 @@ type: example
82
82
  <Billboard
83
83
  size="small"
84
84
  message="All video file types"
85
- hero={<IconVideoLine />}
85
+ hero={<VideoInstUIIcon />}
86
86
  />
87
87
  }
88
88
  display="inline-block"
@@ -109,7 +109,7 @@ type: example
109
109
  <Billboard
110
110
  size="small"
111
111
  message="Only .jpg files"
112
- hero={<IconImageLine />}
112
+ hero={<ImageInstUIIcon />}
113
113
  />
114
114
  }
115
115
  maxWidth="15rem"
@@ -131,8 +131,8 @@ type: example
131
131
  console.log(`Files accepted ${files.map((f) => f.name).join(',')}`)
132
132
  }}
133
133
  renderLabel={
134
- <View as="div" textAlign="center" padding="large" margin="general.space2xl 0 0 0">
135
- <IconAnnotateLine color="brand" size="large" />
134
+ <View as="div" textAlign="center" padding="general.space2xl" margin="general.space2xl 0 0 0">
135
+ <PencilAnnotateInstUIIcon color="brand" size="illu-md" />
136
136
  <Text as="div" color="brand">
137
137
  Drag and Drop or Click to Browser your Computer
138
138
  </Text>
@@ -157,15 +157,15 @@ type: example
157
157
  height="100%"
158
158
  renderLabel={
159
159
  <Flex direction="column" height="100%" alignItems="center" justifyItems="center">
160
- <Flex.Item padding="small">
161
- <IconPdfLine size="large" />
160
+ <Flex.Item padding="general.spaceMd">
161
+ <FileTextInstUIIcon size="illu-md" />
162
162
  </Flex.Item>
163
- <Flex.Item padding="small">
163
+ <Flex.Item padding="general.spaceMd">
164
164
  <Text size="large">
165
165
  Drag and Drop or Click to Browser your Computer
166
166
  </Text>
167
167
  </Flex.Item>
168
- <Flex.Item padding="small">
168
+ <Flex.Item padding="general.spaceMd">
169
169
  <Text color="secondary" size="small">
170
170
  Accepted File Type is PDF
171
171
  </Text>