@atlaskit/share 4.18.2 → 4.18.4

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 (166) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/compass.yml +0 -1
  3. package/dist/cjs/components/CopyLinkButton.js +3 -1
  4. package/dist/cjs/components/IntegrationButton.js +6 -2
  5. package/dist/cjs/components/IntegrationForm.js +3 -1
  6. package/dist/cjs/components/LazyShareForm/LazyShareForm.js +12 -6
  7. package/dist/cjs/components/LazyShareForm/lazy.js +9 -8
  8. package/dist/cjs/components/ShareDialogWithTrigger.js +2 -1
  9. package/dist/cjs/components/ShareForm.js +7 -1
  10. package/dist/cjs/components/ShareFormWrapper/styled.js +7 -3
  11. package/dist/cjs/components/ShareHeader.js +17 -11
  12. package/dist/cjs/components/SplitButton.js +1 -0
  13. package/dist/cjs/components/analytics/analytics.js +1 -1
  14. package/dist/cjs/i18n/cs.js +2 -0
  15. package/dist/cjs/i18n/da.js +2 -0
  16. package/dist/cjs/i18n/de.js +2 -0
  17. package/dist/cjs/i18n/en.js +2 -0
  18. package/dist/cjs/i18n/en_GB.js +2 -0
  19. package/dist/cjs/i18n/en_ZZ.js +2 -0
  20. package/dist/cjs/i18n/es.js +2 -0
  21. package/dist/cjs/i18n/fi.js +2 -0
  22. package/dist/cjs/i18n/fr.js +2 -0
  23. package/dist/cjs/i18n/hu.js +2 -0
  24. package/dist/cjs/i18n/it.js +2 -0
  25. package/dist/cjs/i18n/ja.js +2 -0
  26. package/dist/cjs/i18n/ko.js +2 -0
  27. package/dist/cjs/i18n/nb.js +2 -0
  28. package/dist/cjs/i18n/nl.js +2 -0
  29. package/dist/cjs/i18n/pl.js +2 -0
  30. package/dist/cjs/i18n/pt_BR.js +2 -0
  31. package/dist/cjs/i18n/ru.js +2 -0
  32. package/dist/cjs/i18n/sv.js +2 -0
  33. package/dist/cjs/i18n/th.js +2 -0
  34. package/dist/cjs/i18n/tr.js +2 -0
  35. package/dist/cjs/i18n/uk.js +2 -0
  36. package/dist/cjs/i18n/vi.js +2 -0
  37. package/dist/cjs/i18n/zh.js +2 -0
  38. package/dist/cjs/i18n/zh_TW.js +2 -0
  39. package/dist/es2019/components/CopyLinkButton.js +4 -0
  40. package/dist/es2019/components/IntegrationButton.js +9 -4
  41. package/dist/es2019/components/IntegrationForm.js +25 -22
  42. package/dist/es2019/components/LazyShareForm/LazyShareForm.js +13 -7
  43. package/dist/es2019/components/LazyShareForm/lazy.js +11 -8
  44. package/dist/es2019/components/ShareDialogWithTrigger.js +2 -0
  45. package/dist/es2019/components/ShareForm.js +8 -0
  46. package/dist/es2019/components/ShareFormWrapper/styled.js +7 -4
  47. package/dist/es2019/components/ShareHeader.js +6 -1
  48. package/dist/es2019/components/SplitButton.js +3 -0
  49. package/dist/es2019/components/analytics/analytics.js +1 -1
  50. package/dist/es2019/i18n/cs.js +2 -0
  51. package/dist/es2019/i18n/da.js +2 -0
  52. package/dist/es2019/i18n/de.js +2 -0
  53. package/dist/es2019/i18n/en.js +2 -0
  54. package/dist/es2019/i18n/en_GB.js +2 -0
  55. package/dist/es2019/i18n/en_ZZ.js +2 -0
  56. package/dist/es2019/i18n/es.js +2 -0
  57. package/dist/es2019/i18n/fi.js +2 -0
  58. package/dist/es2019/i18n/fr.js +2 -0
  59. package/dist/es2019/i18n/hu.js +2 -0
  60. package/dist/es2019/i18n/it.js +2 -0
  61. package/dist/es2019/i18n/ja.js +2 -0
  62. package/dist/es2019/i18n/ko.js +2 -0
  63. package/dist/es2019/i18n/nb.js +2 -0
  64. package/dist/es2019/i18n/nl.js +2 -0
  65. package/dist/es2019/i18n/pl.js +2 -0
  66. package/dist/es2019/i18n/pt_BR.js +2 -0
  67. package/dist/es2019/i18n/ru.js +2 -0
  68. package/dist/es2019/i18n/sv.js +2 -0
  69. package/dist/es2019/i18n/th.js +2 -0
  70. package/dist/es2019/i18n/tr.js +2 -0
  71. package/dist/es2019/i18n/uk.js +2 -0
  72. package/dist/es2019/i18n/vi.js +2 -0
  73. package/dist/es2019/i18n/zh.js +2 -0
  74. package/dist/es2019/i18n/zh_TW.js +2 -0
  75. package/dist/esm/components/CopyLinkButton.js +4 -0
  76. package/dist/esm/components/IntegrationButton.js +7 -2
  77. package/dist/esm/components/IntegrationForm.js +4 -1
  78. package/dist/esm/components/LazyShareForm/LazyShareForm.js +13 -7
  79. package/dist/esm/components/LazyShareForm/lazy.js +11 -8
  80. package/dist/esm/components/ShareDialogWithTrigger.js +2 -0
  81. package/dist/esm/components/ShareForm.js +8 -0
  82. package/dist/esm/components/ShareFormWrapper/styled.js +7 -4
  83. package/dist/esm/components/ShareHeader.js +17 -11
  84. package/dist/esm/components/SplitButton.js +2 -0
  85. package/dist/esm/components/analytics/analytics.js +1 -1
  86. package/dist/esm/i18n/cs.js +2 -0
  87. package/dist/esm/i18n/da.js +2 -0
  88. package/dist/esm/i18n/de.js +2 -0
  89. package/dist/esm/i18n/en.js +2 -0
  90. package/dist/esm/i18n/en_GB.js +2 -0
  91. package/dist/esm/i18n/en_ZZ.js +2 -0
  92. package/dist/esm/i18n/es.js +2 -0
  93. package/dist/esm/i18n/fi.js +2 -0
  94. package/dist/esm/i18n/fr.js +2 -0
  95. package/dist/esm/i18n/hu.js +2 -0
  96. package/dist/esm/i18n/it.js +2 -0
  97. package/dist/esm/i18n/ja.js +2 -0
  98. package/dist/esm/i18n/ko.js +2 -0
  99. package/dist/esm/i18n/nb.js +2 -0
  100. package/dist/esm/i18n/nl.js +2 -0
  101. package/dist/esm/i18n/pl.js +2 -0
  102. package/dist/esm/i18n/pt_BR.js +2 -0
  103. package/dist/esm/i18n/ru.js +2 -0
  104. package/dist/esm/i18n/sv.js +2 -0
  105. package/dist/esm/i18n/th.js +2 -0
  106. package/dist/esm/i18n/tr.js +2 -0
  107. package/dist/esm/i18n/uk.js +2 -0
  108. package/dist/esm/i18n/vi.js +2 -0
  109. package/dist/esm/i18n/zh.js +2 -0
  110. package/dist/esm/i18n/zh_TW.js +2 -0
  111. package/dist/types/components/ShareMenuItem.d.ts +1 -1
  112. package/dist/types/i18n/cs.d.ts +2 -0
  113. package/dist/types/i18n/da.d.ts +2 -0
  114. package/dist/types/i18n/de.d.ts +2 -0
  115. package/dist/types/i18n/en.d.ts +2 -0
  116. package/dist/types/i18n/en_GB.d.ts +2 -0
  117. package/dist/types/i18n/en_ZZ.d.ts +2 -0
  118. package/dist/types/i18n/es.d.ts +2 -0
  119. package/dist/types/i18n/fi.d.ts +2 -0
  120. package/dist/types/i18n/fr.d.ts +2 -0
  121. package/dist/types/i18n/hu.d.ts +2 -0
  122. package/dist/types/i18n/it.d.ts +2 -0
  123. package/dist/types/i18n/ja.d.ts +2 -0
  124. package/dist/types/i18n/ko.d.ts +2 -0
  125. package/dist/types/i18n/nb.d.ts +2 -0
  126. package/dist/types/i18n/nl.d.ts +2 -0
  127. package/dist/types/i18n/pl.d.ts +2 -0
  128. package/dist/types/i18n/pt_BR.d.ts +2 -0
  129. package/dist/types/i18n/ru.d.ts +2 -0
  130. package/dist/types/i18n/sv.d.ts +2 -0
  131. package/dist/types/i18n/th.d.ts +2 -0
  132. package/dist/types/i18n/tr.d.ts +2 -0
  133. package/dist/types/i18n/uk.d.ts +2 -0
  134. package/dist/types/i18n/vi.d.ts +2 -0
  135. package/dist/types/i18n/zh.d.ts +2 -0
  136. package/dist/types/i18n/zh_TW.d.ts +2 -0
  137. package/dist/types-ts4.5/components/ShareMenuItem.d.ts +1 -1
  138. package/dist/types-ts4.5/i18n/cs.d.ts +2 -0
  139. package/dist/types-ts4.5/i18n/da.d.ts +2 -0
  140. package/dist/types-ts4.5/i18n/de.d.ts +2 -0
  141. package/dist/types-ts4.5/i18n/en.d.ts +2 -0
  142. package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -0
  143. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -0
  144. package/dist/types-ts4.5/i18n/es.d.ts +2 -0
  145. package/dist/types-ts4.5/i18n/fi.d.ts +2 -0
  146. package/dist/types-ts4.5/i18n/fr.d.ts +2 -0
  147. package/dist/types-ts4.5/i18n/hu.d.ts +2 -0
  148. package/dist/types-ts4.5/i18n/it.d.ts +2 -0
  149. package/dist/types-ts4.5/i18n/ja.d.ts +2 -0
  150. package/dist/types-ts4.5/i18n/ko.d.ts +2 -0
  151. package/dist/types-ts4.5/i18n/nb.d.ts +2 -0
  152. package/dist/types-ts4.5/i18n/nl.d.ts +2 -0
  153. package/dist/types-ts4.5/i18n/pl.d.ts +2 -0
  154. package/dist/types-ts4.5/i18n/pt_BR.d.ts +2 -0
  155. package/dist/types-ts4.5/i18n/ru.d.ts +2 -0
  156. package/dist/types-ts4.5/i18n/sv.d.ts +2 -0
  157. package/dist/types-ts4.5/i18n/th.d.ts +2 -0
  158. package/dist/types-ts4.5/i18n/tr.d.ts +2 -0
  159. package/dist/types-ts4.5/i18n/uk.d.ts +2 -0
  160. package/dist/types-ts4.5/i18n/vi.d.ts +2 -0
  161. package/dist/types-ts4.5/i18n/zh.d.ts +2 -0
  162. package/dist/types-ts4.5/i18n/zh_TW.d.ts +2 -0
  163. package/docs/0-intro.tsx +27 -27
  164. package/docs/1-contributing.tsx +5 -3
  165. package/package.json +120 -120
  166. package/report.api.md +229 -237
package/package.json CHANGED
@@ -1,121 +1,121 @@
1
1
  {
2
- "name": "@atlaskit/share",
3
- "version": "4.18.2",
4
- "description": "Fabric Share Element",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
- "atlaskit:src": "src/index.ts",
24
- "atlassian": {
25
- "team": "People and Teams Collective",
26
- "releaseModel": "continuous",
27
- "productPushConsumption": [
28
- "jira"
29
- ],
30
- "website": {
31
- "name": "Share"
32
- }
33
- },
34
- "scripts": {
35
- "lint:fix": "(cd ../../.. && yarn workspace @atlaskit/codeshifts format-package-jsons && yarn eslint --fix 'packages/elements/share/**/*.{ts,tsx,ts}')",
36
- "lint": "(cd ../../.. && yarn eslint 'packages/elements/share/**/*.{ts,tsx,ts}')",
37
- "typecheck": "NODE_OPTIONS=--max-old-space-size=4096 tsc --noEmit --project ./tsconfig.json",
38
- "test": "(cd ../../.. && yarn test 'packages/elements/share')"
39
- },
40
- "config": {
41
- "access": "private"
42
- },
43
- "dependencies": {
44
- "@atlaskit/analytics-next": "^9.3.0",
45
- "@atlaskit/button": "^17.17.0",
46
- "@atlaskit/dropdown-menu": "^12.10.0",
47
- "@atlaskit/form": "^10.2.0",
48
- "@atlaskit/icon": "^22.3.0",
49
- "@atlaskit/menu": "^2.2.0",
50
- "@atlaskit/popper": "^6.0.0",
51
- "@atlaskit/popup": "^1.17.0",
52
- "@atlaskit/portal": "^4.5.0",
53
- "@atlaskit/primitives": "^6.4.0",
54
- "@atlaskit/smart-user-picker": "^6.9.0",
55
- "@atlaskit/spinner": "^16.1.0",
56
- "@atlaskit/tabs": "^16.1.0",
57
- "@atlaskit/textarea": "^5.4.0",
58
- "@atlaskit/theme": "^12.8.0",
59
- "@atlaskit/tokens": "^1.49.0",
60
- "@atlaskit/tooltip": "^18.4.0",
61
- "@atlaskit/ufo": "^0.2.0",
62
- "@atlaskit/user-picker": "^10.20.0",
63
- "@atlaskit/util-service-support": "^6.2.0",
64
- "@babel/runtime": "^7.0.0",
65
- "@emotion/react": "^11.7.1",
66
- "@react-loosely-lazy/manifest": "^1.0.0",
67
- "fast-deep-equal": "^3.1.1",
68
- "memoize-one": "^6.0.0",
69
- "react-intl-next": "npm:react-intl@^5.18.1",
70
- "react-loosely-lazy": "^1.0.0",
71
- "tiny-invariant": "^1.2.0"
72
- },
73
- "peerDependencies": {
74
- "react": "^16.8.0"
75
- },
76
- "devDependencies": {
77
- "@atlaskit/editor-test-helpers": "^18.23.0",
78
- "@atlaskit/flag": "^15.5.0",
79
- "@testing-library/react": "^12.1.5",
80
- "@testing-library/user-event": "^14.4.3",
81
- "enzyme": "^3.10.0",
82
- "enzyme-adapter-react-16": "^1.15.1",
83
- "react": "^16.8.0",
84
- "typescript": "~5.4.2"
85
- },
86
- "keywords": [
87
- "ui",
88
- "share",
89
- "fabric",
90
- "teams"
91
- ],
92
- "techstack": {
93
- "@atlassian/frontend": {
94
- "package-boundaries": [
95
- "linting"
96
- ],
97
- "tree-shaking": [
98
- "atlassian-conventions"
99
- ],
100
- "import-structure": [
101
- "atlassian-conventions"
102
- ],
103
- "circular-dependencies": [
104
- "file-and-folder-level"
105
- ]
106
- },
107
- "@repo/internal": {
108
- "ui-components": "lite-mode",
109
- "analytics": "analytics-next",
110
- "deprecation": "no-deprecated-imports",
111
- "design-tokens": [
112
- "color"
113
- ]
114
- }
115
- },
116
- "af:exports": {
117
- ".": "./src/index.ts",
118
- "./clients": "./src/clients/index.ts",
119
- "./copy-link-button": "./src/components/CopyLinkButton.tsx"
120
- }
121
- }
2
+ "name": "@atlaskit/share",
3
+ "version": "4.18.4",
4
+ "description": "Fabric Share Element",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
23
+ "atlaskit:src": "src/index.ts",
24
+ "atlassian": {
25
+ "team": "People and Teams Collective",
26
+ "releaseModel": "continuous",
27
+ "productPushConsumption": [
28
+ "jira"
29
+ ],
30
+ "website": {
31
+ "name": "Share"
32
+ }
33
+ },
34
+ "scripts": {
35
+ "lint:fix": "(cd ../../.. && yarn workspace @atlaskit/codeshifts format-package-jsons && yarn eslint --fix 'packages/elements/share/**/*.{ts,tsx,ts}')",
36
+ "lint": "(cd ../../.. && yarn eslint 'packages/elements/share/**/*.{ts,tsx,ts}')",
37
+ "typecheck": "NODE_OPTIONS=--max-old-space-size=4096 tsc --noEmit --project ./tsconfig.json",
38
+ "test": "(cd ../../.. && yarn test 'packages/elements/share')"
39
+ },
40
+ "config": {
41
+ "access": "private"
42
+ },
43
+ "dependencies": {
44
+ "@atlaskit/analytics-next": "^9.3.0",
45
+ "@atlaskit/button": "^17.22.0",
46
+ "@atlaskit/dropdown-menu": "^12.13.0",
47
+ "@atlaskit/form": "^10.4.0",
48
+ "@atlaskit/icon": "^22.4.0",
49
+ "@atlaskit/menu": "^2.5.0",
50
+ "@atlaskit/popper": "^6.1.0",
51
+ "@atlaskit/popup": "^1.19.0",
52
+ "@atlaskit/portal": "^4.6.0",
53
+ "@atlaskit/primitives": "^8.0.0",
54
+ "@atlaskit/smart-user-picker": "^6.9.0",
55
+ "@atlaskit/spinner": "^16.2.0",
56
+ "@atlaskit/tabs": "^16.2.0",
57
+ "@atlaskit/textarea": "^5.5.0",
58
+ "@atlaskit/theme": "^12.10.0",
59
+ "@atlaskit/tokens": "^1.51.0",
60
+ "@atlaskit/tooltip": "^18.5.0",
61
+ "@atlaskit/ufo": "^0.2.0",
62
+ "@atlaskit/user-picker": "^10.21.0",
63
+ "@atlaskit/util-service-support": "^6.2.0",
64
+ "@babel/runtime": "^7.0.0",
65
+ "@emotion/react": "^11.7.1",
66
+ "@react-loosely-lazy/manifest": "^1.0.0",
67
+ "fast-deep-equal": "^3.1.1",
68
+ "memoize-one": "^6.0.0",
69
+ "react-intl-next": "npm:react-intl@^5.18.1",
70
+ "react-loosely-lazy": "^1.0.0",
71
+ "tiny-invariant": "^1.2.0"
72
+ },
73
+ "peerDependencies": {
74
+ "react": "^16.8.0"
75
+ },
76
+ "devDependencies": {
77
+ "@atlaskit/editor-test-helpers": "^18.23.0",
78
+ "@atlaskit/flag": "^15.6.0",
79
+ "@testing-library/react": "^12.1.5",
80
+ "@testing-library/user-event": "^14.4.3",
81
+ "enzyme": "^3.10.0",
82
+ "enzyme-adapter-react-16": "^1.15.1",
83
+ "react": "^16.8.0",
84
+ "typescript": "~5.4.2"
85
+ },
86
+ "keywords": [
87
+ "ui",
88
+ "share",
89
+ "fabric",
90
+ "teams"
91
+ ],
92
+ "techstack": {
93
+ "@atlassian/frontend": {
94
+ "package-boundaries": [
95
+ "linting"
96
+ ],
97
+ "tree-shaking": [
98
+ "atlassian-conventions"
99
+ ],
100
+ "import-structure": [
101
+ "atlassian-conventions"
102
+ ],
103
+ "circular-dependencies": [
104
+ "file-and-folder-level"
105
+ ]
106
+ },
107
+ "@repo/internal": {
108
+ "ui-components": "lite-mode",
109
+ "analytics": "analytics-next",
110
+ "deprecation": "no-deprecated-imports",
111
+ "design-tokens": [
112
+ "color"
113
+ ]
114
+ }
115
+ },
116
+ "af:exports": {
117
+ ".": "./src/index.ts",
118
+ "./clients": "./src/clients/index.ts",
119
+ "./copy-link-button": "./src/components/CopyLinkButton.tsx"
120
+ }
121
+ }