@dialpad/dialtone 8.21.5 → 8.22.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/CHANGELOG.json +1 -1
- package/lib/build/less/components/forms.less +5 -0
- package/lib/build/less/components/pagination.less +41 -0
- package/lib/build/less/components/popover.less +11 -0
- package/lib/build/less/components/skeleton.less +52 -0
- package/lib/build/less/components/tab-panel.less +15 -0
- package/lib/build/less/components/toggle.less +9 -0
- package/lib/build/less/dialtone.less +2 -0
- package/lib/dist/css/dialtone.css +70 -2
- package/lib/dist/css/dialtone.min.css +1 -1
- package/package.json +2 -5
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DIALTONE
|
|
3
|
+
// COMPONENTS: Pagination
|
|
4
|
+
//
|
|
5
|
+
// These are the styles for Pagination component.
|
|
6
|
+
//
|
|
7
|
+
// TABLE OF CONTENTS
|
|
8
|
+
// • BASE STYLE
|
|
9
|
+
// • PREV & NEXT BUTTONS
|
|
10
|
+
// • SEPARATOR
|
|
11
|
+
//
|
|
12
|
+
// ============================================================================
|
|
13
|
+
// $ BASE STYLE
|
|
14
|
+
// ----------------------------------------------------------------------------
|
|
15
|
+
.d-pagination {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
grid-gap: var(--dt-space-300);
|
|
19
|
+
align-items: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// ============================================================================
|
|
23
|
+
// $ PREV & NEXT BUTTONS
|
|
24
|
+
// ----------------------------------------------------------------------------
|
|
25
|
+
.d-pagination__button {
|
|
26
|
+
padding-right: var(--dt-space-400);
|
|
27
|
+
padding-left: var(--dt-space-400);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// ============================================================================
|
|
31
|
+
// $ SEPARATOR
|
|
32
|
+
// ----------------------------------------------------------------------------
|
|
33
|
+
.d-pagination__separator {
|
|
34
|
+
align-self: flex-end;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.d-pagination__separator-icon {
|
|
38
|
+
width: var(--dt-size-550);
|
|
39
|
+
color: var(--dt-color-foreground-tertiary);
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
@@ -74,6 +74,17 @@
|
|
|
74
74
|
overflow: auto;
|
|
75
75
|
font-weight: var(--dt-font-weight-semi-bold);
|
|
76
76
|
font-size: var(--dt-font-size-200);
|
|
77
|
+
|
|
78
|
+
&__content {
|
|
79
|
+
width: 100%;
|
|
80
|
+
text-overflow: ellipsis;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__close-button {
|
|
84
|
+
margin-right: var(--dt-space-350);
|
|
85
|
+
padding: var(--dt-space-350);
|
|
86
|
+
border-color: transparent;
|
|
87
|
+
}
|
|
77
88
|
}
|
|
78
89
|
|
|
79
90
|
&__header {
|
|
@@ -6,6 +6,13 @@
|
|
|
6
6
|
// The --placeholder-from-color and --placeholder-to-color custom properties can be set on the parent class of the
|
|
7
7
|
// placeholder to control the animation colors.
|
|
8
8
|
// For further documentation of these styles, please visit https://dialpad.design/components/skeleton
|
|
9
|
+
//
|
|
10
|
+
//
|
|
11
|
+
// TABLE OF CONTENTS
|
|
12
|
+
// • SKELETON CONTAINER
|
|
13
|
+
// • SKELETON LIST ITEM
|
|
14
|
+
// • SKELETON PARAGRAPH
|
|
15
|
+
// • SKELETON TEXT
|
|
9
16
|
|
|
10
17
|
// ============================================================================
|
|
11
18
|
// @ SKELETON CONTAINER
|
|
@@ -44,3 +51,48 @@
|
|
|
44
51
|
fill: var(--placeholder-from-color);
|
|
45
52
|
}
|
|
46
53
|
}
|
|
54
|
+
|
|
55
|
+
// ============================================================================
|
|
56
|
+
// @ SKELETON LIST ITEM
|
|
57
|
+
// ----------------------------------------------------------------------------
|
|
58
|
+
.d-skeleton-list-item {
|
|
59
|
+
display: flex;
|
|
60
|
+
|
|
61
|
+
&--single {
|
|
62
|
+
align-items: center;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__shape {
|
|
66
|
+
margin-right: var(--dt-space-400);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__paragraph-container {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// ============================================================================
|
|
77
|
+
// @ SKELETON PARAGRAPH
|
|
78
|
+
// ----------------------------------------------------------------------------
|
|
79
|
+
.d-skeleton-paragraph {
|
|
80
|
+
width: 100%;
|
|
81
|
+
margin-bottom: var(--dt-space-450);
|
|
82
|
+
|
|
83
|
+
&:last-child {
|
|
84
|
+
margin-bottom: var(--dt-space-0);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// ============================================================================
|
|
89
|
+
// @ SKELETON TEXT
|
|
90
|
+
// ----------------------------------------------------------------------------
|
|
91
|
+
.d-skeleton-text {
|
|
92
|
+
height: var(--dt-size-400);
|
|
93
|
+
border-radius: var(--dt-size-radius-200);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.d-skeleton-text--heading {
|
|
97
|
+
border-radius: var(--dt-size-radius-200);
|
|
98
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DIALTONE
|
|
3
|
+
// COMPONENTS: Tab Panel
|
|
4
|
+
//
|
|
5
|
+
// These are the styles for Tab Panel component.
|
|
6
|
+
//
|
|
7
|
+
// TABLE OF CONTENTS
|
|
8
|
+
// • BASE STYLE
|
|
9
|
+
//
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// $ BASE STYLE
|
|
12
|
+
// ----------------------------------------------------------------------------
|
|
13
|
+
.d-tab-panel--hidden {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
// • INDETERMINATE TOGGLE
|
|
14
14
|
// • FOCUSED TOGGLE
|
|
15
15
|
// • DISABLED TOGGLE
|
|
16
|
+
// • TOGGLE WRAPPER
|
|
16
17
|
//
|
|
17
18
|
//
|
|
18
19
|
// ============================================================================
|
|
@@ -162,3 +163,11 @@
|
|
|
162
163
|
.d-toggle-group {
|
|
163
164
|
gap: var(--dt-space-400); // 8
|
|
164
165
|
}
|
|
166
|
+
|
|
167
|
+
// ============================================================================
|
|
168
|
+
// $ TOGGLE WRAPPER
|
|
169
|
+
// ----------------------------------------------------------------------------
|
|
170
|
+
.d-toggle-wrapper {
|
|
171
|
+
display: flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
}
|
|
@@ -33,11 +33,13 @@
|
|
|
33
33
|
@import 'components/notice';
|
|
34
34
|
@import 'components/toast';
|
|
35
35
|
@import 'components/banner';
|
|
36
|
+
@import 'components/pagination';
|
|
36
37
|
@import 'components/popover';
|
|
37
38
|
@import 'components/radio-checkbox';
|
|
38
39
|
@import 'components/selects';
|
|
39
40
|
@import 'components/skeleton';
|
|
40
41
|
@import 'components/table';
|
|
42
|
+
@import 'components/tab-panel';
|
|
41
43
|
@import 'components/tabs';
|
|
42
44
|
@import 'components/tooltip';
|
|
43
45
|
@import 'components/toggle';
|
|
@@ -1783,6 +1783,10 @@ legend .d-label {
|
|
|
1783
1783
|
background-color: var(--validation-color-text);
|
|
1784
1784
|
content: '';
|
|
1785
1785
|
}
|
|
1786
|
+
.d-validation-message__container {
|
|
1787
|
+
display: flex;
|
|
1788
|
+
flex-direction: column;
|
|
1789
|
+
}
|
|
1786
1790
|
.d-validation-message--warning {
|
|
1787
1791
|
--validation-color-text: var(--dt-color-foreground-warning);
|
|
1788
1792
|
}
|
|
@@ -2834,6 +2838,24 @@ legend .d-label {
|
|
|
2834
2838
|
.d-banner.d-banner--important {
|
|
2835
2839
|
--banner-color-border: transparent;
|
|
2836
2840
|
}
|
|
2841
|
+
.d-pagination {
|
|
2842
|
+
display: flex;
|
|
2843
|
+
flex-direction: row;
|
|
2844
|
+
grid-gap: var(--dt-space-300);
|
|
2845
|
+
align-items: center;
|
|
2846
|
+
}
|
|
2847
|
+
.d-pagination__button {
|
|
2848
|
+
padding-right: var(--dt-space-400);
|
|
2849
|
+
padding-left: var(--dt-space-400);
|
|
2850
|
+
}
|
|
2851
|
+
.d-pagination__separator {
|
|
2852
|
+
align-self: flex-end;
|
|
2853
|
+
}
|
|
2854
|
+
.d-pagination__separator-icon {
|
|
2855
|
+
width: var(--dt-size-550);
|
|
2856
|
+
color: var(--dt-color-foreground-tertiary);
|
|
2857
|
+
text-align: center;
|
|
2858
|
+
}
|
|
2837
2859
|
.d-popover__dialog {
|
|
2838
2860
|
--popover-color-background: var(--dt-color-surface-secondary);
|
|
2839
2861
|
--popover-border-width: var(--dt-size-100);
|
|
@@ -2876,6 +2898,17 @@ legend .d-label {
|
|
|
2876
2898
|
font-weight: var(--dt-font-weight-semi-bold);
|
|
2877
2899
|
font-size: var(--dt-font-size-200);
|
|
2878
2900
|
}
|
|
2901
|
+
.d-popover__header__content,
|
|
2902
|
+
.d-popover__footer__content {
|
|
2903
|
+
width: 100%;
|
|
2904
|
+
text-overflow: ellipsis;
|
|
2905
|
+
}
|
|
2906
|
+
.d-popover__header__close-button,
|
|
2907
|
+
.d-popover__footer__close-button {
|
|
2908
|
+
margin-right: var(--dt-space-350);
|
|
2909
|
+
padding: var(--dt-space-350);
|
|
2910
|
+
border-color: transparent;
|
|
2911
|
+
}
|
|
2879
2912
|
.d-popover__header {
|
|
2880
2913
|
grid-row: 1;
|
|
2881
2914
|
border-bottom: var(--popover-border-width) solid var(--popover-color-border);
|
|
@@ -3335,6 +3368,34 @@ legend .d-label {
|
|
|
3335
3368
|
fill: var(--placeholder-from-color);
|
|
3336
3369
|
}
|
|
3337
3370
|
}
|
|
3371
|
+
.d-skeleton-list-item {
|
|
3372
|
+
display: flex;
|
|
3373
|
+
}
|
|
3374
|
+
.d-skeleton-list-item--single {
|
|
3375
|
+
align-items: center;
|
|
3376
|
+
}
|
|
3377
|
+
.d-skeleton-list-item__shape {
|
|
3378
|
+
margin-right: var(--dt-space-400);
|
|
3379
|
+
}
|
|
3380
|
+
.d-skeleton-list-item__paragraph-container {
|
|
3381
|
+
display: flex;
|
|
3382
|
+
flex-direction: column;
|
|
3383
|
+
width: 100%;
|
|
3384
|
+
}
|
|
3385
|
+
.d-skeleton-paragraph {
|
|
3386
|
+
width: 100%;
|
|
3387
|
+
margin-bottom: var(--dt-space-450);
|
|
3388
|
+
}
|
|
3389
|
+
.d-skeleton-paragraph:last-child {
|
|
3390
|
+
margin-bottom: var(--dt-space-0);
|
|
3391
|
+
}
|
|
3392
|
+
.d-skeleton-text {
|
|
3393
|
+
height: var(--dt-size-400);
|
|
3394
|
+
border-radius: var(--dt-size-radius-200);
|
|
3395
|
+
}
|
|
3396
|
+
.d-skeleton-text--heading {
|
|
3397
|
+
border-radius: var(--dt-size-radius-200);
|
|
3398
|
+
}
|
|
3338
3399
|
.d-table {
|
|
3339
3400
|
--table-color-border: var(--dt-color-border-default);
|
|
3340
3401
|
--table-th-color-text: var(--dt-color-foreground-secondary);
|
|
@@ -3399,6 +3460,9 @@ legend .d-label {
|
|
|
3399
3460
|
.d-table--striped.d-table--inverted tr:nth-child(even) {
|
|
3400
3461
|
background-color: hsla(var(--bgc-primary-hsl) / 0.1);
|
|
3401
3462
|
}
|
|
3463
|
+
.d-tab-panel--hidden {
|
|
3464
|
+
display: none;
|
|
3465
|
+
}
|
|
3402
3466
|
.d-tablist {
|
|
3403
3467
|
position: relative;
|
|
3404
3468
|
display: flex;
|
|
@@ -3860,6 +3924,10 @@ legend .d-label {
|
|
|
3860
3924
|
.d-toggle-group {
|
|
3861
3925
|
gap: var(--dt-space-400);
|
|
3862
3926
|
}
|
|
3927
|
+
.d-toggle-wrapper {
|
|
3928
|
+
display: flex;
|
|
3929
|
+
align-items: center;
|
|
3930
|
+
}
|
|
3863
3931
|
.d-presence {
|
|
3864
3932
|
--presence-color-border-base: var(--dt-theme-sidebar-color-background);
|
|
3865
3933
|
--presence-color-border-offline: var(--dt-color-black-600);
|
|
@@ -7451,7 +7519,7 @@ body {
|
|
|
7451
7519
|
}
|
|
7452
7520
|
/**
|
|
7453
7521
|
* Do not edit directly
|
|
7454
|
-
* Generated on
|
|
7522
|
+
* Generated on Wed, 29 Nov 2023 15:51:14 GMT
|
|
7455
7523
|
*/
|
|
7456
7524
|
|
|
7457
7525
|
.dialtone-theme-light {
|
|
@@ -8248,7 +8316,7 @@ body {
|
|
|
8248
8316
|
|
|
8249
8317
|
/**
|
|
8250
8318
|
* Do not edit directly
|
|
8251
|
-
* Generated on
|
|
8319
|
+
* Generated on Wed, 29 Nov 2023 15:51:14 GMT
|
|
8252
8320
|
*/
|
|
8253
8321
|
|
|
8254
8322
|
.dialtone-theme-dark {
|