@tesouro/embedded-components-react 0.2.284 → 0.2.288

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.
@@ -739,6 +739,110 @@ declare const WIDGET_SUITE_SECTION_TITLE_LABELS_EN: WidgetSuiteSectionTitleLabel
739
739
  declare const WIDGET_SUITE_CONTENT_LABELS_EN: WidgetSuiteContentLabels;
740
740
  declare const WIDGET_SUITE_DISCLOSURE_LABELS_EN: WidgetSuiteDisclosureLabels;
741
741
 
742
+ interface CardsWidgetPaginationInput {
743
+ paginationToken?: string;
744
+ pageSize?: number;
745
+ }
746
+
747
+ /**
748
+ * The sections this widget renders itself. These ids are the public vocabulary
749
+ * a host uses to deep-link into a section, so they are part of the package's
750
+ * API surface — renaming one is a breaking change.
751
+ */
752
+ declare const SettingsSection: {
753
+ readonly Profile: "profile";
754
+ readonly Team: "team";
755
+ readonly Invoice: "invoice";
756
+ readonly Expense: "expense";
757
+ readonly BillPay: "bill-pay";
758
+ readonly Accounting: "accounting";
759
+ readonly Tags: "tags";
760
+ readonly Help: "help";
761
+ };
762
+ type SettingsSection = (typeof SettingsSection)[keyof typeof SettingsSection];
763
+ /**
764
+ * A selectable section id: one of the built-ins, or the id of a host-supplied
765
+ * {@link SettingsWidgetAdditionalSection}. The `string & {}` arm keeps the
766
+ * built-in literals visible to editor autocomplete while still accepting a
767
+ * host's own id.
768
+ */
769
+ type SettingsWidgetSectionId = SettingsSection | (string & {});
770
+
771
+ interface WidgetSuiteAccountsSelection {
772
+ /** The account whose details are open. `null` is the list. */
773
+ accountId?: string | null;
774
+ }
775
+ interface WidgetSuiteCardsSelection {
776
+ /** The card whose details panel is open. `null` closes it. */
777
+ cardId?: string | null;
778
+ /**
779
+ * The list's cursor and page size. Forwarded to the widget's own `pagination`
780
+ * and `defaultPagination`, so the suite holds no cursor of its own: leaving
781
+ * the section and coming back restarts the walk unless a host drives it.
782
+ */
783
+ pagination?: CardsWidgetPaginationInput;
784
+ }
785
+ interface WidgetSuiteSettingsSelection {
786
+ /**
787
+ * The settings section on screen. Controlled only: the suite never supplies a
788
+ * value of its own, because `SettingsWidget` substitutes another section when
789
+ * this one is not available to the user and reports nothing when it does
790
+ * (EMBD-4980 adds the `defaultSelectedSection` that would make an initial
791
+ * value safe).
792
+ */
793
+ section?: SettingsWidgetSectionId;
794
+ }
795
+ /**
796
+ * Where the suite is pointed, grouped by section.
797
+ *
798
+ * One object rather than a prop per key: it is the value a host mirrors into its
799
+ * URL, and it groups the same way `contentLabels` does. Every key resolves
800
+ * independently, so `selection={{ section: 'accounts' }}` drives the menu and
801
+ * leaves the account to `defaultSelection`.
802
+ *
803
+ * Credit and debit cards get separate groups because the Cards section mounts
804
+ * two `CardsWidget` instances against two endpoints, so one card id cannot
805
+ * address both. There is no `invoicing` group: that section renders the Monite
806
+ * `<Receivables />`, whose tab is internal state (EMBD-2171 replaces it,
807
+ * EMBD-4979 makes the native tab controllable).
808
+ */
809
+ interface WidgetSuiteSelection {
810
+ section?: WidgetSuiteSectionId;
811
+ accounts?: WidgetSuiteAccountsSelection;
812
+ creditCards?: WidgetSuiteCardsSelection;
813
+ debitCards?: WidgetSuiteCardsSelection;
814
+ settings?: WidgetSuiteSettingsSelection;
815
+ }
816
+ /**
817
+ * Where the suite can *open*, which is not everything it can be driven to:
818
+ * `SettingsWidget` takes no initial section, so naming one here would be a
819
+ * silent no-op (EMBD-4980 adds the prop that makes it work).
820
+ *
821
+ * Derived rather than hand-written, so each key stays in exactly one of the two
822
+ * types as the widgets behind them gain the props they are missing.
823
+ */
824
+ type WidgetSuiteDefaultSelection = Omit<WidgetSuiteSelection, 'settings'>;
825
+ interface WidgetSuiteCardsSelectionSnapshot {
826
+ cardId: string | null;
827
+ pagination: CardsWidgetPaginationInput | undefined;
828
+ }
829
+ /**
830
+ * The selection as the suite reports it: every key carries a value, so a host
831
+ * reading one needs no optional chaining. Assignable to
832
+ * {@link WidgetSuiteSelection}, so a host can hand a snapshot straight back.
833
+ */
834
+ interface WidgetSuiteSelectionSnapshot {
835
+ section: WidgetSuiteSectionId | undefined;
836
+ accounts: {
837
+ accountId: string | null;
838
+ };
839
+ creditCards: WidgetSuiteCardsSelectionSnapshot;
840
+ debitCards: WidgetSuiteCardsSelectionSnapshot;
841
+ settings: {
842
+ section: SettingsWidgetSectionId | undefined;
843
+ };
844
+ }
845
+
742
846
  interface WidgetSuiteProps extends WidgetProviderProps {
743
847
  /**
744
848
  * Which sections the suite offers, in menu order.
@@ -753,6 +857,34 @@ interface WidgetSuiteProps extends WidgetProviderProps {
753
857
  * this is the host's ceiling rather than a promise of what renders.
754
858
  */
755
859
  sections: readonly WidgetSuiteSectionId[];
860
+ /**
861
+ * Where the suite is pointed, for a host that owns navigation — a URL, a
862
+ * router, its own state. Every key resolves on its own, so driving one leaves
863
+ * the rest to the suite.
864
+ *
865
+ * A key here puts the widget behind it in controlled mode for the lifetime of
866
+ * the mount, so supply it with `onSelectionChange` or the surface will not
867
+ * move when the user clicks.
868
+ */
869
+ selection?: WidgetSuiteSelection;
870
+ /**
871
+ * Where the suite opens, for a host that wants a deep link but not ownership.
872
+ * Read once per mount, and ignored per key when `selection` names that key.
873
+ *
874
+ * Carries every key `selection` does bar `settings` — see
875
+ * {@link WidgetSuiteDefaultSelection}.
876
+ */
877
+ defaultSelection?: WidgetSuiteDefaultSelection;
878
+ /**
879
+ * The whole selection after a person moved the suite: a menu click, a row, a
880
+ * card, a settings tab, a page of a card list. Every key carries a value, and
881
+ * the object can be handed straight back as `selection`.
882
+ *
883
+ * Never fired for the entitlement fallback, and never fired on mount, so a
884
+ * host mirroring this into its URL cannot overwrite the deep link it was just
885
+ * handed. A move that touches two keys reports once.
886
+ */
887
+ onSelectionChange?: (selection: WidgetSuiteSelectionSnapshot) => void;
756
888
  /** Overrides for the shell's own copy — the nav landmark name, empty state. */
757
889
  labels?: PartialDeep<WidgetSuiteShellLabels>;
758
890
  /** Overrides for the section names in the menu. */
@@ -779,8 +911,8 @@ interface WidgetSuiteProps extends WidgetProviderProps {
779
911
  * heading reads as a fragment of someone else's. Set `false` when the host
780
912
  * already renders a heading of its own above the suite.
781
913
  *
782
- * Sections whose widget heads itself (Accounts, Settings) never get one, at
783
- * any setting — see `rendersOwnTitle` in `sections.tsx`.
914
+ * Sections whose widget heads itself (Accounts, Cards, Settings) never get
915
+ * one, at any setting — see `rendersOwnTitle` in `sections.tsx`.
784
916
  */
785
917
  showSectionTitle?: boolean;
786
918
  }
@@ -801,15 +933,17 @@ interface WidgetSuiteProps extends WidgetProviderProps {
801
933
  * init fails before answering the disclosure flags, the acceptance surface
802
934
  * alone when the session owes the bank's disclosures, or the nav over its
803
935
  * sections. States rather than an overlay over a mounted shell — see
804
- * `WidgetSuiteInner` for why each boundary sits where it does.
936
+ * `WidgetSuiteSurface` for why each boundary sits where it does.
805
937
  *
806
- * The active section is held here rather than taken as a prop, matching
807
- * `BillPayWidgetNative` and `SettingsWidget`. A host-controlled
808
- * `selectedSectionId` / `onSectionChange` pair is the natural next step for
809
- * deep-linking, and is deliberately not invented on an experimental export
810
- * before a host asks for it.
938
+ * Navigation is one `selection` object a host can drive key by key, published to
939
+ * the sections through `WidgetSuiteProvider`. Only the open panel is mounted, so
940
+ * a key the suite holds survives leaving a section and coming back and a key it
941
+ * does not hold is lost: today Accounts remembers its open account and Cards its
942
+ * open card, while Bill Pay forgets its tab, Settings its section and each card
943
+ * list its cursor. That split is the widgets' current shape rather than a
944
+ * decision — see `WidgetSuiteSelection` for the ticket behind each gap.
811
945
  */
812
946
  declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
813
947
 
814
948
  export { WIDGET_SUITE_CONTENT_LABELS_EN, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_DISCLOSURE_LABELS_EN, WIDGET_SUITE_SECTION_LABELS_EN, WIDGET_SUITE_SECTION_TITLE_LABELS_EN, WIDGET_SUITE_SHELL_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
815
- export type { PartialDeep, WidgetSuiteContentLabels, WidgetSuiteDisclosureLabels, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteSectionTitleLabels, WidgetSuiteShellLabels };
949
+ export type { PartialDeep, WidgetSuiteAccountsSelection, WidgetSuiteCardsSelection, WidgetSuiteCardsSelectionSnapshot, WidgetSuiteContentLabels, WidgetSuiteDefaultSelection, WidgetSuiteDisclosureLabels, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteSectionTitleLabels, WidgetSuiteSelection, WidgetSuiteSelectionSnapshot, WidgetSuiteSettingsSelection, WidgetSuiteShellLabels };
@@ -1,6 +1,6 @@
1
1
  import { WIDGET_SUITE_CONTENT_LABELS_EN as e, WIDGET_SUITE_DISCLOSURE_LABELS_EN as t, WIDGET_SUITE_SECTION_LABELS_EN as n, WIDGET_SUITE_SECTION_TITLE_LABELS_EN as r } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js";
2
- import { WIDGET_SUITE_DEFAULT_SECTIONS as i, WidgetSuiteSectionId as a } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js";
2
+ import { WIDGET_SUITE_DEFAULT_SECTIONS as i, WidgetSuiteSectionId as a } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js";
3
3
  import { WIDGET_SUITE_SHELL_LABELS_EN as o } from "../libs/tesouro-embedded-components-react/widget-suite/ui/dist/index2.js";
4
- import { WidgetSuite as s } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index6.js";
4
+ import { WidgetSuite as s } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js";
5
5
  import "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index.js";
6
6
  export { e as WIDGET_SUITE_CONTENT_LABELS_EN, i as WIDGET_SUITE_DEFAULT_SECTIONS, t as WIDGET_SUITE_DISCLOSURE_LABELS_EN, n as WIDGET_SUITE_SECTION_LABELS_EN, r as WIDGET_SUITE_SECTION_TITLE_LABELS_EN, o as WIDGET_SUITE_SHELL_LABELS_EN, s as WidgetSuite, a as WidgetSuiteSectionId };
@@ -739,6 +739,110 @@ declare const WIDGET_SUITE_SECTION_TITLE_LABELS_EN: WidgetSuiteSectionTitleLabel
739
739
  declare const WIDGET_SUITE_CONTENT_LABELS_EN: WidgetSuiteContentLabels;
740
740
  declare const WIDGET_SUITE_DISCLOSURE_LABELS_EN: WidgetSuiteDisclosureLabels;
741
741
 
742
+ interface CardsWidgetPaginationInput {
743
+ paginationToken?: string;
744
+ pageSize?: number;
745
+ }
746
+
747
+ /**
748
+ * The sections this widget renders itself. These ids are the public vocabulary
749
+ * a host uses to deep-link into a section, so they are part of the package's
750
+ * API surface — renaming one is a breaking change.
751
+ */
752
+ declare const SettingsSection: {
753
+ readonly Profile: "profile";
754
+ readonly Team: "team";
755
+ readonly Invoice: "invoice";
756
+ readonly Expense: "expense";
757
+ readonly BillPay: "bill-pay";
758
+ readonly Accounting: "accounting";
759
+ readonly Tags: "tags";
760
+ readonly Help: "help";
761
+ };
762
+ type SettingsSection = (typeof SettingsSection)[keyof typeof SettingsSection];
763
+ /**
764
+ * A selectable section id: one of the built-ins, or the id of a host-supplied
765
+ * {@link SettingsWidgetAdditionalSection}. The `string & {}` arm keeps the
766
+ * built-in literals visible to editor autocomplete while still accepting a
767
+ * host's own id.
768
+ */
769
+ type SettingsWidgetSectionId = SettingsSection | (string & {});
770
+
771
+ interface WidgetSuiteAccountsSelection {
772
+ /** The account whose details are open. `null` is the list. */
773
+ accountId?: string | null;
774
+ }
775
+ interface WidgetSuiteCardsSelection {
776
+ /** The card whose details panel is open. `null` closes it. */
777
+ cardId?: string | null;
778
+ /**
779
+ * The list's cursor and page size. Forwarded to the widget's own `pagination`
780
+ * and `defaultPagination`, so the suite holds no cursor of its own: leaving
781
+ * the section and coming back restarts the walk unless a host drives it.
782
+ */
783
+ pagination?: CardsWidgetPaginationInput;
784
+ }
785
+ interface WidgetSuiteSettingsSelection {
786
+ /**
787
+ * The settings section on screen. Controlled only: the suite never supplies a
788
+ * value of its own, because `SettingsWidget` substitutes another section when
789
+ * this one is not available to the user and reports nothing when it does
790
+ * (EMBD-4980 adds the `defaultSelectedSection` that would make an initial
791
+ * value safe).
792
+ */
793
+ section?: SettingsWidgetSectionId;
794
+ }
795
+ /**
796
+ * Where the suite is pointed, grouped by section.
797
+ *
798
+ * One object rather than a prop per key: it is the value a host mirrors into its
799
+ * URL, and it groups the same way `contentLabels` does. Every key resolves
800
+ * independently, so `selection={{ section: 'accounts' }}` drives the menu and
801
+ * leaves the account to `defaultSelection`.
802
+ *
803
+ * Credit and debit cards get separate groups because the Cards section mounts
804
+ * two `CardsWidget` instances against two endpoints, so one card id cannot
805
+ * address both. There is no `invoicing` group: that section renders the Monite
806
+ * `<Receivables />`, whose tab is internal state (EMBD-2171 replaces it,
807
+ * EMBD-4979 makes the native tab controllable).
808
+ */
809
+ interface WidgetSuiteSelection {
810
+ section?: WidgetSuiteSectionId;
811
+ accounts?: WidgetSuiteAccountsSelection;
812
+ creditCards?: WidgetSuiteCardsSelection;
813
+ debitCards?: WidgetSuiteCardsSelection;
814
+ settings?: WidgetSuiteSettingsSelection;
815
+ }
816
+ /**
817
+ * Where the suite can *open*, which is not everything it can be driven to:
818
+ * `SettingsWidget` takes no initial section, so naming one here would be a
819
+ * silent no-op (EMBD-4980 adds the prop that makes it work).
820
+ *
821
+ * Derived rather than hand-written, so each key stays in exactly one of the two
822
+ * types as the widgets behind them gain the props they are missing.
823
+ */
824
+ type WidgetSuiteDefaultSelection = Omit<WidgetSuiteSelection, 'settings'>;
825
+ interface WidgetSuiteCardsSelectionSnapshot {
826
+ cardId: string | null;
827
+ pagination: CardsWidgetPaginationInput | undefined;
828
+ }
829
+ /**
830
+ * The selection as the suite reports it: every key carries a value, so a host
831
+ * reading one needs no optional chaining. Assignable to
832
+ * {@link WidgetSuiteSelection}, so a host can hand a snapshot straight back.
833
+ */
834
+ interface WidgetSuiteSelectionSnapshot {
835
+ section: WidgetSuiteSectionId | undefined;
836
+ accounts: {
837
+ accountId: string | null;
838
+ };
839
+ creditCards: WidgetSuiteCardsSelectionSnapshot;
840
+ debitCards: WidgetSuiteCardsSelectionSnapshot;
841
+ settings: {
842
+ section: SettingsWidgetSectionId | undefined;
843
+ };
844
+ }
845
+
742
846
  interface WidgetSuiteProps extends WidgetProviderProps {
743
847
  /**
744
848
  * Which sections the suite offers, in menu order.
@@ -753,6 +857,34 @@ interface WidgetSuiteProps extends WidgetProviderProps {
753
857
  * this is the host's ceiling rather than a promise of what renders.
754
858
  */
755
859
  sections: readonly WidgetSuiteSectionId[];
860
+ /**
861
+ * Where the suite is pointed, for a host that owns navigation — a URL, a
862
+ * router, its own state. Every key resolves on its own, so driving one leaves
863
+ * the rest to the suite.
864
+ *
865
+ * A key here puts the widget behind it in controlled mode for the lifetime of
866
+ * the mount, so supply it with `onSelectionChange` or the surface will not
867
+ * move when the user clicks.
868
+ */
869
+ selection?: WidgetSuiteSelection;
870
+ /**
871
+ * Where the suite opens, for a host that wants a deep link but not ownership.
872
+ * Read once per mount, and ignored per key when `selection` names that key.
873
+ *
874
+ * Carries every key `selection` does bar `settings` — see
875
+ * {@link WidgetSuiteDefaultSelection}.
876
+ */
877
+ defaultSelection?: WidgetSuiteDefaultSelection;
878
+ /**
879
+ * The whole selection after a person moved the suite: a menu click, a row, a
880
+ * card, a settings tab, a page of a card list. Every key carries a value, and
881
+ * the object can be handed straight back as `selection`.
882
+ *
883
+ * Never fired for the entitlement fallback, and never fired on mount, so a
884
+ * host mirroring this into its URL cannot overwrite the deep link it was just
885
+ * handed. A move that touches two keys reports once.
886
+ */
887
+ onSelectionChange?: (selection: WidgetSuiteSelectionSnapshot) => void;
756
888
  /** Overrides for the shell's own copy — the nav landmark name, empty state. */
757
889
  labels?: PartialDeep<WidgetSuiteShellLabels>;
758
890
  /** Overrides for the section names in the menu. */
@@ -779,8 +911,8 @@ interface WidgetSuiteProps extends WidgetProviderProps {
779
911
  * heading reads as a fragment of someone else's. Set `false` when the host
780
912
  * already renders a heading of its own above the suite.
781
913
  *
782
- * Sections whose widget heads itself (Accounts, Settings) never get one, at
783
- * any setting — see `rendersOwnTitle` in `sections.tsx`.
914
+ * Sections whose widget heads itself (Accounts, Cards, Settings) never get
915
+ * one, at any setting — see `rendersOwnTitle` in `sections.tsx`.
784
916
  */
785
917
  showSectionTitle?: boolean;
786
918
  }
@@ -801,15 +933,17 @@ interface WidgetSuiteProps extends WidgetProviderProps {
801
933
  * init fails before answering the disclosure flags, the acceptance surface
802
934
  * alone when the session owes the bank's disclosures, or the nav over its
803
935
  * sections. States rather than an overlay over a mounted shell — see
804
- * `WidgetSuiteInner` for why each boundary sits where it does.
936
+ * `WidgetSuiteSurface` for why each boundary sits where it does.
805
937
  *
806
- * The active section is held here rather than taken as a prop, matching
807
- * `BillPayWidgetNative` and `SettingsWidget`. A host-controlled
808
- * `selectedSectionId` / `onSectionChange` pair is the natural next step for
809
- * deep-linking, and is deliberately not invented on an experimental export
810
- * before a host asks for it.
938
+ * Navigation is one `selection` object a host can drive key by key, published to
939
+ * the sections through `WidgetSuiteProvider`. Only the open panel is mounted, so
940
+ * a key the suite holds survives leaving a section and coming back and a key it
941
+ * does not hold is lost: today Accounts remembers its open account and Cards its
942
+ * open card, while Bill Pay forgets its tab, Settings its section and each card
943
+ * list its cursor. That split is the widgets' current shape rather than a
944
+ * decision — see `WidgetSuiteSelection` for the ticket behind each gap.
811
945
  */
812
946
  declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
813
947
 
814
948
  export { WIDGET_SUITE_CONTENT_LABELS_EN, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_DISCLOSURE_LABELS_EN, WIDGET_SUITE_SECTION_LABELS_EN, WIDGET_SUITE_SECTION_TITLE_LABELS_EN, WIDGET_SUITE_SHELL_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
815
- export type { PartialDeep, WidgetSuiteContentLabels, WidgetSuiteDisclosureLabels, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteSectionTitleLabels, WidgetSuiteShellLabels };
949
+ export type { PartialDeep, WidgetSuiteAccountsSelection, WidgetSuiteCardsSelection, WidgetSuiteCardsSelectionSnapshot, WidgetSuiteContentLabels, WidgetSuiteDefaultSelection, WidgetSuiteDisclosureLabels, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteSectionTitleLabels, WidgetSuiteSelection, WidgetSuiteSelectionSnapshot, WidgetSuiteSettingsSelection, WidgetSuiteShellLabels };
@@ -1,6 +1,6 @@
1
1
  import { WIDGET_SUITE_CONTENT_LABELS_EN as e, WIDGET_SUITE_DISCLOSURE_LABELS_EN as t, WIDGET_SUITE_SECTION_LABELS_EN as n, WIDGET_SUITE_SECTION_TITLE_LABELS_EN as r } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js";
2
- import { WIDGET_SUITE_DEFAULT_SECTIONS as i, WidgetSuiteSectionId as a } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js";
2
+ import { WIDGET_SUITE_DEFAULT_SECTIONS as i, WidgetSuiteSectionId as a } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js";
3
3
  import { WIDGET_SUITE_SHELL_LABELS_EN as o } from "../libs/tesouro-embedded-components-react/widget-suite/ui/dist/index2.js";
4
- import { WidgetSuite as s } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index6.js";
4
+ import { WidgetSuite as s } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js";
5
5
  import "./WidgetSuite.js";
6
6
  export { e as WIDGET_SUITE_CONTENT_LABELS_EN, i as WIDGET_SUITE_DEFAULT_SECTIONS, t as WIDGET_SUITE_DISCLOSURE_LABELS_EN, n as WIDGET_SUITE_SECTION_LABELS_EN, r as WIDGET_SUITE_SECTION_TITLE_LABELS_EN, o as WIDGET_SUITE_SHELL_LABELS_EN, s as WidgetSuite, a as WidgetSuiteSectionId };
package/dist/index.css CHANGED
@@ -4489,8 +4489,8 @@
4489
4489
  outline-style: var(--tw-outline-style);
4490
4490
  outline-width: 2px;
4491
4491
  }
4492
- .ttw\:focus-visible\:outline-offset-2:focus-visible {
4493
- outline-offset: 2px;
4492
+ .ttw\:focus-visible\:-outline-offset-2:focus-visible {
4493
+ outline-offset: calc(2px * -1);
4494
4494
  }
4495
4495
  .ttw\:focus-visible\:outline-ring:focus-visible {
4496
4496
  outline-color: var(--ttw-ring);