@dialpad/dialtone-css 8.37.1 → 8.38.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.
@@ -114,33 +114,6 @@
114
114
  }
115
115
  }
116
116
 
117
- .d-input__label-text {
118
- display: flex;
119
- flex: 1 0%;
120
- align-items: baseline;
121
- justify-content: space-between;
122
- box-sizing: border-box;
123
- margin-bottom: var(--dt-space-300);
124
- color: var(--dt-color-foreground-secondary);
125
- font-weight: var(--dt-font-weight-semi-bold);
126
- font-size: var(--dt-font-size-200);
127
- font-family: inherit;
128
- line-height: var(--dt-font-line-height-300);
129
- word-break: break-word;
130
- overflow-wrap: break-word;
131
- }
132
-
133
- .d-input__description {
134
- display: flex;
135
- flex-direction: column;
136
- box-sizing: border-box;
137
- color: var(--dt-color-foreground-tertiary);
138
- font-size: var(--dt-font-size-100);
139
- font-family: inherit;
140
- line-height: var(--dt-font-line-height-400);
141
- fill: currentColor;
142
- }
143
-
144
117
  .d-input__length-description {
145
118
  margin-bottom: var(--dt-space-200);
146
119
  }
@@ -270,18 +243,15 @@
270
243
 
271
244
  // $$ VALIDATION STATES
272
245
  // ----------------------------------------------------------------------------
273
- .d-input--warning,
274
- .d-textarea--warning {
246
+ .d-input--warning {
275
247
  --input-color-border: var(--dt-inputs-color-border-warning) !important;
276
248
  }
277
249
 
278
- .d-input--error,
279
- .d-textarea--error {
250
+ .d-input--error {
280
251
  --input-color-border: var(--dt-inputs-color-border-critical) !important;
281
252
  }
282
253
 
283
- .d-input--success,
284
- .d-textarea--success {
254
+ .d-input--success {
285
255
  --input-color-border: var(--dt-inputs-color-border-success) !important;
286
256
  }
287
257
 
@@ -290,7 +260,7 @@
290
260
  // ----------------------------------------------------------------------------
291
261
  .d-input-icon {
292
262
  display: none;
293
-
263
+
294
264
  &:not(:empty) {
295
265
  display: inline-flex;
296
266
  align-items: center;
@@ -299,8 +269,8 @@
299
269
  &--right:not(:empty) {
300
270
  margin-right: var(--dt-space-400);
301
271
  }
302
-
272
+
303
273
  &--left:not(:empty) {
304
274
  margin-left: var(--dt-space-400);
305
275
  }
306
- }
276
+ }
@@ -0,0 +1,25 @@
1
+ .scrollbar {
2
+ .os-theme-dark {
3
+ // main color for the scrollbars handle
4
+ --os-handle-color: var(--dt-color-surface-contrast);
5
+ --os-handle-bg: var(--os-handle-color);
6
+ --os-handle-bg-hover: var(--os-handle-color);
7
+ --os-handle-bg-active: var(--os-handle-color);
8
+ }
9
+
10
+ .os-scrollbar {
11
+ .os-scrollbar-handle {
12
+ cursor: auto;
13
+ opacity: var(--dt-opacity-700);
14
+
15
+ &:hover {
16
+ width: calc(var(--os-handle-perpendicular-size) + var(--dt-size-200));
17
+ opacity: var(--dt-opacity-800);
18
+ }
19
+
20
+ &:active {
21
+ opacity: var(--dt-opacity-900);
22
+ }
23
+ }
24
+ }
25
+ }
@@ -51,6 +51,7 @@
51
51
  @import 'components/toggle';
52
52
  @import 'components/presence';
53
53
  @import 'components/icon';
54
+ @import 'components/scrollbar';
54
55
 
55
56
  // -- UTILITIES
56
57
  @import 'utilities/backgrounds';
@@ -2215,31 +2215,6 @@ legend .d-label {
2215
2215
  .d-input__wrapper::-ms-expand {
2216
2216
  display: none;
2217
2217
  }
2218
- .d-input__label-text {
2219
- display: flex;
2220
- flex: 1 0%;
2221
- align-items: baseline;
2222
- justify-content: space-between;
2223
- box-sizing: border-box;
2224
- margin-bottom: var(--dt-space-300);
2225
- color: var(--dt-color-foreground-secondary);
2226
- font-weight: var(--dt-font-weight-semi-bold);
2227
- font-size: var(--dt-font-size-200);
2228
- font-family: inherit;
2229
- line-height: var(--dt-font-line-height-300);
2230
- word-break: break-word;
2231
- overflow-wrap: break-word;
2232
- }
2233
- .d-input__description {
2234
- display: flex;
2235
- flex-direction: column;
2236
- box-sizing: border-box;
2237
- color: var(--dt-color-foreground-tertiary);
2238
- font-size: var(--dt-font-size-100);
2239
- font-family: inherit;
2240
- line-height: var(--dt-font-line-height-400);
2241
- fill: currentColor;
2242
- }
2243
2218
  .d-input__length-description {
2244
2219
  margin-bottom: var(--dt-space-200);
2245
2220
  }
@@ -2415,16 +2390,13 @@ legend .d-label {
2415
2390
  width: var(--dt-size-550);
2416
2391
  height: var(--dt-size-550);
2417
2392
  }
2418
- .d-input--warning,
2419
- .d-textarea--warning {
2393
+ .d-input--warning {
2420
2394
  --input-color-border: var(--dt-inputs-color-border-warning) !important;
2421
2395
  }
2422
- .d-input--error,
2423
- .d-textarea--error {
2396
+ .d-input--error {
2424
2397
  --input-color-border: var(--dt-inputs-color-border-critical) !important;
2425
2398
  }
2426
- .d-input--success,
2427
- .d-textarea--success {
2399
+ .d-input--success {
2428
2400
  --input-color-border: var(--dt-inputs-color-border-success) !important;
2429
2401
  }
2430
2402
  .d-input-icon {
@@ -4303,6 +4275,23 @@ legend .d-label {
4303
4275
  align-items: center;
4304
4276
  justify-content: center;
4305
4277
  }
4278
+ .scrollbar .os-theme-dark {
4279
+ --os-handle-color: var(--dt-color-surface-contrast);
4280
+ --os-handle-bg: var(--os-handle-color);
4281
+ --os-handle-bg-hover: var(--os-handle-color);
4282
+ --os-handle-bg-active: var(--os-handle-color);
4283
+ }
4284
+ .scrollbar .os-scrollbar .os-scrollbar-handle {
4285
+ cursor: auto;
4286
+ opacity: var(--dt-opacity-700);
4287
+ }
4288
+ .scrollbar .os-scrollbar .os-scrollbar-handle:hover {
4289
+ width: calc(var(--os-handle-perpendicular-size) + var(--dt-size-200));
4290
+ opacity: var(--dt-opacity-800);
4291
+ }
4292
+ .scrollbar .os-scrollbar .os-scrollbar-handle:active {
4293
+ opacity: var(--dt-opacity-900);
4294
+ }
4306
4295
  .d-bga-scroll {
4307
4296
  background-attachment: scroll !important;
4308
4297
  }
@@ -7607,7 +7596,7 @@ body {
7607
7596
  }
7608
7597
  /**
7609
7598
  * Do not edit directly
7610
- * Generated on Mon, 08 Jul 2024 20:08:28 GMT
7599
+ * Generated on Fri, 12 Jul 2024 19:36:11 GMT
7611
7600
  */
7612
7601
 
7613
7602
  .dialtone-theme-light {
@@ -7904,6 +7893,7 @@ body {
7904
7893
  --dt-color-gradient-magenta-purple: linear-gradient(135deg, #F9008E 10%, #7C52FF 90%); /* Gradient for Ai-oriented treatments. */
7905
7894
  --dt-color-brand-purple: #7C52FF; /* Primary brand color. */
7906
7895
  --dt-color-brand-magenta: #F9008E; /* Secondary brand color, typically used as an accent color. */
7896
+ --dt-color-brand-gold: #F6AB3C; /* Secondary brand color, typically used as an accent color. */
7907
7897
  --dt-color-foreground-primary: #000000; /* Default text color throughout the UI. */
7908
7898
  --dt-color-foreground-secondary: #3A3A3A; /* Example uses include introduction paragraphs, labels, and descriptions paired with form elements. */
7909
7899
  --dt-color-foreground-tertiary: #555555; /* Used to imply visual hierarchy relative to primary and secondary text colors, e.g. headlines and labels. */
@@ -8428,7 +8418,7 @@ body {
8428
8418
 
8429
8419
  /**
8430
8420
  * Do not edit directly
8431
- * Generated on Mon, 08 Jul 2024 20:08:28 GMT
8421
+ * Generated on Fri, 12 Jul 2024 19:36:12 GMT
8432
8422
  */
8433
8423
 
8434
8424
  .dialtone-theme-dark {
@@ -8725,6 +8715,7 @@ body {
8725
8715
  --dt-color-gradient-magenta-purple: linear-gradient(135deg, #F9008E 10%, #7C52FF 90%); /* Gradient for Ai-oriented treatments. */
8726
8716
  --dt-color-brand-purple: #7C52FF; /* Primary brand color. */
8727
8717
  --dt-color-brand-magenta: #F9008E; /* Secondary brand color, typically used as an accent color. */
8718
+ --dt-color-brand-gold: #F6AB3C; /* Secondary brand color, typically used as an accent color. */
8728
8719
  --dt-color-foreground-primary: #E6E6E6; /* Default text color throughout the UI. */
8729
8720
  --dt-color-foreground-secondary: #C2C2C2; /* Example uses include introduction paragraphs, labels, and descriptions paired with form elements. */
8730
8721
  --dt-color-foreground-tertiary: #AAAAAA; /* Used to imply visual hierarchy relative to primary and secondary text colors, e.g. headlines and labels. */