react-better-html 1.1.155 → 1.1.156

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.mjs CHANGED
@@ -2778,6 +2778,7 @@ function usePageScroll() {
2778
2778
  function useMediaQuery() {
2779
2779
  const { width } = usePageResize();
2780
2780
  return {
2781
+ screenWidth: width,
2781
2782
  size320: width <= 320,
2782
2783
  size400: width <= 400,
2783
2784
  size500: width <= 500,
@@ -3618,7 +3619,7 @@ var PageHeaderComponent = forwardRef8(function PageHeader({
3618
3619
  {
3619
3620
  alignItems: "center",
3620
3621
  gap: theme2.styles.space,
3621
- marginBottom: marginBottom || theme2.styles.space * 2,
3622
+ marginBottom: marginBottom ?? theme2.styles.space * 2,
3622
3623
  ref,
3623
3624
  children: [
3624
3625
  imageUrl && /* @__PURE__ */ jsx13(Image_default.profileImage, { src: imageUrl, size: imageSize ?? (mediaQuery.size600 ? 46 : 60) }),
@@ -7161,12 +7162,12 @@ var FormComponent = forwardRef13(function Form({
7161
7162
  form,
7162
7163
  submitButtonText,
7163
7164
  submitButtonLoaderName,
7165
+ submitButtonIsLoading,
7164
7166
  submitButtonId,
7165
7167
  submitButtonIsDisabled,
7166
7168
  cancelButtonText,
7167
7169
  actionButtonsLocation = "right",
7168
7170
  gap,
7169
- isSubmitting,
7170
7171
  isDestructive,
7171
7172
  withDividers,
7172
7173
  renderActionButtons,
@@ -7203,7 +7204,7 @@ var FormComponent = forwardRef13(function Form({
7203
7204
  SubmitButtonTag,
7204
7205
  {
7205
7206
  text: submitButtonText,
7206
- isLoading: isSubmitting || form?.isSubmitting,
7207
+ isLoading: submitButtonIsLoading || form?.isSubmitting,
7207
7208
  loaderName: submitButtonLoaderName,
7208
7209
  disabled: submitButtonIsDisabledFinal,
7209
7210
  id: submitButtonId,