@oneblink/apps-react 5.3.0-beta.4 → 5.3.1-beta.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/components/CustomAccordion.d.ts +16 -22
- package/dist/components/Lists.d.ts +2 -12
- package/dist/styles.css +9 -8
- package/dist/styles.scss +3 -3
- package/package.json +46 -46
@@ -1,27 +1,21 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const CustomAccordion: import("@emotion/styled").StyledComponent<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
expandIcon?: import("react").ReactNode;
|
7
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
8
|
-
} & Omit<{
|
9
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
10
|
-
centerRipple?: boolean | undefined;
|
11
|
-
children?: import("react").ReactNode;
|
12
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
2
|
+
export declare const CustomAccordion: import("@emotion/styled").StyledComponent<{
|
3
|
+
children: NonNullable<import("react").ReactNode>;
|
4
|
+
classes?: Partial<import("@mui/material").AccordionClasses> | undefined;
|
5
|
+
defaultExpanded?: boolean | undefined;
|
13
6
|
disabled?: boolean | undefined;
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
focusVisibleClassName?: string | undefined;
|
18
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
19
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
7
|
+
disableGutters?: boolean | undefined;
|
8
|
+
expanded?: boolean | undefined;
|
9
|
+
onChange?: ((event: import("react").SyntheticEvent<Element, Event>, expanded: boolean) => void) | undefined;
|
20
10
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
11
|
+
TransitionComponent?: import("react").JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
|
12
|
+
children?: import("react").ReactElement<any, any> | undefined;
|
13
|
+
}> | undefined;
|
14
|
+
TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
|
15
|
+
} & Omit<import("@mui/material").PaperOwnProps, "onChange" | "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
17
|
+
}, "children" | "disabled" | "sx" | "onChange" | "elevation" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "disableGutters" | "square" | "defaultExpanded" | "expanded" | "TransitionComponent" | "TransitionProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
18
|
+
export declare const CustomAccordionSummary: import("@emotion/styled").StyledComponent<import("@mui/material").AccordionSummaryOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
25
19
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
26
|
-
}, "children" | "disabled" | "sx" | "tabIndex" | "action" |
|
20
|
+
}, "className" | "style" | "children" | "disabled" | "sx" | "tabIndex" | "action" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
27
21
|
export declare const CustomAccordionDetails: import("@emotion/styled").StyledComponent<import("@mui/material").AccordionDetailsProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
@@ -9,17 +9,7 @@ export declare const UnorderedList: import("@emotion/styled").StyledComponent<im
|
|
9
9
|
type ListProps = {
|
10
10
|
spaced?: boolean;
|
11
11
|
};
|
12
|
-
export declare const ListItem: import("@emotion/styled").StyledComponent<Omit<import("@mui/
|
13
|
-
align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
|
14
|
-
children?: React.ReactNode;
|
15
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
16
|
-
gutterBottom?: boolean | undefined;
|
17
|
-
noWrap?: boolean | undefined;
|
18
|
-
paragraph?: boolean | undefined;
|
19
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
20
|
-
variant?: "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
|
21
|
-
variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
|
22
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
|
12
|
+
export declare const ListItem: import("@emotion/styled").StyledComponent<Omit<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
|
23
13
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
24
|
-
}, "
|
14
|
+
}, "className" | "p" | "style" | "children" | "top" | "right" | "bottom" | "left" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "sx" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping">, "ref"> & import("@mui/system").MUIStyledCommonProps<Theme> & ListProps, {}, {}>;
|
25
15
|
export {};
|
package/dist/styles.css
CHANGED
@@ -176,7 +176,8 @@ fieldset[disabled] .file-name, fieldset[disabled] .select select, .select fields
|
|
176
176
|
top: 0;
|
177
177
|
}
|
178
178
|
|
179
|
-
/* Bulma Base */
|
179
|
+
/* Bulma Base */
|
180
|
+
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
|
180
181
|
html,
|
181
182
|
body,
|
182
183
|
p,
|
@@ -6029,8 +6030,8 @@ a.has-text-danger-dark:hover, a.has-text-danger-dark:focus {
|
|
6029
6030
|
}
|
6030
6031
|
.button.is-loading::after {
|
6031
6032
|
position: absolute;
|
6032
|
-
left: calc(50% -
|
6033
|
-
top: calc(50% -
|
6033
|
+
left: calc(50% - 1em * 0.5);
|
6034
|
+
top: calc(50% - 1em * 0.5);
|
6034
6035
|
position: absolute !important;
|
6035
6036
|
}
|
6036
6037
|
.button.is-static {
|
@@ -7328,7 +7329,7 @@ input[type=range].slider:not([orient=vertical]).has-output:disabled + output, in
|
|
7328
7329
|
input[type=range].slider:not([orient=vertical]).has-output {
|
7329
7330
|
display: inline-block;
|
7330
7331
|
vertical-align: middle;
|
7331
|
-
width: calc(100% - (
|
7332
|
+
width: calc(100% - (4.2rem));
|
7332
7333
|
}
|
7333
7334
|
input[type=range].slider:not([orient=vertical]).has-output + output {
|
7334
7335
|
display: inline-block;
|
@@ -7447,7 +7448,7 @@ input[type=range].slider:disabled::-ms-thumb {
|
|
7447
7448
|
transform: scale(1);
|
7448
7449
|
}
|
7449
7450
|
input[type=range].slider:not([orient=vertical]) {
|
7450
|
-
min-height: calc((
|
7451
|
+
min-height: calc((1rem + 2px) * 1.25);
|
7451
7452
|
}
|
7452
7453
|
input[type=range].slider:not([orient=vertical])::-webkit-slider-runnable-track {
|
7453
7454
|
height: 0.5rem;
|
@@ -7490,7 +7491,7 @@ input[type=range].slider[orient=vertical]::-webkit-slider-thumb {
|
|
7490
7491
|
margin-left: -0.25rem;
|
7491
7492
|
}
|
7492
7493
|
input[type=range].slider.is-small:not([orient=vertical]) {
|
7493
|
-
min-height: calc((
|
7494
|
+
min-height: calc((0.75rem + 2px) * 1.25);
|
7494
7495
|
}
|
7495
7496
|
input[type=range].slider.is-small:not([orient=vertical])::-webkit-slider-runnable-track {
|
7496
7497
|
height: 0.375rem;
|
@@ -7533,7 +7534,7 @@ input[type=range].slider.is-small[orient=vertical]::-webkit-slider-thumb {
|
|
7533
7534
|
margin-left: -0.1875rem;
|
7534
7535
|
}
|
7535
7536
|
input[type=range].slider.is-medium:not([orient=vertical]) {
|
7536
|
-
min-height: calc((
|
7537
|
+
min-height: calc((1.25rem + 2px) * 1.25);
|
7537
7538
|
}
|
7538
7539
|
input[type=range].slider.is-medium:not([orient=vertical])::-webkit-slider-runnable-track {
|
7539
7540
|
height: 0.625rem;
|
@@ -7576,7 +7577,7 @@ input[type=range].slider.is-medium[orient=vertical]::-webkit-slider-thumb {
|
|
7576
7577
|
margin-left: -0.3125rem;
|
7577
7578
|
}
|
7578
7579
|
input[type=range].slider.is-large:not([orient=vertical]) {
|
7579
|
-
min-height: calc((
|
7580
|
+
min-height: calc((1.5rem + 2px) * 1.25);
|
7580
7581
|
}
|
7581
7582
|
input[type=range].slider.is-large:not([orient=vertical])::-webkit-slider-runnable-track {
|
7582
7583
|
height: 0.75rem;
|
package/dist/styles.scss
CHANGED
@@ -20,7 +20,7 @@ $size-9: 0.25rem;
|
|
20
20
|
//
|
21
21
|
// Bulma Variables
|
22
22
|
//
|
23
|
-
@import 'bulma/sass/utilities/_all';
|
23
|
+
@import 'bulma/sass/utilities/_all.sass';
|
24
24
|
|
25
25
|
//
|
26
26
|
// Our Variables
|
@@ -31,8 +31,8 @@ $secondary: $grey-lighter;
|
|
31
31
|
//
|
32
32
|
// Bulma Styles
|
33
33
|
//
|
34
|
-
@import 'bulma/sass/base/_all';
|
35
|
-
@import 'bulma/sass/helpers/_all';
|
34
|
+
@import 'bulma/sass/base/_all.sass';
|
35
|
+
@import 'bulma/sass/helpers/_all.sass';
|
36
36
|
@import 'bulma/sass/layout/section.sass';
|
37
37
|
@import 'bulma/sass/grid/columns.sass';
|
38
38
|
|
package/package.json
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"name": "@oneblink/apps-react",
|
3
3
|
"description": "Helper functions for OneBlink apps in ReactJS.",
|
4
|
-
"version": "5.3.
|
4
|
+
"version": "5.3.1-beta.2",
|
5
5
|
"author": "OneBlink <developers@oneblink.io> (https://oneblink.io)",
|
6
6
|
"bugs": {
|
7
7
|
"url": "https://github.com/oneblink/apps-react/issues"
|
8
8
|
},
|
9
9
|
"dependencies": {
|
10
|
-
"@emotion/react": "^11.
|
11
|
-
"@emotion/styled": "^11.
|
12
|
-
"@mui/icons-material": "^5.
|
13
|
-
"@oneblink/sdk-core": "^5.0.0
|
14
|
-
"@react-google-maps/api": "2.
|
10
|
+
"@emotion/react": "^11.11.1",
|
11
|
+
"@emotion/styled": "^11.11.0",
|
12
|
+
"@mui/icons-material": "^5.14.16",
|
13
|
+
"@oneblink/sdk-core": "^5.0.0",
|
14
|
+
"@react-google-maps/api": "2.19.2",
|
15
15
|
"blueimp-load-image": "^5.16.0",
|
16
16
|
"bulma": "^0.9.3",
|
17
17
|
"bulma-slider": "2.0.4",
|
18
18
|
"bulma-steps": "^2.2.1",
|
19
19
|
"bulma-toast": "^2.4.1",
|
20
|
-
"clsx": "^
|
20
|
+
"clsx": "^2.0.0",
|
21
21
|
"color": "^4.2.3",
|
22
22
|
"copy-to-clipboard": "^3.3.3",
|
23
|
-
"date-fns": "^2.
|
23
|
+
"date-fns": "^2.30.0",
|
24
24
|
"escape-string-regexp": "^5.0.0",
|
25
25
|
"file-saver": "^2.0.5",
|
26
26
|
"flatpickr": "^4.6.13",
|
@@ -30,60 +30,60 @@
|
|
30
30
|
"lodash.throttle": "^4.1.1",
|
31
31
|
"morph-expressions": "^1.1.1",
|
32
32
|
"quagga": "^0.12.1",
|
33
|
-
"query-string": "^
|
34
|
-
"react-google-recaptcha": "^
|
33
|
+
"query-string": "^8.1.0",
|
34
|
+
"react-google-recaptcha": "^3.1.0",
|
35
35
|
"react-input-mask": "^2.0.4",
|
36
36
|
"react-signature-canvas": "^1.0.6",
|
37
37
|
"react-table": "^7.8.0",
|
38
|
-
"sanitize-html": "^2.
|
38
|
+
"sanitize-html": "^2.11.0",
|
39
39
|
"use-resize-observer": "^9.1.0",
|
40
|
-
"uuid": "^9.0.
|
40
|
+
"uuid": "^9.0.1",
|
41
41
|
"validate.js": "^0.13.1",
|
42
|
-
"xml2js": "^0.
|
42
|
+
"xml2js": "^0.6.2"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@babel/preset-env": "^7.
|
45
|
+
"@babel/preset-env": "^7.23.2",
|
46
46
|
"@microsoft/eslint-plugin-sdl": "^0.2.0",
|
47
|
-
"@mui/lab": "^5.0.0-alpha.
|
48
|
-
"@mui/material": "^5.
|
49
|
-
"@mui/x-date-pickers": "^6.
|
50
|
-
"@oneblink/apps": "^7.0.
|
51
|
-
"@oneblink/release-cli": "^2.1.
|
47
|
+
"@mui/lab": "^5.0.0-alpha.152",
|
48
|
+
"@mui/material": "^5.14.17",
|
49
|
+
"@mui/x-date-pickers": "^6.18.0",
|
50
|
+
"@oneblink/apps": "^7.0.1-beta.2",
|
51
|
+
"@oneblink/release-cli": "^2.1.1",
|
52
52
|
"@oneblink/types": "github:oneblink/types",
|
53
|
-
"@types/blueimp-load-image": "^5.16.
|
54
|
-
"@types/color": "^3.0.
|
55
|
-
"@types/file-saver": "^2.0.
|
56
|
-
"@types/filesystem": "^0.0.
|
53
|
+
"@types/blueimp-load-image": "^5.16.4",
|
54
|
+
"@types/color": "^3.0.5",
|
55
|
+
"@types/file-saver": "^2.0.6",
|
56
|
+
"@types/filesystem": "^0.0.34",
|
57
57
|
"@types/jest": "^27.4.1",
|
58
|
-
"@types/lodash.clonedeep": "^4.5.
|
59
|
-
"@types/lodash.debounce": "^4.0.
|
60
|
-
"@types/lodash.throttle": "^4.1.
|
58
|
+
"@types/lodash.clonedeep": "^4.5.8",
|
59
|
+
"@types/lodash.debounce": "^4.0.8",
|
60
|
+
"@types/lodash.throttle": "^4.1.8",
|
61
61
|
"@types/react": "^17.0.43",
|
62
|
-
"@types/react-google-recaptcha": "^2.1.
|
63
|
-
"@types/react-input-mask": "^3.0.
|
62
|
+
"@types/react-google-recaptcha": "^2.1.7",
|
63
|
+
"@types/react-input-mask": "^3.0.4",
|
64
64
|
"@types/react-router-dom": "^5.3.3",
|
65
|
-
"@types/react-signature-canvas": "^1.0.
|
66
|
-
"@types/react-table": "^7.7.
|
67
|
-
"@types/sanitize-html": "^2.9.
|
68
|
-
"@types/ua-parser-js": "^0.7.
|
69
|
-
"@types/uuid": "^9.0.
|
70
|
-
"@types/xml2js": "^0.4.
|
71
|
-
"@typescript-eslint/eslint-plugin": "^
|
72
|
-
"@typescript-eslint/parser": "^
|
65
|
+
"@types/react-signature-canvas": "^1.0.4",
|
66
|
+
"@types/react-table": "^7.7.17",
|
67
|
+
"@types/sanitize-html": "^2.9.3",
|
68
|
+
"@types/ua-parser-js": "^0.7.38",
|
69
|
+
"@types/uuid": "^9.0.6",
|
70
|
+
"@types/xml2js": "^0.4.13",
|
71
|
+
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
72
|
+
"@typescript-eslint/parser": "^6.10.0",
|
73
73
|
"copyfiles": "^2.4.1",
|
74
|
-
"eslint": "^8.
|
75
|
-
"eslint-config-prettier": "^
|
76
|
-
"eslint-plugin-prettier": "^
|
77
|
-
"eslint-plugin-react": "^7.
|
74
|
+
"eslint": "^8.53.0",
|
75
|
+
"eslint-config-prettier": "^9.0.0",
|
76
|
+
"eslint-plugin-prettier": "^5.0.1",
|
77
|
+
"eslint-plugin-react": "^7.33.2",
|
78
78
|
"eslint-plugin-react-hooks": "^4.6.0",
|
79
79
|
"fixpack": "^4.0.0",
|
80
80
|
"jest": "^27.5.1",
|
81
|
-
"prettier": "^
|
82
|
-
"prettier-plugin-jsdoc": "^
|
81
|
+
"prettier": "^3.0.3",
|
82
|
+
"prettier-plugin-jsdoc": "^1.1.1",
|
83
83
|
"react": "^17.0.2",
|
84
84
|
"react-dom": "^17.0.2",
|
85
85
|
"react-router-dom": "^5.3.0",
|
86
|
-
"sass": "^1.
|
86
|
+
"sass": "^1.69.5",
|
87
87
|
"ts-jest": "^27.1.4",
|
88
88
|
"tsc-watch": "^6.0.0",
|
89
89
|
"typedoc": "^0.24.8",
|
@@ -93,8 +93,8 @@
|
|
93
93
|
"doc": "docs"
|
94
94
|
},
|
95
95
|
"engines": {
|
96
|
-
"node": ">=
|
97
|
-
"npm": ">=
|
96
|
+
"node": ">=20",
|
97
|
+
"npm": ">=10"
|
98
98
|
},
|
99
99
|
"files": [
|
100
100
|
"dist"
|
@@ -104,7 +104,7 @@
|
|
104
104
|
"main": "./dist/index.js",
|
105
105
|
"module": "./dist/index.js",
|
106
106
|
"peerDependencies": {
|
107
|
-
"@mui/lab": "^5.0.0 || ^5.0.0-alpha.
|
107
|
+
"@mui/lab": "^5.0.0 || ^5.0.0-alpha.152",
|
108
108
|
"@mui/material": "^5.6.1",
|
109
109
|
"@mui/x-date-pickers": "^6.9.1",
|
110
110
|
"@oneblink/apps": "*",
|