@harjs/react-ui 1.0.0 → 1.0.2
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/index.d.ts +38 -0
- package/dist/index.js +56 -0
- package/dist/libs/infrastructure/shared/Utils.d.ts +1 -1
- package/package.json +23 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import "./assets/css/core/ar-core.css";
|
|
2
|
+
import Button from "./components/form/button";
|
|
3
|
+
import ButtonAction from "./components/form/button-action";
|
|
4
|
+
import ButtonGroup from "./components/form/button-group";
|
|
5
|
+
import Checkbox from "./components/form/checkbox";
|
|
6
|
+
import DatePicker from "./components/form/date-picker";
|
|
7
|
+
import Input from "./components/form/input";
|
|
8
|
+
import Radio from "./components/form/radio";
|
|
9
|
+
import Select from "./components/form/select";
|
|
10
|
+
import Switch from "./components/form/switch";
|
|
11
|
+
import TextEditor from "./components/form/text-editor";
|
|
12
|
+
import Upload from "./components/form/upload";
|
|
13
|
+
import Gantt from "./components/charts/gantt";
|
|
14
|
+
import Calendar from "./components/data-display/calendar";
|
|
15
|
+
import Card from "./components/data-display/card";
|
|
16
|
+
import Chip from "./components/data-display/chip";
|
|
17
|
+
import Diagram from "./components/data-display/diagram/index";
|
|
18
|
+
import Divider from "./components/data-display/divider";
|
|
19
|
+
import DnD from "./components/data-display/dnd";
|
|
20
|
+
import KanbanBoard from "./components/data-display/kanban-board";
|
|
21
|
+
import Paper from "./components/data-display/paper";
|
|
22
|
+
import SyntaxHighlighter from "./components/data-display/syntax-highlighter";
|
|
23
|
+
import Table from "./components/data-display/table";
|
|
24
|
+
import Tabs from "./components/data-display/tabs";
|
|
25
|
+
import Typography from "./components/data-display/typography";
|
|
26
|
+
import Alert from "./components/feedback/alert";
|
|
27
|
+
import Drawer from "./components/feedback/drawer";
|
|
28
|
+
import Modal from "./components/feedback/modal";
|
|
29
|
+
import Popover from "./components/feedback/popover";
|
|
30
|
+
import Progress from "./components/feedback/progress";
|
|
31
|
+
import Tooltip from "./components/feedback/tooltip";
|
|
32
|
+
import Breadcrumb from "./components/navigation/breadcrumb";
|
|
33
|
+
import Menu from "./components/navigation/menu";
|
|
34
|
+
import Pagination from "./components/navigation/pagination";
|
|
35
|
+
import Steps from "./components/navigation/steps";
|
|
36
|
+
import Grid from "./components/data-display/grid-system";
|
|
37
|
+
import Layout from "./components/layout";
|
|
38
|
+
export { Button, ButtonAction, ButtonGroup, Checkbox, DatePicker, Input, Radio, Select, Switch, TextEditor, Upload, Gantt, Calendar, Card, Chip, Diagram, Divider, DnD, KanbanBoard, Paper, SyntaxHighlighter, Table, Tabs, Typography, Alert, Drawer, Modal, Popover, Progress, Tooltip, Breadcrumb, Menu, Pagination, Steps, Grid, Layout, };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import "./assets/css/core/ar-core.css";
|
|
2
|
+
// Form Elements
|
|
3
|
+
import Button from "./components/form/button";
|
|
4
|
+
import ButtonAction from "./components/form/button-action";
|
|
5
|
+
import ButtonGroup from "./components/form/button-group";
|
|
6
|
+
import Checkbox from "./components/form/checkbox";
|
|
7
|
+
import DatePicker from "./components/form/date-picker";
|
|
8
|
+
import Input from "./components/form/input";
|
|
9
|
+
import Radio from "./components/form/radio";
|
|
10
|
+
import Select from "./components/form/select";
|
|
11
|
+
import Switch from "./components/form/switch";
|
|
12
|
+
import TextEditor from "./components/form/text-editor";
|
|
13
|
+
import Upload from "./components/form/upload";
|
|
14
|
+
// Charts
|
|
15
|
+
import Gantt from "./components/charts/gantt";
|
|
16
|
+
// Data Display
|
|
17
|
+
import Calendar from "./components/data-display/calendar";
|
|
18
|
+
import Card from "./components/data-display/card";
|
|
19
|
+
import Chip from "./components/data-display/chip";
|
|
20
|
+
import Diagram from "./components/data-display/diagram/index";
|
|
21
|
+
import Divider from "./components/data-display/divider";
|
|
22
|
+
import DnD from "./components/data-display/dnd";
|
|
23
|
+
import KanbanBoard from "./components/data-display/kanban-board";
|
|
24
|
+
import Paper from "./components/data-display/paper";
|
|
25
|
+
import SyntaxHighlighter from "./components/data-display/syntax-highlighter";
|
|
26
|
+
import Table from "./components/data-display/table";
|
|
27
|
+
import Tabs from "./components/data-display/tabs";
|
|
28
|
+
import Typography from "./components/data-display/typography";
|
|
29
|
+
// Feedback
|
|
30
|
+
import Alert from "./components/feedback/alert";
|
|
31
|
+
import Drawer from "./components/feedback/drawer";
|
|
32
|
+
import Modal from "./components/feedback/modal";
|
|
33
|
+
import Popover from "./components/feedback/popover";
|
|
34
|
+
import Progress from "./components/feedback/progress";
|
|
35
|
+
import Tooltip from "./components/feedback/tooltip";
|
|
36
|
+
// Navigation
|
|
37
|
+
import Breadcrumb from "./components/navigation/breadcrumb";
|
|
38
|
+
import Menu from "./components/navigation/menu";
|
|
39
|
+
import Pagination from "./components/navigation/pagination";
|
|
40
|
+
import Steps from "./components/navigation/steps";
|
|
41
|
+
// Layout
|
|
42
|
+
import Grid from "./components/data-display/grid-system";
|
|
43
|
+
import Layout from "./components/layout";
|
|
44
|
+
export {
|
|
45
|
+
// Form Elements
|
|
46
|
+
Button, ButtonAction, ButtonGroup, Checkbox, DatePicker, Input, Radio, Select, Switch, TextEditor, Upload,
|
|
47
|
+
// Charts
|
|
48
|
+
Gantt,
|
|
49
|
+
// Data Display
|
|
50
|
+
Calendar, Card, Chip, Diagram, Divider, DnD, KanbanBoard, Paper, SyntaxHighlighter, Table, Tabs, Typography,
|
|
51
|
+
// Feedback
|
|
52
|
+
Alert, Drawer, Modal, Popover, Progress, Tooltip,
|
|
53
|
+
// Navigation
|
|
54
|
+
Breadcrumb, Menu, Pagination, Steps,
|
|
55
|
+
// Layout
|
|
56
|
+
Grid, Layout, };
|
|
@@ -3,7 +3,7 @@ declare class Utils {
|
|
|
3
3
|
GetClassName: (variant?: Variants, status?: Status, color?: Color, border?: Border, size?: Sizes, icon?: Icon, className?: string) => string[];
|
|
4
4
|
GetCookie: (name: string) => string | null | undefined;
|
|
5
5
|
GetOS: () => "Windows" | "MacOS" | "UNIX" | "Linux" | "Android" | "iOS" | "Bilinmeyen OS";
|
|
6
|
-
GetOSShortCutIcons: () => "" | "
|
|
6
|
+
GetOSShortCutIcons: () => "⌘" | "ctrl" | "";
|
|
7
7
|
GetFileTypeInformation: (mimeType: MimeTypes) => {
|
|
8
8
|
category: FileCategory;
|
|
9
9
|
readableType: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harjs/react-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -9,6 +9,28 @@
|
|
|
9
9
|
"main": "./dist/index.js",
|
|
10
10
|
"module": "./dist/index.js",
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./config": {
|
|
18
|
+
"types": "./dist/libs/core/application/contexts/index.d.ts",
|
|
19
|
+
"import": "./dist/libs/core/application/contexts/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./hooks": {
|
|
22
|
+
"types": "./dist/libs/core/application/hooks/index.d.ts",
|
|
23
|
+
"import": "./dist/libs/core/application/hooks/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./types": {
|
|
26
|
+
"types": "./dist/libs/infrastructure/types/index.d.ts",
|
|
27
|
+
"import": "./dist/libs/infrastructure/types/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./utils": {
|
|
30
|
+
"types": "./dist/libs/infrastructure/shared/index.d.ts",
|
|
31
|
+
"import": "./dist/libs/infrastructure/shared/index.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
12
34
|
"files": [
|
|
13
35
|
"dist/"
|
|
14
36
|
],
|