bianic-ui 2.6.0-beta.5 → 2.7.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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const OutsideControl: () => React.JSX.Element;
3
+ export default OutsideControl;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IconProps } from './interface';
3
+ declare const Rhombus: ({ className, fill, size, }: IconProps) => React.JSX.Element;
4
+ export default Rhombus;
@@ -1,22 +1,23 @@
1
- export { default as BCNode } from './Node';
2
- export { default as BCPort } from './Port';
3
- export { default as BCExposedPort } from './ExposedPort';
4
- export { default as BCVirtualPort } from './VirtualPort';
5
1
  export { default as BCAlertRoundedSquare } from './AlertRoundedSquare';
6
- export { default as BCStack } from './Stack';
7
- export { default as BCDiscrepancy } from './Discrepancy';
8
- export { default as BCModalBalance } from './ModelBalance';
9
2
  export { default as BCCubeHeader } from './CubeHeader';
10
- export { default as BCLegend } from './Legend';
11
- export { default as BCSelectAllRemove } from './SelectAllRemove';
12
- export { default as BCSelectAllAdd } from './SelectAllAdd';
13
- export { default as BCFQWelldone } from './FQWelldone';
14
- export { default as BCFQOperation } from './FQOperation';
15
- export { default as BCFQModeler } from './FQModeler';
16
- export { default as BCFQGetaway } from './FQGetaway';
17
- export { default as BCFQAnalytical } from './FQAnalytical';
3
+ export { default as BCDiscrepancy } from './Discrepancy';
4
+ export { default as BCExposedPort } from './ExposedPort';
18
5
  export { default as BCFlowqount } from './Flowqount';
19
- export { default as BCSpinner } from './Spinner';
20
- export { default as BCOutlet } from './Outlet';
6
+ export { default as BCFQAnalytical } from './FQAnalytical';
7
+ export { default as BCFQGetaway } from './FQGetaway';
8
+ export { default as BCFQModeler } from './FQModeler';
9
+ export { default as BCFQOperation } from './FQOperation';
10
+ export { default as BCFQWelldone } from './FQWelldone';
21
11
  export { default as BCInlet } from './Inlet';
12
+ export { default as BCLegend } from './Legend';
13
+ export { default as BCModalBalance } from './ModelBalance';
22
14
  export { default as BCNeutral } from './Neutral';
15
+ export { default as BCNode } from './Node';
16
+ export { default as BCOutlet } from './Outlet';
17
+ export { default as BCPort } from './Port';
18
+ export { default as BCSelectAllAdd } from './SelectAllAdd';
19
+ export { default as BCSelectAllRemove } from './SelectAllRemove';
20
+ export { default as BCSpinner } from './Spinner';
21
+ export { default as BCStack } from './Stack';
22
+ export { default as BCRhombus } from './Rhombus';
23
+ export { default as BCVirtualPort } from './VirtualPort';
@@ -5,6 +5,8 @@ interface TooltipProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'>
5
5
  delay?: number;
6
6
  maxWidth?: string;
7
7
  zIndex?: number;
8
+ bgColor?: string;
9
+ textColor?: string;
8
10
  direction?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
9
11
  }
10
12
  interface TooltipItemProps {
@@ -15,6 +17,8 @@ interface TooltipItemProps {
15
17
  tooltipContainerStyle: React.CSSProperties;
16
18
  style?: ComponentPropsWithRef<'div'>['style'];
17
19
  zIndex: number;
20
+ bgColor?: string;
21
+ textColor?: string;
18
22
  direction?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
19
23
  }
20
24
  export { TooltipProps, TooltipItemProps };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import TooltipProps from './PropsInterface';
2
+ import { TooltipProps } from './PropsInterface';
3
3
  declare function TooltipDemo(props: TooltipProps): React.JSX.Element;
4
4
  declare namespace TooltipDemo {
5
5
  var defaultProps: {
@@ -0,0 +1,12 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: () => React.JSX.Element;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const OutsideControlDemo: Story;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ className, fill, size, }: import("../../components/Icons/interface").IconProps) => import("react").JSX.Element;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ tags: string[];
10
+ args: {};
11
+ };
12
+ export default meta;
13
+ type Story = StoryObj<typeof meta>;
14
+ export declare const Preview: Story;
package/dist/index.d.ts CHANGED
@@ -545,49 +545,51 @@ interface IconProps {
545
545
  strokeWidth?: number | string;
546
546
  }
547
547
 
548
- declare const Node: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
548
+ declare const AlertRoundedSquare: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
549
549
 
550
- declare const Port: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
550
+ declare const CubeHeader: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
551
+
552
+ declare const Discrepancy: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
551
553
 
552
554
  declare const ExposedPort: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
553
555
 
554
- declare const VirtualPort: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
556
+ declare const Flowqount: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
555
557
 
556
- declare const AlertRoundedSquare: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
558
+ declare const FQAnalytical: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
557
559
 
558
- declare const Stack: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
560
+ declare const FQGetaway: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
559
561
 
560
- declare const Discrepancy: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
562
+ declare const FQModeler: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
561
563
 
562
- declare const ModalBalance: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
564
+ declare const FQOperation: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
563
565
 
564
- declare const CubeHeader: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
566
+ declare const FQWelldone: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
565
567
 
566
- declare const Legend: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
568
+ declare const Inlet: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
567
569
 
568
- declare const SelectAllRemove: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
570
+ declare const Legend: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
569
571
 
570
- declare const SelectAllAdd: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
572
+ declare const ModalBalance: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
571
573
 
572
- declare const FQWelldone: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
574
+ declare const Neutral: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
573
575
 
574
- declare const FQOperation: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
576
+ declare const Node: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
575
577
 
576
- declare const FQModeler: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
578
+ declare const Outlet: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
577
579
 
578
- declare const FQGetaway: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
580
+ declare const Port: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
579
581
 
580
- declare const FQAnalytical: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
582
+ declare const SelectAllAdd: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
581
583
 
582
- declare const Flowqount: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
584
+ declare const SelectAllRemove: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
583
585
 
584
586
  declare const Spinner$1: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
585
587
 
586
- declare const Outlet: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
588
+ declare const Stack: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
587
589
 
588
- declare const Inlet: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
590
+ declare const Rhombus: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
589
591
 
590
- declare const Neutral: ({ className, fill, size, }: IconProps) => React$1.JSX.Element;
592
+ declare const VirtualPort: ({ className, fill, size }: IconProps) => React$1.JSX.Element;
591
593
 
592
594
  interface InfoPanelProps {
593
595
  variant?: 'container' | 'form-sm' | 'form-md';
@@ -785,6 +787,8 @@ interface TooltipProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'>
785
787
  delay?: number;
786
788
  maxWidth?: string;
787
789
  zIndex?: number;
790
+ bgColor?: string;
791
+ textColor?: string;
788
792
  direction?: 'top' | 'right' | 'bottom' | 'left' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
789
793
  }
790
794
 
@@ -888,4 +892,4 @@ declare function Window({ size, title, zIndex, onClose, ...rest }: WindowProps):
888
892
  */
889
893
  declare function getRelativeTime(date: Date): string;
890
894
 
891
- 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, SelectAllAdd as BCSelectAllAdd, SelectAllRemove as BCSelectAllRemove, Spinner$1 as BCSpinner, Stack as BCStack, VirtualPort as BCVirtualPort, Badge, Banner, Brand, Breadcrumb, Button, ButtonApp, Card, Checkbox, Color, ContextualButton, DatePicker, Display, Divider, DropdownContainer, DropdownItem, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, Slider, Spinner, Tab, TabMenu, TableCell, TagLabel, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, Window, getRelativeTime, useFileTree };
895
+ 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, VirtualPort as BCVirtualPort, Badge, Banner, Brand, Breadcrumb, Button, ButtonApp, Card, Checkbox, Color, ContextualButton, DatePicker, Display, Divider, DropdownContainer, DropdownItem, FileTree, FormGroup, FormGroupButton, FormGroupLabel, FormLabel, Heading, InfoPanel, Link, LiveSearch, MenuContainer, MenuItem, Modal, Notification, P, PaginationBar, PickerCalendar, Pills, Popover, ProgressBar, ProgressCircle, Radio, ResizeableDiv, SegmentButtonGroup, SegmentButtonItem, SelectInput, Slider, Spinner, Tab, TabMenu, TableCell, TagLabel, Text, TextArea, TextInput, Toaster, Toggle, Tooltip, TreeItem, Window, getRelativeTime, useFileTree };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
5
  },
6
- "version": "2.6.0-beta.5",
6
+ "version": "2.7.0",
7
7
  "description": "Design Language System develop by BIAENERGI",
8
8
  "repository": {
9
9
  "type": "git",
@@ -624,4 +624,27 @@
624
624
  --grey-dark-70: color-mix(in srgb, var(--grey), var(--dark) 70%);
625
625
  --grey-dark-80: color-mix(in srgb, var(--grey), var(--dark) 80%);
626
626
  --grey-dark-90: color-mix(in srgb, var(--grey), var(--dark) 90%);
627
+
628
+ /* brown */
629
+ --brown: #e09673;
630
+
631
+ --brown-light-10: color-mix(in srgb, var(--brown), var(--primary-white) 10%);
632
+ --brown-light-20: color-mix(in srgb, var(--brown), var(--primary-white) 20%);
633
+ --brown-light-30: color-mix(in srgb, var(--brown), var(--primary-white) 30%);
634
+ --brown-light-40: color-mix(in srgb, var(--brown), var(--primary-white) 40%);
635
+ --brown-light-50: color-mix(in srgb, var(--brown), var(--primary-white) 50%);
636
+ --brown-light-60: color-mix(in srgb, var(--brown), var(--primary-white) 60%);
637
+ --brown-light-70: color-mix(in srgb, var(--brown), var(--primary-white) 70%);
638
+ --brown-light-80: color-mix(in srgb, var(--brown), var(--primary-white) 80%);
639
+ --brown-light-90: color-mix(in srgb, var(--brown), var(--primary-white) 90%);
640
+
641
+ --brown-dark-10: color-mix(in srgb, var(--brown), var(--dark) 10%);
642
+ --brown-dark-20: color-mix(in srgb, var(--brown), var(--dark) 20%);
643
+ --brown-dark-30: color-mix(in srgb, var(--brown), var(--dark) 30%);
644
+ --brown-dark-40: color-mix(in srgb, var(--brown), var(--dark) 40%);
645
+ --brown-dark-50: color-mix(in srgb, var(--brown), var(--dark) 50%);
646
+ --brown-dark-60: color-mix(in srgb, var(--brown), var(--dark) 60%);
647
+ --brown-dark-70: color-mix(in srgb, var(--brown), var(--dark) 70%);
648
+ --brown-dark-80: color-mix(in srgb, var(--brown), var(--dark) 80%);
649
+ --brown-dark-90: color-mix(in srgb, var(--brown), var(--dark) 90%);
627
650
  }
@@ -437,6 +437,35 @@ module.exports = {
437
437
  90: 'var(--marguerite-dark-90)',
438
438
  },
439
439
  },
440
+ 'bia-brown': {
441
+ DEFAULT: 'var(--brown)',
442
+ hover: 'var(--brown-light-10)',
443
+ active: 'var(--brown-dark-10)',
444
+ disabled: 'var(--brown-light-50)',
445
+ pastel: 'var(--brown-light-90)',
446
+ light: {
447
+ 10: 'var(--brown-light-10)',
448
+ 20: 'var(--brown-light-20)',
449
+ 30: 'var(--brown-light-30)',
450
+ 40: 'var(--brown-light-40)',
451
+ 50: 'var(--brown-light-50)',
452
+ 60: 'var(--brown-light-60)',
453
+ 70: 'var(--brown-light-70)',
454
+ 80: 'var(--brown-light-80)',
455
+ 90: 'var(--brown-light-90)',
456
+ },
457
+ dark: {
458
+ 10: 'var(--brown-dark-10)',
459
+ 20: 'var(--brown-dark-20)',
460
+ 30: 'var(--brown-dark-30)',
461
+ 40: 'var(--brown-dark-40)',
462
+ 50: 'var(--brown-dark-50)',
463
+ 60: 'var(--brown-dark-60)',
464
+ 70: 'var(--brown-dark-70)',
465
+ 80: 'var(--brown-dark-80)',
466
+ 90: 'var(--brown-dark-90)',
467
+ },
468
+ },
440
469
  primary: {
441
470
  black: '#2f2f2f',
442
471
  cool: '#8b8ba6',