@expressms/smartapp-ui 3.0.0-alpha.33 → 3.0.0-alpha.35

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.
Files changed (34) hide show
  1. package/build/main/assets/icons/select-arrow-down.svg +3 -0
  2. package/build/main/assets/icons/select-arrow-up.svg +3 -0
  3. package/build/main/constants/constants.d.ts +55 -41
  4. package/build/main/constants/constants.js +55 -42
  5. package/build/main/constants/constants.js.map +1 -1
  6. package/build/main/styles/styles.scss +2 -2
  7. package/build/main//321/201omponents/Chip/Chip.d.ts +1 -1
  8. package/build/main//321/201omponents/Chip/Chip.js +6 -4
  9. package/build/main//321/201omponents/Chip/Chip.js.map +1 -1
  10. package/build/main//321/201omponents/Chip/types.d.ts +2 -0
  11. package/build/main//321/201omponents/CustomSelect/CustomSelect.js +1 -1
  12. package/build/main//321/201omponents/CustomSelect/CustomSelect.js.map +1 -1
  13. package/build/main//321/201omponents/CustomSelect/selectStyles.js +16 -17
  14. package/build/main//321/201omponents/CustomSelect/selectStyles.js.map +1 -1
  15. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +1 -1
  16. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +33 -24
  17. package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js.map +1 -1
  18. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.d.ts +11 -0
  19. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js +38 -0
  20. package/build/main//321/201omponents/CustomSelectProfiles/selectStyles.js.map +1 -0
  21. package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +4 -5
  22. package/build/main//321/201omponents/Input/Input.d.ts +1 -1
  23. package/build/main//321/201omponents/Input/Input.js +35 -18
  24. package/build/main//321/201omponents/Input/Input.js.map +1 -1
  25. package/build/main//321/201omponents/Input/types.d.ts +9 -3
  26. package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +1 -1
  27. package/build/main//321/201omponents/UserDropdown/UserDropdown.js +30 -12
  28. package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -1
  29. package/build/main//321/201omponents/UserDropdown/selectStyles.d.ts +1 -1
  30. package/build/main//321/201omponents/UserDropdown/selectStyles.js +21 -18
  31. package/build/main//321/201omponents/UserDropdown/selectStyles.js.map +1 -1
  32. package/build/main//321/201omponents/UserDropdown/types.d.ts +4 -1
  33. package/build/main//321/201omponents/UserDropdown/types.js.map +1 -1
  34. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { ReactElement, RefObject } from 'react';
1
+ import { ReactElement, ReactNode, RefObject } from 'react';
2
2
  import { MenuListProps, OptionProps } from 'react-select';
3
3
  import { IFontFamilyProps, ILanguageProps, ILayoutTypeProps, IPlatformProps, TFontFamilyStyle, TStyles } from '../../constants';
4
4
  import { CONTACT_TYPES } from './constants';
@@ -109,12 +109,14 @@ export type TSelectStyles = {
109
109
  isError: boolean;
110
110
  lastRowNumber: number;
111
111
  paddingLeft: string;
112
+ paddingRight: string;
112
113
  platform: string;
113
114
  layoutType: string;
114
115
  isInputHidden: boolean;
115
116
  isDisabledMenuOffsetAtFullscreen: boolean;
116
117
  isInputFocused?: boolean;
117
118
  isMaskRepresented: boolean;
119
+ isSuffixRepresented: boolean;
118
120
  isMenuShadowless: boolean;
119
121
  fontFamilyStyle: TFontFamilyStyle;
120
122
  containerPadding?: string;
@@ -228,6 +230,7 @@ export interface IUserDropdownProps extends IPlatformProps, ILayoutTypeProps, IF
228
230
  isNextPageLoading?: boolean;
229
231
  title?: string;
230
232
  mask?: string;
233
+ suffix?: ReactNode;
231
234
  placeholder?: string;
232
235
  hint?: ReactElement | string;
233
236
  noOptionsMessage?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/types.ts"],"names":[],"mappings":"AAyRA,MAAM,CAAC,IAAM,YAAY,GAAG;IAC1B,iBAAiB,EAAE,CAAC;IACpB,cAAc,EAAE,CAAC;IACjB,2BAA2B,EAAE,CAAC;IAC9B,yBAAyB,EAAE,CAAC;IAC5B,aAAa,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC;CACH,CAAA"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/types.ts"],"names":[],"mappings":"AA4RA,MAAM,CAAC,IAAM,YAAY,GAAG;IAC1B,iBAAiB,EAAE,CAAC;IACpB,cAAc,EAAE,CAAC;IACjB,2BAA2B,EAAE,CAAC;IAC9B,yBAAyB,EAAE,CAAC;IAC5B,aAAa,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC;CACH,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expressms/smartapp-ui",
3
- "version": "3.0.0-alpha.33",
3
+ "version": "3.0.0-alpha.35",
4
4
  "description": "SmartApp UI library",
5
5
  "license": "MIT",
6
6
  "main": "build/main/index.js",
@@ -36,7 +36,7 @@
36
36
  "react-window": "^1.8.10",
37
37
  "reactjs-popup": "^2.0.5",
38
38
  "styled-components": "^6.1.11",
39
- "transliteration": "^2.3.5"
39
+ "transliteration": "~2.3.5"
40
40
  },
41
41
  "resolutions": {
42
42
  "@typescript-eslint/utils": "6.21.0",