@semcore/illustration 16.0.12 → 17.0.0-prerelease.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 (214) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +4 -4
  3. package/{AccessDenied → lib/AccessDenied}/index.d.ts +1 -1
  4. package/{AccessDenied → lib/AccessDenied}/index.js +2 -2
  5. package/{AccessDenied → lib/AccessDenied}/index.mjs +1 -1
  6. package/{AreaChart → lib/AccessLogIn}/index.d.ts +1 -1
  7. package/{AccessLogIn → lib/AccessLogIn}/index.js +2 -2
  8. package/{AccessLogIn → lib/AccessLogIn}/index.mjs +1 -1
  9. package/{Blocked → lib/AreaChart}/index.d.ts +1 -1
  10. package/{AreaChart → lib/AreaChart}/index.js +2 -2
  11. package/{AreaChart → lib/AreaChart}/index.mjs +1 -1
  12. package/{AccessLogIn → lib/Blocked}/index.d.ts +1 -1
  13. package/{Blocked → lib/Blocked}/index.js +2 -2
  14. package/{Blocked → lib/Blocked}/index.mjs +1 -1
  15. package/lib/ChoroplethMapChart/index.d.ts +28 -0
  16. package/{ChoroplethMapChart → lib/ChoroplethMapChart}/index.js +2 -2
  17. package/{ChoroplethMapChart → lib/ChoroplethMapChart}/index.mjs +1 -1
  18. package/lib/Coffee/index.d.ts +28 -0
  19. package/{Coffee → lib/Coffee}/index.js +2 -2
  20. package/{Coffee → lib/Coffee}/index.mjs +1 -1
  21. package/lib/Collection/index.d.ts +28 -0
  22. package/{Collection → lib/Collection}/index.js +2 -2
  23. package/{Collection → lib/Collection}/index.mjs +1 -1
  24. package/lib/CombinedChart/index.d.ts +28 -0
  25. package/{CombinedChart → lib/CombinedChart}/index.js +2 -2
  26. package/{CombinedChart → lib/CombinedChart}/index.mjs +1 -1
  27. package/lib/Configuration/index.d.ts +28 -0
  28. package/{Configuration → lib/Configuration}/index.js +2 -2
  29. package/{Configuration → lib/Configuration}/index.mjs +1 -1
  30. package/lib/Confirmation/index.d.ts +28 -0
  31. package/{Confirmation → lib/Confirmation}/index.js +2 -2
  32. package/{Confirmation → lib/Confirmation}/index.mjs +1 -1
  33. package/lib/Congrats/index.d.ts +28 -0
  34. package/{Congrats → lib/Congrats}/index.js +2 -2
  35. package/{Congrats → lib/Congrats}/index.mjs +1 -1
  36. package/lib/ConnectionLost/index.d.ts +28 -0
  37. package/{ConnectionLost → lib/ConnectionLost}/index.js +2 -2
  38. package/{ConnectionLost → lib/ConnectionLost}/index.mjs +1 -1
  39. package/lib/DeletedAccount/index.d.ts +28 -0
  40. package/{DeletedAccount → lib/DeletedAccount}/index.js +2 -2
  41. package/{DeletedAccount → lib/DeletedAccount}/index.mjs +1 -1
  42. package/lib/DeletedPage/index.d.ts +28 -0
  43. package/{DeletedPage → lib/DeletedPage}/index.js +2 -2
  44. package/{DeletedPage → lib/DeletedPage}/index.mjs +1 -1
  45. package/lib/Dns/index.d.ts +28 -0
  46. package/{Dns → lib/Dns}/index.js +2 -2
  47. package/{Dns → lib/Dns}/index.mjs +1 -1
  48. package/lib/DonutChart/index.d.ts +28 -0
  49. package/{DonutChart → lib/DonutChart}/index.js +2 -2
  50. package/{DonutChart → lib/DonutChart}/index.mjs +1 -1
  51. package/lib/Duplicates/index.d.ts +28 -0
  52. package/{Duplicates → lib/Duplicates}/index.js +2 -2
  53. package/{Duplicates → lib/Duplicates}/index.mjs +1 -1
  54. package/lib/Feedback/index.d.ts +28 -0
  55. package/{Feedback → lib/Feedback}/index.js +2 -2
  56. package/{Feedback → lib/Feedback}/index.mjs +1 -1
  57. package/lib/FunnelChart/index.d.ts +28 -0
  58. package/{FunnelChart → lib/FunnelChart}/index.js +2 -2
  59. package/{FunnelChart → lib/FunnelChart}/index.mjs +1 -1
  60. package/lib/Good/index.d.ts +28 -0
  61. package/{Good → lib/Good}/index.js +2 -2
  62. package/{Good → lib/Good}/index.mjs +1 -1
  63. package/lib/HeatMapChart/index.d.ts +28 -0
  64. package/{HeatMapChart → lib/HeatMapChart}/index.js +2 -2
  65. package/{HeatMapChart → lib/HeatMapChart}/index.mjs +1 -1
  66. package/lib/HorizontalBarChart/index.d.ts +28 -0
  67. package/{HorizontalBarChart → lib/HorizontalBarChart}/index.js +2 -2
  68. package/{HorizontalBarChart → lib/HorizontalBarChart}/index.mjs +1 -1
  69. package/lib/KagiChart/index.d.ts +28 -0
  70. package/{KagiChart → lib/KagiChart}/index.js +2 -2
  71. package/{KagiChart → lib/KagiChart}/index.mjs +1 -1
  72. package/lib/LineChart/index.d.ts +28 -0
  73. package/{LineChart → lib/LineChart}/index.js +2 -2
  74. package/{LineChart → lib/LineChart}/index.mjs +1 -1
  75. package/lib/LollipopChart/index.d.ts +28 -0
  76. package/{LollipopChart → lib/LollipopChart}/index.js +2 -2
  77. package/{LollipopChart → lib/LollipopChart}/index.mjs +1 -1
  78. package/lib/MailSent/index.d.ts +28 -0
  79. package/{MailSent → lib/MailSent}/index.js +2 -2
  80. package/{MailSent → lib/MailSent}/index.mjs +1 -1
  81. package/lib/Maintenance/index.d.ts +28 -0
  82. package/{Maintenance → lib/Maintenance}/index.js +2 -2
  83. package/{Maintenance → lib/Maintenance}/index.mjs +1 -1
  84. package/lib/Nexttime/index.d.ts +28 -0
  85. package/{Nexttime → lib/Nexttime}/index.js +2 -2
  86. package/{Nexttime → lib/Nexttime}/index.mjs +1 -1
  87. package/lib/NoPayment/index.d.ts +28 -0
  88. package/{NoPayment → lib/NoPayment}/index.js +2 -2
  89. package/{NoPayment → lib/NoPayment}/index.mjs +1 -1
  90. package/lib/NothingFound/index.d.ts +28 -0
  91. package/{NothingFound → lib/NothingFound}/index.js +2 -2
  92. package/{NothingFound → lib/NothingFound}/index.mjs +1 -1
  93. package/lib/OtherData/index.d.ts +28 -0
  94. package/{OtherData → lib/OtherData}/index.js +2 -2
  95. package/{OtherData → lib/OtherData}/index.mjs +1 -1
  96. package/lib/PageError/index.d.ts +28 -0
  97. package/{PageError → lib/PageError}/index.js +2 -2
  98. package/{PageError → lib/PageError}/index.mjs +1 -1
  99. package/lib/PageNotFound/index.d.ts +28 -0
  100. package/{PageNotFound → lib/PageNotFound}/index.js +2 -2
  101. package/{PageNotFound → lib/PageNotFound}/index.mjs +1 -1
  102. package/lib/PieChart/index.d.ts +28 -0
  103. package/{PieChart → lib/PieChart}/index.js +2 -2
  104. package/{PieChart → lib/PieChart}/index.mjs +1 -1
  105. package/lib/Processing/index.d.ts +28 -0
  106. package/{Processing → lib/Processing}/index.js +2 -2
  107. package/{Processing → lib/Processing}/index.mjs +1 -1
  108. package/lib/ProjectNotFound/index.d.ts +28 -0
  109. package/{ProjectNotFound → lib/ProjectNotFound}/index.js +2 -2
  110. package/{ProjectNotFound → lib/ProjectNotFound}/index.mjs +1 -1
  111. package/lib/RadarChart/index.d.ts +28 -0
  112. package/{RadarChart → lib/RadarChart}/index.js +2 -2
  113. package/{RadarChart → lib/RadarChart}/index.mjs +1 -1
  114. package/lib/RadialTreeChart/index.d.ts +28 -0
  115. package/{RadialTreeChart → lib/RadialTreeChart}/index.js +2 -2
  116. package/{RadialTreeChart → lib/RadialTreeChart}/index.mjs +1 -1
  117. package/lib/SankeyChart/index.d.ts +28 -0
  118. package/{SankeyChart → lib/SankeyChart}/index.js +2 -2
  119. package/{SankeyChart → lib/SankeyChart}/index.mjs +1 -1
  120. package/lib/ScatterPlotChart/index.d.ts +28 -0
  121. package/{ScatterPlotChart → lib/ScatterPlotChart}/index.js +2 -2
  122. package/{ScatterPlotChart → lib/ScatterPlotChart}/index.mjs +1 -1
  123. package/lib/StackedAreaChart/index.d.ts +28 -0
  124. package/{StackedAreaChart → lib/StackedAreaChart}/index.js +2 -2
  125. package/{StackedAreaChart → lib/StackedAreaChart}/index.mjs +1 -1
  126. package/lib/Suggestion/index.d.ts +28 -0
  127. package/{Suggestion → lib/Suggestion}/index.js +2 -2
  128. package/{Suggestion → lib/Suggestion}/index.mjs +1 -1
  129. package/lib/Suggestions/index.d.ts +28 -0
  130. package/{Suggestions → lib/Suggestions}/index.js +2 -2
  131. package/{Suggestions → lib/Suggestions}/index.mjs +1 -1
  132. package/lib/Table/index.d.ts +28 -0
  133. package/{Table → lib/Table}/index.js +2 -2
  134. package/{Table → lib/Table}/index.mjs +1 -1
  135. package/lib/TagCloud/index.d.ts +28 -0
  136. package/{TagCloud → lib/TagCloud}/index.js +2 -2
  137. package/{TagCloud → lib/TagCloud}/index.mjs +1 -1
  138. package/lib/TextLinksEtc/index.d.ts +28 -0
  139. package/{TextLinksEtc → lib/TextLinksEtc}/index.js +2 -2
  140. package/{TextLinksEtc → lib/TextLinksEtc}/index.mjs +1 -1
  141. package/lib/Timeout/index.d.ts +28 -0
  142. package/{Timeout → lib/Timeout}/index.js +2 -2
  143. package/{Timeout → lib/Timeout}/index.mjs +1 -1
  144. package/lib/UnderConstruction/index.d.ts +28 -0
  145. package/{UnderConstruction → lib/UnderConstruction}/index.js +2 -2
  146. package/{UnderConstruction → lib/UnderConstruction}/index.mjs +1 -1
  147. package/lib/VennChart/index.d.ts +28 -0
  148. package/{VennChart → lib/VennChart}/index.js +2 -2
  149. package/{VennChart → lib/VennChart}/index.mjs +1 -1
  150. package/lib/VerticalBarChart/index.d.ts +28 -0
  151. package/{VerticalBarChart → lib/VerticalBarChart}/index.js +2 -2
  152. package/{VerticalBarChart → lib/VerticalBarChart}/index.mjs +1 -1
  153. package/lib/Waiting/index.d.ts +28 -0
  154. package/{Waiting → lib/Waiting}/index.js +2 -2
  155. package/{Waiting → lib/Waiting}/index.mjs +1 -1
  156. package/lib/Warning/index.d.ts +28 -0
  157. package/{Warning → lib/Warning}/index.js +2 -2
  158. package/{Warning → lib/Warning}/index.mjs +1 -1
  159. package/lib/cjs/index.js +7 -8
  160. package/lib/cjs/index.js.map +1 -1
  161. package/lib/es6/index.js +6 -8
  162. package/lib/es6/index.js.map +1 -1
  163. package/lib/esm/index.mjs +6 -8
  164. package/package.json +161 -161
  165. package/transform.ts +12 -12
  166. package/ChoroplethMapChart/index.d.ts +0 -28
  167. package/Coffee/index.d.ts +0 -28
  168. package/Collection/index.d.ts +0 -28
  169. package/CombinedChart/index.d.ts +0 -28
  170. package/Configuration/index.d.ts +0 -28
  171. package/Confirmation/index.d.ts +0 -28
  172. package/Congrats/index.d.ts +0 -28
  173. package/ConnectionLost/index.d.ts +0 -28
  174. package/DeletedAccount/index.d.ts +0 -28
  175. package/DeletedPage/index.d.ts +0 -28
  176. package/Dns/index.d.ts +0 -28
  177. package/DonutChart/index.d.ts +0 -28
  178. package/Duplicates/index.d.ts +0 -28
  179. package/Feedback/index.d.ts +0 -28
  180. package/FunnelChart/index.d.ts +0 -28
  181. package/Good/index.d.ts +0 -28
  182. package/HeatMapChart/index.d.ts +0 -28
  183. package/HorizontalBarChart/index.d.ts +0 -28
  184. package/KagiChart/index.d.ts +0 -28
  185. package/LineChart/index.d.ts +0 -28
  186. package/LollipopChart/index.d.ts +0 -28
  187. package/MailSent/index.d.ts +0 -28
  188. package/Maintenance/index.d.ts +0 -28
  189. package/Nexttime/index.d.ts +0 -28
  190. package/NoPayment/index.d.ts +0 -28
  191. package/NothingFound/index.d.ts +0 -28
  192. package/OtherData/index.d.ts +0 -28
  193. package/PageError/index.d.ts +0 -28
  194. package/PageNotFound/index.d.ts +0 -28
  195. package/PieChart/index.d.ts +0 -28
  196. package/Processing/index.d.ts +0 -28
  197. package/ProjectNotFound/index.d.ts +0 -28
  198. package/RadarChart/index.d.ts +0 -28
  199. package/RadialTreeChart/index.d.ts +0 -28
  200. package/SankeyChart/index.d.ts +0 -28
  201. package/ScatterPlotChart/index.d.ts +0 -28
  202. package/StackedAreaChart/index.d.ts +0 -28
  203. package/Suggestion/index.d.ts +0 -28
  204. package/Suggestions/index.d.ts +0 -28
  205. package/Table/index.d.ts +0 -28
  206. package/TagCloud/index.d.ts +0 -28
  207. package/TextLinksEtc/index.d.ts +0 -28
  208. package/Timeout/index.d.ts +0 -28
  209. package/UnderConstruction/index.d.ts +0 -28
  210. package/VennChart/index.d.ts +0 -28
  211. package/VerticalBarChart/index.d.ts +0 -28
  212. package/Waiting/index.d.ts +0 -28
  213. package/Warning/index.d.ts +0 -28
  214. package/clear.ts +0 -25
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/illustration",
3
3
  "description": "Semrush Illustration Component",
4
- "version": "16.0.12",
4
+ "version": "17.0.0-prerelease.2",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.mjs",
7
7
  "typings": "lib/types/index.d.ts",
@@ -30,275 +30,275 @@
30
30
  },
31
31
  "exports": {
32
32
  ".": {
33
- "require": "./lib/cjs/index.js",
33
+ "types": "./lib/types/index.d.ts",
34
34
  "import": "./lib/esm/index.mjs",
35
- "types": "./lib/types/index.d.ts"
35
+ "require": "./lib/cjs/index.js"
36
36
  },
37
37
  "./AccessDenied": {
38
- "require": "./AccessDenied/index.js",
39
- "import": "./AccessDenied/index.mjs",
40
- "types": "./AccessDenied/index.d.ts"
38
+ "types": "./lib/AccessDenied/index.d.ts",
39
+ "import": "./lib/AccessDenied/index.mjs",
40
+ "require": "./lib/AccessDenied/index.js"
41
41
  },
42
42
  "./AccessLogIn": {
43
- "require": "./AccessLogIn/index.js",
44
- "import": "./AccessLogIn/index.mjs",
45
- "types": "./AccessLogIn/index.d.ts"
43
+ "types": "./lib/AccessLogIn/index.d.ts",
44
+ "import": "./lib/AccessLogIn/index.mjs",
45
+ "require": "./lib/AccessLogIn/index.js"
46
46
  },
47
47
  "./AreaChart": {
48
- "require": "./AreaChart/index.js",
49
- "import": "./AreaChart/index.mjs",
50
- "types": "./AreaChart/index.d.ts"
48
+ "types": "./lib/AreaChart/index.d.ts",
49
+ "import": "./lib/AreaChart/index.mjs",
50
+ "require": "./lib/AreaChart/index.js"
51
51
  },
52
52
  "./Blocked": {
53
- "require": "./Blocked/index.js",
54
- "import": "./Blocked/index.mjs",
55
- "types": "./Blocked/index.d.ts"
53
+ "types": "./lib/Blocked/index.d.ts",
54
+ "import": "./lib/Blocked/index.mjs",
55
+ "require": "./lib/Blocked/index.js"
56
56
  },
57
57
  "./ChoroplethMapChart": {
58
- "require": "./ChoroplethMapChart/index.js",
59
- "import": "./ChoroplethMapChart/index.mjs",
60
- "types": "./ChoroplethMapChart/index.d.ts"
58
+ "types": "./lib/ChoroplethMapChart/index.d.ts",
59
+ "import": "./lib/ChoroplethMapChart/index.mjs",
60
+ "require": "./lib/ChoroplethMapChart/index.js"
61
61
  },
62
62
  "./Coffee": {
63
- "require": "./Coffee/index.js",
64
- "import": "./Coffee/index.mjs",
65
- "types": "./Coffee/index.d.ts"
63
+ "types": "./lib/Coffee/index.d.ts",
64
+ "import": "./lib/Coffee/index.mjs",
65
+ "require": "./lib/Coffee/index.js"
66
66
  },
67
67
  "./Collection": {
68
- "require": "./Collection/index.js",
69
- "import": "./Collection/index.mjs",
70
- "types": "./Collection/index.d.ts"
68
+ "types": "./lib/Collection/index.d.ts",
69
+ "import": "./lib/Collection/index.mjs",
70
+ "require": "./lib/Collection/index.js"
71
71
  },
72
72
  "./CombinedChart": {
73
- "require": "./CombinedChart/index.js",
74
- "import": "./CombinedChart/index.mjs",
75
- "types": "./CombinedChart/index.d.ts"
73
+ "types": "./lib/CombinedChart/index.d.ts",
74
+ "import": "./lib/CombinedChart/index.mjs",
75
+ "require": "./lib/CombinedChart/index.js"
76
76
  },
77
77
  "./Configuration": {
78
- "require": "./Configuration/index.js",
79
- "import": "./Configuration/index.mjs",
80
- "types": "./Configuration/index.d.ts"
78
+ "types": "./lib/Configuration/index.d.ts",
79
+ "import": "./lib/Configuration/index.mjs",
80
+ "require": "./lib/Configuration/index.js"
81
81
  },
82
82
  "./Confirmation": {
83
- "require": "./Confirmation/index.js",
84
- "import": "./Confirmation/index.mjs",
85
- "types": "./Confirmation/index.d.ts"
83
+ "types": "./lib/Confirmation/index.d.ts",
84
+ "import": "./lib/Confirmation/index.mjs",
85
+ "require": "./lib/Confirmation/index.js"
86
86
  },
87
87
  "./Congrats": {
88
- "require": "./Congrats/index.js",
89
- "import": "./Congrats/index.mjs",
90
- "types": "./Congrats/index.d.ts"
88
+ "types": "./lib/Congrats/index.d.ts",
89
+ "import": "./lib/Congrats/index.mjs",
90
+ "require": "./lib/Congrats/index.js"
91
91
  },
92
92
  "./ConnectionLost": {
93
- "require": "./ConnectionLost/index.js",
94
- "import": "./ConnectionLost/index.mjs",
95
- "types": "./ConnectionLost/index.d.ts"
93
+ "types": "./lib/ConnectionLost/index.d.ts",
94
+ "import": "./lib/ConnectionLost/index.mjs",
95
+ "require": "./lib/ConnectionLost/index.js"
96
96
  },
97
97
  "./DeletedAccount": {
98
- "require": "./DeletedAccount/index.js",
99
- "import": "./DeletedAccount/index.mjs",
100
- "types": "./DeletedAccount/index.d.ts"
98
+ "types": "./lib/DeletedAccount/index.d.ts",
99
+ "import": "./lib/DeletedAccount/index.mjs",
100
+ "require": "./lib/DeletedAccount/index.js"
101
101
  },
102
102
  "./DeletedPage": {
103
- "require": "./DeletedPage/index.js",
104
- "import": "./DeletedPage/index.mjs",
105
- "types": "./DeletedPage/index.d.ts"
103
+ "types": "./lib/DeletedPage/index.d.ts",
104
+ "import": "./lib/DeletedPage/index.mjs",
105
+ "require": "./lib/DeletedPage/index.js"
106
106
  },
107
107
  "./Dns": {
108
- "require": "./Dns/index.js",
109
- "import": "./Dns/index.mjs",
110
- "types": "./Dns/index.d.ts"
108
+ "types": "./lib/Dns/index.d.ts",
109
+ "import": "./lib/Dns/index.mjs",
110
+ "require": "./lib/Dns/index.js"
111
111
  },
112
112
  "./DonutChart": {
113
- "require": "./DonutChart/index.js",
114
- "import": "./DonutChart/index.mjs",
115
- "types": "./DonutChart/index.d.ts"
113
+ "types": "./lib/DonutChart/index.d.ts",
114
+ "import": "./lib/DonutChart/index.mjs",
115
+ "require": "./lib/DonutChart/index.js"
116
116
  },
117
117
  "./Duplicates": {
118
- "require": "./Duplicates/index.js",
119
- "import": "./Duplicates/index.mjs",
120
- "types": "./Duplicates/index.d.ts"
118
+ "types": "./lib/Duplicates/index.d.ts",
119
+ "import": "./lib/Duplicates/index.mjs",
120
+ "require": "./lib/Duplicates/index.js"
121
121
  },
122
122
  "./Feedback": {
123
- "require": "./Feedback/index.js",
124
- "import": "./Feedback/index.mjs",
125
- "types": "./Feedback/index.d.ts"
123
+ "types": "./lib/Feedback/index.d.ts",
124
+ "import": "./lib/Feedback/index.mjs",
125
+ "require": "./lib/Feedback/index.js"
126
126
  },
127
127
  "./FunnelChart": {
128
- "require": "./FunnelChart/index.js",
129
- "import": "./FunnelChart/index.mjs",
130
- "types": "./FunnelChart/index.d.ts"
128
+ "types": "./lib/FunnelChart/index.d.ts",
129
+ "import": "./lib/FunnelChart/index.mjs",
130
+ "require": "./lib/FunnelChart/index.js"
131
131
  },
132
132
  "./Good": {
133
- "require": "./Good/index.js",
134
- "import": "./Good/index.mjs",
135
- "types": "./Good/index.d.ts"
133
+ "types": "./lib/Good/index.d.ts",
134
+ "import": "./lib/Good/index.mjs",
135
+ "require": "./lib/Good/index.js"
136
136
  },
137
137
  "./HeatMapChart": {
138
- "require": "./HeatMapChart/index.js",
139
- "import": "./HeatMapChart/index.mjs",
140
- "types": "./HeatMapChart/index.d.ts"
138
+ "types": "./lib/HeatMapChart/index.d.ts",
139
+ "import": "./lib/HeatMapChart/index.mjs",
140
+ "require": "./lib/HeatMapChart/index.js"
141
141
  },
142
142
  "./HorizontalBarChart": {
143
- "require": "./HorizontalBarChart/index.js",
144
- "import": "./HorizontalBarChart/index.mjs",
145
- "types": "./HorizontalBarChart/index.d.ts"
143
+ "types": "./lib/HorizontalBarChart/index.d.ts",
144
+ "import": "./lib/HorizontalBarChart/index.mjs",
145
+ "require": "./lib/HorizontalBarChart/index.js"
146
146
  },
147
147
  "./KagiChart": {
148
- "require": "./KagiChart/index.js",
149
- "import": "./KagiChart/index.mjs",
150
- "types": "./KagiChart/index.d.ts"
148
+ "types": "./lib/KagiChart/index.d.ts",
149
+ "import": "./lib/KagiChart/index.mjs",
150
+ "require": "./lib/KagiChart/index.js"
151
151
  },
152
152
  "./LineChart": {
153
- "require": "./LineChart/index.js",
154
- "import": "./LineChart/index.mjs",
155
- "types": "./LineChart/index.d.ts"
153
+ "types": "./lib/LineChart/index.d.ts",
154
+ "import": "./lib/LineChart/index.mjs",
155
+ "require": "./lib/LineChart/index.js"
156
156
  },
157
157
  "./LollipopChart": {
158
- "require": "./LollipopChart/index.js",
159
- "import": "./LollipopChart/index.mjs",
160
- "types": "./LollipopChart/index.d.ts"
158
+ "types": "./lib/LollipopChart/index.d.ts",
159
+ "import": "./lib/LollipopChart/index.mjs",
160
+ "require": "./lib/LollipopChart/index.js"
161
161
  },
162
162
  "./MailSent": {
163
- "require": "./MailSent/index.js",
164
- "import": "./MailSent/index.mjs",
165
- "types": "./MailSent/index.d.ts"
163
+ "types": "./lib/MailSent/index.d.ts",
164
+ "import": "./lib/MailSent/index.mjs",
165
+ "require": "./lib/MailSent/index.js"
166
166
  },
167
167
  "./Maintenance": {
168
- "require": "./Maintenance/index.js",
169
- "import": "./Maintenance/index.mjs",
170
- "types": "./Maintenance/index.d.ts"
168
+ "types": "./lib/Maintenance/index.d.ts",
169
+ "import": "./lib/Maintenance/index.mjs",
170
+ "require": "./lib/Maintenance/index.js"
171
171
  },
172
172
  "./Nexttime": {
173
- "require": "./Nexttime/index.js",
174
- "import": "./Nexttime/index.mjs",
175
- "types": "./Nexttime/index.d.ts"
173
+ "types": "./lib/Nexttime/index.d.ts",
174
+ "import": "./lib/Nexttime/index.mjs",
175
+ "require": "./lib/Nexttime/index.js"
176
176
  },
177
177
  "./NoPayment": {
178
- "require": "./NoPayment/index.js",
179
- "import": "./NoPayment/index.mjs",
180
- "types": "./NoPayment/index.d.ts"
178
+ "types": "./lib/NoPayment/index.d.ts",
179
+ "import": "./lib/NoPayment/index.mjs",
180
+ "require": "./lib/NoPayment/index.js"
181
181
  },
182
182
  "./NothingFound": {
183
- "require": "./NothingFound/index.js",
184
- "import": "./NothingFound/index.mjs",
185
- "types": "./NothingFound/index.d.ts"
183
+ "types": "./lib/NothingFound/index.d.ts",
184
+ "import": "./lib/NothingFound/index.mjs",
185
+ "require": "./lib/NothingFound/index.js"
186
186
  },
187
187
  "./OtherData": {
188
- "require": "./OtherData/index.js",
189
- "import": "./OtherData/index.mjs",
190
- "types": "./OtherData/index.d.ts"
188
+ "types": "./lib/OtherData/index.d.ts",
189
+ "import": "./lib/OtherData/index.mjs",
190
+ "require": "./lib/OtherData/index.js"
191
191
  },
192
192
  "./PageError": {
193
- "require": "./PageError/index.js",
194
- "import": "./PageError/index.mjs",
195
- "types": "./PageError/index.d.ts"
193
+ "types": "./lib/PageError/index.d.ts",
194
+ "import": "./lib/PageError/index.mjs",
195
+ "require": "./lib/PageError/index.js"
196
196
  },
197
197
  "./PageNotFound": {
198
- "require": "./PageNotFound/index.js",
199
- "import": "./PageNotFound/index.mjs",
200
- "types": "./PageNotFound/index.d.ts"
198
+ "types": "./lib/PageNotFound/index.d.ts",
199
+ "import": "./lib/PageNotFound/index.mjs",
200
+ "require": "./lib/PageNotFound/index.js"
201
201
  },
202
202
  "./PieChart": {
203
- "require": "./PieChart/index.js",
204
- "import": "./PieChart/index.mjs",
205
- "types": "./PieChart/index.d.ts"
203
+ "types": "./lib/PieChart/index.d.ts",
204
+ "import": "./lib/PieChart/index.mjs",
205
+ "require": "./lib/PieChart/index.js"
206
206
  },
207
207
  "./Processing": {
208
- "require": "./Processing/index.js",
209
- "import": "./Processing/index.mjs",
210
- "types": "./Processing/index.d.ts"
208
+ "types": "./lib/Processing/index.d.ts",
209
+ "import": "./lib/Processing/index.mjs",
210
+ "require": "./lib/Processing/index.js"
211
211
  },
212
212
  "./ProjectNotFound": {
213
- "require": "./ProjectNotFound/index.js",
214
- "import": "./ProjectNotFound/index.mjs",
215
- "types": "./ProjectNotFound/index.d.ts"
213
+ "types": "./lib/ProjectNotFound/index.d.ts",
214
+ "import": "./lib/ProjectNotFound/index.mjs",
215
+ "require": "./lib/ProjectNotFound/index.js"
216
216
  },
217
217
  "./RadarChart": {
218
- "require": "./RadarChart/index.js",
219
- "import": "./RadarChart/index.mjs",
220
- "types": "./RadarChart/index.d.ts"
218
+ "types": "./lib/RadarChart/index.d.ts",
219
+ "import": "./lib/RadarChart/index.mjs",
220
+ "require": "./lib/RadarChart/index.js"
221
221
  },
222
222
  "./RadialTreeChart": {
223
- "require": "./RadialTreeChart/index.js",
224
- "import": "./RadialTreeChart/index.mjs",
225
- "types": "./RadialTreeChart/index.d.ts"
223
+ "types": "./lib/RadialTreeChart/index.d.ts",
224
+ "import": "./lib/RadialTreeChart/index.mjs",
225
+ "require": "./lib/RadialTreeChart/index.js"
226
226
  },
227
227
  "./SankeyChart": {
228
- "require": "./SankeyChart/index.js",
229
- "import": "./SankeyChart/index.mjs",
230
- "types": "./SankeyChart/index.d.ts"
228
+ "types": "./lib/SankeyChart/index.d.ts",
229
+ "import": "./lib/SankeyChart/index.mjs",
230
+ "require": "./lib/SankeyChart/index.js"
231
231
  },
232
232
  "./ScatterPlotChart": {
233
- "require": "./ScatterPlotChart/index.js",
234
- "import": "./ScatterPlotChart/index.mjs",
235
- "types": "./ScatterPlotChart/index.d.ts"
233
+ "types": "./lib/ScatterPlotChart/index.d.ts",
234
+ "import": "./lib/ScatterPlotChart/index.mjs",
235
+ "require": "./lib/ScatterPlotChart/index.js"
236
236
  },
237
237
  "./StackedAreaChart": {
238
- "require": "./StackedAreaChart/index.js",
239
- "import": "./StackedAreaChart/index.mjs",
240
- "types": "./StackedAreaChart/index.d.ts"
238
+ "types": "./lib/StackedAreaChart/index.d.ts",
239
+ "import": "./lib/StackedAreaChart/index.mjs",
240
+ "require": "./lib/StackedAreaChart/index.js"
241
241
  },
242
242
  "./Suggestion": {
243
- "require": "./Suggestion/index.js",
244
- "import": "./Suggestion/index.mjs",
245
- "types": "./Suggestion/index.d.ts"
243
+ "types": "./lib/Suggestion/index.d.ts",
244
+ "import": "./lib/Suggestion/index.mjs",
245
+ "require": "./lib/Suggestion/index.js"
246
246
  },
247
247
  "./Suggestions": {
248
- "require": "./Suggestions/index.js",
249
- "import": "./Suggestions/index.mjs",
250
- "types": "./Suggestions/index.d.ts"
248
+ "types": "./lib/Suggestions/index.d.ts",
249
+ "import": "./lib/Suggestions/index.mjs",
250
+ "require": "./lib/Suggestions/index.js"
251
251
  },
252
252
  "./Table": {
253
- "require": "./Table/index.js",
254
- "import": "./Table/index.mjs",
255
- "types": "./Table/index.d.ts"
253
+ "types": "./lib/Table/index.d.ts",
254
+ "import": "./lib/Table/index.mjs",
255
+ "require": "./lib/Table/index.js"
256
256
  },
257
257
  "./TagCloud": {
258
- "require": "./TagCloud/index.js",
259
- "import": "./TagCloud/index.mjs",
260
- "types": "./TagCloud/index.d.ts"
258
+ "types": "./lib/TagCloud/index.d.ts",
259
+ "import": "./lib/TagCloud/index.mjs",
260
+ "require": "./lib/TagCloud/index.js"
261
261
  },
262
262
  "./TextLinksEtc": {
263
- "require": "./TextLinksEtc/index.js",
264
- "import": "./TextLinksEtc/index.mjs",
265
- "types": "./TextLinksEtc/index.d.ts"
263
+ "types": "./lib/TextLinksEtc/index.d.ts",
264
+ "import": "./lib/TextLinksEtc/index.mjs",
265
+ "require": "./lib/TextLinksEtc/index.js"
266
266
  },
267
267
  "./Timeout": {
268
- "require": "./Timeout/index.js",
269
- "import": "./Timeout/index.mjs",
270
- "types": "./Timeout/index.d.ts"
268
+ "types": "./lib/Timeout/index.d.ts",
269
+ "import": "./lib/Timeout/index.mjs",
270
+ "require": "./lib/Timeout/index.js"
271
271
  },
272
272
  "./UnderConstruction": {
273
- "require": "./UnderConstruction/index.js",
274
- "import": "./UnderConstruction/index.mjs",
275
- "types": "./UnderConstruction/index.d.ts"
273
+ "types": "./lib/UnderConstruction/index.d.ts",
274
+ "import": "./lib/UnderConstruction/index.mjs",
275
+ "require": "./lib/UnderConstruction/index.js"
276
276
  },
277
277
  "./VennChart": {
278
- "require": "./VennChart/index.js",
279
- "import": "./VennChart/index.mjs",
280
- "types": "./VennChart/index.d.ts"
278
+ "types": "./lib/VennChart/index.d.ts",
279
+ "import": "./lib/VennChart/index.mjs",
280
+ "require": "./lib/VennChart/index.js"
281
281
  },
282
282
  "./VerticalBarChart": {
283
- "require": "./VerticalBarChart/index.js",
284
- "import": "./VerticalBarChart/index.mjs",
285
- "types": "./VerticalBarChart/index.d.ts"
283
+ "types": "./lib/VerticalBarChart/index.d.ts",
284
+ "import": "./lib/VerticalBarChart/index.mjs",
285
+ "require": "./lib/VerticalBarChart/index.js"
286
286
  },
287
287
  "./Waiting": {
288
- "require": "./Waiting/index.js",
289
- "import": "./Waiting/index.mjs",
290
- "types": "./Waiting/index.d.ts"
288
+ "types": "./lib/Waiting/index.d.ts",
289
+ "import": "./lib/Waiting/index.mjs",
290
+ "require": "./lib/Waiting/index.js"
291
291
  },
292
292
  "./Warning": {
293
- "require": "./Warning/index.js",
294
- "import": "./Warning/index.mjs",
295
- "types": "./Warning/index.d.ts"
293
+ "types": "./lib/Warning/index.d.ts",
294
+ "import": "./lib/Warning/index.mjs",
295
+ "require": "./lib/Warning/index.js"
296
296
  }
297
297
  },
298
298
  "scripts": {
299
- "build": "pnpm clear && pnpm semcore-builder --source=js && pnpm run transform && pnpm vite build",
299
+ "build": "pnpm clean && pnpm semcore-builder --source=js && pnpm run transform && pnpm vite build",
300
300
  "transform": "tsm --require=../../.ci/tsm-filter-warnings.js transform.ts",
301
- "clear": "tsm --require=../../.ci/tsm-filter-warnings.js clear.ts",
301
+ "clean": "rm -rf ./lib",
302
302
  "upload-static": "gcs-upload intergalactic-illustrations svg/*.svg"
303
303
  }
304
304
  }
package/transform.ts CHANGED
@@ -108,7 +108,7 @@ await Promise.all(
108
108
  const component = `
109
109
  import React from 'react';
110
110
  import { createBaseComponent } from '@semcore/core';
111
- import { Box } from '@semcore/flex-box';
111
+ import { Box } from '@semcore/base-components';
112
112
  import { useColorResolver } from '@semcore/core/lib/utils/use/useColorResolver';
113
113
 
114
114
  const ${illustration} = ({${props.join(', ')}, ...props}, ref) => {
@@ -133,7 +133,7 @@ export default createBaseComponent(${illustration})
133
133
  `;
134
134
 
135
135
  const typesDeclaration = `
136
- import { BoxProps } from '@semcore/flex-box';
136
+ import { BoxProps } from '@semcore/base-components';
137
137
  import { Intergalactic } from '@semcore/core';
138
138
 
139
139
  type IllustrationProps = BoxProps & {
@@ -172,14 +172,14 @@ export default Illustration;
172
172
  });
173
173
 
174
174
  try {
175
- await fs.access(illustration);
175
+ await fs.access(resolvePath('lib', illustration));
176
176
  } catch {
177
- await fs.mkdir(illustration);
177
+ await fs.mkdir(resolvePath('lib', illustration));
178
178
  }
179
179
 
180
- await fs.writeFile(resolvePath(illustration, 'index.js'), cjs);
181
- await fs.writeFile(resolvePath(illustration, 'index.mjs'), esm);
182
- await fs.writeFile(resolvePath(illustration, 'index.d.ts'), typesDeclaration);
180
+ await fs.writeFile(resolvePath('lib', illustration, 'index.js'), cjs);
181
+ await fs.writeFile(resolvePath('lib', illustration, 'index.mjs'), esm);
182
+ await fs.writeFile(resolvePath('lib', illustration, 'index.d.ts'), typesDeclaration);
183
183
  }),
184
184
  );
185
185
 
@@ -190,9 +190,9 @@ async function patchExports(illustrations: string[]) {
190
190
 
191
191
  const exports: Record<string, any> = {
192
192
  '.': {
193
- require: './lib/cjs/index.js',
194
- import: './lib/esm/index.mjs',
195
193
  types: './lib/types/index.d.ts',
194
+ import: './lib/esm/index.mjs',
195
+ require: './lib/cjs/index.js',
196
196
  },
197
197
  };
198
198
 
@@ -200,9 +200,9 @@ async function patchExports(illustrations: string[]) {
200
200
  const name = item.replace('.svg', '');
201
201
 
202
202
  exports[`./${name}`] = {
203
- require: `./${name}/index.js`,
204
- import: `./${name}/index.mjs`,
205
- types: `./${name}/index.d.ts`,
203
+ types: `./lib/${name}/index.d.ts`,
204
+ import: `./lib/${name}/index.mjs`,
205
+ require: `./lib/${name}/index.js`,
206
206
  };
207
207
  });
208
208
 
@@ -1,28 +0,0 @@
1
-
2
- import { BoxProps } from '@semcore/flex-box';
3
- import { Intergalactic } from '@semcore/core';
4
-
5
- type IllustrationProps = BoxProps & {
6
- /**
7
- * Main color of the illustration
8
- **/
9
- primaryColor?: string;
10
- /**
11
- * Secondary color of the illustration
12
- **/
13
- secondaryColor?: string;
14
- /**
15
- * Changes background fill of the illustration
16
- **/
17
- fill?: string;
18
- /**
19
- * Width of the illustration
20
- **/
21
- width?: string | number;
22
- /**
23
- * Height of the illustration
24
- **/
25
- height?: string | number;
26
- }
27
- declare const Illustration: Intergalactic.Component<'svg', IllustrationProps>;
28
- export default Illustration;
package/Coffee/index.d.ts DELETED
@@ -1,28 +0,0 @@
1
-
2
- import { BoxProps } from '@semcore/flex-box';
3
- import { Intergalactic } from '@semcore/core';
4
-
5
- type IllustrationProps = BoxProps & {
6
- /**
7
- * Main color of the illustration
8
- **/
9
- primaryColor?: string;
10
- /**
11
- * Secondary color of the illustration
12
- **/
13
- secondaryColor?: string;
14
- /**
15
- * Changes background fill of the illustration
16
- **/
17
- fill?: string;
18
- /**
19
- * Width of the illustration
20
- **/
21
- width?: string | number;
22
- /**
23
- * Height of the illustration
24
- **/
25
- height?: string | number;
26
- }
27
- declare const Illustration: Intergalactic.Component<'svg', IllustrationProps>;
28
- export default Illustration;
@@ -1,28 +0,0 @@
1
-
2
- import { BoxProps } from '@semcore/flex-box';
3
- import { Intergalactic } from '@semcore/core';
4
-
5
- type IllustrationProps = BoxProps & {
6
- /**
7
- * Main color of the illustration
8
- **/
9
- primaryColor?: string;
10
- /**
11
- * Secondary color of the illustration
12
- **/
13
- secondaryColor?: string;
14
- /**
15
- * Changes background fill of the illustration
16
- **/
17
- fill?: string;
18
- /**
19
- * Width of the illustration
20
- **/
21
- width?: string | number;
22
- /**
23
- * Height of the illustration
24
- **/
25
- height?: string | number;
26
- }
27
- declare const Illustration: Intergalactic.Component<'svg', IllustrationProps>;
28
- export default Illustration;
@@ -1,28 +0,0 @@
1
-
2
- import { BoxProps } from '@semcore/flex-box';
3
- import { Intergalactic } from '@semcore/core';
4
-
5
- type IllustrationProps = BoxProps & {
6
- /**
7
- * Main color of the illustration
8
- **/
9
- primaryColor?: string;
10
- /**
11
- * Secondary color of the illustration
12
- **/
13
- secondaryColor?: string;
14
- /**
15
- * Changes background fill of the illustration
16
- **/
17
- fill?: string;
18
- /**
19
- * Width of the illustration
20
- **/
21
- width?: string | number;
22
- /**
23
- * Height of the illustration
24
- **/
25
- height?: string | number;
26
- }
27
- declare const Illustration: Intergalactic.Component<'svg', IllustrationProps>;
28
- export default Illustration;