@gearbox-protocol/ui-kit 4.0.0 → 4.0.1

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 (127) 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/section-heading/constants.cjs +1 -1
  21. package/dist/cjs/components/base/segmented-tabs/constants.cjs +1 -1
  22. package/dist/cjs/components/base/stack/constants.cjs +1 -1
  23. package/dist/cjs/components/base/stat-badge/constants.cjs +1 -1
  24. package/dist/cjs/components/base/strategy-apy-breakdown-card/constants.cjs +1 -1
  25. package/dist/cjs/components/base/tabber/constants.cjs +1 -1
  26. package/dist/cjs/components/base/time-to-liquidation-block/constants.cjs +1 -1
  27. package/dist/cjs/components/base/title-meta/constants.cjs +1 -1
  28. package/dist/cjs/components/base/token-amount/constants.cjs +1 -1
  29. package/dist/cjs/components/base/token-pair-symbol/constants.cjs +1 -1
  30. package/dist/cjs/components/base/values/constants.cjs +1 -1
  31. package/dist/cjs/components/base-table/constants.cjs +1 -1
  32. package/dist/cjs/components/collateral-allocation-tooltip/constants.cjs +1 -1
  33. package/dist/cjs/components/composites/pool-assets-table/constants.cjs +1 -1
  34. package/dist/cjs/components/composites/tx-preview/confirm/amounts/constants.cjs +1 -1
  35. package/dist/cjs/components/composites/tx-preview/confirm/dialog/constants.cjs +1 -1
  36. package/dist/cjs/components/composites/tx-preview/confirm/result/constants.cjs +1 -1
  37. package/dist/cjs/components/composites/tx-preview/confirm/stepper/constants.cjs +1 -1
  38. package/dist/cjs/components/legal-agreement/legal-agreement-awaiting-panel.cjs +1 -1
  39. package/dist/cjs/components/legal-agreement/legal-agreement-panel.cjs +1 -1
  40. package/dist/cjs/components/sdk-status-pill/constants.cjs +1 -1
  41. package/dist/cjs/components/slider/constants.cjs +1 -1
  42. package/dist/cjs/components/trading-view/constants.cjs +1 -1
  43. package/dist/esm/components/badge/chip.js +14 -15
  44. package/dist/esm/components/base/amount-input/constants.js +12 -12
  45. package/dist/esm/components/base/borrow-rate-block/constants.js +6 -6
  46. package/dist/esm/components/base/chart-with-side-card/constants.js +6 -6
  47. package/dist/esm/components/base/detailed-page-title/constants.js +5 -5
  48. package/dist/esm/components/base/details-view/constants.js +9 -10
  49. package/dist/esm/components/base/health-factor-block/constants.js +6 -6
  50. package/dist/esm/components/base/history-chart/constants.js +7 -7
  51. package/dist/esm/components/base/info-list/constants.js +6 -6
  52. package/dist/esm/components/base/leverage-input/constants.js +7 -7
  53. package/dist/esm/components/base/liquidation-params-table/constants.js +4 -4
  54. package/dist/esm/components/base/liquidation-price-block/constants.js +6 -6
  55. package/dist/esm/components/base/manage-pane/constants.js +9 -9
  56. package/dist/esm/components/base/more-accordion/constants.js +5 -5
  57. package/dist/esm/components/base/nested-info-stack/constants.js +4 -4
  58. package/dist/esm/components/base/page-title/constants.js +4 -4
  59. package/dist/esm/components/base/pool-apy-breakdown-card/constants.js +7 -7
  60. package/dist/esm/components/base/position-assets/constants.js +7 -7
  61. package/dist/esm/components/base/review-button/constants.js +6 -6
  62. package/dist/esm/components/base/section-heading/constants.js +3 -3
  63. package/dist/esm/components/base/segmented-tabs/constants.js +3 -3
  64. package/dist/esm/components/base/stack/constants.js +4 -4
  65. package/dist/esm/components/base/stat-badge/constants.js +7 -7
  66. package/dist/esm/components/base/strategy-apy-breakdown-card/constants.js +10 -10
  67. package/dist/esm/components/base/tabber/constants.js +6 -6
  68. package/dist/esm/components/base/time-to-liquidation-block/constants.js +6 -6
  69. package/dist/esm/components/base/title-meta/constants.js +7 -7
  70. package/dist/esm/components/base/token-amount/constants.js +4 -4
  71. package/dist/esm/components/base/token-pair-symbol/constants.js +4 -4
  72. package/dist/esm/components/base/values/constants.js +17 -18
  73. package/dist/esm/components/base-table/constants.js +9 -10
  74. package/dist/esm/components/collateral-allocation-tooltip/constants.js +9 -10
  75. package/dist/esm/components/composites/pool-assets-table/constants.js +8 -8
  76. package/dist/esm/components/composites/tx-preview/confirm/amounts/constants.js +4 -4
  77. package/dist/esm/components/composites/tx-preview/confirm/dialog/constants.js +6 -6
  78. package/dist/esm/components/composites/tx-preview/confirm/result/constants.js +18 -21
  79. package/dist/esm/components/composites/tx-preview/confirm/stepper/constants.js +4 -4
  80. package/dist/esm/components/legal-agreement/legal-agreement-awaiting-panel.js +10 -10
  81. package/dist/esm/components/legal-agreement/legal-agreement-panel.js +36 -36
  82. package/dist/esm/components/sdk-status-pill/constants.js +6 -6
  83. package/dist/esm/components/slider/constants.js +4 -4
  84. package/dist/esm/components/trading-view/constants.js +5 -5
  85. package/dist/types/components/badge/chip.d.ts +7 -7
  86. package/dist/types/components/base/amount-input/constants.d.ts +11 -11
  87. package/dist/types/components/base/borrow-rate-block/constants.d.ts +5 -5
  88. package/dist/types/components/base/chart-with-side-card/constants.d.ts +5 -5
  89. package/dist/types/components/base/detailed-page-title/constants.d.ts +4 -4
  90. package/dist/types/components/base/details-view/constants.d.ts +9 -9
  91. package/dist/types/components/base/health-factor-block/constants.d.ts +5 -5
  92. package/dist/types/components/base/history-chart/constants.d.ts +6 -6
  93. package/dist/types/components/base/info-list/constants.d.ts +5 -5
  94. package/dist/types/components/base/leverage-input/constants.d.ts +6 -6
  95. package/dist/types/components/base/liquidation-params-table/constants.d.ts +3 -3
  96. package/dist/types/components/base/liquidation-price-block/constants.d.ts +5 -5
  97. package/dist/types/components/base/manage-pane/constants.d.ts +9 -9
  98. package/dist/types/components/base/more-accordion/constants.d.ts +4 -4
  99. package/dist/types/components/base/nested-info-stack/constants.d.ts +3 -3
  100. package/dist/types/components/base/page-title/constants.d.ts +3 -3
  101. package/dist/types/components/base/pool-apy-breakdown-card/constants.d.ts +7 -7
  102. package/dist/types/components/base/position-assets/constants.d.ts +6 -6
  103. package/dist/types/components/base/review-button/constants.d.ts +5 -5
  104. package/dist/types/components/base/section-heading/constants.d.ts +3 -3
  105. package/dist/types/components/base/segmented-tabs/constants.d.ts +3 -3
  106. package/dist/types/components/base/stack/constants.d.ts +3 -3
  107. package/dist/types/components/base/stat-badge/constants.d.ts +6 -6
  108. package/dist/types/components/base/strategy-apy-breakdown-card/constants.d.ts +9 -9
  109. package/dist/types/components/base/tabber/constants.d.ts +5 -5
  110. package/dist/types/components/base/time-to-liquidation-block/constants.d.ts +5 -5
  111. package/dist/types/components/base/title-meta/constants.d.ts +6 -6
  112. package/dist/types/components/base/token-amount/constants.d.ts +3 -3
  113. package/dist/types/components/base/token-pair-symbol/constants.d.ts +3 -3
  114. package/dist/types/components/base/values/constants.d.ts +16 -16
  115. package/dist/types/components/base-table/constants.d.ts +8 -8
  116. package/dist/types/components/collateral-allocation-tooltip/constants.d.ts +8 -8
  117. package/dist/types/components/composites/pool-assets-table/constants.d.ts +7 -7
  118. package/dist/types/components/composites/tx-preview/confirm/amounts/constants.d.ts +3 -3
  119. package/dist/types/components/composites/tx-preview/confirm/dialog/constants.d.ts +6 -6
  120. package/dist/types/components/composites/tx-preview/confirm/result/constants.d.ts +18 -18
  121. package/dist/types/components/composites/tx-preview/confirm/stepper/constants.d.ts +3 -3
  122. package/dist/types/components/legal-agreement/legal-agreement-awaiting-panel.d.ts +3 -3
  123. package/dist/types/components/legal-agreement/legal-agreement-panel.d.ts +3 -3
  124. package/dist/types/components/sdk-status-pill/constants.d.ts +5 -5
  125. package/dist/types/components/slider/constants.d.ts +3 -3
  126. package/dist/types/components/trading-view/constants.d.ts +4 -4
  127. package/package.json +3 -2
@@ -1,9 +1,9 @@
1
- class t {
2
- static root = "position-assets-root";
3
- static row = "position-assets-row";
4
- static worth = "position-assets-worth";
5
- static empty = "position-assets-empty";
6
- }
1
+ const s = {
2
+ root: "position-assets-root",
3
+ row: "position-assets-row",
4
+ worth: "position-assets-worth",
5
+ empty: "position-assets-empty"
6
+ };
7
7
  export {
8
- t as PositionAssetsTest
8
+ s as PositionAssetsTest
9
9
  };
@@ -1,8 +1,8 @@
1
- class e {
2
- static root = "review-button-root";
3
- static error = "review-button-error";
4
- static tip = "review-button-tip";
5
- }
1
+ const t = {
2
+ root: "review-button-root",
3
+ error: "review-button-error",
4
+ tip: "review-button-tip"
5
+ };
6
6
  export {
7
- e as ReviewButtonTest
7
+ t as ReviewButtonTest
8
8
  };
@@ -1,6 +1,6 @@
1
- class o {
2
- static root = "section-heading-root";
3
- }
1
+ const o = {
2
+ root: "section-heading-root"
3
+ };
4
4
  export {
5
5
  o as SectionHeadingTest
6
6
  };
@@ -1,6 +1,6 @@
1
- class e {
2
- static root = "segmented-tabs-root";
3
- }
1
+ const e = {
2
+ root: "segmented-tabs-root"
3
+ };
4
4
  export {
5
5
  e as SegmentedTabsTest
6
6
  };
@@ -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
  };
@@ -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,24 +1,24 @@
1
- import { jsxs as t, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import { IconPending as n } from "@gearbox-protocol/static";
3
- import { legalAgreementAwaitingRootVariants as r, legalAgreementAwaitingTitleVariants as s, legalAgreementAwaitingDescriptionVariants as l } from "./legal-agreement.variants.js";
4
- class g {
5
- static root = "legal-agreement-awaiting-panel-root";
6
- }
3
+ import { legalAgreementAwaitingRootVariants as r, legalAgreementAwaitingTitleVariants as l, legalAgreementAwaitingDescriptionVariants as s } from "./legal-agreement.variants.js";
4
+ const g = {
5
+ root: "legal-agreement-awaiting-panel-root"
6
+ };
7
7
  function A({
8
- waitingForSignatureText: a = "Please sign the message in your wallet to agree to the Terms of Service.",
8
+ waitingForSignatureText: i = "Please sign the message in your wallet to agree to the Terms of Service.",
9
9
  theme: e = "default"
10
10
  }) {
11
- return /* @__PURE__ */ t(
11
+ return /* @__PURE__ */ a(
12
12
  "div",
13
13
  {
14
14
  className: r({ theme: e }),
15
15
  "data-testid": g.root,
16
16
  children: [
17
- /* @__PURE__ */ t("div", { className: s({ theme: e }), children: [
18
- /* @__PURE__ */ i(n, { size: 20, className: "animate-spin" }),
17
+ /* @__PURE__ */ a("div", { className: l({ theme: e }), children: [
18
+ /* @__PURE__ */ t(n, { size: 20, className: "animate-spin" }),
19
19
  "Waiting for Signature"
20
20
  ] }),
21
- /* @__PURE__ */ i("p", { className: l({ theme: e }), children: a })
21
+ /* @__PURE__ */ t("p", { className: s({ theme: e }), children: i })
22
22
  ]
23
23
  }
24
24
  );
@@ -1,19 +1,19 @@
1
- import { jsx as l, jsxs as s } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as s } from "react/jsx-runtime";
2
2
  import { faTriangleExclamation as h } from "@fortawesome/free-solid-svg-icons";
3
3
  import { Checkbox as b } from "../checkbox/checkbox.js";
4
4
  import { CheckboxLabeled as u } from "../checkbox/checkbox-labeled.js";
5
5
  import { FaIcon as N } from "../icons/fa-icon.js";
6
6
  import { legalAgreementPanelRootVariants as k, legalAgreementPanelNotificationVariants as p, legalAgreementPanelV2BannerVariants as f, legalAgreementPanelCheckboxListVariants as v, legalAgreementPanelCheckboxListTitleVariants as A, legalAgreementPanelCheckboxRowVariants as x, legalAgreementPanelCheckboxLabelVariants as g } from "./legal-agreement.variants.js";
7
- class P {
8
- static root = "legal-agreement-panel-root";
9
- }
7
+ const P = {
8
+ root: "legal-agreement-panel-root"
9
+ };
10
10
  function T({
11
- config: a,
11
+ config: l,
12
12
  checkedItems: i,
13
- onCheckedChange: n,
13
+ onCheckedChange: t,
14
14
  hasV2Signature: r,
15
- showTitle: c,
16
- checkboxIdPrefix: o,
15
+ showTitle: o,
16
+ checkboxIdPrefix: c,
17
17
  theme: e
18
18
  }) {
19
19
  return /* @__PURE__ */ s(
@@ -22,79 +22,79 @@ function T({
22
22
  className: k({ theme: e }),
23
23
  "data-testid": P.root,
24
24
  children: [
25
- c ? /* @__PURE__ */ l("h2", { className: "text-center text-xl font-semibold text-foreground", children: r ? a.updatedTitle || "Terms of Service Updated" : a.title || "Legal Agreement" }) : null,
26
- /* @__PURE__ */ l("div", { className: p({ theme: e }), children: a.notificationText }),
25
+ o ? /* @__PURE__ */ a("h2", { className: "text-center text-xl font-semibold text-foreground", children: r ? l.updatedTitle || "Terms of Service Updated" : l.title || "Legal Agreement" }) : null,
26
+ /* @__PURE__ */ a("div", { className: p({ theme: e }), children: l.notificationText }),
27
27
  r ? /* @__PURE__ */ s("div", { className: f({ theme: e }), children: [
28
- /* @__PURE__ */ l(
28
+ /* @__PURE__ */ a(
29
29
  N,
30
30
  {
31
31
  icon: h,
32
32
  className: "size-5 shrink-0 text-yellow-500 mt-0.5"
33
33
  }
34
34
  ),
35
- /* @__PURE__ */ l("div", { className: "text-sm text-yellow-500", children: a.updatedTermsNoticeText ?? `Our Terms of Service have been updated. Please review and sign the new agreement to continue using ${a.productName}.` })
35
+ /* @__PURE__ */ a("div", { className: "text-sm text-yellow-500", children: l.updatedTermsNoticeText ?? `Our Terms of Service have been updated. Please review and sign the new agreement to continue using ${l.productName}.` })
36
36
  ] }) : null,
37
37
  /* @__PURE__ */ s("div", { className: v({ theme: e }), children: [
38
- a.checkboxListTitle ? /* @__PURE__ */ l(
38
+ l.checkboxListTitle ? /* @__PURE__ */ a(
39
39
  "div",
40
40
  {
41
41
  className: A({ theme: e }),
42
- children: a.checkboxListTitle
42
+ children: l.checkboxListTitle
43
43
  }
44
44
  ) : null,
45
- a.checkboxItems.map((t) => {
46
- const d = `${o}-${t.id}`, m = i[t.id] || !1;
47
- return e === "gearboxV3" ? /* @__PURE__ */ l(
45
+ l.checkboxItems.map((n) => {
46
+ const d = `${c}-${n.id}`, m = i[n.id] || !1;
47
+ return e === "gearboxV3" ? /* @__PURE__ */ a(
48
48
  "div",
49
49
  {
50
50
  className: x({ theme: e }),
51
- children: /* @__PURE__ */ l(
51
+ children: /* @__PURE__ */ a(
52
52
  u,
53
53
  {
54
54
  id: d,
55
55
  checked: m,
56
- onChange: () => n(t.id),
56
+ onChange: () => t(n.id),
57
57
  boxAlign: "flex-start",
58
58
  size: "lg",
59
59
  color: "secondary",
60
- children: /* @__PURE__ */ l(
60
+ children: /* @__PURE__ */ a(
61
61
  "div",
62
62
  {
63
63
  className: g({
64
64
  theme: e
65
65
  }),
66
- children: t.content
66
+ children: n.content
67
67
  }
68
68
  )
69
69
  }
70
70
  )
71
71
  },
72
- t.id
72
+ n.id
73
73
  ) : /* @__PURE__ */ s(
74
74
  "label",
75
75
  {
76
76
  htmlFor: d,
77
77
  className: x({ theme: e }),
78
78
  children: [
79
- /* @__PURE__ */ l(
79
+ /* @__PURE__ */ a(
80
80
  b,
81
81
  {
82
82
  id: d,
83
83
  checked: m,
84
- onCheckedChange: () => n(t.id),
84
+ onCheckedChange: () => t(n.id),
85
85
  className: "mt-1"
86
86
  }
87
87
  ),
88
- /* @__PURE__ */ l(
88
+ /* @__PURE__ */ a(
89
89
  "span",
90
90
  {
91
91
  className: g({ theme: e }),
92
- children: t.content
92
+ children: n.content
93
93
  }
94
94
  )
95
95
  ]
96
96
  },
97
- t.id
97
+ n.id
98
98
  );
99
99
  })
100
100
  ] })
@@ -103,23 +103,23 @@ function T({
103
103
  );
104
104
  }
105
105
  function $({
106
- config: a,
106
+ config: l,
107
107
  checkedItems: i,
108
- onCheckedChange: n,
108
+ onCheckedChange: t,
109
109
  hasV2Signature: r = !1,
110
- showTitle: c = !1,
111
- checkboxIdPrefix: o = "legal-checkbox",
110
+ showTitle: o = !1,
111
+ checkboxIdPrefix: c = "legal-checkbox",
112
112
  theme: e = "default"
113
113
  }) {
114
- return /* @__PURE__ */ l(
114
+ return /* @__PURE__ */ a(
115
115
  T,
116
116
  {
117
- config: a,
117
+ config: l,
118
118
  checkedItems: i,
119
- onCheckedChange: n,
119
+ onCheckedChange: t,
120
120
  hasV2Signature: r,
121
- showTitle: c,
122
- checkboxIdPrefix: o,
121
+ showTitle: o,
122
+ checkboxIdPrefix: c,
123
123
  theme: e
124
124
  }
125
125
  );
@@ -1,8 +1,8 @@
1
- class s {
2
- static root = "sdk-status-pill-root";
3
- static dot = "sdk-status-pill-dot";
4
- static tooltip = "sdk-status-pill-tooltip";
5
- }
1
+ const t = {
2
+ root: "sdk-status-pill-root",
3
+ dot: "sdk-status-pill-dot",
4
+ tooltip: "sdk-status-pill-tooltip"
5
+ };
6
6
  export {
7
- s as SdkStatusPillTest
7
+ t as SdkStatusPillTest
8
8
  };
@@ -1,6 +1,6 @@
1
- class t {
2
- static interval = "slider-interval";
3
- }
1
+ const e = {
2
+ interval: "slider-interval"
3
+ };
4
4
  export {
5
- t as SliderTest
5
+ e as SliderTest
6
6
  };
@@ -1,7 +1,7 @@
1
- class t {
2
- static priceScaleTitles = "trading-view-price-scale-titles";
3
- static priceScaleTitle = (e) => `trading-view-price-scale-title-${e}`;
4
- }
1
+ const i = {
2
+ priceScaleTitles: "trading-view-price-scale-titles",
3
+ priceScaleTitle: (e) => `trading-view-price-scale-title-${e}`
4
+ };
5
5
  export {
6
- t as TradingViewTest
6
+ i as TradingViewTest
7
7
  };
@@ -1,11 +1,11 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- export declare class ChipTest {
3
- static root: string;
4
- }
5
- export declare class ChipsTest {
6
- static root: string;
7
- static chip: string;
8
- }
2
+ export declare const ChipTest: {
3
+ readonly root: "chip-root";
4
+ };
5
+ export declare const ChipsTest: {
6
+ readonly root: "chips-root";
7
+ readonly chip: "chip-root";
8
+ };
9
9
  export type ChipTone = "success" | "info" | "neutral" | "warning" | "danger" | "accent";
10
10
  export interface ChipProps {
11
11
  readonly children?: ReactNode;