diff --git a/packages/docs/components/Checkbox.md b/packages/docs/components/Checkbox.md index 7dbe78460..085e98754 100644 --- a/packages/docs/components/Checkbox.md +++ b/packages/docs/components/Checkbox.md @@ -33,23 +33,24 @@ ### Props -| Prop name | Description | Type | Values | Default | -| ------------------ | -------------------------------------------------------------- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| autocomplete | Same as native autocomplete options to use in HTML5 validation | string | - |
checkbox: {
autocomplete: "off"
}
|
-| customValidity | Custom HTML 5 validation error to set on the form control | string \| ((currentValue: boolean, state: ValidityState) => string) | - | ""
|
-| disabled | Same as native disabled | boolean | - | false
|
-| falseValue | Overrides the returned value when it's not checked | string\|number\|boolean\|object | - | false
|
-| indeterminate | Same as native indeterminate | boolean | - | false
|
-| label | Input label, unnecessary when default slot is used | string | - | |
-| v-model | The input value state | string\|number\|boolean\|object\|array | - | |
-| name | Same as native name | string | - | |
-| nativeValue | Same as native value | string\|number\|boolean\|object | - | |
-| override | Override existing theme classes completely | boolean | - | |
-| required | Same as native required | boolean | - | false
|
-| size | Size of the control | string | `small`, `medium`, `large` | checkbox: {
size: undefined
}
|
-| trueValue | Overrides the returned value when it's checked | string\|number\|boolean\|object | - | true
|
-| useHtml5Validation | Enable HTML 5 native validation | boolean | - | {
useHtml5Validation: true
}
|
-| variant | Color of the control | string | `primary`, `info`, `success`, `warning`, `danger`, `and any other custom color` | checkbox: {
variant: undefined
}
|
+| Prop name | Description | Type | Values | Default |
+| ------------------ | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| autocomplete | Same as native autocomplete options to use in HTML5 validation | string | - | checkbox: {
autocomplete: "off"
}
|
+| customValidity | Custom HTML 5 validation error to set on the form control | string \| ((currentValue: boolean, state: ValidityState) => string) | - | ""
|
+| disabled | Same as native disabled | boolean | - | false
|
+| falseValue | Overrides the returned value when it's not checked | string\|number\|boolean\|object | - | false
|
+| id | Same as native id. Also set the for label for o-field wrapper - default is an uuid. | string | - | Default function (see source code) |
+| indeterminate | Same as native indeterminate | boolean | - | false
|
+| label | Input label, unnecessary when default slot is used | string | - | |
+| v-model | The input value state | string\|number\|boolean\|object\|array | - | |
+| name | Same as native name | string | - | |
+| nativeValue | Same as native value | string\|number\|boolean\|object | - | |
+| override | Override existing theme classes completely | boolean | - | |
+| required | Same as native required | boolean | - | false
|
+| size | Size of the control | string | `small`, `medium`, `large` | checkbox: {
size: undefined
}
|
+| trueValue | Overrides the returned value when it's checked | string\|number\|boolean\|object | - | true
|
+| useHtml5Validation | Enable HTML 5 native validation | boolean | - | {
useHtml5Validation: true
}
|
+| variant | Color of the control | string | `primary`, `info`, `success`, `warning`, `danger`, `and any other custom color` | checkbox: {
variant: undefined
}
|
### Events
diff --git a/packages/docs/components/Radio.md b/packages/docs/components/Radio.md
index c2ec02114..bdb83b4d1 100644
--- a/packages/docs/components/Radio.md
+++ b/packages/docs/components/Radio.md
@@ -33,19 +33,20 @@
### Props
-| Prop name | Description | Type | Values | Default |
-| ------------------ | -------------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
-| autocomplete | Same as native autocomplete options to use in HTML5 validation | string | - | radio: {
autocomplete: "off"
}
|
-| disabled | Same as native disabled | boolean | - | false
|
-| label | Input label, unnecessary when default slot is used | string | - | |
-| v-model | The input value state | string\|number\|boolean\|object | - | |
-| name | Same as native name | string | - | |
-| nativeValue | Same as native value | string\|number\|boolean\|object | - | |
-| override | Override existing theme classes completely | boolean | - | |
-| required | Same as native required | boolean | - | false
|
-| size | Size of the control | string | `small`, `medium`, `large` | radio: {
size: undefined
}
|
-| useHtml5Validation | Enable html 5 native validation | boolean | - | {
useHtml5Validation: true
}
|
-| variant | Color of the control | string | `primary`, `info`, `success`, `warning`, `danger`, `and any other custom color` | radio: {
variant: undefined
}
|
+| Prop name | Description | Type | Values | Default |
+| ------------------ | ----------------------------------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
+| autocomplete | Same as native autocomplete options to use in HTML5 validation | string | - | radio: {
autocomplete: "off"
}
|
+| disabled | Same as native disabled | boolean | - | false
|
+| id | Same as native id. Also set the for label for o-field wrapper - default is an uuid. | string | - | Default function (see source code) |
+| label | Input label, unnecessary when default slot is used | string | - | |
+| v-model | The input value state | string\|number\|boolean\|object | - | |
+| name | Same as native name | string | - | |
+| nativeValue | Same as native value | string\|number\|boolean\|object | - | |
+| override | Override existing theme classes completely | boolean | - | |
+| required | Same as native required | boolean | - | false
|
+| size | Size of the control | string | `small`, `medium`, `large` | radio: {
size: undefined
}
|
+| useHtml5Validation | Enable html 5 native validation | boolean | - | {
useHtml5Validation: true
}
|
+| variant | Color of the control | string | `primary`, `info`, `success`, `warning`, `danger`, `and any other custom color` | radio: {
variant: undefined
}
|
### Events
diff --git a/packages/docs/components/Switch.md b/packages/docs/components/Switch.md
index 69f52e906..fac769e84 100644
--- a/packages/docs/components/Switch.md
+++ b/packages/docs/components/Switch.md
@@ -33,24 +33,25 @@
### Props
-| Prop name | Description | Type | Values | Default |
-| ------------------ | -------------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| autocomplete | Same as native autocomplete options to use in HTML5 validation | string | - | switch: {
autocomplete: "off"
}
|
-| disabled | Same as native disabled | boolean | - | false
|
-| falseValue | Overrides the returned value when it's not checked | string\|number\|boolean\|object | - | false
|
-| label | Input label, unnecessary when default slot is used | string | - | |
-| v-model | The input value state | string\|number\|boolean\|object | - | |
-| name | Name attribute on native checkbox | string | - | |
-| nativeValue | Same as native value | string\|number\|boolean\|object | - | |
-| override | Override existing theme classes completely | boolean | - | |
-| passiveVariant | Color of the switch when is passive | string | `primary`, `info`, `success`, `warning`, `danger`, `and any other custom color` | switch: {
passiveVariant: undefined
}
|
-| position | Label position | string | - | "right"
|
-| required | Same as native required | boolean | - | false
|
-| rounded | Rounded style | boolean | - | true
|
-| size | Size of the control | string | `small`, `medium`, `large` | switch: {
size: undefined
}
|
-| trueValue | Overrides the returned value when it's checked | string\|number\|boolean\|object | - | true
|
-| useHtml5Validation | Enable html 5 native validation | boolean | - | {
useHtml5Validation: true
}
|
-| variant | Color of the control | string | `primary`, `info`, `success`, `warning`, `danger`, `and any other custom color` | switch: {
variant: undefined
}
|
+| Prop name | Description | Type | Values | Default |
+| ------------------ | ----------------------------------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| autocomplete | Same as native autocomplete options to use in HTML5 validation | string | - | switch: {
autocomplete: "off"
}
|
+| disabled | Same as native disabled | boolean | - | false
|
+| falseValue | Overrides the returned value when it's not checked | string\|number\|boolean\|object | - | false
|
+| id | Same as native id. Also set the for label for o-field wrapper - default is an uuid. | string | - | Default function (see source code) |
+| label | Input label, unnecessary when default slot is used | string | - | |
+| v-model | The input value state | string\|number\|boolean\|object | - | |
+| name | Name attribute on native checkbox | string | - | |
+| nativeValue | Same as native value | string\|number\|boolean\|object | - | |
+| override | Override existing theme classes completely | boolean | - | |
+| passiveVariant | Color of the switch when is passive | string | `primary`, `info`, `success`, `warning`, `danger`, `and any other custom color` | switch: {
passiveVariant: undefined
}
|
+| position | Label position | string | - | "right"
|
+| required | Same as native required | boolean | - | false
|
+| rounded | Rounded style | boolean | - | true
|
+| size | Size of the control | string | `small`, `medium`, `large` | switch: {
size: undefined
}
|
+| trueValue | Overrides the returned value when it's checked | string\|number\|boolean\|object | - | true
|
+| useHtml5Validation | Enable html 5 native validation | boolean | - | {
useHtml5Validation: true
}
|
+| variant | Color of the control | string | `primary`, `info`, `success`, `warning`, `danger`, `and any other custom color` | switch: {
variant: undefined
}
|
### Events
diff --git a/packages/docs/components/Tabs.md b/packages/docs/components/Tabs.md
index dac27b9b5..737fdba1c 100644
--- a/packages/docs/components/Tabs.md
+++ b/packages/docs/components/Tabs.md
@@ -82,7 +82,6 @@ sidebarDepth: 2
| Prop name | Description | Type | Values | Default |
| --------- | --------------------------------------------------------------------------------- | ---------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------- |
-| ariaRole | Role attribute to be passed to the div wrapper for better accessibility. | string | - | tabs: {
ariaRole: "tab"
}
|
| disabled | Item will be disabled | boolean | - | false
|
| icon | Icon on the left | string | - | tabs: {
icon: undefined
}
|
| iconPack | Icon pack | string | - | tabs: {
iconPack: undefined
}
|
diff --git a/packages/docs/components/TabsExample.md b/packages/docs/components/TabsExample.md
new file mode 100644
index 000000000..c21b2edcd
--- /dev/null
+++ b/packages/docs/components/TabsExample.md
@@ -0,0 +1,48 @@
+# TabsExample
+
+false
|
+| hasNavigation | | boolean | - | false
|
+| isAnimated | | boolean | - | false
|
+| isProfileSuccess | | boolean | - | false
|
+| isRounded | | boolean | - | false
|
+| isStepsClickable | | boolean | - | false
|
+| isVertical | | boolean | - | false
|
+| labelPosition | | string | `bottom`, `left`, `right` | "bottom"
|
+| showSocial | | boolean | - | false
|
+
+Tab 1 Content
+Tab 2 Content
+Tab 3 Content
+