reactive-bulma 2.16.0 → 2.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { MediaProps } from '../../../interfaces/moleculeProps';
3
+ declare const Media: React.FC<MediaProps>;
4
+ export default Media;
@@ -15,3 +15,4 @@ export { default as PanelTabs } from './PanelTabs';
15
15
  export { default as LevelItem } from '../molecules/LevelItem';
16
16
  export { default as TileBox } from './TileBox';
17
17
  export { default as Footer } from './Footer';
18
+ export { default as Media } from './Media';
@@ -181,4 +181,12 @@ export interface FooterProps extends ComposedElementProps {
181
181
  /** `Styling` Centers footer¿s content horizontally */
182
182
  isContentCentered?: boolean;
183
183
  }
184
+ export interface MediaProps extends ElementProps {
185
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's left side */
186
+ leftContent?: SingleChildType;
187
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's center */
188
+ centerContent?: SingleChildType;
189
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's right side */
190
+ rightContent?: SingleChildType;
191
+ }
184
192
  export {};
@@ -11,3 +11,4 @@ export declare enum IconSizeEnum {
11
11
  'is-large' = 48
12
12
  }
13
13
  export type TileContextType = 'is-child' | 'is-parent' | 'is-ancestor';
14
+ export type MediaSectionType = 'left' | 'content' | 'right';
package/dist/index.d.ts CHANGED
@@ -564,6 +564,14 @@ interface FooterProps extends ComposedElementProps {
564
564
  /** `Styling` Centers footer¿s content horizontally */
565
565
  isContentCentered?: boolean;
566
566
  }
567
+ interface MediaProps extends ElementProps {
568
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's left side */
569
+ leftContent?: SingleChildType;
570
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's center */
571
+ centerContent?: SingleChildType;
572
+ /** `Attribute` Reffers to the component or string content that will be shown inside the component's right side */
573
+ rightContent?: SingleChildType;
574
+ }
567
575
 
568
576
  declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
569
577
 
@@ -599,6 +607,8 @@ declare const TileBox: React$1.FC<TileBoxProps>;
599
607
 
600
608
  declare const Footer: React$1.FC<FooterProps>;
601
609
 
610
+ declare const Media: React$1.FC<MediaProps>;
611
+
602
612
  interface FormFieldHelperProps {
603
613
  text?: string;
604
614
  color?: BasicColorType;
@@ -662,4 +672,4 @@ declare const Hero: React$1.FC<HeroProps>;
662
672
 
663
673
  declare const TileGroup: React$1.FC<TileGroupProps>;
664
674
 
665
- export { Block, Box, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, CheckBox as Checkbox, Column, ColumnGroup, Delete, Dropdown, DropdownItem, DropdownTrigger, File, Footer, FormField, Hero, Icon, Image, Input, InputControl, Level, LevelHeader, LevelItem, Menu, MenuItem, MenuList, Message, Modal, Notification, Pagination, PaginationItem, Panel, PanelBlock, PanelTabs, ProgressBar, RadioButton, Select, TabItem, Tabs, Tag, TextArea, Tile, TileBox, TileGroup, Title };
675
+ export { Block, Box, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, CheckBox as Checkbox, Column, ColumnGroup, Delete, Dropdown, DropdownItem, DropdownTrigger, File, Footer, FormField, Hero, Icon, Image, Input, InputControl, Level, LevelHeader, LevelItem, Media, Menu, MenuItem, MenuList, Message, Modal, Notification, Pagination, PaginationItem, Panel, PanelBlock, PanelTabs, ProgressBar, RadioButton, Select, TabItem, Tabs, Tag, TextArea, Tile, TileBox, TileGroup, Title };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactive-bulma",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "description": "A component library based on React, Bulma, Typescript and Rollup",
5
5
  "keywords": [
6
6
  "typescript",