@faststore/ui 3.0.160 → 3.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/ui",
3
- "version": "3.0.160",
3
+ "version": "3.1.0",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  }
49
49
  ],
50
50
  "dependencies": {
51
- "@faststore/components": "^3.0.160",
51
+ "@faststore/components": "^3.1.0",
52
52
  "include-media": "^1.4.10",
53
53
  "modern-normalize": "^1.1.0",
54
54
  "react-swipeable": "^7.0.0",
@@ -71,5 +71,5 @@
71
71
  "volta": {
72
72
  "extends": "../../package.json"
73
73
  },
74
- "gitHead": "6fab6a4747bac2555a38adc9ad6c6ecfa71e8761"
74
+ "gitHead": "f3cbb155a5cd6ecf7b48bc2eb7b24e83f6125c7b"
75
75
  }
@@ -54,6 +54,10 @@
54
54
  --fs-product-card-wide-bkg-color : var(--fs-color-neutral-bkg);
55
55
  --fs-product-card-wide-min-width : 9rem;
56
56
 
57
+ // Sponsored Label
58
+ --fs-product-card-sponsored-label-size : var(--fs-text-size-tiny);
59
+ --fs-product-card-sponsored-label-color : var(--fs-color-text-light);
60
+
57
61
  // --------------------------------------------------------
58
62
  // Structural Styles
59
63
  // --------------------------------------------------------
@@ -138,6 +142,12 @@
138
142
  }
139
143
  }
140
144
 
145
+ [data-fs-product-card-sponsored-label] {
146
+ font-size: var(--fs-product-card-sponsored-label-size);
147
+ color: var(--fs-product-card-sponsored-label-color);
148
+ line-height: 1.33;
149
+ }
150
+
141
151
  [data-fs-product-card-title] {
142
152
  font-size: var(--fs-product-card-title-size);
143
153
  font-weight: var(--fs-product-card-title-weight);