diff --git a/assets/menu/menu.json b/assets/menu/menu.json index ca4700c4b..8babf77d0 100644 --- a/assets/menu/menu.json +++ b/assets/menu/menu.json @@ -95,8 +95,11 @@ }, { "name": "FloatLabel", - "to": "/floatlabel", - "badge": "NEW" + "to": "/floatlabel" + }, + { + "name": "InputIcon", + "to": "/inputicon" }, { "name": "InputGroup", diff --git a/components/lib/iconfield/IconField.d.ts b/components/lib/iconfield/IconField.d.ts index 2de091822..245ee39cc 100644 --- a/components/lib/iconfield/IconField.d.ts +++ b/components/lib/iconfield/IconField.d.ts @@ -1,13 +1,13 @@ /** * - * IconField is used to select a boolean value. + * IconField wraps an input and an icon. * * [Live Demo](https://www.primevue.org/inputtext/) * * @module iconfield * */ -import { InputHTMLAttributes, VNode } from 'vue'; +import { VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; diff --git a/components/lib/inputicon/InputIcon.d.ts b/components/lib/inputicon/InputIcon.d.ts index ffab18963..b31626188 100644 --- a/components/lib/inputicon/InputIcon.d.ts +++ b/components/lib/inputicon/InputIcon.d.ts @@ -1,6 +1,6 @@ /** * - * InputIcon displays text, icon, buttons and other content can be grouped next to an input. + * InputIcon displays an icon. * * [Live Demo](https://www.primevue.org/inputgroup/) * diff --git a/doc/inputicon/AccessibilityDoc.vue b/doc/inputicon/AccessibilityDoc.vue new file mode 100644 index 000000000..1512b16b6 --- /dev/null +++ b/doc/inputicon/AccessibilityDoc.vue @@ -0,0 +1,9 @@ + diff --git a/doc/inputtext/IconsDoc.vue b/doc/inputicon/BasicDoc.vue similarity index 100% rename from doc/inputtext/IconsDoc.vue rename to doc/inputicon/BasicDoc.vue diff --git a/doc/inputicon/ImportDoc.vue b/doc/inputicon/ImportDoc.vue new file mode 100644 index 000000000..9f89d59f9 --- /dev/null +++ b/doc/inputicon/ImportDoc.vue @@ -0,0 +1,19 @@ + + + diff --git a/doc/inputicon/theming/StyledDoc.vue b/doc/inputicon/theming/StyledDoc.vue new file mode 100644 index 000000000..5e1b7be5b --- /dev/null +++ b/doc/inputicon/theming/StyledDoc.vue @@ -0,0 +1,25 @@ + diff --git a/doc/inputicon/theming/index.vue b/doc/inputicon/theming/index.vue new file mode 100644 index 000000000..cd6cdfd6a --- /dev/null +++ b/doc/inputicon/theming/index.vue @@ -0,0 +1,27 @@ + + + diff --git a/pages/inputicon/index.vue b/pages/inputicon/index.vue new file mode 100644 index 000000000..ff4b9b1cb --- /dev/null +++ b/pages/inputicon/index.vue @@ -0,0 +1,35 @@ + + + diff --git a/pages/inputtext/index.vue b/pages/inputtext/index.vue index 48df76c3f..b460de547 100755 --- a/pages/inputtext/index.vue +++ b/pages/inputtext/index.vue @@ -1,13 +1,5 @@