Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 1.29.0 #170

Merged
merged 63 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
95bffe3
docs: fix dark theme in storybook
pheekus Jul 30, 2024
3c6caf3
internal(calendar): adjust styles
pheekus Jul 30, 2024
54d4288
internal(card): adjust empty style for one-line cards
pheekus Jul 30, 2024
db47e8b
internal(control): make it possible to override what light dom slots …
pheekus Jul 30, 2024
149b437
internal(form): remove extra padding at the bottom when all actions a…
pheekus Jul 30, 2024
556cc85
fix: fix dialog height in mobile browsers
pheekus Jul 30, 2024
8b6effe
refactor(foxy-attribute-card): adjust styles
pheekus Jul 30, 2024
037b446
refactor: don't limit two line cards in height
pheekus Jul 30, 2024
b537d93
chore: remove duplicate helper text entry
pheekus Jul 30, 2024
a05392c
docs: add missing fields to demo server resources
pheekus Jul 30, 2024
a2bb910
internal(resource-picker-control): add support for summary item layout
pheekus Aug 3, 2024
4a0a21a
internal(select-control): add support for summary item layout
pheekus Aug 3, 2024
f82c984
build: upgrade nvmrc to node 20
pheekus Aug 3, 2024
4a0f45a
build: don't fail on minification error
pheekus Aug 3, 2024
4b3fad7
internal: add `foxy-internal-summary-control` element
pheekus Aug 3, 2024
63e568d
internal: add `foxy-internal-switch-control`
pheekus Aug 3, 2024
b8ffa01
internal(text-control): add support for summary item layout
pheekus Aug 3, 2024
3454772
build: add new element to test config
pheekus Aug 3, 2024
b10fbc3
feat(foxy-cart-form): improve support for address, customer and payme…
pheekus Aug 4, 2024
c5b30e1
fix(foxy-form-dialog): hide built-in Submit and Undo buttons in dialo…
pheekus Aug 4, 2024
245c2a7
fix(foxy-api-browser): fix translations for Submit and Undo buttons
pheekus Aug 4, 2024
caffdad
fix(foxy-address-form): fix headers for default billing and shipping …
pheekus Aug 4, 2024
a6e8dfd
test: update tests
pheekus Aug 4, 2024
f8c7044
fix(foxy-form-dialog): hide Save button when form is empty and has no…
pheekus Aug 6, 2024
88cc9be
fix: hide Save Changes button in empty forms
pheekus Aug 6, 2024
9d22d52
fix(foxy-cart-form): fix default payment method not showing when no o…
pheekus Aug 7, 2024
f360f0e
internal(date-picker): add support for summary item layout
pheekus Aug 7, 2024
82976b8
internal(number-control): add support for summary item layout
pheekus Aug 7, 2024
1c5c0ec
internal(frequency-control): add support for summary item layout
pheekus Aug 9, 2024
c304570
feat: add `foxy-admin-subscription-form` element
pheekus Aug 9, 2024
61e5c95
test(foxy-store-shipping-method-form): update tests
pheekus Aug 9, 2024
61cf730
internal(editable-list-control): add support for summary item layout
pheekus Aug 12, 2024
808300c
refactor: make helper text size consistent with vaadin elements
pheekus Aug 12, 2024
2b3bc0b
internal(number-control): treat 0 as empty value
pheekus Aug 13, 2024
3f9171b
internal(switch-control): add support for hiding helper text in a too…
pheekus Aug 13, 2024
5363235
feat(foxy-subscription-settings-form): update ui and available options
pheekus Aug 13, 2024
d2ca0d9
internal(number-control): fix summary item layout values being report…
pheekus Aug 13, 2024
7ac700e
internal(number-control): add support for `step` attribute
pheekus Aug 13, 2024
47f3dbf
internal: hide error messages in select, number and text controls in …
pheekus Aug 13, 2024
eb2e0b9
feat(foxy-item-category-form): redesign with summary controls and rem…
pheekus Aug 14, 2024
83274f8
fix(foxy-webhook-form): hide zapier and webflow from format options s…
pheekus Aug 14, 2024
fade0d8
fix(foxy-native-integration-form): remove internal webflow auth field
pheekus Aug 14, 2024
c9c885f
refactor(foxy-native-integration-form): update warning ui
pheekus Aug 14, 2024
ae33ffa
feat(foxy-webhook-form): hardcode webhook version
pheekus Aug 14, 2024
c36d4b8
feat(foxy-webhook-form): use password control with generator for encr…
pheekus Aug 14, 2024
042a046
fix(foxy-webhook-form): require encryption key
pheekus Aug 14, 2024
ca0b78c
internal(editable-list-control): remove extra margin in standalone la…
pheekus Aug 14, 2024
4f85dd7
fix(foxy-store-form): clarify xml webhook description and remove extr…
pheekus Aug 14, 2024
4108e43
feat(foxy-client-form): display redirect domain in subtitle
pheekus Aug 14, 2024
c1ec334
feat(foxy-payments-api-payment-preset-form): group set settings into …
pheekus Aug 14, 2024
04a7aa2
refactor(foxy-payments-api-payment-preset-form): use item/form props …
pheekus Aug 14, 2024
df2b3c4
fix(foxy-payments-api-payment-preset-form): make po and live switches…
pheekus Aug 15, 2024
8ddb3f9
fix(foxy-customer-portal): add missing translations for payment card …
pheekus Aug 16, 2024
43e90de
fix(foxy-payments-api): output conflicts for hosted gateways same way…
pheekus Aug 16, 2024
efa33aa
feat(foxy-payments-api-payment-method-form): use summary ui for form …
pheekus Aug 16, 2024
0e73d11
internal(switch-control): hide helper text element when there's no he…
pheekus Aug 16, 2024
31d00c8
fix(foxy-payments-api-payment-preset-form): display Off for Use Live …
pheekus Aug 16, 2024
41c61ce
fix(foxy-payments-api-payment-method-form): hide additional fields wi…
pheekus Aug 19, 2024
4fa4310
feat(foxy-payments-api-payment-method-form): display temporary warnin…
pheekus Aug 19, 2024
0dd445a
feat(foxy-payments-api-fraud-protection-form): update ui with summary…
pheekus Aug 19, 2024
bb53c05
feat(foxy-payments-api): output conflict info in available fraud prot…
pheekus Aug 20, 2024
a968089
fix(foxy-payments-api-fraud-protection-form): disallow adding more th…
pheekus Aug 20, 2024
2ccf96e
fix(foxy-payments-api-payment-preset-form): fix live and po toggles
pheekus Aug 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
126 changes: 65 additions & 61 deletions .storybook/preview-body.html
Original file line number Diff line number Diff line change
@@ -1,65 +1,4 @@
<style>
@media (prefers-color-scheme: dark) {
:root {
--lumo-contrast-90pct: hsla(290deg, 52%, 100%, 0.9);
--lumo-contrast-80pct: hsla(290deg, 52%, 100%, 0.8);
--lumo-contrast-70pct: hsla(290deg, 52%, 100%, 0.7);
--lumo-contrast-60pct: hsla(290deg, 52%, 100%, 0.6);
--lumo-contrast-50pct: hsla(290deg, 52%, 100%, 0.5);
--lumo-contrast-40pct: hsla(290deg, 52%, 100%, 0.4);
--lumo-contrast-30pct: hsla(290deg, 52%, 100%, 0.3);
--lumo-contrast-20pct: hsla(290deg, 52%, 100%, 0.2);
--lumo-contrast-10pct: hsla(290deg, 52%, 100%, 0.1);
--lumo-contrast-5pct: hsla(290deg, 52%, 100%, 0.05);
--lumo-contrast: hsla(290deg, 52%, 100%, 1);

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

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

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

--lumo-success-color-50pct: hsla(100deg, 50%, 30%, 0.5);
--lumo-success-color-10pct: hsla(100deg, 50%, 30%, 0.1);
--lumo-success-color: hsla(100deg, 50%, 30%, 1);
--lumo-success-contrast-color: hsla(100deg, 50%, 10%, 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%, 10%, 1);
}
}

@media (pointer: fine) {
:root {
font-size: 14px;
}
}

:root,
.docs-story {
--lumo-contrast-90pct: hsla(290deg, 52%, 3%, 0.9);
Expand Down Expand Up @@ -128,6 +67,71 @@
--lumo-border-radius: 0.4em;
--lumo-font-family: 'Albert Sans', sans-serif;

--lumo-color-scheme: light;

background: var(--lumo-base-color);
}

@media (prefers-color-scheme: dark) {
:root {
--lumo-contrast-90pct: hsla(290deg, 52%, 100%, 0.9);
--lumo-contrast-80pct: hsla(290deg, 52%, 100%, 0.8);
--lumo-contrast-70pct: hsla(290deg, 52%, 100%, 0.7);
--lumo-contrast-60pct: hsla(290deg, 52%, 100%, 0.6);
--lumo-contrast-50pct: hsla(290deg, 52%, 100%, 0.5);
--lumo-contrast-40pct: hsla(290deg, 52%, 100%, 0.4);
--lumo-contrast-30pct: hsla(290deg, 52%, 100%, 0.3);
--lumo-contrast-20pct: hsla(290deg, 52%, 100%, 0.2);
--lumo-contrast-10pct: hsla(290deg, 52%, 100%, 0.1);
--lumo-contrast-5pct: hsla(290deg, 52%, 100%, 0.05);
--lumo-contrast: hsla(290deg, 52%, 100%, 1);

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

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

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

--lumo-success-color-50pct: hsla(100deg, 50%, 30%, 0.5);
--lumo-success-color-10pct: hsla(100deg, 50%, 30%, 0.1);
--lumo-success-color: hsla(100deg, 50%, 30%, 1);
--lumo-success-contrast-color: hsla(100deg, 50%, 10%, 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%, 10%, 1);

--lumo-color-scheme: dark;
}
}

@media (pointer: fine) {
:root {
font-size: 14px;
}
}
</style>
2 changes: 1 addition & 1 deletion .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}

.foxy-story--narrow > .foxy-story__preview {
max-width: 30rem;
max-width: 50rem;
border: 1px solid var(--lumo-contrast-10pct);
margin: var(--lumo-space-xl) auto;
}
Expand Down
Loading