From 2fed992b3e2b657483cba2e9aa9b15ccfba4f9d2 Mon Sep 17 00:00:00 2001 From: Pavel Klibani Date: Sun, 17 Sep 2023 02:44:08 +0200 Subject: [PATCH] Docs(web): Add TextField demo #DS-913 - TextField demo in web is now same as demo in web-react and web-twig --- .../src/scss/components/TextField/index.html | 70 +++++++++++++++---- 1 file changed, 56 insertions(+), 14 deletions(-) diff --git a/packages/web/src/scss/components/TextField/index.html b/packages/web/src/scss/components/TextField/index.html index b68ff8f943..791e47c8f8 100644 --- a/packages/web/src/scss/components/TextField/index.html +++ b/packages/web/src/scss/components/TextField/index.html @@ -1,9 +1,11 @@ {{#> layout/plain }}
+

Default

-
+
+
@@ -18,47 +20,63 @@

Default

+
+
+

Required

-
+
+
+
+
+

Hidden Label

-
+
+
+
+
+

Helper Text

-
+
+
Helper text
+
+
+

Disabled

-
+
+
@@ -77,13 +95,17 @@

Disabled

value="Filled" />
+
+
+

Validation State with Validation Text

-
+
+
@@ -118,35 +140,49 @@

Validation State with Validation Text

This is helper text
Danger validation text
+
+
+

Fluid

-
- - +
+ +
+ + +
+
+
+

Size

-
+
+
+
+
+

Inline

-
-
+
+ +
@@ -154,7 +190,7 @@

Inline

-
+
@@ -187,13 +223,17 @@

Inline

+
+
+

Password Toggle

-
+
+
@@ -258,7 +298,9 @@

Password Toggle

+
+
{{/layout/plain }}