bianic-ui 2.13.0-alpha.0 → 2.13.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/font/Arial/arial.ttf +0 -0
- package/dist/cjs/font/Arial/arialblack.ttf +0 -0
- package/dist/cjs/font/Arial/arialbold.ttf +0 -0
- package/dist/cjs/font/Arial/arialbolditalic.ttf +0 -0
- package/dist/cjs/font/Arial/arialitalic.ttf +0 -0
- package/dist/cjs/font/Humanist777CondensedBT.ttf +0 -0
- package/dist/cjs/font/Humnst/tt0855m_.ttf +0 -0
- package/dist/cjs/font/Humnst/tt0857m_.ttf +0 -0
- package/dist/cjs/font/Humnst/tt0861m_.ttf +0 -0
- package/dist/cjs/font/Humnst/tt1159m_.ttf +0 -0
- package/dist/cjs/font/Humnst/tt1160m_.ttf +0 -0
- package/dist/cjs/font/Humnst/tt1161m_.ttf +0 -0
- package/dist/cjs/font/Humnst777 Cn BT.ttf +0 -0
- package/dist/cjs/font/SansCode/GoogleSansCode-Italic-VariableFont_MONO,wght.ttf +0 -0
- package/dist/cjs/font/SansCode/GoogleSansCode-VariableFont_MONO,wght.ttf +0 -0
- package/dist/cjs/font/SansCode/OFL.txt +93 -0
- package/dist/cjs/font/SansCode/README.txt +88 -0
- package/dist/cjs/font/SegoeUI/segoeui.ttf +0 -0
- package/dist/cjs/font/SegoeUI/segoeuib.ttf +0 -0
- package/dist/cjs/font/SegoeUI/segoeuii.ttf +0 -0
- package/dist/cjs/font/SegoeUI/segoeuil.ttf +0 -0
- package/dist/cjs/font/SegoeUI/segoeuisl.ttf +0 -0
- package/dist/cjs/font/SegoeUI/segoeuiz.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguibl.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguibli.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguiemj.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguihis.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguili.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguisb.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguisbi.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguisli.ttf +0 -0
- package/dist/cjs/font/SegoeUI/seguisym.ttf +0 -0
- package/dist/cjs/index.js +3400 -63
- package/dist/cjs/lib.css +1 -1
- package/dist/cjs/types/components/Forms/LiveSearch/index.d.ts +1 -1
- package/dist/cjs/types/components/Forms/LiveSearch/types/index.d.ts +1 -0
- package/dist/cjs/types/components/Forms/TagLabelInput/index.d.ts +1 -0
- package/dist/cjs/types/components/Stepper/Horizontal/index.d.ts +1 -0
- package/dist/cjs/types/components/Stepper/index.d.ts +2 -0
- package/dist/cjs/types/components/index.d.ts +1 -1
- package/dist/cjs/types/stories/Form/LiveSearch/LivesearchCustomDropdownExample.stories.d.ts +3 -1
- package/dist/cjs/types/stories/Form/Radio.stories.d.ts +3 -1
- package/dist/esm/Empty.svg +12 -12
- package/dist/esm/font/Arial/arial.ttf +0 -0
- package/dist/esm/font/Arial/arialblack.ttf +0 -0
- package/dist/esm/font/Arial/arialbold.ttf +0 -0
- package/dist/esm/font/Arial/arialbolditalic.ttf +0 -0
- package/dist/esm/font/Arial/arialitalic.ttf +0 -0
- package/dist/esm/font/Humanist777CondensedBT.ttf +0 -0
- package/dist/esm/font/Humnst/tt0855m_.ttf +0 -0
- package/dist/esm/font/Humnst/tt0857m_.ttf +0 -0
- package/dist/esm/font/Humnst/tt0861m_.ttf +0 -0
- package/dist/esm/font/Humnst/tt1159m_.ttf +0 -0
- package/dist/esm/font/Humnst/tt1160m_.ttf +0 -0
- package/dist/esm/font/Humnst/tt1161m_.ttf +0 -0
- package/dist/esm/font/Humnst777 Cn BT.ttf +0 -0
- package/dist/esm/font/SansCode/GoogleSansCode-Italic-VariableFont_MONO,wght.ttf +0 -0
- package/dist/esm/font/SansCode/GoogleSansCode-VariableFont_MONO,wght.ttf +0 -0
- package/dist/esm/font/SansCode/OFL.txt +93 -0
- package/dist/esm/font/SansCode/README.txt +88 -0
- package/dist/esm/font/SegoeUI/segoeui.ttf +0 -0
- package/dist/esm/font/SegoeUI/segoeuib.ttf +0 -0
- package/dist/esm/font/SegoeUI/segoeuii.ttf +0 -0
- package/dist/esm/font/SegoeUI/segoeuil.ttf +0 -0
- package/dist/esm/font/SegoeUI/segoeuisl.ttf +0 -0
- package/dist/esm/font/SegoeUI/segoeuiz.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguibl.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguibli.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguiemj.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguihis.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguili.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguisb.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguisbi.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguisli.ttf +0 -0
- package/dist/esm/font/SegoeUI/seguisym.ttf +0 -0
- package/dist/esm/index.js +3400 -64
- package/dist/esm/lib.css +1 -1
- package/dist/esm/types/components/Forms/LiveSearch/index.d.ts +1 -1
- package/dist/esm/types/components/Forms/LiveSearch/types/index.d.ts +1 -0
- package/dist/esm/types/components/Forms/TagLabelInput/index.d.ts +1 -0
- package/dist/esm/types/components/Stepper/Horizontal/index.d.ts +1 -0
- package/dist/esm/types/components/Stepper/index.d.ts +2 -0
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/esm/types/stories/Form/LiveSearch/LivesearchCustomDropdownExample.stories.d.ts +3 -1
- package/dist/esm/types/stories/Form/Radio.stories.d.ts +3 -1
- package/dist/index.d.ts +24 -2
- 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,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LiveSearchProps } from './types';
|
|
3
|
-
declare function LiveSearch({ autoComplete, children, descText, disabled, dropContProps, id, label, onChangeText, onClickDropdown, options, placeholder, readOnly, required, searchVariant, setValue, size, isValid, value, }: LiveSearchProps): React.JSX.Element;
|
|
3
|
+
declare function LiveSearch({ autoComplete, children, descText, disabled, dropContProps, id, label, onChangeText, onChangeButton, onClickDropdown, options, placeholder, readOnly, required, searchVariant, setValue, size, isValid, value, }: LiveSearchProps): React.JSX.Element;
|
|
4
4
|
declare namespace LiveSearch {
|
|
5
5
|
var defaultProps: {
|
|
6
6
|
descText: string;
|
|
@@ -11,6 +11,7 @@ export interface LiveSearchProps extends Omit<ComponentPropsWithoutRef<'input'>,
|
|
|
11
11
|
isValid?: boolean | null;
|
|
12
12
|
label?: string;
|
|
13
13
|
onChangeText?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
onChangeButton?: ReactNode;
|
|
14
15
|
onClickDropdown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
15
16
|
options?: any[];
|
|
16
17
|
placeholder?: string;
|
|
@@ -24,6 +24,7 @@ export interface TagLabelInputProps<T extends TagValue = TagValue> extends Omit<
|
|
|
24
24
|
required?: boolean;
|
|
25
25
|
size?: 'md' | 'sm';
|
|
26
26
|
value: T[];
|
|
27
|
+
zIndex?: number;
|
|
27
28
|
}
|
|
28
29
|
export declare const TagLabelInput: <T extends TagValue = TagValue>(props: TagLabelInputProps<T> & {
|
|
29
30
|
ref?: React.ForwardedRef<HTMLInputElement>;
|
|
@@ -34,7 +34,7 @@ export { default as TagLabel } from './TagLabel';
|
|
|
34
34
|
export { default as Tooltip } from './Tooltip';
|
|
35
35
|
export { Display, P, Heading, Text, Link } from './Typography';
|
|
36
36
|
export { Toaster } from './Toaster';
|
|
37
|
-
export {
|
|
37
|
+
export { HorizontalStepper, VerticalStepper } from './Stepper';
|
|
38
38
|
export { default as Window } from './Window';
|
|
39
39
|
export { getRelativeTime } from '../utility';
|
|
40
40
|
export { useTableDataHandler } from '../utility/hooks/useTableDataHandler';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react/*';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
import { LiveSearchProps } from '../../../components/Forms/LiveSearch/types';
|
|
4
|
+
declare const meta: Meta<({ children, ...props }: LiveSearchProps) => React.JSX.Element>;
|
|
4
5
|
export default meta;
|
|
5
6
|
type Story = StoryObj<typeof meta>;
|
|
6
7
|
export declare const DefaultExample: Story;
|
|
@@ -8,3 +9,4 @@ export declare const BasicExample: Story;
|
|
|
8
9
|
export declare const Description: Story;
|
|
9
10
|
export declare const Disabled: Story;
|
|
10
11
|
export declare const ObjectOptionsExample: Story;
|
|
12
|
+
export declare const onChangeButton: Story;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component:
|
|
5
|
+
component: React.ForwardRefExoticComponent<import("../../components/Forms/Radio").RadioProps & React.RefAttributes<HTMLInputElement>>;
|
|
5
6
|
parameters: {
|
|
6
7
|
layout: string;
|
|
7
8
|
};
|
|
@@ -11,3 +12,4 @@ declare const meta: {
|
|
|
11
12
|
export default meta;
|
|
12
13
|
type Story = StoryObj<typeof meta>;
|
|
13
14
|
export declare const Demo: Story;
|
|
15
|
+
export declare const LiveSimulation: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -411,6 +411,7 @@ interface LiveSearchProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'
|
|
|
411
411
|
isValid?: boolean | null;
|
|
412
412
|
label?: string;
|
|
413
413
|
onChangeText?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
414
|
+
onChangeButton?: ReactNode;
|
|
414
415
|
onClickDropdown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
415
416
|
options?: any[];
|
|
416
417
|
placeholder?: string;
|
|
@@ -422,7 +423,7 @@ interface LiveSearchProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'
|
|
|
422
423
|
value: any;
|
|
423
424
|
}
|
|
424
425
|
|
|
425
|
-
declare function LiveSearch({ autoComplete, children, descText, disabled, dropContProps, id, label, onChangeText, onClickDropdown, options, placeholder, readOnly, required, searchVariant, setValue, size, isValid, value, }: LiveSearchProps): React$1.JSX.Element;
|
|
426
|
+
declare function LiveSearch({ autoComplete, children, descText, disabled, dropContProps, id, label, onChangeText, onChangeButton, onClickDropdown, options, placeholder, readOnly, required, searchVariant, setValue, size, isValid, value, }: LiveSearchProps): React$1.JSX.Element;
|
|
426
427
|
declare namespace LiveSearch {
|
|
427
428
|
var defaultProps: {
|
|
428
429
|
descText: string;
|
|
@@ -463,6 +464,7 @@ interface TagLabelInputProps<T extends TagValue = TagValue> extends Omit<React$1
|
|
|
463
464
|
required?: boolean;
|
|
464
465
|
size?: 'md' | 'sm';
|
|
465
466
|
value: T[];
|
|
467
|
+
zIndex?: number;
|
|
466
468
|
}
|
|
467
469
|
declare const TagLabelInput: <T extends TagValue = TagValue>(props: TagLabelInputProps<T> & {
|
|
468
470
|
ref?: React$1.ForwardedRef<HTMLInputElement>;
|
|
@@ -1098,6 +1100,26 @@ interface ToasterProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
1098
1100
|
}
|
|
1099
1101
|
declare function Toaster({ children, title, icon, onClose, variant, position, }: ToasterProps): React$1.JSX.Element;
|
|
1100
1102
|
|
|
1103
|
+
type StepperSize = 'sm' | 'md';
|
|
1104
|
+
interface Step {
|
|
1105
|
+
id: string | number;
|
|
1106
|
+
label?: string;
|
|
1107
|
+
description?: string;
|
|
1108
|
+
icon?: React$1.ReactNode;
|
|
1109
|
+
}
|
|
1110
|
+
interface HorizontalStepperProps {
|
|
1111
|
+
steps: Step[];
|
|
1112
|
+
activeStep: number;
|
|
1113
|
+
size?: StepperSize;
|
|
1114
|
+
className?: string;
|
|
1115
|
+
onStepClick?: (index: number) => void;
|
|
1116
|
+
processedIcon?: React$1.ReactNode;
|
|
1117
|
+
currentIcon?: React$1.ReactNode;
|
|
1118
|
+
color?: string;
|
|
1119
|
+
showLabels?: boolean;
|
|
1120
|
+
}
|
|
1121
|
+
declare const HorizontalStepper: React$1.FC<HorizontalStepperProps>;
|
|
1122
|
+
|
|
1101
1123
|
interface StepperItemProps {
|
|
1102
1124
|
onClick?: () => void;
|
|
1103
1125
|
variant?: 'upcoming' | 'processed' | 'current' | 'completed' | 'rejected';
|
|
@@ -1183,4 +1205,4 @@ declare const useTableDataHandler: (initialData: any[], options?: UseTableDataOp
|
|
|
1183
1205
|
handleSortChange: (key: string) => void;
|
|
1184
1206
|
};
|
|
1185
1207
|
|
|
1186
|
-
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, DropzoneFileUploader, 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, SimpleFileUploader, Slider, Spinner, Tab, TabMenu, Table, TableBody, TableCell, TableFooterController, TableHead, TableHeaderController, TableRow, TableSearchInput, TagLabel, TagLabelInput, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, StepperItem as VerticalStepper, Window, YearPicker, getRelativeTime, useFileTree, useTableDataHandler };
|
|
1208
|
+
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, DropzoneFileUploader, EmptyTable, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, HorizontalStepper, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, MonospaceBadge, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, SidebarContainer, SidebarItem, SidebarMenu, SidebarProfile, SimpleFileUploader, Slider, Spinner, Tab, TabMenu, Table, TableBody, TableCell, TableFooterController, TableHead, TableHeaderController, TableRow, TableSearchInput, TagLabel, TagLabelInput, 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.13.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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "bianic-ui",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
|
|
5
|
+
},
|
|
6
|
+
"version": "2.13.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
|
+
}
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
Google Sans Code Variable Font
|
|
2
|
-
==============================
|
|
3
|
-
|
|
4
|
-
This download contains Google Sans Code as both variable fonts and static fonts.
|
|
5
|
-
|
|
6
|
-
Google Sans Code is a variable font with these axes:
|
|
7
|
-
MONO
|
|
8
|
-
wght
|
|
9
|
-
|
|
10
|
-
This means all the styles are contained in these files:
|
|
11
|
-
GoogleSansCode-VariableFont_MONO,wght.ttf
|
|
12
|
-
GoogleSansCode-Italic-VariableFont_MONO,wght.ttf
|
|
13
|
-
|
|
14
|
-
If your app fully supports variable fonts, you can now pick intermediate styles
|
|
15
|
-
that aren’t available as static fonts. Not all apps support variable fonts, and
|
|
16
|
-
in those cases you can use the static font files for Google Sans Code:
|
|
17
|
-
static/GoogleSansCode_Proportional-Light.ttf
|
|
18
|
-
static/GoogleSansCode_Proportional-Regular.ttf
|
|
19
|
-
static/GoogleSansCode_Proportional-Medium.ttf
|
|
20
|
-
static/GoogleSansCode_Proportional-SemiBold.ttf
|
|
21
|
-
static/GoogleSansCode_Proportional-Bold.ttf
|
|
22
|
-
static/GoogleSansCode_Proportional-ExtraBold.ttf
|
|
23
|
-
static/GoogleSansCode-Light.ttf
|
|
24
|
-
static/GoogleSansCode-Regular.ttf
|
|
25
|
-
static/GoogleSansCode-Medium.ttf
|
|
26
|
-
static/GoogleSansCode-SemiBold.ttf
|
|
27
|
-
static/GoogleSansCode-Bold.ttf
|
|
28
|
-
static/GoogleSansCode-ExtraBold.ttf
|
|
29
|
-
static/GoogleSansCode_Proportional-LightItalic.ttf
|
|
30
|
-
static/GoogleSansCode_Proportional-Italic.ttf
|
|
31
|
-
static/GoogleSansCode_Proportional-MediumItalic.ttf
|
|
32
|
-
static/GoogleSansCode_Proportional-SemiBoldItalic.ttf
|
|
33
|
-
static/GoogleSansCode_Proportional-BoldItalic.ttf
|
|
34
|
-
static/GoogleSansCode_Proportional-ExtraBoldItalic.ttf
|
|
35
|
-
static/GoogleSansCode-LightItalic.ttf
|
|
36
|
-
static/GoogleSansCode-Italic.ttf
|
|
37
|
-
static/GoogleSansCode-MediumItalic.ttf
|
|
38
|
-
static/GoogleSansCode-SemiBoldItalic.ttf
|
|
39
|
-
static/GoogleSansCode-BoldItalic.ttf
|
|
40
|
-
static/GoogleSansCode-ExtraBoldItalic.ttf
|
|
41
|
-
|
|
42
|
-
Get started
|
|
43
|
-
-----------
|
|
44
|
-
|
|
45
|
-
1. Install the font files you want to use
|
|
46
|
-
|
|
47
|
-
2. Use your app's font picker to view the font family and all the
|
|
48
|
-
available styles
|
|
49
|
-
|
|
50
|
-
Learn more about variable fonts
|
|
51
|
-
-------------------------------
|
|
52
|
-
|
|
53
|
-
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
|
54
|
-
https://variablefonts.typenetwork.com
|
|
55
|
-
https://medium.com/variable-fonts
|
|
56
|
-
|
|
57
|
-
In desktop apps
|
|
58
|
-
|
|
59
|
-
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
|
60
|
-
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
|
61
|
-
|
|
62
|
-
Online
|
|
63
|
-
|
|
64
|
-
https://developers.google.com/fonts/docs/getting_started
|
|
65
|
-
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
|
66
|
-
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
|
67
|
-
|
|
68
|
-
Installing fonts
|
|
69
|
-
|
|
70
|
-
MacOS: https://support.apple.com/en-us/HT201749
|
|
71
|
-
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
|
72
|
-
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
|
73
|
-
|
|
74
|
-
Android Apps
|
|
75
|
-
|
|
76
|
-
https://developers.google.com/fonts/docs/android
|
|
77
|
-
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
|
78
|
-
|
|
79
|
-
License
|
|
80
|
-
-------
|
|
81
|
-
Please read the full license text (OFL.txt) to understand the permissions,
|
|
82
|
-
restrictions and requirements for usage, redistribution, and modification.
|
|
83
|
-
|
|
84
|
-
You can use them in your products & projects – print or digital,
|
|
85
|
-
commercial or otherwise.
|
|
86
|
-
|
|
87
|
-
This isn't legal advice, please consider consulting a lawyer and see the full
|
|
88
|
-
license for all details.
|
|
1
|
+
Google Sans Code Variable Font
|
|
2
|
+
==============================
|
|
3
|
+
|
|
4
|
+
This download contains Google Sans Code as both variable fonts and static fonts.
|
|
5
|
+
|
|
6
|
+
Google Sans Code is a variable font with these axes:
|
|
7
|
+
MONO
|
|
8
|
+
wght
|
|
9
|
+
|
|
10
|
+
This means all the styles are contained in these files:
|
|
11
|
+
GoogleSansCode-VariableFont_MONO,wght.ttf
|
|
12
|
+
GoogleSansCode-Italic-VariableFont_MONO,wght.ttf
|
|
13
|
+
|
|
14
|
+
If your app fully supports variable fonts, you can now pick intermediate styles
|
|
15
|
+
that aren’t available as static fonts. Not all apps support variable fonts, and
|
|
16
|
+
in those cases you can use the static font files for Google Sans Code:
|
|
17
|
+
static/GoogleSansCode_Proportional-Light.ttf
|
|
18
|
+
static/GoogleSansCode_Proportional-Regular.ttf
|
|
19
|
+
static/GoogleSansCode_Proportional-Medium.ttf
|
|
20
|
+
static/GoogleSansCode_Proportional-SemiBold.ttf
|
|
21
|
+
static/GoogleSansCode_Proportional-Bold.ttf
|
|
22
|
+
static/GoogleSansCode_Proportional-ExtraBold.ttf
|
|
23
|
+
static/GoogleSansCode-Light.ttf
|
|
24
|
+
static/GoogleSansCode-Regular.ttf
|
|
25
|
+
static/GoogleSansCode-Medium.ttf
|
|
26
|
+
static/GoogleSansCode-SemiBold.ttf
|
|
27
|
+
static/GoogleSansCode-Bold.ttf
|
|
28
|
+
static/GoogleSansCode-ExtraBold.ttf
|
|
29
|
+
static/GoogleSansCode_Proportional-LightItalic.ttf
|
|
30
|
+
static/GoogleSansCode_Proportional-Italic.ttf
|
|
31
|
+
static/GoogleSansCode_Proportional-MediumItalic.ttf
|
|
32
|
+
static/GoogleSansCode_Proportional-SemiBoldItalic.ttf
|
|
33
|
+
static/GoogleSansCode_Proportional-BoldItalic.ttf
|
|
34
|
+
static/GoogleSansCode_Proportional-ExtraBoldItalic.ttf
|
|
35
|
+
static/GoogleSansCode-LightItalic.ttf
|
|
36
|
+
static/GoogleSansCode-Italic.ttf
|
|
37
|
+
static/GoogleSansCode-MediumItalic.ttf
|
|
38
|
+
static/GoogleSansCode-SemiBoldItalic.ttf
|
|
39
|
+
static/GoogleSansCode-BoldItalic.ttf
|
|
40
|
+
static/GoogleSansCode-ExtraBoldItalic.ttf
|
|
41
|
+
|
|
42
|
+
Get started
|
|
43
|
+
-----------
|
|
44
|
+
|
|
45
|
+
1. Install the font files you want to use
|
|
46
|
+
|
|
47
|
+
2. Use your app's font picker to view the font family and all the
|
|
48
|
+
available styles
|
|
49
|
+
|
|
50
|
+
Learn more about variable fonts
|
|
51
|
+
-------------------------------
|
|
52
|
+
|
|
53
|
+
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
|
54
|
+
https://variablefonts.typenetwork.com
|
|
55
|
+
https://medium.com/variable-fonts
|
|
56
|
+
|
|
57
|
+
In desktop apps
|
|
58
|
+
|
|
59
|
+
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
|
60
|
+
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
|
61
|
+
|
|
62
|
+
Online
|
|
63
|
+
|
|
64
|
+
https://developers.google.com/fonts/docs/getting_started
|
|
65
|
+
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
|
66
|
+
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
|
67
|
+
|
|
68
|
+
Installing fonts
|
|
69
|
+
|
|
70
|
+
MacOS: https://support.apple.com/en-us/HT201749
|
|
71
|
+
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
|
72
|
+
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
|
73
|
+
|
|
74
|
+
Android Apps
|
|
75
|
+
|
|
76
|
+
https://developers.google.com/fonts/docs/android
|
|
77
|
+
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
|
78
|
+
|
|
79
|
+
License
|
|
80
|
+
-------
|
|
81
|
+
Please read the full license text (OFL.txt) to understand the permissions,
|
|
82
|
+
restrictions and requirements for usage, redistribution, and modification.
|
|
83
|
+
|
|
84
|
+
You can use them in your products & projects – print or digital,
|
|
85
|
+
commercial or otherwise.
|
|
86
|
+
|
|
87
|
+
This isn't legal advice, please consider consulting a lawyer and see the full
|
|
88
|
+
license for all details.
|