Skip to content

Commit

Permalink
docs(Forms): lists component specific props 1st (#2892)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Nov 13, 2023
1 parent 0a90bdb commit c05740c
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="Array<number | string>" />

### Component-specific props

| Property | Type | Description |
Expand All @@ -16,3 +14,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.
| `optionsLayout` | `string` | _(optional)_ Layout for the list of options. Can be `horizontal` or `vertical` |
| `children` | `React.Node` | _(optional)_ For providing Option components |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="Array<number | string>" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="boolean" />

### Component-specific props

| Property | Type | Description |
Expand All @@ -16,3 +14,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.
| `falseText` | `string` | Text to show in the UI when value is `false`. |
| `variant` | `string` | Choice of input feature. Can be: `checkbox`, `button`, `checkbox-button` or `buttons` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="boolean" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="number" />

### Component-specific props

| Property | Type | Description |
Expand All @@ -27,3 +25,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.
| `help` | `object` | _(optional)_ Provide a help button. Object consisting of `title` and `contents` |
| `autoComplete` | `on` or `string` | _(optional)_ For HTML `autocomplete` [attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete). |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="number" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="number | string" />

### Component-specific props

| Property | Type | Description |
Expand All @@ -19,3 +17,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.
| `clear` | `boolean` | _(optional)_ True to have a clear-option to remove selected option as value |
| `children` | `React.Node` | _(optional)_ For providing Option components |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="number | string" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="any" />

### Component-specific props

| Property | Type | Description |
Expand All @@ -18,3 +16,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.
| `textOff` | `string` | _(optional)_ Text to show in the UI when in the "off-state". |
| `variant` | `string` | _(optional)_ Choice of input feature. Can be: `checkbox`, `button`, `checkbox-button` or `buttons` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="any" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="string" />

### Component-specific props

| Property | Type | Description |
| --------------------------------------- | --------- | ------------------------------------------------------------------------------- |
| `validate` | `boolean` | _(optional)_ Using this prop you can disable the default validation. |
| `help` | `object` | _(optional)_ Provide a help button. Object consisting of `title` and `contents` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="string" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="number" />

### Component-specific props

| Property | Type | Description |
| --------------------------------------- | -------- | ------------------------------------------------------------------------------- |
| `currency` | `string` | _(optional)_ Currency to show the value in. I.e `NOK` or `USD` |
| `help` | `object` | _(optional)_ Provide a help button. Object consisting of `title` and `contents` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="number" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="string" />

### Component-specific props

| Property | Type | Description |
| --------------------------------------- | -------- | ------------------------------------------------------------------------------- |
| `help` | `object` | _(optional)_ Provide a help button. Object consisting of `title` and `contents` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="string" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="string" />

### Component-specific props

| Property | Type | Description |
| --------------------------------------- | -------- | ------------------------------------------------------------------------------- |
| `help` | `object` | _(optional)_ Provide a help button. Object consisting of `title` and `contents` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="string" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="string" />

### Component-specific props

| Property | Type | Description |
| --------------------------------------- | --------- | ------------------------------------------------------------------------------- |
| `validate` | `boolean` | _(optional)_ Using this prop you can disable the default validation. |
| `help` | `object` | _(optional)_ Provide a help button. Object consisting of `title` and `contents` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="string" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="string" />

### Component-specific props

| Property | Type | Description |
| --------------------------------------- | --------- | ------------------------------------------------------------------------------- |
| `validate` | `boolean` | _(optional)_ Using this prop you can disable the default validation. |
| `help` | `object` | _(optional)_ Provide a help button. Object consisting of `title` and `contents` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="string" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.

## Properties

<DataValueReadwriteProperties type="string" />

### Component-specific props

| Property | Type | Description |
Expand All @@ -20,3 +18,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties.
| `numberMask` | Various | _(optional)_ See property `mask` of the [InputMasked](/uilib/components/input-masked/properties) component. |
| `width` | `string` or `false` | _(optional)_ `large` for predefined standard width, `stretch` for fill available width. |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties type="string" />
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ showTabs: true

import DataValueReadwriteProperties from '../../data-value-readwrite-properties.mdx'

<DataValueReadwriteProperties />

### Component-specific props

| Property | Type | Description |
| --------------------------------------- | -------- | ------------------------------------------------------------------------------- |
| `help` | `object` | _(optional)_ Provide a help button. Object consisting of `title` and `contents` |
| [Space](/uilib/layout/space/properties) | Various | _(optional)_ Spacing properties like `top` or `bottom` are supported. |

<DataValueReadwriteProperties />

0 comments on commit c05740c

Please sign in to comment.