Skip to content

Commit 96914f0

Browse files
committed
chore(many): remove hash symbol from internal links
INSTUI-4750
1 parent 93a9847 commit 96914f0

File tree

153 files changed

+541
-308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+541
-308
lines changed

CHANGELOG.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
55

66
## [11.0.1](https://github.com/instructure/instructure-ui/compare/v11.0.0...v11.0.1) (2025-10-13)
77

8-
98
### Bug Fixes
109

11-
* **emotion:** fix useTheme export. The native emotion util was exported instead of our own ([8450778](https://github.com/instructure/instructure-ui/commit/8450778bbcbc2a2f928c1c53ff21147535d61940))
12-
* **ui-drawer-layout,ui-a11y-utils:** fix Tray closing immediately after opening and calling onDismiss ([46593a4](https://github.com/instructure/instructure-ui/commit/46593a465f97158549b541d7daea1f453fcc2a56))
13-
* **ui-text:** fixed an issue where letterSpacingNormal theme variable previously showed an error because its value was 0 ([856218d](https://github.com/instructure/instructure-ui/commit/856218d9852dc8c8d44d20a600db23ba11a7621f))
14-
* **ui-view:** remove ui-prop-types dependency that was left in accidentally after the v11 release ([93f129b](https://github.com/instructure/instructure-ui/commit/93f129b7dda2bbe7fe29ae3e181c28d664dfff56))
15-
16-
17-
18-
10+
- **emotion:** fix useTheme export. The native emotion util was exported instead of our own ([8450778](https://github.com/instructure/instructure-ui/commit/8450778bbcbc2a2f928c1c53ff21147535d61940))
11+
- **ui-drawer-layout,ui-a11y-utils:** fix Tray closing immediately after opening and calling onDismiss ([46593a4](https://github.com/instructure/instructure-ui/commit/46593a465f97158549b541d7daea1f453fcc2a56))
12+
- **ui-text:** fixed an issue where letterSpacingNormal theme variable previously showed an error because its value was 0 ([856218d](https://github.com/instructure/instructure-ui/commit/856218d9852dc8c8d44d20a600db23ba11a7621f))
13+
- **ui-view:** remove ui-prop-types dependency that was left in accidentally after the v11 release ([93f129b](https://github.com/instructure/instructure-ui/commit/93f129b7dda2bbe7fe29ae3e181c28d664dfff56))
1914

2015
# [11.0.0](https://github.com/instructure/instructure-ui/compare/v10.26.0...v11.0.0) (2025-10-06)
2116

22-
InstUI v11 is a major release that removes deprecated features and adds support for React 19. For details on how to upgrade, codemods see the upgrade guide at https://instructure.design/#upgrade-guide
17+
InstUI v11 is a major release that removes deprecated features and adds support for React 19. For details on how to upgrade, codemods see the upgrade guide at https://instructure.design/upgrade-guide
2318

2419
### Features
2520

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The last two versions of all modern browsers (Firefox, Safari, Chrome, Edge).
2020

2121
## License
2222

23-
[MIT](#LICENSE)
23+
[MIT](LICENSE)
2424

2525
[license-badge]: https://img.shields.io/npm/l/instructure-ui.svg?style=flat-square
2626
[license]: https://github.com/instructure/instructure-ui/blob/master/LICENSE.md

docs/contributor-docs/api-guidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ order: 4
88

99
### Component Properties
1010

11-
- All components should pass through additional props down to the root DOM element using the `passthroughProps` utility. (e.g. `<div {...passthroughProps(this.props)}>`). Note that in addition to allowing only valid DOM node attributes, `passthroughProps` will remove the `className` and `style` props to prevent unexpected style issues. These need to be set explicitly and used with caution. It also removes the `styles` and `makesStyles` properties added by the [withStyle](#withStyle) decorator.
11+
- All components should pass through additional props down to the root DOM element using the `passthroughProps` utility. (e.g. `<div {...passthroughProps(this.props)}>`). Note that in addition to allowing only valid DOM node attributes, `passthroughProps` will remove the `className` and `style` props to prevent unexpected style issues. These need to be set explicitly and used with caution. It also removes the `styles` and `makesStyles` properties added by the [withStyle](withStyle) decorator.
1212
- Avoid props that could be computed from other props. (e.g. prefer `<Select filter={handleFilter} />` over `<Select shouldFilter filter={handleFilter} />`. Prefer determining whether filtering should happen based on the presence of the `filter` function prop.)
1313
- Avoid situations where certain prop combinations are not supported. Prefer splitting the component into separate components with fewer props.
1414
- Set default prop values for non-required props when possible.
@@ -47,7 +47,7 @@ order: 4
4747

4848
- In the `styles.ts`, use the name of the component in camelCase (e.g. `appNav`) as the key of the root element's style object. Use camelCase for the keys of child elements as well (e.g. `list` and `listItem`).
4949
- All style object names should be semantic (describe the content, not what it looks like).
50-
- We make use of the `label` property of [Emotion.js](https://emotion.sh/) so that it gets displayed in the generated class name for easy readability and targetability. We use a naming convention based on [BEM naming convention](#http://getbem.com/naming/):
50+
- We make use of the `label` property of [Emotion.js](https://emotion.sh/) so that it gets displayed in the generated class name for easy readability and targetability. We use a naming convention based on [BEM naming convention](http://getbem.com/naming/):
5151
- For the root element, add a label with the name of the component in camelCase \
5252
(e.g. `appNav: { label: 'appNav' }`).
5353
- For the child elements, use the double underscore separator to indicate the parent-child relation with the `[rootElementName]__[childName}` format \

docs/contributor-docs/contributing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ constructed from the existing ones. For these reasons adding a new component has
2323

2424
### Building InstUI from the source
2525

26-
Please follow the steps on the [how to build guide page](#building-instui).
26+
Please follow the steps on the [how to build guide page](building-instui).
2727

2828
### Running the documentation app
2929

@@ -41,7 +41,7 @@ Please follow the steps on the [how to build guide page](#building-instui).
4141

4242
### Testing
4343

44-
See the [testing documentation](#testing-overview) for details.
44+
See the [testing documentation](testing-overview) for details.
4545

4646
### Linters and Code Formatting
4747

@@ -75,6 +75,6 @@ Run `git commit` to commit your changes and follow our commit message format.
7575

7676
All components should:
7777

78-
1. Be accessible (See the [accessibility requirements](#accessibility) for more information).
78+
1. Be accessible (See the [accessibility requirements](accessibility) for more information).
7979
1. Support RTL languages.
8080
1. Localize all dates, times, numbers and strings (or require localized content passed in via props).

docs/contributor-docs/theming/theming-basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ It accepts a `theme` prop, which should be an Instructure UI theme.
3232

3333
It can be used in two ways. On the top level, you can provide the theme for the whole application or nested anywhere inside it. You can also provide an object with theme or component theme overrides.
3434

35-
**For detailed usage info and examples, see the [InstUISettingsProvider](#InstUISettingsProvider) documentation page.**
35+
**For detailed usage info and examples, see the [InstUISettingsProvider](InstUISettingsProvider) documentation page.**
3636

3737
```jsx
3838
---
@@ -53,13 +53,13 @@ const RenderApp = () => {
5353

5454
### Theme overrides
5555

56-
A themeable component’s theme can be configured by wrapping it in an [InstUISettingsProvider](#InstUISettingsProvider) component, and/or set explicitly via its `themeOverride` prop.
56+
A themeable component’s theme can be configured by wrapping it in an [InstUISettingsProvider](InstUISettingsProvider) component, and/or set explicitly via its `themeOverride` prop.
5757

5858
#### themeOverride prop
5959

6060
The themeable components accept a `themeOverride` prop which lets you override it's component theme object. It accepts an override object or a function, which has the current `componentTheme` as its parameter.
6161

62-
**See more on the [withStyle](#withStyle/#applying-themes) and [Using theme overrides](/#using-theme-overrides) doc pages for more info.**
62+
**See more on the [withStyle](withStyle/#applying-themes) and [Using theme overrides](/#using-theme-overrides) doc pages for more info.**
6363

6464
```js
6565
---

docs/contributor-docs/theming/theming-class-based.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ order: 3
66

77
## Making class-based themed components
88

9-
Make a component themeable with the [withStyle](#withStyle) decorator. It adds a `makeStyles` function and the generated `styles` object to the decorated Component's props.
9+
Make a component themeable with the [withStyle](withStyle) decorator. It adds a `makeStyles` function and the generated `styles` object to the decorated Component's props.
1010

1111
Import the style generator (`generateStyle`) from `styles.js` and the component theme generator (`generateComponentTheme`) from `theme.js`, and pass them to the decorator.
1212

@@ -80,14 +80,14 @@ const generateComponentTheme = (theme) => {
8080
export default generateComponentTheme
8181
```
8282
83-
The arguments to the generator function are the [global theme variables](#canvas). In the above example, we've defined the default theme for the Button component.
83+
The arguments to the generator function are the [global theme variables](canvas). In the above example, we've defined the default theme for the Button component.
8484
8585
The purpose of the generator function is to take the global variables and apply them as values to the functional component level variables.
8686
When coming up with names for the component level variables, try to make them describe how they are used in the component (vs describing the variable value).
8787
8888
### Supporting multiple themes
8989
90-
If we want to make the Button transform the global theme variables differently with another theme, (e.g. [canvas-high-contrast](#canvas-high-contrast)) we can make specific styling for that theme:
90+
If we want to make the Button transform the global theme variables differently with another theme, (e.g. [canvas-high-contrast](canvas-high-contrast)) we can make specific styling for that theme:
9191
9292
```js
9393
---
@@ -127,7 +127,7 @@ The rest of the variables will pick up from the default Button theme generator (
127127
128128
In the `styles.js` file, the `generateStyle` method receives the theme variable object (`componentTheme`) generated by `theme.js`.
129129
130-
Add your styling for each element in the component, and give them [labels](https://emotion.sh/docs/labels#gatsby-focus-wrapper) for easy readability and targetability. _Naming convention_: similar to [BEM naming convention](#http://getbem.com/naming/), use the name of the component in camelCase for the root element ('button'), and the double underscore suffix for children ('button\_\_icon').
130+
Add your styling for each element in the component, and give them [labels](https://emotion.sh/docs/labels#gatsby-focus-wrapper) for easy readability and targetability. _Naming convention_: similar to [BEM naming convention](http://getbem.com/naming/), use the name of the component in camelCase for the root element ('button'), and the double underscore suffix for children ('button\_\_icon').
131131
132132
Use [Emotion's Object Styles documentation](https://emotion.sh/docs/object-styles) as a guide to add styles.
133133

docs/contributor-docs/theming/theming-functional.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ order: 2
77
## Making InstUI-like components with theming
88

99
InstUI uses [Emotion](https://emotion.sh/docs/introduction) under the hood to theme and style its components.
10-
If you want to read about the design behind the system and how to build `class-based` components with InstUI, please read [this](#theming-class-based).
10+
If you want to read about the design behind the system and how to build `class-based` components with InstUI, please read [this](theming-class-based).
1111

1212
This page will show you how to build `functional` react components with InstUI.
1313

docs/getting-started/accessibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We aim to make our software accessible to everyone, including those with vision,
1111

1212
### Color Contrast
1313

14-
Our [default theme](#canvas) colors meet meets WCAG 2.1 AA rules for color contrast, and our [high contrast theme](#canvas-high-contrast) meets WCAG 2.1 AAA rules for color contrast. This ensures sufficient color contrast between elements so that users with low vision or color blindness can view and use our components.
14+
Our [default theme](canvas) colors meet meets WCAG 2.1 AA rules for color contrast, and our [high contrast theme](canvas-high-contrast) meets WCAG 2.1 AAA rules for color contrast. This ensures sufficient color contrast between elements so that users with low vision or color blindness can view and use our components.
1515

1616
### Keyboard Navigation
1717

docs/getting-started/theming-components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ relevantForAI: true
77

88
## Themes
99

10-
Instructure UI ships with two built-in themes: [canvas theme](#canvas) (default), [high contrast canvas theme](#canvas-high-contrast).
10+
Instructure UI ships with two built-in themes: [canvas theme](canvas) (default), [high contrast canvas theme](canvas-high-contrast).
1111
They are meant to be used together, `canvas` provides 4.5:1 contrast, while `canvas-high-contrast` 7.0:1.
1212

13-
You can change the theme used with the [InstUISettingsProvider](#InstUISettingsProvider) component:
13+
You can change the theme used with the [InstUISettingsProvider](InstUISettingsProvider) component:
1414

1515
```jsx
1616
---
@@ -29,7 +29,7 @@ render() {
2929
For more details on how to customize themes or apply different ones to parts of you application see [Using Theme Overrides](/#using-theme-overrides).
3030

3131
If you are interested in how InstUI's theming engine works and/or you want to make your own components that use the themes,
32-
read our documentation on the theming engine [here](#theming-basics).
32+
read our documentation on the theming engine [here](theming-basics).
3333

3434
## Colors
3535

docs/getting-started/usage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export default App
6363

6464
What does this code do?
6565

66-
- [InstUISettingsProvider](#InstUISettingsProvider) allows to specify the text direction (default is the direction that the user's browser supplies) and the theme to your application. InstUI components require a theme to work, all components are themeable, and themes control their look and feel. There are 2 built-in themes: [`canvas`](#canvas) and [`canvasHighContrast`](#canvas-high-contrast). The component examples seen throughout the documentation use the [canvas theme](#canvas) by default.
67-
- [Button](#Button) is an Instructure UI button component
66+
- [InstUISettingsProvider](InstUISettingsProvider) allows to specify the text direction (default is the direction that the user's browser supplies) and the theme to your application. InstUI components require a theme to work, all components are themeable, and themes control their look and feel. There are 2 built-in themes: [`canvas`](canvas) and [`canvasHighContrast`](canvas-high-contrast). The component examples seen throughout the documentation use the [canvas theme](canvas) by default.
67+
- [Button](Button) is an Instructure UI button component
6868

6969
Finally, run `npm run dev` to start up a basic development server.
7070

@@ -90,5 +90,5 @@ https://instructure.design/llms.txt
9090

9191
## Further reading
9292

93-
- To use a different theme or customize one read about [Using theme overrides](#using-theme-overrides)
94-
- Make sure you read about [Accessibility](#accessibility) with InstUI.
93+
- To use a different theme or customize one read about [Using theme overrides](using-theme-overrides)
94+
- Make sure you read about [Accessibility](accessibility) with InstUI.

0 commit comments

Comments
 (0)