sccoreui 1.1.5 → 1.1.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.
- package/README.md +20 -60
- package/dist/App.js +3 -5
- package/dist/assets/App.scss +61 -0
- package/dist/assets/sccoreui.css +58 -35
- package/dist/assets/svg/svg.js +27 -3
- package/dist/components/accordion/accordion.js +2 -3
- package/dist/components/auto-complete/auto-complete.js +2 -3
- package/dist/components/button/button.js +2 -5
- package/dist/components/checkbox/checkbox.js +2 -3
- package/dist/components/dropdown/dropdown.js +3 -4
- package/dist/components/input/input.js +3 -4
- package/dist/directives/svg-component.js +11 -0
- package/dist/directives/svg-icons.js +40 -0
- package/dist/index.js +2 -2
- package/dist/types/App.d.ts +1 -2
- package/dist/types/assets/svg/svg.d.ts +7 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -2
- package/dist/types/components/auto-complete/auto-complete.d.ts +1 -2
- package/dist/types/components/button/button.d.ts +1 -2
- package/dist/types/components/checkbox/checkbox.d.ts +1 -2
- package/dist/types/components/dropdown/dropdown.d.ts +1 -2
- package/dist/types/components/input/input.d.ts +1 -2
- package/dist/types/directives/svg-component.d.ts +4 -0
- package/dist/types/directives/svg-icons.d.ts +4 -0
- package/dist/types/index.d.ts +0 -1
- package/package.json +51 -58
- package/LICENSE +0 -21
- package/dist/components/tab-menu/menu-item.js +0 -2
- package/dist/types/components/tab-menu/menu-item.d.ts +0 -2
package/README.md
CHANGED
|
@@ -1,60 +1,20 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
or
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
yarn add -D my-react-typescript-package
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Usage :
|
|
29
|
-
|
|
30
|
-
Add `MyCounter` to your component:
|
|
31
|
-
|
|
32
|
-
```js
|
|
33
|
-
import React from 'react'
|
|
34
|
-
import ReactDOM from 'react-dom/client'
|
|
35
|
-
import { MyCounter } from 'my-react-typescript-package'
|
|
36
|
-
|
|
37
|
-
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
|
|
38
|
-
root.render(
|
|
39
|
-
<React.StrictMode>
|
|
40
|
-
<div>
|
|
41
|
-
<h2>Default counter</h2>
|
|
42
|
-
<MyCounter />
|
|
43
|
-
</div>
|
|
44
|
-
<hr />
|
|
45
|
-
<div>
|
|
46
|
-
<h2>Counter with predefined value</h2>
|
|
47
|
-
<MyCounter value={5} />
|
|
48
|
-
</div>
|
|
49
|
-
</React.StrictMode>,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
[npm-url]: https://www.npmjs.com/package/my-react-typescript-package
|
|
55
|
-
[npm-image]: https://img.shields.io/npm/v/my-react-typescript-package
|
|
56
|
-
[github-license]: https://img.shields.io/github/license/gapon2401/my-react-typescript-package
|
|
57
|
-
[github-license-url]: https://github.com/gapon2401/my-react-typescript-package/blob/master/LICENSE
|
|
58
|
-
[github-build]: https://github.com/gapon2401/my-react-typescript-package/actions/workflows/publish.yml/badge.svg
|
|
59
|
-
[github-build-url]: https://github.com/gapon2401/my-react-typescript-package/actions/workflows/publish.yml
|
|
60
|
-
[npm-typescript]: https://img.shields.io/npm/types/my-react-typescript-package
|
|
1
|
+
# Introduction
|
|
2
|
+
TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.
|
|
3
|
+
|
|
4
|
+
# Getting Started
|
|
5
|
+
TODO: Guide users through getting your code up and running on their own system. In this section you can talk about:
|
|
6
|
+
1. Installation process
|
|
7
|
+
2. Software dependencies
|
|
8
|
+
3. Latest releases
|
|
9
|
+
4. API references
|
|
10
|
+
|
|
11
|
+
# Build and Test
|
|
12
|
+
TODO: Describe and show how to build your code and run the tests.
|
|
13
|
+
|
|
14
|
+
# Contribute
|
|
15
|
+
TODO: Explain how other users and developers can contribute to make your code better.
|
|
16
|
+
|
|
17
|
+
If you want to learn more about creating good readme files then refer the following [guidelines](https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops). You can also seek inspiration from the below readme files:
|
|
18
|
+
- [ASP.NET Core](https://github.com/aspnet/Home)
|
|
19
|
+
- [Visual Studio Code](https://github.com/Microsoft/vscode)
|
|
20
|
+
- [Chakra Core](https://github.com/Microsoft/ChakraCore)
|
package/dist/App.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const
|
|
4
|
-
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
// import Home from './pages/home';
|
|
5
5
|
require("./App.scss");
|
|
6
|
-
// import Home from '../pages/home';
|
|
7
6
|
const App = () => {
|
|
8
|
-
return (
|
|
9
|
-
react_1.default.createElement("div", null)));
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", {}) }));
|
|
10
8
|
};
|
|
11
9
|
exports.default = App;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import url('./assets/theme.css');
|
|
2
|
+
@import url('./assets/sccoreui.css');
|
|
3
|
+
@import url('./assets/sccoreicons.css');
|
|
4
|
+
@import url('./assets/flex.css');
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--fw-600: 600;
|
|
8
|
+
--fw-400: 400;
|
|
9
|
+
--fs-24: 24px;
|
|
10
|
+
--fs-18: 18px;
|
|
11
|
+
--fs-16: 16px;
|
|
12
|
+
--lh:24px;
|
|
13
|
+
--fs-14:14px;
|
|
14
|
+
--grey-bg:#101828;
|
|
15
|
+
--border-none: border-none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Lato-400';
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
src: url('./assets/fonts/Lato-Regular.ttf') format('truetype');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@font-face {
|
|
25
|
+
font-family: 'Lato-600';
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
src: url('./assets/fonts/Lato-Regular.ttf') format('truetype');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
body {
|
|
32
|
+
margin: 0;
|
|
33
|
+
font-family: 'Lato-400', sans-serif;
|
|
34
|
+
-webkit-font-smoothing: antialiased;
|
|
35
|
+
-moz-osx-font-smoothing: grayscale;
|
|
36
|
+
line-height: var(--lh);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
code {
|
|
40
|
+
font-family: 'Lato-400', monospace;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
h1 {
|
|
44
|
+
font-size: var(--fs-24);
|
|
45
|
+
font-weight: var(--fw-600);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
h2 {
|
|
49
|
+
font-size: var(--fs-18);
|
|
50
|
+
font-weight: var(--fw-600);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
h3 {
|
|
54
|
+
font-size: var(--fs-16);
|
|
55
|
+
font-weight: var(--fw-400);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// p {
|
|
59
|
+
// font-size: var(--fs-16);
|
|
60
|
+
// font-weight: var(--fw-400);
|
|
61
|
+
// }
|
package/dist/assets/sccoreui.css
CHANGED
|
@@ -91,7 +91,7 @@ a {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.p-error {
|
|
94
|
-
color:
|
|
94
|
+
color: var(--red-500);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.p-text-secondary {
|
|
@@ -697,7 +697,8 @@ a {
|
|
|
697
697
|
height: 16px;
|
|
698
698
|
|
|
699
699
|
border-radius: 25%;
|
|
700
|
-
transition: background-color 0.2s, color 0.2s, border-color 0.2s,
|
|
700
|
+
transition: background-color 0.2s, color 0.2s, border-color 0.2s,
|
|
701
|
+
box-shadow 0.2s;
|
|
701
702
|
}
|
|
702
703
|
.p-checkbox .p-checkbox-box .p-checkbox-icon {
|
|
703
704
|
transition-duration: 0.2s;
|
|
@@ -742,7 +743,8 @@ a {
|
|
|
742
743
|
.p-checkbox.p-checkcircle .p-checkbox-box {
|
|
743
744
|
border-radius: 50%;
|
|
744
745
|
}
|
|
745
|
-
.p-checkbox.p-checkcircle .p-checkbox-box.p-highlight,
|
|
746
|
+
.p-checkbox.p-checkcircle .p-checkbox-box.p-highlight,
|
|
747
|
+
.p-checkbox.p-checkcircle .p-checkbox-box.p-highlight:hover {
|
|
746
748
|
background: var(--primary-600);
|
|
747
749
|
}
|
|
748
750
|
/* ############################################################## Checkbox CSS changes END ############################################################### */
|
|
@@ -762,11 +764,14 @@ a {
|
|
|
762
764
|
background: #4338ca;
|
|
763
765
|
}
|
|
764
766
|
|
|
767
|
+
.p-chips .p-inputtext {
|
|
768
|
+
line-height: 0;
|
|
769
|
+
height: 128px;
|
|
770
|
+
display: flow-root;
|
|
771
|
+
}
|
|
772
|
+
|
|
765
773
|
.p-chips .p-chips-multiple-container {
|
|
766
|
-
padding:
|
|
767
|
-
display: flex;
|
|
768
|
-
align-items: start;
|
|
769
|
-
flex-wrap: wrap;
|
|
774
|
+
padding: 10px 14px 10px 14px;
|
|
770
775
|
}
|
|
771
776
|
.p-chips .p-chips-multiple-container:not(.p-disabled):hover {
|
|
772
777
|
border-color: #6366f1;
|
|
@@ -778,13 +783,14 @@ a {
|
|
|
778
783
|
border-color: #6366f1;
|
|
779
784
|
}
|
|
780
785
|
.p-chips .p-chips-multiple-container .p-chips-token {
|
|
781
|
-
padding:
|
|
782
|
-
margin:
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
color: var(--gray-700);
|
|
786
|
-
border: 1px solid var(--gray-300);
|
|
786
|
+
padding: 0 5px 0 5px;
|
|
787
|
+
margin-right: 0.5rem;
|
|
788
|
+
background: #fff;
|
|
789
|
+
color: rgba(0, 0, 0, 0.87);
|
|
787
790
|
border-radius: 6px;
|
|
791
|
+
border: 1px solid var(--gray-300);
|
|
792
|
+
height: 28px;
|
|
793
|
+
margin-bottom: 5px;
|
|
788
794
|
}
|
|
789
795
|
.p-chips .p-chips-multiple-container .p-chips-token .p-chips-token-icon {
|
|
790
796
|
margin-left: 0.5rem;
|
|
@@ -837,6 +843,15 @@ a {
|
|
|
837
843
|
width: 15px;
|
|
838
844
|
}
|
|
839
845
|
.p-dropdown {
|
|
846
|
+
background: #ffffff;
|
|
847
|
+
border: 1px solid var(--gray-300);
|
|
848
|
+
transition: background-color 0.2s, color 0.2s, border-color 0.2s,
|
|
849
|
+
box-shadow 0.2s;
|
|
850
|
+
border-radius: 8px;
|
|
851
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
852
|
+
padding: 10px 14px;
|
|
853
|
+
}
|
|
854
|
+
.p-inputgroup > .p-dropdown {
|
|
840
855
|
background: #ffffff;
|
|
841
856
|
height: 40px;
|
|
842
857
|
border: 1px solid var(--gray-300);
|
|
@@ -844,7 +859,6 @@ a {
|
|
|
844
859
|
box-shadow 0.2s;
|
|
845
860
|
border-radius: 8px;
|
|
846
861
|
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
847
|
-
padding: 10px 3px;
|
|
848
862
|
}
|
|
849
863
|
|
|
850
864
|
/* .p-dropdown:not(.p-disabled):hover {
|
|
@@ -858,12 +872,20 @@ a {
|
|
|
858
872
|
border: 1px solid var(--primary-300);
|
|
859
873
|
}
|
|
860
874
|
|
|
861
|
-
.p-inputgroup
|
|
875
|
+
.p-inputgroup > .p-dropdown:not(.p-disabled).p-focus {
|
|
876
|
+
outline: 0 none;
|
|
877
|
+
outline-offset: 0;
|
|
878
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05),
|
|
879
|
+
0px 0px 0px 4px var(--primary-100);
|
|
880
|
+
border: 1px solid var(--gray-300);
|
|
881
|
+
}
|
|
882
|
+
.p-inputgroup > .p-invalid.p-dropdown:not(.p-disabled).p-focus {
|
|
862
883
|
outline: 0 none;
|
|
863
884
|
outline-offset: 0;
|
|
864
|
-
|
|
885
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px var(--red-100);
|
|
865
886
|
border: 1px solid var(--gray-300);
|
|
866
887
|
}
|
|
888
|
+
|
|
867
889
|
.p-dropdown.p-dropdown-clearable .p-dropdown-label {
|
|
868
890
|
padding-right: 1.75rem;
|
|
869
891
|
}
|
|
@@ -876,11 +898,10 @@ a {
|
|
|
876
898
|
padding-inline-start: 0px;
|
|
877
899
|
}
|
|
878
900
|
.p-inputgroup > .p-dropdown > .p-dropdown-label {
|
|
879
|
-
padding: 0px
|
|
901
|
+
padding: 0px 0px;
|
|
880
902
|
width: 3rem;
|
|
881
903
|
}
|
|
882
|
-
|
|
883
|
-
}
|
|
904
|
+
|
|
884
905
|
.p-dropdown .p-dropdown-label.p-placeholder {
|
|
885
906
|
color: var(--gray-500);
|
|
886
907
|
text-align: left;
|
|
@@ -1306,7 +1327,7 @@ a {
|
|
|
1306
1327
|
font-size: var(--fs-16);
|
|
1307
1328
|
color: var(--gray-900);
|
|
1308
1329
|
background: #ffffff;
|
|
1309
|
-
padding: 0px
|
|
1330
|
+
padding: 0px 12px;
|
|
1310
1331
|
height: 40px;
|
|
1311
1332
|
border: 1px solid #d0d5dd;
|
|
1312
1333
|
transition: background-color 0.2s, color 0.2s, border-color 0.2s,
|
|
@@ -1332,7 +1353,15 @@ a {
|
|
|
1332
1353
|
border-radius: 8px;
|
|
1333
1354
|
border: 1px solid var(--primary-300);
|
|
1334
1355
|
}
|
|
1335
|
-
|
|
1356
|
+
/* input text invalid properties */
|
|
1357
|
+
.p-inputtext.p-invalid:enabled:focus {
|
|
1358
|
+
outline: 0 none;
|
|
1359
|
+
outline-offset: 0;
|
|
1360
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px var(--red-100);
|
|
1361
|
+
border-radius: 8px;
|
|
1362
|
+
border: 1px solid var(--red-300);
|
|
1363
|
+
}
|
|
1364
|
+
/*========= input number invalid color =====*/
|
|
1336
1365
|
.p-invalid.p-inputnumber-input:enabled:focus {
|
|
1337
1366
|
outline: 0 none;
|
|
1338
1367
|
outline-offset: 0;
|
|
@@ -1349,8 +1378,8 @@ a {
|
|
|
1349
1378
|
}
|
|
1350
1379
|
|
|
1351
1380
|
.p-inputtext.p-invalid.p-component {
|
|
1352
|
-
border: 1px solid
|
|
1353
|
-
background-color:
|
|
1381
|
+
border: 1px solid var(--red-300);
|
|
1382
|
+
background-color: var(--surface-a);
|
|
1354
1383
|
}
|
|
1355
1384
|
.p-inputtext.p-inputtext-sm {
|
|
1356
1385
|
font-size: 0.875rem;
|
|
@@ -1379,7 +1408,7 @@ a {
|
|
|
1379
1408
|
}
|
|
1380
1409
|
|
|
1381
1410
|
.p-input-icon-left > .p-inputtext {
|
|
1382
|
-
padding-left:
|
|
1411
|
+
padding-left: 40px;
|
|
1383
1412
|
}
|
|
1384
1413
|
|
|
1385
1414
|
.p-input-icon-left.p-float-label > label {
|
|
@@ -1394,11 +1423,11 @@ a {
|
|
|
1394
1423
|
.p-input-icon-right > svg:last-of-type,
|
|
1395
1424
|
.p-input-icon-right > .p-input-suffix {
|
|
1396
1425
|
right: 0.75rem;
|
|
1397
|
-
color:
|
|
1426
|
+
color: var(--gray-400);
|
|
1398
1427
|
}
|
|
1399
1428
|
|
|
1400
1429
|
.p-input-icon-right > .p-inputtext {
|
|
1401
|
-
padding-right: 2.
|
|
1430
|
+
padding-right: 2.25rem;
|
|
1402
1431
|
}
|
|
1403
1432
|
|
|
1404
1433
|
::-webkit-input-placeholder {
|
|
@@ -7983,17 +8012,16 @@ button:focus {
|
|
|
7983
8012
|
|
|
7984
8013
|
.p-inputgroup > .p-button {
|
|
7985
8014
|
height: 40px !important;
|
|
7986
|
-
border: 1px solid
|
|
8015
|
+
border: 1px solid var(--gray-300);
|
|
7987
8016
|
}
|
|
7988
8017
|
.p-inputgroup > .p-button:hover {
|
|
7989
8018
|
height: 40px !important;
|
|
7990
|
-
border: 1px solid
|
|
8019
|
+
border: 1px solid var(--gray-300);
|
|
7991
8020
|
}
|
|
7992
8021
|
|
|
7993
8022
|
.p-inputgroup > .p-button.p-button-outlined:enabled:active {
|
|
7994
8023
|
background: #fff;
|
|
7995
|
-
|
|
7996
|
-
border: 1px solid #d0d5dd;
|
|
8024
|
+
border: 1px solid var(--gray-300);
|
|
7997
8025
|
}
|
|
7998
8026
|
|
|
7999
8027
|
input[type="number"]::-webkit-inner-spin-button,
|
|
@@ -8001,8 +8029,3 @@ input[type="number"]::-webkit-outer-spin-button {
|
|
|
8001
8029
|
-webkit-appearance: none;
|
|
8002
8030
|
margin: 0;
|
|
8003
8031
|
}
|
|
8004
|
-
|
|
8005
|
-
.textareachips > .p-inputtext.p-chips-multiple-container {
|
|
8006
|
-
height: auto;
|
|
8007
|
-
min-height: 8rem;
|
|
8008
|
-
}
|
package/dist/assets/svg/svg.js
CHANGED
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InfoLogo = void 0;
|
|
3
|
+
exports.Times = exports.Copy = exports.Dollar = exports.Message = exports.Error = exports.Card = exports.InfoLogo = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
5
|
const InfoLogo = () => {
|
|
5
|
-
return (
|
|
6
|
-
React.createElement("path", { d: "M6.05992 5.99998C6.21665 5.55442 6.52602 5.17872 6.93322 4.9394C7.34042 4.70009 7.81918 4.61261 8.2847 4.69245C8.75022 4.7723 9.17246 5.01433 9.47664 5.37567C9.78081 5.737 9.94729 6.19433 9.94659 6.66665C9.94659 7.99998 7.94659 8.66665 7.94659 8.66665M7.99992 11.3333H8.00659M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z", stroke: "#98A2B3", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
6
|
+
return ((0, jsx_runtime_1.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M6.05992 5.99998C6.21665 5.55442 6.52602 5.17872 6.93322 4.9394C7.34042 4.70009 7.81918 4.61261 8.2847 4.69245C8.75022 4.7723 9.17246 5.01433 9.47664 5.37567C9.78081 5.737 9.94729 6.19433 9.94659 6.66665C9.94659 7.99998 7.94659 8.66665 7.94659 8.66665M7.99992 11.3333H8.00659M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z", stroke: "#98A2B3", strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
7
7
|
};
|
|
8
8
|
exports.InfoLogo = InfoLogo;
|
|
9
|
+
const Card = () => {
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("svg", { width: "34", height: "24", viewBox: "0 0 34 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("rect", { x: "0.5", y: "0.5", width: "33", height: "23", rx: "3.5", fill: "white" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.179 16.8295C15.9949 17.8275 14.459 18.43 12.7807 18.43C9.03582 18.43 6 15.4303 6 11.73C6 8.02972 9.03582 5.03003 12.7807 5.03003C14.459 5.03003 15.9949 5.63253 17.179 6.63057C18.363 5.63253 19.8989 5.03003 21.5773 5.03003C25.3221 5.03003 28.358 8.02972 28.358 11.73C28.358 15.4303 25.3221 18.43 21.5773 18.43C19.8989 18.43 18.363 17.8275 17.179 16.8295Z", fill: "#ED0006" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.1792 16.8295C18.6371 15.6006 19.5616 13.772 19.5616 11.73C19.5616 9.68807 18.6371 7.85947 17.1792 6.63057C18.3632 5.63253 19.8992 5.03003 21.5775 5.03003C25.3224 5.03003 28.3582 8.02972 28.3582 11.73C28.3582 15.4303 25.3224 18.43 21.5775 18.43C19.8992 18.43 18.3632 17.8275 17.1792 16.8295Z", fill: "#F9A000" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.1788 16.8295C18.6367 15.6006 19.5611 13.772 19.5611 11.7301C19.5611 9.68811 18.6367 7.85952 17.1788 6.63062C15.7208 7.85952 14.7964 9.68811 14.7964 11.7301C14.7964 13.772 15.7208 15.6006 17.1788 16.8295Z", fill: "#FF5E00" }), (0, jsx_runtime_1.jsx)("rect", { x: "0.5", y: "0.5", width: "33", height: "23", rx: "3.5", stroke: "#F2F4F7" })] }));
|
|
11
|
+
};
|
|
12
|
+
exports.Card = Card;
|
|
13
|
+
const Error = () => {
|
|
14
|
+
return ((0, jsx_runtime_1.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M7.99992 5.33337V8.00004M7.99992 10.6667H8.00659M14.6666 8.00004C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00004C1.33325 4.31814 4.31802 1.33337 7.99992 1.33337C11.6818 1.33337 14.6666 4.31814 14.6666 8.00004Z", stroke: "var(--red-500)", strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
15
|
+
};
|
|
16
|
+
exports.Error = Error;
|
|
17
|
+
const Message = () => {
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)("svg", { width: "20", height: "16", viewBox: "0 0 20 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M1.66675 3.83331L8.47085 8.59618C9.02182 8.98187 9.29731 9.17471 9.59697 9.2494C9.86166 9.31538 10.1385 9.31538 10.4032 9.2494C10.7029 9.17471 10.9783 8.98187 11.5293 8.59618L18.3334 3.83331M5.66675 14.6666H14.3334C15.7335 14.6666 16.4336 14.6666 16.9684 14.3942C17.4388 14.1545 17.8212 13.772 18.0609 13.3016C18.3334 12.7668 18.3334 12.0668 18.3334 10.6666V5.33331C18.3334 3.93318 18.3334 3.23312 18.0609 2.69834C17.8212 2.22793 17.4388 1.84548 16.9684 1.6058C16.4336 1.33331 15.7335 1.33331 14.3334 1.33331H5.66675C4.26662 1.33331 3.56655 1.33331 3.03177 1.6058C2.56137 1.84548 2.17892 2.22793 1.93923 2.69834C1.66675 3.23312 1.66675 3.93318 1.66675 5.33331V10.6666C1.66675 12.0668 1.66675 12.7668 1.93923 13.3016C2.17892 13.772 2.56137 14.1545 3.03177 14.3942C3.56655 14.6666 4.26662 14.6666 5.66675 14.6666Z", stroke: "#667085", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
19
|
+
};
|
|
20
|
+
exports.Message = Message;
|
|
21
|
+
const Dollar = () => {
|
|
22
|
+
return ((0, jsx_runtime_1.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M4.904 12.904C5.256 12.872 5.56533 12.7973 5.832 12.68C6.09867 12.5573 6.32267 12.4027 6.504 12.216C6.69067 12.0293 6.82933 11.8133 6.92 11.568C7.016 11.3173 7.064 11.0427 7.064 10.744C7.064 10.4773 7.01333 10.248 6.912 10.056C6.816 9.864 6.68267 9.69867 6.512 9.56C6.34133 9.416 6.14133 9.296 5.912 9.2C5.68267 9.09867 5.43733 9.00533 5.176 8.92L4.904 12.904ZM4.64 3.656C4.29333 3.688 3.992 3.75733 3.736 3.864C3.48533 3.97067 3.27733 4.104 3.112 4.264C2.94667 4.424 2.824 4.60533 2.744 4.808C2.664 5.00533 2.624 5.21333 2.624 5.432C2.624 5.688 2.66933 5.912 2.76 6.104C2.85067 6.29067 2.976 6.456 3.136 6.6C3.296 6.744 3.48267 6.86933 3.696 6.976C3.90933 7.08267 4.14133 7.17867 4.392 7.264L4.64 3.656ZM5.272 7.544C5.656 7.66667 6.03467 7.79733 6.408 7.936C6.78133 8.07467 7.11733 8.25333 7.416 8.472C7.71467 8.69067 7.95467 8.96533 8.136 9.296C8.32267 9.62133 8.416 10.0293 8.416 10.52C8.416 11 8.336 11.4507 8.176 11.872C8.016 12.2933 7.78133 12.664 7.472 12.984C7.168 13.304 6.792 13.5653 6.344 13.768C5.90133 13.9653 5.39467 14.0827 4.824 14.12L4.728 15.52C4.72267 15.6213 4.68267 15.7093 4.608 15.784C4.53333 15.864 4.44 15.904 4.328 15.904H3.8L3.92 14.104C3.27467 14.04 2.68533 13.88 2.152 13.624C1.624 13.3627 1.168 13.032 0.784 12.632L1.216 11.976C1.25867 11.9173 1.312 11.8693 1.376 11.832C1.44 11.7947 1.50933 11.776 1.584 11.776C1.68533 11.776 1.8 11.8267 1.928 11.928C2.056 12.0293 2.21333 12.144 2.4 12.272C2.592 12.4 2.816 12.5253 3.072 12.648C3.33333 12.7707 3.64533 12.8533 4.008 12.896L4.296 8.648C3.92267 8.536 3.55467 8.41067 3.192 8.272C2.83467 8.13333 2.512 7.94933 2.224 7.72C1.94133 7.49067 1.712 7.20533 1.536 6.864C1.36533 6.52267 1.28 6.09333 1.28 5.576C1.28 5.18667 1.35467 4.808 1.504 4.44C1.65867 4.06667 1.88267 3.736 2.176 3.448C2.46933 3.16 2.82933 2.92533 3.256 2.744C3.68267 2.55733 4.17067 2.45333 4.72 2.432L4.8 1.28C4.80533 1.17867 4.84267 1.088 4.912 1.008C4.98667 0.927999 5.08267 0.888 5.2 0.888H5.728L5.624 2.464C6.17867 2.53333 6.65867 2.67733 7.064 2.896C7.47467 3.11467 7.83733 3.38133 8.152 3.696L7.808 4.224C7.70133 4.384 7.57867 4.464 7.44 4.464C7.36533 4.464 7.272 4.432 7.16 4.368C7.05333 4.29867 6.92267 4.21867 6.768 4.128C6.61867 4.03733 6.44 3.94933 6.232 3.864C6.02933 3.77867 5.79733 3.71467 5.536 3.672L5.272 7.544Z", fill: "#475467" }) }));
|
|
23
|
+
};
|
|
24
|
+
exports.Dollar = Dollar;
|
|
25
|
+
const Copy = () => {
|
|
26
|
+
return ((0, jsx_runtime_1.jsx)("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", stroke: "var(--gray-700)", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M4.1665 12.5C3.38993 12.5 3.00165 12.5 2.69536 12.3732C2.28698 12.204 1.96253 11.8795 1.79337 11.4712C1.6665 11.1649 1.6665 10.7766 1.6665 10V4.33335C1.6665 3.39993 1.6665 2.93322 1.84816 2.5767C2.00795 2.2631 2.26292 2.00813 2.57652 1.84834C2.93304 1.66669 3.39975 1.66669 4.33317 1.66669H9.99984C10.7764 1.66669 11.1647 1.66669 11.471 1.79355C11.8794 1.96271 12.2038 2.28717 12.373 2.69555C12.4998 3.00183 12.4998 3.39012 12.4998 4.16669M10.1665 18.3334H15.6665C16.5999 18.3334 17.0666 18.3334 17.4232 18.1517C17.7368 17.9919 17.9917 17.7369 18.1515 17.4233C18.3332 17.0668 18.3332 16.6001 18.3332 15.6667V10.1667C18.3332 9.23327 18.3332 8.76656 18.1515 8.41004C17.9917 8.09643 17.7368 7.84147 17.4232 7.68168C17.0666 7.50002 16.5999 7.50002 15.6665 7.50002H10.1665C9.23308 7.50002 8.76637 7.50002 8.40985 7.68168C8.09625 7.84147 7.84128 8.09643 7.68149 8.41004C7.49984 8.76656 7.49984 9.23327 7.49984 10.1667V15.6667C7.49984 16.6001 7.49984 17.0668 7.68149 17.4233C7.84128 17.7369 8.09625 17.9919 8.40985 18.1517C8.76637 18.3334 9.23308 18.3334 10.1665 18.3334Z", stroke: "#344054", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
27
|
+
};
|
|
28
|
+
exports.Copy = Copy;
|
|
29
|
+
const Times = () => {
|
|
30
|
+
return ((0, jsx_runtime_1.jsx)("svg", { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M7 1L1 7M1 1L7 7", stroke: "#98A2B3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
31
|
+
};
|
|
32
|
+
exports.Times = Times;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AccordionTab = exports.Accordion = exports.AccordionComponent = void 0;
|
|
4
|
-
const
|
|
5
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
5
|
const accordion_1 = require("primereact/accordion");
|
|
7
6
|
Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return accordion_1.Accordion; } });
|
|
8
7
|
Object.defineProperty(exports, "AccordionTab", { enumerable: true, get: function () { return accordion_1.AccordionTab; } });
|
|
9
8
|
const AccordionComponent = () => {
|
|
10
|
-
return (
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: "Accordion" }));
|
|
11
10
|
};
|
|
12
11
|
exports.AccordionComponent = AccordionComponent;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AutoCompleteComponent = void 0;
|
|
4
|
-
const
|
|
5
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
5
|
const autocomplete_1 = require("primereact/autocomplete");
|
|
7
6
|
const AutoCompleteComponent = () => {
|
|
8
|
-
return (
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: "auto-complete" }));
|
|
9
8
|
};
|
|
10
9
|
exports.AutoCompleteComponent = AutoCompleteComponent;
|
|
11
10
|
exports.default = autocomplete_1.AutoComplete;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ButtonComponent = void 0;
|
|
4
|
-
const
|
|
5
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
5
|
const button_1 = require("primereact/button");
|
|
7
6
|
const ButtonComponent = () => {
|
|
8
|
-
return (
|
|
9
|
-
"ButtonComponent",
|
|
10
|
-
react_1.default.createElement(button_1.Button, { label: "Click Me" })));
|
|
7
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: ["ButtonComponent", (0, jsx_runtime_1.jsx)(button_1.Button, { label: "Click Me" })] }));
|
|
11
8
|
};
|
|
12
9
|
exports.ButtonComponent = ButtonComponent;
|
|
13
10
|
exports.default = button_1.Button;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CheckboxComponent = void 0;
|
|
4
|
-
const
|
|
5
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
5
|
const checkbox_1 = require("primereact/checkbox");
|
|
7
6
|
const CheckboxComponent = () => {
|
|
8
|
-
return (
|
|
7
|
+
return (0, jsx_runtime_1.jsx)("div", { children: "checkbox" });
|
|
9
8
|
};
|
|
10
9
|
exports.CheckboxComponent = CheckboxComponent;
|
|
11
10
|
exports.default = checkbox_1.Checkbox;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DropdownComponent = void 0;
|
|
4
|
-
const
|
|
5
|
-
const react_1 =
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
6
|
const dropdown_1 = require("primereact/dropdown");
|
|
7
7
|
const DropdownComponent = () => {
|
|
8
8
|
const [selectedCity, setSelectedCity] = (0, react_1.useState)(null);
|
|
@@ -13,8 +13,7 @@ const DropdownComponent = () => {
|
|
|
13
13
|
{ name: 'Istanbul', code: 'IST' },
|
|
14
14
|
{ name: 'Paris', code: 'PRS' },
|
|
15
15
|
];
|
|
16
|
-
return (
|
|
17
|
-
react_1.default.createElement(dropdown_1.Dropdown, { value: selectedCity, onChange: (e) => setSelectedCity(e.value), options: cities, optionLabel: "name", placeholder: "Select a City", className: "w-full md:w-14rem" })));
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "card flex justify-content-center", children: (0, jsx_runtime_1.jsx)(dropdown_1.Dropdown, { value: selectedCity, onChange: (e) => setSelectedCity(e.value), options: cities, optionLabel: "name", placeholder: "Select a City", className: "w-full md:w-14rem" }) }));
|
|
18
17
|
};
|
|
19
18
|
exports.DropdownComponent = DropdownComponent;
|
|
20
19
|
exports.default = dropdown_1.Dropdown;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InputComponent = void 0;
|
|
4
|
-
const
|
|
5
|
-
const react_1 =
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
6
|
const inputtext_1 = require("primereact/inputtext");
|
|
7
7
|
const InputComponent = () => {
|
|
8
8
|
const [value, setValue] = (0, react_1.useState)('');
|
|
9
|
-
return (
|
|
10
|
-
react_1.default.createElement(inputtext_1.InputText, { value: value, onChange: (e) => setValue(e.target.value) })));
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "card flex justify-content-center", children: (0, jsx_runtime_1.jsx)(inputtext_1.InputText, { value: value, onChange: (e) => setValue(e.target.value) }) }));
|
|
11
10
|
};
|
|
12
11
|
exports.InputComponent = InputComponent;
|
|
13
12
|
exports.default = inputtext_1.InputText;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const svg_icons_1 = require("./svg-icons");
|
|
5
|
+
const SvgIcon = ({ iconName }) => {
|
|
6
|
+
const iconObj = svg_icons_1.svgIcons.find((icon) => icon.name === iconName);
|
|
7
|
+
if (!iconObj)
|
|
8
|
+
return null; // handle case where icon name is not found
|
|
9
|
+
return (0, jsx_runtime_1.jsx)("span", { dangerouslySetInnerHTML: { __html: iconObj.svg } });
|
|
10
|
+
};
|
|
11
|
+
exports.default = SvgIcon;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.svgIcons = void 0;
|
|
4
|
+
exports.svgIcons = [
|
|
5
|
+
{
|
|
6
|
+
name: 'user',
|
|
7
|
+
svg: `<svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8
|
+
<path d="M14.6668 16.5C14.6668 15.337 14.6668 14.7555 14.5233 14.2824C14.2001 13.217 13.3664 12.3834 12.3011 12.0602C11.828 11.9167 11.2465 11.9167 10.0835 11.9167H5.91683C4.75386 11.9167 4.17237 11.9167 3.69921 12.0602C2.63388 12.3834 1.8002 13.217 1.47703 14.2824C1.3335 14.7555 1.3335 15.337 1.3335 16.5M11.7502 5.25C11.7502 7.32107 10.0712 9 8.00016 9C5.92909 9 4.25016 7.32107 4.25016 5.25C4.25016 3.17893 5.92909 1.5 8.00016 1.5C10.0712 1.5 11.7502 3.17893 11.7502 5.25Z" stroke="#667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
</svg>
|
|
10
|
+
`,
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: 'search',
|
|
14
|
+
svg: `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
15
|
+
<path d="M16.5 16.5L13.5834 13.5833M15.6667 8.58333C15.6667 12.4954 12.4954 15.6667 8.58333 15.6667C4.67132 15.6667 1.5 12.4954 1.5 8.58333C1.5 4.67132 4.67132 1.5 8.58333 1.5C12.4954 1.5 15.6667 4.67132 15.6667 8.58333Z" stroke="#667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
16
|
+
</svg>
|
|
17
|
+
`,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'check-selected',
|
|
21
|
+
svg: `<svg width="16" height="11" viewBox="0 0 16 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
22
|
+
<path d="M14.6668 1L5.50016 10.1667L1.3335 6" stroke="#132067" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
23
|
+
</svg>
|
|
24
|
+
`,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'close-chip',
|
|
28
|
+
svg: `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
29
|
+
<path d="M7 1L1 7M1 1L7 7" stroke="#98A2B3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
30
|
+
</svg>
|
|
31
|
+
`,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'down-arrow-dropdown',
|
|
35
|
+
svg: `<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
36
|
+
<path d="M1 1.5L6 6.5L11 1.5" stroke="#667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
37
|
+
</svg>
|
|
38
|
+
`,
|
|
39
|
+
},
|
|
40
|
+
];
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OverlayPanel = exports.Tag = exports.Carousel = exports.ToggleButton = exports.Slider = exports.Card = exports.Dialog = exports.Password = exports.confirmPopup = exports.ConfirmDialog = exports.RadioButton = exports.Badge = exports.Tooltip = exports.Calendar = exports.Image = exports.AvatarGroup = exports.Avatar = exports.classNames = exports.Paginator = exports.MultiSelect = exports.FileUpload = exports.TabMenu = exports.TabPanel = exports.TabView = exports.Sidebar = exports.Column = exports.DataTable = exports.Checkbox = exports.AutoComplete = exports.ColorPicker = exports.AccordionTab = exports.Accordion = exports.InputText = exports.Dropdown = exports.Button = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
6
|
const client_1 = tslib_1.__importDefault(require("react-dom/client"));
|
|
7
7
|
const App_1 = tslib_1.__importDefault(require("./App"));
|
|
8
8
|
// component exports
|
|
@@ -74,4 +74,4 @@ var tag_1 = require("./components/carousel/tag");
|
|
|
74
74
|
Object.defineProperty(exports, "Tag", { enumerable: true, get: function () { return tslib_1.__importDefault(tag_1).default; } });
|
|
75
75
|
var overlay_panel_1 = require("./components/overlays/overlay-panel");
|
|
76
76
|
Object.defineProperty(exports, "OverlayPanel", { enumerable: true, get: function () { return tslib_1.__importDefault(overlay_panel_1).default; } });
|
|
77
|
-
client_1.default.createRoot(document.getElementById('root')).render(
|
|
77
|
+
client_1.default.createRoot(document.getElementById('root')).render((0, jsx_runtime_1.jsx)(App_1.default, {}));
|
package/dist/types/App.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
export function InfoLogo(): import("react").JSX.Element;
|
|
1
|
+
export function InfoLogo(): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export function Card(): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export function Error(): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export function Message(): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export function Dollar(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export function Copy(): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export function Times(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Accordion, AccordionTab } from 'primereact/accordion';
|
|
3
|
-
export declare const AccordionComponent: () =>
|
|
2
|
+
export declare const AccordionComponent: () => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export { Accordion, AccordionTab };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { AutoComplete } from 'primereact/autocomplete';
|
|
3
|
-
export declare const AutoCompleteComponent: () =>
|
|
2
|
+
export declare const AutoCompleteComponent: () => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default AutoComplete;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export { default as Column } from './components/data-table/data-table';
|
|
|
11
11
|
export { default as Sidebar } from './components/side-panel/side-panel';
|
|
12
12
|
export { TabView, TabPanel } from './components/tabview/tabview';
|
|
13
13
|
export { default as TabMenu } from './components/tab-menu/tab-menu';
|
|
14
|
-
export { default as MenuItem } from './components/tab-menu/menu-item';
|
|
15
14
|
export { default as FileUpload } from './components/file-upload/file-upload';
|
|
16
15
|
export { default as MultiSelect } from './components/multi-select/multi-select';
|
|
17
16
|
export { default as Paginator } from './components/data-table/data-table';
|
package/package.json
CHANGED
|
@@ -1,58 +1,51 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sccoreui",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "ui-sccore",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"module": "./dist/index.js",
|
|
7
|
-
"types": "./dist/types/index.d.ts",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"start": "react-scripts start",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"development": [
|
|
53
|
-
"last 1 chrome version",
|
|
54
|
-
"last 1 firefox version",
|
|
55
|
-
"last 1 safari version"
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sccoreui",
|
|
3
|
+
"version": "1.1.7",
|
|
4
|
+
"description": "ui-sccore",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/types/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"start": "react-scripts start",
|
|
10
|
+
"build": "tsc",
|
|
11
|
+
"prepare": "npm run build"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"LICENSE",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"keywords": [
|
|
19
|
+
"react",
|
|
20
|
+
"typescript",
|
|
21
|
+
"awesome-project"
|
|
22
|
+
],
|
|
23
|
+
"author": "UI Framework",
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/react": "^18.2.8",
|
|
26
|
+
"@types/react-dom": "^18.2.4",
|
|
27
|
+
"sass": "^1.62.1"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"primeflex": "^3.3.1",
|
|
31
|
+
"primeicons": "^6.0.1",
|
|
32
|
+
"primereact": "^9.5.0",
|
|
33
|
+
"react": "^18.2.0",
|
|
34
|
+
"react-dom": "^18.2.0",
|
|
35
|
+
"react-router-dom": "^6.12.0",
|
|
36
|
+
"react-scripts": "^5.0.1",
|
|
37
|
+
"typescript": "^5.1.3"
|
|
38
|
+
},
|
|
39
|
+
"browserslist": {
|
|
40
|
+
"production": [
|
|
41
|
+
">0.2%",
|
|
42
|
+
"not dead",
|
|
43
|
+
"not op_mini all"
|
|
44
|
+
],
|
|
45
|
+
"development": [
|
|
46
|
+
"last 1 chrome version",
|
|
47
|
+
"last 1 firefox version",
|
|
48
|
+
"last 1 safari version"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Igor Gaponov (gapon2401)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|