@allxsmith/bestax-bulma 5.16.4 → 5.16.6
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/types-cjs/columns/Column.d.ts +68 -0
- package/dist/types-cjs/columns/Columns.d.ts +63 -0
- package/dist/types-cjs/components/Avatar.d.ts +91 -0
- package/dist/types-cjs/components/Avatars.d.ts +30 -0
- package/dist/types-cjs/components/Badge.d.ts +56 -0
- package/dist/types-cjs/components/Breadcrumb.d.ts +42 -0
- package/dist/types-cjs/components/Card.d.ts +166 -0
- package/dist/types-cjs/components/Carousel.d.ts +104 -0
- package/dist/types-cjs/components/Collapse.d.ts +69 -0
- package/dist/types-cjs/components/Dialog.d.ts +142 -0
- package/dist/types-cjs/components/Dropdown.d.ts +104 -0
- package/dist/types-cjs/components/Loading.d.ts +68 -0
- package/dist/types-cjs/components/Menu.d.ts +100 -0
- package/dist/types-cjs/components/Message.d.ts +51 -0
- package/dist/types-cjs/components/Modal.d.ts +126 -0
- package/dist/types-cjs/components/Navbar.d.ts +302 -0
- package/dist/types-cjs/components/Pagination.d.ts +130 -0
- package/dist/types-cjs/components/Panel.d.ts +147 -0
- package/dist/types-cjs/components/Reveal.d.ts +47 -0
- package/dist/types-cjs/components/Sidebar.d.ts +76 -0
- package/dist/types-cjs/components/Steps.d.ts +101 -0
- package/dist/types-cjs/components/Tabs.d.ts +160 -0
- package/dist/types-cjs/components/Toast.d.ts +150 -0
- package/dist/types-cjs/components/Tooltip.d.ts +68 -0
- package/dist/types-cjs/elements/Block.d.ts +31 -0
- package/dist/types-cjs/elements/Box.d.ts +41 -0
- package/dist/types-cjs/elements/Button.d.ts +74 -0
- package/dist/types-cjs/elements/Buttons.d.ts +40 -0
- package/dist/types-cjs/elements/Code.d.ts +23 -0
- package/dist/types-cjs/elements/Content.d.ts +34 -0
- package/dist/types-cjs/elements/Delete.d.ts +38 -0
- package/dist/types-cjs/elements/Divider.d.ts +19 -0
- package/dist/types-cjs/elements/Emphasis.d.ts +23 -0
- package/dist/types-cjs/elements/Figure.d.ts +40 -0
- package/dist/types-cjs/elements/Icon.d.ts +138 -0
- package/dist/types-cjs/elements/IconText.d.ts +40 -0
- package/dist/types-cjs/elements/Image.d.ts +44 -0
- package/dist/types-cjs/elements/Link.d.ts +55 -0
- package/dist/types-cjs/elements/LinkButton.d.ts +57 -0
- package/dist/types-cjs/elements/ListItem.d.ts +24 -0
- package/dist/types-cjs/elements/Notification.d.ts +148 -0
- package/dist/types-cjs/elements/OrderedList.d.ts +21 -0
- package/dist/types-cjs/elements/Paragraph.d.ts +23 -0
- package/dist/types-cjs/elements/Pre.d.ts +23 -0
- package/dist/types-cjs/elements/Progress.d.ts +36 -0
- package/dist/types-cjs/elements/Skeleton.d.ts +30 -0
- package/dist/types-cjs/elements/Span.d.ts +23 -0
- package/dist/types-cjs/elements/Strong.d.ts +23 -0
- package/dist/types-cjs/elements/SubTitle.d.ts +41 -0
- package/dist/types-cjs/elements/Table.d.ts +36 -0
- package/dist/types-cjs/elements/Tag.d.ts +45 -0
- package/dist/types-cjs/elements/Tags.d.ts +32 -0
- package/dist/types-cjs/elements/Tbody.d.ts +25 -0
- package/dist/types-cjs/elements/Td.d.ts +33 -0
- package/dist/types-cjs/elements/Tfoot.d.ts +25 -0
- package/dist/types-cjs/elements/Th.d.ts +38 -0
- package/dist/types-cjs/elements/Thead.d.ts +25 -0
- package/dist/types-cjs/elements/Title.d.ts +43 -0
- package/dist/types-cjs/elements/Tr.d.ts +30 -0
- package/dist/types-cjs/elements/UnorderedList.d.ts +18 -0
- package/dist/types-cjs/elements/iconProps.d.ts +30 -0
- package/dist/types-cjs/form/Autocomplete.d.ts +114 -0
- package/dist/types-cjs/form/Checkbox.d.ts +47 -0
- package/dist/types-cjs/form/Checkboxes.d.ts +30 -0
- package/dist/types-cjs/form/Control.d.ts +68 -0
- package/dist/types-cjs/form/DateInput.d.ts +70 -0
- package/dist/types-cjs/form/DateInputBase.d.ts +91 -0
- package/dist/types-cjs/form/DateTimeInput.d.ts +68 -0
- package/dist/types-cjs/form/DateTimeInputBase.d.ts +108 -0
- package/dist/types-cjs/form/Field.d.ts +101 -0
- package/dist/types-cjs/form/File.d.ts +52 -0
- package/dist/types-cjs/form/FormContext.d.ts +78 -0
- package/dist/types-cjs/form/Input.d.ts +72 -0
- package/dist/types-cjs/form/InputBase.d.ts +37 -0
- package/dist/types-cjs/form/Numberinput.d.ts +83 -0
- package/dist/types-cjs/form/Radio.d.ts +47 -0
- package/dist/types-cjs/form/Radios.d.ts +30 -0
- package/dist/types-cjs/form/Rate.d.ts +99 -0
- package/dist/types-cjs/form/Select.d.ts +58 -0
- package/dist/types-cjs/form/SelectBase.d.ts +45 -0
- package/dist/types-cjs/form/Slider.d.ts +141 -0
- package/dist/types-cjs/form/Switch.d.ts +67 -0
- package/dist/types-cjs/form/Taginput.d.ts +140 -0
- package/dist/types-cjs/form/TextArea.d.ts +52 -0
- package/dist/types-cjs/form/TextAreaBase.d.ts +43 -0
- package/dist/types-cjs/form/TimeInput.d.ts +66 -0
- package/dist/types-cjs/form/TimeInputBase.d.ts +95 -0
- package/dist/types-cjs/form/_pickerInternals/Calendar.d.ts +32 -0
- package/dist/types-cjs/form/_pickerInternals/PickerPopover.d.ts +20 -0
- package/dist/types-cjs/form/_pickerInternals/TimeWheels.d.ts +42 -0
- package/dist/types-cjs/form/_pickerInternals/audioTick.d.ts +50 -0
- package/dist/types-cjs/form/_pickerInternals/dateUtils.d.ts +52 -0
- package/dist/types-cjs/form/_pickerInternals/formatters.d.ts +32 -0
- package/dist/types-cjs/form/_pickerInternals/haptics.d.ts +24 -0
- package/dist/types-cjs/form/_pickerInternals/pickerTypes.d.ts +39 -0
- package/dist/types-cjs/form/_pickerInternals/segmentMap.d.ts +68 -0
- package/dist/types-cjs/form/_pickerInternals/useFocusTrap.d.ts +7 -0
- package/dist/types-cjs/form/_pickerInternals/useNativeMobilePicker.d.ts +11 -0
- package/dist/types-cjs/form/_pickerInternals/useSegmentedEntry.d.ts +75 -0
- package/dist/types-cjs/form/fieldProps.d.ts +24 -0
- package/dist/types-cjs/form/useAutoLabelId.d.ts +51 -0
- package/dist/types-cjs/grid/Cell.d.ts +42 -0
- package/dist/types-cjs/grid/Grid.d.ts +59 -0
- package/dist/types-cjs/helpers/Config.d.ts +67 -0
- package/dist/types-cjs/helpers/Theme.d.ts +116 -0
- package/dist/types-cjs/helpers/anchorAttrs.d.ts +37 -0
- package/dist/types-cjs/helpers/bulmaClassHelpers.d.ts +197 -0
- package/dist/types-cjs/helpers/classNames.d.ts +55 -0
- package/dist/types-cjs/helpers/colorDeprecations.d.ts +17 -0
- package/dist/types-cjs/helpers/mergeBulmaStyles.d.ts +17 -0
- package/dist/types-cjs/helpers/polymorphic.d.ts +138 -0
- package/dist/types-cjs/helpers/portal.d.ts +15 -0
- package/dist/types-cjs/helpers/scrollLock.d.ts +9 -0
- package/dist/types-cjs/helpers/useBulmaClasses.d.ts +60 -0
- package/dist/types-cjs/helpers/useColorClasses.d.ts +69 -0
- package/dist/types-cjs/helpers/useFlexboxClasses.d.ts +46 -0
- package/dist/types-cjs/helpers/useIsHydrated.d.ts +12 -0
- package/dist/types-cjs/helpers/useOtherClasses.d.ts +43 -0
- package/dist/types-cjs/helpers/useSpacingClasses.d.ts +45 -0
- package/dist/types-cjs/helpers/useTypographyClasses.d.ts +51 -0
- package/dist/types-cjs/helpers/useVisibilityClasses.d.ts +43 -0
- package/dist/types-cjs/helpers/withSubComponents.d.ts +16 -0
- package/dist/types-cjs/index.d.ts +113 -0
- package/dist/types-cjs/layout/Container.d.ts +51 -0
- package/dist/types-cjs/layout/Footer.d.ts +39 -0
- package/dist/types-cjs/layout/Hero.d.ts +126 -0
- package/dist/types-cjs/layout/Level.d.ts +112 -0
- package/dist/types-cjs/layout/Media.d.ts +97 -0
- package/dist/types-cjs/layout/Section.d.ts +38 -0
- package/dist/types-cjs/package.json +3 -0
- package/dist/types-cjs/skill-examples/ExampleMeta.d.ts +15 -0
- package/dist/types-cjs/skill-examples/ProfileCard.d.ts +23 -0
- package/package.json +9 -4
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export * from './columns/Column.js';
|
|
2
|
+
export * from './columns/Columns.js';
|
|
3
|
+
export * from './components/Avatar.js';
|
|
4
|
+
export * from './components/Avatars.js';
|
|
5
|
+
export * from './components/Badge.js';
|
|
6
|
+
export * from './components/Breadcrumb.js';
|
|
7
|
+
export * from './components/Card.js';
|
|
8
|
+
export * from './components/Dropdown.js';
|
|
9
|
+
export * from './components/Menu.js';
|
|
10
|
+
export * from './components/Message.js';
|
|
11
|
+
export * from './components/Modal.js';
|
|
12
|
+
export * from './components/Navbar.js';
|
|
13
|
+
export * from './components/Pagination.js';
|
|
14
|
+
export * from './components/Panel.js';
|
|
15
|
+
export * from './components/Tabs.js';
|
|
16
|
+
export * from './components/Loading.js';
|
|
17
|
+
export * from './components/Collapse.js';
|
|
18
|
+
export * from './components/Tooltip.js';
|
|
19
|
+
export * from './components/Steps.js';
|
|
20
|
+
export * from './components/Sidebar.js';
|
|
21
|
+
export * from './components/Toast.js';
|
|
22
|
+
export * from './components/Dialog.js';
|
|
23
|
+
export * from './components/Carousel.js';
|
|
24
|
+
export * from './components/Reveal.js';
|
|
25
|
+
export * from './elements/Block.js';
|
|
26
|
+
export * from './elements/Box.js';
|
|
27
|
+
export * from './elements/Button.js';
|
|
28
|
+
export * from './elements/Buttons.js';
|
|
29
|
+
export * from './elements/LinkButton.js';
|
|
30
|
+
export * from './elements/Code.js';
|
|
31
|
+
export * from './elements/Content.js';
|
|
32
|
+
export * from './elements/Delete.js';
|
|
33
|
+
export * from './elements/Divider.js';
|
|
34
|
+
export * from './elements/Emphasis.js';
|
|
35
|
+
export * from './elements/Figure.js';
|
|
36
|
+
export * from './elements/Icon.js';
|
|
37
|
+
export * from './elements/IconText.js';
|
|
38
|
+
export * from './elements/Image.js';
|
|
39
|
+
export * from './elements/Link.js';
|
|
40
|
+
export * from './elements/ListItem.js';
|
|
41
|
+
export * from './elements/Notification.js';
|
|
42
|
+
export * from './elements/OrderedList.js';
|
|
43
|
+
export * from './elements/Paragraph.js';
|
|
44
|
+
export * from './elements/Pre.js';
|
|
45
|
+
export * from './elements/Progress.js';
|
|
46
|
+
export * from './elements/Skeleton.js';
|
|
47
|
+
export * from './elements/Span.js';
|
|
48
|
+
export * from './elements/Strong.js';
|
|
49
|
+
export * from './elements/SubTitle.js';
|
|
50
|
+
export * from './elements/Table.js';
|
|
51
|
+
export * from './elements/Tag.js';
|
|
52
|
+
export * from './elements/Tags.js';
|
|
53
|
+
export * from './elements/Tbody.js';
|
|
54
|
+
export * from './elements/Td.js';
|
|
55
|
+
export * from './elements/Tfoot.js';
|
|
56
|
+
export * from './elements/Th.js';
|
|
57
|
+
export * from './elements/Thead.js';
|
|
58
|
+
export * from './elements/Title.js';
|
|
59
|
+
export * from './elements/Tr.js';
|
|
60
|
+
export * from './elements/UnorderedList.js';
|
|
61
|
+
export * from './form/Checkbox.js';
|
|
62
|
+
export * from './form/Checkboxes.js';
|
|
63
|
+
export * from './form/Control.js';
|
|
64
|
+
export * from './form/Field.js';
|
|
65
|
+
export * from './form/File.js';
|
|
66
|
+
export * from './form/Radio.js';
|
|
67
|
+
export * from './form/Radios.js';
|
|
68
|
+
export * from './form/Switch.js';
|
|
69
|
+
export * from './form/Slider.js';
|
|
70
|
+
export * from './form/Numberinput.js';
|
|
71
|
+
export * from './form/Rate.js';
|
|
72
|
+
export * from './form/Autocomplete.js';
|
|
73
|
+
export * from './form/Taginput.js';
|
|
74
|
+
export { InputBase } from './form/InputBase.js';
|
|
75
|
+
export type { InputBaseProps } from './form/InputBase.js';
|
|
76
|
+
export { SelectBase } from './form/SelectBase.js';
|
|
77
|
+
export type { SelectBaseProps } from './form/SelectBase.js';
|
|
78
|
+
export { TextAreaBase } from './form/TextAreaBase.js';
|
|
79
|
+
export type { TextAreaBaseProps } from './form/TextAreaBase.js';
|
|
80
|
+
export { Input } from './form/Input.js';
|
|
81
|
+
export type { InputProps } from './form/Input.js';
|
|
82
|
+
export { Select } from './form/Select.js';
|
|
83
|
+
export type { SelectProps } from './form/Select.js';
|
|
84
|
+
export { TextArea } from './form/TextArea.js';
|
|
85
|
+
export type { TextAreaProps } from './form/TextArea.js';
|
|
86
|
+
export { DateInputBase } from './form/DateInputBase.js';
|
|
87
|
+
export type { DateInputBaseProps } from './form/DateInputBase.js';
|
|
88
|
+
export { DateInput } from './form/DateInput.js';
|
|
89
|
+
export type { DateInputProps } from './form/DateInput.js';
|
|
90
|
+
export { TimeInputBase } from './form/TimeInputBase.js';
|
|
91
|
+
export type { TimeInputBaseProps } from './form/TimeInputBase.js';
|
|
92
|
+
export { TimeInput } from './form/TimeInput.js';
|
|
93
|
+
export type { TimeInputProps } from './form/TimeInput.js';
|
|
94
|
+
export { DateTimeInputBase } from './form/DateTimeInputBase.js';
|
|
95
|
+
export type { DateTimeInputBaseProps } from './form/DateTimeInputBase.js';
|
|
96
|
+
export { DateTimeInput } from './form/DateTimeInput.js';
|
|
97
|
+
export type { DateTimeInputProps } from './form/DateTimeInput.js';
|
|
98
|
+
export { useInsideField, useInsideControl } from './form/FormContext.js';
|
|
99
|
+
export type { FormFieldProps } from './form/fieldProps.js';
|
|
100
|
+
export * from './grid/Cell.js';
|
|
101
|
+
export * from './grid/Grid.js';
|
|
102
|
+
export * from './helpers/classNames.js';
|
|
103
|
+
export type { ConstrainedPolymorphicComponentWithoutRef, PolymorphicComponent, PolymorphicComponentWithoutRef, PolymorphicProps, PolymorphicRef, } from './helpers/polymorphic.js';
|
|
104
|
+
export * from './helpers/mergeBulmaStyles.js';
|
|
105
|
+
export * from './helpers/useBulmaClasses.js';
|
|
106
|
+
export * from './helpers/Theme.js';
|
|
107
|
+
export * from './helpers/Config.js';
|
|
108
|
+
export * from './layout/Container.js';
|
|
109
|
+
export * from './layout/Footer.js';
|
|
110
|
+
export * from './layout/Hero.js';
|
|
111
|
+
export * from './layout/Level.js';
|
|
112
|
+
export * from './layout/Media.js';
|
|
113
|
+
export * from './layout/Section.js';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BulmaClassesProps, validColors, validSchemeColors } from '../helpers/useBulmaClasses.js';
|
|
3
|
+
/**
|
|
4
|
+
* Bulma container breakpoints.
|
|
5
|
+
*/
|
|
6
|
+
export type ContainerBreakpoint = 'tablet' | 'desktop' | 'widescreen';
|
|
7
|
+
/**
|
|
8
|
+
* Props for the Container component.
|
|
9
|
+
*/
|
|
10
|
+
export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
11
|
+
/** Additional CSS classes. */
|
|
12
|
+
className?: string;
|
|
13
|
+
/** Text color helper. */
|
|
14
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
15
|
+
/**
|
|
16
|
+
* Text color alias: renders `has-text-<color>`, exactly like `textColor`.
|
|
17
|
+
* Not a filled variant (no `.container.is-<color>` CSS exists). Prefer
|
|
18
|
+
* `textColor`, which takes precedence when both are set; use `bgColor` for
|
|
19
|
+
* a colored surface.
|
|
20
|
+
*/
|
|
21
|
+
color?: 'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger';
|
|
22
|
+
/**
|
|
23
|
+
* Background color helper. `scheme-*` values render as a dark-mode-safe
|
|
24
|
+
* inline `background-color: var(--bulma-scheme-*)` instead of a class. The
|
|
25
|
+
* `scheme-invert*` values do not change text color — pair them with a
|
|
26
|
+
* contrasting foreground.
|
|
27
|
+
*/
|
|
28
|
+
bgColor?: (typeof validColors)[number] | (typeof validSchemeColors)[number] | 'inherit' | 'current';
|
|
29
|
+
/** Makes the container full-width with a 32px gap on each side. */
|
|
30
|
+
fluid?: boolean;
|
|
31
|
+
/** Makes the container full-width until the `widescreen` breakpoint. */
|
|
32
|
+
widescreen?: boolean;
|
|
33
|
+
/** Makes the container full-width until the `fullhd` breakpoint. */
|
|
34
|
+
fullhd?: boolean;
|
|
35
|
+
/** Responsive breakpoint for container (`is-tablet`, `is-desktop`, `is-widescreen`). */
|
|
36
|
+
breakpoint?: ContainerBreakpoint;
|
|
37
|
+
/** Uses Bulma's `is-max-*` class for the specified breakpoint, limiting max width. */
|
|
38
|
+
isMax?: boolean;
|
|
39
|
+
/** Content inside the container. */
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The `Container` component provides a responsive and flexible layout wrapper for your Bulma React UI.
|
|
44
|
+
*
|
|
45
|
+
* @function
|
|
46
|
+
* @param {ContainerProps} props - Props for the Container component.
|
|
47
|
+
* @returns {JSX.Element} The rendered container.
|
|
48
|
+
* @see {@link https://bulma.io/documentation/layout/container/ | Bulma Container documentation}
|
|
49
|
+
*/
|
|
50
|
+
export declare const Container: React.FC<ContainerProps>;
|
|
51
|
+
export default Container;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BulmaClassesProps, validColors, validSchemeColors } from '../helpers/useBulmaClasses.js';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the Footer component.
|
|
5
|
+
*/
|
|
6
|
+
export interface FooterProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
7
|
+
/** The HTML tag to render as. */
|
|
8
|
+
as?: 'footer' | 'div';
|
|
9
|
+
/** Bulma color modifier. */
|
|
10
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
11
|
+
/**
|
|
12
|
+
* Background color. `scheme-*` values render as a dark-mode-safe inline
|
|
13
|
+
* `background-color: var(--bulma-scheme-*)` instead of a class. The
|
|
14
|
+
* `scheme-invert*` values do not change text color — pair them with a
|
|
15
|
+
* contrasting foreground.
|
|
16
|
+
*/
|
|
17
|
+
bgColor?: (typeof validColors)[number] | (typeof validSchemeColors)[number] | 'inherit' | 'current';
|
|
18
|
+
/** Text color. */
|
|
19
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
20
|
+
/** Additional CSS classes. */
|
|
21
|
+
className?: string;
|
|
22
|
+
/** Content inside the footer. */
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The `Footer` component provides a semantic and accessible site footer for your Bulma React UI.
|
|
27
|
+
*
|
|
28
|
+
* @function
|
|
29
|
+
* @param {FooterProps} props - Props for the Footer component.
|
|
30
|
+
* @returns {JSX.Element} The rendered footer element.
|
|
31
|
+
* @see {@link https://bulma.io/documentation/layout/footer/ | Bulma Footer documentation}
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* <Footer>
|
|
35
|
+
* <div className="content has-text-centered">...</div>
|
|
36
|
+
* </Footer>
|
|
37
|
+
*/
|
|
38
|
+
export declare const Footer: React.FC<FooterProps>;
|
|
39
|
+
export default Footer;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BulmaClassesProps, validColors, validSchemeColors } from '../helpers/useBulmaClasses.js';
|
|
3
|
+
/**
|
|
4
|
+
* Possible values for Bulma hero size.
|
|
5
|
+
*/
|
|
6
|
+
export type HeroSize = 'small' | 'medium' | 'large' | 'fullheight' | 'fullheight-with-navbar';
|
|
7
|
+
/**
|
|
8
|
+
* Props for the Hero component.
|
|
9
|
+
*/
|
|
10
|
+
export interface HeroProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
11
|
+
/** Additional CSS classes. */
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Bulma color modifier for the hero section (renders `is-<color>`).
|
|
15
|
+
*
|
|
16
|
+
* Only `primary`, `link`, `info`, `success`, `warning`, `danger`, `black`,
|
|
17
|
+
* `white`, `light`, and `dark` have shipped CSS for `.hero`. Every other
|
|
18
|
+
* value the union accepts emits a class no CSS rule matches, so the hero
|
|
19
|
+
* renders unstyled; those log a console warning in development and will be
|
|
20
|
+
* removed from this union in the next major version.
|
|
21
|
+
*/
|
|
22
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
23
|
+
/** Hero size. */
|
|
24
|
+
size?: HeroSize;
|
|
25
|
+
/**
|
|
26
|
+
* Bulma background color helper. `scheme-*` values render as a
|
|
27
|
+
* dark-mode-safe inline `background-color: var(--bulma-scheme-*)` instead
|
|
28
|
+
* of a class. The `scheme-invert*` values do not change text color — pair
|
|
29
|
+
* them with a contrasting foreground.
|
|
30
|
+
*/
|
|
31
|
+
bgColor?: (typeof validColors)[number] | (typeof validSchemeColors)[number] | 'inherit' | 'current';
|
|
32
|
+
/** Use fullheight hero with a navbar offset. */
|
|
33
|
+
fullheightWithNavbar?: boolean;
|
|
34
|
+
/** Hero content (often includes `Hero.Head`, `Hero.Body`, `Hero.Foot`). */
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Props for the HeroHead component.
|
|
39
|
+
*/
|
|
40
|
+
export interface HeroHeadProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
41
|
+
/** Additional CSS classes. */
|
|
42
|
+
className?: string;
|
|
43
|
+
/** Bulma color modifier for text. */
|
|
44
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
45
|
+
/**
|
|
46
|
+
* Background color. `scheme-*` values render as a dark-mode-safe inline
|
|
47
|
+
* `background-color: var(--bulma-scheme-*)` instead of a class. The
|
|
48
|
+
* `scheme-invert*` values do not change text color — pair them with a
|
|
49
|
+
* contrasting foreground.
|
|
50
|
+
*/
|
|
51
|
+
bgColor?: (typeof validColors)[number] | (typeof validSchemeColors)[number] | 'inherit' | 'current';
|
|
52
|
+
/** Text color. */
|
|
53
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
54
|
+
/** Content. */
|
|
55
|
+
children?: React.ReactNode;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Top bar for navigation or branding.
|
|
59
|
+
*
|
|
60
|
+
* @function
|
|
61
|
+
* @param {HeroHeadProps} props - Props for the HeroHead component.
|
|
62
|
+
* @returns {JSX.Element} The rendered hero head.
|
|
63
|
+
*/
|
|
64
|
+
export declare const HeroHead: React.FC<HeroHeadProps>;
|
|
65
|
+
/**
|
|
66
|
+
* Props for the HeroBody component.
|
|
67
|
+
*/
|
|
68
|
+
export interface HeroBodyProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
69
|
+
/** Additional CSS classes. */
|
|
70
|
+
className?: string;
|
|
71
|
+
/** Bulma color modifier for text. */
|
|
72
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
73
|
+
/**
|
|
74
|
+
* Background color. `scheme-*` values render as a dark-mode-safe inline
|
|
75
|
+
* `background-color: var(--bulma-scheme-*)` instead of a class. The
|
|
76
|
+
* `scheme-invert*` values do not change text color — pair them with a
|
|
77
|
+
* contrasting foreground.
|
|
78
|
+
*/
|
|
79
|
+
bgColor?: (typeof validColors)[number] | (typeof validSchemeColors)[number] | 'inherit' | 'current';
|
|
80
|
+
/** Text color. */
|
|
81
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
82
|
+
/** Content. */
|
|
83
|
+
children?: React.ReactNode;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Main content area, vertically centered by default.
|
|
87
|
+
*
|
|
88
|
+
* @function
|
|
89
|
+
* @param {HeroBodyProps} props - Props for the HeroBody component.
|
|
90
|
+
* @returns {JSX.Element} The rendered hero body.
|
|
91
|
+
*/
|
|
92
|
+
export declare const HeroBody: React.FC<HeroBodyProps>;
|
|
93
|
+
/**
|
|
94
|
+
* Props for the HeroFoot component.
|
|
95
|
+
*/
|
|
96
|
+
export interface HeroFootProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
97
|
+
/** Additional CSS classes. */
|
|
98
|
+
className?: string;
|
|
99
|
+
/** Bulma color modifier for text. */
|
|
100
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
101
|
+
/**
|
|
102
|
+
* Background color. `scheme-*` values render as a dark-mode-safe inline
|
|
103
|
+
* `background-color: var(--bulma-scheme-*)` instead of a class. The
|
|
104
|
+
* `scheme-invert*` values do not change text color — pair them with a
|
|
105
|
+
* contrasting foreground.
|
|
106
|
+
*/
|
|
107
|
+
bgColor?: (typeof validColors)[number] | (typeof validSchemeColors)[number] | 'inherit' | 'current';
|
|
108
|
+
/** Text color. */
|
|
109
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
110
|
+
/** Content. */
|
|
111
|
+
children?: React.ReactNode;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Bottom bar for tabs or actions.
|
|
115
|
+
*
|
|
116
|
+
* @function
|
|
117
|
+
* @param {HeroFootProps} props - Props for the HeroFoot component.
|
|
118
|
+
* @returns {JSX.Element} The rendered hero foot.
|
|
119
|
+
*/
|
|
120
|
+
export declare const HeroFoot: React.FC<HeroFootProps>;
|
|
121
|
+
export declare const Hero: React.FC<HeroProps> & {
|
|
122
|
+
Head: React.FC<HeroHeadProps>;
|
|
123
|
+
Body: React.FC<HeroBodyProps>;
|
|
124
|
+
Foot: React.FC<HeroFootProps>;
|
|
125
|
+
};
|
|
126
|
+
export default Hero;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type AnchorOnlyAttributes } from '../helpers/anchorAttrs.js';
|
|
3
|
+
import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses.js';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the Level component.
|
|
6
|
+
*/
|
|
7
|
+
export interface LevelProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
8
|
+
/** Keeps the level horizontal on mobile (Bulma `is-mobile`). Without it
|
|
9
|
+
* the level stacks vertically below tablet. */
|
|
10
|
+
isMobile?: boolean;
|
|
11
|
+
/** Bulma color modifier for the level. */
|
|
12
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
13
|
+
/** Bulma background color helper. */
|
|
14
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
15
|
+
/** Bulma text color helper. */
|
|
16
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
17
|
+
/** Additional CSS classes. */
|
|
18
|
+
className?: string;
|
|
19
|
+
/** Level content (`Level.Left`, `Level.Right`, `Level.Item`). */
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Props for the LevelLeft component.
|
|
24
|
+
*/
|
|
25
|
+
export interface LevelLeftProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
26
|
+
/** Bulma color modifier. */
|
|
27
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
28
|
+
/** Background color. */
|
|
29
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
30
|
+
/** Text color. */
|
|
31
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
32
|
+
/** Additional CSS classes. */
|
|
33
|
+
className?: string;
|
|
34
|
+
/** Content. */
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Left-aligned content.
|
|
39
|
+
*
|
|
40
|
+
* @function
|
|
41
|
+
* @param {LevelLeftProps} props - Props for the LevelLeft component.
|
|
42
|
+
* @returns {JSX.Element} The rendered level left section.
|
|
43
|
+
*/
|
|
44
|
+
export declare const LevelLeft: React.FC<LevelLeftProps>;
|
|
45
|
+
/**
|
|
46
|
+
* Props for the LevelRight component.
|
|
47
|
+
*/
|
|
48
|
+
export interface LevelRightProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
49
|
+
/** Bulma color modifier. */
|
|
50
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
51
|
+
/** Background color. */
|
|
52
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
53
|
+
/** Text color. */
|
|
54
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
55
|
+
/** Additional CSS classes. */
|
|
56
|
+
className?: string;
|
|
57
|
+
/** Content. */
|
|
58
|
+
children?: React.ReactNode;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Right-aligned content.
|
|
62
|
+
*
|
|
63
|
+
* @function
|
|
64
|
+
* @param {LevelRightProps} props - Props for the LevelRight component.
|
|
65
|
+
* @returns {JSX.Element} The rendered level right section.
|
|
66
|
+
*/
|
|
67
|
+
export declare const LevelRight: React.FC<LevelRightProps>;
|
|
68
|
+
/**
|
|
69
|
+
* Props for the LevelItem component.
|
|
70
|
+
*
|
|
71
|
+
* The anchor attributes arrive through `AnchorOnlyAttributes`, at every `as`, and
|
|
72
|
+
* are forwarded only when the tag is an `<a>` — so `<Level.Item as="p" download>` compiles and
|
|
73
|
+
* renders a `<p>` without it. That asymmetry is deliberate for now: deriving
|
|
74
|
+
* them from `as` instead is what makes the dead pair a type error, and it also
|
|
75
|
+
* stops `const p: LevelItemProps = { href }` compiling for consumers who write
|
|
76
|
+
* it today. #672 carries that half, labelled `next-major`.
|
|
77
|
+
*
|
|
78
|
+
* What that set must NOT become is a hand-written list. Enumerating only `href`,
|
|
79
|
+
* `target` and `rel` made every other anchor attribute a type error even at
|
|
80
|
+
* `as="a"`, which is what #641 reported; `helpers/anchorAttrs.ts` derives it from
|
|
81
|
+
* React instead, and `ANCHOR_ONLY_ATTRS` there is the guard to protect.
|
|
82
|
+
*/
|
|
83
|
+
export interface LevelItemProps extends AnchorOnlyAttributes, React.HTMLAttributes<HTMLDivElement | HTMLParagraphElement | HTMLAnchorElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
84
|
+
/** Element type to render. */
|
|
85
|
+
as?: 'div' | 'p' | 'a';
|
|
86
|
+
/** Center the text in the item. */
|
|
87
|
+
hasTextCentered?: boolean;
|
|
88
|
+
/** Bulma color modifier. */
|
|
89
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
90
|
+
/** Background color. */
|
|
91
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
92
|
+
/** Text color. */
|
|
93
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
94
|
+
/** Additional CSS classes. */
|
|
95
|
+
className?: string;
|
|
96
|
+
/** Content. */
|
|
97
|
+
children?: React.ReactNode;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Individual item, can be rendered as `div`, `p`, or `a`.
|
|
101
|
+
*
|
|
102
|
+
* @function
|
|
103
|
+
* @param {LevelItemProps} props - Props for the LevelItem component.
|
|
104
|
+
* @returns {JSX.Element} The rendered level item.
|
|
105
|
+
*/
|
|
106
|
+
export declare const LevelItem: React.FC<LevelItemProps>;
|
|
107
|
+
export declare const Level: React.FC<LevelProps> & {
|
|
108
|
+
Left: React.FC<LevelLeftProps>;
|
|
109
|
+
Right: React.FC<LevelRightProps>;
|
|
110
|
+
Item: React.FC<LevelItemProps>;
|
|
111
|
+
};
|
|
112
|
+
export default Level;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses.js';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the Media component.
|
|
5
|
+
*/
|
|
6
|
+
export interface MediaProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
7
|
+
/** Element type for the root Media container. */
|
|
8
|
+
as?: 'article' | 'div';
|
|
9
|
+
/** Bulma color modifier. */
|
|
10
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
11
|
+
/** Bulma background color helper. */
|
|
12
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
13
|
+
/** Bulma text color helper. */
|
|
14
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
15
|
+
/** Additional CSS classes. */
|
|
16
|
+
className?: string;
|
|
17
|
+
/** Content inside the media container. */
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Props for the MediaLeft component.
|
|
22
|
+
*/
|
|
23
|
+
export interface MediaLeftProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
24
|
+
/** Element type to render. */
|
|
25
|
+
as?: 'figure' | 'div';
|
|
26
|
+
/** Bulma color modifier. */
|
|
27
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
28
|
+
/** Background color. */
|
|
29
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
30
|
+
/** Text color. */
|
|
31
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
32
|
+
/** Additional CSS classes. */
|
|
33
|
+
className?: string;
|
|
34
|
+
/** Content. */
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* For avatars, thumbnails, icons (renders as `figure` or `div`)
|
|
39
|
+
*
|
|
40
|
+
* @function
|
|
41
|
+
* @param {MediaLeftProps} props - Props for the MediaLeft component.
|
|
42
|
+
* @returns {JSX.Element} The rendered media left section.
|
|
43
|
+
*/
|
|
44
|
+
export declare const MediaLeft: React.FC<MediaLeftProps>;
|
|
45
|
+
/**
|
|
46
|
+
* Props for the MediaContent component.
|
|
47
|
+
*/
|
|
48
|
+
export interface MediaContentProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
49
|
+
/** Bulma color modifier. */
|
|
50
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
51
|
+
/** Background color. */
|
|
52
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
53
|
+
/** Text color. */
|
|
54
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
55
|
+
/** Additional CSS classes. */
|
|
56
|
+
className?: string;
|
|
57
|
+
/** Content. */
|
|
58
|
+
children?: React.ReactNode;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Main content (renders as `div`)
|
|
62
|
+
*
|
|
63
|
+
* @function
|
|
64
|
+
* @param {MediaContentProps} props - Props for the MediaContent component.
|
|
65
|
+
* @returns {JSX.Element} The rendered media content section.
|
|
66
|
+
*/
|
|
67
|
+
export declare const MediaContent: React.FC<MediaContentProps>;
|
|
68
|
+
/**
|
|
69
|
+
* Props for the MediaRight component.
|
|
70
|
+
*/
|
|
71
|
+
export interface MediaRightProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
72
|
+
/** Bulma color modifier. */
|
|
73
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
74
|
+
/** Background color. */
|
|
75
|
+
bgColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
76
|
+
/** Text color. */
|
|
77
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
78
|
+
/** Additional CSS classes. */
|
|
79
|
+
className?: string;
|
|
80
|
+
/** Content. */
|
|
81
|
+
children?: React.ReactNode;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Actions or controls (renders as `div`)
|
|
85
|
+
*
|
|
86
|
+
* @function
|
|
87
|
+
* @param {MediaRightProps} props - Props for the MediaRight component.
|
|
88
|
+
* @returns {JSX.Element} The rendered media right section.
|
|
89
|
+
*/
|
|
90
|
+
export declare const MediaRight: React.FC<MediaRightProps>;
|
|
91
|
+
/** Media component with Left, Content, and Right sub-components. */
|
|
92
|
+
export declare const Media: React.FC<MediaProps> & {
|
|
93
|
+
Left: React.FC<MediaLeftProps>;
|
|
94
|
+
Content: React.FC<MediaContentProps>;
|
|
95
|
+
Right: React.FC<MediaRightProps>;
|
|
96
|
+
};
|
|
97
|
+
export default Media;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BulmaClassesProps, validColors, validSchemeColors } from '../helpers/useBulmaClasses.js';
|
|
3
|
+
/**
|
|
4
|
+
* Section size values for Bulma.
|
|
5
|
+
*/
|
|
6
|
+
type SectionSize = 'medium' | 'large';
|
|
7
|
+
/**
|
|
8
|
+
* Props for the Section component.
|
|
9
|
+
*/
|
|
10
|
+
export interface SectionProps extends React.HTMLAttributes<HTMLElement>, Omit<BulmaClassesProps, 'backgroundColor' | 'color'> {
|
|
11
|
+
/** Bulma color modifier for text. */
|
|
12
|
+
color?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
13
|
+
/**
|
|
14
|
+
* Bulma background color helper. `scheme-*` values render as a
|
|
15
|
+
* dark-mode-safe inline `background-color: var(--bulma-scheme-*)` instead
|
|
16
|
+
* of a class. The `scheme-invert*` values do not change text color — pair
|
|
17
|
+
* them with a contrasting foreground.
|
|
18
|
+
*/
|
|
19
|
+
bgColor?: (typeof validColors)[number] | (typeof validSchemeColors)[number] | 'inherit' | 'current';
|
|
20
|
+
/** Bulma text color helper. */
|
|
21
|
+
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
22
|
+
/** Section size for extra vertical spacing. */
|
|
23
|
+
size?: SectionSize;
|
|
24
|
+
/** Additional CSS classes. */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** Section content. */
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The `Section` component provides vertical spacing and visual separation for your Bulma React UI.
|
|
31
|
+
*
|
|
32
|
+
* @function
|
|
33
|
+
* @param {SectionProps} props - Props for the Section component.
|
|
34
|
+
* @returns {JSX.Element} The rendered section.
|
|
35
|
+
* @see {@link https://bulma.io/documentation/layout/section/ | Bulma Section documentation}
|
|
36
|
+
*/
|
|
37
|
+
export declare const Section: React.FC<SectionProps>;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ExampleMetaProps {
|
|
3
|
+
/** Skill slug, e.g. "bestax-custom-component". */
|
|
4
|
+
skill: string;
|
|
5
|
+
/** Link to the skill's SKILL.md. */
|
|
6
|
+
skillHref: string;
|
|
7
|
+
/** Natural-language request given to the agent. */
|
|
8
|
+
prompt: string;
|
|
9
|
+
/** Model that generated the example, e.g. "Claude Opus 4.8". */
|
|
10
|
+
model: string;
|
|
11
|
+
/** Date generated, e.g. "2026-06-27". */
|
|
12
|
+
date: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ExampleMeta: React.FC<ExampleMetaProps>;
|
|
15
|
+
export default ExampleMeta;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BulmaClassesProps } from '../helpers/useBulmaClasses.js';
|
|
3
|
+
export interface ProfileCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'color'>, BulmaClassesProps {
|
|
4
|
+
/** Person's name (rendered as the title). */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Role / subtitle line under the name. */
|
|
7
|
+
role?: string;
|
|
8
|
+
/** Avatar image URL. */
|
|
9
|
+
imageSrc: string;
|
|
10
|
+
/** Alt text for the avatar (defaults to the name). */
|
|
11
|
+
imageAlt?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* ProfileCard — avatar on top, then name, role, and a description. Composes the
|
|
15
|
+
* existing Image/Title/SubTitle/Content elements.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* <ProfileCard name="Ada Lovelace" role="Mathematician" imageSrc="/ada.jpg">
|
|
19
|
+
* Wrote the first algorithm intended for a machine.
|
|
20
|
+
* </ProfileCard>
|
|
21
|
+
*/
|
|
22
|
+
export declare const ProfileCard: React.ForwardRefExoticComponent<ProfileCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export default ProfileCard;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allxsmith/bestax-bulma",
|
|
3
|
-
"version": "5.16.
|
|
3
|
+
"version": "5.16.6",
|
|
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",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -108,9 +108,14 @@
|
|
|
108
108
|
},
|
|
109
109
|
"exports": {
|
|
110
110
|
".": {
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
"import": {
|
|
112
|
+
"types": "./dist/types/index.d.ts",
|
|
113
|
+
"default": "./dist/index.esm.js"
|
|
114
|
+
},
|
|
115
|
+
"require": {
|
|
116
|
+
"types": "./dist/types-cjs/index.d.ts",
|
|
117
|
+
"default": "./dist/index.cjs"
|
|
118
|
+
}
|
|
114
119
|
},
|
|
115
120
|
"./constants": {
|
|
116
121
|
"import": {
|