draft-components 3.1.0 → 3.2.1
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/css/draft-components-utilities.css +32 -8
- package/css/draft-components.css +9 -33
- package/dist/components/alert/alert.css +0 -1
- package/dist/components/button/button.css +0 -5
- package/dist/components/checkbox/checkbox.css +0 -1
- package/dist/components/color-picker/color-picker.css +0 -1
- package/dist/components/date-picker/date-picker.css +0 -4
- package/dist/components/filter-buttons/filter-buttons.css +0 -1
- package/dist/components/filtered-search/filter-token.css +0 -1
- package/dist/components/filtered-search/filtered-search.css +0 -2
- package/dist/components/menu/menu.css +0 -4
- package/dist/components/password-input/password-input.css +0 -1
- package/dist/components/radio/radio.css +0 -1
- package/dist/components/segmented-control/segmented-control.css +1 -2
- package/dist/components/select/select.css +1 -2
- package/dist/components/slider/slider.css +6 -2
- package/dist/components/switch/switch.css +0 -1
- package/dist/components/table/table.css +0 -1
- package/dist/components/tabs/tabs.css +0 -1
- package/dist/components/text-input/text-input.css +1 -1
- package/dist/components/text-input/text-input.js +17 -3
- package/dist/components/toast/toast.css +0 -2
- package/package.json +1 -1
|
@@ -252,12 +252,36 @@
|
|
|
252
252
|
flex-wrap: wrap-reverse !important;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
+
.justify-items-start {
|
|
256
|
+
justify-items: start !important;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.justify-items-end {
|
|
260
|
+
justify-items: end !important;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.justify-items-center {
|
|
264
|
+
justify-items: center !important;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.justify-items-between {
|
|
268
|
+
justify-items: space-between !important;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.justify-items-around {
|
|
272
|
+
justify-items: space-around !important;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.justify-items-evenly {
|
|
276
|
+
justify-items: space-evenly !important;
|
|
277
|
+
}
|
|
278
|
+
|
|
255
279
|
.justify-content-start {
|
|
256
|
-
justify-content:
|
|
280
|
+
justify-content: start !important;
|
|
257
281
|
}
|
|
258
282
|
|
|
259
283
|
.justify-content-end {
|
|
260
|
-
justify-content:
|
|
284
|
+
justify-content: end !important;
|
|
261
285
|
}
|
|
262
286
|
|
|
263
287
|
.justify-content-center {
|
|
@@ -277,11 +301,11 @@
|
|
|
277
301
|
}
|
|
278
302
|
|
|
279
303
|
.align-items-start {
|
|
280
|
-
align-items:
|
|
304
|
+
align-items: start !important;
|
|
281
305
|
}
|
|
282
306
|
|
|
283
307
|
.align-items-end {
|
|
284
|
-
align-items:
|
|
308
|
+
align-items: end !important;
|
|
285
309
|
}
|
|
286
310
|
|
|
287
311
|
.align-items-center {
|
|
@@ -297,11 +321,11 @@
|
|
|
297
321
|
}
|
|
298
322
|
|
|
299
323
|
.align-content-start {
|
|
300
|
-
align-content:
|
|
324
|
+
align-content: start !important;
|
|
301
325
|
}
|
|
302
326
|
|
|
303
327
|
.align-content-end {
|
|
304
|
-
align-content:
|
|
328
|
+
align-content: end !important;
|
|
305
329
|
}
|
|
306
330
|
|
|
307
331
|
.align-content-center {
|
|
@@ -325,11 +349,11 @@
|
|
|
325
349
|
}
|
|
326
350
|
|
|
327
351
|
.align-self-start {
|
|
328
|
-
align-self:
|
|
352
|
+
align-self: start !important;
|
|
329
353
|
}
|
|
330
354
|
|
|
331
355
|
.align-self-end {
|
|
332
|
-
align-self:
|
|
356
|
+
align-self: end !important;
|
|
333
357
|
}
|
|
334
358
|
|
|
335
359
|
.align-self-center {
|
package/css/draft-components.css
CHANGED
|
@@ -1025,7 +1025,6 @@
|
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
1027
|
.dc-button:hover:not(:disabled) {
|
|
1028
|
-
cursor: pointer;
|
|
1029
1028
|
background: var(--dc-button-bg-hover);
|
|
1030
1029
|
}
|
|
1031
1030
|
|
|
@@ -1035,10 +1034,6 @@
|
|
|
1035
1034
|
grid-template-columns: repeat(2, auto);
|
|
1036
1035
|
}
|
|
1037
1036
|
|
|
1038
|
-
.dc-button_loading {
|
|
1039
|
-
cursor: default;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
1037
|
.dc-button_loading:disabled {
|
|
1043
1038
|
opacity: initial;
|
|
1044
1039
|
}
|
|
@@ -1702,7 +1697,7 @@
|
|
|
1702
1697
|
border-bottom-right-radius: calc(var(--dc-input-border-radius) - 1px);
|
|
1703
1698
|
}
|
|
1704
1699
|
|
|
1705
|
-
.dc-text-
|
|
1700
|
+
.dc-text-input_focused {
|
|
1706
1701
|
border-color: var(--dc-input-focus-ring-color);
|
|
1707
1702
|
box-shadow: 0 0 0 1px var(--dc-input-focus-ring-color);
|
|
1708
1703
|
}
|
|
@@ -1843,7 +1838,6 @@
|
|
|
1843
1838
|
.dc-password-input__toggle-button:not(:disabled):focus,
|
|
1844
1839
|
.dc-password-input__toggle-button:not(:disabled):hover {
|
|
1845
1840
|
color: var(--dc-password-input-toggle-color-hover);
|
|
1846
|
-
cursor: pointer;
|
|
1847
1841
|
background: var(--dc-password-input-toggle-bg-hover);
|
|
1848
1842
|
outline: none;
|
|
1849
1843
|
}
|
|
@@ -2008,6 +2002,7 @@
|
|
|
2008
2002
|
}
|
|
2009
2003
|
|
|
2010
2004
|
.dc-select__native {
|
|
2005
|
+
flex-grow: 1;
|
|
2011
2006
|
max-width: 100%;
|
|
2012
2007
|
padding-right: calc(var(--dc-select-height) + 0.5em);
|
|
2013
2008
|
padding-left: var(--dc-select-padding-x);
|
|
@@ -2017,7 +2012,6 @@
|
|
|
2017
2012
|
-webkit-appearance: none;
|
|
2018
2013
|
-moz-appearance: none;
|
|
2019
2014
|
appearance: none;
|
|
2020
|
-
cursor: pointer;
|
|
2021
2015
|
background: none;
|
|
2022
2016
|
border: none;
|
|
2023
2017
|
}
|
|
@@ -2027,7 +2021,6 @@
|
|
|
2027
2021
|
}
|
|
2028
2022
|
|
|
2029
2023
|
.dc-select__native:disabled {
|
|
2030
|
-
cursor: default;
|
|
2031
2024
|
opacity: 1;
|
|
2032
2025
|
}
|
|
2033
2026
|
|
|
@@ -2110,7 +2103,6 @@
|
|
|
2110
2103
|
width: 100%;
|
|
2111
2104
|
height: 100%;
|
|
2112
2105
|
vertical-align: middle;
|
|
2113
|
-
cursor: pointer;
|
|
2114
2106
|
background: var(--dc-switch-track-bg);
|
|
2115
2107
|
border-radius: var(--dc-switch-radius);
|
|
2116
2108
|
transition-duration: 0.2s;
|
|
@@ -2228,7 +2220,6 @@
|
|
|
2228
2220
|
width: 100%;
|
|
2229
2221
|
height: 100%;
|
|
2230
2222
|
vertical-align: middle;
|
|
2231
|
-
cursor: pointer;
|
|
2232
2223
|
background: var(--dc-checkbox-bg);
|
|
2233
2224
|
border: 1px solid var(--dc-checkbox-border-color);
|
|
2234
2225
|
border-radius: var(--dc-checkbox-radius);
|
|
@@ -2317,7 +2308,6 @@
|
|
|
2317
2308
|
width: var(--dc-radio-size);
|
|
2318
2309
|
height: var(--dc-radio-size);
|
|
2319
2310
|
vertical-align: middle;
|
|
2320
|
-
cursor: pointer;
|
|
2321
2311
|
background: var(--dc-radio-color-bg);
|
|
2322
2312
|
border: 1px solid var(--dc-radio-color-border);
|
|
2323
2313
|
border-radius: 50%;
|
|
@@ -2499,7 +2489,7 @@
|
|
|
2499
2489
|
|
|
2500
2490
|
.dc-slider__input::-moz-range-thumb {
|
|
2501
2491
|
box-sizing: border-box;
|
|
2502
|
-
display:
|
|
2492
|
+
display: block;
|
|
2503
2493
|
width: var(--dc-slider-thumb-width);
|
|
2504
2494
|
height: var(--dc-slider-thumb-height);
|
|
2505
2495
|
-moz-appearance: none;
|
|
@@ -2526,7 +2516,7 @@
|
|
|
2526
2516
|
|
|
2527
2517
|
.dc-slider__input::-webkit-slider-thumb {
|
|
2528
2518
|
box-sizing: border-box;
|
|
2529
|
-
display:
|
|
2519
|
+
display: block;
|
|
2530
2520
|
width: var(--dc-slider-thumb-width);
|
|
2531
2521
|
height: var(--dc-slider-thumb-height);
|
|
2532
2522
|
-webkit-appearance: none;
|
|
@@ -2539,6 +2529,10 @@
|
|
|
2539
2529
|
transition: var(--dc-slider-thumb-transition);
|
|
2540
2530
|
}
|
|
2541
2531
|
|
|
2532
|
+
.dc-slider__input::-webkit-slider-container {
|
|
2533
|
+
min-height: 0;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2542
2536
|
.dc-slider_range .dc-slider__input::-webkit-slider-thumb {
|
|
2543
2537
|
pointer-events: all;
|
|
2544
2538
|
}
|
|
@@ -2806,10 +2800,6 @@
|
|
|
2806
2800
|
background: var(--dc-day-bg-selected);
|
|
2807
2801
|
}
|
|
2808
2802
|
|
|
2809
|
-
.dc-calendar-day:hover {
|
|
2810
|
-
cursor: pointer;
|
|
2811
|
-
}
|
|
2812
|
-
|
|
2813
2803
|
.dc-calendar-day:hover > .dc-calendar-day__body {
|
|
2814
2804
|
box-shadow: inset 0 0 0 2px var(--dc-day-border-color-hover);
|
|
2815
2805
|
}
|
|
@@ -2957,7 +2947,7 @@
|
|
|
2957
2947
|
}
|
|
2958
2948
|
|
|
2959
2949
|
.dc-segmented__item + .dc-segmented__item::before {
|
|
2960
|
-
display:
|
|
2950
|
+
display: block;
|
|
2961
2951
|
float: left;
|
|
2962
2952
|
width: 1px;
|
|
2963
2953
|
height: calc(var(--dc-segmented-button-height) - var(--dc-segmented-button-radius) * 2);
|
|
@@ -2986,7 +2976,6 @@
|
|
|
2986
2976
|
-webkit-appearance: none;
|
|
2987
2977
|
-moz-appearance: none;
|
|
2988
2978
|
appearance: none;
|
|
2989
|
-
cursor: pointer;
|
|
2990
2979
|
-webkit-user-select: none;
|
|
2991
2980
|
-moz-user-select: none;
|
|
2992
2981
|
user-select: none;
|
|
@@ -3174,7 +3163,6 @@
|
|
|
3174
3163
|
height: var(--dc-color-picker-btn-size);
|
|
3175
3164
|
font-size: 0;
|
|
3176
3165
|
color: transparent;
|
|
3177
|
-
cursor: pointer;
|
|
3178
3166
|
background: var(--dc-color-picker-btn-color);
|
|
3179
3167
|
border-radius: 50%;
|
|
3180
3168
|
box-shadow: inset 0 0 0 1px var(--dc-color-picker-btn-inner-border-color);
|
|
@@ -3420,7 +3408,6 @@
|
|
|
3420
3408
|
-webkit-appearance: none;
|
|
3421
3409
|
-moz-appearance: none;
|
|
3422
3410
|
appearance: none;
|
|
3423
|
-
cursor: pointer;
|
|
3424
3411
|
background: transparent;
|
|
3425
3412
|
border: none;
|
|
3426
3413
|
}
|
|
@@ -3551,7 +3538,6 @@
|
|
|
3551
3538
|
-webkit-appearance: none;
|
|
3552
3539
|
-moz-appearance: none;
|
|
3553
3540
|
appearance: none;
|
|
3554
|
-
cursor: pointer;
|
|
3555
3541
|
background: none;
|
|
3556
3542
|
border: none;
|
|
3557
3543
|
border-radius: 4px;
|
|
@@ -3698,7 +3684,6 @@
|
|
|
3698
3684
|
-moz-appearance: none;
|
|
3699
3685
|
appearance: none;
|
|
3700
3686
|
pointer-events: none;
|
|
3701
|
-
cursor: pointer;
|
|
3702
3687
|
background: var(--dc-toast-close-btn-bg);
|
|
3703
3688
|
border: none;
|
|
3704
3689
|
border-radius: 50%;
|
|
@@ -3722,7 +3707,6 @@
|
|
|
3722
3707
|
-webkit-appearance: none;
|
|
3723
3708
|
-moz-appearance: none;
|
|
3724
3709
|
appearance: none;
|
|
3725
|
-
cursor: pointer;
|
|
3726
3710
|
background: var(--dc-toast-btn-bg);
|
|
3727
3711
|
border: none;
|
|
3728
3712
|
border-radius: 6px;
|
|
@@ -3983,7 +3967,6 @@
|
|
|
3983
3967
|
-webkit-appearance: none;
|
|
3984
3968
|
-moz-appearance: none;
|
|
3985
3969
|
appearance: none;
|
|
3986
|
-
cursor: pointer;
|
|
3987
3970
|
background: none;
|
|
3988
3971
|
border: none;
|
|
3989
3972
|
}
|
|
@@ -4107,10 +4090,6 @@
|
|
|
4107
4090
|
border-radius: 6px;
|
|
4108
4091
|
}
|
|
4109
4092
|
|
|
4110
|
-
.dc-menu-btn:hover {
|
|
4111
|
-
cursor: pointer;
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
4093
|
.dc-menu-btn:focus {
|
|
4115
4094
|
background: var(--dc-menu-item-bg);
|
|
4116
4095
|
outline: none;
|
|
@@ -4339,7 +4318,6 @@
|
|
|
4339
4318
|
font: var(--dc-text-sm);
|
|
4340
4319
|
color: var(--dc-filter-button-text-color);
|
|
4341
4320
|
white-space: nowrap;
|
|
4342
|
-
cursor: pointer;
|
|
4343
4321
|
-webkit-user-select: none;
|
|
4344
4322
|
-moz-user-select: none;
|
|
4345
4323
|
user-select: none;
|
|
@@ -4393,7 +4371,6 @@
|
|
|
4393
4371
|
padding: 0;
|
|
4394
4372
|
font-size: 14px;
|
|
4395
4373
|
color: inherit;
|
|
4396
|
-
cursor: pointer;
|
|
4397
4374
|
background: none;
|
|
4398
4375
|
border: none;
|
|
4399
4376
|
}
|
|
@@ -4636,7 +4613,6 @@
|
|
|
4636
4613
|
box-sizing: border-box;
|
|
4637
4614
|
padding: 6px 8px;
|
|
4638
4615
|
color: var(--dc-filtered-search-option-color);
|
|
4639
|
-
cursor: pointer;
|
|
4640
4616
|
border-radius: 5px;
|
|
4641
4617
|
}
|
|
4642
4618
|
|
|
@@ -73,7 +73,6 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.dc-button:hover:not(:disabled) {
|
|
76
|
-
cursor: pointer;
|
|
77
76
|
background: var(--dc-button-bg-hover);
|
|
78
77
|
}
|
|
79
78
|
|
|
@@ -83,10 +82,6 @@
|
|
|
83
82
|
grid-template-columns: repeat(2, auto);
|
|
84
83
|
}
|
|
85
84
|
|
|
86
|
-
.dc-button_loading {
|
|
87
|
-
cursor: default;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
85
|
.dc-button_loading:disabled {
|
|
91
86
|
opacity: initial;
|
|
92
87
|
}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
padding: 0;
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
color: inherit;
|
|
22
|
-
cursor: pointer;
|
|
23
22
|
background: none;
|
|
24
23
|
border: none;
|
|
25
24
|
}
|
|
@@ -262,7 +261,6 @@
|
|
|
262
261
|
box-sizing: border-box;
|
|
263
262
|
padding: 6px 8px;
|
|
264
263
|
color: var(--dc-filtered-search-option-color);
|
|
265
|
-
cursor: pointer;
|
|
266
264
|
border-radius: 5px;
|
|
267
265
|
}
|
|
268
266
|
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
.dc-password-input__toggle-button:not(:disabled):focus,
|
|
34
34
|
.dc-password-input__toggle-button:not(:disabled):hover {
|
|
35
35
|
color: var(--dc-password-input-toggle-color-hover);
|
|
36
|
-
cursor: pointer;
|
|
37
36
|
background: var(--dc-password-input-toggle-bg-hover);
|
|
38
37
|
outline: none;
|
|
39
38
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.dc-segmented__item + .dc-segmented__item::before {
|
|
50
|
-
display:
|
|
50
|
+
display: block;
|
|
51
51
|
float: left;
|
|
52
52
|
width: 1px;
|
|
53
53
|
height: calc(var(--dc-segmented-button-height) - var(--dc-segmented-button-radius) * 2);
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
-webkit-appearance: none;
|
|
77
77
|
-moz-appearance: none;
|
|
78
78
|
appearance: none;
|
|
79
|
-
cursor: pointer;
|
|
80
79
|
-webkit-user-select: none;
|
|
81
80
|
-moz-user-select: none;
|
|
82
81
|
user-select: none;
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.dc-select__native {
|
|
68
|
+
flex-grow: 1;
|
|
68
69
|
max-width: 100%;
|
|
69
70
|
padding-right: calc(var(--dc-select-height) + 0.5em);
|
|
70
71
|
padding-left: var(--dc-select-padding-x);
|
|
@@ -74,7 +75,6 @@
|
|
|
74
75
|
-webkit-appearance: none;
|
|
75
76
|
-moz-appearance: none;
|
|
76
77
|
appearance: none;
|
|
77
|
-
cursor: pointer;
|
|
78
78
|
background: none;
|
|
79
79
|
border: none;
|
|
80
80
|
}
|
|
@@ -84,7 +84,6 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.dc-select__native:disabled {
|
|
87
|
-
cursor: default;
|
|
88
87
|
opacity: 1;
|
|
89
88
|
}
|
|
90
89
|
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
|
|
131
131
|
.dc-slider__input::-moz-range-thumb {
|
|
132
132
|
box-sizing: border-box;
|
|
133
|
-
display:
|
|
133
|
+
display: block;
|
|
134
134
|
width: var(--dc-slider-thumb-width);
|
|
135
135
|
height: var(--dc-slider-thumb-height);
|
|
136
136
|
-moz-appearance: none;
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
|
|
158
158
|
.dc-slider__input::-webkit-slider-thumb {
|
|
159
159
|
box-sizing: border-box;
|
|
160
|
-
display:
|
|
160
|
+
display: block;
|
|
161
161
|
width: var(--dc-slider-thumb-width);
|
|
162
162
|
height: var(--dc-slider-thumb-height);
|
|
163
163
|
-webkit-appearance: none;
|
|
@@ -170,6 +170,10 @@
|
|
|
170
170
|
transition: var(--dc-slider-thumb-transition);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
+
.dc-slider__input::-webkit-slider-container {
|
|
174
|
+
min-height: 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
173
177
|
.dc-slider_range .dc-slider__input::-webkit-slider-thumb {
|
|
174
178
|
pointer-events: all;
|
|
175
179
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from 'react';
|
|
2
|
+
import { forwardRef, useState } from 'react';
|
|
3
3
|
import { classNames } from '../../lib/react-helpers.js';
|
|
4
|
-
export const TextInput = forwardRef(function TextInput({ style, className, fullWidth, size = 'md', sizeInChars, slotStyle = 'plain', slotLeft, slotRight, type = 'text', invalid, disabled, onChange, onChangeValue, ...props }, ref) {
|
|
4
|
+
export const TextInput = forwardRef(function TextInput({ style, className, fullWidth, size = 'md', sizeInChars, slotStyle = 'plain', slotLeft, slotRight, type = 'text', invalid, disabled, onChange, onFocus, onBlur, onChangeValue, ...props }, ref) {
|
|
5
|
+
const [focused, setFocused] = useState(false);
|
|
5
6
|
let elementBeforeInput;
|
|
6
7
|
if (slotLeft) {
|
|
7
8
|
const className = 'dc-text-input__slot-left';
|
|
@@ -30,13 +31,26 @@ export const TextInput = forwardRef(function TextInput({ style, className, fullW
|
|
|
30
31
|
onChangeValue(event.target.value);
|
|
31
32
|
}
|
|
32
33
|
};
|
|
34
|
+
const handleFocus = (event) => {
|
|
35
|
+
setFocused(true);
|
|
36
|
+
if (typeof onFocus === 'function') {
|
|
37
|
+
onFocus(event);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
const handleBlur = (event) => {
|
|
41
|
+
setFocused(false);
|
|
42
|
+
if (typeof onBlur === 'function') {
|
|
43
|
+
onBlur(event);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
33
46
|
return (_jsxs("div", { style: style, className: classNames(className, 'dc-text-input', {
|
|
34
47
|
[`dc-text-input_${size}`]: size,
|
|
35
48
|
[`dc-text-input_slot_${slotStyle}`]: slotStyle,
|
|
36
49
|
'dc-text-input_full-width': fullWidth,
|
|
37
50
|
'dc-text-input_invalid': invalid,
|
|
51
|
+
'dc-text-input_focused': focused,
|
|
38
52
|
'dc-text-input_disabled': disabled,
|
|
39
53
|
'dc-text-input_has_slot-left': elementBeforeInput,
|
|
40
54
|
'dc-text-input_has_slot-right': elementAfterInput,
|
|
41
|
-
}), children: [elementBeforeInput, _jsx("input", { ...props, className: "dc-text-input__native", ref: ref, type: type, size: sizeInChars, disabled: disabled, "aria-invalid": props['aria-invalid'] ?? invalid, onChange: handleChange }), elementAfterInput] }));
|
|
55
|
+
}), children: [elementBeforeInput, _jsx("input", { ...props, className: "dc-text-input__native", ref: ref, type: type, size: sizeInChars, disabled: disabled, "aria-invalid": props['aria-invalid'] ?? invalid, onChange: handleChange, onFocus: handleFocus, onBlur: handleBlur }), elementAfterInput] }));
|
|
42
56
|
});
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
-moz-appearance: none;
|
|
40
40
|
appearance: none;
|
|
41
41
|
pointer-events: none;
|
|
42
|
-
cursor: pointer;
|
|
43
42
|
background: var(--dc-toast-close-btn-bg);
|
|
44
43
|
border: none;
|
|
45
44
|
border-radius: 50%;
|
|
@@ -63,7 +62,6 @@
|
|
|
63
62
|
-webkit-appearance: none;
|
|
64
63
|
-moz-appearance: none;
|
|
65
64
|
appearance: none;
|
|
66
|
-
cursor: pointer;
|
|
67
65
|
background: var(--dc-toast-btn-bg);
|
|
68
66
|
border: none;
|
|
69
67
|
border-radius: 6px;
|