@natoora-libs/core 0.2.30 → 0.2.31

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.
@@ -79,6 +79,7 @@ type BaseAddressFormFields = {
79
79
  };
80
80
  type AddressFormFieldsProps = {
81
81
  form: UseFormReturn<BaseAddressFormFields>;
82
+ hidePrimaryPhoneNumberField?: boolean;
82
83
  countriesSelectProps: {
83
84
  countries: AddressCountry[];
84
85
  isCountriesFetching: boolean;
@@ -90,7 +91,7 @@ type AddressFormFieldsProps = {
90
91
  };
91
92
  googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
92
93
  };
93
- declare const AddressFormFields: ({ form, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
94
+ declare const AddressFormFields: ({ form, hidePrimaryPhoneNumberField, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
94
95
 
95
96
  interface AlertDialogProps {
96
97
  open: boolean;
@@ -79,6 +79,7 @@ type BaseAddressFormFields = {
79
79
  };
80
80
  type AddressFormFieldsProps = {
81
81
  form: UseFormReturn<BaseAddressFormFields>;
82
+ hidePrimaryPhoneNumberField?: boolean;
82
83
  countriesSelectProps: {
83
84
  countries: AddressCountry[];
84
85
  isCountriesFetching: boolean;
@@ -90,7 +91,7 @@ type AddressFormFieldsProps = {
90
91
  };
91
92
  googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
92
93
  };
93
- declare const AddressFormFields: ({ form, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
94
+ declare const AddressFormFields: ({ form, hidePrimaryPhoneNumberField, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
94
95
 
95
96
  interface AlertDialogProps {
96
97
  open: boolean;
@@ -302,7 +302,7 @@ var require_debounce = __commonJS({
302
302
 
303
303
  // src/components/ActiveFiltersIconButton/ActiveFiltersIconButton.tsx
304
304
  import { memo } from "react";
305
- import { FilterList } from "@mui/icons-material";
305
+ import FilterList from "@mui/icons-material/FilterList";
306
306
  import { Typography, Chip, IconButton } from "@mui/material";
307
307
  import { jsx, jsxs } from "react/jsx-runtime";
308
308
  var ActiveFiltersIconButton = memo(
@@ -850,6 +850,7 @@ var ADDRESS_FORM_FIELDS = [
850
850
  ];
851
851
  var AddressFormFields = ({
852
852
  form,
853
+ hidePrimaryPhoneNumberField = false,
853
854
  countriesSelectProps: { countries, isCountriesFetching, refetchCountries },
854
855
  statesSelectProps: { addressStates, isAddressStatesFetching },
855
856
  googlePlacesAutocompleteProps
@@ -914,7 +915,7 @@ var AddressFormFields = ({
914
915
  helperText: "Name this address for easier reference (e.g. Office, Home, etc.)."
915
916
  }
916
917
  ),
917
- /* @__PURE__ */ jsx6(
918
+ !hidePrimaryPhoneNumberField && /* @__PURE__ */ jsx6(
918
919
  Controller2,
919
920
  {
920
921
  control,
@@ -2333,7 +2334,8 @@ var ImageButton = (props) => {
2333
2334
  var ImageButton_default = memo6(ImageButton);
2334
2335
 
2335
2336
  // src/components/Buttons/SquareButton/SquareButton.tsx
2336
- import { Add as Add2, ChevronRight } from "@mui/icons-material";
2337
+ import Add2 from "@mui/icons-material/Add";
2338
+ import ChevronRight from "@mui/icons-material/ChevronRight";
2337
2339
  import { Typography as Typography9, Button as Button10 } from "@mui/material";
2338
2340
  import { makeStyles as makeStyles10 } from "tss-react/mui";
2339
2341
  import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
@@ -5365,7 +5367,7 @@ var DeliveryInstructionsFormFields = ({
5365
5367
  };
5366
5368
 
5367
5369
  // src/components/FileCard/FileCard.tsx
5368
- import { Description as DescriptionIcon } from "@mui/icons-material";
5370
+ import DescriptionIcon from "@mui/icons-material/Description";
5369
5371
  import { Typography as Typography16, Box as Box25 } from "@mui/material";
5370
5372
  import { jsx as jsx92, jsxs as jsxs57 } from "react/jsx-runtime";
5371
5373
  var getFileMetadata = (file) => {
@@ -10100,7 +10102,7 @@ var TableDesktopToolbar = ({
10100
10102
 
10101
10103
  // src/components/TableHeader/TableHeader.tsx
10102
10104
  import { memo as memo21, useEffect as useEffect16, useState as useState26 } from "react";
10103
- import { ImportExport as ImportExportIcon } from "@mui/icons-material";
10105
+ import ImportExportIcon from "@mui/icons-material/ImportExport";
10104
10106
  import { TableCell as TableCell7, TableHead as TableHead3, TableRow as TableRow6, TableSortLabel as TableSortLabel3 } from "@mui/material";
10105
10107
  import { makeStyles as makeStyles46 } from "tss-react/mui";
10106
10108
  import { jsx as jsx140 } from "react/jsx-runtime";