bianic-ui 2.4.0 → 2.5.1-beta.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,8 @@
1
+ import React from 'react';
2
+ interface NotificationProps {
3
+ children?: React.ReactNode;
4
+ color?: 'red' | 'white';
5
+ isVisible?: boolean;
6
+ }
7
+ declare const Notification: (props: NotificationProps) => React.JSX.Element;
8
+ export default Notification;
@@ -17,6 +17,7 @@ export { TextInput, Radio, TextArea, Checkbox, SelectInput, LiveSearch, Toggle,
17
17
  export * from './Icons';
18
18
  export { default as InfoPanel } from './InfoPanel';
19
19
  export { default as Modal } from './Modal/Modal';
20
+ export { default as Notification } from './Notification';
20
21
  export { default as PaginationBar } from './PaginationBar/PaginationBar';
21
22
  export { default as Pills } from './Pills/Pills';
22
23
  export { default as Popover } from './Popover';
package/dist/index.d.ts CHANGED
@@ -610,6 +610,13 @@ interface ModalProps extends ComponentPropsWithoutRef<'div'> {
610
610
  }
611
611
  declare function Modal({ size, title, open, zIndex, onClose, onClick, ...rest }: ModalProps): any;
612
612
 
613
+ interface NotificationProps {
614
+ children?: React$1.ReactNode;
615
+ color?: 'red' | 'white';
616
+ isVisible?: boolean;
617
+ }
618
+ declare const Notification: (props: NotificationProps) => React$1.JSX.Element;
619
+
613
620
  interface PagingProps extends ComponentPropsWithoutRef<'div'> {
614
621
  size: 'sm' | 'md';
615
622
  position: 'start' | 'center' | 'end';
@@ -876,4 +883,4 @@ declare function Window({ size, title, zIndex, onClose, ...rest }: WindowProps):
876
883
  */
877
884
  declare function getRelativeTime(date: Date): string;
878
885
 
879
- 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, 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 };
886
+ 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 };
package/package.json CHANGED
@@ -3,8 +3,12 @@
3
3
  "publishConfig": {
4
4
  "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
5
  },
6
- "version": "2.4.0",
6
+ "version": "2.5.1-beta.0",
7
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
+ },
8
12
  "scripts": {
9
13
  "rollup": "rollup -c",
10
14
  "storybook": "storybook dev -p 6006",
@@ -14,8 +18,8 @@
14
18
  "lint:fix": "npx eslint src/components --fix",
15
19
  "prepare": "husky install",
16
20
  "release": "standard-version",
17
- "full-release": "npm run release && git push --follow-tags origin development-temporary && npm run rollup && npm publish",
18
- "release:beta": "npm run release -- --prerelease beta && git push --follow-tags origin development-temporary && npm publish --tag beta"
21
+ "full-release": "npm run rollup && npm run release && git push --follow-tags origin development-temporary && npm publish",
22
+ "release:beta": "npm run rollup && npm run release -- --prerelease beta && git push --follow-tags origin development-temporary && npm publish --tag beta"
19
23
  },
20
24
  "standard-version": {
21
25
  "types": [