@loafmarkets/ui 0.1.336 → 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 CHANGED
@@ -13337,24 +13337,22 @@ function OrderConfirmationModal({
13337
13337
  ] }),
13338
13338
  /* @__PURE__ */ jsxRuntime.jsxs(ButtonRow2, { children: [
13339
13339
  /* @__PURE__ */ jsxRuntime.jsx(
13340
- "button",
13340
+ SecondaryButton,
13341
13341
  {
13342
13342
  type: "button",
13343
13343
  onClick: onClose,
13344
- className: "secondary",
13345
13344
  disabled: isPlacing,
13346
13345
  children: "Cancel"
13347
13346
  }
13348
13347
  ),
13349
13348
  !hasInsufficientFunds && /* @__PURE__ */ jsxRuntime.jsx(
13350
- "button",
13349
+ PrimaryButton,
13351
13350
  {
13352
13351
  type: "button",
13353
13352
  onClick: () => {
13354
13353
  if (dontShowAgain) setSkipIpoConfirm(true);
13355
13354
  onConfirm();
13356
13355
  },
13357
- className: "primary",
13358
13356
  disabled: isPlacing,
13359
13357
  children: isPlacing ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13360
13358
  /* @__PURE__ */ jsxRuntime.jsx(Spinner, { "aria-hidden": true }),
@@ -13491,7 +13489,7 @@ var ModalFooter = styled9__default.default.div`
13491
13489
  display: flex;
13492
13490
  align-items: center;
13493
13491
  justify-content: space-between;
13494
- gap: 1rem;
13492
+ gap: 0.75rem;
13495
13493
  `;
13496
13494
  var DontShowLabel = styled9__default.default.label`
13497
13495
  display: flex;
@@ -13508,32 +13506,34 @@ var ButtonRow2 = styled9__default.default.div`
13508
13506
  display: flex;
13509
13507
  gap: 1rem;
13510
13508
  justify-content: flex-end;
13511
- button {
13512
- padding: 0.75rem 1.5rem;
13513
- border-radius: 8px;
13514
- font-weight: 600;
13515
- font-size: 0.95rem;
13516
- cursor: pointer;
13517
- display: inline-flex;
13518
- align-items: center;
13519
- justify-content: center;
13520
- white-space: nowrap;
13521
- }
13522
- button:disabled {
13509
+ flex-shrink: 0;
13510
+ `;
13511
+ var BaseButton = styled9__default.default.button`
13512
+ padding: 0.75rem 1.5rem;
13513
+ border-radius: 8px;
13514
+ font-weight: 600;
13515
+ font-size: 0.95rem;
13516
+ cursor: pointer;
13517
+ display: inline-flex;
13518
+ align-items: center;
13519
+ justify-content: center;
13520
+ white-space: nowrap;
13521
+ flex-shrink: 0;
13522
+ &:disabled {
13523
13523
  cursor: not-allowed;
13524
13524
  opacity: 0.75;
13525
13525
  }
13526
- .secondary {
13527
- background: rgba(255,255,255,0.1);
13528
- color: rgba(255,255,255,0.8);
13529
- border: 1px solid rgba(255,255,255,0.2);
13530
- }
13531
- .primary {
13532
- background: linear-gradient(135deg, #0ecb81 0%, #0ba968 100%);
13533
- color: #fff;
13534
- border: none;
13535
- box-shadow: 0 4px 12px rgba(14,203,129,0.3);
13536
- }
13526
+ `;
13527
+ var SecondaryButton = styled9__default.default(BaseButton)`
13528
+ background: rgba(255,255,255,0.1);
13529
+ color: rgba(255,255,255,0.8);
13530
+ border: 1px solid rgba(255,255,255,0.2);
13531
+ `;
13532
+ var PrimaryButton = styled9__default.default(BaseButton)`
13533
+ background: linear-gradient(135deg, #0ecb81 0%, #0ba968 100%);
13534
+ color: #fff;
13535
+ border: none;
13536
+ box-shadow: 0 4px 12px rgba(14,203,129,0.3);
13537
13537
  `;
13538
13538
 
13539
13539
  // src/components/property-buy/constants.ts