@gearbox-protocol/ui-kit 4.0.0 → 4.0.2

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.
Files changed (153) hide show
  1. package/dist/cjs/components/badge/chip.cjs +1 -1
  2. package/dist/cjs/components/base/amount-input/constants.cjs +1 -1
  3. package/dist/cjs/components/base/borrow-rate-block/constants.cjs +1 -1
  4. package/dist/cjs/components/base/chart-with-side-card/constants.cjs +1 -1
  5. package/dist/cjs/components/base/detailed-page-title/constants.cjs +1 -1
  6. package/dist/cjs/components/base/details-view/constants.cjs +1 -1
  7. package/dist/cjs/components/base/health-factor-block/constants.cjs +1 -1
  8. package/dist/cjs/components/base/history-chart/constants.cjs +1 -1
  9. package/dist/cjs/components/base/info-list/constants.cjs +1 -1
  10. package/dist/cjs/components/base/leverage-input/constants.cjs +1 -1
  11. package/dist/cjs/components/base/liquidation-params-table/constants.cjs +1 -1
  12. package/dist/cjs/components/base/liquidation-price-block/constants.cjs +1 -1
  13. package/dist/cjs/components/base/manage-pane/constants.cjs +1 -1
  14. package/dist/cjs/components/base/more-accordion/constants.cjs +1 -1
  15. package/dist/cjs/components/base/nested-info-stack/constants.cjs +1 -1
  16. package/dist/cjs/components/base/page-title/constants.cjs +1 -1
  17. package/dist/cjs/components/base/pool-apy-breakdown-card/constants.cjs +1 -1
  18. package/dist/cjs/components/base/position-assets/constants.cjs +1 -1
  19. package/dist/cjs/components/base/review-button/constants.cjs +1 -1
  20. package/dist/cjs/components/base/review-button/review-button.cjs +1 -1
  21. package/dist/cjs/components/base/section-heading/constants.cjs +1 -1
  22. package/dist/cjs/components/base/segmented-tabs/constants.cjs +1 -1
  23. package/dist/cjs/components/base/segmented-tabs/segmented-tabs.cjs +1 -1
  24. package/dist/cjs/components/base/stack/constants.cjs +1 -1
  25. package/dist/cjs/components/base/stat-badge/constants.cjs +1 -1
  26. package/dist/cjs/components/base/strategy-apy-breakdown-card/constants.cjs +1 -1
  27. package/dist/cjs/components/base/tabber/constants.cjs +1 -1
  28. package/dist/cjs/components/base/time-to-liquidation-block/constants.cjs +1 -1
  29. package/dist/cjs/components/base/title-meta/constants.cjs +1 -1
  30. package/dist/cjs/components/base/token-amount/constants.cjs +1 -1
  31. package/dist/cjs/components/base/token-pair-symbol/constants.cjs +1 -1
  32. package/dist/cjs/components/base/values/constants.cjs +1 -1
  33. package/dist/cjs/components/base-table/constants.cjs +1 -1
  34. package/dist/cjs/components/buttons/button/button.variants.cjs +1 -1
  35. package/dist/cjs/components/buttons/tab-button/tab-button.cjs +1 -1
  36. package/dist/cjs/components/client-adapters/index.cjs +1 -1
  37. package/dist/cjs/components/collateral-allocation-tooltip/constants.cjs +1 -1
  38. package/dist/cjs/components/composites/pool-assets-table/constants.cjs +1 -1
  39. package/dist/cjs/components/composites/tx-preview/confirm/amounts/constants.cjs +1 -1
  40. package/dist/cjs/components/composites/tx-preview/confirm/dialog/constants.cjs +1 -1
  41. package/dist/cjs/components/composites/tx-preview/confirm/result/constants.cjs +1 -1
  42. package/dist/cjs/components/composites/tx-preview/confirm/stepper/constants.cjs +1 -1
  43. package/dist/cjs/components/graph/default-config.cjs +1 -1
  44. package/dist/cjs/components/index.cjs +1 -1
  45. package/dist/cjs/components/legal-agreement/legal-agreement-awaiting-panel.cjs +1 -1
  46. package/dist/cjs/components/legal-agreement/legal-agreement-panel.cjs +1 -1
  47. package/dist/cjs/components/sdk-status-pill/constants.cjs +1 -1
  48. package/dist/cjs/components/slider/constants.cjs +1 -1
  49. package/dist/cjs/components/trading-view/constants.cjs +1 -1
  50. package/dist/cjs/index.cjs +1 -1
  51. package/dist/esm/components/badge/chip.js +14 -15
  52. package/dist/esm/components/base/amount-input/constants.js +12 -12
  53. package/dist/esm/components/base/borrow-rate-block/constants.js +6 -6
  54. package/dist/esm/components/base/chart-with-side-card/constants.js +6 -6
  55. package/dist/esm/components/base/detailed-page-title/constants.js +5 -5
  56. package/dist/esm/components/base/details-view/constants.js +9 -10
  57. package/dist/esm/components/base/health-factor-block/constants.js +6 -6
  58. package/dist/esm/components/base/history-chart/constants.js +7 -7
  59. package/dist/esm/components/base/info-list/constants.js +6 -6
  60. package/dist/esm/components/base/leverage-input/constants.js +7 -7
  61. package/dist/esm/components/base/liquidation-params-table/constants.js +4 -4
  62. package/dist/esm/components/base/liquidation-price-block/constants.js +6 -6
  63. package/dist/esm/components/base/manage-pane/constants.js +9 -9
  64. package/dist/esm/components/base/more-accordion/constants.js +5 -5
  65. package/dist/esm/components/base/nested-info-stack/constants.js +4 -4
  66. package/dist/esm/components/base/page-title/constants.js +4 -4
  67. package/dist/esm/components/base/pool-apy-breakdown-card/constants.js +7 -7
  68. package/dist/esm/components/base/position-assets/constants.js +7 -7
  69. package/dist/esm/components/base/review-button/constants.js +6 -6
  70. package/dist/esm/components/base/review-button/review-button.js +19 -25
  71. package/dist/esm/components/base/section-heading/constants.js +3 -3
  72. package/dist/esm/components/base/segmented-tabs/constants.js +3 -3
  73. package/dist/esm/components/base/segmented-tabs/segmented-tabs.js +7 -6
  74. package/dist/esm/components/base/stack/constants.js +4 -4
  75. package/dist/esm/components/base/stat-badge/constants.js +7 -7
  76. package/dist/esm/components/base/strategy-apy-breakdown-card/constants.js +10 -10
  77. package/dist/esm/components/base/tabber/constants.js +6 -6
  78. package/dist/esm/components/base/time-to-liquidation-block/constants.js +6 -6
  79. package/dist/esm/components/base/title-meta/constants.js +7 -7
  80. package/dist/esm/components/base/token-amount/constants.js +4 -4
  81. package/dist/esm/components/base/token-pair-symbol/constants.js +4 -4
  82. package/dist/esm/components/base/values/constants.js +17 -18
  83. package/dist/esm/components/base-table/constants.js +9 -10
  84. package/dist/esm/components/buttons/button/button.variants.js +5 -5
  85. package/dist/esm/components/buttons/tab-button/tab-button.js +12 -9
  86. package/dist/esm/components/client-adapters/index.js +2 -4
  87. package/dist/esm/components/collateral-allocation-tooltip/constants.js +9 -10
  88. package/dist/esm/components/composites/pool-assets-table/constants.js +8 -8
  89. package/dist/esm/components/composites/tx-preview/confirm/amounts/constants.js +4 -4
  90. package/dist/esm/components/composites/tx-preview/confirm/dialog/constants.js +6 -6
  91. package/dist/esm/components/composites/tx-preview/confirm/result/constants.js +18 -21
  92. package/dist/esm/components/composites/tx-preview/confirm/stepper/constants.js +4 -4
  93. package/dist/esm/components/graph/default-config.js +20 -20
  94. package/dist/esm/components/index.js +279 -281
  95. package/dist/esm/components/legal-agreement/legal-agreement-awaiting-panel.js +10 -10
  96. package/dist/esm/components/legal-agreement/legal-agreement-panel.js +36 -36
  97. package/dist/esm/components/navbar-logo/navbar-logo.js +10 -13
  98. package/dist/esm/components/rounded-image/rounded-image.js +23 -26
  99. package/dist/esm/components/sdk-status-pill/constants.js +6 -6
  100. package/dist/esm/components/slider/constants.js +4 -4
  101. package/dist/esm/components/trading-view/constants.js +5 -5
  102. package/dist/esm/index.js +327 -329
  103. package/dist/globals.css +1 -1
  104. package/dist/types/components/badge/chip.d.ts +7 -7
  105. package/dist/types/components/base/amount-input/constants.d.ts +11 -11
  106. package/dist/types/components/base/borrow-rate-block/constants.d.ts +5 -5
  107. package/dist/types/components/base/chart-with-side-card/constants.d.ts +5 -5
  108. package/dist/types/components/base/detailed-page-title/constants.d.ts +4 -4
  109. package/dist/types/components/base/details-view/constants.d.ts +9 -9
  110. package/dist/types/components/base/health-factor-block/constants.d.ts +5 -5
  111. package/dist/types/components/base/history-chart/constants.d.ts +6 -6
  112. package/dist/types/components/base/info-list/constants.d.ts +5 -5
  113. package/dist/types/components/base/leverage-input/constants.d.ts +6 -6
  114. package/dist/types/components/base/liquidation-params-table/constants.d.ts +3 -3
  115. package/dist/types/components/base/liquidation-price-block/constants.d.ts +5 -5
  116. package/dist/types/components/base/manage-pane/constants.d.ts +9 -9
  117. package/dist/types/components/base/more-accordion/constants.d.ts +4 -4
  118. package/dist/types/components/base/nested-info-stack/constants.d.ts +3 -3
  119. package/dist/types/components/base/page-title/constants.d.ts +3 -3
  120. package/dist/types/components/base/pool-apy-breakdown-card/constants.d.ts +7 -7
  121. package/dist/types/components/base/position-assets/constants.d.ts +6 -6
  122. package/dist/types/components/base/review-button/constants.d.ts +5 -5
  123. package/dist/types/components/base/section-heading/constants.d.ts +3 -3
  124. package/dist/types/components/base/segmented-tabs/constants.d.ts +3 -3
  125. package/dist/types/components/base/stack/constants.d.ts +3 -3
  126. package/dist/types/components/base/stat-badge/constants.d.ts +6 -6
  127. package/dist/types/components/base/strategy-apy-breakdown-card/constants.d.ts +9 -9
  128. package/dist/types/components/base/tabber/constants.d.ts +5 -5
  129. package/dist/types/components/base/time-to-liquidation-block/constants.d.ts +5 -5
  130. package/dist/types/components/base/title-meta/constants.d.ts +6 -6
  131. package/dist/types/components/base/token-amount/constants.d.ts +3 -3
  132. package/dist/types/components/base/token-pair-symbol/constants.d.ts +3 -3
  133. package/dist/types/components/base/values/constants.d.ts +16 -16
  134. package/dist/types/components/base-table/constants.d.ts +8 -8
  135. package/dist/types/components/client-adapters/index.d.ts +0 -1
  136. package/dist/types/components/collateral-allocation-tooltip/constants.d.ts +8 -8
  137. package/dist/types/components/composites/pool-assets-table/constants.d.ts +7 -7
  138. package/dist/types/components/composites/tx-preview/confirm/amounts/constants.d.ts +3 -3
  139. package/dist/types/components/composites/tx-preview/confirm/dialog/constants.d.ts +6 -6
  140. package/dist/types/components/composites/tx-preview/confirm/result/constants.d.ts +18 -18
  141. package/dist/types/components/composites/tx-preview/confirm/stepper/constants.d.ts +3 -3
  142. package/dist/types/components/legal-agreement/legal-agreement-awaiting-panel.d.ts +3 -3
  143. package/dist/types/components/legal-agreement/legal-agreement-panel.d.ts +3 -3
  144. package/dist/types/components/sdk-status-pill/constants.d.ts +5 -5
  145. package/dist/types/components/slider/constants.d.ts +3 -3
  146. package/dist/types/components/trading-view/constants.d.ts +4 -4
  147. package/package.json +3 -2
  148. package/dist/cjs/components/client-adapters/styled-button/index.cjs +0 -1
  149. package/dist/cjs/components/client-adapters/styled-button/styled-button.cjs +0 -1
  150. package/dist/esm/components/client-adapters/styled-button/index.js +0 -4
  151. package/dist/esm/components/client-adapters/styled-button/styled-button.js +0 -29
  152. package/dist/types/components/client-adapters/styled-button/index.d.ts +0 -1
  153. package/dist/types/components/client-adapters/styled-button/styled-button.d.ts +0 -18
@@ -1,6 +1,6 @@
1
- class o {
2
- static root = "stack-root";
3
- }
1
+ const t = {
2
+ root: "stack-root"
3
+ };
4
4
  export {
5
- o as StackTest
5
+ t as StackTest
6
6
  };
@@ -1,9 +1,9 @@
1
- class a {
2
- static root = "stat-badge-root";
3
- static grid = "stat-badge-grid-root";
4
- static action = "stat-badge-action";
5
- static delta = "stat-badge-delta";
6
- }
1
+ const t = {
2
+ root: "stat-badge-root",
3
+ grid: "stat-badge-grid-root",
4
+ action: "stat-badge-action",
5
+ delta: "stat-badge-delta"
6
+ };
7
7
  export {
8
- a as StatBadgeTest
8
+ t as StatBadgeTest
9
9
  };
@@ -1,12 +1,12 @@
1
- class t {
2
- static root = "strategy-apy-breakdown-card-root";
3
- static net = "strategy-apy-breakdown-card-net";
4
- static collateral = "strategy-apy-breakdown-card-collateral";
5
- static borrow = "strategy-apy-breakdown-card-borrow";
6
- static value = "strategy-apy-breakdown-card-value";
7
- static points = "strategy-apy-breakdown-card-points";
8
- static caption = "strategy-apy-breakdown-card-caption";
9
- }
1
+ const a = {
2
+ root: "strategy-apy-breakdown-card-root",
3
+ net: "strategy-apy-breakdown-card-net",
4
+ collateral: "strategy-apy-breakdown-card-collateral",
5
+ borrow: "strategy-apy-breakdown-card-borrow",
6
+ value: "strategy-apy-breakdown-card-value",
7
+ points: "strategy-apy-breakdown-card-points",
8
+ caption: "strategy-apy-breakdown-card-caption"
9
+ };
10
10
  export {
11
- t as StrategyApyBreakdownCardTest
11
+ a as StrategyApyBreakdownCardTest
12
12
  };
@@ -1,8 +1,8 @@
1
- class a {
2
- static root = "tabber-root";
3
- static bar = "tabber-bar";
4
- static section = "tabber-section";
5
- }
1
+ const b = {
2
+ root: "tabber-root",
3
+ bar: "tabber-bar",
4
+ section: "tabber-section"
5
+ };
6
6
  export {
7
- a as TabberTest
7
+ b as TabberTest
8
8
  };
@@ -1,8 +1,8 @@
1
- class i {
2
- static root = "time-to-liquidation-block-root";
3
- static value = "time-to-liquidation-block-value";
4
- static valueTo = "time-to-liquidation-block-value-to";
5
- }
1
+ const o = {
2
+ root: "time-to-liquidation-block-root",
3
+ value: "time-to-liquidation-block-value",
4
+ valueTo: "time-to-liquidation-block-value-to"
5
+ };
6
6
  export {
7
- i as TimeToLiquidationBlockTest
7
+ o as TimeToLiquidationBlockTest
8
8
  };
@@ -1,9 +1,9 @@
1
- class e {
2
- static root = "title-meta-root";
3
- static network = "title-meta-network";
4
- static curator = "title-meta-curator";
5
- static link = "title-meta-link";
6
- }
1
+ const t = {
2
+ root: "title-meta-root",
3
+ network: "title-meta-network",
4
+ curator: "title-meta-curator",
5
+ link: "title-meta-link"
6
+ };
7
7
  export {
8
- e as TitleMetaTest
8
+ t as TitleMetaTest
9
9
  };
@@ -1,6 +1,6 @@
1
- class t {
2
- static root = "token-amount-root";
3
- }
1
+ const o = {
2
+ root: "token-amount-root"
3
+ };
4
4
  export {
5
- t as TokenAmountTest
5
+ o as TokenAmountTest
6
6
  };
@@ -1,6 +1,6 @@
1
- class t {
2
- static root = "token-pair-symbol-root";
3
- }
1
+ const o = {
2
+ root: "token-pair-symbol-root"
3
+ };
4
4
  export {
5
- t as TokenPairSymbolTest
5
+ o as TokenPairSymbolTest
6
6
  };
@@ -1,20 +1,19 @@
1
- class a {
2
- static apy = "value-apy";
3
- static usd = "value-usd";
4
- static leverage = "value-leverage";
5
- static utilization = "value-utilization";
6
- static healthFactor = "value-health-factor";
7
- static pnl = "value-pnl";
8
- static priceImpact = "value-price-impact";
9
- static tokenBigint = "value-token-bigint";
10
- static points = "value-points";
11
- static placeholder = "value-placeholder";
12
- static accruing = "value-accruing";
13
- }
14
- class e {
15
- static root = "position-short-label";
16
- }
1
+ const e = {
2
+ apy: "value-apy",
3
+ usd: "value-usd",
4
+ leverage: "value-leverage",
5
+ utilization: "value-utilization",
6
+ healthFactor: "value-health-factor",
7
+ pnl: "value-pnl",
8
+ priceImpact: "value-price-impact",
9
+ tokenBigint: "value-token-bigint",
10
+ points: "value-points",
11
+ placeholder: "value-placeholder",
12
+ accruing: "value-accruing"
13
+ }, a = {
14
+ root: "position-short-label"
15
+ };
17
16
  export {
18
- e as PositionShortLabelTest,
19
- a as ValueTest
17
+ a as PositionShortLabelTest,
18
+ e as ValueTest
20
19
  };
@@ -1,12 +1,11 @@
1
- class t {
2
- static root = "base-table-root";
3
- static head = "base-table-head";
4
- static empty = "base-table-empty";
5
- }
6
- class a {
7
- static root = "base-table-line-root";
8
- }
1
+ const e = {
2
+ root: "base-table-root",
3
+ head: "base-table-head",
4
+ empty: "base-table-empty"
5
+ }, t = {
6
+ root: "base-table-line-root"
7
+ };
9
8
  export {
10
- a as BaseTableLineTest,
11
- t as BaseTableTest
9
+ t as BaseTableLineTest,
10
+ e as BaseTableTest
12
11
  };
@@ -4,7 +4,7 @@ import "@gearbox-protocol/sdk/onchain";
4
4
  import "../../../utils/z-index.js";
5
5
  const i = r(
6
6
  // TODO: remove !
7
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors cursor-pointer disabled:!cursor-not-allowed [&_svg]:pointer-events-none [&_svg:not([style*='width']):not([style*='height'])]:size-4 [&_svg]:shrink-0 border border-transparent outline-none focus-visible:outline-none",
7
+ "inline-flex items-center justify-center gap-2 whitespace-normal text-center rounded-md text-sm font-medium transition-colors cursor-pointer disabled:!cursor-not-allowed [&_svg]:pointer-events-none [&_svg:not([style*='width']):not([style*='height'])]:size-4 [&_svg]:shrink-0 border border-transparent outline-none focus-visible:outline-none",
8
8
  {
9
9
  variants: {
10
10
  variant: {
@@ -49,10 +49,10 @@ const i = r(
49
49
  size: {
50
50
  auto: "h-auto p-1.5",
51
51
  xs: "px-3 py-0.5 text-xs rounded-full",
52
- sm: "h-7 px-3 !text-xs !leading-[14px] rounded-[6px]",
53
- md: "h-8 px-3.5 !text-sm !leading-4 rounded-[8px]",
54
- default: "px-4 h-[40px] !text-[15px] !leading-[18px] rounded-[12px]",
55
- lg: "px-4 h-[44px] !text-[16px] !leading-[19px] rounded-[22px]",
52
+ sm: "min-h-7 h-fit px-3 py-1 !text-xs !leading-[14px] rounded-[6px]",
53
+ md: "min-h-8 h-fit px-3.5 py-1.5 !text-sm !leading-4 rounded-[8px]",
54
+ default: "px-4 min-h-[40px] h-fit py-2.5 !text-[15px] !leading-[18px] rounded-[12px]",
55
+ lg: "px-4 min-h-[44px] h-fit py-2.5 !text-[16px] !leading-[19px] rounded-[22px]",
56
56
  icon: "h-9 w-9 p-2"
57
57
  },
58
58
  width: {
@@ -1,20 +1,23 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import * as e from "react";
3
- import { Button as i } from "../button/button.js";
4
- const f = e.forwardRef(
5
- ({ className: t, children: o, size: r, ...a }, m) => /* @__PURE__ */ n(
6
- i,
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import * as p from "react";
3
+ import { Button as e } from "../button/button.js";
4
+ import { cn as n } from "../../../utils/cn.js";
5
+ import "@gearbox-protocol/sdk/onchain";
6
+ import "../../../utils/z-index.js";
7
+ const s = p.forwardRef(
8
+ ({ className: t, children: o, size: r, ...a }, m) => /* @__PURE__ */ i(
9
+ e,
7
10
  {
8
11
  ref: m,
9
12
  variant: "outline",
10
13
  size: r,
11
- className: t,
14
+ className: n("whitespace-nowrap", t),
12
15
  ...a,
13
16
  children: o
14
17
  }
15
18
  )
16
19
  );
17
- f.displayName = "TabButton";
20
+ s.displayName = "TabButton";
18
21
  export {
19
- f as TabButton
22
+ s as TabButton
20
23
  };
@@ -1,6 +1,4 @@
1
- import { StyledButton as e } from "./styled-button/styled-button.js";
2
- import { StyledDialogContainer as l } from "./styled-dialog-container/styled-dialog-container.js";
1
+ import { StyledDialogContainer as r } from "./styled-dialog-container/styled-dialog-container.js";
3
2
  export {
4
- e as StyledButton,
5
- l as StyledDialogContainer
3
+ r as StyledDialogContainer
6
4
  };
@@ -1,12 +1,11 @@
1
- class l {
2
- static root = "collateral-allocation-tooltip-root";
3
- static row = "collateral-allocation-tooltip-row";
4
- static wheel = "collateral-allocation-tooltip-wheel";
5
- }
6
- class t {
7
- static root = "allocation-wheel-root";
8
- }
1
+ const o = {
2
+ root: "collateral-allocation-tooltip-root",
3
+ row: "collateral-allocation-tooltip-row",
4
+ wheel: "collateral-allocation-tooltip-wheel"
5
+ }, l = {
6
+ root: "allocation-wheel-root"
7
+ };
9
8
  export {
10
- t as AllocationWheelTest,
11
- l as CollateralAllocationTooltipTest
9
+ l as AllocationWheelTest,
10
+ o as CollateralAllocationTooltipTest
12
11
  };
@@ -1,10 +1,10 @@
1
- class t {
2
- static root = "pool-assets-table-root";
3
- static exposureCell = "pool-assets-table-exposure-cell";
4
- static capCell = "pool-assets-table-cap-cell";
5
- static capBelowExposureTip = "pool-assets-table-cap-below-exposure-tip";
6
- static capUtilizationCell = "pool-assets-table-cap-utilization-cell";
7
- }
1
+ const e = {
2
+ root: "pool-assets-table-root",
3
+ exposureCell: "pool-assets-table-exposure-cell",
4
+ capCell: "pool-assets-table-cap-cell",
5
+ capBelowExposureTip: "pool-assets-table-cap-below-exposure-tip",
6
+ capUtilizationCell: "pool-assets-table-cap-utilization-cell"
7
+ };
8
8
  export {
9
- t as PoolAssetsTableTest
9
+ e as PoolAssetsTableTest
10
10
  };
@@ -1,6 +1,6 @@
1
- class t {
2
- static root = "transaction-confirm-amount-field-root";
3
- }
1
+ const o = {
2
+ root: "transaction-confirm-amount-field-root"
3
+ };
4
4
  export {
5
- t as TransactionConfirmAmountFieldTest
5
+ o as TransactionConfirmAmountFieldTest
6
6
  };
@@ -1,9 +1,9 @@
1
- class o {
2
- static root = "transaction-confirm-dialog-root";
3
- static execution = "transaction-confirm-dialog-execution";
4
- static progress = "transaction-confirm-dialog-progress";
5
- static result = "transaction-confirm-dialog-result";
6
- }
1
+ const o = {
2
+ root: "transaction-confirm-dialog-root",
3
+ execution: "transaction-confirm-dialog-execution",
4
+ progress: "transaction-confirm-dialog-progress",
5
+ result: "transaction-confirm-dialog-result"
6
+ };
7
7
  export {
8
8
  o as TransactionConfirmDialogTest
9
9
  };
@@ -1,24 +1,21 @@
1
- class s {
2
- static root = "transaction-confirm-success-result-root";
3
- static headline = "transaction-confirm-success-result-headline";
4
- static subtitle = "transaction-confirm-success-result-subtitle";
5
- static footer = "transaction-confirm-success-result-footer";
6
- }
7
- class o {
8
- static root = "transaction-confirm-failure-result-root";
9
- static footer = "transaction-confirm-failure-result-footer";
10
- }
11
- class a {
12
- static root = "transaction-confirm-tx-hash-row-root";
13
- static txHashLink = "transaction-confirm-tx-hash-row-tx-hash-link";
14
- static addToWallet = "transaction-confirm-tx-hash-row-add-to-wallet";
15
- }
16
- class r {
17
- static root = "transaction-confirm-execute-button-root";
18
- }
1
+ const t = {
2
+ root: "transaction-confirm-success-result-root",
3
+ headline: "transaction-confirm-success-result-headline",
4
+ subtitle: "transaction-confirm-success-result-subtitle",
5
+ footer: "transaction-confirm-success-result-footer"
6
+ }, o = {
7
+ root: "transaction-confirm-failure-result-root",
8
+ footer: "transaction-confirm-failure-result-footer"
9
+ }, r = {
10
+ root: "transaction-confirm-tx-hash-row-root",
11
+ txHashLink: "transaction-confirm-tx-hash-row-tx-hash-link",
12
+ addToWallet: "transaction-confirm-tx-hash-row-add-to-wallet"
13
+ }, n = {
14
+ root: "transaction-confirm-execute-button-root"
15
+ };
19
16
  export {
20
- r as TransactionConfirmExecuteButtonTest,
17
+ n as TransactionConfirmExecuteButtonTest,
21
18
  o as TransactionConfirmFailureResultTest,
22
- s as TransactionConfirmSuccessResultTest,
23
- a as TransactionConfirmTxHashRowTest
19
+ t as TransactionConfirmSuccessResultTest,
20
+ r as TransactionConfirmTxHashRowTest
24
21
  };
@@ -1,6 +1,6 @@
1
- class s {
2
- static root = "progress-stepper-root";
3
- }
1
+ const r = {
2
+ root: "progress-stepper-root"
3
+ };
4
4
  export {
5
- s as ProgressStepperTest
5
+ r as ProgressStepperTest
6
6
  };
@@ -1,14 +1,14 @@
1
1
  import { resolveCSSColor as o } from "./colors.js";
2
- const r = {
2
+ const e = "#02c39a", n = {
3
3
  topColor: "rgba(76, 175, 80, 0.56)",
4
4
  bottomColor: "rgba(76, 175, 80, 0.04)",
5
- lineColor: "#02c39a",
5
+ lineColor: e,
6
6
  lineWidth: 2,
7
7
  lastValueVisible: !1,
8
8
  priceLineVisible: !1
9
- }, a = 'Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif', l = 14, t = 5, n = Math.ceil(l / 2) + 2, b = l + 6, c = 40;
10
- function u() {
11
- const e = o(
9
+ }, a = 'Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif', l = 14, t = 5, b = Math.ceil(l / 2) + 2, c = l + 6, u = 40;
10
+ function f() {
11
+ const r = o(
12
12
  "hsl(var(--muted-foreground))",
13
13
  "rgb(163, 163, 163)"
14
14
  ), i = o("hsl(var(--card))", "rgb(24, 24, 24)");
@@ -31,7 +31,7 @@ function u() {
31
31
  borderColor: "rgba(224, 227, 235, 0.1)",
32
32
  entireTextOnly: !1,
33
33
  tickMarkDensity: t,
34
- textColor: e
34
+ textColor: r
35
35
  },
36
36
  rightPriceScale: {
37
37
  visible: !0,
@@ -41,13 +41,13 @@ function u() {
41
41
  borderColor: "rgba(224, 227, 235, 0.1)",
42
42
  entireTextOnly: !1,
43
43
  tickMarkDensity: t,
44
- textColor: e
44
+ textColor: r
45
45
  },
46
46
  layout: {
47
47
  background: {
48
48
  color: i
49
49
  },
50
- textColor: e,
50
+ textColor: r,
51
51
  fontSize: l,
52
52
  fontFamily: a
53
53
  },
@@ -75,32 +75,32 @@ function u() {
75
75
  }
76
76
  };
77
77
  }
78
- function f() {
78
+ function g() {
79
79
  return {
80
80
  topColor: "rgba(76, 175, 80, 0.56)",
81
81
  bottomColor: "rgba(76, 175, 80, 0.04)",
82
- lineColor: r.lineColor,
82
+ lineColor: e,
83
83
  lineWidth: 2,
84
84
  lastValueVisible: !1,
85
85
  priceLineVisible: !1
86
86
  };
87
87
  }
88
- function g() {
88
+ function _() {
89
89
  return {
90
90
  showLabel: !0,
91
- color: r.lineColor,
92
- labelBackgroundColor: r.lineColor,
91
+ color: e,
92
+ labelBackgroundColor: e,
93
93
  width: 2
94
94
  };
95
95
  }
96
96
  export {
97
- n as AXIS_EDGE_LABEL_PADDING_PX,
97
+ b as AXIS_EDGE_LABEL_PADDING_PX,
98
98
  l as AXIS_FONT_SIZE,
99
99
  t as AXIS_TICK_MARK_DENSITY,
100
- c as AXIS_TIME_EDGE_PADDING_PX,
101
- b as AXIS_TOP_LABEL_PADDING_PX,
102
- r as DEFAULT_AREA_SERIES,
103
- u as getDefaultOptions,
104
- f as getDefaultSeries,
105
- g as getDefaultVerticalLine
100
+ u as AXIS_TIME_EDGE_PADDING_PX,
101
+ c as AXIS_TOP_LABEL_PADDING_PX,
102
+ n as DEFAULT_AREA_SERIES,
103
+ f as getDefaultOptions,
104
+ g as getDefaultSeries,
105
+ _ as getDefaultVerticalLine
106
106
  };