@allxsmith/bestax-bulma 1.0.7 → 1.0.9

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.
Files changed (62) hide show
  1. package/README.md +3 -3
  2. package/package.json +45 -5
  3. package/dist/index.cjs.js +0 -2002
  4. package/dist/index.cjs.js.map +0 -1
  5. package/dist/index.esm.js +0 -1904
  6. package/dist/index.esm.js.map +0 -1
  7. package/dist/types/columns/Column.d.ts +0 -30
  8. package/dist/types/columns/Columns.d.ts +0 -23
  9. package/dist/types/components/Breadcrumb.d.ts +0 -17
  10. package/dist/types/components/Card.d.ts +0 -20
  11. package/dist/types/components/Dropdown.d.ts +0 -30
  12. package/dist/types/components/Menu.d.ts +0 -31
  13. package/dist/types/components/Message.d.ts +0 -13
  14. package/dist/types/components/Modal.d.ts +0 -15
  15. package/dist/types/components/Navbar.d.ts +0 -83
  16. package/dist/types/components/Pagination.d.ts +0 -49
  17. package/dist/types/components/Panel.d.ts +0 -55
  18. package/dist/types/components/Tab.d.ts +0 -30
  19. package/dist/types/components/Tabs.d.ts +0 -30
  20. package/dist/types/elements/Block.d.ts +0 -10
  21. package/dist/types/elements/Box.d.ts +0 -11
  22. package/dist/types/elements/Button.d.ts +0 -28
  23. package/dist/types/elements/Buttons.d.ts +0 -14
  24. package/dist/types/elements/Content.d.ts +0 -12
  25. package/dist/types/elements/Delete.d.ts +0 -14
  26. package/dist/types/elements/Icon.d.ts +0 -17
  27. package/dist/types/elements/IconText.d.ts +0 -18
  28. package/dist/types/elements/Image.d.ts +0 -17
  29. package/dist/types/elements/Notification.d.ts +0 -11
  30. package/dist/types/elements/Progress.d.ts +0 -11
  31. package/dist/types/elements/SubTitle.d.ts +0 -14
  32. package/dist/types/elements/Table.d.ts +0 -13
  33. package/dist/types/elements/Tag.d.ts +0 -18
  34. package/dist/types/elements/Tags.d.ts +0 -9
  35. package/dist/types/elements/Tbody.d.ts +0 -7
  36. package/dist/types/elements/Td.d.ts +0 -10
  37. package/dist/types/elements/Tfoot.d.ts +0 -7
  38. package/dist/types/elements/Th.d.ts +0 -14
  39. package/dist/types/elements/Thead.d.ts +0 -7
  40. package/dist/types/elements/Title.d.ts +0 -15
  41. package/dist/types/elements/Tr.d.ts +0 -10
  42. package/dist/types/form/Checkbox.d.ts +0 -9
  43. package/dist/types/form/Checkboxes.d.ts +0 -8
  44. package/dist/types/form/Control.d.ts +0 -31
  45. package/dist/types/form/Field.d.ts +0 -39
  46. package/dist/types/form/File.d.ts +0 -19
  47. package/dist/types/form/Input.d.ts +0 -16
  48. package/dist/types/form/Radio.d.ts +0 -9
  49. package/dist/types/form/Radios.d.ts +0 -8
  50. package/dist/types/form/Select.d.ts +0 -16
  51. package/dist/types/form/TextArea.d.ts +0 -19
  52. package/dist/types/grid/Cell.d.ts +0 -17
  53. package/dist/types/grid/Grid.d.ts +0 -25
  54. package/dist/types/helpers/classNames.d.ts +0 -2
  55. package/dist/types/helpers/useBulmaClasses.d.ts +0 -64
  56. package/dist/types/index.d.ts +0 -54
  57. package/dist/types/layout/Container.d.ts +0 -17
  58. package/dist/types/layout/Footer.d.ts +0 -12
  59. package/dist/types/layout/Hero.d.ts +0 -41
  60. package/dist/types/layout/Level.d.ts +0 -45
  61. package/dist/types/layout/Media.d.ts +0 -41
  62. package/dist/types/layout/Section.d.ts +0 -13
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface TabsProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
4
- align?: 'centered' | 'right' | 'left';
5
- size?: 'small' | 'medium' | 'large';
6
- fullwidth?: boolean;
7
- boxed?: boolean;
8
- toggle?: boolean;
9
- rounded?: boolean;
10
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white';
11
- className?: string;
12
- children?: React.ReactNode;
13
- }
14
- export interface TabListProps extends React.HTMLAttributes<HTMLUListElement> {
15
- className?: string;
16
- children?: React.ReactNode;
17
- }
18
- export interface TabItemProps extends React.LiHTMLAttributes<HTMLLIElement> {
19
- active?: boolean;
20
- className?: string;
21
- children?: React.ReactNode;
22
- onClick?: React.MouseEventHandler<HTMLLIElement>;
23
- }
24
- export declare const Tabs: React.FC<TabsProps> & {
25
- List: typeof TabList;
26
- Item: typeof TabItem;
27
- };
28
- export declare const TabList: React.FC<TabListProps>;
29
- export declare const TabItem: React.FC<TabItemProps>;
30
- export default Tabs;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export interface BlockProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
4
- className?: string;
5
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
6
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
7
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
8
- children?: React.ReactNode;
9
- }
10
- export declare const Block: React.FC<BlockProps>;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export interface BoxProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
4
- className?: string;
5
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
6
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
7
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
8
- hasShadow?: boolean;
9
- children?: React.ReactNode;
10
- }
11
- export declare const Box: React.FC<BoxProps>;
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'onClick'>, Omit<BulmaClassesProps, 'color' | 'backgroundColor' | 'size'> {
4
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
5
- size?: 'small' | 'normal' | 'medium' | 'large';
6
- isLight?: boolean;
7
- isRounded?: boolean;
8
- isLoading?: boolean;
9
- isStatic?: boolean;
10
- isFullWidth?: boolean;
11
- isOutlined?: boolean;
12
- isInverted?: boolean;
13
- isFocused?: boolean;
14
- isActive?: boolean;
15
- isHovered?: boolean;
16
- isDisabled?: boolean;
17
- className?: string;
18
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
19
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
20
- as?: 'a' | 'button';
21
- href?: string;
22
- onClick?: React.MouseEventHandler<HTMLButtonElement> | React.MouseEventHandler<HTMLAnchorElement>;
23
- target?: string;
24
- rel?: string;
25
- children?: React.ReactNode;
26
- }
27
- export declare const Button: React.FC<ButtonProps>;
28
- export default Button;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- interface ButtonsProps extends React.HTMLAttributes<HTMLDivElement>, BulmaClassesProps {
4
- className?: string;
5
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
6
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
7
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
8
- isCentered?: boolean;
9
- isRight?: boolean;
10
- hasAddons?: boolean;
11
- children: React.ReactNode;
12
- }
13
- export declare const Buttons: React.FC<ButtonsProps>;
14
- export {};
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- interface ContentProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
4
- className?: string;
5
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
6
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
7
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
8
- size?: 'small' | 'normal' | 'medium' | 'large';
9
- children?: React.ReactNode;
10
- }
11
- export declare const Content: React.FC<ContentProps>;
12
- export default Content;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- interface DeleteProps extends React.HTMLAttributes<HTMLButtonElement>, BulmaClassesProps {
4
- className?: string;
5
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
6
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
7
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
8
- onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
9
- size?: 'small' | 'medium' | 'large';
10
- ariaLabel?: string;
11
- disabled?: boolean;
12
- }
13
- export declare const Delete: React.FC<DeleteProps>;
14
- export {};
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- type IconLibrary = 'fa' | 'mdi' | 'ion';
4
- export interface IconProps extends React.HTMLAttributes<HTMLSpanElement>, BulmaClassesProps {
5
- className?: string;
6
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
7
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
8
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
9
- name: string;
10
- library?: IconLibrary;
11
- libraryFeatures?: string | string[];
12
- size?: 'small' | 'medium' | 'large';
13
- ariaLabel?: string;
14
- style?: React.CSSProperties;
15
- }
16
- export declare const Icon: React.FC<IconProps>;
17
- export {};
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- import { IconProps } from './Icon';
4
- interface IconTextItem {
5
- iconProps: IconProps;
6
- text?: string;
7
- }
8
- interface IconTextProps extends React.HTMLAttributes<HTMLSpanElement>, BulmaClassesProps {
9
- className?: string;
10
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
11
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
12
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
13
- iconProps?: IconProps;
14
- children?: React.ReactNode;
15
- items?: IconTextItem[];
16
- }
17
- export declare const IconText: React.FC<IconTextProps>;
18
- export {};
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export interface ImageProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
4
- className?: string;
5
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
6
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
7
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
8
- size?: '16x16' | '24x24' | '32x32' | '48x48' | '64x64' | '96x96' | '128x128' | 'square' | '1by1' | '5by4' | '4by3' | '3by2' | '5by3' | '16by9' | '2by1' | '3by1' | '4by5' | '3by4' | '2by3' | '3by5' | '9by16' | '1by2' | '1by3';
9
- isRounded?: boolean;
10
- isRetina?: boolean;
11
- src?: string;
12
- alt?: string;
13
- children?: React.ReactNode;
14
- as?: 'figure' | 'div' | 'p';
15
- }
16
- export declare const Image: React.FC<ImageProps>;
17
- export default Image;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export interface NotificationProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
4
- className?: string;
5
- color?: (typeof validColors)[number];
6
- isLight?: boolean;
7
- hasDelete?: boolean;
8
- onDelete?: () => void;
9
- children?: React.ReactNode;
10
- }
11
- export declare const Notification: React.FC<NotificationProps>;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export interface ProgressProps extends React.ProgressHTMLAttributes<HTMLProgressElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
4
- className?: string;
5
- color?: (typeof validColors)[number];
6
- size?: 'small' | 'medium' | 'large';
7
- value?: number;
8
- max?: number;
9
- children?: React.ReactNode;
10
- }
11
- export declare const Progress: React.FC<ProgressProps>;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- declare const validSubTitleSizes: readonly ["1", "2", "3", "4", "5", "6"];
4
- export type SubTitleSize = (typeof validSubTitleSizes)[number];
5
- declare const validSubTitleElements: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p"];
6
- export type SubTitleElement = (typeof validSubTitleElements)[number];
7
- export interface SubTitleProps extends Omit<React.HTMLAttributes<HTMLHeadingElement | HTMLParagraphElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
8
- className?: string;
9
- size?: SubTitleSize;
10
- as?: SubTitleElement;
11
- children?: React.ReactNode;
12
- }
13
- export declare const SubTitle: React.FC<SubTitleProps>;
14
- export default SubTitle;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface TableProps extends Omit<React.TableHTMLAttributes<HTMLTableElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor'> {
4
- className?: string;
5
- isBordered?: boolean;
6
- isStriped?: boolean;
7
- isNarrow?: boolean;
8
- isHoverable?: boolean;
9
- isFullwidth?: boolean;
10
- isResponsive?: boolean;
11
- children?: React.ReactNode;
12
- }
13
- export declare const Table: React.FC<TableProps>;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- declare const validTagColors: readonly ["primary", "link", "info", "success", "warning", "danger", "black", "dark", "light", "white"];
4
- export type TagColor = (typeof validTagColors)[number];
5
- declare const validTagSizes: readonly ["normal", "medium", "large"];
6
- export type TagSize = (typeof validTagSizes)[number];
7
- export interface TagProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
8
- className?: string;
9
- color?: TagColor;
10
- size?: TagSize;
11
- isRounded?: boolean;
12
- isDelete?: boolean;
13
- isHoverable?: boolean;
14
- onDelete?: () => void;
15
- children?: React.ReactNode;
16
- }
17
- export declare const Tag: React.FC<TagProps>;
18
- export {};
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface TagsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
4
- className?: string;
5
- hasAddons?: boolean;
6
- isMultiline?: boolean;
7
- children?: React.ReactNode;
8
- }
9
- export declare const Tags: React.FC<TagsProps>;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface TbodyProps extends Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor'> {
4
- className?: string;
5
- children?: React.ReactNode;
6
- }
7
- export declare const Tbody: React.FC<TbodyProps>;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export declare const validTableColors: readonly ["primary", "link", "info", "success", "warning", "danger", "black", "dark", "light", "white"];
4
- export type TableColor = (typeof validTableColors)[number];
5
- export interface TdProps extends Omit<React.TdHTMLAttributes<HTMLTableCellElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
6
- className?: string;
7
- color?: TableColor;
8
- children?: React.ReactNode;
9
- }
10
- export declare const Td: React.FC<TdProps>;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface TfootProps extends Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor'> {
4
- className?: string;
5
- children?: React.ReactNode;
6
- }
7
- export declare const Tfoot: React.FC<TfootProps>;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- import { TableColor } from './Td';
4
- declare const validAlignments: readonly ["left", "right", "centered"];
5
- type TableAlignment = (typeof validAlignments)[number];
6
- export interface ThProps extends Omit<React.ThHTMLAttributes<HTMLTableCellElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
7
- className?: string;
8
- isAligned?: TableAlignment;
9
- width?: string | number;
10
- color?: TableColor;
11
- children?: React.ReactNode;
12
- }
13
- export declare const Th: React.FC<ThProps>;
14
- export {};
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface TheadProps extends Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor'> {
4
- className?: string;
5
- children?: React.ReactNode;
6
- }
7
- export declare const Thead: React.FC<TheadProps>;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- declare const validTitleSizes: readonly ["1", "2", "3", "4", "5", "6"];
4
- export type TitleSize = (typeof validTitleSizes)[number];
5
- declare const validTitleElements: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p"];
6
- export type TitleElement = (typeof validTitleElements)[number];
7
- export interface TitleProps extends Omit<React.HTMLAttributes<HTMLHeadingElement | HTMLParagraphElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
8
- className?: string;
9
- size?: TitleSize;
10
- isSpaced?: boolean;
11
- as?: TitleElement;
12
- children?: React.ReactNode;
13
- }
14
- export declare const Title: React.FC<TitleProps>;
15
- export default Title;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- import { TableColor } from './Td';
4
- export interface TrProps extends Omit<React.HTMLAttributes<HTMLTableRowElement>, 'color'>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
5
- className?: string;
6
- isSelected?: boolean;
7
- color?: TableColor;
8
- children?: React.ReactNode;
9
- }
10
- export declare const Tr: React.FC<TrProps>;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'color'>, Omit<BulmaClassesProps, 'color'> {
4
- disabled?: boolean;
5
- className?: string;
6
- children?: React.ReactNode;
7
- }
8
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
9
- export default Checkbox;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface CheckboxesProps extends Omit<BulmaClassesProps, 'color'> {
4
- className?: string;
5
- children?: React.ReactNode;
6
- }
7
- declare const Checkboxes: React.FC<CheckboxesProps>;
8
- export default Checkboxes;
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- import { IconProps } from '../elements/Icon';
4
- export interface ControlBaseProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
5
- hasIconsLeft?: boolean;
6
- hasIconsRight?: boolean;
7
- isLoading?: boolean;
8
- isExpanded?: boolean;
9
- size?: 'small' | 'medium' | 'large';
10
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
11
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
12
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
13
- iconLeft?: IconProps;
14
- iconRight?: IconProps;
15
- iconLeftName?: string;
16
- iconLeftSize?: 'small' | 'medium' | 'large';
17
- iconRightName?: string;
18
- iconRightSize?: 'small' | 'medium' | 'large';
19
- className?: string;
20
- children?: React.ReactNode;
21
- }
22
- declare const Control: React.ForwardRefExoticComponent<(Omit<{
23
- as?: "div";
24
- } & ControlBaseProps & {
25
- ref?: React.Ref<HTMLDivElement>;
26
- }, "ref"> | Omit<{
27
- as: "p";
28
- } & Omit<ControlBaseProps, keyof React.HTMLAttributes<HTMLDivElement>> & React.HTMLAttributes<HTMLParagraphElement> & {
29
- ref?: React.Ref<HTMLParagraphElement>;
30
- }, "ref">) & React.RefAttributes<HTMLDivElement | HTMLParagraphElement>>;
31
- export default Control;
@@ -1,39 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export interface FieldProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
4
- horizontal?: boolean;
5
- grouped?: boolean | 'centered' | 'right' | 'multiline';
6
- hasAddons?: boolean;
7
- label?: React.ReactNode;
8
- labelSize?: 'small' | 'normal' | 'medium' | 'large';
9
- labelProps?: React.LabelHTMLAttributes<HTMLLabelElement> & {
10
- [key: string]: unknown;
11
- };
12
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
13
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
14
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
15
- className?: string;
16
- children?: React.ReactNode;
17
- }
18
- export interface FieldLabelProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
19
- size?: 'small' | 'normal' | 'medium' | 'large';
20
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
21
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
22
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
23
- className?: string;
24
- children?: React.ReactNode;
25
- }
26
- export interface FieldBodyProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
27
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
28
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
29
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
30
- className?: string;
31
- children?: React.ReactNode;
32
- }
33
- declare const FieldLabel: React.FC<FieldLabelProps>;
34
- declare const FieldBody: React.FC<FieldBodyProps>;
35
- declare const Field: React.FC<FieldProps> & {
36
- Label: typeof FieldLabel;
37
- Body: typeof FieldBody;
38
- };
39
- export default Field;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface FileProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'color' | 'type'>, Omit<BulmaClassesProps, 'color'> {
4
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white';
5
- size?: 'small' | 'medium' | 'large';
6
- isBoxed?: boolean;
7
- isFullwidth?: boolean;
8
- isRight?: boolean;
9
- isCentered?: boolean;
10
- hasName?: boolean;
11
- label?: React.ReactNode;
12
- iconLeft?: React.ReactNode;
13
- iconRight?: React.ReactNode;
14
- className?: string;
15
- inputClassName?: string;
16
- fileName?: string;
17
- }
18
- declare const File: React.ForwardRefExoticComponent<FileProps & React.RefAttributes<HTMLInputElement>>;
19
- export default File;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, Omit<BulmaClassesProps, 'color'> {
4
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white';
5
- size?: 'small' | 'medium' | 'large';
6
- isRounded?: boolean;
7
- isStatic?: boolean;
8
- isHovered?: boolean;
9
- isFocused?: boolean;
10
- isLoading?: boolean;
11
- className?: string;
12
- disabled?: boolean;
13
- readOnly?: boolean;
14
- }
15
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
16
- export default Input;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'color'>, Omit<BulmaClassesProps, 'color'> {
4
- disabled?: boolean;
5
- className?: string;
6
- children?: React.ReactNode;
7
- }
8
- declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
9
- export default Radio;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface RadiosProps extends Omit<BulmaClassesProps, 'color'> {
4
- className?: string;
5
- children: React.ReactNode;
6
- }
7
- declare const Radios: React.FC<RadiosProps>;
8
- export default Radios;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'size'>, Omit<BulmaClassesProps, 'color'> {
4
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white';
5
- size?: 'small' | 'medium' | 'large';
6
- isRounded?: boolean;
7
- isLoading?: boolean;
8
- isActive?: boolean;
9
- className?: string;
10
- disabled?: boolean;
11
- multiple?: boolean;
12
- multipleSize?: number;
13
- children?: React.ReactNode;
14
- }
15
- declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
16
- export default Select;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps } from '../helpers/useBulmaClasses';
3
- export interface TextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, Omit<BulmaClassesProps, 'color'> {
4
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white';
5
- size?: 'small' | 'medium' | 'large';
6
- isRounded?: boolean;
7
- isStatic?: boolean;
8
- isHovered?: boolean;
9
- isFocused?: boolean;
10
- isLoading?: boolean;
11
- isActive?: boolean;
12
- hasFixedSize?: boolean;
13
- className?: string;
14
- disabled?: boolean;
15
- readOnly?: boolean;
16
- rows?: number;
17
- }
18
- declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
19
- export default TextArea;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export type CellSpanValue = number;
4
- export interface CellProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
5
- colStart?: number;
6
- colFromEnd?: number;
7
- colSpan?: CellSpanValue;
8
- rowStart?: number;
9
- rowFromEnd?: number;
10
- rowSpan?: CellSpanValue;
11
- className?: string;
12
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
13
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
14
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
15
- children?: React.ReactNode;
16
- }
17
- export declare const Cell: React.FC<CellProps>;
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export type BulmaGapValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
4
- export type BulmaMinColValue = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32;
5
- export type BulmaFixedGridCols = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
6
- export type BulmaFixedGridColsProp = BulmaFixedGridCols | 'auto';
7
- export interface GridProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
8
- isFixed?: boolean;
9
- gap?: BulmaGapValue;
10
- columnGap?: BulmaGapValue;
11
- rowGap?: BulmaGapValue;
12
- minCol?: BulmaMinColValue;
13
- fixedCols?: BulmaFixedGridColsProp;
14
- fixedColsMobile?: BulmaFixedGridCols;
15
- fixedColsTablet?: BulmaFixedGridCols;
16
- fixedColsDesktop?: BulmaFixedGridCols;
17
- fixedColsWidescreen?: BulmaFixedGridCols;
18
- fixedColsFullhd?: BulmaFixedGridCols;
19
- className?: string;
20
- textColor?: (typeof validColors)[number] | 'inherit' | 'current';
21
- color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
22
- bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
23
- children?: React.ReactNode;
24
- }
25
- export declare const Grid: React.FC<GridProps>;
@@ -1,2 +0,0 @@
1
- export declare function classNames(...args: (string | number | undefined | null | false | Record<string, unknown> | unknown[])[]): string;
2
- export default classNames;