tandd-ui 0.2.6 → 0.2.8

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 (144) hide show
  1. package/CHANGELOG.md +38 -1
  2. package/README.md +5 -1
  3. package/dist/components/_shared/nextFrame.d.ts +11 -0
  4. package/dist/components/_shared/useFieldValidation.d.ts +2 -1
  5. package/dist/components/alert/DTAlert.vue.d.ts +2 -2
  6. package/dist/components/autocomplete/DTAutocomplete.vue.d.ts +4 -0
  7. package/dist/components/card/DTCard.vue.d.ts +1 -1
  8. package/dist/components/card/DTCardMedia.vue.d.ts +1 -1
  9. package/dist/components/checkbox/DTCheckbox.vue.d.ts +11 -2
  10. package/dist/components/date-picker/DTDateInput.vue.d.ts +7 -0
  11. package/dist/components/date-picker/DTDatePicker.vue.d.ts +7 -4
  12. package/dist/components/date-time-picker/DTDateTimeInput.vue.d.ts +4 -0
  13. package/dist/components/file-input/DTFileInput.vue.d.ts +4 -0
  14. package/dist/components/form/DTForm.vue.d.ts +67 -0
  15. package/dist/components/form/formContext.d.ts +24 -0
  16. package/dist/components/form/useFormField.d.ts +42 -0
  17. package/dist/components/list/DTListGroup.vue.d.ts +35 -0
  18. package/dist/components/mention/DTMention.vue.d.ts +4 -0
  19. package/dist/components/modal/modalStack.d.ts +6 -0
  20. package/dist/components/number-input/DTNumberInput.vue.d.ts +4 -0
  21. package/dist/components/radio/DTRadioGroup.vue.d.ts +11 -2
  22. package/dist/components/select/DTSelect.vue.d.ts +8 -0
  23. package/dist/components/sortable/DTSortable.vue.d.ts +70 -0
  24. package/dist/components/sortable/sortableGroups.d.ts +41 -0
  25. package/dist/components/splitter/DTSplitter.vue.d.ts +48 -0
  26. package/dist/components/switch/DTSwitch.vue.d.ts +11 -0
  27. package/dist/components/text-field/DTInput.vue.d.ts +6 -2
  28. package/dist/components/text-field/fieldShared.d.ts +18 -3
  29. package/dist/components/textarea/DTTextarea.vue.d.ts +6 -2
  30. package/dist/components/time-picker/DTTimeInput.vue.d.ts +4 -0
  31. package/dist/components/toast/toastStore.d.ts +1 -1
  32. package/dist/components/virtual-scroll/DTVirtualScroll.vue.d.ts +58 -0
  33. package/dist/index.d.ts +10 -0
  34. package/dist/locale/en.d.ts +17 -0
  35. package/dist/locale/en.js +3 -0
  36. package/dist/locale/messages.d.ts +17 -0
  37. package/dist/locale/vi.d.ts +17 -0
  38. package/dist/locale/vi.js +3 -0
  39. package/dist/styles/accordion.css +177 -0
  40. package/dist/styles/alert.css +750 -0
  41. package/dist/styles/anchor.css +120 -0
  42. package/dist/styles/app-bar.css +1333 -0
  43. package/dist/styles/autocomplete.css +2100 -0
  44. package/dist/styles/avatar.css +153 -0
  45. package/dist/styles/badge.css +862 -0
  46. package/dist/styles/base.css +383 -0
  47. package/dist/styles/border-beam.css +57 -0
  48. package/dist/styles/breadcrumb.css +120 -0
  49. package/dist/styles/button-group.css +517 -0
  50. package/dist/styles/button.css +517 -0
  51. package/dist/styles/card.css +365 -0
  52. package/dist/styles/carousel.css +272 -0
  53. package/dist/styles/checkbox.css +457 -0
  54. package/dist/styles/chip.css +784 -0
  55. package/dist/styles/code.css +10 -0
  56. package/dist/styles/col.css +128 -0
  57. package/dist/styles/color-input.css +1818 -0
  58. package/dist/styles/color-picker.css +1818 -0
  59. package/dist/styles/combobox.css +2100 -0
  60. package/dist/styles/container.css +20 -0
  61. package/dist/styles/data-table.css +2692 -0
  62. package/dist/styles/date-picker.css +1309 -0
  63. package/dist/styles/date-time-picker.css +1574 -0
  64. package/dist/styles/divider.css +61 -0
  65. package/dist/styles/empty-state.css +183 -0
  66. package/dist/styles/field-control.css +293 -0
  67. package/dist/styles/field.css +69 -0
  68. package/dist/styles/file-input.css +1427 -0
  69. package/dist/styles/file-upload.css +1794 -0
  70. package/dist/styles/form.css +62 -0
  71. package/dist/styles/grid.css +330 -0
  72. package/dist/styles/heading.css +9 -0
  73. package/dist/styles/icon.css +62 -0
  74. package/dist/styles/infinite-scroll.css +589 -0
  75. package/dist/styles/inline.css +17 -0
  76. package/dist/styles/kbd.css +17 -0
  77. package/dist/styles/layout-app.css +56 -0
  78. package/dist/styles/link.css +34 -0
  79. package/dist/styles/list.css +369 -0
  80. package/dist/styles/manifest.json +350 -0
  81. package/dist/styles/mention.css +2041 -0
  82. package/dist/styles/menu.css +305 -0
  83. package/dist/styles/modal.css +275 -0
  84. package/dist/styles/navigation-drawer.css +2006 -0
  85. package/dist/styles/number-input.css +709 -0
  86. package/dist/styles/otp-input.css +187 -0
  87. package/dist/styles/pagination.css +165 -0
  88. package/dist/styles/popover.css +419 -0
  89. package/dist/styles/progress.css +196 -0
  90. package/dist/styles/pull-refresh.css +674 -0
  91. package/dist/styles/radio.css +457 -0
  92. package/dist/styles/rating.css +211 -0
  93. package/dist/styles/row.css +71 -0
  94. package/dist/styles/select.css +1540 -0
  95. package/dist/styles/sheet.css +601 -0
  96. package/dist/styles/skeleton.css +65 -0
  97. package/dist/styles/skip-link.css +131 -0
  98. package/dist/styles/slider.css +633 -0
  99. package/dist/styles/sortable.css +249 -0
  100. package/dist/styles/spinner.css +115 -0
  101. package/dist/styles/splitter.css +127 -0
  102. package/dist/styles/stack.css +8 -0
  103. package/dist/styles/statistic.css +49 -0
  104. package/dist/styles/stepper.css +324 -0
  105. package/dist/styles/surface.css +95 -0
  106. package/dist/styles/switch.css +857 -0
  107. package/dist/styles/table.css +260 -0
  108. package/dist/styles/tabs.css +663 -0
  109. package/dist/styles/text-field.css +602 -0
  110. package/dist/styles/text.css +9 -0
  111. package/dist/styles/textarea.css +602 -0
  112. package/dist/styles/time-picker.css +1446 -0
  113. package/dist/styles/timeline.css +376 -0
  114. package/dist/styles/toast.css +542 -0
  115. package/dist/styles/tooltip.css +179 -0
  116. package/dist/styles/tour.css +1130 -0
  117. package/dist/styles/tree-select.css +1803 -0
  118. package/dist/styles/treeview.css +365 -0
  119. package/dist/styles/virtual-scroll.css +33 -0
  120. package/dist/styles/watermark.css +3 -0
  121. package/dist/tandd-ui.css +684 -91
  122. package/dist/tandd-ui.js +7517 -6407
  123. package/package.json +20 -7
  124. package/src/components/_index.scss +4 -0
  125. package/src/components/alert/DTAlert.scss +29 -45
  126. package/src/components/border-beam/DTBorderBeam.scss +4 -3
  127. package/src/components/card/DTCard.scss +6 -5
  128. package/src/components/checkbox/DTChoice.scss +28 -0
  129. package/src/components/date-picker/DTDatePicker.scss +30 -0
  130. package/src/components/date-time-picker/DTDateTimePicker.scss +2 -1
  131. package/src/components/form/DTForm.scss +66 -0
  132. package/src/components/list/DTList.scss +79 -0
  133. package/src/components/menu/DTMenu.scss +0 -15
  134. package/src/components/modal/DTModal.scss +11 -1
  135. package/src/components/navigation-drawer/DTNavigationDrawer.scss +20 -0
  136. package/src/components/sheet/DTSheet.scss +12 -1
  137. package/src/components/sortable/DTSortable.scss +196 -0
  138. package/src/components/splitter/DTSplitter.scss +133 -0
  139. package/src/components/switch/DTSwitch.scss +19 -0
  140. package/src/components/time-picker/DTTimePicker.scss +37 -6
  141. package/src/components/toast/DTToast.scss +35 -22
  142. package/src/components/tour/DTTour.scss +2 -1
  143. package/src/components/virtual-scroll/DTVirtualScroll.scss +35 -0
  144. package/src/styles/foundation/_motion.scss +19 -0
@@ -0,0 +1,305 @@
1
+ .dt-icon {
2
+ display: inline-block;
3
+ flex: 0 0 auto;
4
+ inline-size: var(--dt-icon-size, 1em);
5
+ block-size: var(--dt-icon-size, 1em);
6
+ overflow: visible;
7
+ color: currentColor;
8
+ vertical-align: -0.125em;
9
+ fill: none;
10
+ stroke: currentColor;
11
+ stroke-width: var(--dt-icon-stroke, 1.5);
12
+ stroke-linecap: round;
13
+ stroke-linejoin: round;
14
+ }
15
+
16
+ .dt-icon--text {
17
+ color: var(--dt-color-text);
18
+ }
19
+
20
+ .dt-icon--muted {
21
+ color: var(--dt-color-text-muted);
22
+ }
23
+
24
+ .dt-icon--subtle {
25
+ color: var(--dt-color-text-subtle);
26
+ }
27
+
28
+ .dt-icon--primary {
29
+ color: var(--dt-color-primary);
30
+ }
31
+
32
+ .dt-icon--danger {
33
+ color: var(--dt-color-danger);
34
+ }
35
+
36
+ .dt-icon--info {
37
+ color: var(--dt-color-info);
38
+ }
39
+
40
+ .dt-icon--warning {
41
+ color: var(--dt-color-warning);
42
+ }
43
+
44
+ .dt-icon--size-xs {
45
+ --dt-icon-size: var(--dt-icon-xs);
46
+ }
47
+
48
+ .dt-icon--size-sm {
49
+ --dt-icon-size: var(--dt-icon-sm);
50
+ }
51
+
52
+ .dt-icon--size-md {
53
+ --dt-icon-size: var(--dt-icon-md);
54
+ }
55
+
56
+ .dt-icon--size-lg {
57
+ --dt-icon-size: var(--dt-icon-lg);
58
+ }
59
+
60
+ .dt-icon--size-xl {
61
+ --dt-icon-size: var(--dt-icon-xl);
62
+ }
63
+
64
+ .dt-menu {
65
+ position: relative;
66
+ display: inline-flex;
67
+ }
68
+
69
+ .dt-menu__panel {
70
+ z-index: var(--dt-z-index-dropdown);
71
+ box-sizing: border-box;
72
+ min-width: max(180px, var(--dt-menu-min-width, 0px));
73
+ max-height: min(360px, 100vh - 16px);
74
+ overflow-y: auto;
75
+ padding: 5px;
76
+ border: 1px solid var(--dt-color-border);
77
+ border-radius: var(--dt-radius-md);
78
+ color: var(--dt-color-text);
79
+ background: var(--dt-color-surface-raised);
80
+ box-shadow: var(--dt-shadow-sm);
81
+ font-size: var(--dt-font-size-md);
82
+ animation: dt-menu-in var(--dt-duration-base) var(--dt-ease-standard);
83
+ }
84
+
85
+ .dt-menu__panel[data-side=top] {
86
+ animation-name: dt-menu-in-up;
87
+ }
88
+
89
+ @keyframes dt-menu-in {
90
+ from {
91
+ opacity: 0;
92
+ transform: translateY(-4px);
93
+ }
94
+ }
95
+ @keyframes dt-menu-in-up {
96
+ from {
97
+ opacity: 0;
98
+ transform: translateY(4px);
99
+ }
100
+ }
101
+ .dt-menu__item,
102
+ .dt-menu__option {
103
+ display: flex;
104
+ box-sizing: border-box;
105
+ align-items: center;
106
+ gap: 10px;
107
+ width: 100%;
108
+ min-height: 36px;
109
+ padding: 7px 9px;
110
+ border: 0;
111
+ border-radius: var(--dt-radius-sm);
112
+ color: var(--dt-color-text);
113
+ background: transparent;
114
+ font: inherit;
115
+ text-align: left;
116
+ white-space: nowrap;
117
+ cursor: pointer;
118
+ }
119
+
120
+ .dt-menu__item:hover:not(:disabled),
121
+ .dt-menu__item:focus-visible,
122
+ .dt-menu__item:focus,
123
+ .dt-menu__option:hover,
124
+ .dt-menu__option.is-active {
125
+ outline: none;
126
+ background: var(--dt-color-surface-hover);
127
+ }
128
+
129
+ .dt-menu__item:focus-visible,
130
+ .dt-menu__option.is-active {
131
+ box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--dt-color-focus) 45%, transparent);
132
+ }
133
+
134
+ .dt-menu__item:disabled {
135
+ cursor: not-allowed;
136
+ opacity: 0.48;
137
+ }
138
+
139
+ .dt-menu__item--danger {
140
+ color: var(--dt-color-danger);
141
+ }
142
+
143
+ .dt-menu__icon {
144
+ flex: none;
145
+ }
146
+
147
+ .dt-menu__item-text {
148
+ display: grid;
149
+ gap: 1px;
150
+ min-width: 0;
151
+ }
152
+
153
+ .dt-menu__item-desc {
154
+ color: var(--dt-color-text-subtle);
155
+ font-size: var(--dt-font-size-xs);
156
+ }
157
+
158
+ .dt-menu__item--danger .dt-menu__item-desc {
159
+ color: inherit;
160
+ opacity: 0.8;
161
+ }
162
+
163
+ .dt-menu__shortcut {
164
+ margin-left: auto;
165
+ padding-left: var(--dt-space-4);
166
+ color: var(--dt-color-text-subtle);
167
+ font-size: 11px;
168
+ }
169
+
170
+ .dt-menu__indicator {
171
+ display: inline-grid;
172
+ flex: 0 0 16px;
173
+ place-items: center;
174
+ width: 16px;
175
+ height: 16px;
176
+ color: var(--dt-color-primary);
177
+ }
178
+ .dt-menu__indicator > * {
179
+ visibility: hidden;
180
+ }
181
+
182
+ [aria-checked=true] > .dt-menu__indicator > * {
183
+ visibility: visible;
184
+ }
185
+
186
+ .dt-menu__radio-dot {
187
+ width: 6px;
188
+ height: 6px;
189
+ border-radius: 50%;
190
+ background: currentColor;
191
+ }
192
+
193
+ .dt-menu__label {
194
+ padding: 6px 9px 4px;
195
+ color: var(--dt-color-text-subtle);
196
+ font-size: var(--dt-font-size-2xs);
197
+ font-weight: var(--dt-font-weight-bold);
198
+ letter-spacing: var(--dt-letter-spacing-wider);
199
+ text-transform: uppercase;
200
+ white-space: nowrap;
201
+ }
202
+
203
+ .dt-menu__separator {
204
+ height: 1px;
205
+ margin: 5px 3px;
206
+ background: var(--dt-color-border);
207
+ }
208
+
209
+ .dt-menu__head {
210
+ display: flex;
211
+ align-items: center;
212
+ gap: 10px;
213
+ padding: 7px 9px 9px;
214
+ }
215
+
216
+ .dt-menu__check {
217
+ margin-left: auto;
218
+ color: var(--dt-color-primary);
219
+ }
220
+
221
+ @media (prefers-reduced-motion: reduce) {
222
+ .dt-menu__panel {
223
+ animation: none;
224
+ }
225
+ }
226
+ .dt-menu--context {
227
+ display: block;
228
+ }
229
+
230
+ .dt-menu__panel[data-side=right],
231
+ .dt-menu__panel[data-side=end] {
232
+ animation-name: dt-menu-in-right;
233
+ }
234
+
235
+ .dt-menu__panel[data-side=left],
236
+ .dt-menu__panel[data-side=start] {
237
+ animation-name: dt-menu-in-left;
238
+ }
239
+
240
+ @keyframes dt-menu-in-right {
241
+ from {
242
+ opacity: 0;
243
+ transform: translateX(-4px);
244
+ }
245
+ }
246
+ @keyframes dt-menu-in-left {
247
+ from {
248
+ opacity: 0;
249
+ transform: translateX(4px);
250
+ }
251
+ }
252
+ .dt-menu__submenu-icon {
253
+ flex: none;
254
+ margin-inline-start: auto;
255
+ color: var(--dt-color-text-subtle);
256
+ }
257
+
258
+ .dt-menu__shortcut + .dt-menu__submenu-icon {
259
+ margin-inline-start: 0;
260
+ }
261
+
262
+ .dt-menu__submenu-icon:dir(rtl) {
263
+ transform: scaleX(-1);
264
+ }
265
+
266
+ .dt-menu__item--parent[aria-expanded=true] {
267
+ background: var(--dt-color-surface-hover);
268
+ }
269
+
270
+ @media (prefers-reduced-motion: reduce) {
271
+ .dt-menu__panel[data-side] {
272
+ animation: none;
273
+ }
274
+ }
275
+ @media (forced-colors: active) {
276
+ .dt-menu__panel .dt-menu__item:is(:focus, :focus-visible) {
277
+ forced-color-adjust: none;
278
+ color: HighlightText;
279
+ background: Highlight;
280
+ }
281
+ .dt-menu__item--parent[aria-expanded=true]:not(:focus) {
282
+ outline: 2px solid Highlight;
283
+ outline-offset: -2px;
284
+ }
285
+ .dt-menu__item:disabled {
286
+ color: GrayText;
287
+ opacity: 1;
288
+ }
289
+ .dt-menu__indicator,
290
+ .dt-menu__check,
291
+ .dt-menu__shortcut,
292
+ .dt-menu__submenu-icon,
293
+ .dt-menu__item-desc {
294
+ color: inherit;
295
+ }
296
+ .dt-menu__radio-dot {
297
+ background: CanvasText;
298
+ }
299
+ .dt-menu__item:is(:focus, :focus-visible) .dt-menu__radio-dot {
300
+ background: HighlightText;
301
+ }
302
+ .dt-menu__item:disabled .dt-menu__radio-dot {
303
+ background: GrayText;
304
+ }
305
+ }
@@ -0,0 +1,275 @@
1
+ .dt-icon {
2
+ display: inline-block;
3
+ flex: 0 0 auto;
4
+ inline-size: var(--dt-icon-size, 1em);
5
+ block-size: var(--dt-icon-size, 1em);
6
+ overflow: visible;
7
+ color: currentColor;
8
+ vertical-align: -0.125em;
9
+ fill: none;
10
+ stroke: currentColor;
11
+ stroke-width: var(--dt-icon-stroke, 1.5);
12
+ stroke-linecap: round;
13
+ stroke-linejoin: round;
14
+ }
15
+
16
+ .dt-icon--text {
17
+ color: var(--dt-color-text);
18
+ }
19
+
20
+ .dt-icon--muted {
21
+ color: var(--dt-color-text-muted);
22
+ }
23
+
24
+ .dt-icon--subtle {
25
+ color: var(--dt-color-text-subtle);
26
+ }
27
+
28
+ .dt-icon--primary {
29
+ color: var(--dt-color-primary);
30
+ }
31
+
32
+ .dt-icon--danger {
33
+ color: var(--dt-color-danger);
34
+ }
35
+
36
+ .dt-icon--info {
37
+ color: var(--dt-color-info);
38
+ }
39
+
40
+ .dt-icon--warning {
41
+ color: var(--dt-color-warning);
42
+ }
43
+
44
+ .dt-icon--size-xs {
45
+ --dt-icon-size: var(--dt-icon-xs);
46
+ }
47
+
48
+ .dt-icon--size-sm {
49
+ --dt-icon-size: var(--dt-icon-sm);
50
+ }
51
+
52
+ .dt-icon--size-md {
53
+ --dt-icon-size: var(--dt-icon-md);
54
+ }
55
+
56
+ .dt-icon--size-lg {
57
+ --dt-icon-size: var(--dt-icon-lg);
58
+ }
59
+
60
+ .dt-icon--size-xl {
61
+ --dt-icon-size: var(--dt-icon-xl);
62
+ }
63
+
64
+ .dt-modal-open {
65
+ overflow: hidden;
66
+ }
67
+
68
+ .dt-modal-backdrop {
69
+ position: fixed;
70
+ z-index: calc(var(--dt-z-index-modal) + var(--dt-modal-layer, 0));
71
+ inset: 0;
72
+ display: grid;
73
+ place-items: center;
74
+ padding: var(--dt-space-4);
75
+ background: var(--dt-color-backdrop);
76
+ transition: background-color var(--dt-duration-base) var(--dt-ease-standard);
77
+ }
78
+
79
+ .dt-modal-backdrop[data-dt-modal-covered] {
80
+ background-color: transparent;
81
+ }
82
+
83
+ .dt-modal {
84
+ display: flex;
85
+ box-sizing: border-box;
86
+ flex-direction: column;
87
+ width: min(520px, 100%);
88
+ min-width: 0;
89
+ max-height: 85vh;
90
+ border: 1px solid var(--dt-color-border);
91
+ border-radius: var(--dt-radius-lg);
92
+ color: var(--dt-color-text);
93
+ background: var(--dt-color-surface);
94
+ box-shadow: var(--dt-shadow-lg);
95
+ font-family: var(--dt-font-family-sans);
96
+ outline: none;
97
+ }
98
+
99
+ .dt-modal--sm {
100
+ width: min(380px, 100%);
101
+ }
102
+
103
+ .dt-modal--lg {
104
+ width: min(720px, 100%);
105
+ }
106
+
107
+ .dt-modal__header {
108
+ display: flex;
109
+ align-items: center;
110
+ justify-content: space-between;
111
+ gap: var(--dt-space-3);
112
+ padding: var(--dt-space-2) var(--dt-space-4);
113
+ border-bottom: 1px solid var(--dt-color-border);
114
+ }
115
+
116
+ .dt-modal__title {
117
+ margin: 0;
118
+ font-size: var(--dt-font-size-lg);
119
+ font-weight: var(--dt-font-weight-semibold);
120
+ line-height: 1.35;
121
+ }
122
+
123
+ .dt-modal__close {
124
+ display: inline-flex;
125
+ flex: 0 0 28px;
126
+ align-items: center;
127
+ justify-content: center;
128
+ width: 28px;
129
+ height: 28px;
130
+ margin-left: auto;
131
+ padding: 0;
132
+ border: 0;
133
+ border-radius: var(--dt-radius-sm);
134
+ color: var(--dt-color-text-subtle);
135
+ background: transparent;
136
+ cursor: pointer;
137
+ transition: background var(--dt-duration-fast), color var(--dt-duration-fast);
138
+ }
139
+
140
+ .dt-modal__close:hover {
141
+ color: var(--dt-color-text);
142
+ background: var(--dt-color-surface-hover);
143
+ }
144
+
145
+ .dt-modal__close:focus-visible {
146
+ outline: none;
147
+ box-shadow: 0 0 0 2px var(--dt-color-surface), 0 0 0 4px var(--dt-color-primary);
148
+ }
149
+
150
+ .dt-modal__body {
151
+ overflow: auto;
152
+ padding: var(--dt-space-4);
153
+ color: var(--dt-color-text-muted);
154
+ font-size: var(--dt-font-size-sm);
155
+ line-height: 1.55;
156
+ }
157
+ .dt-modal__body > p {
158
+ margin: 0 0 var(--dt-space-3);
159
+ }
160
+ .dt-modal__body > p:last-child {
161
+ margin-bottom: 0;
162
+ }
163
+
164
+ .dt-modal__footer {
165
+ display: flex;
166
+ flex-wrap: wrap;
167
+ align-items: center;
168
+ justify-content: flex-end;
169
+ gap: var(--dt-space-2);
170
+ padding: var(--dt-space-2) var(--dt-space-4);
171
+ border-top: 1px solid var(--dt-color-border);
172
+ }
173
+
174
+ .dt-modal-backdrop--fullscreen {
175
+ grid-template: minmax(0, 1fr)/minmax(0, 1fr);
176
+ padding: 0;
177
+ place-items: stretch;
178
+ }
179
+ .dt-modal-backdrop--fullscreen .dt-modal {
180
+ width: auto;
181
+ min-height: 0;
182
+ max-height: none;
183
+ border: 0;
184
+ border-radius: 0;
185
+ box-shadow: none;
186
+ }
187
+ .dt-modal-backdrop--fullscreen .dt-modal__body {
188
+ flex: 1 1 auto;
189
+ min-height: 0;
190
+ }
191
+
192
+ @media (max-width: 639.98px) {
193
+ .dt-modal-backdrop--fullscreen-sm {
194
+ grid-template: minmax(0, 1fr)/minmax(0, 1fr);
195
+ padding: 0;
196
+ place-items: stretch;
197
+ }
198
+ .dt-modal-backdrop--fullscreen-sm .dt-modal {
199
+ width: auto;
200
+ min-height: 0;
201
+ max-height: none;
202
+ border: 0;
203
+ border-radius: 0;
204
+ box-shadow: none;
205
+ }
206
+ .dt-modal-backdrop--fullscreen-sm .dt-modal__body {
207
+ flex: 1 1 auto;
208
+ min-height: 0;
209
+ }
210
+ }
211
+ @media (max-width: 767.98px) {
212
+ .dt-modal-backdrop--fullscreen-md {
213
+ grid-template: minmax(0, 1fr)/minmax(0, 1fr);
214
+ padding: 0;
215
+ place-items: stretch;
216
+ }
217
+ .dt-modal-backdrop--fullscreen-md .dt-modal {
218
+ width: auto;
219
+ min-height: 0;
220
+ max-height: none;
221
+ border: 0;
222
+ border-radius: 0;
223
+ box-shadow: none;
224
+ }
225
+ .dt-modal-backdrop--fullscreen-md .dt-modal__body {
226
+ flex: 1 1 auto;
227
+ min-height: 0;
228
+ }
229
+ }
230
+ @media (max-width: 1023.98px) {
231
+ .dt-modal-backdrop--fullscreen-lg {
232
+ grid-template: minmax(0, 1fr)/minmax(0, 1fr);
233
+ padding: 0;
234
+ place-items: stretch;
235
+ }
236
+ .dt-modal-backdrop--fullscreen-lg .dt-modal {
237
+ width: auto;
238
+ min-height: 0;
239
+ max-height: none;
240
+ border: 0;
241
+ border-radius: 0;
242
+ box-shadow: none;
243
+ }
244
+ .dt-modal-backdrop--fullscreen-lg .dt-modal__body {
245
+ flex: 1 1 auto;
246
+ min-height: 0;
247
+ }
248
+ }
249
+ .dt-modal-enter-active,
250
+ .dt-modal-leave-active {
251
+ transition: opacity var(--dt-duration-base) var(--dt-ease-standard);
252
+ }
253
+ .dt-modal-enter-active .dt-modal,
254
+ .dt-modal-leave-active .dt-modal {
255
+ transition: transform var(--dt-duration-base) var(--dt-ease-emphasized);
256
+ }
257
+
258
+ .dt-modal-enter-from,
259
+ .dt-modal-leave-to {
260
+ opacity: 0;
261
+ }
262
+ .dt-modal-enter-from .dt-modal,
263
+ .dt-modal-leave-to .dt-modal {
264
+ transform: translateY(8px) scale(0.98);
265
+ }
266
+
267
+ @media (prefers-reduced-motion: reduce) {
268
+ .dt-modal-backdrop,
269
+ .dt-modal-enter-active,
270
+ .dt-modal-leave-active,
271
+ .dt-modal-enter-active .dt-modal,
272
+ .dt-modal-leave-active .dt-modal {
273
+ transition: none;
274
+ }
275
+ }