diff --git a/assets/menu/menu.json b/assets/menu/menu.json index 1f54976eb..ca4700c4b 100644 --- a/assets/menu/menu.json +++ b/assets/menu/menu.json @@ -93,6 +93,11 @@ "name": "Editor", "to": "/editor" }, + { + "name": "FloatLabel", + "to": "/floatlabel", + "badge": "NEW" + }, { "name": "InputGroup", "to": "/inputgroup" diff --git a/components/lib/floatlabel/FloatLabel.d.ts b/components/lib/floatlabel/FloatLabel.d.ts index 4c04e0499..4fad3a484 100644 --- a/components/lib/floatlabel/FloatLabel.d.ts +++ b/components/lib/floatlabel/FloatLabel.d.ts @@ -1,13 +1,13 @@ /** * - * FloatLabel is a grouping component with the optional content toggle feature. + * FloatLabel appears on top of the input field when focused. * * [Live Demo](https://www.primevue.org/inputtext/) * * @module floatlabel * */ -import { AnchorHTMLAttributes, TransitionProps, VNode } from 'vue'; +import { TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; @@ -108,7 +108,7 @@ export interface FloatLabelEmits {} /** * **PrimeVue - FloatLabel** * - * _FloatLabel is a grouping component with the optional content toggle feature._ + * _FloatLabel appears on top of the input field when focused._ * * [Live Demo](https://www.primevue.org/inputtext/) * --- --- diff --git a/doc/floatlabel/AccessibilityDoc.vue b/doc/floatlabel/AccessibilityDoc.vue new file mode 100644 index 000000000..6f5b4e1eb --- /dev/null +++ b/doc/floatlabel/AccessibilityDoc.vue @@ -0,0 +1,9 @@ + diff --git a/doc/floatlabel/BasicDoc.vue b/doc/floatlabel/BasicDoc.vue new file mode 100644 index 000000000..aeaf46ebc --- /dev/null +++ b/doc/floatlabel/BasicDoc.vue @@ -0,0 +1,67 @@ + + + diff --git a/doc/floatlabel/ImportDoc.vue b/doc/floatlabel/ImportDoc.vue new file mode 100644 index 000000000..b6bd6f478 --- /dev/null +++ b/doc/floatlabel/ImportDoc.vue @@ -0,0 +1,18 @@ + + + diff --git a/doc/floatlabel/theming/StyledDoc.vue b/doc/floatlabel/theming/StyledDoc.vue new file mode 100644 index 000000000..492c7c372 --- /dev/null +++ b/doc/floatlabel/theming/StyledDoc.vue @@ -0,0 +1,21 @@ + diff --git a/doc/floatlabel/theming/index.vue b/doc/floatlabel/theming/index.vue new file mode 100644 index 000000000..c34b8f644 --- /dev/null +++ b/doc/floatlabel/theming/index.vue @@ -0,0 +1,27 @@ + + + diff --git a/pages/floatlabel/index.vue b/pages/floatlabel/index.vue new file mode 100644 index 000000000..0f992c137 --- /dev/null +++ b/pages/floatlabel/index.vue @@ -0,0 +1,35 @@ + + +