From a5d4550c8d233a4dd3fff04de6d92a442e703be3 Mon Sep 17 00:00:00 2001 From: -l Date: Mon, 13 Nov 2023 11:18:16 +0100 Subject: [PATCH] docs(Forms): lists component specific props 1st --- .../forms/base-fields/ArraySelection/properties.mdx | 4 ++-- .../uilib/extensions/forms/base-fields/Boolean/properties.mdx | 4 ++-- .../uilib/extensions/forms/base-fields/Number/properties.mdx | 4 ++-- .../extensions/forms/base-fields/Selection/properties.mdx | 4 ++-- .../uilib/extensions/forms/base-fields/Toggle/properties.mdx | 4 ++-- .../forms/feature-fields/BankAccountNumber/properties.mdx | 4 ++-- .../extensions/forms/feature-fields/Currency/properties.mdx | 4 ++-- .../uilib/extensions/forms/feature-fields/Date/properties.mdx | 4 ++-- .../extensions/forms/feature-fields/Email/properties.mdx | 4 ++-- .../feature-fields/NationalIdentityNumber/properties.mdx | 4 ++-- .../forms/feature-fields/OrganizationNumber/properties.mdx | 4 ++-- .../forms/feature-fields/PhoneNumber/properties.mdx | 4 ++-- .../forms/feature-fields/SelectCountry/properties.mdx | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/ArraySelection/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/ArraySelection/properties.mdx index 12e2f5c4420..07afba2d048 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/ArraySelection/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/ArraySelection/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Boolean/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Boolean/properties.mdx index 4e70596d57b..24b217da585 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Boolean/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Boolean/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Number/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Number/properties.mdx index 7d86f9333d8..f156c56d75d 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Number/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Number/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Selection/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Selection/properties.mdx index beba55d1b75..f8a3960a098 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Selection/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Selection/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Toggle/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Toggle/properties.mdx index bd1119cf475..f4829ab6b44 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Toggle/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Toggle/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/BankAccountNumber/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/BankAccountNumber/properties.mdx index fd87b80c6ef..344fa46f516 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/BankAccountNumber/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/BankAccountNumber/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -15,3 +13,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. | `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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Currency/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Currency/properties.mdx index e2b6863ba5a..7434cce94bc 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Currency/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Currency/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -15,3 +13,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. | `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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Date/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Date/properties.mdx index c3a47cd9cd8..23e809582d4 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Date/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Date/properties.mdx @@ -6,11 +6,11 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### 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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Email/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Email/properties.mdx index c3a47cd9cd8..23e809582d4 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Email/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/Email/properties.mdx @@ -6,11 +6,11 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### 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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/NationalIdentityNumber/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/NationalIdentityNumber/properties.mdx index fd87b80c6ef..344fa46f516 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/NationalIdentityNumber/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/NationalIdentityNumber/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -15,3 +13,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. | `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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/OrganizationNumber/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/OrganizationNumber/properties.mdx index fd87b80c6ef..344fa46f516 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/OrganizationNumber/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/OrganizationNumber/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -15,3 +13,5 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. | `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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/PhoneNumber/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/PhoneNumber/properties.mdx index 1da36ba7fb9..13f1d59b83c 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/PhoneNumber/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/PhoneNumber/properties.mdx @@ -6,8 +6,6 @@ import DataValueReadwriteProperties from '../../data-value-readwrite-properties. ## Properties - - ### Component-specific props | Property | Type | Description | @@ -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. | + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/SelectCountry/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/SelectCountry/properties.mdx index 890785a00d0..654e9fcf2ef 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/SelectCountry/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/SelectCountry/properties.mdx @@ -4,11 +4,11 @@ showTabs: true import DataValueReadwriteProperties from '../../data-value-readwrite-properties.mdx' - - ### 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. | + +