Refresh UI components and showcase; release updated framework packages

This commit is contained in:
Clintchiz committed 2026-09-20 18:13:24 +05:30
1 parent d800228585
commit c77f5e1cec
293 files changed
+22544 -35778

No files matched your search

+18 -18
View File
@@ -9,6 +9,7 @@ component TogglePassword {
size: string = "default"
color: string = "primary"
label: string = "Password"
icon: string = ""
name: string = "password"
value: string = ""
placeholder: string = "Enter your password"
@@ -116,7 +117,7 @@ component TogglePassword {
{/if}
</div>
<div class="wrn-next__password-control">
<span class="wrn-next__password-leading-icon" aria-hidden="true"></span>
{#if icon}<span class="wrn-next__password-leading-icon {icon}" aria-hidden="true"></span>{/if}
<input
{...attrs}
id="{name}-password"
@@ -203,7 +204,7 @@ component TogglePassword {
font-weight: 600;
}
.wrn-next__password-heading :is(a, span) {
.wrn-next__password-heading > :is(a, span) {
color: var(--wrn-component-color);
font-size: 0.75rem;
font-weight: 500;
@@ -241,9 +242,8 @@ component TogglePassword {
.wrn-next__password-control > input {
width: 100%;
min-width: 0;
min-height: 2.75em;
min-height: 3rem;
padding: 0.75rem 3rem 0.75rem 2.75rem;
min-height: var(--wrn-control-height);
padding: 0.55rem 3rem 0.55rem 0.85rem;
border: 1px solid var(--wrn-color-border);
border-radius: var(--wrn-radius-sm);
outline: 0;
@@ -265,8 +265,8 @@ component TogglePassword {
color: var(--wrn-color-muted);
background: currentColor;
pointer-events: none;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wrn-next__password-control:has(> .wrn-next__password-leading-icon) > input { padding-inline-start: 2.5rem; }
.wrn-next__password-control > input:focus-visible {
border-color: var(--wrn-component-color);
@@ -450,10 +450,10 @@ component TogglePassword {
}
.wrn-next--field :where(input, textarea, select) {
width: 100%;
min-height: 2.65rem;
padding: 0.6rem 0.7rem;
min-height: var(--wrn-control-height, 2.5rem);
padding: 0.5rem 0.75rem;
border: 1px solid var(--wrn-color-border);
border-radius: 0.6rem;
border-radius: var(--wrn-radius-sm, 6px);
outline: 0;
color: var(--wrn-color-text);
background: var(--wrn-color-bg);
@@ -467,9 +467,9 @@ component TogglePassword {
}
.wrn-auth-form__submit > .wrn-btn {
width: 100%;
min-height: 3rem;
border-radius: 0.75rem;
box-shadow: 0 0.8rem 1.8rem color-mix(in srgb, var(--wrn-btn-color) 20%, transparent);
min-height: var(--wrn-control-height, 2.5rem);
border-radius: var(--wrn-radius-sm, 6px);
box-shadow: none;
}
.wrn-next--field :where(input, textarea, select):focus-visible {
border-color: var(--wrn-color-primary);
@@ -511,7 +511,7 @@ component TogglePassword {
.wrn-next__field-hint,
.wrn-next__field-help {
color: var(--wrn-color-muted);
font-size: 0.82em;
font-size: 0.75rem;
font-weight: 500;
}
.wrn-next__field-control {
@@ -525,10 +525,10 @@ component TogglePassword {
background: var(--wrn-color-surface);
font-size: 0.8125rem;
}
.wrn-next__field-control[data-icon-position="start"] > :is(input, textarea, select) {
.wrn-next__field-control[data-has-icon="true"][data-icon-position="start"] > :is(input, textarea, select) {
padding-inline-start: 2.5rem;
}
.wrn-next__field-control[data-icon-position="end"] > :is(input, textarea, select) {
.wrn-next__field-control[data-has-icon="true"][data-icon-position="end"] > :is(input, textarea, select) {
padding-inline-end: 2.5rem;
}
.wrn-next__field-icon {
@@ -636,7 +636,7 @@ component TogglePassword {
}
.wrn-next--field[data-inline="true"] .wrn-next__field-heading,
.wrn-next--choice-field[data-inline="true"] .wrn-next__field-heading {
min-height: 2.65rem;
min-height: var(--wrn-control-height, 2.5rem);
align-items: center;
}
.wrn-next--field[data-inline="true"] .wrn-next__field-heading {
@@ -645,7 +645,7 @@ component TogglePassword {
.wrn-next--field[data-inline="true"] .wrn-next__field-help,
.wrn-next--choice-field[data-inline="true"] .wrn-next__field-help {
display: flex;
min-height: 2.65rem;
min-height: var(--wrn-control-height, 2.5rem);
align-items: center;
}
.wrn-next--choice-field[data-inline="true"] {
@@ -794,7 +794,7 @@ component TogglePassword {
.wrn-next__time-trigger {
display: flex;
width: 100%;
min-height: 2.65rem;
min-height: var(--wrn-control-height, 2.5rem);
align-items: center;
justify-content: space-between;
gap: 0.75rem;