@zohodesk/components 1.6.21 → 1.6.22
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/README.md +4 -0
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
- package/es/Button/css/cssJSLogic.js +6 -6
- package/es/CheckBox/CheckBox.js +2 -2
- package/es/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +65 -65
- package/es/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +15 -17
- package/es/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +6 -6
- package/es/DateTime/CalendarView.js +2 -2
- package/es/DateTime/DateWidget.js +2 -2
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +51 -51
- package/es/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +3 -3
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +3 -3
- package/es/DateTime/__tests__/__snapshots__/Time.spec.js.snap +6 -6
- package/es/DropBox/DropBoxElement/css/cssJSLogic.js +6 -6
- package/es/DropDown/DropDownItem.js +1 -1
- package/es/DropDown/__tests__/__snapshots__/DropDownItem.spec.js.snap +1 -1
- package/es/Label/Label.js +1 -1
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -24
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +7 -7
- package/es/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +1 -1
- package/es/MultiSelect/MultiSelect.js +1 -1
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +1 -1
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +3 -3
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +13 -16
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +1 -1
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +2 -2
- package/es/Radio/Radio.js +1 -1
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +31 -31
- package/es/Ribbon/Ribbon.js +3 -16
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +24 -24
- package/es/Select/SelectWithAvatar.js +1 -1
- package/es/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +1 -1
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +128 -128
- package/es/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +2 -2
- package/es/Switch/Switch.js +1 -1
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +34 -34
- package/es/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +4 -4
- package/es/Tag/Tag.js +1 -2
- package/es/Tag/__tests__/__snapshots__/Tag.spec.js.snap +94 -140
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +6 -6
- package/es/Textarea/Textarea.js +1 -1
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +46 -46
- package/es/Tooltip/Tooltip.js +1 -1
- package/es/Typography/css/cssJSLogic.js +2 -2
- package/es/deprecated/Switch/Switch.js +1 -1
- package/es/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +10 -10
- package/es/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
- package/lib/Button/css/cssJSLogic.js +3 -3
- package/lib/CheckBox/CheckBox.js +2 -2
- package/lib/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +65 -65
- package/lib/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +15 -17
- package/lib/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +6 -6
- package/lib/DateTime/CalendarView.js +2 -2
- package/lib/DateTime/DateWidget.js +2 -2
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +51 -51
- package/lib/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +3 -3
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +3 -3
- package/lib/DateTime/__tests__/__snapshots__/Time.spec.js.snap +6 -6
- package/lib/DropBox/DropBoxElement/css/cssJSLogic.js +2 -2
- package/lib/DropDown/DropDownItem.js +1 -1
- package/lib/DropDown/__tests__/__snapshots__/DropDownItem.spec.js.snap +1 -1
- package/lib/Label/Label.js +1 -1
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -24
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +7 -7
- package/lib/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +1 -1
- package/lib/MultiSelect/MultiSelect.js +1 -1
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +1 -1
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +3 -3
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +13 -16
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +1 -1
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +2 -2
- package/lib/Radio/Radio.js +1 -1
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +31 -31
- package/lib/Ribbon/Ribbon.js +2 -15
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +24 -24
- package/lib/Select/SelectWithAvatar.js +1 -1
- package/lib/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +1 -1
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +128 -128
- package/lib/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +2 -2
- package/lib/Switch/Switch.js +1 -1
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +34 -34
- package/lib/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +4 -4
- package/lib/Tag/Tag.js +1 -1
- package/lib/Tag/__tests__/__snapshots__/Tag.spec.js.snap +94 -140
- package/lib/TextBoxIcon/TextBoxIcon.js +1 -1
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +6 -6
- package/lib/Textarea/Textarea.js +1 -1
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +46 -46
- package/lib/Tooltip/Tooltip.js +1 -1
- package/lib/Typography/css/cssJSLogic.js +1 -1
- package/lib/deprecated/Switch/Switch.js +1 -1
- package/lib/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +10 -10
- package/lib/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Dot UI is a customizable React component library built to deliver a clean, accessible, and developer-friendly UI experience. It offers a growing set of reusable components designed to align with modern design systems and streamline application development across projects.
|
|
4
4
|
|
|
5
|
+
# 1.6.22
|
|
6
|
+
|
|
7
|
+
- Reordered className values to ensure customClass is always appended last to adopt CSS utility .
|
|
8
|
+
|
|
5
9
|
# 1.6.21
|
|
6
10
|
|
|
7
11
|
- **Container,Box**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`Button component Should be render with the basic set customButtonclass with buttonClass 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<button
|
|
6
|
-
class="
|
|
6
|
+
class="bold primary medium customButtonClass"
|
|
7
7
|
data-id="buttonComp"
|
|
8
8
|
data-selector-id="button"
|
|
9
9
|
data-test-id="buttonComp"
|
|
@@ -117,7 +117,7 @@ exports[`Button component Should render CustomStatusclassname of buttons - loadi
|
|
|
117
117
|
class="loading mediumloading"
|
|
118
118
|
>
|
|
119
119
|
<div
|
|
120
|
-
class="
|
|
120
|
+
class="loadingelement primaryelement customStautusClassName"
|
|
121
121
|
/>
|
|
122
122
|
</div>
|
|
123
123
|
</div>
|
|
@@ -142,7 +142,7 @@ exports[`Button component Should render CustomStatusclassname of buttons - succe
|
|
|
142
142
|
class="successstate"
|
|
143
143
|
>
|
|
144
144
|
<div
|
|
145
|
-
class="
|
|
145
|
+
class="tickElement primaryTick customStautusClassName"
|
|
146
146
|
/>
|
|
147
147
|
</div>
|
|
148
148
|
</div>
|
|
@@ -25,7 +25,6 @@ export default function cssJSLogic({
|
|
|
25
25
|
let statusLower = status.toLowerCase();
|
|
26
26
|
let canStrikeThrough = !strikeExcludedPalettes.includes(paletteLower);
|
|
27
27
|
let buttonClass = compileClassNames({
|
|
28
|
-
[customButton]: !!customButton,
|
|
29
28
|
[style.bold]: isBold,
|
|
30
29
|
[style.default]: !needAppearance,
|
|
31
30
|
[style[paletteLower]]: needAppearance,
|
|
@@ -34,20 +33,21 @@ export default function cssJSLogic({
|
|
|
34
33
|
[style[`${size}Btn`]]: needAppearance && children,
|
|
35
34
|
[style[`${size}Btn${paletteLower}`]]: needAppearance && children && rounded,
|
|
36
35
|
[`${style[`${paletteLower}Strike`]} ${style.strike}`]: disabled && canStrikeThrough && shouldStrikeThroughDisabled,
|
|
37
|
-
[style.loader]: !!needAppearance && statusLower !== 'none'
|
|
36
|
+
[style.loader]: !!needAppearance && statusLower !== 'none',
|
|
37
|
+
[customButton]: !!customButton
|
|
38
38
|
});
|
|
39
39
|
let loaderParentClass = compileClassNames({
|
|
40
|
-
[customStatusSize]: !!customStatusSize,
|
|
41
40
|
[style.loading]: statusLower === 'loading',
|
|
42
41
|
[style[`${size}loading`]]: statusLower === 'loading',
|
|
43
|
-
[style.successstate]: statusLower != 'loading'
|
|
42
|
+
[style.successstate]: statusLower != 'loading',
|
|
43
|
+
[customStatusSize]: !!customStatusSize
|
|
44
44
|
});
|
|
45
45
|
let loaderChildClass = compileClassNames({
|
|
46
|
-
[customStatus]: !!customStatus,
|
|
47
46
|
[style.loadingelement]: statusLower === 'loading',
|
|
48
47
|
[style[`${paletteLower}element`]]: statusLower === 'loading',
|
|
49
48
|
[style.tickElement]: statusLower != 'loading',
|
|
50
|
-
[style[`${paletteLower}Tick`]]: statusLower != 'loading'
|
|
49
|
+
[style[`${paletteLower}Tick`]]: statusLower != 'loading',
|
|
50
|
+
[customStatus]: !!customStatus
|
|
51
51
|
});
|
|
52
52
|
return {
|
|
53
53
|
buttonClass,
|
package/es/CheckBox/CheckBox.js
CHANGED
|
@@ -100,7 +100,7 @@ export default class CheckBox extends React.Component {
|
|
|
100
100
|
"aria-hidden": ariaHidden,
|
|
101
101
|
dataSelectorId: dataSelectorId || id
|
|
102
102
|
}, CheckBoxProps), /*#__PURE__*/React.createElement(Box, {
|
|
103
|
-
className: `${style.boxContainer} ${secondaryText ? style.withSecondaryText : ''} ${style[size]} ${
|
|
103
|
+
className: `${style.boxContainer} ${secondaryText ? style.withSecondaryText : ''} ${style[size]} ${isFilled ? style.filled : ''} ${!isEditable ? `${style[`disabled`]}` : ''} ${customCBoxSize}`,
|
|
104
104
|
align: secondaryText ? "start" : undefined
|
|
105
105
|
}, /*#__PURE__*/React.createElement("input", {
|
|
106
106
|
type: "hidden",
|
|
@@ -127,7 +127,7 @@ export default class CheckBox extends React.Component {
|
|
|
127
127
|
})), checked ? /*#__PURE__*/React.createElement("svg", {
|
|
128
128
|
xmlns: "http://www.w3.org/2000/svg",
|
|
129
129
|
viewBox: "0 0 44 44",
|
|
130
|
-
className: `${style.tick} ${style[`${size}tick`]}
|
|
130
|
+
className: `${style.tick} ${style[`${size}tick`]} ${disabled ? CssProvider('isDisabled') : ''} ${customTickSize}`
|
|
131
131
|
}, /*#__PURE__*/React.createElement("polyline", {
|
|
132
132
|
points: "12.56 19 19.61 26.06 40.39 5.28",
|
|
133
133
|
className: `${style.tickPath} ${style.checkedtickPath}`
|
|
@@ -13,7 +13,7 @@ exports[`CheckBox component Should be disable 1`] = `
|
|
|
13
13
|
tabindex="-1"
|
|
14
14
|
>
|
|
15
15
|
<div
|
|
16
|
-
class="noShrink boxContainer medium
|
|
16
|
+
class="noShrink boxContainer medium filled disabled"
|
|
17
17
|
data-id="boxComponent"
|
|
18
18
|
data-selector-id="box"
|
|
19
19
|
data-test-id="boxComponent"
|
|
@@ -35,7 +35,7 @@ exports[`CheckBox component Should be disable 1`] = `
|
|
|
35
35
|
/>
|
|
36
36
|
</svg>
|
|
37
37
|
<svg
|
|
38
|
-
class="tick mediumtick disabled"
|
|
38
|
+
class="tick mediumtick disabled "
|
|
39
39
|
viewBox="0 0 44 44"
|
|
40
40
|
xmlns="http://www.w3.org/2000/svg"
|
|
41
41
|
>
|
|
@@ -56,7 +56,7 @@ exports[`CheckBox component Should be disable 1`] = `
|
|
|
56
56
|
class="label title medium disable font_default
|
|
57
57
|
dotted cursor
|
|
58
58
|
|
|
59
|
-
disabled
|
|
59
|
+
disabled "
|
|
60
60
|
data-id="label"
|
|
61
61
|
data-selector-id="label"
|
|
62
62
|
data-test-id="label"
|
|
@@ -81,7 +81,7 @@ exports[`CheckBox component Should be isReadOnly 1`] = `
|
|
|
81
81
|
tabindex="-1"
|
|
82
82
|
>
|
|
83
83
|
<div
|
|
84
|
-
class="noShrink boxContainer medium
|
|
84
|
+
class="noShrink boxContainer medium filled disabled"
|
|
85
85
|
data-id="boxComponent"
|
|
86
86
|
data-selector-id="box"
|
|
87
87
|
data-test-id="boxComponent"
|
|
@@ -124,7 +124,7 @@ exports[`CheckBox component Should be render ID 1`] = `
|
|
|
124
124
|
tabindex="0"
|
|
125
125
|
>
|
|
126
126
|
<div
|
|
127
|
-
class="noShrink boxContainer medium
|
|
127
|
+
class="noShrink boxContainer medium filled"
|
|
128
128
|
data-id="boxComponent"
|
|
129
129
|
data-selector-id="box"
|
|
130
130
|
data-test-id="boxComponent"
|
|
@@ -162,7 +162,7 @@ exports[`CheckBox component Should be render ID 1`] = `
|
|
|
162
162
|
class="label title medium default font_default
|
|
163
163
|
dotted cursor
|
|
164
164
|
|
|
165
|
-
pointer
|
|
165
|
+
pointer "
|
|
166
166
|
data-id="label"
|
|
167
167
|
data-selector-id="label"
|
|
168
168
|
data-test-id="label"
|
|
@@ -188,7 +188,7 @@ exports[`CheckBox component Should be render activeStyle is minus 1`] = `
|
|
|
188
188
|
tabindex="0"
|
|
189
189
|
>
|
|
190
190
|
<div
|
|
191
|
-
class="noShrink boxContainer medium
|
|
191
|
+
class="noShrink boxContainer medium filled"
|
|
192
192
|
data-id="boxComponent"
|
|
193
193
|
data-selector-id="box"
|
|
194
194
|
data-test-id="boxComponent"
|
|
@@ -231,7 +231,7 @@ exports[`CheckBox component Should be render dataSelectorId 1`] = `
|
|
|
231
231
|
tabindex="0"
|
|
232
232
|
>
|
|
233
233
|
<div
|
|
234
|
-
class="noShrink boxContainer medium
|
|
234
|
+
class="noShrink boxContainer medium filled"
|
|
235
235
|
data-id="boxComponent"
|
|
236
236
|
data-selector-id="box"
|
|
237
237
|
data-test-id="boxComponent"
|
|
@@ -275,7 +275,7 @@ exports[`CheckBox component Should be render disabledTitle and title 1`] = `
|
|
|
275
275
|
tabindex="-1"
|
|
276
276
|
>
|
|
277
277
|
<div
|
|
278
|
-
class="noShrink boxContainer medium
|
|
278
|
+
class="noShrink boxContainer medium filled disabled"
|
|
279
279
|
data-id="boxComponent"
|
|
280
280
|
data-selector-id="box"
|
|
281
281
|
data-test-id="boxComponent"
|
|
@@ -312,7 +312,7 @@ exports[`CheckBox component Should be render disabledTitle and title 1`] = `
|
|
|
312
312
|
class="label title medium disable font_default
|
|
313
313
|
dotted cursor
|
|
314
314
|
|
|
315
|
-
disabled
|
|
315
|
+
disabled "
|
|
316
316
|
data-id="label"
|
|
317
317
|
data-selector-id="label"
|
|
318
318
|
data-test-id="label"
|
|
@@ -337,7 +337,7 @@ exports[`CheckBox component Should be render isClipped is false 1`] = `
|
|
|
337
337
|
tabindex="0"
|
|
338
338
|
>
|
|
339
339
|
<div
|
|
340
|
-
class="noShrink boxContainer medium
|
|
340
|
+
class="noShrink boxContainer medium filled"
|
|
341
341
|
data-id="boxComponent"
|
|
342
342
|
data-selector-id="box"
|
|
343
343
|
data-test-id="boxComponent"
|
|
@@ -380,7 +380,7 @@ exports[`CheckBox component Should be render isFilled 1`] = `
|
|
|
380
380
|
tabindex="0"
|
|
381
381
|
>
|
|
382
382
|
<div
|
|
383
|
-
class="noShrink boxContainer medium
|
|
383
|
+
class="noShrink boxContainer medium filled"
|
|
384
384
|
data-id="boxComponent"
|
|
385
385
|
data-selector-id="box"
|
|
386
386
|
data-test-id="boxComponent"
|
|
@@ -423,7 +423,7 @@ exports[`CheckBox component Should be render name 1`] = `
|
|
|
423
423
|
tabindex="0"
|
|
424
424
|
>
|
|
425
425
|
<div
|
|
426
|
-
class="noShrink boxContainer medium
|
|
426
|
+
class="noShrink boxContainer medium filled"
|
|
427
427
|
data-id="boxComponent"
|
|
428
428
|
data-selector-id="box"
|
|
429
429
|
data-test-id="boxComponent"
|
|
@@ -467,7 +467,7 @@ exports[`CheckBox component Should be render text 1`] = `
|
|
|
467
467
|
tabindex="0"
|
|
468
468
|
>
|
|
469
469
|
<div
|
|
470
|
-
class="noShrink boxContainer medium
|
|
470
|
+
class="noShrink boxContainer medium filled"
|
|
471
471
|
data-id="boxComponent"
|
|
472
472
|
data-selector-id="box"
|
|
473
473
|
data-test-id="boxComponent"
|
|
@@ -504,7 +504,7 @@ exports[`CheckBox component Should be render text 1`] = `
|
|
|
504
504
|
class="label title medium default font_default
|
|
505
505
|
dotted cursor
|
|
506
506
|
|
|
507
|
-
pointer
|
|
507
|
+
pointer "
|
|
508
508
|
data-id="label"
|
|
509
509
|
data-selector-id="label"
|
|
510
510
|
data-test-id="label"
|
|
@@ -530,7 +530,7 @@ exports[`CheckBox component Should be render title 1`] = `
|
|
|
530
530
|
tabindex="0"
|
|
531
531
|
>
|
|
532
532
|
<div
|
|
533
|
-
class="noShrink boxContainer medium
|
|
533
|
+
class="noShrink boxContainer medium filled"
|
|
534
534
|
data-id="boxComponent"
|
|
535
535
|
data-selector-id="box"
|
|
536
536
|
data-test-id="boxComponent"
|
|
@@ -567,7 +567,7 @@ exports[`CheckBox component Should be render title 1`] = `
|
|
|
567
567
|
class="label title medium default font_default
|
|
568
568
|
dotted cursor
|
|
569
569
|
|
|
570
|
-
pointer
|
|
570
|
+
pointer "
|
|
571
571
|
data-id="label"
|
|
572
572
|
data-selector-id="label"
|
|
573
573
|
data-test-id="label"
|
|
@@ -592,7 +592,7 @@ exports[`CheckBox component Should be render with the basic set of default props
|
|
|
592
592
|
tabindex="0"
|
|
593
593
|
>
|
|
594
594
|
<div
|
|
595
|
-
class="noShrink boxContainer medium
|
|
595
|
+
class="noShrink boxContainer medium filled"
|
|
596
596
|
data-id="boxComponent"
|
|
597
597
|
data-selector-id="box"
|
|
598
598
|
data-test-id="boxComponent"
|
|
@@ -636,7 +636,7 @@ exports[`CheckBox component Should render active - danger 1`] = `
|
|
|
636
636
|
tabindex="0"
|
|
637
637
|
>
|
|
638
638
|
<div
|
|
639
|
-
class="noShrink boxContainer medium
|
|
639
|
+
class="noShrink boxContainer medium filled"
|
|
640
640
|
data-id="boxComponent"
|
|
641
641
|
data-selector-id="box"
|
|
642
642
|
data-test-id="boxComponent"
|
|
@@ -658,7 +658,7 @@ exports[`CheckBox component Should render active - danger 1`] = `
|
|
|
658
658
|
/>
|
|
659
659
|
</svg>
|
|
660
660
|
<svg
|
|
661
|
-
class="tick mediumtick
|
|
661
|
+
class="tick mediumtick "
|
|
662
662
|
viewBox="0 0 44 44"
|
|
663
663
|
xmlns="http://www.w3.org/2000/svg"
|
|
664
664
|
>
|
|
@@ -679,7 +679,7 @@ exports[`CheckBox component Should render active - danger 1`] = `
|
|
|
679
679
|
class="label title medium default font_default
|
|
680
680
|
dotted cursor activedangerLabel
|
|
681
681
|
checkeddangerLabel
|
|
682
|
-
pointer
|
|
682
|
+
pointer "
|
|
683
683
|
data-id="label"
|
|
684
684
|
data-selector-id="label"
|
|
685
685
|
data-test-id="label"
|
|
@@ -705,7 +705,7 @@ exports[`CheckBox component Should render active - primary 1`] = `
|
|
|
705
705
|
tabindex="0"
|
|
706
706
|
>
|
|
707
707
|
<div
|
|
708
|
-
class="noShrink boxContainer medium
|
|
708
|
+
class="noShrink boxContainer medium filled"
|
|
709
709
|
data-id="boxComponent"
|
|
710
710
|
data-selector-id="box"
|
|
711
711
|
data-test-id="boxComponent"
|
|
@@ -727,7 +727,7 @@ exports[`CheckBox component Should render active - primary 1`] = `
|
|
|
727
727
|
/>
|
|
728
728
|
</svg>
|
|
729
729
|
<svg
|
|
730
|
-
class="tick mediumtick
|
|
730
|
+
class="tick mediumtick "
|
|
731
731
|
viewBox="0 0 44 44"
|
|
732
732
|
xmlns="http://www.w3.org/2000/svg"
|
|
733
733
|
>
|
|
@@ -748,7 +748,7 @@ exports[`CheckBox component Should render active - primary 1`] = `
|
|
|
748
748
|
class="label title medium default font_default
|
|
749
749
|
dotted cursor activeprimaryLabel
|
|
750
750
|
checkedprimaryLabel
|
|
751
|
-
pointer
|
|
751
|
+
pointer "
|
|
752
752
|
data-id="label"
|
|
753
753
|
data-selector-id="label"
|
|
754
754
|
data-test-id="label"
|
|
@@ -773,7 +773,7 @@ exports[`CheckBox component Should render labelSize - default 1`] = `
|
|
|
773
773
|
tabindex="0"
|
|
774
774
|
>
|
|
775
775
|
<div
|
|
776
|
-
class="noShrink boxContainer medium
|
|
776
|
+
class="noShrink boxContainer medium filled"
|
|
777
777
|
data-id="boxComponent"
|
|
778
778
|
data-selector-id="box"
|
|
779
779
|
data-test-id="boxComponent"
|
|
@@ -810,7 +810,7 @@ exports[`CheckBox component Should render labelSize - default 1`] = `
|
|
|
810
810
|
class="label title medium default font_default
|
|
811
811
|
dotted cursor
|
|
812
812
|
|
|
813
|
-
pointer
|
|
813
|
+
pointer "
|
|
814
814
|
data-id="label"
|
|
815
815
|
data-selector-id="label"
|
|
816
816
|
data-test-id="label"
|
|
@@ -835,7 +835,7 @@ exports[`CheckBox component Should render labelSize - large 1`] = `
|
|
|
835
835
|
tabindex="0"
|
|
836
836
|
>
|
|
837
837
|
<div
|
|
838
|
-
class="noShrink boxContainer medium
|
|
838
|
+
class="noShrink boxContainer medium filled"
|
|
839
839
|
data-id="boxComponent"
|
|
840
840
|
data-selector-id="box"
|
|
841
841
|
data-test-id="boxComponent"
|
|
@@ -872,7 +872,7 @@ exports[`CheckBox component Should render labelSize - large 1`] = `
|
|
|
872
872
|
class="label title large default font_default
|
|
873
873
|
dotted cursor
|
|
874
874
|
|
|
875
|
-
pointer
|
|
875
|
+
pointer "
|
|
876
876
|
data-id="label"
|
|
877
877
|
data-selector-id="label"
|
|
878
878
|
data-test-id="label"
|
|
@@ -897,7 +897,7 @@ exports[`CheckBox component Should render labelSize - medium 1`] = `
|
|
|
897
897
|
tabindex="0"
|
|
898
898
|
>
|
|
899
899
|
<div
|
|
900
|
-
class="noShrink boxContainer medium
|
|
900
|
+
class="noShrink boxContainer medium filled"
|
|
901
901
|
data-id="boxComponent"
|
|
902
902
|
data-selector-id="box"
|
|
903
903
|
data-test-id="boxComponent"
|
|
@@ -934,7 +934,7 @@ exports[`CheckBox component Should render labelSize - medium 1`] = `
|
|
|
934
934
|
class="label title medium default font_default
|
|
935
935
|
dotted cursor
|
|
936
936
|
|
|
937
|
-
pointer
|
|
937
|
+
pointer "
|
|
938
938
|
data-id="label"
|
|
939
939
|
data-selector-id="label"
|
|
940
940
|
data-test-id="label"
|
|
@@ -959,7 +959,7 @@ exports[`CheckBox component Should render labelSize - primary 1`] = `
|
|
|
959
959
|
tabindex="0"
|
|
960
960
|
>
|
|
961
961
|
<div
|
|
962
|
-
class="noShrink boxContainer medium
|
|
962
|
+
class="noShrink boxContainer medium filled"
|
|
963
963
|
data-id="boxComponent"
|
|
964
964
|
data-selector-id="box"
|
|
965
965
|
data-test-id="boxComponent"
|
|
@@ -996,7 +996,7 @@ exports[`CheckBox component Should render labelSize - primary 1`] = `
|
|
|
996
996
|
class="label title medium default font_primary
|
|
997
997
|
dotted cursor
|
|
998
998
|
|
|
999
|
-
pointer
|
|
999
|
+
pointer "
|
|
1000
1000
|
data-id="label"
|
|
1001
1001
|
data-selector-id="label"
|
|
1002
1002
|
data-test-id="label"
|
|
@@ -1021,7 +1021,7 @@ exports[`CheckBox component Should render labelSize - small 1`] = `
|
|
|
1021
1021
|
tabindex="0"
|
|
1022
1022
|
>
|
|
1023
1023
|
<div
|
|
1024
|
-
class="noShrink boxContainer medium
|
|
1024
|
+
class="noShrink boxContainer medium filled"
|
|
1025
1025
|
data-id="boxComponent"
|
|
1026
1026
|
data-selector-id="box"
|
|
1027
1027
|
data-test-id="boxComponent"
|
|
@@ -1058,7 +1058,7 @@ exports[`CheckBox component Should render labelSize - small 1`] = `
|
|
|
1058
1058
|
class="label title small default font_default
|
|
1059
1059
|
dotted cursor
|
|
1060
1060
|
|
|
1061
|
-
pointer
|
|
1061
|
+
pointer "
|
|
1062
1062
|
data-id="label"
|
|
1063
1063
|
data-selector-id="label"
|
|
1064
1064
|
data-test-id="label"
|
|
@@ -1084,7 +1084,7 @@ exports[`CheckBox component Should render palette and checkbox with checked - da
|
|
|
1084
1084
|
tabindex="0"
|
|
1085
1085
|
>
|
|
1086
1086
|
<div
|
|
1087
|
-
class="noShrink boxContainer medium
|
|
1087
|
+
class="noShrink boxContainer medium filled"
|
|
1088
1088
|
data-id="boxComponent"
|
|
1089
1089
|
data-selector-id="box"
|
|
1090
1090
|
data-test-id="boxComponent"
|
|
@@ -1106,7 +1106,7 @@ exports[`CheckBox component Should render palette and checkbox with checked - da
|
|
|
1106
1106
|
/>
|
|
1107
1107
|
</svg>
|
|
1108
1108
|
<svg
|
|
1109
|
-
class="tick mediumtick
|
|
1109
|
+
class="tick mediumtick "
|
|
1110
1110
|
viewBox="0 0 44 44"
|
|
1111
1111
|
xmlns="http://www.w3.org/2000/svg"
|
|
1112
1112
|
>
|
|
@@ -1127,7 +1127,7 @@ exports[`CheckBox component Should render palette and checkbox with checked - da
|
|
|
1127
1127
|
class="label title medium default font_default
|
|
1128
1128
|
dotted cursor activedangerLabel
|
|
1129
1129
|
checkeddangerLabel
|
|
1130
|
-
pointer
|
|
1130
|
+
pointer "
|
|
1131
1131
|
data-id="label"
|
|
1132
1132
|
data-selector-id="label"
|
|
1133
1133
|
data-test-id="label"
|
|
@@ -1153,7 +1153,7 @@ exports[`CheckBox component Should render palette and checkbox with checked - pr
|
|
|
1153
1153
|
tabindex="0"
|
|
1154
1154
|
>
|
|
1155
1155
|
<div
|
|
1156
|
-
class="noShrink boxContainer medium
|
|
1156
|
+
class="noShrink boxContainer medium filled"
|
|
1157
1157
|
data-id="boxComponent"
|
|
1158
1158
|
data-selector-id="box"
|
|
1159
1159
|
data-test-id="boxComponent"
|
|
@@ -1175,7 +1175,7 @@ exports[`CheckBox component Should render palette and checkbox with checked - pr
|
|
|
1175
1175
|
/>
|
|
1176
1176
|
</svg>
|
|
1177
1177
|
<svg
|
|
1178
|
-
class="tick mediumtick
|
|
1178
|
+
class="tick mediumtick "
|
|
1179
1179
|
viewBox="0 0 44 44"
|
|
1180
1180
|
xmlns="http://www.w3.org/2000/svg"
|
|
1181
1181
|
>
|
|
@@ -1196,7 +1196,7 @@ exports[`CheckBox component Should render palette and checkbox with checked - pr
|
|
|
1196
1196
|
class="label title medium default font_default
|
|
1197
1197
|
dotted cursor activeprimaryLabel
|
|
1198
1198
|
checkedprimaryLabel
|
|
1199
|
-
pointer
|
|
1199
|
+
pointer "
|
|
1200
1200
|
data-id="label"
|
|
1201
1201
|
data-selector-id="label"
|
|
1202
1202
|
data-test-id="label"
|
|
@@ -1221,7 +1221,7 @@ exports[`CheckBox component Should render secondaryText 1`] = `
|
|
|
1221
1221
|
tabindex="0"
|
|
1222
1222
|
>
|
|
1223
1223
|
<div
|
|
1224
|
-
class="noShrink alignSelf_start boxContainer withSecondaryText medium
|
|
1224
|
+
class="noShrink alignSelf_start boxContainer withSecondaryText medium filled"
|
|
1225
1225
|
data-id="boxComponent"
|
|
1226
1226
|
data-selector-id="box"
|
|
1227
1227
|
data-test-id="boxComponent"
|
|
@@ -1258,7 +1258,7 @@ exports[`CheckBox component Should render secondaryText 1`] = `
|
|
|
1258
1258
|
class="label title medium default font_default
|
|
1259
1259
|
dotted cursor
|
|
1260
1260
|
|
|
1261
|
-
pointer
|
|
1261
|
+
pointer "
|
|
1262
1262
|
data-id="label"
|
|
1263
1263
|
data-selector-id="label"
|
|
1264
1264
|
data-test-id="label"
|
|
@@ -1289,7 +1289,7 @@ exports[`CheckBox component Should render size - danger 1`] = `
|
|
|
1289
1289
|
tabindex="0"
|
|
1290
1290
|
>
|
|
1291
1291
|
<div
|
|
1292
|
-
class="noShrink boxContainer medium
|
|
1292
|
+
class="noShrink boxContainer medium filled"
|
|
1293
1293
|
data-id="boxComponent"
|
|
1294
1294
|
data-selector-id="box"
|
|
1295
1295
|
data-test-id="boxComponent"
|
|
@@ -1326,7 +1326,7 @@ exports[`CheckBox component Should render size - danger 1`] = `
|
|
|
1326
1326
|
class="label title medium danger font_default
|
|
1327
1327
|
dotted cursor
|
|
1328
1328
|
|
|
1329
|
-
pointer
|
|
1329
|
+
pointer "
|
|
1330
1330
|
data-id="label"
|
|
1331
1331
|
data-selector-id="label"
|
|
1332
1332
|
data-test-id="label"
|
|
@@ -1351,7 +1351,7 @@ exports[`CheckBox component Should render size - default 1`] = `
|
|
|
1351
1351
|
tabindex="0"
|
|
1352
1352
|
>
|
|
1353
1353
|
<div
|
|
1354
|
-
class="noShrink boxContainer medium
|
|
1354
|
+
class="noShrink boxContainer medium filled"
|
|
1355
1355
|
data-id="boxComponent"
|
|
1356
1356
|
data-selector-id="box"
|
|
1357
1357
|
data-test-id="boxComponent"
|
|
@@ -1388,7 +1388,7 @@ exports[`CheckBox component Should render size - default 1`] = `
|
|
|
1388
1388
|
class="label title medium default font_default
|
|
1389
1389
|
dotted cursor
|
|
1390
1390
|
|
|
1391
|
-
pointer
|
|
1391
|
+
pointer "
|
|
1392
1392
|
data-id="label"
|
|
1393
1393
|
data-selector-id="label"
|
|
1394
1394
|
data-test-id="label"
|
|
@@ -1413,7 +1413,7 @@ exports[`CheckBox component Should render size - mandatory 1`] = `
|
|
|
1413
1413
|
tabindex="0"
|
|
1414
1414
|
>
|
|
1415
1415
|
<div
|
|
1416
|
-
class="noShrink boxContainer medium
|
|
1416
|
+
class="noShrink boxContainer medium filled"
|
|
1417
1417
|
data-id="boxComponent"
|
|
1418
1418
|
data-selector-id="box"
|
|
1419
1419
|
data-test-id="boxComponent"
|
|
@@ -1450,7 +1450,7 @@ exports[`CheckBox component Should render size - mandatory 1`] = `
|
|
|
1450
1450
|
class="label title medium mandatory font_default
|
|
1451
1451
|
dotted cursor
|
|
1452
1452
|
|
|
1453
|
-
pointer
|
|
1453
|
+
pointer "
|
|
1454
1454
|
data-id="label"
|
|
1455
1455
|
data-selector-id="label"
|
|
1456
1456
|
data-test-id="label"
|
|
@@ -1476,7 +1476,7 @@ exports[`CheckBox component Should render size - medium 1`] = `
|
|
|
1476
1476
|
tabindex="0"
|
|
1477
1477
|
>
|
|
1478
1478
|
<div
|
|
1479
|
-
class="noShrink boxContainer medium
|
|
1479
|
+
class="noShrink boxContainer medium filled"
|
|
1480
1480
|
data-id="boxComponent"
|
|
1481
1481
|
data-selector-id="box"
|
|
1482
1482
|
data-test-id="boxComponent"
|
|
@@ -1498,7 +1498,7 @@ exports[`CheckBox component Should render size - medium 1`] = `
|
|
|
1498
1498
|
/>
|
|
1499
1499
|
</svg>
|
|
1500
1500
|
<svg
|
|
1501
|
-
class="tick mediumtick
|
|
1501
|
+
class="tick mediumtick "
|
|
1502
1502
|
viewBox="0 0 44 44"
|
|
1503
1503
|
xmlns="http://www.w3.org/2000/svg"
|
|
1504
1504
|
>
|
|
@@ -1525,7 +1525,7 @@ exports[`CheckBox component Should render size - primary 1`] = `
|
|
|
1525
1525
|
tabindex="0"
|
|
1526
1526
|
>
|
|
1527
1527
|
<div
|
|
1528
|
-
class="noShrink boxContainer medium
|
|
1528
|
+
class="noShrink boxContainer medium filled"
|
|
1529
1529
|
data-id="boxComponent"
|
|
1530
1530
|
data-selector-id="box"
|
|
1531
1531
|
data-test-id="boxComponent"
|
|
@@ -1562,7 +1562,7 @@ exports[`CheckBox component Should render size - primary 1`] = `
|
|
|
1562
1562
|
class="label title medium primary font_default
|
|
1563
1563
|
dotted cursor
|
|
1564
1564
|
|
|
1565
|
-
pointer
|
|
1565
|
+
pointer "
|
|
1566
1566
|
data-id="label"
|
|
1567
1567
|
data-selector-id="label"
|
|
1568
1568
|
data-test-id="label"
|
|
@@ -1587,7 +1587,7 @@ exports[`CheckBox component Should render size - secondary 1`] = `
|
|
|
1587
1587
|
tabindex="0"
|
|
1588
1588
|
>
|
|
1589
1589
|
<div
|
|
1590
|
-
class="noShrink boxContainer medium
|
|
1590
|
+
class="noShrink boxContainer medium filled"
|
|
1591
1591
|
data-id="boxComponent"
|
|
1592
1592
|
data-selector-id="box"
|
|
1593
1593
|
data-test-id="boxComponent"
|
|
@@ -1624,7 +1624,7 @@ exports[`CheckBox component Should render size - secondary 1`] = `
|
|
|
1624
1624
|
class="label title medium secondary font_default
|
|
1625
1625
|
dotted cursor
|
|
1626
1626
|
|
|
1627
|
-
pointer
|
|
1627
|
+
pointer "
|
|
1628
1628
|
data-id="label"
|
|
1629
1629
|
data-selector-id="label"
|
|
1630
1630
|
data-test-id="label"
|
|
@@ -1650,7 +1650,7 @@ exports[`CheckBox component Should render size - small 1`] = `
|
|
|
1650
1650
|
tabindex="0"
|
|
1651
1651
|
>
|
|
1652
1652
|
<div
|
|
1653
|
-
class="noShrink boxContainer small
|
|
1653
|
+
class="noShrink boxContainer small filled"
|
|
1654
1654
|
data-id="boxComponent"
|
|
1655
1655
|
data-selector-id="box"
|
|
1656
1656
|
data-test-id="boxComponent"
|
|
@@ -1672,7 +1672,7 @@ exports[`CheckBox component Should render size - small 1`] = `
|
|
|
1672
1672
|
/>
|
|
1673
1673
|
</svg>
|
|
1674
1674
|
<svg
|
|
1675
|
-
class="tick smalltick
|
|
1675
|
+
class="tick smalltick "
|
|
1676
1676
|
viewBox="0 0 44 44"
|
|
1677
1677
|
xmlns="http://www.w3.org/2000/svg"
|
|
1678
1678
|
>
|
|
@@ -1703,7 +1703,7 @@ exports[`CheckBox component rendering ally ariaLabel , ariaLabelledby, ariaHidde
|
|
|
1703
1703
|
tabindex="0"
|
|
1704
1704
|
>
|
|
1705
1705
|
<div
|
|
1706
|
-
class="noShrink boxContainer medium
|
|
1706
|
+
class="noShrink boxContainer medium filled"
|
|
1707
1707
|
data-id="boxComponent"
|
|
1708
1708
|
data-selector-id="box"
|
|
1709
1709
|
data-test-id="boxComponent"
|
|
@@ -1725,7 +1725,7 @@ exports[`CheckBox component rendering ally ariaLabel , ariaLabelledby, ariaHidde
|
|
|
1725
1725
|
/>
|
|
1726
1726
|
</svg>
|
|
1727
1727
|
<svg
|
|
1728
|
-
class="tick mediumtick
|
|
1728
|
+
class="tick mediumtick "
|
|
1729
1729
|
viewBox="0 0 44 44"
|
|
1730
1730
|
xmlns="http://www.w3.org/2000/svg"
|
|
1731
1731
|
>
|
|
@@ -1756,7 +1756,7 @@ exports[`CheckBox component rendering ally ariaLabel , ariaLabelledby, ariaHidde
|
|
|
1756
1756
|
tabindex="-1"
|
|
1757
1757
|
>
|
|
1758
1758
|
<div
|
|
1759
|
-
class="noShrink boxContainer medium
|
|
1759
|
+
class="noShrink boxContainer medium filled"
|
|
1760
1760
|
data-id="boxComponent"
|
|
1761
1761
|
data-selector-id="box"
|
|
1762
1762
|
data-test-id="boxComponent"
|
|
@@ -1778,7 +1778,7 @@ exports[`CheckBox component rendering ally ariaLabel , ariaLabelledby, ariaHidde
|
|
|
1778
1778
|
/>
|
|
1779
1779
|
</svg>
|
|
1780
1780
|
<svg
|
|
1781
|
-
class="tick mediumtick
|
|
1781
|
+
class="tick mediumtick "
|
|
1782
1782
|
viewBox="0 0 44 44"
|
|
1783
1783
|
xmlns="http://www.w3.org/2000/svg"
|
|
1784
1784
|
>
|
|
@@ -1806,7 +1806,7 @@ exports[`CheckBox component rendering the Custom Props 1`] = `
|
|
|
1806
1806
|
tabindex="0"
|
|
1807
1807
|
>
|
|
1808
1808
|
<div
|
|
1809
|
-
class="noShrink boxContainer medium
|
|
1809
|
+
class="noShrink boxContainer medium filled"
|
|
1810
1810
|
data-id="boxComponent"
|
|
1811
1811
|
data-selector-id="box"
|
|
1812
1812
|
data-test-id="boxComponent"
|
|
@@ -1841,7 +1841,7 @@ exports[`CheckBox component rendering the Custom Props 1`] = `
|
|
|
1841
1841
|
>
|
|
1842
1842
|
<label
|
|
1843
1843
|
class="label title medium default font_default
|
|
1844
|
-
dotted cursor checkBoxCustomClass
|
|
1844
|
+
dotted cursor checkBoxCustomClass"
|
|
1845
1845
|
data-id="label"
|
|
1846
1846
|
data-selector-id="label"
|
|
1847
1847
|
data-test-id="label"
|
|
@@ -1867,7 +1867,7 @@ exports[`CheckBox component rendering the Custom class 1`] = `
|
|
|
1867
1867
|
tabindex="0"
|
|
1868
1868
|
>
|
|
1869
1869
|
<div
|
|
1870
|
-
class="noShrink boxContainer medium customCBoxSizeClass
|
|
1870
|
+
class="noShrink boxContainer medium filled customCBoxSizeClass"
|
|
1871
1871
|
data-id="boxComponent"
|
|
1872
1872
|
data-selector-id="box"
|
|
1873
1873
|
data-test-id="boxComponent"
|
|
@@ -1889,7 +1889,7 @@ exports[`CheckBox component rendering the Custom class 1`] = `
|
|
|
1889
1889
|
/>
|
|
1890
1890
|
</svg>
|
|
1891
1891
|
<svg
|
|
1892
|
-
class="tick mediumtick
|
|
1892
|
+
class="tick mediumtick customTickSizeClass"
|
|
1893
1893
|
viewBox="0 0 44 44"
|
|
1894
1894
|
xmlns="http://www.w3.org/2000/svg"
|
|
1895
1895
|
>
|
|
@@ -1910,7 +1910,7 @@ exports[`CheckBox component rendering the Custom class 1`] = `
|
|
|
1910
1910
|
class="label title medium default font_default
|
|
1911
1911
|
dotted cursor
|
|
1912
1912
|
|
|
1913
|
-
pointer customLabelClass
|
|
1913
|
+
pointer customLabelClass"
|
|
1914
1914
|
data-id="label"
|
|
1915
1915
|
data-selector-id="label"
|
|
1916
1916
|
data-test-id="label"
|