@movable/ui 2.13.0 → 2.13.2

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
@@ -111,7 +111,7 @@ declare type DemoComponentProps = {
111
111
  stringToDisplay: string;
112
112
  };
113
113
 
114
- export declare function DetailsLayout({ Header, children, ...rest }: LayoutDetailsProps): JSX_2.Element;
114
+ export declare function DetailsLayout({ Header, children, sx, ...rest }: LayoutDetailsProps): JSX_2.Element;
115
115
 
116
116
  declare type DrawerType = 'basic' | 'panel' | 'filter';
117
117
 
@@ -159,7 +159,7 @@ declare type IFilterDrawer = DrawerProps & {
159
159
  mainProps?: BoxProps;
160
160
  };
161
161
 
162
- export declare function IndexLayout({ Header, children, ...containerProps }: IndexLayoutProps): JSX_2.Element;
162
+ export declare function IndexLayout({ Header, children, sx, ...containerProps }: IndexLayoutProps): JSX_2.Element;
163
163
 
164
164
  declare type IndexLayoutProps = GridProps & {
165
165
  Header: JSX.Element;
@@ -182,6 +182,25 @@ declare type InkAttributeProps = ListItemTextProps & {
182
182
 
183
183
  export declare const InkCheckboxGroup: ForwardRefExoticComponent<InkCheckboxGroupProps & RefAttributes<HTMLDivElement>>;
184
184
 
185
+ export declare class inkCheckboxGroup {
186
+ baseAttr: string;
187
+ name: string;
188
+ static create(name: string): inkCheckboxGroup;
189
+ constructor(name: string);
190
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
191
+ get label(): Cypress.Chainable<JQuery<HTMLElement>>;
192
+ get required(): Cypress.Chainable<JQuery<HTMLElement>>;
193
+ get error(): Cypress.Chainable<JQuery<HTMLElement>>;
194
+ get stack(): Cypress.Chainable<JQuery<HTMLElement>>;
195
+ isHorizontal(): Cypress.Chainable<JQuery<HTMLElement>>;
196
+ isVertical(): Cypress.Chainable<JQuery<HTMLElement>>;
197
+ get options(): Cypress.Chainable<JQuery<HTMLElement>>;
198
+ getCheckbox(value: string): Cypress.Chainable<JQuery<HTMLElement>>;
199
+ isChecked(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
200
+ notChecked(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
201
+ get helperText(): Cypress.Chainable<JQuery<HTMLElement>>;
202
+ }
203
+
185
204
  export declare type InkCheckboxGroupProps = {
186
205
  options: {
187
206
  value: string;
@@ -327,6 +346,26 @@ export declare function InkPersistentFilterDrawer({ isOpen, handleDrawerClose, c
327
346
 
328
347
  export declare const InkRadioGroup: ForwardRefExoticComponent<InkRadioGroupProps & RefAttributes<HTMLDivElement>>;
329
348
 
349
+ export declare class inkRadioGroup {
350
+ baseAttr: string;
351
+ radioGroupDirectionClass: string;
352
+ name: string;
353
+ static create(name: string): inkRadioGroup;
354
+ constructor(name: string);
355
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
356
+ get label(): Cypress.Chainable<JQuery<HTMLElement>>;
357
+ get required(): Cypress.Chainable<JQuery<HTMLElement>>;
358
+ get error(): Cypress.Chainable<JQuery<HTMLElement>>;
359
+ get radioGroup(): Cypress.Chainable<JQuery<HTMLElement>>;
360
+ isHorizontal(): Cypress.Chainable<JQuery<HTMLElement>>;
361
+ isVertical(): Cypress.Chainable<JQuery<HTMLElement>>;
362
+ get options(): Cypress.Chainable<JQuery<HTMLElement>>;
363
+ getRadio(value: string): Cypress.Chainable<JQuery<HTMLElement>>;
364
+ isChecked(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
365
+ notChecked(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
366
+ get helperText(): Cypress.Chainable<JQuery<HTMLElement>>;
367
+ }
368
+
330
369
  export declare type InkRadioGroupProps = {
331
370
  formLabel: string;
332
371
  currentValue: string;
@@ -396,6 +435,18 @@ declare type InkSnackbarActionButtonProps = ButtonProps_2 & {
396
435
 
397
436
  export declare const InkSnackbarAlert: ({ action, severity, alertProps, message, onClose, title, }: InkSnackbarAlertProps) => JSX_2.Element;
398
437
 
438
+ export declare const inkSnackbarAlert: InkSnackbarAlertPageObject;
439
+
440
+ declare class InkSnackbarAlertPageObject {
441
+ get title(): Cypress.Chainable<JQuery<HTMLElement>>;
442
+ get message(): Cypress.Chainable<JQuery<HTMLElement>>;
443
+ get action(): Cypress.Chainable<JQuery<HTMLElement>>;
444
+ actionButton(label: string): Cypress.Chainable<JQuery<HTMLElement>>;
445
+ get actionClose(): Cypress.Chainable<JQuery<HTMLElement>>;
446
+ get snackbarAlerts(): Cypress.Chainable<JQuery<HTMLElement>>;
447
+ snackbarAlertType(type: InkSnackbarAlertProps['severity']): Cypress.Chainable<JQuery<HTMLElement>>;
448
+ }
449
+
399
450
  export declare type InkSnackbarAlertProps = {
400
451
  message: InkSnackbarContentProps['message'];
401
452
  severity: VariantType_2;
@@ -418,6 +469,24 @@ export declare const InkSnackbarProvider: ({ children, maxSnack, anchorOrigin, .
418
469
 
419
470
  export declare const InkSwitch: ForwardRefExoticComponent<Omit<InkSwitchProps, "ref"> & RefAttributes<HTMLDivElement>>;
420
471
 
472
+ export declare class InkSwitchPageObject {
473
+ baseAttr: string;
474
+ disabledClass: string;
475
+ checkedClass: string;
476
+ requiredClass: string;
477
+ name: string;
478
+ static create(name: string): InkSwitchPageObject;
479
+ constructor(name: string);
480
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
481
+ get label(): Cypress.Chainable<JQuery<HTMLElement>>;
482
+ isRequired(): Cypress.Chainable<JQuery<HTMLElement>>;
483
+ notRequired(): Cypress.Chainable<JQuery<HTMLElement>>;
484
+ isDisabled(): Cypress.Chainable<JQuery<HTMLElement>>;
485
+ notDisabled(): Cypress.Chainable<JQuery<HTMLElement>>;
486
+ isChecked(): Cypress.Chainable<JQuery<HTMLElement>>;
487
+ notChecked(): Cypress.Chainable<JQuery<HTMLElement>>;
488
+ }
489
+
421
490
  export declare type InkSwitchProps = {
422
491
  id: string;
423
492
  formLabel?: FormControlLabelProps['label'];
@@ -433,6 +502,30 @@ name: string;
433
502
  name: string;
434
503
  }, "ref">) & RefAttributes<HTMLDivElement>>;
435
504
 
505
+ export declare class InkTextFieldPageObject {
506
+ baseAttribute: string;
507
+ helperTextSelector: string;
508
+ errorTextSelector: string;
509
+ errorClass: string;
510
+ name: string;
511
+ static create(name: string): InkTextFieldPageObject;
512
+ constructor(name: string);
513
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
514
+ get label(): Cypress.Chainable<JQuery<HTMLLabelElement>>;
515
+ get input(): Cypress.Chainable<JQuery<HTMLInputElement>>;
516
+ get helperText(): Cypress.Chainable<JQuery<HTMLElement>>;
517
+ get error(): Cypress.Chainable<JQuery<HTMLElement>>;
518
+ get errorMessage(): Cypress.Chainable<JQuery<HTMLElement>>;
519
+ get multiline(): Cypress.Chainable<JQuery<HTMLTextAreaElement>>;
520
+ hasLabel(label: string): Cypress.Chainable<JQuery<HTMLLabelElement>>;
521
+ hasValue(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
522
+ hasHelperText(text: string): Cypress.Chainable<JQuery<HTMLElement>>;
523
+ hasError(text: string): Cypress.Chainable<JQuery<HTMLElement>>;
524
+ type(value: string): Cypress.Chainable<JQuery<HTMLInputElement>>;
525
+ clear(): Cypress.Chainable<JQuery<HTMLInputElement>>;
526
+ blur(): Cypress.Chainable<JQuery<HTMLInputElement>>;
527
+ }
528
+
436
529
  export declare type InkTextFieldProps = TextFieldProps & {
437
530
  name: string;
438
531
  };