acsi-core 0.1.9 → 0.1.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/components/CoreInputCompact/index.d.ts +13 -0
- package/dist/components/CoreSearch/index.d.ts +1 -0
- package/dist/components/CoreSelectCompact/index.d.ts +20 -0
- package/dist/components/CoreTextArea/index.d.ts +2 -0
- package/dist/components/CoreTitleInput/index.d.ts +13 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/index.css +81 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +359 -50
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +354 -48
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/icons/Info.d.ts +3 -0
- package/dist/utils/icons/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
name?: string;
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (name: string, value: string) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
label?: string;
|
|
8
|
+
width?: number;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
error?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const CoreInputCompact: (props: IProps) => React.JSX.Element;
|
|
13
|
+
export default CoreInputCompact;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IOprion {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
interface IProps {
|
|
7
|
+
name?: string;
|
|
8
|
+
options: IOprion[];
|
|
9
|
+
value: string | null | string[];
|
|
10
|
+
onChange: (name: string, value: string) => void;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
width?: number;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
isMulti?: boolean;
|
|
16
|
+
isShowDropdown?: boolean;
|
|
17
|
+
error?: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare const CoreSelectCompact: (props: IProps) => React.JSX.Element;
|
|
20
|
+
export default CoreSelectCompact;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
name?: string;
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (name: string, value: string) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
width?: number;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
size?: "h1" | "h2";
|
|
11
|
+
}
|
|
12
|
+
declare const CoreTitleInput: (props: IProps) => React.JSX.Element;
|
|
13
|
+
export default CoreTitleInput;
|
|
@@ -8,3 +8,6 @@ export { default as CoreModal } from "./CoreModal";
|
|
|
8
8
|
export { default as CoreRange } from "./CoreRange";
|
|
9
9
|
export { default as CoreTextArea } from "./CoreTextArea";
|
|
10
10
|
export { default as CoreSearch } from "./CoreSearch";
|
|
11
|
+
export { default as CoreSelectCompact } from "./CoreSelectCompact";
|
|
12
|
+
export { default as CoreInputCompact } from "./CoreInputCompact";
|
|
13
|
+
export { default as CoreTitleInput } from "./CoreTitleInput";
|
package/dist/index.css
CHANGED
|
@@ -296,10 +296,18 @@
|
|
|
296
296
|
._1b_C3 textarea::placeholder {
|
|
297
297
|
color: #a6a6ad; }
|
|
298
298
|
|
|
299
|
-
._1b_C3
|
|
300
|
-
font-size:
|
|
301
|
-
font-weight:
|
|
302
|
-
margin-bottom: 4px;
|
|
299
|
+
._1b_C3 ._15n2K {
|
|
300
|
+
font-size: 14px;
|
|
301
|
+
font-weight: 400;
|
|
302
|
+
margin-bottom: 4px;
|
|
303
|
+
color: #585869;
|
|
304
|
+
display: flex;
|
|
305
|
+
align-items: center;
|
|
306
|
+
gap: 2px; }
|
|
307
|
+
._1b_C3 ._15n2K ._1fHZB {
|
|
308
|
+
color: #a6a6ad; }
|
|
309
|
+
._1b_C3 ._15n2K ._38AfS {
|
|
310
|
+
cursor: pointer; }
|
|
303
311
|
|
|
304
312
|
._wyI1K {
|
|
305
313
|
height: 32px;
|
|
@@ -329,3 +337,72 @@
|
|
|
329
337
|
min-width: 0; }
|
|
330
338
|
._wyI1K ._1nhXy {
|
|
331
339
|
cursor: pointer; }
|
|
340
|
+
|
|
341
|
+
._3ql5D label {
|
|
342
|
+
font-weight: 400 !important;
|
|
343
|
+
color: #212126 !important;
|
|
344
|
+
margin-top: 2px; }
|
|
345
|
+
|
|
346
|
+
._3ql5D ._3fPQC {
|
|
347
|
+
display: flex;
|
|
348
|
+
align-items: center;
|
|
349
|
+
gap: 4px;
|
|
350
|
+
font-size: 14px;
|
|
351
|
+
font-weight: 400;
|
|
352
|
+
color: #585869;
|
|
353
|
+
padding: 4px; }
|
|
354
|
+
|
|
355
|
+
._1qmXW {
|
|
356
|
+
display: flex;
|
|
357
|
+
flex-direction: column; }
|
|
358
|
+
._1qmXW ._1argp {
|
|
359
|
+
display: flex;
|
|
360
|
+
align-items: center;
|
|
361
|
+
gap: 4px;
|
|
362
|
+
font-size: 14px;
|
|
363
|
+
font-weight: 400;
|
|
364
|
+
color: #585869;
|
|
365
|
+
padding: 4px; }
|
|
366
|
+
._1qmXW input {
|
|
367
|
+
border: none;
|
|
368
|
+
outline: none;
|
|
369
|
+
border-radius: 6px;
|
|
370
|
+
height: 26px;
|
|
371
|
+
font-size: 14px;
|
|
372
|
+
font-weight: 400;
|
|
373
|
+
color: #212126; }
|
|
374
|
+
._1qmXW input:hover {
|
|
375
|
+
background-color: #e5f9ff !important; }
|
|
376
|
+
._1qmXW input::-moz-placeholder {
|
|
377
|
+
color: #a6a6ad; }
|
|
378
|
+
._1qmXW input::placeholder {
|
|
379
|
+
color: #a6a6ad; }
|
|
380
|
+
._1qmXW input:disabled {
|
|
381
|
+
pointer-events: none;
|
|
382
|
+
background-color: transparent;
|
|
383
|
+
color: #212126; }
|
|
384
|
+
._1qmXW input:focus-visible {
|
|
385
|
+
box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.1); }
|
|
386
|
+
|
|
387
|
+
._2YqZu {
|
|
388
|
+
display: flex;
|
|
389
|
+
flex-direction: column; }
|
|
390
|
+
._2YqZu input {
|
|
391
|
+
border: none;
|
|
392
|
+
outline: none;
|
|
393
|
+
border-radius: 6px;
|
|
394
|
+
color: #212126; }
|
|
395
|
+
._2YqZu input::-moz-placeholder {
|
|
396
|
+
color: #a6a6ad; }
|
|
397
|
+
._2YqZu input::placeholder {
|
|
398
|
+
color: #a6a6ad; }
|
|
399
|
+
|
|
400
|
+
._23-uu {
|
|
401
|
+
font-size: 24px;
|
|
402
|
+
font-weight: 700;
|
|
403
|
+
line-height: 32.74px; }
|
|
404
|
+
|
|
405
|
+
._16lQL {
|
|
406
|
+
font-size: 18px;
|
|
407
|
+
font-weight: 700;
|
|
408
|
+
line-height: 24.55px; }
|
package/dist/index.d.ts
CHANGED
|
@@ -13,10 +13,10 @@ import { ToastContainer, toast } from "react-toastify";
|
|
|
13
13
|
import { Role } from "./containers/Login/configs/constants";
|
|
14
14
|
import CustomPagination from "./components/Paginations/CustomPagination";
|
|
15
15
|
import useGoogleSignOut from "./utils/hooks/useGoogleSignOut";
|
|
16
|
-
import { CoreButton, CoreInput, CoreSelect, CoreCheckbox, CoreRadio, CoreError, CoreModal, CoreRange, CoreTextArea, CoreSearch } from "./components";
|
|
16
|
+
import { CoreButton, CoreInput, CoreSelect, CoreCheckbox, CoreRadio, CoreError, CoreModal, CoreRange, CoreTextArea, CoreSearch, CoreSelectCompact, CoreInputCompact, CoreTitleInput } from "./components";
|
|
17
17
|
import { getErrorMessage } from "./utils/getErrorMessage";
|
|
18
18
|
import CustomSelect from "./components/Selects/CustomSelect";
|
|
19
19
|
import CustomAsyncSelect from "./components/Selects/CustomAsyncSelect";
|
|
20
20
|
import CustomCreatable from "./components/Selects/CustomCreatable";
|
|
21
21
|
import CustomSelectOption from "./components/Selects/CustomSelectOption";
|
|
22
|
-
export { setLoading, BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, Login, store, historyCore, setAlert, setUser, setMenuCollapse, Loading, NotFound, LayoutContext, api, apiUpload, ConfirmDialog, CommonDialog, ToastContainer, toast, Role, CustomPagination, useGoogleSignOut, CoreButton, CoreInput, CoreSelect, CoreCheckbox, CoreRadio, CoreError, CoreModal, CoreRange, CoreTextArea, CoreSearch, getErrorMessage, CustomSelect, CustomAsyncSelect, CustomCreatable, CustomSelectOption };
|
|
22
|
+
export { setLoading, BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, Login, store, historyCore, setAlert, setUser, setMenuCollapse, Loading, NotFound, LayoutContext, api, apiUpload, ConfirmDialog, CommonDialog, ToastContainer, toast, Role, CustomPagination, useGoogleSignOut, CoreButton, CoreInput, CoreSelect, CoreCheckbox, CoreRadio, CoreError, CoreModal, CoreRange, CoreTextArea, CoreSearch, CoreSelectCompact, CoreInputCompact, CoreTitleInput, getErrorMessage, CustomSelect, CustomAsyncSelect, CustomCreatable, CustomSelectOption };
|