@websolutespa/bom-mixer-ui 1.5.5 → 1.5.6

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,176 +1,185 @@
1
- # @websolutespa/bom-mixer-ui
2
-
3
- ## 1.5.5
4
-
5
- ### Patch Changes
6
-
7
- - Added: ErrorHandler, Reversable
8
- - Modified: pickChild, IFeatureType
9
- - Updated dependencies
10
- - @websolutespa/bom-mixer-models@1.5.4
11
- - @websolutespa/bom-mixer-hooks@1.4.2
12
- - @websolutespa/bom-mixer-store@1.4.3
13
- - @websolutespa/bom-core@0.6.5
14
-
15
- ## 1.5.4
16
-
17
- ### Patch Changes
18
-
19
- - Modified: Meta
20
- - Updated dependencies
21
- - @websolutespa/bom-mixer-models@1.5.4
22
- - @websolutespa/bom-mixer-store@1.4.3
23
-
24
- ## 1.5.3
25
-
26
- ### Patch Changes
27
-
28
- - Modified: Pagination
29
-
30
- ## 1.5.2
31
-
32
- ### Patch Changes
33
-
34
- - Modified: AccordionGroup, Media, Meta, Pagination, PopoverCollections, Popover, Tabs, utils
35
- - Updated dependencies
36
- - @websolutespa/bom-mixer-models@1.5.2
37
- - @websolutespa/bom-mixer-hooks@1.4.1
38
- - @websolutespa/bom-core@0.6.2
39
-
40
- ## 1.5.1
41
-
42
- ### Patch Changes
43
-
44
- - Added: default href to Link
45
-
46
- ## 1.5.0
47
-
48
- ### Minor Changes
49
-
50
- - Modified LazyLoader
51
-
52
- ## 1.4.0
53
-
54
- ### Minor Changes
55
-
56
- - Added: Main
57
- - Modified: Pagination
58
-
59
- ## 1.3.0
60
-
61
- ### Minor Changes
62
-
63
- - Added: accessibility
64
- - Modified: IThemeForm, form fields, LazyComponents, Media
65
-
66
- ## 1.2.2
67
-
68
- ### Patch Changes
69
-
70
- - Modified: MediaImage
71
-
72
- ## 1.2.1
73
-
74
- ### Patch Changes
75
-
76
- - Added: LayoutDefault
77
- - Modified: GlobalStyle, toKebabCase
78
-
79
- ## 1.2.0
80
-
81
- ### Minor Changes
82
-
83
- - Fixing: circular references
84
- - Added: Link wrapper for next/link
85
- - Updating: next 13
86
-
87
- ## 1.1.0
88
-
89
- ### Minor Changes
90
-
91
- - Modified: useApi
92
-
93
- ## 1.0.1
94
-
95
- ### Patch Changes
96
-
97
- - Fixing: types
98
-
99
- ## 1.0.0
100
-
101
- ### Minor Changes
102
-
103
- - Added: useFormTester
104
-
105
- ## 0.5.1
106
-
107
- ### Patch Changes
108
-
109
- - Fixing: useVariant
110
-
111
- ## 0.5.0
112
-
113
- ### Minor Changes
114
-
115
- - Modified: ui variants Forms, theme.json
116
-
117
- ## 0.4.3
118
-
119
- ### Patch Changes
120
-
121
- - Modified: Text added getFontVariantResponsive
122
-
123
- ## 0.4.2
124
-
125
- ### Patch Changes
126
-
127
- - Modified: ui variants Grid, Container, Text
128
-
129
- ## 0.4.1
130
-
131
- ### Patch Changes
132
-
133
- - Added: source files
134
-
135
- ## 0.4.0
136
-
137
- ### Minor Changes
138
-
139
- - Added: splat routes
140
- - Added: variants
141
-
142
- ## 0.3.0
143
-
144
- ### Minor Changes
145
-
146
- - Added: @websolutespa/bom-core
147
-
148
- ## 0.2.0
149
-
150
- ### Minor Changes
151
-
152
- - Modified: ITheme, LazyLoader
153
-
154
- ## 0.1.0
155
-
156
- ### Minor Changes
157
-
158
- - mock refactor
159
-
160
- ## 0.0.3
161
-
162
- ### Patch Changes
163
-
164
- - Modified: assets
165
-
166
- ## 0.0.2
167
-
168
- ### Patch Changes
169
-
170
- - Modified: assets
171
-
172
- ## 0.0.1
173
-
174
- ### Patch Changes
175
-
176
- - Added: first release
1
+ # @websolutespa/bom-mixer-ui
2
+
3
+ ## 1.5.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: PaginationItem, Text
8
+ - Fixing: MediaItem
9
+ - Updated dependencies
10
+ - @websolutespa/bom-mixer-models@1.5.9
11
+
12
+ ## 1.5.5
13
+
14
+ ### Patch Changes
15
+
16
+ - Added: ErrorHandler, Reversable
17
+ - Modified: pickChild, IFeatureType
18
+ - Updated dependencies
19
+ - @websolutespa/bom-mixer-models@1.5.4
20
+ - @websolutespa/bom-mixer-hooks@1.4.2
21
+ - @websolutespa/bom-mixer-store@1.4.3
22
+ - @websolutespa/bom-core@0.6.5
23
+
24
+ ## 1.5.4
25
+
26
+ ### Patch Changes
27
+
28
+ - Modified: Meta
29
+ - Updated dependencies
30
+ - @websolutespa/bom-mixer-models@1.5.4
31
+ - @websolutespa/bom-mixer-store@1.4.3
32
+
33
+ ## 1.5.3
34
+
35
+ ### Patch Changes
36
+
37
+ - Modified: Pagination
38
+
39
+ ## 1.5.2
40
+
41
+ ### Patch Changes
42
+
43
+ - Modified: AccordionGroup, Media, Meta, Pagination, PopoverCollections, Popover, Tabs, utils
44
+ - Updated dependencies
45
+ - @websolutespa/bom-mixer-models@1.5.2
46
+ - @websolutespa/bom-mixer-hooks@1.4.1
47
+ - @websolutespa/bom-core@0.6.2
48
+
49
+ ## 1.5.1
50
+
51
+ ### Patch Changes
52
+
53
+ - Added: default href to Link
54
+
55
+ ## 1.5.0
56
+
57
+ ### Minor Changes
58
+
59
+ - Modified LazyLoader
60
+
61
+ ## 1.4.0
62
+
63
+ ### Minor Changes
64
+
65
+ - Added: Main
66
+ - Modified: Pagination
67
+
68
+ ## 1.3.0
69
+
70
+ ### Minor Changes
71
+
72
+ - Added: accessibility
73
+ - Modified: IThemeForm, form fields, LazyComponents, Media
74
+
75
+ ## 1.2.2
76
+
77
+ ### Patch Changes
78
+
79
+ - Modified: MediaImage
80
+
81
+ ## 1.2.1
82
+
83
+ ### Patch Changes
84
+
85
+ - Added: LayoutDefault
86
+ - Modified: GlobalStyle, toKebabCase
87
+
88
+ ## 1.2.0
89
+
90
+ ### Minor Changes
91
+
92
+ - Fixing: circular references
93
+ - Added: Link wrapper for next/link
94
+ - Updating: next 13
95
+
96
+ ## 1.1.0
97
+
98
+ ### Minor Changes
99
+
100
+ - Modified: useApi
101
+
102
+ ## 1.0.1
103
+
104
+ ### Patch Changes
105
+
106
+ - Fixing: types
107
+
108
+ ## 1.0.0
109
+
110
+ ### Minor Changes
111
+
112
+ - Added: useFormTester
113
+
114
+ ## 0.5.1
115
+
116
+ ### Patch Changes
117
+
118
+ - Fixing: useVariant
119
+
120
+ ## 0.5.0
121
+
122
+ ### Minor Changes
123
+
124
+ - Modified: ui variants Forms, theme.json
125
+
126
+ ## 0.4.3
127
+
128
+ ### Patch Changes
129
+
130
+ - Modified: Text added getFontVariantResponsive
131
+
132
+ ## 0.4.2
133
+
134
+ ### Patch Changes
135
+
136
+ - Modified: ui variants Grid, Container, Text
137
+
138
+ ## 0.4.1
139
+
140
+ ### Patch Changes
141
+
142
+ - Added: source files
143
+
144
+ ## 0.4.0
145
+
146
+ ### Minor Changes
147
+
148
+ - Added: splat routes
149
+ - Added: variants
150
+
151
+ ## 0.3.0
152
+
153
+ ### Minor Changes
154
+
155
+ - Added: @websolutespa/bom-core
156
+
157
+ ## 0.2.0
158
+
159
+ ### Minor Changes
160
+
161
+ - Modified: ITheme, LazyLoader
162
+
163
+ ## 0.1.0
164
+
165
+ ### Minor Changes
166
+
167
+ - mock refactor
168
+
169
+ ## 0.0.3
170
+
171
+ ### Patch Changes
172
+
173
+ - Modified: assets
174
+
175
+ ## 0.0.2
176
+
177
+ ### Patch Changes
178
+
179
+ - Modified: assets
180
+
181
+ ## 0.0.1
182
+
183
+ ### Patch Changes
184
+
185
+ - Added: first release
package/dist/cjs/index.js CHANGED
@@ -3910,27 +3910,27 @@ function hasBackground(props) {
3910
3910
  return hasChildOfType(props.children, Background);
3911
3911
  }
3912
3912
 
3913
- const CssH = styled.css`
3913
+ styled.css`
3914
3914
  h1, h2, h3, h4, h5, h6 {
3915
- color: var(--color-neutral-500);
3915
+ // color: var(--color-neutral-500);
3916
3916
  margin-bottom: 3rem;
3917
3917
  }
3918
3918
  h4 {
3919
3919
  font-size: 1.2em;
3920
3920
  }
3921
3921
  `;
3922
- const CssA = styled.css`
3922
+ styled.css`
3923
3923
  a[href] {
3924
3924
  ${CssDefault}
3925
3925
  ${CssButtonNavInverted}
3926
3926
  }
3927
3927
  `;
3928
- const CssP = styled.css`
3928
+ styled.css`
3929
3929
  p:not(:last-child) {
3930
3930
  margin-bottom: 1.25em;
3931
3931
  }
3932
3932
  `;
3933
- const CssUl = styled.css`
3933
+ styled.css`
3934
3934
  ul {
3935
3935
  list-style: initial;
3936
3936
  margin: 0 0 2em 1.1em;
@@ -3953,12 +3953,14 @@ const StyledText$1 = styled__default.default.div`
3953
3953
  -webkit-background-clip: text;
3954
3954
  -webkit-text-fill-color: transparent;
3955
3955
  ` : ''}
3956
- ${CssH}
3957
- ${CssA}
3958
- ${CssP}
3959
- ${CssUl}
3960
3956
  ${props => getCssResponsive(props)}
3961
3957
  `;
3958
+ /*
3959
+ ${CssH}
3960
+ ${CssA}
3961
+ ${CssP}
3962
+ ${CssUl}
3963
+ */
3962
3964
  const TextBase = /*#__PURE__*/React.forwardRef((_a, ref) => {
3963
3965
  var {
3964
3966
  children,
@@ -4537,10 +4539,29 @@ function getMediaItems(itemOrItems, options) {
4537
4539
  if (typeof x['media'] === 'object') {
4538
4540
  x = x['media'];
4539
4541
  }
4540
- if (typeof x.url === 'string') {
4541
- x.src = x.url;
4542
+ const mediaItem = {
4543
+ type: x.type,
4544
+ src: typeof x.url === 'string' ? x.url : x.src
4545
+ };
4546
+ if (x.abstract) {
4547
+ mediaItem.abstract = x.abstract;
4548
+ }
4549
+ if (x.alt) {
4550
+ mediaItem.alt = x.alt;
4551
+ }
4552
+ if (x.height) {
4553
+ mediaItem.height = x.height;
4554
+ }
4555
+ if (x.mimeType) {
4556
+ mediaItem.mimeType = x.mimeType;
4542
4557
  }
4543
- return x;
4558
+ if (x.title) {
4559
+ mediaItem.title = x.title;
4560
+ }
4561
+ if (x.width) {
4562
+ mediaItem.width = x.width;
4563
+ }
4564
+ return mediaItem;
4544
4565
  });
4545
4566
  const hasGallery = options.galleryId != null && typeof options.open === 'function';
4546
4567
  const getMediaItemProps = media => {
@@ -5545,7 +5566,7 @@ const StyledPaginationItem$1 = styled__default.default.li`
5545
5566
  outline: none;
5546
5567
  border: none;
5547
5568
  cursor: pointer;
5548
- color: var(--color-primary-500);
5569
+ color: var(--color-primary-600);
5549
5570
  border-radius: var(--border-radius);
5550
5571
  background-color: var(--color-neutral-100);
5551
5572
  transition: all linear 200ms 0ms;
@@ -5561,7 +5582,7 @@ const StyledPaginationItem$1 = styled__default.default.li`
5561
5582
 
5562
5583
  &.active {
5563
5584
  font-weight: 700;
5564
- background-color: var(--color-primary-500);
5585
+ background-color: var(--color-primary-600);
5565
5586
  color: var(--color-neutral-100);
5566
5587
  box-shadow: var(--shadow-xs);
5567
5588
  }
@@ -7757,7 +7778,7 @@ const StyledCustomSelect = styled__default.default.div`
7757
7778
 
7758
7779
  .placeholder {
7759
7780
  color: inherit;
7760
- opacity: 0.3;
7781
+ opacity: 0.5;
7761
7782
  }
7762
7783
 
7763
7784
  .value {