@servicetitan/form 25.9.0 → 26.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/dist/date-range-picker/date-range-picker.d.ts +1 -1
  2. package/dist/date-range-picker/date-range-picker.d.ts.map +1 -1
  3. package/dist/date-range-picker/date-range-picker.js.map +1 -1
  4. package/dist/demo/number-input.d.ts.map +1 -1
  5. package/dist/demo/number-input.js.map +1 -1
  6. package/dist/file-uploader/config.d.ts +2 -2
  7. package/dist/file-uploader/config.d.ts.map +1 -1
  8. package/dist/file-uploader/file-uploader.d.ts +1 -1
  9. package/dist/form-state-error-banner/form-state-error-banner.d.ts +1 -2
  10. package/dist/form-state-error-banner/form-state-error-banner.d.ts.map +1 -1
  11. package/dist/input-date-mask/input-date-mask.d.ts +2 -2
  12. package/dist/input-date-mask/input-date-mask.d.ts.map +1 -1
  13. package/dist/input-date-mask/input-date-mask.js +5 -4
  14. package/dist/input-date-mask/input-date-mask.js.map +1 -1
  15. package/dist/masked-input.d.ts.map +1 -1
  16. package/dist/masked-input.js +2 -1
  17. package/dist/masked-input.js.map +1 -1
  18. package/dist/number-input/number-input.d.ts +1 -2
  19. package/dist/number-input/number-input.d.ts.map +1 -1
  20. package/dist/original-number-input/ordinal-number-input.d.ts +1 -1
  21. package/dist/phone-number-input/phone-number-input.d.ts +1 -1
  22. package/dist/phone-number-input/phone-number-input.d.ts.map +1 -1
  23. package/dist/phone-number-input/phone-number-input.js +1 -1
  24. package/dist/phone-number-input/phone-number-input.js.map +1 -1
  25. package/package.json +19 -17
  26. package/src/date-range-picker/date-range-picker.module.css.d.ts +2 -2
  27. package/src/date-range-picker/date-range-picker.tsx +1 -0
  28. package/src/demo/number-input.tsx +2 -2
  29. package/src/file-uploader/config.tsx +2 -2
  30. package/src/input-date-mask/input-date-mask.module.css.d.ts +1 -1
  31. package/src/input-date-mask/input-date-mask.tsx +18 -16
  32. package/src/label/label.module.css.d.ts +2 -2
  33. package/src/masked-input.tsx +5 -3
  34. package/src/phone-number-input/phone-number-input.tsx +1 -1
@@ -40,7 +40,7 @@ export declare class DateRangePicker extends Component<DateRangePickerProps> {
40
40
  handleChange: (event: DateRangePickerChangeEvent) => void;
41
41
  handleFromChange: (from?: Date) => void;
42
42
  handleToChange: (to?: Date) => void;
43
- render(): JSX.Element;
43
+ render(): import("react/jsx-runtime").JSX.Element;
44
44
  formatDate(date?: Date, inputFormat?: string): string;
45
45
  handleHiddenInputChange: (ev: SyntheticEvent<HTMLInputElement>) => void;
46
46
  get maxFromDate(): Date | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"date-range-picker.d.ts","sourceRoot":"","sources":["../../src/date-range-picker/date-range-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAEH,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACb,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAMrD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzC,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,aAAa,CAAC,sBAAsB,CAAC,CAAC;IAC1D,oBAAoB,CAAC,EAAE,aAAa,CAAC,wBAAwB,CAAC,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,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC;IACzB,CAAC;IAED,IAAI,SAAS;QACT,MAAM,EAAE,sBAAsB,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9D,IAAI,sBAAsB,EAAE;YACxB,OAAO,OAAO,CAAC;SAClB;QAED,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;QACxD,IAAI,OAAO,IAAI,IAAI,EAAE;YACjB,OAAO,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;SAC1C;QAED,OAAO,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,IAAI,CAAC;IAC3B,CAAC;CACJ,CAAA;AAxQe;IAAX,UAAU;;iDAAqC;AAEpC;IAAX,UAAU;;uDAAwB;AAUnC;IADC,MAAM;;kDAGL;AAGF;IADC,MAAM;;;;iDAGN;AArBQ,eAAe;IAD3B,QAAQ;;GACI,eAAe,CA0Q3B;SA1QY,eAAe"}
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.d.ts","sourceRoot":"","sources":["../../src/demo/number-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,EAAE,EAAE,MAAM,OAAO,CAAC;AAc7C,eAAO,MAAM,kBAAkB,EAAE,EAuG/B,CAAC"}
1
+ {"version":3,"file":"number-input.d.ts","sourceRoot":"","sources":["../../src/demo/number-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,EAAE,EAAqB,MAAM,OAAO,CAAC;AAchE,eAAO,MAAM,kBAAkB,EAAE,EAuG/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.js","sourceRoot":"","sources":["../../src/demo/number-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAM,MAAM,OAAO,CAA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AAK,EAAE,2BAA2B,CAAC,KAAK,EACxC,QAAQ,EAAE,2BAA2B,CAAC,QAAQ,EAC9C,UAAU,EAAE,SAAS,EACrB,aAAa,EAAE,CAAC,GAClB,IACe,IACd,CACd,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAA8C,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC3F,MAAC,KAAK,kBAAC,UAAU,EAAC,UAAU,iBACvB,QAAQ,EACT,MAAC,IAAI,kBAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,OAAO,mCACb,KAAK,KACjB,KACH,CACX,CAAC"}
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { FC, PropsWithChildren } from 'react';
2
2
  export interface FileUploaderConfig {
3
3
  target?: string;
4
4
  downloadPath?: string;
@@ -12,7 +12,7 @@ export interface FileUploaderConfig {
12
12
  errorParser?(error?: string): string;
13
13
  }
14
14
  export declare const FILE_UPLOADER_CONFIGURATION_TOKEN: import("@servicetitan/react-ioc").SymbolToken<FileUploaderConfig>;
15
- interface FileUploaderConfigurationProviderProps {
15
+ interface FileUploaderConfigurationProviderProps extends PropsWithChildren<{}> {
16
16
  value: FileUploaderConfig;
17
17
  }
18
18
  export declare const FileUploaderConfigurationProvider: FC<FileUploaderConfigurationProviderProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/file-uploader/config.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,MAAM,WAAW,kBAAkB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7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ader extends Component<FileUploaderProps> {
39
39
  }) => void;
40
40
  handleDelete: ({ file }: FileDescriptor) => void;
41
41
  handleErrorsClose: () => void;
42
- render(): JSX.Element | null;
42
+ render(): import("react/jsx-runtime").JSX.Element | null;
43
43
  }
44
44
  export {};
45
45
  //# sourceMappingURL=file-uploader.d.ts.map
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState, ValidatableMapOrArray } from 'formstate';
3
2
  export interface FormStateErrorBannerProps<T extends ValidatableMapOrArray> {
4
3
  form: FormState<T>;
@@ -6,5 +5,5 @@ export interface FormStateErrorBannerProps<T extends ValidatableMapOrArray> {
6
5
  errorTitle?: string;
7
6
  successTitle?: string;
8
7
  }
9
- export declare const FormStateErrorBanner: <T extends ValidatableMapOrArray>({ form, className, errorTitle, successTitle, }: FormStateErrorBannerProps<T>) => JSX.Element;
8
+ export declare const FormStateErrorBanner: <T extends ValidatableMapOrArray>({ form, className, errorTitle, successTitle, }: FormStateErrorBannerProps<T>) => import("react/jsx-runtime").JSX.Element;
10
9
  //# sourceMappingURL=form-state-error-banner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-state-error-banner.d.ts","sourceRoot":"","sources":["../../src/form-state-error-banner/form-state-error-banner.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE7D,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,qBAAqB;IACtE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,oBAAoB,gIA6BhC,CAAC"}
1
+ {"version":3,"file":"form-state-error-banner.d.ts","sourceRoot":"","sources":["../../src/form-state-error-banner/form-state-error-banner.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAE7D,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,qBAAqB;IACtE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,oBAAoB,4JA6BhC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { FC, PropsWithChildren } from 'react';
2
2
  import { InputProps } from '@servicetitan/design-system';
3
3
  export interface InputDateMaskProps extends Omit<InputProps, 'onChange' | 'value'> {
4
4
  value?: Date;
@@ -10,5 +10,5 @@ export interface InputDateMaskProps extends Omit<InputProps, 'onChange' | 'value
10
10
  maxDate?: Date;
11
11
  onChange(value: Date | undefined): void;
12
12
  }
13
- export declare const InputDateMask: FC<InputDateMaskProps>;
13
+ export declare const InputDateMask: FC<PropsWithChildren<InputDateMaskProps>>;
14
14
  //# sourceMappingURL=input-date-mask.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-date-mask.d.ts","sourceRoot":"","sources":["../../src/input-date-mask/input-date-mask.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA+C,MAAM,OAAO,CAAC;AACxE,OAAO,EAAS,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAehE,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC;IAC9E,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,QAAQ,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAiIhD,CAAC"}
1
+ {"version":3,"file":"input-date-mask.d.ts","sourceRoot":"","sources":["../../src/input-date-mask/input-date-mask.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA+C,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC3F,OAAO,EAAS,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAehE,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC;IAC9E,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,QAAQ,CAAC,KAAK,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAmInE,CAAC"}
@@ -89,9 +89,10 @@ export const InputDateMask = observer(({ className, maskChar = 'X', alwaysShowMa
89
89
  const classes = classnames(className, qaTestingLocator, Styles.input, {
90
90
  [Styles.error]: realError,
91
91
  });
92
- return (_jsx(InputMask, Object.assign({ mask: mask, maskChar: maskChar, onChange: handleChange, onKeyDown: handleKeyDown, alwaysShowMask: alwaysShowMask, value: formatDate(value) || state.maskValue }, { children: (_a) => {
93
- var { size } = _a, props = __rest(_a, ["size"]);
94
- return (_jsx("div", { children: _jsx(Input, Object.assign({}, props, { shortLabel: shortLabel, className: classes, small: true, fluid: true, error: realError, disabled: disabled, placeholder: realPlaceholder })) }));
95
- } })));
92
+ const renderFunction = (_a) => {
93
+ var { size } = _a, props = __rest(_a, ["size"]);
94
+ return (_jsx("div", { children: _jsx(Input, Object.assign({}, props, { shortLabel: shortLabel, className: classes, small: true, fluid: true, error: realError, disabled: disabled, placeholder: realPlaceholder })) }));
95
+ };
96
+ return (_jsx(InputMask, Object.assign({ mask: mask, maskChar: maskChar, onChange: handleChange, onKeyDown: handleKeyDown, alwaysShowMask: alwaysShowMask, value: formatDate(value) || state.maskValue }, { children: renderFunction })));
96
97
  });
97
98
  //# sourceMappingURL=input-date-mask.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-date-mask.js","sourceRoot":"","sources":["../../src/input-date-mask/input-date-mask.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAmB,SAAS,EAAuB,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,KAAK,EAAc,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,8BAA8B,CAAC;AAEvD,MAAM,OAAO,GAAG,EAAE,CAAC;AAkBnB,MAAM,CAAC,MAAM,aAAa,GAA2B,QAAQ,CACzD,CAAC,EACG,SAAS,EACT,QAAQ,GAAG,GAAG,EACd,cAAc,EACd,UAAU,EACV,KAAK,EACL,QAAQ,EACR,YAAY,EAAE,gBAAgB,EAC9B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,UAAU,GAAG,YAAY,EACzB,OAAO,EACP,OAAO,GACU,EAAE,EAAE;IACrB,MAAM,KAAK,GAAG,aAAa,CAAC,GAAG,EAAE,CAAC,CAAC;QAC/B,SAAS,EAA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ACL,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,eAAe,IAC9B,GACA,CACT,CAAA;KAAA,CAAC;IAEF,OAAO,CACH,KAAC,SAAS,kBACN,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,aAAa,EACxB,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,gBAE1C,cAAqB,IACd,CACf,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"masked-input.d.ts","sourceRoot":"","sources":["../src/masked-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,mBAAmB,EAAe,MAAM,OAAO,CAAC;AAE7D,OAAuB,EAAE,KAAK,IAAI,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAQ,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEnE,aAAK,gBAAgB,GAAG,cAAc,GAClC,IAAI,CAAC,qBAAqB,EAAE,MAAM,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAE7E,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA6B5C,CAAC"}
1
+ {"version":3,"file":"masked-input.d.ts","sourceRoot":"","sources":["../src/masked-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,mBAAmB,EAAe,MAAM,OAAO,CAAC;AAE7D,OAAuB,EAAE,KAAK,IAAI,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAQ,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEnE,aAAK,gBAAgB,GAAG,cAAc,GAClC,IAAI,CAAC,qBAAqB,EAAE,MAAM,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAE7E,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA+B5C,CAAC"}
@@ -17,6 +17,7 @@ export const MaskedInput = (_a) => {
17
17
  const handleInputChange = (e) => {
18
18
  onChange(e.target.value);
19
19
  };
20
- return (_jsx(ReactInputMask, Object.assign({ mask: mask, maskChar: maskChar, value: value, onChange: handleInputChange, placeholder: placeholder, disabled: disabled, formatChars: formatChars }, { children: (innerProps) => (_jsx(Form.Input, Object.assign({}, props, innerProps))) })));
20
+ const renderFunction = (innerProps) => (_jsx(Form.Input, Object.assign({}, props, innerProps)));
21
+ return (_jsx(ReactInputMask, Object.assign({ mask: mask, maskChar: maskChar, value: value, onChange: handleInputChange, placeholder: placeholder, disabled: disabled, formatChars: formatChars }, { children: renderFunction })));
21
22
  };
22
23
  //# sourceMappingURL=masked-input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"masked-input.js","sourceRoot":"","sources":["../src/masked-input.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAEA,OAAO,cAAkD,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAE,IAAI,EAAkB,MAAM,6BAA6B,CAAC;AAKnE,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EASjD,EAAE,EAAE;QAT6C,EAC9C,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,WAAW,OAEd,EADM,KAAK,cARsC,mFASjD,CADW;IAER,MAAM,iBAAiB,GAAG,CAAC,CAAgC,EAAE,EAAE;QAC3D,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,cAAc,kBACX,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,iBAAiB,EAC3B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,gBAEvB,CAAC,UAAiD,EAAE,EAAE,CAAC,CACpD,KAAC,IAAI,CAAC,KAAK,oBAAK,KAAK,EAAM,UAAU,EAAI,CAC5C,IACY,CACpB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"masked-input.js","sourceRoot":"","sources":["../src/masked-input.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAEA,OAAO,cAAkD,MAAM,kBAAkB,CAAC;AAClF,OAAO,EAAE,IAAI,EAAkB,MAAM,6BAA6B,CAAC;AAKnE,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EASjD,EAAE,EAAE;QAT6C,EAC9C,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,WAAW,OAEd,EADM,KAAK,cARsC,mFASjD,CADW;IAER,MAAM,iBAAiB,GAAG,CAAC,CAAgC,EAAE,EAAE;QAC3D,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,CAAC,UAAiD,EAAE,EAAE,CAAC,CAC1E,KAAC,IAAI,CAAC,KAAK,oBAAK,KAAK,EAAM,UAAU,EAAI,CAC5C,CAAC;IAEF,OAAO,CACH,KAAC,cAAc,kBACX,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,iBAAiB,EAC3B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,gBAEvB,cAAqB,IACT,CACpB,CAAC;AACN,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from '@servicetitan/design-system';
3
2
  import { FormatNumber } from './get-formatted-string';
4
3
  import { EmptyValue, NumberValue } from './common-interfaces';
@@ -13,5 +12,5 @@ export interface NumberInputProps<TEmpty extends EmptyValue> extends Omit<InputP
13
12
  formatNumber?: FormatNumber;
14
13
  onChange(value: NumberValue<TEmpty>): void;
15
14
  }
16
- export declare const NumberInput: <TEmpty extends EmptyValue>({ value, onChange, onFocus, onBlur, emptyValue, decimalPlaces, useEmptyThousandsSeparator, min, max, useKeyboardNavigation, formatNumber, ...props }: NumberInputProps<TEmpty>) => JSX.Element;
15
+ export declare const NumberInput: <TEmpty extends EmptyValue>({ value, onChange, onFocus, onBlur, emptyValue, decimalPlaces, useEmptyThousandsSeparator, min, max, useKeyboardNavigation, formatNumber, ...props }: NumberInputProps<TEmpty>) => import("react/jsx-runtime").JSX.Element;
17
16
  //# sourceMappingURL=number-input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"number-input.d.ts","sourceRoot":"","sources":["../../src/number-input/number-input.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAS,UAAU,EAAqB,MAAM,6BAA6B,CAAC;AAInF,OAAO,EAAE,YAAY,EAAsB,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAS9D,MAAM,WAAW,gBAAgB,CAAC,MAAM,SAAS,UAAU,CACvD,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9C,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,WAAW,4NAoMvB,CAAC"}
1
+ {"version":3,"file":"number-input.d.ts","sourceRoot":"","sources":["../../src/number-input/number-input.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAS,UAAU,EAAqB,MAAM,6BAA6B,CAAC;AAInF,OAAO,EAAE,YAAY,EAAsB,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAS9D,MAAM,WAAW,gBAAgB,CAAC,MAAM,SAAS,UAAU,CACvD,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9C,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,WAAW,wPAoMvB,CAAC"}
@@ -9,7 +9,7 @@ export interface OrdinalNumberInputProps extends Omit<InputProps, 'onChange'> {
9
9
  export declare class OrdinalNumberInput extends Component<OrdinalNumberInputProps> {
10
10
  hasFocus: boolean;
11
11
  constructor(props: OrdinalNumberInputProps);
12
- render(): JSX.Element;
12
+ render(): import("react/jsx-runtime").JSX.Element;
13
13
  private handleFocus;
14
14
  private handleBlur;
15
15
  private handleChange;
@@ -3,5 +3,5 @@ import { FormInputProps } from '@servicetitan/design-system';
3
3
  export interface PhoneNumberInputProps extends FormInputProps {
4
4
  sip?: boolean;
5
5
  }
6
- export declare const PhoneNumberInput: import("react").ForwardRefExoticComponent<Pick<PhoneNumberInputProps, keyof PhoneNumberInputProps> & import("react").RefAttributes<HTMLInputElement>>;
6
+ export declare const PhoneNumberInput: import("react").ForwardRefExoticComponent<Omit<PhoneNumberInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
7
7
  //# sourceMappingURL=phone-number-input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"phone-number-input.d.ts","sourceRoot":"","sources":["../../src/phone-number-input/phone-number-input.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAQ,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IACzD,GAAG,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,uJAS5B,CAAC"}
1
+ {"version":3,"file":"phone-number-input.d.ts","sourceRoot":"","sources":["../../src/phone-number-input/phone-number-input.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAQ,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IACzD,GAAG,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,iIAS5B,CAAC"}
@@ -15,6 +15,6 @@ import InputMask from 'react-input-mask';
15
15
  import { Form } from '@servicetitan/design-system';
16
16
  export const PhoneNumberInput = forwardRef((_a, ref) => {
17
17
  var { sip } = _a, props = __rest(_a, ["sip"]);
18
- return sip ? (_jsx(Form.Input, Object.assign({}, props, { ref: ref }))) : (_jsx(InputMask, Object.assign({ maskChar: null, mask: "(999) 999-9999" }, props, { children: () => _jsx(Form.Input, Object.assign({ ref: ref }, props)) })));
18
+ return sip ? (_jsx(Form.Input, Object.assign({}, props, { ref: ref }))) : (_jsx(InputMask, Object.assign({ maskChar: null, mask: "(999) 999-9999" }, props, { children: (() => _jsx(Form.Input, Object.assign({ ref: ref }, props))) })));
19
19
  });
20
20
  //# sourceMappingURL=phone-number-input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"phone-number-input.js","sourceRoot":"","sources":["../../src/phone-number-input/phone-number-input.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAA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IAAI,CAAC,KAAK,kBAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CAAQ,IAC3C,CACf,CAAA;CAAA,CACR,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/form",
3
- "version": "25.9.0",
3
+ "version": "26.1.0",
4
4
  "description": "",
5
5
  "homepage": "https://docs.st.dev/docs/frontend/form",
6
6
  "repository": {
@@ -16,38 +16,40 @@
16
16
  "src"
17
17
  ],
18
18
  "devDependencies": {
19
- "@servicetitan/confirm": "^25.9.0",
20
- "@servicetitan/culture": "^25.9.0",
21
- "@servicetitan/design-system": ">=13.2.1",
22
- "@servicetitan/form-state": "^25.9.0",
23
- "@servicetitan/react-ioc": "^21.6.0",
19
+ "@servicetitan/confirm": "^26.1.0",
20
+ "@servicetitan/culture": "^26.1.0",
21
+ "@servicetitan/design-system": "~13.4.5",
22
+ "@servicetitan/form-state": "^26.1.0",
23
+ "@servicetitan/hash-browser-router": "^23.2.1",
24
+ "@servicetitan/react-ioc": "^23.2.1",
24
25
  "@servicetitan/tokens": ">=12.2.1",
25
- "@types/react": "~17.0.38",
26
+ "@servicetitan/web-components": "^23.2.1",
27
+ "@types/react": "~18.2.55",
26
28
  "@types/react-input-mask": "~2.0.5",
27
29
  "@types/uuid": "~8.3.4",
28
30
  "accounting": "~0.4.1",
29
31
  "formstate": "^2.1.0",
30
32
  "mobx": "~6.6.0",
31
- "mobx-react": "~7.5.0",
33
+ "mobx-react": "~7.5.1",
32
34
  "moment": "~2.29.3",
33
- "react": "~17.0.2",
34
- "react-dom": "~17.0.2",
35
+ "react": "~18.2.0",
36
+ "react-dom": "~18.2.0",
35
37
  "resumablejs": "~1.0.2"
36
38
  },
37
39
  "peerDependencies": {
38
- "@servicetitan/confirm": "^25.9.0",
39
- "@servicetitan/culture": "^25.9.0",
40
+ "@servicetitan/confirm": "^26.1.0",
41
+ "@servicetitan/culture": "^26.1.0",
40
42
  "@servicetitan/design-system": ">=13.2.1",
41
- "@servicetitan/form-state": "^25.9.0",
43
+ "@servicetitan/form-state": "^26.1.0",
42
44
  "@servicetitan/react-ioc": ">21.0.0",
43
45
  "@servicetitan/tokens": ">=12.2.1",
44
46
  "accounting": "~0.4.1",
45
47
  "formstate": "^2.1.0",
46
48
  "mobx": "~6.6.0",
47
- "mobx-react": "~7.5.0",
49
+ "mobx-react": ">=7.5.1",
48
50
  "moment": "~2.29.3",
49
- "react": "~17.0.2",
50
- "react-dom": "~17.0.2",
51
+ "react": ">=17.0.2",
52
+ "react-dom": ">=17.0.2",
51
53
  "resumablejs": "~1.0.2"
52
54
  },
53
55
  "dependencies": {
@@ -66,5 +68,5 @@
66
68
  "less": true,
67
69
  "webpack": false
68
70
  },
69
- "gitHead": "72d081af4ab3deb72dab7d4fc93a4c2e473b726f"
71
+ "gitHead": "a859628bb29f8f17153e2a4e23bb38f14f447b10"
70
72
  }
@@ -1,8 +1,8 @@
1
1
  export const __esModule: true;
2
2
  export const dateRangePicker: string;
3
- export const icon: string;
4
3
  export const dateRangePickerKendo: string;
4
+ export const endLabel: string;
5
+ export const icon: string;
5
6
  export const popupCenter: string;
6
7
  export const popupRight: string;
7
- export const endLabel: string;
8
8
 
@@ -260,6 +260,7 @@ export class DateRangePicker extends Component<DateRangePickerProps> {
260
260
  </Stack>
261
261
  <input
262
262
  hidden
263
+ // eslint-disable-next-line react/no-unknown-property
263
264
  qa-testing={qaTestingLocator}
264
265
  onChange={this.handleHiddenInputChange}
265
266
  />
@@ -1,4 +1,4 @@
1
- import { useRef, Fragment, FC } from 'react';
1
+ import { useRef, Fragment, FC, PropsWithChildren } from 'react';
2
2
 
3
3
  import { observer } from 'mobx-react';
4
4
 
@@ -117,7 +117,7 @@ export const NumberInputExample: FC = observer(() => {
117
117
  );
118
118
  });
119
119
 
120
- const StoredValueWrapper: FC<{ value?: number }> = ({ children, value }) => (
120
+ const StoredValueWrapper: FC<PropsWithChildren<{ value?: number }>> = ({ children, value }) => (
121
121
  <Stack alignItems="baseline">
122
122
  {children}
123
123
  <Text size={3} className="m-l-3">
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { FC, PropsWithChildren } from 'react';
2
2
 
3
3
  import { Provider, symbolToken } from '@servicetitan/react-ioc';
4
4
 
@@ -19,7 +19,7 @@ export const FILE_UPLOADER_CONFIGURATION_TOKEN = symbolToken<FileUploaderConfig>
19
19
  'FILE_UPLOADER_CONFIGURATION_TOKEN'
20
20
  );
21
21
 
22
- interface FileUploaderConfigurationProviderProps {
22
+ interface FileUploaderConfigurationProviderProps extends PropsWithChildren<{}> {
23
23
  value: FileUploaderConfig;
24
24
  }
25
25
 
@@ -1,4 +1,4 @@
1
1
  export const __esModule: true;
2
- export const input: string;
3
2
  export const error: string;
3
+ export const input: string;
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC, ChangeEvent, useEffect, InputHTMLAttributes } from 'react';
1
+ import { FC, ChangeEvent, useEffect, InputHTMLAttributes, PropsWithChildren } from 'react';
2
2
  import { Input, InputProps } from '@servicetitan/design-system';
3
3
  import { action } from 'mobx';
4
4
  import { useLocalStore, observer } from 'mobx-react';
@@ -25,7 +25,7 @@ export interface InputDateMaskProps extends Omit<InputProps, 'onChange' | 'value
25
25
  onChange(value: Date | undefined): void;
26
26
  }
27
27
 
28
- export const InputDateMask: FC<InputDateMaskProps> = observer(
28
+ export const InputDateMask: FC<PropsWithChildren<InputDateMaskProps>> = observer(
29
29
  ({
30
30
  className,
31
31
  maskChar = 'X',
@@ -128,6 +128,21 @@ export const InputDateMask: FC<InputDateMaskProps> = observer(
128
128
  [Styles.error]: realError,
129
129
  });
130
130
 
131
+ const renderFunction = ({ size, ...props }: InputHTMLAttributes<HTMLInputElement>) => (
132
+ <div>
133
+ <Input
134
+ {...props}
135
+ shortLabel={shortLabel}
136
+ className={classes}
137
+ small
138
+ fluid
139
+ error={realError}
140
+ disabled={disabled}
141
+ placeholder={realPlaceholder}
142
+ />
143
+ </div>
144
+ );
145
+
131
146
  return (
132
147
  <InputMask
133
148
  mask={mask}
@@ -137,20 +152,7 @@ export const InputDateMask: FC<InputDateMaskProps> = observer(
137
152
  alwaysShowMask={alwaysShowMask}
138
153
  value={formatDate(value) || state.maskValue}
139
154
  >
140
- {({ size, ...props }: InputHTMLAttributes<HTMLInputElement>) => (
141
- <div>
142
- <Input
143
- {...props}
144
- shortLabel={shortLabel}
145
- className={classes}
146
- small
147
- fluid
148
- error={realError}
149
- disabled={disabled}
150
- placeholder={realPlaceholder}
151
- />
152
- </div>
153
- )}
155
+ {renderFunction as any}
154
156
  </InputMask>
155
157
  );
156
158
  }
@@ -1,7 +1,7 @@
1
1
  export const __esModule: true;
2
- export const label: string;
2
+ export const error: string;
3
3
  export const hasError: string;
4
+ export const label: string;
4
5
  export const text: string;
5
- export const error: string;
6
6
  export const tooltip: string;
7
7
 
@@ -20,6 +20,10 @@ export const MaskedInput: FC<MaskedInputProps> = ({
20
20
  onChange(e.target.value);
21
21
  };
22
22
 
23
+ const renderFunction = (innerProps: InputHTMLAttributes<HTMLInputElement>) => (
24
+ <Form.Input {...props} {...innerProps} />
25
+ );
26
+
23
27
  return (
24
28
  <ReactInputMask
25
29
  mask={mask}
@@ -30,9 +34,7 @@ export const MaskedInput: FC<MaskedInputProps> = ({
30
34
  disabled={disabled}
31
35
  formatChars={formatChars}
32
36
  >
33
- {(innerProps: InputHTMLAttributes<HTMLInputElement>) => (
34
- <Form.Input {...props} {...innerProps} />
35
- )}
37
+ {renderFunction as any}
36
38
  </ReactInputMask>
37
39
  );
38
40
  };
@@ -13,7 +13,7 @@ export const PhoneNumberInput = forwardRef<HTMLInputElement, PhoneNumberInputPro
13
13
  <Form.Input {...props} ref={ref} />
14
14
  ) : (
15
15
  <InputMask maskChar={null} mask="(999) 999-9999" {...props}>
16
- {() => <Form.Input ref={ref} {...props} />}
16
+ {(() => <Form.Input ref={ref} {...props} />) as any}
17
17
  </InputMask>
18
18
  )
19
19
  );