@deque/cauldron-styles 4.5.0-canary.b2ef84aa → 4.5.0-canary.ca48f72e

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 (2) hide show
  1. package/dist/index.css +99 -0
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -20,6 +20,7 @@
20
20
  --accent-light: #d4dde0;
21
21
  --accent-success: #a5db75;
22
22
  --accent-success-light: #d1ffa4;
23
+ --accent-success-dark: #57a711;
23
24
  --accent-error: #d93251;
24
25
  --accent-error-active: #c92e40;
25
26
  --accent-danger: #fe6d6b;
@@ -35,6 +36,10 @@
35
36
  --accent-secondary-active: var(--gray-30);
36
37
  --focus-light: #c11bde;
37
38
  --focus-dark: #eb94ff;
39
+ --issue-critical: #ed5959;
40
+ --issue-serious: #f3826b;
41
+ --issue-moderatee: #ffdd76;
42
+ --issue-minor: #d3dde0;
38
43
 
39
44
  /* text colours */
40
45
  --text-color-base: var(--gray-60);
@@ -110,6 +115,10 @@
110
115
  --z-index-top-bar: 25;
111
116
  /* ensure this is 1 higher than the top bar z-index */
112
117
  --z-index-skip-container: calc(var(--z-index-top-bar) + 1);
118
+
119
+ /* radio card */
120
+ --radio-card-width: 255px;
121
+ --radio-card-height: 229px;
113
122
  }
114
123
 
115
124
  .cauldron--theme-dark {
@@ -2189,6 +2198,96 @@ p .Link {
2189
2198
  background-color: var(--accent-dark);
2190
2199
  }
2191
2200
 
2201
+ .RadioCard__overlay {
2202
+ border-radius: 50%;
2203
+ }
2204
+
2205
+ .RadioCard input[type='radio'] {
2206
+ position: absolute;
2207
+ opacity: 0;
2208
+ -webkit-appearance: none;
2209
+ -moz-appearance: none;
2210
+ appearance: none;
2211
+ height: 1px;
2212
+ width: 1px;
2213
+ }
2214
+
2215
+ .RadioCard__overlay.RadioCard__overlay--focused {
2216
+ border: 1px solid var(--focus);
2217
+ box-shadow: inset 0 0 0 1px var(--focus), 0 0 4px 2px var(--focus-glow);
2218
+ }
2219
+
2220
+ .RadioCard__overlay--checked.RadioCard__overlay--checked {
2221
+ background-color: var(--gray-20);
2222
+ }
2223
+
2224
+ .RadioCard__overlay.RadioCard__overlay--disabled,
2225
+ .RadioCard__overlay.RadioCard__overlay--disabled:hover {
2226
+ background-color: var(--gray-30);
2227
+ }
2228
+
2229
+ .RadioCardGroup {
2230
+ display: flex;
2231
+ gap: var(--space-large);
2232
+ flex-wrap: wrap;
2233
+ }
2234
+
2235
+ .RadioCardGroup .Radio + .Radio {
2236
+ margin-top: 0;
2237
+ }
2238
+
2239
+ .RadioCardGroup__Base {
2240
+ text-align: center;
2241
+ }
2242
+
2243
+ .RadioCardGroup__Checked {
2244
+ display: flex;
2245
+ justify-content: flex-end;
2246
+ min-height: 44px;
2247
+ }
2248
+
2249
+ .RadioCardGroup__Icon.Icon svg {
2250
+ color: var(--accent-success-dark);
2251
+ height: 44px;
2252
+ width: 44px;
2253
+ }
2254
+
2255
+ .RadioCardGroup__Card.Card--simple {
2256
+ width: var(--radio-card-width);
2257
+ height: var(--radio-card-height);
2258
+ align-content: center;
2259
+ }
2260
+
2261
+ .RadioCardGroup__Card:hover {
2262
+ background-color: var(--gray-20);
2263
+ }
2264
+
2265
+ .Radio__overlay--checked.Radio__overlay--checked {
2266
+ background-color: var(--gray-20);
2267
+ }
2268
+
2269
+ .RadioCardGroup__Image * {
2270
+ max-width: 100%;
2271
+ }
2272
+
2273
+ .RadioCardGroup__Image {
2274
+ width: 100px;
2275
+ height: 100px;
2276
+ display: flex;
2277
+ align-items: center;
2278
+ justify-content: center;
2279
+ margin: 0 auto;
2280
+ }
2281
+
2282
+ .RadioCardGroup__Label {
2283
+ font-size: var(--text-size-medium);
2284
+ font-weight: var(--font-weight-bold);
2285
+ color: var(--field-label-text-color);
2286
+ margin-top: var(--space-small);
2287
+ display: flex;
2288
+ justify-content: center;
2289
+ }
2290
+
2192
2291
  :root {
2193
2292
  --tile-background-color: var(--white);
2194
2293
  --list-separator: rgba(153, 153, 153, 0.15);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "4.5.0-canary.b2ef84aa",
3
+ "version": "4.5.0-canary.ca48f72e",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",