bianic-ui 2.7.0 → 2.8.0

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.
Files changed (42) hide show
  1. package/README.md +49 -49
  2. package/dist/cjs/index.js +457 -104
  3. package/dist/cjs/lib.css +1 -1
  4. package/dist/cjs/types/components/Forms/DatePicker/DateInputDisplay.d.ts +2 -2
  5. package/dist/cjs/types/components/Forms/DatePicker/DatePicker.d.ts +4 -3
  6. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/DateDisplay.d.ts +1 -1
  7. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/MonthDisplay.d.ts +1 -1
  8. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/PickerContent.d.ts +15 -0
  9. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts +18 -0
  10. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/RangePicker.d.ts +11 -0
  11. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/SinglePicker.d.ts +9 -0
  12. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/index.d.ts +4 -0
  13. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/helpers/dateUtils.d.ts +10 -1
  14. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/hooks/useCalendarLogic.d.ts +1 -0
  15. package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/types/types.d.ts +3 -2
  16. package/dist/cjs/types/components/Forms/DatePicker/RangeDatePickerSimulation.d.ts +3 -0
  17. package/dist/cjs/types/components/Modal/ModalNonCloseable.d.ts +2 -0
  18. package/dist/cjs/types/stories/Form/DatePicker/RangeDatepickerSimulation.stories.d.ts +13 -0
  19. package/dist/cjs/types/stories/Modal/ModalNonCloseable.stories.d.ts +13 -0
  20. package/dist/esm/index.js +457 -104
  21. package/dist/esm/lib.css +1 -1
  22. package/dist/esm/types/components/Forms/DatePicker/DateInputDisplay.d.ts +2 -2
  23. package/dist/esm/types/components/Forms/DatePicker/DatePicker.d.ts +4 -3
  24. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/DateDisplay.d.ts +1 -1
  25. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/MonthDisplay.d.ts +1 -1
  26. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerContent.d.ts +15 -0
  27. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts +18 -0
  28. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/RangePicker.d.ts +11 -0
  29. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/SinglePicker.d.ts +9 -0
  30. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/index.d.ts +4 -0
  31. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/helpers/dateUtils.d.ts +10 -1
  32. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/hooks/useCalendarLogic.d.ts +1 -0
  33. package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/types/types.d.ts +3 -2
  34. package/dist/esm/types/components/Forms/DatePicker/RangeDatePickerSimulation.d.ts +3 -0
  35. package/dist/esm/types/components/Modal/ModalNonCloseable.d.ts +2 -0
  36. package/dist/esm/types/stories/Form/DatePicker/RangeDatepickerSimulation.stories.d.ts +13 -0
  37. package/dist/esm/types/stories/Modal/ModalNonCloseable.stories.d.ts +13 -0
  38. package/dist/index.d.ts +7 -5
  39. package/package.json +142 -141
  40. package/src/style/color.css +650 -650
  41. package/src/style/scrollbar.css +78 -78
  42. package/tailwind.config.js +574 -574
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import TextInputProps from '../TextInput/PropsInterface';
3
3
  interface DateInputDisplayProps extends Omit<TextInputProps, 'value'> {
4
- value: string | null;
4
+ value: string | string[] | null;
5
5
  className: string;
6
- setValue?: (date: string | null) => void;
6
+ setValue?: (date: string | string[] | null) => void;
7
7
  placeholder?: string;
8
8
  label?: string;
9
9
  isActive?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React, { HTMLAttributes } from 'react';
2
2
  interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
3
3
  descText?: string;
4
- onChange?: (date: string) => void;
4
+ onChange?: (date: string | string[] | null) => void;
5
5
  required?: boolean;
6
6
  value?: string;
7
7
  size: 'sm' | 'md';
@@ -11,9 +11,10 @@ interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChan
11
11
  minDate?: string;
12
12
  maxDate?: string;
13
13
  nullDisplay?: string;
14
- inputclassName?: string;
14
+ inputClassName?: string;
15
15
  containerClassName?: string;
16
16
  zIndexCalendar?: number;
17
+ variant?: 'single' | 'range';
17
18
  }
18
- declare function DatePicker({ zIndexCalendar, value, onChange, size, disabled, placeholder, label, minDate, maxDate, required, nullDisplay, inputclassName, containerClassName, }: DatePickerProps): React.JSX.Element;
19
+ declare function DatePicker({ zIndexCalendar, value, onChange, variant, size, disabled, placeholder, label, minDate, maxDate, required, nullDisplay, inputClassName, containerClassName, }: DatePickerProps): React.JSX.Element;
19
20
  export default DatePicker;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  interface DateDisplayProps {
3
3
  displayDays: Date[];
4
4
  viewMonthValue: number;
5
- selectedDate: string | null;
5
+ selectedDate: string | string[] | null;
6
6
  onDateSelect: (date: Date) => void;
7
7
  minDateValue: Date | null;
8
8
  maxDateValue: Date | null;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  interface MonthDisplayProps {
3
3
  viewYearValue: number;
4
- selectedDate: string | null;
4
+ selectedDate: string | null | string[];
5
5
  viewMonthValue: number;
6
6
  minDateValue: Date | null;
7
7
  maxDateValue: Date | null;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ interface PickerContentProps {
3
+ selectedDate: string | string[] | null;
4
+ onDateSelect: (date: Date) => void;
5
+ initialViewMonth?: number;
6
+ initialViewYear?: number;
7
+ minDate: string | undefined;
8
+ maxDate: string | undefined;
9
+ onPrevMonth?: () => void;
10
+ onNextMonth?: () => void;
11
+ onMonthSelect?: (month: number) => void;
12
+ onYearSelect?: (year: number) => void;
13
+ }
14
+ declare const PickerContent: React.FC<PickerContentProps>;
15
+ export default PickerContent;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ interface PickerHeaderProps {
3
+ pickerMode: 'date' | 'month' | 'year';
4
+ viewMonthValue: number;
5
+ viewYearValue: number;
6
+ yearDisplayRange: number[];
7
+ isPrevDisabled: () => boolean;
8
+ isNextDisabled: () => boolean;
9
+ handlePrevMonth: () => void;
10
+ handlePrevYear: () => void;
11
+ handlePrevDecade: () => void;
12
+ handleNextMonth: () => void;
13
+ handleNextYear: () => void;
14
+ handleNextDecade: () => void;
15
+ handlePickerMode: (mode: 'date' | 'month' | 'year') => void;
16
+ }
17
+ declare const PickerHeader: React.FC<PickerHeaderProps>;
18
+ export default PickerHeader;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface RangePickerProps {
3
+ selectedDate: string[] | null;
4
+ onDateChange: (date: string[] | null) => void;
5
+ onClose: () => void;
6
+ minDate: string | undefined;
7
+ maxDate: string | undefined;
8
+ isPickerOpen: boolean;
9
+ }
10
+ declare const RangePicker: React.FC<RangePickerProps>;
11
+ export default RangePicker;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface SinglePickerProps {
3
+ selectedDate: string | null;
4
+ onDateChange: (date: string | null) => void;
5
+ minDate: string | undefined;
6
+ maxDate: string | undefined;
7
+ }
8
+ declare const SinglePicker: React.FC<SinglePickerProps>;
9
+ export default SinglePicker;
@@ -1,3 +1,7 @@
1
1
  export { DateDisplay } from './DateDisplay';
2
2
  export { MonthDisplay } from './MonthDisplay';
3
3
  export { YearDisplay } from './YearDisplay';
4
+ export { default as PickerHeader } from './PickerHeader';
5
+ export { default as PickerContent } from './PickerContent';
6
+ export { default as SinglePicker } from './SinglePicker';
7
+ export { default as RangePicker } from './RangePicker';
@@ -1,4 +1,13 @@
1
- export declare const checkDateEquals: (date1?: Date, date2?: Date) => boolean;
1
+ export declare const checkDateEquals: (date1?: Date | null, date2?: Date | null) => boolean;
2
2
  export declare const checkIsValidDate: (dateString: string) => boolean;
3
3
  export declare const dateToInputString: (dateObj: Date) => string;
4
4
  export declare const getDecadeRange: (year: number) => number[];
5
+ /**
6
+ * Check if two months are adjacent (consecutive)
7
+ * @param leftMonth - Month number (0-11) of left panel
8
+ * @param leftYear - Year of left panel
9
+ * @param rightMonth - Month number (0-11) of right panel
10
+ * @param rightYear - Year of right panel
11
+ * @returns true if months are adjacent
12
+ */
13
+ export declare const areMonthsAdjacent: (leftMonth: number, leftYear: number, rightMonth: number, rightYear: number) => boolean;
@@ -24,4 +24,5 @@ export declare const useCalendarLogic: (selectedDate: string | null, minDate?: s
24
24
  yearDisplayRange: number[];
25
25
  isPrevDisabled: () => boolean;
26
26
  isNextDisabled: () => boolean;
27
+ getDisplayDays: (month: number, year: number) => Date[];
27
28
  };
@@ -6,7 +6,8 @@ export interface PickerCalendarProps extends ComponentPropsWithRef<'div'> {
6
6
  onClose?: () => void;
7
7
  minDate?: string;
8
8
  maxDate?: string;
9
- selectedDate?: string | null;
10
- onDateChange?: (dateString: string) => void;
9
+ selectedDate?: string | string[] | null;
10
+ onDateChange?: (dateString: string | string[] | null) => void;
11
+ pickerVariant?: 'single' | 'range';
11
12
  }
12
13
  export type PickerMode = 'date' | 'month' | 'year';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const RangeSimulation: () => React.JSX.Element;
3
+ export default RangeSimulation;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function ModalNonCloseable(): React.JSX.Element;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: () => import("react").JSX.Element;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ args: {};
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const RangeSimulationDemo: Story;
@@ -0,0 +1,13 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ import Modal from '../../components/Modal/ModalNonCloseable';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Modal;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ args: {};
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const NonCloseable: Story;
package/dist/index.d.ts CHANGED
@@ -487,7 +487,7 @@ declare namespace DropdownItem {
487
487
 
488
488
  interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
489
489
  descText?: string;
490
- onChange?: (date: string) => void;
490
+ onChange?: (date: string | string[] | null) => void;
491
491
  required?: boolean;
492
492
  value?: string;
493
493
  size: 'sm' | 'md';
@@ -497,11 +497,12 @@ interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChan
497
497
  minDate?: string;
498
498
  maxDate?: string;
499
499
  nullDisplay?: string;
500
- inputclassName?: string;
500
+ inputClassName?: string;
501
501
  containerClassName?: string;
502
502
  zIndexCalendar?: number;
503
+ variant?: 'single' | 'range';
503
504
  }
504
- declare function DatePicker({ zIndexCalendar, value, onChange, size, disabled, placeholder, label, minDate, maxDate, required, nullDisplay, inputclassName, containerClassName, }: DatePickerProps): React$1.JSX.Element;
505
+ declare function DatePicker({ zIndexCalendar, value, onChange, variant, size, disabled, placeholder, label, minDate, maxDate, required, nullDisplay, inputClassName, containerClassName, }: DatePickerProps): React$1.JSX.Element;
505
506
 
506
507
  interface PickerCalendarProps extends ComponentPropsWithRef<'div'> {
507
508
  zIndex?: number | 'auto' | 'inherit';
@@ -510,8 +511,9 @@ interface PickerCalendarProps extends ComponentPropsWithRef<'div'> {
510
511
  onClose?: () => void;
511
512
  minDate?: string;
512
513
  maxDate?: string;
513
- selectedDate?: string | null;
514
- onDateChange?: (dateString: string) => void;
514
+ selectedDate?: string | string[] | null;
515
+ onDateChange?: (dateString: string | string[] | null) => void;
516
+ pickerVariant?: 'single' | 'range';
515
517
  }
516
518
 
517
519
  declare const PickerCalendar: React$1.FC<PickerCalendarProps>;
package/package.json CHANGED
@@ -1,141 +1,142 @@
1
- {
2
- "name": "bianic-ui",
3
- "publishConfig": {
4
- "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
- },
6
- "version": "2.7.0",
7
- "description": "Design Language System develop by BIAENERGI",
8
- "repository": {
9
- "type": "git",
10
- "url": "git@github.com:bia-energi/bianic-2.0.git"
11
- },
12
- "scripts": {
13
- "rollup": "rollup -c",
14
- "storybook": "storybook dev -p 6006",
15
- "build-storybook": "storybook build",
16
- "publish-storybook": "npx chromatic --project-token=chpt_2ced61576f9e1e6",
17
- "lint": "npx eslint src/components",
18
- "lint:fix": "npx eslint src/components --fix",
19
- "prepare": "husky install",
20
- "release": "standard-version",
21
- "full-release": "npm run rollup && npm run release && git push --follow-tags origin development-temporary && npm publish",
22
- "release:beta": "npm run rollup && npm run release -- --prerelease beta && git push --follow-tags origin development-temporary && npm publish --tag beta"
23
- },
24
- "standard-version": {
25
- "types": [
26
- {
27
- "type": "feat",
28
- "section": "✨ Features",
29
- "hidden": false
30
- },
31
- {
32
- "type": "fix",
33
- "section": "🐛 Bug Fixes",
34
- "hidden": false
35
- },
36
- {
37
- "type": "perf",
38
- "section": "🚀 Performance Improvements",
39
- "hidden": false
40
- },
41
- {
42
- "type": "style",
43
- "section": "🎨 Styling Changes",
44
- "hidden": false
45
- },
46
- {
47
- "type": "docs",
48
- "section": "📖 Documentation",
49
- "hidden": false
50
- },
51
- {
52
- "type": "chore",
53
- "hidden": true
54
- },
55
- {
56
- "type": "refactor",
57
- "hidden": true
58
- }
59
- ]
60
- },
61
- "author": {
62
- "name": "Biaenergi"
63
- },
64
- "license": "ISC",
65
- "devDependencies": {
66
- "@chromatic-com/storybook": "^1.5.0",
67
- "@eslint/js": "^9.5.0",
68
- "@rollup/plugin-commonjs": "^25.0.4",
69
- "@rollup/plugin-node-resolve": "^15.2.1",
70
- "@rollup/plugin-typescript": "^11.1.4",
71
- "@rollup/plugin-url": "^8.0.2",
72
- "@storybook/addon-essentials": "^8.1.11",
73
- "@storybook/addon-interactions": "^8.1.6",
74
- "@storybook/addon-links": "^8.1.6",
75
- "@storybook/addon-onboarding": "^8.1.6",
76
- "@storybook/addon-styling-webpack": "^1.0.0",
77
- "@storybook/addon-webpack5-compiler-swc": "^1.0.3",
78
- "@storybook/blocks": "^8.1.6",
79
- "@storybook/react": "^8.1.11",
80
- "@storybook/react-webpack5": "^8.1.6",
81
- "@storybook/test": "^8.1.6",
82
- "@types/react": "^18.2.24",
83
- "@typescript-eslint/eslint-plugin": "^7.13.1",
84
- "@typescript-eslint/parser": "^7.13.1",
85
- "autoprefixer": "^10.4.19",
86
- "chromatic": "^11.5.3",
87
- "css-loader": "^7.1.2",
88
- "eslint": "^8.57.0",
89
- "eslint-config-airbnb": "^19.0.4",
90
- "eslint-config-airbnb-typescript": "^18.0.0",
91
- "eslint-config-node": "^4.1.0",
92
- "eslint-config-prettier": "^9.1.0",
93
- "eslint-plugin-import": "^2.25.3",
94
- "eslint-plugin-jsx-a11y": "^6.5.1",
95
- "eslint-plugin-node": "^11.1.0",
96
- "eslint-plugin-prettier": "^5.1.3",
97
- "eslint-plugin-react": "^7.34.3",
98
- "eslint-plugin-react-hooks": "^4.3.0",
99
- "globals": "^15.6.0",
100
- "husky": "^9.0.11",
101
- "postcss": "^8.4.31",
102
- "postcss-loader": "^8.1.1",
103
- "postcss-url": "^10.1.3",
104
- "prettier": "^3.3.2",
105
- "prettier-plugin-tailwindcss": "^0.5.6",
106
- "react-dom": "^18.0.0 || ^19.0.0-beta",
107
- "react-draggable": "^4.5.0",
108
- "react-icons": "^5.2.1",
109
- "rollup": "^3.29.4",
110
- "rollup-plugin-copy": "^3.5.0",
111
- "rollup-plugin-dts": "^6.0.2",
112
- "rollup-plugin-image": "^1.0.2",
113
- "rollup-plugin-postcss": "^4.0.2",
114
- "sass": "^1.77.6",
115
- "sass-loader": "^14.2.1",
116
- "standard-version": "^9.5.0",
117
- "storybook": "^8.1.6",
118
- "style-loader": "^4.0.0",
119
- "tailwindcss": "^3.4.4",
120
- "tslib": "^2.6.2",
121
- "typescript": "^5.2.2",
122
- "typescript-eslint": "^7.13.1",
123
- "url-loader": "^4.1.1",
124
- "webpack": "^5.88.2"
125
- },
126
- "main": "dist/cjs/index.js",
127
- "module": "dist/esm/index.js",
128
- "files": [
129
- "dist",
130
- "dist/*.css",
131
- "src/style",
132
- "src/font",
133
- "tailwind.config.js"
134
- ],
135
- "peerDependencies": {
136
- "react": "^18.0.0 || ^19.0.0-beta",
137
- "react-dom": "^18.0.0 || ^19.0.0-beta",
138
- "react-icons": "^5.2.1"
139
- },
140
- "types": "dist/index.d.ts"
141
- }
1
+ {
2
+ "name": "bianic-ui",
3
+ "publishConfig": {
4
+ "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
+ },
6
+ "version": "2.8.0",
7
+ "description": "Design Language System develop by BIAENERGI",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git@github.com:bia-energi/bianic-2.0.git"
11
+ },
12
+ "scripts": {
13
+ "rollup": "rollup -c",
14
+ "storybook": "storybook dev -p 6006",
15
+ "build-storybook": "storybook build",
16
+ "publish-storybook": "npx chromatic --project-token=chpt_2ced61576f9e1e6",
17
+ "lint": "npx eslint src/components",
18
+ "lint:fix": "npx eslint src/components --fix",
19
+ "prepare": "husky install",
20
+ "release": "standard-version",
21
+ "release:alpha": "node scripts/release.js alpha",
22
+ "release:beta": "node scripts/release.js beta",
23
+ "release:stable": "node scripts/release.js"
24
+ },
25
+ "standard-version": {
26
+ "types": [
27
+ {
28
+ "type": "feat",
29
+ "section": "✨ Features",
30
+ "hidden": false
31
+ },
32
+ {
33
+ "type": "fix",
34
+ "section": "🐛 Bug Fixes",
35
+ "hidden": false
36
+ },
37
+ {
38
+ "type": "perf",
39
+ "section": "🚀 Performance Improvements",
40
+ "hidden": false
41
+ },
42
+ {
43
+ "type": "style",
44
+ "section": "🎨 Styling Changes",
45
+ "hidden": false
46
+ },
47
+ {
48
+ "type": "docs",
49
+ "section": "📖 Documentation",
50
+ "hidden": false
51
+ },
52
+ {
53
+ "type": "chore",
54
+ "hidden": true
55
+ },
56
+ {
57
+ "type": "refactor",
58
+ "hidden": true
59
+ }
60
+ ]
61
+ },
62
+ "author": {
63
+ "name": "Biaenergi"
64
+ },
65
+ "license": "ISC",
66
+ "devDependencies": {
67
+ "@chromatic-com/storybook": "^1.5.0",
68
+ "@eslint/js": "^9.5.0",
69
+ "@rollup/plugin-commonjs": "^25.0.4",
70
+ "@rollup/plugin-node-resolve": "^15.2.1",
71
+ "@rollup/plugin-typescript": "^11.1.4",
72
+ "@rollup/plugin-url": "^8.0.2",
73
+ "@storybook/addon-essentials": "^8.1.11",
74
+ "@storybook/addon-interactions": "^8.1.6",
75
+ "@storybook/addon-links": "^8.1.6",
76
+ "@storybook/addon-onboarding": "^8.1.6",
77
+ "@storybook/addon-styling-webpack": "^1.0.0",
78
+ "@storybook/addon-webpack5-compiler-swc": "^1.0.3",
79
+ "@storybook/blocks": "^8.1.6",
80
+ "@storybook/react": "^8.1.11",
81
+ "@storybook/react-webpack5": "^8.1.6",
82
+ "@storybook/test": "^8.1.6",
83
+ "@types/react": "^18.2.24",
84
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
85
+ "@typescript-eslint/parser": "^7.13.1",
86
+ "autoprefixer": "^10.4.19",
87
+ "chromatic": "^11.5.3",
88
+ "css-loader": "^7.1.2",
89
+ "eslint": "^8.57.0",
90
+ "eslint-config-airbnb": "^19.0.4",
91
+ "eslint-config-airbnb-typescript": "^18.0.0",
92
+ "eslint-config-node": "^4.1.0",
93
+ "eslint-config-prettier": "^9.1.0",
94
+ "eslint-plugin-import": "^2.25.3",
95
+ "eslint-plugin-jsx-a11y": "^6.5.1",
96
+ "eslint-plugin-node": "^11.1.0",
97
+ "eslint-plugin-prettier": "^5.1.3",
98
+ "eslint-plugin-react": "^7.34.3",
99
+ "eslint-plugin-react-hooks": "^4.3.0",
100
+ "globals": "^15.6.0",
101
+ "husky": "^9.0.11",
102
+ "postcss": "^8.4.31",
103
+ "postcss-loader": "^8.1.1",
104
+ "postcss-url": "^10.1.3",
105
+ "prettier": "^3.3.2",
106
+ "prettier-plugin-tailwindcss": "^0.5.6",
107
+ "react-dom": "^18.0.0 || ^19.0.0-beta",
108
+ "react-draggable": "^4.5.0",
109
+ "react-icons": "^5.2.1",
110
+ "rollup": "^3.29.4",
111
+ "rollup-plugin-copy": "^3.5.0",
112
+ "rollup-plugin-dts": "^6.0.2",
113
+ "rollup-plugin-image": "^1.0.2",
114
+ "rollup-plugin-postcss": "^4.0.2",
115
+ "sass": "^1.77.6",
116
+ "sass-loader": "^14.2.1",
117
+ "standard-version": "^9.5.0",
118
+ "storybook": "^8.1.6",
119
+ "style-loader": "^4.0.0",
120
+ "tailwindcss": "^3.4.4",
121
+ "tslib": "^2.6.2",
122
+ "typescript": "^5.2.2",
123
+ "typescript-eslint": "^7.13.1",
124
+ "url-loader": "^4.1.1",
125
+ "webpack": "^5.88.2"
126
+ },
127
+ "main": "dist/cjs/index.js",
128
+ "module": "dist/esm/index.js",
129
+ "files": [
130
+ "dist",
131
+ "dist/*.css",
132
+ "src/style",
133
+ "src/font",
134
+ "tailwind.config.js"
135
+ ],
136
+ "peerDependencies": {
137
+ "react": "^18.0.0 || ^19.0.0-beta",
138
+ "react-dom": "^18.0.0 || ^19.0.0-beta",
139
+ "react-icons": "^5.2.1"
140
+ },
141
+ "types": "dist/index.d.ts"
142
+ }