@atlaskit/anonymous-assets 1.1.0 → 2.0.0

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 (47) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/common/utils/get-anonymous-asset.js +20 -20
  3. package/dist/cjs/common/utils/intl.js +23 -23
  4. package/dist/cjs/common/utils/retry.js +20 -20
  5. package/dist/esm/common/utils/get-anonymous-asset.js +20 -20
  6. package/dist/esm/common/utils/intl.js +23 -23
  7. package/dist/esm/common/utils/retry.js +20 -20
  8. package/get-anonymous-asset/package.json +1 -8
  9. package/package.json +22 -21
  10. package/types/package.json +1 -8
  11. package/dist/types-ts4.5/common/assets/index.d.ts +0 -106
  12. package/dist/types-ts4.5/common/utils/anonymous-assets.d.ts +0 -678
  13. package/dist/types-ts4.5/common/utils/get-anonymous-asset.d.ts +0 -26
  14. package/dist/types-ts4.5/common/utils/intl.d.ts +0 -2
  15. package/dist/types-ts4.5/common/utils/retry.d.ts +0 -22
  16. package/dist/types-ts4.5/i18n/cs.d.ts +0 -144
  17. package/dist/types-ts4.5/i18n/da.d.ts +0 -144
  18. package/dist/types-ts4.5/i18n/de.d.ts +0 -144
  19. package/dist/types-ts4.5/i18n/en.d.ts +0 -144
  20. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -144
  21. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -144
  22. package/dist/types-ts4.5/i18n/es.d.ts +0 -144
  23. package/dist/types-ts4.5/i18n/fi.d.ts +0 -144
  24. package/dist/types-ts4.5/i18n/fr.d.ts +0 -144
  25. package/dist/types-ts4.5/i18n/hr.d.ts +0 -144
  26. package/dist/types-ts4.5/i18n/hu.d.ts +0 -144
  27. package/dist/types-ts4.5/i18n/index.d.ts +0 -1
  28. package/dist/types-ts4.5/i18n/it.d.ts +0 -144
  29. package/dist/types-ts4.5/i18n/ja.d.ts +0 -144
  30. package/dist/types-ts4.5/i18n/ko.d.ts +0 -144
  31. package/dist/types-ts4.5/i18n/nb.d.ts +0 -144
  32. package/dist/types-ts4.5/i18n/nl.d.ts +0 -144
  33. package/dist/types-ts4.5/i18n/pl.d.ts +0 -144
  34. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -144
  35. package/dist/types-ts4.5/i18n/ru.d.ts +0 -144
  36. package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -144
  37. package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -144
  38. package/dist/types-ts4.5/i18n/sv.d.ts +0 -144
  39. package/dist/types-ts4.5/i18n/th.d.ts +0 -144
  40. package/dist/types-ts4.5/i18n/tr.d.ts +0 -144
  41. package/dist/types-ts4.5/i18n/uk.d.ts +0 -144
  42. package/dist/types-ts4.5/i18n/vi.d.ts +0 -144
  43. package/dist/types-ts4.5/i18n/zh.d.ts +0 -144
  44. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -144
  45. package/dist/types-ts4.5/index.d.ts +0 -2
  46. package/dist/types-ts4.5/messages.d.ts +0 -3
  47. package/dist/types-ts4.5/types.d.ts +0 -16
package/package.json CHANGED
@@ -1,5 +1,12 @@
1
1
  {
2
2
  "atlassian": {
3
+ "react-compiler": {
4
+ "enabled": true,
5
+ "gating": {
6
+ "source": "@atlassian/react-compiler-gating",
7
+ "importSpecifierName": "isReactCompilerActivePlatform"
8
+ }
9
+ },
3
10
  "team": "Confluence Flywheel Feature Discovery"
4
11
  },
5
12
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
@@ -7,25 +14,27 @@
7
14
  "module": "dist/esm/index.js",
8
15
  "module:es2019": "dist/es2019/index.js",
9
16
  "types": "dist/types/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.4": {
12
- "*": [
13
- "dist/types-ts4.5/*",
14
- "dist/types-ts4.5/index.d.ts"
15
- ]
16
- }
17
- },
18
17
  "scripts": {
19
18
  "ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
20
19
  },
20
+ "devDependencies": {
21
+ "@af/integration-testing": "workspace:^",
22
+ "@af/visual-regression": "workspace:^",
23
+ "@atlaskit/ssr": "workspace:^",
24
+ "@atlassian/react-compiler-gating": "workspace:^",
25
+ "@testing-library/react": "^16.3.0",
26
+ "react": "^18.2.0",
27
+ "react-dom": "^18.2.0",
28
+ "react-intl": "^6.6.2"
29
+ },
21
30
  "sideEffects": false,
22
31
  "atlaskit:src": "src/index.ts",
23
32
  "dependencies": {
24
33
  "@atlaskit/afm-i18n-platform-elements-anonymous-assets": "2.7.0",
25
- "@atlaskit/browser-apis": "^0.0.1",
26
- "@atlaskit/css": "^0.19.0",
27
- "@atlaskit/primitives": "^19.0.0",
28
- "@atlaskit/tokens": "^13.0.0",
34
+ "@atlaskit/browser-apis": "^1.0.0",
35
+ "@atlaskit/css": "^1.0.0",
36
+ "@atlaskit/primitives": "^20.0.0",
37
+ "@atlaskit/tokens": "^14.0.0",
29
38
  "@babel/runtime": "^7.0.0",
30
39
  "@compiled/react": "^0.20.0"
31
40
  },
@@ -33,14 +42,6 @@
33
42
  "react": "^18.2.0",
34
43
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
35
44
  },
36
- "devDependencies": {
37
- "@af/integration-testing": "workspace:^",
38
- "@af/visual-regression": "workspace:^",
39
- "@atlaskit/ssr": "workspace:^",
40
- "@testing-library/react": "^16.3.0",
41
- "react-dom": "^18.2.0",
42
- "react-intl": "^6.6.2"
43
- },
44
45
  "techstack": {
45
46
  "@atlassian/frontend": {
46
47
  "code-structure": [
@@ -80,7 +81,7 @@
80
81
  }
81
82
  },
82
83
  "name": "@atlaskit/anonymous-assets",
83
- "version": "1.1.0",
84
+ "version": "2.0.0",
84
85
  "description": "Assets for anonymous users",
85
86
  "author": "Atlassian Pty Ltd",
86
87
  "publishConfig": {
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types.js",
5
5
  "module:es2019": "../dist/es2019/types.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types.d.ts"
15
8
  }
@@ -1,106 +0,0 @@
1
- import Apple from './apple.svg';
2
- import Avocado from './avocado.svg';
3
- import Badger from './badger.svg';
4
- import Bat from './bat.svg';
5
- import Bear from './bear.svg';
6
- import Beaver from './beaver.svg';
7
- import Bee from './bee.svg';
8
- import Bison from './bison.svg';
9
- import Blossom from './blossom.svg';
10
- import Blowfish from './blowfish.svg';
11
- import Blueberries from './blueberries.svg';
12
- import Boar from './boar.svg';
13
- import Broccoli from './broccoli.svg';
14
- import Butterfly from './butterfly.svg';
15
- import Cactus from './cactus.svg';
16
- import Camel from './camel.svg';
17
- import Candy from './candy.svg';
18
- import Capsicum from './capsicum.svg';
19
- import Carrot from './carrot.svg';
20
- import Cat from './cat.svg';
21
- import Caterpiller from './caterpiller.svg';
22
- import Cherry from './cherry.svg';
23
- import Chili from './chili.svg';
24
- import Clover from './clover.svg';
25
- import Coconut from './coconut.svg';
26
- import Cookie from './cookie.svg';
27
- import Corn from './corn.svg';
28
- import Cow from './cow.svg';
29
- import Crab from './crab.svg';
30
- import Crocodile from './crocodile.svg';
31
- import Deer from './deer.svg';
32
- import Dinosaur from './dinosaur.svg';
33
- import Dodo from './dodo.svg';
34
- import Dog from './dog.svg';
35
- import Dolphin from './dolphin.svg';
36
- import Donut from './donut.svg';
37
- import Dragon from './dragon.svg';
38
- import Duck from './duck.svg';
39
- import Elephant from './elephant.svg';
40
- import Fish from './fish.svg';
41
- import Flamingo from './flamingo.svg';
42
- import Fox from './fox.svg';
43
- import Frog from './frog.svg';
44
- import Giraffe from './giraffe.svg';
45
- import Gorilla from './gorilla.svg';
46
- import Grape from './grapes.svg';
47
- import Hedgehog from './hedgehog.svg';
48
- import Hippo from './hippo.svg';
49
- import Kangaroo from './kangaroo.svg';
50
- import Kiwi from './kiwi.svg';
51
- import Koala from './koala.svg';
52
- import Lemon from './lemon.svg';
53
- import Lettuce from './lettuce.svg';
54
- import Lion from './lion.svg';
55
- import Lizard from './lizard.svg';
56
- import Llama from './llama.svg';
57
- import Lobster from './lobster.svg';
58
- import Mango from './mango.svg';
59
- import Melon from './melon.svg';
60
- import Monkey from './monkey.svg';
61
- import Mouse from './mouse.svg';
62
- import Octopus from './octopus.svg';
63
- import Olive from './olive.svg';
64
- import Orange from './orange.svg';
65
- import Orangutan from './orangutan.svg';
66
- import Otter from './otter.svg';
67
- import Owl from './owl.svg';
68
- import Ox from './ox.svg';
69
- import Oyster from './oyster.svg';
70
- import Panda from './panda.svg';
71
- import Parrot from './parrot.svg';
72
- import Peacock from './peacock.svg';
73
- import Pear from './pear.svg';
74
- import Penguin from './penguin.svg';
75
- import Pig from './pig.svg';
76
- import Pineapple from './pineapple.svg';
77
- import Poodle from './poodle.svg';
78
- import Rabbit from './rabbit.svg';
79
- import Raccoon from './raccoon.svg';
80
- import Rhino from './rhino.svg';
81
- import Robot from './robot.svg';
82
- import Rose from './rose.svg';
83
- import Seal from './seal.svg';
84
- import Seedling from './seedling.svg';
85
- import Shark from './shark.svg';
86
- import Shrimp from './shrimp.svg';
87
- import Skunk from './skunk.svg';
88
- import Sloth from './sloth.svg';
89
- import Snail from './snail.svg';
90
- import Snake from './snake.svg';
91
- import Snowman from './snowman.svg';
92
- import Squid from './squid.svg';
93
- import Squirrel from './squirrel.svg';
94
- import Strawberry from './strawberry.svg';
95
- import Sunflower from './sunflower.svg';
96
- import Trex from './t-rex.svg';
97
- import Tiger from './tiger.svg';
98
- import Tomato from './tomato.svg';
99
- import Tree from './tree.svg';
100
- import TropicalFish from './tropical-fish.svg';
101
- import Turkey from './turkey.svg';
102
- import Turtle from './turtle.svg';
103
- import Watermelon from './watermelon.svg';
104
- import Whale from './whale.svg';
105
- import Wolf from './wolf.svg';
106
- export { Apple, Avocado, Badger, Bat, Bear, Beaver, Bee, Bison, Blossom, Blowfish, Blueberries, Boar, Broccoli, Butterfly, Cactus, Camel, Candy, Capsicum, Carrot, Cat, Caterpiller, Cherry, Chili, Clover, Coconut, Cookie, Corn, Cow, Crab, Crocodile, Deer, Dinosaur, Dodo, Dog, Dolphin, Donut, Dragon, Duck, Elephant, Fish, Flamingo, Fox, Frog, Giraffe, Gorilla, Grape, Hedgehog, Hippo, Kangaroo, Kiwi, Koala, Lemon, Lettuce, Lion, Lizard, Llama, Lobster, Mango, Melon, Monkey, Mouse, Octopus, Olive, Orange, Orangutan, Otter, Owl, Ox, Oyster, Panda, Parrot, Peacock, Pear, Penguin, Pig, Pineapple, Poodle, Rabbit, Raccoon, Rhino, Robot, Rose, Seal, Seedling, Shark, Shrimp, Skunk, Sloth, Snail, Snake, Snowman, Squid, Squirrel, Strawberry, Sunflower, Trex, Tiger, Tomato, Tree, TropicalFish, Turkey, Turtle, Watermelon, Whale, Wolf, };