Skip to content

Commit

Permalink
chore: change branch master to main (#2416)
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil authored Feb 22, 2024
1 parent a2a4faf commit 4d8839b
Show file tree
Hide file tree
Showing 74 changed files with 146 additions and 146 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/update-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ body:
attributes:
label: '[Tech] Implementation'
description: 'If possible, describe how this feature could be implemented.'
placeholder: 'See [CONTRIBUTING.mdx](https://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)'
placeholder: 'See [CONTRIBUTING.mdx](https://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)'
- type: 'input'
id: 'due-date'
attributes:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Workflow

- Create your branch from master
- Create your branch from main
- Run `yarn` to setup the development environment.
- Make the changes you want and test them out in the demo website before sending a pull request.
- Add all necessary information and examples in your pull request.
Expand Down Expand Up @@ -35,7 +35,7 @@ Each component will consist of:

## Adding icons

Check the [Icon README](https://github.com/WTTJ/welcome-ui/blob/master/icons/README.md)
Check the [Icon README](https://github.com/WTTJ/welcome-ui/blob/main/icons/README.md)

## Reporting issues

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Here you'll find all the core components you need to create a delightful webapp.

---

[![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) ![Code formating](https://img.shields.io/badge/code%20formating-prettier-blue.svg) ![Code style](https://img.shields.io/badge/code%20style-styled--components-ff69b4.svg) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](https://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) ![Code formating](https://img.shields.io/badge/code%20formating-prettier-blue.svg) ![Code style](https://img.shields.io/badge/code%20style-styled--components-ff69b4.svg) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](https://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)

---

Expand Down
2 changes: 1 addition & 1 deletion docs/components/Mdx/Showcase/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function Showcase({
</Button>
<Button
as="a"
href={`https://github.com/WTTJ/welcome-ui/tree/master/packages/${component}`}
href={`https://github.com/WTTJ/welcome-ui/tree/main/packages/${component}`}
ml="md"
size="sm"
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/components/date-time-picker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {

## About

It is based on the [react-datepicker](https://github.com/Hacker0x01/react-datepicker) library. [All the props](https://github.com/Hacker0x01/react-datepicker/blob/master/docs/datepicker.md) the library exposes can be passed to either DatePicker or TimePicker.
It is based on the [react-datepicker](https://github.com/Hacker0x01/react-datepicker) library. [All the props](https://github.com/Hacker0x01/react-datepicker/blob/main/docs/datepicker.md) the library exposes can be passed to either DatePicker or TimePicker.

_Note_: Pass a value of `null` if you don't want the default value of `Date.now()`.

Expand Down
4 changes: 2 additions & 2 deletions docs/pages/theming/basics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export const themeValues = () => {

# Basics

We expose a [theme object](https://github.com/WTTJ/welcome-ui/blob/master/packages/Core/theme/core.ts) for our customizable design system. You can easily customize colors, typography, breakpoints, etc to match with your design.
We expose a [theme object](https://github.com/WTTJ/welcome-ui/blob/main/packages/Core/theme/core.ts) for our customizable design system. You can easily customize colors, typography, breakpoints, etc to match with your design.

## Colors

Customize the color on the `theme.colors` object. Colors can be used for `color`, `borderColor`, `backgroundColor`, etc. Example of a color: `dark-900`. [See more on github](https://github.com/WTTJ/welcome-ui/blob/master/packages/Core/theme/colors.ts)
Customize the color on the `theme.colors` object. Colors can be used for `color`, `borderColor`, `backgroundColor`, etc. Example of a color: `dark-900`. [See more on github](https://github.com/WTTJ/welcome-ui/blob/main/packages/Core/theme/colors.ts)

```
export default {
Expand Down
8 changes: 4 additions & 4 deletions docs/pages/theming/customize.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const themeTag = () => {

# Customize

By default, we use our default theme create by `createTheme()` function. We also also create a [dark theme](https://github.com/WTTJ/welcome-ui/blob/master/packages/Themes/Dark/theme.ts) and a [welcome theme](https://github.com/WTTJ/welcome-ui/blob/master/packages/Themes/Welcome/theme.ts) for our products.
By default, we use our default theme create by `createTheme()` function. We also also create a [dark theme](https://github.com/WTTJ/welcome-ui/blob/main/packages/Themes/Dark/theme.ts) and a [welcome theme](https://github.com/WTTJ/welcome-ui/blob/main/packages/Themes/Welcome/theme.ts) for our products.

You can customize your theme with some options:

Expand Down Expand Up @@ -61,7 +61,7 @@ const theme = createTheme({
export default function Root() {
return (
// Wrap your components with <WuiProvider /> and your theme at the root of your app
// Here we add reset styles to have consistency across different browsers (https://github.com/WTTJ/welcome-ui/blob/master/packages/Core/utils/reset.ts)
// Here we add reset styles to have consistency across different browsers (https://github.com/WTTJ/welcome-ui/blob/main/packages/Core/utils/reset.ts)
<WuiProvider theme={theme} useReset>
<Button variant="secondary">Welcome!</Button>
</WuiProvider>
Expand All @@ -73,7 +73,7 @@ export default function Root() {

To provide consistency across browsers we provide two options:

1. Pass `useReset` in the `WuiProvider` to use a [custom reset](https://github.com/WTTJ/welcome-ui/blob/master/packages/Core/utils/reset.ts)
1. Pass `useReset` in the `WuiProvider` to use a [custom reset](https://github.com/WTTJ/welcome-ui/blob/main/packages/Core/utils/reset.ts)
2. Don't pass `useReset` to just reset `box-sizing` e.g.

```
Expand Down Expand Up @@ -172,7 +172,7 @@ const theme = createTheme({ fontFaces, ...yourTheme })

## All theme values

Here are all the [possible values for your theme](https://github.com/WTTJ/welcome-ui/blob/master/packages/Core/theme/core.ts).<br />These will be merged with the default theme.
Here are all the [possible values for your theme](https://github.com/WTTJ/welcome-ui/blob/main/packages/Core/theme/core.ts).<br />These will be merged with the default theme.

<code language="json">{themeValues()}</code>

Expand Down
4 changes: 2 additions & 2 deletions packages/Accordion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [Accordion](https://welcome-ui.com/components/accordion) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/accordion) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/accordion) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [Accordion](https://welcome-ui.com/components/accordion) component from [@we

## Documentation

See the [documentation](https://welcome-ui.com/components/accordion) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/Accordion) for more details.
See the [documentation](https://welcome-ui.com/components/accordion) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/Accordion) for more details.
4 changes: 2 additions & 2 deletions packages/Alert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [Alert](https://welcome-ui.com/components/alert) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/alert) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/alert) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [Alert](https://welcome-ui.com/components/alert) component from [@welcome-ui

## Documentation

See the [documentation](https://welcome-ui.com/components/alert) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/Alert) for more details.
See the [documentation](https://welcome-ui.com/components/alert) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/Alert) for more details.
4 changes: 2 additions & 2 deletions packages/AspectRatio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [AspectRatio](https://welcome-ui.com/components/aspect-ratio) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/aspect-ratio) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/aspect-ratio) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [AspectRatio](https://welcome-ui.com/components/aspect-ratio) component from

## Documentation

See the [documentation](https://welcome-ui.com/components/aspect-ratio) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/AspectRatio) for more details.
See the [documentation](https://welcome-ui.com/components/aspect-ratio) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/AspectRatio) for more details.
4 changes: 2 additions & 2 deletions packages/Avatar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [Avatar](https://welcome-ui.com/components/avatar) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/avatar) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/avatar) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [Avatar](https://welcome-ui.com/components/avatar) component from [@welcome-

## Documentation

See the [documentation](https://welcome-ui.com/components/avatar) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/avatar) for more details.
See the [documentation](https://welcome-ui.com/components/avatar) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/avatar) for more details.
4 changes: 2 additions & 2 deletions packages/Badge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [Badge](https://welcome-ui.com/components/badge) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/badge) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/badge) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [Badge](https://welcome-ui.com/components/badge) component from [@welcome-ui

## Documentation

See the [documentation](https://welcome-ui.com/components/badge) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/Badge) for more details.
See the [documentation](https://welcome-ui.com/components/badge) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/Badge) for more details.
4 changes: 2 additions & 2 deletions packages/Box/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [Box](https://welcome-ui.com/components/box) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/box) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/box) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [Box](https://welcome-ui.com/components/box) component from [@welcome-ui](ht

## Documentation

See the [documentation](https://welcome-ui.com/components/box) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/Box) for more details.
See the [documentation](https://welcome-ui.com/components/box) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/Box) for more details.
4 changes: 2 additions & 2 deletions packages/Breadcrumb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [Breadcrumb](https://welcome-ui.com/components/avatar) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/breadcrumb) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/breadcrumb) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [Breadcrumb](https://welcome-ui.com/components/avatar) component from [@welc

## Documentation

See the [documentation](https://welcome-ui.com/components/breadcrumb) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/Breadcrumb) for more details.
See the [documentation](https://welcome-ui.com/components/breadcrumb) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/Breadcrumb) for more details.
4 changes: 2 additions & 2 deletions packages/Button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [Button](https://welcome-ui.com/components/button) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/button) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/button) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [Button](https://welcome-ui.com/components/button) component from [@welcome-

## Documentation

See the [documentation](https://welcome-ui.com/components/button) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/Button) for more details.
See the [documentation](https://welcome-ui.com/components/button) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/Button) for more details.
4 changes: 2 additions & 2 deletions packages/ButtonGroup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [ButtonGroup](https://welcome-ui.com/components/button-group) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/button-group) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/button-group) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [ButtonGroup](https://welcome-ui.com/components/button-group) component from

## Documentation

See the [documentation](https://welcome-ui.com/components/button-group) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/ButtonGroup) for more details.
See the [documentation](https://welcome-ui.com/components/button-group) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/ButtonGroup) for more details.
4 changes: 2 additions & 2 deletions packages/Card/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The [Card](https://welcome-ui.com/components/card) component from [@welcome-ui](https://welcome-ui.com).

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/card) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/master/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/master/CONTRIBUTING.mdx)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@welcome-ui/card) [![License](https://img.shields.io/npm/l/welcome-ui.svg)](https://github.com/WTTJ/welcome-ui/blob/main/LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-mediumspringgreen.svg)](ttps://github.com/WTTJ/welcome-ui/blob/main/CONTRIBUTING.mdx)

## Installation

Expand All @@ -14,4 +14,4 @@ The [Card](https://welcome-ui.com/components/card) component from [@welcome-ui](

## Documentation

See the [documentation](https://welcome-ui.com/components/card) or [package source](https://github.com/WTTJ/welcome-ui/tree/master/packages/Card) for more details.
See the [documentation](https://welcome-ui.com/components/card) or [package source](https://github.com/WTTJ/welcome-ui/tree/main/packages/Card) for more details.
Loading

0 comments on commit 4d8839b

Please sign in to comment.