From 9c4f33b0c2bf999d106cfbc7794fe7feabf387a9 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 17 Sep 2024 13:26:24 +0300 Subject: [PATCH] Fixed #6418 - New Float Label Variants --- apps/showcase/assets/menu/menu.json | 3 +- apps/showcase/doc/floatlabel/BasicDoc.vue | 2 +- apps/showcase/doc/floatlabel/InvalidDoc.vue | 113 ++++++++++++++++++ apps/showcase/doc/floatlabel/VariantsDoc.vue | 90 ++++++++++++++ apps/showcase/pages/floatlabel/index.vue | 14 ++- .../src/floatlabel/BaseFloatLabel.vue | 6 + .../src/floatlabel/style/FloatLabelStyle.js | 66 +++++++++- .../src/presets/aura/floatlabel/index.js | 28 ++++- packages/themes/src/presets/aura/index.js | 6 +- .../src/presets/lara/floatlabel/index.js | 28 ++++- packages/themes/src/presets/lara/index.js | 6 +- .../src/presets/nora/floatlabel/index.js | 28 ++++- packages/themes/src/presets/nora/index.js | 6 +- 13 files changed, 378 insertions(+), 18 deletions(-) create mode 100644 apps/showcase/doc/floatlabel/InvalidDoc.vue create mode 100644 apps/showcase/doc/floatlabel/VariantsDoc.vue diff --git a/apps/showcase/assets/menu/menu.json b/apps/showcase/assets/menu/menu.json index bdc8a016b..26e9f9482 100644 --- a/apps/showcase/assets/menu/menu.json +++ b/apps/showcase/assets/menu/menu.json @@ -97,7 +97,8 @@ }, { "name": "FloatLabel", - "to": "/floatlabel" + "to": "/floatlabel", + "badge": "NEW" }, { "name": "IconField", diff --git a/apps/showcase/doc/floatlabel/BasicDoc.vue b/apps/showcase/doc/floatlabel/BasicDoc.vue index 09edcc57b..6ebf82616 100644 --- a/apps/showcase/doc/floatlabel/BasicDoc.vue +++ b/apps/showcase/doc/floatlabel/BasicDoc.vue @@ -4,7 +4,7 @@
- +
diff --git a/apps/showcase/doc/floatlabel/InvalidDoc.vue b/apps/showcase/doc/floatlabel/InvalidDoc.vue new file mode 100644 index 000000000..b6a9ed61a --- /dev/null +++ b/apps/showcase/doc/floatlabel/InvalidDoc.vue @@ -0,0 +1,113 @@ + + + diff --git a/apps/showcase/doc/floatlabel/VariantsDoc.vue b/apps/showcase/doc/floatlabel/VariantsDoc.vue new file mode 100644 index 000000000..9660a2f26 --- /dev/null +++ b/apps/showcase/doc/floatlabel/VariantsDoc.vue @@ -0,0 +1,90 @@ + + + diff --git a/apps/showcase/pages/floatlabel/index.vue b/apps/showcase/pages/floatlabel/index.vue index f5ecb57e0..9d20662d2 100644 --- a/apps/showcase/pages/floatlabel/index.vue +++ b/apps/showcase/pages/floatlabel/index.vue @@ -1,13 +1,15 @@