@gearbox-protocol/permissionless-ui 1.22.0-next.6 → 1.22.0-next.7

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.
@@ -1,4 +1,4 @@
1
- import { generateId as o, useFormFieldIds as r } from "./a11y.js";
1
+ import { generateId as t, useFormFieldIds as r } from "./a11y.js";
2
2
  import { bnToInputView as m } from "./bn-to-input-view.js";
3
3
  import { bnToPrettyView as p } from "./bn-to-pretty-view.js";
4
4
  import { cn as i, cn as l } from "./cn.js";
@@ -6,77 +6,78 @@ import { generateColorsFromBase as T, getCSSVariable as x, hexToRgba as c, resol
6
6
  import { copyToClipboard as A } from "./copy.js";
7
7
  import { convertPercent as N, formatBytecodeSize as d, formatBytecodeVersion as h, formatTimestamp as C, shortenHash as I, significantTrunc as k } from "./format.js";
8
8
  import { formatAssetAmount as b } from "./format-asset-amount.js";
9
- import { PERCENTAGE_FACTOR as P, SLIPPAGE_DECIMALS as F, formatMoney as L, formatMoney as v, formatPercentAmount as B, percentTemplate as E, percentageTemplate as M, slippageTemplate as R } from "./format-money.js";
10
- import { FORMAT_CONSTANTS as D, formatNumberWithSuffix as O, formatPrice as _, getAdaptiveDecimals as z, isBelowDisplayThreshold as G, isEffectivelyZero as H, toSignificantDigits as W } from "./format-number.js";
11
- import { getAllNetworks as j, getNetworkByChainId as q, getNetworkConfig as J, getNetworkIcon as K } from "./network-icons.js";
12
- import { parseInputToBN as U } from "./parse-input-to-bn.js";
13
- import { pluralize as Y, selectPluralString as $ } from "./plural.js";
9
+ import { PERCENTAGE_FACTOR as P, SLIPPAGE_DECIMALS as F, formatMoney as L, formatMoney as v, formatPercentAmount as B, percentTemplate as E, percentageTemplate as M } from "./format-money.js";
10
+ import { FORMAT_CONSTANTS as V, formatNumberWithSuffix as D, formatPrice as O, getAdaptiveDecimals as _, isBelowDisplayThreshold as z, isEffectivelyZero as G, toSignificantDigits as H } from "./format-number.js";
11
+ import { slippageTemplate as Z } from "./format-slippage.js";
12
+ import { getAllNetworks as q, getNetworkByChainId as J, getNetworkConfig as K, getNetworkIcon as Q } from "./network-icons.js";
13
+ import { parseInputToBN as X } from "./parse-input-to-bn.js";
14
+ import { pluralize as $, selectPluralString as ee } from "./plural.js";
14
15
  import { getAvailableRanges as te } from "./ranges.js";
15
- import { extractTextFromLabel as re, serializeValue as ae } from "./react.js";
16
- import { searchInString as ne } from "./search.js";
17
- import { createTokenSearchFilter as fe, searchInToken as ie } from "./search-in-token.js";
18
- import { shortSHA as se } from "./short-sha.js";
19
- import { shortenString as xe } from "./shorten-string.js";
20
- import { negativeTokenTemplate as ge, tokenTemplate as Se, tokenTemplateNumber as Ae, tokenTemplateString as ue } from "./templates.js";
21
- import { TTL_CONSTANTS as de, getTTLZone as he, ttlFromTimestamp as Ce, ttlLeft as Ie, ttlLeftParsed as ke } from "./ttl.js";
22
- import { openInNewWindow as be } from "./window.js";
16
+ import { extractTextFromLabel as ae, serializeValue as me } from "./react.js";
17
+ import { searchInString as pe } from "./search.js";
18
+ import { createTokenSearchFilter as ie, searchInToken as le } from "./search-in-token.js";
19
+ import { shortSHA as Te } from "./short-sha.js";
20
+ import { shortenString as ce } from "./shorten-string.js";
21
+ import { negativeTokenTemplate as Se, tokenTemplate as Ae, tokenTemplateNumber as ue, tokenTemplateString as Ne } from "./templates.js";
22
+ import { TTL_CONSTANTS as he, getTTLZone as Ce, ttlFromTimestamp as Ie, ttlLeft as ke, ttlLeftParsed as ye } from "./ttl.js";
23
+ import { openInNewWindow as we } from "./window.js";
23
24
  export {
24
- D as FORMAT_CONSTANTS,
25
+ V as FORMAT_CONSTANTS,
25
26
  P as PERCENTAGE_FACTOR,
26
27
  F as SLIPPAGE_DECIMALS,
27
- de as TTL_CONSTANTS,
28
+ he as TTL_CONSTANTS,
28
29
  m as bnToInputView,
29
30
  p as bnToPrettyView,
30
31
  i as cn,
31
32
  N as convertPercent,
32
33
  A as copyToClipboard,
33
- fe as createTokenSearchFilter,
34
+ ie as createTokenSearchFilter,
34
35
  l as default,
35
- re as extractTextFromLabel,
36
+ ae as extractTextFromLabel,
36
37
  b as formatAssetAmount,
37
38
  d as formatBytecodeSize,
38
39
  h as formatBytecodeVersion,
39
40
  L as formatMoney,
40
41
  v as formatMoneyAmount,
41
- O as formatNumberWithSuffix,
42
+ D as formatNumberWithSuffix,
42
43
  B as formatPercentAmount,
43
- _ as formatPrice,
44
+ O as formatPrice,
44
45
  C as formatTimestamp,
45
46
  T as generateColorsFromBase,
46
- o as generateId,
47
- z as getAdaptiveDecimals,
48
- j as getAllNetworks,
47
+ t as generateId,
48
+ _ as getAdaptiveDecimals,
49
+ q as getAllNetworks,
49
50
  te as getAvailableRanges,
50
51
  x as getCSSVariable,
51
- q as getNetworkByChainId,
52
- J as getNetworkConfig,
53
- K as getNetworkIcon,
54
- he as getTTLZone,
52
+ J as getNetworkByChainId,
53
+ K as getNetworkConfig,
54
+ Q as getNetworkIcon,
55
+ Ce as getTTLZone,
55
56
  c as hexToRgba,
56
- G as isBelowDisplayThreshold,
57
- H as isEffectivelyZero,
58
- ge as negativeTokenTemplate,
59
- be as openInNewWindow,
60
- U as parseInputToBN,
57
+ z as isBelowDisplayThreshold,
58
+ G as isEffectivelyZero,
59
+ Se as negativeTokenTemplate,
60
+ we as openInNewWindow,
61
+ X as parseInputToBN,
61
62
  E as percentTemplate,
62
63
  M as percentageTemplate,
63
- Y as pluralize,
64
+ $ as pluralize,
64
65
  g as resolveCSSColor,
65
- ne as searchInString,
66
- ie as searchInToken,
67
- $ as selectPluralString,
68
- ae as serializeValue,
69
- se as shortSHA,
66
+ pe as searchInString,
67
+ le as searchInToken,
68
+ ee as selectPluralString,
69
+ me as serializeValue,
70
+ Te as shortSHA,
70
71
  I as shortenHash,
71
- xe as shortenString,
72
+ ce as shortenString,
72
73
  k as significantTrunc,
73
- R as slippageTemplate,
74
- W as toSignificantDigits,
75
- Se as tokenTemplate,
76
- Ae as tokenTemplateNumber,
77
- ue as tokenTemplateString,
78
- Ce as ttlFromTimestamp,
79
- Ie as ttlLeft,
80
- ke as ttlLeftParsed,
74
+ Z as slippageTemplate,
75
+ H as toSignificantDigits,
76
+ Ae as tokenTemplate,
77
+ ue as tokenTemplateNumber,
78
+ Ne as tokenTemplateString,
79
+ Ie as ttlFromTimestamp,
80
+ ke as ttlLeft,
81
+ ye as ttlLeftParsed,
81
82
  r as useFormFieldIds
82
83
  };