diff --git a/src/components/Controls/Textbox/EmailTextbox.vue b/src/components/Controls/Textbox/EmailTextbox.vue index 65ef967..3c86a2c 100644 --- a/src/components/Controls/Textbox/EmailTextbox.vue +++ b/src/components/Controls/Textbox/EmailTextbox.vue @@ -1,50 +1,28 @@ - - - - - - {{ - isEmailError ? 'メールアドレスの形式が正しくありません' : errorMessage - }} - - + diff --git a/src/components/Controls/Textbox/PasswordTextbox.vue b/src/components/Controls/Textbox/PasswordTextbox.vue index 98fb75c..e72bdfb 100644 --- a/src/components/Controls/Textbox/PasswordTextbox.vue +++ b/src/components/Controls/Textbox/PasswordTextbox.vue @@ -1,55 +1,20 @@ - - - - - (passwordShown = !passwordShown)" - > - - - - - - {{ errorMessage }} - - + diff --git a/src/components/Controls/Textbox/PlainTextbox.vue b/src/components/Controls/Textbox/PlainTextbox.vue index 1608cef..ffbf3a5 100644 --- a/src/components/Controls/Textbox/PlainTextbox.vue +++ b/src/components/Controls/Textbox/PlainTextbox.vue @@ -1,7 +1,6 @@ - - - + + {{ label }} + 必須 + + - - - {{ errorMessage }} - + @mousedown="onClickInnerBorder" + > + + + + {{ + value?.length ?? 0 + }} + + + + {{ + supportingText + }} + + + + {{ errorMessage }} diff --git a/src/components/Controls/Textbox/TextboxLabel.vue b/src/components/Controls/Textbox/TextboxLabel.vue deleted file mode 100644 index 540a7d5..0000000 --- a/src/components/Controls/Textbox/TextboxLabel.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - - - {{ label }} - * - - - - diff --git a/tailwind.config.js b/tailwind.config.js index 0ed0d27..a98708e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -18,7 +18,8 @@ export default { 'text-inv-primary': '#f0f0f0', 'status-error': '#e02a2a', red: '#ff0000', - white: '#ffffff' + white: '#ffffff', + transparent: 'transparent', }, fontFamily: { primary: ['Open Sans', 'Noto Sans JP', 'sans-serif']