@clayui/css 3.39.0 → 3.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/lib/css/atlas.css +1127 -1387
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +908 -1138
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +1021 -1148
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/filter.svg +1 -1
  9. package/lib/images/icons/icons.svg +1 -1
  10. package/package.json +2 -2
  11. package/src/images/icons/filter.svg +1 -1
  12. package/src/scss/_mixins.scss +2 -0
  13. package/src/scss/atlas/variables/_alerts.scss +10 -0
  14. package/src/scss/atlas/variables/_application-bar.scss +32 -12
  15. package/src/scss/atlas/variables/_breadcrumbs.scss +4 -2
  16. package/src/scss/atlas/variables/_cards.scss +2 -2
  17. package/src/scss/atlas/variables/_dropdowns.scss +179 -12
  18. package/src/scss/atlas/variables/_forms.scss +33 -1
  19. package/src/scss/atlas/variables/_globals.scss +13 -0
  20. package/src/scss/atlas/variables/_labels.scss +88 -56
  21. package/src/scss/atlas/variables/_management-bar.scss +53 -21
  22. package/src/scss/atlas/variables/_navigation-bar.scss +104 -18
  23. package/src/scss/atlas/variables/_navs.scss +20 -8
  24. package/src/scss/atlas/variables/_pagination.scss +4 -2
  25. package/src/scss/atlas/variables/_sheets.scss +4 -2
  26. package/src/scss/atlas/variables/_sidebar.scss +1 -1
  27. package/src/scss/atlas/variables/_tables.scss +58 -28
  28. package/src/scss/cadmin/components/_alerts.scss +1 -17
  29. package/src/scss/cadmin/components/_cards.scss +12 -14
  30. package/src/scss/cadmin/components/_dropdowns.scss +66 -196
  31. package/src/scss/cadmin/components/_form-validation.scss +10 -237
  32. package/src/scss/cadmin/components/_icons.scss +1 -6
  33. package/src/scss/cadmin/components/_input-groups.scss +17 -14
  34. package/src/scss/cadmin/components/_pagination.scss +20 -236
  35. package/src/scss/cadmin/components/_popovers.scss +31 -252
  36. package/src/scss/cadmin/components/_reboot.scss +1 -8
  37. package/src/scss/cadmin/components/_toggle-switch.scss +20 -358
  38. package/src/scss/cadmin/components/_tooltip.scss +29 -167
  39. package/src/scss/cadmin/components/_type.scss +9 -1
  40. package/src/scss/cadmin/variables/_alerts.scss +35 -11
  41. package/src/scss/cadmin/variables/_breadcrumbs.scss +10 -6
  42. package/src/scss/cadmin/variables/_cards.scss +91 -23
  43. package/src/scss/cadmin/variables/_dropdowns.scss +440 -71
  44. package/src/scss/cadmin/variables/_forms.scss +353 -2
  45. package/src/scss/cadmin/variables/_globals.scss +14 -0
  46. package/src/scss/cadmin/variables/_icons.scss +15 -2
  47. package/src/scss/cadmin/variables/_labels.scss +104 -72
  48. package/src/scss/cadmin/variables/_links.scss +9 -7
  49. package/src/scss/cadmin/variables/_management-bar.scss +70 -30
  50. package/src/scss/cadmin/variables/_navigation-bar.scss +118 -22
  51. package/src/scss/cadmin/variables/_pagination.scss +274 -68
  52. package/src/scss/cadmin/variables/_popovers.scss +410 -0
  53. package/src/scss/cadmin/variables/_sidebar.scss +17 -5
  54. package/src/scss/cadmin/variables/_toggle-switch.scss +404 -1
  55. package/src/scss/cadmin/variables/_tooltip.scss +299 -0
  56. package/src/scss/cadmin/variables/_type.scss +3 -0
  57. package/src/scss/components/_alerts.scss +5 -17
  58. package/src/scss/components/_button-groups.scss +6 -6
  59. package/src/scss/components/_cards.scss +5 -5
  60. package/src/scss/components/_dropdowns.scss +52 -200
  61. package/src/scss/components/_form-validation.scss +8 -237
  62. package/src/scss/components/_forms.scss +61 -4
  63. package/src/scss/components/_icons.scss +4 -9
  64. package/src/scss/components/_input-groups.scss +17 -14
  65. package/src/scss/components/_multi-step-nav.scss +12 -8
  66. package/src/scss/components/_pagination.scss +18 -234
  67. package/src/scss/components/_popovers.scss +30 -237
  68. package/src/scss/components/_reboot.scss +3 -39
  69. package/src/scss/components/_toggle-switch.scss +36 -351
  70. package/src/scss/components/_tooltip.scss +29 -164
  71. package/src/scss/components/_type.scss +9 -1
  72. package/src/scss/functions/_global-functions.scss +18 -0
  73. package/src/scss/functions/_lx-icons-generated.scss +1 -1
  74. package/src/scss/mixins/_alerts.scss +25 -0
  75. package/src/scss/mixins/_buttons.scss +827 -384
  76. package/src/scss/mixins/_cards.scss +610 -114
  77. package/src/scss/mixins/_close.scss +0 -1
  78. package/src/scss/mixins/_custom-forms.scss +46 -34
  79. package/src/scss/mixins/_dropdown-menu.scss +139 -53
  80. package/src/scss/mixins/_forms.scss +686 -252
  81. package/src/scss/mixins/_globals.scss +244 -234
  82. package/src/scss/mixins/_labels.scss +1 -1
  83. package/src/scss/mixins/_links.scss +795 -329
  84. package/src/scss/mixins/_navbar.scss +759 -140
  85. package/src/scss/mixins/_pagination.scss +422 -0
  86. package/src/scss/mixins/_popovers.scss +90 -0
  87. package/src/scss/mixins/_toggle-switch.scss +1140 -14
  88. package/src/scss/mixins/_tooltip.scss +70 -0
  89. package/src/scss/variables/_alerts.scss +34 -10
  90. package/src/scss/variables/_application-bar.scss +18 -6
  91. package/src/scss/variables/_breadcrumbs.scss +8 -4
  92. package/src/scss/variables/_cards.scss +40 -2
  93. package/src/scss/variables/_dropdowns.scss +570 -62
  94. package/src/scss/variables/_forms.scss +303 -1
  95. package/src/scss/variables/_globals.scss +53 -0
  96. package/src/scss/variables/_icons.scss +60 -9
  97. package/src/scss/variables/_labels.scss +120 -88
  98. package/src/scss/variables/_links.scss +15 -13
  99. package/src/scss/variables/_management-bar.scss +45 -12
  100. package/src/scss/variables/_navigation-bar.scss +95 -14
  101. package/src/scss/variables/_navs.scss +33 -13
  102. package/src/scss/variables/_pagination.scss +267 -65
  103. package/src/scss/variables/_popovers.scss +392 -0
  104. package/src/scss/variables/_sheets.scss +4 -2
  105. package/src/scss/variables/_sidebar.scss +17 -5
  106. package/src/scss/variables/_tables.scss +24 -8
  107. package/src/scss/variables/_toggle-switch.scss +404 -5
  108. package/src/scss/variables/_tooltip.scss +299 -0
  109. package/src/scss/variables/_type.scss +3 -0
@@ -1,93 +1,163 @@
1
+ // .dropdown-toggle
2
+
3
+ $dropdown-toggle: () !default;
4
+ $dropdown-toggle: map-deep-merge(
5
+ (
6
+ white-space: nowrap,
7
+ ),
8
+ $dropdown-toggle
9
+ );
10
+
11
+ // .dropdown-menu
12
+
13
+ /// @deprecated as of v3.x use map $dropdown-menu instead
14
+
1
15
  $dropdown-bg: $white !default;
16
+
17
+ /// @deprecated as of v3.x use map $dropdown-menu instead
18
+
2
19
  $dropdown-border-color: rgba($black, 0.15) !default;
20
+
21
+ /// @deprecated as of v3.x use map $dropdown-menu instead
22
+
3
23
  $dropdown-border-style: solid !default;
24
+
25
+ /// @deprecated as of v3.x use map $dropdown-menu instead
26
+
4
27
  $dropdown-border-width: $border-width !default;
5
28
 
29
+ /// @deprecated as of v3.x use map $dropdown-menu instead
30
+
6
31
  $dropdown-border-radius: $border-radius !default;
32
+
33
+ /// @deprecated as of v3.x with no replacement
34
+
7
35
  $dropdown-inner-border-radius: $dropdown-border-radius
8
36
  math-sign($dropdown-border-width) !default;
9
37
 
38
+ /// @deprecated as of v3.x use map $dropdown-menu instead
39
+
10
40
  $dropdown-box-shadow: 0 0.5rem 1rem rgba($black, 0.175) !default;
41
+
42
+ /// @deprecated as of v3.x use map $dropdown-menu instead
43
+
11
44
  $dropdown-color: $body-color !default;
45
+
46
+ /// @deprecated as of v3.x use map $dropdown-menu instead
47
+
12
48
  $dropdown-font-size: $font-size-base !default;
49
+
50
+ /// @deprecated as of v3.x use map $dropdown-menu instead
51
+
13
52
  $dropdown-max-height: 500px !default;
53
+
54
+ /// @deprecated as of v3.x use map $dropdown-menu instead
55
+
14
56
  $dropdown-max-width: 260px !default;
57
+
58
+ /// @deprecated as of v3.x use map $dropdown-menu instead
59
+
15
60
  $dropdown-min-height: null !default;
61
+
62
+ /// @deprecated as of v3.x use map $dropdown-menu instead
63
+
16
64
  $dropdown-min-width: 10rem !default;
17
- $dropdown-padding-y: 0.5rem !default;
65
+
66
+ /// @deprecated as of v3.x use map $dropdown-menu instead
18
67
 
19
68
  $dropdown-font-size-mobile: null !default;
69
+
70
+ /// @deprecated as of v3.x use map $dropdown-menu instead
71
+
20
72
  $dropdown-max-height-mobile: 295px !default;
21
- $dropdown-max-width-mobile: 230px !default;
22
73
 
23
- $dropdown-spacer: 0.125rem !default;
74
+ /// @deprecated as of v3.x use map $dropdown-menu instead
24
75
 
25
- $dropdown-divider-bg: $gray-200 !default;
26
- $dropdown-divider-margin-y: $spacer * 0.5 !default;
76
+ $dropdown-max-width-mobile: 230px !default;
27
77
 
28
- $dropdown-full-wide-header-spacer-y: 20px !default;
78
+ $dropdown-padding-y: 0.5rem !default;
79
+ $dropdown-spacer: 0.125rem !default;
29
80
 
30
- $dropdown-wide-width: 500px !default;
81
+ $dropdown-menu: () !default;
82
+ $dropdown-menu: map-deep-merge(
83
+ (
84
+ breakpoint-down: md,
85
+ background-clip: padding-box,
86
+ background-color: $dropdown-bg,
87
+ border-color: $dropdown-border-color,
88
+ border-radius: clay-enable-rounded($dropdown-border-radius),
89
+ border-style: $dropdown-border-style,
90
+ border-width: $dropdown-border-width,
91
+ box-shadow: clay-enable-shadows($dropdown-box-shadow),
92
+ color: $dropdown-color,
93
+ display: none,
94
+ float: left,
95
+ font-size: $dropdown-font-size,
96
+ left: 0,
97
+ list-style: none,
98
+ margin: $dropdown-spacer 0 0,
99
+ max-height: $dropdown-max-height,
100
+ max-width: $dropdown-max-width,
101
+ min-height: $dropdown-min-height,
102
+ min-width: $dropdown-min-width,
103
+ overflow: auto,
104
+ padding: $dropdown-padding-y 0,
105
+ position: absolute,
106
+ text-align: left,
107
+ top: 100%,
108
+ z-index: $zindex-dropdown,
109
+ mobile: (
110
+ font-size: $dropdown-font-size-mobile,
111
+ max-height: $dropdown-max-height-mobile,
112
+ max-width: $dropdown-max-width-mobile,
113
+ ),
114
+ show: (
115
+ display: block,
116
+ ),
117
+ ),
118
+ $dropdown-menu
119
+ );
31
120
 
32
- // Dropdown Item
121
+ // .dropdown-item
33
122
 
34
123
  $dropdown-item-padding-x: 1.5rem !default;
35
124
  $dropdown-item-padding-y: 0.25rem !default;
36
125
 
37
- $dropdown-item-disabled-cursor: $disabled-cursor !default;
126
+ /// @deprecated as of v3.x use map $dropdown-item instead
38
127
 
39
- $dropdown-item-indicator-size: 1rem !default;
40
- $dropdown-item-indicator-spacer-x: 1rem !default;
128
+ $dropdown-item-disabled-cursor: $disabled-cursor !default;
41
129
 
42
- // Dropdown Link
130
+ /// @deprecated as of v3.x use map $dropdown-item instead
43
131
 
44
132
  $dropdown-link-color: $gray-900 !default;
45
- $dropdown-link-font-weight: null !default;
46
133
 
47
- $dropdown-link-hover-bg: $gray-100 !default;
48
- $dropdown-link-hover-color: clay-darken($gray-900, 5%) !default;
134
+ /// @deprecated as of v3.x use map $dropdown-item instead
49
135
 
50
- $dropdown-link-active-bg: $component-active-bg !default;
51
- $dropdown-link-active-color: $component-active-color !default;
52
- $dropdown-link-active-font-weight: null !default;
136
+ $dropdown-link-font-weight: null !default;
53
137
 
54
- $dropdown-link-disabled-color: $gray-600 !default;
138
+ /// @deprecated as of v3.x use map $dropdown-item instead
55
139
 
56
- // Dropdown Header
140
+ $dropdown-link-hover-bg: $gray-100 !default;
57
141
 
58
- $dropdown-header-color: $gray-600 !default;
59
- $dropdown-header-font-size: null !default;
60
- $dropdown-header-margin-bottom: null !default;
61
- $dropdown-header-margin-top: null !default;
62
- $dropdown-header-padding-x: $dropdown-item-padding-x !default;
63
- $dropdown-header-padding-y: $dropdown-padding-y !default;
64
- $dropdown-header-text-transform: null !default;
142
+ /// @deprecated as of v3.x use map $dropdown-item instead
65
143
 
66
- $dropdown-header-font-size-mobile: null !default;
144
+ $dropdown-link-hover-color: clay-darken($gray-900, 5%) !default;
67
145
 
68
- // Dropdown Subheader
146
+ /// @deprecated as of v3.x use map $dropdown-item instead
69
147
 
70
- $dropdown-subheader-color: $dropdown-header-color !default;
71
- $dropdown-subheader-font-size: 0.75rem !default; // 12px
72
- $dropdown-subheader-font-weight: $font-weight-semi-bold !default;
73
- $dropdown-subheader-margin-bottom: null !default;
74
- $dropdown-subheader-margin-top: null !default;
75
- $dropdown-subheader-padding-x: $dropdown-header-padding-x !default;
76
- $dropdown-subheader-padding-y: $dropdown-header-padding-y !default;
77
- $dropdown-subheader-text-transform: uppercase !default;
148
+ $dropdown-link-active-bg: $component-active-bg !default;
78
149
 
79
- $dropdown-caption-color: $dropdown-header-color !default;
80
- $dropdown-caption-font-size: 0.875rem !default; // 14px
81
- $dropdown-caption-font-weight: null !default;
150
+ /// @deprecated as of v3.x use map $dropdown-item instead
82
151
 
83
- // Dropdown Inline Scroller
152
+ $dropdown-link-active-color: $component-active-color !default;
84
153
 
85
- $dropdown-inline-scroller-max-height: 200px !default;
86
- $dropdown-inline-scroller-max-height-mobile: none !default;
154
+ /// @deprecated as of v3.x use map $dropdown-item instead
155
+
156
+ $dropdown-link-active-font-weight: null !default;
87
157
 
88
- // Dropdown Item
158
+ /// @deprecated as of v3.x use map $dropdown-item instead
89
159
 
90
- $dropdown-item-disabled-cursor: $disabled-cursor !default;
160
+ $dropdown-link-disabled-color: $gray-600 !default;
91
161
 
92
162
  // .dropdown-item `background-color`, `border-width`, `text-align` for `<button>`s
93
163
 
@@ -152,6 +222,247 @@ $dropdown-item-base: map-deep-merge(
152
222
  $dropdown-item-base
153
223
  );
154
224
 
225
+ // .dropdown-item-text
226
+
227
+ $dropdown-item-text: () !default;
228
+ $dropdown-item-text: map-merge(
229
+ (
230
+ color: map-get($dropdown-item-base, color),
231
+ display: map-get($dropdown-item-base, display),
232
+ font-weight: map-get($dropdown-item-base, font-weight),
233
+ padding: map-get($dropdown-item-base, padding),
234
+ padding-bottom: map-get($dropdown-item-base, padding-bottom),
235
+ padding-left: map-get($dropdown-item-base, padding-left),
236
+ padding-right: map-get($dropdown-item-base, padding-right),
237
+ padding-top: map-get($dropdown-item-base, padding-top),
238
+ ),
239
+ $dropdown-item-text
240
+ );
241
+
242
+ // .dropdown-header
243
+
244
+ /// @deprecated as of v3.x use map $dropdown-header instead
245
+
246
+ $dropdown-header-color: $gray-600 !default;
247
+
248
+ /// @deprecated as of v3.x use map $dropdown-header instead
249
+
250
+ $dropdown-header-font-size: null !default;
251
+
252
+ /// @deprecated as of v3.x use map $dropdown-header instead
253
+
254
+ $dropdown-header-margin-bottom: null !default;
255
+
256
+ /// @deprecated as of v3.x use map $dropdown-header instead
257
+
258
+ $dropdown-header-margin-top: null !default;
259
+
260
+ /// @deprecated as of v3.x use map $dropdown-header instead
261
+
262
+ $dropdown-header-padding-x: $dropdown-item-padding-x !default;
263
+
264
+ /// @deprecated as of v3.x use map $dropdown-header instead
265
+
266
+ $dropdown-header-padding-y: $dropdown-padding-y !default;
267
+
268
+ /// @deprecated as of v3.x use map $dropdown-header instead
269
+
270
+ $dropdown-header-text-transform: null !default;
271
+
272
+ /// @deprecated as of v3.x use map $dropdown-header instead
273
+
274
+ $dropdown-header-font-size-mobile: null !default;
275
+
276
+ $dropdown-header: () !default;
277
+ $dropdown-header: map-deep-merge(
278
+ (
279
+ breakpoint-down: sm,
280
+ color: $dropdown-header-color,
281
+ display: block,
282
+ font-size: $dropdown-header-font-size,
283
+ margin-bottom: $dropdown-header-margin-bottom,
284
+ margin-top: $dropdown-header-margin-top,
285
+ padding-bottom: $dropdown-header-padding-y,
286
+ padding-left: $dropdown-header-padding-x,
287
+ padding-right: $dropdown-header-padding-x,
288
+ padding-top: $dropdown-header-padding-y,
289
+ position: relative,
290
+ text-transform: $dropdown-header-text-transform,
291
+ word-wrap: break-word,
292
+ mobile: (
293
+ font-size: $dropdown-header-font-size-mobile,
294
+ ),
295
+ first-child: (
296
+ margin-top: 0,
297
+ ),
298
+ ),
299
+ $dropdown-header
300
+ );
301
+
302
+ // .dropdown-subheader
303
+
304
+ /// @deprecated as of v3.x use map $dropdown-subheader instead
305
+
306
+ $dropdown-subheader-color: $dropdown-header-color !default;
307
+
308
+ /// @deprecated as of v3.x use map $dropdown-subheader instead
309
+
310
+ $dropdown-subheader-font-size: 0.75rem !default; // 12px
311
+
312
+ /// @deprecated as of v3.x use map $dropdown-subheader instead
313
+
314
+ $dropdown-subheader-font-weight: $font-weight-semi-bold !default;
315
+
316
+ /// @deprecated as of v3.x use map $dropdown-subheader instead
317
+
318
+ $dropdown-subheader-margin-bottom: null !default;
319
+
320
+ /// @deprecated as of v3.x use map $dropdown-subheader instead
321
+
322
+ $dropdown-subheader-margin-top: null !default;
323
+
324
+ /// @deprecated as of v3.x use map $dropdown-subheader instead
325
+
326
+ $dropdown-subheader-padding-x: $dropdown-header-padding-x !default;
327
+
328
+ /// @deprecated as of v3.x use map $dropdown-subheader instead
329
+
330
+ $dropdown-subheader-padding-y: $dropdown-header-padding-y !default;
331
+
332
+ /// @deprecated as of v3.x use map $dropdown-subheader instead
333
+
334
+ $dropdown-subheader-text-transform: uppercase !default;
335
+
336
+ $dropdown-subheader: () !default;
337
+ $dropdown-subheader: map-deep-merge(
338
+ (
339
+ color: $dropdown-subheader-color,
340
+ font-size: $dropdown-subheader-font-size,
341
+ font-weight: $dropdown-subheader-font-weight,
342
+ margin-bottom: $dropdown-subheader-margin-bottom,
343
+ margin-top: $dropdown-subheader-margin-top,
344
+ padding-bottom: $dropdown-subheader-padding-y,
345
+ padding-left: $dropdown-subheader-padding-x,
346
+ padding-right: $dropdown-subheader-padding-x,
347
+ padding-top: $dropdown-subheader-padding-y,
348
+ text-transform: $dropdown-subheader-text-transform,
349
+ white-space: normal,
350
+ word-wrap: break-word,
351
+ first-child: (
352
+ margin-top: 0,
353
+ ),
354
+ ),
355
+ $dropdown-subheader
356
+ );
357
+
358
+ // .dropdown-caption
359
+
360
+ /// @deprecated as of v3.x use map $dropdown-caption instead
361
+
362
+ $dropdown-caption-color: $dropdown-header-color !default;
363
+
364
+ /// @deprecated as of v3.x use map $dropdown-caption instead
365
+
366
+ $dropdown-caption-font-size: 0.875rem !default; // 14px
367
+
368
+ /// @deprecated as of v3.x use map $dropdown-caption instead
369
+
370
+ $dropdown-caption-font-weight: null !default;
371
+
372
+ $dropdown-caption: () !default;
373
+ $dropdown-caption: map-merge(
374
+ (
375
+ color: $dropdown-caption-color,
376
+ font-size: $dropdown-caption-font-size,
377
+ font-weight: $dropdown-caption-font-weight,
378
+ padding: $dropdown-item-padding-y $dropdown-item-padding-x,
379
+ white-space: normal,
380
+ word-wrap: break-word,
381
+ ),
382
+ $dropdown-caption
383
+ );
384
+
385
+ // .dropdown-divider
386
+
387
+ /// @deprecated as of v3.x use map $dropdown-divider instead
388
+
389
+ $dropdown-divider-bg: $gray-200 !default;
390
+
391
+ /// @deprecated as of v3.x use map $dropdown-divider instead
392
+
393
+ $dropdown-divider-margin-y: $spacer * 0.5 !default;
394
+
395
+ $dropdown-divider: () !default;
396
+ $dropdown-divider: map-merge(
397
+ (
398
+ border-top: 1px solid $dropdown-divider-bg,
399
+ height: 0,
400
+ margin: $dropdown-divider-margin-y 0,
401
+ overflow: hidden,
402
+ ),
403
+ $dropdown-divider
404
+ );
405
+
406
+ // .dropdown-section
407
+
408
+ /// @deprecated as of v3.x use map $dropdown-section instead
409
+
410
+ $dropdown-section-custom-control: () !default;
411
+ $dropdown-section-custom-control: map-deep-merge(
412
+ (
413
+ margin-bottom: 0,
414
+ ),
415
+ $dropdown-section-custom-control
416
+ );
417
+
418
+ /// @deprecated as of v3.x use map $dropdown-section instead
419
+
420
+ $dropdown-section-custom-control-label: () !default;
421
+
422
+ /// @deprecated as of v3.x use map $dropdown-section instead
423
+
424
+ $dropdown-section-custom-control-label-text: () !default;
425
+
426
+ /// @deprecated as of v3.x use map $dropdown-section instead
427
+
428
+ $dropdown-section-active-custom-control-label: () !default;
429
+
430
+ $dropdown-section: () !default;
431
+ $dropdown-section: map-deep-merge(
432
+ (
433
+ padding: $dropdown-item-padding-y $dropdown-item-padding-x,
434
+ form-group: (
435
+ form-group: (
436
+ margin-top: $dropdown-item-padding-y * 2,
437
+ ),
438
+ ),
439
+ custom-control: $dropdown-section-custom-control,
440
+ custom-control-label: $dropdown-section-custom-control-label,
441
+ custom-control-label-text: $dropdown-section-custom-control-label-text,
442
+ active: (
443
+ custom-control-label: $dropdown-section-active-custom-control-label,
444
+ ),
445
+ ),
446
+ $dropdown-section
447
+ );
448
+
449
+ // .dropdown-footer
450
+
451
+ $dropdown-footer: () !default;
452
+ $dropdown-footer: map-merge(
453
+ (
454
+ box-shadow: -1px -2px 3px -3px rgba(0, 0, 0, 0.5),
455
+ padding: 0.5rem $dropdown-item-padding-x 0,
456
+ position: relative,
457
+ ),
458
+ $dropdown-footer
459
+ );
460
+
461
+ // Dropdown Inline Scroller
462
+
463
+ $dropdown-inline-scroller-max-height: 200px !default;
464
+ $dropdown-inline-scroller-max-height-mobile: none !default;
465
+
155
466
  // Dropdown Item Indicator
156
467
 
157
468
  $dropdown-item-indicator-size: 1rem !default;
@@ -249,34 +560,182 @@ $dropdown-item-indicator-text-end: map-deep-merge(
249
560
  $dropdown-item-indicator-text-end
250
561
  );
251
562
 
252
- // Dropdown Section
563
+ // .dropdown-menu-top
253
564
 
254
- $dropdown-section-custom-control: () !default;
255
- $dropdown-section-custom-control: map-deep-merge(
565
+ $dropdown-menu-top: () !default;
566
+ $dropdown-menu-top: map-deep-merge(
256
567
  (
257
- margin-bottom: 0,
568
+ bottom: 100% !important,
569
+ left: 0 !important,
570
+ margin-top: 0,
571
+ margin-bottom: $dropdown-spacer,
572
+ right: auto !important,
573
+ top: auto !important,
574
+ transform: none !important,
575
+ will-change: auto !important,
258
576
  ),
259
- $dropdown-section-custom-control
577
+ $dropdown-menu-top
260
578
  );
261
579
 
262
- $dropdown-section-custom-control-label: () !default;
580
+ // .dropdown-menu-top-right
263
581
 
264
- $dropdown-section-custom-control-label-text: () !default;
582
+ $dropdown-menu-top-right: () !default;
583
+ $dropdown-menu-top-right: map-deep-merge(
584
+ (
585
+ bottom: 100% !important,
586
+ left: auto !important,
587
+ margin-top: 0,
588
+ margin-bottom: $dropdown-spacer,
589
+ right: 0 !important,
590
+ top: auto !important,
591
+ transform: none !important,
592
+ will-change: auto !important,
593
+ ),
594
+ $dropdown-menu-top-right
595
+ );
265
596
 
266
- $dropdown-section-active-custom-control-label: () !default;
597
+ // .dropdown-menu-top-center
267
598
 
268
- // Dropdown Footer
599
+ $dropdown-menu-top-center: () !default;
600
+ $dropdown-menu-top-center: map-deep-merge(
601
+ (
602
+ bottom: 100% !important,
603
+ left: 50% !important,
604
+ margin-top: 0,
605
+ margin-bottom: $dropdown-spacer,
606
+ right: auto !important,
607
+ top: auto !important,
608
+ transform: translateX(-50%) !important,
609
+ will-change: auto !important,
610
+ ),
611
+ $dropdown-menu-top-center
612
+ );
269
613
 
270
- $dropdown-footer: () !default;
271
- $dropdown-footer: map-merge(
614
+ // .dropdown-menu-center
615
+
616
+ $dropdown-menu-center: () !default;
617
+ $dropdown-menu-center: map-deep-merge(
272
618
  (
273
- box-shadow: -1px -2px 3px -3px rgba(0, 0, 0, 0.5),
274
- padding: 0.5rem $dropdown-item-padding-x 0,
275
- position: relative,
619
+ bottom: auto !important,
620
+ left: 50% !important,
621
+ right: auto !important,
622
+ top: 100% !important,
623
+ transform: translateX(-50%) !important,
624
+ will-change: auto !important,
276
625
  ),
277
- $dropdown-footer
626
+ $dropdown-menu-center
627
+ );
628
+
629
+ // .dropdown-menu-left-side
630
+
631
+ $dropdown-menu-left-side: () !default;
632
+ $dropdown-menu-left-side: map-deep-merge(
633
+ (
634
+ bottom: auto !important,
635
+ left: auto !important,
636
+ margin-right: $dropdown-spacer,
637
+ margin-top: 0,
638
+ right: 100% !important,
639
+ top: 0 !important,
640
+ transform: none !important,
641
+ will-change: auto !important,
642
+ ),
643
+ $dropdown-menu-left-side
644
+ );
645
+
646
+ // .dropdown-menu-left-side-bottom
647
+
648
+ $dropdown-menu-left-side-bottom: () !default;
649
+ $dropdown-menu-left-side-bottom: map-deep-merge(
650
+ (
651
+ bottom: 0 !important,
652
+ left: auto !important,
653
+ margin-right: $dropdown-spacer,
654
+ margin-top: 0,
655
+ right: 100% !important,
656
+ top: auto !important,
657
+ transform: none !important,
658
+ will-change: auto !important,
659
+ ),
660
+ $dropdown-menu-left-side-bottom
661
+ );
662
+
663
+ // .dropdown-menu-left-side-middle
664
+
665
+ $dropdown-menu-left-side-middle: () !default;
666
+ $dropdown-menu-left-side-middle: map-deep-merge(
667
+ (
668
+ bottom: auto !important,
669
+ left: auto !important,
670
+ margin-right: $dropdown-spacer,
671
+ margin-top: 0,
672
+ right: 100% !important,
673
+ top: 50% !important,
674
+ transform: translate(0, -50%) !important,
675
+ will-change: auto !important,
676
+ ),
677
+ $dropdown-menu-left-side-middle
278
678
  );
279
679
 
680
+ // .dropdown-menu-right-side
681
+
682
+ $dropdown-menu-right-side: () !default;
683
+ $dropdown-menu-right-side: map-deep-merge(
684
+ (
685
+ bottom: auto !important,
686
+ left: 100% !important,
687
+ margin-left: $dropdown-spacer,
688
+ margin-top: 0,
689
+ right: auto !important,
690
+ top: 0 !important,
691
+ transform: none !important,
692
+ will-change: auto !important,
693
+ ),
694
+ $dropdown-menu-right-side
695
+ );
696
+
697
+ // .dropdown-menu-right-side-bottom
698
+
699
+ $dropdown-menu-right-side-bottom: () !default;
700
+ $dropdown-menu-right-side-bottom: map-deep-merge(
701
+ (
702
+ bottom: 0 !important,
703
+ left: 100% !important,
704
+ margin-left: $dropdown-spacer,
705
+ margin-top: 0,
706
+ right: auto !important,
707
+ top: auto !important,
708
+ transform: none !important,
709
+ will-change: auto !important,
710
+ ),
711
+ $dropdown-menu-right-side-bottom
712
+ );
713
+
714
+ // .dropdown-menu-right-side-middle
715
+
716
+ $dropdown-menu-right-side-middle: () !default;
717
+ $dropdown-menu-right-side-middle: map-deep-merge(
718
+ (
719
+ bottom: auto !important,
720
+ left: 100% !important,
721
+ margin-left: $dropdown-spacer,
722
+ margin-top: 0,
723
+ right: auto !important,
724
+ top: 50% !important,
725
+ transform: translate(0, -50%) !important,
726
+ will-change: auto !important,
727
+ ),
728
+ $dropdown-menu-right-side-middle
729
+ );
730
+
731
+ // .dropdown-full, .dropdown-wide
732
+
733
+ $dropdown-full-wide-header-spacer-y: 20px !default;
734
+
735
+ // .dropdown-wide
736
+
737
+ $dropdown-wide-width: 500px !default;
738
+
280
739
  // Dropdown Menu Width
281
740
 
282
741
  $dropdown-menu-width-full: () !default;
@@ -335,15 +794,64 @@ $autocomplete-dropdown-menu: map-deep-merge(
335
794
  $autocomplete-dropdown-menu
336
795
  );
337
796
 
338
- // Dropdown Action
797
+ // .dropdown-action
798
+
799
+ /// @deprecated as of v3.x use map $dropdown-action instead
339
800
 
340
801
  $dropdown-action-toggle-border-radius: $border-radius !default;
802
+
803
+ /// @deprecated as of v3.x use map $dropdown-action instead
804
+
341
805
  $dropdown-action-toggle-font-size: null !default;
342
- $dropdown-action-toggle-size: $btn-monospaced-size-sm !default;
806
+
807
+ /// @deprecated as of v3.x use map $dropdown-action instead
343
808
 
344
809
  $dropdown-action-toggle-disabled-cursor: $disabled-cursor !default;
810
+
811
+ /// @deprecated as of v3.x use map $dropdown-action instead
812
+
345
813
  $dropdown-action-toggle-disabled-opacity: 0.65 !default;
346
814
 
815
+ $dropdown-action-toggle-size: $btn-monospaced-size-sm !default;
816
+
817
+ $dropdown-action: () !default;
818
+ $dropdown-action: map-deep-merge(
819
+ (
820
+ display: inline-block,
821
+ font-size: $dropdown-action-toggle-font-size,
822
+ vertical-align: middle,
823
+ dropdown-toggle: (
824
+ align-items: center,
825
+ border-radius:
826
+ clay-enable-rounded($dropdown-action-toggle-border-radius),
827
+ cursor: $btn-cursor,
828
+ display: flex,
829
+ font-size: inherit,
830
+ font-weight: inherit,
831
+ height: $dropdown-action-toggle-size,
832
+ justify-content: center,
833
+ line-height: inherit,
834
+ padding: 0,
835
+ text-transform: inherit,
836
+ vertical-align: baseline,
837
+ width: $dropdown-action-toggle-size,
838
+ disabled: (
839
+ cursor: $dropdown-action-toggle-disabled-cursor,
840
+ opacity: $dropdown-action-toggle-disabled-opacity,
841
+ ),
842
+ lexicon-icon: (
843
+ margin-top: 0,
844
+ ),
845
+ inline-item: (
846
+ lexicon-icon: (
847
+ margin-top: 0,
848
+ ),
849
+ ),
850
+ ),
851
+ ),
852
+ $dropdown-action
853
+ );
854
+
347
855
  // Alert inside Dropdowns
348
856
 
349
857
  $dropdown-alert-font-size: null !default;