@map2usdnbhd/md_components 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/README.md +20 -20
- package/dist/allPaths-2UT7qcm3.js +18 -0
- package/dist/allPathsLoader-GtixNm_4.js +22 -0
- package/dist/components/Accordian/mdStaticAccordian1/accordian/MdStaticAccordian1.d.ts +1 -0
- package/dist/components/Accordian/mdStaticAccordian1/index.d.ts +4 -0
- package/dist/components/Accordian/mdStaticAccordian1/mdStaticAccordian.d.ts +3 -0
- package/dist/components/Accordian/mdStaticAccordian1/mdStaticAccordianInterface.d.ts +21 -0
- package/dist/components/Buttons/Button1/Button1.d.ts +3 -0
- package/dist/components/Buttons/Button1/MdStaticButtonInterFace.d.ts +7 -0
- package/dist/components/Buttons/index.d.ts +2 -0
- package/dist/components/Card/MdStaticCard/MdStaticCard.d.ts +26 -0
- package/dist/components/Card/MdStaticCard/index.d.ts +2 -0
- package/dist/components/Card/MdStaticCardColorHeader/MdStaticCardColorHeader.d.ts +14 -0
- package/dist/components/Card/MdStaticCardColorHeader/index.d.ts +2 -0
- package/dist/components/Card/MdStaticCardImgSide/MdStaticCardImgSide.d.ts +24 -0
- package/dist/components/Card/MdStaticCardImgSide/index.d.ts +2 -0
- package/dist/components/Card/index.d.ts +3 -0
- package/dist/components/Carousel/Carousel1/MdStaticCarousel.d.ts +5 -0
- package/dist/components/Carousel/Carousel1/index.d.ts +3 -0
- package/dist/components/Carousel/index.d.ts +2 -0
- package/dist/components/Chart/LineChart/LineChart.d.ts +3 -0
- package/dist/components/Chart/LineChart/MdStaticChartInterface.d.ts +10 -0
- package/dist/components/Chart/index.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox/Checkbox.d.ts +3 -0
- package/dist/components/Checkbox/Checkbox/CheckboxInterface.d.ts +8 -0
- package/dist/components/Checkbox/CheckboxGroup/CheckbocGroup.d.ts +3 -0
- package/dist/components/Checkbox/CheckboxGroup/CheckboxGroupInterface.d.ts +9 -0
- package/dist/components/Dropdown/MdDropDown/MdStaticDropdown.d.ts +3 -0
- package/dist/components/Dropdown/MdDropDown/MdStaticDropdownInterface.d.ts +10 -0
- package/dist/components/Dropdown/MdDropdownMaltiSelect/MdDropdownMaltiInterface.d.ts +8 -0
- package/dist/components/Dropdown/MdDropdownMaltiSelect/MdDropdownMaltiSelect.d.ts +3 -0
- package/dist/components/Dropdown/SearchDropdown/SearchDropdown.d.ts +3 -0
- package/dist/components/Dropdown/SearchDropdown/SearchDropdownInterface.d.ts +4 -0
- package/dist/components/Dropdown/index.d.ts +2 -0
- package/dist/components/Footer/MdStaticFooter/MdStaticFooter.d.ts +3 -0
- package/dist/components/Footer/MdStaticFooter/MdStaticFooterInterface.d.ts +24 -0
- package/dist/components/Footer/MdStaticFooter/index.d.ts +4 -0
- package/dist/components/Footer/MdStaticFooter2/MdStaticFooter2.d.ts +3 -0
- package/dist/components/Footer/MdStaticFooter2/MdStaticFooter2Interface.d.ts +24 -0
- package/dist/components/Footer/MdStaticFooter2/index.d.ts +4 -0
- package/dist/components/FormInputs/FileInput/FileInput1/FileInput1.d.ts +3 -0
- package/dist/components/FormInputs/FileInput/FileInput1/MdStaticFileInputInterface.d.ts +16 -0
- package/dist/components/FormInputs/InputGroup/InputGroup1/InputGroup1.d.ts +3 -0
- package/dist/components/FormInputs/InputGroup/InputGroup1/InputGroup1.stories.d.ts +72 -0
- package/dist/components/FormInputs/InputGroup/InputGroup1/InputGroupInterface.d.ts +11 -0
- package/dist/components/FormInputs/NumericInput/NumericInput1/NumericInput1.d.ts +7 -0
- package/dist/components/FormInputs/TagInput/TagInput1/TagInput1.d.ts +3 -0
- package/dist/components/FormInputs/TagInput/TagInput1/TagInputInterface.d.ts +5 -0
- package/dist/components/FormInputs/Textarea/Textarea1/Textarea1.d.ts +3 -0
- package/dist/components/FormInputs/Textarea/Textarea1/Textarea1Interface.d.ts +8 -0
- package/dist/components/FormInputs/index.d.ts +4 -0
- package/dist/components/HTMLSelect/HTMLSelect1/HTMLSelect1.d.ts +13 -0
- package/dist/components/HTMLSelect/HTMLSelect1/index.d.ts +0 -0
- package/dist/components/Header/Headers/Header.d.ts +3 -0
- package/dist/components/Header/Headers/HeaderInterface.d.ts +18 -0
- package/dist/components/Header/index.d.ts +2 -0
- package/dist/components/Map/Map.d.ts +9 -0
- package/dist/components/Model/Model1/Modal.d.ts +3 -0
- package/dist/components/Model/Model1/ModalInterface.d.ts +13 -0
- package/dist/components/Model/index.d.ts +2 -0
- package/dist/components/Navbar/Navbar2/MdStaticNavbarInterface.d.ts +27 -0
- package/dist/components/Navbar/Navbar2/Navbar2.d.ts +3 -0
- package/dist/components/Navbar/index.d.ts +2 -0
- package/dist/components/Radio/Radio1/Radio1.d.ts +3 -0
- package/dist/components/Radio/Radio1/Radio1Interface.d.ts +6 -0
- package/dist/components/Sidebar/Sidebar02/Sidebar02Interface.d.ts +8 -0
- package/dist/components/Sidebar/Sidebar02/sidebar02.d.ts +3 -0
- package/dist/components/Sidebar/Sidebar03/Sidebar.d.ts +1 -0
- package/dist/components/Sidebar/index.d.ts +2 -0
- package/dist/components/Table/WSortIcon/WSortIcon.d.ts +14 -0
- package/dist/components/Table/WSortIcon/WSortIconInterface.d.ts +17 -0
- package/dist/components/Text/Text1.d.ts +8 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/index-K1y_hry-.js +29281 -0
- package/dist/index-_nYoEliG.js +606 -0
- package/dist/index-q-fN99gA.js +606 -0
- package/dist/md-component.js +19 -0
- package/dist/md-component.umd.cjs +87 -0
- package/dist/splitPathsBySizeLoader-balxJO-_.js +31 -0
- package/dist/style.css +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/vite.svg +1 -0
- package/package.json +76 -85
- package/dist/index.css +0 -148
- package/dist/index.js +0 -1726
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js +0 -1713
- package/dist/index.modern.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
#
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
npm install --save md_components
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
10
|
+
## Expanding the ESLint configuration
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
import React, { Component } from 'react'
|
|
12
|
+
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
|
|
17
13
|
|
|
18
|
-
|
|
19
|
-
import 'md_components/dist/index.css'
|
|
14
|
+
- Configure the top-level `parserOptions` property like this:
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
```js
|
|
17
|
+
export default {
|
|
18
|
+
// other rules...
|
|
19
|
+
parserOptions: {
|
|
20
|
+
ecmaVersion: 'latest',
|
|
21
|
+
sourceType: 'module',
|
|
22
|
+
project: ['./tsconfig.json', './tsconfig.node.json'],
|
|
23
|
+
tsconfigRootDir: __dirname,
|
|
24
|
+
},
|
|
25
25
|
}
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
|
|
29
|
+
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
|
|
30
|
+
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { I as n } from "./index-_nYoEliG.js";
|
|
2
|
+
import { I as e } from "./index-q-fN99gA.js";
|
|
3
|
+
import { p as t, I as s } from "./index-K1y_hry-.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
function f(o, a) {
|
|
7
|
+
var r = t(o);
|
|
8
|
+
return a === s.STANDARD ? n[r] : e[r];
|
|
9
|
+
}
|
|
10
|
+
function h(o) {
|
|
11
|
+
return t(o);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
n as IconSvgPaths16,
|
|
15
|
+
e as IconSvgPaths20,
|
|
16
|
+
f as getIconPaths,
|
|
17
|
+
h as iconNameToPathsRecordKey
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { _ as e, a as n } from "./index-K1y_hry-.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
var u = function(o, a) {
|
|
5
|
+
return e(void 0, void 0, void 0, function() {
|
|
6
|
+
var t;
|
|
7
|
+
return n(this, function(r) {
|
|
8
|
+
switch (r.label) {
|
|
9
|
+
case 0:
|
|
10
|
+
return [4, import(
|
|
11
|
+
/* webpackChunkName: "blueprint-icons-all-paths" */
|
|
12
|
+
"./allPaths-2UT7qcm3.js"
|
|
13
|
+
)];
|
|
14
|
+
case 1:
|
|
15
|
+
return t = r.sent().getIconPaths, [2, t(o, a)];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
u as allPathsLoader
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MdStaticAccordian1: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface MdStaticAccordianInter {
|
|
2
|
+
id: number;
|
|
3
|
+
titleProps: string;
|
|
4
|
+
content: string;
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
textColorHover: string;
|
|
8
|
+
fontSizeHeader: number;
|
|
9
|
+
borderRadius: number;
|
|
10
|
+
showIcon: boolean;
|
|
11
|
+
index: number;
|
|
12
|
+
accordianData: [
|
|
13
|
+
{
|
|
14
|
+
title: string;
|
|
15
|
+
content: string;
|
|
16
|
+
active: boolean;
|
|
17
|
+
icon: string;
|
|
18
|
+
subcontent: string[];
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface MdStaticCardProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
content?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
Align?: string;
|
|
7
|
+
CardWidth?: number;
|
|
8
|
+
AlignSubTitle?: string;
|
|
9
|
+
CardPadding?: number;
|
|
10
|
+
TitleFontSize?: string;
|
|
11
|
+
ButtonTextSize?: string;
|
|
12
|
+
ButtonTextColor?: string;
|
|
13
|
+
CardBorderRadius?: number;
|
|
14
|
+
TitleColor?: string;
|
|
15
|
+
ButtonColor?: string;
|
|
16
|
+
ContentColor?: string;
|
|
17
|
+
backgroundColor?: string;
|
|
18
|
+
imageSrc?: string;
|
|
19
|
+
showButton?: boolean;
|
|
20
|
+
showImg?: boolean;
|
|
21
|
+
showTitle?: boolean;
|
|
22
|
+
ContentFontSize: number;
|
|
23
|
+
contentPadding?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const MdStaticCard: FC<MdStaticCardProps>;
|
|
26
|
+
export default MdStaticCard;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface MdStaticCardColorHeaderProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
content?: string;
|
|
5
|
+
AlignSubTitle?: string;
|
|
6
|
+
TitleFontSize?: string;
|
|
7
|
+
CardBorderRadius?: number;
|
|
8
|
+
TitleColor?: string;
|
|
9
|
+
ContentColor?: string;
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
showTitle?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const MdStaticCardColorHeader: FC<MdStaticCardColorHeaderProps>;
|
|
14
|
+
export default MdStaticCardColorHeader;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface MDSCardImgSidedProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
content1?: string;
|
|
5
|
+
subContent1?: string;
|
|
6
|
+
content2?: string;
|
|
7
|
+
subContent2?: string;
|
|
8
|
+
content3?: string;
|
|
9
|
+
subContent3?: string;
|
|
10
|
+
icon1?: ReactNode;
|
|
11
|
+
icon2?: ReactNode;
|
|
12
|
+
icon3?: ReactNode;
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
TitleFontSize?: string;
|
|
15
|
+
TitleJustifyContent?: string;
|
|
16
|
+
TitleColor?: string;
|
|
17
|
+
SubFontSize?: string;
|
|
18
|
+
SubJustifyContent?: string;
|
|
19
|
+
SubColor?: string;
|
|
20
|
+
flex?: string;
|
|
21
|
+
imgSrc?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const MdStaticCardImgSide: FC<MDSCardImgSidedProps>;
|
|
24
|
+
export default MdStaticCardImgSide;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface MdStaticFooterInterface {
|
|
2
|
+
small_Show: boolean;
|
|
3
|
+
main_Show: boolean;
|
|
4
|
+
small_Text: string;
|
|
5
|
+
small_BgColor: string;
|
|
6
|
+
small_FontColor: string;
|
|
7
|
+
small_DateType: string;
|
|
8
|
+
small_TextPos: string;
|
|
9
|
+
small_TextBold: boolean;
|
|
10
|
+
main_BgColor: string;
|
|
11
|
+
main_FontColor: string;
|
|
12
|
+
main_IconColor: string;
|
|
13
|
+
main_Title: string;
|
|
14
|
+
count1: string;
|
|
15
|
+
desc1: string;
|
|
16
|
+
count2: string;
|
|
17
|
+
desc2: string;
|
|
18
|
+
count3: string;
|
|
19
|
+
desc3: string;
|
|
20
|
+
count4: string;
|
|
21
|
+
desc4: string;
|
|
22
|
+
count5: string;
|
|
23
|
+
desc5: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface MdStaticFooter2Interface {
|
|
2
|
+
small_Show: boolean;
|
|
3
|
+
main_Show: boolean;
|
|
4
|
+
small_Text: string;
|
|
5
|
+
small_BgColor: string;
|
|
6
|
+
small_FontColor: string;
|
|
7
|
+
small_DateType: string;
|
|
8
|
+
small_TextPos: string;
|
|
9
|
+
small_TextBold: boolean;
|
|
10
|
+
main_BgColor: string;
|
|
11
|
+
main_FontColor: string;
|
|
12
|
+
main_IconColor: string;
|
|
13
|
+
main_Title: string;
|
|
14
|
+
count1: string;
|
|
15
|
+
desc1: string;
|
|
16
|
+
count2: string;
|
|
17
|
+
desc2: string;
|
|
18
|
+
count3: string;
|
|
19
|
+
desc3: string;
|
|
20
|
+
count4: string;
|
|
21
|
+
desc4: string;
|
|
22
|
+
count5: string;
|
|
23
|
+
desc5: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface MSFIInterface {
|
|
2
|
+
backgroundColor?: string;
|
|
3
|
+
onFileSelect: (files: File[]) => void;
|
|
4
|
+
buttonText: string;
|
|
5
|
+
border?: string;
|
|
6
|
+
padding?: string;
|
|
7
|
+
borderRadius?: string;
|
|
8
|
+
outlined?: boolean;
|
|
9
|
+
width?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
iconPosition?: 'left' | 'right' | 'top' | 'bottom';
|
|
13
|
+
iconSize?: string;
|
|
14
|
+
widthButton?: string;
|
|
15
|
+
allowedFileTypes?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { InputGroup1_Props } from "./InputGroupInterface";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<InputGroup1_Props>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
docs: {
|
|
10
|
+
description: {
|
|
11
|
+
component: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
disableProps: {
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
placeholderProps: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
intentProps: {
|
|
30
|
+
control: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
name: string;
|
|
34
|
+
options: string[];
|
|
35
|
+
};
|
|
36
|
+
borderProps: {
|
|
37
|
+
control: {
|
|
38
|
+
type: string;
|
|
39
|
+
min: number;
|
|
40
|
+
max: number;
|
|
41
|
+
step: number;
|
|
42
|
+
defaultValue: number;
|
|
43
|
+
};
|
|
44
|
+
name: string;
|
|
45
|
+
};
|
|
46
|
+
sizeProps: {
|
|
47
|
+
control: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
name: string;
|
|
51
|
+
};
|
|
52
|
+
icon: {
|
|
53
|
+
control: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
name: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export default _default;
|
|
61
|
+
export declare const Input: {
|
|
62
|
+
(args: InputGroup1_Props): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
args: {
|
|
64
|
+
disableProps: boolean;
|
|
65
|
+
placeholderProps: string;
|
|
66
|
+
sizeProps: {
|
|
67
|
+
active: boolean;
|
|
68
|
+
set: boolean;
|
|
69
|
+
};
|
|
70
|
+
icon: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface HTMLSelect1Props {
|
|
3
|
+
fillProps?: boolean;
|
|
4
|
+
disabledProps?: boolean;
|
|
5
|
+
largeProps?: boolean;
|
|
6
|
+
minimalProps?: boolean;
|
|
7
|
+
iconNameProps?: any;
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
fontColor?: string;
|
|
10
|
+
borderRadius?: number;
|
|
11
|
+
borderColor?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const HTMLSelect1: React.FC<HTMLSelect1Props>;
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface HeaderInterface {
|
|
2
|
+
imgProps: string;
|
|
3
|
+
text: string;
|
|
4
|
+
text1: string;
|
|
5
|
+
text2: string;
|
|
6
|
+
text3: string;
|
|
7
|
+
text4: string;
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
textColor: string;
|
|
10
|
+
textColor1: string;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
Language: {
|
|
13
|
+
code: string;
|
|
14
|
+
flag: string;
|
|
15
|
+
name: string;
|
|
16
|
+
details?: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ScaleThreshold } from "d3-scale";
|
|
3
|
+
export declare const COLOR_SCALE: ScaleThreshold<number, [number, number, number]>;
|
|
4
|
+
interface AppProps {
|
|
5
|
+
data?: string;
|
|
6
|
+
mapStyle?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const MapPolygon: React.FC<AppProps>;
|
|
9
|
+
export {};
|