@websolutespa/bom-mixer-ui 1.7.6 → 1.7.8

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.
package/CHANGELOG.md CHANGED
@@ -1,259 +1,271 @@
1
- # @websolutespa/bom-mixer-ui
2
-
3
- ## 1.7.6
4
-
5
- ### Patch Changes
6
-
7
- - Added: SvgAnimationStrategy
8
- - Updated dependencies
9
- - @websolutespa/bom-mixer-hooks@1.7.3
10
-
11
- ## 1.7.5
12
-
13
- ### Patch Changes
14
-
15
- - Updating: dependencies
16
- - Updated dependencies
17
- - @websolutespa/bom-mixer-models@1.7.2
18
- - @websolutespa/bom-mixer-forms@0.3.1
19
- - @websolutespa/bom-mixer-hooks@1.7.2
20
- - @websolutespa/bom-mixer-icons@0.2.3
21
- - @websolutespa/bom-mixer-store@1.7.3
22
- - @websolutespa/bom-core@1.7.3
23
-
24
- ## 1.7.4
25
-
26
- ### Patch Changes
27
-
28
- - aa41666: Added: SvgAnimation
29
- - Updated dependencies [aa41666]
30
- - @websolutespa/bom-mixer-hooks@1.7.1
31
-
32
- ## 1.7.3
33
-
34
- ### Patch Changes
35
-
36
- - Fixing: MediaImage aspectRatio
37
-
38
- ## 1.7.1
39
-
40
- ### Patch Changes
41
-
42
- - 7898849: Added: Media image strategies Mixer, Oven
43
- - Updated dependencies [7898849]
44
- - @websolutespa/bom-mixer-store@1.7.2
45
-
46
- ## 1.7.0
47
-
48
- ### Minor Changes
49
-
50
- - 28e86bd: Modified: IPage, Store services & decorators
51
- - Updated dependencies [28e86bd]
52
- - @websolutespa/bom-mixer-models@1.7.0
53
- - @websolutespa/bom-mixer-hooks@1.7.0
54
- - @websolutespa/bom-mixer-store@1.7.0
55
- - @websolutespa/bom-core@1.7.0
56
-
57
- ## 1.5.9
58
-
59
- ### Patch Changes
60
-
61
- - Fixing withSchema types
62
-
63
- ## 1.5.8
64
-
65
- ### Patch Changes
66
-
67
- - Modified: Link prefetch opt-in
68
-
69
- ## 1.5.7
70
-
71
- ### Patch Changes
72
-
73
- - Modified: Media added muted video caption support
74
- - Updated dependencies
75
- - @websolutespa/bom-mixer-models@1.5.10
76
-
77
- ## 1.5.6
78
-
79
- ### Patch Changes
80
-
81
- - Modified: PaginationItem, Text
82
- - Fixing: MediaItem
83
- - Updated dependencies
84
- - @websolutespa/bom-mixer-models@1.5.9
85
-
86
- ## 1.5.5
87
-
88
- ### Patch Changes
89
-
90
- - Added: ErrorHandler, Reversable
91
- - Modified: pickChild, IFeatureType
92
- - Updated dependencies
93
- - @websolutespa/bom-mixer-models@1.5.4
94
- - @websolutespa/bom-mixer-hooks@1.4.2
95
- - @websolutespa/bom-mixer-store@1.4.3
96
- - @websolutespa/bom-core@0.6.5
97
-
98
- ## 1.5.4
99
-
100
- ### Patch Changes
101
-
102
- - Modified: Meta
103
- - Updated dependencies
104
- - @websolutespa/bom-mixer-models@1.5.4
105
- - @websolutespa/bom-mixer-store@1.4.3
106
-
107
- ## 1.5.3
108
-
109
- ### Patch Changes
110
-
111
- - Modified: Pagination
112
-
113
- ## 1.5.2
114
-
115
- ### Patch Changes
116
-
117
- - Modified: AccordionGroup, Media, Meta, Pagination, PopoverCollections, Popover, Tabs, utils
118
- - Updated dependencies
119
- - @websolutespa/bom-mixer-models@1.5.2
120
- - @websolutespa/bom-mixer-hooks@1.4.1
121
- - @websolutespa/bom-core@0.6.2
122
-
123
- ## 1.5.1
124
-
125
- ### Patch Changes
126
-
127
- - Added: default href to Link
128
-
129
- ## 1.5.0
130
-
131
- ### Minor Changes
132
-
133
- - Modified LazyLoader
134
-
135
- ## 1.4.0
136
-
137
- ### Minor Changes
138
-
139
- - Added: Main
140
- - Modified: Pagination
141
-
142
- ## 1.3.0
143
-
144
- ### Minor Changes
145
-
146
- - Added: accessibility
147
- - Modified: IThemeForm, form fields, LazyComponents, Media
148
-
149
- ## 1.2.2
150
-
151
- ### Patch Changes
152
-
153
- - Modified: MediaImage
154
-
155
- ## 1.2.1
156
-
157
- ### Patch Changes
158
-
159
- - Added: LayoutDefault
160
- - Modified: GlobalStyle, toKebabCase
161
-
162
- ## 1.2.0
163
-
164
- ### Minor Changes
165
-
166
- - Fixing: circular references
167
- - Added: Link wrapper for next/link
168
- - Updating: next 13
169
-
170
- ## 1.1.0
171
-
172
- ### Minor Changes
173
-
174
- - Modified: useApi
175
-
176
- ## 1.0.1
177
-
178
- ### Patch Changes
179
-
180
- - Fixing: types
181
-
182
- ## 1.0.0
183
-
184
- ### Minor Changes
185
-
186
- - Added: useFormTester
187
-
188
- ## 0.5.1
189
-
190
- ### Patch Changes
191
-
192
- - Fixing: useVariant
193
-
194
- ## 0.5.0
195
-
196
- ### Minor Changes
197
-
198
- - Modified: ui variants Forms, theme.json
199
-
200
- ## 0.4.3
201
-
202
- ### Patch Changes
203
-
204
- - Modified: Text added getFontVariantResponsive
205
-
206
- ## 0.4.2
207
-
208
- ### Patch Changes
209
-
210
- - Modified: ui variants Grid, Container, Text
211
-
212
- ## 0.4.1
213
-
214
- ### Patch Changes
215
-
216
- - Added: source files
217
-
218
- ## 0.4.0
219
-
220
- ### Minor Changes
221
-
222
- - Added: splat routes
223
- - Added: variants
224
-
225
- ## 0.3.0
226
-
227
- ### Minor Changes
228
-
229
- - Added: @websolutespa/bom-core
230
-
231
- ## 0.2.0
232
-
233
- ### Minor Changes
234
-
235
- - Modified: ITheme, LazyLoader
236
-
237
- ## 0.1.0
238
-
239
- ### Minor Changes
240
-
241
- - mock refactor
242
-
243
- ## 0.0.3
244
-
245
- ### Patch Changes
246
-
247
- - Modified: assets
248
-
249
- ## 0.0.2
250
-
251
- ### Patch Changes
252
-
253
- - Modified: assets
254
-
255
- ## 0.0.1
256
-
257
- ### Patch Changes
258
-
259
- - Added: first release
1
+ # @websolutespa/bom-mixer-ui
2
+
3
+ ## 1.7.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 75b1311: Fixing: Media srcset breakpoints
8
+
9
+ ## 1.7.7
10
+
11
+ ### Patch Changes
12
+
13
+ - 9453a2a: Removing: SvgAnimation scrollable prop
14
+
15
+ ## 1.7.6
16
+
17
+ ### Patch Changes
18
+
19
+ - Added: SvgAnimationStrategy
20
+ - Updated dependencies
21
+ - @websolutespa/bom-mixer-hooks@1.7.3
22
+
23
+ ## 1.7.5
24
+
25
+ ### Patch Changes
26
+
27
+ - Updating: dependencies
28
+ - Updated dependencies
29
+ - @websolutespa/bom-mixer-models@1.7.2
30
+ - @websolutespa/bom-mixer-forms@0.3.1
31
+ - @websolutespa/bom-mixer-hooks@1.7.2
32
+ - @websolutespa/bom-mixer-icons@0.2.3
33
+ - @websolutespa/bom-mixer-store@1.7.3
34
+ - @websolutespa/bom-core@1.7.3
35
+
36
+ ## 1.7.4
37
+
38
+ ### Patch Changes
39
+
40
+ - aa41666: Added: SvgAnimation
41
+ - Updated dependencies [aa41666]
42
+ - @websolutespa/bom-mixer-hooks@1.7.1
43
+
44
+ ## 1.7.3
45
+
46
+ ### Patch Changes
47
+
48
+ - Fixing: MediaImage aspectRatio
49
+
50
+ ## 1.7.1
51
+
52
+ ### Patch Changes
53
+
54
+ - 7898849: Added: Media image strategies Mixer, Oven
55
+ - Updated dependencies [7898849]
56
+ - @websolutespa/bom-mixer-store@1.7.2
57
+
58
+ ## 1.7.0
59
+
60
+ ### Minor Changes
61
+
62
+ - 28e86bd: Modified: IPage, Store services & decorators
63
+ - Updated dependencies [28e86bd]
64
+ - @websolutespa/bom-mixer-models@1.7.0
65
+ - @websolutespa/bom-mixer-hooks@1.7.0
66
+ - @websolutespa/bom-mixer-store@1.7.0
67
+ - @websolutespa/bom-core@1.7.0
68
+
69
+ ## 1.5.9
70
+
71
+ ### Patch Changes
72
+
73
+ - Fixing withSchema types
74
+
75
+ ## 1.5.8
76
+
77
+ ### Patch Changes
78
+
79
+ - Modified: Link prefetch opt-in
80
+
81
+ ## 1.5.7
82
+
83
+ ### Patch Changes
84
+
85
+ - Modified: Media added muted video caption support
86
+ - Updated dependencies
87
+ - @websolutespa/bom-mixer-models@1.5.10
88
+
89
+ ## 1.5.6
90
+
91
+ ### Patch Changes
92
+
93
+ - Modified: PaginationItem, Text
94
+ - Fixing: MediaItem
95
+ - Updated dependencies
96
+ - @websolutespa/bom-mixer-models@1.5.9
97
+
98
+ ## 1.5.5
99
+
100
+ ### Patch Changes
101
+
102
+ - Added: ErrorHandler, Reversable
103
+ - Modified: pickChild, IFeatureType
104
+ - Updated dependencies
105
+ - @websolutespa/bom-mixer-models@1.5.4
106
+ - @websolutespa/bom-mixer-hooks@1.4.2
107
+ - @websolutespa/bom-mixer-store@1.4.3
108
+ - @websolutespa/bom-core@0.6.5
109
+
110
+ ## 1.5.4
111
+
112
+ ### Patch Changes
113
+
114
+ - Modified: Meta
115
+ - Updated dependencies
116
+ - @websolutespa/bom-mixer-models@1.5.4
117
+ - @websolutespa/bom-mixer-store@1.4.3
118
+
119
+ ## 1.5.3
120
+
121
+ ### Patch Changes
122
+
123
+ - Modified: Pagination
124
+
125
+ ## 1.5.2
126
+
127
+ ### Patch Changes
128
+
129
+ - Modified: AccordionGroup, Media, Meta, Pagination, PopoverCollections, Popover, Tabs, utils
130
+ - Updated dependencies
131
+ - @websolutespa/bom-mixer-models@1.5.2
132
+ - @websolutespa/bom-mixer-hooks@1.4.1
133
+ - @websolutespa/bom-core@0.6.2
134
+
135
+ ## 1.5.1
136
+
137
+ ### Patch Changes
138
+
139
+ - Added: default href to Link
140
+
141
+ ## 1.5.0
142
+
143
+ ### Minor Changes
144
+
145
+ - Modified LazyLoader
146
+
147
+ ## 1.4.0
148
+
149
+ ### Minor Changes
150
+
151
+ - Added: Main
152
+ - Modified: Pagination
153
+
154
+ ## 1.3.0
155
+
156
+ ### Minor Changes
157
+
158
+ - Added: accessibility
159
+ - Modified: IThemeForm, form fields, LazyComponents, Media
160
+
161
+ ## 1.2.2
162
+
163
+ ### Patch Changes
164
+
165
+ - Modified: MediaImage
166
+
167
+ ## 1.2.1
168
+
169
+ ### Patch Changes
170
+
171
+ - Added: LayoutDefault
172
+ - Modified: GlobalStyle, toKebabCase
173
+
174
+ ## 1.2.0
175
+
176
+ ### Minor Changes
177
+
178
+ - Fixing: circular references
179
+ - Added: Link wrapper for next/link
180
+ - Updating: next 13
181
+
182
+ ## 1.1.0
183
+
184
+ ### Minor Changes
185
+
186
+ - Modified: useApi
187
+
188
+ ## 1.0.1
189
+
190
+ ### Patch Changes
191
+
192
+ - Fixing: types
193
+
194
+ ## 1.0.0
195
+
196
+ ### Minor Changes
197
+
198
+ - Added: useFormTester
199
+
200
+ ## 0.5.1
201
+
202
+ ### Patch Changes
203
+
204
+ - Fixing: useVariant
205
+
206
+ ## 0.5.0
207
+
208
+ ### Minor Changes
209
+
210
+ - Modified: ui variants Forms, theme.json
211
+
212
+ ## 0.4.3
213
+
214
+ ### Patch Changes
215
+
216
+ - Modified: Text added getFontVariantResponsive
217
+
218
+ ## 0.4.2
219
+
220
+ ### Patch Changes
221
+
222
+ - Modified: ui variants Grid, Container, Text
223
+
224
+ ## 0.4.1
225
+
226
+ ### Patch Changes
227
+
228
+ - Added: source files
229
+
230
+ ## 0.4.0
231
+
232
+ ### Minor Changes
233
+
234
+ - Added: splat routes
235
+ - Added: variants
236
+
237
+ ## 0.3.0
238
+
239
+ ### Minor Changes
240
+
241
+ - Added: @websolutespa/bom-core
242
+
243
+ ## 0.2.0
244
+
245
+ ### Minor Changes
246
+
247
+ - Modified: ITheme, LazyLoader
248
+
249
+ ## 0.1.0
250
+
251
+ ### Minor Changes
252
+
253
+ - mock refactor
254
+
255
+ ## 0.0.3
256
+
257
+ ### Patch Changes
258
+
259
+ - Modified: assets
260
+
261
+ ## 0.0.2
262
+
263
+ ### Patch Changes
264
+
265
+ - Modified: assets
266
+
267
+ ## 0.0.1
268
+
269
+ ### Patch Changes
270
+
271
+ - Added: first release
package/dist/cjs/index.js CHANGED
@@ -6690,12 +6690,11 @@ const SvgAnimation = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
6690
6690
  animation,
6691
6691
  mode = SvgAnimationStrategy.Default,
6692
6692
  loop = false,
6693
- scrollable = false,
6694
6693
  scrollableRef,
6695
6694
  width,
6696
6695
  height
6697
6696
  } = _a,
6698
- props = __rest(_a, ["className", "href", "animation", "mode", "loop", "scrollable", "scrollableRef", "width", "height"]);
6697
+ props = __rest(_a, ["className", "href", "animation", "mode", "loop", "scrollableRef", "width", "height"]);
6699
6698
  if (!href && !animation) {
6700
6699
  throw 'SvgAnimation.error: please submit an animation loader or a href';
6701
6700
  }
@@ -6763,10 +6762,10 @@ const SvgAnimation = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
6763
6762
  playerRef.current.stop();
6764
6763
  }
6765
6764
  }
6766
- }, [isIntersecting, scrollable, shouldLoad]);
6765
+ }, [isIntersecting, mode, shouldLoad]);
6767
6766
  // handle scroll
6768
6767
  React.useEffect(() => {
6769
- const scrollElement = scrollable ? scrollableRef ? scrollableRef.current : window : undefined;
6768
+ const scrollElement = mode === SvgAnimationStrategy.Scroll ? scrollableRef ? scrollableRef.current : window : undefined;
6770
6769
  const onScroll = () => {
6771
6770
  if (elementRef.current && playerRef.current) {
6772
6771
  let top = 0;