@elliemae/pui-app-sdk 5.3.10 → 5.4.1

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.
@@ -28,6 +28,7 @@ const ComboBoxV3 = ({
28
28
  name,
29
29
  defaultValue = null,
30
30
  rules = {},
31
+ clearable = true,
31
32
  filteredOptions = null,
32
33
  ...rest
33
34
  }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -47,7 +48,8 @@ const ComboBoxV3 = ({
47
48
  hasError: !!error,
48
49
  filteredOptions,
49
50
  selectedValues: value,
50
- onChange
51
+ onChange,
52
+ isNonClearable: !clearable
51
53
  }
52
54
  )
53
55
  }
@@ -1,5 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { DSControlledCheckbox } from "@elliemae/ds-controlled-form";
2
+ import {
3
+ DSControlledCheckbox
4
+ } from "@elliemae/ds-controlled-form";
3
5
  import {
4
6
  Controller
5
7
  } from "react-hook-form";
@@ -7,6 +7,7 @@ const ComboBoxV3 = ({
7
7
  name,
8
8
  defaultValue = null,
9
9
  rules = {},
10
+ clearable = true,
10
11
  filteredOptions = null,
11
12
  ...rest
12
13
  }) => /* @__PURE__ */ jsx(
@@ -26,7 +27,8 @@ const ComboBoxV3 = ({
26
27
  hasError: !!error,
27
28
  filteredOptions,
28
29
  selectedValues: value,
29
- onChange
30
+ onChange,
31
+ isNonClearable: !clearable
30
32
  }
31
33
  )
32
34
  }
@@ -1,5 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { DSControlledDateTimePicker } from "@elliemae/ds-controlled-form";
2
+ import {
3
+ DSControlledDateTimePicker
4
+ } from "@elliemae/ds-controlled-form";
3
5
  import {
4
6
  Controller
5
7
  } from "react-hook-form";
@@ -1,5 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { DSFormLayoutBlockItem } from "@elliemae/ds-form-layout-blocks";
2
+ import {
3
+ DSFormLayoutBlockItem
4
+ } from "@elliemae/ds-form-layout-blocks";
3
5
  import { get } from "react-hook-form";
4
6
  import { ConnectForm } from "../connect-form.js";
5
7
  const FormLayoutBlockItem = ({
@@ -1,5 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { DSControlledToggle } from "@elliemae/ds-controlled-form";
2
+ import {
3
+ DSControlledToggle
4
+ } from "@elliemae/ds-controlled-form";
3
5
  import "@elliemae/ds-form-toggle";
4
6
  import {
5
7
  Controller
@@ -1,6 +1,5 @@
1
- import type React from 'react';
2
- import { DSAutocomplete } from '@elliemae/ds-controlled-form';
3
- type DSAutocompleteProps = React.ComponentProps<typeof DSAutocomplete>;
1
+ import { DSAutocompleteT } from '@elliemae/ds-controlled-form';
2
+ type DSAutocompleteProps = DSAutocompleteT.Props;
4
3
  export type AutocompleteProps = {
5
4
  defaultValue?: string;
6
5
  onSelect?: DSAutocompleteProps['onSelect'];
@@ -1,9 +1,9 @@
1
+ import { DSControlledCheckboxT } from '@elliemae/ds-controlled-form';
1
2
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
2
3
  export type CheckBoxProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
3
4
  name: string;
4
5
  defaultValue?: boolean;
5
6
  label: string;
6
7
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
7
- [x: string]: any;
8
- };
8
+ } & Omit<DSControlledCheckboxT.Props, 'defaultValue'>;
9
9
  export declare const CheckBox: ({ name, defaultValue, rules, ...rest }: CheckBoxProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +1,12 @@
1
- /// <reference types="react" />
2
- import { DSComboBox } from '@elliemae/ds-controlled-form';
1
+ import { DSComboboxT } from '@elliemae/ds-controlled-form';
3
2
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
3
  type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
5
- type DSComboboxProps = React.ComponentProps<typeof DSComboBox>;
4
+ type DSComboboxProps = DSComboboxT.Props;
6
5
  export type ComboBoxV3Props<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
7
6
  name: string;
8
7
  defaultValue?: DSComboboxProps['selectedValues'];
9
8
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
10
- [x: string]: any;
11
- } & Optional<Omit<DSComboboxProps, 'selectedValues' | 'onChange'>, 'filteredOptions'>;
12
- export declare const ComboBoxV3: ({ name, defaultValue, rules, filteredOptions, ...rest }: ComboBoxV3Props) => import("react/jsx-runtime").JSX.Element;
9
+ clearable?: boolean;
10
+ } & Optional<Omit<DSComboboxProps, 'selectedValues' | 'onChange' | 'defaultValue'>, 'filteredOptions'>;
11
+ export declare const ComboBoxV3: ({ name, defaultValue, rules, clearable, filteredOptions, ...rest }: ComboBoxV3Props) => import("react/jsx-runtime").JSX.Element;
13
12
  export {};
@@ -1,12 +1,11 @@
1
- /// <reference types="react" />
2
- import { DSControlledDateTimePicker } from '@elliemae/ds-controlled-form';
1
+ import { DSControlledDateTimePickerT } from '@elliemae/ds-controlled-form';
3
2
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
- type DSDateTimePickerProps = React.ComponentProps<typeof DSControlledDateTimePicker>;
3
+ type DSDateTimePickerProps = DSControlledDateTimePickerT.Props;
5
4
  export type DateTimePickerProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
6
5
  name: string;
7
6
  defaultValue?: string;
8
7
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
9
- [x: string]: any;
8
+ id?: string;
10
9
  } & Partial<DSDateTimePickerProps>;
11
10
  export declare const DateTimePicker: ({ name, defaultValue, rules, type, ...rest }: DateTimePickerProps) => import("react/jsx-runtime").JSX.Element;
12
11
  export {};
@@ -1,8 +1,3 @@
1
- /// <reference types="react" />
2
- export type FormLayoutBlockItemProps = {
3
- inputID: string;
4
- label: string;
5
- children: React.ReactNode;
6
- [x: string]: any;
7
- };
1
+ import { DSFormLayoutBlockItemT } from '@elliemae/ds-form-layout-blocks';
2
+ export type FormLayoutBlockItemProps = DSFormLayoutBlockItemT.Props;
8
3
  export declare const FormLayoutBlockItem: ({ inputID, label, ...rest }: FormLayoutBlockItemProps) => import("react/jsx-runtime.js").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { Story, Meta } from '@storybook/react';
2
- import { FormLayoutBlockItemProps } from './index.js';
3
2
  declare const _default: Meta;
4
3
  export default _default;
5
- export declare const Basic: Story<FormLayoutBlockItemProps>;
4
+ export declare const Basic: Story<import("@elliemae/ds-form-layout-blocks").DSFormLayoutBlockItemT.Props>;
@@ -1,9 +1,8 @@
1
- import type React from 'react';
2
- import { DSInputText } from '@elliemae/ds-controlled-form';
1
+ import { DSInputTextT } from '@elliemae/ds-controlled-form';
3
2
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
4
3
  export type InputTextProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
5
4
  name: string;
6
5
  defaultValue?: string;
7
6
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
8
- } & React.ComponentProps<typeof DSInputText>;
7
+ } & DSInputTextT.Props;
9
8
  export declare const InputText: ({ name, defaultValue, rules, ...rest }: InputTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -6,6 +6,6 @@ export declare const Basic: Story<{
6
6
  name: string;
7
7
  defaultValue?: string | undefined;
8
8
  rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
9
- } & import("@elliemae/ds-form-input-text/dist/types/react-desc-prop-types.js").DSInputTextT.Props & {
9
+ } & import("@elliemae/ds-form-input-text").DSInputTextT.Props & {
10
10
  labelText: string;
11
11
  }>;
@@ -1,13 +1,12 @@
1
- import React from 'react';
2
1
  import type { DSMaskT } from '@elliemae/ds-controlled-form';
3
- import { DSInputText } from '@elliemae/ds-controlled-form';
2
+ import { DSInputTextT } from '@elliemae/ds-controlled-form';
4
3
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
5
4
  type ReactHookCommons<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
6
5
  name: string;
7
6
  defaultValue?: string;
8
7
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
9
8
  };
10
- type CommonProps = ReactHookCommons & React.ComponentProps<typeof DSInputText>;
9
+ type CommonProps = ReactHookCommons & DSInputTextT.Props;
11
10
  export type MaskedInputTextProps = CommonProps & {
12
11
  useMask: DSMaskT.NumberHook | DSMaskT.PhoneHook | DSMaskT.Hook;
13
12
  maskOpts: Partial<Omit<DSMaskT.RegExpHookArgs, 'onChange' | 'valueSetter'> | Omit<DSMaskT.PhoneHookArgs, 'onChange' | 'valueSetter'> | Omit<DSMaskT.NumberHookArgs, 'onChange' | 'valueSetter'>>;
@@ -6,6 +6,6 @@ export declare const WithMoneyMask: Story<{
6
6
  name: string;
7
7
  defaultValue?: string | undefined;
8
8
  rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
9
- } & import("@elliemae/ds-form-input-text/dist/types/react-desc-prop-types.js").DSInputTextT.Props & {
9
+ } & import("@elliemae/ds-form-input-text").DSInputTextT.Props & {
10
10
  labelText: string;
11
11
  }>;
@@ -6,6 +6,6 @@ export declare const WithPercentageMask: Story<{
6
6
  name: string;
7
7
  defaultValue?: string | undefined;
8
8
  rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
9
- } & import("@elliemae/ds-form-input-text/dist/types/react-desc-prop-types.js").DSInputTextT.Props & {
9
+ } & import("@elliemae/ds-form-input-text").DSInputTextT.Props & {
10
10
  labelText: string;
11
11
  }>;
@@ -1,13 +1,9 @@
1
- /// <reference types="react" />
2
- import { DSControlledToggle } from '@elliemae/ds-controlled-form';
1
+ import { DSControlledToggleT } from '@elliemae/ds-controlled-form';
3
2
  import '@elliemae/ds-form-toggle';
4
3
  import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
5
- type DSControlledToggleProps = React.ComponentProps<typeof DSControlledToggle>;
6
4
  export type ToggleProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
7
5
  name: string;
8
6
  defaultValue?: boolean;
9
7
  rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
10
- [x: string]: any;
11
- } & DSControlledToggleProps;
8
+ } & DSControlledToggleT.Props;
12
9
  export declare const Toggle: ({ name, defaultValue, rules, ...rest }: ToggleProps) => import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -2,10 +2,9 @@ import { Story, Meta } from '@storybook/react';
2
2
  declare const _default: Meta;
3
3
  export default _default;
4
4
  export declare const Basic: Story<{
5
- [x: string]: any;
6
5
  name: string;
7
6
  defaultValue?: boolean | undefined;
8
7
  rules?: Omit<import("react-hook-form").RegisterOptions<import("react-hook-form").FieldValues, string>, "setValueAs" | "valueAsNumber" | "valueAsDate"> | undefined;
9
- } & import("@elliemae/ds-form-toggle/dist/types/propTypes.js").DSControlledToggleT.Props & {
8
+ } & import("@elliemae/ds-form-toggle").DSControlledToggleT.Props & {
10
9
  label: string;
11
10
  }>;
@@ -0,0 +1,2 @@
1
+ import { config } from '@elliemae/pui-e2e-test-sdk';
2
+ export { config };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "5.3.10",
3
+ "version": "5.4.1",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -77,7 +77,7 @@
77
77
  "docs:serve": "docusaurus serve",
78
78
  "e2e:test:functional": "cross-env CI=true e2e-test-sdk run --targets desktop mobile --suite functional",
79
79
  "e2e:test:visual": "cross-env CI=true e2e-test-sdk run --targets desktop mobile --suite visual",
80
- "e2e:test": "e2e-test-sdk run",
80
+ "e2e:test": "e2e-test-sdk run --targets desktop mobile",
81
81
  "e2e:test:dev": "cross-env CI=true e2e-test-sdk run --targets desktop mobile --spec ",
82
82
  "e2e:test:dev:desktop": "e2e-test-sdk run --targets desktop",
83
83
  "e2e:test:dev:mobile": "e2e-test-sdk run --targets mobile",
@@ -111,56 +111,56 @@
111
111
  "indent": 4
112
112
  },
113
113
  "peerDependencies": {
114
- "@elliemae/app-react-dependencies": "^4.11.0",
115
- "@elliemae/ds-backdrop": "^3.14.16",
116
- "@elliemae/ds-basic": "^3.14.16",
117
- "@elliemae/ds-button": "^3.14.16",
118
- "@elliemae/ds-circular-progress-indicator": "^3.14.16",
119
- "@elliemae/ds-controlled-form": "^3.14.16",
120
- "@elliemae/ds-date-picker": "^3.14.16",
121
- "@elliemae/ds-date-range-picker": "^3.14.16",
122
- "@elliemae/ds-dialog": "^3.14.16",
123
- "@elliemae/ds-form": "^3.14.16",
124
- "@elliemae/ds-form-layout-blocks": "^3.14.16",
125
- "@elliemae/ds-grid": "^3.14.16",
126
- "@elliemae/ds-modal": "^3.14.16",
127
- "@elliemae/ds-popperjs": "^3.14.16",
128
- "@elliemae/ds-toast": "^3.14.16",
129
- "@elliemae/ds-utilities": "^3.14.16",
114
+ "@elliemae/app-react-dependencies": "^4.12.0",
115
+ "@elliemae/ds-backdrop": "^3.21.2",
116
+ "@elliemae/ds-basic": "^3.21.2",
117
+ "@elliemae/ds-button": "^3.21.2",
118
+ "@elliemae/ds-circular-progress-indicator": "^3.21.2",
119
+ "@elliemae/ds-controlled-form": "^3.21.2",
120
+ "@elliemae/ds-date-picker": "^3.21.2",
121
+ "@elliemae/ds-date-range-picker": "^3.21.2",
122
+ "@elliemae/ds-dialog": "^3.21.2",
123
+ "@elliemae/ds-form": "^3.21.2",
124
+ "@elliemae/ds-form-layout-blocks": "^3.21.2",
125
+ "@elliemae/ds-grid": "^3.21.2",
126
+ "@elliemae/ds-modal": "^3.21.2",
127
+ "@elliemae/ds-popperjs": "^3.21.2",
128
+ "@elliemae/ds-toast": "^3.21.2",
129
+ "@elliemae/ds-utilities": "^3.21.2",
130
130
  "@elliemae/em-ssf-guest": "^1.11.3",
131
- "@elliemae/pui-diagnostics": "^3.4.0",
131
+ "@elliemae/pui-diagnostics": "^3.4.1",
132
132
  "@elliemae/pui-micro-frontend-base": "^1.14.0",
133
133
  "@elliemae/pui-scripting-object": "^1.27.0",
134
134
  "@elliemae/pui-theme": "^2.7.0",
135
- "@elliemae/pui-user-monitoring": "^1.22.0"
135
+ "@elliemae/pui-user-monitoring": "^1.22.1"
136
136
  },
137
137
  "devDependencies": {
138
- "@elliemae/app-react-dependencies": "~4.11.0",
138
+ "@elliemae/app-react-dependencies": "~4.12.0",
139
139
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.8.0",
140
- "@elliemae/ds-backdrop": "~3.14.16",
141
- "@elliemae/ds-basic": "~3.14.16",
142
- "@elliemae/ds-button": "~3.14.16",
143
- "@elliemae/ds-circular-progress-indicator": "~3.14.16",
144
- "@elliemae/ds-controlled-form": "~3.14.16",
145
- "@elliemae/ds-date-picker": "~3.14.16",
146
- "@elliemae/ds-date-range-picker": "~3.14.16",
147
- "@elliemae/ds-dialog": "~3.14.16",
148
- "@elliemae/ds-form": "~3.14.16",
149
- "@elliemae/ds-form-layout-blocks": "~3.14.16",
150
- "@elliemae/ds-grid": "~3.14.16",
151
- "@elliemae/ds-modal": "~3.14.16",
152
- "@elliemae/ds-popperjs": "~3.14.16",
153
- "@elliemae/ds-toast": "~3.14.16",
154
- "@elliemae/ds-utilities": "~3.14.16",
140
+ "@elliemae/ds-backdrop": "~3.21.2",
141
+ "@elliemae/ds-basic": "~3.21.2",
142
+ "@elliemae/ds-button": "~3.21.2",
143
+ "@elliemae/ds-circular-progress-indicator": "~3.21.2",
144
+ "@elliemae/ds-controlled-form": "~3.21.2",
145
+ "@elliemae/ds-date-picker": "~3.21.2",
146
+ "@elliemae/ds-date-range-picker": "~3.21.2",
147
+ "@elliemae/ds-dialog": "~3.21.2",
148
+ "@elliemae/ds-form": "~3.21.2",
149
+ "@elliemae/ds-form-layout-blocks": "~3.21.2",
150
+ "@elliemae/ds-grid": "~3.21.2",
151
+ "@elliemae/ds-modal": "~3.21.2",
152
+ "@elliemae/ds-popperjs": "~3.21.2",
153
+ "@elliemae/ds-toast": "~3.21.2",
154
+ "@elliemae/ds-utilities": "~3.21.2",
155
155
  "@elliemae/em-ssf-guest": "~1.11.3",
156
- "@elliemae/pui-cli": "~8.14.1",
157
- "@elliemae/pui-diagnostics": "~3.4.0",
156
+ "@elliemae/pui-cli": "~8.16.1",
157
+ "@elliemae/pui-diagnostics": "~3.4.1",
158
158
  "@elliemae/pui-doc-gen": "~1.7.1",
159
159
  "@elliemae/pui-e2e-test-sdk": "~8.1.4",
160
160
  "@elliemae/pui-micro-frontend-base": "~1.14.0",
161
161
  "@elliemae/pui-scripting-object": "~1.27.0",
162
162
  "@elliemae/pui-theme": "~2.7.0",
163
- "@elliemae/pui-user-monitoring": "~1.22.0",
163
+ "@elliemae/pui-user-monitoring": "~1.22.1",
164
164
  "@types/react-aria-live": "~2.0.2"
165
165
  }
166
166
  }