@paprika/tabs 2.3.9 → 2.3.10-next.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/package.json +4 -4
- package/CHANGELOG.md +0 -442
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paprika/tabs",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.10-next.0",
|
|
4
4
|
"description": "Tabs component displays tabs with panels associated with each tab",
|
|
5
5
|
"author": "@paprika",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"@babel/runtime-corejs2": "^7.3.1",
|
|
19
19
|
"@paprika/constants": "^1.0.1",
|
|
20
20
|
"@paprika/helpers": "^2.4.2",
|
|
21
|
-
"@paprika/raw-button": "^1.0.
|
|
22
|
-
"@paprika/stylers": "^1.1.
|
|
23
|
-
"@paprika/tokens": "^
|
|
21
|
+
"@paprika/raw-button": "^1.0.16-next.0",
|
|
22
|
+
"@paprika/stylers": "^1.1.9-next.0",
|
|
23
|
+
"@paprika/tokens": "^3.0.0-next.0",
|
|
24
24
|
"classnames": "^2.2.6",
|
|
25
25
|
"prop-types": "^15.7.2",
|
|
26
26
|
"uuid": "^8.3.2"
|
package/CHANGELOG.md
DELETED
|
@@ -1,442 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 2.3.9
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- d60fb99: peerDependencies now include react@17 and react@18
|
|
8
|
-
- Updated dependencies [d60fb99]
|
|
9
|
-
- @paprika/constants@1.0.1
|
|
10
|
-
- @paprika/raw-button@1.0.15
|
|
11
|
-
- @paprika/tokens@2.0.1
|
|
12
|
-
- @paprika/helpers@2.4.2
|
|
13
|
-
- @paprika/stylers@1.1.8
|
|
14
|
-
|
|
15
|
-
## 2.3.9-next.0
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- d60fb99: peerDependencies now include react@17 and react@18
|
|
20
|
-
- Updated dependencies [d60fb99]
|
|
21
|
-
- @paprika/constants@1.0.1-next.0
|
|
22
|
-
- @paprika/raw-button@1.0.15-next.0
|
|
23
|
-
- @paprika/tokens@2.0.1-next.0
|
|
24
|
-
- @paprika/helpers@2.4.2-next.0
|
|
25
|
-
- @paprika/stylers@1.1.8-next.0
|
|
26
|
-
|
|
27
|
-
## 2.3.8
|
|
28
|
-
|
|
29
|
-
### Patch Changes
|
|
30
|
-
|
|
31
|
-
- Updated dependencies [7fbad8a]
|
|
32
|
-
- @paprika/helpers@2.4.1
|
|
33
|
-
|
|
34
|
-
## 2.3.8-next.0
|
|
35
|
-
|
|
36
|
-
### Patch Changes
|
|
37
|
-
|
|
38
|
-
- Updated dependencies [7fbad8a]
|
|
39
|
-
- @paprika/helpers@2.4.1-next.0
|
|
40
|
-
|
|
41
|
-
## 2.3.7
|
|
42
|
-
|
|
43
|
-
### Patch Changes
|
|
44
|
-
|
|
45
|
-
- Updated dependencies [16c9b8d]
|
|
46
|
-
- @paprika/raw-button@1.0.14
|
|
47
|
-
|
|
48
|
-
## 2.3.7-next.0
|
|
49
|
-
|
|
50
|
-
### Patch Changes
|
|
51
|
-
|
|
52
|
-
- Updated dependencies [16c9b8d]
|
|
53
|
-
- @paprika/raw-button@1.0.14-next.0
|
|
54
|
-
|
|
55
|
-
## 2.3.6
|
|
56
|
-
|
|
57
|
-
### Patch Changes
|
|
58
|
-
|
|
59
|
-
- Updated dependencies [49aa7f9]
|
|
60
|
-
- Updated dependencies [9f10d8c]
|
|
61
|
-
- Updated dependencies [dae4008]
|
|
62
|
-
- @paprika/helpers@2.4.0
|
|
63
|
-
- @paprika/stylers@1.1.7
|
|
64
|
-
- @paprika/raw-button@1.0.13
|
|
65
|
-
|
|
66
|
-
## 2.3.6-next.1
|
|
67
|
-
|
|
68
|
-
### Patch Changes
|
|
69
|
-
|
|
70
|
-
- Updated dependencies [dae4008]
|
|
71
|
-
- @paprika/stylers@1.1.7-next.0
|
|
72
|
-
- @paprika/raw-button@1.0.13-next.0
|
|
73
|
-
|
|
74
|
-
## 2.3.6-next.0
|
|
75
|
-
|
|
76
|
-
### Patch Changes
|
|
77
|
-
|
|
78
|
-
- Updated dependencies [49aa7f9]
|
|
79
|
-
- @paprika/helpers@2.4.0-next.0
|
|
80
|
-
|
|
81
|
-
## 2.3.5
|
|
82
|
-
|
|
83
|
-
### Patch Changes
|
|
84
|
-
|
|
85
|
-
- Updated dependencies [0dcf307]
|
|
86
|
-
- Updated dependencies [0bf34d9]
|
|
87
|
-
- Updated dependencies [0dcf307]
|
|
88
|
-
- Updated dependencies [9ac6aca]
|
|
89
|
-
- @paprika/helpers@2.3.0
|
|
90
|
-
- @paprika/tokens@2.0.0
|
|
91
|
-
- @paprika/raw-button@1.0.12
|
|
92
|
-
- @paprika/stylers@1.1.6
|
|
93
|
-
|
|
94
|
-
## 2.3.5-next.2
|
|
95
|
-
|
|
96
|
-
### Patch Changes
|
|
97
|
-
|
|
98
|
-
- Updated dependencies [9ac6aca]
|
|
99
|
-
- @paprika/tokens@2.0.0-next.1
|
|
100
|
-
- @paprika/raw-button@1.0.12-next.1
|
|
101
|
-
- @paprika/stylers@1.1.6-next.1
|
|
102
|
-
|
|
103
|
-
## 2.3.5-next.1
|
|
104
|
-
|
|
105
|
-
### Patch Changes
|
|
106
|
-
|
|
107
|
-
- Updated dependencies [0dcf307]
|
|
108
|
-
- Updated dependencies [0dcf307]
|
|
109
|
-
- @paprika/helpers@2.3.0-next.0
|
|
110
|
-
|
|
111
|
-
## 2.3.5-next.0
|
|
112
|
-
|
|
113
|
-
### Patch Changes
|
|
114
|
-
|
|
115
|
-
- Updated dependencies [0bf34d9]
|
|
116
|
-
- @paprika/tokens@1.1.5-next.0
|
|
117
|
-
- @paprika/raw-button@1.0.12-next.0
|
|
118
|
-
- @paprika/stylers@1.1.6-next.0
|
|
119
|
-
|
|
120
|
-
## 2.3.4
|
|
121
|
-
|
|
122
|
-
### Patch Changes
|
|
123
|
-
|
|
124
|
-
- Updated dependencies [63f9a05]
|
|
125
|
-
- Updated dependencies [15b2a9a]
|
|
126
|
-
- @paprika/helpers@2.2.1
|
|
127
|
-
- @paprika/stylers@1.1.5
|
|
128
|
-
- @paprika/tokens@1.1.4
|
|
129
|
-
- @paprika/raw-button@1.0.11
|
|
130
|
-
|
|
131
|
-
## 2.3.4-next.1
|
|
132
|
-
|
|
133
|
-
### Patch Changes
|
|
134
|
-
|
|
135
|
-
- Updated dependencies [15b2a9a]
|
|
136
|
-
- @paprika/stylers@1.1.5-next.0
|
|
137
|
-
- @paprika/tokens@1.1.4-next.0
|
|
138
|
-
- @paprika/raw-button@1.0.11-next.0
|
|
139
|
-
|
|
140
|
-
## 2.3.4-next.0
|
|
141
|
-
|
|
142
|
-
### Patch Changes
|
|
143
|
-
|
|
144
|
-
- Updated dependencies [63f9a05]
|
|
145
|
-
- @paprika/helpers@2.2.1-next.0
|
|
146
|
-
|
|
147
|
-
## 2.3.3
|
|
148
|
-
|
|
149
|
-
### Patch Changes
|
|
150
|
-
|
|
151
|
-
- Updated dependencies [036fe83]
|
|
152
|
-
- Updated dependencies [9e15465]
|
|
153
|
-
- Updated dependencies [343d673]
|
|
154
|
-
- Updated dependencies [80361b2]
|
|
155
|
-
- @paprika/tokens@1.1.3
|
|
156
|
-
- @paprika/helpers@2.2.0
|
|
157
|
-
- @paprika/raw-button@1.0.10
|
|
158
|
-
- @paprika/stylers@1.1.4
|
|
159
|
-
|
|
160
|
-
## 2.3.3-next.2
|
|
161
|
-
|
|
162
|
-
### Patch Changes
|
|
163
|
-
|
|
164
|
-
- Updated dependencies [80361b2]
|
|
165
|
-
- @paprika/helpers@2.2.0-next.1
|
|
166
|
-
|
|
167
|
-
## 2.3.3-next.1
|
|
168
|
-
|
|
169
|
-
### Patch Changes
|
|
170
|
-
|
|
171
|
-
- Updated dependencies [036fe83]
|
|
172
|
-
- @paprika/tokens@1.1.3-next.0
|
|
173
|
-
- @paprika/raw-button@1.0.10-next.0
|
|
174
|
-
- @paprika/stylers@1.1.4-next.0
|
|
175
|
-
|
|
176
|
-
## 2.3.3-next.0
|
|
177
|
-
|
|
178
|
-
### Patch Changes
|
|
179
|
-
|
|
180
|
-
- Updated dependencies [343d673]
|
|
181
|
-
- @paprika/helpers@2.1.4-next.0
|
|
182
|
-
|
|
183
|
-
## 2.3.2
|
|
184
|
-
|
|
185
|
-
### Patch Changes
|
|
186
|
-
|
|
187
|
-
- Updated dependencies [fd24fbe]
|
|
188
|
-
- Updated dependencies [ab8d494]
|
|
189
|
-
- @paprika/stylers@1.1.3
|
|
190
|
-
- @paprika/tokens@1.1.2
|
|
191
|
-
- @paprika/raw-button@1.0.9
|
|
192
|
-
|
|
193
|
-
## 2.3.2-next.0
|
|
194
|
-
|
|
195
|
-
### Patch Changes
|
|
196
|
-
|
|
197
|
-
- Updated dependencies [ab8d494]
|
|
198
|
-
- @paprika/tokens@1.1.2-next.0
|
|
199
|
-
- @paprika/raw-button@1.0.9-next.0
|
|
200
|
-
- @paprika/stylers@1.1.3-next.0
|
|
201
|
-
|
|
202
|
-
## 2.3.1
|
|
203
|
-
|
|
204
|
-
### Patch Changes
|
|
205
|
-
|
|
206
|
-
- Updated dependencies [27e1439]
|
|
207
|
-
- @paprika/tokens@1.1.1
|
|
208
|
-
- @paprika/raw-button@1.0.8
|
|
209
|
-
- @paprika/stylers@1.1.2
|
|
210
|
-
|
|
211
|
-
## 2.3.1-next.0
|
|
212
|
-
|
|
213
|
-
### Patch Changes
|
|
214
|
-
|
|
215
|
-
- Updated dependencies [27e1439]
|
|
216
|
-
- @paprika/tokens@1.1.1-next.0
|
|
217
|
-
- @paprika/raw-button@1.0.8-next.0
|
|
218
|
-
- @paprika/stylers@1.1.2-next.0
|
|
219
|
-
|
|
220
|
-
## 2.3.0
|
|
221
|
-
|
|
222
|
-
### Minor Changes
|
|
223
|
-
|
|
224
|
-
- 5c43029: Remove background colour on tabs
|
|
225
|
-
|
|
226
|
-
### Patch Changes
|
|
227
|
-
|
|
228
|
-
- Updated dependencies [3385c1f]
|
|
229
|
-
- Updated dependencies [fd94ddb]
|
|
230
|
-
- @paprika/tokens@1.1.0
|
|
231
|
-
- @paprika/raw-button@1.0.7
|
|
232
|
-
- @paprika/stylers@1.1.1
|
|
233
|
-
|
|
234
|
-
## 2.3.0-next.1
|
|
235
|
-
|
|
236
|
-
### Minor Changes
|
|
237
|
-
|
|
238
|
-
- 5c43029: Remove background colour on tabs
|
|
239
|
-
|
|
240
|
-
## 2.2.8-next.0
|
|
241
|
-
|
|
242
|
-
### Patch Changes
|
|
243
|
-
|
|
244
|
-
- Updated dependencies [3385c1f]
|
|
245
|
-
- @paprika/tokens@1.1.0-next.0
|
|
246
|
-
- @paprika/raw-button@1.0.7-next.0
|
|
247
|
-
- @paprika/stylers@1.1.1-next.0
|
|
248
|
-
|
|
249
|
-
## 2.2.7
|
|
250
|
-
|
|
251
|
-
### Patch Changes
|
|
252
|
-
|
|
253
|
-
- Updated dependencies [ca237ea]
|
|
254
|
-
- @paprika/stylers@1.1.0
|
|
255
|
-
- @paprika/raw-button@1.0.6
|
|
256
|
-
|
|
257
|
-
## 2.2.7-next.0
|
|
258
|
-
|
|
259
|
-
### Patch Changes
|
|
260
|
-
|
|
261
|
-
- Updated dependencies [ca237ea]
|
|
262
|
-
- @paprika/stylers@1.1.0-next.0
|
|
263
|
-
- @paprika/raw-button@1.0.6-next.0
|
|
264
|
-
|
|
265
|
-
## 2.2.6
|
|
266
|
-
|
|
267
|
-
### Patch Changes
|
|
268
|
-
|
|
269
|
-
- Updated dependencies [ff8eae9]
|
|
270
|
-
- @paprika/stylers@1.0.1
|
|
271
|
-
- @paprika/helpers@2.1.3
|
|
272
|
-
- @paprika/raw-button@1.0.5
|
|
273
|
-
|
|
274
|
-
## 2.2.6-next.0
|
|
275
|
-
|
|
276
|
-
### Patch Changes
|
|
277
|
-
|
|
278
|
-
- Updated dependencies [ff8eae9]
|
|
279
|
-
- @paprika/stylers@1.0.1-next.0
|
|
280
|
-
- @paprika/helpers@2.1.3-next.0
|
|
281
|
-
- @paprika/raw-button@1.0.5-next.0
|
|
282
|
-
|
|
283
|
-
## 2.2.5
|
|
284
|
-
|
|
285
|
-
### Patch Changes
|
|
286
|
-
|
|
287
|
-
- 50fc8d6: Make it so a tab that is a link can be marked as "active"
|
|
288
|
-
- f2de3be: If there is no Tabs.Panel, dont have an accessibity error
|
|
289
|
-
- 17bb9de: Make spacebar activate a nav tab if it is a link
|
|
290
|
-
|
|
291
|
-
## 2.2.5-next.1
|
|
292
|
-
|
|
293
|
-
### Patch Changes
|
|
294
|
-
|
|
295
|
-
- 50fc8d6: Make it so a tab that is a link can be marked as "active"
|
|
296
|
-
- 17bb9de: Make spacebar activate a nav tab if it is a link
|
|
297
|
-
|
|
298
|
-
## 2.2.5-next.0
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
|
-
|
|
302
|
-
- f2de3be: If there is no Tabs.Panel, dont have an accessibity error
|
|
303
|
-
|
|
304
|
-
## 2.2.4
|
|
305
|
-
|
|
306
|
-
### Patch Changes
|
|
307
|
-
|
|
308
|
-
- Updated dependencies [e856d54]
|
|
309
|
-
- @paprika/raw-button@1.0.4
|
|
310
|
-
|
|
311
|
-
## 2.2.4-next.0
|
|
312
|
-
|
|
313
|
-
### Patch Changes
|
|
314
|
-
|
|
315
|
-
- Updated dependencies [e856d54]
|
|
316
|
-
- @paprika/raw-button@1.0.4-next.0
|
|
317
|
-
|
|
318
|
-
## 2.2.3
|
|
319
|
-
|
|
320
|
-
### Patch Changes
|
|
321
|
-
|
|
322
|
-
- 3d446fd: Fixed the tab not being vertically centered when the <Tabs> component is set to be horizontally aligned.
|
|
323
|
-
|
|
324
|
-
## 2.2.3-next.0
|
|
325
|
-
|
|
326
|
-
### Patch Changes
|
|
327
|
-
|
|
328
|
-
- 3d446fd: Fixed the tab not being vertically centered when the <Tabs> component is set to be horizontally aligned.
|
|
329
|
-
|
|
330
|
-
## 2.2.2
|
|
331
|
-
|
|
332
|
-
### Patch Changes
|
|
333
|
-
|
|
334
|
-
- Updated dependencies [9ad9c79]
|
|
335
|
-
- @paprika/helpers@2.1.2
|
|
336
|
-
|
|
337
|
-
## 2.2.2-next.0
|
|
338
|
-
|
|
339
|
-
### Patch Changes
|
|
340
|
-
|
|
341
|
-
- Updated dependencies [9ad9c79]
|
|
342
|
-
- @paprika/helpers@2.1.2-next.0
|
|
343
|
-
|
|
344
|
-
## 2.2.1
|
|
345
|
-
|
|
346
|
-
### Patch Changes
|
|
347
|
-
|
|
348
|
-
- 7979fb6: Add null to defaultIndex and index proptype
|
|
349
|
-
- fe143b3: ### Fixed
|
|
350
|
-
|
|
351
|
-
- Set initial `focusIndex` to selected tab index, or first tab index if no tab is selected.
|
|
352
|
-
|
|
353
|
-
[@mikrotron](https://github.com/mikrotron)
|
|
354
|
-
|
|
355
|
-
## 2.2.1-next.1
|
|
356
|
-
|
|
357
|
-
### Patch Changes
|
|
358
|
-
|
|
359
|
-
- fe143b3: ### Fixed
|
|
360
|
-
|
|
361
|
-
- Set initial `focusIndex` to selected tab index, or first tab index if no tab is selected.
|
|
362
|
-
|
|
363
|
-
[@mikrotron](https://github.com/mikrotron)
|
|
364
|
-
|
|
365
|
-
## 2.2.1-next.0
|
|
366
|
-
|
|
367
|
-
### Patch Changes
|
|
368
|
-
|
|
369
|
-
- 7979fb6: Add null to defaultIndex and index proptype
|
|
370
|
-
|
|
371
|
-
## 2.2.0
|
|
372
|
-
|
|
373
|
-
### Minor Changes
|
|
374
|
-
|
|
375
|
-
- e00afcc: #### Added
|
|
376
|
-
|
|
377
|
-
- Capability for tab list to be rendered with no active tab.
|
|
378
|
-
- Applied expected ARIA attributes throughout.
|
|
379
|
-
|
|
380
|
-
#### Changed
|
|
381
|
-
|
|
382
|
-
- Refactored keyboard usage patterns – allow focus on disabled tabs and ensure focus movement and user interactions adhere to expected standards.
|
|
383
|
-
- Default props for `index` and `defaultIndex` have both been changed to `undefined`. This is NOT considered a breaking change as behaviour should remain the same (omitting `defaultIndex` still results in a selected first tab – unless first tab is disabled).
|
|
384
|
-
|
|
385
|
-
[@mikrotron](http://github.com/mikrotron)
|
|
386
|
-
|
|
387
|
-
## 2.2.0-next.0
|
|
388
|
-
|
|
389
|
-
### Minor Changes
|
|
390
|
-
|
|
391
|
-
- e00afcc: #### Added
|
|
392
|
-
|
|
393
|
-
- Capability for tab list to be rendered with no active tab.
|
|
394
|
-
- Applied expected ARIA attributes throughout.
|
|
395
|
-
|
|
396
|
-
#### Changed
|
|
397
|
-
|
|
398
|
-
- Refactored keyboard usage patterns – allow focus on disabled tabs and ensure focus movement and user interactions adhere to expected standards.
|
|
399
|
-
- Default props for `index` and `defaultIndex` have both been changed to `undefined`. This is NOT considered a breaking change as behaviour should remain the same (omitting `defaultIndex` still results in a selected first tab – unless first tab is disabled).
|
|
400
|
-
|
|
401
|
-
[@mikrotron](http://github.com/mikrotron)
|
|
402
|
-
|
|
403
|
-
All notable changes to this project will be documented in this file.
|
|
404
|
-
|
|
405
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
406
|
-
|
|
407
|
-
## [Unreleased]
|
|
408
|
-
|
|
409
|
-
## [0.2.17] - 2020-09-02
|
|
410
|
-
|
|
411
|
-
### Added
|
|
412
|
-
|
|
413
|
-
- Created and placed all constants into type.js file. [@kaan.darcey](https://github.com/KDarcey)
|
|
414
|
-
|
|
415
|
-
## [1.0.2-alpha.2] - 2020-11-25
|
|
416
|
-
|
|
417
|
-
- Added `shouldUnmount` prop on `<Tabs.Panel>` to avoid unmount a single panel when switching between.
|
|
418
|
-
|
|
419
|
-
## [1.1.2-alpha.0] - 2021-01-21
|
|
420
|
-
|
|
421
|
-
### Added
|
|
422
|
-
|
|
423
|
-
- `isVertical` prop to render tabs in a stacked list. [@mikrotron](https://github.com/mikrotron)
|
|
424
|
-
- `hasInsetFocusStyle` prop for inset focus ring on Tab.Link children. [@mikrotron](https://github.com/mikrotron)
|
|
425
|
-
- `hasTruncation` prop to truncate tab labels when vertical. [@mikrotron](https://github.com/mikrotron)
|
|
426
|
-
- BREAKING CHANGE: `size` prop to control font size – results in default font size of 14px instead of 16px. Original 16px style now requires `size={Tabs.types.size.LARGE}` prop on `<Tabs>`. [@mikrotron](https://github.com/mikrotron)
|
|
427
|
-
|
|
428
|
-
### Fixed
|
|
429
|
-
|
|
430
|
-
- Restored broken styling for link `<Tab>`. [@mikrotron](https://github.com/mikrotron)
|
|
431
|
-
- Moved `a11yText` prop from `<Tabs.List>` to `<Tab>`. [@mikrotron](https://github.com/mikrotron)
|
|
432
|
-
- `<Tabs.List>` and `<Tabs.Panels>` will now support `null` children. [@mikrotron](https://github.com/mikrotron)
|
|
433
|
-
|
|
434
|
-
### Changed
|
|
435
|
-
|
|
436
|
-
- BREAKING CHANGE: Moved `height` prop from `<Tabs.List>` to `<Tabs>`, renamed to `tabHeight` and provided a default value of `48`. [@mikrotron](https://github.com/mikrotron)
|
|
437
|
-
|
|
438
|
-
## [2.0.1-alpha.0] - 2021-01-28
|
|
439
|
-
|
|
440
|
-
### Added
|
|
441
|
-
|
|
442
|
-
- Now this component can be controlled or uncontrolled
|