@kaizen/components 1.4.22-canary.0 → 1.4.22-canary.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/dist/__future__/index.d.ts +0 -2
- package/dist/__future__/index.js +1 -5
- package/dist/esm/__future__/index.js +0 -4
- package/dist/iife/Dropdown.module-4CIBZTRZ-4CIBZTRZ.scss +100 -0
- package/dist/iife/Layout.module-MZ6JYT46-MZ6JYT46.scss +58 -0
- package/dist/iife/Menu.module-N76N74LN-N76N74LN.scss +111 -0
- package/dist/iife/Text.module-SXGFOHGJ-SXGFOHGJ.scss +173 -0
- package/dist/iife/__future__/index.js +128 -40023
- package/dist/iife/index.js +496 -36
- package/package.json +4 -4
- package/dist/iife/Badge.module-5JDAQSAV.scss +0 -106
- package/dist/iife/Checkbox.module-L2DRIMTV.scss +0 -155
- package/dist/iife/CheckboxField.module-MS76TDL7.scss +0 -46
- package/dist/iife/CheckboxGroup.module-AHAPICAN.scss +0 -13
- package/dist/iife/ClearButton.module-KVNHOLVT.scss +0 -79
- package/dist/iife/Divider.module-YXIUJPD4.scss +0 -40
- package/dist/iife/FieldGroup.module-SUPERNC6.scss +0 -10
- package/dist/iife/FieldMessage.module-6CWQV65E.scss +0 -73
- package/dist/iife/FilterTriggerButton.module-LGSTEFAE.scss +0 -5
- package/dist/iife/GenericButton.module-NIOY5S5X.scss +0 -113
- package/dist/iife/Heading.module-WIR3ANFU.scss +0 -104
- package/dist/iife/Input.module-FBWZRX37.scss +0 -336
- package/dist/iife/InputRange.module-RGISUI4D.scss +0 -181
- package/dist/iife/InputSearch.module-YAL2OSZP.scss +0 -238
- package/dist/iife/Label.module-QP4J7I5H.scss +0 -118
- package/dist/iife/ListBox.module-5GNTZUCX.scss +0 -18
- package/dist/iife/ListBox.module-RXUZV2C4.scss +0 -14
- package/dist/iife/ListBoxSection.module-53ABDKRS.scss +0 -3
- package/dist/iife/ListBoxSection.module-D2PXJRKU.scss +0 -20
- package/dist/iife/LoadMoreButton.module-ANUUS5ER.scss +0 -5
- package/dist/iife/LoadingGraphic.module-URCRSF4P.scss +0 -10
- package/dist/iife/LoadingHeading.module-OV5P5QHZ.scss +0 -67
- package/dist/iife/LoadingInput.module-7NL2PX46.scss +0 -9
- package/dist/iife/LoadingParagraph.module-43NZVIEE.scss +0 -50
- package/dist/iife/LoadingSpinner.module-VMTNZETE.scss +0 -31
- package/dist/iife/MenuFooter.module-7J44RW5D.scss +0 -9
- package/dist/iife/MenuLoadingSkeleton.module-DH3I5Z2J.scss +0 -9
- package/dist/iife/MenuPopup.module-NQRYVXAG.scss +0 -27
- package/dist/iife/MultiSelectOption.module-TIZIGUVB.scss +0 -115
- package/dist/iife/NoResults.module-3FUWBVUH.scss +0 -3
- package/dist/iife/Option.module-O2QRLWHC.scss +0 -87
- package/dist/iife/Overlay.module-W7K5DWH6.scss +0 -24
- package/dist/iife/Paragraph.module-J7DMUCVE.scss +0 -71
- package/dist/iife/Radio.module-DCWPHVKW.scss +0 -99
- package/dist/iife/RadioField.module-C2XRADW5.scss +0 -50
- package/dist/iife/RadioGroup.module-PDLRO572.scss +0 -23
- package/dist/iife/RemovableFilterTrigger.module-SJ37V6UZ.scss +0 -29
- package/dist/iife/SearchField.module-2EV6HGZE.scss +0 -6
- package/dist/iife/SearchInput.module-RQEF3FWR.scss +0 -6
- package/dist/iife/SectionDivider.module-AN4OA4O3.scss +0 -3
- package/dist/iife/Select.module-WOGFQRYI.scss +0 -8
- package/dist/iife/SelectionControlButton.module-HO7BZ2UP.scss +0 -81
- package/dist/iife/Slider.module-EIBFJ2LP.scss +0 -42
- package/dist/iife/Tab.module-4S535DQG.scss +0 -105
- package/dist/iife/TabList.module-FVWF5RCV.scss +0 -11
- package/dist/iife/TabPanel.module-2YHJE4CY.scss +0 -14
- package/dist/iife/TextArea.module-JLTW3M73.scss +0 -138
- package/dist/iife/TextAreaField.module-4K35MSCT.scss +0 -20
- package/dist/iife/TextField.module-KFAPVZZK.scss +0 -49
- package/dist/iife/ToggleSwitch.module-3YDF4MLF.scss +0 -128
- package/dist/iife/ToggleSwitchField.module-BJOL7O7U.scss +0 -15
- package/dist/iife/Tooltip.module-YU7VOTNZ.scss +0 -184
- package/dist/iife/TriggerButton.module-ML4U7VQL.scss +0 -139
- package/dist/iife/TriggerButtonBase.module-QFRV6YZQ.scss +0 -14
- package/dist/iife/arrow-backward.icon-DGOZ655M.svg +0 -17
- package/dist/iife/arrow-forward.icon-MO6IWNHW.svg +0 -17
- package/dist/iife/caution-white.icon-7QPLIIHQ.svg +0 -1
- package/dist/iife/check.icon-CYCBCOVT.svg +0 -17
- package/dist/iife/chevron-down.icon-COG3GAYR.svg +0 -17
- package/dist/iife/chevron-up.icon-O5VRF5BX.svg +0 -17
- package/dist/iife/clear.icon-OD6PWTJH.svg +0 -17
- package/dist/iife/end.icon-4DQDOQVX.svg +0 -1
- package/dist/iife/exclamation-white.icon-WX7P4EOV.svg +0 -19
- package/dist/iife/loading-skeleton.module-RZXSULUO.scss +0 -26
- package/dist/iife/minus.icon-7B6G432O.svg +0 -17
- package/dist/iife/search.icon-ML7HSFID.svg +0 -17
- package/dist/iife/start.icon-JC4OAMAZ.svg +0 -1
- package/dist/iife/success.icon-QNKK4XJE.svg +0 -17
- /package/dist/iife/{Icon.module-VD7NKLAR.scss → Icon.module-VD7NKLAR-VD7NKLAR.scss} +0 -0
- /package/dist/iife/{Margin.module-DJURK5K7.scss → Margin.module-DJURK5K7-DJURK5K7.scss} +0 -0
- /package/dist/iife/{Padding.module-QSNUEZBU.scss → Padding.module-QSNUEZBU-QSNUEZBU.scss} +0 -0
- /package/dist/iife/{SkipLink.module-KAZA7PAL.scss → SkipLink.module-KAZA7PAL-KAZA7PAL.scss} +0 -0
- /package/dist/iife/{VisuallyHidden.module-E5JUNEF5.scss → VisuallyHidden.module-E5JUNEF5-E5JUNEF5.scss} +0 -0
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/animation";
|
|
2
|
-
@import "~@kaizen/design-tokens/sass/typography";
|
|
3
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
4
|
-
@import "~@kaizen/design-tokens/sass/spacing";
|
|
5
|
-
@import "./variables";
|
|
6
|
-
|
|
7
|
-
$small: $spacing-md;
|
|
8
|
-
|
|
9
|
-
.badge {
|
|
10
|
-
border-radius: $spacing-sm;
|
|
11
|
-
color: $color-purple-800;
|
|
12
|
-
display: inline-block;
|
|
13
|
-
position: relative;
|
|
14
|
-
font-family: $typography-paragraph-extra-small-font-family;
|
|
15
|
-
font-size: $typography-paragraph-extra-small-font-size;
|
|
16
|
-
font-weight: $typography-paragraph-bold-font-weight;
|
|
17
|
-
letter-spacing: $typography-paragraph-extra-small-letter-spacing;
|
|
18
|
-
line-height: $typography-paragraph-extra-small-line-height;
|
|
19
|
-
padding: 1px $spacing-xs;
|
|
20
|
-
min-width: 8px;
|
|
21
|
-
text-align: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.badge.large {
|
|
25
|
-
display: inline-flex;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
border-radius: $spacing-xl;
|
|
28
|
-
font-size: $typography-data-medium-font-size;
|
|
29
|
-
line-height: $typography-data-medium-line-height;
|
|
30
|
-
letter-spacing: $typography-data-medium-letter-spacing;
|
|
31
|
-
padding: 2px 1.875rem;
|
|
32
|
-
width: 24px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.default {
|
|
36
|
-
background-color: $dt-color-background-default;
|
|
37
|
-
color: $color-purple-800;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.active {
|
|
41
|
-
background-color: $color-blue-500;
|
|
42
|
-
color: $color-white;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.reversed.active {
|
|
46
|
-
background-color: $color-green-300;
|
|
47
|
-
color: $color-purple-800;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.dark {
|
|
51
|
-
background-color: rgba($color-purple-700-rgb, 0.1);
|
|
52
|
-
color: $color-purple-800;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.dot {
|
|
56
|
-
background-color: $color-green-300;
|
|
57
|
-
padding: $spacing-xs;
|
|
58
|
-
min-width: unset;
|
|
59
|
-
}
|
|
60
|
-
.dot.large {
|
|
61
|
-
background-color: $color-green-300;
|
|
62
|
-
padding: 1.875rem;
|
|
63
|
-
width: unset;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.reversed.dot {
|
|
67
|
-
background-color: $color-green-300;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.reversed.dark {
|
|
71
|
-
background-color: $color-purple-700;
|
|
72
|
-
color: $color-white;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.reversed {
|
|
76
|
-
background-color: rgba($color-white-rgb, 0.1);
|
|
77
|
-
color: $color-white;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
$badge-duration-timing: ($animation-duration-slow / 2)
|
|
81
|
-
$animation-easing-function-ease-in;
|
|
82
|
-
|
|
83
|
-
$badge-transition: transform $badge-duration-timing,
|
|
84
|
-
background-color $badge-duration-timing;
|
|
85
|
-
|
|
86
|
-
.animation {
|
|
87
|
-
display: inherit;
|
|
88
|
-
.badge {
|
|
89
|
-
transition: $badge-transition;
|
|
90
|
-
transform-origin: center;
|
|
91
|
-
transform: scale3d(1, 1, 1);
|
|
92
|
-
}
|
|
93
|
-
&.animationOn .badge {
|
|
94
|
-
transform: scale3d(1.35, 1.35, 1.35);
|
|
95
|
-
&.dark {
|
|
96
|
-
background-color: rgba($color-purple-700-rgb, 0.2);
|
|
97
|
-
}
|
|
98
|
-
&.active {
|
|
99
|
-
background-color: $color-blue-500;
|
|
100
|
-
color: $color-white;
|
|
101
|
-
}
|
|
102
|
-
&.dot {
|
|
103
|
-
background-color: $color-green-300;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
2
|
-
@import "~@kaizen/design-tokens/sass/border";
|
|
3
|
-
@import "~@kaizen/component-library/styles/mixins/forms";
|
|
4
|
-
@import "../../variables";
|
|
5
|
-
|
|
6
|
-
$checkbox-size: 24px;
|
|
7
|
-
$icon-size: 24px;
|
|
8
|
-
$focus-ring-offset: 2px;
|
|
9
|
-
|
|
10
|
-
$dt-color-checkbox-background-color-checked: $color-gray-500;
|
|
11
|
-
|
|
12
|
-
// override bootstrap styles
|
|
13
|
-
.checkbox.checkbox {
|
|
14
|
-
@include form-input-visually-hidden();
|
|
15
|
-
width: $checkbox-size;
|
|
16
|
-
height: $checkbox-size;
|
|
17
|
-
margin: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.icon {
|
|
21
|
-
height: $checkbox-size;
|
|
22
|
-
width: $checkbox-size;
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 50%;
|
|
25
|
-
transform: translateY(-50%);
|
|
26
|
-
// .icon is inside .box so .box's border-box rule means
|
|
27
|
-
// .icon sits to the right of .box's left-side border
|
|
28
|
-
left: calc(-1 * #{$border-solid-border-width});
|
|
29
|
-
color: $color-white;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.icon.reversed {
|
|
33
|
-
color: $dt-color-form-color-icon-reversed;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.box {
|
|
37
|
-
display: block;
|
|
38
|
-
position: relative;
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
background: $color-white;
|
|
41
|
-
height: $checkbox-size;
|
|
42
|
-
width: $checkbox-size;
|
|
43
|
-
top: 0;
|
|
44
|
-
border: $border-solid-border-width $border-solid-border-style
|
|
45
|
-
$dt-color-form-border-color;
|
|
46
|
-
border-radius: $border-solid-border-radius;
|
|
47
|
-
box-sizing: border-box;
|
|
48
|
-
background-color: white;
|
|
49
|
-
border-color: $dt-color-form-border-color;
|
|
50
|
-
|
|
51
|
-
.checkbox:checked + &,
|
|
52
|
-
.checkbox:indeterminate + & {
|
|
53
|
-
background: $dt-color-checkbox-background-color-checked;
|
|
54
|
-
background-color: $dt-color-form-border-color;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.checkbox:focus + & {
|
|
58
|
-
background: white;
|
|
59
|
-
border-color: $dt-color-form-border-color-hover;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.checkbox:checked:focus + &,
|
|
63
|
-
.checkbox:indeterminate:focus + & {
|
|
64
|
-
background: $dt-color-form-border-color-hover;
|
|
65
|
-
border-color: $dt-color-form-border-color-hover;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@media (hover: hover) and (pointer: fine) {
|
|
69
|
-
.checkbox:checked:not([disabled]):hover + &,
|
|
70
|
-
.checkbox:indeterminate:not([disabled]):hover + & {
|
|
71
|
-
background: $dt-color-form-border-color-hover;
|
|
72
|
-
border-color: $dt-color-form-border-color-hover;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.checkbox:not([disabled]):hover + & {
|
|
76
|
-
border-color: $dt-color-form-border-color-hover;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.checkbox:focus + &::after {
|
|
81
|
-
content: "";
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
position: absolute;
|
|
84
|
-
background: transparent;
|
|
85
|
-
border-radius: $border-focus-ring-border-radius;
|
|
86
|
-
border-width: $border-focus-ring-border-width;
|
|
87
|
-
border-style: $border-focus-ring-border-style;
|
|
88
|
-
border-color: $dt-color-form-border-color-focus;
|
|
89
|
-
top: -$focus-ring-offset - ($checkbox-size / 8);
|
|
90
|
-
left: -$focus-ring-offset - ($checkbox-size / 8);
|
|
91
|
-
width: calc(
|
|
92
|
-
#{$checkbox-size} + #{$focus-ring-offset} + #{$border-solid-border-width} *
|
|
93
|
-
2
|
|
94
|
-
);
|
|
95
|
-
height: calc(
|
|
96
|
-
#{$checkbox-size} + #{$focus-ring-offset} + #{$border-solid-border-width} *
|
|
97
|
-
2
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.box.reversed {
|
|
103
|
-
border: $border-solid-border-width $border-solid-border-style
|
|
104
|
-
rgba($color-white-rgb, 0.65);
|
|
105
|
-
background: transparent;
|
|
106
|
-
|
|
107
|
-
.checkbox:not([checked]):focus + & {
|
|
108
|
-
border-color: $color-white;
|
|
109
|
-
background: rgba($color-white-rgb, 0.1);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
@media (hover: hover) and (pointer: fine) {
|
|
113
|
-
.checkbox:not([checked]):not([disabled]):hover + & {
|
|
114
|
-
border-color: $color-white;
|
|
115
|
-
background: rgba($color-white-rgb, 0.1);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.checkbox:checked + &,
|
|
120
|
-
.checkbox:indeterminate + & {
|
|
121
|
-
background: rgba($color-white-rgb, 0.65);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.checkbox:checked:focus + &,
|
|
125
|
-
.checkbox:indeterminate:focus + & {
|
|
126
|
-
background: $color-white;
|
|
127
|
-
border-color: $color-white;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@media (hover: hover) and (pointer: fine) {
|
|
131
|
-
.checkbox:indeterminate:not([disabled]):hover + &,
|
|
132
|
-
.checkbox:checked:not([disabled]):hover + & {
|
|
133
|
-
background: $color-white;
|
|
134
|
-
border-color: $color-white;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.checkbox:focus + &::after {
|
|
139
|
-
border-color: $dt-color-form-border-color-reversed-focus;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.box.error {
|
|
144
|
-
border-color: $color-red-300;
|
|
145
|
-
|
|
146
|
-
.checkbox:not([checked]):focus + & {
|
|
147
|
-
border-color: $color-red-300;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
@media (hover: hover) and (pointer: fine) {
|
|
151
|
-
.checkbox:not([checked]):hover + & {
|
|
152
|
-
border-color: $color-red-300;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
2
|
-
@import "~@kaizen/design-tokens/sass/spacing";
|
|
3
|
-
@import "~@kaizen/design-tokens/sass/typography";
|
|
4
|
-
@import "../variables";
|
|
5
|
-
|
|
6
|
-
// -----------------------------------------------
|
|
7
|
-
// Checkbox Field
|
|
8
|
-
// -----------------------------------------------
|
|
9
|
-
///////////////////////////////////////////////////
|
|
10
|
-
// LAYOUT
|
|
11
|
-
///////////////////////////////////////////////////
|
|
12
|
-
.container {
|
|
13
|
-
position: relative;
|
|
14
|
-
margin-bottom: $spacing-xs;
|
|
15
|
-
|
|
16
|
-
label {
|
|
17
|
-
// This is to override bootstrap styles. Remove when appropriate
|
|
18
|
-
padding-top: 0;
|
|
19
|
-
-webkit-tap-highlight-color: transparent;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.noBottomMargin {
|
|
23
|
-
margin-bottom: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media (hover: hover) and (pointer: fine) {
|
|
27
|
-
label:hover {
|
|
28
|
-
input:not([disabled]) + div {
|
|
29
|
-
border-color: $dt-color-form-border-color;
|
|
30
|
-
background-color: $color-gray-100;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.checked,
|
|
36
|
-
&.mixed {
|
|
37
|
-
label {
|
|
38
|
-
font-family: $typography-paragraph-body-font-family;
|
|
39
|
-
font-size: $typography-paragraph-body-font-size;
|
|
40
|
-
line-height: $typography-paragraph-body-line-height;
|
|
41
|
-
letter-spacing: $typography-paragraph-body-letter-spacing;
|
|
42
|
-
font-weight: $typography-paragraph-bold-font-weight;
|
|
43
|
-
position: static;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/spacing";
|
|
2
|
-
|
|
3
|
-
.checkboxGroupLabel {
|
|
4
|
-
margin-bottom: $spacing-sm;
|
|
5
|
-
}
|
|
6
|
-
.checkboxGroupContainer {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
margin-bottom: $spacing-sm;
|
|
10
|
-
&.noBottomMargin {
|
|
11
|
-
margin-bottom: 0;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/border";
|
|
2
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
3
|
-
@import "../../mixins";
|
|
4
|
-
|
|
5
|
-
// Polyfill
|
|
6
|
-
$polyfill--focus-visible: ":global(.js-focus-visible) &:global(.focus-visible)";
|
|
7
|
-
|
|
8
|
-
// Classnames to simulate pseudo states in storybook
|
|
9
|
-
$story-className--clear-button-hover: ":global(.story__clear-button-hover)";
|
|
10
|
-
|
|
11
|
-
// Combined pseudo state classes
|
|
12
|
-
$selectors--clear-button-hover: "&:hover, &#{$story-className--clear-button-hover}";
|
|
13
|
-
$selectors--clear-button-focus: "&:focus-visible, #{$polyfill--focus-visible}";
|
|
14
|
-
|
|
15
|
-
.clearButton {
|
|
16
|
-
@include button-reset;
|
|
17
|
-
|
|
18
|
-
position: relative;
|
|
19
|
-
display: inline-flex;
|
|
20
|
-
|
|
21
|
-
#{$selectors--clear-button-hover} {
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:focus {
|
|
26
|
-
outline: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
#{$selectors--clear-button-focus} {
|
|
30
|
-
&::after {
|
|
31
|
-
$focus-ring-offset: -1px;
|
|
32
|
-
|
|
33
|
-
content: "";
|
|
34
|
-
position: absolute;
|
|
35
|
-
background: transparent;
|
|
36
|
-
border-width: $border-focus-ring-border-width;
|
|
37
|
-
border-style: $border-focus-ring-border-style;
|
|
38
|
-
border-radius: 50%;
|
|
39
|
-
top: $focus-ring-offset;
|
|
40
|
-
left: $focus-ring-offset;
|
|
41
|
-
right: $focus-ring-offset;
|
|
42
|
-
bottom: $focus-ring-offset;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
///////////////////////////////////////////////////
|
|
48
|
-
// THEMES
|
|
49
|
-
///////////////////////////////////////////////////
|
|
50
|
-
|
|
51
|
-
.default {
|
|
52
|
-
color: $color-gray-500;
|
|
53
|
-
|
|
54
|
-
#{$selectors--clear-button-hover},
|
|
55
|
-
#{$selectors--clear-button-focus} {
|
|
56
|
-
color: $color-purple-800;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
#{$selectors--clear-button-focus} {
|
|
60
|
-
&::after {
|
|
61
|
-
border-color: $color-blue-500;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.reversed {
|
|
67
|
-
color: rgba($color-white-rgb, 0.8);
|
|
68
|
-
|
|
69
|
-
#{$selectors--clear-button-hover},
|
|
70
|
-
#{$selectors--clear-button-focus} {
|
|
71
|
-
color: $color-white;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
#{$selectors--clear-button-focus} {
|
|
75
|
-
&::after {
|
|
76
|
-
border-color: $color-blue-300;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/border";
|
|
2
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
3
|
-
|
|
4
|
-
// Use different tokens with different opacities across the Zen and Heart themes, by assuming that when Zen is applied there won't be any CSS variables declared.
|
|
5
|
-
|
|
6
|
-
$dt-content-border-color: rgba($color-gray-600-rgb, 0.1);
|
|
7
|
-
|
|
8
|
-
.wrapper {
|
|
9
|
-
width: 100%;
|
|
10
|
-
border: 0;
|
|
11
|
-
margin: 0;
|
|
12
|
-
border-radius: $border-solid-border-radius;
|
|
13
|
-
// This is here to protect against a global style in a consumer.
|
|
14
|
-
// https://github.com/cultureamp/murmur/blob/master/app/assets/stylesheets/legacy/modules/_body.scss
|
|
15
|
-
visibility: visible;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.content {
|
|
19
|
-
border-top: 1px solid;
|
|
20
|
-
border-color: $dt-content-border-color;
|
|
21
|
-
|
|
22
|
-
&.reversed {
|
|
23
|
-
border-color: rgba($color-white-rgb, 0.1);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.canvas {
|
|
28
|
-
border-top: 1px solid;
|
|
29
|
-
border-bottom: 1px solid;
|
|
30
|
-
border-color: rgba($color-gray-600-rgb, 0.1);
|
|
31
|
-
|
|
32
|
-
&.reversed {
|
|
33
|
-
border-color: rgba($color-white-rgb, 0.1);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.menuSeparator {
|
|
38
|
-
@extend .content;
|
|
39
|
-
margin: 5px 0;
|
|
40
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/spacing";
|
|
2
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
3
|
-
@import "~@kaizen/design-tokens/sass/border";
|
|
4
|
-
@import "../../variables";
|
|
5
|
-
|
|
6
|
-
$message-icon-size: 1.25rem;
|
|
7
|
-
$validation-message-padding: 0.5625rem;
|
|
8
|
-
|
|
9
|
-
.message {
|
|
10
|
-
display: flex;
|
|
11
|
-
position: relative;
|
|
12
|
-
align-items: center;
|
|
13
|
-
gap: $spacing-xs;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.default {
|
|
17
|
-
color: $dt-color-form-text-color-label;
|
|
18
|
-
|
|
19
|
-
&.reversed {
|
|
20
|
-
color: $dt-color-form-text-color-label-reversed;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.error,
|
|
25
|
-
.caution {
|
|
26
|
-
border-radius: $border-solid-border-radius;
|
|
27
|
-
padding: $validation-message-padding;
|
|
28
|
-
color: $color-purple-800;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.error {
|
|
32
|
-
background: $color-red-100;
|
|
33
|
-
opacity: 1;
|
|
34
|
-
|
|
35
|
-
&.reversed {
|
|
36
|
-
background: $color-red-300;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.caution {
|
|
41
|
-
background: $color-yellow-100;
|
|
42
|
-
opacity: 1;
|
|
43
|
-
|
|
44
|
-
&.reversed {
|
|
45
|
-
background: $color-yellow-400;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.positionBottom {
|
|
50
|
-
margin-top: $spacing-xs;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.positionTop {
|
|
54
|
-
margin-bottom: $spacing-xs;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.warningIcon {
|
|
58
|
-
display: inline-flex;
|
|
59
|
-
width: $message-icon-size;
|
|
60
|
-
align-self: flex-start;
|
|
61
|
-
|
|
62
|
-
.error & {
|
|
63
|
-
color: $color-red-500;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.caution & {
|
|
67
|
-
color: $color-yellow-500;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.reversed & {
|
|
71
|
-
color: $color-purple-800;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
@import "../variables";
|
|
2
|
-
@import "../Button.module.scss";
|
|
3
|
-
@import "../IconButton.module.scss";
|
|
4
|
-
@import "../PaginationButtons.module.scss";
|
|
5
|
-
|
|
6
|
-
.container {
|
|
7
|
-
display: inline-block;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.button {
|
|
11
|
-
@extend %button;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.default {
|
|
15
|
-
@extend %variant-default;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.primary {
|
|
19
|
-
@extend %variant-primary;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.destructive {
|
|
23
|
-
@extend %variant-destructive;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.secondary {
|
|
27
|
-
@extend %variant-secondary;
|
|
28
|
-
|
|
29
|
-
&.destructive {
|
|
30
|
-
@extend %variant-secondary-destructive;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.form {
|
|
35
|
-
@extend %variant-form;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.label {
|
|
39
|
-
line-height: 1;
|
|
40
|
-
|
|
41
|
-
&:not(:first-child) {
|
|
42
|
-
@include ca-margin($start: 0.5em, $end: null);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&:not(:last-child) {
|
|
46
|
-
@include ca-margin($end: 0.5em, $start: null);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.fullWidth {
|
|
51
|
-
width: 100%;
|
|
52
|
-
|
|
53
|
-
.button {
|
|
54
|
-
display: flex;
|
|
55
|
-
width: 100%;
|
|
56
|
-
justify-content: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
#{$className--content} {
|
|
60
|
-
justify-content: center;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.iconWrapper {
|
|
65
|
-
height: 20px;
|
|
66
|
-
align-self: flex-start;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.additionalContentWrapper {
|
|
70
|
-
display: inherit;
|
|
71
|
-
&:not(:last-child) {
|
|
72
|
-
@include ca-margin($end: 0.5em, $start: null);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.loadingSpinner {
|
|
77
|
-
// This is to fix a problem in safari where the svg stretched too high
|
|
78
|
-
svg {
|
|
79
|
-
height: 100%;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.centeredLoadingSpinner {
|
|
84
|
-
position: absolute;
|
|
85
|
-
left: 0;
|
|
86
|
-
right: 0;
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.hidden {
|
|
92
|
-
visibility: hidden;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.iconButton {
|
|
96
|
-
@extend %icon-button;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.circleButton {
|
|
100
|
-
@extend %circle-button;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.directionalLink {
|
|
104
|
-
@extend %directional-link;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.paginationLink {
|
|
108
|
-
@extend %pagination-link;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.isPaginationLinkActive {
|
|
112
|
-
@extend %pagination-link--active;
|
|
113
|
-
}
|