@faststore/ui 3.44.0 → 3.47.1

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.44.0",
3
+ "version": "3.47.1",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -47,13 +47,14 @@
47
47
  }
48
48
  ],
49
49
  "dependencies": {
50
- "@faststore/components": "^3.44.0",
50
+ "@faststore/components": "^3.45.0",
51
51
  "include-media": "^1.4.10",
52
52
  "modern-normalize": "^1.1.0",
53
53
  "react-swipeable": "^7.0.0",
54
54
  "tabbable": "^5.2.1"
55
55
  },
56
56
  "peerDependencies": {
57
+ "@faststore/components": "3.x",
57
58
  "react": "^18.2.0",
58
59
  "react-dom": "^18.2.0"
59
60
  },
@@ -69,5 +70,5 @@
69
70
  "volta": {
70
71
  "extends": "../../package.json"
71
72
  },
72
- "gitHead": "14c097d5af92dbe8a6bf8e07e91ce4b343a827a7"
73
+ "gitHead": "8b92299408d358497a78222cccff9bbb5f46fb0e"
73
74
  }
@@ -38,12 +38,10 @@
38
38
 
39
39
  // Item Price
40
40
  --fs-search-product-item-price-size : var(--fs-text-size-base);
41
-
42
- // Item Control
43
- --fs-search-product-item-control-actions-gap : var(--fs-spacing-1);
44
41
 
45
42
  // Item Control
46
43
  --fs-search-product-item-control-actions-gap : var(--fs-spacing-1);
44
+ --fs-search-product-item-control-input-width : 4.625rem;
47
45
 
48
46
  // --------------------------------------------------------
49
47
  // Structural Styles
@@ -59,6 +57,7 @@
59
57
  justify-content: space-between;
60
58
  min-height: var(--fs-search-products-min-height);
61
59
  padding: var(--fs-search-products-header-padding-top) var(--fs-search-products-padding-right) var(--fs-search-products-header-padding-bottom) var(--fs-search-products-padding-left);
60
+
62
61
  [data-fs-button] {
63
62
  white-space: nowrap;
64
63
  }
@@ -71,9 +70,9 @@
71
70
  }
72
71
 
73
72
  [data-fs-search-product-item] {
74
- width: 100%;
75
73
  display: flex;
76
74
  align-items: center;
75
+ width: 100%;
77
76
  transition: var(--fs-search-products-transition-property) var(--fs-search-products-transition-timing) var(--fs-search-products-transition-function);
78
77
 
79
78
  &:hover {
@@ -85,12 +84,9 @@
85
84
  display: flex;
86
85
  align-items: center;
87
86
  justify-content: flex-start;
88
- text-decoration: none;
89
87
  width: 100%;
90
- padding-top: var(--fs-search-product-item-padding-top);
91
- padding-bottom: var(--fs-search-product-item-padding-bottom);
92
- padding-left: var(--fs-search-products-padding-left);
93
- padding-right: var(--fs-search-products-padding-right);
88
+ padding: var(--fs-search-product-item-padding-top) var(--fs-search-products-padding-right) var(--fs-search-product-item-padding-bottom) var(--fs-search-products-padding-left);
89
+ text-decoration: none;
94
90
  }
95
91
 
96
92
  [data-fs-search-product-item-content] {
@@ -134,15 +130,15 @@
134
130
  }
135
131
 
136
132
  [data-fs-product-item-control-input] {
137
- width: 4.625rem;
138
- height: 100%;
139
- text-align: center;
133
+ width: var(--fs-search-product-item-control-input-width);
134
+ height: 100%;
135
+ text-align: center;
140
136
  }
141
137
 
142
- [data-fs-search-product-item-control-badge] {
138
+ [data-fs-search-product-item-control-badge] {
143
139
  margin-bottom: var(--fs-spacing-0);
144
140
 
145
- & + [data-fs-search-product-item-title] {
141
+ + [data-fs-search-product-item-title] {
146
142
  font-weight: var(--fs-text-weight-medium);
147
143
  color: var(--fs-color-text-light);
148
144
  }
@@ -150,18 +146,18 @@
150
146
 
151
147
  [data-fs-search-product-item-control-actions] {
152
148
  display: flex;
153
- margin-left: auto;
154
149
  gap: var(--fs-search-product-item-control-actions-gap);
150
+ margin-left: auto;
155
151
  }
156
152
 
157
153
  [data-fs-search-product-item-control-actions-desktop] {
158
154
  display: none;
159
-
155
+
160
156
  @include media(">tablet") {
161
157
  display: block;
162
158
  }
163
159
  }
164
-
160
+
165
161
  [data-fs-search-product-item-control-actions-mobile] {
166
162
  display: block;
167
163