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.
- package/README.md +49 -49
- package/dist/cjs/index.js +457 -104
- package/dist/cjs/lib.css +1 -1
- package/dist/cjs/types/components/Forms/DatePicker/DateInputDisplay.d.ts +2 -2
- package/dist/cjs/types/components/Forms/DatePicker/DatePicker.d.ts +4 -3
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/DateDisplay.d.ts +1 -1
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/MonthDisplay.d.ts +1 -1
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/PickerContent.d.ts +15 -0
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts +18 -0
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/RangePicker.d.ts +11 -0
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/SinglePicker.d.ts +9 -0
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/index.d.ts +4 -0
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/helpers/dateUtils.d.ts +10 -1
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/hooks/useCalendarLogic.d.ts +1 -0
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/types/types.d.ts +3 -2
- package/dist/cjs/types/components/Forms/DatePicker/RangeDatePickerSimulation.d.ts +3 -0
- package/dist/cjs/types/components/Modal/ModalNonCloseable.d.ts +2 -0
- package/dist/cjs/types/stories/Form/DatePicker/RangeDatepickerSimulation.stories.d.ts +13 -0
- package/dist/cjs/types/stories/Modal/ModalNonCloseable.stories.d.ts +13 -0
- package/dist/esm/index.js +457 -104
- package/dist/esm/lib.css +1 -1
- package/dist/esm/types/components/Forms/DatePicker/DateInputDisplay.d.ts +2 -2
- package/dist/esm/types/components/Forms/DatePicker/DatePicker.d.ts +4 -3
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/DateDisplay.d.ts +1 -1
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/MonthDisplay.d.ts +1 -1
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerContent.d.ts +15 -0
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts +18 -0
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/RangePicker.d.ts +11 -0
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/SinglePicker.d.ts +9 -0
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/index.d.ts +4 -0
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/helpers/dateUtils.d.ts +10 -1
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/hooks/useCalendarLogic.d.ts +1 -0
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/types/types.d.ts +3 -2
- package/dist/esm/types/components/Forms/DatePicker/RangeDatePickerSimulation.d.ts +3 -0
- package/dist/esm/types/components/Modal/ModalNonCloseable.d.ts +2 -0
- package/dist/esm/types/stories/Form/DatePicker/RangeDatepickerSimulation.stories.d.ts +13 -0
- package/dist/esm/types/stories/Modal/ModalNonCloseable.stories.d.ts +13 -0
- package/dist/index.d.ts +7 -5
- package/package.json +142 -141
- package/src/style/color.css +650 -650
- package/src/style/scrollbar.css +78 -78
- 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
|
-
|
|
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,
|
|
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;
|
package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/DateDisplay.d.ts
CHANGED
|
@@ -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;
|
package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerContent.d.ts
ADDED
|
@@ -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;
|
package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts
ADDED
|
@@ -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;
|
package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/SinglePicker.d.ts
ADDED
|
@@ -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;
|
|
@@ -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,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
|
-
|
|
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,
|
|
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
|
-
"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
|
-
"
|
|
22
|
-
"release:beta": "
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@rollup/plugin-
|
|
70
|
-
"@rollup/plugin-
|
|
71
|
-
"@rollup/plugin-
|
|
72
|
-
"@
|
|
73
|
-
"@storybook/addon-
|
|
74
|
-
"@storybook/addon-
|
|
75
|
-
"@storybook/addon-
|
|
76
|
-
"@storybook/addon-
|
|
77
|
-
"@storybook/addon-
|
|
78
|
-
"@storybook/
|
|
79
|
-
"@storybook/
|
|
80
|
-
"@storybook/react
|
|
81
|
-
"@storybook/
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@typescript-eslint/
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"eslint
|
|
90
|
-
"eslint-config-airbnb
|
|
91
|
-
"eslint-config-
|
|
92
|
-
"eslint-config-
|
|
93
|
-
"eslint-
|
|
94
|
-
"eslint-plugin-
|
|
95
|
-
"eslint-plugin-
|
|
96
|
-
"eslint-plugin-
|
|
97
|
-
"eslint-plugin-
|
|
98
|
-
"eslint-plugin-react
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"postcss
|
|
103
|
-
"postcss-
|
|
104
|
-
"
|
|
105
|
-
"prettier
|
|
106
|
-
"
|
|
107
|
-
"react-
|
|
108
|
-
"react-
|
|
109
|
-
"
|
|
110
|
-
"rollup
|
|
111
|
-
"rollup-plugin-
|
|
112
|
-
"rollup-plugin-
|
|
113
|
-
"rollup-plugin-
|
|
114
|
-
"
|
|
115
|
-
"sass
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"typescript
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
"dist
|
|
131
|
-
"
|
|
132
|
-
"src/
|
|
133
|
-
"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"react
|
|
138
|
-
"react-
|
|
139
|
-
|
|
140
|
-
|
|
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
|
+
}
|