@kaizen/components 1.6.4 → 1.7.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.
- package/CHANGELOG.md +25 -203
- package/dist/cjs/dts/Filter/Filter.d.ts +3 -2
- package/dist/cjs/dts/FilterSelect/FilterSelect.d.ts +37 -0
- package/dist/cjs/dts/FilterSelect/_docs/mockData.d.ts +6 -0
- package/dist/cjs/dts/FilterSelect/context/SelectContext.d.ts +13 -0
- package/dist/cjs/dts/FilterSelect/context/index.d.ts +1 -0
- package/dist/cjs/dts/FilterSelect/index.d.ts +2 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/ListBox/ListBox.d.ts +13 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/ListBox/index.d.ts +1 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/ListBoxSection/ListBoxSection.d.ts +9 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/ListBoxSection/index.d.ts +1 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/ListItem/ListItem.d.ts +9 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/ListItem/index.d.ts +1 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/ListItems/ListItems.d.ts +10 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/ListItems/index.d.ts +1 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/Option/Option.d.ts +10 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/Option/index.d.ts +1 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/Overlay/Overlay.d.ts +10 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/Overlay/index.d.ts +1 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/SectionDivider/SectionDivider.d.ts +5 -0
- package/dist/cjs/dts/FilterSelect/subcomponents/SectionDivider/index.d.ts +1 -0
- package/dist/cjs/dts/FilterSelect/types.d.ts +23 -0
- package/dist/cjs/dts/FilterSelect/utils/isSelectOptionGroup.d.ts +2 -0
- package/dist/cjs/dts/FilterSelect/utils/transformSelectItemToCollectionElement.d.ts +3 -0
- package/dist/cjs/dts/index.d.ts +1 -0
- package/dist/cjs/future.js +1 -1
- package/dist/cjs/{index-d6306367.js → index-7be25530.js} +1 -1
- package/dist/cjs/{index-d6306367.js.map → index-7be25530.js.map} +1 -1
- package/dist/cjs/index.css +1820 -1
- package/dist/cjs/index.js +6920 -41
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/dts/Filter/Filter.d.ts +3 -2
- package/dist/esm/dts/FilterSelect/FilterSelect.d.ts +37 -0
- package/dist/esm/dts/FilterSelect/_docs/mockData.d.ts +6 -0
- package/dist/esm/dts/FilterSelect/context/SelectContext.d.ts +13 -0
- package/dist/esm/dts/FilterSelect/context/index.d.ts +1 -0
- package/dist/esm/dts/FilterSelect/index.d.ts +2 -0
- package/dist/esm/dts/FilterSelect/subcomponents/ListBox/ListBox.d.ts +13 -0
- package/dist/esm/dts/FilterSelect/subcomponents/ListBox/index.d.ts +1 -0
- package/dist/esm/dts/FilterSelect/subcomponents/ListBoxSection/ListBoxSection.d.ts +9 -0
- package/dist/esm/dts/FilterSelect/subcomponents/ListBoxSection/index.d.ts +1 -0
- package/dist/esm/dts/FilterSelect/subcomponents/ListItem/ListItem.d.ts +9 -0
- package/dist/esm/dts/FilterSelect/subcomponents/ListItem/index.d.ts +1 -0
- package/dist/esm/dts/FilterSelect/subcomponents/ListItems/ListItems.d.ts +10 -0
- package/dist/esm/dts/FilterSelect/subcomponents/ListItems/index.d.ts +1 -0
- package/dist/esm/dts/FilterSelect/subcomponents/Option/Option.d.ts +10 -0
- package/dist/esm/dts/FilterSelect/subcomponents/Option/index.d.ts +1 -0
- package/dist/esm/dts/FilterSelect/subcomponents/Overlay/Overlay.d.ts +10 -0
- package/dist/esm/dts/FilterSelect/subcomponents/Overlay/index.d.ts +1 -0
- package/dist/esm/dts/FilterSelect/subcomponents/SectionDivider/SectionDivider.d.ts +5 -0
- package/dist/esm/dts/FilterSelect/subcomponents/SectionDivider/index.d.ts +1 -0
- package/dist/esm/dts/FilterSelect/types.d.ts +23 -0
- package/dist/esm/dts/FilterSelect/utils/isSelectOptionGroup.d.ts +2 -0
- package/dist/esm/dts/FilterSelect/utils/transformSelectItemToCollectionElement.d.ts +3 -0
- package/dist/esm/dts/index.d.ts +1 -0
- package/dist/esm/future.js +1 -1
- package/dist/esm/{index-d70f74c9.js → index-51260b55.js} +1 -1
- package/dist/esm/{index-d70f74c9.js.map → index-51260b55.js.map} +1 -1
- package/dist/esm/index.css +1820 -1
- package/dist/esm/index.js +6921 -43
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +72 -3
- package/dist/styles.css +1 -1
- package/package.json +13 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,400 +1,222 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c30857213: Add FilterSelect component to AIO
|
|
8
|
+
|
|
3
9
|
All notable changes to this project will be documented in this file.
|
|
4
10
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
11
|
|
|
6
|
-
## [1.6.
|
|
12
|
+
## [1.6.5](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.6.4...@kaizen/components@1.6.5) (2023-03-28)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @kaizen/components
|
|
9
15
|
|
|
16
|
+
## [1.6.4](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.6.3...@kaizen/components@1.6.4) (2023-03-23)
|
|
10
17
|
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
**Note:** Version bump only for package @kaizen/components
|
|
13
19
|
|
|
14
20
|
## [1.6.3](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.6.2...@kaizen/components@1.6.3) (2023-03-23)
|
|
15
21
|
|
|
16
|
-
|
|
17
22
|
### Bug Fixes
|
|
18
23
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
- tooltip aio error ([#3378](https://github.com/cultureamp/kaizen-design-system/issues/3378)) ([3693d57](https://github.com/cultureamp/kaizen-design-system/commit/3693d57858f6640742b317f3671169eb3808a418))
|
|
24
25
|
|
|
25
26
|
## [1.6.2](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.6.1...@kaizen/components@1.6.2) (2023-03-22)
|
|
26
27
|
|
|
27
|
-
|
|
28
28
|
### Bug Fixes
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
- tooltip-aio-error ([#3374](https://github.com/cultureamp/kaizen-design-system/issues/3374)) ([949890a](https://github.com/cultureamp/kaizen-design-system/commit/949890aef62a60ff9de0790fac2034199fb422bf))
|
|
35
31
|
|
|
36
32
|
## [1.6.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.6.0...@kaizen/components@1.6.1) (2023-03-22)
|
|
37
33
|
|
|
38
34
|
**Note:** Version bump only for package @kaizen/components
|
|
39
35
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
36
|
# [1.6.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.5.1...@kaizen/components@1.6.0) (2023-03-22)
|
|
45
37
|
|
|
46
|
-
|
|
47
38
|
### Features
|
|
48
39
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
40
|
+
- css processing ([#3362](https://github.com/cultureamp/kaizen-design-system/issues/3362)) ([38c0fa3](https://github.com/cultureamp/kaizen-design-system/commit/38c0fa3475a5f78cd4f2c9836815b53d65f2d039))
|
|
54
41
|
|
|
55
42
|
## [1.5.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.5.0...@kaizen/components@1.5.1) (2023-03-21)
|
|
56
43
|
|
|
57
44
|
**Note:** Version bump only for package @kaizen/components
|
|
58
45
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
46
|
# [1.5.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.26...@kaizen/components@1.5.0) (2023-03-16)
|
|
64
47
|
|
|
65
|
-
|
|
66
48
|
### Features
|
|
67
49
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
50
|
+
- **filter:** Add Filter component into the AIO ([#3341](https://github.com/cultureamp/kaizen-design-system/issues/3341)) ([1806853](https://github.com/cultureamp/kaizen-design-system/commit/180685395ee53094f618af7f7292b16d72eb348b))
|
|
73
51
|
|
|
74
52
|
## [1.4.26](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.25...@kaizen/components@1.4.26) (2023-03-14)
|
|
75
53
|
|
|
76
54
|
**Note:** Version bump only for package @kaizen/components
|
|
77
55
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
56
|
## [1.4.25](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.24...@kaizen/components@1.4.25) (2023-03-03)
|
|
83
57
|
|
|
84
|
-
|
|
85
58
|
### Bug Fixes
|
|
86
59
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
60
|
+
- remove re-exports ([#3343](https://github.com/cultureamp/kaizen-design-system/issues/3343)) ([1f928f1](https://github.com/cultureamp/kaizen-design-system/commit/1f928f1de9ff51a0d8a205c2d9fe991056855ec6))
|
|
92
61
|
|
|
93
62
|
## [1.4.24](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.23...@kaizen/components@1.4.24) (2023-03-03)
|
|
94
63
|
|
|
95
64
|
**Note:** Version bump only for package @kaizen/components
|
|
96
65
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
66
|
## [1.4.23](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.22...@kaizen/components@1.4.23) (2023-03-02)
|
|
102
67
|
|
|
103
68
|
**Note:** Version bump only for package @kaizen/components
|
|
104
69
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
70
|
## [1.4.22](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.21...@kaizen/components@1.4.22) (2023-03-02)
|
|
110
71
|
|
|
111
72
|
**Note:** Version bump only for package @kaizen/components
|
|
112
73
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
74
|
## [1.4.21](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.20...@kaizen/components@1.4.21) (2023-03-02)
|
|
118
75
|
|
|
119
76
|
**Note:** Version bump only for package @kaizen/components
|
|
120
77
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
78
|
## [1.4.20](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.19...@kaizen/components@1.4.20) (2023-03-01)
|
|
126
79
|
|
|
127
80
|
**Note:** Version bump only for package @kaizen/components
|
|
128
81
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
82
|
## [1.4.19](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.18...@kaizen/components@1.4.19) (2023-02-28)
|
|
134
83
|
|
|
135
84
|
**Note:** Version bump only for package @kaizen/components
|
|
136
85
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
86
|
## [1.4.18](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.17...@kaizen/components@1.4.18) (2023-02-28)
|
|
142
87
|
|
|
143
88
|
**Note:** Version bump only for package @kaizen/components
|
|
144
89
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
90
|
## [1.4.17](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.16...@kaizen/components@1.4.17) (2023-02-28)
|
|
150
91
|
|
|
151
|
-
|
|
152
92
|
### Bug Fixes
|
|
153
93
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
94
|
+
- design-tokens-aio-import ([#3323](https://github.com/cultureamp/kaizen-design-system/issues/3323)) ([9dcf307](https://github.com/cultureamp/kaizen-design-system/commit/9dcf30761a5c8886c64b207ddb9484e8f8fb3962))
|
|
159
95
|
|
|
160
96
|
## [1.4.16](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.15...@kaizen/components@1.4.16) (2023-02-27)
|
|
161
97
|
|
|
162
|
-
|
|
163
98
|
### Bug Fixes
|
|
164
99
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
100
|
+
- make @kaizen/tailwind a dep ([#3321](https://github.com/cultureamp/kaizen-design-system/issues/3321)) ([77c36e9](https://github.com/cultureamp/kaizen-design-system/commit/77c36e9141047063693f67baf3d800c96c511daf))
|
|
170
101
|
|
|
171
102
|
## [1.4.15](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.14...@kaizen/components@1.4.15) (2023-02-27)
|
|
172
103
|
|
|
173
|
-
|
|
174
104
|
### Bug Fixes
|
|
175
105
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
106
|
+
- replace esbuild with tsup ([#3311](https://github.com/cultureamp/kaizen-design-system/issues/3311)) ([7fa6990](https://github.com/cultureamp/kaizen-design-system/commit/7fa6990a3479a4d3c33a8370ff1b5f3adf51e543))
|
|
181
107
|
|
|
182
108
|
## [1.4.14](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.13...@kaizen/components@1.4.14) (2023-02-26)
|
|
183
109
|
|
|
184
110
|
**Note:** Version bump only for package @kaizen/components
|
|
185
111
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
112
|
## [1.4.13](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.12...@kaizen/components@1.4.13) (2023-02-23)
|
|
191
113
|
|
|
192
114
|
**Note:** Version bump only for package @kaizen/components
|
|
193
115
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
116
|
## [1.4.12](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.11...@kaizen/components@1.4.12) (2023-02-23)
|
|
199
117
|
|
|
200
118
|
**Note:** Version bump only for package @kaizen/components
|
|
201
119
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
120
|
## [1.4.11](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.10...@kaizen/components@1.4.11) (2023-02-23)
|
|
207
121
|
|
|
208
122
|
**Note:** Version bump only for package @kaizen/components
|
|
209
123
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
124
|
## [1.4.10](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.9...@kaizen/components@1.4.10) (2023-02-23)
|
|
215
125
|
|
|
216
126
|
**Note:** Version bump only for package @kaizen/components
|
|
217
127
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
128
|
## [1.4.9](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.8...@kaizen/components@1.4.9) (2023-02-22)
|
|
223
129
|
|
|
224
130
|
**Note:** Version bump only for package @kaizen/components
|
|
225
131
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
132
|
## [1.4.8](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.7...@kaizen/components@1.4.8) (2023-02-22)
|
|
231
133
|
|
|
232
134
|
**Note:** Version bump only for package @kaizen/components
|
|
233
135
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
136
|
## [1.4.7](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.6...@kaizen/components@1.4.7) (2023-02-22)
|
|
239
137
|
|
|
240
138
|
**Note:** Version bump only for package @kaizen/components
|
|
241
139
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
140
|
## [1.4.6](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.5...@kaizen/components@1.4.6) (2023-02-21)
|
|
247
141
|
|
|
248
142
|
**Note:** Version bump only for package @kaizen/components
|
|
249
143
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
144
|
## [1.4.5](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.4...@kaizen/components@1.4.5) (2023-02-21)
|
|
255
145
|
|
|
256
|
-
|
|
257
146
|
### Bug Fixes
|
|
258
147
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
148
|
+
- aio cjs exports ([#3305](https://github.com/cultureamp/kaizen-design-system/issues/3305)) ([b778f5c](https://github.com/cultureamp/kaizen-design-system/commit/b778f5c802769d699e2472b7869076b372404de8))
|
|
264
149
|
|
|
265
150
|
## [1.4.4](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.3...@kaizen/components@1.4.4) (2023-02-21)
|
|
266
151
|
|
|
267
152
|
**Note:** Version bump only for package @kaizen/components
|
|
268
153
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
154
|
## [1.4.3](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.2...@kaizen/components@1.4.3) (2023-02-21)
|
|
274
155
|
|
|
275
156
|
**Note:** Version bump only for package @kaizen/components
|
|
276
157
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
158
|
## [1.4.2](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.1...@kaizen/components@1.4.2) (2023-02-20)
|
|
282
159
|
|
|
283
160
|
**Note:** Version bump only for package @kaizen/components
|
|
284
161
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
162
|
## [1.4.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.0...@kaizen/components@1.4.1) (2023-02-20)
|
|
290
163
|
|
|
291
164
|
**Note:** Version bump only for package @kaizen/components
|
|
292
165
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
166
|
# [1.4.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.3.7...@kaizen/components@1.4.0) (2023-02-20)
|
|
298
167
|
|
|
299
|
-
|
|
300
168
|
### Features
|
|
301
169
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
170
|
+
- re-export-all-existing-components-from-the-new-aio ([#3285](https://github.com/cultureamp/kaizen-design-system/issues/3285)) ([c9a483d](https://github.com/cultureamp/kaizen-design-system/commit/c9a483db2fe6b21f0b75552dc7b6735df6ae68df))
|
|
307
171
|
|
|
308
172
|
## [1.3.7](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.3.6...@kaizen/components@1.3.7) (2023-02-19)
|
|
309
173
|
|
|
310
174
|
**Note:** Version bump only for package @kaizen/components
|
|
311
175
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
176
|
## [1.3.6](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.3.5...@kaizen/components@1.3.6) (2023-02-17)
|
|
317
177
|
|
|
318
|
-
|
|
319
178
|
### Bug Fixes
|
|
320
179
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
180
|
+
- try to resolve regression issue ([#3293](https://github.com/cultureamp/kaizen-design-system/issues/3293)) ([f335590](https://github.com/cultureamp/kaizen-design-system/commit/f3355903f457fa46e81faac9dc5ee893784dfe9d))
|
|
326
181
|
|
|
327
182
|
## [1.3.5](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.3.4...@kaizen/components@1.3.5) (2023-02-17)
|
|
328
183
|
|
|
329
|
-
|
|
330
184
|
### Bug Fixes
|
|
331
185
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
186
|
+
- future package.json routes ([#3292](https://github.com/cultureamp/kaizen-design-system/issues/3292)) ([99d46c7](https://github.com/cultureamp/kaizen-design-system/commit/99d46c7b9ccb5eee2057b2153c956e66958fc236))
|
|
337
187
|
|
|
338
188
|
## [1.3.4](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.3.3...@kaizen/components@1.3.4) (2023-02-17)
|
|
339
189
|
|
|
340
|
-
|
|
341
190
|
### Bug Fixes
|
|
342
191
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
192
|
+
- components bundling ([#3282](https://github.com/cultureamp/kaizen-design-system/issues/3282)) ([dab93f4](https://github.com/cultureamp/kaizen-design-system/commit/dab93f4b02a350aff44cdf3e0cd9d06f22a49677))
|
|
348
193
|
|
|
349
194
|
## [1.3.3](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.3.2...@kaizen/components@1.3.3) (2023-02-17)
|
|
350
195
|
|
|
351
196
|
**Note:** Version bump only for package @kaizen/components
|
|
352
197
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
198
|
## [1.3.2](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.3.1...@kaizen/components@1.3.2) (2023-02-17)
|
|
358
199
|
|
|
359
200
|
**Note:** Version bump only for package @kaizen/components
|
|
360
201
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
202
|
## [1.3.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.3.0...@kaizen/components@1.3.1) (2023-02-16)
|
|
366
203
|
|
|
367
204
|
**Note:** Version bump only for package @kaizen/components
|
|
368
205
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
206
|
# [1.3.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.2.0...@kaizen/components@1.3.0) (2023-02-15)
|
|
374
207
|
|
|
375
|
-
|
|
376
208
|
### Features
|
|
377
209
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
210
|
+
- 44-processing-tailwind-css ([#3273](https://github.com/cultureamp/kaizen-design-system/issues/3273)) ([4f2ace5](https://github.com/cultureamp/kaizen-design-system/commit/4f2ace55edb1d3b5fc0005b65165fd584357a0d2))
|
|
383
211
|
|
|
384
212
|
# [1.2.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.1.0...@kaizen/components@1.2.0) (2023-02-13)
|
|
385
213
|
|
|
386
|
-
|
|
387
214
|
### Features
|
|
388
215
|
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
216
|
+
- **KaizenProvider:** add KaizenProvider to @kaizen/components ([#3239](https://github.com/cultureamp/kaizen-design-system/issues/3239)) ([16819f0](https://github.com/cultureamp/kaizen-design-system/commit/16819f0717dfebd6a938b2784dc84751650f8be4))
|
|
394
217
|
|
|
395
218
|
# 1.1.0 (2023-01-24)
|
|
396
219
|
|
|
397
|
-
|
|
398
220
|
### Features
|
|
399
221
|
|
|
400
|
-
|
|
222
|
+
- add components AIO ([#3229](https://github.com/cultureamp/kaizen-design-system/issues/3229)) ([2b63a37](https://github.com/cultureamp/kaizen-design-system/commit/2b63a3726fafa02c977ba84eedaab4119e40cf51))
|
|
@@ -4,15 +4,16 @@ import { FilterTriggerRef } from "./types";
|
|
|
4
4
|
export interface FilterProps extends OverrideClassName<HTMLAttributes<HTMLDivElement>> {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
isOpen: boolean;
|
|
7
|
-
setIsOpen:
|
|
7
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
8
8
|
renderTrigger: (triggerProps: {
|
|
9
9
|
onClick: () => void;
|
|
10
10
|
isOpen: boolean;
|
|
11
11
|
}) => JSX.Element & {
|
|
12
12
|
ref?: React.RefObject<FilterTriggerRef>;
|
|
13
13
|
};
|
|
14
|
+
onMount?: (triggerRef: React.RefObject<HTMLButtonElement>) => void;
|
|
14
15
|
}
|
|
15
16
|
export declare const Filter: {
|
|
16
|
-
({ children, isOpen, setIsOpen, renderTrigger, classNameOverride, ...restProps }: FilterProps): JSX.Element;
|
|
17
|
+
({ children, isOpen, setIsOpen, renderTrigger, classNameOverride, onMount, ...restProps }: FilterProps): JSX.Element;
|
|
17
18
|
displayName: string;
|
|
18
19
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SelectProps as AriaSelectProps } from "@react-stately/select";
|
|
3
|
+
import { FilterButtonProps } from "../FilterButton";
|
|
4
|
+
import { OverrideClassName } from "../types/OverrideClassName";
|
|
5
|
+
import { SelectItem, SelectItemNode, SelectOption } from "./types";
|
|
6
|
+
type OmittedAriaSelectProps = "label" | "children" | "isOpen" | "onOpenChange" | "defaultOpen" | "items";
|
|
7
|
+
export interface FilterSelectProps<Option extends SelectOption = SelectOption> extends OverrideClassName<Omit<AriaSelectProps<Option>, OmittedAriaSelectProps>> {
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
10
|
+
renderTrigger: (triggerButtonProps: FilterButtonProps) => JSX.Element;
|
|
11
|
+
label: string;
|
|
12
|
+
children?: (args: {
|
|
13
|
+
items: Array<SelectItemNode<Option>>;
|
|
14
|
+
}) => React.ReactNode;
|
|
15
|
+
items: Array<SelectItem<Option>>;
|
|
16
|
+
}
|
|
17
|
+
export declare const FilterSelect: {
|
|
18
|
+
<Option extends SelectOption = SelectOption>({ isOpen, setIsOpen, renderTrigger, label, children, items, classNameOverride, ...restProps }: FilterSelectProps<Option>): JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
Section: {
|
|
21
|
+
<Option_1 extends SelectOption = SelectOption>({ section, }: import("./subcomponents/ListBoxSection").ListBoxSectionProps<Option_1>): JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
SectionDivider: {
|
|
25
|
+
(): JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
Option: {
|
|
29
|
+
<Option_2 extends SelectOption = SelectOption>({ item, classNameOverride, ...props }: import("./subcomponents/Option").OptionProps<Option_2>): JSX.Element;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
32
|
+
ItemDefaultRender: {
|
|
33
|
+
<Option_3 extends SelectOption = SelectOption>({ item, }: import("./subcomponents/ListItem").ListItemProps<Option_3>): JSX.Element;
|
|
34
|
+
displayName: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SelectItem } from "../types";
|
|
2
|
+
export declare const singleMockItems: SelectItem[];
|
|
3
|
+
export declare const groupedMockItems: SelectItem[];
|
|
4
|
+
export declare const mixedMockItemsDisabled: SelectItem[];
|
|
5
|
+
export declare const mixedMockItemsUngroupedFirst: SelectItem[];
|
|
6
|
+
export declare const mixedMockItemsUnordered: SelectItem[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SelectState } from "@react-stately/select";
|
|
3
|
+
import { SelectItem, SelectOption } from "../types";
|
|
4
|
+
type SelectContextValue<Option extends SelectOption = any> = {
|
|
5
|
+
state: SelectState<SelectItem<Option>>;
|
|
6
|
+
};
|
|
7
|
+
export declare const useSelectContext: <Option extends SelectOption = SelectOption>() => SelectContextValue<Option>;
|
|
8
|
+
type SelectProviderProps<Option extends SelectOption> = {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
state: SelectState<SelectItem<Option>>;
|
|
11
|
+
};
|
|
12
|
+
export declare const SelectProvider: <Option extends SelectOption = SelectOption>({ children, state, }: SelectProviderProps<Option>) => JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SelectContext";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { HTMLAttributes } from "react";
|
|
2
|
+
import { AriaListBoxOptions } from "@react-aria/listbox";
|
|
3
|
+
import { OverrideClassName } from "../../../types/OverrideClassName";
|
|
4
|
+
import { SelectOption, SelectItem } from "../../types";
|
|
5
|
+
export type SingleListBoxProps<Option extends SelectOption> = OverrideClassName<HTMLAttributes<HTMLUListElement>> & {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
/** Props for the popup. */
|
|
8
|
+
menuProps: AriaListBoxOptions<SelectItem<Option>>;
|
|
9
|
+
};
|
|
10
|
+
export declare const ListBox: {
|
|
11
|
+
<Option extends SelectOption>({ children, menuProps, classNameOverride, ...restProps }: SingleListBoxProps<Option>): JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ListBox";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SelectOption, SelectOptionGroupNode } from "../../types";
|
|
3
|
+
export interface ListBoxSectionProps<Option extends SelectOption> {
|
|
4
|
+
section: SelectOptionGroupNode<Option>;
|
|
5
|
+
}
|
|
6
|
+
export declare const ListBoxSection: {
|
|
7
|
+
<Option extends SelectOption = SelectOption>({ section, }: ListBoxSectionProps<Option>): JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ListBoxSection";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SelectItemNode, SelectOption } from "../../types";
|
|
3
|
+
export type ListItemProps<Option extends SelectOption = SelectOption> = {
|
|
4
|
+
item: SelectItemNode<Option>;
|
|
5
|
+
};
|
|
6
|
+
export declare const ListItem: {
|
|
7
|
+
<Option extends SelectOption = SelectOption>({ item, }: ListItemProps<Option>): JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ListItem";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SelectOption } from "../../types";
|
|
3
|
+
import { ListItemProps } from "../ListItem";
|
|
4
|
+
export type ListItemsProps<Option extends SelectOption> = {
|
|
5
|
+
items: Array<ListItemProps<Option>["item"]>;
|
|
6
|
+
};
|
|
7
|
+
export declare const ListItems: {
|
|
8
|
+
<Option extends SelectOption>({ items, }: ListItemsProps<Option>): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ListItems";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "react";
|
|
2
|
+
import { OverrideClassName } from "../../../types/OverrideClassName";
|
|
3
|
+
import { SelectOption, SelectOptionNode } from "../../types";
|
|
4
|
+
export interface OptionProps<Option extends SelectOption = SelectOption> extends OverrideClassName<Omit<HTMLAttributes<HTMLLIElement>, "children">> {
|
|
5
|
+
item: SelectOptionNode<Option>;
|
|
6
|
+
}
|
|
7
|
+
export declare const Option: {
|
|
8
|
+
<Option extends SelectOption = SelectOption>({ item, classNameOverride, ...props }: OptionProps<Option>): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Option";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { HTMLAttributes } from "react";
|
|
2
|
+
import { OverrideClassName } from "../../../types/OverrideClassName";
|
|
3
|
+
import { SelectOption } from "../../types";
|
|
4
|
+
export type OverlayProps = OverrideClassName<HTMLAttributes<HTMLDivElement>> & {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare const Overlay: {
|
|
8
|
+
<Option extends SelectOption>({ children, classNameOverride, ...restProps }: OverlayProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Overlay";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SectionDivider";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Node } from "@react-types/shared";
|
|
3
|
+
export type SelectOption = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: React.Key;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
options?: never;
|
|
8
|
+
};
|
|
9
|
+
export type SelectOptionGroup<Option extends SelectOption> = {
|
|
10
|
+
label: string;
|
|
11
|
+
options: Iterable<Option>;
|
|
12
|
+
};
|
|
13
|
+
export type SelectItem<Option extends SelectOption = SelectOption> = Option | SelectOptionGroup<Option>;
|
|
14
|
+
export interface SelectOptionNode<Option extends SelectOption = SelectOption> extends Node<Option> {
|
|
15
|
+
type: "item";
|
|
16
|
+
hasChildNodes: false;
|
|
17
|
+
}
|
|
18
|
+
export interface SelectOptionGroupNode<Option extends SelectOption = SelectOption> extends Omit<Node<SelectOptionGroup<Option>>, "childNodes"> {
|
|
19
|
+
type: "section";
|
|
20
|
+
hasChildNodes: true;
|
|
21
|
+
childNodes: Array<SelectOptionNode<Option>>;
|
|
22
|
+
}
|
|
23
|
+
export type SelectItemNode<Option extends SelectOption = SelectOption> = SelectOptionNode<Option> | SelectOptionGroupNode<Option>;
|
package/dist/cjs/dts/index.d.ts
CHANGED