@dialpad/dialtone-css 1.0.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 (134) hide show
  1. package/CHANGELOG.json +1 -0
  2. package/LICENSE.md +21 -0
  3. package/README.md +64 -0
  4. package/lib/build/favicons/dialpad/favicon-beta-notification__512.png +0 -0
  5. package/lib/build/favicons/dialpad/favicon-beta__512.png +0 -0
  6. package/lib/build/favicons/dialpad/favicon-csr__512.png +0 -0
  7. package/lib/build/favicons/dialpad/favicon-notification__512.png +0 -0
  8. package/lib/build/favicons/dialpad/favicon-staging-notification__512.png +0 -0
  9. package/lib/build/favicons/dialpad/favicon-staging__512.png +0 -0
  10. package/lib/build/favicons/dialpad/favicon__512.png +0 -0
  11. package/lib/build/favicons/favicon-dialtone__512.png +0 -0
  12. package/lib/build/favicons/uberconference/favicon-uberconference__512.png +0 -0
  13. package/lib/build/fonts/Archivo-Bold.woff2 +0 -0
  14. package/lib/build/fonts/Archivo-Regular.woff2 +0 -0
  15. package/lib/build/fonts/Archivo-SemiBold.woff2 +0 -0
  16. package/lib/build/fonts/ArchivoExpanded-SemiBold.woff2 +0 -0
  17. package/lib/build/fonts/ArchivoSemiExpanded-Medium.woff2 +0 -0
  18. package/lib/build/fonts/ArchivoSemiExpanded-SemiBold.woff2 +0 -0
  19. package/lib/build/js/dialtone_health_check/deprecated_icons.cjs +105 -0
  20. package/lib/build/js/dialtone_health_check/index.cjs +82 -0
  21. package/lib/build/js/dialtone_health_check/non_dialtone_properties.cjs +44 -0
  22. package/lib/build/js/dialtone_migration_helper/configs/box-shadows.mjs +19 -0
  23. package/lib/build/js/dialtone_migration_helper/configs/colors.mjs +69 -0
  24. package/lib/build/js/dialtone_migration_helper/configs/fonts.mjs +49 -0
  25. package/lib/build/js/dialtone_migration_helper/configs/size-and-space.mjs +124 -0
  26. package/lib/build/js/dialtone_migration_helper/helpers.mjs +212 -0
  27. package/lib/build/js/dialtone_migration_helper/index.mjs +135 -0
  28. package/lib/build/less/components/avatar.less +169 -0
  29. package/lib/build/less/components/badge.less +139 -0
  30. package/lib/build/less/components/banner.less +77 -0
  31. package/lib/build/less/components/breadcrumbs.less +88 -0
  32. package/lib/build/less/components/button.less +554 -0
  33. package/lib/build/less/components/card.less +56 -0
  34. package/lib/build/less/components/chip.less +192 -0
  35. package/lib/build/less/components/codeblock.less +26 -0
  36. package/lib/build/less/components/collapsible.less +33 -0
  37. package/lib/build/less/components/combobox.less +28 -0
  38. package/lib/build/less/components/datepicker.less +146 -0
  39. package/lib/build/less/components/emoji-picker.less +223 -0
  40. package/lib/build/less/components/forms.less +153 -0
  41. package/lib/build/less/components/icon.less +63 -0
  42. package/lib/build/less/components/image-viewer.less +35 -0
  43. package/lib/build/less/components/input.less +321 -0
  44. package/lib/build/less/components/item-layout.less +53 -0
  45. package/lib/build/less/components/keyboard-shortcut.less +39 -0
  46. package/lib/build/less/components/link.less +130 -0
  47. package/lib/build/less/components/list-group.less +48 -0
  48. package/lib/build/less/components/list-item-group.less +17 -0
  49. package/lib/build/less/components/modal.less +340 -0
  50. package/lib/build/less/components/notice.less +171 -0
  51. package/lib/build/less/components/pagination.less +41 -0
  52. package/lib/build/less/components/popover.less +99 -0
  53. package/lib/build/less/components/presence.less +60 -0
  54. package/lib/build/less/components/radio-checkbox.less +278 -0
  55. package/lib/build/less/components/root-layout.less +125 -0
  56. package/lib/build/less/components/selects.less +152 -0
  57. package/lib/build/less/components/skeleton.less +101 -0
  58. package/lib/build/less/components/stack.less +129 -0
  59. package/lib/build/less/components/tab-panel.less +15 -0
  60. package/lib/build/less/components/table.less +118 -0
  61. package/lib/build/less/components/tabs.less +219 -0
  62. package/lib/build/less/components/toast.less +120 -0
  63. package/lib/build/less/components/toggle.less +173 -0
  64. package/lib/build/less/components/tooltip.less +267 -0
  65. package/lib/build/less/dialtone-globals.less +45 -0
  66. package/lib/build/less/dialtone-reset.less +362 -0
  67. package/lib/build/less/dialtone-variables.less +16 -0
  68. package/lib/build/less/dialtone.less +71 -0
  69. package/lib/build/less/themes/default.less +83 -0
  70. package/lib/build/less/themes/example.less +89 -0
  71. package/lib/build/less/utilities/backgrounds.less +139 -0
  72. package/lib/build/less/utilities/borders.less +196 -0
  73. package/lib/build/less/utilities/colors.less +122 -0
  74. package/lib/build/less/utilities/effects.less +210 -0
  75. package/lib/build/less/utilities/flex.less +227 -0
  76. package/lib/build/less/utilities/grid.less +244 -0
  77. package/lib/build/less/utilities/interactivity.less +69 -0
  78. package/lib/build/less/utilities/layout.less +146 -0
  79. package/lib/build/less/utilities/lint-staged.config.cjs +5 -0
  80. package/lib/build/less/utilities/sizing.less +152 -0
  81. package/lib/build/less/utilities/spacing.less +107 -0
  82. package/lib/build/less/utilities/typography.less +300 -0
  83. package/lib/build/less/variables/layout.less +19 -0
  84. package/lib/build/less/variables/sizes.less +64 -0
  85. package/lib/build/less/variables/typography.less +46 -0
  86. package/lib/build/less/variables/visual-styles.less +77 -0
  87. package/lib/build/svg/spot/blank-space.svg +35 -0
  88. package/lib/build/svg/spot/browser-list-callout.svg +27 -0
  89. package/lib/build/svg/spot/browser-table-graph.svg +37 -0
  90. package/lib/build/svg/spot/female-laptop-typing.svg +21 -0
  91. package/lib/build/svg/spot/file-upload.svg +50 -0
  92. package/lib/build/svg/spot/male-laptop-typing.svg +24 -0
  93. package/lib/build/svg/spot/mind.svg +58 -0
  94. package/lib/build/svg/spot/publish.svg +54 -0
  95. package/lib/build/svg/spot/vector-vortex.svg +53 -0
  96. package/lib/build/svg/spot/wireless-screenshare.svg +30 -0
  97. package/lib/dist/css/dialtone.css +18711 -0
  98. package/lib/dist/css/dialtone.min.css +1 -0
  99. package/lib/dist/fonts/Archivo-Bold.woff2 +0 -0
  100. package/lib/dist/fonts/Archivo-Regular.woff2 +0 -0
  101. package/lib/dist/fonts/Archivo-SemiBold.woff2 +0 -0
  102. package/lib/dist/fonts/ArchivoExpanded-SemiBold.woff2 +0 -0
  103. package/lib/dist/fonts/ArchivoSemiExpanded-Medium.woff2 +0 -0
  104. package/lib/dist/fonts/ArchivoSemiExpanded-SemiBold.woff2 +0 -0
  105. package/lib/dist/js/dialtone_health_check/deprecated_icons.cjs +105 -0
  106. package/lib/dist/js/dialtone_health_check/index.cjs +82 -0
  107. package/lib/dist/js/dialtone_health_check/non_dialtone_properties.cjs +44 -0
  108. package/lib/dist/js/dialtone_migration_helper/configs/box-shadows.mjs +19 -0
  109. package/lib/dist/js/dialtone_migration_helper/configs/colors.mjs +69 -0
  110. package/lib/dist/js/dialtone_migration_helper/configs/fonts.mjs +49 -0
  111. package/lib/dist/js/dialtone_migration_helper/configs/size-and-space.mjs +124 -0
  112. package/lib/dist/js/dialtone_migration_helper/helpers.mjs +212 -0
  113. package/lib/dist/js/dialtone_migration_helper/index.mjs +135 -0
  114. package/lib/dist/svg/spot/blank-space.svg +1 -0
  115. package/lib/dist/svg/spot/browser-list-callout.svg +1 -0
  116. package/lib/dist/svg/spot/browser-table-graph.svg +1 -0
  117. package/lib/dist/svg/spot/female-laptop-typing.svg +1 -0
  118. package/lib/dist/svg/spot/file-upload.svg +1 -0
  119. package/lib/dist/svg/spot/male-laptop-typing.svg +1 -0
  120. package/lib/dist/svg/spot/mind.svg +1 -0
  121. package/lib/dist/svg/spot/publish.svg +1 -0
  122. package/lib/dist/svg/spot/vector-vortex.svg +1 -0
  123. package/lib/dist/svg/spot/wireless-screenshare.svg +1 -0
  124. package/lib/dist/vue/spot/SpotBlankSpace.vue +3 -0
  125. package/lib/dist/vue/spot/SpotBrowserListCallout.vue +3 -0
  126. package/lib/dist/vue/spot/SpotBrowserTableGraph.vue +3 -0
  127. package/lib/dist/vue/spot/SpotFemaleLaptopTyping.vue +3 -0
  128. package/lib/dist/vue/spot/SpotFileUpload.vue +3 -0
  129. package/lib/dist/vue/spot/SpotMaleLaptopTyping.vue +3 -0
  130. package/lib/dist/vue/spot/SpotMind.vue +3 -0
  131. package/lib/dist/vue/spot/SpotPublish.vue +3 -0
  132. package/lib/dist/vue/spot/SpotVectorVortex.vue +3 -0
  133. package/lib/dist/vue/spot/SpotWirelessScreenshare.vue +3 -0
  134. package/package.json +115 -0
@@ -0,0 +1,244 @@
1
+ //
2
+ // DIALTONE
3
+ // UTILITIES: GRID
4
+ //
5
+ // These are the CSS grid utility classes for Dialpad's design system Dialtone.
6
+ // For further documentation of these and other classes,
7
+ // visit https://dialpad.design/utilities/grid
8
+ //
9
+ // TABLE OF CONTENTS
10
+ // • GRID VARIABLES
11
+ // • COLUMNS
12
+ // • GAP
13
+ // • JUSTIFY ITEMS
14
+ // • JUSTIFY SELF
15
+ // • LAYOUTS
16
+ // - AREAS
17
+ // • PLACE CONTENT
18
+ // • PLACE ITEMS
19
+ // • PLACE SELF
20
+ // • ROWS
21
+ //
22
+ // ============================================================================
23
+ // $ COLUMNS
24
+ // ----------------------------------------------------------------------------
25
+ .d-gc-full { grid-column: 1 ~' / ' -1 !important; }
26
+
27
+ .d-gcs-auto { grid-column-start: auto !important; }
28
+ .d-gce-auto { grid-column-end: auto !important; }
29
+ .d-gc-auto { grid-column: auto !important; }
30
+
31
+ .d-gcs-unset { grid-column-start: unset !important; }
32
+ .d-gce-unset { grid-column-end: unset !important; }
33
+ .d-gc-unset { grid-column: unset !important; }
34
+
35
+
36
+ // ============================================================================
37
+ // $ GAP
38
+ // ============================================================================
39
+ // Defines the size of grid 'gaps' (lines). We generate a gap for
40
+ // each defined spacing unit.
41
+ // ----------------------------------------------------------------------------
42
+ .d-gcg-unset { grid-column-gap: unset !important; }
43
+ .d-grg-unset { grid-row-gap: unset !important; }
44
+ .d-gg-unset { grid-gap: unset !important; }
45
+
46
+
47
+ // ============================================================================
48
+ // $ JUSTIFY ITEMS
49
+ // Aligns grid items along the main axis.
50
+ // ----------------------------------------------------------------------------
51
+ .d-ji-center { justify-items: center !important; }
52
+ .d-ji-end { justify-items: end !important; }
53
+ .d-ji-start { justify-items: start !important; }
54
+ .d-ji-left { justify-items: left !important; }
55
+ .d-ji-right { justify-items: right !important; }
56
+ .d-ji-baseline { justify-items: baseline !important; }
57
+ .d-ji-first-baseline { justify-items: first-baseline !important; }
58
+ .d-ji-last-baseline { justify-items: last-baseline !important; }
59
+ .d-ji-stretch { justify-items: stretch !important; }
60
+ .d-ji-safe { justify-items: safe !important; }
61
+ .d-ji-unsafe { justify-items: unsafe !important; }
62
+ .d-ji-normal { justify-items: normal !important; }
63
+ .d-ji-legacy { justify-items: legacy !important; }
64
+ .d-ji-auto { justify-items: auto !important; }
65
+ .d-ji-unset { justify-items: unset !important; }
66
+
67
+
68
+ // ============================================================================
69
+ // $ JUSTIFY SELF
70
+ // Aligns grid item along the main axis.
71
+ // ----------------------------------------------------------------------------
72
+ .d-js-center { justify-self: center !important; }
73
+ .d-js-end { justify-self: end !important; }
74
+ .d-js-start { justify-self: start !important; }
75
+ .d-js-left { justify-self: left !important; }
76
+ .d-js-right { justify-self: right !important; }
77
+ .d-js-baseline { justify-self: baseline !important; }
78
+ .d-js-first-baseline { justify-self: first-baseline !important; }
79
+ .d-js-last-baseline { justify-self: last-baseline !important; }
80
+ .d-js-stretch { justify-self: stretch !important; }
81
+ .d-js-safe { justify-self: safe !important; }
82
+ .d-js-unsafe { justify-self: unsafe !important; }
83
+ .d-js-normal { justify-self: normal !important; }
84
+ .d-js-legacy { justify-self: legacy !important; }
85
+ .d-js-auto { justify-self: auto !important; }
86
+ .d-js-unset { justify-self: unset !important; }
87
+
88
+
89
+ // ============================================================================
90
+ // $ LAYOUTS
91
+ // ----------------------------------------------------------------------------
92
+ .d-gl-sidebar {
93
+ grid-template-areas: 'sidebar content';
94
+ grid-template-columns: [sidebar-start] var(--sidebar-width) [sidebar-end content-start] var(--content-width) [content-end];
95
+ }
96
+
97
+ .d-gl-header {
98
+ grid-template-areas: 'header'
99
+ 'content';
100
+ grid-template-rows: [header-start] var(--header-height) [header-end content-start] var(--content-height) [content-end];
101
+ grid-auto-rows: 1fr;
102
+ grid-auto-columns: minmax(min-content, auto);
103
+ }
104
+
105
+ // $ GRID AREAS
106
+ // ----------------------------------------------------------------------------
107
+ .d-ga-sidebar { grid-area: sidebar !important; }
108
+ .d-ga-content { grid-area: content !important; }
109
+ .d-ga-header { grid-area: header !important; }
110
+
111
+
112
+ // ============================================================================
113
+ // $ PLACE CONTENT
114
+ // Aligns grid items along the block and inline directions at once
115
+ // ----------------------------------------------------------------------------
116
+ .d-plc-center { place-content: center !important; }
117
+ .d-plc-center-end { place-content: center end !important; }
118
+ .d-plc-center-start { place-content: center start !important; }
119
+ .d-plc-center-stretch { place-content: center stretch !important; }
120
+ .d-plc-center-space-around { place-content: center space-around !important; }
121
+ .d-plc-center-space-evenly { place-content: center space-evenly !important; }
122
+ .d-plc-center-space-between { place-content: center space-between !important; }
123
+
124
+ .d-plc-end { place-content: end !important; }
125
+ .d-plc-end-start { place-content: end start !important; }
126
+ .d-plc-end-stretch { place-content: end stretch !important; }
127
+ .d-plc-end-center { place-content: end center !important; }
128
+ .d-plc-end-space-around { place-content: end space-around !important; }
129
+ .d-plc-end-space-evenly { place-content: end space-evenly !important; }
130
+ .d-plc-end-space-between { place-content: end space-between !important; }
131
+
132
+ .d-plc-start { place-content: start !important; }
133
+ .d-plc-start-end { place-content: start end !important; }
134
+ .d-plc-start-center { place-content: start center !important; }
135
+ .d-plc-start-stretch { place-content: start stretch !important; }
136
+ .d-plc-start-space-around { place-content: start space-around !important; }
137
+ .d-plc-start-space-evenly { place-content: start space-evenly !important; }
138
+ .d-plc-start-space-between { place-content: start space-between !important; }
139
+
140
+ .d-plc-stretch { place-content: stretch !important; }
141
+ .d-plc-stretch-end { place-content: stretch end !important; }
142
+ .d-plc-stretch-start { place-content: stretch start !important; }
143
+ .d-plc-stretch-center { place-content: stretch center !important; }
144
+ .d-plc-stretch-space-evenly { place-content: stretch space-evenly !important; }
145
+ .d-plc-stretch-space-around { place-content: stretch space-around !important; }
146
+ .d-plc-stretch-space-between { place-content: stretch space-between !important; }
147
+
148
+ .d-plc-space-around { place-content: space-around !important; }
149
+ .d-plc-space-around-end { place-content: space-around end !important; }
150
+ .d-plc-space-around-start { place-content: space-around start !important; }
151
+ .d-plc-space-around-center { place-content: space-around center !important; }
152
+ .d-plc-space-around-space-evenly { place-content: space-around space-evenly !important; }
153
+ .d-plc-space-around-space-between { place-content: space-around space-between !important; }
154
+
155
+ .d-plc-space-evenly { place-content: space-evenly !important; }
156
+ .d-plc-space-evenly-end { place-content: space-evenly end !important; }
157
+ .d-plc-space-evenly-start { place-content: space-evenly start !important; }
158
+ .d-plc-space-evenly-center { place-content: space-evenly center !important; }
159
+ .d-plc-space-evenly-space-around { place-content: space-evenly space-around !important; }
160
+ .d-plc-space-evenly-space-between { place-content: space-evenly space-between !important; }
161
+
162
+ .d-plc-space-between { place-content: space-between !important; }
163
+ .d-plc-space-between-end { place-content: space-between end !important; }
164
+ .d-plc-space-between-start { place-content: space-between start !important; }
165
+ .d-plc-space-between-center { place-content: space-between center !important; }
166
+ .d-plc-space-between-space-around { place-content: space-between space-around !important; }
167
+ .d-plc-space-between-space-evenly { place-content: space-between space-evenly !important; }
168
+
169
+ .d-plc-normal { place-content: normal !important; }
170
+ .d-plc-legacy { place-content: legacy !important; }
171
+ .d-plc-auto { place-content: auto !important; }
172
+ .d-plc-unset { place-content: unset !important; }
173
+
174
+
175
+ // ============================================================================
176
+ // $ PLACE ITEMS
177
+ // ----------------------------------------------------------------------------
178
+ .d-pli-center { place-items: center !important; }
179
+ .d-pli-center-end { place-items: center end !important; }
180
+ .d-pli-center-start { place-items: center start !important; }
181
+ .d-pli-center-stretch { place-items: center stretch !important; }
182
+
183
+ .d-pli-end { place-items: end !important; }
184
+ .d-pli-end-start { place-items: end start !important; }
185
+ .d-pli-end-stretch { place-items: end stretch !important; }
186
+ .d-pli-end-center { place-items: end center !important; }
187
+
188
+ .d-pli-start { place-items: start !important; }
189
+ .d-pli-start-end { place-items: start end !important; }
190
+ .d-pli-start-center { place-items: start center !important; }
191
+ .d-pli-start-stretch { place-items: start stretch !important; }
192
+
193
+ .d-pli-stretch { place-items: stretch !important; }
194
+ .d-pli-stretch-end { place-items: stretch end !important; }
195
+ .d-pli-stretch-start { place-items: stretch start !important; }
196
+ .d-pli-stretch-center { place-items: stretch center !important; }
197
+
198
+ .d-pli-normal { place-items: normal !important; }
199
+ .d-pli-legacy { place-items: legacy !important; }
200
+ .d-pli-auto { place-items: auto !important; }
201
+ .d-pli-unset { place-items: unset !important; }
202
+
203
+
204
+ // ============================================================================
205
+ // $ PLACE SELF
206
+ // ----------------------------------------------------------------------------
207
+ .d-pls-center { place-self: center !important; }
208
+ .d-pls-center-end { place-self: center end !important; }
209
+ .d-pls-center-start { place-self: center start !important; }
210
+ .d-pls-center-stretch { place-self: center stretch !important; }
211
+
212
+ .d-pls-end { place-self: end !important; }
213
+ .d-pls-end-start { place-self: end start !important; }
214
+ .d-pls-end-stretch { place-self: end stretch !important; }
215
+ .d-pls-end-center { place-self: end center !important; }
216
+
217
+ .d-pls-start { place-self: start !important; }
218
+ .d-pls-start-end { place-self: start end !important; }
219
+ .d-pls-start-center { place-self: start center !important; }
220
+ .d-pls-start-stretch { place-self: start stretch !important; }
221
+
222
+ .d-pls-stretch { place-self: stretch !important; }
223
+ .d-pls-stretch-end { place-self: stretch end !important; }
224
+ .d-pls-stretch-start { place-self: stretch start !important; }
225
+ .d-pls-stretch-center { place-self: stretch center !important; }
226
+
227
+ .d-pls-normal { place-self: normal !important; }
228
+ .d-pls-legacy { place-self: legacy !important; }
229
+ .d-pls-auto { place-self: auto !important; }
230
+ .d-pls-unset { place-self: unset !important; }
231
+
232
+
233
+ // ============================================================================
234
+ // $ ROWS
235
+ // ----------------------------------------------------------------------------
236
+ .d-gr-full { grid-row: 1 ~' / ' -1 !important; }
237
+
238
+ .d-grs-auto { grid-row-start: auto !important; }
239
+ .d-gre-auto { grid-row-end: auto !important; }
240
+ .d-gr-auto { grid-row: auto !important; }
241
+
242
+ .d-grs-unset { grid-row-start: unset !important; }
243
+ .d-gre-unset { grid-row-end: unset !important; }
244
+ .d-gr-unset { grid-row: unset !important; }
@@ -0,0 +1,69 @@
1
+ //
2
+ // DIALTONE
3
+ // UTILITIES: INTERACTIVITY
4
+ //
5
+ // These are interactivity utility classes for Dialpad's design system Dialtone.
6
+ // For further documentation of these and other classes,
7
+ // visit https://dialpad.design/utilities/interactivity
8
+ //
9
+ // TABLE OF CONTENTS
10
+ // • CURSOR
11
+ // • OUTLINE
12
+ // • POINTER EVENTS
13
+ //
14
+ // ============================================================================
15
+ // $ CURSOR
16
+ // Sets the type of mouse cursor, if any, to show when the mouse pointer is over an element.
17
+ // ----------------------------------------------------------------------------
18
+ .d-c-menu { cursor: context-menu !important; }
19
+ .d-c-help { cursor: help !important; }
20
+ .d-c-pointer { cursor: pointer !important; }
21
+ .d-c-progress { cursor: progress !important; }
22
+ .d-c-wait { cursor: wait !important; }
23
+ .d-c-crosshair { cursor: crosshair !important; }
24
+ .d-c-text { cursor: text !important; }
25
+ .d-c-move { cursor: move !important; }
26
+ .d-c-copy { cursor: copy !important; }
27
+ .d-c-not-allowed { cursor: not-allowed !important; }
28
+ .d-c-grab { cursor: grab !important; }
29
+ .d-c-grabbing { cursor: grabbing !important; }
30
+ .d-c-all-scroll { cursor: all-scroll !important; }
31
+ .d-c-col-resize { cursor: col-resize !important; }
32
+ .d-c-row-resize { cursor: row-resize !important; }
33
+ .d-c-zoom-in { cursor: zoom-in !important; }
34
+ .d-c-zoom-out { cursor: zoom-out !important; }
35
+ .d-c-auto { cursor: auto !important; }
36
+ .d-c-default { cursor: default !important; }
37
+ .d-c-none { cursor: none !important; }
38
+
39
+
40
+ //============================================================================
41
+ // $ OUTLINE
42
+ // Sets the style, width, color, and other characteristics
43
+ // elements' outlines. These shouldn't be confused with borders.
44
+ // ----------------------------------------------------------------------------
45
+ .d-ol-focusring { box-shadow: var(--dt-shadow-focus) !important; }
46
+ .d-ol-focusring-inset { box-shadow: var(--dt-shadow-focus-inset) !important; }
47
+ .d-ol-none { box-shadow: none !important; }
48
+
49
+ //============================================================================
50
+ // $ POINTER EVENTS
51
+ // The pointer-events CSS property enables or disables all
52
+ // mouse events on an element.
53
+ // ----------------------------------------------------------------------------
54
+ .d-pe-auto { pointer-events: auto !important; }
55
+ .d-pe-inherit { pointer-events: inherit !important; }
56
+ .d-pe-none { pointer-events: none !important; }
57
+
58
+ .d-us-auto { user-select: auto !important; }
59
+ .d-us-none { user-select: none !important; }
60
+
61
+ //============================================================================
62
+ // $ RESIZE
63
+ // The resize CSS property sets whether an element is resizable,
64
+ // and if so, in which directions.
65
+ // ----------------------------------------------------------------------------
66
+ .d-r-both { resize: both !important; }
67
+ .d-r-horizontal { resize: horizontal !important; }
68
+ .d-r-vertical { resize: vertical !important; }
69
+ .d-r-none { resize: none !important; }
@@ -0,0 +1,146 @@
1
+ //
2
+ // DIALTONE
3
+ // UTILITIES: LAYOUT
4
+ //
5
+ // These are layout utility classes for Dialpad's design system Dialtone.
6
+ // For further documentation of these and other classes,
7
+ // visit https://dialpad.design/utilities/layout
8
+ //
9
+ // TABLE OF CONTENTS
10
+ // • BOX SIZING
11
+ // • COORDINATES
12
+ // • DISPLAY
13
+ // • OVERFLOW
14
+ // • POSITION
15
+ // • VISIBILITY
16
+ // • Z-INDEX
17
+ //
18
+ // ============================================================================
19
+ // $ BOX-SIZING
20
+ // ============================================================================
21
+ .d-box-border { box-sizing: border-box !important; }
22
+ .d-box-content { box-sizing: content-box !important; }
23
+ .d-box-unset { box-sizing: unset !important; }
24
+
25
+ // ============================================================================
26
+ // $ COORDINATES
27
+ // ============================================================================
28
+ // $$ TOP
29
+ // ----------------------------------------------------------------------------
30
+ .d-t50p { top: 50% !important; }
31
+ .d-t100p { top: 100% !important; }
32
+ .d-t100p-calc { top: calc(~'100% + var(--fixed-value, 8px)') !important; }
33
+ .d-tn50p { top: -50% !important; }
34
+ .d-tn100p { top: -100% !important; }
35
+ .d-tn100p-calc { top: calc(~'-100% + var(--fixed-value, 8px)') !important; }
36
+
37
+ // $$ RIGHT
38
+ // ----------------------------------------------------------------------------
39
+ .d-r50p { right: 50% !important; }
40
+ .d-r100p { right: 100% !important; }
41
+ .d-r100p-calc { right: calc(~'100% + var(--fixed-value, 8px)') !important; }
42
+ .d-rn50p { right: -50% !important; }
43
+ .d-rn100p { right: -100% !important; }
44
+ .d-rn100p-calc { right: calc(~'-100% + var(--fixed-value, 8px)') !important; }
45
+
46
+ // $$ BOTTOM
47
+ // ----------------------------------------------------------------------------
48
+ .d-b50p { bottom: 50% !important; }
49
+ .d-b100p { bottom: 100% !important; }
50
+ .d-b100p-calc { bottom: calc(~'100% + var(--fixed-value, 8px)') !important; }
51
+ .d-bn50p { bottom: -50% !important; }
52
+ .d-bn100p { bottom: -100% !important; }
53
+ .d-bn100p-calc { bottom: calc(~'-100% + var(--fixed-value, 8px)') !important; }
54
+
55
+ // $$ LEFT
56
+ // ----------------------------------------------------------------------------
57
+ .d-l50p { left: 50% !important; }
58
+ .d-l100p { left: 100% !important; }
59
+ .d-l100p-calc { left: calc(~'100% + var(--fixed-value, 8px)') !important; }
60
+ .d-ln50p { left: -50% !important; }
61
+ .d-ln100p { left: -100% !important; }
62
+ .d-ln100p-calc { left: calc(~'-100% + var(--fixed-value, 8px)') !important; }
63
+
64
+
65
+ // ============================================================================
66
+ // $ DISPLAY
67
+ // ----------------------------------------------------------------------------
68
+ .d-d-block { display: block !important; }
69
+ .d-d-flex { display: flex !important; }
70
+ .d-d-grid { display: grid !important; }
71
+ .d-d-inline { display: inline !important; }
72
+ .d-d-inline-block { display: inline-block !important; }
73
+ .d-d-inline-flex { display: inline-flex !important; }
74
+ .d-d-inline-grid { display: inline-grid !important; }
75
+ .d-d-none { display: none !important; }
76
+ .d-d-unset { display: unset !important; }
77
+
78
+
79
+ // ============================================================================
80
+ // $ OVERFLOW
81
+ // ============================================================================
82
+ .d-of-auto { overflow: auto !important; }
83
+ .d-of-x-auto { overflow-x: auto !important; }
84
+ .d-of-y-auto { overflow-y: auto !important; }
85
+ .d-of-hidden { overflow: hidden !important; }
86
+ .d-of-x-hidden { overflow-x: hidden !important; }
87
+ .d-of-y-hidden { overflow-y: hidden !important; }
88
+ .d-of-scroll { overflow: scroll !important; }
89
+ .d-of-x-scroll { overflow-x: scroll !important; }
90
+ .d-of-y-scroll { overflow-y: scroll !important; }
91
+ .d-of-visible { overflow: visible !important; }
92
+ .d-of-x-visible { overflow-x: visible !important; }
93
+ .d-of-y-visible { overflow-y: visible !important; }
94
+ .d-of-unset { overflow: unset !important; }
95
+
96
+
97
+ // ============================================================================
98
+ // $ POSITION
99
+ // ----------------------------------------------------------------------------
100
+ .d-ps-static { position: static !important; }
101
+ .d-ps-relative { position: relative !important; }
102
+ .d-ps-absolute { position: absolute !important; }
103
+ .d-ps-fixed { position: fixed !important; }
104
+ .d-ps-sticky { position: sticky !important; }
105
+ .d-ps-unset { position: unset !important; }
106
+
107
+
108
+ // ============================================================================
109
+ // $ VISIBILITY
110
+ // ----------------------------------------------------------------------------
111
+ .d-vi-visible { visibility: visible !important; }
112
+ .d-vi-hidden { visibility: hidden !important; }
113
+ .d-vi-unset { visibility: unset !important; }
114
+
115
+ .d-vi-visible-sr {
116
+ position: absolute;
117
+ width: 1px;
118
+ height: 1px;
119
+ margin: -1px;
120
+ padding: 0;
121
+ overflow: hidden;
122
+ word-wrap: normal;
123
+ border: none;
124
+ clip: rect(1px, 1px, 1px, 1px);
125
+ clip-path: inset(50%);
126
+ }
127
+
128
+
129
+ // ============================================================================
130
+ // $ Z-INDEX
131
+ // ----------------------------------------------------------------------------
132
+ .d-zi-hide { z-index: var(--zi-hide) !important; }
133
+ .d-zi-base { z-index: var(--zi-base) !important; }
134
+ .d-zi-base1 { z-index: var(--zi-base1) !important; }
135
+ .d-zi-selected { z-index: var(--zi-selected) !important; }
136
+ .d-zi-active { z-index: var(--zi-active) !important; }
137
+ .d-zi-navigation { z-index: var(--zi-navigation) !important; }
138
+ .d-zi-navigation-fixed { z-index: var(--zi-navigation-fixed) !important; }
139
+ .d-zi-dropdown { z-index: var(--zi-dropdown) !important; }
140
+ .d-zi-popover { z-index: var(--zi-popover) !important; }
141
+ .d-zi-tooltip { z-index: var(--zi-tooltip) !important; }
142
+ .d-zi-drawer { z-index: var(--zi-drawer) !important; }
143
+ .d-zi-modal { z-index: var(--zi-modal) !important; }
144
+ .d-zi-modal-element { z-index: var(--zi-modal-element) !important; }
145
+ .d-zi-notification { z-index: var(--zi-notification) !important; }
146
+ .d-zi-unset { z-index: unset !important; }
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ '*.less': [
3
+ 'pnpm exec lesshint',
4
+ ],
5
+ };
@@ -0,0 +1,152 @@
1
+ //
2
+ // DIALTONE
3
+ // UTILITIES: SIZING
4
+ //
5
+ // These are sizing utility classes for Dialpad's design system Dialtone.
6
+ // For further documentation of these and other classes,
7
+ // visit https://dialpad.design/utilities/sizing
8
+ //
9
+ // TABLE OF CONTENTS
10
+ // • HEIGHT
11
+ // - PERCENTAGES
12
+ // - MAX-HEIGHT
13
+ // - MIN-HEIGHT
14
+ // - FIXED
15
+ // • WIDTH
16
+ // - FLUID
17
+ // - MAX-WIDTH
18
+ // - MIN-WIDTH
19
+ // - FIXED
20
+ //
21
+ // ============================================================================
22
+ // $ HEIGHT
23
+ // ============================================================================
24
+ // $$ PERCENTAGES
25
+ // ----------------------------------------------------------------------------
26
+ .d-h10p { height: 10% !important; }
27
+ .d-h20p { height: 20% !important; }
28
+ .d-h25p { height: 25% !important; }
29
+ .d-h30p { height: 30% !important; }
30
+ .d-h40p { height: 40% !important; }
31
+ .d-h50p { height: 50% !important; }
32
+ .d-h60p { height: 60% !important; }
33
+ .d-h70p { height: 70% !important; }
34
+ .d-h75p { height: 75% !important; }
35
+ .d-h80p { height: 80% !important; }
36
+ .d-h90p { height: 90% !important; }
37
+ .d-h100p { height: 100% !important; }
38
+
39
+ // $$ MAX-HEIGHT
40
+ // ----------------------------------------------------------------------------
41
+ .d-hmx10p { max-height: 10% !important; }
42
+ .d-hmx20p { max-height: 20% !important; }
43
+ .d-hmx25p { max-height: 25% !important; }
44
+ .d-hmx30p { max-height: 30% !important; }
45
+ .d-hmx40p { max-height: 40% !important; }
46
+ .d-hmx50p { max-height: 50% !important; }
47
+ .d-hmx60p { max-height: 60% !important; }
48
+ .d-hmx70p { max-height: 70% !important; }
49
+ .d-hmx75p { max-height: 75% !important; }
50
+ .d-hmx80p { max-height: 80% !important; }
51
+ .d-hmx90p { max-height: 90% !important; }
52
+ .d-hmx100p { max-height: 100% !important; }
53
+
54
+ // $$ MIN-HEIGHT
55
+ // ----------------------------------------------------------------------------
56
+ .d-hmn10p { min-height: 10% !important; }
57
+ .d-hmn20p { min-height: 20% !important; }
58
+ .d-hmn25p { min-height: 25% !important; }
59
+ .d-hmn30p { min-height: 30% !important; }
60
+ .d-hmn40p { min-height: 40% !important; }
61
+ .d-hmn50p { min-height: 50% !important; }
62
+ .d-hmn60p { min-height: 60% !important; }
63
+ .d-hmn70p { min-height: 70% !important; }
64
+ .d-hmn75p { min-height: 75% !important; }
65
+ .d-hmn80p { min-height: 80% !important; }
66
+ .d-hmn90p { min-height: 90% !important; }
67
+ .d-hmn100p { min-height: 100% !important; }
68
+
69
+ // $$ FIXED
70
+ // ----------------------------------------------------------------------------
71
+ .d-h100vh { height: 100vh !important; }
72
+ .d-h-auto { height: auto !important; }
73
+ .d-h-unset { height: unset !important; }
74
+
75
+ .d-hmn-auto { min-height: auto !important; }
76
+ .d-hmn-unset { min-height: unset !important; }
77
+
78
+ .d-hmx-auto { max-height: auto !important; }
79
+ .d-hmx-unset { max-height: unset !important; }
80
+
81
+
82
+ // ============================================================================
83
+ // $ WIDTH
84
+ // ============================================================================
85
+ // $$ FLUID
86
+ // ----------------------------------------------------------------------------
87
+ .d-w10p { width: 10% !important; }
88
+ .d-w20p { width: 20% !important; }
89
+ .d-w25p { width: 25% !important; }
90
+ .d-w30p { width: 30% !important; }
91
+ .d-w40p { width: 40% !important; }
92
+ .d-w50p { width: 50% !important; }
93
+ .d-w60p { width: 60% !important; }
94
+ .d-w70p { width: 70% !important; }
95
+ .d-w75p { width: 75% !important; }
96
+ .d-w80p { width: 80% !important; }
97
+ .d-w90p { width: 90% !important; }
98
+ .d-w100p { width: 100% !important; }
99
+
100
+ // $$ MAX-WIDTH
101
+ // ----------------------------------------------------------------------------
102
+ .d-wmx10p { max-width: 10% !important; }
103
+ .d-wmx20p { max-width: 20% !important; }
104
+ .d-wmx25p { max-width: 25% !important; }
105
+ .d-wmx30p { max-width: 30% !important; }
106
+ .d-wmx40p { max-width: 40% !important; }
107
+ .d-wmx50p { max-width: 50% !important; }
108
+ .d-wmx60p { max-width: 60% !important; }
109
+ .d-wmx70p { max-width: 70% !important; }
110
+ .d-wmx75p { max-width: 75% !important; }
111
+ .d-wmx80p { max-width: 80% !important; }
112
+ .d-wmx90p { max-width: 90% !important; }
113
+ .d-wmx100p { max-width: 100% !important; }
114
+
115
+ // $$ MIN-WIDTH
116
+ // ----------------------------------------------------------------------------
117
+ .d-wmn10p { min-width: 10% !important; }
118
+ .d-wmn20p { min-width: 20% !important; }
119
+ .d-wmn25p { min-width: 25% !important; }
120
+ .d-wmn30p { min-width: 30% !important; }
121
+ .d-wmn40p { min-width: 40% !important; }
122
+ .d-wmn50p { min-width: 50% !important; }
123
+ .d-wmn60p { min-width: 60% !important; }
124
+ .d-wmn70p { min-width: 70% !important; }
125
+ .d-wmn75p { min-width: 75% !important; }
126
+ .d-wmn80p { min-width: 80% !important; }
127
+ .d-wmn90p { min-width: 90% !important; }
128
+ .d-wmn100p { min-width: 100% !important; }
129
+
130
+ // $$ FIXED
131
+ // ----------------------------------------------------------------------------
132
+ .d-w60ch { width: 60ch !important; }
133
+ .d-w75ch { width: 75ch !important; }
134
+ .d-w90ch { width: 90ch !important; }
135
+
136
+ .d-w100vw { width: 100vw !important; }
137
+ .d-w-auto { width: auto !important; }
138
+ .d-w-unset { width: unset !important; }
139
+
140
+ .d-wmn60ch { min-width: 60ch !important; }
141
+ .d-wmn75ch { min-width: 75ch !important; }
142
+ .d-wmn90ch { min-width: 90ch !important; }
143
+
144
+ .d-wmn-auto { min-width: auto !important; }
145
+ .d-wmn-unset { min-width: unset !important; }
146
+
147
+ .d-wmx60ch { max-width: 60ch !important; }
148
+ .d-wmx75ch { max-width: 75ch !important; }
149
+ .d-wmx90ch { max-width: 90ch !important; }
150
+
151
+ .d-wmx-auto { max-width: auto !important; }
152
+ .d-wmx-unset { max-width: unset !important; }