@limetech/lime-elements 37.55.6 → 37.55.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 (106) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/lime-elements.cjs.js +1 -1
  3. package/dist/cjs/limel-dialog.cjs.entry.js +51 -931
  4. package/dist/cjs/limel-dialog.cjs.entry.js.map +1 -1
  5. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
  6. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js.map +1 -1
  7. package/dist/cjs/limel-form.cjs.entry.js +2498 -2498
  8. package/dist/cjs/limel-form.cjs.entry.js.map +1 -1
  9. package/dist/cjs/limel-slider.cjs.entry.js +86 -2
  10. package/dist/cjs/limel-slider.cjs.entry.js.map +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +1 -1
  13. package/dist/collection/components/dialog/dialog.css +79 -679
  14. package/dist/collection/components/dialog/dialog.js +58 -62
  15. package/dist/collection/components/dialog/dialog.js.map +1 -1
  16. package/dist/esm/{_arrayIncludesWith-8fac90b7.js → _arrayIncludesWith-37fb8c3e.js} +3 -3
  17. package/dist/esm/{_arrayIncludesWith-8fac90b7.js.map → _arrayIncludesWith-37fb8c3e.js.map} +1 -1
  18. package/dist/esm/{_baseForOwn-6eb68438.js → _baseForOwn-fff53ded.js} +2 -2
  19. package/dist/esm/{_baseForOwn-6eb68438.js.map → _baseForOwn-fff53ded.js.map} +1 -1
  20. package/dist/esm/{_baseIsEqual-f751b77f.js → _baseIsEqual-f3eeaadf.js} +3 -3
  21. package/dist/esm/{_baseIsEqual-f751b77f.js.map → _baseIsEqual-f3eeaadf.js.map} +1 -1
  22. package/dist/esm/{_baseIteratee-77de5982.js → _baseIteratee-b8e533f5.js} +3 -3
  23. package/dist/esm/{_baseIteratee-77de5982.js.map → _baseIteratee-b8e533f5.js.map} +1 -1
  24. package/dist/esm/{_getAllKeysIn-f5fc1fe7.js → _getAllKeysIn-4936435d.js} +3 -3
  25. package/dist/esm/{_getAllKeysIn-f5fc1fe7.js.map → _getAllKeysIn-4936435d.js.map} +1 -1
  26. package/dist/esm/{isArrayLike-385e0f31.js → isArrayLike-dd37ba9a.js} +2 -2
  27. package/dist/esm/{isArrayLike-385e0f31.js.map → isArrayLike-dd37ba9a.js.map} +1 -1
  28. package/dist/esm/{isEmpty-3b1e5881.js → isEmpty-d700c746.js} +3 -3
  29. package/dist/esm/{isEmpty-3b1e5881.js.map → isEmpty-d700c746.js.map} +1 -1
  30. package/dist/esm/{isEqual-90c6e6fc.js → isEqual-883988f1.js} +2 -2
  31. package/dist/esm/{isEqual-90c6e6fc.js.map → isEqual-883988f1.js.map} +1 -1
  32. package/dist/esm/lime-elements.js +1 -1
  33. package/dist/esm/limel-chip_2.entry.js +4 -4
  34. package/dist/esm/limel-dialog.entry.js +51 -931
  35. package/dist/esm/limel-dialog.entry.js.map +1 -1
  36. package/dist/esm/limel-file-dropzone_2.entry.js +4 -4
  37. package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
  38. package/dist/esm/limel-flatpickr-adapter.entry.js.map +1 -1
  39. package/dist/esm/limel-form.entry.js +2507 -2507
  40. package/dist/esm/limel-form.entry.js.map +1 -1
  41. package/dist/esm/limel-prosemirror-adapter.entry.js +4 -4
  42. package/dist/esm/limel-slider.entry.js +85 -1
  43. package/dist/esm/limel-slider.entry.js.map +1 -1
  44. package/dist/esm/limel-tab-bar.entry.js +4 -4
  45. package/dist/esm/limel-table.entry.js +6 -6
  46. package/dist/esm/loader.js +1 -1
  47. package/dist/esm/{pickBy-7b1558ef.js → pickBy-923628c8.js} +4 -4
  48. package/dist/esm/{pickBy-7b1558ef.js.map → pickBy-923628c8.js.map} +1 -1
  49. package/dist/lime-elements/lime-elements.esm.js +1 -1
  50. package/dist/lime-elements/lime-elements.esm.js.map +1 -1
  51. package/dist/lime-elements/{p-efe6d8b9.entry.js → p-11bc6383.entry.js} +3 -3
  52. package/dist/lime-elements/{p-efe6d8b9.entry.js.map → p-11bc6383.entry.js.map} +1 -1
  53. package/dist/lime-elements/{p-f1d08f33.entry.js → p-33733088.entry.js} +2 -2
  54. package/dist/lime-elements/p-3d88b583.js +2 -0
  55. package/dist/lime-elements/p-57906760.js +2 -0
  56. package/dist/lime-elements/{p-a28fa78d.js.map → p-57906760.js.map} +1 -1
  57. package/dist/lime-elements/p-69b694b5.js +2 -0
  58. package/dist/lime-elements/{p-038bd215.js.map → p-69b694b5.js.map} +1 -1
  59. package/dist/lime-elements/p-6a3d0141.js +2 -0
  60. package/dist/lime-elements/p-7377db39.js +2 -0
  61. package/dist/lime-elements/{p-2b06f854.entry.js → p-75b4a7aa.entry.js} +2 -2
  62. package/dist/lime-elements/p-785755e9.js +2 -0
  63. package/dist/lime-elements/{p-0ec8eec7.js.map → p-785755e9.js.map} +1 -1
  64. package/dist/lime-elements/{p-9acf7b5d.js → p-7f43b0c4.js} +2 -2
  65. package/dist/lime-elements/{p-347c1107.entry.js → p-82af91ed.entry.js} +2 -2
  66. package/dist/lime-elements/p-836774a8.js +2 -0
  67. package/dist/lime-elements/p-9b51660b.entry.js +21 -0
  68. package/dist/lime-elements/p-9b51660b.entry.js.map +1 -0
  69. package/dist/lime-elements/p-b11ab47e.entry.js +2 -0
  70. package/dist/lime-elements/p-b11ab47e.entry.js.map +1 -0
  71. package/dist/lime-elements/{p-9375145d.entry.js → p-d505de95.entry.js} +27 -5
  72. package/dist/lime-elements/p-d505de95.entry.js.map +1 -0
  73. package/dist/lime-elements/{p-178bbeb4.entry.js → p-e53fae23.entry.js} +2 -2
  74. package/dist/lime-elements/{p-1b9d3851.js → p-f069e11f.js} +2 -2
  75. package/dist/lime-elements/{p-36b385b2.entry.js → p-f629e2bf.entry.js} +2 -2
  76. package/dist/types/components/dialog/dialog.d.ts +5 -8
  77. package/package.json +2 -2
  78. package/dist/cjs/animationframe-e4c1798e.js +0 -90
  79. package/dist/cjs/animationframe-e4c1798e.js.map +0 -1
  80. package/dist/esm/animationframe-b52af02d.js +0 -88
  81. package/dist/esm/animationframe-b52af02d.js.map +0 -1
  82. package/dist/lime-elements/p-038bd215.js +0 -2
  83. package/dist/lime-elements/p-0ec8eec7.js +0 -2
  84. package/dist/lime-elements/p-22704cbc.js +0 -2
  85. package/dist/lime-elements/p-48105d44.js +0 -24
  86. package/dist/lime-elements/p-48105d44.js.map +0 -1
  87. package/dist/lime-elements/p-48ef6a20.js +0 -2
  88. package/dist/lime-elements/p-50303eb1.entry.js +0 -21
  89. package/dist/lime-elements/p-50303eb1.entry.js.map +0 -1
  90. package/dist/lime-elements/p-9375145d.entry.js.map +0 -1
  91. package/dist/lime-elements/p-a28fa78d.js +0 -2
  92. package/dist/lime-elements/p-adf6cbe8.entry.js +0 -112
  93. package/dist/lime-elements/p-adf6cbe8.entry.js.map +0 -1
  94. package/dist/lime-elements/p-d0bdb2e3.js +0 -2
  95. package/dist/lime-elements/p-d4029e33.js +0 -2
  96. /package/dist/lime-elements/{p-f1d08f33.entry.js.map → p-33733088.entry.js.map} +0 -0
  97. /package/dist/lime-elements/{p-48ef6a20.js.map → p-3d88b583.js.map} +0 -0
  98. /package/dist/lime-elements/{p-d4029e33.js.map → p-6a3d0141.js.map} +0 -0
  99. /package/dist/lime-elements/{p-d0bdb2e3.js.map → p-7377db39.js.map} +0 -0
  100. /package/dist/lime-elements/{p-2b06f854.entry.js.map → p-75b4a7aa.entry.js.map} +0 -0
  101. /package/dist/lime-elements/{p-9acf7b5d.js.map → p-7f43b0c4.js.map} +0 -0
  102. /package/dist/lime-elements/{p-347c1107.entry.js.map → p-82af91ed.entry.js.map} +0 -0
  103. /package/dist/lime-elements/{p-22704cbc.js.map → p-836774a8.js.map} +0 -0
  104. /package/dist/lime-elements/{p-178bbeb4.entry.js.map → p-e53fae23.entry.js.map} +0 -0
  105. /package/dist/lime-elements/{p-1b9d3851.js.map → p-f069e11f.js.map} +0 -0
  106. /package/dist/lime-elements/{p-36b385b2.entry.js.map → p-f629e2bf.entry.js.map} +0 -0
@@ -1,10 +1,4 @@
1
1
  @charset "UTF-8";
2
- /*
3
- * This file is imported into every component!
4
- *
5
- * Nothing in this file may output any CSS
6
- * without being explicitly called by outside code.
7
- */
8
2
  /**
9
3
  * Note! This file is exported to `dist/scss/` in the published
10
4
  * node module, for consumer projects to import.
@@ -58,83 +52,21 @@
58
52
  * 2. the CSS variables of `--kompendium-example-font-family`
59
53
  * in the `<style>` tag of `index.html`.
60
54
  */
61
- /*
62
- * This file is imported into every component that uses MDC!
63
- *
64
- * Anything in this file that generates CSS output on its own,
65
- * without being explicitly used, will output that CSS in every
66
- * single component, increasing the size of the production build.
67
- * Avoid that unless there's very good reason for it!
68
- */
69
- /*
70
- * This file is imported into every component that uses MDC!
71
- *
72
- * Anything in this file that generates CSS output on its own,
73
- * without being explicitly used, will output that CSS in every
74
- * single component, increasing the size of the production build.
75
- * Avoid that unless there's very good reason for it!
76
- */
77
- :host {
78
- --mdc-theme-primary: var(
79
- --lime-primary-color,
80
- rgb(var(--color-teal-default))
81
- );
82
- --mdc-theme-secondary: var(
83
- --lime-secondary-color,
84
- rgb(var(--contrast-1100))
85
- );
86
- --mdc-theme-on-primary: var(
87
- --lime-on-primary-color,
88
- rgb(var(--contrast-100))
89
- );
90
- --mdc-theme-on-secondary: var(
91
- --lime-on-secondary-color,
92
- rgb(var(--contrast-100))
93
- );
94
- --mdc-theme-text-disabled-on-background: var(
95
- --lime-text-disabled-on-background-color,
96
- rgba(var(--contrast-1700), 0.38)
97
- );
98
- --mdc-theme-text-primary-on-background: var(
99
- --lime-text-primary-on-background-color,
100
- rgba(var(--contrast-1700), 0.87)
101
- );
102
- --mdc-theme-text-secondary-on-background: var(
103
- --lime-text-secondary-on-background-color,
104
- rgba(var(--contrast-1700), 0.54)
105
- );
106
- --mdc-theme-error: var(
107
- --lime-error-background-color,
108
- rgb(var(--color-red-dark))
109
- );
110
- --lime-error-text-color: rgb(var(--color-red-darker));
111
- --mdc-theme-surface: var(
112
- --lime-surface-background-color,
113
- rgb(var(--contrast-100))
114
- );
115
- --mdc-theme-on-surface: var(
116
- --lime-on-surface-color,
117
- rgb(var(--contrast-1500))
118
- );
119
- }
120
-
121
55
  /**
122
56
  * @prop --dialog-width: Width of the dialog.
57
+ * @prop --dialog-max-width: Max width of the dialog.
123
58
  * @prop --dialog-height: Height of the dialog.
124
- * @prop --dialog-z-index: z-index of the dialog container, including the scrim.
59
+ * @prop --dialog-max-height: Max height of the dialog.
60
+ * @prop --dialog-padding-top-bottom: Padding on top and bottom of dialog content. Affects the height of fade-out effects on top and bottom edges when the content is scrollable and has overflowed out of the content area. Defaults to `1.5rem`. Note that if you use this variable and set it to numbers smaller than 1rem, you will loose the fade-out effects on the edges. If you have set these paddings to `0`, losing the fade out effects should be however fine for your use case! Because in such a case your intention is to handle the `overflow` internally in the component that is displayed in the dialog's content.
61
+ * @prop --dialog-padding-left-right: Padding on the sides of dialog content. Defaults to `1.25rem`.
125
62
  * @prop --dialog-heading-title-color: Color of the title.
126
63
  * @prop --dialog-heading-subtitle-color: Color of the subtitle.
127
64
  * @prop --dialog-heading-supporting-text-color: Color of the supporting text.
128
65
  * @prop --dialog-heading-icon-color: Color of the icon.
129
66
  * @prop --dialog-heading-icon-background-color: Background color of the icon when displayed as a badge.
130
- * @prop --dialog-max-width: Max width of the dialog.
131
- * @prop --dialog-max-height: Max height of the dialog.
132
- * @prop --dialog-border-radius: Border radius of the dialog corners
133
- * @prop --dialog-padding-top-bottom: Padding on top and bottom of dialog content. Affects the height of fade-out effects on top and bottom edges when the content is scrollable and has overflowed out of the content area. Defaults to `1.5rem`. Note that if you use this variable and set it to numbers smaller than 1rem, you will loose the fade-out effects on the edges. If you have set these paddings to `0`, losing the fade out effects should be however fine for your use case! Because in such a case your intention is to handle the `overflow` internally in the component that is displayed in the dialog's content.
134
- * @prop --dialog-padding-left-right: Padding on the sides of dialog content. Defaults to `1.25rem`.
135
67
  */
136
- :host {
137
- --dialog-background-color: var(--lime-elevated-surface-background-color);
68
+ :host(limel-dialog) {
69
+ --limel-dialog-border-radius: 0.75rem;
138
70
  --header-heading-color: var(--dialog-heading-title-color);
139
71
  --header-subheading-color: var(--dialog-heading-subtitle-color);
140
72
  --header-supporting-text-color: var(--dialog-heading-supporting-text-color);
@@ -142,620 +74,43 @@
142
74
  --header-icon-background-color: var(--dialog-heading-icon-background-color);
143
75
  }
144
76
 
145
- .mdc-dialog .mdc-dialog__surface {
146
- background-color: #fff;
147
- /* @alternate */
148
- background-color: var(--mdc-theme-surface, #fff);
149
- }
150
- .mdc-dialog .mdc-dialog__scrim {
151
- background-color: rgba(0, 0, 0, 0.32);
152
- }
153
- .mdc-dialog .mdc-dialog__surface-scrim {
154
- background-color: rgba(0, 0, 0, 0.32);
155
- }
156
- .mdc-dialog .mdc-dialog__title {
157
- color: rgba(0, 0, 0, 0.87);
158
- }
159
- .mdc-dialog .mdc-dialog__content {
160
- color: rgba(0, 0, 0, 0.6);
161
- }
162
- .mdc-dialog .mdc-dialog__close {
163
- color: #000;
164
- /* @alternate */
165
- color: var(--mdc-theme-on-surface, #000);
166
- }
167
- .mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before, .mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after {
168
- background-color: #000;
169
- /* @alternate */
170
- background-color: var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000));
171
- }
172
- .mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before, .mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before {
173
- opacity: 0.04;
174
- /* @alternate */
175
- opacity: var(--mdc-ripple-hover-opacity, 0.04);
176
- }
177
- .mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before, .mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before {
178
- transition-duration: 75ms;
179
- opacity: 0.12;
180
- /* @alternate */
181
- opacity: var(--mdc-ripple-focus-opacity, 0.12);
182
- }
183
- .mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after {
184
- transition: opacity 150ms linear;
185
- }
186
- .mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after {
187
- transition-duration: 75ms;
188
- opacity: 0.12;
189
- /* @alternate */
190
- opacity: var(--mdc-ripple-press-opacity, 0.12);
191
- }
192
- .mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded {
193
- --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);
194
- }
195
- .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title, .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions, .mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions {
196
- border-color: rgba(0, 0, 0, 0.12);
197
- }
198
- .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title {
199
- border-bottom: 1px solid rgba(0, 0, 0, 0.12);
200
- margin-bottom: 0;
201
- }
202
- .mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header {
203
- /* @alternate */
204
- box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
205
- }
206
- .mdc-dialog .mdc-dialog__surface {
207
- border-radius: 4px;
208
- /* @alternate */
209
- border-radius: var(--mdc-shape-medium, 4px);
210
- }
211
-
212
- .mdc-dialog__surface {
213
- /* @alternate */
214
- box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
215
- }
216
-
217
- .mdc-dialog__title {
218
- -moz-osx-font-smoothing: grayscale;
219
- -webkit-font-smoothing: antialiased;
220
- font-family: inherit;
221
- /* @alternate */
222
- font-family: var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, inherit));
223
- font-size: 0.875rem;
224
- /* @alternate */
225
- font-size: var(--mdc-typography-headline6-font-size, 0.875rem);
226
- line-height: 0.875rem;
227
- /* @alternate */
228
- line-height: var(--mdc-typography-headline6-line-height, 0.875rem);
229
- font-weight: 500;
230
- /* @alternate */
231
- font-weight: var(--mdc-typography-headline6-font-weight, 500);
232
- letter-spacing: 0.0125em;
233
- /* @alternate */
234
- letter-spacing: var(--mdc-typography-headline6-letter-spacing, 0.0125em);
235
- text-decoration: inherit;
236
- /* @alternate */
237
- text-decoration: var(--mdc-typography-headline6-text-decoration, inherit);
238
- text-transform: inherit;
239
- /* @alternate */
240
- text-transform: var(--mdc-typography-headline6-text-transform, inherit);
241
- }
242
-
243
- .mdc-dialog__content {
244
- -moz-osx-font-smoothing: grayscale;
245
- -webkit-font-smoothing: antialiased;
246
- font-family: inherit;
247
- /* @alternate */
248
- font-family: var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, inherit));
249
- font-size: 0.8125rem;
250
- /* @alternate */
251
- font-size: var(--mdc-typography-body1-font-size, 0.8125rem);
252
- line-height: 1.5rem;
253
- /* @alternate */
254
- line-height: var(--mdc-typography-body1-line-height, 1.5rem);
255
- font-weight: 400;
256
- /* @alternate */
257
- font-weight: var(--mdc-typography-body1-font-weight, 400);
258
- letter-spacing: 0.03125em;
259
- /* @alternate */
260
- letter-spacing: var(--mdc-typography-body1-letter-spacing, 0.03125em);
261
- text-decoration: inherit;
262
- /* @alternate */
263
- text-decoration: var(--mdc-typography-body1-text-decoration, inherit);
264
- text-transform: inherit;
265
- /* @alternate */
266
- text-transform: var(--mdc-typography-body1-text-transform, inherit);
267
- }
268
-
269
- .mdc-dialog__title-icon {
270
- /** Hook for theming API. */
271
- }
272
-
273
- .mdc-elevation-overlay {
274
- position: absolute;
275
- border-radius: inherit;
276
- pointer-events: none;
277
- opacity: 0;
278
- /* @alternate */
279
- opacity: var(--mdc-elevation-overlay-opacity, 0);
280
- transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);
281
- background-color: #fff;
282
- /* @alternate */
283
- background-color: var(--mdc-elevation-overlay-color, #fff);
284
- }
285
-
286
- .mdc-dialog,
287
- .mdc-dialog__scrim {
288
- position: fixed;
289
- top: 0;
290
- left: 0;
291
- align-items: center;
292
- justify-content: center;
77
+ * {
293
78
  box-sizing: border-box;
294
- width: 100%;
295
- height: 100%;
296
- }
297
-
298
- .mdc-dialog {
299
- display: none;
300
- z-index: 7;
301
- /* @alternate */
302
- z-index: var(--mdc-dialog-z-index, 7);
303
- }
304
- .mdc-dialog .mdc-dialog__content {
305
- padding: 20px 24px 20px 24px;
306
- }
307
- .mdc-dialog .mdc-dialog__surface {
308
- min-width: 280px;
309
- }
310
- @media (max-width: 592px) {
311
- .mdc-dialog .mdc-dialog__surface {
312
- max-width: calc(100vw - 32px);
313
- }
314
- }
315
- @media (min-width: 592px) {
316
- .mdc-dialog .mdc-dialog__surface {
317
- max-width: 560px;
318
- }
319
- }
320
- .mdc-dialog .mdc-dialog__surface {
321
- max-height: calc(100% - 32px);
322
- }
323
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
324
- .mdc-dialog .mdc-dialog__container {
325
- /* stylelint-disable */
326
- /* stylelint-enable*/
327
- }
328
- }
329
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
330
- max-width: none;
331
- }
332
- @media (max-width: 960px) {
333
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
334
- max-height: 560px;
335
- width: 560px;
336
- }
337
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close {
338
- right: -12px;
339
- }
340
- }
341
- @media (max-width: 720px) and (max-width: 672px) {
342
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
343
- width: calc(100vw - 112px);
344
- }
345
- }
346
- @media (max-width: 720px) and (min-width: 672px) {
347
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
348
- width: 560px;
349
- }
350
- }
351
- @media (max-width: 720px) and (max-height: 720px) {
352
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
353
- max-height: calc(100vh - 160px);
354
- }
355
- }
356
- @media (max-width: 720px) and (min-height: 720px) {
357
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
358
- max-height: 560px;
359
- }
360
- }
361
- @media (max-width: 720px) {
362
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close {
363
- right: -12px;
364
- }
365
- }
366
- @media (max-width: 720px) and (max-height: 400px) {
367
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
368
- height: 100%;
369
- max-height: 100vh;
370
- max-width: 100vw;
371
- width: 100vw;
372
- border-radius: 0;
373
- }
374
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close {
375
- order: -1;
376
- left: -12px;
377
- }
378
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header {
379
- padding: 0 16px 9px;
380
- justify-content: flex-start;
381
- }
382
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title {
383
- margin-left: calc(16px - 2 * 12px);
384
- }
385
- }
386
- @media (max-width: 600px) {
387
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
388
- height: 100%;
389
- max-height: 100vh;
390
- max-width: 100vw;
391
- width: 100vw;
392
- border-radius: 0;
393
- }
394
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close {
395
- order: -1;
396
- left: -12px;
397
- }
398
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header {
399
- padding: 0 16px 9px;
400
- justify-content: flex-start;
401
- }
402
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title {
403
- margin-left: calc(16px - 2 * 12px);
404
- }
405
- }
406
- @media (min-width: 960px) {
407
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface {
408
- width: calc(100vw - 400px);
409
- }
410
- .mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close {
411
- right: -12px;
412
- }
413
- }
414
- .mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim {
415
- opacity: 0;
416
79
  }
417
80
 
418
- .mdc-dialog__scrim {
419
- opacity: 0;
420
- z-index: -1;
421
- }
422
-
423
- .mdc-dialog__container {
424
- display: flex;
425
- flex-direction: row;
426
- align-items: center;
427
- justify-content: space-around;
428
- box-sizing: border-box;
81
+ dialog {
82
+ border: none;
83
+ outline: none;
84
+ padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
85
+ border-radius: var(--limel-dialog-border-radius);
86
+ width: var(--dialog-width, fit-content);
87
+ height: var(--dialog-height, fit-content);
88
+ max-width: var(--dialog-max-width, calc(100vw - 1rem));
89
+ max-height: var(--dialog-max-height, calc(100% - 1rem));
90
+ background-color: transparent;
91
+ box-shadow: var(--shadow-depth-8), var(--shadow-depth-64);
92
+ }
93
+ dialog.fullscreen {
94
+ --dialog-width: 100%;
95
+ --dialog-height: 100%;
96
+ width: 100%;
429
97
  height: 100%;
430
- transform: scale(0.8);
431
- opacity: 0;
432
- pointer-events: none;
433
98
  }
434
99
 
435
- .mdc-dialog__surface {
436
- /* @alternate */
437
- position: relative;
100
+ .surface {
438
101
  display: flex;
439
102
  flex-direction: column;
440
- flex-grow: 0;
441
- flex-shrink: 0;
442
- box-sizing: border-box;
443
- max-width: 100%;
444
- max-height: 100%;
445
- pointer-events: auto;
446
- overflow-y: auto;
447
- }
448
- .mdc-dialog__surface .mdc-elevation-overlay {
449
- width: 100%;
450
103
  height: 100%;
451
- top: 0;
452
- /* @noflip */ /*rtl:ignore*/
453
- left: 0;
454
- }
455
- [dir=rtl] .mdc-dialog__surface, .mdc-dialog__surface[dir=rtl] {
456
- /*rtl:begin:ignore*/
457
- /* @noflip */ /*rtl:ignore*/
458
- text-align: right;
459
- /*rtl:end:ignore*/
460
- }
461
-
462
- @media screen and (forced-colors: active), (-ms-high-contrast: active) {
463
- .mdc-dialog__surface {
464
- outline: 2px solid windowText;
465
- }
466
- }
467
- .mdc-dialog__surface::before {
468
- position: absolute;
469
- box-sizing: border-box;
470
104
  width: 100%;
471
- height: 100%;
472
- top: 0;
473
- left: 0;
474
- border: 2px solid transparent;
475
- border-radius: inherit;
476
- content: "";
477
- pointer-events: none;
478
- }
479
- @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
480
- .mdc-dialog__surface::before {
481
- content: none;
482
- }
105
+ border-radius: var(--limel-dialog-border-radius);
106
+ background-color: var(--lime-elevated-surface-background-color);
483
107
  }
484
108
 
485
- .mdc-dialog__title {
486
- display: block;
487
- margin-top: 0;
488
- /* @alternate */
489
- position: relative;
490
- flex-shrink: 0;
491
- box-sizing: border-box;
492
- margin: 0 0 1px;
493
- padding: 0 24px 9px;
494
- }
495
- .mdc-dialog__title::before {
496
- display: inline-block;
497
- width: 0;
498
- height: 40px;
499
- content: "";
500
- vertical-align: 0;
501
- }
502
- [dir=rtl] .mdc-dialog__title, .mdc-dialog__title[dir=rtl] {
503
- /*rtl:begin:ignore*/
504
- /* @noflip */ /*rtl:ignore*/
505
- text-align: right;
506
- /*rtl:end:ignore*/
507
- }
508
-
509
- .mdc-dialog--scrollable .mdc-dialog__title {
510
- margin-bottom: 1px;
511
- padding-bottom: 15px;
512
- }
513
-
514
- .mdc-dialog--fullscreen .mdc-dialog__header {
515
- align-items: baseline;
516
- border-bottom: 1px solid transparent;
517
- display: inline-flex;
518
- justify-content: space-between;
519
- padding: 0 24px 9px;
520
- z-index: 1;
521
- }
522
- .mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close {
523
- right: -12px;
524
- }
525
- .mdc-dialog--fullscreen .mdc-dialog__title {
526
- margin-bottom: 0;
527
- padding: 0;
528
- border-bottom: 0;
529
- }
530
- .mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title {
531
- border-bottom: 0;
532
- margin-bottom: 0;
533
- }
534
- .mdc-dialog--fullscreen .mdc-dialog__close {
535
- top: 5px;
536
- }
537
- .mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions {
538
- border-top: 1px solid transparent;
539
- }
540
-
541
- .mdc-dialog__content {
109
+ .content {
542
110
  flex-grow: 1;
543
- box-sizing: border-box;
544
- margin: 0;
545
- overflow: auto;
546
- -webkit-overflow-scrolling: touch;
547
- }
548
- .mdc-dialog__content > :first-child {
549
- margin-top: 0;
550
- }
551
- .mdc-dialog__content > :last-child {
552
- margin-bottom: 0;
553
- }
554
-
555
- .mdc-dialog__title + .mdc-dialog__content,
556
- .mdc-dialog__header + .mdc-dialog__content {
557
- padding-top: 0;
558
- }
559
-
560
- .mdc-dialog--scrollable .mdc-dialog__title + .mdc-dialog__content {
561
- padding-top: 8px;
562
- padding-bottom: 8px;
563
- }
564
-
565
- .mdc-dialog__content .mdc-deprecated-list:first-child:last-child {
566
- padding: 6px 0 0;
567
- }
568
-
569
- .mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child {
570
- padding: 0;
571
- }
572
-
573
- .mdc-dialog__actions {
574
- display: flex;
575
- position: relative;
576
- flex-shrink: 0;
577
- flex-wrap: wrap;
578
- align-items: center;
579
- justify-content: flex-end;
580
- box-sizing: border-box;
581
- min-height: 52px;
582
- margin: 0;
583
- padding: 8px;
584
- border-top: 1px solid transparent;
585
- }
586
- .mdc-dialog--stacked .mdc-dialog__actions {
587
- flex-direction: column;
588
- align-items: flex-end;
589
- }
590
-
591
- .mdc-dialog__button {
592
- /* @noflip */ /*rtl:ignore*/
593
- margin-left: 8px;
594
- /* @noflip */ /*rtl:ignore*/
595
- margin-right: 0;
596
- max-width: 100%;
597
- /* @noflip */ /*rtl:ignore*/
598
- text-align: right;
599
- }
600
- [dir=rtl] .mdc-dialog__button, .mdc-dialog__button[dir=rtl] {
601
- /*rtl:begin:ignore*/
602
- /* @noflip */ /*rtl:ignore*/
603
- margin-left: 0;
604
- /* @noflip */ /*rtl:ignore*/
605
- margin-right: 8px;
606
- /*rtl:end:ignore*/
607
- }
608
-
609
- .mdc-dialog__button:first-child {
610
- /* @noflip */ /*rtl:ignore*/
611
- margin-left: 0;
612
- /* @noflip */ /*rtl:ignore*/
613
- margin-right: 0;
614
- }
615
- [dir=rtl] .mdc-dialog__button:first-child, .mdc-dialog__button:first-child[dir=rtl] {
616
- /*rtl:begin:ignore*/
617
- /* @noflip */ /*rtl:ignore*/
618
- margin-left: 0;
619
- /* @noflip */ /*rtl:ignore*/
620
- margin-right: 0;
621
- /*rtl:end:ignore*/
622
- }
623
-
624
- [dir=rtl] .mdc-dialog__button, .mdc-dialog__button[dir=rtl] {
625
- /*rtl:begin:ignore*/
626
- /* @noflip */ /*rtl:ignore*/
627
- text-align: left;
628
- /*rtl:end:ignore*/
629
- }
630
-
631
- .mdc-dialog--stacked .mdc-dialog__button:not(:first-child) {
632
- margin-top: 12px;
633
- }
634
-
635
- .mdc-dialog--open,
636
- .mdc-dialog--opening,
637
- .mdc-dialog--closing {
638
- display: flex;
639
- }
640
-
641
- .mdc-dialog--opening .mdc-dialog__scrim {
642
- transition: opacity 150ms linear;
643
- }
644
- .mdc-dialog--opening .mdc-dialog__container {
645
- transition: opacity 75ms linear, transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);
646
- }
647
-
648
- .mdc-dialog--closing .mdc-dialog__scrim,
649
- .mdc-dialog--closing .mdc-dialog__container {
650
- transition: opacity 75ms linear;
651
- }
652
- .mdc-dialog--closing .mdc-dialog__container {
653
- transform: none;
654
- }
655
-
656
- .mdc-dialog--open .mdc-dialog__scrim {
657
- opacity: 1;
658
- }
659
- .mdc-dialog--open .mdc-dialog__container {
660
- transform: none;
661
- opacity: 1;
662
- }
663
- .mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim {
664
- opacity: 1;
665
- z-index: 1;
666
- }
667
- .mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim {
668
- transition: opacity 75ms linear;
669
- }
670
- .mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim {
671
- transition: opacity 150ms linear;
672
- }
673
-
674
- .mdc-dialog__surface-scrim {
675
- display: none;
676
- opacity: 0;
677
- position: absolute;
678
- width: 100%;
679
- height: 100%;
680
- }
681
- .mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim, .mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim, .mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim {
682
- display: block;
683
- }
684
-
685
- .mdc-dialog-scroll-lock {
686
- overflow: hidden;
687
- }
688
-
689
- .mdc-dialog__content {
690
- font-family: inherit;
691
- }
692
-
693
- .mdc-dialog {
694
- z-index: var(--dialog-z-index, 7);
695
- padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
696
- }
697
- @media (max-width: 16032px) {
698
- .mdc-dialog .mdc-dialog__surface {
699
- max-width: calc(100vw - 32px);
700
- }
701
- }
702
- @media (min-width: 16032px) {
703
- .mdc-dialog .mdc-dialog__surface {
704
- max-width: 16000px;
705
- }
706
- }
707
- @media (max-height: 16032px) {
708
- .mdc-dialog.full-screen .mdc-dialog__surface {
709
- max-height: calc(100% - 32px);
710
- }
711
- }
712
- @media (min-height: 16032px) {
713
- .mdc-dialog.full-screen .mdc-dialog__surface {
714
- max-height: 16000px;
715
- }
716
- }
717
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
718
- .mdc-dialog.full-screen .mdc-dialog__container {
719
- /* stylelint-disable */
720
- /* stylelint-enable*/
721
- }
722
- }
723
- @media (-ms-high-contrast: none) and (min-height: 16032px), (-ms-high-contrast: active) and (min-height: 16032px) {
724
- .mdc-dialog.full-screen .mdc-dialog__container {
725
- align-items: stretch;
726
- height: auto;
727
- }
728
- }
729
- .mdc-dialog.full-screen .mdc-dialog__container {
730
- height: 100%;
731
- width: 100%;
732
- }
733
- .mdc-dialog.full-screen .mdc-dialog__container .mdc-dialog__surface {
734
- height: 100%;
735
- width: 100%;
736
- }
737
- .mdc-dialog .mdc-dialog__scrim {
738
- background-color: rgba(var(--color-black), 0.4);
739
- }
740
- .mdc-dialog .mdc-dialog__container {
741
- height: 100%;
742
- width: var(--dialog-width, auto);
743
- }
744
- .mdc-dialog .mdc-dialog__surface {
745
- width: var(--dialog-width, auto);
746
- height: var(--dialog-height, auto);
747
- background-color: var(--dialog-background-color);
748
- box-shadow: var(--shadow-depth-64);
749
- max-width: var(--dialog-max-width, calc(100vw - 2rem));
750
- max-height: var(--dialog-max-height, calc(100% - 2rem));
751
- border-radius: var(--dialog-border-radius, 0.25rem);
752
- }
753
- .mdc-dialog .mdc-dialog__content {
111
+ overflow-y: auto;
754
112
  --limel-top-edge-fade-height: var(--dialog-padding-top-bottom, 1.5rem);
755
- --limel-bottom-edge-fade-height: var(
756
- --dialog-padding-top-bottom,
757
- 1.5rem
758
- );
113
+ --limel-bottom-edge-fade-height: var(--dialog-padding-top-bottom, 1.5rem);
759
114
  --limel-overflow-mask-vertical: linear-gradient(
760
115
  to bottom,
761
116
  transparent 0%,
@@ -772,11 +127,19 @@
772
127
  padding-right: var(--dialog-padding-left-right, min(1.25rem, 3vw));
773
128
  }
774
129
 
775
- #initialFocusElement {
776
- position: absolute;
777
- opacity: 0;
778
- pointer-events: none;
779
- z-index: -1;
130
+ limel-header,
131
+ .actions {
132
+ flex-shrink: 0;
133
+ }
134
+
135
+ .actions {
136
+ display: flex;
137
+ align-items: center;
138
+ justify-content: flex-end;
139
+ min-height: 52px;
140
+ margin: 0px;
141
+ padding: 8px;
142
+ border-top: 1px solid transparent;
780
143
  }
781
144
 
782
145
  slot[name=header] {
@@ -798,4 +161,41 @@ slot[name=button] {
798
161
  padding: min(1.5rem, 3vw);
799
162
  padding-top: 1rem;
800
163
  }
164
+ }
165
+ dialog {
166
+ --limel-dialog-display-speed: 0.2s;
167
+ transition: opacity 0.2s ease, display var(--limel-dialog-display-speed) ease, transform var(--limel-dialog-display-speed) ease;
168
+ transition-behavior: allow-discrete;
169
+ opacity: 0;
170
+ transform: translate3d(0, 1rem, 0);
171
+ }
172
+ dialog::backdrop {
173
+ transition: background-color 0.6s ease;
174
+ transition-behavior: allow-discrete;
175
+ background-color: rgb(var(--color-black), 0);
176
+ }
177
+ dialog[open] {
178
+ --limel-dialog-display-speed: 0.4s;
179
+ opacity: 1;
180
+ transform: translate3d(0, 0, 0) scale(1);
181
+ }
182
+ @starting-style {
183
+ dialog[open] {
184
+ opacity: 0;
185
+ transform: translate3d(0, -1rem, 0) scale(0.9);
186
+ }
187
+ }
188
+ dialog[open]::backdrop {
189
+ transition-delay: var(--limel-dialog-display-speed);
190
+ background-color: rgb(var(--color-black), 0.4);
191
+ }
192
+ @starting-style {
193
+ dialog[open]::backdrop {
194
+ background-color: rgb(var(--color-black), 0);
195
+ }
196
+ }
197
+
198
+ dialog {
199
+ position: fixed;
200
+ inset: 0;
801
201
  }