@alfalab/core-components-popover 5.8.1 → 6.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.
File without changes
File without changes
File without changes
@@ -9,8 +9,8 @@ var reactPopper = require('react-popper');
9
9
  var maxSize = require('popper-max-size-modifier');
10
10
  var mergeRefs = require('react-merge-refs');
11
11
  var resizeObserver = require('@juggle/resize-observer');
12
- var coreComponentsStack = require('@alfalab/core-components-stack/dist/cssm');
13
- var coreComponentsPortal = require('@alfalab/core-components-portal/dist/cssm');
12
+ var coreComponentsStack = require('@alfalab/core-components-stack/cssm');
13
+ var coreComponentsPortal = require('@alfalab/core-components-portal/cssm');
14
14
  var styles = require('./index.module.css');
15
15
 
16
16
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
File without changes
@@ -10,8 +10,8 @@ require('react-popper');
10
10
  require('popper-max-size-modifier');
11
11
  require('react-merge-refs');
12
12
  require('@juggle/resize-observer');
13
- require('@alfalab/core-components-stack/dist/cssm');
14
- require('@alfalab/core-components-portal/dist/cssm');
13
+ require('@alfalab/core-components-stack/cssm');
14
+ require('@alfalab/core-components-portal/cssm');
15
15
  require('./index.module.css');
16
16
 
17
17
 
File without changes
File without changes
@@ -5,8 +5,8 @@ import { usePopper } from 'react-popper';
5
5
  import maxSize from 'popper-max-size-modifier';
6
6
  import mergeRefs from 'react-merge-refs';
7
7
  import { ResizeObserver } from '@juggle/resize-observer';
8
- import { stackingOrder, Stack } from '@alfalab/core-components-stack/dist/esm';
9
- import { Portal } from '@alfalab/core-components-portal/dist/esm';
8
+ import { stackingOrder, Stack } from '@alfalab/core-components-stack/esm';
9
+ import { Portal } from '@alfalab/core-components-portal/esm';
10
10
 
11
11
  /*! *****************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -1,4 +1,4 @@
1
- /* hash: ly5zy */
1
+ /* hash: 1rt78 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-text-primary: #0b1f35;
File without changes
@@ -6,5 +6,5 @@ import 'react-popper';
6
6
  import 'popper-max-size-modifier';
7
7
  import 'react-merge-refs';
8
8
  import '@juggle/resize-observer';
9
- import '@alfalab/core-components-stack/dist/esm';
10
- import '@alfalab/core-components-portal/dist/esm';
9
+ import '@alfalab/core-components-stack/esm';
10
+ import '@alfalab/core-components-portal/esm';
@@ -1,4 +1,4 @@
1
- /* hash: ly5zy */
1
+ /* hash: 1rt78 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-text-primary: #0b1f35;
File without changes
File without changes
File without changes
@@ -5,8 +5,8 @@ import { usePopper } from 'react-popper';
5
5
  import maxSize from 'popper-max-size-modifier';
6
6
  import mergeRefs from 'react-merge-refs';
7
7
  import { ResizeObserver } from '@juggle/resize-observer';
8
- import { stackingOrder, Stack } from '@alfalab/core-components-stack/dist/modern';
9
- import { Portal } from '@alfalab/core-components-portal/dist/modern';
8
+ import { stackingOrder, Stack } from '@alfalab/core-components-stack/modern';
9
+ import { Portal } from '@alfalab/core-components-portal/modern';
10
10
 
11
11
  var styles = {"component":"popover__component_i0whb","inner":"popover__inner_i0whb","scrollableContent":"popover__scrollableContent_i0whb","arrow":"popover__arrow_i0whb","arrowShift":"popover__arrowShift_i0whb","enter":"popover__enter_i0whb","enterActive":"popover__enterActive_i0whb","exit":"popover__exit_i0whb","exitActive":"popover__exitActive_i0whb"};
12
12
  require('./index.css')
@@ -1,4 +1,4 @@
1
- /* hash: ly5zy */
1
+ /* hash: 1rt78 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-text-primary: #0b1f35;
File without changes
@@ -5,6 +5,6 @@ import 'react-popper';
5
5
  import 'popper-max-size-modifier';
6
6
  import 'react-merge-refs';
7
7
  import '@juggle/resize-observer';
8
- import '@alfalab/core-components-stack/dist/modern';
9
- import '@alfalab/core-components-portal/dist/modern';
8
+ import '@alfalab/core-components-stack/modern';
9
+ import '@alfalab/core-components-portal/modern';
10
10
  export { Popover } from './Component.js';
package/package.json CHANGED
@@ -1,27 +1,25 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-popover",
3
- "version": "5.8.1",
3
+ "version": "6.0.0",
4
4
  "description": "Popover component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "./dist/esm/index.js",
9
- "files": [
10
- "dist"
11
- ],
7
+ "main": "index.js",
8
+ "module": "./esm/index.js",
12
9
  "scripts": {
13
- "postinstall": "node -e \"if (require('fs').existsSync('./dist/send-stats.js')){require('./dist/send-stats.js')} \""
10
+ "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
14
11
  },
15
12
  "publishConfig": {
16
- "access": "public"
13
+ "access": "public",
14
+ "directory": "dist"
17
15
  },
18
16
  "peerDependencies": {
19
17
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0",
20
18
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
21
19
  },
22
20
  "dependencies": {
23
- "@alfalab/core-components-portal": "^2.1.1",
24
- "@alfalab/core-components-stack": "^3.1.1",
21
+ "@alfalab/core-components-portal": "^3.0.0",
22
+ "@alfalab/core-components-stack": "^4.0.0",
25
23
  "@juggle/resize-observer": "^3.3.1",
26
24
  "@popperjs/core": "^2.3.3",
27
25
  "classnames": "^2.3.1",
@@ -32,6 +30,5 @@
32
30
  },
33
31
  "devDependencies": {
34
32
  "@types/react-transition-group": "^4.2.4"
35
- },
36
- "gitHead": "4d6c8965d07839e339b370bb7c92bd7f9e24b1f3"
33
+ }
37
34
  }
File without changes
package/CHANGELOG.md DELETED
@@ -1,331 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [5.8.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.8.0...@alfalab/core-components-popover@5.8.1) (2022-08-17)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * returned dist directory ([#199](https://github.com/core-ds/core-components/issues/199)) ([fabc15e](https://github.com/core-ds/core-components/commit/fabc15effa1457ca65ec7238206f1b1fc2a2a613))
12
-
13
-
14
-
15
-
16
-
17
- # [5.8.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.7.5...@alfalab/core-components-popover@5.8.0) (2022-08-04)
18
-
19
-
20
- ### Features
21
-
22
- * react 18 support ([#159](https://github.com/core-ds/core-components/issues/159)) ([2e6693c](https://github.com/core-ds/core-components/commit/2e6693c62f534e333aadb7d3fff4ffd78ac84c63))
23
-
24
-
25
-
26
-
27
-
28
- ## [5.7.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.7.4...@alfalab/core-components-popover@5.7.5) (2022-07-18)
29
-
30
- **Note:** Version bump only for package @alfalab/core-components-popover
31
-
32
-
33
-
34
-
35
-
36
- ## [5.7.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.7.3...@alfalab/core-components-popover@5.7.4) (2022-07-15)
37
-
38
-
39
- ### Bug Fixes
40
-
41
- * bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
42
-
43
-
44
-
45
-
46
-
47
- ## [5.7.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.7.2...@alfalab/core-components-popover@5.7.3) (2022-07-14)
48
-
49
- **Note:** Version bump only for package @alfalab/core-components-popover
50
-
51
-
52
-
53
-
54
-
55
- ## [5.7.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.7.1...@alfalab/core-components-popover@5.7.2) (2022-07-11)
56
-
57
-
58
- ### Bug Fixes
59
-
60
- * fixed 'window is not defined' error ([#126](https://github.com/core-ds/core-components/issues/126)) ([f4e9ca5](https://github.com/core-ds/core-components/commit/f4e9ca54ed52fb328d21c85b7efa8176a90dcb6e))
61
-
62
-
63
-
64
-
65
-
66
- ## [5.7.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.7.0...@alfalab/core-components-popover@5.7.1) (2022-07-01)
67
-
68
-
69
- ### Performance Improvements
70
-
71
- * refuse to use a resize-observer polyfill if it is not needed ([#120](https://github.com/core-ds/core-components/issues/120)) ([f2abcb2](https://github.com/core-ds/core-components/commit/f2abcb2888dd5906b345f5fc64b1624eef56ac13))
72
-
73
-
74
-
75
-
76
-
77
- # [5.7.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.6.3...@alfalab/core-components-popover@5.7.0) (2022-06-28)
78
-
79
-
80
- ### Features
81
-
82
- * circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
83
-
84
-
85
-
86
-
87
-
88
- ## [5.6.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.6.0...@alfalab/core-components-popover@5.6.1) (2022-02-15)
89
-
90
-
91
- ### Bug Fixes
92
-
93
- * **gallery:** update header button's tooltip position ([#979](https://github.com/core-ds/core-components/issues/979)) ([8e2acfc](https://github.com/core-ds/core-components/commit/8e2acfcb772cf4d8051c185a3f1caaaf507b5bc9))
94
-
95
-
96
-
97
-
98
-
99
- # [5.6.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.5.0...@alfalab/core-components-popover@5.6.0) (2021-12-01)
100
-
101
-
102
- ### Features
103
-
104
- * **popover:** add availableHieght prop, update related snapshots ([43b4ebd](https://github.com/core-ds/core-components/commit/43b4ebd6ba092f22d0dfc845f3f0113b390317dc)), closes [#758](https://github.com/core-ds/core-components/issues/758)
105
-
106
-
107
-
108
-
109
-
110
- # [5.5.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.4.0...@alfalab/core-components-popover@5.5.0) (2021-09-14)
111
-
112
-
113
- ### Features
114
-
115
- * **popover:** add useAnchorWidth prop ([#826](https://github.com/core-ds/core-components/issues/826)) ([8df55c4](https://github.com/core-ds/core-components/commit/8df55c4c496467c363c5c09c14d1bd08a9709ebf)), closes [#787](https://github.com/core-ds/core-components/issues/787)
116
-
117
-
118
-
119
-
120
-
121
- # [5.4.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.3.0...@alfalab/core-components-popover@5.4.0) (2021-09-06)
122
-
123
-
124
- ### Features
125
-
126
- * **tooltip:** update shadow and arrow size/position ([2d40988](https://github.com/core-ds/core-components/commit/2d40988f3c376c51907aa8a4845ba25c7c43a2f4))
127
-
128
-
129
-
130
-
131
-
132
- # [5.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.2.0...@alfalab/core-components-popover@5.3.0) (2021-08-23)
133
-
134
-
135
- ### Features
136
-
137
- * **tooltip:** add TooltipResponsive, add `fallbackPlacements` prop ([#780](https://github.com/core-ds/core-components/issues/780)) ([61d780c](https://github.com/core-ds/core-components/commit/61d780c750bd9c0331d275f1b12b0512bb3d2049))
138
-
139
-
140
-
141
-
142
-
143
- # [5.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.1.0...@alfalab/core-components-popover@5.2.0) (2021-08-04)
144
-
145
-
146
- ### Features
147
-
148
- * add mods colors ([#770](https://github.com/core-ds/core-components/issues/770)) ([fe985f4](https://github.com/core-ds/core-components/commit/fe985f467b4d47a5152e168d2ab3846872d1a574))
149
-
150
-
151
-
152
-
153
-
154
- # [5.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.0.1...@alfalab/core-components-popover@5.1.0) (2021-07-19)
155
-
156
-
157
- ### Features
158
-
159
- * **tooltip:** add target ref property ([#755](https://github.com/core-ds/core-components/issues/755)) ([9aa962d](https://github.com/core-ds/core-components/commit/9aa962d8b280e8d6af8ac4324a78b4bdebbfc536))
160
-
161
-
162
-
163
-
164
-
165
- ## [5.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@5.0.0...@alfalab/core-components-popover@5.0.1) (2021-07-09)
166
-
167
- **Note:** Version bump only for package @alfalab/core-components-popover
168
-
169
-
170
-
171
-
172
-
173
- # [5.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@4.0.0...@alfalab/core-components-popover@5.0.0) (2021-07-08)
174
-
175
-
176
- ### Features
177
-
178
- * upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
179
-
180
- # [4.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@3.0.7...@alfalab/core-components-popover@4.0.0) (2021-04-26)
181
-
182
-
183
- ### Features
184
-
185
- * **stack:** add new component ([#612](https://github.com/core-ds/core-components/issues/612)) ([c520f91](https://github.com/core-ds/core-components/commit/c520f91cd22bb9e23fd2f428719865b4c7d5a2a6))
186
-
187
-
188
- ### BREAKING CHANGES
189
-
190
- * **stack:** remove z-index, add stack component
191
-
192
- * feat(modal): remove z-index, add stack component
193
-
194
- remove z-index, add stack component
195
- * **stack:** remove z-index, add stack component
196
-
197
- * feat(notification-manager): remove z-index, add stack component
198
-
199
- remove z-index, add stack component
200
- * **stack:** remove z-index, add stack component
201
-
202
- * feat(notification): remove z-index, add stack component
203
-
204
- remove z-index, add stack component
205
- * **stack:** remove z-index, add stack component
206
-
207
- * feat(popover): remove z-index, add stack component
208
-
209
- remove z-index, add stack component
210
- * **stack:** remove z-index, add stack component
211
-
212
- * feat(select): remove z-index, add stack component
213
-
214
- remove z-index, add stack component
215
- * **stack:** remove z-index, add stack component
216
-
217
- * feat(toast): remove z-index, add stack component
218
-
219
- remove z-index, add stack component
220
- * **stack:** remove z-index, add stack component
221
-
222
- * feat(tooltip): remove z-index, add stack component
223
-
224
- remove z-index, add stack component
225
- * **stack:** remove z-index, add stack component
226
-
227
- * feat(stack): fix comment
228
-
229
- * Revert "feat(modal): remove z-index, add stack component"
230
-
231
- This reverts commit fcae901c6ec58311701cd491296a7b04016a9a65.
232
-
233
- * feat(base-modal): remove z-index, add stack component
234
-
235
- remove z-index, add stack component
236
- * **stack:** remove z-index, add stack component
237
-
238
- * test(file-upload-item): update snapshot
239
-
240
-
241
-
242
-
243
-
244
- ## [3.0.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@3.0.6...@alfalab/core-components-popover@3.0.7) (2021-04-26)
245
-
246
- **Note:** Version bump only for package @alfalab/core-components-popover
247
-
248
-
249
-
250
-
251
-
252
- ## [3.0.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@3.0.4...@alfalab/core-components-popover@3.0.6) (2021-03-18)
253
-
254
-
255
- ### Bug Fixes
256
-
257
- * one more sborka bug ([#579](https://github.com/core-ds/core-components/issues/579)) ([9fbe0be](https://github.com/core-ds/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
258
-
259
-
260
-
261
-
262
-
263
- ## [3.0.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@3.0.2...@alfalab/core-components-popover@3.0.4) (2021-03-16)
264
-
265
-
266
- ### Bug Fixes
267
-
268
- * border-radius in packages ([781749e](https://github.com/core-ds/core-components/commit/781749ef38aefd5a6707ac56d2e297dce9f3e073))
269
-
270
-
271
-
272
-
273
-
274
- ## [3.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@3.0.1...@alfalab/core-components-popover@3.0.2) (2021-03-14)
275
-
276
- **Note:** Version bump only for package @alfalab/core-components-popover
277
-
278
-
279
-
280
-
281
-
282
- ## [3.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@3.0.0...@alfalab/core-components-popover@3.0.1) (2021-03-11)
283
-
284
-
285
- ### Bug Fixes
286
-
287
- * **toast:** remove extra timer clearing ([#559](https://github.com/core-ds/core-components/issues/559)) ([ae5d811](https://github.com/core-ds/core-components/commit/ae5d81169d4db0427ae5baf0bffd784adee184ee))
288
-
289
-
290
-
291
-
292
-
293
- # [3.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@2.0.3...@alfalab/core-components-popover@3.0.0) (2021-03-04)
294
-
295
-
296
- ### Features
297
-
298
- * **popover:** change animation, add scale ([2e48a02](https://github.com/core-ds/core-components/commit/2e48a02a8f3f7ff9a6df48cf4e6337a8928f67c7))
299
-
300
-
301
- ### BREAKING CHANGES
302
-
303
- * **popover:** Change html structure of popover component.
304
-
305
-
306
-
307
-
308
-
309
- ## [2.0.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@2.0.2...@alfalab/core-components-popover@2.0.3) (2021-03-03)
310
-
311
- **Note:** Version bump only for package @alfalab/core-components-popover
312
-
313
-
314
-
315
-
316
-
317
- ## [2.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@2.0.1...@alfalab/core-components-popover@2.0.2) (2021-02-20)
318
-
319
- **Note:** Version bump only for package @alfalab/core-components-popover
320
-
321
-
322
-
323
-
324
-
325
- ## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-popover@2.0.0...@alfalab/core-components-popover@2.0.1) (2021-02-18)
326
-
327
-
328
- ### Bug Fixes
329
-
330
-
331
- * update versions ([#525](https://github.com/core-ds/core-components/issues/525)) ([31b2e4c](https://github.com/core-ds/core-components/commit/31b2e4c92fde6e2b63a3391a4e053cd328e93e70))