From 3890a2546a3a2adcd5db2c1b50e1fb5aff3005a6 Mon Sep 17 00:00:00 2001 From: Emir Yaman Gazaz Date: Fri, 26 Jun 2026 15:16:48 +0300 Subject: [PATCH 01/13] chore: consistent units --- src/ui/components/PTimer/PTimer.css | 2 +- src/ui/views/Consent.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/components/PTimer/PTimer.css b/src/ui/components/PTimer/PTimer.css index d92da09..65389a0 100644 --- a/src/ui/components/PTimer/PTimer.css +++ b/src/ui/components/PTimer/PTimer.css @@ -16,7 +16,7 @@ margin: auto; padding-top: 0px; text-align: center; - font-size: 2em; + font-size: 2rem; font-family: var(--pa-font-family); font-weight: var(--pa-fw-h1); } diff --git a/src/ui/views/Consent.vue b/src/ui/views/Consent.vue index 6ba957a..742c901 100644 --- a/src/ui/views/Consent.vue +++ b/src/ui/views/Consent.vue @@ -123,9 +123,9 @@ const resolveClientLogo = resolveLogo; display: block; font-weight: 600; opacity: 0.6; - font-size: 0.8em; + font-size: 0.8rem; text-transform: uppercase; - letter-spacing: 0.05em; + letter-spacing: 0.05rem; margin-bottom: 4px; } From ece719d32d1861fce087e83450768bc20fb1169b Mon Sep 17 00:00:00 2001 From: Emir Yaman Gazaz Date: Mon, 29 Jun 2026 16:41:20 +0300 Subject: [PATCH 02/13] chore: align helper section items --- src/ui/styles/main.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ui/styles/main.css b/src/ui/styles/main.css index 98e137c..81da1ea 100644 --- a/src/ui/styles/main.css +++ b/src/ui/styles/main.css @@ -201,7 +201,7 @@ display: flex; flex-direction: column; margin: auto 0; - width: min(600px, 100%); + width: min(500px, 100%); flex-grow: 0; justify-content: safe center; min-height: calc(var(--pa-widget-state, 0) * 100vh); @@ -309,8 +309,9 @@ } &-helpers-section { - @apply text-center pt-4; + @apply pt-4; line-height: 24px; + text-align: var(--pa-align-p); a { padding-left: 4px; @@ -398,7 +399,8 @@ color: #757575 !important; display: inline-block; transition: all .2s; - padding: 2px 4px; + padding-inline: 4px; + padding-block: 2px; &:hover, &.hover--demo { From f6f3d1cd78af3d3c65c3a617d3584190494aa548 Mon Sep 17 00:00:00 2001 From: Emir Yaman Gazaz Date: Tue, 30 Jun 2026 16:30:00 +0300 Subject: [PATCH 03/13] chore: add demo error states --- src/ui/components/PTextField/PTextField.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/components/PTextField/PTextField.css b/src/ui/components/PTextField/PTextField.css index f5eab4e..37680d8 100644 --- a/src/ui/components/PTextField/PTextField.css +++ b/src/ui/components/PTextField/PTextField.css @@ -213,7 +213,7 @@ color: rgb(var(--pa-color-primary)) !important; } } - + &.error--demo, &.input--error { .input--wrap { border-bottom-color: rgb(var(--pa-color-error)); @@ -413,7 +413,7 @@ font-size: 12px; font-family: var(--pa-font-family); } - + &.error--demo, &--error { color: rgb(var(--pa-color-error)) !important; From db25792edbf6496c5b1e4861f1e333b8773c82fb Mon Sep 17 00:00:00 2001 From: Emir Yaman Gazaz Date: Fri, 17 Jul 2026 17:11:08 +0300 Subject: [PATCH 04/13] feat: circle variant for social login button --- src/ui/components/SocialConnectionButton.vue | 31 +++++++--- src/ui/interfaces/index.ts | 3 - src/ui/styles/main.css | 65 +++++++++++++++++--- src/ui/utils/index.ts | 4 ++ stories/02.GettingStarted.mdx | 4 -- 5 files changed, 83 insertions(+), 24 deletions(-) diff --git a/src/ui/components/SocialConnectionButton.vue b/src/ui/components/SocialConnectionButton.vue index 7512849..fcc79bd 100644 --- a/src/ui/components/SocialConnectionButton.vue +++ b/src/ui/components/SocialConnectionButton.vue @@ -1,9 +1,14 @@