@bigbinary/neetoui 4.1.43 → 4.2.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 +88 -73
- package/formik.js +4 -4
- package/index.css +1 -1
- package/index.js +4 -4
- package/layouts.js +3 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
** Represent a version as second level heading and write the version number inside a square bracket, eg: ## [3.3.2]
|
|
9
9
|
|
|
10
10
|
--->
|
|
11
|
-
|
|
12
11
|
# Changelog
|
|
13
12
|
|
|
14
13
|
All notable changes to this project will be documented in this file.
|
|
@@ -17,15 +16,33 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
17
16
|
|
|
18
17
|
Prefix the change with one of these keywords:
|
|
19
18
|
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
19
|
+
- *Added*: for new features.
|
|
20
|
+
- *Changed*: for changes in existing functionality.
|
|
21
|
+
- *Deprecated*: for soon-to-be removed features.
|
|
22
|
+
- *Removed*: for now removed features.
|
|
23
|
+
- *Fixed*: for any bug fixes.
|
|
24
|
+
- *Security*: in case of vulnerabilities.
|
|
26
25
|
|
|
27
|
-
## 4.
|
|
26
|
+
## 4.2.0 - 2023-01-19
|
|
27
|
+
|
|
28
|
+
Fixed getToastrMessage in Toastr to accept object with the placeholder value for the translations.
|
|
29
|
+
|
|
30
|
+
## 4.1.44 - 2023-01-17
|
|
31
|
+
|
|
32
|
+
- Updated: Button keyboard focus styles
|
|
33
|
+
- Updated: Radio keyboard focus styles
|
|
34
|
+
- Updated: Checkbox keyboard focus styles
|
|
35
|
+
- Updated: `antd` Checkbox focus styles in Table
|
|
36
|
+
- Added: Switch focus styles
|
|
37
|
+
- Added: Tab focus styles
|
|
38
|
+
- Added: Accordion focus styles
|
|
39
|
+
- Added: Pagination focus styles
|
|
40
|
+
- Added: `antd` Pagination focus styles in Table
|
|
28
41
|
|
|
42
|
+
Screenshot
|
|
43
|
+
|
|
44
|
+
<img width="992" alt="Group 1 (1)" src="https://user-images.githubusercontent.com/48869249/212918441-d5c2c57c-16b1-4da7-a472-e64134b659ce.png">
|
|
45
|
+
## 4.1.43 - 2023-01-09
|
|
29
46
|
Added function in Toastr to check for notice_code in response and if it's not present then it will fall back to notice.
|
|
30
47
|
|
|
31
48
|
## 4.1.42 - 2023-01-05
|
|
@@ -34,11 +51,11 @@ Added function in Toastr to check for notice_code in response and if it's not pr
|
|
|
34
51
|
|
|
35
52
|
## 4.1.41 - 2023-01-05
|
|
36
53
|
|
|
37
|
-
- Fixed: Focus trap for conditionally rendered elements in
|
|
54
|
+
- Fixed: Focus trap for conditionally rendered elements in *Overlay*
|
|
38
55
|
|
|
39
56
|
## 4.1.40 - 2022-12-30
|
|
40
57
|
|
|
41
|
-
- Added: word break for
|
|
58
|
+
- Added: word break for *Modal* body and *Tooltip* content
|
|
42
59
|
|
|
43
60
|
## 4.1.38 - 2022-12-29
|
|
44
61
|
|
|
@@ -47,12 +64,12 @@ Added function in Toastr to check for notice_code in response and if it's not pr
|
|
|
47
64
|
|
|
48
65
|
## 4.1.37 - 2022-12-28
|
|
49
66
|
|
|
50
|
-
- Fixed: issue with multiple links in
|
|
51
|
-
- Changed: logic in
|
|
67
|
+
- Fixed: issue with multiple links in *Sidebar* getting active at the same time.
|
|
68
|
+
- Changed: logic in *Select* component to respect `getOptionValue` prop.
|
|
52
69
|
|
|
53
70
|
## 4.1.35 - 2022-12-27
|
|
54
71
|
|
|
55
|
-
- Added: the ability to choose email from options in
|
|
72
|
+
- Added: the ability to choose email from options in *EmailInput*.
|
|
56
73
|
|
|
57
74
|
## 4.1.34 - 2022-12-26
|
|
58
75
|
|
|
@@ -60,23 +77,23 @@ Added function in Toastr to check for notice_code in response and if it's not pr
|
|
|
60
77
|
|
|
61
78
|
## 4.1.33 - 2022-12-25
|
|
62
79
|
|
|
63
|
-
- Fixed: Issues with `value` prop of
|
|
80
|
+
- Fixed: Issues with `value` prop of *Select* component.
|
|
64
81
|
|
|
65
82
|
## 4.1.32 - 2022-12-25
|
|
66
83
|
|
|
67
|
-
Added:
|
|
84
|
+
Added: *Checkbox* and *MultiEmailInput* are wrapped with `forwardref`.
|
|
68
85
|
|
|
69
86
|
## 4.1.31 - 2022-12-21
|
|
70
87
|
|
|
71
|
-
- Fixed: issue with continue in
|
|
88
|
+
- Fixed: issue with continue in *BlockNavigation*.
|
|
72
89
|
|
|
73
90
|
## 4.1.30 - 2022-12-21
|
|
74
91
|
|
|
75
|
-
- Added: functionality to scroll to the selected value in
|
|
92
|
+
- Added: functionality to scroll to the selected value in *Select* component
|
|
76
93
|
|
|
77
94
|
## 4.1.29 - 2022-12-21
|
|
78
95
|
|
|
79
|
-
- Fixed: pressing `enter` key in
|
|
96
|
+
- Fixed: pressing `enter` key in *Select* to select an option submitting the *Form*.
|
|
80
97
|
|
|
81
98
|
## 4.1.28 - 2022-12-20
|
|
82
99
|
|
|
@@ -84,7 +101,7 @@ Added: _Checkbox_ and _MultiEmailInput_ are wrapped with `forwardref`.
|
|
|
84
101
|
|
|
85
102
|
## 4.1.27 - 2022-12-19
|
|
86
103
|
|
|
87
|
-
- Updated:
|
|
104
|
+
- Updated: *Product switcher* component in neetoUI
|
|
88
105
|
- Updated: the icon Tooltip content from "App switcher" to "Product switcher"
|
|
89
106
|
|
|
90
107
|
## 4.1.26 - 2022-12-19
|
|
@@ -102,7 +119,7 @@ Changed: Made `shouldDynamicallyRenderRowSize` `false` by default.
|
|
|
102
119
|
|
|
103
120
|
## 4.1.22 - 2022-12-07
|
|
104
121
|
|
|
105
|
-
- Added:
|
|
122
|
+
- Added: *Popover* component
|
|
106
123
|
|
|
107
124
|
<img width="1100" alt="Screenshot 2022-12-05 at 5 42 51 PM" src="https://user-images.githubusercontent.com/24496302/205637383-afe596b8-c117-43ce-ad00-fee566fa0859.png">
|
|
108
125
|
## 4.1.20 - 2022-12-06
|
|
@@ -122,14 +139,12 @@ Fixed: Form validation triggered with incorrect values from MultiEmailInput.
|
|
|
122
139
|
- Fixed: Wrong managers bundle entry point in rollup config
|
|
123
140
|
- Added: `OverlayManager` which is used by all overlay components in neetoUI internally. The host application can use the methods inside the class to determine whether an Overlay is open in the product or not.
|
|
124
141
|
- Removed: `ModalManager` and migrate the Modal component to use `OverlayManager`.
|
|
125
|
-
|
|
126
142
|
## 4.1.12 - 2022-11-24
|
|
127
|
-
|
|
128
143
|
- Fixed: UI issues in Subheader
|
|
129
144
|
|
|
130
145
|
## 4.1.11 - 2022-11-21
|
|
131
146
|
|
|
132
|
-
- Fixed: warnings in
|
|
147
|
+
- Fixed: warnings in *DatePicker* and *TimePicker* component
|
|
133
148
|
|
|
134
149
|
## 4.1.10 - 2022-11-17
|
|
135
150
|
|
|
@@ -137,7 +152,7 @@ Fixed: Form validation triggered with incorrect values from MultiEmailInput.
|
|
|
137
152
|
|
|
138
153
|
## 4.1.9 - 2022-11-16
|
|
139
154
|
|
|
140
|
-
- Fixed: `validateOnBlur` and `validateOnChange` getting triggered before the first submission of the
|
|
155
|
+
- Fixed: `validateOnBlur` and `validateOnChange` getting triggered before the first submission of the *Form*.
|
|
141
156
|
|
|
142
157
|
## 4.1.8 - 2022-11-16
|
|
143
158
|
|
|
@@ -150,7 +165,7 @@ Fixed: Form validation triggered with incorrect values from MultiEmailInput.
|
|
|
150
165
|
|
|
151
166
|
## 4.1.6 - 2022-11-13
|
|
152
167
|
|
|
153
|
-
- Fixed: issue with
|
|
168
|
+
- Fixed: issue with *Select* dropdown when scrolling the page.
|
|
154
169
|
|
|
155
170
|
## 4.1.5 - 2022-11-11
|
|
156
171
|
|
|
@@ -158,7 +173,7 @@ Fixed: Form validation triggered with incorrect values from MultiEmailInput.
|
|
|
158
173
|
|
|
159
174
|
## 4.1.4 - 2022-11-10
|
|
160
175
|
|
|
161
|
-
- Added: `className` as props to
|
|
176
|
+
- Added: `className` as props to *Form* component.
|
|
162
177
|
|
|
163
178
|
## 4.1.3 - 2022-11-10
|
|
164
179
|
|
|
@@ -173,15 +188,15 @@ Fixed: Form validation triggered with incorrect values from MultiEmailInput.
|
|
|
173
188
|
|
|
174
189
|
## 4.1.1 - 2022-11-03
|
|
175
190
|
|
|
176
|
-
- Added: Eyedropper to
|
|
191
|
+
- Added: Eyedropper to *ColorPicker*
|
|
177
192
|
|
|
178
193
|
## 4.1.0 - 2022-11-03
|
|
179
194
|
|
|
180
|
-
- Changed: **BREAKING** Name of the
|
|
195
|
+
- Changed: **BREAKING** Name of the *EmailInput* component to *MultiEmailInput* in both components and Formik components.
|
|
181
196
|
|
|
182
197
|
## 4.0.17 - 2022-10-28
|
|
183
198
|
|
|
184
|
-
- Fixed:`ValidateDOMNesting` warning in
|
|
199
|
+
- Fixed:`ValidateDOMNesting` warning in *DatePicker* component.
|
|
185
200
|
- Fixed: the issue with date items looking disabled in normal state
|
|
186
201
|
|
|
187
202
|
## 4.0.16 - 2022-10-28
|
|
@@ -203,7 +218,7 @@ Changes documentations to sentence case from title casing.
|
|
|
203
218
|
|
|
204
219
|
## 4.0.12 - 2022-10-17
|
|
205
220
|
|
|
206
|
-
- Added: tooltip to
|
|
221
|
+
- Added: tooltip to *Avatar* component
|
|
207
222
|
|
|
208
223
|
## 4.0.11 - 2022-10-10
|
|
209
224
|
|
|
@@ -220,7 +235,7 @@ Changes documentations to sentence case from title casing.
|
|
|
220
235
|
|
|
221
236
|
## 4.0.8 - 2022-09-28
|
|
222
237
|
|
|
223
|
-
- Added:
|
|
238
|
+
- Added: *Kbd* component to render keyboard keys.
|
|
224
239
|
|
|
225
240
|
## 4.0.7 - 2022-09-22
|
|
226
241
|
|
|
@@ -228,7 +243,7 @@ Changes documentations to sentence case from title casing.
|
|
|
228
243
|
|
|
229
244
|
## 4.0.6 - 2022-09-20
|
|
230
245
|
|
|
231
|
-
- Changed: default value of `defaultPageSize` prop of
|
|
246
|
+
- Changed: default value of `defaultPageSize` prop of *Table* component from 100 to 15.
|
|
232
247
|
|
|
233
248
|
## 4.0.5 - 2022-09-20
|
|
234
249
|
|
|
@@ -236,24 +251,24 @@ Changes documentations to sentence case from title casing.
|
|
|
236
251
|
|
|
237
252
|
## 4.0.4 - 2022-09-16
|
|
238
253
|
|
|
239
|
-
- Changed: Allowed `hideOnSinglePage` override in
|
|
254
|
+
- Changed: Allowed `hideOnSinglePage` override in *Table* `paginationProps`
|
|
240
255
|
|
|
241
256
|
## 4.0.3 - 2022-09-13
|
|
242
257
|
|
|
243
258
|
- Added: Storybook addon that lets users toggle between dark and light mode
|
|
244
259
|
- Fixed: date/time input color in darkmode
|
|
245
|
-
- Fixed: overlapping issue with
|
|
260
|
+
- Fixed: overlapping issue with *Dropdown* in *Table*
|
|
246
261
|
|
|
247
262
|
## 4.0.2 - 2022-09-12
|
|
248
263
|
|
|
249
|
-
- Fixed: navigation issue in
|
|
264
|
+
- Fixed: navigation issue in *BlockNavigation* component
|
|
250
265
|
|
|
251
266
|
## 4.0.1 - 2022-09-12
|
|
252
267
|
|
|
253
268
|
- Added: `secondary` style variant
|
|
254
269
|
- Added: `info` style variant
|
|
255
270
|
- Removed: `inactive` style variant
|
|
256
|
-
- Fixed issue with custom target in
|
|
271
|
+
- Fixed issue with custom target in *Dropdown*
|
|
257
272
|
- Fixed alignment issues in Dropdown `sizing` Story
|
|
258
273
|
- Updated select styles of antd table pagination
|
|
259
274
|
- Fixed Menuhorizontal button size in Table
|
|
@@ -512,8 +527,8 @@ Changes documentations to sentence case from title casing.
|
|
|
512
527
|
|
|
513
528
|
## 3.5.11 - 2022-07-06
|
|
514
529
|
|
|
515
|
-
- Added: a
|
|
516
|
-
- Changed:
|
|
530
|
+
- Added: a *Button* component in neetoui/formik that automatically disables itself if the form is not in a submittable state. Example: the form contains any invalid data, the form content has not been changed, or the form is already being submitted. To make this work, you need to import *Button* from "neetoui/formik" as your submit button.
|
|
531
|
+
- Changed: *ActionBlock* will now use the above-mentioned logic internally. So its submit/cancel buttons will also be automatically enabled or disabled.
|
|
517
532
|
|
|
518
533
|
## 3.5.10 - 2022-07-05
|
|
519
534
|
|
|
@@ -521,7 +536,7 @@ Changes documentations to sentence case from title casing.
|
|
|
521
536
|
|
|
522
537
|
## 3.5.9 - 2022-07-05
|
|
523
538
|
|
|
524
|
-
- Fixed: Checkbox in
|
|
539
|
+
- Fixed: Checkbox in *Table* component cut off in lower screen resolutions.
|
|
525
540
|
|
|
526
541
|
## 3.5.8 - 2022-07-01
|
|
527
542
|
|
|
@@ -529,7 +544,7 @@ Changes documentations to sentence case from title casing.
|
|
|
529
544
|
|
|
530
545
|
## 3.5.7 - 2022-06-24
|
|
531
546
|
|
|
532
|
-
- Added: `startsFrom` to `counter` prop of
|
|
547
|
+
- Added: `startsFrom` to `counter` prop of *EmailInput* component.
|
|
533
548
|
|
|
534
549
|
## 3.5.6 - 2022-06-13
|
|
535
550
|
|
|
@@ -537,19 +552,19 @@ Changes documentations to sentence case from title casing.
|
|
|
537
552
|
|
|
538
553
|
## 3.5.5 - 2022-06-09
|
|
539
554
|
|
|
540
|
-
- Fixed: issue with `onClose` function reference when closing the
|
|
555
|
+
- Fixed: issue with `onClose` function reference when closing the *Modal* using `Esc`.
|
|
541
556
|
|
|
542
557
|
## 3.5.4 - 2022-06-08
|
|
543
558
|
|
|
544
|
-
Fixed: `TypeError` issue in
|
|
559
|
+
Fixed: `TypeError` issue in *Toastr* component.
|
|
545
560
|
|
|
546
561
|
## 3.5.3 - 2022-06-07
|
|
547
562
|
|
|
548
|
-
- Fixed: issue with `closeOnEsc` prop when the
|
|
563
|
+
- Fixed: issue with `closeOnEsc` prop when the *Dropdown* is controlled.
|
|
549
564
|
|
|
550
565
|
## 3.5.2 - 2022-06-07
|
|
551
566
|
|
|
552
|
-
- Fixed : placeholder content extending into multiple lines in
|
|
567
|
+
- Fixed : placeholder content extending into multiple lines in *Select* component.
|
|
553
568
|
|
|
554
569
|
## 3.5.1 - 2022-06-07
|
|
555
570
|
|
|
@@ -569,22 +584,22 @@ Fixed: `TypeError` issue in _Toastr_ component.
|
|
|
569
584
|
|
|
570
585
|
## 3.4.3
|
|
571
586
|
|
|
572
|
-
- Added: `prefix` and `suffix` to
|
|
587
|
+
- Added: `prefix` and `suffix` to *EmailInput*.
|
|
573
588
|
|
|
574
589
|
## 3.4.2
|
|
575
590
|
|
|
576
|
-
- Fixed: issue with search not working with `isCreatable`
|
|
591
|
+
- Fixed: issue with search not working with `isCreatable` *Select*.
|
|
577
592
|
|
|
578
593
|
## 3.4.1
|
|
579
594
|
|
|
580
|
-
- Fixed: issue with `autoFocus` not working on
|
|
595
|
+
- Fixed: issue with `autoFocus` not working on *Input* when inside *Dropdown*.
|
|
581
596
|
|
|
582
597
|
## 3.4.0
|
|
583
598
|
|
|
584
599
|
- Removed: all instances of TailwindCSS.
|
|
585
|
-
- Added: `label` prop in
|
|
586
|
-
- Changed: Added `neetoCal` into
|
|
587
|
-
- Removed: `count` limiting (to 99) logic from
|
|
600
|
+
- Added: `label` prop in *Tags* molecule.
|
|
601
|
+
- Changed: Added `neetoCal` into *AppSwitcher* app list .
|
|
602
|
+
- Removed: `count` limiting (to 99) logic from *MenuBar.Block*.
|
|
588
603
|
|
|
589
604
|
## 3.3.13
|
|
590
605
|
|
|
@@ -592,20 +607,20 @@ Fixed: `TypeError` issue in _Toastr_ component.
|
|
|
592
607
|
|
|
593
608
|
## 3.3.12
|
|
594
609
|
|
|
595
|
-
- Fixed: loading state in
|
|
610
|
+
- Fixed: loading state in *ActionBlock* component.
|
|
596
611
|
|
|
597
612
|
## 3.3.11
|
|
598
613
|
|
|
599
|
-
- Added: New input format for the
|
|
614
|
+
- Added: New input format for the *EmailInput* component.
|
|
600
615
|
|
|
601
616
|
## 3.3.10
|
|
602
617
|
|
|
603
|
-
- Fixed: Removed unnecessary scrollbar in
|
|
604
|
-
- Added: `maxHeight` prop to the
|
|
618
|
+
- Fixed: Removed unnecessary scrollbar in *Table* component.
|
|
619
|
+
- Added: `maxHeight` prop to the *EmailInput* component.
|
|
605
620
|
|
|
606
621
|
## 3.3.9
|
|
607
622
|
|
|
608
|
-
- Fixed:
|
|
623
|
+
- Fixed: *ActionDropdown* issues with common props for button and dropdown
|
|
609
624
|
|
|
610
625
|
## 3.3.7
|
|
611
626
|
|
|
@@ -613,44 +628,44 @@ Fixed: `TypeError` issue in _Toastr_ component.
|
|
|
613
628
|
|
|
614
629
|
## 3.3.6
|
|
615
630
|
|
|
616
|
-
- Fixed: Reset Formik data on continue action in
|
|
631
|
+
- Fixed: Reset Formik data on continue action in *BlockNavigation* component.
|
|
617
632
|
|
|
618
633
|
## 3.3.5
|
|
619
634
|
|
|
620
|
-
- Added: active state to `NavLink` in
|
|
635
|
+
- Added: active state to `NavLink` in *Sidebar* component.
|
|
621
636
|
|
|
622
637
|
## 3.3.4
|
|
623
638
|
|
|
624
|
-
- Added: `hideOnTargetExit` prop to
|
|
639
|
+
- Added: `hideOnTargetExit` prop to *Tooltip* component
|
|
625
640
|
|
|
626
641
|
## 3.3.3
|
|
627
642
|
|
|
628
|
-
- Added: data-cy for in
|
|
643
|
+
- Added: data-cy for in *Alert* component elements
|
|
629
644
|
|
|
630
645
|
## 3.3.2
|
|
631
646
|
|
|
632
|
-
- Fixed: Added override for `onClick` prop in
|
|
647
|
+
- Fixed: Added override for `onClick` prop in *Dropdown* component
|
|
633
648
|
|
|
634
649
|
## 3.3.1
|
|
635
650
|
|
|
636
|
-
- Fixed: Typography of Header in
|
|
637
|
-
- Fixed: Max width issue in
|
|
651
|
+
- Fixed: Typography of Header in *Alert* component.
|
|
652
|
+
- Fixed: Max width issue in *Dropdown* component.
|
|
638
653
|
|
|
639
654
|
## 3.3.0
|
|
640
655
|
|
|
641
|
-
- Changed: **BREAKING** `isLoading` prop of
|
|
642
|
-
- Changed: Implemented
|
|
643
|
-
- Deprecated: **BREAKING** `loading` prop of
|
|
644
|
-
- Removed: **BREAKING** `placement` prop from
|
|
656
|
+
- Changed: **BREAKING** `isLoading` prop of *Table* to `loading`.
|
|
657
|
+
- Changed: Implemented *Dropdown* component with Tippy.js and removed `react-popper`
|
|
658
|
+
- Deprecated: **BREAKING** `loading` prop of *Pane*, *Modal* and *Alert* components.
|
|
659
|
+
- Removed: **BREAKING** `placement` prop from *Tooltip* (Use position instead).
|
|
645
660
|
|
|
646
661
|
#### UI
|
|
647
662
|
|
|
648
|
-
- Changed: colors of `$neeto-ui-warning` and `$neeto-ui-error` in
|
|
649
|
-
- Changed: the text color in
|
|
650
|
-
- Changed: UI of
|
|
651
|
-
- Changed: look and feel of
|
|
652
|
-
- Changed: Contrast of
|
|
653
|
-
- Changed: Made
|
|
654
|
-
- Added: new variant for
|
|
663
|
+
- Changed: colors of `$neeto-ui-warning` and `$neeto-ui-error` in *Color Palette*
|
|
664
|
+
- Changed: the text color in *Table* to `$neeto-ui-black`
|
|
665
|
+
- Changed: UI of *Tag* of component
|
|
666
|
+
- Changed: look and feel of *Danger Button*
|
|
667
|
+
- Changed: Contrast of *Avatar*, *Accordian*, *Toastr* and *Callout*
|
|
668
|
+
- Changed: Made *Modal* Header text and Close icon aligned in a line
|
|
669
|
+
- Added: new variant for *Danger Button* -`danger-text`
|
|
655
670
|
- Added: new accent colors
|
|
656
671
|
- 
|