Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@kalamazoo/user-picker

atlassian23Apache-2.01.0.2TypeScript support: included

Fabric component for display a dropdown to select a user from

fabric, ui

readme

changelog

@kalamazoo/user-picker

4.2.0

Minor Changes

  • [minor]24865cfaff:

    Fix some broken CSS layout in IE 11

Patch Changes

4.1.5

Patch Changes

4.1.4

Patch Changes

  • [patch]30acc30979:

    @kalamazoo/select has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.

4.1.3

4.1.2

Patch Changes

  • [patch]35d2229b2a:

    Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.

4.1.1

Patch Changes

  • [patch]a2d0043716:

    Updated version of analytics-next to fix potential incompatibilities with TS 3.6

4.1.0

Minor Changes

4.0.23

Patch Changes

  • [patch]8d0f37c23e:

    @kalamazoo/avatar has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.

4.0.22

Patch Changes

  • [patch]097b696613:

    Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports

4.0.21

Patch Changes

4.0.20

Patch Changes

  • [patch]abee1a5f4f:

    Bumping internal dependency (memoize-one) to latest version (5.1.0). memoize-one@5.1.0 has full typescript support so it is recommended that typescript consumers use it also.

4.0.19

Patch Changes

  • [patch]926b43142b:

    Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.

    Breaking changes

    • withAnalyticsForSumTypeProps alias has been removed, please use withAnalyticsEvents
    • AnalyticsContextWrappedComp alias has been removed, please use withAnalyticsContext

    Breaking changes to TypeScript annotations

    • withAnalyticsEvents now infers proptypes automatically, consumers no longer need to provide props as a generic type.
    • withAnalyticsContext now infers proptypes automatically, consumers no longer need to provide props as a generic type.
    • Type WithAnalyticsEventProps has been renamed to WithAnalyticsEventsProps to match source code
    • Type CreateUIAnalyticsEventSignature has been renamed to CreateUIAnalyticsEvent to match source code
    • Type UIAnalyticsEventHandlerSignature has been renamed to UIAnalyticsEventHandler to match source code
    • Type AnalyticsEventsPayload has been renamed to AnalyticsEventPayload
    • Type ObjectType has been removed, please use Record<string, any> or [key: string]: any
    • Type UIAnalyticsEventInterface has been removed, please use UIAnalyticsEvent
    • Type AnalyticsEventInterface has been removed, please use AnalyticsEvent
    • Type CreateAndFireEventFunction removed and should now be inferred by TypeScript
    • Type AnalyticsEventUpdater removed and should now be inferred by TypeScript

4.0.18

4.0.17

Patch Changes

  • [patch]9f8ab1084b:

    Consume analytics-next ts type definitions as an ambient declaration.

4.0.16

Patch Changes

  • [patch]bbff8a7d87:

    Fixes bug, missing version.json file

4.0.15

Patch Changes

  • [patch]18dfac7332:

    In this PR, we are:

    • Re-introducing dist build folders
    • Adding back cjs
    • Replacing es5 by cjs and es2015 by esm
    • Creating folders at the root for entry-points
    • Removing the generation of the entry-points at the root Please see this ticket or this page for further details

4.0.14

Patch Changes

  • [patch]d0db01b410:

    TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.

    Before:

    withAnalyticsEvents()(Button) as ComponentClass<Props>;

    After:

    withAnalyticsEvents<Props>()(Button);

4.0.13

4.0.12

4.0.11

Patch Changes

  • [patch]40e6908409:

    pass session id to on selection

4.0.10

Patch Changes

4.0.9

Patch Changes

  • [patch]c91e37e5f1:

    pass session id to onFocus, onBlur, onClose and onInputChange

4.0.8

Patch Changes

  • [patch]77ef850a35:

    Fix click and hover behaviours of disabled single user picker

4.0.7

Patch Changes

  • [patch]25b3ec24af:

    add optional session id to async loadoption

4.0.6

Patch Changes

  • [patch]b029d82e8c:

    Handle scroll of box of user picker component

4.0.5

Patch Changes

  • [patch]9b0adb4ce7:

    Fix scrolling behaviour when picking a user in the multi user picker

4.0.4

4.0.3

4.0.2

4.0.1

4.0.0

  • [major]7c17b35107:

    • Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.

3.5.5

  • [patch]87c47cd667:

    • Getting updated styles from tag

3.5.4

  • [patch]b8bc454675:

    • Add inputId prop to allow label to open the user picker

3.5.3

  • [patch]171feaa473:

    • FS-3792 clear results after selection

3.5.2

  • [patch]7cb36f2603:

    • Fixed User Picker showing the spinner forever in some async use cases.

3.5.1

  • [patch]3fbfd9d7f5:

    • updated byline message for EmailOption based on email validity in user-picker

3.5.0

  • [minor]e1abf3f31a:

    • Prevent popup user picker from being dismissed on clear.

3.4.3

  • [patch]2f8c041db5:

    • Corrected asynchronous user picker behaviour

3.4.2

3.4.1

  • [patch]3f28e6443c:

    • @kalamazoo/analytics-next-types is deprecated. Now you can use types for @kalamazoo/analytics-next supplied from itself.

3.4.0

  • [minor]4a8effc046:

    • FS-3741 expose boundariesElement for integrators to pass in custom boundary

3.3.5

  • [patch]0f4109e919:

    • FS-3743 remove loading message from user picker

3.3.4

  • [patch]93464f09e8:

    • TEAMS-328 : Changing byline logic

3.3.3

  • [patch]d13fad66df:

    • Enable esModuleInterop for typescript, this allows correct use of default exports

3.3.2

  • [patch]3718bdc361:

    • Updated InviteAvatorIcon in UserPicker to be not transparent

3.3.1

  • [patch]83ad0552d4:

    • Workaround SSR avatar issue in user-picker ssr tests

3.3.0

  • [minor]4526b178cb:

    • Fixed uncaptured Enter key press on Input

3.2.0

  • [minor]b0210d7ccc:

    • reset jest modules before hydration

3.1.1

3.1.0

  • [minor]1da59f9d31:

    • added ssr tests to user-picker

3.0.0

  • [major]3ea3f5ea55:

    • FS-3548 integrators must explicitly set the context prop in user-picker

2.0.3

  • [patch]552843a739:

    • FS-3639 fix analytics when no item is removed

2.0.2

  • [patch]1bcaa1b991:

    • Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js

2.0.1

  • [patch]de8123519a:

    • FS-3675 add ability for integrator to add title to popup picker

2.0.0

  • [major]9d5cc39394:

    • Dropped ES5 distributables from the typescript packages

1.1.1

  • [patch]64c306c904:

    • FS-3599 remove logic to hide add more placeholder

1.1.0

  • [minor]14af4044ea:

    • FS-3354 introduce PopupUserPicker to package

1.0.25

1.0.24

  • [patch]97307d9dd1:

    • FS-3618 add isValidEmail prop to UserPicker

1.0.23

  • [patch]ad1bd2a92e:

    • FS-3605 expose prop to disable input

1.0.22

  • [patch]46ffd45f21:

    • Added ability to toggle animations in atlaskit/select, updated UserPicker to disable animations using this new behaviour

1.0.21

  • [patch]b38b2098e3:

    • FS-3417 export utils functions

1.0.20

1.0.19

  • [patch]1050084e29:

    • TEAMS-242 : Change user picker placeholder

1.0.18

  • [patch]0809a67d7b:

    • FS-3591 hide selected users from multi picker

1.0.17

  • [patch]67f0d11134:

    • FS-3577 show selected options by default

1.0.16

  • [patch]c51d1e2e51:

    • FS-3573 show user avatar on focus

1.0.15

  • [patch]1ce3a8812b:

    • FS-3458 call loadOptions if open prop is controlled