@homefile/components-v2 2.36.4 → 2.36.6

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.
@@ -1,4 +1,4 @@
1
1
  import { TextAreaFieldI } from '../../../../interfaces';
2
2
  import 'react-quill-new/dist/quill.snow.css';
3
- import '@/styles/quill.css';
3
+ import '../../../../styles';
4
4
  export declare const TextAreaField: ({ id, label, placeholder, value, }: TextAreaFieldI) => import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { useFormContext, Controller } from 'react-hook-form';
3
3
  import { Flex } from '@chakra-ui/react';
4
4
  import QuillEditor from 'react-quill-new';
5
5
  import 'react-quill-new/dist/quill.snow.css';
6
- import '@/styles/quill.css';
6
+ import '../../../../styles';
7
7
  import { LabeledField } from './LabeledField';
8
8
  export const TextAreaField = ({ id, label, placeholder = '', value, }) => {
9
9
  const { control } = useFormContext();
@@ -1,4 +1,4 @@
1
1
  import { MessageChatPanelI } from '../../../interfaces';
2
2
  import 'react-quill-new/dist/quill.snow.css';
3
- import '@/styles/quill.css';
3
+ import '../../../styles';
4
4
  export declare const MessageChatPanel: ({ message, onBack, onClose, onReply, }: MessageChatPanelI) => import("react/jsx-runtime").JSX.Element;
@@ -6,7 +6,7 @@ import QuillEditor from 'react-quill-new';
6
6
  import { Document2 } from '../../../assets/images';
7
7
  import { BackCircleButton, FooterButtons, MessageCard, PanelHeader, up, WrapperWithShadow, } from '../../../components';
8
8
  import 'react-quill-new/dist/quill.snow.css';
9
- import '@/styles/quill.css';
9
+ import '../../../styles';
10
10
  export const MessageChatPanel = ({ message, onBack, onClose, onReply, }) => {
11
11
  var _a, _b;
12
12
  const [value, setValue] = useState('');
@@ -1,4 +1,4 @@
1
1
  import 'react-datepicker/dist/react-datepicker.css';
2
- import '@/styles/calendar.css';
2
+ import '../../styles';
3
3
  import { DatePickerI } from '../../interfaces';
4
4
  export declare const DatePicker: ({ onChange, placeholder, label, showCalendarIcon, value, width, }: DatePickerI) => import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useEffect, useState } from 'react';
3
3
  import DatePickerComponent from 'react-datepicker';
4
4
  import 'react-datepicker/dist/react-datepicker.css';
5
- import '@/styles/calendar.css';
5
+ import '../../styles';
6
6
  import { Flex, IconButton, Input } from '@chakra-ui/react';
7
7
  import { Calendar as CalendarIcon, LabeledField } from '../../components';
8
8
  import { colors } from '../../theme/colors';
@@ -1,5 +1,5 @@
1
1
  import 'react-datepicker/dist/react-datepicker.css';
2
- import '@/styles/calendar.css';
2
+ import '../../styles';
3
3
  export declare const DateRangePicker: ({ handleClick, }: {
4
4
  handleClick: (date: string) => void;
5
5
  }) => import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useState } from 'react';
3
3
  import DatePicker from 'react-datepicker';
4
4
  import 'react-datepicker/dist/react-datepicker.css';
5
- import '@/styles/calendar.css';
5
+ import '../../styles';
6
6
  import { Flex, Input } from '@chakra-ui/react';
7
7
  import { Calendar as CalendarIcon } from '../../components';
8
8
  export const DateRangePicker = ({ handleClick, }) => {
@@ -0,0 +1,2 @@
1
+ export * from './calendar.css';
2
+ export * from './quill.css';
@@ -0,0 +1,2 @@
1
+ export * from './calendar.css';
2
+ export * from './quill.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.36.4",
3
+ "version": "2.36.6",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",
@@ -50,7 +50,7 @@
50
50
  "build-storybook": "storybook build && touch ./storybook-static/.nojekyll",
51
51
  "clean": "rimraf dist/",
52
52
  "convert": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
53
- "copy": "copyfiles -u 1 \"src/assets/**/*.{svg,png,jpg,jpeg,webp,gif,avif,mp4,mp3,woff,woff2,ttf,eot,otf}\" \"src/styles/*\" \"src/**/*.css\" \"src/**/*.json\" dist/",
53
+ "copy": "copyfiles -u 1 \"src/assets/**/*.{svg,png,jpg,jpeg,webp,gif,avif,mp4,mp3,woff,woff2,ttf,eot,otf}\" \"src/styles/**/*.css\" \"src/**/*.css\" \"src/**/*.json\" dist/",
54
54
  "prepare": "husky",
55
55
  "test-storybook": "test-storybook",
56
56
  "prepublishOnly": "yarn build && bash scripts/check-dist.sh"