@movable/ui 2.13.4 → 2.13.6

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/lib/index.d.ts CHANGED
@@ -135,6 +135,12 @@ declare type HeaderLink = {
135
135
 
136
136
  export declare function HeaderMetadata({ metadata }: MetaDataProps): JSX_2.Element;
137
137
 
138
+ declare class HeaderMetaDataPageObject {
139
+ baseSelector: string;
140
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
141
+ getDatum(label: string): Cypress.Chainable<JQuery<HTMLElement>>;
142
+ }
143
+
138
144
  declare type HeaderMetadataType = {
139
145
  icon?: string | JSX.Element;
140
146
  label: string;
@@ -320,6 +326,17 @@ declare type InkImageProps = BoxProps_2 & {
320
326
 
321
327
  export declare function InkPageHeader({ Breadcrumbs, Subtitle, Metadata, Chips, ButtonGroup, Tabs, sx, }: InkPageHeaderProps): JSX_2.Element;
322
328
 
329
+ export declare const inkPageHeader: InkPageHeaderPageObject;
330
+
331
+ export declare class InkPageHeaderPageObject {
332
+ baseSelector: string;
333
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
334
+ breadcrumbs: LinkBreadcrumbsPageObject;
335
+ metadata: HeaderMetaDataPageObject;
336
+ actionButtons: PageHeaderActionButtonsPageObject;
337
+ get subTitle(): Cypress.Chainable<JQuery<HTMLElement>>;
338
+ }
339
+
323
340
  declare type InkPageHeaderProps = {
324
341
  Breadcrumbs?: JSX.Element;
325
342
  Subtitle?: JSX.Element;
@@ -581,6 +598,16 @@ declare type InkToggleTextProps = ToggleButtonProps & {
581
598
 
582
599
  export declare function InkWorkflowHeader({ label, Stepper, ButtonGroup, }: InkWorkflowHeaderProps): JSX_2.Element;
583
600
 
601
+ export declare const inkWorkflowHeader: InkWorkflowHeaderPageObject;
602
+
603
+ export declare class InkWorkflowHeaderPageObject {
604
+ get label(): Cypress.Chainable<JQuery<HTMLElement>>;
605
+ get stepper(): Cypress.Chainable<JQuery<HTMLElement>>;
606
+ get buttonGroup(): Cypress.Chainable<JQuery<HTMLElement>>;
607
+ get primaryAction(): Cypress.Chainable<JQuery<HTMLElement>>;
608
+ get closeAction(): Cypress.Chainable<JQuery<HTMLElement>>;
609
+ }
610
+
584
611
  declare type InkWorkflowHeaderProps = {
585
612
  label: string;
586
613
  Stepper?: JSX.Element;
@@ -614,6 +641,13 @@ declare type LayoutDetailsProps = GridProps & {
614
641
 
615
642
  export declare function LinkBreadcrumbs({ breadcrumbs }: BreadcrumbProps): JSX_2.Element;
616
643
 
644
+ export declare class LinkBreadcrumbsPageObject {
645
+ baseSelector: string;
646
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
647
+ get title(): Cypress.Chainable<JQuery<HTMLElement>>;
648
+ crumb(index: string | number): Cypress.Chainable<JQuery<HTMLElement>>;
649
+ }
650
+
617
651
  export declare type MenuOption = MenuItemProps & {
618
652
  label: string;
619
653
  group?: string;
@@ -644,6 +678,18 @@ declare interface Option_2 {
644
678
 
645
679
  export declare function PageHeaderActionButtons({ primaryAction, secondaryAction, dropdownAction, }: PageHeaderActionButtonsProps): JSX_2.Element;
646
680
 
681
+ declare class PageHeaderActionButtonsPageObject {
682
+ baseSelector: string;
683
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
684
+ get primaryAction(): Cypress.Chainable<JQuery<HTMLElement>>;
685
+ get secondaryAction(): Cypress.Chainable<JQuery<HTMLElement>>;
686
+ get dropDownTrigger(): Cypress.Chainable<JQuery<HTMLElement>>;
687
+ get dropDownMenu(): Cypress.Chainable<JQuery<HTMLElement>>;
688
+ menuItem(label: string): Cypress.Chainable<JQuery<HTMLElement>>;
689
+ internalMenuItem(label: string): Cypress.Chainable<JQuery<HTMLElement>>;
690
+ openDropDown(): Cypress.Chainable<JQuery<HTMLElement>>;
691
+ }
692
+
647
693
  declare type PageHeaderActionButtonsProps = {
648
694
  primaryAction?: ButtonPropsType;
649
695
  secondaryAction?: ButtonPropsType;