@huma-finance/widgets 0.0.8 → 0.0.11
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/cjs/index.cjs +139 -131
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.js +139 -131
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/Activity.tsx +123 -123
- package/src/components/AllowListModal.tsx +113 -113
- package/src/components/ApproveAllowanceModal.tsx +118 -118
- package/src/components/ChooseAmountModal.tsx +315 -315
- package/src/components/CreditLine/borrow/1-Evaluation.tsx +158 -159
- package/src/components/CreditLine/borrow/2-AllowList.tsx +34 -34
- package/src/components/CreditLine/borrow/3-ChooseAmount.tsx +74 -74
- package/src/components/CreditLine/borrow/4-ApproveAllowance.tsx +29 -29
- package/src/components/CreditLine/borrow/5-Transfer.tsx +30 -30
- package/src/components/CreditLine/borrow/6-Success.tsx +30 -30
- package/src/components/CreditLine/borrow/index.tsx +119 -119
- package/src/components/CreditLine/payment/1-ChooseAmount.tsx +67 -67
- package/src/components/CreditLine/payment/2-ApproveAllowance.tsx +23 -23
- package/src/components/CreditLine/payment/3-Transfer.tsx +34 -34
- package/src/components/CreditLine/payment/4-Success.tsx +39 -39
- package/src/components/CreditLine/payment/index.tsx +94 -94
- package/src/components/ErrorModal.tsx +132 -132
- package/src/components/Factoring/FactoredList.tsx +143 -143
- package/src/components/Factoring/UpcomingList.tsx +90 -90
- package/src/components/InvoiceFactoring/borrow/1-Evaluation.tsx +52 -46
- package/src/components/InvoiceFactoring/borrow/2-AllowList.tsx +34 -34
- package/src/components/InvoiceFactoring/borrow/3-ChooseAmount.tsx +86 -92
- package/src/components/InvoiceFactoring/borrow/4-ConfirmTransfer.tsx +104 -104
- package/src/components/InvoiceFactoring/borrow/5-ApproveNFT.tsx +55 -55
- package/src/components/InvoiceFactoring/borrow/6-Transfer.tsx +34 -34
- package/src/components/InvoiceFactoring/borrow/7-Success.tsx +3 -3
- package/src/components/InvoiceFactoring/borrow/index.tsx +96 -96
- package/src/components/InvoiceFactoring/payment/1-ChooseAmount.tsx +67 -67
- package/src/components/InvoiceFactoring/payment/2-ApproveAllowance.tsx +23 -23
- package/src/components/InvoiceFactoring/payment/3-Transfer.tsx +34 -34
- package/src/components/InvoiceFactoring/payment/4-Success.tsx +23 -23
- package/src/components/InvoiceFactoring/payment/index.tsx +86 -86
- package/src/components/Lend/supply/1-Evaluation.tsx +86 -86
- package/src/components/Lend/supply/2-ChooseAmount.tsx +70 -70
- package/src/components/Lend/supply/3-ApproveAllowance.tsx +25 -25
- package/src/components/Lend/supply/4-ConfirmTransfer.tsx +104 -104
- package/src/components/Lend/supply/6-Transfer.tsx +32 -32
- package/src/components/Lend/supply/7-Success.tsx +49 -49
- package/src/components/Lend/supply/index.tsx +144 -144
- package/src/components/Lend/withdraw/1-CheckWithdrawble.tsx +73 -73
- package/src/components/Lend/withdraw/2-ChooseAmount.tsx +50 -50
- package/src/components/Lend/withdraw/3-Transfer.tsx +32 -32
- package/src/components/Lend/withdraw/4-Success.tsx +49 -49
- package/src/components/Lend/withdraw/index.tsx +101 -101
- package/src/components/StreamFactoring/borrow/1-Evaluation.tsx +47 -57
- package/src/components/StreamFactoring/borrow/2-ChooseAmount.tsx +124 -124
- package/src/components/StreamFactoring/borrow/3-ConfirmTransfer.tsx +104 -104
- package/src/components/StreamFactoring/borrow/4-ApproveAllowance.tsx +65 -65
- package/src/components/StreamFactoring/borrow/5-Permit.tsx +144 -144
- package/src/components/StreamFactoring/borrow/6-Transfer.tsx +37 -37
- package/src/components/StreamFactoring/borrow/7-Success.tsx +2 -2
- package/src/components/StreamFactoring/borrow/index.tsx +94 -95
- package/src/components/StreamFactoring/payment/ChooseAmount.tsx +54 -54
- package/src/components/StreamFactoring/payment/Success.tsx +23 -23
- package/src/components/StreamFactoring/payment/Transfer.tsx +34 -34
- package/src/components/StreamFactoring/payment/index.tsx +66 -66
- package/src/components/SuperfluidFactoring/SuperfluidFactoredList.tsx +61 -61
- package/src/components/SuperfluidFactoring/SuperfluidUpcomingList.tsx +185 -185
- package/src/components/SuperfluidFactoring/index.tsx +85 -85
- package/src/components/TxDoneModal.tsx +83 -83
- package/src/components/TxSendModal.tsx +59 -59
- package/src/components/ViewOnExplorer.tsx +26 -26
- package/src/components/WidgetWrapper.tsx +74 -74
- package/src/components/humaModal/HumaModal.tsx +68 -68
- package/src/cosmos/SDKTesting.fixture.tsx +557 -515
- package/src/hooks/useEA.ts +72 -70
- package/src/index.tsx +219 -219
- package/src/store/widgets.reducers.ts +120 -120
- package/src/store/widgets.store.ts +55 -55
- package/src/theme/components.ts +1 -1
- package/src/theme/hooks/useGetSizes.ts +0 -3
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
import { createSlice, PayloadAction } from '@reduxjs/toolkit'
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
initialWidgetState,
|
|
6
|
-
MultisendPayload,
|
|
7
|
-
WIDGET_STEP,
|
|
8
|
-
WidgetStream,
|
|
9
|
-
} from './widgets.store'
|
|
10
|
-
|
|
11
|
-
export const widgetSlice = createSlice({
|
|
12
|
-
name: 'widget',
|
|
13
|
-
initialState: initialWidgetState,
|
|
14
|
-
reducers: {
|
|
15
|
-
resetState: (state) => {
|
|
16
|
-
state.errorReason = ''
|
|
17
|
-
state.errorMessage = ''
|
|
18
|
-
state.step = undefined
|
|
19
|
-
state.
|
|
20
|
-
state.borrowAmount = undefined
|
|
21
|
-
state.borrowAmountBN = undefined
|
|
22
|
-
state.chargedFees = undefined
|
|
23
|
-
state.borrowAmountNet = undefined
|
|
24
|
-
state.remainder = undefined
|
|
25
|
-
state.tokenId = undefined
|
|
26
|
-
state.paymentAmount = undefined
|
|
27
|
-
state.remainDueAmount = undefined
|
|
28
|
-
state.stream = undefined
|
|
29
|
-
state.multisend = undefined
|
|
30
|
-
state.supplyAmount = undefined
|
|
31
|
-
state.withdrawAmount = undefined
|
|
32
|
-
},
|
|
33
|
-
setStep: (state, { payload }: PayloadAction<WIDGET_STEP>) => {
|
|
34
|
-
state.step = payload
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
state,
|
|
38
|
-
{ payload }: PayloadAction<
|
|
39
|
-
) => {
|
|
40
|
-
state.
|
|
41
|
-
if (Number(payload.creditLimit) > 0) {
|
|
42
|
-
state.step = payload.nextStep
|
|
43
|
-
} else {
|
|
44
|
-
state.errorMessage =
|
|
45
|
-
'Sorry, there was an error with your transaction. Please try submitting again.'
|
|
46
|
-
state.step = WIDGET_STEP.Error
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
setBorrowInfo: (
|
|
50
|
-
state,
|
|
51
|
-
{
|
|
52
|
-
payload,
|
|
53
|
-
}: PayloadAction<{
|
|
54
|
-
borrowAmount: number
|
|
55
|
-
borrowAmountBN: string
|
|
56
|
-
chargedFees: number
|
|
57
|
-
nextStep: WIDGET_STEP
|
|
58
|
-
remainder?: number
|
|
59
|
-
}>,
|
|
60
|
-
) => {
|
|
61
|
-
state.borrowAmount = payload.borrowAmount
|
|
62
|
-
state.borrowAmountBN = payload.borrowAmountBN
|
|
63
|
-
state.remainder = payload.remainder
|
|
64
|
-
state.chargedFees = payload.chargedFees
|
|
65
|
-
state.borrowAmountNet = payload.borrowAmount - payload.chargedFees
|
|
66
|
-
state.step = payload.nextStep
|
|
67
|
-
},
|
|
68
|
-
setTokenId: (state, { payload }: PayloadAction<string>) => {
|
|
69
|
-
state.tokenId = payload
|
|
70
|
-
},
|
|
71
|
-
setPaymentAmount: (
|
|
72
|
-
state,
|
|
73
|
-
{
|
|
74
|
-
payload,
|
|
75
|
-
}: PayloadAction<{ paymentAmount: number; remainDueAmount?: number }>,
|
|
76
|
-
) => {
|
|
77
|
-
state.paymentAmount = payload.paymentAmount
|
|
78
|
-
state.remainDueAmount = payload.remainDueAmount
|
|
79
|
-
},
|
|
80
|
-
setSupplyAmount: (state, { payload }: PayloadAction<number>) => {
|
|
81
|
-
state.supplyAmount = payload
|
|
82
|
-
},
|
|
83
|
-
setWithdrawAmount: (state, { payload }: PayloadAction<number>) => {
|
|
84
|
-
state.withdrawAmount = payload
|
|
85
|
-
},
|
|
86
|
-
setStream: (state, { payload }: PayloadAction<WidgetStream>) => {
|
|
87
|
-
const stream = state.stream ?? {}
|
|
88
|
-
state.stream = { ...stream, ...payload }
|
|
89
|
-
},
|
|
90
|
-
setMultisend: (state, { payload }: PayloadAction<MultisendPayload>) => {
|
|
91
|
-
state.multisend = payload
|
|
92
|
-
},
|
|
93
|
-
setError: (
|
|
94
|
-
state,
|
|
95
|
-
{
|
|
96
|
-
payload,
|
|
97
|
-
}: PayloadAction<{ errorMessage: string; errorReason?: string }>,
|
|
98
|
-
) => {
|
|
99
|
-
state.errorMessage = payload.errorMessage
|
|
100
|
-
state.errorReason = payload.errorReason
|
|
101
|
-
state.step = WIDGET_STEP.Error
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
})
|
|
105
|
-
|
|
106
|
-
export const {
|
|
107
|
-
resetState,
|
|
108
|
-
setStep,
|
|
109
|
-
|
|
110
|
-
setBorrowInfo,
|
|
111
|
-
setError,
|
|
112
|
-
setTokenId,
|
|
113
|
-
setPaymentAmount,
|
|
114
|
-
setStream,
|
|
115
|
-
setMultisend,
|
|
116
|
-
setSupplyAmount,
|
|
117
|
-
setWithdrawAmount,
|
|
118
|
-
} = widgetSlice.actions
|
|
119
|
-
|
|
120
|
-
export default widgetSlice.reducer
|
|
1
|
+
import { createSlice, PayloadAction } from '@reduxjs/toolkit'
|
|
2
|
+
import { Approval } from '@huma-finance/shared'
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
initialWidgetState,
|
|
6
|
+
MultisendPayload,
|
|
7
|
+
WIDGET_STEP,
|
|
8
|
+
WidgetStream,
|
|
9
|
+
} from './widgets.store'
|
|
10
|
+
|
|
11
|
+
export const widgetSlice = createSlice({
|
|
12
|
+
name: 'widget',
|
|
13
|
+
initialState: initialWidgetState,
|
|
14
|
+
reducers: {
|
|
15
|
+
resetState: (state) => {
|
|
16
|
+
state.errorReason = ''
|
|
17
|
+
state.errorMessage = ''
|
|
18
|
+
state.step = undefined
|
|
19
|
+
state.approval = undefined
|
|
20
|
+
state.borrowAmount = undefined
|
|
21
|
+
state.borrowAmountBN = undefined
|
|
22
|
+
state.chargedFees = undefined
|
|
23
|
+
state.borrowAmountNet = undefined
|
|
24
|
+
state.remainder = undefined
|
|
25
|
+
state.tokenId = undefined
|
|
26
|
+
state.paymentAmount = undefined
|
|
27
|
+
state.remainDueAmount = undefined
|
|
28
|
+
state.stream = undefined
|
|
29
|
+
state.multisend = undefined
|
|
30
|
+
state.supplyAmount = undefined
|
|
31
|
+
state.withdrawAmount = undefined
|
|
32
|
+
},
|
|
33
|
+
setStep: (state, { payload }: PayloadAction<WIDGET_STEP>) => {
|
|
34
|
+
state.step = payload
|
|
35
|
+
},
|
|
36
|
+
setApproval: (
|
|
37
|
+
state,
|
|
38
|
+
{ payload }: PayloadAction<Approval & { nextStep: WIDGET_STEP }>,
|
|
39
|
+
) => {
|
|
40
|
+
state.approval = payload
|
|
41
|
+
if (Number(payload.terms.creditLimit) > 0) {
|
|
42
|
+
state.step = payload.nextStep
|
|
43
|
+
} else {
|
|
44
|
+
state.errorMessage =
|
|
45
|
+
'Sorry, there was an error with your transaction. Please try submitting again.'
|
|
46
|
+
state.step = WIDGET_STEP.Error
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
setBorrowInfo: (
|
|
50
|
+
state,
|
|
51
|
+
{
|
|
52
|
+
payload,
|
|
53
|
+
}: PayloadAction<{
|
|
54
|
+
borrowAmount: number
|
|
55
|
+
borrowAmountBN: string
|
|
56
|
+
chargedFees: number
|
|
57
|
+
nextStep: WIDGET_STEP
|
|
58
|
+
remainder?: number
|
|
59
|
+
}>,
|
|
60
|
+
) => {
|
|
61
|
+
state.borrowAmount = payload.borrowAmount
|
|
62
|
+
state.borrowAmountBN = payload.borrowAmountBN
|
|
63
|
+
state.remainder = payload.remainder
|
|
64
|
+
state.chargedFees = payload.chargedFees
|
|
65
|
+
state.borrowAmountNet = payload.borrowAmount - payload.chargedFees
|
|
66
|
+
state.step = payload.nextStep
|
|
67
|
+
},
|
|
68
|
+
setTokenId: (state, { payload }: PayloadAction<string>) => {
|
|
69
|
+
state.tokenId = payload
|
|
70
|
+
},
|
|
71
|
+
setPaymentAmount: (
|
|
72
|
+
state,
|
|
73
|
+
{
|
|
74
|
+
payload,
|
|
75
|
+
}: PayloadAction<{ paymentAmount: number; remainDueAmount?: number }>,
|
|
76
|
+
) => {
|
|
77
|
+
state.paymentAmount = payload.paymentAmount
|
|
78
|
+
state.remainDueAmount = payload.remainDueAmount
|
|
79
|
+
},
|
|
80
|
+
setSupplyAmount: (state, { payload }: PayloadAction<number>) => {
|
|
81
|
+
state.supplyAmount = payload
|
|
82
|
+
},
|
|
83
|
+
setWithdrawAmount: (state, { payload }: PayloadAction<number>) => {
|
|
84
|
+
state.withdrawAmount = payload
|
|
85
|
+
},
|
|
86
|
+
setStream: (state, { payload }: PayloadAction<WidgetStream>) => {
|
|
87
|
+
const stream = state.stream ?? {}
|
|
88
|
+
state.stream = { ...stream, ...payload }
|
|
89
|
+
},
|
|
90
|
+
setMultisend: (state, { payload }: PayloadAction<MultisendPayload>) => {
|
|
91
|
+
state.multisend = payload
|
|
92
|
+
},
|
|
93
|
+
setError: (
|
|
94
|
+
state,
|
|
95
|
+
{
|
|
96
|
+
payload,
|
|
97
|
+
}: PayloadAction<{ errorMessage: string; errorReason?: string }>,
|
|
98
|
+
) => {
|
|
99
|
+
state.errorMessage = payload.errorMessage
|
|
100
|
+
state.errorReason = payload.errorReason
|
|
101
|
+
state.step = WIDGET_STEP.Error
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
})
|
|
105
|
+
|
|
106
|
+
export const {
|
|
107
|
+
resetState,
|
|
108
|
+
setStep,
|
|
109
|
+
setApproval,
|
|
110
|
+
setBorrowInfo,
|
|
111
|
+
setError,
|
|
112
|
+
setTokenId,
|
|
113
|
+
setPaymentAmount,
|
|
114
|
+
setStream,
|
|
115
|
+
setMultisend,
|
|
116
|
+
setSupplyAmount,
|
|
117
|
+
setWithdrawAmount,
|
|
118
|
+
} = widgetSlice.actions
|
|
119
|
+
|
|
120
|
+
export default widgetSlice.reducer
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export enum WIDGET_TYPE {
|
|
4
|
-
BORROW = 'BORROW',
|
|
5
|
-
PAYMENT = 'PAYMENT',
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export enum WIDGET_STEP {
|
|
9
|
-
Evaluation = 'Evaluation',
|
|
10
|
-
AddToAllowList = 'AddToAllowList',
|
|
11
|
-
ChooseAmount = 'ChooseAmount',
|
|
12
|
-
Permit = 'Permit',
|
|
13
|
-
ApproveAllowance = 'ApproveAllowance',
|
|
14
|
-
MintNFT = 'MintNFT',
|
|
15
|
-
ConfirmTransfer = 'ConfirmTransfer',
|
|
16
|
-
ApproveNFT = 'ApproveNFT',
|
|
17
|
-
Transfer = 'Transfer',
|
|
18
|
-
CheckWithdrawable = 'CheckWithdrawable',
|
|
19
|
-
Done = 'Done',
|
|
20
|
-
Error = 'Error',
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export type WidgetStream = Partial<{
|
|
24
|
-
borrowFlowrate: string
|
|
25
|
-
durationInSeconds: number
|
|
26
|
-
}>
|
|
27
|
-
|
|
28
|
-
export type MultisendPayload = {
|
|
29
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
30
|
-
addresses: any[]
|
|
31
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
32
|
-
callData: any[]
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export type WidgetState = {
|
|
36
|
-
step?: WIDGET_STEP
|
|
37
|
-
type?: WIDGET_TYPE
|
|
38
|
-
|
|
39
|
-
borrowAmount?: number
|
|
40
|
-
borrowAmountBN?: string
|
|
41
|
-
chargedFees?: number
|
|
42
|
-
borrowAmountNet?: number
|
|
43
|
-
remainder?: number
|
|
44
|
-
paymentAmount?: number
|
|
45
|
-
remainDueAmount?: number
|
|
46
|
-
supplyAmount?: number
|
|
47
|
-
withdrawAmount?: number
|
|
48
|
-
errorMessage?: string
|
|
49
|
-
errorReason?: string
|
|
50
|
-
tokenId?: string
|
|
51
|
-
stream?: WidgetStream
|
|
52
|
-
multisend?: MultisendPayload
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export const initialWidgetState: WidgetState = {}
|
|
1
|
+
import { Approval } from '@huma-finance/shared'
|
|
2
|
+
|
|
3
|
+
export enum WIDGET_TYPE {
|
|
4
|
+
BORROW = 'BORROW',
|
|
5
|
+
PAYMENT = 'PAYMENT',
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export enum WIDGET_STEP {
|
|
9
|
+
Evaluation = 'Evaluation',
|
|
10
|
+
AddToAllowList = 'AddToAllowList',
|
|
11
|
+
ChooseAmount = 'ChooseAmount',
|
|
12
|
+
Permit = 'Permit',
|
|
13
|
+
ApproveAllowance = 'ApproveAllowance',
|
|
14
|
+
MintNFT = 'MintNFT',
|
|
15
|
+
ConfirmTransfer = 'ConfirmTransfer',
|
|
16
|
+
ApproveNFT = 'ApproveNFT',
|
|
17
|
+
Transfer = 'Transfer',
|
|
18
|
+
CheckWithdrawable = 'CheckWithdrawable',
|
|
19
|
+
Done = 'Done',
|
|
20
|
+
Error = 'Error',
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export type WidgetStream = Partial<{
|
|
24
|
+
borrowFlowrate: string
|
|
25
|
+
durationInSeconds: number
|
|
26
|
+
}>
|
|
27
|
+
|
|
28
|
+
export type MultisendPayload = {
|
|
29
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
30
|
+
addresses: any[]
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
32
|
+
callData: any[]
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type WidgetState = {
|
|
36
|
+
step?: WIDGET_STEP
|
|
37
|
+
type?: WIDGET_TYPE
|
|
38
|
+
approval?: Approval
|
|
39
|
+
borrowAmount?: number
|
|
40
|
+
borrowAmountBN?: string
|
|
41
|
+
chargedFees?: number
|
|
42
|
+
borrowAmountNet?: number
|
|
43
|
+
remainder?: number
|
|
44
|
+
paymentAmount?: number
|
|
45
|
+
remainDueAmount?: number
|
|
46
|
+
supplyAmount?: number
|
|
47
|
+
withdrawAmount?: number
|
|
48
|
+
errorMessage?: string
|
|
49
|
+
errorReason?: string
|
|
50
|
+
tokenId?: string
|
|
51
|
+
stream?: WidgetStream
|
|
52
|
+
multisend?: MultisendPayload
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const initialWidgetState: WidgetState = {}
|
package/src/theme/components.ts
CHANGED
|
@@ -4,7 +4,6 @@ type UseGetSizesType = {
|
|
|
4
4
|
isAboveSm: boolean
|
|
5
5
|
isBelowLgSize: boolean
|
|
6
6
|
isBelowMdSize: boolean
|
|
7
|
-
isBelowXsSize: boolean
|
|
8
7
|
isLgSize: boolean
|
|
9
8
|
isMediumSize: boolean
|
|
10
9
|
isMobileDisplay: boolean
|
|
@@ -17,7 +16,6 @@ export function useGetSizes(theme: Theme): UseGetSizesType {
|
|
|
17
16
|
const isBelowLgSize = useMediaQuery(theme.breakpoints.down('lg'))
|
|
18
17
|
const isXsSize = useMediaQuery(theme.breakpoints.down('sm'))
|
|
19
18
|
const isAboveSm = useMediaQuery(theme.breakpoints.up('sm'))
|
|
20
|
-
const isBelowXsSize = useMediaQuery(theme.breakpoints.down('xs'))
|
|
21
19
|
const isBelowMdSize = useMediaQuery(theme.breakpoints.down('md'))
|
|
22
20
|
const isMediumSize = isMobileDisplay && isAboveSm
|
|
23
21
|
|
|
@@ -25,7 +23,6 @@ export function useGetSizes(theme: Theme): UseGetSizesType {
|
|
|
25
23
|
isAboveSm,
|
|
26
24
|
isBelowLgSize,
|
|
27
25
|
isBelowMdSize,
|
|
28
|
-
isBelowXsSize,
|
|
29
26
|
isLgSize,
|
|
30
27
|
isMediumSize,
|
|
31
28
|
isMobileDisplay,
|