Skip to content

Commit

Permalink
chore: rename primary branch to main
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 526749248
  • Loading branch information
asyncLiz authored and copybara-github committed Apr 24, 2023
1 parent e398099 commit 07207b4
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions docs/components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ outlined, and text.

* [Design article](https://m3.material.io/components/buttons) <!-- {.external} -->
* API Documentation (*coming soon*)
* [Source code](https://github.com/material-components/material-web/tree/master/button)
* [Source code](https://github.com/material-components/material-web/tree/main/button)
<!-- {.external} -->

## Types
Expand Down Expand Up @@ -157,7 +157,7 @@ Token | Default value
`--md-elevated-button-label-text-color` | `--md-sys-color-on-surface`
`--md-elevated-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-elevated-button.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-elevated-button.scss)
<!-- {.external} -->

### Elevated button example
Expand Down Expand Up @@ -186,7 +186,7 @@ Token | Default value
`--md-filled-button-label-text-color` | `--md-sys-color-on-primary`
`--md-filled-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-filled-button.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-filled-button.scss)
<!-- {.external} -->

### Filled button example
Expand Down Expand Up @@ -215,7 +215,7 @@ Token | Default value
`--md-tonal-button-label-text-color` | `--md-sys-color-on-secondary-container`
`--md-tonal-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-filled-tonal-button.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-filled-tonal-button.scss)
<!-- {.external} -->

### Filled tonal button example
Expand Down Expand Up @@ -244,7 +244,7 @@ Token | Default value
`--md-outlined-button-label-text-color` | `--md-sys-color-primary`
`--md-outlined-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-outlined-button.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-outlined-button.scss)
<!-- {.external} -->

### Outlined button example
Expand All @@ -271,7 +271,7 @@ Token | Default value
`--md-text-button-label-text-color` | `--md-sys-color-primary`
`--md-text-button-label-text-type` | `500 0.875rem/1.25rem "Roboto"`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-text-button.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-text-button.scss)
<!-- {.external} -->

### Text button example
Expand Down
4 changes: 2 additions & 2 deletions docs/components/checkbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ user needs to select one or more options from a list.

* [Design article](https://m3.material.io/components/checkbox) <!-- {.external} -->
* API Documentation (*coming soon*)
* [Source code](https://github.com/material-components/material-web/tree/master/checkbox)
* [Source code](https://github.com/material-components/material-web/tree/main/checkbox)
<!-- {.external} -->

## Usage
Expand Down Expand Up @@ -80,7 +80,7 @@ Token | Default value
`--md-checkbox-selected-icon-color` | `--md-sys-color-on-primary`
`--md-checkbox-container-shape` | `2px`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/v0_160/_md-comp-checkbox.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/v0_160/_md-comp-checkbox.scss)
<!-- {.external} -->

### Example
Expand Down
4 changes: 2 additions & 2 deletions docs/components/divider.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ define tappable regions in an accordion.

* [Design article](https://m3.material.io/components/divider) <!-- {.external} -->
* API Documentation (*coming soon*)
* [Source code](https://github.com/material-components/material-web/tree/master/divider)
* [Source code](https://github.com/material-components/material-web/tree/main/divider)
<!-- {.external} -->

## Usage
Expand Down Expand Up @@ -90,7 +90,7 @@ Token | Default value
`--md-divider-color` | `--md-sys-color-outline-variant`
`--md-divider-thickness` | `1px`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/v0_160/_md-comp-divider.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/v0_160/_md-comp-divider.scss)
<!-- {.external} -->

### Example
Expand Down
4 changes: 2 additions & 2 deletions docs/components/elevation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ UI’s elevation story.

* [Design article](https://m3.material.io/styles/elevation) <!-- {.external} -->
* API Documentation (*coming soon*)
* [Source code](https://github.com/material-components/material-web/tree/master/elevation)
* [Source code](https://github.com/material-components/material-web/tree/main/elevation)
<!-- {.external} -->

## Usage
Expand Down Expand Up @@ -93,7 +93,7 @@ Token | Default value
`--md-elevation-level` | `0`
`--md-elevation-shadow-color` | `--md-sys-color-shadow`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/_md-comp-elevation.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-elevation.scss)
<!-- {.external} -->

### Example
Expand Down
6 changes: 3 additions & 3 deletions docs/components/icon-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ There are two types of icon buttons: standard and contained.

* [Design article](https://m3.material.io/components/icon-buttons) <!-- {.external} -->
* API Documentation (*coming soon*)
* [Source code](https://github.com/material-components/material-web/tree/master/iconbutton)
* [Source code](https://github.com/material-components/material-web/tree/main/iconbutton)
<!-- {.external} -->

## Types
Expand Down Expand Up @@ -209,7 +209,7 @@ Token | Default value
`--md-icon-button-state-layer-shape` | `9999px`
`--md-icon-button-icon-size` | `24px`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/v0_161/_md-comp-icon-button.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/v0_161/_md-comp-icon-button.scss)
<!-- {.external} -->

### Standard Icon Button example
Expand All @@ -236,7 +236,7 @@ Token | Default value
`--md-filled-icon-button-container-size` | `40px`
`--md-filled-icon-button-icon-size` | `24px`

* [All tokens](https://github.com/material-components/material-web/blob/master/tokens/v0_161/_md-comp-filled-icon-button.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/v0_161/_md-comp-filled-icon-button.scss)
<!-- {.external} -->

### Filled Icon Button example
Expand Down
4 changes: 2 additions & 2 deletions docs/components/icon.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ created at seven weights across three different styles.

* [Design article](https://m3.material.io/styles/icons) <!-- {.external} -->
* API Documentation (*coming soon*)
* [Source code](https://github.com/material-components/material-web/tree/master/icon)
* [Source code](https://github.com/material-components/material-web/tree/main/icon)
<!-- {.external} -->

## Usage
Expand Down Expand Up @@ -145,7 +145,7 @@ Token | Default value
`--md-icon-size` | `24px`
`--md-icon-weight` | `400`
* [All tokens](https://github.com/material-components/material-web/blob/master/icon/lib/_md-comp-icon.scss)
* [All tokens](https://github.com/material-components/material-web/blob/main/icon/lib/_md-comp-icon.scss)
<!-- {.external} -->
### Example
Expand Down
8 changes: 4 additions & 4 deletions linearprogress/lib/_linear-progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
}

// note, transition settings match MDC
// see https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_linear-progress.scss#L79
// see https://github.com/material-components/material-components-web/blob/main/packages/mdc-linear-progress/_linear-progress.scss#L79
$_determinate-duration: 250ms;
$_determinate-easing: cubic-bezier(0.4, 0, 0.6, 1);
// see https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_linear-progress.scss#L218
// see https://github.com/material-components/material-components-web/blob/main/packages/mdc-linear-progress/_linear-progress.scss#L218
$_indeterminate-duration: 2s;

// Note, track background is a series of animating dots sized to fit
Expand Down Expand Up @@ -60,7 +60,7 @@ $rtl-selectors: (
}

// note, the numbers here come directly from the mdc implementation.
// see https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_linear-progress.scss#L208.
// see https://github.com/material-components/material-components-web/blob/main/packages/mdc-linear-progress/_linear-progress.scss#L208.
// keyframes
@keyframes primary-indeterminate-translate#{$suffix} {
0% {
Expand Down Expand Up @@ -190,7 +190,7 @@ $rtl-selectors: (
}

// note, the numbers here come directly from the mdc implementation.
// see https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_linear-progress.scss#L208.
// see https://github.com/material-components/material-components-web/blob/main/packages/mdc-linear-progress/_linear-progress.scss#L208.
.indeterminate .primary-bar {
inset-inline-start: -145.167%;
}
Expand Down

0 comments on commit 07207b4

Please sign in to comment.