@jobber/components 6.94.1 → 6.95.1-JOB-124062-569fcb4.5
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/Button-cjs.js +2 -2
- package/dist/Button-es.js +2 -2
- package/dist/ConfirmationModal/index.cjs +0 -1
- package/dist/ConfirmationModal/index.mjs +0 -1
- package/dist/DataList/components/DataListHeader/DataListHeaderCheckbox.d.ts +1 -2
- package/dist/DataListItem-cjs.js +2 -0
- package/dist/DataListItem-es.js +2 -0
- package/dist/FeatureSwitch/index.cjs +1 -1
- package/dist/FeatureSwitch/index.mjs +1 -1
- package/dist/FormField/hooks/useAtlantisReactHookForm.d.ts +1 -0
- package/dist/FormatFile/index.cjs +0 -1
- package/dist/FormatFile/index.mjs +0 -1
- package/dist/Gallery/index.cjs +0 -1
- package/dist/Gallery/index.mjs +0 -1
- package/dist/InputText/useInputTextFormField.d.ts +1 -1
- package/dist/List/index.cjs +1 -1
- package/dist/List/index.mjs +1 -1
- package/dist/Markdown/index.cjs +1 -1
- package/dist/Markdown/index.mjs +1 -1
- package/dist/Markdown-cjs.js +21654 -18325
- package/dist/Markdown-es.js +21655 -18326
- package/dist/Page/index.cjs +1 -2
- package/dist/Page/index.mjs +1 -2
- package/package.json +7 -7
package/dist/Button-cjs.js
CHANGED
|
@@ -74,7 +74,7 @@ function Button(props) {
|
|
|
74
74
|
React.createElement(ButtonWrapper, Object.assign({}, props))));
|
|
75
75
|
}
|
|
76
76
|
function ButtonWrapper(props) {
|
|
77
|
-
const { ariaControls, ariaHaspopup, ariaExpanded, ariaLabel, disabled = false, external, id, name, onClick, onMouseDown, role, value, submit, to, url, UNSAFE_className = {}, UNSAFE_style = {}, children, } = props;
|
|
77
|
+
const { ariaControls, ariaHaspopup, ariaExpanded, ariaLabel, disabled = false, external, id, name, onClick, onMouseDown, loading, role, value, submit, to, url, UNSAFE_className = {}, UNSAFE_style = {}, children, } = props;
|
|
78
78
|
const { combined } = useButtonStyles(props);
|
|
79
79
|
const buttonType = submit ? "submit" : "button";
|
|
80
80
|
const buttonClassNames = classnames(combined, UNSAFE_className.container);
|
|
@@ -82,7 +82,7 @@ function ButtonWrapper(props) {
|
|
|
82
82
|
id, style: UNSAFE_style.container }, (submit && { name, value })), (!disabled && { href: url })), (!disabled && { onClick: onClick })), (!disabled && { onMouseDown: onMouseDown })), (external && {
|
|
83
83
|
target: "_blank",
|
|
84
84
|
rel: "noopener noreferrer",
|
|
85
|
-
})), (url === undefined && to === undefined && { type: buttonType })), { "aria-controls": ariaControls, "aria-haspopup": ariaHaspopup, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, role: role });
|
|
85
|
+
})), (url === undefined && to === undefined && { type: buttonType })), { "aria-controls": ariaControls, "aria-haspopup": ariaHaspopup, "aria-busy": loading, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, role: role });
|
|
86
86
|
const buttonInternals = children || React.createElement(ButtonContent, Object.assign({}, props));
|
|
87
87
|
if (to) {
|
|
88
88
|
return (React.createElement(reactRouterDom.Link, Object.assign({}, tagProps, { to: to }), buttonInternals));
|
package/dist/Button-es.js
CHANGED
|
@@ -72,7 +72,7 @@ function Button(props) {
|
|
|
72
72
|
React__default.createElement(ButtonWrapper, Object.assign({}, props))));
|
|
73
73
|
}
|
|
74
74
|
function ButtonWrapper(props) {
|
|
75
|
-
const { ariaControls, ariaHaspopup, ariaExpanded, ariaLabel, disabled = false, external, id, name, onClick, onMouseDown, role, value, submit, to, url, UNSAFE_className = {}, UNSAFE_style = {}, children, } = props;
|
|
75
|
+
const { ariaControls, ariaHaspopup, ariaExpanded, ariaLabel, disabled = false, external, id, name, onClick, onMouseDown, loading, role, value, submit, to, url, UNSAFE_className = {}, UNSAFE_style = {}, children, } = props;
|
|
76
76
|
const { combined } = useButtonStyles(props);
|
|
77
77
|
const buttonType = submit ? "submit" : "button";
|
|
78
78
|
const buttonClassNames = classnames(combined, UNSAFE_className.container);
|
|
@@ -80,7 +80,7 @@ function ButtonWrapper(props) {
|
|
|
80
80
|
id, style: UNSAFE_style.container }, (submit && { name, value })), (!disabled && { href: url })), (!disabled && { onClick: onClick })), (!disabled && { onMouseDown: onMouseDown })), (external && {
|
|
81
81
|
target: "_blank",
|
|
82
82
|
rel: "noopener noreferrer",
|
|
83
|
-
})), (url === undefined && to === undefined && { type: buttonType })), { "aria-controls": ariaControls, "aria-haspopup": ariaHaspopup, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, role: role });
|
|
83
|
+
})), (url === undefined && to === undefined && { type: buttonType })), { "aria-controls": ariaControls, "aria-haspopup": ariaHaspopup, "aria-busy": loading, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, role: role });
|
|
84
84
|
const buttonInternals = children || React__default.createElement(ButtonContent, Object.assign({}, props));
|
|
85
85
|
if (to) {
|
|
86
86
|
return (React__default.createElement(Link, Object.assign({}, tagProps, { to: to }), buttonInternals));
|
package/dist/DataListItem-cjs.js
CHANGED
package/dist/DataListItem-es.js
CHANGED
|
@@ -9,6 +9,7 @@ export declare function useAtlantisReactHookForm({ actionsRef, name, defaultValu
|
|
|
9
9
|
inputRefs: import("react").RefCallback<any>;
|
|
10
10
|
useControllerField: {
|
|
11
11
|
value: any;
|
|
12
|
+
disabled?: boolean;
|
|
12
13
|
name: string;
|
|
13
14
|
};
|
|
14
15
|
setValue: import("react-hook-form").UseFormSetValue<import("react-hook-form").FieldValues>;
|
package/dist/Gallery/index.cjs
CHANGED
package/dist/Gallery/index.mjs
CHANGED
|
@@ -59,7 +59,7 @@ export declare function useInputTextFormField({ id, name, description, inline, h
|
|
|
59
59
|
className: string;
|
|
60
60
|
name: string;
|
|
61
61
|
disabled: boolean | undefined;
|
|
62
|
-
inputMode: "none" | "text" | "search" | "
|
|
62
|
+
inputMode: "none" | "text" | "search" | "email" | "decimal" | "tel" | "url" | "numeric" | undefined;
|
|
63
63
|
onChange: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
64
64
|
onBlur: () => void;
|
|
65
65
|
onFocus: (event: FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
package/dist/List/index.cjs
CHANGED
package/dist/List/index.mjs
CHANGED
package/dist/Markdown/index.cjs
CHANGED
package/dist/Markdown/index.mjs
CHANGED