@atlaskit/link-picker 1.37.1 → 1.37.2

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 (107) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/compass.yml +0 -1
  3. package/dist/cjs/common/generic-error-svg/index.js +4 -1
  4. package/dist/cjs/common/generic-error-svg/styled.js +4 -0
  5. package/dist/cjs/common/ui/empty-state/index.js +3 -1
  6. package/dist/cjs/common/ui/min-height-container/index.js +4 -1
  7. package/dist/cjs/common/ui/min-height-container/styled.js +3 -0
  8. package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +17 -11
  9. package/dist/cjs/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
  10. package/dist/cjs/ui/index.js +5 -3
  11. package/dist/cjs/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
  12. package/dist/cjs/ui/link-picker/form-footer/feature-discovery/styled.js +4 -0
  13. package/dist/cjs/ui/link-picker/form-footer/index.js +30 -24
  14. package/dist/cjs/ui/link-picker/form-footer/styled.js +5 -0
  15. package/dist/cjs/ui/link-picker/index.js +7 -3
  16. package/dist/cjs/ui/link-picker/search-results/index.js +7 -3
  17. package/dist/cjs/ui/link-picker/search-results/link-search-error/index.js +1 -0
  18. package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +21 -10
  19. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +15 -11
  20. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
  21. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +4 -0
  22. package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +6 -0
  23. package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
  24. package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/styled.js +29 -3
  25. package/dist/cjs/ui/link-picker/search-results/link-search-list/styled.js +9 -0
  26. package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.js +38 -33
  27. package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/styles.js +20 -4
  28. package/dist/cjs/ui/link-picker/search-results/search-results-container/index.js +3 -0
  29. package/dist/cjs/ui/link-picker/search-results/search-results-container/styled.js +3 -0
  30. package/dist/cjs/ui/link-picker/search-results/styled.js +7 -0
  31. package/dist/cjs/ui/link-picker/styled.js +4 -2
  32. package/dist/cjs/ui/link-picker/text-input/index.js +25 -19
  33. package/dist/cjs/ui/link-picker/text-input/styled.js +6 -0
  34. package/dist/cjs/ui/loader-fallback/index.js +4 -1
  35. package/dist/cjs/ui/loader-fallback/styled.js +3 -0
  36. package/dist/cjs/ui/styled.js +3 -0
  37. package/dist/es2019/common/generic-error-svg/index.js +4 -1
  38. package/dist/es2019/common/generic-error-svg/styled.js +3 -0
  39. package/dist/es2019/common/ui/empty-state/index.js +3 -1
  40. package/dist/es2019/common/ui/min-height-container/index.js +5 -1
  41. package/dist/es2019/common/ui/min-height-container/styled.js +3 -0
  42. package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +15 -9
  43. package/dist/es2019/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
  44. package/dist/es2019/ui/index.js +7 -2
  45. package/dist/es2019/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
  46. package/dist/es2019/ui/link-picker/form-footer/feature-discovery/styled.js +3 -0
  47. package/dist/es2019/ui/link-picker/form-footer/index.js +31 -24
  48. package/dist/es2019/ui/link-picker/form-footer/styled.js +5 -0
  49. package/dist/es2019/ui/link-picker/index.js +8 -2
  50. package/dist/es2019/ui/link-picker/search-results/index.js +8 -2
  51. package/dist/es2019/ui/link-picker/search-results/link-search-error/index.js +1 -0
  52. package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +22 -9
  53. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +13 -9
  54. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
  55. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +3 -0
  56. package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +5 -0
  57. package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
  58. package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/styled.js +28 -3
  59. package/dist/es2019/ui/link-picker/search-results/link-search-list/styled.js +8 -0
  60. package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.js +35 -28
  61. package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/styles.js +19 -4
  62. package/dist/es2019/ui/link-picker/search-results/search-results-container/index.js +4 -0
  63. package/dist/es2019/ui/link-picker/search-results/search-results-container/styled.js +3 -0
  64. package/dist/es2019/ui/link-picker/search-results/styled.js +6 -0
  65. package/dist/es2019/ui/link-picker/styled.js +4 -1
  66. package/dist/es2019/ui/link-picker/text-input/index.js +27 -20
  67. package/dist/es2019/ui/link-picker/text-input/styled.js +5 -0
  68. package/dist/es2019/ui/loader-fallback/index.js +4 -1
  69. package/dist/es2019/ui/loader-fallback/styled.js +3 -0
  70. package/dist/es2019/ui/styled.js +3 -0
  71. package/dist/esm/common/generic-error-svg/index.js +4 -1
  72. package/dist/esm/common/generic-error-svg/styled.js +3 -0
  73. package/dist/esm/common/ui/empty-state/index.js +3 -1
  74. package/dist/esm/common/ui/min-height-container/index.js +5 -1
  75. package/dist/esm/common/ui/min-height-container/styled.js +3 -0
  76. package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +17 -11
  77. package/dist/esm/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
  78. package/dist/esm/ui/index.js +6 -2
  79. package/dist/esm/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
  80. package/dist/esm/ui/link-picker/form-footer/feature-discovery/styled.js +3 -0
  81. package/dist/esm/ui/link-picker/form-footer/index.js +31 -24
  82. package/dist/esm/ui/link-picker/form-footer/styled.js +5 -0
  83. package/dist/esm/ui/link-picker/index.js +8 -2
  84. package/dist/esm/ui/link-picker/search-results/index.js +8 -2
  85. package/dist/esm/ui/link-picker/search-results/link-search-error/index.js +1 -0
  86. package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +22 -9
  87. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +15 -11
  88. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
  89. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +3 -0
  90. package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +5 -0
  91. package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
  92. package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/styled.js +28 -3
  93. package/dist/esm/ui/link-picker/search-results/link-search-list/styled.js +8 -0
  94. package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.js +39 -32
  95. package/dist/esm/ui/link-picker/search-results/scrolling-tabs/styles.js +19 -4
  96. package/dist/esm/ui/link-picker/search-results/search-results-container/index.js +4 -0
  97. package/dist/esm/ui/link-picker/search-results/search-results-container/styled.js +3 -0
  98. package/dist/esm/ui/link-picker/search-results/styled.js +6 -0
  99. package/dist/esm/ui/link-picker/styled.js +4 -1
  100. package/dist/esm/ui/link-picker/text-input/index.js +26 -19
  101. package/dist/esm/ui/link-picker/text-input/styled.js +5 -0
  102. package/dist/esm/ui/loader-fallback/index.js +4 -1
  103. package/dist/esm/ui/loader-fallback/styled.js +3 -0
  104. package/dist/esm/ui/styled.js +3 -0
  105. package/dist/types/ui/error-boundary/error-boundary-base/index.d.ts +3 -3
  106. package/dist/types-ts4.5/ui/error-boundary/error-boundary-base/index.d.ts +3 -3
  107. package/package.json +147 -147
@@ -3,6 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["name", "label", "autoFocus", "onRedo", "onUndo", "onKeyDown", "onClear", "clearLabel", "error", "spotlightTargetName"];
4
4
  /** @jsx jsx */
5
5
  import { Fragment, useCallback, useRef } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
8
  import { jsx } from '@emotion/react';
7
9
  import { ErrorMessage, Field } from '@atlaskit/form';
8
10
  import Selectclear from '@atlaskit/icon/glyph/select-clear';
@@ -61,7 +63,9 @@ export var TextInput = function TextInput(_ref) {
61
63
  var clearText = restProps.value !== '' && jsx(Tooltip, {
62
64
  content: clearLabel
63
65
  }, jsx("button", {
64
- type: "button",
66
+ type: "button"
67
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
68
+ ,
65
69
  css: clearTextButtonStyles,
66
70
  onClick: handleClear,
67
71
  "data-testid": testIds.clearUrlButton
@@ -69,22 +73,25 @@ export var TextInput = function TextInput(_ref) {
69
73
  size: "medium",
70
74
  label: clearLabel || ''
71
75
  })));
72
- return jsx("div", {
73
- css: fieldStyles
74
- }, jsx(Field, {
75
- label: label,
76
- name: name
77
- }, function (_ref2) {
78
- var fieldProps = _ref2.fieldProps;
79
- return jsx(ConditionalSpotlightTargetWrapper, {
80
- spotlightTargetName: spotlightTargetName
81
- }, jsx(Fragment, null, jsx(Textfield, _extends({}, fieldProps, restProps, {
82
- onKeyDown: handleKeydown,
83
- ref: handleRef,
84
- elemAfterInput: clearText,
85
- isInvalid: !!error
86
- })), error && jsx(ErrorMessage, {
87
- testId: testIds.urlError
88
- }, error)));
89
- }));
76
+ return (
77
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
78
+ jsx("div", {
79
+ css: fieldStyles
80
+ }, jsx(Field, {
81
+ label: label,
82
+ name: name
83
+ }, function (_ref2) {
84
+ var fieldProps = _ref2.fieldProps;
85
+ return jsx(ConditionalSpotlightTargetWrapper, {
86
+ spotlightTargetName: spotlightTargetName
87
+ }, jsx(Fragment, null, jsx(Textfield, _extends({}, fieldProps, restProps, {
88
+ onKeyDown: handleKeydown,
89
+ ref: handleRef,
90
+ elemAfterInput: clearText,
91
+ isInvalid: !!error
92
+ })), error && jsx(ErrorMessage, {
93
+ testId: testIds.urlError
94
+ }, error)));
95
+ }))
96
+ );
90
97
  };
@@ -1,5 +1,7 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { N500 } from '@atlaskit/theme/colors';
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
3
5
  export var clearTextButtonStyles = css({
4
6
  padding: 0,
5
7
  marginRight: "var(--ds-space-050, 4px)",
@@ -13,10 +15,13 @@ export var clearTextButtonStyles = css({
13
15
  * Overidding text input margin top which design system provides as a default spacer
14
16
  * but it gets in the way of our layout
15
17
  */
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
16
19
  export var fieldStyles = css({
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
17
21
  '> div': {
18
22
  marginTop: 0
19
23
  },
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
20
25
  '& + &': {
21
26
  marginTop: "var(--ds-space-200, 16px)"
22
27
  }
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { jsx } from '@emotion/react';
3
4
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
4
5
  import Spinner from '@atlaskit/spinner';
@@ -37,7 +38,9 @@ export var LoaderFallback = function LoaderFallback(props) {
37
38
  var minHeight = getEstimatedMinHeight(props);
38
39
  return jsx(MinHeightContainer, {
39
40
  minHeight: minHeight,
40
- "data-testid": "link-picker-root-loader-boundary-ui",
41
+ "data-testid": "link-picker-root-loader-boundary-ui"
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
43
+ ,
41
44
  css: styles
42
45
  }, jsx(Spinner, {
43
46
  testId: "link-picker.component-loading-indicator",
@@ -1,4 +1,7 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
2
5
  export var styles = css({
3
6
  alignItems: 'center'
4
7
  });
@@ -1,4 +1,7 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
2
5
  export var fixedWidthContainerStyles = css({
3
6
  width: 'var(--link-picker-width)'
4
7
  });
@@ -1,4 +1,4 @@
1
- import React, { Component, type ReactNode } from 'react';
1
+ import React, { Component, type ErrorInfo, type ReactNode } from 'react';
2
2
  export type ErrorBoundaryErrorInfo = {
3
3
  componentStack: string;
4
4
  };
@@ -8,11 +8,11 @@ type BaseErrorBoundaryState = {
8
8
  interface BaseErrorBoundaryProps {
9
9
  children: ReactNode;
10
10
  ErrorComponent?: React.ComponentType;
11
- onError?: (error: Error, info?: ErrorBoundaryErrorInfo) => void;
11
+ onError?: (error: Error, info?: ErrorInfo) => void;
12
12
  }
13
13
  export declare class BaseErrorBoundary extends Component<BaseErrorBoundaryProps, BaseErrorBoundaryState> {
14
14
  constructor(props: BaseErrorBoundaryProps);
15
- componentDidCatch(error: Error, info?: ErrorBoundaryErrorInfo): void;
15
+ componentDidCatch(error: Error, info?: ErrorInfo): void;
16
16
  render(): React.ReactNode;
17
17
  }
18
18
  export {};
@@ -1,4 +1,4 @@
1
- import React, { Component, type ReactNode } from 'react';
1
+ import React, { Component, type ErrorInfo, type ReactNode } from 'react';
2
2
  export type ErrorBoundaryErrorInfo = {
3
3
  componentStack: string;
4
4
  };
@@ -8,11 +8,11 @@ type BaseErrorBoundaryState = {
8
8
  interface BaseErrorBoundaryProps {
9
9
  children: ReactNode;
10
10
  ErrorComponent?: React.ComponentType;
11
- onError?: (error: Error, info?: ErrorBoundaryErrorInfo) => void;
11
+ onError?: (error: Error, info?: ErrorInfo) => void;
12
12
  }
13
13
  export declare class BaseErrorBoundary extends Component<BaseErrorBoundaryProps, BaseErrorBoundaryState> {
14
14
  constructor(props: BaseErrorBoundaryProps);
15
- componentDidCatch(error: Error, info?: ErrorBoundaryErrorInfo): void;
15
+ componentDidCatch(error: Error, info?: ErrorInfo): void;
16
16
  render(): React.ReactNode;
17
17
  }
18
18
  export {};
package/package.json CHANGED
@@ -1,148 +1,148 @@
1
1
  {
2
- "name": "@atlaskit/link-picker",
3
- "version": "1.37.1",
4
- "description": "Standalone link picker",
5
- "author": "Atlassian Pty Ltd",
6
- "publishConfig": {
7
- "registry": "https://registry.npmjs.org/"
8
- },
9
- "license": "Apache-2.0",
10
- "atlassian": {
11
- "team": "Linking Platform",
12
- "inPublicMirror": false,
13
- "releaseModel": "continuous",
14
- "i18n": true,
15
- "productPushConsumption": [
16
- "jira"
17
- ],
18
- "website": {
19
- "name": "Link Picker"
20
- }
21
- },
22
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
23
- "main": "dist/cjs/index.js",
24
- "module": "dist/esm/index.js",
25
- "module:es2019": "dist/es2019/index.js",
26
- "types": "dist/types/index.d.ts",
27
- "typesVersions": {
28
- ">=4.5 <4.9": {
29
- "*": [
30
- "dist/types-ts4.5/*",
31
- "dist/types-ts4.5/index.d.ts"
32
- ]
33
- }
34
- },
35
- "sideEffects": false,
36
- "atlaskit:src": "src/index.ts",
37
- "af:exports": {
38
- ".": "./src/index.ts"
39
- },
40
- "platform-feature-flags": {
41
- "platform.linking-platform.link-picker.enable-empty-state": {
42
- "type": "boolean"
43
- },
44
- "platform.linking-platform.link-picker.fixed-height-search-results": {
45
- "type": "boolean"
46
- },
47
- "platform.linking-platform.link-picker.enable-jira-create": {
48
- "type": "boolean"
49
- },
50
- "platform.linking-platform.link-picker.remove-dst-empty-state": {
51
- "type": "boolean"
52
- },
53
- "platform.linking-platform.link-picker.translations-map": {
54
- "type": "boolean"
55
- }
56
- },
57
- "scripts": {
58
- "codegen-analytics": "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-picker run codegen-analytics'"
59
- },
60
- "dependencies": {
61
- "@atlaskit/analytics-next": "^9.3.0",
62
- "@atlaskit/button": "^17.17.0",
63
- "@atlaskit/empty-state": "^7.8.0",
64
- "@atlaskit/form": "^10.3.0",
65
- "@atlaskit/frontend-utilities": "^2.7.0",
66
- "@atlaskit/heading": "^2.3.0",
67
- "@atlaskit/icon": "^22.3.0",
68
- "@atlaskit/intl-messages-provider": "^1.0.2",
69
- "@atlaskit/linking-common": "^5.7.0",
70
- "@atlaskit/onboarding": "^11.5.0",
71
- "@atlaskit/platform-feature-flags": "^0.2.1",
72
- "@atlaskit/primitives": "^7.0.0",
73
- "@atlaskit/spinner": "^16.1.0",
74
- "@atlaskit/tabs": "^16.1.0",
75
- "@atlaskit/textfield": "^6.3.0",
76
- "@atlaskit/theme": "^12.9.0",
77
- "@atlaskit/tokens": "^1.49.0",
78
- "@atlaskit/tooltip": "^18.4.0",
79
- "@atlaskit/ufo": "^0.2.0",
80
- "@atlaskit/visually-hidden": "^1.3.0",
81
- "@babel/runtime": "^7.0.0",
82
- "@emotion/react": "^11.7.1",
83
- "@react-loosely-lazy/manifest": "^1.0.0",
84
- "date-fns": "^2.17.0",
85
- "react-loosely-lazy": "^1.0.0",
86
- "use-debounce": "^3.4.0",
87
- "uuid": "^3.1.0"
88
- },
89
- "peerDependencies": {
90
- "react": "^16.8.0",
91
- "react-intl-next": "npm:react-intl@^5.18.1"
92
- },
93
- "devDependencies": {
94
- "@af/analytics-codegen": "^0.1.0",
95
- "@af/integration-testing": "*",
96
- "@af/visual-regression": "*",
97
- "@atlaskit/dropdown-menu": "^12.11.0",
98
- "@atlaskit/link-provider": "^1.10.0",
99
- "@atlaskit/link-test-helpers": "^7.0.0",
100
- "@atlaskit/visual-regression": "*",
101
- "@atlassian/feature-flags-test-utils": "*",
102
- "@testing-library/dom": "^8.17.1",
103
- "@testing-library/jest-dom": "^6.4.5",
104
- "@testing-library/react": "^12.1.5",
105
- "@testing-library/react-hooks": "^8.0.1",
106
- "@testing-library/user-event": "^14.4.3",
107
- "fetch-mock": "^8.0.0",
108
- "jest-extended": "^0.11.2",
109
- "lodash": "^4.17.21",
110
- "mockdate": "^3.0.5",
111
- "node-fetch": "^2.6.7",
112
- "prettier": "^3.2.5",
113
- "react-dom": "^16.8.0",
114
- "sinon": "^2.2.0",
115
- "typescript": "~5.4.2"
116
- },
117
- "techstack": {
118
- "@atlassian/frontend": {
119
- "code-structure": [
120
- "tangerine-next"
121
- ],
122
- "import-structure": [
123
- "atlassian-conventions"
124
- ],
125
- "circular-dependencies": [
126
- "file-and-folder-level"
127
- ]
128
- },
129
- "@repo/internal": {
130
- "dom-events": "use-bind-event-listener",
131
- "analytics": [
132
- "analytics-next"
133
- ],
134
- "design-tokens": [
135
- "color",
136
- "spacing"
137
- ],
138
- "imports": [
139
- "import-no-extraneous-disable-for-examples-and-docs"
140
- ]
141
- }
142
- },
143
- "techstackIgnore": {
144
- "stricter": [
145
- "@atlassian/tangerine/project-structure"
146
- ]
147
- }
148
- }
2
+ "name": "@atlaskit/link-picker",
3
+ "version": "1.37.2",
4
+ "description": "Standalone link picker",
5
+ "author": "Atlassian Pty Ltd",
6
+ "publishConfig": {
7
+ "registry": "https://registry.npmjs.org/"
8
+ },
9
+ "license": "Apache-2.0",
10
+ "atlassian": {
11
+ "team": "Linking Platform",
12
+ "inPublicMirror": false,
13
+ "releaseModel": "continuous",
14
+ "i18n": true,
15
+ "productPushConsumption": [
16
+ "jira"
17
+ ],
18
+ "website": {
19
+ "name": "Link Picker"
20
+ }
21
+ },
22
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
23
+ "main": "dist/cjs/index.js",
24
+ "module": "dist/esm/index.js",
25
+ "module:es2019": "dist/es2019/index.js",
26
+ "types": "dist/types/index.d.ts",
27
+ "typesVersions": {
28
+ ">=4.5 <4.9": {
29
+ "*": [
30
+ "dist/types-ts4.5/*",
31
+ "dist/types-ts4.5/index.d.ts"
32
+ ]
33
+ }
34
+ },
35
+ "sideEffects": false,
36
+ "atlaskit:src": "src/index.ts",
37
+ "af:exports": {
38
+ ".": "./src/index.ts"
39
+ },
40
+ "platform-feature-flags": {
41
+ "platform.linking-platform.link-picker.enable-empty-state": {
42
+ "type": "boolean"
43
+ },
44
+ "platform.linking-platform.link-picker.fixed-height-search-results": {
45
+ "type": "boolean"
46
+ },
47
+ "platform.linking-platform.link-picker.enable-jira-create": {
48
+ "type": "boolean"
49
+ },
50
+ "platform.linking-platform.link-picker.remove-dst-empty-state": {
51
+ "type": "boolean"
52
+ },
53
+ "platform.linking-platform.link-picker.translations-map": {
54
+ "type": "boolean"
55
+ }
56
+ },
57
+ "scripts": {
58
+ "codegen-analytics": "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-picker run codegen-analytics'"
59
+ },
60
+ "dependencies": {
61
+ "@atlaskit/analytics-next": "^9.3.0",
62
+ "@atlaskit/button": "^17.22.0",
63
+ "@atlaskit/empty-state": "^7.9.0",
64
+ "@atlaskit/form": "^10.4.0",
65
+ "@atlaskit/frontend-utilities": "^2.7.0",
66
+ "@atlaskit/heading": "^2.4.0",
67
+ "@atlaskit/icon": "^22.4.0",
68
+ "@atlaskit/intl-messages-provider": "^1.0.2",
69
+ "@atlaskit/linking-common": "^5.7.0",
70
+ "@atlaskit/onboarding": "^11.7.0",
71
+ "@atlaskit/platform-feature-flags": "^0.2.1",
72
+ "@atlaskit/primitives": "^8.0.0",
73
+ "@atlaskit/spinner": "^16.2.0",
74
+ "@atlaskit/tabs": "^16.2.0",
75
+ "@atlaskit/textfield": "^6.4.0",
76
+ "@atlaskit/theme": "^12.10.0",
77
+ "@atlaskit/tokens": "^1.51.0",
78
+ "@atlaskit/tooltip": "^18.5.0",
79
+ "@atlaskit/ufo": "^0.2.0",
80
+ "@atlaskit/visually-hidden": "^1.4.0",
81
+ "@babel/runtime": "^7.0.0",
82
+ "@emotion/react": "^11.7.1",
83
+ "@react-loosely-lazy/manifest": "^1.0.0",
84
+ "date-fns": "^2.17.0",
85
+ "react-loosely-lazy": "^1.0.0",
86
+ "use-debounce": "^3.4.0",
87
+ "uuid": "^3.1.0"
88
+ },
89
+ "peerDependencies": {
90
+ "react": "^16.8.0",
91
+ "react-intl-next": "npm:react-intl@^5.18.1"
92
+ },
93
+ "devDependencies": {
94
+ "@af/analytics-codegen": "^0.1.0",
95
+ "@af/integration-testing": "*",
96
+ "@af/visual-regression": "*",
97
+ "@atlaskit/dropdown-menu": "^12.13.0",
98
+ "@atlaskit/link-provider": "^1.11.0",
99
+ "@atlaskit/link-test-helpers": "^7.0.0",
100
+ "@atlaskit/visual-regression": "*",
101
+ "@atlassian/feature-flags-test-utils": "*",
102
+ "@testing-library/dom": "^8.17.1",
103
+ "@testing-library/jest-dom": "^6.4.5",
104
+ "@testing-library/react": "^12.1.5",
105
+ "@testing-library/react-hooks": "^8.0.1",
106
+ "@testing-library/user-event": "^14.4.3",
107
+ "fetch-mock": "^8.0.0",
108
+ "jest-extended": "^0.11.2",
109
+ "lodash": "^4.17.21",
110
+ "mockdate": "^3.0.5",
111
+ "node-fetch": "^2.6.7",
112
+ "prettier": "^3.2.5",
113
+ "react-dom": "^16.8.0",
114
+ "sinon": "^2.2.0",
115
+ "typescript": "~5.4.2"
116
+ },
117
+ "techstack": {
118
+ "@atlassian/frontend": {
119
+ "code-structure": [
120
+ "tangerine-next"
121
+ ],
122
+ "import-structure": [
123
+ "atlassian-conventions"
124
+ ],
125
+ "circular-dependencies": [
126
+ "file-and-folder-level"
127
+ ]
128
+ },
129
+ "@repo/internal": {
130
+ "dom-events": "use-bind-event-listener",
131
+ "analytics": [
132
+ "analytics-next"
133
+ ],
134
+ "design-tokens": [
135
+ "color",
136
+ "spacing"
137
+ ],
138
+ "imports": [
139
+ "import-no-extraneous-disable-for-examples-and-docs"
140
+ ]
141
+ }
142
+ },
143
+ "techstackIgnore": {
144
+ "stricter": [
145
+ "@atlassian/tangerine/project-structure"
146
+ ]
147
+ }
148
+ }