@loafmarkets/ui 0.1.276 → 0.1.278

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.mjs CHANGED
@@ -4914,6 +4914,7 @@ var Header = ({
4914
4914
  onProfileNavigate: _onProfileNavigate,
4915
4915
  onOrdersNavigate: _onOrdersNavigate,
4916
4916
  onWalletNavigate: _onWalletNavigate,
4917
+ onSettingsClick,
4917
4918
  showTradeTab = true,
4918
4919
  portfolioSummary
4919
4920
  }) => {
@@ -5437,6 +5438,18 @@ var Header = ({
5437
5438
  children: /* @__PURE__ */ jsx(MenuItem, { children: "Add funding" })
5438
5439
  }
5439
5440
  ),
5441
+ onSettingsClick && /* @__PURE__ */ jsx(
5442
+ "button",
5443
+ {
5444
+ type: "button",
5445
+ onClick: (event) => {
5446
+ event?.preventDefault();
5447
+ closeMenus();
5448
+ onSettingsClick();
5449
+ },
5450
+ children: /* @__PURE__ */ jsx(MenuItem, { children: "Settings" })
5451
+ }
5452
+ ),
5440
5453
  /* @__PURE__ */ jsx(
5441
5454
  "button",
5442
5455
  {
@@ -14958,22 +14971,20 @@ var CDValue = styled9.div`
14958
14971
  font-variant-numeric: tabular-nums;
14959
14972
  `;
14960
14973
  var CActionRow = styled9.div`
14961
- display: grid;
14962
- grid-template-columns: 1fr 1fr;
14963
- gap: 0.5rem;
14974
+ display: flex;
14975
+ gap: 0.35rem;
14964
14976
  margin-top: 0.5rem;
14965
14977
  `;
14966
14978
  var CCloseBtn = styled9.button`
14967
14979
  background: transparent;
14968
14980
  border: 1px solid rgba(230, 200, 126, 0.25);
14969
- border-radius: 6px;
14970
- padding: 0.45rem 0.6rem;
14971
- font-size: 0.72rem;
14981
+ border-radius: 4px;
14982
+ padding: 0.2rem 0.5rem;
14983
+ font-size: 0.62rem;
14972
14984
  font-weight: 600;
14973
14985
  color: #E6C87E;
14974
14986
  cursor: pointer;
14975
14987
  white-space: nowrap;
14976
- text-align: center;
14977
14988
  transition: all 0.15s ease;
14978
14989
  &:hover {
14979
14990
  background: rgba(230, 200, 126, 0.1);