@faststore/ui 2.0.93-alpha.0 → 2.0.95-alpha.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": "2.0.93-alpha.0",
3
+ "version": "2.0.95-alpha.0",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -58,5 +58,5 @@
58
58
  "node": "16.18.0",
59
59
  "yarn": "1.19.1"
60
60
  },
61
- "gitHead": "641fafa52d0c7d74024438f784f0ca3f61426df9"
61
+ "gitHead": "3e2c8ab5300ce51834636f545d386fa5c506a97c"
62
62
  }
@@ -0,0 +1,60 @@
1
+ [data-fs-region-bar] {
2
+ // --------------------------------------------------------
3
+ // Design Tokens for Region Bar
4
+ // --------------------------------------------------------
5
+
6
+ // Default properties
7
+ --fs-region-bar-width : 100%;
8
+ --fs-region-bar-padding : var(--fs-spacing-0) var(--fs-spacing-2) var(--fs-spacing-0) var(--fs-spacing-3);
9
+
10
+ --fs-region-bar-text-color : var(--fs-color-text-display);
11
+
12
+ --fs-region-bar-bkg-color : var(--fs-color-body-bkg);
13
+
14
+ --fs-region-bar-border-bottom-width : var(--fs-border-width);
15
+ --fs-region-bar-border-bottom-color : var(--fs-border-color-light);
16
+
17
+ // CTA
18
+ --fs-region-bar-cta-margin-left : auto;
19
+ --fs-region-bar-cta-text-decoration : underline;
20
+
21
+ // Message
22
+ --fs-region-bar-message-margin-right : auto;
23
+
24
+ // Postal Code
25
+ --fs-region-bar-postal-code-margin-right : auto;
26
+
27
+ // --------------------------------------------------------
28
+ // Structural Styles
29
+ // --------------------------------------------------------
30
+
31
+ width: var(--fs-region-bar-width);
32
+
33
+ [data-fs-button] {
34
+ width: var(--fs-region-bar-width);
35
+ padding: var(--fs-region-bar-padding);
36
+ color: var(--fs-region-bar-text-color);
37
+ background-color: var(--fs-region-bar-bkg-color);
38
+ border-bottom: var(--fs-region-bar-border-bottom-width) solid var(--fs-region-bar-border-bottom-color);
39
+ border-radius: 0;
40
+
41
+ > span {
42
+ display: contents;
43
+ }
44
+ }
45
+
46
+ [data-fs-region-bar-cta] {
47
+ margin-left: var(--fs-region-bar-cta-margin-left);
48
+ text-decoration: var(--fs-region-bar-cta-text-decoration);
49
+ }
50
+
51
+ [data-fs-region-bar-postal-code] {
52
+ margin-right: var(--fs-region-bar-postal-code-margin-right);
53
+ font-weight: var(--fs-text-weight-regular);
54
+ }
55
+
56
+ [data-fs-region-bar-message] {
57
+ margin-right: var(--fs-region-bar-message-margin-right);
58
+ font-weight: var(--fs-text-weight-regular);
59
+ }
60
+ }
@@ -33,6 +33,7 @@
33
33
  @import "../components/molecules/QuantitySelector/styles";
34
34
  @import "../components/molecules/RadioField/styles";
35
35
  @import "../components/molecules/Rating/styles";
36
+ @import "../components/molecules/RegionBar/styles";
36
37
  @import "../components/molecules/SearchAutoComplete/styles";
37
38
  @import "../components/molecules/SearchDropdown/styles";
38
39
  @import "../components/molecules/SearchHistory/styles";