@volvo-cars/css 1.52.1 → 2.0.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.
package/dist/llm/meta.md CHANGED
@@ -19,16 +19,12 @@ Utility classes may be combined with other classes and include the CSS rules the
19
19
 
20
20
  .spinner
21
21
 
22
- .dialog
23
-
24
22
  .dialog-large
25
23
 
26
24
  .dialog-small
27
25
 
28
26
  .sheet
29
27
 
30
- .dialog__close
31
-
32
28
  .radio
33
29
 
34
30
  .checkbox
@@ -49,8 +45,6 @@ Utility classes may be combined with other classes and include the CSS rules the
49
45
 
50
46
  .chip-dismissible
51
47
 
52
- .toggle-group-button
53
-
54
48
  .link-inline
55
49
 
56
50
  .link-underlined
@@ -85,6 +79,8 @@ Utility classes may be combined with other classes and include the CSS rules the
85
79
 
86
80
  .media-banner
87
81
 
82
+ .message-bar
83
+
88
84
  .tooltip
89
85
 
90
86
  .skeleton
@@ -124,8 +120,6 @@ Utility classes may be combined with other classes and include the CSS rules the
124
120
 
125
121
  .heading-2
126
122
 
127
- .heading-3
128
-
129
123
  .input-floating-label
130
124
 
131
125
  .list
@@ -156,8 +150,6 @@ Utility classes may be combined with other classes and include the CSS rules the
156
150
 
157
151
  .reel
158
152
 
159
- .reel-indicators
160
-
161
153
  .stack-4
162
154
 
163
155
  .stack-8
@@ -180,6 +172,8 @@ Utility classes may be combined with other classes and include the CSS rules the
180
172
 
181
173
  .stack-text
182
174
 
175
+ .heading-3
176
+
183
177
  .layout-4-5
184
178
 
185
179
  .layout-5-4
@@ -487,100 +481,8 @@ border-radius: var(--v-shape-emphasis)
487
481
  .rounded-none
488
482
  border-radius: 0
489
483
 
490
- .rounded
491
- border-radius: var(--v-radius-sm)
492
-
493
- .rounded-sm
494
- border-radius: var(--v-radius-sm)
495
-
496
- .rounded-md
497
- border-radius: var(--v-radius-md)
498
-
499
- .rounded-lg
500
- border-radius: var(--v-radius-lg)
501
-
502
484
  .rounded-full
503
- border-radius: var(--v-radius-full)
504
-
505
- .rounded-t
506
- border-start-start-radius: var(--v-radius-sm)
507
- border-start-end-radius: var(--v-radius-sm)
508
-
509
- .rounded-t-sm
510
- border-start-start-radius: var(--v-radius-sm)
511
- border-start-end-radius: var(--v-radius-sm)
512
-
513
- .rounded-t-md
514
- border-start-start-radius: var(--v-radius-md)
515
- border-start-end-radius: var(--v-radius-md)
516
-
517
- .rounded-t-lg
518
- border-start-start-radius: var(--v-radius-lg)
519
- border-start-end-radius: var(--v-radius-lg)
520
-
521
- .rounded-t-full
522
- border-start-start-radius: var(--v-radius-full)
523
- border-start-end-radius: var(--v-radius-full)
524
-
525
- .rounded-e
526
- border-start-end-radius: var(--v-radius-sm)
527
- border-end-end-radius: var(--v-radius-sm)
528
-
529
- .rounded-e-sm
530
- border-start-end-radius: var(--v-radius-sm)
531
- border-end-end-radius: var(--v-radius-sm)
532
-
533
- .rounded-e-md
534
- border-start-end-radius: var(--v-radius-md)
535
- border-end-end-radius: var(--v-radius-md)
536
-
537
- .rounded-e-lg
538
- border-start-end-radius: var(--v-radius-lg)
539
- border-end-end-radius: var(--v-radius-lg)
540
-
541
- .rounded-e-full
542
- border-start-end-radius: var(--v-radius-full)
543
- border-end-end-radius: var(--v-radius-full)
544
-
545
- .rounded-b
546
- border-end-end-radius: var(--v-radius-sm)
547
- border-end-start-radius: var(--v-radius-sm)
548
-
549
- .rounded-b-sm
550
- border-end-end-radius: var(--v-radius-sm)
551
- border-end-start-radius: var(--v-radius-sm)
552
-
553
- .rounded-b-md
554
- border-end-end-radius: var(--v-radius-md)
555
- border-end-start-radius: var(--v-radius-md)
556
-
557
- .rounded-b-lg
558
- border-end-end-radius: var(--v-radius-lg)
559
- border-end-start-radius: var(--v-radius-lg)
560
-
561
- .rounded-b-full
562
- border-end-end-radius: var(--v-radius-full)
563
- border-end-start-radius: var(--v-radius-full)
564
-
565
- .rounded-s
566
- border-start-start-radius: var(--v-radius-sm)
567
- border-end-start-radius: var(--v-radius-sm)
568
-
569
- .rounded-s-sm
570
- border-start-start-radius: var(--v-radius-sm)
571
- border-end-start-radius: var(--v-radius-sm)
572
-
573
- .rounded-s-md
574
- border-start-start-radius: var(--v-radius-md)
575
- border-end-start-radius: var(--v-radius-md)
576
-
577
- .rounded-s-lg
578
- border-start-start-radius: var(--v-radius-lg)
579
- border-end-start-radius: var(--v-radius-lg)
580
-
581
- .rounded-s-full
582
- border-start-start-radius: var(--v-radius-full)
583
- border-end-start-radius: var(--v-radius-full)
485
+ border-radius: var(--v-shape-emphasis)
584
486
 
585
487
  .contain-none
586
488
  contain: none
@@ -1185,6 +1087,16 @@ margin-top: var(--v-space-s)
1185
1087
  .{lg,md,xl}:mb-s
1186
1088
  margin-bottom: var(--v-space-s)
1187
1089
 
1090
+ .{lg,md,xl}:mx-pageoffset
1091
+ margin-inline-end: var(--v-space-pageoffset)
1092
+ margin-inline-start: var(--v-space-pageoffset)
1093
+
1094
+ .{lg,md,xl}:mr-pageoffset
1095
+ margin-inline-end: var(--v-space-pageoffset)
1096
+
1097
+ .{lg,md,xl}:ml-pageoffset
1098
+ margin-inline-start: var(--v-space-pageoffset)
1099
+
1188
1100
  .{lg,md,xl}:mx-pagemargin
1189
1101
  margin-inline-end: var(--v-space-pagemargin)
1190
1102
  margin-inline-start: var(--v-space-pagemargin)
@@ -1767,6 +1679,16 @@ padding-top: var(--v-space-s)
1767
1679
  .{lg,md,xl}:pb-s
1768
1680
  padding-bottom: var(--v-space-s)
1769
1681
 
1682
+ .{lg,md,xl}:px-pageoffset
1683
+ padding-inline-end: var(--v-space-pageoffset)
1684
+ padding-inline-start: var(--v-space-pageoffset)
1685
+
1686
+ .{lg,md,xl}:pr-pageoffset
1687
+ padding-inline-end: var(--v-space-pageoffset)
1688
+
1689
+ .{lg,md,xl}:pl-pageoffset
1690
+ padding-inline-start: var(--v-space-pageoffset)
1691
+
1770
1692
  .{lg,md,xl}:px-pagemargin
1771
1693
  padding-inline-end: var(--v-space-pagemargin)
1772
1694
  padding-inline-start: var(--v-space-pagemargin)
@@ -2357,53 +2279,13 @@ z-index: var(--v-index-deep)
2357
2279
  ## Design tokens
2358
2280
  When writing CSS, use these CSS custom properties for relevant properties. Don't use custom fonts, spacing or colors outside of these values.
2359
2281
 
2360
- --v-color-always-black: Always black regardless of colour mode.
2361
- --v-color-always-white: Always white regardless of color mode.
2362
- --v-color-background-feedback-gray: Use as a background color to indicate informational messages.
2363
- --v-color-background-feedback-green: Use as a background color to highlight successful and positive states.
2364
- --v-color-background-feedback-orange: Use as a background color to highlight warnings, invalid or missing data, and states that require caution.
2365
- --v-color-background-feedback-red: Use as a background color to highlight errors, invalid data, and destructive states.
2366
- --v-color-background-primary: Use as a primary background color.
2367
- --v-color-background-secondary: Use as a secondary background color for elevated sections.
2368
- --v-color-foreground-accent-blue: For use in links and as a border in emphasized selected states.
2369
- --v-color-foreground-feedback-green: Use as a foreground or border color to highlight successful states and positive actions.
2370
- --v-color-foreground-feedback-orange: Use as a foreground or border color to highlight warnings, invalid or missing data, and actions that require caution.
2371
- --v-color-foreground-feedback-red: Use as a foreground or border color to highlight errors, invalid data, and destructive actions.
2372
- --v-color-foreground-inverted: The inverse of the primary foreground color. For use on filled surfaces.
2373
- --v-color-foreground-primary: Use for primary text, icons and borders.
2374
- --v-color-foreground-secondary: Use for secondary text, icons and borders.
2375
- --v-color-foreground-tertiary: The lightest possible foreground color acceptable for UI fills. Should not be used for body text.
2376
- --v-color-ornament-primary: Use for strokes or dividers to visually group or separate elements.
2377
- --v-color-ornament-scrim: Used as a backdrop that usually sits behind a Side sheet or Dialog component.
2378
- --v-color-state-accent-blue-medium: Use for state layers with foreground/accent/blue.
2379
- --v-color-state-accent-blue-strong: Use for state layers with foreground/accent/blue.
2380
- --v-color-state-accent-blue-subtle: Use for state layers with foreground/accent/blue.
2381
- --v-color-state-always-black-medium: Use for state layers with an always/black foreground color.
2382
- --v-color-state-always-black-strong: Use for state layers with an always/black foreground color.
2383
- --v-color-state-always-black-subtle: Use for state layers with an always/black foreground color.
2384
- --v-color-state-always-white-medium: Use for state layers with an always/white foreground color.
2385
- --v-color-state-always-white-strong: Use for state layers with an always/white foreground color.
2386
- --v-color-state-always-white-subtle: Use for state layers with an always/white foreground color.
2387
- --v-color-state-feedback-red-medium: Use for state layers with foreground/feedback/red.
2388
- --v-color-state-feedback-red-strong: Use for state layers with foreground/feedback/red.
2389
- --v-color-state-feedback-red-subtle: Use for state layers with foreground/feedback/red.
2390
- --v-color-state-inverted-medium: Use for state layers with foreground/inverted.
2391
- --v-color-state-inverted-strong: Use for state layers with foreground/inverted.
2392
- --v-color-state-inverted-subtle: Use for state layers with foreground/inverted.
2393
- --v-color-state-primary-medium: Use for state layers with foreground/primary.
2394
- --v-color-state-primary-strong: Use for state layers with foreground/primary.
2395
- --v-color-state-primary-subtle: Use for state layers with foreground/primary.
2396
- --v-color-surface-accent-blue: Used as an emphasized surface fill for UI elements like buttons and form controls.
2397
- --v-color-surface-feedback-green: Used as a surface fill for UI elements like buttons and form controls to signify positive actions. Combine with Always White foreground color.
2398
- --v-color-surface-feedback-orange: [Deprecated]
2399
- --v-color-surface-feedback-red: Used as a surface fill for UI elements like buttons and form controls to signify destructive actions. Combine with Always White foreground color.
2400
- --v-color-surface-neutral: Used as a surface fill for UI elements like buttons and form controls. Combine with Foreground / Inverted foreground color.
2401
- --v-font-sans-family--v-font-broad-family--v-font-mono-family--v-font-regular-weight--v-font-emphasis-weight--v-font-24-size--v-font-24-lineheight--v-font-24--v-font-20-size--v-font-20-lineheight--v-font-20--v-font-16-size--v-font-16-lineheight--v-font-16--v-font-14-size--v-font-14-lineheight--v-font-14--v-font-12-size--v-font-12-lineheight--v-font-12--v-font-heading-1-weight--v-font-heading-1-lineheight--v-font-heading-1-size-min--v-font-heading-1-size-max--v-font-heading-1-size--v-font-heading-1--v-font-heading-2-weight--v-font-heading-2-lineheight--v-font-heading-2-size-min--v-font-heading-2-size-max--v-font-heading-2-size--v-font-heading-2--v-font-heading-3-weight--v-font-heading-3-lineheight--v-font-heading-3-size-min--v-font-heading-3-size-max--v-font-heading-3-size--v-font-heading-3--v-font-statement-1-weight--v-font-statement-1-lineheight--v-font-statement-1-size-min--v-font-statement-1-size-max--v-font-statement-1-size--v-font-statement-1--v-font-statement-2-weight--v-font-statement-2-lineheight--v-font-statement-2-size-min--v-font-statement-2-size-max--v-font-statement-2-size--v-font-statement-2--v-font-statement-3-weight--v-font-statement-3-lineheight--v-font-statement-3-size-min--v-font-statement-3-size-max--v-font-statement-3-size--v-font-statement-3--v-font-statement-signature-weight--v-font-statement-signature-lineheight--v-font-statement-signature-size-min--v-font-statement-signature-size-max--v-font-statement-signature-size--v-font-statement-signature--v-space-l: Fluid spacing between 64px-96px.
2402
- --v-space-m: Fluid spacing between 48px-64px.
2403
- --v-space-s: Fluid spacing between 32px-48px.
2404
- --v-size-grid-column: The width of a single grid column.
2282
+ --v-space-l: --v-space-{l,m,s} will be deprecated. These are fallbacks for the new spacing system
2283
+ --v-space-m--v-space-s--v-size-grid-column: The width of a single grid column.
2405
2284
  --v-size-grid-maxwidth: The maximum width of the 12 column grid.
2406
2285
  --v-size-pagemax: The maximum width a page is allowed to grow to.
2286
+ --v-space-pageoffset: The inline offset from the viewport edge to the content area,
2287
+ matching the page layout. On viewports within pagemax this equals
2288
+ pagemargin; on wider viewports it adds the extra centering space.
2407
2289
  --v-size-grid-xs: Width based on the colspan of the grid for the current viewport size (4 / 6 / 4)
2408
2290
  --v-size-grid-sm: Width based on the colspan of the grid for the current viewport size (6 / 8 / 6)
2409
2291
  --v-size-grid-md: Width based on the colspan of the grid for the current viewport size (8 / 10 / 8)
@@ -2413,13 +2295,49 @@ When writing CSS, use these CSS custom properties for relevant properties. Don't
2413
2295
  --v-size-contentmax: The maximum width a block of content should be allowed to grow to while maintaining readability
2414
2296
  https://baymard.com/blog/line-length-readability
2415
2297
  --v-radius-sm--v-radius-md--v-radius-lg--v-radius-full--v-index-spinner--v-index-overlay--v-index-navigation--v-index-default--v-index-deep--v-grid-columns: The total number of grid columns at the current breakpoint.
2416
- --v-space-pagemargin: The fluid outer horizontal margins of the main page container.
2417
- 402 - 16px
2418
- 1600 - 64px
2419
- --v-space-gutter: The horizontal gap between grid columns. Fluid between 16px-32px.
2420
- --v-shape-default: Use as default value for all all non-interactive UI elements.
2421
- --v-shape-emphasis: Use for interactive UI, and elements that need to draw attention and create visual contrast from the rest of the page.
2422
- --v-transition-default--v-transition-micro--v-transition-notable--v-space-2: Fixed 2px spacing
2298
+ --v-font-heading-1-size-max--v-font-heading-2-size-max--v-font-heading-3-size-max--v-font-statement-1-size-max--v-font-statement-2-size-max--v-font-statement-3-size-max--v-font-statement-signature-size-max--v-transition-default--v-transition-micro--v-transition-notable--v-color-foreground-primary--v-color-foreground-secondary: Use for primary text, icons and borders.
2299
+ --v-color-foreground-tertiary: Use for secondary text, icons and borders.
2300
+ --v-color-foreground-inverted: The lightest possible foreground color acceptable for UI fills. Should not be used for body text.
2301
+ --v-color-foreground-accent-blue: The inverse of the primary foreground color. For use on filled surfaces.
2302
+ --v-color-foreground-feedback-green: For emphasized selection borders and graphic accents (icons, illustrations).
2303
+ --v-color-foreground-feedback-red: Use as a foreground or border color to highlight successful states and positive actions.
2304
+ --v-color-foreground-feedback-orange: Use as a foreground or border color to highlight errors, invalid data, and destructive actions.
2305
+ --v-color-surface-neutral: Use as a foreground or border color to highlight warnings, invalid or missing data, and actions that require caution.
2306
+ --v-color-surface-gray: Used as a surface fill for UI elements like buttons and form controls. Combine with Foreground / Inverted foreground color.
2307
+ --v-color-surface-accent-blue: Used as surface fill.
2308
+ --v-color-surface-accent-safety: Used as an emphasized surface fill for UI elements like buttons and form controls.
2309
+ --v-color-surface-feedback-green: Used as an emphasized surface fill for UI elements like buttons and form controls.
2310
+ --v-color-surface-feedback-orange: Used as a surface fill for UI elements like buttons and form controls to signify positive actions. Combine with Always White foreground color.
2311
+ --v-color-surface-feedback-red: [Deprecated]
2312
+ --v-color-background-primary: Used as a surface fill for UI elements like buttons and form controls to signify destructive actions. Combine with Always White foreground color.
2313
+ --v-color-background-secondary: Use as a primary background color.
2314
+ --v-color-background-feedback-gray: Use as a background color to highlight warnings, invalid or missing data, and states that require caution.
2315
+ --v-color-background-feedback-green: Use as a secondary background color for elevated sections.
2316
+ --v-color-background-feedback-red: Use as a background color to highlight successful and positive states.
2317
+ --v-color-background-feedback-orange: Use as a background color to highlight errors, invalid data, and destructive states.
2318
+ --v-color-always-white: Use as a background color to indicate informational messages.
2319
+ --v-color-always-black: Always white regardless of color mode.
2320
+ --v-color-ornament-primary: Always black regardless of colour mode.
2321
+ --v-color-ornament-scrim: Use for strokes or dividers to visually group or separate elements.
2322
+ --v-color-state-primary-strong: Used as a backdrop that usually sits behind a Side sheet or Dialog component.
2323
+ --v-color-state-primary-medium: Use for state layers with foreground/primary.
2324
+ --v-color-state-primary-subtle: Use for state layers with foreground/primary.
2325
+ --v-color-state-inverted-strong: Use for state layers with foreground/primary.
2326
+ --v-color-state-inverted-medium: Use for state layers with foreground/inverted.
2327
+ --v-color-state-inverted-subtle: Use for state layers with foreground/inverted.
2328
+ --v-color-state-accent-blue-strong: Use for state layers with foreground/inverted.
2329
+ --v-color-state-accent-blue-medium: Use for state layers with foreground/accent/blue.
2330
+ --v-color-state-accent-blue-subtle: Use for state layers with foreground/accent/blue.
2331
+ --v-color-state-feedback-red-strong: Use for state layers with foreground/accent/blue.
2332
+ --v-color-state-feedback-red-medium: Use for state layers with foreground/feedback/red.
2333
+ --v-color-state-feedback-red-subtle: Use for state layers with foreground/feedback/red.
2334
+ --v-color-state-always-black-strong: Use for state layers with foreground/feedback/red.
2335
+ --v-color-state-always-black-medium: Use for state layers with an always/black foreground color.
2336
+ --v-color-state-always-black-subtle: Use for state layers with an always/black foreground color.
2337
+ --v-color-state-always-white-strong: Use for state layers with an always/black foreground color.
2338
+ --v-color-state-always-white-medium: Use for state layers with an always/white foreground color.
2339
+ --v-color-state-always-white-subtle: Use for state layers with an always/white foreground color.
2340
+ --v-space-2: Fixed 2px spacing
2423
2341
  --v-space-4: Fixed 4px spacing
2424
2342
  --v-space-8: Fixed 8px spacing
2425
2343
  --v-space-12: Fixed 12px spacing
@@ -2429,13 +2347,22 @@ https://baymard.com/blog/line-length-readability
2429
2347
  --v-space-48: Fixed 48px spacing
2430
2348
  --v-space-64: Fixed 64px spacing
2431
2349
  --v-space-gridded-element-gap: Divider between gridded elements. Do not use for text.
2350
+ --v-space-pagemargin: The fluid outer horizontal margins of the main page container.
2351
+ 402 - 16px
2352
+ 1600 - 64px
2432
2353
  --v-space-xs: Fluid spacing between 8px-20px.
2433
2354
  --v-space-sm: Fluid spacing between 16px-32px.
2434
2355
  --v-space-md: Fluid spacing between 24px-48px.
2435
2356
  --v-space-lg: Fluid spacing between 32px-56px.
2436
2357
  --v-space-xl: Fluid spacing between 48px-72px.
2437
2358
  --v-space-2xl: Fluid spacing between 64px-128px.
2359
+ --v-space-gutter: The horizontal gap between grid columns. Fluid between 16px-32px.
2438
2360
  --v-border-width-default: Use for any UI element that needs a border in the default state.
2439
2361
  --v-border-width-selected: Use for any UI element that needs a border in the selected state.
2362
+ --v-size-overlay-narrow: Used to set the width of small overlays such as small dialogs, toasts
2363
+ --v-size-overlay-wide: Used to set the width of large overlays such as sheet, large dialogs
2440
2364
  --v-size-sidebar-narrow: Narrow sidebar width is 240 to 304 between lg and xl
2441
- --v-size-sidebar-wide: Wide sidebar width is 368 to 464 between lg and xl
2365
+ --v-size-sidebar-wide: Wide sidebar width is 368 to 464 between lg and xl
2366
+ --v-shape-default: Use as default value for all all non-interactive UI elements.
2367
+ --v-shape-emphasis: Use for interactive UI, and elements that need to draw attention and create visual contrast from the rest of the page.
2368
+ --v-font-12-size--v-font-12-lineheight--v-font-14-size--v-font-14-lineheight--v-font-16-size--v-font-16-lineheight--v-font-20-size--v-font-20-lineheight--v-font-24-size--v-font-24-lineheight--v-font-heading-3-weight--v-font-heading-3-size--v-font-heading-3-lineheight--v-font-heading-3-size-min--v-font-heading-2-weight--v-font-heading-2-size--v-font-heading-2-size-min--v-font-heading-2-lineheight--v-font-heading-1-weight--v-font-heading-1-size--v-font-heading-1-lineheight--v-font-heading-1-size-min--v-font-statement-3-weight--v-font-statement-3-size--v-font-statement-3-size-min--v-font-statement-3-lineheight--v-font-statement-2-weight--v-font-statement-2-size--v-font-statement-2-size-min--v-font-statement-2-lineheight--v-font-statement-1-weight--v-font-statement-1-size--v-font-statement-1-size-min--v-font-statement-1-lineheight--v-font-statement-signature-weight--v-font-statement-signature-size--v-font-statement-signature-size-min--v-font-statement-signature-lineheight--v-font-regular-weight--v-font-emphasis-weight--v-font-sans-family--v-font-broad-family--v-font-mono-family