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.36.0 #195

Merged
merged 18 commits into from
Jan 16, 2025
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
d8a3a92
build: bump node version for cdn upload action
pheekus Dec 20, 2024
54dc196
feat(foxy-native-integration-form): enable custom tax endpoint config
pheekus Dec 20, 2024
602b9b4
refactor(foxy-internal-form): update non-idle styles
pheekus Jan 3, 2025
f0ac53d
feat(foxy-native-integration-form): update ui with new controls
pheekus Jan 3, 2025
ef00aa7
test(foxy-native-integration-card): fix tests
pheekus Jan 7, 2025
e0a9304
fix(foxy-tax-card): fix subtitle text for custom tax endpoint
pheekus Jan 7, 2025
363df6a
feat(foxy-tax-form): rebuild with updated base class and controls
pheekus Jan 7, 2025
9c88266
chore: regenerate custom-elements.json
pheekus Jan 7, 2025
ebcfc69
feat(foxy-payments-api-payment-method-form): add a switch for `use_au…
pheekus Jan 8, 2025
89731d4
fix(foxy-payments-api-payment-method-form): use password controls for…
pheekus Jan 8, 2025
2e7542c
fix(foxy-nucleon): fix default content type
pheekus Jan 8, 2025
6f83652
fix(foxy-admin-subscription-form): use yyyy-mm-dd format for start/en…
pheekus Jan 9, 2025
f21b5f1
feat(foxy-payments-api): update virtual property helper for google re…
pheekus Jan 9, 2025
e8522fe
fix(foxy-customer-portal): support `0000-00-00` date format in `end_d…
pheekus Jan 13, 2025
58ba0d4
chore: update foxy sdk
pheekus Jan 14, 2025
5b3292d
feat(foxy-customer-portal): show Update Password form when logged in …
pheekus Jan 14, 2025
c7da0de
test(foxy-subscription-settings-form): fix tests
pheekus Jan 14, 2025
d86716a
test(foxy-user-invitation-form): fix tests
pheekus Jan 14, 2025
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
Prev Previous commit
Next Next commit
chore: regenerate custom-elements.json
  • Loading branch information
pheekus committed Jan 7, 2025
commit 9c88266929a118ffcb5f387fd6e40c5aa133e722
122 changes: 88 additions & 34 deletions custom-elements.json
Original file line number Diff line number Diff line change
@@ -18848,6 +18848,9 @@
"path": "./src/elements/public/NativeIntegrationForm/index.ts",
"description": "Form element for configuring native integrations (`fx:native_integration`).",
"attributes": [
{
"name": "store"
},
{
"name": "simplify-ns-loading",
"type": "boolean",
@@ -18935,6 +18938,10 @@
}
],
"properties": [
{
"name": "store",
"attribute": "store"
},
{
"name": "simplifyNsLoading",
"attribute": "simplify-ns-loading",
@@ -27341,15 +27348,32 @@
"path": "./src/elements/public/TaxForm/index.ts",
"description": "Form element for creating or editing taxes (`fx:tax`).",
"attributes": [
{
"name": "native-integrations",
"description": "URL of the `fx:native_integrations` collection for the store."
},
{
"name": "countries",
"description": "URI of the `fx:countries` hAPI resource.",
"type": "string"
"description": "URL of the `fx:countries` property helper resource."
},
{
"name": "regions",
"description": "URI of the `fx:regions` hAPI resource.",
"type": "string"
"description": "URL of the `fx:regions` property helper resource."
},
{
"name": "simplify-ns-loading",
"type": "boolean",
"default": "false"
},
{
"name": "ns",
"type": "string",
"default": "\"defaultNS\""
},
{
"name": "status",
"description": "Status message to render at the top of the form. If `null`, the message is hidden.",
"type": "object"
},
{
"name": "mode",
@@ -27383,16 +27407,6 @@
"name": "hiddencontrols",
"default": "\"False\""
},
{
"name": "simplify-ns-loading",
"type": "boolean",
"default": "false"
},
{
"name": "ns",
"type": "string",
"default": "\"defaultNS\""
},
{
"name": "lang",
"description": "Optional ISO 639-1 code describing the language element content is written in.\nChanging the `lang` attribute will update the value of this property.",
@@ -27433,18 +27447,75 @@
}
],
"properties": [
{
"name": "nativeIntegrations",
"attribute": "native-integrations",
"description": "URL of the `fx:native_integrations` collection for the store."
},
{
"name": "countries",
"attribute": "countries",
"description": "URI of the `fx:countries` hAPI resource.",
"type": "string"
"description": "URL of the `fx:countries` property helper resource."
},
{
"name": "regions",
"attribute": "regions",
"description": "URI of the `fx:regions` hAPI resource.",
"description": "URL of the `fx:regions` property helper resource."
},
{
"name": "simplifyNsLoading",
"attribute": "simplify-ns-loading",
"type": "boolean",
"default": "false"
},
{
"name": "ns",
"attribute": "ns",
"type": "string",
"default": "\"defaultNS\""
},
{
"name": "t",
"type": "Translator",
"default": "\"(key, options) => {\\n const I18nElement = customElements.get('foxy-i18n') as typeof I18n | undefined;\\n\\n if (!I18nElement) return key;\\n\\n let keys: string[];\\n\\n if (this.simplifyNsLoading) {\\n const namespaces = this.ns.split(' ').filter(v => v.length > 0);\\n const path = [...namespaces.slice(1), key].join('.');\\n keys = namespaces[0] ? [`${namespaces[0]}:${path}`] : [path];\\n } else {\\n keys = this.ns\\n .split(' ')\\n .reverse()\\n .map(v => v.trim())\\n .filter(v => v.length > 0)\\n .reverse()\\n .map((v, i, a) => `${v}:${[...a.slice(i + 1), key].join('.')}`);\\n }\\n\\n keys.push(key);\\n\\n return I18nElement.i18next.t(keys, { lng: this.lang, ...options }).toString();\\n }\""
},
{
"name": "generalErrorPrefix",
"description": "Validation errors with this prefix will show up at the top of the form.",
"type": "string",
"default": "\"error:\""
},
{
"name": "status",
"attribute": "status",
"description": "Status message to render at the top of the form. If `null`, the message is hidden.",
"type": "object"
},
{
"name": "headerTitleKey",
"description": "Getter that returns a i18n key for the optional form header title.",
"type": "string"
},
{
"name": "headerTitleOptions",
"description": "I18next options to pass to the header title translation function.",
"type": "Record<string, unknown>"
},
{
"name": "headerSubtitleKey",
"description": "Getter that returns a i18n key for the optional form header subtitle. Note that subtitle is shown only when data is avaiable.",
"type": "string"
},
{
"name": "headerSubtitleOptions",
"description": "I18next options to pass to the header subtitle translation function. Note that subtitle is shown only when data is avaiable.",
"type": "Record<string, unknown>"
},
{
"name": "headerCopyIdValue",
"description": "ID that will be written to clipboard when Copy ID button in header is clicked.",
"type": "string | number"
},
{
"name": "templates",
"default": "{}"
@@ -27500,23 +27571,6 @@
"name": "hiddenSelector",
"type": "BooleanSelector"
},
{
"name": "simplifyNsLoading",
"attribute": "simplify-ns-loading",
"type": "boolean",
"default": "false"
},
{
"name": "ns",
"attribute": "ns",
"type": "string",
"default": "\"defaultNS\""
},
{
"name": "t",
"type": "Translator",
"default": "\"(key, options) => {\\n const I18nElement = customElements.get('foxy-i18n') as typeof I18n | undefined;\\n\\n if (!I18nElement) return key;\\n\\n let keys: string[];\\n\\n if (this.simplifyNsLoading) {\\n const namespaces = this.ns.split(' ').filter(v => v.length > 0);\\n const path = [...namespaces.slice(1), key].join('.');\\n keys = namespaces[0] ? [`${namespaces[0]}:${path}`] : [path];\\n } else {\\n keys = this.ns\\n .split(' ')\\n .reverse()\\n .map(v => v.trim())\\n .filter(v => v.length > 0)\\n .reverse()\\n .map((v, i, a) => `${v}:${[...a.slice(i + 1), key].join('.')}`);\\n }\\n\\n keys.push(key);\\n\\n return I18nElement.i18next.t(keys, { lng: this.lang, ...options }).toString();\\n }\""
},
{
"name": "UpdateEvent",
"description": "Instances of this event are dispatched on an element whenever it changes its\nstate (e.g. when going from `busy` to `idle` or on `form` data change).\nThis event isn't cancelable, and it does not bubble.",