@movable/ui 2.12.1 → 2.12.3

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.
@@ -4,3 +4,4 @@ export { default as inkSnackbarAlert } from './ink-snackbar-alert';
4
4
  export { default as InkTextFieldPageObject } from './ink-text-field';
5
5
  export { default as inkCheckboxGroup } from './ink-checkbox-group';
6
6
  export { default as inkRadioGroup } from './ink-radio-group';
7
+ export { default as InkSwitchPageObject } from './ink-switch';
@@ -0,0 +1,18 @@
1
+ declare class InkSwitchPageObject {
2
+ baseAttr: string;
3
+ disabledClass: string;
4
+ checkedClass: string;
5
+ requiredClass: string;
6
+ name: string;
7
+ static create(name: string): InkSwitchPageObject;
8
+ constructor(name: string);
9
+ get element(): Cypress.Chainable<JQuery<HTMLElement>>;
10
+ get label(): Cypress.Chainable<JQuery<HTMLElement>>;
11
+ isRequired(): Cypress.Chainable<JQuery<HTMLElement>>;
12
+ notRequired(): Cypress.Chainable<JQuery<HTMLElement>>;
13
+ isDisabled(): Cypress.Chainable<JQuery<HTMLElement>>;
14
+ notDisabled(): Cypress.Chainable<JQuery<HTMLElement>>;
15
+ isChecked(): Cypress.Chainable<JQuery<HTMLElement>>;
16
+ notChecked(): Cypress.Chainable<JQuery<HTMLElement>>;
17
+ }
18
+ export default InkSwitchPageObject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/ui",
3
- "version": "2.12.1",
3
+ "version": "2.12.3",
4
4
  "description": "Movable Ink's shared MUI components and MUI theme for our vite applications",
5
5
  "module": "lib/index.mjs",
6
6
  "types": "lib/index.d.ts",
@@ -54,6 +54,7 @@
54
54
  "@percy/storybook": "^6.0.0",
55
55
  "@release-it/conventional-changelog": "^7.0.1",
56
56
  "@rollup/plugin-typescript": "^11.1.5",
57
+ "@storybook/addon-designs": "^8.2.1",
57
58
  "@storybook/addon-essentials": "^8.1.0",
58
59
  "@storybook/addon-interactions": "^8.1.0",
59
60
  "@storybook/addon-links": "^8.1.0",
@@ -1,6 +0,0 @@
1
- import { SxProps } from '@mui/material';
2
- type InternalUseOnlyProp = {
3
- sx?: SxProps;
4
- };
5
- declare const InternalUseOnlyLabel: ({ sx }: InternalUseOnlyProp) => import("react/jsx-runtime").JSX.Element;
6
- export default InternalUseOnlyLabel;
@@ -1,8 +0,0 @@
1
- import { SwitchProps } from '@mui/material';
2
- type InkSwitchProps = {
3
- id: string;
4
- label?: string;
5
- labelPlacement?: 'start' | 'end' | 'top' | 'bottom';
6
- } & SwitchProps;
7
- export declare function InkSwitch({ id, label, labelPlacement, sx, ...rest }: InkSwitchProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1 +0,0 @@
1
- export { InkSwitch } from './InkSwitch';