Skip to content

Commit

Permalink
docs: adds missing accents to values in docs (#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Mar 2, 2023
1 parent 42f8c3a commit 3730947
Show file tree
Hide file tree
Showing 13 changed files with 74 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ showTabs: true
| `skeleton` | _(optional)_ Applies loading skeleton. |
| `imgProps` | _(optional)_ [Image properties](/uilib/elements/image) applied to the `img` element if the component is used to display an image. |
| `variant` | _(optional)_ Override the variant of the component. Options: `primary` \| `secondary` \| `tertiary`. Defaults to `primary`. |
| `hasLabel` | _(optional)_ If aria-hidden is set to "true" or if a label is given, typical inside a table or dl (definition list), then you can disable Avatar.Group as a dependent of Avatar. Use `true` to omit the `Avatar group required:` warning. |
| `hasLabel` | _(optional)_ If aria-hidden is set to `true` or if a label is given, typical inside a table or dl (definition list), then you can disable Avatar.Group as a dependent of Avatar. Use `true` to omit the `Avatar group required:` warning. |
| `className` | _(optional)_ Custom className for the component root. |
| [Space](/uilib/components/space/properties) | _(optional)_ spacing properties like `top` or `bottom` are supported. |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ showTabs: true
| Properties | Description |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `date` | _(optional)_ defines the pre-filled date by either a JavaScript DateInstance or (ISO 8601) like `date="2019-05-05"`. |
| `start_date` | _(optional)_ to set the pre-filled starting date. Is used if `range={true}` is set to true. Defaults to null, showing the `mask_placeholder`. |
| `end_date` | _(optional)_ to set the pre-filled ending date. Is used if `range={true}` is set to true. Defaults to null, showing the `mask_placeholder`. |
| `start_date` | _(optional)_ to set the pre-filled starting date. Is used if `range={true}` is set to `true`. Defaults to `null`, showing the `mask_placeholder`. |
| `end_date` | _(optional)_ to set the pre-filled ending date. Is used if `range={true}` is set to `true`. Defaults to `null`, showing the `mask_placeholder`. |
| `month` | _(optional)_ to display what month should be shown in the first calendar by default. Defaults to the `date` respective `start_date`. |
| `start_month` | _(optional)_ to display what month should be shown in the first calendar by default. Defaults to the `date` respective `start_date`. |
| `end_month` | _(optional)_ to display what month should be shown in the second calendar by default. Defaults to the `date` respective `start_date`. |
| `min_date` | _(optional)_ to limit a date range to a minimum `start_date`. Defaults to null. |
| `max_date` | _(optional)_ to limit a date range to a maximum `end_date`. Defaults to null. |
| `min_date` | _(optional)_ to limit a date range to a minimum `start_date`. Defaults to `null`. |
| `max_date` | _(optional)_ to limit a date range to a maximum `end_date`. Defaults to `null`. |
| `date_format` | _(optional)_ Defines how the prop dates (`date`, `start_date` and `end_date`) should be parsed, e.g. `yyyy/MM/dd`. Defaults to `yyyy-MM-dd`. |
| `return_format` | _(optional)_ Defines how the returned date, as a string, should be formatted as. Defaults to `yyyy-MM-dd`. |
| `range` | _(optional)_ if the date picker should support a range of two dates (starting and ending date). Defaults to `false`. |
Expand All @@ -26,7 +26,7 @@ showTabs: true
| `show_submit_button` | _(optional)_ if set to `true`, a submit button will be shown. You can change the default text by using `submit_button_text="Ok"`. Defaults to `false`. If the `range` prop is `true`, then the submit button is shown. |
| `show_cancel_button` | _(optional)_ if set to `true`, a cancel button will be shown. You can change the default text by using `cancel_button_text="Avbryt"` Defaults to `false`. If the `range` prop is `true`, then the cancel button is shown. |
| `show_reset_button` | _(optional)_ if set to `true`, a reset button will be shown. You can change the default text by using `reset_button_text="Tilbakestill"` Defaults to `false`. |
| `link` | _(optional)_ link both calendars, once to the user is navigating between months. Only meant to use if the range is set to true. Defaults to `false`. |
| `link` | _(optional)_ link both calendars, once to the user is navigating between months. Only meant to use if the range is set to `true`. Defaults to `false`. |
| `sync` | _(optional)_ sync input values with the calendars views. Once the input values get changed, the calendar changes its views in sync. Defaults to `true`. |
| `first_day` | _(optional)_ to define the first day of the week. Defaults to `monday`. |
| `locale` | _(optional)_ to define the locale used in the calendar. Needs to be an `date-fns` **v2** locale object, like `import enLocale from 'date-fns/locale/en-GB'`. Defaults to `nb-NO`. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You may check out the [DrawerList Properties](#drawerlist-properties) down below
| `action_menu` | _(optional)_ same as `prevent_selection`, but the DrawerList will be opened from the bottom of the page for mobile devices. Defaults to `false`. |
| `more_menu` | _(optional)_ same as `prevent_selection`, but the "selection area" (given title) will not be visible and the icon `more` (three dots) is used. Defaults to `false`. |
| `align_dropdown` | _(optional)_ use `right` to change the options alignment direction. Makes only sense to use in combination with `prevent_selection` or `more_menu`. Defaults to `left`. |
| `independent_width` | _(optional)_ If set to true, the Dropdown will handle it's width independent to the content width. Defaults to `false`. |
| `independent_width` | _(optional)_ If set to `true`, the Dropdown will handle it's width independent to the content width. Defaults to `false`. |
| `skip_portal` | _(optional)_ set to `true` to disable the React Portal behavior. Defaults to `false`. |
| `stretch` | _(optional)_ if set to `true`, then the dropdown will be 100% in available `width`. |
| `status` | _(optional)_ text with a status message. The style defaults to an error message. You can use `true` to only get the status color, without a message. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ showTabs: true
| `centered` | _(optional)_ will center all children vertically as long as the screen does not hit a mobile width. |
| `wrap` | _(optional)_ forces the content of a FormRow to wrap. Make sure you always define spacing as `right="..."` and not `left`, this way components will align left once they wrap. Defaults to `false`. |
| `responsive` | _(optional)_ to force responsiveness on form components (like [Input](/uilib/components/input) and their labels ([FormLabel](/uilib/components/form-label)), set the prop to `true`. Defaults to `false`. |
| `section_style` | _(optional)_ to enable the visual helper `.dnb-section` class. Use a supported modifier from the [Section component](/uilib/components/section/properties). Defaults to null. |
| `section_spacing` | _(optional)_ to modify the `spacing`. Use a supported modifier from the [Section component](/uilib/components/section/properties). Defaults to null. |
| `section_style` | _(optional)_ to enable the visual helper `.dnb-section` class. Use a supported modifier from the [Section component](/uilib/components/section/properties). Defaults to `null`. |
| `section_spacing` | _(optional)_ to modify the `spacing`. Use a supported modifier from the [Section component](/uilib/components/section/properties). Defaults to `null`. |
| `no_fieldset` | _(optional)_ if set to `true`, then the internal `legend` element will be a `label` instead, and no `<fieldset>` is used. Keep in mind, that `<legend>` and `<fieldset>` **is only used if a `label` is provided**. Defaults to `false`. |
| `label_class` | _(optional)_ if you need to style the "legend", then you can either send in a custom Component, like `label={ <H2> }`, or define Your styling class with the `label_class` property. |
| `locale` | _(optional)_ Send along a different locale to all nested components. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ showTabs: true
---

import {
FormSetDefault,
FormSetVertical,
FormSetSubmit
FormSetDefault,
FormSetVertical,
FormSetSubmit,
} from 'Docs/uilib/components/form-set/Examples'

## Demos
Expand All @@ -18,6 +18,6 @@ FormSetSubmit

<FormSetVertical />

### FormSet with `on_submit` event and `prevent_submit` set to true
### FormSet with `on_submit` event and `prevent_submit` set to `true`

<FormSetSubmit />
Loading

0 comments on commit 3730947

Please sign in to comment.