@dialpad/dialtone-css 8.53.0 → 8.55.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/lib/build/fonts/SeasonMix-Bold.woff2 +0 -0
- package/lib/build/fonts/SeasonMix-Regular.woff2 +0 -0
- package/lib/build/fonts/SeasonMix-SemiBold.woff2 +0 -0
- package/lib/build/less/components/badge.less +3 -2
- package/lib/build/less/components/banner.less +1 -1
- package/lib/build/less/components/breadcrumbs.less +2 -2
- package/lib/build/less/components/button.less +61 -0
- package/lib/build/less/components/chip.less +7 -7
- package/lib/build/less/components/datepicker.less +2 -2
- package/lib/build/less/components/empty-state.less +1 -1
- package/lib/build/less/components/input.less +7 -0
- package/lib/build/less/components/link.less +9 -4
- package/lib/build/less/components/list-group.less +2 -2
- package/lib/build/less/components/notice.less +5 -5
- package/lib/build/less/components/presence.less +1 -1
- package/lib/build/less/components/radio-checkbox.less +29 -17
- package/lib/build/less/components/root-layout.less +78 -52
- package/lib/build/less/components/selects.less +7 -8
- package/lib/build/less/components/stack.less +14 -14
- package/lib/build/less/components/toast.less +2 -2
- package/lib/build/less/components/toggle.less +13 -6
- package/lib/build/less/components/tooltip.less +3 -3
- package/lib/build/less/dialtone-globals.less +8 -8
- package/lib/build/less/recipes/leftbar_row.less +1 -1
- package/lib/build/less/utilities/backgrounds.less +8 -0
- package/lib/build/less/utilities/borders.less +16 -0
- package/lib/build/less/utilities/colors.less +3 -0
- package/lib/dist/dialtone-default-theme.css +11892 -2926
- package/lib/dist/dialtone-default-theme.min.css +1 -1
- package/lib/dist/dialtone-docs.json +1 -1
- package/lib/dist/dialtone.css +3623 -407
- package/lib/dist/dialtone.min.css +1 -1
- package/lib/dist/fonts/SeasonMix-Bold.woff2 +0 -0
- package/lib/dist/fonts/SeasonMix-Regular.woff2 +0 -0
- package/lib/dist/fonts/SeasonMix-SemiBold.woff2 +0 -0
- package/lib/dist/tokens/tokens-base-dark.css +946 -161
- package/lib/dist/tokens/tokens-base-deca-dark.css +526 -56
- package/lib/dist/tokens/tokens-base-deca-light.css +522 -52
- package/lib/dist/tokens/tokens-base-light.css +913 -128
- package/lib/dist/tokens/tokens-debug-base.css +788 -3
- package/lib/dist/tokens/tokens-debug-dp.css +1034 -669
- package/lib/dist/tokens/tokens-deca-dark.css +804 -768
- package/lib/dist/tokens/tokens-deca-light.css +743 -707
- package/lib/dist/tokens/tokens-dp-dark.css +1289 -924
- package/lib/dist/tokens/tokens-dp-light.css +1338 -973
- package/lib/dist/tokens/tokens-expressive-dark.css +1289 -924
- package/lib/dist/tokens/tokens-expressive-light.css +1335 -970
- package/lib/dist/tokens/tokens-expressive-sm-dark.css +1289 -924
- package/lib/dist/tokens/tokens-expressive-sm-light.css +1335 -970
- package/lib/dist/tokens/tokens-tmo-dark.css +1445 -1080
- package/lib/dist/tokens/tokens-tmo-light.css +1480 -1115
- package/lib/dist/tokens-docs.json +1 -1
- package/package.json +3 -3
- package/lib/build/fonts/Archivo-Bold.woff2 +0 -0
- package/lib/build/fonts/Archivo-Regular.woff2 +0 -0
- package/lib/build/fonts/Archivo-SemiBold.woff2 +0 -0
- package/lib/build/fonts/ArchivoExpanded-SemiBold.woff2 +0 -0
- package/lib/build/fonts/ArchivoSemiExpanded-Medium.woff2 +0 -0
- package/lib/build/fonts/ArchivoSemiExpanded-SemiBold.woff2 +0 -0
- package/lib/dist/fonts/Archivo-Bold.woff2 +0 -0
- package/lib/dist/fonts/Archivo-Regular.woff2 +0 -0
- package/lib/dist/fonts/Archivo-SemiBold.woff2 +0 -0
- package/lib/dist/fonts/ArchivoExpanded-SemiBold.woff2 +0 -0
- package/lib/dist/fonts/ArchivoSemiExpanded-Medium.woff2 +0 -0
- package/lib/dist/fonts/ArchivoSemiExpanded-SemiBold.woff2 +0 -0
|
@@ -162,37 +162,37 @@
|
|
|
162
162
|
// ============================================================================
|
|
163
163
|
// $ RESPONSIVE
|
|
164
164
|
// ----------------------------------------------------------------------------
|
|
165
|
-
// $$
|
|
165
|
+
// $$ SMALL
|
|
166
166
|
// ----------------------------------------------------------------------------
|
|
167
|
-
.d-stack--
|
|
168
|
-
@media screen and (
|
|
167
|
+
.d-stack--sm {
|
|
168
|
+
@media screen and (min-width: 480px) {
|
|
169
169
|
.direction-options();
|
|
170
170
|
.gap-options();
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
// $$
|
|
175
|
-
//
|
|
176
|
-
.d-stack--
|
|
177
|
-
@media screen and (
|
|
174
|
+
// $$ MEDIUM
|
|
175
|
+
// ----------------
|
|
176
|
+
.d-stack--md {
|
|
177
|
+
@media screen and (min-width: 640px) {
|
|
178
178
|
.direction-options();
|
|
179
179
|
.gap-options();
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
// $$
|
|
184
|
-
//
|
|
185
|
-
.d-stack--
|
|
186
|
-
@media screen and (
|
|
183
|
+
// $$ LARGE
|
|
184
|
+
// ----------------------------------------------------------------------------
|
|
185
|
+
.d-stack--lg {
|
|
186
|
+
@media screen and (min-width: 980px) {
|
|
187
187
|
.direction-options();
|
|
188
188
|
.gap-options();
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
// $$
|
|
192
|
+
// $$ EXTRA LARGE
|
|
193
193
|
// ----------------------------------------------------------------------------
|
|
194
|
-
.d-stack--
|
|
195
|
-
@media screen and (
|
|
194
|
+
.d-stack--xl {
|
|
195
|
+
@media screen and (min-width: 1264px) {
|
|
196
196
|
.direction-options();
|
|
197
197
|
.gap-options();
|
|
198
198
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.d-toast {
|
|
27
27
|
// Component CSS Vars
|
|
28
28
|
// ------------------------------------------------------------------------
|
|
29
|
-
--toast-color-shadow:
|
|
29
|
+
--toast-color-shadow: var(--dt-color-border-subtle);
|
|
30
30
|
--toast-box-shadow: 0 0 0 var(--dt-size-100) var(--toast-color-shadow) inset, var(--dt-shadow-medium);
|
|
31
31
|
|
|
32
32
|
z-index: var(--zi-notification);
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
.d-toast--chat {
|
|
76
76
|
.d-notice__icon,
|
|
77
77
|
.d-toast__meta {
|
|
78
|
-
color: var(--dt-color-
|
|
78
|
+
color: var(--dt-color-foreground-tertiary);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.d-toast__meta {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
// ------------------------------------------------------------------------
|
|
25
25
|
--toggle-transition-timing-function: var(--ttf-out-quint);
|
|
26
26
|
--toggle-transition-speed: var(--td300);
|
|
27
|
-
--toggle-color-background: var(--dt-color-
|
|
27
|
+
--toggle-color-background: hsl(var(--dt-color-surface-bold-h), var(--dt-color-surface-bold-s), 66.6666%);
|
|
28
28
|
--toggle-size-height: var(--dt-size-550); // 24
|
|
29
29
|
--toggle-size-width: var(--dt-size-650); // 48
|
|
30
30
|
--toggle-size-icon: var(--dt-size-500); // 16
|
|
@@ -64,10 +64,13 @@
|
|
|
64
64
|
display: none;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik01LjM4MTI4IDUuMzgxMjhDNS43MjI5OSA1LjAzOTU3IDYuMjc3MDEgNS4wMzk1NyA2LjYxODcyIDUuMzgxMjhMMTIgMTAuNzYyNkwxNy4zODEzIDUuMzgxMjhDMTcuNzIzIDUuMDM5NTcgMTguMjc3IDUuMDM5NTcgMTguNjE4NyA1LjM4MTI4QzE4Ljk2MDQgNS43MjI5OSAxOC45NjA0IDYuMjc3MDEgMTguNjE4NyA2LjYxODcyTDEzLjIzNzQgMTJMMTguNjE4NyAxNy4zODEzQzE4Ljk2MDQgMTcuNzIzIDE4Ljk2MDQgMTguMjc3IDE4LjYxODcgMTguNjE4N0MxOC4yNzcgMTguOTYwNCAxNy43MjMgMTguOTYwNCAxNy4zODEzIDE4LjYxODdMMTIgMTMuMjM3NEw2LjYxODcyIDE4LjYxODdDNi4yNzcwMSAxOC45NjA0IDUuNzIyOTkgMTguOTYwNCA1LjM4MTI4IDE4LjYxODdDNS4wMzk1NyAxOC4yNzcgNS4wMzk1NyAxNy43MjMgNS4zODEyOCAxNy4zODEzTDEwLjc2MjYgMTJMNS4zODEyOCA2LjYxODcyQzUuMDM5NTcgNi4yNzcwMSA1LjAzOTU3IDUuNzIyOTkgNS4zODEyOCA1LjM4MTI4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==');
|
|
67
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M3.05806 3.05806C3.30214 2.81398 3.69786 2.81398 3.94194 3.05806L7 6.11612L10.0581 3.05806C10.3021 2.81398 10.6979 2.81398 10.9419 3.05806C11.186 3.30214 11.186 3.69786 10.9419 3.94194L7.88388 7L10.9419 10.0581C11.186 10.3021 11.186 10.6979 10.9419 10.9419C10.6979 11.186 10.3021 11.186 10.0581 10.9419L7 7.88388L3.94194 10.9419C3.69786 11.186 3.30214 11.186 3.05806 10.9419C2.81398 10.6979 2.81398 10.3021 3.05806 10.0581L6.11612 7L3.05806 3.94194C2.81398 3.69786 2.81398 3.30214 3.05806 3.05806Z' fill='white'/> </svg>");
|
|
69
68
|
background-repeat: no-repeat;
|
|
70
69
|
background-size: cover;
|
|
70
|
+
|
|
71
|
+
[data-dt-theme="dark"] & {
|
|
72
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M3.05806 3.05806C3.30214 2.81398 3.69786 2.81398 3.94194 3.05806L7 6.11612L10.0581 3.05806C10.3021 2.81398 10.6979 2.81398 10.9419 3.05806C11.186 3.30214 11.186 3.69786 10.9419 3.94194L7.88388 7L10.9419 10.0581C11.186 10.3021 11.186 10.6979 10.9419 10.9419C10.6979 11.186 10.3021 11.186 10.0581 10.9419L7 7.88388L3.94194 10.9419C3.69786 11.186 3.30214 11.186 3.05806 10.9419C2.81398 10.6979 2.81398 10.3021 3.05806 10.0581L6.11612 7L3.05806 3.94194C2.81398 3.69786 2.81398 3.30214 3.05806 3.05806Z' fill='black'/> </svg>");
|
|
73
|
+
}
|
|
71
74
|
}
|
|
72
75
|
|
|
73
76
|
&::after {
|
|
@@ -76,7 +79,7 @@
|
|
|
76
79
|
left: var(--dt-space-100); // 1
|
|
77
80
|
width: calc(var(--toggle-size-icon) + var(--dt-size-300));
|
|
78
81
|
height: calc(var(--toggle-size-icon) + var(--dt-size-300));
|
|
79
|
-
background-color: var(--dt-color-
|
|
82
|
+
background-color: var(--dt-color-surface-primary);
|
|
80
83
|
border-radius: var(--dt-size-radius-circle);
|
|
81
84
|
cursor: pointer;
|
|
82
85
|
transition: left var(--toggle-transition-speed) var(--toggle-transition-timing-function);
|
|
@@ -105,11 +108,15 @@
|
|
|
105
108
|
// $$ CHECKED TOGGLE
|
|
106
109
|
// ----------------------------------------------------------------------------
|
|
107
110
|
&--checked {
|
|
108
|
-
--toggle-color-background: var(--dt-color-
|
|
111
|
+
--toggle-color-background: var(--dt-checkbox-color-background-checked);
|
|
109
112
|
|
|
110
113
|
.d-toggle__inner {
|
|
111
114
|
left: var(--dt-space-350); // 6
|
|
112
|
-
background-image: url(
|
|
115
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M12.1083 3.05806C12.3524 3.30214 12.3524 3.69786 12.1083 3.94194L5.69162 10.3586C5.44754 10.6027 5.05181 10.6027 4.80773 10.3586L1.89107 7.44194C1.64699 7.19786 1.64699 6.80214 1.89107 6.55806C2.13514 6.31398 2.53087 6.31398 2.77495 6.55806L5.24967 9.03278L11.2244 3.05806C11.4685 2.81398 11.8642 2.81398 12.1083 3.05806Z' fill='white'/> </svg>");
|
|
116
|
+
|
|
117
|
+
[data-dt-theme="dark"] & {
|
|
118
|
+
background-image: url("data:image/svg+xml,<svg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <path fill-rule='evenodd' clip-rule='evenodd' d='M12.1083 3.05806C12.3524 3.30214 12.3524 3.69786 12.1083 3.94194L5.69162 10.3586C5.44754 10.6027 5.05181 10.6027 4.80773 10.3586L1.89107 7.44194C1.64699 7.19786 1.64699 6.80214 1.89107 6.55806C2.13514 6.31398 2.53087 6.31398 2.77495 6.55806L5.24967 9.03278L11.2244 3.05806C11.4685 2.81398 11.8642 2.81398 12.1083 3.05806Z' fill='black'/> </svg>");
|
|
119
|
+
}
|
|
113
120
|
}
|
|
114
121
|
|
|
115
122
|
&.d-toggle--small .d-toggle__inner {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.tippy-box[data-theme~='inverted'] > .tippy-svg-arrow {
|
|
50
|
-
fill: var(--dt-color-surface-
|
|
50
|
+
fill: var(--dt-color-surface-contrast-inverted);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.tippy-box[data-animation='fade'][data-state='hidden'] {
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
.d-tooltip--inverted {
|
|
92
92
|
// -- COMPONENT CSS VARS
|
|
93
93
|
// -----------------------
|
|
94
|
-
--tooltip-color-background: var(--dt-color-surface-
|
|
95
|
-
--tooltip-color-text: var(--dt-color-foreground-
|
|
94
|
+
--tooltip-color-background: var(--dt-color-surface-contrast-inverted);
|
|
95
|
+
--tooltip-color-text: var(--dt-color-foreground-primary);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// ============================================================================
|
|
@@ -20,23 +20,23 @@
|
|
|
20
20
|
|
|
21
21
|
@font-face {
|
|
22
22
|
font-weight: 400;
|
|
23
|
-
font-family:
|
|
23
|
+
font-family: "Season Mix";
|
|
24
24
|
font-style: normal;
|
|
25
|
-
src: url('../fonts/
|
|
25
|
+
src: url('../fonts/SeasonMix-Regular.woff2') format('woff2');
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@font-face {
|
|
29
|
-
font-weight:
|
|
30
|
-
font-family:
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
font-family: "Season Mix";
|
|
31
31
|
font-style: normal;
|
|
32
|
-
src: url('../fonts/
|
|
32
|
+
src: url('../fonts/SeasonMix-SemiBold.woff2') format('woff2');
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
@font-face {
|
|
36
|
-
font-weight:
|
|
37
|
-
font-family:
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
font-family: "Season Mix";
|
|
38
38
|
font-style: normal;
|
|
39
|
-
src: url('../fonts/
|
|
39
|
+
src: url('../fonts/SeasonMix-Bold.woff2') format('woff2');
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
// Define custom font: "Segoe UI Adjusted" to fix some visual issues with the Segoe UI font
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
&__container--off-duty {
|
|
299
|
-
background-color: var(--dt-
|
|
299
|
+
background-color: var(--dt-color-surface-critical);
|
|
300
300
|
border: var(--dt-size-100) solid var(--dt-color-border-subtle);
|
|
301
301
|
border-radius: var(--dt-size-radius-500);
|
|
302
302
|
|
|
@@ -137,3 +137,11 @@
|
|
|
137
137
|
.d-bgg-pattern-slanted-stripes-light { --bgg-pattern: var(--bgg-pattern-slanted-stripes-light) !important; }
|
|
138
138
|
.d-bgg-pattern-steps-light { --bgg-pattern: var(--bgg-pattern-steps-light) !important; }
|
|
139
139
|
.d-bgg-pattern-stripe-light { --bgg-pattern: var(--bgg-pattern-stripe-light) !important; }
|
|
140
|
+
|
|
141
|
+
// ============================================================================
|
|
142
|
+
// $ Background linear gradient
|
|
143
|
+
// ----------------------------------------------------------------------------
|
|
144
|
+
|
|
145
|
+
.d-bgc-ai {
|
|
146
|
+
background-image: var(--dt-color-surface-ai) !important;
|
|
147
|
+
}
|
|
@@ -224,3 +224,19 @@
|
|
|
224
224
|
border-left: calc(~'4px * (1 - var(--divide-x-reverse))') solid !important;
|
|
225
225
|
}
|
|
226
226
|
.d-divide-x-reverse > * + * { --divide-x-reverse: 1; }
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
// $$ Border linear gradient
|
|
230
|
+
// ----------------------------------------------------------------------------
|
|
231
|
+
|
|
232
|
+
/*
|
|
233
|
+
* Note: border-image is not compatible with border-radius, but it's the easiest way to get a linear gradient border.
|
|
234
|
+
* https://dev.to/afif/border-with-gradient-and-radius-387f
|
|
235
|
+
*/
|
|
236
|
+
.d-bc-ai {
|
|
237
|
+
border-image: var(--dt-color-border-ai) 1 !important;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.d-divide-ai > * + * {
|
|
241
|
+
border-image: var(--dt-color-border-ai) 1 !important;
|
|
242
|
+
}
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
// • BACKGROUND/SURFACE COLORS
|
|
12
12
|
// • BORDER COLORS
|
|
13
13
|
//
|
|
14
|
+
// TODO: Remove `*-transparent` classes in favor of `*-neutral-transparent` classes.
|
|
15
|
+
// Both are existing and that's not ok, a migration will be needed on product.
|
|
16
|
+
//
|
|
14
17
|
// $$ TEXT COLORS
|
|
15
18
|
// ----------------------------------------------------------------------------
|
|
16
19
|
.d-fc-current { color: currentColor !important; }
|