@clayui/css 3.52.0 → 3.53.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.
@@ -106,6 +106,10 @@
106
106
 
107
107
  'books': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline books-1-spine-top" d="M96.1 32h-64C14.4 32 .1 46.3.1 64v32h128V64c0-17.7-14.3-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline books-1-spine-bottom" d="M.1 448c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32v-32H.1v32z" fill="#{$color}"/><path class="lexicon-icon-outline books-1-spine" fill="#{$color}" d="M.1 128h128v256H.1z"/><path class="lexicon-icon-outline books-2-spine-top" d="M256.1 32h-64c-17.7 0-32 14.3-32 32v32h128V64c0-17.7-14.3-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline books-2-spine-bottom" d="M160.1 448c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32v-32h-128v32z" fill="#{$color}"/><path class="lexicon-icon-outline books-2-spine" fill="#{$color}" d="M160.1 128h128v256h-128z"/><path class="lexicon-icon-outline books-3-spine-top" d="m359.2 35.2-31 8.1c-17.1 4.5-27.4 21.9-22.9 39l8.1 31 92.9-24.2-8.1-31c-4.5-17.1-21.9-27.4-39-22.9z" fill="#{$color}"/><path class="lexicon-icon-outline books-3-spine" fill="#{$color}" d="m321.422 144.212 92.909-24.172 64.46 247.756-92.908 24.173z"/><path class="lexicon-icon-outline books-3-spine-bottom" d="M402 453.9c4.5 17.1 21.9 27.4 39 22.9l31-8.1c17.1-4.5 27.4-21.9 22.9-39l-8.1-31-92.9 24.2 8.1 31z" fill="#{$color}"/></svg>',
108
108
 
109
+ 'border-style': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline border-style-rectangle-1" d="M64.001 96c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h384c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-384Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-2" d="M64.001 224c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h128c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-128Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-3" d="M32.002 384c0-17.673 14.326-32 32-32H128c17.674 0 32 14.327 32 32 0 17.673-14.326 32-32 32h-64c-17.673 0-32-14.327-32-32Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-4" d="M320.001 224c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h128c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-128Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-5" d="M192.001 384c0-17.673 14.327-32 32-32h64c17.674 0 32 14.327 32 32 0 17.673-14.326 32-32 32h-64c-17.673 0-32-14.327-32-32Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-6" d="M384.001 352c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h64c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-64Z" fill="#{$color}"/></svg>',
110
+
111
+ 'border-width': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-border-width-line-1" d="M32 352h448v96H32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-border-width-line-2" d="M32 192h448v64H32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-border-width-line-3" d="M32 64h448v32H32z" fill="#{$color}"/></svg>',
112
+
109
113
  'box-container': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline box-container-border" d="M448 64v384H64V64h384m0-64H64C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z" fill="#{$color}"/><path class="lexicon-icon-outline box-container-square1" d="M384 256h-64c-17.7 0-32-14.3-32-32v-64c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32z" fill="#{$color}"/><path class="lexicon-icon-outline box-container-square2" d="M384 416h-64c-17.7 0-32-14.3-32-32v-64c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32z" fill="#{$color}"/><path class="lexicon-icon-outline box-container-square3" d="M224 416h-64c-17.7 0-32-14.3-32-32v-64c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32z" fill="#{$color}"/></svg>',
110
114
 
111
115
  'breadcrumb': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline breadcrumb-arrow-outline" d="M111.8 128 214 255.8 111.8 383.6H32V128h79.8m0-32H32c-19.2 0-32 12.8-32 32v255.6c0 19.2 12.8 32 32 32h79.9c9.6 0 19.2-3.2 25.6-12.8L239.7 275c9.6-12.8 9.6-28.8 0-38.3L137.4 108.8c-6.4-9.6-16-12.8-25.6-12.8z" fill="#{$color}"/><path class="lexicon-icon-outline breadcrumb-arrow-solid" d="M377 415.5H258.8c-25.6 0-41.5-32-25.6-51.1l86.3-108.6-86.3-108.6c-16-19.2 0-51.1 25.6-51.1H377c9.6 0 19.2 3.2 25.6 12.8l102.2 127.8c9.6 12.8 9.6 28.8 0 38.3L402.6 402.7c-6.4 9.6-16 12.8-25.6 12.8z" fill="#{$color}"/></svg>',
@@ -562,6 +566,8 @@
562
566
 
563
567
  'oauth': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline oauth-2-border" d="M256.4 64c254.8 13 256.7 370.5 0 384C-.5 436.4.2 76.4 256.4 64m0-64c-342 15.6-341.7 497.6 0 512 340.5-12.1 341.1-497.8 0-512z" fill="#{$color}"/><path class="lexicon-icon-outline oauth-2-a" d="M350.6 310.3 303.9 164c-7.2-17.7-16-36-47.8-36-32.1 0-40.5 18.2-48 36l-46.7 146.4c-10.9 40.4 45.8 59.7 61.2 19.3l9.2-29h48.3l9.2 29c15.4 40.3 72.3 21.3 61.3-19.4z" fill="#{$color}"/></svg>',
564
568
 
569
+ 'opacity': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-opacity-square-1" d="M0 256h128v128H0z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-2" d="M128 128h128v128H128z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-3" d="M0 64C0 28.654 28.654 0 64 0h64v128H0V64Z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-4" d="M128 384h128v128H128z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-5" d="M256 0h128v128H256z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-6" d="M256 256h128v128H256z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-7" d="M384 384h128v64c0 35.346-28.654 64-64 64h-64V384Z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-8" d="M384 128h128v128H384z" fill="#{$color}"/></svg>',
570
+
565
571
  'open-id': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline open-id-tail" d="M224 64v382.2C128.3 436.4 64 383.8 64 336c0-42.3 50.3-88.3 128-105.2v-65C81.6 185.3 0 254 0 336c0 89.7 97.8 165.2 224 176l96-64V0l-96 64z" fill="#{$color}"/><path class="lexicon-icon-outline open-id-head" d="m512 320-32-128-35.2 26.4c-25.6-19.5-56.7-35.5-92.8-45.5v66.9c7.2 2.6 26.3 7.5 41.8 16.8L352 288l160 32z" fill="#{$color}"/></svg>',
566
572
 
567
573
  'order-arrow-down': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="m161.5 367.9 71.6 71.6c11.9 10.8 32.9 11.2 45.8 0l71.6-71.6c29.8-33.6-15.8-74.9-45.8-45.8L288 338.8V96c0-42.5-64-42.5-64 0v242.8l-16.7-16.7c-31.8-29.9-75.5 14.9-45.8 45.8z" fill="#{$color}"/></svg>',
@@ -64,307 +64,333 @@
64
64
  /// - Add @link to documentation
65
65
 
66
66
  @mixin clay-close($map) {
67
- $enabled: setter(map-get($map, enabled), true);
67
+ @if (type-of($map) == 'map') {
68
+ $enabled: setter(map-get($map, enabled), true);
68
69
 
69
- $base: map-merge(
70
- $map,
71
- (
72
- background-color:
73
- setter(map-get($map, bg), map-get($map, background-color)),
74
- )
75
- );
70
+ $base: map-merge(
71
+ $map,
72
+ (
73
+ background-color:
74
+ setter(map-get($map, bg), map-get($map, background-color)),
75
+ )
76
+ );
76
77
 
77
- $hover: setter(map-get($map, hover), ());
78
- $hover: map-merge(
79
- $hover,
80
- (
81
- background-color:
82
- setter(
83
- map-get($map, hover-bg),
84
- map-get($hover, background-color)
85
- ),
86
- border-color:
87
- setter(
88
- map-get($map, hover-border-color),
89
- map-get($hover, border-color)
90
- ),
91
- color: setter(map-get($map, hover-color), map-get($hover, color)),
92
- opacity:
93
- setter(map-get($map, hover-opacity), map-get($hover, opacity)),
94
- text-decoration:
95
- setter(
96
- map-get($map, hover-text-decoration),
97
- map-get($hover, text-decoration)
98
- ),
99
- )
100
- );
78
+ $hover: setter(map-get($map, hover), ());
79
+ $hover: map-merge(
80
+ $hover,
81
+ (
82
+ background-color:
83
+ setter(
84
+ map-get($map, hover-bg),
85
+ map-get($hover, background-color)
86
+ ),
87
+ border-color:
88
+ setter(
89
+ map-get($map, hover-border-color),
90
+ map-get($hover, border-color)
91
+ ),
92
+ color:
93
+ setter(map-get($map, hover-color), map-get($hover, color)),
94
+ opacity:
95
+ setter(
96
+ map-get($map, hover-opacity),
97
+ map-get($hover, opacity)
98
+ ),
99
+ text-decoration:
100
+ setter(
101
+ map-get($map, hover-text-decoration),
102
+ map-get($hover, text-decoration)
103
+ ),
104
+ )
105
+ );
101
106
 
102
- $focus: setter(map-get($map, focus), ());
103
- $focus: map-merge(
104
- $focus,
105
- (
106
- background-color:
107
- setter(
108
- map-get($map, focus-bg),
109
- map-get($focus, background-color)
110
- ),
111
- border-color:
112
- setter(
113
- map-get($map, focus-border-color),
114
- map-get($focus, border-color)
115
- ),
116
- border-radius:
117
- setter(
118
- map-get($map, focus-border-radius),
119
- map-get($focus, border-radius)
120
- ),
121
- box-shadow:
122
- setter(
123
- map-get($map, focus-box-shadow),
124
- map-get($focus, box-shadow)
125
- ),
126
- color: setter(map-get($map, focus-color), map-get($focus, color)),
127
- opacity:
128
- setter(map-get($map, focus-opacity), map-get($focus, opacity)),
129
- outline:
130
- setter(map-get($map, focus-outline), map-get($focus, outline)),
131
- text-decoration:
132
- setter(
133
- map-get($map, focus-text-decoration),
134
- map-get($focus, text-decoration)
135
- ),
136
- z-index:
137
- setter(map-get($map, focus-z-index), map-get($focus, z-index)),
138
- )
139
- );
107
+ $focus: setter(map-get($map, focus), ());
108
+ $focus: map-merge(
109
+ $focus,
110
+ (
111
+ background-color:
112
+ setter(
113
+ map-get($map, focus-bg),
114
+ map-get($focus, background-color)
115
+ ),
116
+ border-color:
117
+ setter(
118
+ map-get($map, focus-border-color),
119
+ map-get($focus, border-color)
120
+ ),
121
+ border-radius:
122
+ setter(
123
+ map-get($map, focus-border-radius),
124
+ map-get($focus, border-radius)
125
+ ),
126
+ box-shadow:
127
+ setter(
128
+ map-get($map, focus-box-shadow),
129
+ map-get($focus, box-shadow)
130
+ ),
131
+ color:
132
+ setter(map-get($map, focus-color), map-get($focus, color)),
133
+ opacity:
134
+ setter(
135
+ map-get($map, focus-opacity),
136
+ map-get($focus, opacity)
137
+ ),
138
+ outline:
139
+ setter(
140
+ map-get($map, focus-outline),
141
+ map-get($focus, outline)
142
+ ),
143
+ text-decoration:
144
+ setter(
145
+ map-get($map, focus-text-decoration),
146
+ map-get($focus, text-decoration)
147
+ ),
148
+ z-index:
149
+ setter(
150
+ map-get($map, focus-z-index),
151
+ map-get($focus, z-index)
152
+ ),
153
+ )
154
+ );
140
155
 
141
- $active: setter(map-get($map, active), ());
142
- $active: map-merge(
143
- $active,
144
- (
145
- background-color:
146
- setter(
147
- map-get($map, active-bg),
148
- map-get($active, background-color)
149
- ),
150
- border-color:
151
- setter(
152
- map-get($map, active-border-color),
153
- map-get($active, border-color)
154
- ),
155
- color: setter(map-get($map, active-color), map-get($active, color)),
156
- font-weight:
157
- setter(
158
- map-get($map, active-font-weight),
159
- map-get($active, font-weight)
160
- ),
161
- z-index:
162
- setter(map-get($map, active-z-index), map-get($active, z-index)),
163
- )
164
- );
156
+ $active: setter(map-get($map, active), ());
157
+ $active: map-merge(
158
+ $active,
159
+ (
160
+ background-color:
161
+ setter(
162
+ map-get($map, active-bg),
163
+ map-get($active, background-color)
164
+ ),
165
+ border-color:
166
+ setter(
167
+ map-get($map, active-border-color),
168
+ map-get($active, border-color)
169
+ ),
170
+ color:
171
+ setter(
172
+ map-get($map, active-color),
173
+ map-get($active, color)
174
+ ),
175
+ font-weight:
176
+ setter(
177
+ map-get($map, active-font-weight),
178
+ map-get($active, font-weight)
179
+ ),
180
+ z-index:
181
+ setter(
182
+ map-get($map, active-z-index),
183
+ map-get($active, z-index)
184
+ ),
185
+ )
186
+ );
165
187
 
166
- $active-class: setter(map-get($map, active-class), ());
167
- $active-class: map-merge(
168
- $active-class,
169
- (
170
- background-color:
171
- setter(
172
- map-get($map, active-class-bg),
173
- map-get($active-class, background-color),
174
- map-get($active, background-color)
175
- ),
176
- border-color:
177
- setter(
178
- map-get($map, active-class-border-color),
179
- map-get($active-class, border-color),
180
- map-get($active, border-color)
181
- ),
182
- color:
183
- setter(
184
- map-get($map, active-class-color),
185
- map-get($active-class, color),
186
- map-get($active, color)
187
- ),
188
- font-weight:
189
- setter(
190
- map-get($map, active-class-font-weight),
191
- map-get($active-class, font-weight),
192
- map-get($active, font-weight)
193
- ),
194
- z-index:
195
- setter(
196
- map-get($map, active-class-z-index),
197
- map-get($active-class, z-index),
198
- map-get($active, z-index)
199
- ),
200
- )
201
- );
188
+ $active-class: setter(map-get($map, active-class), ());
189
+ $active-class: map-merge(
190
+ $active-class,
191
+ (
192
+ background-color:
193
+ setter(
194
+ map-get($map, active-class-bg),
195
+ map-get($active-class, background-color),
196
+ map-get($active, background-color)
197
+ ),
198
+ border-color:
199
+ setter(
200
+ map-get($map, active-class-border-color),
201
+ map-get($active-class, border-color),
202
+ map-get($active, border-color)
203
+ ),
204
+ color:
205
+ setter(
206
+ map-get($map, active-class-color),
207
+ map-get($active-class, color),
208
+ map-get($active, color)
209
+ ),
210
+ font-weight:
211
+ setter(
212
+ map-get($map, active-class-font-weight),
213
+ map-get($active-class, font-weight),
214
+ map-get($active, font-weight)
215
+ ),
216
+ z-index:
217
+ setter(
218
+ map-get($map, active-class-z-index),
219
+ map-get($active-class, z-index),
220
+ map-get($active, z-index)
221
+ ),
222
+ )
223
+ );
202
224
 
203
- $disabled: setter(map-get($map, disabled), ());
204
- $disabled: map-merge(
205
- $disabled,
206
- (
207
- background-color:
208
- setter(
209
- map-get($map, disabled-bg),
210
- map-get($disabled, background-color)
211
- ),
212
- border-color:
213
- setter(
214
- map-get($map, disabled-border-color),
215
- map-get($disabled, border-color)
216
- ),
217
- box-shadow:
218
- setter(
219
- map-get($map, disabled-box-shadow),
220
- map-get($disabled, box-shadow)
221
- ),
222
- color:
223
- setter(map-get($map, disabled-color), map-get($disabled, color)),
224
- cursor:
225
- setter(
226
- map-get($map, disabled-cursor),
227
- map-get($disabled, cursor)
228
- ),
229
- opacity:
230
- setter(
231
- map-get($map, disabled-opacity),
232
- map-get($disabled, opacity)
233
- ),
234
- pointer-events:
235
- setter(
236
- map-get($map, disabled-pointer-events),
237
- map-get($disabled, pointer-events)
238
- ),
239
- text-decoration:
240
- setter(
241
- map-get($map, disabled-text-decoration),
242
- map-get($disabled, text-decoration)
243
- ),
244
- )
245
- );
225
+ $disabled: setter(map-get($map, disabled), ());
226
+ $disabled: map-merge(
227
+ $disabled,
228
+ (
229
+ background-color:
230
+ setter(
231
+ map-get($map, disabled-bg),
232
+ map-get($disabled, background-color)
233
+ ),
234
+ border-color:
235
+ setter(
236
+ map-get($map, disabled-border-color),
237
+ map-get($disabled, border-color)
238
+ ),
239
+ box-shadow:
240
+ setter(
241
+ map-get($map, disabled-box-shadow),
242
+ map-get($disabled, box-shadow)
243
+ ),
244
+ color:
245
+ setter(
246
+ map-get($map, disabled-color),
247
+ map-get($disabled, color)
248
+ ),
249
+ cursor:
250
+ setter(
251
+ map-get($map, disabled-cursor),
252
+ map-get($disabled, cursor)
253
+ ),
254
+ opacity:
255
+ setter(
256
+ map-get($map, disabled-opacity),
257
+ map-get($disabled, opacity)
258
+ ),
259
+ pointer-events:
260
+ setter(
261
+ map-get($map, disabled-pointer-events),
262
+ map-get($disabled, pointer-events)
263
+ ),
264
+ text-decoration:
265
+ setter(
266
+ map-get($map, disabled-text-decoration),
267
+ map-get($disabled, text-decoration)
268
+ ),
269
+ )
270
+ );
246
271
 
247
- $disabled-active: setter(map-get($map, disabled-active), ());
248
- $disabled-active: map-merge(
249
- (
250
- pointer-events: map-get($map, disabled-active-pointer-events),
251
- ),
252
- $disabled-active
253
- );
272
+ $disabled-active: setter(map-get($map, disabled-active), ());
273
+ $disabled-active: map-merge(
274
+ (
275
+ pointer-events: map-get($map, disabled-active-pointer-events),
276
+ ),
277
+ $disabled-active
278
+ );
254
279
 
255
- $btn-focus: setter(map-get($map, btn-focus), ());
256
- $btn-focus: map-merge(
257
- $btn-focus,
258
- (
259
- box-shadow:
260
- setter(
261
- map-get($map, btn-focus-box-shadow),
262
- map-get($btn-focus, box-shadow)
263
- ),
264
- outline:
265
- setter(
266
- map-get($map, btn-focus-outline),
267
- map-get($btn-focus, outline)
268
- ),
269
- )
270
- );
280
+ $btn-focus: setter(map-get($map, btn-focus), ());
281
+ $btn-focus: map-merge(
282
+ $btn-focus,
283
+ (
284
+ box-shadow:
285
+ setter(
286
+ map-get($map, btn-focus-box-shadow),
287
+ map-get($btn-focus, box-shadow)
288
+ ),
289
+ outline:
290
+ setter(
291
+ map-get($map, btn-focus-outline),
292
+ map-get($btn-focus, outline)
293
+ ),
294
+ )
295
+ );
271
296
 
272
- $lexicon-icon: setter(map-get($map, lexicon-icon), ());
273
- $lexicon-icon: map-merge(
274
- $lexicon-icon,
275
- (
276
- font-size:
277
- setter(
278
- map-get($map, lexicon-icon-font-size),
279
- map-get($lexicon-icon, font-size)
280
- ),
281
- margin-bottom:
282
- setter(
283
- map-get($map, lexicon-icon-margin-bottom),
284
- map-get($lexicon-icon, margin-bottom)
285
- ),
286
- margin-left:
287
- setter(
288
- map-get($map, lexicon-icon-margin-left),
289
- map-get($lexicon-icon, margin-left)
290
- ),
291
- margin-right:
292
- setter(
293
- map-get($map, lexicon-icon-margin-right),
294
- map-get($lexicon-icon, margin-right)
295
- ),
296
- margin-top:
297
- setter(
298
- map-get($map, lexicon-icon-margin-top),
299
- map-get($lexicon-icon, margin-top)
300
- ),
301
- )
302
- );
297
+ $lexicon-icon: setter(map-get($map, lexicon-icon), ());
298
+ $lexicon-icon: map-merge(
299
+ $lexicon-icon,
300
+ (
301
+ font-size:
302
+ setter(
303
+ map-get($map, lexicon-icon-font-size),
304
+ map-get($lexicon-icon, font-size)
305
+ ),
306
+ margin-bottom:
307
+ setter(
308
+ map-get($map, lexicon-icon-margin-bottom),
309
+ map-get($lexicon-icon, margin-bottom)
310
+ ),
311
+ margin-left:
312
+ setter(
313
+ map-get($map, lexicon-icon-margin-left),
314
+ map-get($lexicon-icon, margin-left)
315
+ ),
316
+ margin-right:
317
+ setter(
318
+ map-get($map, lexicon-icon-margin-right),
319
+ map-get($lexicon-icon, margin-right)
320
+ ),
321
+ margin-top:
322
+ setter(
323
+ map-get($map, lexicon-icon-margin-top),
324
+ map-get($lexicon-icon, margin-top)
325
+ ),
326
+ )
327
+ );
303
328
 
304
- $c-inner: setter(map-get($map, c-inner), ());
305
- $c-inner: map-merge(
306
- (
307
- enabled:
308
- setter(
309
- if(
310
- variable-exists(enable-c-inner),
311
- $enable-c-inner,
312
- $cadmin-enable-c-inner
313
- ),
314
- true
315
- ),
316
- margin-bottom: math-sign(map-get($map, padding-bottom)),
317
- margin-left: math-sign(map-get($map, padding-left)),
318
- margin-right: math-sign(map-get($map, padding-right)),
319
- margin-top: math-sign(map-get($map, padding-top)),
320
- ),
321
- $c-inner
322
- );
329
+ $c-inner: setter(map-get($map, c-inner), ());
330
+ $c-inner: map-merge(
331
+ (
332
+ enabled:
333
+ setter(
334
+ if(
335
+ variable-exists(enable-c-inner),
336
+ $enable-c-inner,
337
+ $cadmin-enable-c-inner
338
+ ),
339
+ true
340
+ ),
341
+ margin-bottom: math-sign(map-get($map, padding-bottom)),
342
+ margin-left: math-sign(map-get($map, padding-left)),
343
+ margin-right: math-sign(map-get($map, padding-right)),
344
+ margin-top: math-sign(map-get($map, padding-top)),
345
+ ),
346
+ $c-inner
347
+ );
323
348
 
324
- @if ($enabled) {
325
- @include clay-css($base);
349
+ @if ($enabled) {
350
+ @include clay-css($base);
326
351
 
327
- &:hover {
328
- @include clay-css($hover);
329
- }
352
+ &:hover {
353
+ @include clay-css($hover);
354
+ }
330
355
 
331
- @at-root {
332
- button#{&} {
333
- &:focus {
334
- @include clay-css($btn-focus);
356
+ @at-root {
357
+ button#{&} {
358
+ &:focus {
359
+ @include clay-css($btn-focus);
360
+ }
335
361
  }
336
362
  }
337
- }
338
363
 
339
- &:focus {
340
- @include clay-css($focus);
341
- }
364
+ &:focus {
365
+ @include clay-css($focus);
366
+ }
342
367
 
343
- &:active {
344
- @include clay-css($active);
345
- }
368
+ &:active {
369
+ @include clay-css($active);
370
+ }
346
371
 
347
- &.active {
348
- @include clay-css($active-class);
349
- }
372
+ &.active {
373
+ @include clay-css($active-class);
374
+ }
350
375
 
351
- &:disabled,
352
- &.disabled {
353
- @include clay-css($disabled);
376
+ &:disabled,
377
+ &.disabled {
378
+ @include clay-css($disabled);
354
379
 
355
- &:active {
356
- @include clay-css($disabled-active);
380
+ &:active {
381
+ @include clay-css($disabled-active);
382
+ }
357
383
  }
358
- }
359
384
 
360
- @if (map-get($c-inner, enabled)) {
361
- .c-inner {
362
- @include clay-css($c-inner);
385
+ @if (map-get($c-inner, enabled)) {
386
+ .c-inner {
387
+ @include clay-css($c-inner);
388
+ }
363
389
  }
364
- }
365
390
 
366
- .lexicon-icon {
367
- @include clay-css($lexicon-icon);
391
+ .lexicon-icon {
392
+ @include clay-css($lexicon-icon);
393
+ }
368
394
  }
369
395
  }
370
396
  }
@@ -601,6 +601,8 @@
601
601
  );
602
602
  }
603
603
  }
604
+
605
+ @include clay-generate-media-breakpoints($map);
604
606
  }
605
607
  }
606
608
  }
@@ -184,7 +184,7 @@
184
184
  $media-breakpoint-up: map-get($map, media-breakpoint-up);
185
185
 
186
186
  @each $breakpoint in map-keys($media-breakpoint-up) {
187
- $breakpoint-up: map-get($map, $breakpoint);
187
+ $breakpoint-up: map-get($media-breakpoint-up, $breakpoint);
188
188
 
189
189
  @include media-breakpoint-up($breakpoint) {
190
190
  @include clay-css($breakpoint-up);
@@ -195,8 +195,8 @@
195
195
  @if (map-get($map, media-breakpoint-down)) {
196
196
  $media-breakpoint-down: map-get($map, media-breakpoint-down);
197
197
 
198
- @each $breakpoint in map-keys($map) {
199
- $breakpoint-down: map-get($map, $breakpoint);
198
+ @each $breakpoint in map-keys($media-breakpoint-down) {
199
+ $breakpoint-down: map-get($media-breakpoint-down, $breakpoint);
200
200
 
201
201
  @include media-breakpoint-down($breakpoint) {
202
202
  @include clay-css($breakpoint-down);