@expressms/smartapp-ui 3.0.0-alpha.36 → 3.0.0-alpha.38

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 (23) hide show
  1. package/build/main/constants/constants.d.ts +0 -1
  2. package/build/main/constants/constants.js +0 -1
  3. package/build/main/constants/constants.js.map +1 -1
  4. package/build/main/styles/styles.scss +2 -2
  5. package/build/main//321/201omponents/Button/types.d.ts +3 -2
  6. package/build/main//321/201omponents/Button/types.js +1 -0
  7. package/build/main//321/201omponents/Button/types.js.map +1 -1
  8. package/build/main//321/201omponents/Chip/Chip.js +4 -15
  9. package/build/main//321/201omponents/Chip/Chip.js.map +1 -1
  10. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.d.ts +1 -1
  11. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js +5 -4
  12. package/build/main//321/201omponents/DraggablePopup/DraggablePopup.js.map +1 -1
  13. package/build/main//321/201omponents/DraggablePopup/types.d.ts +1 -0
  14. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js +3 -16
  15. package/build/main//321/201omponents/UserDropdown/MultiValueLabel/MultiValueLabel.js.map +1 -1
  16. package/build/main//321/201omponents/UserDropdown/UserDropdown.d.ts +1 -1
  17. package/build/main//321/201omponents/UserDropdown/UserDropdown.js +7 -6
  18. package/build/main//321/201omponents/UserDropdown/UserDropdown.js.map +1 -1
  19. package/build/main//321/201omponents/UserDropdown/types.d.ts +11 -6
  20. package/build/main//321/201omponents/UserDropdown/types.js.map +1 -1
  21. package/package.json +1 -1
  22. package/build/main/assets/icons/avatar-arrow-down.svg +0 -3
  23. package/build/main/assets/icons/avatar-arrow-up.svg +0 -3
@@ -157,8 +157,9 @@ export type TMyContactsEntries = {
157
157
  isBusyAtSelectedTime?: boolean;
158
158
  isPrivateSchedule?: boolean;
159
159
  isNotRemovable?: boolean;
160
- isOrganizer?: boolean;
160
+ isOrganizerShort?: boolean;
161
161
  name: string | null;
162
+ organizerName?: string | null;
162
163
  email: string;
163
164
  avatar: string | null;
164
165
  isLoading?: boolean;
@@ -177,7 +178,7 @@ export type TCorporateEntity = {
177
178
  isBusyAtSelectedTime?: boolean;
178
179
  isPrivateSchedule?: boolean;
179
180
  isNotRemovable?: boolean;
180
- isOrganizer?: boolean;
181
+ isOrganizerShort?: boolean;
181
182
  avatar: string | null;
182
183
  uid?: string;
183
184
  isResetChipsToInputValue?: boolean;
@@ -186,6 +187,7 @@ export type TCorporateEntity = {
186
187
  isLoading?: boolean;
187
188
  isWarning?: boolean;
188
189
  name: string;
190
+ organizerName?: string | null;
189
191
  email: string | null;
190
192
  serverName: string | null;
191
193
  company: string | null;
@@ -198,17 +200,18 @@ type TCorporateEntries = {
198
200
  trustSearchEntries: TCorporateEntity[];
199
201
  };
200
202
  export type TUser = TCorporateEntity | TMyContactsEntries | {
201
- email: string;
202
- name?: string | null;
203
203
  isBusyAtSelectedTime?: boolean;
204
- uid?: string;
205
204
  isResetChipsToInputValue?: boolean;
206
205
  isPrivateSchedule?: boolean;
207
206
  isNotRemovable?: boolean;
208
- isOrganizer?: boolean;
207
+ isOrganizerShort?: boolean;
209
208
  isWarning?: boolean;
210
209
  isLoading?: boolean;
211
210
  userType?: CONTACT_TYPES;
211
+ uid?: string;
212
+ email: string;
213
+ name?: string | null;
214
+ organizerName?: string | null;
212
215
  contextMenuItems?: MenuItem[];
213
216
  };
214
217
  export interface IUserDropdownProps extends IPlatformProps, ILayoutTypeProps, IFontFamilyProps, ILanguageProps {
@@ -236,6 +239,8 @@ export interface IUserDropdownProps extends IPlatformProps, ILayoutTypeProps, IF
236
239
  noOptionsMessage?: string;
237
240
  maxMembersCount?: number;
238
241
  menuPosition?: 'bottom' | 'auto' | 'top';
242
+ menuLocation?: 'absolute' | 'fixed';
243
+ menuPortalTarget?: RefObject<HTMLDivElement | null>;
239
244
  autoFocus?: boolean;
240
245
  externalInputValue?: string;
241
246
  containerClassName?: string;
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/сomponents/UserDropdown/types.ts"],"names":[],"mappings":"AAiSA,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.36",
3
+ "version": "3.0.0-alpha.38",
4
4
  "description": "SmartApp UI library",
5
5
  "license": "MIT",
6
6
  "main": "build/main/index.js",
@@ -1,3 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.71054 11.71L11.3005 14.3C11.6905 14.69 12.3205 14.69 12.7105 14.3L15.3005 11.71C15.9305 11.08 15.4805 10 14.5905 10H9.41054C8.52054 10 8.08054 11.08 8.71054 11.71Z" fill="currentColor"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.71054 12.8823L11.3005 10.2923C11.6905 9.90229 12.3205 9.90229 12.7105 10.2923L15.3005 12.8823C15.9305 13.5123 15.4805 14.5923 14.5905 14.5923H9.41054C8.52054 14.5923 8.08054 13.5123 8.71054 12.8823Z" fill="currentColor"/>
3
- </svg>