@dialpad/dialtone 8.22.1 → 9.0.1

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 (107) hide show
  1. package/README.md +86 -29
  2. package/package.json +115 -114
  3. package/CHANGELOG.json +0 -1
  4. package/LICENSE.md +0 -21
  5. package/lib/build/favicons/dialpad/favicon-beta-notification__512.png +0 -0
  6. package/lib/build/favicons/dialpad/favicon-beta__512.png +0 -0
  7. package/lib/build/favicons/dialpad/favicon-csr__512.png +0 -0
  8. package/lib/build/favicons/dialpad/favicon-notification__512.png +0 -0
  9. package/lib/build/favicons/dialpad/favicon-staging-notification__512.png +0 -0
  10. package/lib/build/favicons/dialpad/favicon-staging__512.png +0 -0
  11. package/lib/build/favicons/dialpad/favicon__512.png +0 -0
  12. package/lib/build/favicons/favicon-dialtone__512.png +0 -0
  13. package/lib/build/favicons/uberconference/favicon-uberconference__512.png +0 -0
  14. package/lib/build/fonts/Archivo-Bold.woff2 +0 -0
  15. package/lib/build/fonts/Archivo-Regular.woff2 +0 -0
  16. package/lib/build/fonts/Archivo-SemiBold.woff2 +0 -0
  17. package/lib/build/fonts/ArchivoExpanded-SemiBold.woff2 +0 -0
  18. package/lib/build/fonts/ArchivoSemiExpanded-Medium.woff2 +0 -0
  19. package/lib/build/fonts/ArchivoSemiExpanded-SemiBold.woff2 +0 -0
  20. package/lib/build/less/components/avatar.less +0 -169
  21. package/lib/build/less/components/badge.less +0 -139
  22. package/lib/build/less/components/banner.less +0 -77
  23. package/lib/build/less/components/breadcrumbs.less +0 -88
  24. package/lib/build/less/components/button.less +0 -579
  25. package/lib/build/less/components/card.less +0 -56
  26. package/lib/build/less/components/chip.less +0 -222
  27. package/lib/build/less/components/codeblock.less +0 -26
  28. package/lib/build/less/components/collapsible.less +0 -33
  29. package/lib/build/less/components/combobox.less +0 -28
  30. package/lib/build/less/components/datepicker.less +0 -146
  31. package/lib/build/less/components/emoji-picker.less +0 -222
  32. package/lib/build/less/components/forms.less +0 -153
  33. package/lib/build/less/components/icon.less +0 -63
  34. package/lib/build/less/components/image-viewer.less +0 -35
  35. package/lib/build/less/components/input.less +0 -327
  36. package/lib/build/less/components/item-layout.less +0 -53
  37. package/lib/build/less/components/keyboard-shortcut.less +0 -39
  38. package/lib/build/less/components/link.less +0 -130
  39. package/lib/build/less/components/list-group.less +0 -48
  40. package/lib/build/less/components/list-item-group.less +0 -17
  41. package/lib/build/less/components/modal.less +0 -340
  42. package/lib/build/less/components/notice.less +0 -171
  43. package/lib/build/less/components/pagination.less +0 -41
  44. package/lib/build/less/components/popover.less +0 -99
  45. package/lib/build/less/components/presence.less +0 -60
  46. package/lib/build/less/components/radio-checkbox.less +0 -278
  47. package/lib/build/less/components/root-layout.less +0 -125
  48. package/lib/build/less/components/selects.less +0 -152
  49. package/lib/build/less/components/skeleton.less +0 -101
  50. package/lib/build/less/components/stack.less +0 -129
  51. package/lib/build/less/components/tab-panel.less +0 -15
  52. package/lib/build/less/components/table.less +0 -118
  53. package/lib/build/less/components/tabs.less +0 -219
  54. package/lib/build/less/components/toast.less +0 -120
  55. package/lib/build/less/components/toggle.less +0 -173
  56. package/lib/build/less/components/tooltip.less +0 -267
  57. package/lib/build/less/dialtone-globals.less +0 -60
  58. package/lib/build/less/dialtone-reset.less +0 -362
  59. package/lib/build/less/dialtone-variables.less +0 -16
  60. package/lib/build/less/dialtone.less +0 -72
  61. package/lib/build/less/themes/default.less +0 -83
  62. package/lib/build/less/themes/example.less +0 -89
  63. package/lib/build/less/utilities/backgrounds.less +0 -139
  64. package/lib/build/less/utilities/borders.less +0 -196
  65. package/lib/build/less/utilities/colors.less +0 -122
  66. package/lib/build/less/utilities/effects.less +0 -210
  67. package/lib/build/less/utilities/flex.less +0 -227
  68. package/lib/build/less/utilities/grid.less +0 -244
  69. package/lib/build/less/utilities/interactivity.less +0 -69
  70. package/lib/build/less/utilities/layout.less +0 -146
  71. package/lib/build/less/utilities/sizing.less +0 -152
  72. package/lib/build/less/utilities/spacing.less +0 -107
  73. package/lib/build/less/utilities/svg.less +0 -58
  74. package/lib/build/less/utilities/typography.less +0 -300
  75. package/lib/build/less/variables/layout.less +0 -19
  76. package/lib/build/less/variables/sizes.less +0 -64
  77. package/lib/build/less/variables/typography.less +0 -46
  78. package/lib/build/less/variables/visual-styles.less +0 -77
  79. package/lib/build/svg/spot/browser-list-callout.svg +0 -57
  80. package/lib/build/svg/spot/browser-table-graph.svg +0 -111
  81. package/lib/build/svg/spot/female-laptop-typing.svg +0 -336
  82. package/lib/build/svg/spot/file-upload.svg +0 -56
  83. package/lib/build/svg/spot/male-laptop-typing.svg +0 -160
  84. package/lib/build/svg/spot/publish.svg +0 -110
  85. package/lib/build/svg/spot/wireless-screenshare.svg +0 -34
  86. package/lib/dist/css/dialtone.css +0 -18806
  87. package/lib/dist/css/dialtone.min.css +0 -1
  88. package/lib/dist/fonts/Archivo-Bold.woff2 +0 -0
  89. package/lib/dist/fonts/Archivo-Regular.woff2 +0 -0
  90. package/lib/dist/fonts/Archivo-SemiBold.woff2 +0 -0
  91. package/lib/dist/fonts/ArchivoExpanded-SemiBold.woff2 +0 -0
  92. package/lib/dist/fonts/ArchivoSemiExpanded-Medium.woff2 +0 -0
  93. package/lib/dist/fonts/ArchivoSemiExpanded-SemiBold.woff2 +0 -0
  94. package/lib/dist/svg/spot/browser-list-callout.svg +0 -1
  95. package/lib/dist/svg/spot/browser-table-graph.svg +0 -1
  96. package/lib/dist/svg/spot/female-laptop-typing.svg +0 -1
  97. package/lib/dist/svg/spot/file-upload.svg +0 -1
  98. package/lib/dist/svg/spot/male-laptop-typing.svg +0 -1
  99. package/lib/dist/svg/spot/publish.svg +0 -1
  100. package/lib/dist/svg/spot/wireless-screenshare.svg +0 -1
  101. package/lib/dist/vue/spot/SpotBrowserListCallout.vue +0 -3
  102. package/lib/dist/vue/spot/SpotBrowserTableGraph.vue +0 -3
  103. package/lib/dist/vue/spot/SpotFemaleLaptopTyping.vue +0 -3
  104. package/lib/dist/vue/spot/SpotFileUpload.vue +0 -3
  105. package/lib/dist/vue/spot/SpotMaleLaptopTyping.vue +0 -3
  106. package/lib/dist/vue/spot/SpotPublish.vue +0 -3
  107. package/lib/dist/vue/spot/SpotWirelessScreenshare.vue +0 -3
@@ -1,122 +0,0 @@
1
- //
2
- // DIALTONE
3
- // UTILITIES: COLORS
4
- //
5
- // These are all the color utility classes for Dialpad's design system Dialtone.
6
- // For further information about these classes, please visit their respective
7
- // documentation pages at https://dialpad.design
8
- //
9
- // TABLE OF CONTENTS
10
- // • TEXT COLORS
11
- // • BACKGROUND/SURFACE COLORS
12
- // • BORDER COLORS
13
- //
14
- // $$ TEXT COLORS
15
- // ----------------------------------------------------------------------------
16
- .d-fc-primary.d-fc-primary { color: var(--dt-color-foreground-primary) !important; }
17
- .d-fc-primary-inverted.d-fc-primary-inverted { color: var(--dt-color-foreground-primary-inverted) !important; }
18
- .d-fc-secondary.d-fc-secondary { color: var(--dt-color-foreground-secondary) !important; }
19
- .d-fc-secondary-inverted.d-fc-secondary-inverted { color: var(--dt-color-foreground-secondary-inverted) !important; }
20
- .d-fc-tertiary.d-fc-tertiary { color: var(--dt-color-foreground-tertiary) !important; }
21
- .d-fc-tertiary-inverted.d-fc-tertiary-inverted { color: var(--dt-color-foreground-tertiary-inverted) !important; }
22
- .d-fc-muted.d-fc-muted { color: var(--dt-color-foreground-muted) !important; }
23
- .d-fc-muted-inverted.d-fc-muted-inverted { color: var(--dt-color-foreground-muted-inverted) !important; }
24
- .d-fc-placeholder.d-fc-placeholder { color: var(--dt-color-foreground-placeholder) !important; }
25
- .d-fc-placeholder-inverted.d-fc-placeholder-inverted { color: var(--dt-color-foreground-placeholder-inverted) !important; }
26
- .d-fc-disabled.d-fc-disabled { color: var(--dt-color-foreground-disabled) !important; }
27
- .d-fc-disabled-inverted.d-fc-disabled-inverted { color: var(--dt-color-foreground-disabled-inverted) !important; }
28
- .d-fc-success.d-fc-success { color: var(--dt-color-foreground-success) !important; }
29
- .d-fc-success-inverted.d-fc-success-inverted { color: var(--dt-color-foreground-success-inverted) !important; }
30
- .d-fc-success-strong.d-fc-success-strong { color: var(--dt-color-foreground-success-strong) !important; }
31
- .d-fc-success-strong-inverted.d-fc-success-strong-inverted { color: var(--dt-color-foreground-success-strong-inverted) !important; }
32
- .d-fc-warning.d-fc-warning { color: var(--dt-color-foreground-warning) !important; }
33
- .d-fc-warning-inverted.d-fc-warning-inverted { color: var(--dt-color-foreground-warning-inverted) !important; }
34
- .d-fc-error.d-fc-error { color: var(--dt-color-foreground-critical) !important; }
35
- .d-fc-error-strong.d-fc-error-strong { color: var(--dt-color-foreground-critical-strong) !important; }
36
- .d-fc-critical.d-fc-critical { color: var(--dt-color-foreground-critical) !important; }
37
- .d-fc-critical-inverted.d-fc-critical-inverted { color: var(--dt-color-foreground-critical-inverted) !important; }
38
- .d-fc-critical-strong.d-fc-critical-strong { color: var(--dt-color-foreground-critical-strong) !important; }
39
- .d-fc-critical-strong-inverted.d-fc-critical-strong-inverted { color: var(--dt-color-foreground-critical-strong-inverted) !important; }
40
- .d-fc-current.d-fc-current { color: currentColor !important; }
41
- .d-fc-transparent.d-fc-transparent { color: transparent !important; }
42
- .d-fc-unset.d-fc-unset { color: unset !important; }
43
-
44
-
45
- // $$ BACKGROUND/SURFACE COLORS
46
- // ----------------------------------------------------------------------------
47
- .d-bgc-primary.d-bgc-primary { background-color: var(--dt-color-surface-primary) !important; }
48
- .d-bgc-secondary.d-bgc-secondary { background-color: var(--dt-color-surface-secondary) !important; }
49
- .d-bgc-secondary-opaque.d-bgc-secondary-opaque { background-color: var(--dt-color-surface-secondary-opaque) !important; }
50
- .d-bgc-moderate.d-bgc-moderate { background-color: var(--dt-color-surface-moderate) !important; }
51
- .d-bgc-moderate-opaque.d-bgc-moderate-opaque { background-color: var(--dt-color-surface-moderate-opaque) !important; }
52
- .d-bgc-strong-opaque.d-bgc-strong-opaque { background-color: var(--dt-color-surface-strong-opaque) !important; }
53
- .d-bgc-contrast-opaque.d-bgc-contrast-opaque { background-color: var(--dt-color-surface-contrast-opaque) !important; }
54
- .d-bgc-bold.d-bgc-bold { background-color: var(--dt-color-surface-bold) !important; }
55
- .d-bgc-bold-opaque.d-bgc-bold-opaque { background-color: var(--dt-color-surface-bold-opaque) !important; }
56
- .d-bgc-strong.d-bgc-strong { background-color: var(--dt-color-surface-strong) !important; }
57
- .d-bgc-contrast.d-bgc-contrast { background-color: var(--dt-color-surface-contrast) !important; }
58
- .d-bgc-backdrop.d-bgc-backdrop { background-color: var(--dt-color-surface-backdrop) !important; }
59
- .d-bgc-success.d-bgc-success { background-color: var(--dt-color-surface-success) !important; }
60
- .d-bgc-success-opaque.d-bgc-success-opaque { background-color: var(--dt-color-surface-success-opaque) !important; }
61
- .d-bgc-success-subtle.d-bgc-success-subtle { background-color: var(--dt-color-surface-success-subtle) !important; }
62
- .d-bgc-success-subtle-opaque.d-bgc-success-subtle-opaque { background-color: var(--dt-color-surface-success-subtle-opaque) !important; }
63
- .d-bgc-success-strong.d-bgc-success-strong { background-color: var(--dt-color-surface-success-strong) !important; }
64
- .d-bgc-warning.d-bgc-warning { background-color: var(--dt-color-surface-warning) !important; }
65
- .d-bgc-warning-opaque.d-bgc-warning-opaque { background-color: var(--dt-color-surface-warning-opaque) !important; }
66
- .d-bgc-warning-subtle.d-bgc-warning-subtle { background-color: var(--dt-color-surface-warning-subtle) !important; }
67
- .d-bgc-warning-subtle-opaque.d-bgc-warning-subtle-opaque { background-color: var(--dt-color-surface-warning-subtle-opaque) !important; }
68
- .d-bgc-warning-strong.d-bgc-warning-strong { background-color: var(--dt-color-surface-warning-strong) !important; }
69
- .d-bgc-info.d-bgc-info { background-color: var(--dt-color-surface-info) !important; }
70
- .d-bgc-info-opaque.d-bgc-info-opaque { background-color: var(--dt-color-surface-info-opaque) !important; }
71
- .d-bgc-info-subtle.d-bgc-info-subtle { background-color: var(--dt-color-surface-info-subtle) !important; }
72
- .d-bgc-info-subtle-opaque.d-bgc-info-subtle-opaque { background-color: var(--dt-color-surface-info-subtle-opaque) !important; }
73
- .d-bgc-info-strong.d-bgc-info-strong { background-color: var(--dt-color-surface-info-strong) !important; }
74
- .d-bgc-critical.d-bgc-critical,
75
- .d-bgc-error.d-bgc-error,
76
- .d-bgc-danger.d-bgc-danger { background-color: var(--dt-color-surface-critical) !important; }
77
- .d-bgc-critical-opaque.d-bgc-critical-opaque { background-color: var(--dt-color-surface-critical-opaque) !important; }
78
- .d-bgc-critical-subtle.d-bgc-critical-subtle { background-color: var(--dt-color-surface-critical-subtle) !important; }
79
- .d-bgc-critical-subtle-opaque.d-bgc-critical-subtle-opaque { background-color: var(--dt-color-surface-critical-subtle-opaque) !important; }
80
- .d-bgc-critical-strong.d-bgc-critical-strong { background-color: var(--dt-color-surface-critical-strong) !important; }
81
- .d-bgc-transparent.d-bgc-transparent { background-color: transparent !important; background-image: none !important; }
82
- .d-bgc-unset.d-bgc-unset { background-color: unset !important; background-image: unset !important; }
83
-
84
- // $$ BORDER COLORS
85
- // ----------------------------------------------------------------------------
86
- .d-bc-transparent.d-bc-transparent { border-color: transparent !important; }
87
- .d-bc-current.d-bc-current { border-color: currentColor !important; }
88
- .d-bc-unset.d-bc-unset { border-color: unset !important; }
89
- .d-bc-subtle.d-bc-subtle { border-color: var(--dt-color-border-subtle) !important; }
90
- .d-bc-default.d-bc-default { border-color: var(--dt-color-border-default) !important; }
91
- .d-bc-moderate.d-bc-moderate { border-color: var(--dt-color-border-moderate) !important; }
92
- .d-bc-bold.d-bc-bold { border-color: var(--dt-color-border-bold) !important; }
93
- .d-bc-subtle-inverted.d-bc-subtle-inverted { border-color: var(--dt-color-border-subtle-inverted) !important; }
94
- .d-bc-default-inverted.d-bc-default-inverted { border-color: var(--dt-color-border-default-inverted) !important; }
95
- .d-bc-moderate-inverted.d-bc-moderate-inverted { border-color: var(--dt-color-border-moderate-inverted) !important; }
96
- .d-bc-bold-inverted.d-bc-bold-inverted { border-color: var(--dt-color-border-bold-inverted) !important; }
97
- .d-bc-focus.d-bc-focus { border-color: var(--dt-color-border-focus) !important; }
98
- .d-bc-critical.d-bc-critical { border-color: var(--dt-color-border-critical) !important; }
99
- .d-bc-critical-inverted.d-bc-critical-inverted{ border-color: var(--dt-color-border-critical-inverted) !important; }
100
- .d-bc-critical-subtle.d-bc-critical-subtle { border-color: var(--dt-color-border-critical-subtle) !important; }
101
- .d-bc-critical-subtle-inverted.d-bc-critical-subtle-inverted { border-color: var(--dt-color-border-critical-subtle-inverted) !important; }
102
- .d-bc-critical-strong.d-bc-critical-strong { border-color: var(--dt-color-border-critical-strong) !important; }
103
- .d-bc-critical-strong-inverted.d-bc-critical-strong-inverted { border-color: var(--dt-color-border-critical-strong-inverted) !important; }
104
- .d-bc-success.d-bc-success { border-color: var(--dt-color-border-success) !important; }
105
- .d-bc-success-inverted.d-bc-success-inverted { border-color: var(--dt-color-border-success-inverted) !important; }
106
- .d-bc-success-subtle.d-bc-success-subtle { border-color: var(--dt-color-border-success-subtle) !important; }
107
- .d-bc-success-subtle-inverted.d-bc-success-subtle-inverted { border-color: var(--dt-color-border-success-subtle-inverted) !important; }
108
- .d-bc-success-strong.d-bc-success-strong { border-color: var(--dt-color-border-success-strong) !important; }
109
- .d-bc-success-strong-inverted.d-bc-success-strong-inverted { border-color: var(--dt-color-border-success-strong-inverted) !important; }
110
- .d-bc-warning.d-bc-warning { border-color: var(--dt-color-border-warning) !important; }
111
- .d-bc-warning-inverted.d-bc-warning-inverted { border-color: var(--dt-color-border-warning-inverted) !important; }
112
- .d-bc-warning-subtle.d-bc-warning-subtle { border-color: var(--dt-color-border-warning-subtle) !important; }
113
- .d-bc-warning-subtle-inverted.d-bc-warning-subtle-inverted { border-color: var(--dt-color-border-warning-subtle-inverted) !important; }
114
- .d-bc-warning-strong.d-bc-warning-strong { border-color: var(--dt-color-border-warning-strong) !important; }
115
- .d-bc-warning-strong-inverted.d-bc-warning-strong-inverted { border-color: var(--dt-color-border-warning-strong-inverted) !important; }
116
- .d-bc-brand.d-bc-brand { border-color: var(--dt-color-border-brand) !important; }
117
- .d-bc-brand-inverted.d-bc-brand-inverted { border-color: var(--dt-color-border-brand-inverted) !important; }
118
- .d-bc-brand-subtle.d-bc-brand-subtle { border-color: var(--dt-color-border-brand-subtle) !important; }
119
- .d-bc-brand-subtle-inverted.d-bc-brand-subtle-inverted { border-color: var(--dt-color-border-brand-subtle-inverted) !important; }
120
- .d-bc-brand-strong.d-bc-brand-strong { border-color: var(--dt-color-border-brand-strong) !important; }
121
- .d-bc-brand-strong-inverted.d-bc-brand-strong-inverted { border-color: var(--dt-color-border-brand-strong-inverted) !important; }
122
- .d-bc-accent.d-bc-accent { border-color: var(--dt-color-border-accent) !important; }
@@ -1,210 +0,0 @@
1
- //
2
- // DIALTONE
3
- // UTILITIES: EFFECTS
4
- //
5
- // These are effects utility classes for Dialpad's design system Dialtone.
6
- // For further documentation of these and other classes,
7
- // visit https://dialpad.design/utilities/effects
8
- //
9
- // TABLE OF CONTENTS
10
- // • ANIMATIONS
11
- // - GENERIC LOADING
12
- // - DIALPAD BAR ANIMATION
13
- // • BOX SHADOW
14
- // • OPACITY
15
- // • TRANSITION
16
- //
17
- //
18
- // ============================================================================
19
- // $ ANIMATIONS
20
- // ----------------------------------------------------------------------------
21
- // $$ GENERIC LOADING
22
- // This could be applied to an empty div or a psuedo element (ie ::before)
23
- // ----------------------------------------------------------------------------
24
- @keyframes d-loading-circle {
25
- from {
26
- transform: rotate(0deg);
27
- }
28
-
29
- to {
30
- transform: rotate(360deg);
31
- }
32
- }
33
-
34
- // $$ DIALPAD BAR ANIMATION
35
- // ----------------------------------------------------------------------------
36
- @keyframes d-loading-bars__short {
37
- 0% {
38
- min-height: var(--dt-size-300);
39
- transform: translateY(var(--dt-size-500-negative));
40
- opacity: 0;
41
- }
42
-
43
- 5% {
44
- min-height: var(--dt-size-300);
45
- transform: translateY(var(--dt-size-500));
46
- opacity: 0.5;
47
- }
48
-
49
- 10% {
50
- min-height: 1rem;
51
- transform: translateY(var(--dt-size-200-negative));
52
- opacity: 1;
53
- }
54
-
55
- 15% {
56
- transform: translateY(var(--dt-size-100));
57
- opacity: 1;
58
- }
59
-
60
- 20%,
61
- 70% {
62
- min-height: 1rem;
63
- transform: translateY(0);
64
- opacity: 1;
65
- }
66
-
67
- 75% {
68
- min-height: 0.75rem;
69
- transform: translateY(1rem);
70
- opacity: 1;
71
- }
72
-
73
- 80% {
74
- min-height: var(--dt-size-300);
75
- transform: translateY(var(--dt-size-300-negative));
76
- opacity: 0.5;
77
- }
78
-
79
- 85%,
80
- 100% {
81
- min-height: var(--dt-size-300);
82
- transform: translateY(var(--dt-size-500));
83
- opacity: 0;
84
- }
85
- }
86
-
87
- @keyframes d-loading-bars__tall {
88
- 0% {
89
- min-height: var(--dt-size-300);
90
- transform: translateY(var(--dt-size-500-negative));
91
- opacity: 0;
92
- }
93
-
94
- 5% {
95
- min-height: var(--dt-size-300);
96
- transform: translateY(var(--dt-size-500));
97
- opacity: 0.5;
98
- }
99
-
100
- 10% {
101
- min-height: 1rem;
102
- transform: translateY(var(--dt-size-200-negative));
103
- opacity: 1;
104
- }
105
-
106
- 15% {
107
- min-height: 2.2rem;
108
- transform: translateY(var(--dt-size-100));
109
- opacity: 1;
110
- }
111
-
112
- 20%,
113
- 70% {
114
- min-height: 2.2rem;
115
- transform: translateY(0);
116
- opacity: 1;
117
- }
118
-
119
- 75% {
120
- min-height: var(--dt-size-500);
121
- transform: translateY(1rem);
122
- opacity: 1;
123
- }
124
-
125
- 80% {
126
- min-height: 1rem;
127
- transform: translateY(var(--dt-size-300-negative));
128
- opacity: 1;
129
- }
130
-
131
- 85%,
132
- 100% {
133
- min-height: var(--dt-size-300);
134
- transform: translateY(var(--dt-size-500));
135
- opacity: 0;
136
- }
137
- }
138
-
139
- // ============================================================================
140
- // $ BOX SHADOW
141
- // ----------------------------------------------------------------------------
142
- .d-bs-sm { box-shadow: var(--dt-shadow-small) !important; }
143
- .d-bs-md { box-shadow: var(--dt-shadow-medium) !important; }
144
- .d-bs-lg { box-shadow: var(--dt-shadow-large) !important; }
145
- .d-bs-xl { box-shadow: var(--dt-shadow-extra-large) !important; }
146
- .d-bs-card { box-shadow: var(--dt-shadow-card) !important; }
147
- .d-bs-none { box-shadow: none !important; }
148
- .d-bs-unset { box-shadow: unset !important; }
149
-
150
-
151
- // ============================================================================
152
- // $ OPACITY
153
- // For times that you want a fill background, but not at 100% opacity.
154
- // These are only offered for $white and gray.
155
- // ----------------------------------------------------------------------------
156
- .d-o0 { opacity: 0 !important; }
157
- .d-o5 { opacity: 0.05 !important; }
158
- .d-o10 { opacity: 0.1 !important; }
159
- .d-o20 { opacity: 0.2 !important; }
160
- .d-o25 { opacity: 0.25 !important; }
161
- .d-o30 { opacity: 0.3 !important; }
162
- .d-o40 { opacity: 0.4 !important; }
163
- .d-o50 { opacity: 0.5 !important; }
164
- .d-o60 { opacity: 0.6 !important; }
165
- .d-o70 { opacity: 0.7 !important; }
166
- .d-o75 { opacity: 0.75 !important; }
167
- .d-o80 { opacity: 0.8 !important; }
168
- .d-o90 { opacity: 0.9 !important; }
169
- .d-o100 { opacity: 1 !important; }
170
- .d-o-unset { opacity: unset !important; }
171
-
172
-
173
- // ============================================================================
174
- // $ TRANSITION
175
- // ----------------------------------------------------------------------------
176
- .d-t {
177
- transition-delay: 0s;
178
- transition-timing-function: var(--ttf-in-out);
179
- transition-duration: var(--td50);
180
- transition-property: all;
181
- }
182
-
183
- // -- TRANSITION DURATION
184
- .d-td0 { transition-duration: var(--td0) !important; }
185
- .d-td50 { transition-duration: var(--td50) !important; }
186
- .d-td100 { transition-duration: var(--td100) !important; }
187
- .d-td150 { transition-duration: var(--td150) !important; }
188
- .d-td200 { transition-duration: var(--td200) !important; }
189
- .d-td300 { transition-duration: var(--td300) !important; }
190
-
191
- // -- TRANSITION TIMING
192
- .d-ttf-in-out { transition-timing-function: var(--ttf-in-out) !important; }
193
- .d-ttf-out { transition-timing-function: var(--ttf-out) !important; }
194
- .ttf-out-quint { transition-timing-function: var(--ttf-out-quint) !important; }
195
-
196
- // -- TRANSITION PROPERTY
197
- .d-tp-all { transition-property: all !important; }
198
- .d-tp-o { transition-property: opacity !important; }
199
- .d-tp-bs { transition-property: box-shadow !important; }
200
- .d-tp-bgc { transition-property: background-color !important; }
201
- .d-tp-transform { transition-property: transform !important; }
202
- .d-tp-colors { transition-property: background-color, border-color, color, fill, stroke !important; }
203
-
204
- // -- TRANSITION DELAY
205
- .d-t-delay25 { transition-delay: var(--td25) !important; }
206
- .d-t-delay50 { transition-delay: var(--td50) !important; }
207
- .d-t-delay100 { transition-delay: var(--td100) !important; }
208
- .d-t-delay150 { transition-delay: var(--td150) !important; }
209
- .d-t-delay200 { transition-delay: var(--td200) !important; }
210
- .d-t-delay300 { transition-delay: var(--td300) !important; }
@@ -1,227 +0,0 @@
1
- //
2
- // DIALTONE
3
- // UTILITIES: FLEXBOX
4
- //
5
- // These are the flexbox utility classes for Dialpad's design system Dialtone.
6
- // For further documentation of these and other classes, visit:
7
- // https://dialpad.design/utilities/layout/flex/
8
- //
9
- // TABLE OF CONTENTS
10
- // • ALIGN CONTENT
11
- // • ALIGN ITEMS
12
- // • ALIGN SELF
13
- // • COLUMNS & LAYOUTS
14
- // • DIRECTION, WRAP, & FLOW
15
- // • FLEX, GROW, & SHRINK
16
- // • JUSTIFY CONTENT
17
- // • ORDER
18
- //
19
- // ============================================================================
20
- // $ ALIGN CONTENT
21
- // Aligns the container's lines when there is extra space in the
22
- // cross-axis. Note that this only works when a parent container
23
- // has more than one line.
24
- // ----------------------------------------------------------------------------
25
- .d-ac-center { align-content: center !important; }
26
- .d-ac-flex-end { align-content: flex-end !important; }
27
- .d-ac-flex-start { align-content: flex-start !important; }
28
- .d-ac-space-around { align-content: space-around !important; }
29
- .d-ac-space-between { align-content: space-between !important; }
30
- .d-ac-space-evenly { align-content: space-evenly !important; }
31
- .d-ac-baseline { align-content: baseline !important; }
32
- .d-ac-stretch { align-content: stretch !important; }
33
- .d-ac-normal { align-content: normal !important; }
34
- .d-ac-unset { align-content: unset !important; }
35
-
36
-
37
- // ============================================================================
38
- // $ ALIGN ITEMS
39
- // Defines the default behavior for how child items align along
40
- // the parent's cross axis. Think of it the cross-axis for
41
- // justify-content.
42
- // ----------------------------------------------------------------------------
43
- .d-ai-center { align-items: center !important; }
44
- .d-ai-flex-end { align-items: flex-end !important; }
45
- .d-ai-flex-start { align-items: flex-start !important; }
46
- .d-ai-baseline { align-items: baseline !important; }
47
- .d-ai-stretch { align-items: stretch !important; }
48
- .d-ai-normal { align-items: normal !important; }
49
- .d-ai-unset { align-items: unset !important; }
50
-
51
-
52
- // ============================================================================
53
- // $ ALIGN SELF
54
- // Allows child containers to re-align themselves regardless
55
- // of the parent's main axis direction.
56
- // ----------------------------------------------------------------------------
57
- .d-as-center { align-self: center !important; }
58
- .d-as-flex-end { align-self: flex-end !important; }
59
- .d-as-flex-start { align-self: flex-start !important; }
60
- .d-as-baseline { align-self: baseline !important; }
61
- .d-as-stretch { align-self: stretch !important; }
62
- .d-as-auto { align-self: auto !important; }
63
- .d-as-normal { align-self: normal !important; }
64
- .d-as-unset { align-self: unset !important; }
65
-
66
-
67
- // ============================================================================
68
- // $ COLUMNS & LAYOUTS
69
- // ----------------------------------------------------------------------------
70
-
71
- // $$ FLEX GAPS
72
- // ----------------------------------------------------------------------------
73
- .d-flg0 > * { --fl-gap: 0 !important; }
74
- .d-flg1 > * { --fl-gap: var(--dt-space-100) !important; }
75
- .d-flg2 > * { --fl-gap: var(--dt-space-100) !important; }
76
- .d-flg4 > * { --fl-gap: var(--dt-space-300) !important; }
77
- .d-flg6 > * { --fl-gap: var(--dt-space-350) !important; }
78
- .d-flg8 > * { --fl-gap: var(--dt-space-400) !important; }
79
- .d-flg12 > * { --fl-gap: var(--dt-space-450) !important; }
80
- .d-flg16 > * { --fl-gap: var(--dt-space-500) !important; }
81
- .d-flg24 > * { --fl-gap: var(--dt-space-550) !important; }
82
- .d-flg32 > * { --fl-gap: var(--dt-space-600) !important; }
83
- .d-flg48 > * { --fl-gap: var(--dt-space-650) !important; }
84
- .d-flg64 > * { --fl-gap: var(--dt-space-700) !important; }
85
-
86
-
87
-
88
- // ============================================================================
89
- // $ DIRECTION, WRAP, & FLOW
90
- // ----------------------------------------------------------------------------
91
- // $$ FLEX DIRECTION
92
- // This determines the content flow direction within the parent container.
93
- // Default value is row.
94
- // ----------------------------------------------------------------------------
95
- .d-fd-row { flex-direction: row !important; }
96
- .d-fd-row-reverse { flex-direction: row-reverse !important; }
97
- .d-fd-column { flex-direction: column !important; }
98
- .d-fd-column-reverse { flex-direction: column-reverse !important; }
99
- .d-fd-unset { flex-direction: unset !important; }
100
-
101
- // $$ FLEX WRAP
102
- // This determines if a parent's children will wrap.
103
- // Default value is nowrap.
104
- // ----------------------------------------------------------------------------
105
- .d-fw-wrap { flex-wrap: wrap !important; }
106
- .d-fw-wrap-reverse { flex-wrap: wrap-reverse !important; }
107
- .d-fw-nowrap { flex-wrap: nowrap !important; }
108
- .d-fw-unset { flex-wrap: unset !important; }
109
-
110
- // $$ FLEX FLOW
111
- // This is another shorthand property for flex-direction and flex-wrap.
112
- // Default value is 'row nowrap'.
113
- // ----------------------------------------------------------------------------
114
- .d-ff-row-wrap { flex-flow: row wrap !important; }
115
- .d-ff-row-wrap-reverse { flex-flow: row wrap-reverse !important; }
116
- .d-ff-row-nowrap { flex-flow: row nowrap !important; }
117
- .d-ff-row-reverse-wrap { flex-flow: row-reverse wrap !important; }
118
- .d-ff-row-reverse-wrap-reverse { flex-flow: row-reverse wrap-reverse !important; }
119
- .d-ff-row-reverse-nowrap { flex-flow: row-reverse nowrap !important; }
120
- .d-ff-column-wrap { flex-flow: column wrap !important; }
121
- .d-ff-column-wrap-reverse { flex-flow: column wrap-reverse !important; }
122
- .d-ff-column-nowrap { flex-flow: column nowrap !important; }
123
- .d-ff-column-reverse-wrap { flex-flow: column-reverse wrap !important; }
124
- .d-ff-column-reverse-wrap-reverse { flex-flow: column-reverse wrap-reverse !important; }
125
- .d-ff-column-reverse-nowrap { flex-flow: column-reverse nowrap !important; }
126
- .d-f-flow-unset { flex-flow: unset !important; }
127
-
128
-
129
- // ============================================================================
130
- // $ FLEX, GROW, & SHRINK
131
- // ----------------------------------------------------------------------------
132
- // $$ FLEX
133
- // Graduating scale of flex-grow and flex-shrink values
134
- // ----------------------------------------------------------------------------
135
- .d-fl0 { flex: 0 auto !important; }
136
- .d-fl1 { flex: 1 auto !important; }
137
- .d-fl2 { flex: 2 auto !important; }
138
- .d-fl3 { flex: 3 auto !important; }
139
- .d-fl4 { flex: 4 auto !important; }
140
- .d-fl5 { flex: 5 auto !important; }
141
- .d-fl-unset { flex: unset !important; }
142
-
143
- // $$$ FLEX NONE
144
- // This is equivalent to flex: 0 0 auto.
145
- // It sizes the item according to its width/height properties, but makes it
146
- // fully inflexible.
147
- .d-fl-none { flex: none !important; }
148
-
149
- // $$$ FLEX EQUAL
150
- // Equally distributes children out within a parent container
151
- .d-fl-equal {
152
- flex-basis: 0 !important;
153
- flex-grow: 1 !important;
154
- flex-shrink: 1 !important;
155
- }
156
-
157
- // $$ FLEX GROW
158
- // Specifies the flex-grow value, which states how much an item will
159
- // grow relative to other flex items in the container when there isn't
160
- // enough space in the row. Default value is 1.
161
- // ----------------------------------------------------------------------------
162
- .d-fl-grow0 { flex-grow: 0 !important; }
163
- .d-fl-grow1 { flex-grow: 1 !important; }
164
- .d-fl-grow2 { flex-grow: 2 !important; }
165
- .d-fl-grow3 { flex-grow: 3 !important; }
166
- .d-fl-grow4 { flex-grow: 4 !important; }
167
- .d-fl-grow5 { flex-grow: 5 !important; }
168
- .d-fl-grow-unset { flex-grow: unset !important; }
169
-
170
- // $$ FLEX SHRINK
171
- // Specifies the flex-shrink factor, which states how much an item will
172
- // shrink relative to other flex items in the container when there isn't
173
- // enough space in the row. Default value is 1.
174
- // ----------------------------------------------------------------------------
175
- .d-fl-shrink0 { flex-shrink: 0 !important; }
176
- .d-fl-shrink1 { flex-shrink: 1 !important; }
177
- .d-fl-shrink2 { flex-shrink: 2 !important; }
178
- .d-fl-shrink3 { flex-shrink: 3 !important; }
179
- .d-fl-shrink4 { flex-shrink: 4 !important; }
180
- .d-fl-shrink5 { flex-shrink: 5 !important; }
181
- .d-fl-shrink-unset { flex-shrink: unset !important; }
182
-
183
-
184
- // ============================================================================
185
- // $ JUSTIFY CONTENT
186
- // Defines the child alignment along the parent's main axis
187
- // ----------------------------------------------------------------------------
188
- .d-jc-center { justify-content: center !important; }
189
- .d-jc-flex-end { justify-content: flex-end !important; }
190
- .d-jc-flex-start { justify-content: flex-start !important; }
191
- .d-jc-space-around { justify-content: space-around !important; }
192
- .d-jc-space-between { justify-content: space-between !important; }
193
- .d-jc-space-evenly { justify-content: space-evenly !important; }
194
- .d-jc-baseline { justify-content: baseline !important; }
195
- .d-jc-normal { justify-content: normal !important; }
196
- .d-jc-unset { justify-content: unset !important; }
197
-
198
-
199
- // $$ CENTER ITEMS
200
- // A common combination of classes is .d-jc-center and .ai-center.
201
- // Use this class when you want both.
202
- // ----------------------------------------------------------------------------
203
- .d-fl-center {
204
- display: flex;
205
- align-items: center;
206
- justify-content: center;
207
- }
208
-
209
-
210
- // ============================================================================
211
- // $ ORDER
212
- // Designate a child container's position.
213
- // ----------------------------------------------------------------------------
214
- .d-order1 { order: 1 !important; }
215
- .d-order2 { order: 2 !important; }
216
- .d-order3 { order: 3 !important; }
217
- .d-order4 { order: 4 !important; }
218
- .d-order5 { order: 5 !important; }
219
- .d-order6 { order: 6 !important; }
220
- .d-order7 { order: 7 !important; }
221
- .d-order8 { order: 8 !important; }
222
- .d-order9 { order: 9 !important; }
223
- .d-order10 { order: 10 !important; }
224
- .d-order11 { order: 11 !important; }
225
- .d-order12 { order: 12 !important; }
226
- .d-order-first { order: -9999 !important; }
227
- .d-order-last { order: 9999 !important; }