@vtex/faststore 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +101 -0
- package/dist/actions.json +181 -0
- package/dist/catalog.json +1673 -484
- package/dist/cli/UnreachableCaseError-Crd168Vu.js +10 -0
- package/dist/cli/UnreachableCaseError-Crd168Vu.js.map +1 -0
- package/dist/cli/cacheControl-CEojH_TM.js +158 -0
- package/dist/cli/cacheControl-CEojH_TM.js.map +1 -0
- package/dist/cli/cachePolicy-m2vASMRW.js +26 -0
- package/dist/cli/cachePolicy-m2vASMRW.js.map +1 -0
- package/dist/cli/computeCoreSchemaHash-DPJZj-qJ.js +10 -0
- package/dist/cli/computeCoreSchemaHash-DPJZj-qJ.js.map +1 -0
- package/dist/cli/default-BCQHcwbL.js +253 -0
- package/dist/cli/default-BCQHcwbL.js.map +1 -0
- package/dist/cli/disableSuggestions-yO9UqiWn.js +21 -0
- package/dist/cli/disableSuggestions-yO9UqiWn.js.map +1 -0
- package/dist/cli/dist-C1JhdHfo.js +2001 -0
- package/dist/cli/dist-C1JhdHfo.js.map +1 -0
- package/dist/cli/graphql-DG9thCDG.js +14589 -0
- package/dist/cli/graphql-DG9thCDG.js.map +1 -0
- package/dist/cli/index.d.ts +350 -0
- package/dist/cli/index.js +35047 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/index.min-BsIHDfFK.js +613 -0
- package/dist/cli/index.min-BsIHDfFK.js.map +1 -0
- package/dist/cli/inlineTrace-uLgOJ3TH.js +52 -0
- package/dist/cli/inlineTrace-uLgOJ3TH.js.map +1 -0
- package/dist/cli/internalPlugin-DnuwN4_4.js +11 -0
- package/dist/cli/internalPlugin-DnuwN4_4.js.map +1 -0
- package/dist/cli/packageVersion-DQAnIEil.js +6 -0
- package/dist/cli/packageVersion-DQAnIEil.js.map +1 -0
- package/dist/cli/rolldown-runtime-BMI-E3GI.js +44 -0
- package/dist/cli/schemaIsSubgraph-DoGh3OYj.js +17 -0
- package/dist/cli/schemaIsSubgraph-DoGh3OYj.js.map +1 -0
- package/dist/cli/schemaReporting-K-me-3-v.js +199 -0
- package/dist/cli/schemaReporting-K-me-3-v.js.map +1 -0
- package/dist/cli/server-runtime.js +49859 -0
- package/dist/cli/server-runtime.js.map +1 -0
- package/dist/cli/traceTreeBuilder-BIcV2U7b.js +9118 -0
- package/dist/cli/traceTreeBuilder-BIcV2U7b.js.map +1 -0
- package/dist/cli/usageReporting-Bpl8vSZX.js +10201 -0
- package/dist/cli/usageReporting-Bpl8vSZX.js.map +1 -0
- package/dist/cli/v4-CBhFvC49.js +42 -0
- package/dist/cli/v4-CBhFvC49.js.map +1 -0
- package/dist/client.d.ts +2 -1
- package/dist/client.js +2 -1
- package/dist/components.d.ts +32 -9
- package/dist/components.js +35 -14
- package/dist/content-types.json +93 -0
- package/dist/core/dist/define-component.d.ts +37 -0
- package/dist/core/dist/index.d.ts +2 -2
- package/dist/docs/access-code-sign-in.md +1 -1
- package/dist/docs/account-entry-point.md +1 -1
- package/dist/docs/account-menu-identity.md +160 -0
- package/dist/docs/account-menu.md +106 -23
- package/dist/docs/address-summary.md +24 -3
- package/dist/docs/alert-dialog.md +204 -0
- package/dist/docs/avatar.md +103 -0
- package/dist/docs/billing-address.md +284 -0
- package/dist/docs/card-entry.md +250 -0
- package/dist/docs/cardholder-document.md +142 -0
- package/dist/docs/client-preferences-fieldset.md +148 -0
- package/dist/docs/client-preferences.md +2 -1
- package/dist/docs/client-profile-fieldset.md +184 -0
- package/dist/docs/client-profile.md +1 -1
- package/dist/docs/document-field.md +58 -4
- package/dist/docs/field.md +317 -0
- package/dist/docs/form.md +307 -0
- package/dist/docs/identity-edit.md +6 -6
- package/dist/docs/identity-summary.md +5 -5
- package/dist/docs/installments.md +248 -0
- package/dist/docs/my-account-profile.md +2 -1
- package/dist/docs/order-placed-payment-summary.md +138 -0
- package/dist/docs/payment-method-badges.md +232 -0
- package/dist/docs/payment-methods.md +1 -0
- package/dist/docs/payment.md +218 -0
- package/dist/docs/phone-field.md +58 -4
- package/dist/docs/place-order.md +157 -0
- package/dist/docs/product-shelf.md +20 -13
- package/dist/docs/save-card.md +186 -0
- package/dist/docs/saved-cards.md +218 -0
- package/dist/docs/select.md +465 -0
- package/dist/docs/shipping-address.md +110 -258
- package/dist/index.d.ts +5 -2
- package/dist/internal/client.d.ts +3 -1
- package/dist/internal/client.js +4 -2
- package/dist/internal/content.d.ts +2 -2
- package/dist/internal/server.d.ts +4 -1
- package/dist/internal/server.js +4 -1
- package/dist/matter/access-code-sign-in/access-code-sign-in.js +9 -8
- package/dist/matter/access-code-sign-in/access-code-sign-in.js.map +1 -1
- package/dist/matter/account-access-gate/account-access-gate.js.map +1 -1
- package/dist/matter/account-entry-point/account-entry-point.js +1 -1
- package/dist/matter/account-entry-point/account-entry-point.js.map +1 -1
- package/dist/matter/account-menu/account-menu.d.ts +70 -0
- package/dist/matter/account-menu/account-menu.js +201 -9
- package/dist/matter/account-menu/account-menu.js.map +1 -1
- package/dist/matter/account-menu/sign-out-failure.js +50 -0
- package/dist/matter/account-menu/sign-out-failure.js.map +1 -0
- package/dist/matter/account-menu-identity/account-menu-identity.d.ts +21 -0
- package/dist/matter/account-menu-identity/account-menu-identity.js +88 -0
- package/dist/matter/account-menu-identity/account-menu-identity.js.map +1 -0
- package/dist/matter/billing-address/billing-address.d.ts +165 -0
- package/dist/matter/billing-address/billing-address.js +408 -0
- package/dist/matter/billing-address/billing-address.js.map +1 -0
- package/dist/matter/card-entry/card-capture.d.ts +25 -0
- package/dist/matter/card-entry/card-capture.js +25 -0
- package/dist/matter/card-entry/card-capture.js.map +1 -0
- package/dist/matter/card-entry/card-entry.d.ts +120 -0
- package/dist/matter/card-entry/card-entry.js +833 -0
- package/dist/matter/card-entry/card-entry.js.map +1 -0
- package/dist/matter/cardholder-document/cardholder-document.d.ts +45 -0
- package/dist/matter/cardholder-document/cardholder-document.js +70 -0
- package/dist/matter/cardholder-document/cardholder-document.js.map +1 -0
- package/dist/matter/cart/cart.js +1 -1
- package/dist/matter/client-preferences/client-preferences-fieldset.d.ts +77 -0
- package/dist/matter/client-preferences/client-preferences-fieldset.js +299 -0
- package/dist/matter/client-preferences/client-preferences-fieldset.js.map +1 -0
- package/dist/matter/client-preferences/client-preferences.d.ts +3 -5
- package/dist/matter/client-preferences/client-preferences.js +6 -6
- package/dist/matter/client-preferences/client-preferences.js.map +1 -1
- package/dist/matter/client-profile/client-profile.d.ts +4 -6
- package/dist/matter/client-profile/client-profile.js +9 -6
- package/dist/matter/client-profile/client-profile.js.map +1 -1
- package/dist/matter/client-profile-form/client-profile-fieldset.d.ts +119 -0
- package/dist/matter/client-profile-form/client-profile-fieldset.js +488 -0
- package/dist/matter/client-profile-form/client-profile-fieldset.js.map +1 -0
- package/dist/matter/identity-edit/identity-edit.js +2 -2
- package/dist/matter/identity-edit/identity-edit.js.map +1 -1
- package/dist/matter/identity-summary/identity-summary.js +3 -2
- package/dist/matter/identity-summary/identity-summary.js.map +1 -1
- package/dist/matter/installments/installments-select.d.ts +42 -0
- package/dist/matter/installments/installments-select.js +167 -0
- package/dist/matter/installments/installments-select.js.map +1 -0
- package/dist/matter/installments/installments.d.ts +58 -0
- package/dist/matter/installments/installments.js +176 -0
- package/dist/matter/installments/installments.js.map +1 -0
- package/dist/matter/installments/use-installments-selection.d.ts +29 -0
- package/dist/matter/installments/use-installments-selection.js +95 -0
- package/dist/matter/installments/use-installments-selection.js.map +1 -0
- package/dist/matter/my-account-profile/my-account-profile.d.ts +3 -0
- package/dist/matter/my-account-profile/my-account-profile.js +6 -5
- package/dist/matter/my-account-profile/my-account-profile.js.map +1 -1
- package/dist/matter/order-placed-payment-summary/order-placed-payment-summary.d.ts +63 -0
- package/dist/matter/order-placed-payment-summary/order-placed-payment-summary.js +305 -0
- package/dist/matter/order-placed-payment-summary/order-placed-payment-summary.js.map +1 -0
- package/dist/matter/payment/payment-card-capture.d.ts +19 -0
- package/dist/matter/payment/payment-card-capture.js +129 -0
- package/dist/matter/payment/payment-card-capture.js.map +1 -0
- package/dist/matter/payment/payment-controller.d.ts +24 -0
- package/dist/matter/payment/payment-controller.js +108 -0
- package/dist/matter/payment/payment-controller.js.map +1 -0
- package/dist/matter/payment/payment-method-badges.d.ts +57 -0
- package/dist/matter/payment/payment-method-badges.js +192 -0
- package/dist/matter/payment/payment-method-badges.js.map +1 -0
- package/dist/matter/payment/payment.d.ts +89 -0
- package/dist/matter/payment/payment.js +264 -0
- package/dist/matter/payment/payment.js.map +1 -0
- package/dist/matter/payment/use-payment-method-selection.d.ts +302 -0
- package/dist/matter/payment/use-payment-method-selection.js +458 -0
- package/dist/matter/payment/use-payment-method-selection.js.map +1 -0
- package/dist/matter/payment/use-payment-submit-gate.d.ts +111 -0
- package/dist/matter/payment/use-payment-submit-gate.js +144 -0
- package/dist/matter/payment/use-payment-submit-gate.js.map +1 -0
- package/dist/matter/place-order/place-order.d.ts +74 -0
- package/dist/matter/place-order/place-order.js +379 -0
- package/dist/matter/place-order/place-order.js.map +1 -0
- package/dist/matter/product-list/product-list.d.ts +1 -0
- package/dist/matter/product-list/product-list.js.map +1 -1
- package/dist/matter/product-shelf/product-shelf.d.ts +62 -31
- package/dist/matter/product-shelf/product-shelf.js +159 -57
- package/dist/matter/product-shelf/product-shelf.js.map +1 -1
- package/dist/matter/region/region.js +1 -1
- package/dist/matter/region/region.js.map +1 -1
- package/dist/matter/save-card/save-card.d.ts +49 -0
- package/dist/matter/save-card/save-card.js +188 -0
- package/dist/matter/save-card/save-card.js.map +1 -0
- package/dist/matter/saved-cards/saved-cards.d.ts +79 -0
- package/dist/matter/saved-cards/saved-cards.js +388 -0
- package/dist/matter/saved-cards/saved-cards.js.map +1 -0
- package/dist/matter/shipping-address/country-descriptors.js +20 -10
- package/dist/matter/shipping-address/country-descriptors.js.map +1 -1
- package/dist/matter/shipping-address/shipping-address.d.ts +113 -174
- package/dist/matter/shipping-address/shipping-address.js +480 -791
- package/dist/matter/shipping-address/shipping-address.js.map +1 -1
- package/dist/matter/variant-selector/variant-selector.js +1 -1
- package/dist/particles/address-summary/address-summary.d.ts +24 -0
- package/dist/particles/address-summary/address-summary.js +83 -2
- package/dist/particles/address-summary/address-summary.js.map +1 -1
- package/dist/particles/alert-dialog/alert-dialog.d.ts +68 -0
- package/dist/particles/alert-dialog/alert-dialog.js +187 -0
- package/dist/particles/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/particles/avatar/avatar.d.ts +17 -0
- package/dist/particles/avatar/avatar.js +65 -0
- package/dist/particles/avatar/avatar.js.map +1 -0
- package/dist/particles/checkbox/checkbox.d.ts +7 -3
- package/dist/particles/checkbox/checkbox.js +4 -1
- package/dist/particles/checkbox/checkbox.js.map +1 -1
- package/dist/particles/document-field/document-field.d.ts +48 -5
- package/dist/particles/document-field/document-field.js +189 -32
- package/dist/particles/document-field/document-field.js.map +1 -1
- package/dist/particles/field/bound-field-registry.js +52 -0
- package/dist/particles/field/bound-field-registry.js.map +1 -0
- package/dist/particles/field/field.d.ts +116 -0
- package/dist/particles/field/field.js +497 -6
- package/dist/particles/field/field.js.map +1 -1
- package/dist/particles/fieldset/fieldset.js +2 -2
- package/dist/particles/fieldset/fieldset.js.map +1 -1
- package/dist/particles/form/form.d.ts +104 -0
- package/dist/particles/form/form.js +485 -0
- package/dist/particles/form/form.js.map +1 -0
- package/dist/particles/phone-field/phone-field.d.ts +38 -10
- package/dist/particles/phone-field/phone-field.js +183 -39
- package/dist/particles/phone-field/phone-field.js.map +1 -1
- package/dist/particles/postal-code-field/postal-code-field.js +2 -2
- package/dist/particles/postal-code-field/postal-code-field.js.map +1 -1
- package/dist/particles/select/field-select.d.ts +43 -0
- package/dist/particles/select/field-select.js +150 -0
- package/dist/particles/select/field-select.js.map +1 -0
- package/dist/particles/select/select.d.ts +2 -0
- package/dist/particles/select/select.js.map +1 -1
- package/dist/particles/shared/compose-refs.js +21 -0
- package/dist/particles/shared/compose-refs.js.map +1 -0
- package/dist/schema.graphql +766 -28
- package/dist/sdk/actions/analytics-action-provider.d.ts +15 -0
- package/dist/sdk/actions/analytics-action-provider.js +19 -0
- package/dist/sdk/actions/analytics-action-provider.js.map +1 -0
- package/dist/sdk/actions/index.d.ts +3 -1
- package/dist/sdk/actions/index.js +3 -1
- package/dist/sdk/actions/payment-action-provider.d.ts +22 -0
- package/dist/sdk/actions/payment-action-provider.js +26 -0
- package/dist/sdk/actions/payment-action-provider.js.map +1 -0
- package/dist/sdk/actions/types.d.ts +6 -2
- package/dist/sdk/analytics/analytics-destination.d.ts +43 -0
- package/dist/sdk/analytics/analytics-destination.js +90 -0
- package/dist/sdk/analytics/analytics-destination.js.map +1 -0
- package/dist/sdk/analytics/use-analytics-actions.d.ts +57 -0
- package/dist/sdk/analytics/use-analytics-actions.js +109 -0
- package/dist/sdk/analytics/use-analytics-actions.js.map +1 -0
- package/dist/sdk/cart/use-cart-actions.js +10 -9
- package/dist/sdk/cart/use-cart-actions.js.map +1 -1
- package/dist/sdk/cart/use-cart-validate-on-open.js +2 -1
- package/dist/sdk/cart/use-cart-validate-on-open.js.map +1 -1
- package/dist/sdk/content/create-content-runtime.d.ts +22 -1
- package/dist/sdk/content/create-content-runtime.js +89 -1
- package/dist/sdk/content/create-content-runtime.js.map +1 -1
- package/dist/sdk/data/empty-content-value.js +16 -0
- package/dist/sdk/data/empty-content-value.js.map +1 -0
- package/dist/sdk/data/entity-resolution-context.js +31 -0
- package/dist/sdk/data/entity-resolution-context.js.map +1 -0
- package/dist/sdk/data/entity-subscriber.js +18 -8
- package/dist/sdk/data/entity-subscriber.js.map +1 -1
- package/dist/sdk/data/hot-data-provider.js +2 -1
- package/dist/sdk/data/hot-data-provider.js.map +1 -1
- package/dist/sdk/data/index.js +2 -1
- package/dist/sdk/data/page-reactive-data-root.d.ts +36 -0
- package/dist/sdk/data/page-reactive-data-root.js +4 -2
- package/dist/sdk/data/page-reactive-data-root.js.map +1 -1
- package/dist/sdk/data/reactive-data-provider.js +7 -3
- package/dist/sdk/data/reactive-data-provider.js.map +1 -1
- package/dist/sdk/data/reactive-list-item-data-provider.js +12 -4
- package/dist/sdk/data/reactive-list-item-data-provider.js.map +1 -1
- package/dist/sdk/data/use-reactive-data-settled.js +39 -0
- package/dist/sdk/data/use-reactive-data-settled.js.map +1 -0
- package/dist/sdk/data/use-reactive-entity.js +5 -1
- package/dist/sdk/data/use-reactive-entity.js.map +1 -1
- package/dist/sdk/data/variables-from-content.d.ts +43 -0
- package/dist/sdk/data/variables-from-content.js +57 -0
- package/dist/sdk/data/variables-from-content.js.map +1 -0
- package/dist/sdk/generated/fragment-types.js +2 -0
- package/dist/sdk/generated/fragment-types.js.map +1 -1
- package/dist/sdk/generated/gql.js +2 -1
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.js +85 -1
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/i18n/messages/en-US.js +3 -0
- package/dist/sdk/i18n/messages/en-US.json +3 -0
- package/dist/sdk/i18n/messages/en-US.json.d.ts +3 -0
- package/dist/sdk/i18n/messages/es-ES.js +3 -0
- package/dist/sdk/i18n/messages/es-ES.json +3 -0
- package/dist/sdk/i18n/messages/pt-BR.js +3 -0
- package/dist/sdk/i18n/messages/pt-BR.json +3 -0
- package/dist/sdk/identity/use-identity-actions.js +8 -6
- package/dist/sdk/identity/use-identity-actions.js.map +1 -1
- package/dist/sdk/payment/gateway-origin.js +35 -0
- package/dist/sdk/payment/gateway-origin.js.map +1 -0
- package/dist/sdk/payment/gateway.d.ts +85 -0
- package/dist/sdk/payment/gateway.js +183 -0
- package/dist/sdk/payment/gateway.js.map +1 -0
- package/dist/sdk/payment/operations.d.ts +52 -0
- package/dist/sdk/payment/operations.js +223 -0
- package/dist/sdk/payment/operations.js.map +1 -0
- package/dist/sdk/payment/security-code-mask.js +71 -0
- package/dist/sdk/payment/security-code-mask.js.map +1 -0
- package/dist/sdk/payment/submission-registry.d.ts +33 -0
- package/dist/sdk/payment/submission-registry.js +58 -0
- package/dist/sdk/payment/submission-registry.js.map +1 -0
- package/dist/sdk/payment/use-payment-actions.d.ts +78 -0
- package/dist/sdk/payment/use-payment-actions.js +276 -0
- package/dist/sdk/payment/use-payment-actions.js.map +1 -0
- package/dist/sdk/payment/use-place-order.d.ts +65 -0
- package/dist/sdk/payment/use-place-order.js +640 -0
- package/dist/sdk/payment/use-place-order.js.map +1 -0
- package/dist/sdk/region/use-region-actions.js +2 -1
- package/dist/sdk/region/use-region-actions.js.map +1 -1
- package/dist/sdk/session/read-server-session.d.ts +21 -0
- package/dist/sdk/session/read-server-session.js +61 -0
- package/dist/sdk/session/read-server-session.js.map +1 -0
- package/dist/sdk/session/use-session-actions.js +5 -4
- package/dist/sdk/session/use-session-actions.js.map +1 -1
- package/dist/sdk/session/use-session-revalidation.js +2 -1
- package/dist/sdk/session/use-session-revalidation.js.map +1 -1
- package/dist/sdk/shipping/use-shipping-actions.js +4 -3
- package/dist/sdk/shipping/use-shipping-actions.js.map +1 -1
- package/dist/utils/loggable-error-name.js +49 -0
- package/dist/utils/loggable-error-name.js.map +1 -0
- package/dist/utils/resolve-authored-copy.js +18 -0
- package/dist/utils/resolve-authored-copy.js.map +1 -0
- package/dist/utils/safe-href.d.ts +11 -0
- package/dist/utils/substitute-template.js +33 -0
- package/dist/utils/substitute-template.js.map +1 -0
- package/package.json +14 -2
- package/src/styles/tailwind.css +34 -0
- package/dist/docs/client-profile-form.md +0 -192
- package/dist/matter/client-profile-form/client-profile-form.d.ts +0 -126
- package/dist/matter/client-profile-form/client-profile-form.js +0 -662
- package/dist/matter/client-profile-form/client-profile-form.js.map +0 -1
package/dist/components.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Checkbox, CheckboxGroup, CheckboxGroupDefinition, CheckboxIndicator, CheckboxIndicatorDefinition, CheckboxRoot, CheckboxRootDefinition } from "./particles/checkbox/checkbox.js";
|
|
2
|
+
import { Field, FieldBinding, FieldCheckbox, FieldCheckboxDefinition, FieldControl, FieldControlDefinition, FieldDescription, FieldDescriptionDefinition, FieldError, FieldErrorDefinition, FieldLabel, FieldLabelDefinition, FieldRoot, FieldRootDefinition, FieldValidity, FieldValidityDefinition, FieldsetFieldContext, useField, useFieldsetContext, useFieldsetField, useFieldsetFieldNames, useNoAncestorFieldset } from "./particles/field/field.js";
|
|
2
3
|
import { AccessCodeField, AccessCodeFieldDefinition } from "./particles/access-code-field/access-code-field.js";
|
|
3
4
|
import { EMAIL_VALIDATE_REGEX, EmailField, EmailFieldDefinition, isValidEmail } from "./particles/email-field/email-field.js";
|
|
4
5
|
import { Session, SessionContext, SessionGuard, SessionGuardDefinition, SessionRoot, SessionRootDefinition, deriveSessionState, useSession } from "./matter/session/session.js";
|
|
@@ -8,12 +9,25 @@ import { declareSignOutIntent, useSignOutIntent, withdrawSignOutIntent } from ".
|
|
|
8
9
|
import { AccountAccessGate, AccountAccessGateContent, AccountAccessGateDefinition, AccountAccessGateLoading, AccountAccessGateNotice } from "./matter/account-access-gate/account-access-gate.js";
|
|
9
10
|
import { Icon, IconDefinition } from "./particles/icon/icon.js";
|
|
10
11
|
import { AccountEntryPoint, AccountEntryPointContent, AccountEntryPointDefinition, AccountEntryPointLoading } from "./matter/account-entry-point/account-entry-point.js";
|
|
11
|
-
import { AccountMenu, AccountMenuContent, AccountMenuList, AccountMenuListDefinition, AccountMenuRoot, AccountMenuRootDefinition, useAccountMenu } from "./matter/account-menu/account-menu.js";
|
|
12
|
+
import { AccountMenu, AccountMenuContent, AccountMenuIndexRedirect, AccountMenuIndexRedirectContent, AccountMenuIndexRedirectDefinition, AccountMenuList, AccountMenuListDefinition, AccountMenuRoot, AccountMenuRootDefinition, AccountMenuSignOut, AccountMenuSignOutContent, AccountMenuSignOutDefinition, useAccountMenu } from "./matter/account-menu/account-menu.js";
|
|
13
|
+
import { Avatar, AvatarDefinition } from "./particles/avatar/avatar.js";
|
|
14
|
+
import { AccountMenuIdentity, AccountMenuIdentityDefinition, AccountMenuIdentitySkeleton, AccountMenuIdentitySkeletonDefinition } from "./matter/account-menu-identity/account-menu-identity.js";
|
|
15
|
+
import { Select, SelectArrow, SelectArrowDefinition, SelectBackdrop, SelectBackdropDefinition, SelectGroup, SelectGroupDefinition, SelectGroupLabel, SelectGroupLabelDefinition, SelectIcon, SelectIconDefinition, SelectItem, SelectItemDefinition, SelectItemIndicator, SelectItemIndicatorDefinition, SelectItemText, SelectItemTextDefinition, SelectLabel, SelectLabelDefinition, SelectList, SelectListDefinition, SelectPopup, SelectPopupDefinition, SelectPortal, SelectPortalDefinition, SelectPositioner, SelectPositionerDefinition, SelectRoot, SelectRootDefinition, SelectScrollDownArrow, SelectScrollDownArrowDefinition, SelectScrollUpArrow, SelectScrollUpArrowDefinition, SelectSeparator, SelectSeparatorDefinition, SelectTrigger, SelectTriggerDefinition, SelectValue, SelectValueDefinition } from "./particles/select/select.js";
|
|
16
|
+
import { Fieldset, FieldsetLegend, FieldsetLegendDefinition, FieldsetRoot, FieldsetRootDefinition } from "./particles/fieldset/fieldset.js";
|
|
17
|
+
import { Radio, RadioGroup, RadioGroupDefinition, RadioIndicator, RadioIndicatorDefinition, RadioRoot, RadioRootDefinition } from "./particles/radio/radio.js";
|
|
18
|
+
import { resolveBinConfirmation } from "./matter/payment/use-payment-method-selection.js";
|
|
19
|
+
import { DEFAULT_METHOD_GROUP, PaymentContext, PaymentMethodList, PaymentMethodListDefinition, PaymentSectionRoot, PaymentSectionRootDefinition, usePayment } from "./matter/payment/payment.js";
|
|
20
|
+
import { BillingAddress, BillingAddressDefinition, isBillingAddressFormValid, resolveSameAsDelivery } from "./matter/billing-address/billing-address.js";
|
|
12
21
|
import { Breadcrumb, BreadcrumbLink, BreadcrumbLinkDefinition, BreadcrumbList, BreadcrumbListDefinition, BreadcrumbRoot, BreadcrumbRootDefinition, BreadcrumbSeparator, BreadcrumbSeparatorDefinition } from "./matter/breadcrumb/breadcrumb.js";
|
|
13
22
|
import { Button, ButtonDefinition } from "./particles/button/button.js";
|
|
14
23
|
import { QUANTITY_MAX_EXCEEDED_MESSAGE_ID, QuantitySelector, QuantitySelectorMessage, QuantitySelectorMessageDefinition, QuantitySelectorRoot, QuantitySelectorRootDefinition, defaultMaxExceededMessage } from "./particles/quantity-selector/quantity-selector.js";
|
|
15
24
|
import { ProductQuantity, ProductQuantityRoot, ProductQuantityRootDefinition, ProductQuantitySelector, ProductQuantitySelectorDefinition, useProductQuantity } from "./matter/product-quantity/product-quantity.js";
|
|
16
25
|
import { BuyButton, BuyButtonButton, BuyButtonButtonDefinition, BuyButtonLabels, BuyButtonRoot, BuyButtonRootDefinition, BuyButtonSkeleton } from "./matter/buy-button/buy-button.js";
|
|
26
|
+
import { applyMask } from "./particles/shared/input-mask.js";
|
|
27
|
+
import { DOCUMENTS, DocumentField, DocumentFieldDefinition, DocumentFieldInput, DocumentFieldInputDefinition, isSupportedDocumentType, isValidDocument, maskDocumentValue, validateCPF } from "./particles/document-field/document-field.js";
|
|
28
|
+
import { CARD_ENTRY_COLLAPSED_CODE, CARD_ENTRY_INVALID_DATA_CODE, CardEntry, CardEntryDefinition, detectNetworkMethod, isExpirationFormatValid, isExpirationInFuture, isValidLuhn } from "./matter/card-entry/card-entry.js";
|
|
29
|
+
import { PAYMENT_INVALID_DOCUMENT_CODE, PAYMENT_MISSING_DOCUMENT_CODE, PAYMENT_UNAVAILABLE_METHOD_CODE, PAYMENT_UNSAVED_BILLING_ADDRESS_CODE, resolvePaymentSubmitGate, usePaymentSubmitGate } from "./matter/payment/use-payment-submit-gate.js";
|
|
30
|
+
import { CardholderDocument, CardholderDocumentDefinition } from "./matter/cardholder-document/cardholder-document.js";
|
|
17
31
|
import { Drawer, DrawerBackdrop, DrawerBackdropDefinition, DrawerClose, DrawerCloseDefinition, DrawerDescription, DrawerDescriptionDefinition, DrawerPopup, DrawerPopupDefinition, DrawerPortal, DrawerPortalDefinition, DrawerRoot, DrawerRootDefinition, DrawerTitle, DrawerTitleDefinition, DrawerTrigger, DrawerTriggerDefinition } from "./particles/drawer/drawer.js";
|
|
18
32
|
import { Image, ImageDefinition } from "./particles/image/image.js";
|
|
19
33
|
import { CART_ALERT_ICON_NAMES, CartAlertContent, CartAlertIcon, CartAlertIconDefinition, CartAlertRoot, CartAlertRootDefinition, CartAlertText, CartAlertTextDefinition, CartAppliedCoupons, CartAppliedCouponsDefinition, CartCheckoutGuard, CartCheckoutGuardDefinition, CartCheckoutLabelContent, CartContinueShopping, CartContinueShoppingContent, CartContinueShoppingDefinition, CartCount, CartCountDefinition, CartCouponError, CartCouponErrorDefinition, CartCouponForm, CartCouponFormDefinition, CartCouponRemove, CartCouponRemoveDefinition, CartDataContext, CartDisclaimer, CartDisclaimerContent, CartDisclaimerDefinition, CartEmpty, CartEmptyDefinition, CartEmptyMessage, CartEmptyMessageContent, CartEmptyMessageDefinition, CartError, CartErrorDefinition, CartFilled, CartFilledDefinition, CartGoCheckout, CartGoCheckoutDefinition, CartItemSkeleton, CartList, CartListDefinition, CartLoading, CartLoadingDefinition, CartOpenOnAdd, CartOpenOnAddDefinition, CartRedirectOnAdd, CartRedirectOnAddDefinition, CartRemoveUnavailable, CartRemoveUnavailableDefinition, CartRoot, CartRootDefinition, CartTotal, CartTotalDefinition, CartUnavailableCount, CartUnavailableCountDefinition, useCart } from "./matter/cart/cart.js";
|
|
@@ -25,16 +39,13 @@ import { CartItemDiscounts, CartItemDiscountsDefinition } from "./matter/cart-it
|
|
|
25
39
|
import { CartItemSellerInfo, CartItemSellerInfoDefinition } from "./matter/cart-item-seller-info/cart-item-seller-info.js";
|
|
26
40
|
import { CartItemVariations, CartItemVariationsDefinition } from "./matter/cart-item-variations/cart-item-variations.js";
|
|
27
41
|
import { CartDiscountLine, CartDiscountLineDefinition, CartMarkdownLine, CartMarkdownLineDefinition, CartTotalizerLine, CartTotalizerLineDefinition, CartTotalizerRoot, CartTotalizerRootDefinition, useCartTotalizers } from "./matter/cart-totalizer/cart-totalizer.js";
|
|
28
|
-
import { Checkbox, CheckboxGroup, CheckboxGroupDefinition, CheckboxIndicator, CheckboxIndicatorDefinition, CheckboxRoot, CheckboxRootDefinition } from "./particles/checkbox/checkbox.js";
|
|
29
42
|
import { ClientPreferences, ClientPreferencesRoot, ClientPreferencesRootDefinition, NewsletterOptInControl, NewsletterOptInControlDefinition, SavePersonalDataOptInControl, SavePersonalDataOptInControlDefinition } from "./matter/client-preferences/client-preferences.js";
|
|
43
|
+
import { Form, FormClear, FormClearDefinition, FormEnterSubmit, FormEnterSubmitDefinition, FormError, FormErrorDefinition, FormReset, FormResetDefinition, FormRoot, FormRootDefinition, FormSubmit, FormSubmitDefinition, useFormRegistry } from "./particles/form/form.js";
|
|
44
|
+
import { ClientPreferencesFieldset, ClientPreferencesFieldsetDefinition, ClientPreferencesFieldsetSkeleton, ClientPreferencesNewsletterControl, ClientPreferencesNewsletterControlDefinition, ClientPreferencesSavePersonalDataControl, ClientPreferencesSavePersonalDataControlDefinition } from "./matter/client-preferences/client-preferences-fieldset.js";
|
|
30
45
|
import { Input, InputDefinition } from "./particles/input/input.js";
|
|
31
|
-
import { PhoneField, PhoneFieldDefinition } from "./particles/phone-field/phone-field.js";
|
|
46
|
+
import { PhoneField, PhoneFieldDefinition, PhoneFieldInput, PhoneFieldInputDefinition } from "./particles/phone-field/phone-field.js";
|
|
32
47
|
import { ClientProfile, ClientProfilePhoneControl, ClientProfilePhoneControlDefinition, ClientProfileRoot, ClientProfileRootDefinition } from "./matter/client-profile/client-profile.js";
|
|
33
|
-
import {
|
|
34
|
-
import { DOCUMENTS, DocumentField, DocumentFieldDefinition, isSupportedDocumentType, isValidDocument, maskDocumentValue, validateCPF } from "./particles/document-field/document-field.js";
|
|
35
|
-
import { Fieldset, FieldsetLegend, FieldsetLegendDefinition, FieldsetRoot, FieldsetRootDefinition } from "./particles/fieldset/fieldset.js";
|
|
36
|
-
import { ClientProfileForm, ClientProfileFormConfirmation, ClientProfileFormConfirmationDefinition, ClientProfileFormDocumentField, ClientProfileFormDocumentFieldDefinition, ClientProfileFormEmailField, ClientProfileFormEmailFieldDefinition, ClientProfileFormError, ClientProfileFormErrorDefinition, ClientProfileFormFieldset, ClientProfileFormFieldsetDefinition, ClientProfileFormFirstNameField, ClientProfileFormFirstNameFieldDefinition, ClientProfileFormLastNameField, ClientProfileFormLastNameFieldDefinition, ClientProfileFormNewsletterCheckbox, ClientProfileFormNewsletterCheckboxDefinition, ClientProfileFormPhoneField, ClientProfileFormPhoneFieldDefinition, ClientProfileFormRoot, ClientProfileFormRootDefinition, ClientProfileFormSavePersonalDataCheckbox, ClientProfileFormSavePersonalDataCheckboxDefinition, ClientProfileFormSubmitButton, ClientProfileFormSubmitButtonDefinition } from "./matter/client-profile-form/client-profile-form.js";
|
|
37
|
-
import { Radio, RadioGroup, RadioGroupDefinition, RadioIndicator, RadioIndicatorDefinition, RadioRoot, RadioRootDefinition } from "./particles/radio/radio.js";
|
|
48
|
+
import { ClientProfileDocumentControl, ClientProfileDocumentControlDefinition, ClientProfileFieldset, ClientProfileFieldsetDefinition, ClientProfileFieldsetPhoneControl, ClientProfileFieldsetPhoneControlDefinition, ClientProfileFieldsetSkeleton, ClientProfileFirstNameControl, ClientProfileFirstNameControlDefinition, ClientProfileLastNameControl, ClientProfileLastNameControlDefinition } from "./matter/client-profile-form/client-profile-fieldset.js";
|
|
38
49
|
import { CartShippingSimulator, CartShippingSimulatorRoot, CartShippingSimulatorRootDefinition, ShippingSimulator, ShippingSimulatorEmpty, ShippingSimulatorEmptyDefinition, ShippingSimulatorError, ShippingSimulatorErrorDefinition, ShippingSimulatorForm, ShippingSimulatorFormDefinition, ShippingSimulatorInput, ShippingSimulatorInputDefinition, ShippingSimulatorLoading, ShippingSimulatorLoadingDefinition, ShippingSimulatorOption, ShippingSimulatorOptionDefinition, ShippingSimulatorOptionEstimate, ShippingSimulatorOptionEstimateDefinition, ShippingSimulatorOptionFreeBadge, ShippingSimulatorOptionFreeBadgeDefinition, ShippingSimulatorOptionName, ShippingSimulatorOptionNameDefinition, ShippingSimulatorOptionPrice, ShippingSimulatorOptionPriceDefinition, ShippingSimulatorOptions, ShippingSimulatorOptionsDefinition, ShippingSimulatorRoot, ShippingSimulatorRootDefinition, ShippingSimulatorSubmit, ShippingSimulatorSubmitDefinition } from "./matter/shipping-simulator/shipping-simulator.js";
|
|
39
50
|
import { DeliveryOptionsRoot, DeliveryOptionsRootDefinition } from "./matter/delivery-options/delivery-options.js";
|
|
40
51
|
import { Accordion, AccordionHeader, AccordionHeaderDefinition, AccordionItem, AccordionItemDefinition, AccordionPanel, AccordionPanelDefinition, AccordionRoot, AccordionRootDefinition, AccordionTrigger, AccordionTriggerDefinition } from "./particles/accordion/accordion.js";
|
|
@@ -46,9 +57,15 @@ import { FreeShippingProgress, FreeShippingProgressBar, FreeShippingProgressBarD
|
|
|
46
57
|
import { IdentityEdit, IdentityEditButton, IdentityEditButtonDefinition, IdentityEditCancelButton, IdentityEditCancelButtonDefinition, IdentityEditController, IdentityEditControllerDefinition, IdentityEditForm, IdentityEditFormDefinition, IdentitySummaryView, IdentitySummaryViewDefinition } from "./matter/identity-edit/identity-edit.js";
|
|
47
58
|
import { Badge, BadgeDefinition } from "./particles/badge/badge.js";
|
|
48
59
|
import { IdentitySummary, IdentitySummaryBadge, IdentitySummaryBadgeDefinition, IdentitySummaryDocument, IdentitySummaryDocumentDefinition, IdentitySummaryEmail, IdentitySummaryEmailDefinition, IdentitySummaryError, IdentitySummaryErrorDefinition, IdentitySummaryName, IdentitySummaryNameDefinition, IdentitySummaryPhone, IdentitySummaryPhoneDefinition, IdentitySummaryRoot, IdentitySummaryRootDefinition, IdentitySummarySelectedSummary, IdentitySummarySelectedSummaryDefinition, IdentitySummarySignOutButton, IdentitySummarySignOutButtonDefinition } from "./matter/identity-summary/identity-summary.js";
|
|
49
|
-
import {
|
|
60
|
+
import { findInstallmentOption, resolveInstallmentTiers } from "./matter/installments/use-installments-selection.js";
|
|
61
|
+
import { Installments, InstallmentsDefinition } from "./matter/installments/installments.js";
|
|
62
|
+
import { InstallmentsSelect, InstallmentsSelectDefinition } from "./matter/installments/installments-select.js";
|
|
50
63
|
import { Toast, ToastAction, ToastActionDefinition, ToastClose, ToastCloseDefinition, ToastDescription, ToastDescriptionDefinition, ToastPortal, ToastPortalDefinition, ToastProvider, ToastProviderDefinition, ToastRoot, ToastRootDefinition, ToastTitle, ToastTitleDefinition, ToastViewport, ToastViewportDefinition, useToast } from "./particles/toast/toast.js";
|
|
51
64
|
import { MyAccountProfile, MyAccountProfileBirthDateControl, MyAccountProfileBirthDateControlDefinition, MyAccountProfileCancelButton, MyAccountProfileCancelButtonDefinition, MyAccountProfileEditButton, MyAccountProfileEditButtonDefinition, MyAccountProfileEmail, MyAccountProfileEmailDefinition, MyAccountProfileFirstNameControl, MyAccountProfileFirstNameControlDefinition, MyAccountProfileGenderControl, MyAccountProfileGenderControlDefinition, MyAccountProfileLastNameControl, MyAccountProfileLastNameControlDefinition, MyAccountProfilePhoneControl, MyAccountProfilePhoneControlDefinition, MyAccountProfileRoot, MyAccountProfileRootDefinition, MyAccountProfileSaveButton, MyAccountProfileSaveButtonDefinition, MyAccountProfileSkeleton, MyAccountProfileSkeletonDefinition, MyAccountProfileTaxIdControl, MyAccountProfileTaxIdControlDefinition, useMyAccountProfile } from "./matter/my-account-profile/my-account-profile.js";
|
|
65
|
+
import { OrderPlacedPaymentSummary, OrderPlacedPaymentSummaryDefinition } from "./matter/order-placed-payment-summary/order-placed-payment-summary.js";
|
|
66
|
+
import { PaymentSectionController, PaymentSectionControllerDefinition } from "./matter/payment/payment-controller.js";
|
|
67
|
+
import { AcceptedPaymentMethodBadges, AcceptedPaymentMethodBadgesDefinition, PAYMENT_METHOD_ICON_BY_KEY, PaymentMethodBadges, PaymentMethodBadgesDefinition } from "./matter/payment/payment-method-badges.js";
|
|
68
|
+
import { PlaceOrder, PlaceOrderDefinition } from "./matter/place-order/place-order.js";
|
|
52
69
|
import { Popover, PopoverArrow, PopoverArrowDefinition, PopoverBackdrop, PopoverBackdropDefinition, PopoverClose, PopoverCloseDefinition, PopoverDescription, PopoverDescriptionDefinition, PopoverPopup, PopoverPopupDefinition, PopoverPortal, PopoverPortalDefinition, PopoverPositioner, PopoverPositionerDefinition, PopoverRoot, PopoverRootDefinition, PopoverTitle, PopoverTitleDefinition, PopoverTrigger, PopoverTriggerDefinition, PopoverViewport, PopoverViewportDefinition } from "./particles/popover/popover.js";
|
|
53
70
|
import { Tabs, TabsIndicator, TabsIndicatorDefinition, TabsList, TabsListDefinition, TabsPanel, TabsPanelDefinition, TabsRoot, TabsRootDefinition, TabsTab, TabsTabDefinition } from "./particles/tabs/tabs.js";
|
|
54
71
|
import { Pricing, PricingDiscount, PricingDiscountDefinition, PricingHighlight, PricingHighlightDefinition, PricingHighlights, PricingHighlightsDefinition, PricingInstallment, PricingInstallmentDefinition, PricingInstallmentPlan, PricingInstallmentPlanDefinition, PricingInstallmentPlans, PricingInstallmentPlansDefinition, PricingInstallments, PricingInstallmentsDefinition, PricingInstallmentsForPlan, PricingInstallmentsForPlanDefinition, PricingListPrice, PricingListPriceDefinition, PricingPaymentMethodName, PricingPaymentMethodNameDefinition, PricingPaymentMethodsList, PricingPaymentMethodsListDefinition, PricingPaymentMethodsTabList, PricingPaymentMethodsTabListDefinition, PricingPaymentMethodsTabPanels, PricingPaymentMethodsTabPanelsDefinition, PricingPaymentMethodsTrigger, PricingPaymentMethodsTriggerDefinition, PricingPromotion, PricingPromotionDefinition, PricingPromotions, PricingPromotionsDefinition, PricingRoot, PricingRootDefinition, PricingSellingPrice, PricingSellingPriceDefinition, PricingSkeleton, PricingSpotDiscount, PricingSpotDiscountDefinition, PricingSpotPrice, PricingSpotPriceDefinition, useInstallmentPlanItem } from "./matter/pricing/pricing.js";
|
|
@@ -60,16 +77,20 @@ import { Container, ContainerDefinition } from "./particles/container/container.
|
|
|
60
77
|
import { Text, TextDefinition } from "./particles/text/text.js";
|
|
61
78
|
import { ProductCard, ProductCardAddToCart, ProductCardAddToCartDefinition, ProductCardDefinition, ProductCardDiscount, ProductCardDiscountDefinition, ProductCardImage, ProductCardImageDefinition, ProductCardListPrice, ProductCardListPriceDefinition, ProductCardName, ProductCardNameDefinition, ProductCardPrice, ProductCardPriceDefinition, ProductCardTaxLabel, ProductCardTaxLabelDefinition, ProductList, ProductListGrid, ProductListGridDefinition, ProductListRoot, ProductListRootDefinition } from "./matter/product-list/product-list.js";
|
|
62
79
|
import { Carousel, CarouselBullets, CarouselBulletsDefinition, CarouselNext, CarouselNextDefinition, CarouselPrevious, CarouselPreviousDefinition, CarouselRoot, CarouselRootDefinition, CarouselTrack, CarouselTrackDefinition, useCarousel } from "./particles/carousel/carousel.js";
|
|
63
|
-
import { ProductShelf, ProductShelfHeading, ProductShelfHeadingDefinition, ProductShelfItems, ProductShelfItemsDefinition, ProductShelfRoot, ProductShelfRootDefinition, ProductShelfSkeleton,
|
|
80
|
+
import { PRODUCT_SHELF_SORT_MAP, ProductShelf, ProductShelfContent, ProductShelfHeading, ProductShelfHeadingDefinition, ProductShelfItems, ProductShelfItemsDefinition, ProductShelfRoot, ProductShelfRootDefinition, ProductShelfSkeleton, transformProducts, useProductShelf, useProductShelfItem } from "./matter/product-shelf/product-shelf.js";
|
|
64
81
|
import { PostalCodeField, PostalCodeFieldContent, PostalCodeFieldDefinition, applyPostalCodeMask, isPostalCodeComplete, stripPostalCodeMask } from "./particles/postal-code-field/postal-code-field.js";
|
|
65
82
|
import { Region, RegionContext, RegionError, RegionErrorContent, RegionErrorDefinition, RegionForm, RegionFormDefinition, RegionLoading, RegionLoadingDefinition, RegionModalController, RegionModalControllerDefinition, RegionPostalCodeControl, RegionPostalCodeControlDefinition, RegionRoot, RegionRootDefinition, RegionSubmit, RegionSubmitContent, RegionSubmitDefinition, RegionTrigger, RegionTriggerContent, RegionTriggerDefinition, RegionUnknownLink, RegionUnknownLinkContent, RegionUnknownLinkDefinition, RegionValue, RegionValueDefinition, useRegion } from "./matter/region/region.js";
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
83
|
+
import { SaveCard, SaveCardDefinition, isConsentNoticeVisible, isSaveCardVisible } from "./matter/save-card/save-card.js";
|
|
84
|
+
import { SAVED_CARD_INVALID_SECURITY_CODE, SavedCardCvvField, SavedCardCvvFieldDefinition, SavedCardOption, SavedCardOptionDefinition, SavedCards, SavedCardsDefinition } from "./matter/saved-cards/saved-cards.js";
|
|
85
|
+
import { FieldSelect, FieldSelectOptions, FieldSelectOptionsDefinition, FieldSelectRoot, FieldSelectRootDefinition, FieldSelectTrigger, FieldSelectTriggerDefinition, FieldSelectValue, FieldSelectValueDefinition } from "./particles/select/field-select.js";
|
|
86
|
+
import { ShippingAddress, ShippingAddressCityControl, ShippingAddressCityControlDefinition, ShippingAddressComplementControl, ShippingAddressComplementControlDefinition, ShippingAddressCountryControl, ShippingAddressCountryControlDefinition, ShippingAddressFieldset, ShippingAddressFieldsetDefinition, ShippingAddressFieldsetSkeleton, ShippingAddressNeighborhoodControl, ShippingAddressNeighborhoodControlDefinition, ShippingAddressNumberControl, ShippingAddressNumberControlDefinition, ShippingAddressPostalCodeControl, ShippingAddressPostalCodeControlDefinition, ShippingAddressRecipientNameControl, ShippingAddressRecipientNameControlDefinition, ShippingAddressStateControl, ShippingAddressStateControlDefinition, ShippingAddressStreetControl, ShippingAddressStreetControlDefinition } from "./matter/shipping-address/shipping-address.js";
|
|
68
87
|
import { Toggle, ToggleDefinition, ToggleGroup, ToggleGroupDefinition } from "./particles/toggle/toggle.js";
|
|
69
88
|
import { PasswordField, PasswordFieldDefinition } from "./particles/password-field/password-field.js";
|
|
70
89
|
import { SignInForm, SignInFormDefinition, mapSessionErrorMessage } from "./matter/sign-in-form/sign-in-form.js";
|
|
71
90
|
import { SignInRedirect, SignInRedirectContent, SignInRedirectDefinition, SignInRedirectLoading } from "./matter/sign-in-redirect/sign-in-redirect.js";
|
|
72
91
|
import { VariantSelector, VariantSelectorColorSwatches, VariantSelectorColorSwatchesDefinition, VariantSelectorContext, VariantSelectorGroupContext, VariantSelectorGroupTitle, VariantSelectorGroupTitleDefinition, VariantSelectorGroupValue, VariantSelectorGroupValueDefinition, VariantSelectorImageSwatches, VariantSelectorImageSwatchesDefinition, VariantSelectorLabelSwatches, VariantSelectorLabelSwatchesDefinition, VariantSelectorOption, VariantSelectorOptionDefinition, VariantSelectorOptionGroup, VariantSelectorOptionGroupDefinition, VariantSelectorOverflow, VariantSelectorOverflowDefinition, VariantSelectorRadioSwatches, VariantSelectorRadioSwatchesDefinition, VariantSelectorRoot, VariantSelectorRootDefinition, VariantSelectorSwatches, VariantSelectorSwatchesDefinition } from "./matter/variant-selector/variant-selector.js";
|
|
92
|
+
import { AddressSummary, AddressSummaryCountry, AddressSummaryCountryDefinition, AddressSummaryDefinition, AddressSummaryField, AddressSummaryFieldDefinition, AddressSummaryLocality, AddressSummaryLocalityDefinition, AddressSummaryName, AddressSummaryNameDefinition, AddressSummaryRecipient, AddressSummaryRecipientDefinition, AddressSummaryRoot, AddressSummaryRootDefinition, AddressSummaryStreet, AddressSummaryStreetDefinition } from "./particles/address-summary/address-summary.js";
|
|
93
|
+
import { AlertDialog, AlertDialogBackdrop, AlertDialogBackdropDefinition, AlertDialogClose, AlertDialogCloseDefinition, AlertDialogDescription, AlertDialogDescriptionDefinition, AlertDialogPopup, AlertDialogPopupDefinition, AlertDialogPortal, AlertDialogPortalDefinition, AlertDialogRoot, AlertDialogRootDefinition, AlertDialogTitle, AlertDialogTitleDefinition, AlertDialogTrigger, AlertDialogTriggerDefinition, AlertDialogViewport, AlertDialogViewportDefinition } from "./particles/alert-dialog/alert-dialog.js";
|
|
73
94
|
import { FooterCopyright, FooterCopyrightContent, FooterCopyrightDefinition } from "./particles/footer-copyright/footer-copyright.js";
|
|
74
95
|
import { FooterLinkGroup, FooterLinkGroupContent, FooterLinkGroupDefinition } from "./particles/footer-link-group/footer-link-group.js";
|
|
75
96
|
import { FooterRoot, FooterRootDefinition } from "./particles/footer-root/footer-root.js";
|
|
@@ -89,4 +110,4 @@ import { Separator, SeparatorDefinition } from "./particles/separator/separator.
|
|
|
89
110
|
import { Spinner, SpinnerDefinition } from "./particles/spinner/spinner.js";
|
|
90
111
|
import { Switch, SwitchRoot, SwitchRootDefinition, SwitchThumb, SwitchThumbDefinition } from "./particles/switch/switch.js";
|
|
91
112
|
import { Tooltip, TooltipArrow, TooltipArrowDefinition, TooltipPopup, TooltipPopupDefinition, TooltipPortal, TooltipPortalDefinition, TooltipPositioner, TooltipPositionerDefinition, TooltipProvider, TooltipProviderDefinition, TooltipRoot, TooltipRootDefinition, TooltipTrigger, TooltipTriggerDefinition, TooltipViewport, TooltipViewportDefinition } from "./particles/tooltip/tooltip.js";
|
|
92
|
-
export { AccessCodeEmailControl, AccessCodeEmailControlDefinition, AccessCodeField, AccessCodeFieldDefinition, AccessCodeRequestControl, AccessCodeRequestControlDefinition, AccessCodeSignIn, AccessCodeSignInRoot, AccessCodeSignInRootDefinition, AccessCodeValidateControl, AccessCodeValidateControlDefinition, Accordion, AccordionHeader, AccordionHeaderDefinition, AccordionItem, AccordionItemDefinition, AccordionPanel, AccordionPanelDefinition, AccordionRoot, AccordionRootDefinition, AccordionTrigger, AccordionTriggerDefinition, AccountAccessGate, AccountAccessGateContent, AccountAccessGateDefinition, AccountAccessGateLoading, AccountAccessGateNotice, AccountEntryPoint, AccountEntryPointContent, AccountEntryPointDefinition, AccountEntryPointLoading, AccountMenu, AccountMenuContent, AccountMenuList, AccountMenuListDefinition, AccountMenuRoot, AccountMenuRootDefinition, AddressSummary, AddressSummaryDefinition, AddressSummaryLocality, AddressSummaryLocalityDefinition, AddressSummaryRecipient, AddressSummaryRecipientDefinition, AddressSummaryRoot, AddressSummaryRootDefinition, AddressSummaryStreet, AddressSummaryStreetDefinition, Badge, BadgeDefinition, Breadcrumb, BreadcrumbLink, BreadcrumbLinkDefinition, BreadcrumbList, BreadcrumbListDefinition, BreadcrumbRoot, BreadcrumbRootDefinition, BreadcrumbSeparator, BreadcrumbSeparatorDefinition, Button, ButtonDefinition, BuyButton, BuyButtonButton, BuyButtonButtonDefinition, BuyButtonLabels, BuyButtonRoot, BuyButtonRootDefinition, BuyButtonSkeleton, CART_ALERT_ICON_NAMES, Carousel, CarouselBullets, CarouselBulletsDefinition, CarouselNext, CarouselNextDefinition, CarouselPrevious, CarouselPreviousDefinition, CarouselRoot, CarouselRootDefinition, CarouselTrack, CarouselTrackDefinition, Cart, CartAlertContent, CartAlertIcon, CartAlertIconDefinition, CartAlertRoot, CartAlertRootDefinition, CartAlertText, CartAlertTextDefinition, CartAppliedCoupons, CartAppliedCouponsDefinition, CartCheckoutGuard, CartCheckoutGuardDefinition, CartCheckoutLabelContent, CartContinueShopping, CartContinueShoppingContent, CartContinueShoppingDefinition, CartCount, CartCountDefinition, CartCouponError, CartCouponErrorDefinition, CartCouponForm, CartCouponFormDefinition, CartCouponRemove, CartCouponRemoveDefinition, CartDataContext, CartDisclaimer, CartDisclaimerContent, CartDisclaimerDefinition, CartDiscountLine, CartDiscountLineDefinition, CartEmpty, CartEmptyDefinition, CartEmptyMessage, CartEmptyMessageContent, CartEmptyMessageDefinition, CartError, CartErrorDefinition, CartFilled, CartFilledDefinition, CartGoCheckout, CartGoCheckoutDefinition, CartItemAggregateTotal, CartItemAggregateTotalDefinition, CartItemAvailable, CartItemAvailableDefinition, CartItemCompositions, CartItemCompositionsDefinition, CartItemCustomizations, CartItemCustomizationsDefinition, CartItemDiscountPercentage, CartItemDiscountPercentageDefinition, CartItemDiscounts, CartItemDiscountsDefinition, CartItemGift, CartItemGiftDefinition, CartItemImage, CartItemImageDefinition, CartItemLineTotal, CartItemLineTotalDefinition, CartItemListPrice, CartItemListPriceDefinition, CartItemName, CartItemNameDefinition, CartItemOwnTotal, CartItemOwnTotalDefinition, CartItemPrice, CartItemPriceDefinition, CartItemProductLink, CartItemProductLinkDefinition, CartItemQuantity, CartItemQuantityDefinition, CartItemQuantityValue, CartItemQuantityValueDefinition, CartItemRemove, CartItemRemoveDefinition, CartItemRoot, CartItemRootDefinition, CartItemSellerInfo, CartItemSellerInfoDefinition, CartItemSkeleton, CartItemSku, CartItemSkuDefinition, CartItemUnavailable, CartItemUnavailableDefinition, CartItemVariant, CartItemVariantDefinition, CartItemVariations, CartItemVariationsDefinition, CartList, CartListDefinition, CartLoading, CartLoadingDefinition, CartMarkdownLine, CartMarkdownLineDefinition, CartOpenOnAdd, CartOpenOnAddDefinition, CartRedirectOnAdd, CartRedirectOnAddDefinition, CartRemoveUnavailable, CartRemoveUnavailableDefinition, CartRoot, CartRootDefinition, CartShippingSimulator, CartShippingSimulatorRoot, CartShippingSimulatorRootDefinition, CartTotal, CartTotalDefinition, CartTotalizerLine, CartTotalizerLineDefinition, CartTotalizerRoot, CartTotalizerRootDefinition, CartUnavailableCount, CartUnavailableCountDefinition, Checkbox, CheckboxGroup, CheckboxGroupDefinition, CheckboxIndicator, CheckboxIndicatorDefinition, CheckboxRoot, CheckboxRootDefinition, ClientPreferences, ClientPreferencesRoot, ClientPreferencesRootDefinition, ClientProfile, ClientProfileForm, ClientProfileFormConfirmation, ClientProfileFormConfirmationDefinition, ClientProfileFormDocumentField, ClientProfileFormDocumentFieldDefinition, ClientProfileFormEmailField, ClientProfileFormEmailFieldDefinition, ClientProfileFormError, ClientProfileFormErrorDefinition, ClientProfileFormFieldset, ClientProfileFormFieldsetDefinition, ClientProfileFormFirstNameField, ClientProfileFormFirstNameFieldDefinition, ClientProfileFormLastNameField, ClientProfileFormLastNameFieldDefinition, ClientProfileFormNewsletterCheckbox, ClientProfileFormNewsletterCheckboxDefinition, ClientProfileFormPhoneField, ClientProfileFormPhoneFieldDefinition, ClientProfileFormRoot, ClientProfileFormRootDefinition, ClientProfileFormSavePersonalDataCheckbox, ClientProfileFormSavePersonalDataCheckboxDefinition, ClientProfileFormSubmitButton, ClientProfileFormSubmitButtonDefinition, ClientProfilePhoneControl, ClientProfilePhoneControlDefinition, ClientProfileRoot, ClientProfileRootDefinition, Container, ContainerDefinition, DOCUMENTS, DeliveryOptionsAccordion, DeliveryOptionsAccordionDefinition, DeliveryOptionsController, DeliveryOptionsControllerDefinition, DeliveryOptionsList, DeliveryOptionsListDefinition, DeliveryOptionsRoot, DeliveryOptionsRootDefinition, DeliveryOptionsSummary, DeliveryOptionsSummaryDefinition, Dialog, DialogBackdrop, DialogBackdropDefinition, DialogClose, DialogCloseDefinition, DialogDescription, DialogDescriptionDefinition, DialogPopup, DialogPopupDefinition, DialogPortal, DialogPortalDefinition, DialogRoot, DialogRootDefinition, DialogTitle, DialogTitleDefinition, DialogTrigger, DialogTriggerDefinition, DialogViewport, DialogViewportDefinition, DocumentField, DocumentFieldDefinition, Drawer, DrawerBackdrop, DrawerBackdropDefinition, DrawerClose, DrawerCloseDefinition, DrawerDescription, DrawerDescriptionDefinition, DrawerPopup, DrawerPopupDefinition, DrawerPortal, DrawerPortalDefinition, DrawerRoot, DrawerRootDefinition, DrawerTitle, DrawerTitleDefinition, DrawerTrigger, DrawerTriggerDefinition, EMAIL_VALIDATE_REGEX, EmailField, EmailFieldDefinition, EmailIdentificationControl, EmailIdentificationControlDefinition, Field, FieldControl, FieldControlDefinition, FieldDescription, FieldDescriptionDefinition, FieldError, FieldErrorDefinition, FieldLabel, FieldLabelDefinition, FieldRoot, FieldRootDefinition, FieldValidity, FieldValidityDefinition, Fieldset, FieldsetLegend, FieldsetLegendDefinition, FieldsetRoot, FieldsetRootDefinition, FooterCopyright, FooterCopyrightContent, FooterCopyrightDefinition, FooterLinkGroup, FooterLinkGroupContent, FooterLinkGroupDefinition, FooterRoot, FooterRootDefinition, FooterSocial, FooterSocialContent, FooterSocialDefinition, FreeShippingProgress, FreeShippingProgressBar, FreeShippingProgressBarDefinition, FreeShippingProgressMessage, FreeShippingProgressMessageDefinition, FreeShippingProgressRoot, FreeShippingProgressRootDefinition, Gallery, GalleryFullscreen, GalleryFullscreenClose, GalleryFullscreenCloseDefinition, GalleryFullscreenDefinition, GalleryFullscreenTitle, GalleryFullscreenTitleDefinition, GalleryItemContext, GalleryMainMedia, GalleryMainMediaDefinition, GalleryMedia, GalleryMediaCount, GalleryMediaCountDefinition, GalleryMediaDefinition, GalleryNext, GalleryNextDefinition, GalleryOverflowCount, GalleryOverflowCountDefinition, GalleryPrevious, GalleryPreviousDefinition, GalleryRoot, GalleryRootDefinition, GalleryThumbnail, GalleryThumbnailDefinition, GalleryThumbnails, GalleryThumbnailsDefinition, GalleryThumbnailsNext, GalleryThumbnailsNextDefinition, GalleryThumbnailsPrevious, GalleryThumbnailsPreviousDefinition, GalleryZoom, GalleryZoomDefinition, GalleryZoomLens, GalleryZoomLensDefinition, GalleryZoomResult, GalleryZoomResultDefinition, HeaderRoot, HeaderRootDefinition, INCENTIVE_ICON_NAMES, Icon, IconDefinition, IdentityEdit, IdentityEditButton, IdentityEditButtonDefinition, IdentityEditCancelButton, IdentityEditCancelButtonDefinition, IdentityEditController, IdentityEditControllerDefinition, IdentityEditForm, IdentityEditFormDefinition, IdentitySummary, IdentitySummaryBadge, IdentitySummaryBadgeDefinition, IdentitySummaryDocument, IdentitySummaryDocumentDefinition, IdentitySummaryEmail, IdentitySummaryEmailDefinition, IdentitySummaryError, IdentitySummaryErrorDefinition, IdentitySummaryName, IdentitySummaryNameDefinition, IdentitySummaryPhone, IdentitySummaryPhoneDefinition, IdentitySummaryRoot, IdentitySummaryRootDefinition, IdentitySummarySelectedSummary, IdentitySummarySelectedSummaryDefinition, IdentitySummarySignOutButton, IdentitySummarySignOutButtonDefinition, IdentitySummaryView, IdentitySummaryViewDefinition, Image, ImageDefinition, Incentives, IncentivesContent, IncentivesDefinition, Input, InputDefinition, Logo, LogoContent, LogoDefinition, Menu, MenuArrow, MenuArrowDefinition, MenuBackdrop, MenuBackdropDefinition, MenuCheckboxItem, MenuCheckboxItemDefinition, MenuCheckboxItemIndicator, MenuCheckboxItemIndicatorDefinition, MenuGroup, MenuGroupDefinition, MenuGroupLabel, MenuGroupLabelDefinition, MenuItem, MenuItemDefinition, MenuLinkItem, MenuLinkItemDefinition, MenuPopup, MenuPopupDefinition, MenuPortal, MenuPortalDefinition, MenuPositioner, MenuPositionerDefinition, MenuRadioGroup, MenuRadioGroupDefinition, MenuRadioItem, MenuRadioItemDefinition, MenuRadioItemIndicator, MenuRadioItemIndicatorDefinition, MenuRoot, MenuRootDefinition, MenuSeparator, MenuSeparatorDefinition, MenuTrigger, MenuTriggerDefinition, Menubar, MenubarRoot, MenubarRootDefinition, Meter, MeterIndicator, MeterIndicatorDefinition, MeterLabel, MeterLabelDefinition, MeterRoot, MeterRootDefinition, MeterTrack, MeterTrackDefinition, MeterValue, MeterValueDefinition, MyAccountProfile, MyAccountProfileBirthDateControl, MyAccountProfileBirthDateControlDefinition, MyAccountProfileCancelButton, MyAccountProfileCancelButtonDefinition, MyAccountProfileEditButton, MyAccountProfileEditButtonDefinition, MyAccountProfileEmail, MyAccountProfileEmailDefinition, MyAccountProfileFirstNameControl, MyAccountProfileFirstNameControlDefinition, MyAccountProfileGenderControl, MyAccountProfileGenderControlDefinition, MyAccountProfileLastNameControl, MyAccountProfileLastNameControlDefinition, MyAccountProfilePhoneControl, MyAccountProfilePhoneControlDefinition, MyAccountProfileRoot, MyAccountProfileRootDefinition, MyAccountProfileSaveButton, MyAccountProfileSaveButtonDefinition, MyAccountProfileSkeleton, MyAccountProfileSkeletonDefinition, MyAccountProfileTaxIdControl, MyAccountProfileTaxIdControlDefinition, NavigationLink, NavigationLinkDefinition, NavigationLinkList, NavigationLinkListContent, NavigationLinkListDefinition, NavigationMenu, NavigationMenuArrow, NavigationMenuArrowDefinition, NavigationMenuContent, NavigationMenuContentDefinition, NavigationMenuIcon, NavigationMenuIconDefinition, NavigationMenuItem, NavigationMenuItemDefinition, NavigationMenuLink, NavigationMenuLinkDefinition, NavigationMenuList, NavigationMenuListDefinition, NavigationMenuPopup, NavigationMenuPopupDefinition, NavigationMenuPortal, NavigationMenuPortalDefinition, NavigationMenuPositioner, NavigationMenuPositionerDefinition, NavigationMenuRoot, NavigationMenuRootDefinition, NavigationMenuTrigger, NavigationMenuTriggerDefinition, NavigationMenuViewport, NavigationMenuViewportDefinition, NewsletterOptInControl, NewsletterOptInControlDefinition, NumberField, NumberFieldDecrement, NumberFieldDecrementDefinition, NumberFieldGroup, NumberFieldGroupDefinition, NumberFieldIncrement, NumberFieldIncrementDefinition, NumberFieldInput, NumberFieldInputDefinition, NumberFieldRoot, NumberFieldRootDefinition, NumberFieldScrubArea, NumberFieldScrubAreaCursor, NumberFieldScrubAreaCursorDefinition, NumberFieldScrubAreaDefinition, PAYMENT_METHOD_NAMES, PasswordField, PasswordFieldDefinition, PaymentMethods, PaymentMethodsContent, PaymentMethodsDefinition, PhoneField, PhoneFieldDefinition, Popover, PopoverArrow, PopoverArrowDefinition, PopoverBackdrop, PopoverBackdropDefinition, PopoverClose, PopoverCloseDefinition, PopoverDescription, PopoverDescriptionDefinition, PopoverPopup, PopoverPopupDefinition, PopoverPortal, PopoverPortalDefinition, PopoverPositioner, PopoverPositionerDefinition, PopoverRoot, PopoverRootDefinition, PopoverTitle, PopoverTitleDefinition, PopoverTrigger, PopoverTriggerDefinition, PopoverViewport, PopoverViewportDefinition, PostalCodeField, PostalCodeFieldContent, PostalCodeFieldDefinition, Pricing, PricingDiscount, PricingDiscountDefinition, PricingHighlight, PricingHighlightDefinition, PricingHighlights, PricingHighlightsDefinition, PricingInstallment, PricingInstallmentDefinition, PricingInstallmentPlan, PricingInstallmentPlanDefinition, PricingInstallmentPlans, PricingInstallmentPlansDefinition, PricingInstallments, PricingInstallmentsDefinition, PricingInstallmentsForPlan, PricingInstallmentsForPlanDefinition, PricingListPrice, PricingListPriceDefinition, PricingPaymentMethodName, PricingPaymentMethodNameDefinition, PricingPaymentMethodsList, PricingPaymentMethodsListDefinition, PricingPaymentMethodsTabList, PricingPaymentMethodsTabListDefinition, PricingPaymentMethodsTabPanels, PricingPaymentMethodsTabPanelsDefinition, PricingPaymentMethodsTrigger, PricingPaymentMethodsTriggerDefinition, PricingPromotion, PricingPromotionDefinition, PricingPromotions, PricingPromotionsDefinition, PricingRoot, PricingRootDefinition, PricingSellingPrice, PricingSellingPriceDefinition, PricingSkeleton, PricingSpotDiscount, PricingSpotDiscountDefinition, PricingSpotPrice, PricingSpotPriceDefinition, ProductCard, ProductCardAddToCart, ProductCardAddToCartDefinition, ProductCardDefinition, ProductCardDiscount, ProductCardDiscountDefinition, ProductCardImage, ProductCardImageDefinition, ProductCardListPrice, ProductCardListPriceDefinition, ProductCardName, ProductCardNameDefinition, ProductCardPrice, ProductCardPriceDefinition, ProductCardTaxLabel, ProductCardTaxLabelDefinition, ProductGallery, ProductGalleryRoot, ProductGalleryRootDefinition, ProductInformation, ProductInformationBrand, ProductInformationBrandDefinition, ProductInformationDescription, ProductInformationDescriptionDefinition, ProductInformationReferenceId, ProductInformationReferenceIdDefinition, ProductInformationRoot, ProductInformationRootDefinition, ProductInformationSku, ProductInformationSkuDefinition, ProductInformationTitle, ProductInformationTitleDefinition, ProductList, ProductListGrid, ProductListGridDefinition, ProductListRoot, ProductListRootDefinition, ProductQuantity, ProductQuantityRoot, ProductQuantityRootDefinition, ProductQuantitySelector, ProductQuantitySelectorDefinition, ProductShelf, ProductShelfHeading, ProductShelfHeadingDefinition, ProductShelfItems, ProductShelfItemsDefinition, ProductShelfRoot, ProductShelfRootDefinition, ProductShelfSkeleton, Promotion, PromotionContent, PromotionDefinition, QUANTITY_MAX_EXCEEDED_MESSAGE_ID, QuantitySelector, QuantitySelectorMessage, QuantitySelectorMessageDefinition, QuantitySelectorRoot, QuantitySelectorRootDefinition, Radio, RadioGroup, RadioGroupDefinition, RadioIndicator, RadioIndicatorDefinition, RadioRoot, RadioRootDefinition, Region, RegionContext, RegionError, RegionErrorContent, RegionErrorDefinition, RegionForm, RegionFormDefinition, RegionLoading, RegionLoadingDefinition, RegionModalController, RegionModalControllerDefinition, RegionPostalCodeControl, RegionPostalCodeControlDefinition, RegionRoot, RegionRootDefinition, RegionSubmit, RegionSubmitContent, RegionSubmitDefinition, RegionTrigger, RegionTriggerContent, RegionTriggerDefinition, RegionUnknownLink, RegionUnknownLinkContent, RegionUnknownLinkDefinition, RegionValue, RegionValueDefinition, SOCIAL_PLATFORM_NAMES, SavePersonalDataOptInControl, SavePersonalDataOptInControlDefinition, ScrollArea, ScrollAreaContent, ScrollAreaContentDefinition, ScrollAreaCorner, ScrollAreaCornerDefinition, ScrollAreaRoot, ScrollAreaRootDefinition, ScrollAreaScrollbar, ScrollAreaScrollbarDefinition, ScrollAreaThumb, ScrollAreaThumbDefinition, ScrollAreaViewport, ScrollAreaViewportDefinition, Select, SelectArrow, SelectArrowDefinition, SelectBackdrop, SelectBackdropDefinition, SelectGroup, SelectGroupDefinition, SelectGroupLabel, SelectGroupLabelDefinition, SelectIcon, SelectIconDefinition, SelectItem, SelectItemDefinition, SelectItemIndicator, SelectItemIndicatorDefinition, SelectItemText, SelectItemTextDefinition, SelectLabel, SelectLabelDefinition, SelectList, SelectListDefinition, SelectPopup, SelectPopupDefinition, SelectPortal, SelectPortalDefinition, SelectPositioner, SelectPositionerDefinition, SelectRoot, SelectRootDefinition, SelectScrollDownArrow, SelectScrollDownArrowDefinition, SelectScrollUpArrow, SelectScrollUpArrowDefinition, SelectSeparator, SelectSeparatorDefinition, SelectTrigger, SelectTriggerDefinition, SelectValue, SelectValueDefinition, Separator, SeparatorDefinition, Session, SessionContext, SessionGuard, SessionGuardDefinition, SessionRoot, SessionRootDefinition, ShippingAddress, ShippingAddressCancelButton, ShippingAddressCancelButtonDefinition, ShippingAddressCityControl, ShippingAddressCityControlDefinition, ShippingAddressComplementControl, ShippingAddressComplementControlDefinition, ShippingAddressCountryControl, ShippingAddressCountryControlDefinition, ShippingAddressEditButton, ShippingAddressEditButtonDefinition, ShippingAddressEditController, ShippingAddressEditControllerDefinition, ShippingAddressEditForm, ShippingAddressEditFormDefinition, ShippingAddressError, ShippingAddressErrorDefinition, ShippingAddressNeighborhoodControl, ShippingAddressNeighborhoodControlDefinition, ShippingAddressNumberControl, ShippingAddressNumberControlDefinition, ShippingAddressPostalCodeControl, ShippingAddressPostalCodeControlDefinition, ShippingAddressRecipientNameControl, ShippingAddressRecipientNameControlDefinition, ShippingAddressRoot, ShippingAddressRootDefinition, ShippingAddressSavedAddressDrawerController, ShippingAddressSavedAddressDrawerControllerDefinition, ShippingAddressSavedAddressSubmit, ShippingAddressSavedAddressSubmitDefinition, ShippingAddressSavedList, ShippingAddressSavedListDefinition, ShippingAddressSavedOption, ShippingAddressSavedOptionDefinition, ShippingAddressSelectedSummary, ShippingAddressSelectedSummaryDefinition, ShippingAddressStateControl, ShippingAddressStateControlDefinition, ShippingAddressStreetControl, ShippingAddressStreetControlDefinition, ShippingAddressSubmit, ShippingAddressSubmitDefinition, ShippingAddressSummaryView, ShippingAddressSummaryViewDefinition, ShippingSimulator, ShippingSimulatorEmpty, ShippingSimulatorEmptyDefinition, ShippingSimulatorError, ShippingSimulatorErrorDefinition, ShippingSimulatorForm, ShippingSimulatorFormDefinition, ShippingSimulatorInput, ShippingSimulatorInputDefinition, ShippingSimulatorLoading, ShippingSimulatorLoadingDefinition, ShippingSimulatorOption, ShippingSimulatorOptionDefinition, ShippingSimulatorOptionEstimate, ShippingSimulatorOptionEstimateDefinition, ShippingSimulatorOptionFreeBadge, ShippingSimulatorOptionFreeBadgeDefinition, ShippingSimulatorOptionName, ShippingSimulatorOptionNameDefinition, ShippingSimulatorOptionPrice, ShippingSimulatorOptionPriceDefinition, ShippingSimulatorOptions, ShippingSimulatorOptionsDefinition, ShippingSimulatorRoot, ShippingSimulatorRootDefinition, ShippingSimulatorSubmit, ShippingSimulatorSubmitDefinition, SignInForm, SignInFormDefinition, SignInRedirect, SignInRedirectContent, SignInRedirectDefinition, SignInRedirectLoading, Spinner, SpinnerDefinition, Switch, SwitchRoot, SwitchRootDefinition, SwitchThumb, SwitchThumbDefinition, Tabs, TabsIndicator, TabsIndicatorDefinition, TabsList, TabsListDefinition, TabsPanel, TabsPanelDefinition, TabsRoot, TabsRootDefinition, TabsTab, TabsTabDefinition, Text, TextDefinition, Toast, ToastAction, ToastActionDefinition, ToastClose, ToastCloseDefinition, ToastDescription, ToastDescriptionDefinition, ToastPortal, ToastPortalDefinition, ToastProvider, ToastProviderDefinition, ToastRoot, ToastRootDefinition, ToastTitle, ToastTitleDefinition, ToastViewport, ToastViewportDefinition, Toggle, ToggleDefinition, ToggleGroup, ToggleGroupDefinition, Tooltip, TooltipArrow, TooltipArrowDefinition, TooltipPopup, TooltipPopupDefinition, TooltipPortal, TooltipPortalDefinition, TooltipPositioner, TooltipPositionerDefinition, TooltipProvider, TooltipProviderDefinition, TooltipRoot, TooltipRootDefinition, TooltipTrigger, TooltipTriggerDefinition, TooltipViewport, TooltipViewportDefinition, VariantSelector, VariantSelectorColorSwatches, VariantSelectorColorSwatchesDefinition, VariantSelectorContext, VariantSelectorGroupContext, VariantSelectorGroupTitle, VariantSelectorGroupTitleDefinition, VariantSelectorGroupValue, VariantSelectorGroupValueDefinition, VariantSelectorImageSwatches, VariantSelectorImageSwatchesDefinition, VariantSelectorLabelSwatches, VariantSelectorLabelSwatchesDefinition, VariantSelectorOption, VariantSelectorOptionDefinition, VariantSelectorOptionGroup, VariantSelectorOptionGroupDefinition, VariantSelectorOverflow, VariantSelectorOverflowDefinition, VariantSelectorRadioSwatches, VariantSelectorRadioSwatchesDefinition, VariantSelectorRoot, VariantSelectorRootDefinition, VariantSelectorSwatches, VariantSelectorSwatchesDefinition, applyMask, applyPostalCodeMask, buildProductShelfVariables, declareSignOutIntent, defaultMaxExceededMessage, deriveSessionState, isPostalCodeComplete, isSupportedDocumentType, isValidDocument, isValidEmail, mapSessionErrorMessage, maskDocumentValue, stripPostalCodeMask, transformProducts, useAccountMenu, useCarousel, useCart, useCartTotalizers, useDeliveryOptions, useGallery, useGalleryItem, useInstallmentPlanItem, useMyAccountProfile, useProductQuantity, useProductShelf, useProductShelfItem, useRegion, useSession, useSignOutIntent, useToast, validateCPF, withdrawSignOutIntent };
|
|
113
|
+
export { AcceptedPaymentMethodBadges, AcceptedPaymentMethodBadgesDefinition, AccessCodeEmailControl, AccessCodeEmailControlDefinition, AccessCodeField, AccessCodeFieldDefinition, AccessCodeRequestControl, AccessCodeRequestControlDefinition, AccessCodeSignIn, AccessCodeSignInRoot, AccessCodeSignInRootDefinition, AccessCodeValidateControl, AccessCodeValidateControlDefinition, Accordion, AccordionHeader, AccordionHeaderDefinition, AccordionItem, AccordionItemDefinition, AccordionPanel, AccordionPanelDefinition, AccordionRoot, AccordionRootDefinition, AccordionTrigger, AccordionTriggerDefinition, AccountAccessGate, AccountAccessGateContent, AccountAccessGateDefinition, AccountAccessGateLoading, AccountAccessGateNotice, AccountEntryPoint, AccountEntryPointContent, AccountEntryPointDefinition, AccountEntryPointLoading, AccountMenu, AccountMenuContent, AccountMenuIdentity, AccountMenuIdentityDefinition, AccountMenuIdentitySkeleton, AccountMenuIdentitySkeletonDefinition, AccountMenuIndexRedirect, AccountMenuIndexRedirectContent, AccountMenuIndexRedirectDefinition, AccountMenuList, AccountMenuListDefinition, AccountMenuRoot, AccountMenuRootDefinition, AccountMenuSignOut, AccountMenuSignOutContent, AccountMenuSignOutDefinition, AddressSummary, AddressSummaryCountry, AddressSummaryCountryDefinition, AddressSummaryDefinition, AddressSummaryField, AddressSummaryFieldDefinition, AddressSummaryLocality, AddressSummaryLocalityDefinition, AddressSummaryName, AddressSummaryNameDefinition, AddressSummaryRecipient, AddressSummaryRecipientDefinition, AddressSummaryRoot, AddressSummaryRootDefinition, AddressSummaryStreet, AddressSummaryStreetDefinition, AlertDialog, AlertDialogBackdrop, AlertDialogBackdropDefinition, AlertDialogClose, AlertDialogCloseDefinition, AlertDialogDescription, AlertDialogDescriptionDefinition, AlertDialogPopup, AlertDialogPopupDefinition, AlertDialogPortal, AlertDialogPortalDefinition, AlertDialogRoot, AlertDialogRootDefinition, AlertDialogTitle, AlertDialogTitleDefinition, AlertDialogTrigger, AlertDialogTriggerDefinition, AlertDialogViewport, AlertDialogViewportDefinition, Avatar, AvatarDefinition, Badge, BadgeDefinition, BillingAddress, BillingAddressDefinition, Breadcrumb, BreadcrumbLink, BreadcrumbLinkDefinition, BreadcrumbList, BreadcrumbListDefinition, BreadcrumbRoot, BreadcrumbRootDefinition, BreadcrumbSeparator, BreadcrumbSeparatorDefinition, Button, ButtonDefinition, BuyButton, BuyButtonButton, BuyButtonButtonDefinition, BuyButtonLabels, BuyButtonRoot, BuyButtonRootDefinition, BuyButtonSkeleton, CARD_ENTRY_COLLAPSED_CODE, CARD_ENTRY_INVALID_DATA_CODE, CART_ALERT_ICON_NAMES, CardEntry, CardEntryDefinition, CardholderDocument, CardholderDocumentDefinition, Carousel, CarouselBullets, CarouselBulletsDefinition, CarouselNext, CarouselNextDefinition, CarouselPrevious, CarouselPreviousDefinition, CarouselRoot, CarouselRootDefinition, CarouselTrack, CarouselTrackDefinition, Cart, CartAlertContent, CartAlertIcon, CartAlertIconDefinition, CartAlertRoot, CartAlertRootDefinition, CartAlertText, CartAlertTextDefinition, CartAppliedCoupons, CartAppliedCouponsDefinition, CartCheckoutGuard, CartCheckoutGuardDefinition, CartCheckoutLabelContent, CartContinueShopping, CartContinueShoppingContent, CartContinueShoppingDefinition, CartCount, CartCountDefinition, CartCouponError, CartCouponErrorDefinition, CartCouponForm, CartCouponFormDefinition, CartCouponRemove, CartCouponRemoveDefinition, CartDataContext, CartDisclaimer, CartDisclaimerContent, CartDisclaimerDefinition, CartDiscountLine, CartDiscountLineDefinition, CartEmpty, CartEmptyDefinition, CartEmptyMessage, CartEmptyMessageContent, CartEmptyMessageDefinition, CartError, CartErrorDefinition, CartFilled, CartFilledDefinition, CartGoCheckout, CartGoCheckoutDefinition, CartItemAggregateTotal, CartItemAggregateTotalDefinition, CartItemAvailable, CartItemAvailableDefinition, CartItemCompositions, CartItemCompositionsDefinition, CartItemCustomizations, CartItemCustomizationsDefinition, CartItemDiscountPercentage, CartItemDiscountPercentageDefinition, CartItemDiscounts, CartItemDiscountsDefinition, CartItemGift, CartItemGiftDefinition, CartItemImage, CartItemImageDefinition, CartItemLineTotal, CartItemLineTotalDefinition, CartItemListPrice, CartItemListPriceDefinition, CartItemName, CartItemNameDefinition, CartItemOwnTotal, CartItemOwnTotalDefinition, CartItemPrice, CartItemPriceDefinition, CartItemProductLink, CartItemProductLinkDefinition, CartItemQuantity, CartItemQuantityDefinition, CartItemQuantityValue, CartItemQuantityValueDefinition, CartItemRemove, CartItemRemoveDefinition, CartItemRoot, CartItemRootDefinition, CartItemSellerInfo, CartItemSellerInfoDefinition, CartItemSkeleton, CartItemSku, CartItemSkuDefinition, CartItemUnavailable, CartItemUnavailableDefinition, CartItemVariant, CartItemVariantDefinition, CartItemVariations, CartItemVariationsDefinition, CartList, CartListDefinition, CartLoading, CartLoadingDefinition, CartMarkdownLine, CartMarkdownLineDefinition, CartOpenOnAdd, CartOpenOnAddDefinition, CartRedirectOnAdd, CartRedirectOnAddDefinition, CartRemoveUnavailable, CartRemoveUnavailableDefinition, CartRoot, CartRootDefinition, CartShippingSimulator, CartShippingSimulatorRoot, CartShippingSimulatorRootDefinition, CartTotal, CartTotalDefinition, CartTotalizerLine, CartTotalizerLineDefinition, CartTotalizerRoot, CartTotalizerRootDefinition, CartUnavailableCount, CartUnavailableCountDefinition, Checkbox, CheckboxGroup, CheckboxGroupDefinition, CheckboxIndicator, CheckboxIndicatorDefinition, CheckboxRoot, CheckboxRootDefinition, ClientPreferences, ClientPreferencesFieldset, ClientPreferencesFieldsetDefinition, ClientPreferencesFieldsetSkeleton, ClientPreferencesNewsletterControl, ClientPreferencesNewsletterControlDefinition, ClientPreferencesRoot, ClientPreferencesRootDefinition, ClientPreferencesSavePersonalDataControl, ClientPreferencesSavePersonalDataControlDefinition, ClientProfile, ClientProfileDocumentControl, ClientProfileDocumentControlDefinition, ClientProfileFieldset, ClientProfileFieldsetDefinition, ClientProfileFieldsetPhoneControl, ClientProfileFieldsetPhoneControlDefinition, ClientProfileFieldsetSkeleton, ClientProfileFirstNameControl, ClientProfileFirstNameControlDefinition, ClientProfileLastNameControl, ClientProfileLastNameControlDefinition, ClientProfilePhoneControl, ClientProfilePhoneControlDefinition, ClientProfileRoot, ClientProfileRootDefinition, Container, ContainerDefinition, DEFAULT_METHOD_GROUP, DOCUMENTS, DeliveryOptionsAccordion, DeliveryOptionsAccordionDefinition, DeliveryOptionsController, DeliveryOptionsControllerDefinition, DeliveryOptionsList, DeliveryOptionsListDefinition, DeliveryOptionsRoot, DeliveryOptionsRootDefinition, DeliveryOptionsSummary, DeliveryOptionsSummaryDefinition, Dialog, DialogBackdrop, DialogBackdropDefinition, DialogClose, DialogCloseDefinition, DialogDescription, DialogDescriptionDefinition, DialogPopup, DialogPopupDefinition, DialogPortal, DialogPortalDefinition, DialogRoot, DialogRootDefinition, DialogTitle, DialogTitleDefinition, DialogTrigger, DialogTriggerDefinition, DialogViewport, DialogViewportDefinition, DocumentField, DocumentFieldDefinition, DocumentFieldInput, DocumentFieldInputDefinition, Drawer, DrawerBackdrop, DrawerBackdropDefinition, DrawerClose, DrawerCloseDefinition, DrawerDescription, DrawerDescriptionDefinition, DrawerPopup, DrawerPopupDefinition, DrawerPortal, DrawerPortalDefinition, DrawerRoot, DrawerRootDefinition, DrawerTitle, DrawerTitleDefinition, DrawerTrigger, DrawerTriggerDefinition, EMAIL_VALIDATE_REGEX, EmailField, EmailFieldDefinition, EmailIdentificationControl, EmailIdentificationControlDefinition, Field, FieldBinding, FieldCheckbox, FieldCheckboxDefinition, FieldControl, FieldControlDefinition, FieldDescription, FieldDescriptionDefinition, FieldError, FieldErrorDefinition, FieldLabel, FieldLabelDefinition, FieldRoot, FieldRootDefinition, FieldSelect, FieldSelectOptions, FieldSelectOptionsDefinition, FieldSelectRoot, FieldSelectRootDefinition, FieldSelectTrigger, FieldSelectTriggerDefinition, FieldSelectValue, FieldSelectValueDefinition, FieldValidity, FieldValidityDefinition, Fieldset, FieldsetFieldContext, FieldsetLegend, FieldsetLegendDefinition, FieldsetRoot, FieldsetRootDefinition, FooterCopyright, FooterCopyrightContent, FooterCopyrightDefinition, FooterLinkGroup, FooterLinkGroupContent, FooterLinkGroupDefinition, FooterRoot, FooterRootDefinition, FooterSocial, FooterSocialContent, FooterSocialDefinition, Form, FormClear, FormClearDefinition, FormEnterSubmit, FormEnterSubmitDefinition, FormError, FormErrorDefinition, FormReset, FormResetDefinition, FormRoot, FormRootDefinition, FormSubmit, FormSubmitDefinition, FreeShippingProgress, FreeShippingProgressBar, FreeShippingProgressBarDefinition, FreeShippingProgressMessage, FreeShippingProgressMessageDefinition, FreeShippingProgressRoot, FreeShippingProgressRootDefinition, Gallery, GalleryFullscreen, GalleryFullscreenClose, GalleryFullscreenCloseDefinition, GalleryFullscreenDefinition, GalleryFullscreenTitle, GalleryFullscreenTitleDefinition, GalleryItemContext, GalleryMainMedia, GalleryMainMediaDefinition, GalleryMedia, GalleryMediaCount, GalleryMediaCountDefinition, GalleryMediaDefinition, GalleryNext, GalleryNextDefinition, GalleryOverflowCount, GalleryOverflowCountDefinition, GalleryPrevious, GalleryPreviousDefinition, GalleryRoot, GalleryRootDefinition, GalleryThumbnail, GalleryThumbnailDefinition, GalleryThumbnails, GalleryThumbnailsDefinition, GalleryThumbnailsNext, GalleryThumbnailsNextDefinition, GalleryThumbnailsPrevious, GalleryThumbnailsPreviousDefinition, GalleryZoom, GalleryZoomDefinition, GalleryZoomLens, GalleryZoomLensDefinition, GalleryZoomResult, GalleryZoomResultDefinition, HeaderRoot, HeaderRootDefinition, INCENTIVE_ICON_NAMES, Icon, IconDefinition, IdentityEdit, IdentityEditButton, IdentityEditButtonDefinition, IdentityEditCancelButton, IdentityEditCancelButtonDefinition, IdentityEditController, IdentityEditControllerDefinition, IdentityEditForm, IdentityEditFormDefinition, IdentitySummary, IdentitySummaryBadge, IdentitySummaryBadgeDefinition, IdentitySummaryDocument, IdentitySummaryDocumentDefinition, IdentitySummaryEmail, IdentitySummaryEmailDefinition, IdentitySummaryError, IdentitySummaryErrorDefinition, IdentitySummaryName, IdentitySummaryNameDefinition, IdentitySummaryPhone, IdentitySummaryPhoneDefinition, IdentitySummaryRoot, IdentitySummaryRootDefinition, IdentitySummarySelectedSummary, IdentitySummarySelectedSummaryDefinition, IdentitySummarySignOutButton, IdentitySummarySignOutButtonDefinition, IdentitySummaryView, IdentitySummaryViewDefinition, Image, ImageDefinition, Incentives, IncentivesContent, IncentivesDefinition, Input, InputDefinition, Installments, InstallmentsDefinition, InstallmentsSelect, InstallmentsSelectDefinition, Logo, LogoContent, LogoDefinition, Menu, MenuArrow, MenuArrowDefinition, MenuBackdrop, MenuBackdropDefinition, MenuCheckboxItem, MenuCheckboxItemDefinition, MenuCheckboxItemIndicator, MenuCheckboxItemIndicatorDefinition, MenuGroup, MenuGroupDefinition, MenuGroupLabel, MenuGroupLabelDefinition, MenuItem, MenuItemDefinition, MenuLinkItem, MenuLinkItemDefinition, MenuPopup, MenuPopupDefinition, MenuPortal, MenuPortalDefinition, MenuPositioner, MenuPositionerDefinition, MenuRadioGroup, MenuRadioGroupDefinition, MenuRadioItem, MenuRadioItemDefinition, MenuRadioItemIndicator, MenuRadioItemIndicatorDefinition, MenuRoot, MenuRootDefinition, MenuSeparator, MenuSeparatorDefinition, MenuTrigger, MenuTriggerDefinition, Menubar, MenubarRoot, MenubarRootDefinition, Meter, MeterIndicator, MeterIndicatorDefinition, MeterLabel, MeterLabelDefinition, MeterRoot, MeterRootDefinition, MeterTrack, MeterTrackDefinition, MeterValue, MeterValueDefinition, MyAccountProfile, MyAccountProfileBirthDateControl, MyAccountProfileBirthDateControlDefinition, MyAccountProfileCancelButton, MyAccountProfileCancelButtonDefinition, MyAccountProfileEditButton, MyAccountProfileEditButtonDefinition, MyAccountProfileEmail, MyAccountProfileEmailDefinition, MyAccountProfileFirstNameControl, MyAccountProfileFirstNameControlDefinition, MyAccountProfileGenderControl, MyAccountProfileGenderControlDefinition, MyAccountProfileLastNameControl, MyAccountProfileLastNameControlDefinition, MyAccountProfilePhoneControl, MyAccountProfilePhoneControlDefinition, MyAccountProfileRoot, MyAccountProfileRootDefinition, MyAccountProfileSaveButton, MyAccountProfileSaveButtonDefinition, MyAccountProfileSkeleton, MyAccountProfileSkeletonDefinition, MyAccountProfileTaxIdControl, MyAccountProfileTaxIdControlDefinition, NavigationLink, NavigationLinkDefinition, NavigationLinkList, NavigationLinkListContent, NavigationLinkListDefinition, NavigationMenu, NavigationMenuArrow, NavigationMenuArrowDefinition, NavigationMenuContent, NavigationMenuContentDefinition, NavigationMenuIcon, NavigationMenuIconDefinition, NavigationMenuItem, NavigationMenuItemDefinition, NavigationMenuLink, NavigationMenuLinkDefinition, NavigationMenuList, NavigationMenuListDefinition, NavigationMenuPopup, NavigationMenuPopupDefinition, NavigationMenuPortal, NavigationMenuPortalDefinition, NavigationMenuPositioner, NavigationMenuPositionerDefinition, NavigationMenuRoot, NavigationMenuRootDefinition, NavigationMenuTrigger, NavigationMenuTriggerDefinition, NavigationMenuViewport, NavigationMenuViewportDefinition, NewsletterOptInControl, NewsletterOptInControlDefinition, NumberField, NumberFieldDecrement, NumberFieldDecrementDefinition, NumberFieldGroup, NumberFieldGroupDefinition, NumberFieldIncrement, NumberFieldIncrementDefinition, NumberFieldInput, NumberFieldInputDefinition, NumberFieldRoot, NumberFieldRootDefinition, NumberFieldScrubArea, NumberFieldScrubAreaCursor, NumberFieldScrubAreaCursorDefinition, NumberFieldScrubAreaDefinition, OrderPlacedPaymentSummary, OrderPlacedPaymentSummaryDefinition, PAYMENT_INVALID_DOCUMENT_CODE, PAYMENT_METHOD_ICON_BY_KEY, PAYMENT_METHOD_NAMES, PAYMENT_MISSING_DOCUMENT_CODE, PAYMENT_UNAVAILABLE_METHOD_CODE, PAYMENT_UNSAVED_BILLING_ADDRESS_CODE, PRODUCT_SHELF_SORT_MAP, PasswordField, PasswordFieldDefinition, PaymentContext, PaymentMethodBadges, PaymentMethodBadgesDefinition, PaymentMethodList, PaymentMethodListDefinition, PaymentMethods, PaymentMethodsContent, PaymentMethodsDefinition, PaymentSectionController, PaymentSectionControllerDefinition, PaymentSectionRoot, PaymentSectionRootDefinition, PhoneField, PhoneFieldDefinition, PhoneFieldInput, PhoneFieldInputDefinition, PlaceOrder, PlaceOrderDefinition, Popover, PopoverArrow, PopoverArrowDefinition, PopoverBackdrop, PopoverBackdropDefinition, PopoverClose, PopoverCloseDefinition, PopoverDescription, PopoverDescriptionDefinition, PopoverPopup, PopoverPopupDefinition, PopoverPortal, PopoverPortalDefinition, PopoverPositioner, PopoverPositionerDefinition, PopoverRoot, PopoverRootDefinition, PopoverTitle, PopoverTitleDefinition, PopoverTrigger, PopoverTriggerDefinition, PopoverViewport, PopoverViewportDefinition, PostalCodeField, PostalCodeFieldContent, PostalCodeFieldDefinition, Pricing, PricingDiscount, PricingDiscountDefinition, PricingHighlight, PricingHighlightDefinition, PricingHighlights, PricingHighlightsDefinition, PricingInstallment, PricingInstallmentDefinition, PricingInstallmentPlan, PricingInstallmentPlanDefinition, PricingInstallmentPlans, PricingInstallmentPlansDefinition, PricingInstallments, PricingInstallmentsDefinition, PricingInstallmentsForPlan, PricingInstallmentsForPlanDefinition, PricingListPrice, PricingListPriceDefinition, PricingPaymentMethodName, PricingPaymentMethodNameDefinition, PricingPaymentMethodsList, PricingPaymentMethodsListDefinition, PricingPaymentMethodsTabList, PricingPaymentMethodsTabListDefinition, PricingPaymentMethodsTabPanels, PricingPaymentMethodsTabPanelsDefinition, PricingPaymentMethodsTrigger, PricingPaymentMethodsTriggerDefinition, PricingPromotion, PricingPromotionDefinition, PricingPromotions, PricingPromotionsDefinition, PricingRoot, PricingRootDefinition, PricingSellingPrice, PricingSellingPriceDefinition, PricingSkeleton, PricingSpotDiscount, PricingSpotDiscountDefinition, PricingSpotPrice, PricingSpotPriceDefinition, ProductCard, ProductCardAddToCart, ProductCardAddToCartDefinition, ProductCardDefinition, ProductCardDiscount, ProductCardDiscountDefinition, ProductCardImage, ProductCardImageDefinition, ProductCardListPrice, ProductCardListPriceDefinition, ProductCardName, ProductCardNameDefinition, ProductCardPrice, ProductCardPriceDefinition, ProductCardTaxLabel, ProductCardTaxLabelDefinition, ProductGallery, ProductGalleryRoot, ProductGalleryRootDefinition, ProductInformation, ProductInformationBrand, ProductInformationBrandDefinition, ProductInformationDescription, ProductInformationDescriptionDefinition, ProductInformationReferenceId, ProductInformationReferenceIdDefinition, ProductInformationRoot, ProductInformationRootDefinition, ProductInformationSku, ProductInformationSkuDefinition, ProductInformationTitle, ProductInformationTitleDefinition, ProductList, ProductListGrid, ProductListGridDefinition, ProductListRoot, ProductListRootDefinition, ProductQuantity, ProductQuantityRoot, ProductQuantityRootDefinition, ProductQuantitySelector, ProductQuantitySelectorDefinition, ProductShelf, ProductShelfContent, ProductShelfHeading, ProductShelfHeadingDefinition, ProductShelfItems, ProductShelfItemsDefinition, ProductShelfRoot, ProductShelfRootDefinition, ProductShelfSkeleton, Promotion, PromotionContent, PromotionDefinition, QUANTITY_MAX_EXCEEDED_MESSAGE_ID, QuantitySelector, QuantitySelectorMessage, QuantitySelectorMessageDefinition, QuantitySelectorRoot, QuantitySelectorRootDefinition, Radio, RadioGroup, RadioGroupDefinition, RadioIndicator, RadioIndicatorDefinition, RadioRoot, RadioRootDefinition, Region, RegionContext, RegionError, RegionErrorContent, RegionErrorDefinition, RegionForm, RegionFormDefinition, RegionLoading, RegionLoadingDefinition, RegionModalController, RegionModalControllerDefinition, RegionPostalCodeControl, RegionPostalCodeControlDefinition, RegionRoot, RegionRootDefinition, RegionSubmit, RegionSubmitContent, RegionSubmitDefinition, RegionTrigger, RegionTriggerContent, RegionTriggerDefinition, RegionUnknownLink, RegionUnknownLinkContent, RegionUnknownLinkDefinition, RegionValue, RegionValueDefinition, SAVED_CARD_INVALID_SECURITY_CODE, SOCIAL_PLATFORM_NAMES, SaveCard, SaveCardDefinition, SavePersonalDataOptInControl, SavePersonalDataOptInControlDefinition, SavedCardCvvField, SavedCardCvvFieldDefinition, SavedCardOption, SavedCardOptionDefinition, SavedCards, SavedCardsDefinition, ScrollArea, ScrollAreaContent, ScrollAreaContentDefinition, ScrollAreaCorner, ScrollAreaCornerDefinition, ScrollAreaRoot, ScrollAreaRootDefinition, ScrollAreaScrollbar, ScrollAreaScrollbarDefinition, ScrollAreaThumb, ScrollAreaThumbDefinition, ScrollAreaViewport, ScrollAreaViewportDefinition, Select, SelectArrow, SelectArrowDefinition, SelectBackdrop, SelectBackdropDefinition, SelectGroup, SelectGroupDefinition, SelectGroupLabel, SelectGroupLabelDefinition, SelectIcon, SelectIconDefinition, SelectItem, SelectItemDefinition, SelectItemIndicator, SelectItemIndicatorDefinition, SelectItemText, SelectItemTextDefinition, SelectLabel, SelectLabelDefinition, SelectList, SelectListDefinition, SelectPopup, SelectPopupDefinition, SelectPortal, SelectPortalDefinition, SelectPositioner, SelectPositionerDefinition, SelectRoot, SelectRootDefinition, SelectScrollDownArrow, SelectScrollDownArrowDefinition, SelectScrollUpArrow, SelectScrollUpArrowDefinition, SelectSeparator, SelectSeparatorDefinition, SelectTrigger, SelectTriggerDefinition, SelectValue, SelectValueDefinition, Separator, SeparatorDefinition, Session, SessionContext, SessionGuard, SessionGuardDefinition, SessionRoot, SessionRootDefinition, ShippingAddress, ShippingAddressCityControl, ShippingAddressCityControlDefinition, ShippingAddressComplementControl, ShippingAddressComplementControlDefinition, ShippingAddressCountryControl, ShippingAddressCountryControlDefinition, ShippingAddressFieldset, ShippingAddressFieldsetDefinition, ShippingAddressFieldsetSkeleton, ShippingAddressNeighborhoodControl, ShippingAddressNeighborhoodControlDefinition, ShippingAddressNumberControl, ShippingAddressNumberControlDefinition, ShippingAddressPostalCodeControl, ShippingAddressPostalCodeControlDefinition, ShippingAddressRecipientNameControl, ShippingAddressRecipientNameControlDefinition, ShippingAddressStateControl, ShippingAddressStateControlDefinition, ShippingAddressStreetControl, ShippingAddressStreetControlDefinition, ShippingSimulator, ShippingSimulatorEmpty, ShippingSimulatorEmptyDefinition, ShippingSimulatorError, ShippingSimulatorErrorDefinition, ShippingSimulatorForm, ShippingSimulatorFormDefinition, ShippingSimulatorInput, ShippingSimulatorInputDefinition, ShippingSimulatorLoading, ShippingSimulatorLoadingDefinition, ShippingSimulatorOption, ShippingSimulatorOptionDefinition, ShippingSimulatorOptionEstimate, ShippingSimulatorOptionEstimateDefinition, ShippingSimulatorOptionFreeBadge, ShippingSimulatorOptionFreeBadgeDefinition, ShippingSimulatorOptionName, ShippingSimulatorOptionNameDefinition, ShippingSimulatorOptionPrice, ShippingSimulatorOptionPriceDefinition, ShippingSimulatorOptions, ShippingSimulatorOptionsDefinition, ShippingSimulatorRoot, ShippingSimulatorRootDefinition, ShippingSimulatorSubmit, ShippingSimulatorSubmitDefinition, SignInForm, SignInFormDefinition, SignInRedirect, SignInRedirectContent, SignInRedirectDefinition, SignInRedirectLoading, Spinner, SpinnerDefinition, Switch, SwitchRoot, SwitchRootDefinition, SwitchThumb, SwitchThumbDefinition, Tabs, TabsIndicator, TabsIndicatorDefinition, TabsList, TabsListDefinition, TabsPanel, TabsPanelDefinition, TabsRoot, TabsRootDefinition, TabsTab, TabsTabDefinition, Text, TextDefinition, Toast, ToastAction, ToastActionDefinition, ToastClose, ToastCloseDefinition, ToastDescription, ToastDescriptionDefinition, ToastPortal, ToastPortalDefinition, ToastProvider, ToastProviderDefinition, ToastRoot, ToastRootDefinition, ToastTitle, ToastTitleDefinition, ToastViewport, ToastViewportDefinition, Toggle, ToggleDefinition, ToggleGroup, ToggleGroupDefinition, Tooltip, TooltipArrow, TooltipArrowDefinition, TooltipPopup, TooltipPopupDefinition, TooltipPortal, TooltipPortalDefinition, TooltipPositioner, TooltipPositionerDefinition, TooltipProvider, TooltipProviderDefinition, TooltipRoot, TooltipRootDefinition, TooltipTrigger, TooltipTriggerDefinition, TooltipViewport, TooltipViewportDefinition, VariantSelector, VariantSelectorColorSwatches, VariantSelectorColorSwatchesDefinition, VariantSelectorContext, VariantSelectorGroupContext, VariantSelectorGroupTitle, VariantSelectorGroupTitleDefinition, VariantSelectorGroupValue, VariantSelectorGroupValueDefinition, VariantSelectorImageSwatches, VariantSelectorImageSwatchesDefinition, VariantSelectorLabelSwatches, VariantSelectorLabelSwatchesDefinition, VariantSelectorOption, VariantSelectorOptionDefinition, VariantSelectorOptionGroup, VariantSelectorOptionGroupDefinition, VariantSelectorOverflow, VariantSelectorOverflowDefinition, VariantSelectorRadioSwatches, VariantSelectorRadioSwatchesDefinition, VariantSelectorRoot, VariantSelectorRootDefinition, VariantSelectorSwatches, VariantSelectorSwatchesDefinition, applyMask, applyPostalCodeMask, declareSignOutIntent, defaultMaxExceededMessage, deriveSessionState, detectNetworkMethod, findInstallmentOption, isBillingAddressFormValid, isConsentNoticeVisible, isExpirationFormatValid, isExpirationInFuture, isPostalCodeComplete, isSaveCardVisible, isSupportedDocumentType, isValidDocument, isValidEmail, isValidLuhn, mapSessionErrorMessage, maskDocumentValue, resolveBinConfirmation, resolveInstallmentTiers, resolvePaymentSubmitGate, resolveSameAsDelivery, stripPostalCodeMask, transformProducts, useAccountMenu, useCarousel, useCart, useCartTotalizers, useDeliveryOptions, useField, useFieldsetContext, useFieldsetField, useFieldsetFieldNames, useFormRegistry, useGallery, useGalleryItem, useInstallmentPlanItem, useMyAccountProfile, useNoAncestorFieldset, usePayment, usePaymentSubmitGate, useProductQuantity, useProductShelf, useProductShelfItem, useRegion, useSession, useSignOutIntent, useToast, validateCPF, withdrawSignOutIntent };
|
package/dist/content-types.json
CHANGED
|
@@ -534,6 +534,48 @@
|
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
},
|
|
537
|
+
"account-menu-index-redirect": {
|
|
538
|
+
"id": "account-menu-index-redirect",
|
|
539
|
+
"title": "Account Menu Index Redirect",
|
|
540
|
+
"description": "What the account's root shows while it opens the first section, and when there is none to open.",
|
|
541
|
+
"schema": {
|
|
542
|
+
"type": "object",
|
|
543
|
+
"additionalProperties": false,
|
|
544
|
+
"properties": {
|
|
545
|
+
"loadingLabel": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"title": "Loading announcement",
|
|
548
|
+
"minLength": 1
|
|
549
|
+
},
|
|
550
|
+
"emptyMessage": {
|
|
551
|
+
"type": "string",
|
|
552
|
+
"title": "No section message",
|
|
553
|
+
"minLength": 1
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"account-menu-sign-out": {
|
|
559
|
+
"id": "account-menu-sign-out",
|
|
560
|
+
"title": "Account Menu Sign Out",
|
|
561
|
+
"description": "The sign-out control in the account sidebar, and what it says when signing out fails.",
|
|
562
|
+
"schema": {
|
|
563
|
+
"type": "object",
|
|
564
|
+
"additionalProperties": false,
|
|
565
|
+
"properties": {
|
|
566
|
+
"label": {
|
|
567
|
+
"type": "string",
|
|
568
|
+
"title": "Sign-out label",
|
|
569
|
+
"minLength": 1
|
|
570
|
+
},
|
|
571
|
+
"errorMessage": {
|
|
572
|
+
"type": "string",
|
|
573
|
+
"title": "Sign-out failed message",
|
|
574
|
+
"minLength": 1
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
},
|
|
537
579
|
"buy-button-labels": {
|
|
538
580
|
"id": "buy-button-labels",
|
|
539
581
|
"title": "Buy Button Labels",
|
|
@@ -679,6 +721,57 @@
|
|
|
679
721
|
}
|
|
680
722
|
}
|
|
681
723
|
},
|
|
724
|
+
"product-shelf": {
|
|
725
|
+
"id": "product-shelf",
|
|
726
|
+
"title": "Product Shelf",
|
|
727
|
+
"description": "Which products a shelf shows: how many, in which order, and from which facet.",
|
|
728
|
+
"schema": {
|
|
729
|
+
"type": "object",
|
|
730
|
+
"additionalProperties": false,
|
|
731
|
+
"properties": {
|
|
732
|
+
"first": {
|
|
733
|
+
"type": "integer",
|
|
734
|
+
"title": "Number of products",
|
|
735
|
+
"minimum": 1,
|
|
736
|
+
"maximum": 100
|
|
737
|
+
},
|
|
738
|
+
"sort": {
|
|
739
|
+
"type": "string",
|
|
740
|
+
"title": "Sort",
|
|
741
|
+
"enum": [
|
|
742
|
+
"relevance",
|
|
743
|
+
"price_asc",
|
|
744
|
+
"price_desc",
|
|
745
|
+
"name_asc",
|
|
746
|
+
"name_desc",
|
|
747
|
+
"release",
|
|
748
|
+
"orders",
|
|
749
|
+
"discount"
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
"categoryId": {
|
|
753
|
+
"type": "string",
|
|
754
|
+
"title": "Category ID"
|
|
755
|
+
},
|
|
756
|
+
"brandId": {
|
|
757
|
+
"type": "string",
|
|
758
|
+
"title": "Brand ID"
|
|
759
|
+
},
|
|
760
|
+
"collectionId": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"title": "Collection ID"
|
|
763
|
+
},
|
|
764
|
+
"searchTerm": {
|
|
765
|
+
"type": "string",
|
|
766
|
+
"title": "Search term"
|
|
767
|
+
},
|
|
768
|
+
"availableOnly": {
|
|
769
|
+
"type": "boolean",
|
|
770
|
+
"title": "Available only"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
682
775
|
"region-trigger": {
|
|
683
776
|
"id": "region-trigger",
|
|
684
777
|
"title": "Region Trigger",
|
|
@@ -27,6 +27,25 @@ export type PropSchemaField = {
|
|
|
27
27
|
};
|
|
28
28
|
export type PropSchema = Record<string, PropSchemaField>;
|
|
29
29
|
export type FetchStrategy = 'static' | 'lazy' | 'reactive' | 'reactive-list-item';
|
|
30
|
+
/**
|
|
31
|
+
* How one fragment variable reads the element's configuration when the by-name convention cannot
|
|
32
|
+
* express it (config-sourced fragment variables RFC). By convention `$first` reads the content-model
|
|
33
|
+
* field or schema prop named `first`; a binding is declared only to rename the source field (`from`)
|
|
34
|
+
* or to map its value through a table (`values`). Both operations are plain data: the block never
|
|
35
|
+
* carries a function, so the catalog keeps carrying JSON and the compiler stays domain-agnostic.
|
|
36
|
+
*/
|
|
37
|
+
export type VariableBinding = {
|
|
38
|
+
/** The content-model field or schema prop that feeds the variable, when its name differs. */
|
|
39
|
+
from?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Maps the source field's value through a table: the key is the authored value (an enum member),
|
|
42
|
+
* the entry is what the variable receives (`relevance` -> `{ field: 'RELEVANCE', direction: 'DESC' }`).
|
|
43
|
+
* When the source field declares an enum, the table covers every member and nothing else.
|
|
44
|
+
*/
|
|
45
|
+
values?: Record<string, unknown>;
|
|
46
|
+
};
|
|
47
|
+
/** Variable name (without `$`) -> binding. */
|
|
48
|
+
export type VariableBindings = Record<string, VariableBinding>;
|
|
30
49
|
export interface ComponentDefinition<TProps = Record<string, unknown>> {
|
|
31
50
|
name: string;
|
|
32
51
|
importPath: string;
|
|
@@ -62,6 +81,17 @@ export interface ComponentDefinition<TProps = Record<string, unknown>> {
|
|
|
62
81
|
* bypass the compiler (Storybook, tests, manual JSX).
|
|
63
82
|
*/
|
|
64
83
|
requiresContext?: string | string[];
|
|
84
|
+
/**
|
|
85
|
+
* Declares that this component is hardened for card data. The type is `boolean`, but the marker is
|
|
86
|
+
* only the author's claim: `defineComponent` does not verify it and nothing in this definition
|
|
87
|
+
* enforces it. Absent or `false` means the component makes no such claim; only the JSON boolean
|
|
88
|
+
* `true` is a claim of hardening. It is serialized into `catalog.json` as authored, so write the
|
|
89
|
+
* literal `true`. The catalog builder carries whatever the author wrote (a literal, or a same-file
|
|
90
|
+
* top-level `const`, `let` or `var` binding) and does not validate it, so a value that bypasses the
|
|
91
|
+
* type (a cast, a JS file) reaches the catalog unchanged. A consumer must compare strictly
|
|
92
|
+
* `=== true`, never test truthiness.
|
|
93
|
+
*/
|
|
94
|
+
hardened?: boolean;
|
|
65
95
|
/**
|
|
66
96
|
* Write-side dependency declaration: the action namespaces and methods this component dispatches.
|
|
67
97
|
* The compiler resolves each key against the first-party action catalog (`actions.json`, generated
|
|
@@ -82,6 +112,13 @@ export interface ComponentDefinition<TProps = Record<string, unknown>> {
|
|
|
82
112
|
* page/layout locator are the compiler's concern; this field only fixes the declaration shape.
|
|
83
113
|
*/
|
|
84
114
|
content?: ContentTypeDefinition;
|
|
115
|
+
/**
|
|
116
|
+
* Bindings for the fragment variables whose source field is not the variable's own name, or
|
|
117
|
+
* whose CMS value must be mapped before it reaches the query. Serialized into `catalog.json` as
|
|
118
|
+
* authored; the Catalog Build checks the shape and the compiler checks the cross-references at
|
|
119
|
+
* catalog load. Omit when every variable follows the by-name convention.
|
|
120
|
+
*/
|
|
121
|
+
variables?: VariableBindings;
|
|
85
122
|
}
|
|
86
123
|
/**
|
|
87
124
|
* When a `content` model is declared, the component's `$content` prop must be assignable to the
|
|
@@ -2,6 +2,6 @@ import { ActionSelector } from "./actions/registry.js";
|
|
|
2
2
|
import { MockActions, mockAction } from "./actions/mock-action.js";
|
|
3
3
|
import { Direction, JsonValue, StorefrontContext } from "./schema/generated/schema.js";
|
|
4
4
|
import { ContentArraySchema, ContentNestedObjectShape, ContentObjectPropertySchema, ContentObjectSchema, ContentPropertySchema, ContentPropertyType, ContentScalarSchema, ContentScalarType, ContentTypeDefinition, ContentValue, defineContentType } from "./define-content-type.js";
|
|
5
|
-
import { ComponentDefinition, EditorMetadata, FetchStrategy, PropSchema, PropSchemaField, PropType, defineComponent } from "./define-component.js";
|
|
5
|
+
import { ComponentDefinition, EditorMetadata, FetchStrategy, PropSchema, PropSchemaField, PropType, VariableBinding, VariableBindings, defineComponent } from "./define-component.js";
|
|
6
6
|
import "./types.js";
|
|
7
|
-
export { type ActionSelector, type ComponentDefinition, type ContentArraySchema, type ContentNestedObjectShape, type ContentObjectPropertySchema, type ContentObjectSchema, type ContentPropertySchema, type ContentPropertyType, type ContentScalarSchema, type ContentScalarType, type ContentTypeDefinition, type ContentValue, type EditorMetadata, type FetchStrategy, type JsonValue, type MockActions, type PropSchema, type PropSchemaField, type PropType, type StorefrontContext, defineComponent, defineContentType, mockAction };
|
|
7
|
+
export { type ActionSelector, type ComponentDefinition, type ContentArraySchema, type ContentNestedObjectShape, type ContentObjectPropertySchema, type ContentObjectSchema, type ContentPropertySchema, type ContentPropertyType, type ContentScalarSchema, type ContentScalarType, type ContentTypeDefinition, type ContentValue, type EditorMetadata, type FetchStrategy, type JsonValue, type MockActions, type PropSchema, type PropSchemaField, type PropType, type StorefrontContext, type VariableBinding, type VariableBindings, defineComponent, defineContentType, mockAction };
|
|
@@ -103,7 +103,7 @@ The button is disabled until the Root's draft email is a valid, non-empty addres
|
|
|
103
103
|
|
|
104
104
|
## Behavior
|
|
105
105
|
|
|
106
|
-
- **Draft email ownership:** the Root owns a local `email` string (`useState`), never the cart. It pre-fills from `clientProfile.email` when known (a convenience for an already-identified shopper) — untouched-field re-seed, mirroring `
|
|
106
|
+
- **Draft email ownership:** the Root owns a local `email` string (`useState`), never the cart. It pre-fills from `clientProfile.email` when known (a convenience for an already-identified shopper) — untouched-field re-seed, mirroring `ClientProfileRoot`'s draft/dirty tracking: the re-seed only runs while the flow is still at the `request` step and the draft is untouched, so once the shopper edits the draft or the flow advances past `request`, further profile-email updates never clobber it (and the email can't diverge between `requestAccessCode` and `validateAccessCode`). Editing it dispatches nothing; it is purely the argument `requestAccessCode`/`validateAccessCode` are called with.
|
|
107
107
|
- **Profile persistence happens server-side, on success:** a successful `validateAccessCode` sets the cart's `clientProfileData.email` to the validated email as a side effect of authentication (see the auth module's `completeLoginWithEmail`) — this family itself never calls `clientProfileUpdate`.
|
|
108
108
|
- **No account-existence pre-check:** `AccessCodeRequestControl` dispatches unconditionally once the draft email is valid — no separate lookup call.
|
|
109
109
|
- **Stepper:** the Root owns `step: 'request' | 'validate'` and `authenticationToken: string | null` as local state — the session-action namespace itself holds none of this (a deliberate choice in the FSPG-880 session-actions design).
|
|
@@ -60,7 +60,7 @@ Content model (`account-entry-point`) fields, edited in the CMS:
|
|
|
60
60
|
|
|
61
61
|
**One element, two links, chosen by the session.** `loggedIn` renders the signed-in link; `anonymous` and `identified` both render the signed-out one, because an identified but unauthenticated shopper cannot reach their account yet. There is no prop that selects between them — the merchant authors one element and the session decides.
|
|
62
62
|
|
|
63
|
-
**The destinations are not authored.** Sign in goes to `/login`, carrying a `returnUrl` with the current path so the shopper returns where they started; the account link goes to the storefront's own `/account`. Both are fixed constants, so no schema edit and no CMS entry can misroute the auth flow. The sign-in destination comes from the shared `resolveSignInHref` (`utils/safe-href.ts`) rather than from this component, so any other surface that has to send a signed-out shopper to sign in reaches the same place by the same rule. The `returnUrl` value is constrained to a same-origin relative path, which keeps the sign-in route from being turned into an open redirect; a path the narrowing refuses drops the parameter, and so does a router reporting no path, leaving a bare `/login` rather than a broken link. That is the sender's half of the guarantee. Nothing stops a hand-crafted link, so the receiving half — narrowing the parameter through `resolveSiteRelativeHref` on arrival — belongs to the route that will serve `/login`. The signed-out link also opts out of Next.js prefetching: a header control is always in the viewport, and the destination is an auth route rather than a page, so it can set a cookie or redirect and the default would fire that request on every page view.
|
|
63
|
+
**The destinations are not authored.** Sign in goes to `/login`, carrying a `returnUrl` with the current path so the shopper returns where they started; the account link goes to the storefront's own `/pvt/account`. Both are fixed constants, so no schema edit and no CMS entry can misroute the auth flow. The sign-in destination comes from the shared `resolveSignInHref` (`utils/safe-href.ts`) rather than from this component, so any other surface that has to send a signed-out shopper to sign in reaches the same place by the same rule. The `returnUrl` value is constrained to a same-origin relative path, which keeps the sign-in route from being turned into an open redirect; a path the narrowing refuses drops the parameter, and so does a router reporting no path, leaving a bare `/login` rather than a broken link. That is the sender's half of the guarantee. Nothing stops a hand-crafted link, so the receiving half — narrowing the parameter through `resolveSiteRelativeHref` on arrival — belongs to the route that will serve `/login`. The signed-out link also opts out of Next.js prefetching: a header control is always in the viewport, and the destination is an auth route rather than a page, so it can set a cookie or redirect and the default would fire that request on every page view.
|
|
64
64
|
|
|
65
65
|
**`returnUrl` carries the path only — not the query string, not the hash.** A shopper signing in from `/s?q=tenis` or a filtered listing returns to the bare path. This is a deliberate narrowing rather than a limitation of the router: recovering the query would mean reading it through `useSearchParams()` and wrapping the header in a Suspense boundary, and the hash never leaves the browser at all. Search and filter state is cheap to re-apply and the sign-in round trip is rare, so the entry point keeps the simpler shape. Revisit it if merchants report losing filters across sign-in.
|
|
66
66
|
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# AccountMenuIdentity
|
|
2
|
+
|
|
3
|
+
**Category:** identity
|
|
4
|
+
**Purpose:** The signed-in shopper's name and initials avatar, shown beside the account's section list so they can confirm whose account they are looking at.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Visual cues (how to identify in an image)
|
|
9
|
+
|
|
10
|
+
- A small circle with one or two capital letters (`JD`) next to a person's full name, above or beside a column of account section links.
|
|
11
|
+
- It is shown only where the section list is a vertical column. On a narrow screen, where the same sections read as a horizontal row of pills, it is absent.
|
|
12
|
+
- A name only, never an email address, phone number, or edit control next to it (unless the account has no saved name, when the email stands in for it).
|
|
13
|
+
|
|
14
|
+
The image is the source of truth for layout.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- In the account's shared layout, beside the section list, to show whose account it is.
|
|
19
|
+
|
|
20
|
+
## When NOT to use
|
|
21
|
+
|
|
22
|
+
- For a profile form or any editable field → use `MyAccountProfileRoot` and its controls.
|
|
23
|
+
- For a read-only identity card with e-mail, phone, and document → use `IdentitySummaryRoot`.
|
|
24
|
+
- For the header's sign-in or account control → use [[account-entry-point]].
|
|
25
|
+
- For a bare avatar with no account data → use [[avatar]].
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Composition
|
|
30
|
+
|
|
31
|
+
`AccountMenuIdentity` is a leaf that declares its own data read. It needs a `SessionRoot` ancestor and nothing else: it reads nothing from the menu, so it is valid anywhere under a session. In the `my-account` layout it is placed under `AccountAccessGate`, inside `AccountMenuRoot`, beside `AccountMenuList`.
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
SessionRoot
|
|
35
|
+
└── AccountAccessGate
|
|
36
|
+
└── AccountMenuRoot
|
|
37
|
+
├── AccountMenuIdentity ← beside the list, never inside it
|
|
38
|
+
├── AccountMenuList
|
|
39
|
+
└── Slot ← the section's own page
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Place it in the layout, never on a page.** It is `reactive`: its fragment joins the layout's query, which runs in the browser where the shopper's cookie is, and the profile is fetched once and reused as the shopper moves between sections.
|
|
43
|
+
|
|
44
|
+
**A missing profile costs only this block.** `customerProfile` is nullable. It answers `null` with no error for an anonymous visitor, and `null` with an error at its own path (`UNAUTHORIZED`, `UPSTREAM_ERROR`) when the read fails. The rest of the layout query, the session included, resolves as usual, so the gate and the menu are unaffected.
|
|
45
|
+
|
|
46
|
+
**Keep it outside `AccountMenuList`.** The list is the navigation landmark and surrounds its items alone; the identity block is not navigation.
|
|
47
|
+
|
|
48
|
+
The profile is optional to the menu, so it lives in its own component with its own fragment. A store that does not compose this block does not fetch the profile for the menu.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Components
|
|
53
|
+
|
|
54
|
+
### AccountMenuIdentity
|
|
55
|
+
|
|
56
|
+
No props in the schema. It accepts standard `<div>` attributes (`className`, `id`), and takes no children.
|
|
57
|
+
|
|
58
|
+
The block renders:
|
|
59
|
+
|
|
60
|
+
| State | What renders |
|
|
61
|
+
|---|---|
|
|
62
|
+
| Session not `loggedIn`, or still loading | Nothing |
|
|
63
|
+
| `loggedIn`, layout query pending | An `aria-hidden` skeleton (`data-fs-account-menu-identity-skeleton`) |
|
|
64
|
+
| `loggedIn`, `customerProfile` is `null` | Nothing |
|
|
65
|
+
| `loggedIn`, profile has neither a name nor an email | Nothing |
|
|
66
|
+
| `loggedIn`, profile resolved | The avatar and the name |
|
|
67
|
+
|
|
68
|
+
**The name** is the first and last names, each trimmed, joined with a space. With neither, the trimmed email stands in for it. **The avatar** shows initials derived from that same name: the first letters of the first and last words, or one letter for a single word. It shows initials only, because the profile has no photo field.
|
|
69
|
+
|
|
70
|
+
The avatar is hidden from assistive technology, so the name is announced once, as text.
|
|
71
|
+
|
|
72
|
+
### AccountMenuIdentitySkeleton
|
|
73
|
+
|
|
74
|
+
The loading placeholder `AccountMenuIdentity` renders while the profile read is pending. No props. It needs no context.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Canonical schema example
|
|
79
|
+
|
|
80
|
+
The my-account layout, with the identity block beside the section list:
|
|
81
|
+
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"account-session": { "type": "SessionRoot", "children": ["account-gate"] },
|
|
85
|
+
"account-gate": { "type": "AccountAccessGate", "children": ["account-menu"] },
|
|
86
|
+
"account-menu": {
|
|
87
|
+
"type": "AccountMenuRoot",
|
|
88
|
+
"children": ["account-sidebar", "account-slot"]
|
|
89
|
+
},
|
|
90
|
+
"account-sidebar": {
|
|
91
|
+
"type": "Container",
|
|
92
|
+
"children": ["account-identity", "account-menu-list"]
|
|
93
|
+
},
|
|
94
|
+
"account-identity": {
|
|
95
|
+
"type": "AccountMenuIdentity",
|
|
96
|
+
"style": ["$account-menu-identity"]
|
|
97
|
+
},
|
|
98
|
+
"account-menu-list": { "type": "AccountMenuList", "props": { "label": "Account" } },
|
|
99
|
+
"account-slot": { "type": "Slot" }
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Common mistakes
|
|
104
|
+
|
|
105
|
+
- **Putting it inside `AccountMenuList`.** The list takes no children; the block sits beside it, outside the landmark.
|
|
106
|
+
- **Composing it on a page instead of the layout.** A page-scoped query runs on the server; the layout's runs in the browser with the shopper's cookie and is reused across sections.
|
|
107
|
+
- **Omitting `SessionRoot`.** The block reads the session and throws without one.
|
|
108
|
+
- **Expecting a photo.** It shows initials only. The profile has no photo field, so there is nothing to pass.
|
|
109
|
+
- **Reaching for `IdentitySummaryRoot`.** That is checkout's order-form identity card and needs a cart. The account sidebar reads the persistent profile.
|
|
110
|
+
- **Hiding it with a component prop.** There is none. Hide it below `md` through the swatch (`max-md:hidden`).
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Styling
|
|
115
|
+
|
|
116
|
+
| Component | What you style | Plausible classes |
|
|
117
|
+
|---|---|---|
|
|
118
|
+
| `AccountMenuIdentity` | `data-fs-account-menu-identity` is the block: lays the avatar beside the name and hides it on narrow screens | `max-md:hidden flex items-center gap-3` |
|
|
119
|
+
| Avatar | `data-fs-avatar`, with `data-fs-account-menu-identity-avatar`, is the circle | `size-10 rounded-full bg-gray-200 text-sm font-medium` |
|
|
120
|
+
| Name | `data-fs-account-menu-identity-name` is the name text | `m-0 truncate font-semibold` |
|
|
121
|
+
| Skeleton | `data-fs-account-menu-identity-skeleton`, with `-avatar` and `-line` parts, holds the block's place | `flex items-center gap-3` |
|
|
122
|
+
|
|
123
|
+
The avatar is composed inside the block, so it is not a schema element a swatch can name. Its look reaches it through descendant selectors on the block's hooks, as a store's swatch does:
|
|
124
|
+
|
|
125
|
+
```json
|
|
126
|
+
{
|
|
127
|
+
"AccountMenuIdentity": {
|
|
128
|
+
"account-menu-identity": [
|
|
129
|
+
"max-md:hidden",
|
|
130
|
+
"flex",
|
|
131
|
+
"items-center",
|
|
132
|
+
"gap-3",
|
|
133
|
+
"[&_[data-fs-avatar]]:inline-flex",
|
|
134
|
+
"[&_[data-fs-avatar]]:size-10",
|
|
135
|
+
"[&_[data-fs-avatar]]:shrink-0",
|
|
136
|
+
"[&_[data-fs-avatar]]:items-center",
|
|
137
|
+
"[&_[data-fs-avatar]]:justify-center",
|
|
138
|
+
"[&_[data-fs-avatar]]:overflow-hidden",
|
|
139
|
+
"[&_[data-fs-avatar]]:rounded-full",
|
|
140
|
+
"[&_[data-fs-avatar]]:bg-gray-200",
|
|
141
|
+
"[&_[data-fs-avatar]]:text-sm",
|
|
142
|
+
"[&_[data-fs-avatar]]:font-medium",
|
|
143
|
+
"[&_[data-fs-account-menu-identity-name]]:m-0",
|
|
144
|
+
"[&_[data-fs-account-menu-identity-name]]:truncate",
|
|
145
|
+
"[&_[data-fs-account-menu-identity-name]]:font-semibold"
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
`max-md:hidden` is `display: none` below the `md` breakpoint, which removes the block from the layout and from the accessibility tree.
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Related
|
|
156
|
+
|
|
157
|
+
- [[avatar]] — the particle the block composes for its initials circle.
|
|
158
|
+
- [[account-menu]] — the section list the block sits beside.
|
|
159
|
+
- [[account-access-gate]] — the gate the layout places above both.
|
|
160
|
+
- `IdentitySummaryRoot` — checkout's read-only identity card, which reads the order form rather than the persistent profile.
|