@allxsmith/bestax-bulma 5.7.0 → 5.8.1
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/AGENTS.md +28 -0
- package/CLAUDE.md +28 -0
- package/README.md +24 -0
- package/dist/index.cjs.js +3485 -55
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3485 -55
- package/dist/index.esm.js.map +1 -1
- package/dist/types/columns/Column.d.ts +38 -0
- package/dist/types/columns/Columns.d.ts +31 -0
- package/dist/types/components/Avatar.d.ts +32 -0
- package/dist/types/components/Avatars.d.ts +12 -0
- package/dist/types/components/Badge.d.ts +34 -0
- package/dist/types/components/Breadcrumb.d.ts +25 -0
- package/dist/types/components/Card.d.ts +60 -0
- package/dist/types/components/Carousel.d.ts +70 -0
- package/dist/types/components/Collapse.d.ts +52 -0
- package/dist/types/components/Dialog.d.ts +89 -0
- package/dist/types/components/Dropdown.d.ts +42 -0
- package/dist/types/components/Loading.d.ts +50 -0
- package/dist/types/components/Menu.d.ts +44 -0
- package/dist/types/components/Message.d.ts +20 -0
- package/dist/types/components/Modal.d.ts +50 -0
- package/dist/types/components/Navbar.d.ts +147 -0
- package/dist/types/components/Pagination.d.ts +81 -0
- package/dist/types/components/Panel.d.ts +93 -0
- package/dist/types/components/Reveal.d.ts +37 -0
- package/dist/types/components/Sidebar.d.ts +37 -0
- package/dist/types/components/Steps.d.ts +56 -0
- package/dist/types/components/Tabs.d.ts +90 -0
- package/dist/types/components/Toast.d.ts +104 -0
- package/dist/types/components/Tooltip.d.ts +46 -0
- package/dist/types/elements/Block.d.ts +21 -0
- package/dist/types/elements/Box.d.ts +25 -1
- package/dist/types/elements/Button.d.ts +33 -0
- package/dist/types/elements/Buttons.d.ts +16 -0
- package/dist/types/elements/Code.d.ts +14 -0
- package/dist/types/elements/Content.d.ts +22 -0
- package/dist/types/elements/Delete.d.ts +24 -0
- package/dist/types/elements/Divider.d.ts +12 -0
- package/dist/types/elements/Emphasis.d.ts +14 -0
- package/dist/types/elements/Figure.d.ts +23 -0
- package/dist/types/elements/Icon.d.ts +28 -0
- package/dist/types/elements/IconText.d.ts +20 -0
- package/dist/types/elements/Image.d.ts +27 -0
- package/dist/types/elements/Link.d.ts +20 -0
- package/dist/types/elements/LinkButton.d.ts +20 -0
- package/dist/types/elements/ListItem.d.ts +15 -0
- package/dist/types/elements/Notification.d.ts +110 -0
- package/dist/types/elements/OrderedList.d.ts +10 -0
- package/dist/types/elements/Paragraph.d.ts +14 -0
- package/dist/types/elements/Pre.d.ts +14 -0
- package/dist/types/elements/Progress.d.ts +26 -0
- package/dist/types/elements/Skeleton.d.ts +22 -0
- package/dist/types/elements/Span.d.ts +14 -0
- package/dist/types/elements/Strong.d.ts +14 -0
- package/dist/types/elements/SubTitle.d.ts +25 -0
- package/dist/types/elements/Table.d.ts +14 -0
- package/dist/types/elements/Tag.d.ts +25 -0
- package/dist/types/elements/Tags.d.ts +7 -0
- package/dist/types/elements/Tbody.d.ts +18 -0
- package/dist/types/elements/Td.d.ts +23 -0
- package/dist/types/elements/Tfoot.d.ts +18 -0
- package/dist/types/elements/Th.d.ts +24 -0
- package/dist/types/elements/Thead.d.ts +18 -0
- package/dist/types/elements/Title.d.ts +26 -0
- package/dist/types/elements/Tr.d.ts +20 -0
- package/dist/types/elements/UnorderedList.d.ts +7 -0
- package/dist/types/form/Autocomplete.d.ts +64 -0
- package/dist/types/form/Checkbox.d.ts +33 -0
- package/dist/types/form/Checkboxes.d.ts +9 -0
- package/dist/types/form/Control.d.ts +37 -0
- package/dist/types/form/DateInput.d.ts +44 -0
- package/dist/types/form/DateInputBase.d.ts +49 -0
- package/dist/types/form/DateTimeInput.d.ts +42 -0
- package/dist/types/form/DateTimeInputBase.d.ts +58 -0
- package/dist/types/form/Field.d.ts +52 -0
- package/dist/types/form/File.d.ts +24 -0
- package/dist/types/form/FormContext.d.ts +46 -0
- package/dist/types/form/Input.d.ts +45 -0
- package/dist/types/form/InputBase.d.ts +21 -0
- package/dist/types/form/Numberinput.d.ts +43 -0
- package/dist/types/form/Radio.d.ts +33 -0
- package/dist/types/form/Radios.d.ts +9 -0
- package/dist/types/form/Rate.d.ts +55 -0
- package/dist/types/form/Select.d.ts +35 -0
- package/dist/types/form/SelectBase.d.ts +24 -0
- package/dist/types/form/Slider.d.ts +86 -0
- package/dist/types/form/Switch.d.ts +50 -0
- package/dist/types/form/Taginput.d.ts +74 -0
- package/dist/types/form/TextArea.d.ts +34 -0
- package/dist/types/form/TextAreaBase.d.ts +24 -0
- package/dist/types/form/TimeInput.d.ts +40 -0
- package/dist/types/form/TimeInputBase.d.ts +51 -0
- package/dist/types/form/_pickerInternals/Calendar.d.ts +6 -0
- package/dist/types/form/_pickerInternals/TimeWheels.d.ts +13 -0
- package/dist/types/form/_pickerInternals/audioTick.d.ts +47 -0
- package/dist/types/form/_pickerInternals/dateUtils.d.ts +13 -0
- package/dist/types/form/_pickerInternals/formatters.d.ts +19 -0
- package/dist/types/form/_pickerInternals/haptics.d.ts +23 -0
- package/dist/types/form/_pickerInternals/pickerTypes.d.ts +8 -0
- package/dist/types/form/_pickerInternals/segmentMap.d.ts +48 -0
- package/dist/types/form/_pickerInternals/useNativeMobilePicker.d.ts +1 -0
- package/dist/types/form/_pickerInternals/useSegmentedEntry.d.ts +30 -0
- package/dist/types/form/fieldProps.d.ts +12 -0
- package/dist/types/grid/Cell.d.ts +25 -0
- package/dist/types/grid/Grid.d.ts +32 -0
- package/dist/types/helpers/Config.d.ts +50 -0
- package/dist/types/helpers/Theme.d.ts +66 -0
- package/dist/types/helpers/bulmaClassHelpers.d.ts +97 -0
- package/dist/types/helpers/classNames.d.ts +50 -0
- package/dist/types/helpers/colorDeprecations.d.ts +17 -0
- package/dist/types/helpers/useBulmaClasses.d.ts +22 -0
- package/dist/types/helpers/useColorClasses.d.ts +20 -0
- package/dist/types/helpers/useFlexboxClasses.d.ts +34 -0
- package/dist/types/helpers/useOtherClasses.d.ts +27 -0
- package/dist/types/helpers/useSpacingClasses.d.ts +27 -0
- package/dist/types/helpers/useTypographyClasses.d.ts +32 -0
- package/dist/types/helpers/useVisibilityClasses.d.ts +25 -0
- package/dist/types/helpers/withSubComponents.d.ts +13 -0
- package/dist/types/layout/Container.d.ts +29 -0
- package/dist/types/layout/Footer.d.ts +22 -0
- package/dist/types/layout/Hero.d.ts +67 -0
- package/dist/types/layout/Level.d.ts +60 -0
- package/dist/types/layout/Media.d.ts +56 -0
- package/dist/types/layout/Section.d.ts +20 -0
- package/dist/types/skill-examples/ExampleMeta.d.ts +5 -0
- package/dist/types/skill-examples/ProfileCard.d.ts +13 -0
- package/llms.txt +9 -0
- package/package.json +30 -28
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface ExampleMetaProps {
|
|
3
|
+
/** Skill slug, e.g. "bestax-custom-component". */
|
|
3
4
|
skill: string;
|
|
5
|
+
/** Link to the skill's SKILL.md. */
|
|
4
6
|
skillHref: string;
|
|
7
|
+
/** Natural-language request given to the agent. */
|
|
5
8
|
prompt: string;
|
|
9
|
+
/** Model that generated the example, e.g. "Claude Opus 4.8". */
|
|
6
10
|
model: string;
|
|
11
|
+
/** Date generated, e.g. "2026-06-27". */
|
|
7
12
|
date: string;
|
|
8
13
|
}
|
|
9
14
|
export declare const ExampleMeta: React.FC<ExampleMetaProps>;
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BulmaClassesProps } from '../helpers/useBulmaClasses';
|
|
3
3
|
export interface ProfileCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'color'>, BulmaClassesProps {
|
|
4
|
+
/** Person's name (rendered as the title). */
|
|
4
5
|
name: string;
|
|
6
|
+
/** Role / subtitle line under the name. */
|
|
5
7
|
role?: string;
|
|
8
|
+
/** Avatar image URL. */
|
|
6
9
|
imageSrc: string;
|
|
10
|
+
/** Alt text for the avatar (defaults to the name). */
|
|
7
11
|
imageAlt?: string;
|
|
8
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
|
+
*/
|
|
9
22
|
export declare const ProfileCard: React.ForwardRefExoticComponent<ProfileCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
23
|
export default ProfileCard;
|
package/llms.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# @allxsmith/bestax-bulma
|
|
2
|
+
|
|
3
|
+
React components for Bulma v1.
|
|
4
|
+
|
|
5
|
+
- Docs index: https://bestax.io/llms.txt
|
|
6
|
+
- Full docs (one file): https://bestax.io/llms-full.txt
|
|
7
|
+
- Any docs page as markdown: append .md (e.g. https://bestax.io/docs/api/elements/button.md)
|
|
8
|
+
- LLM guide: https://bestax.io/docs/guides/llms
|
|
9
|
+
- Agent skills: https://bestax.io/docs/skills/intro
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allxsmith/bestax-bulma",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.1",
|
|
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",
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"src/scss",
|
|
12
|
-
"README.md"
|
|
12
|
+
"README.md",
|
|
13
|
+
"AGENTS.md",
|
|
14
|
+
"CLAUDE.md",
|
|
15
|
+
"llms.txt"
|
|
13
16
|
],
|
|
14
17
|
"sideEffects": [
|
|
15
18
|
"**/*.css",
|
|
@@ -34,49 +37,51 @@
|
|
|
34
37
|
"release": "npx semantic-release",
|
|
35
38
|
"test-storybook": "test-storybook",
|
|
36
39
|
"test-storybook:dark": "STORYBOOK_THEME=dark test-storybook",
|
|
37
|
-
"test-storybook:ci": "node scripts/test-storybook-ci.mjs"
|
|
40
|
+
"test-storybook:ci": "node scripts/test-storybook-ci.mjs",
|
|
41
|
+
"prepack": "node scripts/pack-pointer-files.mjs prepack",
|
|
42
|
+
"postpack": "node scripts/pack-pointer-files.mjs postpack"
|
|
38
43
|
},
|
|
39
44
|
"devDependencies": {
|
|
40
45
|
"@faker-js/faker": "^10.5.0",
|
|
41
|
-
"@fortawesome/fontawesome-free": "^7.
|
|
46
|
+
"@fortawesome/fontawesome-free": "^7.3.1",
|
|
42
47
|
"@mdi/font": "^7.4.47",
|
|
43
48
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
44
49
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
45
50
|
"@rollup/plugin-typescript": "^12.1.0",
|
|
46
|
-
"@storybook/addon-docs": "^10.
|
|
47
|
-
"@storybook/addon-onboarding": "^10.
|
|
48
|
-
"@storybook/react-vite": "^10.
|
|
51
|
+
"@storybook/addon-docs": "^10.5.5",
|
|
52
|
+
"@storybook/addon-onboarding": "^10.5.5",
|
|
53
|
+
"@storybook/react-vite": "^10.5.5",
|
|
49
54
|
"@storybook/test-runner": "^0.24.4",
|
|
50
|
-
"@testing-library/jest-dom": "^
|
|
55
|
+
"@testing-library/jest-dom": "^7.0.0",
|
|
51
56
|
"@testing-library/react": "^16.3.1",
|
|
52
57
|
"@testing-library/user-event": "^14.5.2",
|
|
53
58
|
"@types/jest": "^30.0.0",
|
|
54
59
|
"@types/react": "^19.2.17",
|
|
55
60
|
"@types/react-dom": "^19.2.3",
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
57
|
-
"@typescript-eslint/parser": "^8.
|
|
58
|
-
"eslint": "^10.
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
62
|
+
"@typescript-eslint/parser": "^8.65.0",
|
|
63
|
+
"eslint": "^10.8.0",
|
|
59
64
|
"eslint-config-prettier": "^10.1.5",
|
|
60
65
|
"eslint-plugin-prettier": "^5.2.1",
|
|
61
66
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
62
|
-
"eslint-plugin-storybook": "^10.
|
|
67
|
+
"eslint-plugin-storybook": "^10.5.5",
|
|
63
68
|
"ionicons": "^8.0.13",
|
|
64
69
|
"jest": "^30.2.0",
|
|
65
70
|
"jest-environment-jsdom": "^30.2.0",
|
|
66
71
|
"material-icons": "^1.13.14",
|
|
67
|
-
"material-symbols": "^0.45.
|
|
68
|
-
"playwright": "^1.
|
|
69
|
-
"prettier": "^3.9.
|
|
72
|
+
"material-symbols": "^0.45.9",
|
|
73
|
+
"playwright": "^1.62.0",
|
|
74
|
+
"prettier": "^3.9.6",
|
|
70
75
|
"rimraf": "^6.0.1",
|
|
71
|
-
"rollup": "^4.
|
|
76
|
+
"rollup": "^4.62.3",
|
|
72
77
|
"rollup-plugin-scss": "^4.0.1",
|
|
73
78
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
74
|
-
"sass": "^1.
|
|
75
|
-
"storybook": "^10.
|
|
76
|
-
"ts-jest": "^29.4.
|
|
79
|
+
"sass": "^1.102.0",
|
|
80
|
+
"storybook": "^10.5.5",
|
|
81
|
+
"ts-jest": "^29.4.12",
|
|
77
82
|
"tslib": "^2.8.0",
|
|
78
83
|
"typescript": "^6.0.3",
|
|
79
|
-
"vite": "^8.1.
|
|
84
|
+
"vite": "^8.1.5"
|
|
80
85
|
},
|
|
81
86
|
"dependencies": {
|
|
82
87
|
"bulma": "^1.0.4"
|
|
@@ -111,7 +116,11 @@
|
|
|
111
116
|
"react",
|
|
112
117
|
"bulma",
|
|
113
118
|
"typescript",
|
|
114
|
-
"components"
|
|
119
|
+
"components",
|
|
120
|
+
"ai",
|
|
121
|
+
"llms",
|
|
122
|
+
"agents",
|
|
123
|
+
"agent-skills"
|
|
115
124
|
],
|
|
116
125
|
"exports": {
|
|
117
126
|
".": {
|
|
@@ -179,13 +188,6 @@
|
|
|
179
188
|
"node": ">=16",
|
|
180
189
|
"npm": ">=7"
|
|
181
190
|
},
|
|
182
|
-
"typesVersions": {
|
|
183
|
-
"*": {
|
|
184
|
-
"*": [
|
|
185
|
-
"dist/types/*"
|
|
186
|
-
]
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
191
|
"author": "Alex Smith",
|
|
190
192
|
"license": "MIT",
|
|
191
193
|
"repository": {
|