Skip to content

Commit

Permalink
docs: remove 'disable-animation' entry from readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMenga committed Apr 16, 2024
1 parent fa4611b commit 3413d6c
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 90 deletions.
4 changes: 0 additions & 4 deletions src/components/accordion/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ In the following example, all the `sbb-expansion-panel-header` would be wrapped
</sbb-accordion>
```

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/autocomplete/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ Nesting interactive controls like this interferes with many assistive technologi
The component preserves focus on the input trigger,
using `aria-activedescendant` to support navigation though the autocomplete options.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/calendar/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ For accessibility purposes, the component is rendered as a native table element
To specify a specific date for the current datetime, you can use the `data-now` attribute (timestamp in milliseconds).
This is helpful if you need a specific state of the component.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/container/sticky-bar/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ The `sbb-sticky-bar` content is provided via an unnamed slot.
The `sbb-sticky-bar` inherits its variant from the `sbb-container` it's placed in.
Optionally the user can set the `color` property on the `sbb-sticky-bar` in order to override the one inherited by the `sbb-container`. The color is only applied when the sticky bar is sticking, and will become transparent once it settles on the bottom of the container.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/datepicker/datepicker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ Whenever the validation state changes (e.g., a valid value becomes invalid or vi
To specify a specific date for the current datetime, you can use the `data-now` attribute (timestamp in milliseconds).
This is helpful if you need a specific state of the component.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/expansion-panel/expansion-panel/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ and the header's `id` is set as `aria-labelledby` attribute on the content.
The `expanded` attribute is used to correctly set the `aria-expanded` attribute on the header
and the `aria-hidden` attribute on the content.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/file-selector/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ It's suggested to have a different value for each variant, e.g.:
></sbb-file-selector>
```

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/header/header/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ set the CSS class `sbb-header-shrinkable` on the desired `sbb-header-button`/`sb
in the component's stories (see also [this Storybook issue](https://github.com/storybookjs/storybook/issues/8820)),
so they were wrapped into a `style` tag and added to the Storybook's configuration file named `preview-head.html`.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/image/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ The `sbb-image` component is used to render an image.
Mainly from cdn.img.sbb.ch (with `imageSrc`), but we can set an external image too.
The size can be set with `pictureSizesConfig`.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/loading-indicator/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ and then append the `sbb-loading-indicator` on it after giving it the correct `a
</div>
```

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/menu/menu/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ As the menu opens, the focus will automatically be set to the first focusable it
When using the `sbb-menu` as a select (e.g. language selection) it's recommended to use the `aria-pressed` attribute
to identify which actions are active and which are not.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/navigation/navigation/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ On opening, the focus will be automatically set on the first focusable element o
When a navigation action is marked to indicate the user is currently on that page, `aria-current="page"` should be set on that action.
Similarly, if a navigation action is marked to indicate a selected option (e.g., the selected language) `aria-pressed` should be set on that action.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
2 changes: 0 additions & 2 deletions src/components/notification/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ This ensures that users who rely on screen readers are promptly informed of any

By default, the `sbb-notification` only runs a close animation. Set the `animation` attribute to define what animations should run.

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/popover/popover/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ If the close button is not hidden, it's the first element and therefore gets foc

Overlays should always contain a heading level 2 title. It can be visually hidden if necessary.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/select/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ Opened panel:
| <kbd>Shift</kbd><kbd>Up Arrow</kbd> | If `multiple`, moves to the next non-disabled option and toggle its selection. |
| Any char or number | If exists, select the first non-disabled matching option after the selected value. |

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/selection-panel/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ It's also possible to display the `sbb-selection-panel` without border by settin
<sbb-selection-panel borderless> ... </sbb-selection-panel>
```

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/slider/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ The `sbb-slider` has the following behaviour on keypress when focused:
| End | Set the value to the maximum. |
| Home | Set the value to the minimum. |

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/tabs/tab-group/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ It's possible to set the first selected tab using the `initialSelectedIndex` pro
<sbb-tab-group initial-selected-index="1"> ... </sbb-tab-group>
```

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/teaser-hero/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ The description text is wrapped into an `p` element to guarantee the semantic me

Avoid slotting block elements (e.g. `div`) as this violates semantic rules and can have negative effects on screen readers.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/teaser-paid/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ The `sbb-teaser-paid` is a component with a background image and a chip with a t

The `sbb-teaser-paid` component has two slots: the `image` slot, used to slot an `sbb-image` and the `chip` slot, used to slot an `sbb-chip`.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/teaser/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ The description text is wrapped into an `<p>` element to guarantee the semantic

Avoid slotting block elements (e.g. `<div>`) as this violates semantic rules and can have negative effects on screen readers.

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/toast/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ Unless strictly necessary, we advise you not to wrap it preventively and let the
</sbb-toast>
```

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down
4 changes: 0 additions & 4 deletions src/components/toggle/toggle/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ The component has two different sizes, `s` and `m` (default), which can be set u
<sbb-toggle size="s" even> ... </sbb-toggle>
```

## Animation

Add the `sbb-disable-animation` class to disable animation and transition effects for the element and all its children.

<!-- Auto Generated Below -->

## Properties
Expand Down

0 comments on commit 3413d6c

Please sign in to comment.