@yorkjs/hive-ui 2.0.0 → 2.0.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": "@yorkjs/hive-ui",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Hive UI - Taro React component library",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
@@ -194,7 +194,7 @@ const ProductItem: React.FC<IProductCardProps> = (props) => {
194
194
  <Tag
195
195
  type='light-warning'
196
196
  text={item.text}
197
- className={styles['product-tag']}
197
+ className="product-tag"
198
198
  style={{ backgroundColor: item.color, color: '#fff' }}
199
199
  />
200
200
  </View>
@@ -232,7 +232,7 @@ const ProductItem: React.FC<IProductCardProps> = (props) => {
232
232
  key={type}
233
233
  text={tagProps.text}
234
234
  style={{ color: tagProps.color, backgroundColor: tagProps.bg, borderColor: tagProps.color }}
235
- className={styles['delivery-tag']}
235
+ className="delivery-tag"
236
236
  />
237
237
  )
238
238
  })
@@ -434,7 +434,7 @@ const ProductItem: React.FC<IProductCardProps> = (props) => {
434
434
  <Icon
435
435
  name='trash'
436
436
  size={13}
437
- className={styles['delete-icon']}
437
+ className="delete-icon"
438
438
  />
439
439
  </View>
440
440
  )
@@ -97,13 +97,13 @@ $F_BUY_COUNT = 14PX // RN 14
97
97
  margin-right 5PX
98
98
  flex-shrink 0
99
99
  line-height 1
100
-
101
- .product-tag
102
- height 15PX
103
- line-height 15PX
104
- padding 1PX 3PX
105
- border-radius 3PX
106
- font-size 10PX
100
+ :global
101
+ .product-tag
102
+ height 15PX
103
+ line-height 15PX
104
+ padding 1PX 3PX
105
+ border-radius 3PX
106
+ font-size 10PX
107
107
 
108
108
  .title
109
109
  flex 1
@@ -156,13 +156,13 @@ $F_BUY_COUNT = 14PX // RN 14
156
156
  flex-wrap wrap
157
157
  gap 5PX
158
158
  margin-top 5PX
159
-
160
- .delivery-tag
161
- padding 1PX 5PX
162
- border-radius 3PX
163
- font-size $F_TAG_NORMAL
164
- height 15PX
165
- line-height 15PX
159
+ :global
160
+ .delivery-tag
161
+ padding 1PX 5PX
162
+ border-radius 3PX
163
+ font-size $F_TAG_NORMAL
164
+ height 15PX
165
+ line-height 15PX
166
166
 
167
167
  .activity-tag
168
168
  display flex
@@ -257,9 +257,9 @@ $F_BUY_COUNT = 14PX // RN 14
257
257
  right 11PX
258
258
  padding 5PX
259
259
  z-index 10
260
-
261
- .delete-icon
262
- color var(--textContent)
260
+ :global
261
+ .delete-icon
262
+ color var(--textContent)
263
263
 
264
264
  .card-footer
265
265
  width 100%