@kanda-libs/ks-component-ts 0.2.256 → 0.2.258
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/app/src/App.tsx +12 -15
- package/dist/index.d.ts +9798 -9752
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +4 -4
- package/dist/library.css +111 -57
- package/package.json +3 -1
- package/src/components/CreditLine/constants.ts +37 -0
- package/src/components/CreditLine/helpers.ts +35 -0
- package/src/components/CreditLine/index.tsx +141 -0
- package/src/components/CreditLine/types.d.ts +11 -0
- package/src/components/Form/index.tsx +12 -18
- package/src/components/MultiStepFormWrapper/index.tsx +27 -0
- package/src/components/index.ts +2 -0
- package/src/field/components/BasicNumberInput/BasicNumberInputUncontrolled/index.tsx +1 -2
- package/src/field/components/BasicNumberInput/BasicNumberInputUncontrolled/useBasicNumberInputUncontrolledProps.ts +0 -5
- package/src/generated/widget/index.tsx +42371 -42371
- package/src/hooks/useMultiStep/constants.ts +1 -0
- package/src/hooks/useMultiStep/helpers.ts +27 -0
- package/src/hooks/useMultiStep/index.tsx +119 -0
- package/src/hooks/useMultiStep/types.d.ts +8 -0
- package/src/index.ts +1 -0
- package/src/styles/library.css +111 -57
- package/yarn.lock +100 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const LOCAL_STORAGE_KEY_PREFIX = "multi-step-form";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { MultiStepRouterState } from "./types";
|
|
2
|
+
import { LOCAL_STORAGE_KEY_PREFIX } from "./constants";
|
|
3
|
+
import type { StringIndexedObject } from "~/types";
|
|
4
|
+
|
|
5
|
+
export const getLocalStorageKey = (name: string) =>
|
|
6
|
+
[LOCAL_STORAGE_KEY_PREFIX, name].join("-");
|
|
7
|
+
|
|
8
|
+
export const getInitalData = <T extends StringIndexedObject>(
|
|
9
|
+
name: string,
|
|
10
|
+
state: MultiStepRouterState<T>
|
|
11
|
+
) => {
|
|
12
|
+
const localStorageKey = getLocalStorageKey(name);
|
|
13
|
+
const localStorageData = localStorage.getItem(localStorageKey);
|
|
14
|
+
const localStorageDataParsed = localStorageData
|
|
15
|
+
? JSON.parse(localStorageData)
|
|
16
|
+
: {};
|
|
17
|
+
|
|
18
|
+
if (localStorageDataParsed) {
|
|
19
|
+
return localStorageDataParsed as Partial<T>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (state) {
|
|
23
|
+
return state.data as Partial<T>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return {} as Partial<T>;
|
|
27
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { useCallback, useEffect, useState } from "react";
|
|
2
|
+
import { DeepPartial, useForm, useWatch } from "react-hook-form";
|
|
3
|
+
import { useHistory, useLocation } from "react-router-dom";
|
|
4
|
+
import type { StringIndexedObject } from "~/types";
|
|
5
|
+
import { getInitalData, getLocalStorageKey } from "./helpers";
|
|
6
|
+
import type { MultiStepRouterState } from "./types";
|
|
7
|
+
|
|
8
|
+
export interface MultiStepHook<T extends StringIndexedObject> {
|
|
9
|
+
data: T;
|
|
10
|
+
form: ReturnType<typeof useForm<Partial<T>>>;
|
|
11
|
+
onNextPage: (data: T) => void;
|
|
12
|
+
onSubmit: (data: T) => void;
|
|
13
|
+
formWrapperProps: {
|
|
14
|
+
name: string;
|
|
15
|
+
page: keyof T;
|
|
16
|
+
form: ReturnType<typeof useForm<Partial<T>>>;
|
|
17
|
+
onSubmit: (data: StringIndexedObject) => void;
|
|
18
|
+
};
|
|
19
|
+
handleFormSubmit: (data: StringIndexedObject) => void;
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
isSubmitting: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default function useMultiStep<T extends StringIndexedObject>(
|
|
25
|
+
name: string,
|
|
26
|
+
currentPage: keyof T,
|
|
27
|
+
handleSubmit: (data: T, cleanup: () => void) => void,
|
|
28
|
+
urls: Record<keyof T, string>,
|
|
29
|
+
isLoading = false,
|
|
30
|
+
isSubmitting = false
|
|
31
|
+
): MultiStepHook<T> {
|
|
32
|
+
const localStorageKey = getLocalStorageKey(name);
|
|
33
|
+
const pages = Object.keys(urls);
|
|
34
|
+
const currentPageIndex = pages.findIndex((page) => page === currentPage);
|
|
35
|
+
|
|
36
|
+
const { push } = useHistory();
|
|
37
|
+
const { state } = useLocation<MultiStepRouterState<T>>();
|
|
38
|
+
|
|
39
|
+
const [data] = useState<Partial<T>>(getInitalData<T>(name, state));
|
|
40
|
+
|
|
41
|
+
const form = useForm<Partial<T>>({
|
|
42
|
+
defaultValues: data as DeepPartial<Partial<T>>,
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
const values = useWatch({
|
|
46
|
+
control: form.control,
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
useEffect(() => {
|
|
50
|
+
// Save the data to local storage on change
|
|
51
|
+
if (values) {
|
|
52
|
+
localStorage.setItem(localStorageKey, JSON.stringify(values));
|
|
53
|
+
}
|
|
54
|
+
}, [values, localStorageKey]);
|
|
55
|
+
|
|
56
|
+
const onNextPage = useCallback(
|
|
57
|
+
(currentData: T) => {
|
|
58
|
+
const nextPage = urls[pages[currentPageIndex + 1]];
|
|
59
|
+
|
|
60
|
+
const formattedData = {
|
|
61
|
+
...data,
|
|
62
|
+
...currentData,
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
localStorage.setItem(localStorageKey, JSON.stringify(formattedData));
|
|
66
|
+
|
|
67
|
+
push(nextPage, {
|
|
68
|
+
page: currentPage,
|
|
69
|
+
data: formattedData,
|
|
70
|
+
});
|
|
71
|
+
},
|
|
72
|
+
[currentPage, data, currentPageIndex, localStorageKey, push, urls, pages]
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
const removeItem = useCallback(
|
|
76
|
+
() => localStorage.removeItem(localStorageKey),
|
|
77
|
+
[localStorageKey]
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
const onSubmit = useCallback(
|
|
81
|
+
(finalData: T) => {
|
|
82
|
+
handleSubmit(finalData, removeItem);
|
|
83
|
+
},
|
|
84
|
+
[handleSubmit, removeItem]
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
const handleFormSubmit = useCallback(
|
|
88
|
+
(currentData: StringIndexedObject) => {
|
|
89
|
+
const formattedData = currentData as T;
|
|
90
|
+
const lastItem = currentPageIndex === pages.length - 1;
|
|
91
|
+
|
|
92
|
+
if (lastItem) {
|
|
93
|
+
onSubmit(formattedData);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
onNextPage(formattedData);
|
|
98
|
+
},
|
|
99
|
+
[currentPageIndex, pages, onSubmit, onNextPage]
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
const formWrapperProps = {
|
|
103
|
+
name,
|
|
104
|
+
form,
|
|
105
|
+
page: currentPage,
|
|
106
|
+
onSubmit: handleFormSubmit,
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
data: data as T,
|
|
111
|
+
form,
|
|
112
|
+
onNextPage,
|
|
113
|
+
onSubmit,
|
|
114
|
+
formWrapperProps,
|
|
115
|
+
handleFormSubmit,
|
|
116
|
+
isLoading,
|
|
117
|
+
isSubmitting,
|
|
118
|
+
};
|
|
119
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { makeIsAllowed } from "./field/helpers";
|
|
|
17
17
|
export { default as Label } from "./field/components/Label";
|
|
18
18
|
export { default as Error } from "./field/components/Error";
|
|
19
19
|
|
|
20
|
+
export { default as useMultiStep } from "./hooks/useMultiStep";
|
|
20
21
|
export { default as useDownloadPdf } from "./hooks/useDownloadPdf";
|
|
21
22
|
export { default as useDownloadDocument } from "./hooks/useDownloadDocument";
|
|
22
23
|
|
package/src/styles/library.css
CHANGED
|
@@ -797,6 +797,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
797
797
|
line-height: 24px;
|
|
798
798
|
}
|
|
799
799
|
|
|
800
|
+
.text-16-20-em {
|
|
801
|
+
font-weight: 600;
|
|
802
|
+
font-size: 16px;
|
|
803
|
+
line-height: 20px;
|
|
804
|
+
}
|
|
805
|
+
|
|
800
806
|
.text-16-18 {
|
|
801
807
|
font-weight: 400;
|
|
802
808
|
font-size: 16px;
|
|
@@ -827,6 +833,13 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
827
833
|
line-height: 18px;
|
|
828
834
|
}
|
|
829
835
|
|
|
836
|
+
.text-10-17-em-up {
|
|
837
|
+
font-weight: 600;
|
|
838
|
+
font-size: 10px;
|
|
839
|
+
line-height: 17px;
|
|
840
|
+
text-transform: uppercase;
|
|
841
|
+
}
|
|
842
|
+
|
|
830
843
|
.text-10-14-em {
|
|
831
844
|
font-weight: 600;
|
|
832
845
|
font-size: 10px;
|
|
@@ -1163,14 +1176,22 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1163
1176
|
margin-bottom: 12px;
|
|
1164
1177
|
}
|
|
1165
1178
|
|
|
1166
|
-
.mt-6 {
|
|
1167
|
-
margin-top: 24px;
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
1179
|
.mb-6 {
|
|
1171
1180
|
margin-bottom: 24px;
|
|
1172
1181
|
}
|
|
1173
1182
|
|
|
1183
|
+
.mr-4 {
|
|
1184
|
+
margin-right: 16px;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
.ml-6 {
|
|
1188
|
+
margin-left: 24px;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.mt-6 {
|
|
1192
|
+
margin-top: 24px;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1174
1195
|
.mt-2 {
|
|
1175
1196
|
margin-top: 8px;
|
|
1176
1197
|
}
|
|
@@ -1219,10 +1240,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1219
1240
|
margin-top: -12px;
|
|
1220
1241
|
}
|
|
1221
1242
|
|
|
1222
|
-
.mr-4 {
|
|
1223
|
-
margin-right: 16px;
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
1243
|
.-mt-1 {
|
|
1227
1244
|
margin-top: -4px;
|
|
1228
1245
|
}
|
|
@@ -1447,6 +1464,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1447
1464
|
display: none;
|
|
1448
1465
|
}
|
|
1449
1466
|
|
|
1467
|
+
.h-full {
|
|
1468
|
+
height: 100%;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1450
1471
|
.h-screen {
|
|
1451
1472
|
height: 100vh;
|
|
1452
1473
|
}
|
|
@@ -1474,10 +1495,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1474
1495
|
height: 40px;
|
|
1475
1496
|
}
|
|
1476
1497
|
|
|
1477
|
-
.h-full {
|
|
1478
|
-
height: 100%;
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
1498
|
.h-table {
|
|
1482
1499
|
height: 696px;
|
|
1483
1500
|
}
|
|
@@ -1590,6 +1607,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1590
1607
|
max-height: 256px;
|
|
1591
1608
|
}
|
|
1592
1609
|
|
|
1610
|
+
.min-h-30 {
|
|
1611
|
+
min-height: 120px;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1593
1614
|
.min-h-20 {
|
|
1594
1615
|
min-height: 80px;
|
|
1595
1616
|
}
|
|
@@ -1602,14 +1623,14 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1602
1623
|
min-height: 100%;
|
|
1603
1624
|
}
|
|
1604
1625
|
|
|
1605
|
-
.w-screen {
|
|
1606
|
-
width: 100vw;
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
1626
|
.w-full {
|
|
1610
1627
|
width: 100%;
|
|
1611
1628
|
}
|
|
1612
1629
|
|
|
1630
|
+
.w-screen {
|
|
1631
|
+
width: 100vw;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1613
1634
|
.w-2\/6 {
|
|
1614
1635
|
width: 33.333333%;
|
|
1615
1636
|
}
|
|
@@ -1811,6 +1832,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1811
1832
|
flex-shrink: 1;
|
|
1812
1833
|
}
|
|
1813
1834
|
|
|
1835
|
+
.flex-grow {
|
|
1836
|
+
flex-grow: 1;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1814
1839
|
.basis-1\/3 {
|
|
1815
1840
|
flex-basis: 33.333333%;
|
|
1816
1841
|
}
|
|
@@ -1995,6 +2020,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1995
2020
|
align-items: center;
|
|
1996
2021
|
}
|
|
1997
2022
|
|
|
2023
|
+
.items-stretch {
|
|
2024
|
+
align-items: stretch;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
1998
2027
|
.justify-start {
|
|
1999
2028
|
justify-content: flex-start;
|
|
2000
2029
|
}
|
|
@@ -2015,6 +2044,15 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2015
2044
|
justify-items: center;
|
|
2016
2045
|
}
|
|
2017
2046
|
|
|
2047
|
+
.gap-x-1 {
|
|
2048
|
+
-moz-column-gap: 4px;
|
|
2049
|
+
column-gap: 4px;
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
.gap-y-1 {
|
|
2053
|
+
row-gap: 4px;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2018
2056
|
.gap-x-2 {
|
|
2019
2057
|
-moz-column-gap: 8px;
|
|
2020
2058
|
column-gap: 8px;
|
|
@@ -2064,6 +2102,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2064
2102
|
word-break: break-all;
|
|
2065
2103
|
}
|
|
2066
2104
|
|
|
2105
|
+
.rounded-xl {
|
|
2106
|
+
border-radius: 0.75rem;
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2067
2109
|
.rounded-3xl {
|
|
2068
2110
|
border-radius: 1.5rem;
|
|
2069
2111
|
}
|
|
@@ -2096,10 +2138,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2096
2138
|
border-radius: 0.25rem !important;
|
|
2097
2139
|
}
|
|
2098
2140
|
|
|
2099
|
-
.rounded-xl {
|
|
2100
|
-
border-radius: 0.75rem;
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
2141
|
.rounded-b-xl {
|
|
2104
2142
|
border-bottom-right-radius: 0.75rem;
|
|
2105
2143
|
border-bottom-left-radius: 0.75rem;
|
|
@@ -2128,14 +2166,14 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2128
2166
|
border-bottom-left-radius: 0.5rem;
|
|
2129
2167
|
}
|
|
2130
2168
|
|
|
2131
|
-
.border-2 {
|
|
2132
|
-
border-width: 2px;
|
|
2133
|
-
}
|
|
2134
|
-
|
|
2135
2169
|
.border {
|
|
2136
2170
|
border-width: 1px;
|
|
2137
2171
|
}
|
|
2138
2172
|
|
|
2173
|
+
.border-2 {
|
|
2174
|
+
border-width: 2px;
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2139
2177
|
.\!border-0 {
|
|
2140
2178
|
border-width: 0px !important;
|
|
2141
2179
|
}
|
|
@@ -2176,6 +2214,11 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2176
2214
|
border-style: dashed;
|
|
2177
2215
|
}
|
|
2178
2216
|
|
|
2217
|
+
.border-neutral-300 {
|
|
2218
|
+
--tw-border-opacity: 1;
|
|
2219
|
+
border-color: rgb(224 231 240 / var(--tw-border-opacity));
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2179
2222
|
.border-turquoise-300 {
|
|
2180
2223
|
--tw-border-opacity: 1;
|
|
2181
2224
|
border-color: rgb(39 222 191 / var(--tw-border-opacity));
|
|
@@ -2190,11 +2233,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2190
2233
|
border-color: rgb(233 63 63 / var(--tw-border-opacity));
|
|
2191
2234
|
}
|
|
2192
2235
|
|
|
2193
|
-
.border-neutral-300 {
|
|
2194
|
-
--tw-border-opacity: 1;
|
|
2195
|
-
border-color: rgb(224 231 240 / var(--tw-border-opacity));
|
|
2196
|
-
}
|
|
2197
|
-
|
|
2198
2236
|
.border-neutral-200 {
|
|
2199
2237
|
--tw-border-opacity: 1;
|
|
2200
2238
|
border-color: rgb(237 241 247 / var(--tw-border-opacity));
|
|
@@ -2245,6 +2283,11 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2245
2283
|
border-color: rgb(229 245 255 / var(--tw-border-opacity));
|
|
2246
2284
|
}
|
|
2247
2285
|
|
|
2286
|
+
.bg-neutral-100 {
|
|
2287
|
+
--tw-bg-opacity: 1;
|
|
2288
|
+
background-color: rgb(247 249 252 / var(--tw-bg-opacity));
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2248
2291
|
.bg-turquoise-200 {
|
|
2249
2292
|
--tw-bg-opacity: 1;
|
|
2250
2293
|
background-color: rgb(193 244 233 / var(--tw-bg-opacity));
|
|
@@ -2255,11 +2298,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2255
2298
|
background-color: rgb(39 222 191 / var(--tw-bg-opacity));
|
|
2256
2299
|
}
|
|
2257
2300
|
|
|
2258
|
-
.bg-neutral-100 {
|
|
2259
|
-
--tw-bg-opacity: 1;
|
|
2260
|
-
background-color: rgb(247 249 252 / var(--tw-bg-opacity));
|
|
2261
|
-
}
|
|
2262
|
-
|
|
2263
2301
|
.bg-neutral-000 {
|
|
2264
2302
|
--tw-bg-opacity: 1;
|
|
2265
2303
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -2438,6 +2476,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2438
2476
|
object-fit: contain;
|
|
2439
2477
|
}
|
|
2440
2478
|
|
|
2479
|
+
.p-4 {
|
|
2480
|
+
padding: 16px;
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2441
2483
|
.p-2 {
|
|
2442
2484
|
padding: 8px;
|
|
2443
2485
|
}
|
|
@@ -2450,10 +2492,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2450
2492
|
padding: 12px;
|
|
2451
2493
|
}
|
|
2452
2494
|
|
|
2453
|
-
.p-4 {
|
|
2454
|
-
padding: 16px;
|
|
2455
|
-
}
|
|
2456
|
-
|
|
2457
2495
|
.p-1\.5 {
|
|
2458
2496
|
padding: 6px;
|
|
2459
2497
|
}
|
|
@@ -2470,6 +2508,11 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2470
2508
|
padding: 32px;
|
|
2471
2509
|
}
|
|
2472
2510
|
|
|
2511
|
+
.py-4 {
|
|
2512
|
+
padding-top: 16px;
|
|
2513
|
+
padding-bottom: 16px;
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2473
2516
|
.px-4 {
|
|
2474
2517
|
padding-left: 16px;
|
|
2475
2518
|
padding-right: 16px;
|
|
@@ -2500,11 +2543,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2500
2543
|
padding-bottom: 4px;
|
|
2501
2544
|
}
|
|
2502
2545
|
|
|
2503
|
-
.py-4 {
|
|
2504
|
-
padding-top: 16px;
|
|
2505
|
-
padding-bottom: 16px;
|
|
2506
|
-
}
|
|
2507
|
-
|
|
2508
2546
|
.px-3 {
|
|
2509
2547
|
padding-left: 12px;
|
|
2510
2548
|
padding-right: 12px;
|
|
@@ -2590,6 +2628,14 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2590
2628
|
padding-bottom: 20px;
|
|
2591
2629
|
}
|
|
2592
2630
|
|
|
2631
|
+
.pr-4 {
|
|
2632
|
+
padding-right: 16px;
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
.pb-2 {
|
|
2636
|
+
padding-bottom: 8px;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2593
2639
|
.pt-1 {
|
|
2594
2640
|
padding-top: 4px;
|
|
2595
2641
|
}
|
|
@@ -2602,10 +2648,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2602
2648
|
padding-top: 0;
|
|
2603
2649
|
}
|
|
2604
2650
|
|
|
2605
|
-
.pr-4 {
|
|
2606
|
-
padding-right: 16px;
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
2651
|
.\!pr-7 {
|
|
2610
2652
|
padding-right: 28px !important;
|
|
2611
2653
|
}
|
|
@@ -2735,29 +2777,29 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2735
2777
|
color: rgb(156 173 196 / var(--tw-text-opacity));
|
|
2736
2778
|
}
|
|
2737
2779
|
|
|
2738
|
-
.text-neutral-
|
|
2780
|
+
.text-neutral-700 {
|
|
2739
2781
|
--tw-text-opacity: 1;
|
|
2740
|
-
color: rgb(
|
|
2782
|
+
color: rgb(71 90 118 / var(--tw-text-opacity));
|
|
2741
2783
|
}
|
|
2742
2784
|
|
|
2743
|
-
.text-neutral-
|
|
2785
|
+
.text-neutral-600 {
|
|
2744
2786
|
--tw-text-opacity: 1;
|
|
2745
|
-
color: rgb(
|
|
2787
|
+
color: rgb(108 129 157 / var(--tw-text-opacity));
|
|
2746
2788
|
}
|
|
2747
2789
|
|
|
2748
|
-
.text-
|
|
2790
|
+
.text-neutral-800 {
|
|
2749
2791
|
--tw-text-opacity: 1;
|
|
2750
|
-
color: rgb(
|
|
2792
|
+
color: rgb(45 61 83 / var(--tw-text-opacity));
|
|
2751
2793
|
}
|
|
2752
2794
|
|
|
2753
|
-
.text-neutral-
|
|
2795
|
+
.text-neutral-900 {
|
|
2754
2796
|
--tw-text-opacity: 1;
|
|
2755
|
-
color: rgb(
|
|
2797
|
+
color: rgb(13 27 46 / var(--tw-text-opacity));
|
|
2756
2798
|
}
|
|
2757
2799
|
|
|
2758
|
-
.text-
|
|
2800
|
+
.text-red-200 {
|
|
2759
2801
|
--tw-text-opacity: 1;
|
|
2760
|
-
color: rgb(
|
|
2802
|
+
color: rgb(233 63 63 / var(--tw-text-opacity));
|
|
2761
2803
|
}
|
|
2762
2804
|
|
|
2763
2805
|
.text-neutral-200 {
|
|
@@ -4324,6 +4366,10 @@ input[type="checkbox"][disabled]:checked ~ .label-checked-disabled\:bg-neutral-3
|
|
|
4324
4366
|
width: auto;
|
|
4325
4367
|
}
|
|
4326
4368
|
|
|
4369
|
+
.md\:min-w-96 {
|
|
4370
|
+
min-width: 384px;
|
|
4371
|
+
}
|
|
4372
|
+
|
|
4327
4373
|
.md\:min-w-20 {
|
|
4328
4374
|
min-width: 80px;
|
|
4329
4375
|
}
|
|
@@ -4332,6 +4378,10 @@ input[type="checkbox"][disabled]:checked ~ .label-checked-disabled\:bg-neutral-3
|
|
|
4332
4378
|
flex-direction: row;
|
|
4333
4379
|
}
|
|
4334
4380
|
|
|
4381
|
+
.md\:border-r {
|
|
4382
|
+
border-right-width: 1px;
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4335
4385
|
.md\:py-1\.5 {
|
|
4336
4386
|
padding-top: 6px;
|
|
4337
4387
|
padding-bottom: 6px;
|
|
@@ -4342,6 +4392,10 @@ input[type="checkbox"][disabled]:checked ~ .label-checked-disabled\:bg-neutral-3
|
|
|
4342
4392
|
padding-bottom: 4px;
|
|
4343
4393
|
}
|
|
4344
4394
|
|
|
4395
|
+
.md\:pb-0 {
|
|
4396
|
+
padding-bottom: 0;
|
|
4397
|
+
}
|
|
4398
|
+
|
|
4345
4399
|
.md\:pt-1 {
|
|
4346
4400
|
padding-top: 4px;
|
|
4347
4401
|
}
|