@atlaskit/link-picker 1.48.3 → 1.49.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.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/common/generic-error-svg/index.compiled.css +2 -0
- package/dist/cjs/common/generic-error-svg/index.js +34 -25
- package/dist/cjs/common/generic-error-svg/old/index.js +66 -0
- package/dist/cjs/common/ui/empty-state/index.compiled.css +3 -0
- package/dist/cjs/common/ui/empty-state/index.js +26 -14
- package/dist/cjs/common/ui/empty-state/old/index.js +38 -0
- package/dist/cjs/common/ui/min-height-container/index.compiled.css +4 -0
- package/dist/cjs/common/ui/min-height-container/index.js +24 -14
- package/dist/cjs/common/ui/min-height-container/old/index.js +34 -0
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.compiled.css +2 -0
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +24 -18
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/old/index.js +50 -0
- package/dist/cjs/ui/link-picker/form-footer/index.compiled.css +3 -0
- package/dist/cjs/ui/link-picker/form-footer/index.js +30 -35
- package/dist/cjs/ui/link-picker/form-footer/link-picker-submit-button/index.js +2 -8
- package/dist/cjs/ui/link-picker/form-footer/old/index.js +116 -0
- package/dist/cjs/ui/link-picker/index.compiled.css +10 -0
- package/dist/cjs/ui/link-picker/index.js +45 -59
- package/dist/cjs/ui/link-picker/old/index.js +435 -0
- package/dist/cjs/ui/link-picker/search-results/index.compiled.css +7 -0
- package/dist/cjs/ui/link-picker/search-results/index.js +33 -32
- package/dist/cjs/ui/link-picker/search-results/link-search-error/index.js +5 -11
- package/dist/cjs/ui/link-picker/search-results/link-search-list/index.compiled.css +24 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +55 -43
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.compiled.css +2 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +36 -28
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/old/index.js +70 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.compiled.css +34 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.js +99 -76
- package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/old/index.js +145 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/old/index.js +188 -0
- package/dist/cjs/ui/link-picker/search-results/old/index.js +105 -0
- package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.compiled.css +29 -0
- package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.js +54 -42
- package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/old/index.js +163 -0
- package/dist/cjs/ui/link-picker/search-results/search-results-container/index.compiled.css +4 -0
- package/dist/cjs/ui/link-picker/search-results/search-results-container/index.js +21 -19
- package/dist/cjs/ui/link-picker/search-results/search-results-container/old/index.js +43 -0
- package/dist/cjs/ui/link-picker/text-input/index.compiled.css +11 -0
- package/dist/cjs/ui/link-picker/text-input/index.js +36 -39
- package/dist/cjs/ui/link-picker/text-input/old/index.js +125 -0
- package/dist/cjs/ui/loader-fallback/index.compiled.css +1 -0
- package/dist/cjs/ui/loader-fallback/index.js +21 -15
- package/dist/cjs/ui/loader-fallback/old/index.js +67 -0
- package/dist/cjs/ui/main.compiled.css +1 -0
- package/dist/cjs/ui/main.js +25 -24
- package/dist/cjs/ui/old/main.js +75 -0
- package/dist/es2019/common/generic-error-svg/index.compiled.css +2 -0
- package/dist/es2019/common/generic-error-svg/index.js +27 -23
- package/dist/es2019/common/generic-error-svg/old/index.js +58 -0
- package/dist/es2019/common/ui/empty-state/index.compiled.css +3 -0
- package/dist/es2019/common/ui/empty-state/index.js +18 -9
- package/dist/es2019/common/ui/empty-state/old/index.js +32 -0
- package/dist/es2019/common/ui/min-height-container/index.compiled.css +4 -0
- package/dist/es2019/common/ui/min-height-container/index.js +21 -12
- package/dist/es2019/common/ui/min-height-container/old/index.js +25 -0
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.compiled.css +2 -0
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +20 -16
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/old/index.js +41 -0
- package/dist/es2019/ui/link-picker/form-footer/index.compiled.css +3 -0
- package/dist/es2019/ui/link-picker/form-footer/index.js +27 -32
- package/dist/es2019/ui/link-picker/form-footer/link-picker-submit-button/index.js +2 -7
- package/dist/es2019/ui/link-picker/form-footer/old/index.js +104 -0
- package/dist/es2019/ui/link-picker/index.compiled.css +10 -0
- package/dist/es2019/ui/link-picker/index.js +38 -58
- package/dist/es2019/ui/link-picker/old/index.js +436 -0
- package/dist/es2019/ui/link-picker/search-results/index.compiled.css +7 -0
- package/dist/es2019/ui/link-picker/search-results/index.js +29 -31
- package/dist/es2019/ui/link-picker/search-results/link-search-error/index.js +5 -10
- package/dist/es2019/ui/link-picker/search-results/link-search-list/index.compiled.css +24 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +48 -42
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.compiled.css +2 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +29 -26
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/old/index.js +63 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.compiled.css +34 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.js +77 -72
- package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/old/index.js +132 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/old/index.js +178 -0
- package/dist/es2019/ui/link-picker/search-results/old/index.js +98 -0
- package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.compiled.css +29 -0
- package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.js +39 -39
- package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/old/index.js +130 -0
- package/dist/es2019/ui/link-picker/search-results/search-results-container/index.compiled.css +4 -0
- package/dist/es2019/ui/link-picker/search-results/search-results-container/index.js +16 -16
- package/dist/es2019/ui/link-picker/search-results/search-results-container/old/index.js +37 -0
- package/dist/es2019/ui/link-picker/text-input/index.compiled.css +11 -0
- package/dist/es2019/ui/link-picker/text-input/index.js +30 -38
- package/dist/es2019/ui/link-picker/text-input/old/index.js +121 -0
- package/dist/es2019/ui/loader-fallback/index.compiled.css +1 -0
- package/dist/es2019/ui/loader-fallback/index.js +17 -13
- package/dist/es2019/ui/loader-fallback/old/index.js +60 -0
- package/dist/es2019/ui/main.compiled.css +1 -0
- package/dist/es2019/ui/main.js +24 -22
- package/dist/es2019/ui/old/main.js +73 -0
- package/dist/esm/common/generic-error-svg/index.compiled.css +2 -0
- package/dist/esm/common/generic-error-svg/index.js +30 -23
- package/dist/esm/common/generic-error-svg/old/index.js +58 -0
- package/dist/esm/common/ui/empty-state/index.compiled.css +3 -0
- package/dist/esm/common/ui/empty-state/index.js +18 -9
- package/dist/esm/common/ui/empty-state/old/index.js +31 -0
- package/dist/esm/common/ui/min-height-container/index.compiled.css +4 -0
- package/dist/esm/common/ui/min-height-container/index.js +23 -14
- package/dist/esm/common/ui/min-height-container/old/index.js +25 -0
- package/dist/esm/ui/error-boundary/error-boundary-fallback/index.compiled.css +2 -0
- package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +20 -16
- package/dist/esm/ui/error-boundary/error-boundary-fallback/old/index.js +43 -0
- package/dist/esm/ui/link-picker/form-footer/index.compiled.css +3 -0
- package/dist/esm/ui/link-picker/form-footer/index.js +28 -34
- package/dist/esm/ui/link-picker/form-footer/link-picker-submit-button/index.js +2 -7
- package/dist/esm/ui/link-picker/form-footer/old/index.js +108 -0
- package/dist/esm/ui/link-picker/index.compiled.css +10 -0
- package/dist/esm/ui/link-picker/index.js +39 -59
- package/dist/esm/ui/link-picker/old/index.js +432 -0
- package/dist/esm/ui/link-picker/search-results/index.compiled.css +7 -0
- package/dist/esm/ui/link-picker/search-results/index.js +30 -32
- package/dist/esm/ui/link-picker/search-results/link-search-error/index.js +5 -10
- package/dist/esm/ui/link-picker/search-results/link-search-list/index.compiled.css +24 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +49 -43
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.compiled.css +2 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +32 -26
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/old/index.js +63 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.compiled.css +34 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.js +94 -72
- package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/old/index.js +136 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/old/index.js +186 -0
- package/dist/esm/ui/link-picker/search-results/old/index.js +100 -0
- package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.compiled.css +29 -0
- package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.js +52 -43
- package/dist/esm/ui/link-picker/search-results/scrolling-tabs/old/index.js +158 -0
- package/dist/esm/ui/link-picker/search-results/search-results-container/index.compiled.css +4 -0
- package/dist/esm/ui/link-picker/search-results/search-results-container/index.js +16 -16
- package/dist/esm/ui/link-picker/search-results/search-results-container/old/index.js +36 -0
- package/dist/esm/ui/link-picker/text-input/index.compiled.css +11 -0
- package/dist/esm/ui/link-picker/text-input/index.js +30 -38
- package/dist/esm/ui/link-picker/text-input/old/index.js +121 -0
- package/dist/esm/ui/loader-fallback/index.compiled.css +1 -0
- package/dist/esm/ui/loader-fallback/index.js +17 -13
- package/dist/esm/ui/loader-fallback/old/index.js +59 -0
- package/dist/esm/ui/main.compiled.css +1 -0
- package/dist/esm/ui/main.js +24 -22
- package/dist/esm/ui/old/main.js +64 -0
- package/dist/types/common/generic-error-svg/index.d.ts +3 -6
- package/dist/types/common/generic-error-svg/old/index.d.ts +6 -0
- package/dist/types/common/types.d.ts +0 -1
- package/dist/types/common/ui/empty-state/index.d.ts +3 -2
- package/dist/types/common/ui/empty-state/old/index.d.ts +9 -0
- package/dist/types/common/ui/min-height-container/index.d.ts +3 -0
- package/dist/types/common/ui/min-height-container/old/index.d.ts +8 -0
- package/dist/types/ui/error-boundary/error-boundary-fallback/index.d.ts +3 -6
- package/dist/types/ui/error-boundary/error-boundary-fallback/old/index.d.ts +6 -0
- package/dist/types/ui/link-picker/form-footer/index.d.ts +2 -5
- package/dist/types/ui/link-picker/form-footer/link-picker-submit-button/index.d.ts +2 -6
- package/dist/types/ui/link-picker/form-footer/old/index.d.ts +42 -0
- package/dist/types/ui/link-picker/index.d.ts +2 -2
- package/dist/types/ui/link-picker/old/index.d.ts +25 -0
- package/dist/types/ui/link-picker/search-results/index.d.ts +2 -2
- package/dist/types/ui/link-picker/search-results/link-search-error/index.d.ts +2 -6
- package/dist/types/ui/link-picker/search-results/link-search-list/index.d.ts +1 -0
- package/dist/types/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.d.ts +3 -6
- package/dist/types/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/old/index.d.ts +6 -0
- package/dist/types/ui/link-picker/search-results/link-search-list/list-item/index.d.ts +3 -2
- package/dist/types/ui/link-picker/search-results/link-search-list/list-item/old/index.d.ts +23 -0
- package/dist/types/ui/link-picker/search-results/link-search-list/old/index.d.ts +52 -0
- package/dist/types/ui/link-picker/search-results/old/index.d.ts +45 -0
- package/dist/types/ui/link-picker/search-results/scrolling-tabs/index.d.ts +4 -4
- package/dist/types/ui/link-picker/search-results/scrolling-tabs/old/index.d.ts +7 -0
- package/dist/types/ui/link-picker/search-results/search-results-container/index.d.ts +2 -2
- package/dist/types/ui/link-picker/search-results/search-results-container/old/index.d.ts +10 -0
- package/dist/types/ui/link-picker/text-input/index.d.ts +3 -2
- package/dist/types/ui/link-picker/text-input/old/index.d.ts +18 -0
- package/dist/types/ui/loader-fallback/index.d.ts +3 -6
- package/dist/types/ui/loader-fallback/old/index.d.ts +17 -0
- package/dist/types/ui/main.d.ts +2 -2
- package/dist/types/ui/old/main.d.ts +13 -0
- package/dist/types-ts4.5/common/generic-error-svg/index.d.ts +3 -6
- package/dist/types-ts4.5/common/generic-error-svg/old/index.d.ts +6 -0
- package/dist/types-ts4.5/common/types.d.ts +0 -1
- package/dist/types-ts4.5/common/ui/empty-state/index.d.ts +3 -2
- package/dist/types-ts4.5/common/ui/empty-state/old/index.d.ts +9 -0
- package/dist/types-ts4.5/common/ui/min-height-container/index.d.ts +3 -0
- package/dist/types-ts4.5/common/ui/min-height-container/old/index.d.ts +8 -0
- package/dist/types-ts4.5/ui/error-boundary/error-boundary-fallback/index.d.ts +3 -6
- package/dist/types-ts4.5/ui/error-boundary/error-boundary-fallback/old/index.d.ts +6 -0
- package/dist/types-ts4.5/ui/link-picker/form-footer/index.d.ts +2 -5
- package/dist/types-ts4.5/ui/link-picker/form-footer/link-picker-submit-button/index.d.ts +2 -6
- package/dist/types-ts4.5/ui/link-picker/form-footer/old/index.d.ts +42 -0
- package/dist/types-ts4.5/ui/link-picker/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/link-picker/old/index.d.ts +25 -0
- package/dist/types-ts4.5/ui/link-picker/search-results/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-error/index.d.ts +2 -6
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.d.ts +3 -6
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/old/index.d.ts +6 -0
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/list-item/index.d.ts +3 -2
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/list-item/old/index.d.ts +23 -0
- package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/old/index.d.ts +52 -0
- package/dist/types-ts4.5/ui/link-picker/search-results/old/index.d.ts +45 -0
- package/dist/types-ts4.5/ui/link-picker/search-results/scrolling-tabs/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/link-picker/search-results/scrolling-tabs/old/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/link-picker/search-results/search-results-container/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/link-picker/search-results/search-results-container/old/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/link-picker/text-input/index.d.ts +3 -2
- package/dist/types-ts4.5/ui/link-picker/text-input/old/index.d.ts +18 -0
- package/dist/types-ts4.5/ui/loader-fallback/index.d.ts +3 -6
- package/dist/types-ts4.5/ui/loader-fallback/old/index.d.ts +17 -0
- package/dist/types-ts4.5/ui/main.d.ts +2 -2
- package/dist/types-ts4.5/ui/old/main.d.ts +13 -0
- package/lazy/package.json +3 -1
- package/package.json +14 -4
- package/dist/cjs/ui/link-picker/form-footer/feature-discovery/index.js +0 -69
- package/dist/cjs/ui/link-picker/form-footer/feature-discovery/styled.js +0 -25
- package/dist/es2019/ui/link-picker/form-footer/feature-discovery/index.js +0 -61
- package/dist/es2019/ui/link-picker/form-footer/feature-discovery/styled.js +0 -18
- package/dist/esm/ui/link-picker/form-footer/feature-discovery/index.js +0 -62
- package/dist/esm/ui/link-picker/form-footer/feature-discovery/styled.js +0 -18
- package/dist/types/ui/link-picker/form-footer/feature-discovery/index.d.ts +0 -15
- package/dist/types/ui/link-picker/form-footer/feature-discovery/styled.d.ts +0 -1
- package/dist/types-ts4.5/ui/link-picker/form-footer/feature-discovery/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/link-picker/form-footer/feature-discovery/styled.d.ts +0 -1
- /package/dist/cjs/common/ui/min-height-container/{styled.js → old/styled.js} +0 -0
- /package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/{styled.js → old/styled.js} +0 -0
- /package/dist/cjs/ui/link-picker/search-results/link-search-list/{styled.js → old/styled.js} +0 -0
- /package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/{styles.js → old/styles.js} +0 -0
- /package/dist/es2019/common/ui/min-height-container/{styled.js → old/styled.js} +0 -0
- /package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/{styled.js → old/styled.js} +0 -0
- /package/dist/es2019/ui/link-picker/search-results/link-search-list/{styled.js → old/styled.js} +0 -0
- /package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/{styles.js → old/styles.js} +0 -0
- /package/dist/esm/common/ui/min-height-container/{styled.js → old/styled.js} +0 -0
- /package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/{styled.js → old/styled.js} +0 -0
- /package/dist/esm/ui/link-picker/search-results/link-search-list/{styled.js → old/styled.js} +0 -0
- /package/dist/esm/ui/link-picker/search-results/scrolling-tabs/{styles.js → old/styles.js} +0 -0
- /package/dist/types/common/ui/min-height-container/{styled.d.ts → old/styled.d.ts} +0 -0
- /package/dist/types/ui/link-picker/search-results/link-search-list/list-item/{styled.d.ts → old/styled.d.ts} +0 -0
- /package/dist/types/ui/link-picker/search-results/link-search-list/{styled.d.ts → old/styled.d.ts} +0 -0
- /package/dist/types/ui/link-picker/search-results/scrolling-tabs/{styles.d.ts → old/styles.d.ts} +0 -0
- /package/dist/types-ts4.5/common/ui/min-height-container/{styled.d.ts → old/styled.d.ts} +0 -0
- /package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/list-item/{styled.d.ts → old/styled.d.ts} +0 -0
- /package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/{styled.d.ts → old/styled.d.ts} +0 -0
- /package/dist/types-ts4.5/ui/link-picker/search-results/scrolling-tabs/{styles.d.ts → old/styles.d.ts} +0 -0
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
6
|
import type { LinkPickerProps } from '../common/types';
|
|
8
7
|
import type { PackageMetaDataType } from '../common/utils/analytics/analytics.codegen';
|
|
9
8
|
export declare const testIds: {
|
|
10
9
|
linkPickerRoot: string;
|
|
11
10
|
};
|
|
12
11
|
export declare const PACKAGE_DATA: PackageMetaDataType;
|
|
13
|
-
export declare const
|
|
12
|
+
export declare const composeLinkPickerNew: (Component: React.ComponentType<LinkPickerProps>) => React.MemoExoticComponent<(props: LinkPickerProps) => JSX.Element>;
|
|
13
|
+
export declare const composeLinkPicker: (Component: React.ComponentType<LinkPickerProps>) => React.MemoExoticComponent<(props: LinkPickerProps) => import("@emotion/react").jsx.JSX.Element>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
import type { LinkPickerProps } from '../../common/types';
|
|
8
|
+
import type { PackageMetaDataType } from '../../common/utils/analytics/analytics.codegen';
|
|
9
|
+
export declare const testIds: {
|
|
10
|
+
linkPickerRoot: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const PACKAGE_DATA: PackageMetaDataType;
|
|
13
|
+
export declare const composeLinkPickerOld: (Component: React.ComponentType<LinkPickerProps>) => React.MemoExoticComponent<(props: LinkPickerProps) => jsx.JSX.Element>;
|
package/lazy/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.49.1",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -28,14 +28,19 @@
|
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"sideEffects":
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"**/*.compiled.css"
|
|
33
|
+
],
|
|
32
34
|
"atlaskit:src": "src/index.ts",
|
|
33
35
|
"af:exports": {
|
|
34
36
|
".": "./src/index.ts",
|
|
35
37
|
"./lazy": "./src/lazy.ts"
|
|
36
38
|
},
|
|
37
39
|
"platform-feature-flags": {
|
|
38
|
-
"
|
|
40
|
+
"platform_bandicoots-link-picker-css": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"platform-linking-visual-refresh-v1": {
|
|
39
44
|
"type": "boolean"
|
|
40
45
|
}
|
|
41
46
|
},
|
|
@@ -46,10 +51,11 @@
|
|
|
46
51
|
"@atlaskit/analytics-next": "^10.3.0",
|
|
47
52
|
"@atlaskit/atlassian-context": "^0.1.0",
|
|
48
53
|
"@atlaskit/button": "^20.5.0",
|
|
54
|
+
"@atlaskit/css": "^0.8.0",
|
|
49
55
|
"@atlaskit/form": "^11.1.0",
|
|
50
56
|
"@atlaskit/frontend-utilities": "^2.9.0",
|
|
51
57
|
"@atlaskit/heading": "^4.1.0",
|
|
52
|
-
"@atlaskit/icon": "^23.
|
|
58
|
+
"@atlaskit/icon": "^23.9.0",
|
|
53
59
|
"@atlaskit/intl-messages-provider": "^1.1.0",
|
|
54
60
|
"@atlaskit/linking-common": "^6.3.0",
|
|
55
61
|
"@atlaskit/onboarding": "^12.3.0",
|
|
@@ -64,6 +70,7 @@
|
|
|
64
70
|
"@atlaskit/ufo": "^0.3.0",
|
|
65
71
|
"@atlaskit/visually-hidden": "^1.6.0",
|
|
66
72
|
"@babel/runtime": "^7.0.0",
|
|
73
|
+
"@compiled/react": "^0.18.1",
|
|
67
74
|
"@emotion/react": "^11.7.1",
|
|
68
75
|
"@react-loosely-lazy/manifest": "^1.0.0",
|
|
69
76
|
"date-fns": "^2.17.0",
|
|
@@ -122,6 +129,9 @@
|
|
|
122
129
|
],
|
|
123
130
|
"imports": [
|
|
124
131
|
"import-no-extraneous-disable-for-examples-and-docs"
|
|
132
|
+
],
|
|
133
|
+
"styling": [
|
|
134
|
+
"compiled"
|
|
125
135
|
]
|
|
126
136
|
}
|
|
127
137
|
},
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = require("react");
|
|
8
|
-
var _react2 = require("@emotion/react");
|
|
9
|
-
var _storageClient = require("@atlaskit/frontend-utilities/storage-client");
|
|
10
|
-
var _styled = require("./styled");
|
|
11
|
-
/**
|
|
12
|
-
* @jsxRuntime classic
|
|
13
|
-
* @jsx jsx
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
-
|
|
18
|
-
var LOCAL_STORAGE_CLIENT_KEY = '@atlaskit/link-picker';
|
|
19
|
-
var LOCAL_STORAGE_DISCOVERY_KEY = 'action-discovery-jira-create';
|
|
20
|
-
var LOCAL_STORAGE_DISCOVERY_VALUE = 'discovered';
|
|
21
|
-
var LOCAL_STORAGE_DISCOVERY_EXPIRY_IN_MS = 15552000000; // 180 days
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* This is a hacky solution to help with the feature discovery.
|
|
25
|
-
* This implementation must be removed once the experiment is completed.
|
|
26
|
-
*
|
|
27
|
-
* Cleanup ticket:
|
|
28
|
-
* https://product-fabric.atlassian.net/browse/EDM-7480
|
|
29
|
-
*/
|
|
30
|
-
var FeatureDiscovery = function FeatureDiscovery(_ref) {
|
|
31
|
-
var children = _ref.children,
|
|
32
|
-
testId = _ref.testId;
|
|
33
|
-
var storageClient = (0, _react.useMemo)(function () {
|
|
34
|
-
return new _storageClient.StorageClient(LOCAL_STORAGE_CLIENT_KEY);
|
|
35
|
-
}, []);
|
|
36
|
-
|
|
37
|
-
// Set this to `false` if you want to always show the feature discovery pulse.
|
|
38
|
-
// (or open Application tab in your devtools and delete the relevent row)
|
|
39
|
-
var discovered = (0, _react.useMemo)(function () {
|
|
40
|
-
try {
|
|
41
|
-
return storageClient.getItem(LOCAL_STORAGE_DISCOVERY_KEY) === LOCAL_STORAGE_DISCOVERY_VALUE;
|
|
42
|
-
} catch (_unused) {
|
|
43
|
-
// If localStorage is not available, don't show feature discovery component. Treat it as 'discovered'.
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
}, [storageClient]);
|
|
47
|
-
(0, _react.useEffect)(function () {
|
|
48
|
-
return function () {
|
|
49
|
-
if (!discovered) {
|
|
50
|
-
try {
|
|
51
|
-
storageClient.setItemWithExpiry(LOCAL_STORAGE_DISCOVERY_KEY, LOCAL_STORAGE_DISCOVERY_VALUE, LOCAL_STORAGE_DISCOVERY_EXPIRY_IN_MS);
|
|
52
|
-
} catch (_unused2) {
|
|
53
|
-
// silent error
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
}, [storageClient, discovered]);
|
|
58
|
-
if (discovered) {
|
|
59
|
-
return children;
|
|
60
|
-
}
|
|
61
|
-
return (
|
|
62
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
63
|
-
(0, _react2.jsx)("span", {
|
|
64
|
-
css: _styled.pulseStyles,
|
|
65
|
-
"data-testid": "".concat(testId, "-discovery")
|
|
66
|
-
}, children)
|
|
67
|
-
);
|
|
68
|
-
};
|
|
69
|
-
var _default = exports.default = FeatureDiscovery;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.pulseStyles = void 0;
|
|
7
|
-
var _react = require("@emotion/react");
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
-
|
|
10
|
-
var pulseKeyframes = (0, _react.keyframes)({
|
|
11
|
-
to: {
|
|
12
|
-
boxShadow: '0 0 0 7px rgba(0, 0, 0, 0)'
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
// Styling from atlassian-frontend/packages/design-system/onboarding/src/styled/target.tsx
|
|
17
|
-
var pulseColor = 'rgb(101, 84, 192)';
|
|
18
|
-
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
20
|
-
var pulseStyles = exports.pulseStyles = (0, _react.css)({
|
|
21
|
-
display: 'inline-flex',
|
|
22
|
-
borderRadius: '3px',
|
|
23
|
-
boxShadow: "0 0 0 0 ".concat(pulseColor),
|
|
24
|
-
animation: "".concat(pulseKeyframes, " 1.45s cubic-bezier(0.5, 0, 0, 1) infinite")
|
|
25
|
-
});
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { useEffect, useMemo } from 'react';
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
-
import { jsx } from '@emotion/react';
|
|
9
|
-
import { StorageClient } from '@atlaskit/frontend-utilities/storage-client';
|
|
10
|
-
import { pulseStyles } from './styled';
|
|
11
|
-
const LOCAL_STORAGE_CLIENT_KEY = '@atlaskit/link-picker';
|
|
12
|
-
const LOCAL_STORAGE_DISCOVERY_KEY = 'action-discovery-jira-create';
|
|
13
|
-
const LOCAL_STORAGE_DISCOVERY_VALUE = 'discovered';
|
|
14
|
-
const LOCAL_STORAGE_DISCOVERY_EXPIRY_IN_MS = 15552000000; // 180 days
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* This is a hacky solution to help with the feature discovery.
|
|
18
|
-
* This implementation must be removed once the experiment is completed.
|
|
19
|
-
*
|
|
20
|
-
* Cleanup ticket:
|
|
21
|
-
* https://product-fabric.atlassian.net/browse/EDM-7480
|
|
22
|
-
*/
|
|
23
|
-
const FeatureDiscovery = ({
|
|
24
|
-
children,
|
|
25
|
-
testId
|
|
26
|
-
}) => {
|
|
27
|
-
const storageClient = useMemo(() => new StorageClient(LOCAL_STORAGE_CLIENT_KEY), []);
|
|
28
|
-
|
|
29
|
-
// Set this to `false` if you want to always show the feature discovery pulse.
|
|
30
|
-
// (or open Application tab in your devtools and delete the relevent row)
|
|
31
|
-
const discovered = useMemo(() => {
|
|
32
|
-
try {
|
|
33
|
-
return storageClient.getItem(LOCAL_STORAGE_DISCOVERY_KEY) === LOCAL_STORAGE_DISCOVERY_VALUE;
|
|
34
|
-
} catch {
|
|
35
|
-
// If localStorage is not available, don't show feature discovery component. Treat it as 'discovered'.
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
}, [storageClient]);
|
|
39
|
-
useEffect(() => {
|
|
40
|
-
return () => {
|
|
41
|
-
if (!discovered) {
|
|
42
|
-
try {
|
|
43
|
-
storageClient.setItemWithExpiry(LOCAL_STORAGE_DISCOVERY_KEY, LOCAL_STORAGE_DISCOVERY_VALUE, LOCAL_STORAGE_DISCOVERY_EXPIRY_IN_MS);
|
|
44
|
-
} catch {
|
|
45
|
-
// silent error
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
}, [storageClient, discovered]);
|
|
50
|
-
if (discovered) {
|
|
51
|
-
return children;
|
|
52
|
-
}
|
|
53
|
-
return (
|
|
54
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
55
|
-
jsx("span", {
|
|
56
|
-
css: pulseStyles,
|
|
57
|
-
"data-testid": `${testId}-discovery`
|
|
58
|
-
}, children)
|
|
59
|
-
);
|
|
60
|
-
};
|
|
61
|
-
export default FeatureDiscovery;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
-
import { css, keyframes } from '@emotion/react';
|
|
3
|
-
const pulseKeyframes = keyframes({
|
|
4
|
-
to: {
|
|
5
|
-
boxShadow: '0 0 0 7px rgba(0, 0, 0, 0)'
|
|
6
|
-
}
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
// Styling from atlassian-frontend/packages/design-system/onboarding/src/styled/target.tsx
|
|
10
|
-
const pulseColor = 'rgb(101, 84, 192)';
|
|
11
|
-
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
|
-
export const pulseStyles = css({
|
|
14
|
-
display: 'inline-flex',
|
|
15
|
-
borderRadius: '3px',
|
|
16
|
-
boxShadow: `0 0 0 0 ${pulseColor}`,
|
|
17
|
-
animation: `${pulseKeyframes} 1.45s cubic-bezier(0.5, 0, 0, 1) infinite`
|
|
18
|
-
});
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { useEffect, useMemo } from 'react';
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
-
import { jsx } from '@emotion/react';
|
|
9
|
-
import { StorageClient } from '@atlaskit/frontend-utilities/storage-client';
|
|
10
|
-
import { pulseStyles } from './styled';
|
|
11
|
-
var LOCAL_STORAGE_CLIENT_KEY = '@atlaskit/link-picker';
|
|
12
|
-
var LOCAL_STORAGE_DISCOVERY_KEY = 'action-discovery-jira-create';
|
|
13
|
-
var LOCAL_STORAGE_DISCOVERY_VALUE = 'discovered';
|
|
14
|
-
var LOCAL_STORAGE_DISCOVERY_EXPIRY_IN_MS = 15552000000; // 180 days
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* This is a hacky solution to help with the feature discovery.
|
|
18
|
-
* This implementation must be removed once the experiment is completed.
|
|
19
|
-
*
|
|
20
|
-
* Cleanup ticket:
|
|
21
|
-
* https://product-fabric.atlassian.net/browse/EDM-7480
|
|
22
|
-
*/
|
|
23
|
-
var FeatureDiscovery = function FeatureDiscovery(_ref) {
|
|
24
|
-
var children = _ref.children,
|
|
25
|
-
testId = _ref.testId;
|
|
26
|
-
var storageClient = useMemo(function () {
|
|
27
|
-
return new StorageClient(LOCAL_STORAGE_CLIENT_KEY);
|
|
28
|
-
}, []);
|
|
29
|
-
|
|
30
|
-
// Set this to `false` if you want to always show the feature discovery pulse.
|
|
31
|
-
// (or open Application tab in your devtools and delete the relevent row)
|
|
32
|
-
var discovered = useMemo(function () {
|
|
33
|
-
try {
|
|
34
|
-
return storageClient.getItem(LOCAL_STORAGE_DISCOVERY_KEY) === LOCAL_STORAGE_DISCOVERY_VALUE;
|
|
35
|
-
} catch (_unused) {
|
|
36
|
-
// If localStorage is not available, don't show feature discovery component. Treat it as 'discovered'.
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
}, [storageClient]);
|
|
40
|
-
useEffect(function () {
|
|
41
|
-
return function () {
|
|
42
|
-
if (!discovered) {
|
|
43
|
-
try {
|
|
44
|
-
storageClient.setItemWithExpiry(LOCAL_STORAGE_DISCOVERY_KEY, LOCAL_STORAGE_DISCOVERY_VALUE, LOCAL_STORAGE_DISCOVERY_EXPIRY_IN_MS);
|
|
45
|
-
} catch (_unused2) {
|
|
46
|
-
// silent error
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
}, [storageClient, discovered]);
|
|
51
|
-
if (discovered) {
|
|
52
|
-
return children;
|
|
53
|
-
}
|
|
54
|
-
return (
|
|
55
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
56
|
-
jsx("span", {
|
|
57
|
-
css: pulseStyles,
|
|
58
|
-
"data-testid": "".concat(testId, "-discovery")
|
|
59
|
-
}, children)
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
export default FeatureDiscovery;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
|
-
import { css, keyframes } from '@emotion/react';
|
|
3
|
-
var pulseKeyframes = keyframes({
|
|
4
|
-
to: {
|
|
5
|
-
boxShadow: '0 0 0 7px rgba(0, 0, 0, 0)'
|
|
6
|
-
}
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
// Styling from atlassian-frontend/packages/design-system/onboarding/src/styled/target.tsx
|
|
10
|
-
var pulseColor = 'rgb(101, 84, 192)';
|
|
11
|
-
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
|
-
export var pulseStyles = css({
|
|
14
|
-
display: 'inline-flex',
|
|
15
|
-
borderRadius: '3px',
|
|
16
|
-
boxShadow: "0 0 0 0 ".concat(pulseColor),
|
|
17
|
-
animation: "".concat(pulseKeyframes, " 1.45s cubic-bezier(0.5, 0, 0, 1) infinite")
|
|
18
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
type FeatureDiscoveryProps = {
|
|
4
|
-
children: React.ReactElement;
|
|
5
|
-
testId?: string;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* This is a hacky solution to help with the feature discovery.
|
|
9
|
-
* This implementation must be removed once the experiment is completed.
|
|
10
|
-
*
|
|
11
|
-
* Cleanup ticket:
|
|
12
|
-
* https://product-fabric.atlassian.net/browse/EDM-7480
|
|
13
|
-
*/
|
|
14
|
-
declare const FeatureDiscovery: ({ children, testId }: FeatureDiscoveryProps) => jsx.JSX.Element;
|
|
15
|
-
export default FeatureDiscovery;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const pulseStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
type FeatureDiscoveryProps = {
|
|
4
|
-
children: React.ReactElement;
|
|
5
|
-
testId?: string;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* This is a hacky solution to help with the feature discovery.
|
|
9
|
-
* This implementation must be removed once the experiment is completed.
|
|
10
|
-
*
|
|
11
|
-
* Cleanup ticket:
|
|
12
|
-
* https://product-fabric.atlassian.net/browse/EDM-7480
|
|
13
|
-
*/
|
|
14
|
-
declare const FeatureDiscovery: ({ children, testId }: FeatureDiscoveryProps) => jsx.JSX.Element;
|
|
15
|
-
export default FeatureDiscovery;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const pulseStyles: import("@emotion/react").SerializedStyles;
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/ui/link-picker/search-results/link-search-list/{styled.js → old/styled.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/es2019/ui/link-picker/search-results/link-search-list/{styled.js → old/styled.js}
RENAMED
|
File without changes
|
/package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/{styles.js → old/styles.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/ui/link-picker/search-results/link-search-list/{styled.js → old/styled.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/types/ui/link-picker/search-results/link-search-list/{styled.d.ts → old/styled.d.ts}
RENAMED
|
File without changes
|
/package/dist/types/ui/link-picker/search-results/scrolling-tabs/{styles.d.ts → old/styles.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|