@volvo-cars/css 1.53.0 → 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/styles.d.ts CHANGED
@@ -704,7 +704,7 @@ export interface ClassNames {
704
704
  * max-width: 100%
705
705
  * height: 3rem
706
706
  * font-size: var(--v-font-16-size)
707
- * font-weight: var(--v-font-emphasis-weight)
707
+ * font-weight: var(--v-font-regular-weight)
708
708
  * white-space: nowrap
709
709
  * overflow-x: clip
710
710
  * --button-accent-color: var(--v-color-surface-neutral)
@@ -738,7 +738,7 @@ export interface ClassNames {
738
738
  * max-width: 100%
739
739
  * height: 3rem
740
740
  * font-size: var(--v-font-16-size)
741
- * font-weight: var(--v-font-emphasis-weight)
741
+ * font-weight: var(--v-font-regular-weight)
742
742
  * white-space: nowrap
743
743
  * overflow-x: clip
744
744
  * background: color-mix(in oklab,
@@ -764,7 +764,7 @@ export interface ClassNames {
764
764
  * max-width: 100%
765
765
  * height: 3rem
766
766
  * font-size: var(--v-font-16-size)
767
- * font-weight: var(--v-font-emphasis-weight)
767
+ * font-weight: var(--v-font-regular-weight)
768
768
  * white-space: nowrap
769
769
  * overflow-x: clip
770
770
  * --button-accent-color: var(--v-color-foreground-primary)
@@ -928,10 +928,6 @@ export interface ClassNames {
928
928
  * ```css
929
929
  * display: contents
930
930
  * ``` */ readonly contents: 'contents';
931
- /**
932
- * ```css
933
- *
934
- * ``` */ readonly dialog: 'dialog';
935
931
  /**
936
932
  * ```css
937
933
  *
@@ -944,16 +940,6 @@ export interface ClassNames {
944
940
  * max-width: calc(100vw - 3rem)
945
941
  * margin-bottom: auto
946
942
  * ``` */ readonly dialogSmall: 'dialog-small';
947
- /**
948
- * ```css
949
- * top: 0
950
- * height: var(--v-space-48)
951
- * justify-content: flex-end
952
- * align-items: center
953
- * display: flex
954
- * position: absolute
955
- * inset-inline-end: 0
956
- * ``` */ readonly dialogClose: 'dialog__close';
957
943
  /**
958
944
  * ```css
959
945
  * --range-thumb-width: 1.5rem
@@ -1368,12 +1354,7 @@ export interface ClassNames {
1368
1354
  * ``` */ readonly heading2: 'heading-2';
1369
1355
  /**
1370
1356
  * ```css
1371
- * font-size: clamp(var(--v-font-heading-3-size-min),
1372
- * var(--_size-override, var(--v-font-heading-3-size)),
1373
- * var(--v-font-heading-3-size-max))
1374
- * font-weight: var(--v-font-heading-3-weight)
1375
- * line-height: var(--v-font-heading-3-lineheight)
1376
- * text-wrap: balance
1357
+ *
1377
1358
  * ``` */ readonly heading3: 'heading-3';
1378
1359
  /**
1379
1360
  * ```css
@@ -2473,7 +2454,7 @@ export interface ClassNames {
2473
2454
  * padding-block: var(--v-space-2)
2474
2455
  * padding-inline: var(--v-space-8)
2475
2456
  * font: var(--v-font-12)
2476
- * border-radius: var(--v-radius-full)
2457
+ * border-radius: var(--v-shape-default)
2477
2458
  * color: var(--v-color-foreground-inverted)
2478
2459
  * background-color: var(--v-color-surface-neutral)
2479
2460
  * ``` */ readonly pillFilled: 'pill-filled';
@@ -2483,7 +2464,7 @@ export interface ClassNames {
2483
2464
  * padding-block: var(--v-space-2)
2484
2465
  * padding-inline: var(--v-space-8)
2485
2466
  * font: var(--v-font-12)
2486
- * border-radius: var(--v-radius-full)
2467
+ * border-radius: var(--v-shape-default)
2487
2468
  * box-shadow: inset 0 0 0 1px
2488
2469
  * var(--_border-color, var(--v-color-ornament-primary))
2489
2470
  * ``` */ readonly pillOutlined: 'pill-outlined';
@@ -2493,8 +2474,8 @@ export interface ClassNames {
2493
2474
  * padding-block: var(--v-space-2)
2494
2475
  * padding-inline: var(--v-space-8)
2495
2476
  * font: var(--v-font-12)
2496
- * border-radius: var(--v-radius-full)
2497
- * background-color: var(--v-color-background-secondary)
2477
+ * border-radius: var(--v-shape-default)
2478
+ * background-color: var(--v-color-surface-gray)
2498
2479
  * ``` */ readonly pillSoft: 'pill-soft';
2499
2480
  /**
2500
2481
  * ```css
@@ -2845,14 +2826,6 @@ export interface ClassNames {
2845
2826
  * overflow: auto hidden
2846
2827
  * scroll-behavior: auto
2847
2828
  * ``` */ readonly reel: 'reel';
2848
- /**
2849
- * ```css
2850
- * column-gap: var(--v-space-4)
2851
- * margin-block: var(--v-space-32)
2852
- * flex-direction: row
2853
- * justify-content: center
2854
- * display: flex
2855
- * ``` */ readonly reelIndicators: 'reel-indicators';
2856
2829
  /**
2857
2830
  * ```css
2858
2831
  * position: relative
@@ -2885,128 +2858,12 @@ export interface ClassNames {
2885
2858
  * ``` */ readonly rotate90: 'rotate-90';
2886
2859
  /**
2887
2860
  * ```css
2888
- * border-radius: var(--v-radius-sm)
2889
- * ``` */ readonly rounded: 'rounded';
2890
- /**
2891
- * ```css
2892
- * border-end-end-radius: var(--v-radius-sm)
2893
- * border-end-start-radius: var(--v-radius-sm)
2894
- * ``` */ readonly roundedB: 'rounded-b';
2895
- /**
2896
- * ```css
2897
- * border-end-end-radius: var(--v-radius-full)
2898
- * border-end-start-radius: var(--v-radius-full)
2899
- * ``` */ readonly roundedBFull: 'rounded-b-full';
2900
- /**
2901
- * ```css
2902
- * border-end-end-radius: var(--v-radius-lg)
2903
- * border-end-start-radius: var(--v-radius-lg)
2904
- * ``` */ readonly roundedBLg: 'rounded-b-lg';
2905
- /**
2906
- * ```css
2907
- * border-end-end-radius: var(--v-radius-md)
2908
- * border-end-start-radius: var(--v-radius-md)
2909
- * ``` */ readonly roundedBMd: 'rounded-b-md';
2910
- /**
2911
- * ```css
2912
- * border-end-end-radius: var(--v-radius-sm)
2913
- * border-end-start-radius: var(--v-radius-sm)
2914
- * ``` */ readonly roundedBSm: 'rounded-b-sm';
2915
- /**
2916
- * ```css
2917
- * border-start-end-radius: var(--v-radius-sm)
2918
- * border-end-end-radius: var(--v-radius-sm)
2919
- * ``` */ readonly roundedE: 'rounded-e';
2920
- /**
2921
- * ```css
2922
- * border-start-end-radius: var(--v-radius-full)
2923
- * border-end-end-radius: var(--v-radius-full)
2924
- * ``` */ readonly roundedEFull: 'rounded-e-full';
2925
- /**
2926
- * ```css
2927
- * border-start-end-radius: var(--v-radius-lg)
2928
- * border-end-end-radius: var(--v-radius-lg)
2929
- * ``` */ readonly roundedELg: 'rounded-e-lg';
2930
- /**
2931
- * ```css
2932
- * border-start-end-radius: var(--v-radius-md)
2933
- * border-end-end-radius: var(--v-radius-md)
2934
- * ``` */ readonly roundedEMd: 'rounded-e-md';
2935
- /**
2936
- * ```css
2937
- * border-start-end-radius: var(--v-radius-sm)
2938
- * border-end-end-radius: var(--v-radius-sm)
2939
- * ``` */ readonly roundedESm: 'rounded-e-sm';
2940
- /**
2941
- * ```css
2942
- * border-radius: var(--v-radius-full)
2861
+ * border-radius: var(--v-shape-emphasis)
2943
2862
  * ``` */ readonly roundedFull: 'rounded-full';
2944
- /**
2945
- * ```css
2946
- * border-radius: var(--v-radius-lg)
2947
- * ``` */ readonly roundedLg: 'rounded-lg';
2948
- /**
2949
- * ```css
2950
- * border-radius: var(--v-radius-md)
2951
- * ``` */ readonly roundedMd: 'rounded-md';
2952
2863
  /**
2953
2864
  * ```css
2954
2865
  * border-radius: 0
2955
2866
  * ``` */ readonly roundedNone: 'rounded-none';
2956
- /**
2957
- * ```css
2958
- * border-start-start-radius: var(--v-radius-sm)
2959
- * border-end-start-radius: var(--v-radius-sm)
2960
- * ``` */ readonly roundedS: 'rounded-s';
2961
- /**
2962
- * ```css
2963
- * border-start-start-radius: var(--v-radius-full)
2964
- * border-end-start-radius: var(--v-radius-full)
2965
- * ``` */ readonly roundedSFull: 'rounded-s-full';
2966
- /**
2967
- * ```css
2968
- * border-start-start-radius: var(--v-radius-lg)
2969
- * border-end-start-radius: var(--v-radius-lg)
2970
- * ``` */ readonly roundedSLg: 'rounded-s-lg';
2971
- /**
2972
- * ```css
2973
- * border-start-start-radius: var(--v-radius-md)
2974
- * border-end-start-radius: var(--v-radius-md)
2975
- * ``` */ readonly roundedSMd: 'rounded-s-md';
2976
- /**
2977
- * ```css
2978
- * border-start-start-radius: var(--v-radius-sm)
2979
- * border-end-start-radius: var(--v-radius-sm)
2980
- * ``` */ readonly roundedSSm: 'rounded-s-sm';
2981
- /**
2982
- * ```css
2983
- * border-radius: var(--v-radius-sm)
2984
- * ``` */ readonly roundedSm: 'rounded-sm';
2985
- /**
2986
- * ```css
2987
- * border-start-start-radius: var(--v-radius-sm)
2988
- * border-start-end-radius: var(--v-radius-sm)
2989
- * ``` */ readonly roundedT: 'rounded-t';
2990
- /**
2991
- * ```css
2992
- * border-start-start-radius: var(--v-radius-full)
2993
- * border-start-end-radius: var(--v-radius-full)
2994
- * ``` */ readonly roundedTFull: 'rounded-t-full';
2995
- /**
2996
- * ```css
2997
- * border-start-start-radius: var(--v-radius-lg)
2998
- * border-start-end-radius: var(--v-radius-lg)
2999
- * ``` */ readonly roundedTLg: 'rounded-t-lg';
3000
- /**
3001
- * ```css
3002
- * border-start-start-radius: var(--v-radius-md)
3003
- * border-start-end-radius: var(--v-radius-md)
3004
- * ``` */ readonly roundedTMd: 'rounded-t-md';
3005
- /**
3006
- * ```css
3007
- * border-start-start-radius: var(--v-radius-sm)
3008
- * border-start-end-radius: var(--v-radius-sm)
3009
- * ``` */ readonly roundedTSm: 'rounded-t-sm';
3010
2867
  /**
3011
2868
  * ```css
3012
2869
  * scale: 1
@@ -3462,30 +3319,6 @@ export interface ClassNames {
3462
3319
  * display: grid
3463
3320
  * width: var(--v-size-grid-xs)
3464
3321
  * ``` */ readonly toastMessage: 'toast-message';
3465
- /**
3466
- * ```css
3467
- * --_overlay-rate: 0%
3468
- * --_color: var(--v-color-foreground-primary)
3469
- * --spinner-size: 1rem
3470
- * min-width: max-content
3471
- * max-width: 100%
3472
- * height: 2.5rem
3473
- * padding-inline: var(--v-space-16)
3474
- * font: var(--v-font-16)
3475
- * color: var(--_color)
3476
- * white-space: nowrap
3477
- * user-select: none
3478
- * background-color: color-mix(in oklab,
3479
- * var(--_chip-bg-color, transparent),
3480
- * var(--_color) var(--_overlay-rate))
3481
- * border-radius: var(--v-shape-emphasis)
3482
- * box-shadow: inset 0 0 0 1px var(--v-color-foreground-tertiary)
3483
- * transition: background-color var(--v-transition-default)
3484
- * justify-content: center
3485
- * align-items: center
3486
- * display: inline-flex
3487
- * position: relative
3488
- * ``` */ readonly toggleGroupButton: 'toggle-group-button';
3489
3322
  /**
3490
3323
  * ```css
3491
3324
  * max-width: 24ch