@dialpad/dialtone 8.21.4 → 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/avatar.less +3 -0
- package/lib/build/less/components/breadcrumbs.less +5 -0
- package/lib/build/less/components/chip.less +6 -0
- package/lib/build/less/components/codeblock.less +26 -0
- package/lib/build/less/components/collapsible.less +33 -0
- package/lib/build/less/components/combobox.less +28 -0
- package/lib/build/less/components/datepicker.less +84 -41
- package/lib/build/less/components/forms.less +5 -0
- package/lib/build/less/components/image-viewer.less +35 -0
- package/lib/build/less/components/input.less +31 -0
- package/lib/build/less/components/keyboard-shortcut.less +39 -0
- package/lib/build/less/components/list-item-group.less +17 -0
- package/lib/build/less/components/pagination.less +41 -0
- package/lib/build/less/components/popover.less +11 -0
- package/lib/build/less/components/radio-checkbox.less +26 -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 +8 -0
- package/lib/dist/css/dialtone.css +296 -41
- package/lib/dist/css/dialtone.min.css +1 -1
- package/package.json +7 -9
- package/lib/build/js/dialtone_health_check/deprecated_icons.js +0 -105
- package/lib/build/js/dialtone_health_check/index.js +0 -82
- package/lib/build/js/dialtone_health_check/non_dialtone_properties.js +0 -44
- package/lib/build/js/dialtone_migration_helper/configs/box-shadows.mjs +0 -19
- package/lib/build/js/dialtone_migration_helper/configs/colors.mjs +0 -69
- package/lib/build/js/dialtone_migration_helper/configs/fonts.mjs +0 -49
- package/lib/build/js/dialtone_migration_helper/configs/size-and-space.mjs +0 -124
- package/lib/build/js/dialtone_migration_helper/helpers.mjs +0 -212
- package/lib/build/js/dialtone_migration_helper/index.mjs +0 -135
- package/lib/dist/js/dialtone_health_check/deprecated_icons.js +0 -105
- package/lib/dist/js/dialtone_health_check/index.js +0 -82
- package/lib/dist/js/dialtone_health_check/non_dialtone_properties.js +0 -44
- package/lib/dist/js/dialtone_migration_helper/configs/box-shadows.mjs +0 -19
- package/lib/dist/js/dialtone_migration_helper/configs/colors.mjs +0 -69
- package/lib/dist/js/dialtone_migration_helper/configs/fonts.mjs +0 -49
- package/lib/dist/js/dialtone_migration_helper/configs/size-and-space.mjs +0 -124
- package/lib/dist/js/dialtone_migration_helper/helpers.mjs +0 -212
- package/lib/dist/js/dialtone_migration_helper/index.mjs +0 -135
|
@@ -75,10 +75,13 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&__initials {
|
|
78
|
+
position: absolute;
|
|
79
|
+
z-index: var(--zi-base);
|
|
78
80
|
font-weight: var(--dt-font-weight-bold);
|
|
79
81
|
font-size: var(--avatar-size-text);
|
|
80
82
|
line-height: var(--dt-font-line-height-100);
|
|
81
83
|
text-transform: uppercase;
|
|
84
|
+
user-select: none;
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
&__icon {
|
|
@@ -128,6 +128,12 @@
|
|
|
128
128
|
background-color: var(--dt-color-black-400);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
+
.d-chip__text {
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
white-space: nowrap;
|
|
134
|
+
text-overflow: ellipsis;
|
|
135
|
+
}
|
|
136
|
+
|
|
131
137
|
// ============================================================================
|
|
132
138
|
// $ SIZES
|
|
133
139
|
// ----------------------------------------------------------------------------
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DIALTONE
|
|
3
|
+
// COMPONENTS: Codeblock
|
|
4
|
+
//
|
|
5
|
+
// These are the styles for codeblock component.
|
|
6
|
+
//
|
|
7
|
+
// TABLE OF CONTENTS
|
|
8
|
+
// • BASE STYLE
|
|
9
|
+
//
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// $ BASE STYLE
|
|
12
|
+
// ----------------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
.d-codeblock {
|
|
15
|
+
display: block;
|
|
16
|
+
padding: var(--dt-space-400);
|
|
17
|
+
color: var(--dt-color-foreground-secondary);
|
|
18
|
+
font-size: var(--dt-font-size-200);
|
|
19
|
+
font-family: var(--dt-font-family-mono);
|
|
20
|
+
line-height: var(--dt-font-line-height-400);
|
|
21
|
+
white-space: pre-wrap;
|
|
22
|
+
background-color: var(--dt-color-surface-secondary);
|
|
23
|
+
border: var(--dt-size-100) solid;
|
|
24
|
+
border-color: var(--dt-color-border-subtle);
|
|
25
|
+
border-radius: var(--dt-size-radius-400);
|
|
26
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DIALTONE
|
|
3
|
+
// COMPONENTS: COLLAPSIBLE
|
|
4
|
+
//
|
|
5
|
+
// These are collapsible classes for Dialpad's design system Dialtone.
|
|
6
|
+
// For further documentation of these and other classes,
|
|
7
|
+
// visit https://dialpad.design/components/collapsible
|
|
8
|
+
//
|
|
9
|
+
// TABLE OF CONTENTS
|
|
10
|
+
// • BASE STYLE
|
|
11
|
+
//
|
|
12
|
+
// ============================================================================
|
|
13
|
+
// $ BASE STYLE
|
|
14
|
+
// ----------------------------------------------------------------------------
|
|
15
|
+
.d-collapsible__icon {
|
|
16
|
+
--icon-base-scale: var(--dt-size-400);
|
|
17
|
+
--icon-size-300: calc(var(--icon-base-scale) * 2.25);
|
|
18
|
+
--icon-size: var(--icon-size-300);
|
|
19
|
+
|
|
20
|
+
flex: none;
|
|
21
|
+
flex-shrink: 0;
|
|
22
|
+
width: var(--icon-size);
|
|
23
|
+
height: var(--icon-size);
|
|
24
|
+
margin-right: var(--dt-space-400);
|
|
25
|
+
fill: currentColor;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.d-collapsible__anchor-text {
|
|
29
|
+
margin-right: auto;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
white-space: nowrap;
|
|
32
|
+
text-overflow: ellipsis;
|
|
33
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DIALTONE
|
|
3
|
+
// COMPONENTS: COMBOBOX
|
|
4
|
+
//
|
|
5
|
+
// These are combobox classes for Dialpad's design system Dialtone.
|
|
6
|
+
// For further documentation of these and other classes,
|
|
7
|
+
// visit https://dialpad.design/components/combobox
|
|
8
|
+
//
|
|
9
|
+
// TABLE OF CONTENTS
|
|
10
|
+
// • EMPTY LIST
|
|
11
|
+
// • LOADING LIST LIST
|
|
12
|
+
//
|
|
13
|
+
// ============================================================================
|
|
14
|
+
// $ EMPTY LIST
|
|
15
|
+
// ----------------------------------------------------------------------------
|
|
16
|
+
.d-combobox__empty-list {
|
|
17
|
+
padding: var(--dt-space-0);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// ============================================================================
|
|
21
|
+
// $ LOADING LIST
|
|
22
|
+
// ----------------------------------------------------------------------------
|
|
23
|
+
.d-combobox__loading-list {
|
|
24
|
+
max-height: var(--dt-size-925);
|
|
25
|
+
margin-top: var(--dt-space-400);
|
|
26
|
+
padding: var(--dt-space-0);
|
|
27
|
+
overflow-y: auto;
|
|
28
|
+
}
|
|
@@ -11,38 +11,86 @@
|
|
|
11
11
|
// $ BASE STYLE
|
|
12
12
|
// ----------------------------------------------------------------------------
|
|
13
13
|
.d-datepicker {
|
|
14
|
-
width: calc(var(--dt-size-
|
|
15
|
-
|
|
14
|
+
--datepicker-width: calc(var(--dt-size-300) * 75); // A bit of a magic number as default fixed size, may use CSS utilities to override
|
|
15
|
+
--datepicker-day-size: calc(var(--dt-size-600) - var(--dt-size-200)); // Emulates SM button since Vue component in lieu of Vue component using DT button
|
|
16
|
+
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: var(--dt-space-400);
|
|
20
|
+
width: var(--datepicker-width);
|
|
21
|
+
padding: var(--dt-space-500);
|
|
16
22
|
|
|
17
23
|
p {
|
|
18
24
|
display: flex;
|
|
19
|
-
|
|
20
|
-
font-
|
|
21
|
-
font-size: var(--dt-size-450);
|
|
22
|
-
font-family: inherit;
|
|
23
|
-
font-style: normal;
|
|
25
|
+
color: var(--dt-color-foreground-secondary);
|
|
26
|
+
font-size: var(--dt-font-size-100);
|
|
24
27
|
text-transform: uppercase;
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
&--body {
|
|
28
|
-
padding: 0
|
|
31
|
+
padding: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// TODO: update VUE component to be use a raw <table>
|
|
35
|
+
&__month-year-picker {
|
|
36
|
+
display: flex;
|
|
37
|
+
gap: var(--dt-space-500);
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
|
|
41
|
+
> div {
|
|
42
|
+
display: flex;
|
|
43
|
+
gap: var(--dt-space-200);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
button {
|
|
47
|
+
// TODO: all of this should be replaced with the Vue DT button
|
|
48
|
+
display: inline-flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
width: var(--datepicker-day-size);
|
|
52
|
+
height: var(--datepicker-day-size);
|
|
53
|
+
padding: 0;
|
|
54
|
+
color: var(--dt-action-color-foreground-base-default);
|
|
55
|
+
background-color: var(--dt-action-color-background-base-default);
|
|
56
|
+
border: none;
|
|
57
|
+
border-radius: var(--dt-size-radius-circle);
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
color: var(--dt-action-color-foreground-base-hover);
|
|
62
|
+
background-color: var(--dt-action-color-background-base-hover);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:active {
|
|
66
|
+
color: var(--dt-action-color-foreground-base-active);
|
|
67
|
+
background-color: var(--dt-action-color-background-base-active);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&__calendar {
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
gap: var(--dt-space-200);
|
|
29
76
|
}
|
|
30
77
|
|
|
31
78
|
&__week-day {
|
|
32
79
|
display: flex;
|
|
80
|
+
align-items: center;
|
|
33
81
|
justify-content: space-between;
|
|
34
|
-
margin-bottom: var(--dt-size-500);
|
|
35
82
|
|
|
36
83
|
> div {
|
|
37
84
|
display: flex;
|
|
38
85
|
align-items: center;
|
|
39
86
|
justify-content: center;
|
|
40
|
-
width: var(--
|
|
41
|
-
height: var(--
|
|
87
|
+
width: var(--datepicker-day-size);
|
|
88
|
+
height: var(--datepicker-day-size);
|
|
42
89
|
|
|
43
90
|
p {
|
|
44
91
|
margin: 0;
|
|
45
|
-
color: var(--dt-color-
|
|
92
|
+
color: var(--dt-color-foreground-tertiary);
|
|
93
|
+
font-weight: var(--dt-font-weight-medium);
|
|
46
94
|
}
|
|
47
95
|
}
|
|
48
96
|
}
|
|
@@ -51,53 +99,48 @@
|
|
|
51
99
|
display: flex;
|
|
52
100
|
align-items: center;
|
|
53
101
|
justify-content: space-between;
|
|
54
|
-
margin-bottom: var(--dt-size-400);
|
|
55
102
|
}
|
|
56
103
|
|
|
57
104
|
&__day {
|
|
58
|
-
|
|
59
|
-
|
|
105
|
+
// TODO: all of this should be replaced with the Vue DT button
|
|
106
|
+
width: var(--datepicker-day-size);
|
|
107
|
+
height: var(--datepicker-day-size);
|
|
60
108
|
padding: 0;
|
|
61
|
-
|
|
109
|
+
color: var(--dt-action-color-foreground-muted-default);
|
|
110
|
+
font-size: var(--dt-font-size-100);
|
|
111
|
+
font-variant-numeric: tabular-nums;
|
|
112
|
+
line-height: 1;
|
|
62
113
|
background-color: transparent;
|
|
63
114
|
border: none;
|
|
64
|
-
border-radius:
|
|
115
|
+
border-radius: var(--dt-size-radius-circle);
|
|
65
116
|
cursor: pointer;
|
|
66
117
|
|
|
67
118
|
&--disabled {
|
|
68
|
-
color: var(--dt-color-
|
|
119
|
+
color: var(--dt-color-foreground-muted);
|
|
120
|
+
cursor: default;
|
|
69
121
|
}
|
|
70
122
|
|
|
71
123
|
&--selected {
|
|
72
|
-
color: var(--dt-color-
|
|
73
|
-
background: var(--dt-color-purple
|
|
124
|
+
color: var(--dt-color-neutral-white);
|
|
125
|
+
background: var(--dt-color-brand-purple);
|
|
74
126
|
}
|
|
75
127
|
|
|
76
|
-
&:
|
|
77
|
-
|
|
128
|
+
&:hover:not(.d-datepicker__day--selected, .d-datepicker__day--disabled) {
|
|
129
|
+
color: var(--dt-action-color-foreground-muted-hover);
|
|
130
|
+
background-color: var(--dt-action-color-background-muted-hover);
|
|
78
131
|
}
|
|
79
|
-
}
|
|
80
132
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
width: 100%;
|
|
86
|
-
height: 100%;
|
|
87
|
-
margin-bottom: var(--dt-size-525);
|
|
133
|
+
&:active:not(.d-datepicker__day--selected, .d-datepicker__day--disabled) {
|
|
134
|
+
color: var(--dt-action-color-foreground-muted-active);
|
|
135
|
+
background-color: var(--dt-action-color-background-muted-active);
|
|
136
|
+
}
|
|
88
137
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
138
|
+
&:focus-visible {
|
|
139
|
+
box-shadow: var(--dt-shadow-focus);
|
|
140
|
+
}
|
|
92
141
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
align-items: center;
|
|
96
|
-
padding: 0;
|
|
97
|
-
color: var(--dt-action-color-foreground-base-default);
|
|
98
|
-
background-color: transparent;
|
|
99
|
-
border: none;
|
|
100
|
-
cursor: pointer;
|
|
142
|
+
&:focus-visible:not(.d-datepicker__day--selected) {
|
|
143
|
+
background-color: var(--dt-color-surface-moderate);
|
|
101
144
|
}
|
|
102
145
|
}
|
|
103
146
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DIALTONE
|
|
3
|
+
// COMPONENTS: Image Viewer
|
|
4
|
+
//
|
|
5
|
+
// These are the styles for Image Viewer component.
|
|
6
|
+
//
|
|
7
|
+
// TABLE OF CONTENTS
|
|
8
|
+
// • BASE STYLE
|
|
9
|
+
//
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// $ BASE STYLE
|
|
12
|
+
// ----------------------------------------------------------------------------
|
|
13
|
+
.d-image-viewer__preview-button {
|
|
14
|
+
padding: var(--dt-space-0);
|
|
15
|
+
cursor: -webkit-zoom-in;
|
|
16
|
+
cursor: zoom-in;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.d-image-viewer__full {
|
|
20
|
+
max-width: 80%;
|
|
21
|
+
max-height: 80%;
|
|
22
|
+
padding: var(--dt-space-0);
|
|
23
|
+
border-radius: var(--dt-size-radius-0);
|
|
24
|
+
|
|
25
|
+
&__image {
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
max-height: 100%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.d-image-viewer__close-button {
|
|
32
|
+
--fco: 100%;
|
|
33
|
+
|
|
34
|
+
color: hsla(var(--dt-color-neutral-white-h) var(--dt-color-neutral-white-s) var(--dt-color-neutral-white-l) / var(--fco));
|
|
35
|
+
}
|
|
@@ -114,6 +114,37 @@
|
|
|
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
|
+
.d-input__length-description {
|
|
145
|
+
margin-bottom: var(--dt-space-200);
|
|
146
|
+
}
|
|
147
|
+
|
|
117
148
|
// $$ INPUT WRAPPER
|
|
118
149
|
// ----------------------------------------------------------------------------
|
|
119
150
|
.d-input__wrapper {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DIALTONE
|
|
3
|
+
// COMPONENTS: Keyboard Shortcut
|
|
4
|
+
//
|
|
5
|
+
// These are the styles for Keyboard Shortcut component.
|
|
6
|
+
//
|
|
7
|
+
// TABLE OF CONTENTS
|
|
8
|
+
// • BASE STYLE
|
|
9
|
+
//
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// $ BASE STYLE
|
|
12
|
+
// ----------------------------------------------------------------------------
|
|
13
|
+
.d-keyboard-shortcut {
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
padding-right: var(--dt-space-300);
|
|
19
|
+
padding-left: var(--dt-space-300);
|
|
20
|
+
font-size: var(--dt-font-size-100);
|
|
21
|
+
font-family: var(--dt-font-family-body);
|
|
22
|
+
border: var(--dt-size-100) solid;
|
|
23
|
+
border-color: var(--dt-color-border-default);
|
|
24
|
+
border-radius: var(--dt-size-radius-300);
|
|
25
|
+
|
|
26
|
+
&--inverted {
|
|
27
|
+
border-color: var(--dt-color-border-moderate-inverted);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__icon,
|
|
31
|
+
&__item {
|
|
32
|
+
margin-right: var(--dt-space-200);
|
|
33
|
+
color: var(--dt-color-foreground-tertiary);
|
|
34
|
+
|
|
35
|
+
&--inverted {
|
|
36
|
+
color: var(--dt-color-foreground-secondary-inverted);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//
|
|
2
|
+
// DIALTONE
|
|
3
|
+
// COMPONENTS: List Item Group
|
|
4
|
+
//
|
|
5
|
+
// These are the styles for List Item Group component.
|
|
6
|
+
//
|
|
7
|
+
// TABLE OF CONTENTS
|
|
8
|
+
// • BASE STYLE
|
|
9
|
+
//
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// $ BASE STYLE
|
|
12
|
+
// ----------------------------------------------------------------------------
|
|
13
|
+
.d-list-item-group {
|
|
14
|
+
position: relative;
|
|
15
|
+
padding-right: var(--dt-space-0);
|
|
16
|
+
padding-left: var(--dt-space-0);
|
|
17
|
+
}
|
|
@@ -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 {
|
|
@@ -107,6 +107,22 @@
|
|
|
107
107
|
display: flex;
|
|
108
108
|
flex-direction: column;
|
|
109
109
|
align-items: flex-start;
|
|
110
|
+
|
|
111
|
+
&__label {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex: 1 0%;
|
|
114
|
+
align-items: baseline;
|
|
115
|
+
justify-content: space-between;
|
|
116
|
+
box-sizing: border-box;
|
|
117
|
+
margin-bottom: var(--dt-space-300);
|
|
118
|
+
color: var(--dt-color-foreground-secondary);
|
|
119
|
+
font-weight: var(--dt-font-weight-semi-bold);
|
|
120
|
+
font-size: var(--dt-font-size-200);
|
|
121
|
+
font-family: inherit;
|
|
122
|
+
line-height: var(--dt-font-line-height-300);
|
|
123
|
+
word-break: break-word;
|
|
124
|
+
overflow-wrap: break-word;
|
|
125
|
+
}
|
|
110
126
|
}
|
|
111
127
|
|
|
112
128
|
|
|
@@ -145,6 +161,16 @@
|
|
|
145
161
|
cursor: pointer;
|
|
146
162
|
}
|
|
147
163
|
|
|
164
|
+
.d-checkbox__description {
|
|
165
|
+
display: flex;
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
color: var(--dt-color-foreground-tertiary);
|
|
168
|
+
font-size: var(--dt-font-size-100);
|
|
169
|
+
font-family: inherit;
|
|
170
|
+
line-height: var(--dt-font-line-height-400);
|
|
171
|
+
fill: currentColor;
|
|
172
|
+
}
|
|
173
|
+
|
|
148
174
|
// ============================================================================
|
|
149
175
|
// $ CHECKBOXES
|
|
150
176
|
// ----------------------------------------------------------------------------
|
|
@@ -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
|
+
}
|
|
@@ -17,21 +17,29 @@
|
|
|
17
17
|
@import 'components/button';
|
|
18
18
|
@import 'components/card';
|
|
19
19
|
@import 'components/chip';
|
|
20
|
+
@import 'components/codeblock';
|
|
21
|
+
@import 'components/collapsible';
|
|
22
|
+
@import 'components/combobox';
|
|
20
23
|
@import 'components/datepicker';
|
|
21
24
|
@import 'components/emoji-picker';
|
|
22
25
|
@import 'components/forms';
|
|
26
|
+
@import 'components/image-viewer';
|
|
23
27
|
@import 'components/input';
|
|
28
|
+
@import 'components/keyboard-shortcut';
|
|
24
29
|
@import 'components/link';
|
|
25
30
|
@import 'components/list-group'; // Dialtone 5 shim
|
|
31
|
+
@import 'components/list-item-group';
|
|
26
32
|
@import 'components/modal';
|
|
27
33
|
@import 'components/notice';
|
|
28
34
|
@import 'components/toast';
|
|
29
35
|
@import 'components/banner';
|
|
36
|
+
@import 'components/pagination';
|
|
30
37
|
@import 'components/popover';
|
|
31
38
|
@import 'components/radio-checkbox';
|
|
32
39
|
@import 'components/selects';
|
|
33
40
|
@import 'components/skeleton';
|
|
34
41
|
@import 'components/table';
|
|
42
|
+
@import 'components/tab-panel';
|
|
35
43
|
@import 'components/tabs';
|
|
36
44
|
@import 'components/tooltip';
|
|
37
45
|
@import 'components/toggle';
|