@loafmarkets/ui 0.1.337 → 0.1.338
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.js +26 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13311,24 +13311,22 @@ function OrderConfirmationModal({
|
|
|
13311
13311
|
] }),
|
|
13312
13312
|
/* @__PURE__ */ jsxs(ButtonRow2, { children: [
|
|
13313
13313
|
/* @__PURE__ */ jsx(
|
|
13314
|
-
|
|
13314
|
+
SecondaryButton,
|
|
13315
13315
|
{
|
|
13316
13316
|
type: "button",
|
|
13317
13317
|
onClick: onClose,
|
|
13318
|
-
className: "secondary",
|
|
13319
13318
|
disabled: isPlacing,
|
|
13320
13319
|
children: "Cancel"
|
|
13321
13320
|
}
|
|
13322
13321
|
),
|
|
13323
13322
|
!hasInsufficientFunds && /* @__PURE__ */ jsx(
|
|
13324
|
-
|
|
13323
|
+
PrimaryButton,
|
|
13325
13324
|
{
|
|
13326
13325
|
type: "button",
|
|
13327
13326
|
onClick: () => {
|
|
13328
13327
|
if (dontShowAgain) setSkipIpoConfirm(true);
|
|
13329
13328
|
onConfirm();
|
|
13330
13329
|
},
|
|
13331
|
-
className: "primary",
|
|
13332
13330
|
disabled: isPlacing,
|
|
13333
13331
|
children: isPlacing ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
13334
13332
|
/* @__PURE__ */ jsx(Spinner, { "aria-hidden": true }),
|
|
@@ -13465,7 +13463,6 @@ var ModalFooter = styled9.div`
|
|
|
13465
13463
|
display: flex;
|
|
13466
13464
|
align-items: center;
|
|
13467
13465
|
justify-content: space-between;
|
|
13468
|
-
flex-wrap: wrap;
|
|
13469
13466
|
gap: 0.75rem;
|
|
13470
13467
|
`;
|
|
13471
13468
|
var DontShowLabel = styled9.label`
|
|
@@ -13484,32 +13481,33 @@ var ButtonRow2 = styled9.div`
|
|
|
13484
13481
|
gap: 1rem;
|
|
13485
13482
|
justify-content: flex-end;
|
|
13486
13483
|
flex-shrink: 0;
|
|
13487
|
-
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
|
|
13494
|
-
|
|
13495
|
-
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13484
|
+
`;
|
|
13485
|
+
var BaseButton = styled9.button`
|
|
13486
|
+
padding: 0.75rem 1.5rem;
|
|
13487
|
+
border-radius: 8px;
|
|
13488
|
+
font-weight: 600;
|
|
13489
|
+
font-size: 0.95rem;
|
|
13490
|
+
cursor: pointer;
|
|
13491
|
+
display: inline-flex;
|
|
13492
|
+
align-items: center;
|
|
13493
|
+
justify-content: center;
|
|
13494
|
+
white-space: nowrap;
|
|
13495
|
+
flex-shrink: 0;
|
|
13496
|
+
&:disabled {
|
|
13499
13497
|
cursor: not-allowed;
|
|
13500
13498
|
opacity: 0.75;
|
|
13501
13499
|
}
|
|
13502
|
-
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
|
|
13506
|
-
|
|
13507
|
-
|
|
13508
|
-
|
|
13509
|
-
|
|
13510
|
-
|
|
13511
|
-
|
|
13512
|
-
|
|
13500
|
+
`;
|
|
13501
|
+
var SecondaryButton = styled9(BaseButton)`
|
|
13502
|
+
background: rgba(255,255,255,0.1);
|
|
13503
|
+
color: rgba(255,255,255,0.8);
|
|
13504
|
+
border: 1px solid rgba(255,255,255,0.2);
|
|
13505
|
+
`;
|
|
13506
|
+
var PrimaryButton = styled9(BaseButton)`
|
|
13507
|
+
background: linear-gradient(135deg, #0ecb81 0%, #0ba968 100%);
|
|
13508
|
+
color: #fff;
|
|
13509
|
+
border: none;
|
|
13510
|
+
box-shadow: 0 4px 12px rgba(14,203,129,0.3);
|
|
13513
13511
|
`;
|
|
13514
13512
|
|
|
13515
13513
|
// src/components/property-buy/constants.ts
|