@asdp/ferryui 0.1.22-dev.9545 → 0.1.22-dev.9549
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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7028,13 +7028,13 @@ var ModalSearchHarbor = ({
|
|
|
7028
7028
|
harbor,
|
|
7029
7029
|
onSelect: handleSelect,
|
|
7030
7030
|
containerClassName: styles.historyItem,
|
|
7031
|
-
trailingIcon: /* @__PURE__ */ jsx(
|
|
7031
|
+
trailingIcon: showButtonFavorite && /* @__PURE__ */ jsx(
|
|
7032
7032
|
Icon,
|
|
7033
7033
|
{
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7034
|
+
icon: harbor.isFavorite ? "fluent:star-24-filled" : "fluent:star-24-regular",
|
|
7035
|
+
color: tokens.colorBrandBackground,
|
|
7036
|
+
className: styles.cursorPointer,
|
|
7037
|
+
onClick: () => onToggleFavorite(harbor)
|
|
7038
7038
|
}
|
|
7039
7039
|
),
|
|
7040
7040
|
showDivider: true
|
|
@@ -7050,6 +7050,15 @@ var ModalSearchHarbor = ({
|
|
|
7050
7050
|
harbor,
|
|
7051
7051
|
onSelect: handleSelect,
|
|
7052
7052
|
containerClassName: styles.historyItem,
|
|
7053
|
+
trailingIcon: showButtonFavorite && /* @__PURE__ */ jsx(
|
|
7054
|
+
Icon,
|
|
7055
|
+
{
|
|
7056
|
+
icon: harbor.isFavorite ? "fluent:star-24-filled" : "fluent:star-24-regular",
|
|
7057
|
+
color: tokens.colorBrandBackground,
|
|
7058
|
+
className: styles.cursorPointer,
|
|
7059
|
+
onClick: () => onToggleFavorite(harbor)
|
|
7060
|
+
}
|
|
7061
|
+
),
|
|
7053
7062
|
showDivider: true
|
|
7054
7063
|
},
|
|
7055
7064
|
harbor.portId
|