View the{' '}
-
+
variable
{' '}
and{' '}
-
+
mixins
{' '}
Sass code for typography. For most of your components we recommend
@@ -753,7 +753,7 @@ export const SassGuidelines = ({ selectedTheme }) => {
-
+
View the Sass code for shadow mixins
.
@@ -888,7 +888,7 @@ export const SassGuidelines = ({ selectedTheme }) => {
If you need to further customize the position or side of the
overflow shadow use the ouiOverflowShadow{' '}
-
+
mixin
.
@@ -903,7 +903,7 @@ export const SassGuidelines = ({ selectedTheme }) => {
-
+
View the Sass code for media queries
.
@@ -983,7 +983,7 @@ export const SassGuidelines = ({ selectedTheme }) => {
Animation
-
+
View the Sass code for animation
.
diff --git a/src-docs/src/views/home/home_view.js b/src-docs/src/views/home/home_view.js
index feacba70aa..fa86cfe2d0 100644
--- a/src-docs/src/views/home/home_view.js
+++ b/src-docs/src/views/home/home_view.js
@@ -66,7 +66,7 @@ export const HomeView = () => (
-
+
Getting started
@@ -76,7 +76,7 @@ export const HomeView = () => (
-
+
Contributing
@@ -212,7 +212,7 @@ export const HomeView = () => (
OUI is licensed under{' '}
-
+
Apache License 2.0
{' '}
| © OpenSearch contributors, {new Date().getFullYear()}.
diff --git a/src-docs/src/views/package/changelog.js b/src-docs/src/views/package/changelog.js
index a23ed60a7c..682d6c3739 100644
--- a/src-docs/src/views/package/changelog.js
+++ b/src-docs/src/views/package/changelog.js
@@ -15,7 +15,7 @@ import { OuiMarkdownFormat } from '../../../../src';
import { GuidePage } from '../../components/guide_page';
const changelogSource = require('!!raw-loader!../../../../CHANGELOG.md').default.replace(
- /## \[`master`\].+?##/s, // remove the `master` heading & contents
+ /## \[`main`\].+?##/s, // remove the `main` heading & contents
'##'
);
diff --git a/src-docs/src/views/package/i18n_tokens.js b/src-docs/src/views/package/i18n_tokens.js
index e765349c83..a67077d9a4 100644
--- a/src-docs/src/views/package/i18n_tokens.js
+++ b/src-docs/src/views/package/i18n_tokens.js
@@ -36,7 +36,7 @@ const columns = [
+ href={`https://github.com/opensearch-project/oui/blob/main/${filepath}#L${loc.start.line}`}>
{filepath}:{loc.start.line}:{loc.start.column}
diff --git a/src-docs/src/views/tool_tip/tool_tip_example.js b/src-docs/src/views/tool_tip/tool_tip_example.js
index 9359a31ab6..49d9be1b26 100644
--- a/src-docs/src/views/tool_tip/tool_tip_example.js
+++ b/src-docs/src/views/tool_tip/tool_tip_example.js
@@ -88,7 +88,7 @@ export const ToolTipExample = {
pass in a custom component, then you’ll need to make sure
these props are applied to the root element rendered by your
component. The best way to do that is to follow{' '}
-
+
OUI’s guidelines on pass-through props
.
diff --git a/wiki/documentation-guidelines.md b/wiki/documentation-guidelines.md
index 9ada424101..5c89843fa1 100644
--- a/wiki/documentation-guidelines.md
+++ b/wiki/documentation-guidelines.md
@@ -51,7 +51,7 @@ import {
// ...
-View the Sass code for shadow mixins.
+View the Sass code for shadow mixins.
```
## Adding snippets
@@ -134,7 +134,7 @@ Most documentation pages include a [playground section](https://oui.opensearch.o
### Toggles for required props
-Props marked required for a component typically do not have default values and therefore need to be set for the playground to work well. For example, the `children` prop, which can be set in the component's [`playground.js` file](https://github.com/opensearch-project/oui/blob/master/src-docs/src/views/accordion/playground.js):
+Props marked required for a component typically do not have default values and therefore need to be set for the playground to work well. For example, the `children` prop, which can be set in the component's [`playground.js` file](https://github.com/opensearch-project/oui/blob/main/src-docs/src/views/accordion/playground.js):
```js
propsToUse.children = {
@@ -213,7 +213,7 @@ import { ExampleContext } from '../../services';
Any updates to the `src/` folder require an entry in the [CHANGELOG.md](../CHANGELOG.md) file. Documentation-only changes do not. Here are our guidelines for updating the file:
-* Append your changes to the `master` sub-heading of `CHANGELOG.md`.
+* Append your changes to the `main` sub-heading of `CHANGELOG.md`.
* Add a list item for each significant change in the PR: bugs that were fixed, new features, new components, or changes to the public API
* In the list item, always link to any relevant pull requests
* Add a summary of what has changed, making sure it's informative to consumers who might be unaware of implementation details