Skip to content

Commit

Permalink
Merge pull request #162 from Foxy/beta
Browse files Browse the repository at this point in the history
chore: release 1.27.0
  • Loading branch information
brettflorio authored Jun 25, 2024
2 parents 4794b66 + 709de1c commit a97c01b
Show file tree
Hide file tree
Showing 461 changed files with 37,826 additions and 28,108 deletions.
116 changes: 59 additions & 57 deletions .storybook/preview-body.html
Original file line number Diff line number Diff line change
@@ -1,59 +1,4 @@
<style>
@media (prefers-color-scheme: light) {
:root {
--lumo-contrast-90pct: hsla(290deg, 52%, 3%, 0.9);
--lumo-contrast-80pct: hsla(290deg, 52%, 3%, 0.8);
--lumo-contrast-70pct: hsla(290deg, 52%, 3%, 0.7);
--lumo-contrast-60pct: hsla(290deg, 52%, 3%, 0.6);
--lumo-contrast-50pct: hsla(290deg, 52%, 3%, 0.5);
--lumo-contrast-40pct: hsla(290deg, 52%, 3%, 0.4);
--lumo-contrast-30pct: hsla(290deg, 52%, 3%, 0.3);
--lumo-contrast-20pct: hsla(290deg, 52%, 3%, 0.2);
--lumo-contrast-10pct: hsla(290deg, 52%, 3%, 0.1);
--lumo-contrast-5pct: hsla(290deg, 52%, 3%, 0.05);
--lumo-contrast: hsla(290deg, 52%, 3%, 1);

--lumo-shade-90pct: hsla(290deg, 52%, 3%, 0.9);
--lumo-shade-80pct: hsla(290deg, 52%, 3%, 0.8);
--lumo-shade-70pct: hsla(290deg, 52%, 3%, 0.7);
--lumo-shade-60pct: hsla(290deg, 52%, 3%, 0.6);
--lumo-shade-50pct: hsla(290deg, 52%, 3%, 0.5);
--lumo-shade-40pct: hsla(290deg, 52%, 3%, 0.4);
--lumo-shade-30pct: hsla(290deg, 52%, 3%, 0.3);
--lumo-shade-20pct: hsla(290deg, 52%, 3%, 0.2);
--lumo-shade-10pct: hsla(290deg, 52%, 3%, 0.1);
--lumo-shade-5pct: hsla(290deg, 52%, 3%, 0.05);
--lumo-shade: hsla(290deg, 52%, 3%, 1);

--lumo-tint-90pct: hsla(0deg, 0%, 100%, 0.9);
--lumo-tint-80pct: hsla(0deg, 0%, 100%, 0.8);
--lumo-tint-70pct: hsla(0deg, 0%, 100%, 0.7);
--lumo-tint-60pct: hsla(0deg, 0%, 100%, 0.6);
--lumo-tint-50pct: hsla(0deg, 0%, 100%, 0.5);
--lumo-tint-40pct: hsla(0deg, 0%, 100%, 0.4);
--lumo-tint-30pct: hsla(0deg, 0%, 100%, 0.3);
--lumo-tint-20pct: hsla(0deg, 0%, 100%, 0.2);
--lumo-tint-10pct: hsla(0deg, 0%, 100%, 0.1);
--lumo-tint-5pct: hsla(0deg, 0%, 100%, 0.05);
--lumo-tint: hsla(0deg, 0%, 100%, 1);

--lumo-primary-color-50pct: hsla(290deg, 52%, 28%, 0.5);
--lumo-primary-color-10pct: hsla(290deg, 52%, 28%, 0.1);
--lumo-primary-color: hsla(290deg, 52%, 28%, 1);
--lumo-primary-contrast-color: hsla(290deg, 52%, 100%, 1);

--lumo-success-color-50pct: hsla(100deg, 50%, 34%, 0.5);
--lumo-success-color-10pct: hsla(100deg, 50%, 34%, 0.1);
--lumo-success-color: hsla(100deg, 50%, 34%, 1);
--lumo-success-contrast-color: hsla(100deg, 50%, 100%, 1);

--lumo-error-color-50pct: hsla(0deg, 50%, 50%, 0.5);
--lumo-error-color-10pct: hsla(0deg, 50%, 50%, 0.1);
--lumo-error-color: hsla(0deg, 50%, 50%, 1);
--lumo-error-contrast-color: hsla(0deg, 50%, 100%, 1);
}
}

@media (prefers-color-scheme: dark) {
:root {
--lumo-contrast-90pct: hsla(290deg, 52%, 100%, 0.9);
Expand Down Expand Up @@ -115,10 +60,67 @@
}
}

:root {
:root,
.docs-story {
--lumo-contrast-90pct: hsla(290deg, 52%, 3%, 0.9);
--lumo-contrast-80pct: hsla(290deg, 52%, 3%, 0.8);
--lumo-contrast-70pct: hsla(290deg, 52%, 3%, 0.7);
--lumo-contrast-60pct: hsla(290deg, 52%, 3%, 0.6);
--lumo-contrast-50pct: hsla(290deg, 52%, 3%, 0.5);
--lumo-contrast-40pct: hsla(290deg, 52%, 3%, 0.4);
--lumo-contrast-30pct: hsla(290deg, 52%, 3%, 0.3);
--lumo-contrast-20pct: hsla(290deg, 52%, 3%, 0.2);
--lumo-contrast-10pct: hsla(290deg, 52%, 3%, 0.1);
--lumo-contrast-5pct: hsla(290deg, 52%, 3%, 0.05);
--lumo-contrast: hsla(290deg, 52%, 3%, 1);

--lumo-shade-90pct: hsla(290deg, 52%, 3%, 0.9);
--lumo-shade-80pct: hsla(290deg, 52%, 3%, 0.8);
--lumo-shade-70pct: hsla(290deg, 52%, 3%, 0.7);
--lumo-shade-60pct: hsla(290deg, 52%, 3%, 0.6);
--lumo-shade-50pct: hsla(290deg, 52%, 3%, 0.5);
--lumo-shade-40pct: hsla(290deg, 52%, 3%, 0.4);
--lumo-shade-30pct: hsla(290deg, 52%, 3%, 0.3);
--lumo-shade-20pct: hsla(290deg, 52%, 3%, 0.2);
--lumo-shade-10pct: hsla(290deg, 52%, 3%, 0.1);
--lumo-shade-5pct: hsla(290deg, 52%, 3%, 0.05);
--lumo-shade: hsla(290deg, 52%, 3%, 1);

--lumo-tint-90pct: hsla(0deg, 0%, 100%, 0.9);
--lumo-tint-80pct: hsla(0deg, 0%, 100%, 0.8);
--lumo-tint-70pct: hsla(0deg, 0%, 100%, 0.7);
--lumo-tint-60pct: hsla(0deg, 0%, 100%, 0.6);
--lumo-tint-50pct: hsla(0deg, 0%, 100%, 0.5);
--lumo-tint-40pct: hsla(0deg, 0%, 100%, 0.4);
--lumo-tint-30pct: hsla(0deg, 0%, 100%, 0.3);
--lumo-tint-20pct: hsla(0deg, 0%, 100%, 0.2);
--lumo-tint-10pct: hsla(0deg, 0%, 100%, 0.1);
--lumo-tint-5pct: hsla(0deg, 0%, 100%, 0.05);
--lumo-tint: hsla(0deg, 0%, 100%, 1);

--lumo-primary-color-50pct: hsla(290deg, 52%, 28%, 0.5);
--lumo-primary-color-10pct: hsla(290deg, 52%, 28%, 0.1);
--lumo-primary-color: hsla(290deg, 52%, 28%, 1);
--lumo-primary-contrast-color: hsla(290deg, 52%, 100%, 1);

--lumo-success-color-50pct: hsla(100deg, 50%, 34%, 0.5);
--lumo-success-color-10pct: hsla(100deg, 50%, 34%, 0.1);
--lumo-success-color: hsla(100deg, 50%, 34%, 1);
--lumo-success-contrast-color: hsla(100deg, 50%, 100%, 1);

--lumo-error-color-50pct: hsla(0deg, 50%, 50%, 0.5);
--lumo-error-color-10pct: hsla(0deg, 50%, 50%, 0.1);
--lumo-error-color: hsla(0deg, 50%, 50%, 1);
--lumo-error-contrast-color: hsla(0deg, 50%, 100%, 1);

--lumo-success-text-color: var(--lumo-success-color);
--lumo-primary-text-color: var(--lumo-primary-color);
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
--lumo-error-text-color: var(--lumo-error-color);
--lumo-body-text-color: var(--lumo-contrast-90pct);
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
--lumo-header-text-color: var(--lumo-contrast);
--lumo-base-color: var(--lumo-tint);
--lumo-border-radius-s: 0.2em;
--lumo-border-radius-m: 0.4em;
Expand All @@ -128,4 +130,4 @@

background: var(--lumo-base-color);
}
</style>
</style>
19 changes: 13 additions & 6 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500&display=swap"
rel="stylesheet"
/>
<link href="https://unpkg.com/tailwindcss@^2.0/dist/tailwind.min.css" rel="stylesheet" />

<style>
Expand Down Expand Up @@ -55,7 +58,7 @@
padding: var(--lumo-space-m);
}

.foxy-story--narrow>.foxy-story__preview {
.foxy-story--narrow > .foxy-story__preview {
max-width: 30rem;
border: 1px solid var(--lumo-contrast-10pct);
margin: var(--lumo-space-xl) auto;
Expand All @@ -82,11 +85,15 @@
}

/* Hide "No code available" warning (we have our own thing for this). */
.docs-story> :last-child {
.docs-story > :last-child {
display: none;
}

.docs-story .innerZoomElementWrapper > * {
vertical-align: top;
}

#root {
color-scheme: light dark;
}
</style>
</style>
24 changes: 24 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
"fileMatch": ["/src/static/translations/coupon-card/*.json"],
"url": "./src/static/schemas/coupon-card.json"
},
{
"fileMatch": ["/src/static/translations/coupon-code-card/*.json"],
"url": "./src/static/schemas/coupon-code-card.json"
},
{
"fileMatch": ["/src/static/translations/coupon-code-form/*.json"],
"url": "./src/static/schemas/coupon-code-form.json"
Expand Down Expand Up @@ -116,6 +120,10 @@
"fileMatch": ["/src/static/translations/customer-portal-settings/*.json"],
"url": "./src/static/schemas/customer-portal-settings.json"
},
{
"fileMatch": ["/src/static/translations/customer-portal-settings-form/*.json"],
"url": "./src/static/schemas/customer-portal-settings-form.json"
},
{
"fileMatch": ["/src/static/translations/customers-table/*.json"],
"url": "./src/static/schemas/customers-table.json"
Expand Down Expand Up @@ -168,6 +176,10 @@
"fileMatch": ["/src/static/translations/gift-card-card/*.json"],
"url": "./src/static/schemas/gift-card-card.json"
},
{
"fileMatch": ["/src/static/translations/gift-card-code-card/*.json"],
"url": "./src/static/schemas/gift-card-code-card.json"
},
{
"fileMatch": ["/src/static/translations/gift-card-code-form/*.json"],
"url": "./src/static/schemas/gift-card-code-form.json"
Expand Down Expand Up @@ -248,6 +260,10 @@
"fileMatch": ["/src/static/translations/payment-card/*.json"],
"url": "./src/static/schemas/payment-card.json"
},
{
"fileMatch": ["/src/static/translations/payment-card-embed/*.json"],
"url": "./src/static/schemas/payment-card-embed.json"
},
{
"fileMatch": ["/src/static/translations/payment-method-card/*.json"],
"url": "./src/static/schemas/payment-method-card.json"
Expand Down Expand Up @@ -292,6 +308,10 @@
"fileMatch": ["/src/static/translations/reports-table/*.json"],
"url": "./src/static/schemas/reports-table.json"
},
{
"fileMatch": ["/src/static/translations/shared/*.json"],
"url": "./src/static/schemas/shared.json"
},
{
"fileMatch": ["/src/static/translations/shipment-card/*.json"],
"url": "./src/static/schemas/shipment-card.json"
Expand Down Expand Up @@ -372,6 +392,10 @@
"fileMatch": ["/src/static/translations/transactions-table/*.json"],
"url": "./src/static/schemas/transactions-table.json"
},
{
"fileMatch": ["/src/static/translations/update-payment-method-form/*.json"],
"url": "./src/static/schemas/update-payment-method-form.json"
},
{
"fileMatch": ["/src/static/translations/user-card/*.json"],
"url": "./src/static/schemas/user-card.json"
Expand Down
Loading

0 comments on commit a97c01b

Please sign in to comment.