@allxsmith/bestax-bulma 1.0.9 → 1.0.10
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/dist/index.cjs.js +2002 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm.js +1904 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/types/columns/Column.d.ts +30 -0
- package/dist/types/columns/Columns.d.ts +23 -0
- package/dist/types/components/Breadcrumb.d.ts +17 -0
- package/dist/types/components/Card.d.ts +20 -0
- package/dist/types/components/Dropdown.d.ts +30 -0
- package/dist/types/components/Menu.d.ts +31 -0
- package/dist/types/components/Message.d.ts +13 -0
- package/dist/types/components/Modal.d.ts +15 -0
- package/dist/types/components/Navbar.d.ts +83 -0
- package/dist/types/components/Pagination.d.ts +49 -0
- package/dist/types/components/Panel.d.ts +55 -0
- package/dist/types/components/Tab.d.ts +30 -0
- package/dist/types/components/Tabs.d.ts +30 -0
- package/dist/types/elements/Block.d.ts +10 -0
- package/dist/types/elements/Box.d.ts +11 -0
- package/dist/types/elements/Button.d.ts +28 -0
- package/dist/types/elements/Buttons.d.ts +14 -0
- package/dist/types/elements/Content.d.ts +12 -0
- package/dist/types/elements/Delete.d.ts +14 -0
- package/dist/types/elements/Icon.d.ts +17 -0
- package/dist/types/elements/IconText.d.ts +18 -0
- package/dist/types/elements/Image.d.ts +17 -0
- package/dist/types/elements/Notification.d.ts +11 -0
- package/dist/types/elements/Progress.d.ts +11 -0
- package/dist/types/elements/SubTitle.d.ts +14 -0
- package/dist/types/elements/Table.d.ts +13 -0
- package/dist/types/elements/Tag.d.ts +18 -0
- package/dist/types/elements/Tags.d.ts +9 -0
- package/dist/types/elements/Tbody.d.ts +7 -0
- package/dist/types/elements/Td.d.ts +10 -0
- package/dist/types/elements/Tfoot.d.ts +7 -0
- package/dist/types/elements/Th.d.ts +14 -0
- package/dist/types/elements/Thead.d.ts +7 -0
- package/dist/types/elements/Title.d.ts +15 -0
- package/dist/types/elements/Tr.d.ts +10 -0
- package/dist/types/form/Checkbox.d.ts +9 -0
- package/dist/types/form/Checkboxes.d.ts +8 -0
- package/dist/types/form/Control.d.ts +31 -0
- package/dist/types/form/Field.d.ts +39 -0
- package/dist/types/form/File.d.ts +19 -0
- package/dist/types/form/Input.d.ts +16 -0
- package/dist/types/form/Radio.d.ts +9 -0
- package/dist/types/form/Radios.d.ts +8 -0
- package/dist/types/form/Select.d.ts +16 -0
- package/dist/types/form/TextArea.d.ts +19 -0
- package/dist/types/grid/Cell.d.ts +17 -0
- package/dist/types/grid/Grid.d.ts +25 -0
- package/dist/types/helpers/classNames.d.ts +2 -0
- package/dist/types/helpers/useBulmaClasses.d.ts +64 -0
- package/dist/types/index.d.ts +54 -0
- package/dist/types/layout/Container.d.ts +17 -0
- package/dist/types/layout/Footer.d.ts +12 -0
- package/dist/types/layout/Hero.d.ts +41 -0
- package/dist/types/layout/Level.d.ts +45 -0
- package/dist/types/layout/Media.d.ts +41 -0
- package/dist/types/layout/Section.d.ts +13 -0
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
|
|
3
|
+
export interface MediaProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
4
|
+
as?: 'article' | 'div';
|
|
5
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
6
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
7
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
8
|
+
className?: string;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const Media: React.FC<MediaProps> & {
|
|
12
|
+
Left: typeof MediaLeft;
|
|
13
|
+
Content: typeof MediaContent;
|
|
14
|
+
Right: typeof MediaRight;
|
|
15
|
+
};
|
|
16
|
+
export interface MediaLeftProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
17
|
+
as?: 'figure' | 'div';
|
|
18
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
19
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
20
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
21
|
+
className?: string;
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
export declare const MediaLeft: React.FC<MediaLeftProps>;
|
|
25
|
+
export interface MediaContentProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
26
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
27
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
28
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
29
|
+
className?: string;
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export declare const MediaContent: React.FC<MediaContentProps>;
|
|
33
|
+
export interface MediaRightProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
34
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
35
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
36
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
37
|
+
className?: string;
|
|
38
|
+
children?: React.ReactNode;
|
|
39
|
+
}
|
|
40
|
+
export declare const MediaRight: React.FC<MediaRightProps>;
|
|
41
|
+
export default Media;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
|
|
3
|
+
type SectionSize = 'medium' | 'large';
|
|
4
|
+
export interface SectionProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
|
|
5
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
6
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
7
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
8
|
+
size?: SectionSize;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const Section: React.FC<SectionProps>;
|
|
13
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allxsmith/bestax-bulma",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "A fully-typed React component library for the Bulma CSS framework. Build modern UIs quickly with reusable, accessible, and customizable Bulma-based React components.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|