@clayui/css 3.161.0 → 3.163.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 (97) hide show
  1. package/lib/css/atlas.css +136 -6
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +134 -5
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +74 -7
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/arrow-key-down.svg +9 -0
  8. package/lib/images/icons/arrow-key-left.svg +9 -0
  9. package/lib/images/icons/arrow-key-right.svg +9 -0
  10. package/lib/images/icons/arrow-key-up.svg +9 -0
  11. package/lib/images/icons/icons.svg +1 -1
  12. package/package.json +1 -1
  13. package/src/images/icons/arrow-key-down.svg +9 -0
  14. package/src/images/icons/arrow-key-left.svg +9 -0
  15. package/src/images/icons/arrow-key-right.svg +9 -0
  16. package/src/images/icons/arrow-key-up.svg +9 -0
  17. package/src/images/icons/icons.svg +1 -1
  18. package/src/scss/_components.scss +2 -0
  19. package/src/scss/_license-text.scss +1 -1
  20. package/src/scss/atlas/variables/_forms.scss +3 -1
  21. package/src/scss/atlas/variables/_reorder.scss +1 -1
  22. package/src/scss/atlas-custom-properties/_variables.scss +0 -2
  23. package/src/scss/atlas-custom-properties/variables/_alerts.scss +928 -935
  24. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +54 -56
  25. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +25 -27
  26. package/src/scss/atlas-custom-properties/variables/_badges.scss +298 -309
  27. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +175 -187
  28. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1164 -1220
  29. package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -353
  30. package/src/scss/atlas-custom-properties/variables/_cards.scss +1009 -1014
  31. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +560 -590
  32. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +766 -797
  33. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +532 -614
  34. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -252
  35. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1052 -1073
  36. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +65 -68
  37. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +90 -92
  38. package/src/scss/atlas-custom-properties/variables/_forms.scss +1918 -1955
  39. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +27 -29
  40. package/src/scss/atlas-custom-properties/variables/_globals.scss +799 -801
  41. package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -73
  42. package/src/scss/atlas-custom-properties/variables/_images.scss +8 -13
  43. package/src/scss/atlas-custom-properties/variables/_labels.scss +1091 -1202
  44. package/src/scss/atlas-custom-properties/variables/_links.scss +394 -410
  45. package/src/scss/atlas-custom-properties/variables/_list-group.scss +455 -460
  46. package/src/scss/atlas-custom-properties/variables/_loaders.scss +187 -204
  47. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +135 -137
  48. package/src/scss/atlas-custom-properties/variables/_menubar.scss +605 -663
  49. package/src/scss/atlas-custom-properties/variables/_modals.scss +582 -587
  50. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +342 -312
  51. package/src/scss/atlas-custom-properties/variables/_navbar.scss +170 -172
  52. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +337 -361
  53. package/src/scss/atlas-custom-properties/variables/_navs.scss +501 -495
  54. package/src/scss/atlas-custom-properties/variables/_pagination.scss +851 -888
  55. package/src/scss/atlas-custom-properties/variables/_panels.scss +467 -480
  56. package/src/scss/atlas-custom-properties/variables/_popovers.scss +483 -515
  57. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +146 -139
  58. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +24 -23
  59. package/src/scss/atlas-custom-properties/variables/_range.scss +215 -220
  60. package/src/scss/atlas-custom-properties/variables/_reorder.scss +82 -82
  61. package/src/scss/atlas-custom-properties/variables/_resizer.scss +27 -16
  62. package/src/scss/atlas-custom-properties/variables/_sheets.scss +275 -275
  63. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -4
  64. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +413 -445
  65. package/src/scss/atlas-custom-properties/variables/_slideout.scss +300 -310
  66. package/src/scss/atlas-custom-properties/variables/_stickers.scss +551 -553
  67. package/src/scss/atlas-custom-properties/variables/_tables.scss +1094 -1079
  68. package/src/scss/atlas-custom-properties/variables/_tbar.scss +491 -557
  69. package/src/scss/atlas-custom-properties/variables/_time.scss +121 -130
  70. package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -43
  71. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +562 -566
  72. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +295 -306
  73. package/src/scss/atlas-custom-properties/variables/_treeview.scss +276 -278
  74. package/src/scss/atlas-custom-properties/variables/_type.scss +186 -185
  75. package/src/scss/atlas-custom-properties/variables/_utilities.scss +705 -788
  76. package/src/scss/atlas-variables.scss +0 -2
  77. package/src/scss/atlas.scss +0 -2
  78. package/src/scss/base-variables.scss +0 -2
  79. package/src/scss/base.scss +0 -2
  80. package/src/scss/cadmin/components/_focus-ring.scss +74 -0
  81. package/src/scss/cadmin/components/_forms.scss +2 -0
  82. package/src/scss/cadmin/components/_menubar.scss +8 -0
  83. package/src/scss/cadmin/components/_resizer.scss +19 -4
  84. package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -1
  85. package/src/scss/cadmin/variables/_forms.scss +3 -1
  86. package/src/scss/cadmin/variables/_reorder.scss +1 -0
  87. package/src/scss/cadmin/variables/_resizer.scss +16 -3
  88. package/src/scss/cadmin.scss +1 -0
  89. package/src/scss/components/_focus-ring.scss +64 -0
  90. package/src/scss/components/_forms.scss +2 -0
  91. package/src/scss/components/_keyboard-arrows-indicator.scss +82 -0
  92. package/src/scss/components/_menubar.scss +8 -0
  93. package/src/scss/components/_resizer.scss +15 -4
  94. package/src/scss/functions/_lx-icons-generated.scss +8 -0
  95. package/src/scss/variables/_breadcrumbs.scss +4 -2
  96. package/src/scss/variables/_forms.scss +2 -0
  97. package/src/scss/variables/_resizer.scss +16 -3
@@ -1,565 +1,533 @@
1
- @if ($enable-atlas-custom-properties) {
2
- $popover-bg: var(--popover-background-color, $white);
3
- $popover-border-color: var(--popover-border-color, transparent);
4
- $popover-border-width: var(--popover-border-width, $border-width);
5
-
6
- $popover-border-radius: var(--popover-border-radius, $border-radius);
7
- $popover-inner-border-radius: var(
8
- --popover-inner-border-radius,
9
- calc(#{$popover-border-radius} - #{$popover-border-width})
10
- );
11
-
12
- $popover-box-shadow: var(
13
- --popover-box-shadow,
14
- 0 1px 15px -2px rgba(0, 0, 0, 0.2)
15
- );
16
- $popover-font-size: var(--popover-font-size, $font-size-sm);
17
- $popover-max-width: var(--popover-max-width, 232px);
18
-
19
- $popover-inline-scroller-max-height: var(
20
- --popover-inline-scroller-max-height,
21
- 238px
22
- );
23
-
24
- $popover-header-bg: var(--popover-header-background-color, $white);
25
- $popover-header-border-color: var(--popover-header-border-color, $gray-300);
26
- $popover-header-color: var(--popover-header-color, $gray-900);
27
- $popover-header-font-size: var(--popover-header-font-size, 14px);
28
- $popover-header-font-weight: var(
29
- --popover-header-font-weight,
30
- $font-weight-semi-bold
31
- );
32
- $popover-header-margin-x: var(--popover-header-margin-x, 16px);
33
- $popover-header-margin-y: var(--popover-header-margin-y, 0);
34
- $popover-header-padding-x: var(--popover-header-padding-x, 0);
35
- $popover-header-padding-y: var(--popover-header-padding-y, 12px);
36
-
37
- $popover-body-color: var(--popover-body-color, $gray-600);
38
- $popover-body-padding-x: var(--popover-body-padding-x, 16px);
39
- $popover-body-padding-y: var(--popover-body-padding-y, 12px);
40
-
41
- $popover-offset-border-width: var(
42
- --popover-offset-border-width,
43
- $popover-inner-border-radius
44
- );
45
-
46
- $popover-arrow-color: var(--popover-arrow-color, $popover-bg);
47
- $popover-arrow-height: var(--popover-arrow-height, 4.8px);
48
- $popover-arrow-offset: var(--popover-arrow-offset, 10px);
49
- $popover-arrow-width: var(
50
- --popover-arrow-width,
51
- calc(#{$popover-arrow-height} * 2)
52
- );
53
-
54
- $popover-arrow-outer-color: var(--popover-arrow-outer-color, transparent);
55
-
56
- $popover-bottom-arrow-color: var(
57
- --popover-bottom-arrow-color,
58
- $popover-header-bg
59
- );
60
- $popover-bottom-left-arrow-color: var(
61
- --popover-bottom-left-arrow-color,
62
- $popover-header-bg
63
- );
64
- $popover-bottom-right-arrow-color: var(
65
- --popover-bottom-right-arrow-color,
66
- $popover-header-bg
67
- );
68
- $popover-left-arrow-color: var(
69
- --popover-left-arrow-color,
70
- $popover-arrow-color
71
- );
72
- $popover-left-bottom-arrow-color: var(
73
- --popover-left-bottom-arrow-color,
74
- $popover-arrow-color
75
- );
76
- $popover-left-top-arrow-color: var(
77
- --popover-left-top-arrow-color,
78
- $popover-header-bg
79
- );
80
- $popover-right-arrow-color: var(
81
- --popover-right-arrow-color,
82
- $popover-arrow-color
83
- );
84
- $popover-right-bottom-arrow-color: var(
85
- --popover-right-bottom-arrow-color,
86
- $popover-arrow-color
87
- );
88
- $popover-right-top-arrow-color: var(
89
- --popover-right-top-arrow-color,
90
- $popover-header-bg
91
- );
92
- $popover-top-arrow-color: var(
93
- --popover-top-arrow-color,
94
- $popover-arrow-color
95
- );
96
- $popover-top-left-arrow-color: var(
97
- --popover-top-left-arrow-color,
98
- $popover-arrow-color
99
- );
100
- $popover-top-right-arrow-color: var(
101
- --popover-top-right-arrow-color,
102
- $popover-arrow-color
103
- );
104
-
105
- // .popover
106
-
107
- $popover: ();
108
- $popover: map-deep-merge(
109
- (
110
- background-clip: padding-box,
111
- background-color: $popover-bg,
112
- border:
113
- var(
114
- --popover-border,
115
- $popover-border-width solid $popover-border-color
116
- ),
117
- border-radius: clay-enable-rounded($popover-border-radius),
118
- box-shadow: clay-enable-shadows($popover-box-shadow),
1
+ $popover-bg: var(--popover-background-color, $white) !default;
2
+ $popover-border-color: var(--popover-border-color, transparent) !default;
3
+ $popover-border-width: var(--popover-border-width, $border-width) !default;
4
+
5
+ $popover-border-radius: var(--popover-border-radius, $border-radius) !default;
6
+ $popover-inner-border-radius: var(
7
+ --popover-inner-border-radius,
8
+ calc(#{$popover-border-radius} - #{$popover-border-width})
9
+ ) !default;
10
+
11
+ $popover-box-shadow: var(
12
+ --popover-box-shadow,
13
+ 0 1px 15px -2px rgba(0, 0, 0, 0.2)
14
+ ) !default;
15
+ $popover-font-size: var(--popover-font-size, $font-size-sm) !default;
16
+ $popover-max-width: var(--popover-max-width, 232px) !default;
17
+
18
+ $popover-inline-scroller-max-height: var(
19
+ --popover-inline-scroller-max-height,
20
+ 238px
21
+ ) !default;
22
+
23
+ $popover-header-bg: var(--popover-header-background-color, $white) !default;
24
+ $popover-header-border-color: var(
25
+ --popover-header-border-color,
26
+ $gray-300
27
+ ) !default;
28
+ $popover-header-color: var(--popover-header-color, $gray-900) !default;
29
+ $popover-header-font-size: var(--popover-header-font-size, 14px) !default;
30
+ $popover-header-font-weight: var(
31
+ --popover-header-font-weight,
32
+ $font-weight-semi-bold
33
+ ) !default;
34
+ $popover-header-margin-x: var(--popover-header-margin-x, 16px) !default;
35
+ $popover-header-margin-y: var(--popover-header-margin-y, 0) !default;
36
+ $popover-header-padding-x: var(--popover-header-padding-x, 0) !default;
37
+ $popover-header-padding-y: var(--popover-header-padding-y, 12px) !default;
38
+
39
+ $popover-body-color: var(--popover-body-color, $gray-600) !default;
40
+ $popover-body-padding-x: var(--popover-body-padding-x, 16px) !default;
41
+ $popover-body-padding-y: var(--popover-body-padding-y, 12px) !default;
42
+
43
+ $popover-offset-border-width: var(
44
+ --popover-offset-border-width,
45
+ $popover-inner-border-radius
46
+ ) !default;
47
+
48
+ $popover-arrow-color: var(--popover-arrow-color, $popover-bg) !default;
49
+ $popover-arrow-height: var(--popover-arrow-height, 4.8px) !default;
50
+ $popover-arrow-offset: var(--popover-arrow-offset, 10px) !default;
51
+ $popover-arrow-width: var(
52
+ --popover-arrow-width,
53
+ calc(#{$popover-arrow-height} * 2)
54
+ ) !default;
55
+
56
+ $popover-arrow-outer-color: var(
57
+ --popover-arrow-outer-color,
58
+ transparent
59
+ ) !default;
60
+
61
+ $popover-bottom-arrow-color: var(
62
+ --popover-bottom-arrow-color,
63
+ $popover-header-bg
64
+ ) !default;
65
+ $popover-bottom-left-arrow-color: var(
66
+ --popover-bottom-left-arrow-color,
67
+ $popover-header-bg
68
+ ) !default;
69
+ $popover-bottom-right-arrow-color: var(
70
+ --popover-bottom-right-arrow-color,
71
+ $popover-header-bg
72
+ ) !default;
73
+ $popover-left-arrow-color: var(
74
+ --popover-left-arrow-color,
75
+ $popover-arrow-color
76
+ ) !default;
77
+ $popover-left-bottom-arrow-color: var(
78
+ --popover-left-bottom-arrow-color,
79
+ $popover-arrow-color
80
+ ) !default;
81
+ $popover-left-top-arrow-color: var(
82
+ --popover-left-top-arrow-color,
83
+ $popover-header-bg
84
+ ) !default;
85
+ $popover-right-arrow-color: var(
86
+ --popover-right-arrow-color,
87
+ $popover-arrow-color
88
+ ) !default;
89
+ $popover-right-bottom-arrow-color: var(
90
+ --popover-right-bottom-arrow-color,
91
+ $popover-arrow-color
92
+ ) !default;
93
+ $popover-right-top-arrow-color: var(
94
+ --popover-right-top-arrow-color,
95
+ $popover-header-bg
96
+ ) !default;
97
+ $popover-top-arrow-color: var(
98
+ --popover-top-arrow-color,
99
+ $popover-arrow-color
100
+ ) !default;
101
+ $popover-top-left-arrow-color: var(
102
+ --popover-top-left-arrow-color,
103
+ $popover-arrow-color
104
+ ) !default;
105
+ $popover-top-right-arrow-color: var(
106
+ --popover-top-right-arrow-color,
107
+ $popover-arrow-color
108
+ ) !default;
109
+
110
+ // .popover
111
+
112
+ $popover: () !default;
113
+ $popover: map-deep-merge(
114
+ (
115
+ background-clip: padding-box,
116
+ background-color: $popover-bg,
117
+ border:
118
+ var(
119
+ --popover-border,
120
+ $popover-border-width solid $popover-border-color
121
+ ),
122
+ border-radius: clay-enable-rounded($popover-border-radius),
123
+ box-shadow: clay-enable-shadows($popover-box-shadow),
124
+ display: block,
125
+ font-family: var(--popover-font-family, $font-family-base),
126
+ font-size: $popover-font-size,
127
+ font-style: normal,
128
+ font-weight: var(--popover-font-weight, $font-weight-normal),
129
+ left: var(--left, 0),
130
+ letter-spacing: var(--popover-letter-spacing, normal),
131
+ line-break: auto,
132
+ line-height: var(--popover-line-height, $line-height-base),
133
+ max-width: $popover-max-width,
134
+ position: absolute,
135
+ text-align: left,
136
+ text-decoration: none,
137
+ text-shadow: none,
138
+ text-transform: none,
139
+ top: 0,
140
+ white-space: normal,
141
+ word-break: normal,
142
+ word-spacing: normal,
143
+ word-wrap: break-word,
144
+
145
+ focus: (
146
+ box-shadow: $component-focus-box-shadow,
147
+ outline: 0,
148
+ ),
149
+
150
+ arrow: (
119
151
  display: block,
120
- font-family: var(--popover-font-family, $font-family-base),
121
- font-size: $popover-font-size,
122
- font-style: normal,
123
- font-weight: var(--popover-font-weight, $font-weight-normal),
124
- left: var(--left, 0),
125
- letter-spacing: var(--popover-letter-spacing, normal),
126
- line-break: auto,
127
- line-height: var(--popover-line-height, $line-height-base),
128
- max-width: $popover-max-width,
152
+ height: $popover-arrow-height,
153
+ margin: 0 $popover-border-radius,
129
154
  position: absolute,
130
- text-align: left,
131
- text-decoration: none,
132
- text-shadow: none,
133
- text-transform: none,
134
- top: 0,
135
- white-space: normal,
136
- word-break: normal,
137
- word-spacing: normal,
138
- word-wrap: break-word,
139
-
140
- focus: (
141
- box-shadow: $component-focus-box-shadow,
142
- outline: 0,
143
- ),
155
+ width: $popover-arrow-width,
144
156
 
145
- arrow: (
157
+ before: (
158
+ border-color: transparent,
159
+ border-style: solid,
160
+ content: '',
146
161
  display: block,
147
- height: $popover-arrow-height,
148
- margin: 0 $popover-border-radius,
149
162
  position: absolute,
150
- width: $popover-arrow-width,
151
-
152
- before: (
153
- border-color: transparent,
154
- border-style: solid,
155
- content: '',
156
- display: block,
157
- position: absolute,
158
- ),
159
-
160
- after: (
161
- border-color: transparent,
162
- border-style: solid,
163
- content: '',
164
- display: block,
165
- position: absolute,
166
- ),
167
- ),
168
-
169
- inline-scroller: (
170
- max-height: $popover-inline-scroller-max-height,
171
163
  ),
172
- ),
173
- $popover
174
- );
175
-
176
- // Popovers
177
164
 
178
- $popovers: ();
179
- $popovers: map-deep-merge(
180
- (
181
- popover: $popover,
182
- ),
183
- $popovers
184
- );
185
-
186
- // .popover-header
187
-
188
- $popover-header: ();
189
- $popover-header: map-deep-merge(
190
- (
191
- color: $popover-header-color,
192
- background-color: $popover-header-bg,
193
- border-bottom:
194
- $popover-border-width
195
- solid
196
- unquote('hsl(from #{$popover-header-bg} h s calc(l - 5))'),
197
- border-color: $popover-header-border-color,
198
- border-top-left-radius:
199
- clay-enable-rounded($popover-offset-border-width),
200
- border-top-right-radius:
201
- clay-enable-rounded($popover-offset-border-width),
202
- font-size: $popover-header-font-size,
203
- font-weight: $popover-header-font-weight,
204
- margin-bottom: $popover-header-margin-y,
205
- margin-left: $popover-header-margin-x,
206
- margin-right: $popover-header-margin-x,
207
- margin-top: $popover-header-margin-y,
208
- padding: $popover-header-padding-y $popover-header-padding-x,
209
-
210
- empty: (
211
- display: none,
165
+ after: (
166
+ border-color: transparent,
167
+ border-style: solid,
168
+ content: '',
169
+ display: block,
170
+ position: absolute,
212
171
  ),
213
172
  ),
214
- $popover-header
215
- );
216
-
217
- // Popover Headers
218
173
 
219
- $popover-headers: ();
220
- $popover-headers: map-deep-merge(
221
- (
222
- popover-header: $popover-header,
174
+ inline-scroller: (
175
+ max-height: $popover-inline-scroller-max-height,
223
176
  ),
224
- $popover-headers
225
- );
226
-
227
- // .popover-body
228
-
229
- $popover-body: ();
230
- $popover-body: map-merge(
231
- (
232
- border-bottom-left-radius:
233
- clay-enable-rounded($popover-offset-border-width),
234
- border-bottom-right-radius:
235
- clay-enable-rounded($popover-offset-border-width),
236
- color: $popover-body-color,
237
- padding: $popover-body-padding-y $popover-body-padding-x,
177
+ ),
178
+ $popover
179
+ );
180
+
181
+ // Popovers
182
+
183
+ $popovers: () !default;
184
+ $popovers: map-deep-merge(
185
+ (
186
+ popover: $popover,
187
+ ),
188
+ $popovers
189
+ );
190
+
191
+ // .popover-header
192
+
193
+ $popover-header: () !default;
194
+ $popover-header: map-deep-merge(
195
+ (
196
+ color: $popover-header-color,
197
+ background-color: $popover-header-bg,
198
+ border-bottom: $popover-border-width solid
199
+ unquote('hsl(from #{$popover-header-bg} h s calc(l - 5))'),
200
+ border-color: $popover-header-border-color,
201
+ border-top-left-radius:
202
+ clay-enable-rounded($popover-offset-border-width),
203
+ border-top-right-radius:
204
+ clay-enable-rounded($popover-offset-border-width),
205
+ font-size: $popover-header-font-size,
206
+ font-weight: $popover-header-font-weight,
207
+ margin-bottom: $popover-header-margin-y,
208
+ margin-left: $popover-header-margin-x,
209
+ margin-right: $popover-header-margin-x,
210
+ margin-top: $popover-header-margin-y,
211
+ padding: $popover-header-padding-y $popover-header-padding-x,
212
+
213
+ empty: (
214
+ display: none,
238
215
  ),
239
- $popover-body
240
- );
241
-
242
- // Popover Bodies
243
-
244
- $popover-bodies: ();
245
- $popover-bodies: map-deep-merge(
246
- (
247
- popover-body: $popover-body,
216
+ ),
217
+ $popover-header
218
+ );
219
+
220
+ // Popover Headers
221
+
222
+ $popover-headers: () !default;
223
+ $popover-headers: map-deep-merge(
224
+ (
225
+ popover-header: $popover-header,
226
+ ),
227
+ $popover-headers
228
+ );
229
+
230
+ // .popover-body
231
+
232
+ $popover-body: () !default;
233
+ $popover-body: map-merge(
234
+ (
235
+ border-bottom-left-radius:
236
+ clay-enable-rounded($popover-offset-border-width),
237
+ border-bottom-right-radius:
238
+ clay-enable-rounded($popover-offset-border-width),
239
+ color: $popover-body-color,
240
+ padding: $popover-body-padding-y $popover-body-padding-x,
241
+ ),
242
+ $popover-body
243
+ );
244
+
245
+ // Popover Bodies
246
+
247
+ $popover-bodies: () !default;
248
+ $popover-bodies: map-deep-merge(
249
+ (
250
+ popover-body: $popover-body,
251
+ ),
252
+ $popover-bodies
253
+ );
254
+
255
+ // Popover Widths
256
+
257
+ $popover-widths: () !default;
258
+ $popover-widths: map-deep-merge(
259
+ (
260
+ popover-width-lg: (
261
+ max-width: var(--popover-width-lg-max-width, 421px),
248
262
  ),
249
- $popover-bodies
250
- );
251
-
252
- // Popover Widths
253
-
254
- $popover-widths: ();
255
- $popover-widths: map-deep-merge(
256
- (
257
- popover-width-lg: (
258
- max-width: var(--popover-width-lg-max-width, 421px),
263
+ ),
264
+ $popover-widths
265
+ );
266
+
267
+ // .clay-popover-top, .clay-popover-top-left, .clay-popover-top-right
268
+
269
+ $clay-popover-top: () !default;
270
+ $clay-popover-top: map-deep-merge(
271
+ (
272
+ margin-bottom: $popover-arrow-height,
273
+
274
+ arrow: (
275
+ left: 50%,
276
+ margin-left: calc(#{$popover-arrow-width} * -0.5),
277
+ bottom:
278
+ calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1),
279
+ margin: 0,
280
+
281
+ before: (
282
+ border-top-color: $popover-arrow-outer-color,
283
+ border-width: $popover-arrow-height
284
+ calc(#{$popover-arrow-width} * 0.5) 0,
285
+ bottom: 0,
259
286
  ),
260
- ),
261
- $popover-widths
262
- );
263
-
264
- // .clay-popover-top, .clay-popover-top-left, .clay-popover-top-right
265
-
266
- $clay-popover-top: ();
267
- $clay-popover-top: map-deep-merge(
268
- (
269
- margin-bottom: $popover-arrow-height,
270
-
271
- arrow: (
272
- left: 50%,
273
- margin-left: calc(#{$popover-arrow-width} * -0.5),
274
- bottom:
275
- calc(
276
- (#{$popover-arrow-height} + #{$popover-border-width}) *
277
- -1
278
- ),
279
- margin: 0,
280
-
281
- before: (
282
- border-top-color: $popover-arrow-outer-color,
283
- border-width:
284
- $popover-arrow-height
285
- calc(#{$popover-arrow-width} * 0.5)
286
- 0,
287
- bottom: 0,
288
- ),
289
-
290
- after: (
291
- border-top-color: $popover-top-arrow-color,
292
- border-width:
293
- $popover-arrow-height
294
- calc(#{$popover-arrow-width} * 0.5)
295
- 0,
296
- bottom: $popover-border-width,
297
- ),
287
+
288
+ after: (
289
+ border-top-color: $popover-top-arrow-color,
290
+ border-width: $popover-arrow-height
291
+ calc(#{$popover-arrow-width} * 0.5) 0,
292
+ bottom: $popover-border-width,
298
293
  ),
299
294
  ),
300
- $clay-popover-top
301
- );
295
+ ),
296
+ $clay-popover-top
297
+ );
302
298
 
303
- // .clay-popover-top-left
299
+ // .clay-popover-top-left
304
300
 
305
- $clay-popover-top-left: ();
306
- $clay-popover-top-left: map-deep-merge(
307
- (
308
- arrow: (
309
- left: $popover-arrow-offset,
310
- margin: 0,
301
+ $clay-popover-top-left: () !default;
302
+ $clay-popover-top-left: map-deep-merge(
303
+ (
304
+ arrow: (
305
+ left: $popover-arrow-offset,
306
+ margin: 0,
311
307
 
312
- after: (
313
- border-top-color: $popover-top-left-arrow-color,
314
- ),
308
+ after: (
309
+ border-top-color: $popover-top-left-arrow-color,
315
310
  ),
316
311
  ),
317
- $clay-popover-top-left
318
- );
319
-
320
- // .clay-popover-top-right
321
-
322
- $clay-popover-top-right: ();
323
- $clay-popover-top-right: map-deep-merge(
324
- (
325
- arrow: (
326
- left: auto,
327
- margin: 0,
328
- right: $popover-arrow-offset,
329
-
330
- after: (
331
- border-top-color: $popover-top-right-arrow-color,
332
- ),
312
+ ),
313
+ $clay-popover-top-left
314
+ );
315
+
316
+ // .clay-popover-top-right
317
+
318
+ $clay-popover-top-right: () !default;
319
+ $clay-popover-top-right: map-deep-merge(
320
+ (
321
+ arrow: (
322
+ left: auto,
323
+ margin: 0,
324
+ right: $popover-arrow-offset,
325
+
326
+ after: (
327
+ border-top-color: $popover-top-right-arrow-color,
333
328
  ),
334
329
  ),
335
- $clay-popover-top-right
336
- );
337
-
338
- // .clay-popover-right, .clay-popover-right-bottom, .clay-popover-right-top
339
-
340
- $clay-popover-right: ();
341
- $clay-popover-right: map-deep-merge(
342
- (
343
- margin-left: $popover-arrow-height,
344
-
345
- arrow: (
346
- height: $popover-arrow-width,
347
- left:
348
- calc(
349
- (#{$popover-arrow-height} + #{$popover-border-width}) *
350
- -1
351
- ),
352
- margin: calc(#{$popover-arrow-height} * -0.5) 0 0,
353
- top: 50%,
354
- width: $popover-arrow-height,
355
-
356
- before: (
357
- border-right-color: $popover-arrow-outer-color,
358
- border-width:
359
- calc(#{$popover-arrow-width} * 0.5)
360
- $popover-arrow-height
361
- calc(#{$popover-arrow-width} * 0.5)
362
- 0,
363
- left: 0,
364
- ),
365
-
366
- after: (
367
- border-right-color: $popover-right-arrow-color,
368
- border-width:
369
- calc(#{$popover-arrow-width} * 0.5)
370
- $popover-arrow-height
371
- calc(#{$popover-arrow-width} * 0.5)
372
- 0,
373
- left: $popover-border-width,
374
- ),
330
+ ),
331
+ $clay-popover-top-right
332
+ );
333
+
334
+ // .clay-popover-right, .clay-popover-right-bottom, .clay-popover-right-top
335
+
336
+ $clay-popover-right: () !default;
337
+ $clay-popover-right: map-deep-merge(
338
+ (
339
+ margin-left: $popover-arrow-height,
340
+
341
+ arrow: (
342
+ height: $popover-arrow-width,
343
+ left:
344
+ calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1),
345
+ margin: calc(#{$popover-arrow-height} * -0.5) 0 0,
346
+ top: 50%,
347
+ width: $popover-arrow-height,
348
+
349
+ before: (
350
+ border-right-color: $popover-arrow-outer-color,
351
+ border-width: calc(#{$popover-arrow-width} * 0.5)
352
+ $popover-arrow-height calc(#{$popover-arrow-width} * 0.5) 0,
353
+ left: 0,
354
+ ),
355
+
356
+ after: (
357
+ border-right-color: $popover-right-arrow-color,
358
+ border-width: calc(#{$popover-arrow-width} * 0.5)
359
+ $popover-arrow-height calc(#{$popover-arrow-width} * 0.5) 0,
360
+ left: $popover-border-width,
375
361
  ),
376
362
  ),
377
- $clay-popover-right
378
- );
379
-
380
- // .clay-popover-right-bottom
381
-
382
- $clay-popover-right-bottom: ();
383
- $clay-popover-right-bottom: map-deep-merge(
384
- (
385
- arrow: (
386
- bottom: $popover-arrow-offset,
387
- margin: 0,
388
- top: auto,
389
-
390
- after: (
391
- border-right-color: $popover-right-bottom-arrow-color,
392
- ),
363
+ ),
364
+ $clay-popover-right
365
+ );
366
+
367
+ // .clay-popover-right-bottom
368
+
369
+ $clay-popover-right-bottom: () !default;
370
+ $clay-popover-right-bottom: map-deep-merge(
371
+ (
372
+ arrow: (
373
+ bottom: $popover-arrow-offset,
374
+ margin: 0,
375
+ top: auto,
376
+
377
+ after: (
378
+ border-right-color: $popover-right-bottom-arrow-color,
393
379
  ),
394
380
  ),
395
- $clay-popover-right-bottom
396
- );
381
+ ),
382
+ $clay-popover-right-bottom
383
+ );
397
384
 
398
- // .clay-popover-right-top
385
+ // .clay-popover-right-top
399
386
 
400
- $clay-popover-right-top: ();
401
- $clay-popover-right-top: map-deep-merge(
402
- (
403
- arrow: (
404
- margin: 0,
405
- top: $popover-arrow-offset,
387
+ $clay-popover-right-top: () !default;
388
+ $clay-popover-right-top: map-deep-merge(
389
+ (
390
+ arrow: (
391
+ margin: 0,
392
+ top: $popover-arrow-offset,
406
393
 
407
- after: (
408
- border-right-color: $popover-right-top-arrow-color,
409
- ),
394
+ after: (
395
+ border-right-color: $popover-right-top-arrow-color,
410
396
  ),
411
397
  ),
412
- $clay-popover-right-top
413
- );
414
-
415
- // .clay-popover-bottom, .clay-popover-bottom-left, .clay-popover-bottom-right
416
-
417
- $clay-popover-bottom: ();
418
- $clay-popover-bottom: map-deep-merge(
419
- (
420
- margin-top: $popover-arrow-height,
421
-
422
- arrow: (
423
- left: 50%,
424
- margin: 0 0 0 calc(#{$popover-arrow-width} * -0.5),
425
- top:
426
- calc(
427
- (#{$popover-arrow-height} + #{$popover-border-width}) *
428
- -1
429
- ),
430
- before: (
431
- border-bottom-color: $popover-arrow-outer-color,
432
- border-width:
433
- 0
434
- calc(#{$popover-arrow-width} * 0.5)
435
- $popover-arrow-height
436
- calc(#{$popover-arrow-width} * 0.5),
437
- top: 0,
438
- ),
439
-
440
- after: (
441
- border-bottom-color: $popover-bottom-arrow-color,
442
- border-width:
443
- 0
444
- calc(#{$popover-arrow-width} * 0.5)
445
- $popover-arrow-height
446
- calc(#{$popover-arrow-width} * 0.5),
447
- top: $popover-border-width,
448
- ),
398
+ ),
399
+ $clay-popover-right-top
400
+ );
401
+
402
+ // .clay-popover-bottom, .clay-popover-bottom-left, .clay-popover-bottom-right
403
+
404
+ $clay-popover-bottom: () !default;
405
+ $clay-popover-bottom: map-deep-merge(
406
+ (
407
+ margin-top: $popover-arrow-height,
408
+
409
+ arrow: (
410
+ left: 50%,
411
+ margin: 0 0 0 calc(#{$popover-arrow-width} * -0.5),
412
+ top:
413
+ calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1),
414
+ before: (
415
+ border-bottom-color: $popover-arrow-outer-color,
416
+ border-width: 0 calc(#{$popover-arrow-width} * 0.5)
417
+ $popover-arrow-height calc(#{$popover-arrow-width} * 0.5),
418
+ top: 0,
419
+ ),
420
+
421
+ after: (
422
+ border-bottom-color: $popover-bottom-arrow-color,
423
+ border-width: 0 calc(#{$popover-arrow-width} * 0.5)
424
+ $popover-arrow-height calc(#{$popover-arrow-width} * 0.5),
425
+ top: $popover-border-width,
449
426
  ),
450
427
  ),
451
- $clay-popover-bottom
452
- );
428
+ ),
429
+ $clay-popover-bottom
430
+ );
453
431
 
454
- // .clay-popover-bottom-left
432
+ // .clay-popover-bottom-left
455
433
 
456
- $clay-popover-bottom-left: ();
457
- $clay-popover-bottom-left: map-deep-merge(
458
- (
459
- arrow: (
460
- left: $popover-arrow-offset,
461
- margin: 0,
434
+ $clay-popover-bottom-left: () !default;
435
+ $clay-popover-bottom-left: map-deep-merge(
436
+ (
437
+ arrow: (
438
+ left: $popover-arrow-offset,
439
+ margin: 0,
462
440
 
463
- after: (
464
- border-bottom-color: $popover-bottom-left-arrow-color,
465
- ),
441
+ after: (
442
+ border-bottom-color: $popover-bottom-left-arrow-color,
466
443
  ),
467
444
  ),
468
- $clay-popover-bottom-left
469
- );
470
-
471
- // .clay-popover-bottom-right
472
-
473
- $clay-popover-bottom-right: ();
474
- $clay-popover-bottom-right: map-deep-merge(
475
- (
476
- arrow: (
477
- left: auto,
478
- margin: 0,
479
- right: $popover-arrow-offset,
480
-
481
- after: (
482
- border-bottom-color: $popover-bottom-right-arrow-color,
483
- ),
445
+ ),
446
+ $clay-popover-bottom-left
447
+ );
448
+
449
+ // .clay-popover-bottom-right
450
+
451
+ $clay-popover-bottom-right: () !default;
452
+ $clay-popover-bottom-right: map-deep-merge(
453
+ (
454
+ arrow: (
455
+ left: auto,
456
+ margin: 0,
457
+ right: $popover-arrow-offset,
458
+
459
+ after: (
460
+ border-bottom-color: $popover-bottom-right-arrow-color,
484
461
  ),
485
462
  ),
486
- $clay-popover-bottom-right
487
- );
488
-
489
- // .clay-popover-left, .clay-popover-left-bottom, .clay-popover-left-top
490
-
491
- $clay-popover-left: ();
492
- $clay-popover-left: map-deep-merge(
493
- (
494
- margin-right: $popover-arrow-height,
495
-
496
- arrow: (
497
- height: $popover-arrow-width,
498
- margin: calc(#{$popover-arrow-height} * -0.5) 0 0,
499
- right:
500
- calc(
501
- (#{$popover-arrow-height} + #{$popover-border-width}) *
502
- -1
503
- ),
504
- top: 50%,
505
- width: $popover-arrow-height,
506
-
507
- before: (
508
- border-left-color: $popover-arrow-outer-color,
509
- border-width:
510
- calc(#{$popover-arrow-width} * 0.5)
511
- 0
512
- calc(#{$popover-arrow-width} * 0.5)
513
- $popover-arrow-height,
514
- right: 0,
515
- ),
516
-
517
- after: (
518
- border-left-color: $popover-left-arrow-color,
519
- border-width:
520
- calc(#{$popover-arrow-width} * 0.5)
521
- 0
522
- calc(#{$popover-arrow-width} * 0.5)
523
- $popover-arrow-height,
524
- right: $popover-border-width,
525
- ),
463
+ ),
464
+ $clay-popover-bottom-right
465
+ );
466
+
467
+ // .clay-popover-left, .clay-popover-left-bottom, .clay-popover-left-top
468
+
469
+ $clay-popover-left: () !default;
470
+ $clay-popover-left: map-deep-merge(
471
+ (
472
+ margin-right: $popover-arrow-height,
473
+
474
+ arrow: (
475
+ height: $popover-arrow-width,
476
+ margin: calc(#{$popover-arrow-height} * -0.5) 0 0,
477
+ right:
478
+ calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1),
479
+ top: 50%,
480
+ width: $popover-arrow-height,
481
+
482
+ before: (
483
+ border-left-color: $popover-arrow-outer-color,
484
+ border-width: calc(#{$popover-arrow-width} * 0.5) 0
485
+ calc(#{$popover-arrow-width} * 0.5) $popover-arrow-height,
486
+ right: 0,
487
+ ),
488
+
489
+ after: (
490
+ border-left-color: $popover-left-arrow-color,
491
+ border-width: calc(#{$popover-arrow-width} * 0.5) 0
492
+ calc(#{$popover-arrow-width} * 0.5) $popover-arrow-height,
493
+ right: $popover-border-width,
526
494
  ),
527
495
  ),
528
- $clay-popover-left
529
- );
530
-
531
- // .clay-popover-left-bottom
532
-
533
- $clay-popover-left-bottom: ();
534
- $clay-popover-left-bottom: map-deep-merge(
535
- (
536
- arrow: (
537
- bottom: $popover-arrow-offset,
538
- margin: 0,
539
- top: auto,
540
-
541
- after: (
542
- border-left-color: $popover-left-bottom-arrow-color,
543
- ),
496
+ ),
497
+ $clay-popover-left
498
+ );
499
+
500
+ // .clay-popover-left-bottom
501
+
502
+ $clay-popover-left-bottom: () !default;
503
+ $clay-popover-left-bottom: map-deep-merge(
504
+ (
505
+ arrow: (
506
+ bottom: $popover-arrow-offset,
507
+ margin: 0,
508
+ top: auto,
509
+
510
+ after: (
511
+ border-left-color: $popover-left-bottom-arrow-color,
544
512
  ),
545
513
  ),
546
- $clay-popover-left-bottom
547
- );
514
+ ),
515
+ $clay-popover-left-bottom
516
+ );
548
517
 
549
- // .clay-popover-left-top
518
+ // .clay-popover-left-top
550
519
 
551
- $clay-popover-left-top: ();
552
- $clay-popover-left-top: map-deep-merge(
553
- (
554
- arrow: (
555
- margin: 0,
556
- top: $popover-arrow-offset,
520
+ $clay-popover-left-top: () !default;
521
+ $clay-popover-left-top: map-deep-merge(
522
+ (
523
+ arrow: (
524
+ margin: 0,
525
+ top: $popover-arrow-offset,
557
526
 
558
- after: (
559
- border-left-color: $popover-left-top-arrow-color,
560
- ),
527
+ after: (
528
+ border-left-color: $popover-left-top-arrow-color,
561
529
  ),
562
530
  ),
563
- $clay-popover-left-top
564
- );
565
- }
531
+ ),
532
+ $clay-popover-left-top
533
+ );