groundfloor-react-ui 1.2.9 → 1.2.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/index.es.js +432 -422
- package/dist/index.js +459 -449
- package/package.json +15 -43
- package/rollup.config.js +6 -6
- package/assets/fonts/Averta/Averta-Black.woff2 +0 -0
- package/assets/fonts/Averta/Averta-BlackItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-Bold.woff2 +0 -0
- package/assets/fonts/Averta/Averta-BoldItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ExtraBold.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ExtraBoldItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ExtraThin.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ExtraThinItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-Light.woff2 +0 -0
- package/assets/fonts/Averta/Averta-LightItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-Regular.woff2 +0 -0
- package/assets/fonts/Averta/Averta-RegularItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-SemiBold.woff2 +0 -0
- package/assets/fonts/Averta/Averta-SemiBoldItalic.woff2 +0 -0
- package/assets/fonts/Averta/Averta-Thin.woff2 +0 -0
- package/assets/fonts/Averta/Averta-ThinItalic.woff2 +0 -0
- package/assets/fonts/Beauty/BeautyDemo.woff +0 -0
- package/assets/icons/app-logo.svg +0 -3
- package/assets/icons/arrow-down.svg +0 -3
- package/assets/icons/arrow-rotate.svg +0 -1
- package/assets/icons/arrow-up.svg +0 -3
- package/assets/icons/bell.svg +0 -3
- package/assets/icons/check.svg +0 -3
- package/assets/icons/checkmark.svg +0 -3
- package/assets/icons/chevron-down.svg +0 -3
- package/assets/icons/chevron-left.svg +0 -3
- package/assets/icons/chevron-right.svg +0 -3
- package/assets/icons/cloud-icon.svg +0 -3
- package/assets/icons/connection.svg +0 -3
- package/assets/icons/cross-icon.svg +0 -3
- package/assets/icons/default.svg +0 -1
- package/assets/icons/door-internal-active.svg +0 -1
- package/assets/icons/edit-icon.svg +0 -3
- package/assets/icons/ellipses-horizontal.svg +0 -3
- package/assets/icons/ellipses.svg +0 -3
- package/assets/icons/email.svg +0 -3
- package/assets/icons/eye-hide-view.svg +0 -1
- package/assets/icons/eye-hide.svg +0 -1
- package/assets/icons/file-attach-white.svg +0 -3
- package/assets/icons/file-attach.svg +0 -3
- package/assets/icons/file-icon.svg +0 -1
- package/assets/icons/file-upload.svg +0 -3
- package/assets/icons/functional-equation-regular.svg +0 -147
- package/assets/icons/hamburger-menu.svg +0 -3
- package/assets/icons/heart.svg +0 -18
- package/assets/icons/image.svg +0 -3
- package/assets/icons/info.svg +0 -3
- package/assets/icons/jpg-icon.svg +0 -3
- package/assets/icons/magnifier.svg +0 -3
- package/assets/icons/menu-ellipse-two.svg +0 -1
- package/assets/icons/menu-ellipse.svg +0 -53
- package/assets/icons/pause-all.svg +0 -1
- package/assets/icons/pdf-icon.svg +0 -3
- package/assets/icons/pen-icon.svg +0 -3
- package/assets/icons/plus-outlined.svg +0 -3
- package/assets/icons/resume.svg +0 -1
- package/assets/icons/sign-icon.svg +0 -3
- package/assets/icons/star.svg +0 -3
- package/assets/icons/trash-icon.svg +0 -59
- package/assets/icons/triangle-down.svg +0 -3
- package/assets/icons/users.svg +0 -11
- package/assets/icons/view.svg +0 -3
- package/assets/icons/watcher.svg +0 -3
- package/assets/icons/zoom-in-white.svg +0 -1
- package/assets/styles/global.css +0 -0
- package/assets/styles/global.scss +0 -0
- package/components/Accordion/Accordion.js +0 -167
- package/components/Accordion/AccordionSB.js +0 -170
- package/components/Accordion/AccordionSBfooter.js +0 -171
- package/components/Accordion/index.js +0 -4
- package/components/ArrowBar/ArrowBar.js +0 -276
- package/components/ArrowBar/index.js +0 -2
- package/components/Avatar/Avatar.js +0 -171
- package/components/Avatar/AvatarSB.js +0 -255
- package/components/Avatar/AvatarSBfooter.js +0 -279
- package/components/Avatar/index.js +0 -4
- package/components/Banner/Banner.js +0 -70
- package/components/Banner/index.js +0 -2
- package/components/Breadcrumb/Breadcrumb.js +0 -225
- package/components/Breadcrumb/index.js +0 -2
- package/components/Button/PrimaryButton.js +0 -167
- package/components/Button/SecondaryButton.js +0 -156
- package/components/Button/TinyButton.js +0 -101
- package/components/Button/index.js +0 -6
- package/components/Cards/Card.js +0 -43
- package/components/Cards/CardRef.js +0 -71
- package/components/Cards/DocumentCard.js +0 -215
- package/components/Cards/index.js +0 -5
- package/components/Content/Content.js +0 -50
- package/components/Content/index.js +0 -1
- package/components/DesignComponent/StyledComponent/StyledComponent.js +0 -326
- package/components/DesignComponent/StyledComponent/index.js +0 -1
- package/components/DesignComponent/index.js +0 -1
- package/components/Divider/Divider.js +0 -56
- package/components/Divider/index.js +0 -2
- package/components/Drawer/Drawer.js +0 -84
- package/components/Drawer/index.js +0 -2
- package/components/ErrorBoundary/ErrorBoundary.js +0 -44
- package/components/ErrorBoundary/index.js +0 -1
- package/components/FilterChip/FilterChip.js +0 -70
- package/components/FilterChip/index.js +0 -1
- package/components/Footer/Footer.js +0 -57
- package/components/Footer/FooterContent.js +0 -98
- package/components/Footer/index.js +0 -3
- package/components/Form/FormComponent.js +0 -244
- package/components/Form/HeaderComponent.js +0 -64
- package/components/Form/SubmitComponent.js +0 -63
- package/components/Form/index.js +0 -5
- package/components/GroupAvatars/GroupAvatars.js +0 -139
- package/components/GroupAvatars/index.js +0 -1
- package/components/GroupButtons/ButtonPopup.js +0 -191
- package/components/GroupButtons/GroupButtons.js +0 -150
- package/components/GroupButtons/GroupButtonsPopup.js +0 -163
- package/components/GroupButtons/index.js +0 -3
- package/components/GroupStatusCircle/GroupStatusCircle.js +0 -135
- package/components/GroupStatusCircle/index.js +0 -1
- package/components/Header/Header.js +0 -58
- package/components/Header/index.js +0 -1
- package/components/HyperLink/HyperLink.js +0 -114
- package/components/HyperLink/index.js +0 -1
- package/components/Icon/Icon.js +0 -176
- package/components/Icon/index.js +0 -1
- package/components/Images/Image.js +0 -107
- package/components/Images/index.js +0 -2
- package/components/Inputs/CheckBoxInput.js +0 -341
- package/components/Inputs/ColorInput.js +0 -145
- package/components/Inputs/DateSelect.js +0 -461
- package/components/Inputs/DropdownSelect.js +0 -689
- package/components/Inputs/DropzoneInput.js +0 -450
- package/components/Inputs/NumericInput.js +0 -177
- package/components/Inputs/PasswordInput.js +0 -267
- package/components/Inputs/RadioInput.js +0 -292
- package/components/Inputs/SearchInput.js +0 -19
- package/components/Inputs/Signature.js +0 -369
- package/components/Inputs/TextArea.js +0 -214
- package/components/Inputs/TextInput.js +0 -251
- package/components/Inputs/TimeInput.js +0 -186
- package/components/Inputs/ToggleSwitch.js +0 -189
- package/components/Inputs/index.js +0 -15
- package/components/Label/Label.js +0 -48
- package/components/Label/index.js +0 -1
- package/components/Loaders/Loader.js +0 -179
- package/components/Loaders/index.js +0 -2
- package/components/Modal/ModalComp.js +0 -216
- package/components/Modal/index.js +0 -1
- package/components/Overlay/Overlay.js +0 -158
- package/components/Overlay/index.js +0 -1
- package/components/Pagination/Pagination.js +0 -59
- package/components/Pagination/index.js +0 -1
- package/components/ProgressBar/ProgressBar.js +0 -101
- package/components/ProgressBar/index.js +0 -1
- package/components/ProgressSteps/ProgressSteps.js +0 -121
- package/components/ProgressSteps/index.js +0 -1
- package/components/Rating/Rating.js +0 -258
- package/components/Rating/index.js +0 -1
- package/components/SecondaryLink/DarkSecondaryLink.js +0 -97
- package/components/SecondaryLink/LightSecondaryLink.js +0 -93
- package/components/SecondaryLink/index.js +0 -3
- package/components/Sidebar/Navbar.js +0 -306
- package/components/Sidebar/Sidebar.js +0 -207
- package/components/Sidebar/index.js +0 -3
- package/components/StatusChip/PrimaryStatusChip.js +0 -78
- package/components/StatusChip/SecondaryStatusChip.js +0 -78
- package/components/StatusChip/SlimPrimaryStatusChip.js +0 -92
- package/components/StatusChip/SlimSecondaryStatusChip.js +0 -93
- package/components/StatusChip/index.js +0 -6
- package/components/StatusCircle/StatusCircle.js +0 -64
- package/components/StatusCircle/index.js +0 -1
- package/components/Tables/Table.js +0 -178
- package/components/Tables/index.js +0 -1
- package/components/Tooltip/Tooltip.js +0 -581
- package/components/Tooltip/index.js +0 -1
- package/components/Typography/Typography.js +0 -77
- package/components/Typography/index.js +0 -2
- package/components/constants/colors.js +0 -33
- package/components/constants/defaultStyle.js +0 -804
- package/components/constants/defaultThemeColor.js +0 -16
- package/components/constants/index.js +0 -7
- package/components/constants/utils.js +0 -31
- package/components/global/FontStyle.js +0 -131
- package/components/global/index.js +0 -1
- package/index.js +0 -41
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { graphColor, neutralColor, primaryColor, shadeColor, uiColor } from "./colors";
|
|
2
|
-
|
|
3
|
-
const defaultThemeColor = {
|
|
4
|
-
primary: { ...primaryColor },
|
|
5
|
-
ui: { ...uiColor },
|
|
6
|
-
neutral: { ...neutralColor },
|
|
7
|
-
shade: { ...shadeColor },
|
|
8
|
-
graph: { ...graphColor },
|
|
9
|
-
variant: { ...primaryColor, ...uiColor, ...neutralColor, ...shadeColor, ...graphColor },
|
|
10
|
-
textColor: primaryColor['primary-2'],
|
|
11
|
-
bgColor: '#FFFFFF', /**background color */
|
|
12
|
-
black: '#000000',
|
|
13
|
-
border: '#D4D7E3'
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export default defaultThemeColor;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const getDefaultStyles = (theme, type) => {
|
|
2
|
-
if (theme) {
|
|
3
|
-
let tempObj = {};
|
|
4
|
-
if (theme[type]) {
|
|
5
|
-
for (const property in theme[type]) {
|
|
6
|
-
tempObj[property] = theme[type][property]
|
|
7
|
-
delete theme.common[property]
|
|
8
|
-
}
|
|
9
|
-
for (const property in theme['common']) {
|
|
10
|
-
tempObj[property] = theme['common'][property]
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return tempObj;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export function hexToRGB(hex, alpha) {
|
|
18
|
-
var r = parseInt(hex.slice(1, 3), 16),
|
|
19
|
-
g = parseInt(hex.slice(3, 5), 16),
|
|
20
|
-
b = parseInt(hex.slice(5, 7), 16);
|
|
21
|
-
|
|
22
|
-
if (alpha) {
|
|
23
|
-
return "rgba(" + r + ", " + g + ", " + b + ", " + alpha + ")";
|
|
24
|
-
} else {
|
|
25
|
-
return "rgb(" + r + ", " + g + ", " + b + ")";
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
hexToRGB('#FF0000', 0.5);
|
|
30
|
-
|
|
31
|
-
export default getDefaultStyles;
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { createGlobalStyle } from 'styled-components';
|
|
2
|
-
|
|
3
|
-
import AvertaBlack from '../../assets/fonts/Averta/Averta-Black.woff2';
|
|
4
|
-
import AvertaBlackItalic from '../../assets/fonts/Averta/Averta-BlackItalic.woff2';
|
|
5
|
-
import AvertaBold from '../../assets/fonts/Averta/Averta-Bold.woff2';
|
|
6
|
-
import AvertaBoldItalic from '../../assets/fonts/Averta/Averta-BoldItalic.woff2';
|
|
7
|
-
import AvertaExtraBold from '../../assets/fonts/Averta/Averta-ExtraBold.woff2';
|
|
8
|
-
import AvertaExtraBoldItalic from '../../assets/fonts/Averta/Averta-ExtraBoldItalic.woff2';
|
|
9
|
-
import AvertaExtraThin from '../../assets/fonts/Averta/Averta-ExtraThin.woff2';
|
|
10
|
-
import AvertaExtraThinItalic from '../../assets/fonts/Averta/Averta-ExtraThinItalic.woff2';
|
|
11
|
-
import AvertaLight from '../../assets/fonts/Averta/Averta-Light.woff2';
|
|
12
|
-
import AvertaLightItalic from '../../assets/fonts/Averta/Averta-LightItalic.woff2';
|
|
13
|
-
import AvertaRegular from '../../assets/fonts/Averta/Averta-Regular.woff2';
|
|
14
|
-
import AvertaRegularItalic from '../../assets/fonts/Averta/Averta-RegularItalic.woff2';
|
|
15
|
-
import AvertaSemiBold from '../../assets/fonts/Averta/Averta-SemiBold.woff2';
|
|
16
|
-
import AvertaSemiBoldItalic from '../../assets/fonts/Averta/Averta-SemiBoldItalic.woff2';
|
|
17
|
-
import AvertaThin from '../../assets/fonts/Averta/Averta-Thin.woff2';
|
|
18
|
-
import AvertaThinItalic from '../../assets/fonts/Averta/Averta-ThinItalic.woff2';
|
|
19
|
-
import BeautyDemo from '../../assets/fonts/Beauty/BeautyDemo.woff';
|
|
20
|
-
|
|
21
|
-
const GlobalFontStyle = createGlobalStyle`
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: "Averta";
|
|
24
|
-
font-weight: 100;
|
|
25
|
-
font-style: normal;
|
|
26
|
-
src: url(${AvertaExtraThin}) format("woff2");
|
|
27
|
-
}
|
|
28
|
-
@font-face {
|
|
29
|
-
font-family: "Averta";
|
|
30
|
-
font-weight: 200;
|
|
31
|
-
font-style: normal;
|
|
32
|
-
src: url(${AvertaThin}) format("woff2");
|
|
33
|
-
}
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: "Averta";
|
|
36
|
-
font-weight: 300;
|
|
37
|
-
font-style: normal;
|
|
38
|
-
src: url(${AvertaLight}) format("woff2");
|
|
39
|
-
}
|
|
40
|
-
@font-face {
|
|
41
|
-
font-family: "Averta";
|
|
42
|
-
font-weight: 400;
|
|
43
|
-
font-style: normal;
|
|
44
|
-
src: url(${AvertaRegular}) format("woff2");
|
|
45
|
-
}
|
|
46
|
-
@font-face {
|
|
47
|
-
font-family: "Averta";
|
|
48
|
-
font-weight: 600;
|
|
49
|
-
font-style: normal;
|
|
50
|
-
src: url(${AvertaSemiBold}) format("woff2");
|
|
51
|
-
}
|
|
52
|
-
@font-face {
|
|
53
|
-
font-family: "Averta";
|
|
54
|
-
font-weight: 700;
|
|
55
|
-
font-style: normal;
|
|
56
|
-
src: url(${AvertaBold}) format("woff2");
|
|
57
|
-
}
|
|
58
|
-
@font-face {
|
|
59
|
-
font-family: "Averta";
|
|
60
|
-
font-weight: 800;
|
|
61
|
-
font-style: normal;
|
|
62
|
-
src: url(${AvertaExtraBold}) format("woff2");
|
|
63
|
-
}
|
|
64
|
-
@font-face {
|
|
65
|
-
font-family: "Averta";
|
|
66
|
-
font-weight: 900;
|
|
67
|
-
font-style: normal;
|
|
68
|
-
src: url(${AvertaBlack}) format("woff2");
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@font-face {
|
|
72
|
-
font-family: "Averta";
|
|
73
|
-
font-weight: 100;
|
|
74
|
-
font-style: italic;
|
|
75
|
-
src: url(${AvertaExtraThinItalic}) format("woff2");
|
|
76
|
-
}
|
|
77
|
-
@font-face {
|
|
78
|
-
font-family: "Averta";
|
|
79
|
-
font-weight: 200;
|
|
80
|
-
font-style: italic;
|
|
81
|
-
src: url(${AvertaThinItalic}) format("woff2");
|
|
82
|
-
}
|
|
83
|
-
@font-face {
|
|
84
|
-
font-family: "Averta";
|
|
85
|
-
font-weight: 300;
|
|
86
|
-
font-style: italic;
|
|
87
|
-
src: url(${AvertaLightItalic}) format("woff2");
|
|
88
|
-
}
|
|
89
|
-
@font-face {
|
|
90
|
-
font-family: "Averta";
|
|
91
|
-
font-weight: 400;
|
|
92
|
-
font-style: italic;
|
|
93
|
-
src: url(${AvertaRegularItalic}) format("woff2");
|
|
94
|
-
}
|
|
95
|
-
@font-face {
|
|
96
|
-
font-family: "Averta";
|
|
97
|
-
font-weight: 600;
|
|
98
|
-
font-style: italic;
|
|
99
|
-
src: url(${AvertaSemiBoldItalic}) format("woff2");
|
|
100
|
-
}
|
|
101
|
-
@font-face {
|
|
102
|
-
font-family: "Averta";
|
|
103
|
-
font-weight: 700;
|
|
104
|
-
font-style: italic;
|
|
105
|
-
src: url(${AvertaBoldItalic}) format("woff2");
|
|
106
|
-
}
|
|
107
|
-
@font-face {
|
|
108
|
-
font-family: "Averta";
|
|
109
|
-
font-weight: 800;
|
|
110
|
-
font-style: italic;
|
|
111
|
-
src: url(${AvertaExtraBoldItalic}) format("woff2");
|
|
112
|
-
}
|
|
113
|
-
@font-face {
|
|
114
|
-
font-family: "Averta";
|
|
115
|
-
font-weight: 900;
|
|
116
|
-
font-style: italic;
|
|
117
|
-
src: url(${AvertaBlackItalic}) format("woff2");
|
|
118
|
-
}
|
|
119
|
-
@font-face {
|
|
120
|
-
font-family: "Beauty";
|
|
121
|
-
font-weight: normal;
|
|
122
|
-
font-style: normal;
|
|
123
|
-
src: url(${BeautyDemo}) format("woff");
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
* {
|
|
127
|
-
font-family: "Averta";
|
|
128
|
-
}
|
|
129
|
-
`;
|
|
130
|
-
|
|
131
|
-
export default GlobalFontStyle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./FontStyle";
|
package/index.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export * from './components/Accordion';
|
|
2
|
-
export * from './components/ArrowBar';
|
|
3
|
-
export * from './components/Avatar';
|
|
4
|
-
export * from './components/Banner';
|
|
5
|
-
export * from './components/Breadcrumb';
|
|
6
|
-
export * from './components/Button';
|
|
7
|
-
export * from './components/Cards';
|
|
8
|
-
export * from './components/constants';
|
|
9
|
-
export * from './components/Content';
|
|
10
|
-
export * from './components/DesignComponent';
|
|
11
|
-
export * from './components/Divider';
|
|
12
|
-
export * from './components/Drawer';
|
|
13
|
-
export * from './components/ErrorBoundary';
|
|
14
|
-
export * from './components/FilterChip';
|
|
15
|
-
export * from './components/Footer';
|
|
16
|
-
export * from './components/Form';
|
|
17
|
-
export * from './components/global';
|
|
18
|
-
export * from './components/GroupAvatars';
|
|
19
|
-
export * from './components/GroupButtons';
|
|
20
|
-
export * from './components/GroupStatusCircle';
|
|
21
|
-
export * from './components/Header';
|
|
22
|
-
export * from './components/HyperLink';
|
|
23
|
-
export * from './components/Icon';
|
|
24
|
-
export * from './components/Images';
|
|
25
|
-
export * from './components/Inputs';
|
|
26
|
-
export * from './components/Label';
|
|
27
|
-
export * from './components/Loaders';
|
|
28
|
-
export * from './components/Modal';
|
|
29
|
-
export * from './components/Overlay';
|
|
30
|
-
export * from './components/Pagination';
|
|
31
|
-
export * from './components/ProgressBar';
|
|
32
|
-
export * from './components/ProgressSteps';
|
|
33
|
-
export * from './components/Rating';
|
|
34
|
-
export * from './components/SecondaryLink';
|
|
35
|
-
export * from './components/Sidebar';
|
|
36
|
-
export * from './components/StatusChip';
|
|
37
|
-
export * from './components/StatusCircle';
|
|
38
|
-
export * from './components/Tables';
|
|
39
|
-
export * from './components/Tooltip';
|
|
40
|
-
export * from './components/Typography';
|
|
41
|
-
|