@fileverse-dev/fortune-react 1.1.15 → 1.1.17

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.
@@ -235,10 +235,13 @@ var SheetTab = function SheetTab() {
235
235
  })))), /*#__PURE__*/React.createElement("div", {
236
236
  className: "fortune-sheet-area-right"
237
237
  }, /*#__PURE__*/React.createElement(Popover, null, /*#__PURE__*/React.createElement(PopoverTrigger, {
238
- className: "hover:bg-gray-100"
238
+ className: "p-0 m-0 mr-2"
239
239
  }, /*#__PURE__*/React.createElement(Button, {
240
240
  variant: "ghost",
241
- className: "w-full h-8 rounded p-2 m-1 text-left flex items-center justify-center transition mr-2"
241
+ className: "w-full !h-6 p-2 m-1 text-left flex items-center justify-center transition mr-2 !rounded-[0px]",
242
+ style: {
243
+ height: "24px !important"
244
+ }
242
245
  }, calInfo.count > 0 && (/*#__PURE__*/React.createElement("p", {
243
246
  className: "text-body-sm"
244
247
  }, STATS_LABELS[selectedStat], ":", " ", calInfo[selectedStat])))), /*#__PURE__*/React.createElement(PopoverContent, {
@@ -274,7 +277,7 @@ var SheetTab = function SheetTab() {
274
277
  }))), /*#__PURE__*/React.createElement("p", {
275
278
  className: "text-body-sm color-text-secondary",
276
279
  style: {
277
- marginLeft: selectedStat === option.value ? 0 : '24px',
280
+ marginLeft: selectedStat === option.value ? 0 : "24px",
278
281
  fontSize: "14px"
279
282
  }
280
283
  }, option.label, ":", " "), /*#__PURE__*/React.createElement("div", {
@@ -282,7 +285,7 @@ var SheetTab = function SheetTab() {
282
285
  }, /*#__PURE__*/React.createElement("p", {
283
286
  className: "font-body-sm-bold color-text-default",
284
287
  style: {
285
- marginLeft: selectedStat === option.value ? 0 : '24px',
288
+ marginLeft: selectedStat === option.value ? 0 : "24px",
286
289
  fontSize: "14px",
287
290
  fontWeight: 500
288
291
  }
@@ -244,10 +244,13 @@ var SheetTab = function SheetTab() {
244
244
  })))), /*#__PURE__*/_react.default.createElement("div", {
245
245
  className: "fortune-sheet-area-right"
246
246
  }, /*#__PURE__*/_react.default.createElement(_ui.Popover, null, /*#__PURE__*/_react.default.createElement(_ui.PopoverTrigger, {
247
- className: "hover:bg-gray-100"
247
+ className: "p-0 m-0 mr-2"
248
248
  }, /*#__PURE__*/_react.default.createElement(_ui.Button, {
249
249
  variant: "ghost",
250
- className: "w-full h-8 rounded p-2 m-1 text-left flex items-center justify-center transition mr-2"
250
+ className: "w-full !h-6 p-2 m-1 text-left flex items-center justify-center transition mr-2 !rounded-[0px]",
251
+ style: {
252
+ height: "24px !important"
253
+ }
251
254
  }, calInfo.count > 0 && (/*#__PURE__*/_react.default.createElement("p", {
252
255
  className: "text-body-sm"
253
256
  }, STATS_LABELS[selectedStat], ":", " ", calInfo[selectedStat])))), /*#__PURE__*/_react.default.createElement(_ui.PopoverContent, {
@@ -283,7 +286,7 @@ var SheetTab = function SheetTab() {
283
286
  }))), /*#__PURE__*/_react.default.createElement("p", {
284
287
  className: "text-body-sm color-text-secondary",
285
288
  style: {
286
- marginLeft: selectedStat === option.value ? 0 : '24px',
289
+ marginLeft: selectedStat === option.value ? 0 : "24px",
287
290
  fontSize: "14px"
288
291
  }
289
292
  }, option.label, ":", " "), /*#__PURE__*/_react.default.createElement("div", {
@@ -291,7 +294,7 @@ var SheetTab = function SheetTab() {
291
294
  }, /*#__PURE__*/_react.default.createElement("p", {
292
295
  className: "font-body-sm-bold color-text-default",
293
296
  style: {
294
- marginLeft: selectedStat === option.value ? 0 : '24px',
297
+ marginLeft: selectedStat === option.value ? 0 : "24px",
295
298
  fontSize: "14px",
296
299
  fontWeight: 500
297
300
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.1.15",
19
+ "@fileverse-dev/fortune-core": "1.1.17",
20
20
  "@fileverse/ui": "^4.1.7-patch-21",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",