@instructure/ui-icons 11.7.3-snapshot-32 → 11.7.3-snapshot-37

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.3-snapshot-32](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-32) (2026-05-07)
6
+ ## [11.7.3-snapshot-37](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-37) (2026-05-07)
7
7
 
8
8
 
9
9
  ### Bug Fixes
@@ -11,6 +11,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
  * **many:** update dependencies, remove lots of Babel plugins, remove Webpack 4 support ([f916fca](https://github.com/instructure/instructure-ui/commit/f916fcafdddcb2d7de401f93e8ff92cfdfa47bba))
12
12
 
13
13
 
14
+ ### Features
15
+
16
+ * **many:** add a way for consumers to pass their own component theme definition so they can build their own components with InstUI ([ce01c3e](https://github.com/instructure/instructure-ui/commit/ce01c3eedc46aa2588f4c8309a6eabf4461aaec7))
17
+
18
+
14
19
 
15
20
 
16
21
 
package/README.md CHANGED
@@ -159,7 +159,7 @@ Both scripts are **not** part of the normal build — run them manually when:
159
159
  export const SearchInstUIIcon = wrapLucideIcon(Lucide.Search)
160
160
  ```
161
161
 
162
- At render time `wrapLucideIcon` calls `useStyle()` to resolve semantic tokens, then delegates to
162
+ At render time `wrapLucideIcon` calls `useStyleNew()` to resolve semantic tokens, then delegates to
163
163
  the Lucide component via `size`, `color`, `strokeWidth`, and `absoluteStrokeWidth` props.
164
164
 
165
165
  **Custom icons** — the generated index embeds a flat `iconNode` array parsed from the SVG:
@@ -172,7 +172,7 @@ export const AiInfoInstUIIcon = wrapCustomIcon(
172
172
  )
173
173
  ```
174
174
 
175
- At render time `wrapCustomIcon` calls `useStyle()` then builds the SVG manually with
175
+ At render time `wrapCustomIcon` calls `useStyleNew()` then builds the SVG manually with
176
176
  `React.createElement`. Stroke width is converted from CSS units to SVG user units:
177
177
  `strokeWidth = numericStrokeWidth / (numericSize / viewBoxWidth)`.
178
178
 
@@ -23,7 +23,7 @@
23
23
  */
24
24
 
25
25
  import React, { useId, useContext } from 'react';
26
- import { useStyle } from '@instructure/emotion';
26
+ import { useStyleNew } from '@instructure/emotion';
27
27
  import { passthroughProps } from '@instructure/ui-react-utils';
28
28
  import { IconPropsContext } from "../IconPropsProvider/index.js";
29
29
  import generateStyle from "../styles.js";
@@ -64,7 +64,7 @@ export function wrapCustomIcon(PathsComponent, iconName, viewBox = '0 0 24 24')
64
64
  const handleElementRef = el => {
65
65
  if (typeof elementRef === 'function') elementRef(el);
66
66
  };
67
- const styles = useStyle({
67
+ const styles = useStyleNew({
68
68
  componentId: 'Icon',
69
69
  generateStyle,
70
70
  themeOverride,
@@ -23,7 +23,7 @@
23
23
  */
24
24
 
25
25
  import React, { useId, useContext } from 'react';
26
- import { useStyle } from '@instructure/emotion';
26
+ import { useStyleNew } from '@instructure/emotion';
27
27
  import { passthroughProps } from '@instructure/ui-react-utils';
28
28
  import { IconPropsContext } from "../IconPropsProvider/index.js";
29
29
  import generateStyle from "../styles.js";
@@ -54,7 +54,7 @@ export function wrapLucideIcon(Icon) {
54
54
  const handleElementRef = el => {
55
55
  if (typeof elementRef === 'function') elementRef(el);
56
56
  };
57
- const styles = useStyle({
57
+ const styles = useStyleNew({
58
58
  componentId: 'Icon',
59
59
  generateStyle,
60
60
  themeOverride,
@@ -72,7 +72,7 @@ function wrapCustomIcon(PathsComponent, iconName, viewBox = '0 0 24 24') {
72
72
  const handleElementRef = el => {
73
73
  if (typeof elementRef === 'function') elementRef(el);
74
74
  };
75
- const styles = (0, _emotion.useStyle)({
75
+ const styles = (0, _emotion.useStyleNew)({
76
76
  componentId: 'Icon',
77
77
  generateStyle: _styles.default,
78
78
  themeOverride,
@@ -62,7 +62,7 @@ function wrapLucideIcon(Icon) {
62
62
  const handleElementRef = el => {
63
63
  if (typeof elementRef === 'function') elementRef(el);
64
64
  };
65
- const styles = (0, _emotion.useStyle)({
65
+ const styles = (0, _emotion.useStyleNew)({
66
66
  componentId: 'Icon',
67
67
  generateStyle: _styles.default,
68
68
  themeOverride,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-icons",
3
- "version": "11.7.3-snapshot-32",
3
+ "version": "11.7.3-snapshot-37",
4
4
  "description": "Icon set for Instructure, Inc. products",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -19,17 +19,17 @@
19
19
  "license": "MIT",
20
20
  "devDependencies": {
21
21
  "@types/node": "^22.5.4",
22
- "@instructure/ui-babel-preset": "11.7.3-snapshot-32"
22
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-37"
23
23
  },
24
24
  "dependencies": {
25
25
  "@babel/runtime": "^7.29.2",
26
26
  "lucide-react": "1.7.0",
27
- "@instructure/emotion": "11.7.3-snapshot-32",
28
- "@instructure/shared-types": "11.7.3-snapshot-32",
29
- "@instructure/ui-react-utils": "11.7.3-snapshot-32",
30
- "@instructure/ui-themes": "11.7.3-snapshot-32",
31
- "@instructure/ui-svg-images": "11.7.3-snapshot-32",
32
- "@instructure/ui-utils": "11.7.3-snapshot-32"
27
+ "@instructure/emotion": "11.7.3-snapshot-37",
28
+ "@instructure/shared-types": "11.7.3-snapshot-37",
29
+ "@instructure/ui-react-utils": "11.7.3-snapshot-37",
30
+ "@instructure/ui-themes": "11.7.3-snapshot-37",
31
+ "@instructure/ui-svg-images": "11.7.3-snapshot-37",
32
+ "@instructure/ui-utils": "11.7.3-snapshot-37"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=18 <=19"