@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,243 +1,226 @@
1
- @if ($enable-atlas-custom-properties) {
2
- // Loading Animation
3
-
4
- // @deprecated as of v3.x with no replacement
5
-
6
- $loading-icon-font-size: 40px; // 40px
7
-
8
- // @deprecated as of v3.x with no replacement
9
-
10
- $loading-icon-font-size-sm: 16px; // 16px
11
-
12
- // Loading Animation
1
+ // Loading Animation
2
+
3
+ // @deprecated as of v3.x with no replacement
4
+
5
+ $loading-icon-font-size: 40px !default; // 40px
6
+
7
+ // @deprecated as of v3.x with no replacement
8
+
9
+ $loading-icon-font-size-sm: 16px !default; // 16px
10
+
11
+ // Loading Animation
12
+
13
+ $loading-animation: () !default;
14
+ $loading-animation: map-deep-merge(
15
+ (
16
+ display: var(--loading-animation-display, block),
17
+ height: var(--loading-animation-height, 1em),
18
+ margin-left: var(--loading-animation-margin-left, auto),
19
+ margin-right: var(--loading-animation-margin-right, auto),
20
+ overflow: var(--loading-animation-overflow, hidden),
21
+ position: var(--loading-animation-position, relative),
22
+ text-align: var(--loading-animation-text-align, left),
23
+ vertical-align: var(--loading-animation-vertical-align, middle),
24
+ width: var(--loading-animation-width, 1em),
25
+ before: (
26
+ animation:
27
+ var(
28
+ --loading-animation-before-animation,
29
+ loading-animation-circle 1s linear infinite
30
+ ),
31
+ border-radius: var(--loading-animation-before-border-radius, 50%),
32
+ box-shadow:
33
+ var(
34
+ --loading-animation-before-box-shadow,
35
+ -0.03125em -0.375em 0 0 currentColor
36
+ ),
37
+ content: var(--loading-animation-before-content, ''),
38
+ height: var(--loading-animation-before-height, 0.25em),
39
+ left: var(--loading-animation-before-left, 50%),
40
+ margin-left: var(--loading-animation-before-margin-left, -0.125em),
41
+ margin-top: var(--loading-animation-before-margin-top, -0.125em),
42
+ position: var(--loading-animation-before-position, absolute),
43
+ top: var(--loading-animation-before-top, 50%),
44
+ width: var(--loading-animation-before-width, 0.25em),
45
+ ),
13
46
 
14
- $loading-animation: ();
15
- $loading-animation: map-deep-merge(
16
- (
47
+ after: (
48
+ animation:
49
+ var(
50
+ --loading-animation-animation,
51
+ loading-animation-circle 1s linear infinite
52
+ ),
53
+ background-color:
54
+ var(--loading-animation-background-color, currentColor),
55
+ border-radius: var(--loading-animation-border-radius, 50%),
56
+ content: var(--loading-animation-content, ''),
17
57
  display: var(--loading-animation-display, block),
18
58
  height: var(--loading-animation-height, 1em),
19
- margin-left: var(--loading-animation-margin-left, auto),
20
- margin-right: var(--loading-animation-margin-right, auto),
21
- overflow: var(--loading-animation-overflow, hidden),
22
- position: var(--loading-animation-position, relative),
23
- text-align: var(--loading-animation-text-align, left),
24
- vertical-align: var(--loading-animation-vertical-align, middle),
59
+ -webkit-mask: var(--loading-animation--webkit-mask, #{conic-gradient(
60
+ transparent 10%,
61
+ #000
62
+ ), linear-gradient(#000 0 0) content-box}),
63
+ -webkit-mask-composite: var(--loading-animation--webkit-mask-composite, source-out),
64
+ mask-composite: var(--loading-animation-mask-composite, subtract),
65
+ padding: var(--loading-animation-padding, 0.25em),
25
66
  width: var(--loading-animation-width, 1em),
26
- before: (
27
- animation:
28
- var(
29
- --loading-animation-before-animation,
30
- loading-animation-circle 1s linear infinite
31
- ),
32
- border-radius:
33
- var(--loading-animation-before-border-radius, 50%),
34
- box-shadow:
35
- var(
36
- --loading-animation-before-box-shadow,
37
- -0.03125em -0.375em 0 0 currentColor
38
- ),
39
- content: var(--loading-animation-before-content, ''),
40
- height: var(--loading-animation-before-height, 0.25em),
41
- left: var(--loading-animation-before-left, 50%),
42
- margin-left:
43
- var(--loading-animation-before-margin-left, -0.125em),
44
- margin-top:
45
- var(--loading-animation-before-margin-top, -0.125em),
46
- position: var(--loading-animation-before-position, absolute),
47
- top: var(--loading-animation-before-top, 50%),
48
- width: var(--loading-animation-before-width, 0.25em),
49
- ),
50
-
51
- after: (
52
- animation:
53
- var(
54
- --loading-animation-animation,
55
- loading-animation-circle 1s linear infinite
56
- ),
57
- background-color:
58
- var(--loading-animation-background-color, currentColor),
59
- border-radius: var(--loading-animation-border-radius, 50%),
60
- content: var(--loading-animation-content, ''),
61
- display: var(--loading-animation-display, block),
62
- height: var(--loading-animation-height, 1em),
63
- -webkit-mask:
64
- var(
65
- --loading-animation--webkit-mask,
66
- #{conic-gradient(transparent 10%, #000),
67
- linear-gradient(#000 0 0) content-box}
68
- ),
69
- -webkit-mask-composite:
70
- var(--loading-animation--webkit-mask-composite, source-out),
71
- mask-composite:
72
- var(--loading-animation-mask-composite, subtract),
73
- padding: var(--loading-animation-padding, 0.25em),
74
- width: var(--loading-animation-width, 1em),
75
- ),
76
67
  ),
77
- $loading-animation
78
- );
68
+ ),
69
+ $loading-animation
70
+ );
71
+
72
+ // .loading-animation-squares
73
+
74
+ $loading-animation-squares: () !default;
75
+ $loading-animation-squares: map-deep-merge(
76
+ (
77
+ display: block,
78
+ height: 1em,
79
+ margin-left: auto,
80
+ margin-right: auto,
81
+ position: relative,
82
+ text-align: left,
83
+ vertical-align: middle,
84
+ width: 1em,
85
+
86
+ before: (
87
+ animation: loading-animation-squares-box-1 2.4s ease-in-out infinite,
88
+ background-color: currentColor,
89
+ border-radius: 0.2em,
90
+ content: '',
91
+ display: block,
92
+ font-size: 0.3125em,
93
+ height: 1em,
94
+ left: 0,
95
+ opacity: 0.4,
96
+ position: absolute,
97
+ top: 0,
98
+ transform: scale(1),
99
+ width: 1em,
100
+ ),
79
101
 
80
- // .loading-animation-squares
102
+ after: (
103
+ animation: loading-animation-squares-box-2 2.4s ease-in-out infinite,
104
+ background-color: currentColor,
105
+ border-radius: 0.2em,
106
+ content: '',
107
+ display: block,
108
+ font-size: 0.3125em,
109
+ height: 1em,
110
+ left: calc(100% - 1.5em),
111
+ opacity: 1,
112
+ position: absolute,
113
+ top: calc(100% - 1.5em),
114
+ transform: scale(2),
115
+ width: 1em,
116
+ ),
81
117
 
82
- $loading-animation-squares: ();
83
- $loading-animation-squares: map-deep-merge(
84
- (
118
+ 'prefers-reduced-motion': (
85
119
  display: block,
86
120
  height: 1em,
87
121
  margin-left: auto,
88
122
  margin-right: auto,
123
+ overflow: hidden,
89
124
  position: relative,
90
125
  text-align: left,
91
126
  vertical-align: middle,
92
127
  width: 1em,
93
128
 
94
- before: (
95
- animation:
96
- loading-animation-squares-box-1
97
- 2.4s
98
- ease-in-out
99
- infinite,
100
- background-color: currentColor,
101
- border-radius: 0.2em,
129
+ '&::before': (
130
+ animation: loading-animation-circle 1s linear infinite,
131
+ background-color: transparent,
132
+ border-radius: 50%,
133
+ box-shadow: -0.03125em -0.375em 0 0 currentColor,
102
134
  content: '',
103
135
  display: block,
104
- font-size: 0.3125em,
105
- height: 1em,
106
- left: 0,
107
- opacity: 0.4,
136
+ font-size: inherit,
137
+ height: 0.25em,
138
+ left: 50%,
139
+ margin-left: -0.125em,
140
+ margin-top: -0.125em,
141
+ opacity: inherit,
108
142
  position: absolute,
109
- top: 0,
110
- transform: scale(1),
111
- width: 1em,
143
+ top: 50%,
144
+ transform: none,
145
+ width: 0.25em,
112
146
  ),
113
147
 
114
- after: (
115
- animation:
116
- loading-animation-squares-box-2
117
- 2.4s
118
- ease-in-out
119
- infinite,
148
+ '&::after': (
149
+ animation: loading-animation-circle 1s linear infinite,
120
150
  background-color: currentColor,
121
- border-radius: 0.2em,
151
+ border-radius: 50%,
122
152
  content: '',
123
153
  display: block,
124
- font-size: 0.3125em,
154
+ font-size: inherit,
125
155
  height: 1em,
126
- left: calc(100% - 1.5em),
127
- opacity: 1,
128
- position: absolute,
129
- top: calc(100% - 1.5em),
130
- transform: scale(2),
131
- width: 1em,
132
- ),
156
+ left: auto,
133
157
 
134
- 'prefers-reduced-motion': (
135
- display: block,
136
- height: 1em,
137
- margin-left: auto,
138
- margin-right: auto,
139
- overflow: hidden,
158
+ -webkit-mask: #{conic-gradient(transparent 10%, #000),
159
+ linear-gradient(#000 0 0) content-box},
160
+ -webkit-mask-composite: source-out,
161
+
162
+ mask-composite: subtract,
163
+ padding: 0.25em,
140
164
  position: relative,
141
- text-align: left,
142
- vertical-align: middle,
165
+ top: auto,
166
+ transform: none,
143
167
  width: 1em,
144
-
145
- '&::before': (
146
- animation: loading-animation-circle 1s linear infinite,
147
- background-color: transparent,
148
- border-radius: 50%,
149
- box-shadow: -0.03125em -0.375em 0 0 currentColor,
150
- content: '',
151
- display: block,
152
- font-size: inherit,
153
- height: 0.25em,
154
- left: 50%,
155
- margin-left: -0.125em,
156
- margin-top: -0.125em,
157
- opacity: inherit,
158
- position: absolute,
159
- top: 50%,
160
- transform: none,
161
- width: 0.25em,
162
- ),
163
-
164
- '&::after': (
165
- animation: loading-animation-circle 1s linear infinite,
166
- background-color: currentColor,
167
- border-radius: 50%,
168
- content: '',
169
- display: block,
170
- font-size: inherit,
171
- height: 1em,
172
- left: auto,
173
-
174
- -webkit-mask: #{conic-gradient(transparent 10%, #000),
175
- linear-gradient(#000 0 0) content-box},
176
- -webkit-mask-composite: source-out,
177
-
178
- mask-composite: subtract,
179
- padding: 0.25em,
180
- position: relative,
181
- top: auto,
182
- transform: none,
183
- width: 1em,
184
- ),
185
168
  ),
186
169
  ),
187
- $loading-animation-squares
188
- );
170
+ ),
171
+ $loading-animation-squares
172
+ );
189
173
 
190
- // Loading Animation Sizes
174
+ // Loading Animation Sizes
191
175
 
192
- $loading-animation-sizes: ();
193
- $loading-animation-sizes: map-deep-merge(
194
- (
195
- loading-animation-xs: (
196
- font-size: var(--loading-animation-xs-font-size, 10px),
197
- ),
198
-
199
- loading-animation-sm: (
200
- font-size:
201
- var(
202
- --loading-animation-sm-font-size,
203
- $loading-icon-font-size-sm
204
- ),
205
- ),
206
-
207
- loading-animation-md: (
208
- font-size: var(--loading-animation-md-font-size, 32px),
209
- ),
210
-
211
- loading-animation-lg: (
212
- font-size: var(--loading-animation-lg-font-size, 64px),
213
- ),
176
+ $loading-animation-sizes: () !default;
177
+ $loading-animation-sizes: map-deep-merge(
178
+ (
179
+ loading-animation-xs: (
180
+ font-size: var(--loading-animation-xs-font-size, 10px),
214
181
  ),
215
- $loading-animation-sizes
216
- );
217
182
 
218
- // Loading Animation Variants
183
+ loading-animation-sm: (
184
+ font-size:
185
+ var(
186
+ --loading-animation-sm-font-size,
187
+ $loading-icon-font-size-sm
188
+ ),
189
+ ),
219
190
 
220
- $loading-animation-light: ();
221
- $loading-animation-light: map-deep-merge(
222
- (
223
- color: var(--loading-animation-light-color, $white),
191
+ loading-animation-md: (
192
+ font-size: var(--loading-animation-md-font-size, 32px),
224
193
  ),
225
- $loading-animation-light
226
- );
227
-
228
- $loading-animation-palette: ();
229
- $loading-animation-palette: map-deep-merge(
230
- (
231
- loading-animation-primary: (
232
- color: var(--loading-animation-primary-color, $primary),
233
- ),
234
194
 
235
- loading-animation-secondary: (
236
- color: var(--loading-animation-secondary-color, $secondary),
237
- ),
195
+ loading-animation-lg: (
196
+ font-size: var(--loading-animation-lg-font-size, 64px),
197
+ ),
198
+ ),
199
+ $loading-animation-sizes
200
+ );
201
+
202
+ // Loading Animation Variants
203
+
204
+ $loading-animation-light: () !default;
205
+ $loading-animation-light: map-deep-merge(
206
+ (
207
+ color: var(--loading-animation-light-color, $white),
208
+ ),
209
+ $loading-animation-light
210
+ );
211
+
212
+ $loading-animation-palette: () !default;
213
+ $loading-animation-palette: map-deep-merge(
214
+ (
215
+ loading-animation-primary: (
216
+ color: var(--loading-animation-primary-color, $primary),
217
+ ),
238
218
 
239
- loading-animation-light: $loading-animation-light,
219
+ loading-animation-secondary: (
220
+ color: var(--loading-animation-secondary-color, $secondary),
240
221
  ),
241
- $loading-animation-palette
242
- );
243
- }
222
+
223
+ loading-animation-light: $loading-animation-light,
224
+ ),
225
+ $loading-animation-palette
226
+ );