@dialpad/dialtone 6.25.0 → 6.27.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.
@@ -219,6 +219,18 @@
219
219
  padding: calc(var(--su8) + var(--su1));
220
220
  transition-duration: 150ms;
221
221
 
222
+ &:hover {
223
+ --button--fc: var(--muted-color-hover);
224
+ --button--bgc: hsla(var(--black-800-hsl) ~' / ' 3%);
225
+ }
226
+
227
+ &:active,
228
+ &.d-btn--active,
229
+ &.d-btn--active:active {
230
+ --button--fc: var(--muted-color-hover);
231
+ --button--bgc: hsla(var(--black-800-hsl) ~' / ' 9%);
232
+ }
233
+
222
234
  &:focus-visible {
223
235
  box-shadow: var(--bs-focus-ring-circle);
224
236
  }
@@ -291,14 +303,16 @@
291
303
  .d-btn--muted {
292
304
  --button--fc: var(--muted-color);
293
305
 
294
- &:hover,
295
- &:active {
296
- --button--fc: var(--muted-color-hover);
297
- --button--bgc: hsla(var(--black-800-hsl) ~' / ' 3%);
306
+ &:hover {
307
+ --button--fc: var(--muted-color-hover);
308
+ --button--bgc: hsla(var(--black-800-hsl) ~' / ' 3%);
298
309
  }
299
310
 
300
- &:active {
301
- --button--bgc: hsla(var(--black-800-hsl) ~' / ' 9%);
311
+ &:active,
312
+ &.d-btn--active,
313
+ &.d-btn--active:active {
314
+ --button--fc: var(--muted-color-hover);
315
+ --button--bgc: hsla(var(--black-800-hsl) ~' / ' 9%);
302
316
  }
303
317
 
304
318
  &:focus-visible {
@@ -214,6 +214,17 @@
214
214
  }
215
215
  }
216
216
 
217
+ // $$ SCROLLABLE
218
+ // ----------------------------------------------------------------------------
219
+ .d-modal__dialog--scrollable {
220
+ display: flex;
221
+ flex-direction: column;
222
+
223
+ .d-modal__content {
224
+ overflow-y: auto;
225
+ }
226
+ }
227
+
217
228
  // $$ DANGER
218
229
  // ----------------------------------------------------------------------------
219
230
  .d-modal--danger {
@@ -71,8 +71,8 @@
71
71
  #d-internals #generate-hover-focus(d-fc-green, {.d-fc-green();});
72
72
  #d-internals #generate-hover-focus(d-fc-success, {.d-fc-success();});
73
73
 
74
- .d-fc-yellow,
75
- .d-fc-warning { &:extend(.d-fc-yellow-600); }
74
+ .d-fc-yellow { &:extend(.d-fc-yellow-600); }
75
+ .d-fc-warning { color: var(--fc-warning) }
76
76
  #d-internals #generate-hover-focus(d-fc-yellow, {.d-fc-yellow();});
77
77
  #d-internals #generate-hover-focus(d-fc-warning, {.d-fc-warning();});
78
78
 
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.5 1C13.5 1 14.24 3.65 14.24 5.8C14.24 7.86 12.89 9.53 10.83 9.53C8.76 9.53 7.2 7.86 7.2 5.8L7.23 5.44C5.21 7.84 4 10.95 4 14.33C4 18.75 7.58 22.33 12 22.33C16.42 22.33 20 18.75 20 14.33C20 8.94 17.41 4.13 13.5 1ZM11.71 19.33C9.93 19.33 8.49 17.93 8.49 16.19C8.49 14.57 9.54 13.43 11.3 13.07C13.07 12.71 14.9 11.86 15.92 10.49C16.31 11.78 16.51 13.14 16.51 14.53C16.51 17.18 14.36 19.33 11.71 19.33Z" fill="#0D0C0F"/></svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21.5 17H11V14.6402L17.8549 7.51046H11V5H21.5V7.46025L14.7539 14.4895H21.5V17Z" fill="#0D0C0F"/><path d="M9.5 20H2V18.2301L6.89637 12.8828H2V11H9.5V12.8452L4.68135 18.1172H9.5V20Z" fill="#0D0C0F"/></svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2 5C2 3.89543 2.89543 3 4 3H20C21.1046 3 22 3.89543 22 5V12H20V5H4V17H16.5856L14.2928 14.7072L15.707 13.293L20.4141 18.0001L15.707 22.7072L14.2928 21.293L16.5858 19H4C2.89543 19 2 18.1046 2 17V5Z" fill="black"/>
3
+ <path d="M6 9H18V7H6V9Z" fill="black"/>
4
+ <path d="M14.5 12H6V10H14.5V12Z" fill="black"/>
5
+ <path d="M6 15H11V13H6V15Z" fill="black"/>
6
+ </svg>
@@ -813,6 +813,16 @@ body {
813
813
  padding: calc(var(--su8) + var(--su1));
814
814
  transition-duration: 150ms;
815
815
  }
816
+ .d-btn--circle:hover {
817
+ --button--fc: var(--muted-color-hover);
818
+ --button--bgc: hsla(var(--black-800-hsl) / 3%);
819
+ }
820
+ .d-btn--circle:active,
821
+ .d-btn--circle.d-btn--active,
822
+ .d-btn--circle.d-btn--active:active {
823
+ --button--fc: var(--muted-color-hover);
824
+ --button--bgc: hsla(var(--black-800-hsl) / 9%);
825
+ }
816
826
  .d-btn--circle.focus-visible {
817
827
  box-shadow: var(--bs-focus-ring-circle);
818
828
  }
@@ -864,12 +874,14 @@ body {
864
874
  .d-btn--muted {
865
875
  --button--fc: var(--muted-color);
866
876
  }
867
- .d-btn--muted:hover,
868
- .d-btn--muted:active {
877
+ .d-btn--muted:hover {
869
878
  --button--fc: var(--muted-color-hover);
870
879
  --button--bgc: hsla(var(--black-800-hsl) / 3%);
871
880
  }
872
- .d-btn--muted:active {
881
+ .d-btn--muted:active,
882
+ .d-btn--muted.d-btn--active,
883
+ .d-btn--muted.d-btn--active:active {
884
+ --button--fc: var(--muted-color-hover);
873
885
  --button--bgc: hsla(var(--black-800-hsl) / 9%);
874
886
  }
875
887
  .d-btn--muted.focus-visible {
@@ -1746,6 +1758,13 @@ legend .d-label {
1746
1758
  padding: var(--su12) var(--su32);
1747
1759
  border-radius: 0;
1748
1760
  }
1761
+ .d-modal__dialog--scrollable {
1762
+ display: flex;
1763
+ flex-direction: column;
1764
+ }
1765
+ .d-modal__dialog--scrollable .d-modal__content {
1766
+ overflow-y: auto;
1767
+ }
1749
1768
  .d-modal--danger {
1750
1769
  --modal-header--fc: var(--fc-error);
1751
1770
  }
@@ -9475,15 +9494,10 @@ body.theme-dark .d\:d-bgc-pink-100 {
9475
9494
  .h\:d-fc-yellow-600:hover,
9476
9495
  .f\:d-fc-yellow-600:focus,
9477
9496
  .d-fc-yellow,
9478
- .d-fc-warning,
9479
9497
  .h\:d-fc-yellow:hover,
9480
9498
  .f\:d-fc-yellow:focus,
9481
9499
  .f\:d-fc-yellow:focus-within,
9482
- .fv\:d-fc-yellow.focus-visible,
9483
- .h\:d-fc-warning:hover,
9484
- .f\:d-fc-warning:focus,
9485
- .f\:d-fc-warning:focus-within,
9486
- .fv\:d-fc-warning.focus-visible {
9500
+ .fv\:d-fc-yellow.focus-visible {
9487
9501
  --fco: 100%;
9488
9502
  color: hsla(var(--yellow-600-h) var(--yellow-600-s) var(--yellow-600-l) / var(--fco)) !important;
9489
9503
  }
@@ -9491,15 +9505,10 @@ body.theme-dark .d\:d-bgc-pink-100 {
9491
9505
  .h\:d-fc-yellow-600:hover,
9492
9506
  .f\:d-fc-yellow-600:focus,
9493
9507
  .d-fc-yellow,
9494
- .d-fc-warning,
9495
9508
  .h\:d-fc-yellow:hover,
9496
9509
  .f\:d-fc-yellow:focus,
9497
9510
  .f\:d-fc-yellow:focus-within,
9498
- .fv\:d-fc-yellow:focus-visible,
9499
- .h\:d-fc-warning:hover,
9500
- .f\:d-fc-warning:focus,
9501
- .f\:d-fc-warning:focus-within,
9502
- .fv\:d-fc-warning:focus-visible {
9511
+ .fv\:d-fc-yellow:focus-visible {
9503
9512
  --fco: 100%;
9504
9513
  color: hsla(var(--yellow-600-h) var(--yellow-600-s) var(--yellow-600-l) / var(--fco)) !important;
9505
9514
  }
@@ -12721,6 +12730,24 @@ body.theme-dark .d\:d-bgc-red-700 {
12721
12730
  .fv\:d-fc-primary:focus-visible {
12722
12731
  color: hsla(var(--primary-color-h) var(--primary-color-s) var(--primary-color-l) / var(--fco)) !important;
12723
12732
  }
12733
+ .d-fc-warning {
12734
+ color: var(--fc-warning);
12735
+ }
12736
+ .h\:d-fc-warning:hover {
12737
+ color: var(--fc-warning);
12738
+ }
12739
+ .f\:d-fc-warning:focus {
12740
+ color: var(--fc-warning);
12741
+ }
12742
+ .f\:d-fc-warning:focus-within {
12743
+ color: var(--fc-warning);
12744
+ }
12745
+ .fv\:d-fc-warning.focus-visible {
12746
+ color: var(--fc-warning);
12747
+ }
12748
+ .fv\:d-fc-warning:focus-visible {
12749
+ color: var(--fc-warning);
12750
+ }
12724
12751
  .d-fc-current {
12725
12752
  color: currentColor !important;
12726
12753
  }
@@ -20201,6 +20228,13 @@ body.theme-dark {
20201
20228
  padding: var(--su12) var(--su32);
20202
20229
  border-radius: 0;
20203
20230
  }
20231
+ .sm\:d-modal__dialog--scrollable {
20232
+ display: flex;
20233
+ flex-direction: column;
20234
+ }
20235
+ .sm\:d-modal__dialog--scrollable .d-modal__content {
20236
+ overflow-y: auto;
20237
+ }
20204
20238
  .sm\:d-modal--danger {
20205
20239
  --modal-header--fc: var(--fc-error);
20206
20240
  }
@@ -20854,6 +20888,39 @@ body.theme-dark {
20854
20888
  .sm\:d-g-cols12 {
20855
20889
  grid-template-columns: [full-start] repeat(12, [col-start] var(--col-width, minmax(0, 1fr)) [col-end]) [full-end] !important;
20856
20890
  }
20891
+ .sm\:d-w100p {
20892
+ width: 100% !important;
20893
+ }
20894
+ .sm\:d-w100vw {
20895
+ width: 100vw !important;
20896
+ }
20897
+ .sm\:d-jc-center {
20898
+ justify-content: center !important;
20899
+ }
20900
+ .sm\:d-jc-flex-end {
20901
+ justify-content: flex-end !important;
20902
+ }
20903
+ .sm\:d-jc-flex-start {
20904
+ justify-content: flex-start !important;
20905
+ }
20906
+ .sm\:d-jc-space-around {
20907
+ justify-content: space-around !important;
20908
+ }
20909
+ .sm\:d-jc-space-between {
20910
+ justify-content: space-between !important;
20911
+ }
20912
+ .sm\:d-jc-space-evenly {
20913
+ justify-content: space-evenly !important;
20914
+ }
20915
+ .sm\:d-jc-baseline {
20916
+ justify-content: baseline !important;
20917
+ }
20918
+ .sm\:d-jc-normal {
20919
+ justify-content: normal !important;
20920
+ }
20921
+ .sm\:d-jc-unset {
20922
+ justify-content: unset !important;
20923
+ }
20857
20924
  }
20858
20925
  @media (max-width: 640px) {
20859
20926
  .md\:d-description {
@@ -21337,6 +21404,13 @@ body.theme-dark {
21337
21404
  padding: var(--su12) var(--su32);
21338
21405
  border-radius: 0;
21339
21406
  }
21407
+ .md\:d-modal__dialog--scrollable {
21408
+ display: flex;
21409
+ flex-direction: column;
21410
+ }
21411
+ .md\:d-modal__dialog--scrollable .d-modal__content {
21412
+ overflow-y: auto;
21413
+ }
21340
21414
  .md\:d-modal--danger {
21341
21415
  --modal-header--fc: var(--fc-error);
21342
21416
  }
@@ -21990,6 +22064,39 @@ body.theme-dark {
21990
22064
  .md\:d-g-cols12 {
21991
22065
  grid-template-columns: [full-start] repeat(12, [col-start] var(--col-width, minmax(0, 1fr)) [col-end]) [full-end] !important;
21992
22066
  }
22067
+ .md\:d-w100p {
22068
+ width: 100% !important;
22069
+ }
22070
+ .md\:d-w100vw {
22071
+ width: 100vw !important;
22072
+ }
22073
+ .md\:d-jc-center {
22074
+ justify-content: center !important;
22075
+ }
22076
+ .md\:d-jc-flex-end {
22077
+ justify-content: flex-end !important;
22078
+ }
22079
+ .md\:d-jc-flex-start {
22080
+ justify-content: flex-start !important;
22081
+ }
22082
+ .md\:d-jc-space-around {
22083
+ justify-content: space-around !important;
22084
+ }
22085
+ .md\:d-jc-space-between {
22086
+ justify-content: space-between !important;
22087
+ }
22088
+ .md\:d-jc-space-evenly {
22089
+ justify-content: space-evenly !important;
22090
+ }
22091
+ .md\:d-jc-baseline {
22092
+ justify-content: baseline !important;
22093
+ }
22094
+ .md\:d-jc-normal {
22095
+ justify-content: normal !important;
22096
+ }
22097
+ .md\:d-jc-unset {
22098
+ justify-content: unset !important;
22099
+ }
21993
22100
  }
21994
22101
  @media (max-width: 980px) {
21995
22102
  .lg\:d-description {
@@ -22473,6 +22580,13 @@ body.theme-dark {
22473
22580
  padding: var(--su12) var(--su32);
22474
22581
  border-radius: 0;
22475
22582
  }
22583
+ .lg\:d-modal__dialog--scrollable {
22584
+ display: flex;
22585
+ flex-direction: column;
22586
+ }
22587
+ .lg\:d-modal__dialog--scrollable .d-modal__content {
22588
+ overflow-y: auto;
22589
+ }
22476
22590
  .lg\:d-modal--danger {
22477
22591
  --modal-header--fc: var(--fc-error);
22478
22592
  }
@@ -23126,6 +23240,39 @@ body.theme-dark {
23126
23240
  .lg\:d-g-cols12 {
23127
23241
  grid-template-columns: [full-start] repeat(12, [col-start] var(--col-width, minmax(0, 1fr)) [col-end]) [full-end] !important;
23128
23242
  }
23243
+ .lg\:d-w100p {
23244
+ width: 100% !important;
23245
+ }
23246
+ .lg\:d-w100vw {
23247
+ width: 100vw !important;
23248
+ }
23249
+ .lg\:d-jc-center {
23250
+ justify-content: center !important;
23251
+ }
23252
+ .lg\:d-jc-flex-end {
23253
+ justify-content: flex-end !important;
23254
+ }
23255
+ .lg\:d-jc-flex-start {
23256
+ justify-content: flex-start !important;
23257
+ }
23258
+ .lg\:d-jc-space-around {
23259
+ justify-content: space-around !important;
23260
+ }
23261
+ .lg\:d-jc-space-between {
23262
+ justify-content: space-between !important;
23263
+ }
23264
+ .lg\:d-jc-space-evenly {
23265
+ justify-content: space-evenly !important;
23266
+ }
23267
+ .lg\:d-jc-baseline {
23268
+ justify-content: baseline !important;
23269
+ }
23270
+ .lg\:d-jc-normal {
23271
+ justify-content: normal !important;
23272
+ }
23273
+ .lg\:d-jc-unset {
23274
+ justify-content: unset !important;
23275
+ }
23129
23276
  }
23130
23277
  @media (max-width: 1264px) {
23131
23278
  .xl\:d-description {
@@ -23609,6 +23756,13 @@ body.theme-dark {
23609
23756
  padding: var(--su12) var(--su32);
23610
23757
  border-radius: 0;
23611
23758
  }
23759
+ .xl\:d-modal__dialog--scrollable {
23760
+ display: flex;
23761
+ flex-direction: column;
23762
+ }
23763
+ .xl\:d-modal__dialog--scrollable .d-modal__content {
23764
+ overflow-y: auto;
23765
+ }
23612
23766
  .xl\:d-modal--danger {
23613
23767
  --modal-header--fc: var(--fc-error);
23614
23768
  }
@@ -24262,4 +24416,37 @@ body.theme-dark {
24262
24416
  .xl\:d-g-cols12 {
24263
24417
  grid-template-columns: [full-start] repeat(12, [col-start] var(--col-width, minmax(0, 1fr)) [col-end]) [full-end] !important;
24264
24418
  }
24419
+ .xl\:d-w100p {
24420
+ width: 100% !important;
24421
+ }
24422
+ .xl\:d-w100vw {
24423
+ width: 100vw !important;
24424
+ }
24425
+ .xl\:d-jc-center {
24426
+ justify-content: center !important;
24427
+ }
24428
+ .xl\:d-jc-flex-end {
24429
+ justify-content: flex-end !important;
24430
+ }
24431
+ .xl\:d-jc-flex-start {
24432
+ justify-content: flex-start !important;
24433
+ }
24434
+ .xl\:d-jc-space-around {
24435
+ justify-content: space-around !important;
24436
+ }
24437
+ .xl\:d-jc-space-between {
24438
+ justify-content: space-between !important;
24439
+ }
24440
+ .xl\:d-jc-space-evenly {
24441
+ justify-content: space-evenly !important;
24442
+ }
24443
+ .xl\:d-jc-baseline {
24444
+ justify-content: baseline !important;
24445
+ }
24446
+ .xl\:d-jc-normal {
24447
+ justify-content: normal !important;
24448
+ }
24449
+ .xl\:d-jc-unset {
24450
+ justify-content: unset !important;
24451
+ }
24265
24452
  }