Skip to content

Commit

Permalink
docs: replace enable/disable with activate/deactivate
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramargar committed Feb 21, 2024
1 parent 21ea809 commit b9702c4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ which tab should be opened at first.

The prop `allowTabDeselect` allows the tabs to be deselected. When a tab that is already selected is
clicked again, the tab will be deselected and no panel content will be displayed. By default, this
behavior is disabled.
behavior is deactivated.

```vue
<template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Renders default slot content. It binds to the default slot a
* {@link @empathyco/x-types#BooleanFilter}, the {@link XEvent}
* that will be emitted when clicking the content, the css classes and if the content should be
* disabled.
* deactivated.
*
* @remarks The default slot expects a root element, if it receives a list of elements, it will
* renders the first element.
Expand Down Expand Up @@ -92,7 +92,7 @@
## Examples

Renders default slot content. It binds to the default slot a filter, the events that will be emitted
when clicking the content, the css classes and if the content should be disabled.
when clicking the content, the CSS classes and if the content should be deactivated.

### Basic usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import { isArrayEmpty } from '../../../utils/array';
/**
* History Queries Switch is a component to enable or disable the history queries.
* History Queries Switch is a component to activate or deactivate the history queries.
* This component emits events depending on the `isEnabled` value.
*
* @public
Expand Down Expand Up @@ -69,13 +69,13 @@
A list of events that the component will emit:

- [`UserClickedEnableHistoryQueries`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):
the event is emitted whenever the user clicks the switch and the history queries are disabled.
the event is emitted whenever the user clicks the switch and the history queries are deactivated.
- [`UserClickedDisableHistoryQueries`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):
the event is emitted whenever the user clicks the switch when the history queries are enabled and
the list of history queries is not empty.
the event is emitted whenever the user clicks the switch when the history queries are activated
and the list of history queries is not empty.
- [`UserClickedConfirmDisableHistoryQueries`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts):
the event is emitted whenever the user clicks the switch when the history queries are enabled and
the list of history queries is empty.
the event is emitted whenever the user clicks the switch when the history queries are activated
and the list of history queries is empty.

## See it in action

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ more groups will be inserted. Each one of this groups will have up to `6` next q
### Showing/hiding first next queries group when no more items

By default, the first next query group will be inserted when the total number of results is smaller
than the offset, but this behavior can be disabled setting the `showOnlyAfterOffset` to `true`.
than the offset, but this behavior can be deactivated by setting the `showOnlyAfterOffset` to
`true`.

```vue live
<template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* This component enables and manages the sending of information to the
* [Empathy Tagging API](https://docs.empathy.co/develop-empathy-platform/api-reference/tagging-api.html).
* It allows to enable or disable the session id management through the `consent` prop.
* It allows you to activate or deactivate the session id management through the `consent` prop.
*
* @public
*/
Expand Down

0 comments on commit b9702c4

Please sign in to comment.