From 88a679feafa927f04cd9658090a95aed691d4247 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 2 Feb 2024 15:40:35 +0300 Subject: [PATCH] FloatLabel page added --- assets/menu/menu.json | 5 ++ components/lib/floatlabel/FloatLabel.d.ts | 6 +- doc/floatlabel/AccessibilityDoc.vue | 9 +++ doc/floatlabel/BasicDoc.vue | 67 +++++++++++++++++++++++ doc/floatlabel/ImportDoc.vue | 18 ++++++ doc/floatlabel/theming/StyledDoc.vue | 21 +++++++ doc/floatlabel/theming/index.vue | 27 +++++++++ pages/floatlabel/index.vue | 35 ++++++++++++ 8 files changed, 185 insertions(+), 3 deletions(-) create mode 100644 doc/floatlabel/AccessibilityDoc.vue create mode 100644 doc/floatlabel/BasicDoc.vue create mode 100644 doc/floatlabel/ImportDoc.vue create mode 100644 doc/floatlabel/theming/StyledDoc.vue create mode 100644 doc/floatlabel/theming/index.vue create mode 100644 pages/floatlabel/index.vue 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 @@ + + +