@dialpad/dialtone 9.5.0 → 9.6.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.
Files changed (38) hide show
  1. package/dist/css/CHANGELOG.json +1 -1
  2. package/dist/css/dialtone.css +233 -286
  3. package/dist/css/dialtone.min.css +1 -1
  4. package/dist/tokens/android/java/tokens-dark.kt +1 -1
  5. package/dist/tokens/android/java/tokens-light.kt +1 -1
  6. package/dist/tokens/android/res/values/colors-dark.xml +1 -1
  7. package/dist/tokens/android/res/values/colors-light.xml +1 -1
  8. package/dist/tokens/android/res/values/dimens.xml +1 -1
  9. package/dist/tokens/css/variables-dark.css +1 -1
  10. package/dist/tokens/css/variables-light.css +1 -1
  11. package/dist/tokens/ios/tokens-dark.swift +1 -1
  12. package/dist/tokens/ios/tokens-light.swift +1 -1
  13. package/dist/tokens/less/variables-dark.less +1 -1
  14. package/dist/tokens/less/variables-light.less +1 -1
  15. package/dist/vue2/dialtone-vue.cjs +5 -5
  16. package/dist/vue2/dialtone-vue.js +1317 -1257
  17. package/dist/vue2/message_input.cjs +1 -1
  18. package/dist/vue2/message_input.js +1 -1
  19. package/dist/vue2/{stack-spMDaIoR.js → stack-bbvMVTEH.js} +1 -1
  20. package/dist/vue2/{stack-n8PaTh0Q.cjs → stack-x_udRwmv.cjs} +1 -1
  21. package/dist/vue2/types/components/datepicker/modules/calendar.vue.d.ts +2 -1
  22. package/dist/vue2/types/components/datepicker/modules/month-year-picker.vue.d.ts +3 -1
  23. package/dist/vue2/types/components/datepicker/utils.d.ts +2 -0
  24. package/dist/vue2/types/components/datepicker/utils.d.ts.map +1 -1
  25. package/dist/vue2/types/components/description_list/description_list.vue.d.ts +1 -1
  26. package/dist/vue2/types/components/hovercard/timer.d.ts.map +1 -1
  27. package/dist/vue3/dialtone-vue.cjs +5 -5
  28. package/dist/vue3/dialtone-vue.js +2653 -2467
  29. package/dist/vue3/types/components/datepicker/composables/useCalendar.d.ts +1 -1
  30. package/dist/vue3/types/components/datepicker/composables/useCalendar.d.ts.map +1 -1
  31. package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts +2 -0
  32. package/dist/vue3/types/components/datepicker/composables/useMonthYearPicker.d.ts.map +1 -1
  33. package/dist/vue3/types/components/datepicker/modules/calendar.vue.d.ts +1 -1
  34. package/dist/vue3/types/components/datepicker/modules/month-year-picker.vue.d.ts +3 -1
  35. package/dist/vue3/types/components/datepicker/utils.d.ts +2 -0
  36. package/dist/vue3/types/components/datepicker/utils.d.ts.map +1 -1
  37. package/dist/vue3/types/components/description_list/description_list.vue.d.ts +1 -1
  38. package/package.json +1 -1
@@ -317,6 +317,202 @@ template {
317
317
  box-shadow: var(--dt-shadow-focus);
318
318
  }
319
319
  /* stylelint-disable meowtec/no-px */
320
+ .d-root-layout {
321
+ position: relative;
322
+ display: grid;
323
+ grid-template-areas: 'header header' 'sidebar body' 'footer footer';
324
+ grid-template-rows: -webkit-min-content 1fr -webkit-min-content;
325
+ grid-template-rows: min-content 1fr min-content;
326
+ grid-template-columns: -webkit-min-content 1fr;
327
+ grid-template-columns: min-content 1fr;
328
+ min-height: 100vh;
329
+ }
330
+ .d-root-layout--inverted {
331
+ grid-template-areas: 'header header' 'body sidebar' 'footer footer';
332
+ grid-template-columns: 1fr -webkit-min-content;
333
+ grid-template-columns: 1fr min-content;
334
+ }
335
+ .d-root-layout--fixed {
336
+ height: 100vh;
337
+ }
338
+ .d-root-layout__header {
339
+ grid-area: header;
340
+ }
341
+ .d-root-layout__header--sticky {
342
+ position: sticky;
343
+ top: 0;
344
+ z-index: var(--zi-navigation);
345
+ }
346
+ .d-root-layout__sidebar {
347
+ grid-area: sidebar;
348
+ height: 100%;
349
+ overflow: hidden auto;
350
+ box-shadow: none;
351
+ }
352
+ .d-root-layout__content {
353
+ grid-area: body;
354
+ overflow-y: auto;
355
+ box-shadow: none;
356
+ }
357
+ .d-root-layout__content:focus-visible {
358
+ box-shadow: none;
359
+ }
360
+ .d-root-layout__footer {
361
+ grid-area: footer;
362
+ }
363
+ .d-stack {
364
+ --stack-gap: 0;
365
+ --stack-direction: column;
366
+ display: flex;
367
+ flex-direction: var(--stack-direction);
368
+ gap: var(--stack-gap);
369
+ justify-content: flex-start;
370
+ }
371
+ .d-stack--column-reverse {
372
+ --stack-direction: column-reverse;
373
+ justify-content: flex-start;
374
+ }
375
+ .d-stack--row {
376
+ --stack-direction: row;
377
+ align-items: center;
378
+ justify-content: normal;
379
+ }
380
+ .d-stack--row-reverse {
381
+ --stack-direction: row-reverse;
382
+ align-items: center;
383
+ justify-content: normal;
384
+ }
385
+ @media screen and (max-width: 1264px) {
386
+ .d-stack--xl--column {
387
+ --stack-direction: column;
388
+ justify-content: flex-start;
389
+ }
390
+ .d-stack--xl--column-reverse {
391
+ --stack-direction: column-reverse;
392
+ justify-content: flex-start;
393
+ }
394
+ .d-stack--xl--row {
395
+ --stack-direction: row;
396
+ align-items: center;
397
+ justify-content: normal;
398
+ }
399
+ .d-stack--xl--row-reverse {
400
+ --stack-direction: row-reverse;
401
+ align-items: center;
402
+ justify-content: normal;
403
+ }
404
+ }
405
+ @media screen and (max-width: 980px) {
406
+ .d-stack--lg--column {
407
+ --stack-direction: column;
408
+ justify-content: flex-start;
409
+ }
410
+ .d-stack--lg--column-reverse {
411
+ --stack-direction: column-reverse;
412
+ justify-content: flex-start;
413
+ }
414
+ .d-stack--lg--row {
415
+ --stack-direction: row;
416
+ align-items: center;
417
+ justify-content: normal;
418
+ }
419
+ .d-stack--lg--row-reverse {
420
+ --stack-direction: row-reverse;
421
+ align-items: center;
422
+ justify-content: normal;
423
+ }
424
+ }
425
+ @media screen and (max-width: 640px) {
426
+ .d-stack--md--column {
427
+ --stack-direction: column;
428
+ justify-content: flex-start;
429
+ }
430
+ .d-stack--md--column-reverse {
431
+ --stack-direction: column-reverse;
432
+ justify-content: flex-start;
433
+ }
434
+ .d-stack--md--row {
435
+ --stack-direction: row;
436
+ align-items: center;
437
+ justify-content: normal;
438
+ }
439
+ .d-stack--md--row-reverse {
440
+ --stack-direction: row-reverse;
441
+ align-items: center;
442
+ justify-content: normal;
443
+ }
444
+ }
445
+ @media screen and (max-width: 480px) {
446
+ .d-stack--sm--column {
447
+ --stack-direction: column;
448
+ justify-content: flex-start;
449
+ }
450
+ .d-stack--sm--column-reverse {
451
+ --stack-direction: column-reverse;
452
+ justify-content: flex-start;
453
+ }
454
+ .d-stack--sm--row {
455
+ --stack-direction: row;
456
+ align-items: center;
457
+ justify-content: normal;
458
+ }
459
+ .d-stack--sm--row-reverse {
460
+ --stack-direction: row-reverse;
461
+ align-items: center;
462
+ justify-content: normal;
463
+ }
464
+ }
465
+ .d-stack--gap-100 {
466
+ --stack-gap: var(--dt-space-100);
467
+ }
468
+ .d-stack--gap-200 {
469
+ --stack-gap: var(--dt-space-200);
470
+ }
471
+ .d-stack--gap-300 {
472
+ --stack-gap: var(--dt-space-300);
473
+ }
474
+ .d-stack--gap-400 {
475
+ --stack-gap: var(--dt-space-400);
476
+ }
477
+ .d-stack--gap-500 {
478
+ --stack-gap: var(--dt-space-500);
479
+ }
480
+ .d-stack--gap-600 {
481
+ --stack-gap: var(--dt-space-600);
482
+ }
483
+ .dt-item-layout {
484
+ display: flex;
485
+ align-items: center;
486
+ min-height: calc(var(--dt-size-550) + var(--dt-size-300));
487
+ padding: var(--dt-space-300) var(--dt-space-400);
488
+ font-size: var(--dt-font-size-200);
489
+ line-height: var(--dt-font-line-height-300);
490
+ }
491
+ .dt-item-layout--content {
492
+ flex-grow: 1;
493
+ min-width: var(--dt-size-0);
494
+ }
495
+ .dt-item-layout--subtitle {
496
+ color: var(--dt-color-foreground-tertiary);
497
+ font-size: var(--dt-font-size-100);
498
+ }
499
+ .dt-item-layout--right,
500
+ .dt-item-layout--left {
501
+ display: flex;
502
+ align-items: center;
503
+ min-width: var(--dt-size-600);
504
+ min-height: inherit;
505
+ }
506
+ .dt-item-layout--right {
507
+ padding-left: var(--dt-space-400);
508
+ }
509
+ .dt-item-layout--left {
510
+ justify-content: flex-end;
511
+ padding-right: var(--dt-space-400);
512
+ }
513
+ .dt-item-layout--bottom {
514
+ margin-top: var(--dt-space-200);
515
+ }
320
516
  .d-avatar {
321
517
  --avatar-color-background: var(--dt-avatar-color-background-000);
322
518
  --avatar-color-text: var(--dt-avatar-color-foreground);
@@ -1377,114 +1573,61 @@ template {
1377
1573
  }
1378
1574
  .d-datepicker {
1379
1575
  --datepicker-width: calc(var(--dt-size-300) * 75);
1380
- --datepicker-day-size: calc(var(--dt-size-600) - var(--dt-size-200));
1381
- display: flex;
1382
- flex-direction: column;
1383
- gap: var(--dt-space-400);
1576
+ --datepicker-button-size: calc(var(--dt-size-600) - var(--dt-size-200));
1384
1577
  width: var(--datepicker-width);
1385
1578
  padding: var(--dt-space-500);
1579
+ box-sizing: border-box;
1386
1580
  }
1387
- .d-datepicker p {
1388
- display: flex;
1389
- color: var(--dt-color-foreground-secondary);
1390
- font-size: var(--dt-font-size-100);
1391
- text-transform: uppercase;
1392
- }
1393
- .d-datepicker--body {
1394
- padding: 0;
1581
+ .d-datepicker__hd {
1582
+ padding: 0 var(--dt-space-300);
1395
1583
  }
1396
- .d-datepicker__month-year-picker {
1397
- display: flex;
1398
- gap: var(--dt-space-500);
1399
- align-items: center;
1584
+ .d-datepicker__month-year {
1400
1585
  justify-content: space-between;
1586
+ width: 100%;
1587
+ color: var(--dt-color-foreground-secondary);
1588
+ text-align: center;
1401
1589
  }
1402
- .d-datepicker__month-year-picker > div {
1403
- display: flex;
1404
- gap: var(--dt-space-200);
1405
- }
1406
- .d-datepicker__month-year-picker button {
1407
- display: inline-flex;
1408
- align-items: center;
1409
- justify-content: center;
1410
- width: var(--datepicker-day-size);
1411
- height: var(--datepicker-day-size);
1412
- padding: 0;
1413
- color: var(--dt-action-color-foreground-base-default);
1414
- background-color: var(--dt-action-color-background-base-default);
1415
- border: none;
1416
- border-radius: var(--dt-size-radius-circle);
1417
- cursor: pointer;
1590
+ .d-datepicker__month-year-title {
1591
+ line-height: var(--dt-font-line-height-300);
1592
+ font-size: var(--dt-font-size-100);
1593
+ font-weight: var(--dt-font-weight-normal);
1594
+ text-transform: uppercase;
1418
1595
  }
1419
- .d-datepicker__month-year-picker button:hover {
1420
- color: var(--dt-action-color-foreground-base-hover);
1421
- background-color: var(--dt-action-color-background-base-hover);
1596
+ .d-datepicker__nav-btn {
1597
+ width: var(--datepicker-button-size);
1598
+ height: var(--datepicker-button-size);
1422
1599
  }
1423
- .d-datepicker__month-year-picker button:active {
1424
- color: var(--dt-action-color-foreground-base-active);
1425
- background-color: var(--dt-action-color-background-base-active);
1600
+ .d-datepicker__weekday {
1601
+ color: var(--dt-color-foreground-tertiary);
1602
+ font-weight: var(--dt-font-weight-medium);
1603
+ font-size: var(--dt-font-size-100);
1604
+ text-transform: uppercase;
1426
1605
  }
1427
1606
  .d-datepicker__calendar {
1428
- display: flex;
1429
- flex-direction: column;
1430
- gap: var(--dt-space-200);
1431
- }
1432
- .d-datepicker__week-day {
1433
- display: flex;
1434
- align-items: center;
1435
- justify-content: space-between;
1436
- }
1437
- .d-datepicker__week-day > div {
1438
- display: flex;
1439
- align-items: center;
1440
- justify-content: center;
1441
- width: var(--datepicker-day-size);
1442
- height: var(--datepicker-day-size);
1607
+ width: 100%;
1608
+ border-collapse: collapse;
1443
1609
  }
1444
- .d-datepicker__week-day > div p {
1445
- margin: 0;
1446
- color: var(--dt-color-foreground-tertiary);
1447
- font-weight: var(--dt-font-weight-medium);
1610
+ .d-datepicker__cell {
1611
+ padding: 0;
1612
+ padding-top: var(--dt-space-200);
1613
+ text-align: center;
1448
1614
  }
1449
- .d-datepicker__week {
1450
- display: flex;
1451
- align-items: center;
1452
- justify-content: space-between;
1615
+ .d-datepicker__cell--header {
1616
+ padding-top: 0;
1617
+ padding-bottom: var(--dt-space-400);
1453
1618
  }
1454
1619
  .d-datepicker__day {
1455
- width: var(--datepicker-day-size);
1456
- height: var(--datepicker-day-size);
1457
- padding: 0;
1458
- color: var(--dt-action-color-foreground-muted-default);
1459
- font-size: var(--dt-font-size-100);
1620
+ width: var(--datepicker-button-size);
1621
+ height: var(--datepicker-button-size);
1460
1622
  font-variant-numeric: tabular-nums;
1461
- line-height: 1;
1462
- background-color: transparent;
1463
- border: none;
1464
- border-radius: var(--dt-size-radius-circle);
1465
- cursor: pointer;
1466
- }
1467
- .d-datepicker__day--disabled {
1468
- color: var(--dt-color-foreground-muted);
1469
- cursor: default;
1470
1623
  }
1471
1624
  .d-datepicker__day--selected {
1472
1625
  color: var(--dt-color-neutral-white);
1473
1626
  background: var(--dt-color-brand-purple);
1474
1627
  }
1475
- .d-datepicker__day:hover:not(.d-datepicker__day--selected, .d-datepicker__day--disabled) {
1476
- color: var(--dt-action-color-foreground-muted-hover);
1477
- background-color: var(--dt-action-color-background-muted-hover);
1478
- }
1479
- .d-datepicker__day:active:not(.d-datepicker__day--selected, .d-datepicker__day--disabled) {
1480
- color: var(--dt-action-color-foreground-muted-active);
1481
- background-color: var(--dt-action-color-background-muted-active);
1482
- }
1483
- .d-datepicker__day:focus-visible {
1484
- box-shadow: var(--dt-shadow-focus);
1485
- }
1486
- .d-datepicker__day:focus-visible:not(.d-datepicker__day--selected) {
1487
- background-color: var(--dt-color-surface-moderate);
1628
+ .d-datepicker__day--disabled {
1629
+ color: var(--dt-color-foreground-muted);
1630
+ background-color: var(--dt-color-neutral-transparent);
1488
1631
  }
1489
1632
  .d-emoji-picker {
1490
1633
  flex-direction: column;
@@ -3963,202 +4106,6 @@ legend .d-label {
3963
4106
  .d-icon--size-100 {
3964
4107
  --icon-size: var(--icon-size-100);
3965
4108
  }
3966
- .d-root-layout {
3967
- position: relative;
3968
- display: grid;
3969
- grid-template-areas: 'header header' 'sidebar body' 'footer footer';
3970
- grid-template-rows: -webkit-min-content 1fr -webkit-min-content;
3971
- grid-template-rows: min-content 1fr min-content;
3972
- grid-template-columns: -webkit-min-content 1fr;
3973
- grid-template-columns: min-content 1fr;
3974
- min-height: 100vh;
3975
- }
3976
- .d-root-layout--inverted {
3977
- grid-template-areas: 'header header' 'body sidebar' 'footer footer';
3978
- grid-template-columns: 1fr -webkit-min-content;
3979
- grid-template-columns: 1fr min-content;
3980
- }
3981
- .d-root-layout--fixed {
3982
- height: 100vh;
3983
- }
3984
- .d-root-layout__header {
3985
- grid-area: header;
3986
- }
3987
- .d-root-layout__header--sticky {
3988
- position: sticky;
3989
- top: 0;
3990
- z-index: var(--zi-navigation);
3991
- }
3992
- .d-root-layout__sidebar {
3993
- grid-area: sidebar;
3994
- height: 100%;
3995
- overflow: hidden auto;
3996
- box-shadow: none;
3997
- }
3998
- .d-root-layout__content {
3999
- grid-area: body;
4000
- overflow-y: auto;
4001
- box-shadow: none;
4002
- }
4003
- .d-root-layout__content:focus-visible {
4004
- box-shadow: none;
4005
- }
4006
- .d-root-layout__footer {
4007
- grid-area: footer;
4008
- }
4009
- .d-stack {
4010
- --stack-gap: 0;
4011
- --stack-direction: column;
4012
- display: flex;
4013
- flex-direction: var(--stack-direction);
4014
- gap: var(--stack-gap);
4015
- justify-content: flex-start;
4016
- }
4017
- .d-stack--column-reverse {
4018
- --stack-direction: column-reverse;
4019
- justify-content: flex-start;
4020
- }
4021
- .d-stack--row {
4022
- --stack-direction: row;
4023
- align-items: center;
4024
- justify-content: normal;
4025
- }
4026
- .d-stack--row-reverse {
4027
- --stack-direction: row-reverse;
4028
- align-items: center;
4029
- justify-content: normal;
4030
- }
4031
- @media screen and (max-width: 1264px) {
4032
- .d-stack--xl--column {
4033
- --stack-direction: column;
4034
- justify-content: flex-start;
4035
- }
4036
- .d-stack--xl--column-reverse {
4037
- --stack-direction: column-reverse;
4038
- justify-content: flex-start;
4039
- }
4040
- .d-stack--xl--row {
4041
- --stack-direction: row;
4042
- align-items: center;
4043
- justify-content: normal;
4044
- }
4045
- .d-stack--xl--row-reverse {
4046
- --stack-direction: row-reverse;
4047
- align-items: center;
4048
- justify-content: normal;
4049
- }
4050
- }
4051
- @media screen and (max-width: 980px) {
4052
- .d-stack--lg--column {
4053
- --stack-direction: column;
4054
- justify-content: flex-start;
4055
- }
4056
- .d-stack--lg--column-reverse {
4057
- --stack-direction: column-reverse;
4058
- justify-content: flex-start;
4059
- }
4060
- .d-stack--lg--row {
4061
- --stack-direction: row;
4062
- align-items: center;
4063
- justify-content: normal;
4064
- }
4065
- .d-stack--lg--row-reverse {
4066
- --stack-direction: row-reverse;
4067
- align-items: center;
4068
- justify-content: normal;
4069
- }
4070
- }
4071
- @media screen and (max-width: 640px) {
4072
- .d-stack--md--column {
4073
- --stack-direction: column;
4074
- justify-content: flex-start;
4075
- }
4076
- .d-stack--md--column-reverse {
4077
- --stack-direction: column-reverse;
4078
- justify-content: flex-start;
4079
- }
4080
- .d-stack--md--row {
4081
- --stack-direction: row;
4082
- align-items: center;
4083
- justify-content: normal;
4084
- }
4085
- .d-stack--md--row-reverse {
4086
- --stack-direction: row-reverse;
4087
- align-items: center;
4088
- justify-content: normal;
4089
- }
4090
- }
4091
- @media screen and (max-width: 480px) {
4092
- .d-stack--sm--column {
4093
- --stack-direction: column;
4094
- justify-content: flex-start;
4095
- }
4096
- .d-stack--sm--column-reverse {
4097
- --stack-direction: column-reverse;
4098
- justify-content: flex-start;
4099
- }
4100
- .d-stack--sm--row {
4101
- --stack-direction: row;
4102
- align-items: center;
4103
- justify-content: normal;
4104
- }
4105
- .d-stack--sm--row-reverse {
4106
- --stack-direction: row-reverse;
4107
- align-items: center;
4108
- justify-content: normal;
4109
- }
4110
- }
4111
- .d-stack--gap-100 {
4112
- --stack-gap: var(--dt-space-100);
4113
- }
4114
- .d-stack--gap-200 {
4115
- --stack-gap: var(--dt-space-200);
4116
- }
4117
- .d-stack--gap-300 {
4118
- --stack-gap: var(--dt-space-300);
4119
- }
4120
- .d-stack--gap-400 {
4121
- --stack-gap: var(--dt-space-400);
4122
- }
4123
- .d-stack--gap-500 {
4124
- --stack-gap: var(--dt-space-500);
4125
- }
4126
- .d-stack--gap-600 {
4127
- --stack-gap: var(--dt-space-600);
4128
- }
4129
- .dt-item-layout {
4130
- display: flex;
4131
- align-items: center;
4132
- min-height: calc(var(--dt-size-550) + var(--dt-size-300));
4133
- padding: var(--dt-space-300) var(--dt-space-400);
4134
- font-size: var(--dt-font-size-200);
4135
- line-height: var(--dt-font-line-height-300);
4136
- }
4137
- .dt-item-layout--content {
4138
- flex-grow: 1;
4139
- min-width: var(--dt-size-0);
4140
- }
4141
- .dt-item-layout--subtitle {
4142
- color: var(--dt-color-foreground-tertiary);
4143
- font-size: var(--dt-font-size-100);
4144
- }
4145
- .dt-item-layout--right,
4146
- .dt-item-layout--left {
4147
- display: flex;
4148
- align-items: center;
4149
- min-width: var(--dt-size-600);
4150
- min-height: inherit;
4151
- }
4152
- .dt-item-layout--right {
4153
- padding-left: var(--dt-space-400);
4154
- }
4155
- .dt-item-layout--left {
4156
- justify-content: flex-end;
4157
- padding-right: var(--dt-space-400);
4158
- }
4159
- .dt-item-layout--bottom {
4160
- margin-top: var(--dt-space-200);
4161
- }
4162
4109
  .d-bga-scroll {
4163
4110
  background-attachment: scroll !important;
4164
4111
  }
@@ -7427,7 +7374,7 @@ body {
7427
7374
  }
7428
7375
  /**
7429
7376
  * Do not edit directly
7430
- * Generated on Mon, 15 Jan 2024 18:39:18 GMT
7377
+ * Generated on Tue, 16 Jan 2024 19:27:32 GMT
7431
7378
  */
7432
7379
 
7433
7380
  .dialtone-theme-light {
@@ -8224,7 +8171,7 @@ body {
8224
8171
 
8225
8172
  /**
8226
8173
  * Do not edit directly
8227
- * Generated on Mon, 15 Jan 2024 18:39:19 GMT
8174
+ * Generated on Tue, 16 Jan 2024 19:27:33 GMT
8228
8175
  */
8229
8176
 
8230
8177
  .dialtone-theme-dark {