@yeverlibs/ds 1.1.8 → 1.1.10

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
@@ -8,13 +8,12 @@ import tw5 from 'tailwind-styled-components';
8
8
  import Image4 from 'next/image';
9
9
  import ReactDOM from 'react-dom';
10
10
  import { toast } from 'sonner';
11
- import dynamic from 'next/dynamic';
11
+ import Select from 'react-select';
12
12
  import { isValid, format, parse, startOfMonth, subMonths, endOfMonth, subDays, startOfDay, endOfDay, startOfWeek, endOfWeek, addDays, isWithinInterval, isSameDay, addMonths } from 'date-fns';
13
13
  import { ptBR } from 'date-fns/locale';
14
14
  import { useFormContext, Controller, useForm, FormProvider, useWatch } from 'react-hook-form';
15
15
  import Link2 from 'next/link';
16
16
  import { AnimatePresence, motion } from 'framer-motion';
17
- import Select2 from 'react-select';
18
17
  import { ResponsiveBar } from '@nivo/bar';
19
18
  import { ResponsiveLine } from '@nivo/line';
20
19
  import { ResponsivePie } from '@nivo/pie';
@@ -5273,7 +5272,6 @@ var nextReplaceUrl = (key, value, pathname) => {
5273
5272
  const newUrl = `${pathname}?${queryString}`;
5274
5273
  window.history.replaceState(null, "", newUrl);
5275
5274
  };
5276
- var Select = dynamic(() => import('react-select'), { ssr: false });
5277
5275
  var DateRangeOptions = [
5278
5276
  { value: "today", label: "Hoje" },
5279
5277
  { value: "yesterday", label: "Ontem" },
@@ -6934,7 +6932,7 @@ var MultiSelect = ({
6934
6932
  tooltip ? /* @__PURE__ */ jsx(Tooltip, { text: tooltip }) : null
6935
6933
  ] }),
6936
6934
  /* @__PURE__ */ jsx(
6937
- Select2,
6935
+ Select,
6938
6936
  {
6939
6937
  name,
6940
6938
  styles: customStyles,
@@ -7022,7 +7020,7 @@ var CustomSelect = ({
7022
7020
  tooltip ? /* @__PURE__ */ jsx(Tooltip, { text: tooltip }) : null
7023
7021
  ] }),
7024
7022
  /* @__PURE__ */ jsx(
7025
- Select2,
7023
+ Select,
7026
7024
  {
7027
7025
  name,
7028
7026
  styles: customStyles2,