bianic-ui 2.11.0 → 2.12.0-alpha.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/Empty.svg +12 -12
- package/dist/cjs/index.js +235 -28
- package/dist/cjs/lib.css +1 -1
- package/dist/cjs/types/components/Avatar/Avatar.d.ts +4 -12
- package/dist/cjs/types/components/Forms/DatePicker/DateInputDisplay.d.ts +1 -1
- package/dist/cjs/types/components/Forms/DatePicker/DatePicker.d.ts +4 -4
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts +8 -8
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/YearDisplay.d.ts +1 -1
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/components/pickerYearContent.d.ts +1 -0
- package/dist/cjs/types/components/Forms/DatePicker/PickerCalendar/hooks/useYearLogic.d.ts +16 -0
- package/dist/cjs/types/components/Forms/DatePicker/PickerYear.d.ts +9 -0
- package/dist/cjs/types/components/Forms/DatePicker/YearPicker.d.ts +10 -0
- package/dist/cjs/types/components/Forms/DatePicker/YearPickerDisplay.d.ts +12 -0
- package/dist/cjs/types/components/Forms/DatePicker/index.d.ts +1 -0
- package/dist/cjs/types/components/Forms/index.d.ts +1 -1
- package/dist/cjs/types/components/index.d.ts +1 -1
- package/dist/cjs/types/stories/Avatar/Avatar.stories.d.ts +36 -1
- package/dist/esm/Empty.svg +12 -12
- package/dist/esm/index.js +236 -30
- package/dist/esm/lib.css +1 -1
- package/dist/esm/types/components/Avatar/Avatar.d.ts +4 -12
- package/dist/esm/types/components/Forms/DatePicker/DateInputDisplay.d.ts +1 -1
- package/dist/esm/types/components/Forms/DatePicker/DatePicker.d.ts +4 -4
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts +8 -8
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/YearDisplay.d.ts +1 -1
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/pickerYearContent.d.ts +1 -0
- package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/hooks/useYearLogic.d.ts +16 -0
- package/dist/esm/types/components/Forms/DatePicker/PickerYear.d.ts +9 -0
- package/dist/esm/types/components/Forms/DatePicker/YearPicker.d.ts +10 -0
- package/dist/esm/types/components/Forms/DatePicker/YearPickerDisplay.d.ts +12 -0
- package/dist/esm/types/components/Forms/DatePicker/index.d.ts +1 -0
- package/dist/esm/types/components/Forms/index.d.ts +1 -1
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/esm/types/stories/Avatar/Avatar.stories.d.ts +36 -1
- package/dist/index.d.ts +16 -15
- package/package.json +143 -143
- package/src/font/SansCode/README.txt +88 -88
- package/src/style/color.css +650 -650
- package/src/style/scrollbar.css +78 -78
- package/tailwind.config.js +592 -592
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import React, { ComponentPropsWithoutRef } from 'react';
|
|
1
|
+
import React, { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
export interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
size?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
4
|
-
variant?: '
|
|
5
|
-
imageSrc
|
|
4
|
+
variant?: 'default' | 'picture' | 'initial';
|
|
5
|
+
imageSrc?: string | ReactNode;
|
|
6
6
|
name?: string;
|
|
7
7
|
bgColor?: string;
|
|
8
8
|
outlineColor?: string;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
declare namespace Avatar {
|
|
12
|
-
var defaultProps: {
|
|
13
|
-
name: string;
|
|
14
|
-
variant: string;
|
|
15
|
-
size: string;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export default Avatar;
|
|
10
|
+
export default function Avatar({ size, variant, name, bgColor, outlineColor, className, imageSrc, }: AvatarProps): React.JSX.Element | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import TextInputProps from '../TextInput/PropsInterface';
|
|
3
|
-
interface DateInputDisplayProps extends Omit<TextInputProps, 'value'> {
|
|
3
|
+
export interface DateInputDisplayProps extends Omit<TextInputProps, 'value'> {
|
|
4
4
|
value: string | string[] | null;
|
|
5
5
|
className: string;
|
|
6
6
|
setValue?: (date: string | string[] | null) => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
-
interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
|
|
2
|
+
export interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
|
|
3
3
|
descText?: string;
|
|
4
4
|
onChange?: (date: string | string[] | null) => void;
|
|
5
5
|
required?: boolean;
|
|
6
6
|
value?: string;
|
|
7
|
-
size
|
|
8
|
-
disabled
|
|
9
|
-
placeholder
|
|
7
|
+
size?: 'sm' | 'md';
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
10
|
label?: string;
|
|
11
11
|
minDate?: string;
|
|
12
12
|
maxDate?: string;
|
package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/PickerHeader.d.ts
CHANGED
|
@@ -4,14 +4,14 @@ interface PickerHeaderProps {
|
|
|
4
4
|
viewMonthValue: number;
|
|
5
5
|
viewYearValue: number;
|
|
6
6
|
yearDisplayRange: number[];
|
|
7
|
-
isPrevDisabled
|
|
8
|
-
isNextDisabled
|
|
9
|
-
handlePrevMonth
|
|
10
|
-
handlePrevYear
|
|
11
|
-
handlePrevDecade
|
|
12
|
-
handleNextMonth
|
|
13
|
-
handleNextYear
|
|
14
|
-
handleNextDecade
|
|
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
15
|
handlePickerMode: (mode: 'date' | 'month' | 'year') => void;
|
|
16
16
|
}
|
|
17
17
|
declare const PickerHeader: React.FC<PickerHeaderProps>;
|
package/dist/esm/types/components/Forms/DatePicker/PickerCalendar/components/pickerYearContent.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const useYearLogic: (selectYear: number | null, minYear?: number, maxYear?: number) => {
|
|
2
|
+
viewYearValue: number;
|
|
3
|
+
setViewYearValue: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
4
|
+
viewDecadeValue: number;
|
|
5
|
+
setViewDecadeValue: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
6
|
+
minYearValue: number | null;
|
|
7
|
+
maxYearValue: number | null;
|
|
8
|
+
handlePrevYear: () => void;
|
|
9
|
+
handleNextYear: () => void;
|
|
10
|
+
handlePrevDecade: () => void;
|
|
11
|
+
handleNextDecade: () => void;
|
|
12
|
+
getDecadeRange: (year: number) => number[];
|
|
13
|
+
yearDisplayRange: number[];
|
|
14
|
+
isPrevDisabled: () => boolean;
|
|
15
|
+
isNextDisabled: () => boolean;
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PickerCalendarProps } from './PickerCalendar/types/types';
|
|
2
|
+
interface PickerYearProps extends Omit<PickerCalendarProps, 'minDate' | 'maxDate' | 'selectedDate' | 'onDateChange' | 'pickerVariant'> {
|
|
3
|
+
selectedYear: number | null;
|
|
4
|
+
setSelectedYear: (value: number | null) => void;
|
|
5
|
+
minYear?: number | undefined;
|
|
6
|
+
maxYear?: number | undefined;
|
|
7
|
+
}
|
|
8
|
+
declare const PickerYear: ({ selectedYear, setSelectedYear, minYear, maxYear, anchorRef, zIndex, isOpen, onClose, ...props }: PickerYearProps) => any;
|
|
9
|
+
export default PickerYear;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DatePickerProps } from './DatePicker';
|
|
3
|
+
interface YearPickerProps extends Omit<DatePickerProps, 'value' | 'onChange' | 'maxDate' | 'minDate'> {
|
|
4
|
+
value: number | null;
|
|
5
|
+
onChange: (value: number | null) => void;
|
|
6
|
+
maxYear?: number | null;
|
|
7
|
+
minYear?: number | null;
|
|
8
|
+
}
|
|
9
|
+
declare const YearPicker: ({ value, onChange, zIndexCalendar, minYear, maxYear, size, disabled, placeholder, label, required, nullDisplay, inputClassName, containerClassName, }: YearPickerProps) => React.JSX.Element;
|
|
10
|
+
export default YearPicker;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DateInputDisplayProps } from './DateInputDisplay';
|
|
3
|
+
interface YearPickerDisplayProps extends Omit<DateInputDisplayProps, 'value' | 'setValue'> {
|
|
4
|
+
value: number | null;
|
|
5
|
+
setValue: (value: number | null) => void;
|
|
6
|
+
maxYear?: number | null;
|
|
7
|
+
minYear?: number | null;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
onErrorChange?: (error: string | null) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const YearPickerDisplay: React.ForwardRefExoticComponent<Omit<YearPickerDisplayProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
12
|
+
export default YearPickerDisplay;
|
|
@@ -8,5 +8,5 @@ export { default as Toggle } from './Toggle';
|
|
|
8
8
|
export { SegmentButtonItem, SegmentButtonGroup } from './SegmentButton';
|
|
9
9
|
export { FormGroup, FormGroupButton, FormGroupLabel } from './Group';
|
|
10
10
|
export { DropdownContainer, DropdownItem } from './Dropdown';
|
|
11
|
-
export { DatePicker, PickerCalendar } from './DatePicker';
|
|
11
|
+
export { DatePicker, PickerCalendar, YearPicker } from './DatePicker';
|
|
12
12
|
export { default as FormLabel } from './Label/FormLabel';
|
|
@@ -14,7 +14,7 @@ export { default as FileTree } from './FileTree';
|
|
|
14
14
|
export { default as TreeItem } from './FileTree/TreeItem';
|
|
15
15
|
export { default as useFileTree } from './FileTree/useFileTree';
|
|
16
16
|
export { MenuContainer, MenuItem } from './Menu';
|
|
17
|
-
export { TextInput, Radio, TextArea, Checkbox, SelectInput, LiveSearch, Toggle, SegmentButtonItem, SegmentButtonGroup, FormLabel, FormGroup, FormGroupButton, FormGroupLabel, DropdownItem, DropdownContainer, DatePicker, PickerCalendar, } from './Forms';
|
|
17
|
+
export { TextInput, Radio, TextArea, Checkbox, SelectInput, LiveSearch, Toggle, SegmentButtonItem, SegmentButtonGroup, FormLabel, FormGroup, FormGroupButton, FormGroupLabel, DropdownItem, DropdownContainer, DatePicker, PickerCalendar, YearPicker, } from './Forms';
|
|
18
18
|
export * from './Icons';
|
|
19
19
|
export { default as InfoPanel } from './InfoPanel';
|
|
20
20
|
export { default as Modal } from './Modal/Modal';
|
|
@@ -7,8 +7,43 @@ declare const meta: {
|
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
9
|
tags: string[];
|
|
10
|
-
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
control: "select";
|
|
13
|
+
options: string[];
|
|
14
|
+
description: string;
|
|
15
|
+
table: {
|
|
16
|
+
defaultValue: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
variant: {
|
|
22
|
+
control: "select";
|
|
23
|
+
options: string[];
|
|
24
|
+
description: string;
|
|
25
|
+
table: {
|
|
26
|
+
defaultValue: {
|
|
27
|
+
summary: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
bgColor: {
|
|
32
|
+
control: "text";
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
outlineColor: {
|
|
36
|
+
control: "text";
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
imageSrc: {
|
|
40
|
+
control: "text";
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
11
44
|
};
|
|
12
45
|
export default meta;
|
|
13
46
|
type Story = StoryObj<typeof meta>;
|
|
14
47
|
export declare const Demo: Story;
|
|
48
|
+
export declare const DemoWithPNG: Story;
|
|
49
|
+
export declare const DemoWithSVGFile: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React$1, { ComponentPropsWithoutRef, ComponentPropsWithRef, ChangeEvent,
|
|
1
|
+
import React$1, { ComponentPropsWithoutRef, ReactNode, ComponentPropsWithRef, ChangeEvent, MouseEvent, HTMLAttributes, KeyboardEvent, Dispatch, SetStateAction } from 'react';
|
|
2
2
|
|
|
3
3
|
interface AccordionsProps extends ComponentPropsWithoutRef<'div'> {
|
|
4
4
|
title: string;
|
|
@@ -32,20 +32,13 @@ declare namespace Alert {
|
|
|
32
32
|
|
|
33
33
|
interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
|
|
34
34
|
size?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
35
|
-
variant?: '
|
|
36
|
-
imageSrc
|
|
35
|
+
variant?: 'default' | 'picture' | 'initial';
|
|
36
|
+
imageSrc?: string | ReactNode;
|
|
37
37
|
name?: string;
|
|
38
38
|
bgColor?: string;
|
|
39
39
|
outlineColor?: string;
|
|
40
40
|
}
|
|
41
|
-
declare function Avatar({ size, variant, name, bgColor, outlineColor, className, }: AvatarProps): React$1.JSX.Element | null;
|
|
42
|
-
declare namespace Avatar {
|
|
43
|
-
var defaultProps: {
|
|
44
|
-
name: string;
|
|
45
|
-
variant: string;
|
|
46
|
-
size: string;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
41
|
+
declare function Avatar({ size, variant, name, bgColor, outlineColor, className, imageSrc, }: AvatarProps): React$1.JSX.Element | null;
|
|
49
42
|
|
|
50
43
|
interface BadgeProps extends ComponentPropsWithoutRef<'span'> {
|
|
51
44
|
type: 'standart' | 'float';
|
|
@@ -511,9 +504,9 @@ interface DatePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, 'onChan
|
|
|
511
504
|
onChange?: (date: string | string[] | null) => void;
|
|
512
505
|
required?: boolean;
|
|
513
506
|
value?: string;
|
|
514
|
-
size
|
|
515
|
-
disabled
|
|
516
|
-
placeholder
|
|
507
|
+
size?: 'sm' | 'md';
|
|
508
|
+
disabled?: boolean;
|
|
509
|
+
placeholder?: string;
|
|
517
510
|
label?: string;
|
|
518
511
|
minDate?: string;
|
|
519
512
|
maxDate?: string;
|
|
@@ -539,6 +532,14 @@ interface PickerCalendarProps extends ComponentPropsWithRef<'div'> {
|
|
|
539
532
|
|
|
540
533
|
declare const PickerCalendar: React$1.FC<PickerCalendarProps>;
|
|
541
534
|
|
|
535
|
+
interface YearPickerProps extends Omit<DatePickerProps, 'value' | 'onChange' | 'maxDate' | 'minDate'> {
|
|
536
|
+
value: number | null;
|
|
537
|
+
onChange: (value: number | null) => void;
|
|
538
|
+
maxYear?: number | null;
|
|
539
|
+
minYear?: number | null;
|
|
540
|
+
}
|
|
541
|
+
declare const YearPicker: ({ value, onChange, zIndexCalendar, minYear, maxYear, size, disabled, placeholder, label, required, nullDisplay, inputClassName, containerClassName, }: YearPickerProps) => React$1.JSX.Element;
|
|
542
|
+
|
|
542
543
|
interface FormLabelProps {
|
|
543
544
|
size?: 'sm' | 'md';
|
|
544
545
|
fontWeight?: 'normal' | 'semibold';
|
|
@@ -1103,4 +1104,4 @@ declare const useTableDataHandler: (initialData: any[], options?: UseTableDataOp
|
|
|
1103
1104
|
handleSortChange: (key: string) => void;
|
|
1104
1105
|
};
|
|
1105
1106
|
|
|
1106
|
-
export { Accordions, Alert, Avatar, AlertRoundedSquare as BCAlertRoundedSquare, CubeHeader as BCCubeHeader, Discrepancy as BCDiscrepancy, ExposedPort as BCExposedPort, FQAnalytical as BCFQAnalytical, FQGetaway as BCFQGetaway, FQModeler as BCFQModeler, FQOperation as BCFQOperation, FQWelldone as BCFQWelldone, Flowqount as BCFlowqount, Inlet as BCInlet, Legend as BCLegend, ModalBalance as BCModalBalance, Neutral as BCNeutral, Node as BCNode, Outlet as BCOutlet, Port as BCPort, Rhombus as BCRhombus, SelectAllAdd as BCSelectAllAdd, SelectAllRemove as BCSelectAllRemove, Spinner$1 as BCSpinner, Stack as BCStack, Unlinked as BCUnlinked, VirtualPort as BCVirtualPort, Badge, Banner, BlockLoading, Brand, Breadcrumb, Button, ButtonApp, Card, Checkbox, Color, ContextualButton, Countdown, DatePicker, Display, Divider, DropdownContainer, DropdownItem, EmptyTable, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, MonospaceBadge, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, SidebarContainer, SidebarItem, SidebarMenu, SidebarProfile, Slider, Spinner, Tab, TabMenu, Table, TableBody, TableCell, TableFooterController, TableHead, TableHeaderController, TableRow, TableSearchInput, TagLabel, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, StepperItem as VerticalStepper, Window, getRelativeTime, useFileTree, useTableDataHandler };
|
|
1107
|
+
export { Accordions, Alert, Avatar, AlertRoundedSquare as BCAlertRoundedSquare, CubeHeader as BCCubeHeader, Discrepancy as BCDiscrepancy, ExposedPort as BCExposedPort, FQAnalytical as BCFQAnalytical, FQGetaway as BCFQGetaway, FQModeler as BCFQModeler, FQOperation as BCFQOperation, FQWelldone as BCFQWelldone, Flowqount as BCFlowqount, Inlet as BCInlet, Legend as BCLegend, ModalBalance as BCModalBalance, Neutral as BCNeutral, Node as BCNode, Outlet as BCOutlet, Port as BCPort, Rhombus as BCRhombus, SelectAllAdd as BCSelectAllAdd, SelectAllRemove as BCSelectAllRemove, Spinner$1 as BCSpinner, Stack as BCStack, Unlinked as BCUnlinked, VirtualPort as BCVirtualPort, Badge, Banner, BlockLoading, Brand, Breadcrumb, Button, ButtonApp, Card, Checkbox, Color, ContextualButton, Countdown, DatePicker, Display, Divider, DropdownContainer, DropdownItem, EmptyTable, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, MonospaceBadge, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, SidebarContainer, SidebarItem, SidebarMenu, SidebarProfile, Slider, Spinner, Tab, TabMenu, Table, TableBody, TableCell, TableFooterController, TableHead, TableHeaderController, TableRow, TableSearchInput, TagLabel, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, StepperItem as VerticalStepper, Window, YearPicker, getRelativeTime, useFileTree, useTableDataHandler };
|
package/package.json
CHANGED
|
@@ -1,143 +1,143 @@
|
|
|
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
|
-
"chromatic": "echo 'Chromatic not configured'",
|
|
18
|
-
"lint": "npx eslint src/components",
|
|
19
|
-
"lint:fix": "npx eslint src/components --fix",
|
|
20
|
-
"prepare": "husky install",
|
|
21
|
-
"release": "standard-version",
|
|
22
|
-
"release:alpha": "node scripts/release.js alpha",
|
|
23
|
-
"release:beta": "node scripts/release.js beta",
|
|
24
|
-
"release:stable": "node scripts/release.js"
|
|
25
|
-
},
|
|
26
|
-
"standard-version": {
|
|
27
|
-
"types": [
|
|
28
|
-
{
|
|
29
|
-
"type": "feat",
|
|
30
|
-
"section": "✨ Features",
|
|
31
|
-
"hidden": false
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"type": "fix",
|
|
35
|
-
"section": "🐛 Bug Fixes",
|
|
36
|
-
"hidden": false
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"type": "perf",
|
|
40
|
-
"section": "🚀 Performance Improvements",
|
|
41
|
-
"hidden": false
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"type": "style",
|
|
45
|
-
"section": "🎨 Styling Changes",
|
|
46
|
-
"hidden": false
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"type": "docs",
|
|
50
|
-
"section": "📖 Documentation",
|
|
51
|
-
"hidden": false
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"type": "chore",
|
|
55
|
-
"hidden": true
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"type": "refactor",
|
|
59
|
-
"hidden": true
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
"author": {
|
|
64
|
-
"name": "Biaenergi"
|
|
65
|
-
},
|
|
66
|
-
"license": "ISC",
|
|
67
|
-
"devDependencies": {
|
|
68
|
-
"@chromatic-com/storybook": "^5.2.1",
|
|
69
|
-
"@eslint/js": "^9.5.0",
|
|
70
|
-
"@rollup/plugin-commonjs": "^25.0.4",
|
|
71
|
-
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
72
|
-
"@rollup/plugin-typescript": "^11.1.4",
|
|
73
|
-
"@rollup/plugin-url": "^8.0.2",
|
|
74
|
-
"@storybook/addon-docs": "^10.4.2",
|
|
75
|
-
"@storybook/addon-links": "^10.4.2",
|
|
76
|
-
"@storybook/addon-onboarding": "^10.4.2",
|
|
77
|
-
"@storybook/addon-styling-webpack": "^1.0.0",
|
|
78
|
-
"@storybook/addon-webpack5-compiler-swc": "^4.0.3",
|
|
79
|
-
"@storybook/react-webpack5": "^10.4.2",
|
|
80
|
-
"@types/react": "^18.2.24",
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
82
|
-
"@typescript-eslint/parser": "^7.13.1",
|
|
83
|
-
"autoprefixer": "^10.4.19",
|
|
84
|
-
"chromatic": "^11.5.3",
|
|
85
|
-
"css-loader": "^7.1.2",
|
|
86
|
-
"eslint": "^8.57.0",
|
|
87
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
88
|
-
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
89
|
-
"eslint-config-node": "^4.1.0",
|
|
90
|
-
"eslint-config-prettier": "^9.1.0",
|
|
91
|
-
"eslint-plugin-import": "^2.25.3",
|
|
92
|
-
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
93
|
-
"eslint-plugin-node": "^11.1.0",
|
|
94
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
95
|
-
"eslint-plugin-react": "^7.34.3",
|
|
96
|
-
"eslint-plugin-react-hooks": "^4.3.0",
|
|
97
|
-
"eslint-plugin-storybook": "10.4.2",
|
|
98
|
-
"globals": "^15.6.0",
|
|
99
|
-
"husky": "^9.0.11",
|
|
100
|
-
"postcss": "^8.4.31",
|
|
101
|
-
"postcss-loader": "^8.1.1",
|
|
102
|
-
"postcss-url": "^10.1.3",
|
|
103
|
-
"prettier": "^3.3.2",
|
|
104
|
-
"prettier-plugin-tailwindcss": "^0.5.6",
|
|
105
|
-
"react-dom": "^18.0.0 || ^19.0.0-beta",
|
|
106
|
-
"react-draggable": "^4.5.0",
|
|
107
|
-
"react-icons": "^5.2.1",
|
|
108
|
-
"rollup": "^3.29.4",
|
|
109
|
-
"rollup-plugin-copy": "^3.5.0",
|
|
110
|
-
"rollup-plugin-dts": "^6.0.2",
|
|
111
|
-
"rollup-plugin-image": "^1.0.2",
|
|
112
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
113
|
-
"sass": "^1.77.6",
|
|
114
|
-
"sass-loader": "^14.2.1",
|
|
115
|
-
"standard-version": "^9.5.0",
|
|
116
|
-
"storybook": "^10.4.2",
|
|
117
|
-
"style-loader": "^4.0.0",
|
|
118
|
-
"tailwindcss": "^3.4.4",
|
|
119
|
-
"tslib": "^2.6.2",
|
|
120
|
-
"typescript": "^5.2.2",
|
|
121
|
-
"typescript-eslint": "^7.13.1",
|
|
122
|
-
"url-loader": "^4.1.1",
|
|
123
|
-
"webpack": "^5.88.2"
|
|
124
|
-
},
|
|
125
|
-
"main": "dist/cjs/index.js",
|
|
126
|
-
"module": "dist/esm/index.js",
|
|
127
|
-
"files": [
|
|
128
|
-
"dist",
|
|
129
|
-
"dist/*.css",
|
|
130
|
-
"src/style",
|
|
131
|
-
"src/font",
|
|
132
|
-
"tailwind.config.js"
|
|
133
|
-
],
|
|
134
|
-
"peerDependencies": {
|
|
135
|
-
"react": "^18.0.0 || ^19.0.0-beta",
|
|
136
|
-
"react-dom": "^18.0.0 || ^19.0.0-beta",
|
|
137
|
-
"react-icons": "^5.2.1"
|
|
138
|
-
},
|
|
139
|
-
"types": "dist/index.d.ts",
|
|
140
|
-
"dependencies": {
|
|
141
|
-
"tailwind-merge": "^3.6.0"
|
|
142
|
-
}
|
|
143
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "bianic-ui",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
|
|
5
|
+
},
|
|
6
|
+
"version": "2.12.0-alpha.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
|
+
"chromatic": "echo 'Chromatic not configured'",
|
|
18
|
+
"lint": "npx eslint src/components",
|
|
19
|
+
"lint:fix": "npx eslint src/components --fix",
|
|
20
|
+
"prepare": "husky install",
|
|
21
|
+
"release": "standard-version",
|
|
22
|
+
"release:alpha": "node scripts/release.js alpha",
|
|
23
|
+
"release:beta": "node scripts/release.js beta",
|
|
24
|
+
"release:stable": "node scripts/release.js"
|
|
25
|
+
},
|
|
26
|
+
"standard-version": {
|
|
27
|
+
"types": [
|
|
28
|
+
{
|
|
29
|
+
"type": "feat",
|
|
30
|
+
"section": "✨ Features",
|
|
31
|
+
"hidden": false
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "fix",
|
|
35
|
+
"section": "🐛 Bug Fixes",
|
|
36
|
+
"hidden": false
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "perf",
|
|
40
|
+
"section": "🚀 Performance Improvements",
|
|
41
|
+
"hidden": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "style",
|
|
45
|
+
"section": "🎨 Styling Changes",
|
|
46
|
+
"hidden": false
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "docs",
|
|
50
|
+
"section": "📖 Documentation",
|
|
51
|
+
"hidden": false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "chore",
|
|
55
|
+
"hidden": true
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "refactor",
|
|
59
|
+
"hidden": true
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"author": {
|
|
64
|
+
"name": "Biaenergi"
|
|
65
|
+
},
|
|
66
|
+
"license": "ISC",
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@chromatic-com/storybook": "^5.2.1",
|
|
69
|
+
"@eslint/js": "^9.5.0",
|
|
70
|
+
"@rollup/plugin-commonjs": "^25.0.4",
|
|
71
|
+
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
72
|
+
"@rollup/plugin-typescript": "^11.1.4",
|
|
73
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
74
|
+
"@storybook/addon-docs": "^10.4.2",
|
|
75
|
+
"@storybook/addon-links": "^10.4.2",
|
|
76
|
+
"@storybook/addon-onboarding": "^10.4.2",
|
|
77
|
+
"@storybook/addon-styling-webpack": "^1.0.0",
|
|
78
|
+
"@storybook/addon-webpack5-compiler-swc": "^4.0.3",
|
|
79
|
+
"@storybook/react-webpack5": "^10.4.2",
|
|
80
|
+
"@types/react": "^18.2.24",
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
82
|
+
"@typescript-eslint/parser": "^7.13.1",
|
|
83
|
+
"autoprefixer": "^10.4.19",
|
|
84
|
+
"chromatic": "^11.5.3",
|
|
85
|
+
"css-loader": "^7.1.2",
|
|
86
|
+
"eslint": "^8.57.0",
|
|
87
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
88
|
+
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
89
|
+
"eslint-config-node": "^4.1.0",
|
|
90
|
+
"eslint-config-prettier": "^9.1.0",
|
|
91
|
+
"eslint-plugin-import": "^2.25.3",
|
|
92
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
93
|
+
"eslint-plugin-node": "^11.1.0",
|
|
94
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
95
|
+
"eslint-plugin-react": "^7.34.3",
|
|
96
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
97
|
+
"eslint-plugin-storybook": "10.4.2",
|
|
98
|
+
"globals": "^15.6.0",
|
|
99
|
+
"husky": "^9.0.11",
|
|
100
|
+
"postcss": "^8.4.31",
|
|
101
|
+
"postcss-loader": "^8.1.1",
|
|
102
|
+
"postcss-url": "^10.1.3",
|
|
103
|
+
"prettier": "^3.3.2",
|
|
104
|
+
"prettier-plugin-tailwindcss": "^0.5.6",
|
|
105
|
+
"react-dom": "^18.0.0 || ^19.0.0-beta",
|
|
106
|
+
"react-draggable": "^4.5.0",
|
|
107
|
+
"react-icons": "^5.2.1",
|
|
108
|
+
"rollup": "^3.29.4",
|
|
109
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
110
|
+
"rollup-plugin-dts": "^6.0.2",
|
|
111
|
+
"rollup-plugin-image": "^1.0.2",
|
|
112
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
113
|
+
"sass": "^1.77.6",
|
|
114
|
+
"sass-loader": "^14.2.1",
|
|
115
|
+
"standard-version": "^9.5.0",
|
|
116
|
+
"storybook": "^10.4.2",
|
|
117
|
+
"style-loader": "^4.0.0",
|
|
118
|
+
"tailwindcss": "^3.4.4",
|
|
119
|
+
"tslib": "^2.6.2",
|
|
120
|
+
"typescript": "^5.2.2",
|
|
121
|
+
"typescript-eslint": "^7.13.1",
|
|
122
|
+
"url-loader": "^4.1.1",
|
|
123
|
+
"webpack": "^5.88.2"
|
|
124
|
+
},
|
|
125
|
+
"main": "dist/cjs/index.js",
|
|
126
|
+
"module": "dist/esm/index.js",
|
|
127
|
+
"files": [
|
|
128
|
+
"dist",
|
|
129
|
+
"dist/*.css",
|
|
130
|
+
"src/style",
|
|
131
|
+
"src/font",
|
|
132
|
+
"tailwind.config.js"
|
|
133
|
+
],
|
|
134
|
+
"peerDependencies": {
|
|
135
|
+
"react": "^18.0.0 || ^19.0.0-beta",
|
|
136
|
+
"react-dom": "^18.0.0 || ^19.0.0-beta",
|
|
137
|
+
"react-icons": "^5.2.1"
|
|
138
|
+
},
|
|
139
|
+
"types": "dist/index.d.ts",
|
|
140
|
+
"dependencies": {
|
|
141
|
+
"tailwind-merge": "^3.6.0"
|
|
142
|
+
}
|
|
143
|
+
}
|