@pixum/combobox 5.0.0 → 5.0.1-alpha.66
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 +596 -0
- package/lib/hooks/useIsDesktopScreenWidth.d.ts +0 -6
- package/lib/hooks/useIsDesktopScreenWidth.js +17 -3
- package/lib/hooks/useIsDesktopScreenWidth.js.map +1 -1
- package/package.json +2 -2
- package/lib/helper/index.d.ts +0 -2
- package/lib/helper/index.js +0 -3
- package/lib/helper/index.js.map +0 -1
- package/lib/partials/ComboBoxGroupedOptions.d.ts +0 -13
- package/lib/partials/ComboBoxGroupedOptions.js +0 -10
- package/lib/partials/ComboBoxGroupedOptions.js.map +0 -1
- package/lib/partials/ComboBoxMenu.d.ts +0 -3
- package/lib/partials/ComboBoxMenu.js +0 -22
- package/lib/partials/ComboBoxMenu.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,596 @@
|
|
|
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.0.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.22...@pixum/combobox@5.0.0) (2025-10-27)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- major overhaul of the whole project to be React 19 compatible ([91f3aa1](https://git.pixum.net/design-system/component-library/commits/91f3aa10f22e020d4431e8515fdd0a47425fb4d0))
|
|
11
|
+
|
|
12
|
+
### BREAKING CHANGES
|
|
13
|
+
|
|
14
|
+
- All components now use named exports instead of default exports.
|
|
15
|
+
Import pattern changes from `import Component from '@pixum/component'` to
|
|
16
|
+
`import { Component } from '@pixum/component'`. Additionally, ref forwarding
|
|
17
|
+
has been removed - refs are now passed as regular props. Components using
|
|
18
|
+
React.FC type has been converted to plain functions, which may affect type
|
|
19
|
+
inference in some edge cases. All child components and utilities have been
|
|
20
|
+
reorganized into partials/ and utils/ directories, affecting deep imports if any.
|
|
21
|
+
|
|
22
|
+
## [4.0.22](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.21...@pixum/combobox@4.0.22) (2025-09-26)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
25
|
+
|
|
26
|
+
## [4.0.21](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.20...@pixum/combobox@4.0.21) (2025-09-25)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
- **bottomsheet:** handle touch event ([9c97b91](https://git.pixum.net/design-system/component-library/commits/9c97b915e8f8c4a8a4df27383ba8cc292c6b10e9))
|
|
31
|
+
|
|
32
|
+
## [4.0.20](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.19...@pixum/combobox@4.0.20) (2025-08-27)
|
|
33
|
+
|
|
34
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
35
|
+
|
|
36
|
+
## [4.0.19](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.18...@pixum/combobox@4.0.19) (2025-08-26)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
39
|
+
|
|
40
|
+
## [4.0.18](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.17...@pixum/combobox@4.0.18) (2025-08-25)
|
|
41
|
+
|
|
42
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
43
|
+
|
|
44
|
+
## [4.0.17](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.16...@pixum/combobox@4.0.17) (2025-08-01)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
47
|
+
|
|
48
|
+
## [4.0.16](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.15...@pixum/combobox@4.0.16) (2025-07-07)
|
|
49
|
+
|
|
50
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
51
|
+
|
|
52
|
+
## [4.0.15](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.14...@pixum/combobox@4.0.15) (2025-07-07)
|
|
53
|
+
|
|
54
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
55
|
+
|
|
56
|
+
## [4.0.14](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.13...@pixum/combobox@4.0.14) (2025-07-07)
|
|
57
|
+
|
|
58
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
59
|
+
|
|
60
|
+
## [4.0.12](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.9...@pixum/combobox@4.0.12) (2025-07-03)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
63
|
+
|
|
64
|
+
## [4.0.11](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.9...@pixum/combobox@4.0.11) (2025-06-30)
|
|
65
|
+
|
|
66
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
67
|
+
|
|
68
|
+
## [4.0.10](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.9...@pixum/combobox@4.0.10) (2025-06-30)
|
|
69
|
+
|
|
70
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
71
|
+
|
|
72
|
+
## [4.0.9](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.1...@pixum/combobox@4.0.9) (2025-06-27)
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
- **svg-icon:** align all svg icon versions to current published version ([6fc9484](https://git.pixum.net/design-system/component-library/commits/6fc9484ef294ac1b8c5c330027e165ae09c21c6e))
|
|
77
|
+
- **svg-icon:** upgrade and align versions ([21b848c](https://git.pixum.net/design-system/component-library/commits/21b848c4b6a590da5909bb56fd4e7bbd3d6f6021))
|
|
78
|
+
- **toggle-button:** use id for identifying toggle option if possible #PXOCT-1884 ([29f8e39](https://git.pixum.net/design-system/component-library/commits/29f8e397fecd5bc8aaf9c2dd5df8cb9707000aa0)), closes [#PXOCT-1884](https://git.pixum.net/design-system/component-library/issues/PXOCT-1884)
|
|
79
|
+
|
|
80
|
+
## [4.0.8](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.6...@pixum/combobox@4.0.8) (2025-06-16)
|
|
81
|
+
|
|
82
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
83
|
+
|
|
84
|
+
## [4.0.7](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.1...@pixum/combobox@4.0.7) (2025-06-11)
|
|
85
|
+
|
|
86
|
+
### Bug Fixes
|
|
87
|
+
|
|
88
|
+
- **svg-icon:** align all svg icon versions to current published version ([6fc9484](https://git.pixum.net/design-system/component-library/commits/6fc9484ef294ac1b8c5c330027e165ae09c21c6e))
|
|
89
|
+
- **svg-icon:** upgrade and align versions ([21b848c](https://git.pixum.net/design-system/component-library/commits/21b848c4b6a590da5909bb56fd4e7bbd3d6f6021))
|
|
90
|
+
- **toggle-button:** use id for identifying toggle option if possible #PXOCT-1884 ([29f8e39](https://git.pixum.net/design-system/component-library/commits/29f8e397fecd5bc8aaf9c2dd5df8cb9707000aa0)), closes [#PXOCT-1884](https://git.pixum.net/design-system/component-library/issues/PXOCT-1884)
|
|
91
|
+
|
|
92
|
+
## [4.0.6](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.5...@pixum/combobox@4.0.6) (2025-06-11)
|
|
93
|
+
|
|
94
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
95
|
+
|
|
96
|
+
## [4.0.5](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.1...@pixum/combobox@4.0.5) (2025-06-11)
|
|
97
|
+
|
|
98
|
+
### Bug Fixes
|
|
99
|
+
|
|
100
|
+
- **svg-icon:** align all svg icon versions to current published version ([6fc9484](https://git.pixum.net/design-system/component-library/commits/6fc9484ef294ac1b8c5c330027e165ae09c21c6e))
|
|
101
|
+
- **svg-icon:** upgrade and align versions ([21b848c](https://git.pixum.net/design-system/component-library/commits/21b848c4b6a590da5909bb56fd4e7bbd3d6f6021))
|
|
102
|
+
- **toggle-button:** use id for identifying toggle option if possible #PXOCT-1884 ([29f8e39](https://git.pixum.net/design-system/component-library/commits/29f8e397fecd5bc8aaf9c2dd5df8cb9707000aa0)), closes [#PXOCT-1884](https://git.pixum.net/design-system/component-library/issues/PXOCT-1884)
|
|
103
|
+
|
|
104
|
+
## [4.0.4](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.1...@pixum/combobox@4.0.4) (2025-06-10)
|
|
105
|
+
|
|
106
|
+
### Bug Fixes
|
|
107
|
+
|
|
108
|
+
- **svg-icon:** align all svg icon versions to current published version ([6fc9484](https://git.pixum.net/design-system/component-library/commits/6fc9484ef294ac1b8c5c330027e165ae09c21c6e))
|
|
109
|
+
- **toggle-button:** use id for identifying toggle option if possible #PXOCT-1884 ([29f8e39](https://git.pixum.net/design-system/component-library/commits/29f8e397fecd5bc8aaf9c2dd5df8cb9707000aa0)), closes [#PXOCT-1884](https://git.pixum.net/design-system/component-library/issues/PXOCT-1884)
|
|
110
|
+
|
|
111
|
+
## [4.0.3](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.1...@pixum/combobox@4.0.3) (2025-05-30)
|
|
112
|
+
|
|
113
|
+
### Bug Fixes
|
|
114
|
+
|
|
115
|
+
- **toggle-button:** use id for identifying toggle option if possible #PXOCT-1884 ([29f8e39](https://git.pixum.net/design-system/component-library/commits/29f8e397fecd5bc8aaf9c2dd5df8cb9707000aa0)), closes [#PXOCT-1884](https://git.pixum.net/design-system/component-library/issues/PXOCT-1884)
|
|
116
|
+
|
|
117
|
+
## [4.0.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.1...@pixum/combobox@4.0.2) (2025-05-30)
|
|
118
|
+
|
|
119
|
+
### Bug Fixes
|
|
120
|
+
|
|
121
|
+
- **toggle-button:** use id for identifying toggle option if possible #PXOCT-1884 ([29f8e39](https://git.pixum.net/design-system/component-library/commits/29f8e397fecd5bc8aaf9c2dd5df8cb9707000aa0)), closes [#PXOCT-1884](https://git.pixum.net/design-system/component-library/issues/PXOCT-1884)
|
|
122
|
+
|
|
123
|
+
## [4.0.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@4.0.0...@pixum/combobox@4.0.1) (2025-03-13)
|
|
124
|
+
|
|
125
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
126
|
+
|
|
127
|
+
# [4.0.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@3.0.4...@pixum/combobox@4.0.0) (2025-03-06)
|
|
128
|
+
|
|
129
|
+
### Bug Fixes
|
|
130
|
+
|
|
131
|
+
- **ComboBox:** Import InputModesType from relative path ([72690bf](https://git.pixum.net/design-system/component-library/commits/72690bfcc1b91a4389557c3cf9138cd9d0dcbb81))
|
|
132
|
+
- **ComboBox:** Revert changes ([b3ce5a6](https://git.pixum.net/design-system/component-library/commits/b3ce5a6032be9e3789a850acc81703e87f7ab783))
|
|
133
|
+
|
|
134
|
+
## [3.0.4](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@3.0.3...@pixum/combobox@3.0.4) (2025-03-06)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
137
|
+
|
|
138
|
+
## [3.0.3](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@3.0.2...@pixum/combobox@3.0.3) (2025-03-06)
|
|
139
|
+
|
|
140
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
141
|
+
|
|
142
|
+
## [3.0.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@3.0.1...@pixum/combobox@3.0.2) (2025-03-06)
|
|
143
|
+
|
|
144
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
145
|
+
|
|
146
|
+
## [3.0.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@3.0.0...@pixum/combobox@3.0.1) (2025-03-06)
|
|
147
|
+
|
|
148
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
149
|
+
|
|
150
|
+
# [3.0.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.6...@pixum/combobox@3.0.0) (2025-03-06)
|
|
151
|
+
|
|
152
|
+
### Bug Fixes
|
|
153
|
+
|
|
154
|
+
- **combobox:** add focus ring to option items ([483d14f](https://git.pixum.net/design-system/component-library/commits/483d14fc81872a620f4864626e9e923136359475))
|
|
155
|
+
- **combobox:** clear search qurey on sheet close ([d7fb3f3](https://git.pixum.net/design-system/component-library/commits/d7fb3f34b9091d4063dbceffd821cf7aa47f6b74))
|
|
156
|
+
- **combobox:** close bottom-sheet on esc press ([e2d64e2](https://git.pixum.net/design-system/component-library/commits/e2d64e2b279628ac9a35618a13ce1d08e6378142))
|
|
157
|
+
|
|
158
|
+
## [2.0.6](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.5...@pixum/combobox@2.0.6) (2025-01-08)
|
|
159
|
+
|
|
160
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
161
|
+
|
|
162
|
+
## [2.0.5](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.4...@pixum/combobox@2.0.5) (2024-11-18)
|
|
163
|
+
|
|
164
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
165
|
+
|
|
166
|
+
## [2.0.4](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.3...@pixum/combobox@2.0.4) (2024-11-06)
|
|
167
|
+
|
|
168
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
169
|
+
|
|
170
|
+
## [2.0.3](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.2...@pixum/combobox@2.0.3) (2024-11-06)
|
|
171
|
+
|
|
172
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
173
|
+
|
|
174
|
+
## [2.0.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.1...@pixum/combobox@2.0.2) (2024-11-05)
|
|
175
|
+
|
|
176
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
177
|
+
|
|
178
|
+
## [2.0.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.5-es6.build.0...@pixum/combobox@2.0.1) (2024-10-17)
|
|
179
|
+
|
|
180
|
+
### Bug Fixes
|
|
181
|
+
|
|
182
|
+
- rm canary version tag ([14df9b2](https://git.pixum.net/design-system/component-library/commits/14df9b27fcd00cb31198519fb94a065c285474f2))
|
|
183
|
+
- versions for next publish ([059c539](https://git.pixum.net/design-system/component-library/commits/059c53935f0fda4cc6285ae31988e05ea96f6023))
|
|
184
|
+
|
|
185
|
+
## [2.0.5-es6.build.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.4-es6.build.0...@pixum/combobox@2.0.5-es6.build.0) (2024-10-15)
|
|
186
|
+
|
|
187
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
188
|
+
|
|
189
|
+
## [2.0.4-es6.build.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.3-es6.build.0...@pixum/combobox@2.0.4-es6.build.0) (2024-10-14)
|
|
190
|
+
|
|
191
|
+
### Bug Fixes
|
|
192
|
+
|
|
193
|
+
- updated peer dependency versions ([89eacde](https://git.pixum.net/design-system/component-library/commits/89eacdeec4fef7d416884b58b63bb3f7d2f9a559))
|
|
194
|
+
|
|
195
|
+
## [2.0.3-es6.build.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@2.0.2-es6.build.0...@pixum/combobox@2.0.3-es6.build.0) (2024-10-11)
|
|
196
|
+
|
|
197
|
+
### Bug Fixes
|
|
198
|
+
|
|
199
|
+
- use newest comp-lib versions ([6defddf](https://git.pixum.net/design-system/component-library/commits/6defddfd3d64ad5e7de6ccf62d01e824b08e0946))
|
|
200
|
+
|
|
201
|
+
## [2.0.2-es6.build.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.7.0...@pixum/combobox@2.0.2-es6.build.0) (2024-10-11)
|
|
202
|
+
|
|
203
|
+
### Bug Fixes
|
|
204
|
+
|
|
205
|
+
- add gitHead again ([865d9be](https://git.pixum.net/design-system/component-library/commits/865d9be0c771e3c54597ceab6f75c9d0213e62ca))
|
|
206
|
+
- adjust versions for new es6 build ([5b7275b](https://git.pixum.net/design-system/component-library/commits/5b7275bb37897ae5e399d76552f3a64237442b01))
|
|
207
|
+
- prevent from tree shaking .css files ([2bdc9b1](https://git.pixum.net/design-system/component-library/commits/2bdc9b1ab4a27ca9bc9684fb04eccd9547842dee))
|
|
208
|
+
- update the type of all component packages (type 'module' - default was commonjs) ([d59611b](https://git.pixum.net/design-system/component-library/commits/d59611b6e27cb059c82ea8fa6462fd9f157a07f7))
|
|
209
|
+
- wrong / outdated dependencies ([a20f1ab](https://git.pixum.net/design-system/component-library/commits/a20f1ab94390b88ef68b019b5649f299e3c76a55))
|
|
210
|
+
|
|
211
|
+
# [1.7.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.10...@pixum/combobox@1.7.0) (2024-10-09)
|
|
212
|
+
|
|
213
|
+
### Features
|
|
214
|
+
|
|
215
|
+
- **combo-box:** add name attribute ([96eb546](https://git.pixum.net/design-system/component-library/commits/96eb546ce2ddc7b96b794b630270c8e44d002c2d))
|
|
216
|
+
|
|
217
|
+
## [1.6.10](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.9...@pixum/combobox@1.6.10) (2024-07-19)
|
|
218
|
+
|
|
219
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
220
|
+
|
|
221
|
+
## [1.6.9](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.8...@pixum/combobox@1.6.9) (2024-07-18)
|
|
222
|
+
|
|
223
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
224
|
+
|
|
225
|
+
## [1.6.8](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.7...@pixum/combobox@1.6.8) (2024-07-18)
|
|
226
|
+
|
|
227
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
228
|
+
|
|
229
|
+
## [1.6.7](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.6...@pixum/combobox@1.6.7) (2024-06-24)
|
|
230
|
+
|
|
231
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
232
|
+
|
|
233
|
+
## [1.6.6](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.5...@pixum/combobox@1.6.6) (2024-04-18)
|
|
234
|
+
|
|
235
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
236
|
+
|
|
237
|
+
## [1.6.5](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.4...@pixum/combobox@1.6.5) (2024-04-18)
|
|
238
|
+
|
|
239
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
240
|
+
|
|
241
|
+
## [1.6.4](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.3...@pixum/combobox@1.6.4) (2024-02-14)
|
|
242
|
+
|
|
243
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
244
|
+
|
|
245
|
+
## [1.6.3](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.2...@pixum/combobox@1.6.3) (2024-02-13)
|
|
246
|
+
|
|
247
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
248
|
+
|
|
249
|
+
## [1.6.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.1...@pixum/combobox@1.6.2) (2024-02-13)
|
|
250
|
+
|
|
251
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
252
|
+
|
|
253
|
+
## [1.6.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.6.0...@pixum/combobox@1.6.1) (2024-02-13)
|
|
254
|
+
|
|
255
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
256
|
+
|
|
257
|
+
# [1.6.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.5.0...@pixum/combobox@1.6.0) (2023-12-27)
|
|
258
|
+
|
|
259
|
+
### Features
|
|
260
|
+
|
|
261
|
+
- **ComboBox:** use id ([9710908](https://git.pixum.net/design-system/component-library/commits/9710908d4517f3dddeb2129b026b657220d605e7))
|
|
262
|
+
|
|
263
|
+
# [1.5.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.10...@pixum/combobox@1.5.0) (2023-11-07)
|
|
264
|
+
|
|
265
|
+
### Features
|
|
266
|
+
|
|
267
|
+
- **ComboBox:** ony close on desktop on outside click ([9b9ef56](https://git.pixum.net/design-system/component-library/commits/9b9ef56b99e2e2149ee291ae5d01ad6d99c92a22))
|
|
268
|
+
|
|
269
|
+
## [1.4.10](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.9...@pixum/combobox@1.4.10) (2023-11-07)
|
|
270
|
+
|
|
271
|
+
### Bug Fixes
|
|
272
|
+
|
|
273
|
+
- **ComboBox:** fix mobile bottom shett click ([23765f9](https://git.pixum.net/design-system/component-library/commits/23765f963144cf4ff567568a1cfe23b1cc402a4d))
|
|
274
|
+
|
|
275
|
+
## [1.4.9](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.8...@pixum/combobox@1.4.9) (2023-11-07)
|
|
276
|
+
|
|
277
|
+
### Bug Fixes
|
|
278
|
+
|
|
279
|
+
- **ComboBox:** close on outside click ([6128c91](https://git.pixum.net/design-system/component-library/commits/6128c91bdf719a9662ecd6b977e16a1894d00fc7))
|
|
280
|
+
|
|
281
|
+
## [1.4.8](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.7...@pixum/combobox@1.4.8) (2023-11-06)
|
|
282
|
+
|
|
283
|
+
### Bug Fixes
|
|
284
|
+
|
|
285
|
+
- **ComboBox:** check for window object ([edee992](https://git.pixum.net/design-system/component-library/commits/edee992df7116e107454675843c0d1e0f63e845d))
|
|
286
|
+
|
|
287
|
+
## [1.4.7](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.6...@pixum/combobox@1.4.7) (2023-11-06)
|
|
288
|
+
|
|
289
|
+
### Bug Fixes
|
|
290
|
+
|
|
291
|
+
- **ComboBox:** update isDesktop hook in options component ([3954ad4](https://git.pixum.net/design-system/component-library/commits/3954ad4b0c9556601af4eff89ce5f4e5c5d33926))
|
|
292
|
+
- **ComboBox:** use screen size for bottom sheet vs dropdown indication ([821d3d0](https://git.pixum.net/design-system/component-library/commits/821d3d0155c27c02f6c3ffb1f2b3b99fd27beb2e))
|
|
293
|
+
- **SelectInput:** fix arrow svg direction ([7f5d2b3](https://git.pixum.net/design-system/component-library/commits/7f5d2b3a082638757020a9a8336d9c64d4e61768))
|
|
294
|
+
|
|
295
|
+
## [1.4.6](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.5...@pixum/combobox@1.4.6) (2023-11-03)
|
|
296
|
+
|
|
297
|
+
### Bug Fixes
|
|
298
|
+
|
|
299
|
+
- **ComboBox:** do not close on option click ([6b1a3cd](https://git.pixum.net/design-system/component-library/commits/6b1a3cd659c91b447b6935431bd188515fd44877))
|
|
300
|
+
|
|
301
|
+
## [1.4.5](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.4...@pixum/combobox@1.4.5) (2023-11-03)
|
|
302
|
+
|
|
303
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
304
|
+
|
|
305
|
+
## [1.4.4](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.3...@pixum/combobox@1.4.4) (2023-11-03)
|
|
306
|
+
|
|
307
|
+
### Bug Fixes
|
|
308
|
+
|
|
309
|
+
- **ComboBox:** remove close on click ([7d8097a](https://git.pixum.net/design-system/component-library/commits/7d8097a4929bf3865883158429ae2e7738e0d7ab))
|
|
310
|
+
|
|
311
|
+
## [1.4.3](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.2...@pixum/combobox@1.4.3) (2023-11-03)
|
|
312
|
+
|
|
313
|
+
### Bug Fixes
|
|
314
|
+
|
|
315
|
+
- **ComboBox:** fix bottom sheet option click ([2f83950](https://git.pixum.net/design-system/component-library/commits/2f839504b17f8d11a0edac79917017869c12dfa4))
|
|
316
|
+
|
|
317
|
+
## [1.4.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.1...@pixum/combobox@1.4.2) (2023-11-03)
|
|
318
|
+
|
|
319
|
+
### Bug Fixes
|
|
320
|
+
|
|
321
|
+
- **UserInput:** remove handle unfocused on click ([71584ba](https://git.pixum.net/design-system/component-library/commits/71584baf9d0bbe58ee5838a6393c4fceceb35660))
|
|
322
|
+
|
|
323
|
+
## [1.4.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.4.0...@pixum/combobox@1.4.1) (2023-11-02)
|
|
324
|
+
|
|
325
|
+
### Bug Fixes
|
|
326
|
+
|
|
327
|
+
- **ComboBox:** fix option selection ([9b59d7e](https://git.pixum.net/design-system/component-library/commits/9b59d7e1862d268e5c654c68aba19e076c1425c5))
|
|
328
|
+
- **ComboBox:** fix option selection ([b5f8b66](https://git.pixum.net/design-system/component-library/commits/b5f8b6660f50105fead71962bc9cf749c82b9b97))
|
|
329
|
+
|
|
330
|
+
# [1.4.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.3.2...@pixum/combobox@1.4.0) (2023-10-31)
|
|
331
|
+
|
|
332
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
333
|
+
|
|
334
|
+
## [1.3.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.3.1...@pixum/combobox@1.3.2) (2023-10-17)
|
|
335
|
+
|
|
336
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
337
|
+
|
|
338
|
+
## [1.3.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.3.0...@pixum/combobox@1.3.1) (2023-10-16)
|
|
339
|
+
|
|
340
|
+
### Bug Fixes
|
|
341
|
+
|
|
342
|
+
- **Combobox:** fix header spacing ([2142a7b](https://git.pixum.net/design-system/component-library/commits/2142a7b798a0bcc65bc2dc43fd37a05ebf105acb))
|
|
343
|
+
|
|
344
|
+
# [1.3.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.2.2...@pixum/combobox@1.3.0) (2023-10-16)
|
|
345
|
+
|
|
346
|
+
### Features
|
|
347
|
+
|
|
348
|
+
- **UserInout:** add className property ([83e82aa](https://git.pixum.net/design-system/component-library/commits/83e82aa74a7e62daa25b55a5460b01ea07c3dbc6))
|
|
349
|
+
|
|
350
|
+
## [1.2.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.2.1...@pixum/combobox@1.2.2) (2023-10-16)
|
|
351
|
+
|
|
352
|
+
### Bug Fixes
|
|
353
|
+
|
|
354
|
+
- **Combobox:** fix bottom sheet height ([bac4f44](https://git.pixum.net/design-system/component-library/commits/bac4f44d99d16b7dcfac88343b62885c8f7ccbe3))
|
|
355
|
+
|
|
356
|
+
## [1.2.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.2.0...@pixum/combobox@1.2.1) (2023-10-13)
|
|
357
|
+
|
|
358
|
+
### Bug Fixes
|
|
359
|
+
|
|
360
|
+
- **Combobox:** set dynamic height based on content ([28b2d8d](https://git.pixum.net/design-system/component-library/commits/28b2d8d6684f4f1af8fb4efc8f1c1dc8a282f26c))
|
|
361
|
+
- **ComboBox:** set value from outside ([aaae213](https://git.pixum.net/design-system/component-library/commits/aaae213eb381514df21937b94757f1a8ebf61f7c))
|
|
362
|
+
|
|
363
|
+
# [1.2.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.1.1...@pixum/combobox@1.2.0) (2023-10-11)
|
|
364
|
+
|
|
365
|
+
### Features
|
|
366
|
+
|
|
367
|
+
- **Combobox:** add onMouseEnter for menu items ([fea2a09](https://git.pixum.net/design-system/component-library/commits/fea2a090977fd915911271935b51b4962fff0870))
|
|
368
|
+
- **ComboBox:** make open state controllable from outside the component ([0a9ed8d](https://git.pixum.net/design-system/component-library/commits/0a9ed8d1151b47c09b5c0dd25845fee935f54a99))
|
|
369
|
+
|
|
370
|
+
## [1.1.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.1.0...@pixum/combobox@1.1.1) (2023-10-11)
|
|
371
|
+
|
|
372
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
373
|
+
|
|
374
|
+
# [1.1.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.0.3...@pixum/combobox@1.1.0) (2023-10-06)
|
|
375
|
+
|
|
376
|
+
### Features
|
|
377
|
+
|
|
378
|
+
- **combobox:** fix the pipeline error ([22a3227](https://git.pixum.net/design-system/component-library/commits/22a32273961c09f75352b665be06215676b711d8))
|
|
379
|
+
|
|
380
|
+
### Reverts
|
|
381
|
+
|
|
382
|
+
- Revert "chore(react): update to 18" ([a5f7083](https://git.pixum.net/design-system/component-library/commits/a5f708391b0eb74ccbd903a958528a6b192700a7))
|
|
383
|
+
- Revert "Publish" ([80a7a8a](https://git.pixum.net/design-system/component-library/commits/80a7a8a638c2e3480d5bdf224bb53774ebc076c5))
|
|
384
|
+
|
|
385
|
+
## [1.0.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@1.0.1...@pixum/combobox@1.0.2) (2023-10-06)
|
|
386
|
+
|
|
387
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
388
|
+
|
|
389
|
+
## [1.0.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.29.3...@pixum/combobox@1.0.1) (2023-10-06)
|
|
390
|
+
|
|
391
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
392
|
+
|
|
393
|
+
## [0.29.3](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.29.2...@pixum/combobox@0.29.3) (2023-10-05)
|
|
394
|
+
|
|
395
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
396
|
+
|
|
397
|
+
## [0.29.2](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.29.1...@pixum/combobox@0.29.2) (2023-10-05)
|
|
398
|
+
|
|
399
|
+
### Bug Fixes
|
|
400
|
+
|
|
401
|
+
- **Combobox:** remove gitHead ([0f4c4e0](https://git.pixum.net/design-system/component-library/commits/0f4c4e09c49f0f2d5669783869085f3064673767))
|
|
402
|
+
|
|
403
|
+
## [0.29.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.29.0...@pixum/combobox@0.29.1) (2023-10-05)
|
|
404
|
+
|
|
405
|
+
### Bug Fixes
|
|
406
|
+
|
|
407
|
+
- **Combobox:** fix interface ([769fd0c](https://git.pixum.net/design-system/component-library/commits/769fd0c6c0acd3d839b184e754072a2c41333b25))
|
|
408
|
+
|
|
409
|
+
# [0.29.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.28.1...@pixum/combobox@0.29.0) (2023-10-05)
|
|
410
|
+
|
|
411
|
+
### Features
|
|
412
|
+
|
|
413
|
+
- **Combobox:** add leading type and option details ([22cc22f](https://git.pixum.net/design-system/component-library/commits/22cc22fb6fcd9744e9d2b696e18008776100ce20))
|
|
414
|
+
|
|
415
|
+
## [0.28.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.28.0...@pixum/combobox@0.28.1) (2023-08-02)
|
|
416
|
+
|
|
417
|
+
### Bug Fixes
|
|
418
|
+
|
|
419
|
+
- replace TextTags and TextVariants strings with enum; mark HeadlineTag als deprecated (seems to be the same as TextVariant) ([32ebe46](https://git.pixum.net/design-system/component-library/commits/32ebe46de875687cae7c6b5424e503cf36a44c35))
|
|
420
|
+
|
|
421
|
+
# [0.28.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.27.0...@pixum/combobox@0.28.0) (2023-07-31)
|
|
422
|
+
|
|
423
|
+
### Features
|
|
424
|
+
|
|
425
|
+
- **combobox:** do bot hide select field on mobile ([0fb3f6e](https://git.pixum.net/design-system/component-library/commits/0fb3f6e25520557d34c5b54944eb0cb7c20ae239))
|
|
426
|
+
|
|
427
|
+
# [0.27.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.26.0...@pixum/combobox@0.27.0) (2023-07-26)
|
|
428
|
+
|
|
429
|
+
### Features
|
|
430
|
+
|
|
431
|
+
- **combobox:** solve position in combobox headline options ([f765d00](https://git.pixum.net/design-system/component-library/commits/f765d00ee23ce6fc4298681530b95a57c2783849))
|
|
432
|
+
|
|
433
|
+
# [0.26.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.25.0...@pixum/combobox@0.26.0) (2023-07-25)
|
|
434
|
+
|
|
435
|
+
### Features
|
|
436
|
+
|
|
437
|
+
- **combobox:** fix bg color for the search input field on mobil ([13ab11c](https://git.pixum.net/design-system/component-library/commits/13ab11c81f576ef08e40b1d3f92dcd737c44f7ea))
|
|
438
|
+
|
|
439
|
+
# [0.25.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.24.0...@pixum/combobox@0.25.0) (2023-07-25)
|
|
440
|
+
|
|
441
|
+
### Features
|
|
442
|
+
|
|
443
|
+
- **combobox:** fix the scroll to element ([01d88fc](https://git.pixum.net/design-system/component-library/commits/01d88fc08ece7a075a4f4d339b0547cc7c6ac38a))
|
|
444
|
+
|
|
445
|
+
# [0.24.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.23.0...@pixum/combobox@0.24.0) (2023-07-25)
|
|
446
|
+
|
|
447
|
+
### Features
|
|
448
|
+
|
|
449
|
+
- **combobox:** fix the scroll to element ([13bf545](https://git.pixum.net/design-system/component-library/commits/13bf5453a029e1429ab817adab0f87579531c0de))
|
|
450
|
+
|
|
451
|
+
# [0.23.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.22.0...@pixum/combobox@0.23.0) (2023-07-25)
|
|
452
|
+
|
|
453
|
+
### Features
|
|
454
|
+
|
|
455
|
+
- **combobox:** fix the scroll to element ([8f66df3](https://git.pixum.net/design-system/component-library/commits/8f66df32c75eba24be016d1863c102f1aa6afd36))
|
|
456
|
+
|
|
457
|
+
# [0.22.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.21.0...@pixum/combobox@0.22.0) (2023-07-24)
|
|
458
|
+
|
|
459
|
+
### Features
|
|
460
|
+
|
|
461
|
+
- **bottom-sheet:** check if content should swipe ([7e57356](https://git.pixum.net/design-system/component-library/commits/7e57356724a1aa6cb9c2e5534951b3376ad567bb))
|
|
462
|
+
|
|
463
|
+
# [0.21.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.20.0...@pixum/combobox@0.21.0) (2023-07-24)
|
|
464
|
+
|
|
465
|
+
### Features
|
|
466
|
+
|
|
467
|
+
- **bottom-sheet:** check if content should swipe ([c1b16ee](https://git.pixum.net/design-system/component-library/commits/c1b16ee79f79ab8359eff8045596b309115bfe66))
|
|
468
|
+
|
|
469
|
+
# [0.20.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.19.0...@pixum/combobox@0.20.0) (2023-07-24)
|
|
470
|
+
|
|
471
|
+
### Features
|
|
472
|
+
|
|
473
|
+
- **search:** add input mode attribute ([fc29043](https://git.pixum.net/design-system/component-library/commits/fc29043023c13ddd21f8ccf605f29788e0efbe8a))
|
|
474
|
+
|
|
475
|
+
# [0.19.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.18.0...@pixum/combobox@0.19.0) (2023-07-24)
|
|
476
|
+
|
|
477
|
+
### Features
|
|
478
|
+
|
|
479
|
+
- **combobox:** fix data in the combobox options ([cd00b96](https://git.pixum.net/design-system/component-library/commits/cd00b96408c1070b9f437beb07f58f3a9ee86380))
|
|
480
|
+
|
|
481
|
+
# [0.18.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.17.0...@pixum/combobox@0.18.0) (2023-07-21)
|
|
482
|
+
|
|
483
|
+
### Features
|
|
484
|
+
|
|
485
|
+
- **combobox:** fix data in the combobox options ([37b3b60](https://git.pixum.net/design-system/component-library/commits/37b3b603c542705a2e6c57312738fc446c21eb23))
|
|
486
|
+
|
|
487
|
+
# [0.17.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.16.1...@pixum/combobox@0.17.0) (2023-07-21)
|
|
488
|
+
|
|
489
|
+
**Note:** Version bump only for package @pixum/combobox
|
|
490
|
+
|
|
491
|
+
## [0.16.1](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.16.0...@pixum/combobox@0.16.1) (2023-07-20)
|
|
492
|
+
|
|
493
|
+
### Bug Fixes
|
|
494
|
+
|
|
495
|
+
- **user-input:** fix focus ([ec9a0ea](https://git.pixum.net/design-system/component-library/commits/ec9a0ea1dde2477e6067bfbbc8676cb0321259a9))
|
|
496
|
+
- **user-input:** fix types & story ([3799c07](https://git.pixum.net/design-system/component-library/commits/3799c07a2d34f57773970a12ab27063d15a17428))
|
|
497
|
+
|
|
498
|
+
# [0.16.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.15.0...@pixum/combobox@0.16.0) (2023-07-19)
|
|
499
|
+
|
|
500
|
+
### Features
|
|
501
|
+
|
|
502
|
+
- **combobox:** allow placeholder ([4677ad0](https://git.pixum.net/design-system/component-library/commits/4677ad04015e04574ad2ee5e391709deeaa07aa1))
|
|
503
|
+
|
|
504
|
+
# [0.15.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.14.0...@pixum/combobox@0.15.0) (2023-07-19)
|
|
505
|
+
|
|
506
|
+
### Features
|
|
507
|
+
|
|
508
|
+
- **combobox:** fix styling issues ([38bec1b](https://git.pixum.net/design-system/component-library/commits/38bec1bbccb7d8f8e3bb445652c844081a12de20))
|
|
509
|
+
|
|
510
|
+
# [0.14.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.13.0...@pixum/combobox@0.14.0) (2023-07-19)
|
|
511
|
+
|
|
512
|
+
### Features
|
|
513
|
+
|
|
514
|
+
- **combobox:** fix styling issues ([6c378ce](https://git.pixum.net/design-system/component-library/commits/6c378ce88995fc3d1ea73020304bee7a0e6ec346))
|
|
515
|
+
|
|
516
|
+
# [0.13.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.12.0...@pixum/combobox@0.13.0) (2023-07-19)
|
|
517
|
+
|
|
518
|
+
### Features
|
|
519
|
+
|
|
520
|
+
- **combobox:** fix styling issues ([1494f25](https://git.pixum.net/design-system/component-library/commits/1494f2501a9ea45e50f0c3deee83562f927151de))
|
|
521
|
+
|
|
522
|
+
# [0.12.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.11.0...@pixum/combobox@0.12.0) (2023-07-18)
|
|
523
|
+
|
|
524
|
+
### Features
|
|
525
|
+
|
|
526
|
+
- **combobox:** fix default value ([178135c](https://git.pixum.net/design-system/component-library/commits/178135c2ca1aea8f16c566c98fdf6200f9b7fd62))
|
|
527
|
+
|
|
528
|
+
# [0.11.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.10.0...@pixum/combobox@0.11.0) (2023-07-18)
|
|
529
|
+
|
|
530
|
+
### Features
|
|
531
|
+
|
|
532
|
+
- **button:** remove hover from close icon ([e3071b8](https://git.pixum.net/design-system/component-library/commits/e3071b8e56e4134eb2e90b761027c277e75e94ac))
|
|
533
|
+
|
|
534
|
+
# [0.10.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.9.0...@pixum/combobox@0.10.0) (2023-07-18)
|
|
535
|
+
|
|
536
|
+
### Features
|
|
537
|
+
|
|
538
|
+
- **combobox:** generate new version ([11bfce1](https://git.pixum.net/design-system/component-library/commits/11bfce1657fd9497bdf46d5daab4b9b828c4d00f))
|
|
539
|
+
|
|
540
|
+
# [0.9.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.8.0...@pixum/combobox@0.9.0) (2023-07-18)
|
|
541
|
+
|
|
542
|
+
### Features
|
|
543
|
+
|
|
544
|
+
- **combobox:** generate new version ([f1f3f33](https://git.pixum.net/design-system/component-library/commits/f1f3f334ae96fd2fd6c522436bc97d5aa55ff99b))
|
|
545
|
+
|
|
546
|
+
# [0.8.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.7.0...@pixum/combobox@0.8.0) (2023-07-18)
|
|
547
|
+
|
|
548
|
+
### Features
|
|
549
|
+
|
|
550
|
+
- **combobox:** fix select is compact and selected value ([808aa23](https://git.pixum.net/design-system/component-library/commits/808aa234fc43fe055a77a528c21022144f695fc0))
|
|
551
|
+
|
|
552
|
+
# [0.7.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.6.0...@pixum/combobox@0.7.0) (2023-07-18)
|
|
553
|
+
|
|
554
|
+
### Features
|
|
555
|
+
|
|
556
|
+
- **combobox:** fix issues after migrate the component ([220b743](https://git.pixum.net/design-system/component-library/commits/220b74392fd1b759d4133b137c8cec857663d8b8))
|
|
557
|
+
|
|
558
|
+
# [0.6.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.5.0...@pixum/combobox@0.6.0) (2023-07-18)
|
|
559
|
+
|
|
560
|
+
### Features
|
|
561
|
+
|
|
562
|
+
- **combobox:** fix issues after migrate the component ([1e238d8](https://git.pixum.net/design-system/component-library/commits/1e238d884cbb2fbdc7b99bf943bb4f180cf95d14))
|
|
563
|
+
|
|
564
|
+
# [0.5.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.4.0...@pixum/combobox@0.5.0) (2023-07-18)
|
|
565
|
+
|
|
566
|
+
### Features
|
|
567
|
+
|
|
568
|
+
- **combobox:** fix export and onclick issue ([037570e](https://git.pixum.net/design-system/component-library/commits/037570e64f47f9974d7b305525cc190798bc09f3))
|
|
569
|
+
- **combobox:** fix issues after migrate the component ([019cb85](https://git.pixum.net/design-system/component-library/commits/019cb85d0fce0ba60dff5a7c96bc70e712702218))
|
|
570
|
+
- **combobox:** fix issues after migrate the component ([08cb4a2](https://git.pixum.net/design-system/component-library/commits/08cb4a2410d0eba51fa7acf778dd4cf81cf31859))
|
|
571
|
+
|
|
572
|
+
# [0.4.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.3.0...@pixum/combobox@0.4.0) (2023-07-17)
|
|
573
|
+
|
|
574
|
+
### Features
|
|
575
|
+
|
|
576
|
+
- **combobox:** fix export and onclick issue ([d0b1e94](https://git.pixum.net/design-system/component-library/commits/d0b1e94e7a97143550307a58702e219a0ba3f7ac))
|
|
577
|
+
|
|
578
|
+
# [0.3.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.2.0...@pixum/combobox@0.3.0) (2023-07-17)
|
|
579
|
+
|
|
580
|
+
### Features
|
|
581
|
+
|
|
582
|
+
- **combobox:** fix export and onclick issue ([4522908](https://git.pixum.net/design-system/component-library/commits/4522908dca84b3b46b1a58e3f40526f1939fb984))
|
|
583
|
+
|
|
584
|
+
# [0.2.0](https://git.pixum.net/design-system/component-library/compare/@pixum/combobox@0.1.0...@pixum/combobox@0.2.0) (2023-07-17)
|
|
585
|
+
|
|
586
|
+
### Features
|
|
587
|
+
|
|
588
|
+
- **combobox:** fix export and onclick issue ([7df79de](https://git.pixum.net/design-system/component-library/commits/7df79debbb129d4b5238e44a11ab24ba5cc01bd3))
|
|
589
|
+
|
|
590
|
+
# 0.1.0 (2023-07-17)
|
|
591
|
+
|
|
592
|
+
### Features
|
|
593
|
+
|
|
594
|
+
- **combobox:** add combobox component ([1fe4ec2](https://git.pixum.net/design-system/component-library/commits/1fe4ec254317fe65faa372cc82a51f1a4afcca9a))
|
|
595
|
+
- **combobox:** apply code-review ([8e79167](https://git.pixum.net/design-system/component-library/commits/8e79167eeb196be32a66e67929864a63a351af36))
|
|
596
|
+
- **combobox:** apply code-review ([2554747](https://git.pixum.net/design-system/component-library/commits/25547475a701273c06c75dc7c051849016ee63d4))
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom hook that detects whether the viewport width is desktop size (>= 768px).
|
|
3
|
-
* Listens to window resize events to update the state dynamically.
|
|
4
|
-
*
|
|
5
|
-
* @returns True if the viewport width is 768px or greater, false otherwise
|
|
6
|
-
*/
|
|
7
1
|
export declare function useIsDesktopScreenWidth(): boolean;
|
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
import { useState, useEffect } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* Custom hook that detects whether the viewport width is desktop size (>=
|
|
3
|
+
* Custom hook that detects whether the viewport width is desktop size (>= 960px).
|
|
4
4
|
* Listens to window resize events to update the state dynamically.
|
|
5
5
|
*
|
|
6
|
-
* @returns True if the viewport width is
|
|
6
|
+
* @returns True if the viewport width is 960px or greater, false otherwise
|
|
7
7
|
*/
|
|
8
|
+
function isBrowser() {
|
|
9
|
+
return typeof window !== 'undefined';
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Checks if the current viewport width is desktop size (>= 960px).
|
|
13
|
+
*
|
|
14
|
+
* @returns True if the viewport is desktop size, false otherwise or in non-browser environments
|
|
15
|
+
*/
|
|
16
|
+
function isInitialScreenDesktop() {
|
|
17
|
+
if (isBrowser()) {
|
|
18
|
+
return window.innerWidth >= 960;
|
|
19
|
+
}
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
8
22
|
export function useIsDesktopScreenWidth() {
|
|
9
|
-
const [isDesktop, setIsDesktop] = useState(
|
|
23
|
+
const [isDesktop, setIsDesktop] = useState(isInitialScreenDesktop);
|
|
10
24
|
useEffect(() => {
|
|
11
25
|
const checkScreenSize = () => {
|
|
12
26
|
setIsDesktop(window.innerWidth >= 960);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsDesktopScreenWidth.js","sourceRoot":"","sources":["../../src/hooks/useIsDesktopScreenWidth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE3C;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB;IACrC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,
|
|
1
|
+
{"version":3,"file":"useIsDesktopScreenWidth.js","sourceRoot":"","sources":["../../src/hooks/useIsDesktopScreenWidth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE3C;;;;;GAKG;AAEH,SAAS,SAAS;IAChB,OAAO,OAAO,MAAM,KAAK,WAAW,CAAA;AACtC,CAAC;AAED;;;;GAIG;AACH,SAAS,sBAAsB;IAC7B,IAAI,SAAS,EAAE,EAAE,CAAC;QAChB,OAAO,MAAM,CAAC,UAAU,IAAI,GAAG,CAAA;IACjC,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,MAAM,UAAU,uBAAuB;IACrC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,sBAAsB,CAAC,CAAA;IAE3E,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,eAAe,GAAG,GAAG,EAAE;YAC3B,YAAY,CAAC,MAAM,CAAC,UAAU,IAAI,GAAG,CAAC,CAAA;QACxC,CAAC,CAAA;QAED,eAAe,EAAE,CAAA;QACjB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAA;QAElD,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAA;QACvD,CAAC,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,SAAS,CAAA;AAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixum/combobox",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1-alpha.66+35581cf7",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"sideEffects": [
|
|
22
22
|
"*.css"
|
|
23
23
|
],
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "35581cf7fe5eb311030a4c1bcecc50b7a68838f5"
|
|
25
25
|
}
|
package/lib/helper/index.d.ts
DELETED
package/lib/helper/index.js
DELETED
package/lib/helper/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/helper/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LeadingType } from '@pixum/menu-item';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ComboBoxOptionProps } from '../types';
|
|
4
|
-
interface ComboBoxGroupedOptionsProps {
|
|
5
|
-
group: string;
|
|
6
|
-
items: ComboBoxOptionProps[];
|
|
7
|
-
selectedOption?: string;
|
|
8
|
-
onClick?: (value: string) => void;
|
|
9
|
-
onKeyDown: (e: React.KeyboardEvent, value: string) => void;
|
|
10
|
-
leadingType?: LeadingType;
|
|
11
|
-
}
|
|
12
|
-
export declare function ComboBoxGroupedOptions(props: ComboBoxGroupedOptionsProps): React.JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Text, { TextVariant } from '@pixum/text';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ComboBoxOptions } from './ComboBoxOptions';
|
|
4
|
-
export function ComboBoxGroupedOptions(props) {
|
|
5
|
-
const { group, items, selectedOption, onClick, onKeyDown, leadingType } = props;
|
|
6
|
-
return (React.createElement("div", { className: "combobox__options-group", key: `combobox__options-group-${group}` },
|
|
7
|
-
React.createElement(Text, { variant: TextVariant.HEADLINE, className: "combobox__sticky-header" }, group),
|
|
8
|
-
React.createElement(ComboBoxOptions, { items: items, selectedOption: selectedOption, onClick: onClick, onKeyDown: onKeyDown, leadingType: leadingType })));
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=ComboBoxGroupedOptions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComboBoxGroupedOptions.js","sourceRoot":"","sources":["../../src/partials/ComboBoxGroupedOptions.tsx"],"names":[],"mappings":"AACA,OAAO,IAAI,EAAE,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAYnD,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACvE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,GACrE,KAAK,CAAA;IACP,OAAO,CACL,6BACE,SAAS,EAAC,yBAAyB,EACnC,GAAG,EAAE,2BAA2B,KAAK,EAAE;QAEvC,oBAAC,IAAI,IAAC,OAAO,EAAE,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAC,yBAAyB,IACrE,KAAK,CACD;QACP,oBAAC,eAAe,IACd,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,GACxB,CACE,CACP,CAAA;AACH,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React, { useEffect } from 'react';
|
|
2
|
-
import Menu from '@pixum/menu';
|
|
3
|
-
import { scrollOptionToViewport } from '../helper';
|
|
4
|
-
import { ComboBoxOptions } from './ComboBoxOptions';
|
|
5
|
-
import { ComboBoxGroupedOptions } from './ComboBoxGroupedOptions';
|
|
6
|
-
import { useIsDesktopScreenWidth } from '../hooks';
|
|
7
|
-
export function ComboBoxMenu(props) {
|
|
8
|
-
const { options, onClick, selectedOption, leadingType, optionDetails } = props;
|
|
9
|
-
const isDesktop = useIsDesktopScreenWidth();
|
|
10
|
-
const handleOnKeyDown = (e, value) => {
|
|
11
|
-
if (e.key === 'Enter') {
|
|
12
|
-
onClick === null || onClick === void 0 ? void 0 : onClick(value);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
useEffect(() => {
|
|
16
|
-
scrollOptionToViewport(isDesktop);
|
|
17
|
-
}, [isDesktop]);
|
|
18
|
-
return (React.createElement(Menu, { className: "combobox__options" },
|
|
19
|
-
Array.isArray(options) ? (React.createElement(ComboBoxOptions, { items: options, selectedOption: selectedOption, onClick: onClick, onKeyDown: handleOnKeyDown, leadingType: leadingType })) : (React.createElement(React.Fragment, null, Object.entries(options).map(([group, items]) => (React.createElement(ComboBoxGroupedOptions, { group: group, items: items, selectedOption: selectedOption, onClick: onClick, onKeyDown: handleOnKeyDown, leadingType: leadingType }))))),
|
|
20
|
-
optionDetails && (React.createElement("div", { className: "combobox__option-details text--caption" }, optionDetails))));
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=ComboBoxMenu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComboBoxMenu.js","sourceRoot":"","sources":["../../src/partials/ComboBoxMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,IAAI,MAAM,aAAa,CAAA;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,UAAU,YAAY,CAAC,KAA2B;IACtD,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,GAAG,KAAK,CAAA;IAC9E,MAAM,SAAS,GAAG,uBAAuB,EAAE,CAAA;IAE3C,MAAM,eAAe,GAAG,CAAC,CAAsB,EAAE,KAAa,EAAE,EAAE;QAChE,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE,CAAC;YACtB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,KAAK,CAAC,CAAA;QAClB,CAAC;IACH,CAAC,CAAA;IAED,SAAS,CAAC,GAAG,EAAE;QACb,sBAAsB,CAAC,SAAS,CAAC,CAAA;IACnC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAA;IAEf,OAAO,CACL,oBAAC,IAAI,IAAC,SAAS,EAAC,mBAAmB;QAChC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CACxB,oBAAC,eAAe,IACd,KAAK,EAAE,OAAO,EACd,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,eAAe,EAC1B,WAAW,EAAE,WAAW,GACxB,CACH,CAAC,CAAC,CAAC,CACF,0CACG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAC/C,oBAAC,sBAAsB,IACrB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,eAAe,EAC1B,WAAW,EAAE,WAAW,GACxB,CACH,CAAC,CACD,CACJ;QACA,aAAa,IAAI,CAChB,6BAAK,SAAS,EAAC,wCAAwC,IACpD,aAAa,CACV,CACP,CACI,CACR,CAAA;AACH,CAAC"}
|