bestax-mcp 0.0.0

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 (144) hide show
  1. package/README.md +90 -0
  2. package/data/catalog.json +1869 -0
  3. package/data/components/Autocomplete.json +604 -0
  4. package/data/components/Avatar.json +220 -0
  5. package/data/components/Avatars.json +294 -0
  6. package/data/components/Badge.json +261 -0
  7. package/data/components/Block.json +105 -0
  8. package/data/components/Box.json +157 -0
  9. package/data/components/Breadcrumb.json +155 -0
  10. package/data/components/Button.json +599 -0
  11. package/data/components/Buttons.json +533 -0
  12. package/data/components/Card.json +506 -0
  13. package/data/components/Carousel.json +512 -0
  14. package/data/components/Cell.json +154 -0
  15. package/data/components/Checkbox.json +176 -0
  16. package/data/components/Checkboxes.json +240 -0
  17. package/data/components/Code.json +128 -0
  18. package/data/components/Collapse.json +218 -0
  19. package/data/components/Column.json +284 -0
  20. package/data/components/Columns.json +542 -0
  21. package/data/components/ConfigProvider.json +16 -0
  22. package/data/components/Container.json +149 -0
  23. package/data/components/Content.json +228 -0
  24. package/data/components/Control.json +484 -0
  25. package/data/components/DateInput.json +872 -0
  26. package/data/components/DateTimeInput.json +952 -0
  27. package/data/components/Delete.json +153 -0
  28. package/data/components/Dialog.json +285 -0
  29. package/data/components/Divider.json +68 -0
  30. package/data/components/Dropdown.json +353 -0
  31. package/data/components/Emphasis.json +99 -0
  32. package/data/components/Field.json +539 -0
  33. package/data/components/Figure.json +143 -0
  34. package/data/components/File.json +403 -0
  35. package/data/components/Footer.json +109 -0
  36. package/data/components/Grid.json +357 -0
  37. package/data/components/Hero.json +340 -0
  38. package/data/components/Icon.json +232 -0
  39. package/data/components/IconText.json +307 -0
  40. package/data/components/Image.json +166 -0
  41. package/data/components/Input.json +583 -0
  42. package/data/components/Level.json +332 -0
  43. package/data/components/Link.json +154 -0
  44. package/data/components/LinkButton.json +247 -0
  45. package/data/components/ListItem.json +101 -0
  46. package/data/components/Loading.json +323 -0
  47. package/data/components/Media.json +345 -0
  48. package/data/components/Menu.json +317 -0
  49. package/data/components/Message.json +303 -0
  50. package/data/components/Modal.json +444 -0
  51. package/data/components/Navbar.json +996 -0
  52. package/data/components/Notification.json +165 -0
  53. package/data/components/Numberinput.json +364 -0
  54. package/data/components/OrderedList.json +189 -0
  55. package/data/components/Pagination.json +619 -0
  56. package/data/components/Panel.json +582 -0
  57. package/data/components/Paragraph.json +107 -0
  58. package/data/components/Pre.json +114 -0
  59. package/data/components/Progress.json +137 -0
  60. package/data/components/Radio.json +164 -0
  61. package/data/components/Radios.json +240 -0
  62. package/data/components/Rate.json +466 -0
  63. package/data/components/Reveal.json +177 -0
  64. package/data/components/Section.json +123 -0
  65. package/data/components/Select.json +526 -0
  66. package/data/components/Sidebar.json +488 -0
  67. package/data/components/Skeleton.json +162 -0
  68. package/data/components/Slider.json +534 -0
  69. package/data/components/Span.json +100 -0
  70. package/data/components/Steps.json +452 -0
  71. package/data/components/Strong.json +105 -0
  72. package/data/components/SubTitle.json +233 -0
  73. package/data/components/Switch.json +291 -0
  74. package/data/components/Table.json +490 -0
  75. package/data/components/Tabs.json +592 -0
  76. package/data/components/Tag.json +197 -0
  77. package/data/components/Taginput.json +587 -0
  78. package/data/components/Tags.json +181 -0
  79. package/data/components/TextArea.json +483 -0
  80. package/data/components/Theme.json +65 -0
  81. package/data/components/TimeInput.json +906 -0
  82. package/data/components/Title.json +240 -0
  83. package/data/components/Toast.json +308 -0
  84. package/data/components/Tooltip.json +212 -0
  85. package/data/components/UnorderedList.json +149 -0
  86. package/data/components/Valid value constants.json +16 -0
  87. package/data/components/classNames.json +65 -0
  88. package/data/components/useBulmaClasses.json +169 -0
  89. package/data/components/usePrefixedClassNames.json +25 -0
  90. package/data/skills/bestax-custom-component/SKILL.md +196 -0
  91. package/data/skills/bestax-custom-component/examples/stat-card.tsx +105 -0
  92. package/data/skills/bestax-custom-component/references/api.md +90 -0
  93. package/data/skills/bestax-custom-component/references/component-catalog.md +149 -0
  94. package/data/skills/bestax-custom-component/references/library-contributor.md +395 -0
  95. package/data/skills/bestax-custom-component/references/patterns.md +136 -0
  96. package/data/skills/bestax-form/SKILL.md +254 -0
  97. package/data/skills/bestax-form/references/api.md +103 -0
  98. package/data/skills/bestax-form/references/patterns.md +210 -0
  99. package/data/skills/bestax-icons/SKILL.md +80 -0
  100. package/data/skills/bestax-icons/examples/icon-usage.tsx +80 -0
  101. package/data/skills/bestax-icons/references/icon-libraries.md +131 -0
  102. package/data/skills/bestax-layout-scaffold/SKILL.md +196 -0
  103. package/data/skills/bestax-layout-scaffold/examples/app-shell.tsx +86 -0
  104. package/data/skills/bestax-layout-scaffold/examples/card-grid.tsx +106 -0
  105. package/data/skills/bestax-layout-scaffold/examples/centered.tsx +56 -0
  106. package/data/skills/bestax-layout-scaffold/examples/content-page.tsx +90 -0
  107. package/data/skills/bestax-layout-scaffold/examples/landing.tsx +122 -0
  108. package/data/skills/bestax-layout-scaffold/references/archetypes.md +246 -0
  109. package/data/skills/bestax-layout-scaffold/references/layout-components.md +269 -0
  110. package/data/skills/bestax-migrate/SKILL.md +78 -0
  111. package/data/skills/bestax-migrate/references/component-map.md +91 -0
  112. package/data/skills/bestax-migrate/references/css-migration.md +100 -0
  113. package/data/skills/bestax-migrate/references/prop-map.md +48 -0
  114. package/data/skills/bestax-migrate/references/unmappables.md +124 -0
  115. package/data/skills/bestax-optimize/SKILL.md +131 -0
  116. package/data/skills/bestax-optimize/references/modular-build.md +173 -0
  117. package/data/skills/bestax-theming/SKILL.md +117 -0
  118. package/data/skills/bestax-theming/examples/dark-mode.tsx +38 -0
  119. package/data/skills/bestax-theming/examples/theme-config.tsx +60 -0
  120. package/data/skills/bestax-theming/references/css-variables.md +466 -0
  121. package/data/skills/bestax-theming/references/themeable-components.md +119 -0
  122. package/data/skills.json +148 -0
  123. package/dist/data.d.ts +131 -0
  124. package/dist/data.d.ts.map +1 -0
  125. package/dist/data.js +111 -0
  126. package/dist/format.d.ts +37 -0
  127. package/dist/format.d.ts.map +1 -0
  128. package/dist/format.js +178 -0
  129. package/dist/helper-props.d.ts +57 -0
  130. package/dist/helper-props.d.ts.map +1 -0
  131. package/dist/helper-props.js +249 -0
  132. package/dist/index.d.ts +3 -0
  133. package/dist/index.d.ts.map +1 -0
  134. package/dist/index.js +18 -0
  135. package/dist/search.d.ts +32 -0
  136. package/dist/search.d.ts.map +1 -0
  137. package/dist/search.js +194 -0
  138. package/dist/server.d.ts +28 -0
  139. package/dist/server.d.ts.map +1 -0
  140. package/dist/server.js +616 -0
  141. package/dist/version.d.ts +29 -0
  142. package/dist/version.d.ts.map +1 -0
  143. package/dist/version.js +147 -0
  144. package/package.json +70 -0
@@ -0,0 +1,128 @@
1
+ {
2
+ "name": "Code",
3
+ "kind": "component",
4
+ "category": "elements",
5
+ "slug": "elements/code",
6
+ "docsUrl": "https://bestax.io/docs/api/elements/code",
7
+ "examples": [
8
+ {
9
+ "title": "Default Code",
10
+ "code": "<Code>console.log(\"Hello, World!\")</Code>"
11
+ },
12
+ {
13
+ "title": "Variable Name",
14
+ "code": "<Paragraph>\n The <Code>userName</Code> variable stores the current user's name.\n</Paragraph>"
15
+ },
16
+ {
17
+ "title": "Function Call",
18
+ "code": "<Paragraph>\n Use <Code>Array.map()</Code> to transform each element in the array.\n</Paragraph>"
19
+ },
20
+ {
21
+ "title": "Command Line",
22
+ "code": "<Paragraph>\n Run <Code>pnpm install</Code> to install the dependencies.\n</Paragraph>"
23
+ },
24
+ {
25
+ "title": "Colored Code",
26
+ "code": "<Code textColor=\"primary\">import React from \"react\"</Code>"
27
+ },
28
+ {
29
+ "title": "Code with Background",
30
+ "code": "<Code bgColor=\"light\" p=\"1\">\n const x = 42\n</Code>"
31
+ },
32
+ {
33
+ "title": "All Colors",
34
+ "code": "<Block display=\"flex\" flexDirection=\"column\" gap=\"2\">\n <Code textColor=\"primary\">primary code</Code>\n <Code textColor=\"link\">link code</Code>\n <Code textColor=\"info\">info code</Code>\n <Code textColor=\"success\">success code</Code>\n <Code textColor=\"warning\">warning code</Code>\n <Code textColor=\"danger\">danger code</Code>\n</Block>"
35
+ },
36
+ {
37
+ "title": "File Path",
38
+ "code": "<Paragraph>\n Edit the configuration file at <Code>src/config/settings.ts</Code> to change\n the default values.\n</Paragraph>"
39
+ },
40
+ {
41
+ "title": "Keyboard Shortcuts",
42
+ "code": "<Paragraph>\n Press <Code>Ctrl + C</Code> to copy and <Code>Ctrl + V</Code> to paste.\n</Paragraph>"
43
+ }
44
+ ],
45
+ "accessibility": "- **Code Semantics:** Screen readers may indicate code content differently, helping users understand it's technical content.\n- **Monospace Font:** The `<code>` element typically renders in a monospace font, aiding readability of technical content.\n- **Context:** Provide context around code snippets so users understand what the code represents.\n\n:::info\nUse `Code` for short inline snippets. For multi-line code blocks that need to preserve whitespace and formatting, use the `Pre` component.\n:::",
46
+ "related": ["Figure", "Paragraph", "Pre", "useBulmaClasses"],
47
+ "storybook": "https://bestax.io/storybook/?path=/story/elements-code--default",
48
+ "summary": "The `Code` component renders a styled `<code>` element with Bulma helper class integration.",
49
+ "import": "import { Code } from '@allxsmith/bestax-bulma';",
50
+ "sourceFile": "bulma-ui/src/elements/Code.tsx",
51
+ "rootClass": null,
52
+ "parts": [
53
+ {
54
+ "path": "Code",
55
+ "summary": "The `Code` component renders a styled `<code>` element with Bulma helper class integration.",
56
+ "component": null,
57
+ "props": [
58
+ {
59
+ "name": "className",
60
+ "type": "string",
61
+ "default": null,
62
+ "description": "Additional CSS classes to apply.",
63
+ "required": false,
64
+ "inherited": false,
65
+ "deprecated": false
66
+ },
67
+ {
68
+ "name": "textColor",
69
+ "type": "Bulma color | 'inherit' | 'current'",
70
+ "default": null,
71
+ "description": "Text color helper.",
72
+ "required": false,
73
+ "inherited": false,
74
+ "deprecated": false,
75
+ "valuesRef": "helpers/valid-values"
76
+ },
77
+ {
78
+ "name": "bgColor",
79
+ "type": "Bulma color | 'inherit' | 'current'",
80
+ "default": null,
81
+ "description": "Background color helper.",
82
+ "required": false,
83
+ "inherited": false,
84
+ "deprecated": false,
85
+ "valuesRef": "helpers/valid-values"
86
+ },
87
+ {
88
+ "name": "children",
89
+ "type": "React.ReactNode",
90
+ "default": null,
91
+ "description": "Code content to render inside the element.",
92
+ "required": false,
93
+ "inherited": false,
94
+ "deprecated": false
95
+ }
96
+ ],
97
+ "extraProps": [],
98
+ "catchAll": "All standard HTML attributes and Bulma helper props",
99
+ "types": []
100
+ }
101
+ ],
102
+ "cssVars": [
103
+ {
104
+ "css": "--bulma-code-family",
105
+ "sass": "$code-family",
106
+ "default": "var(--bulma-family-code)",
107
+ "scope": "global"
108
+ },
109
+ {
110
+ "css": "--bulma-code-padding",
111
+ "sass": "$code-padding",
112
+ "default": "0.25em 0.5em 0.25em",
113
+ "scope": "global"
114
+ },
115
+ {
116
+ "css": "--bulma-code-weight",
117
+ "sass": "$code-weight",
118
+ "default": "normal",
119
+ "scope": "global"
120
+ },
121
+ {
122
+ "css": "--bulma-code-size",
123
+ "sass": "$code-size",
124
+ "default": "0.875em",
125
+ "scope": "global"
126
+ }
127
+ ]
128
+ }
@@ -0,0 +1,218 @@
1
+ {
2
+ "name": "Collapse",
3
+ "kind": "component",
4
+ "category": "components",
5
+ "slug": "components/collapse",
6
+ "docsUrl": "https://bestax.io/docs/api/components/collapse",
7
+ "examples": [
8
+ {
9
+ "title": "Basic Collapse",
10
+ "code": "function example() {\n return (\n <Collapse\n trigger={\n <Block\n p=\"3\"\n bgColor=\"white-ter\"\n cursor=\"pointer\"\n style={{ borderRadius: '4px' }}\n >\n <Strong>Click to expand</Strong>\n </Block>\n }\n >\n <Block p=\"3\">\n <Paragraph>\n This is the collapsible content. It can contain any React elements.\n </Paragraph>\n <Paragraph>Click the header again to collapse.</Paragraph>\n </Block>\n </Collapse>\n );\n}"
11
+ },
12
+ {
13
+ "title": "Default Open",
14
+ "code": "function example() {\n return (\n <Collapse\n defaultOpen\n trigger={\n <Block\n p=\"3\"\n bgColor=\"white-ter\"\n cursor=\"pointer\"\n style={{ borderRadius: '4px' }}\n >\n <Strong>This starts open</Strong>\n </Block>\n }\n >\n <Block p=\"3\">\n <Paragraph>This content is visible by default.</Paragraph>\n </Block>\n </Collapse>\n );\n}"
15
+ },
16
+ {
17
+ "title": "Without Animation",
18
+ "code": "function example() {\n return (\n <Collapse\n animation={false}\n trigger={\n <Block\n p=\"3\"\n bgColor=\"white-ter\"\n cursor=\"pointer\"\n style={{ borderRadius: '4px' }}\n >\n <Strong>No animation</Strong>\n </Block>\n }\n >\n <Block p=\"3\">\n <Paragraph>This collapse has animation disabled.</Paragraph>\n </Block>\n </Collapse>\n );\n}"
19
+ },
20
+ {
21
+ "title": "Controlled Mode",
22
+ "code": "function example() {\n const [isOpen, setIsOpen] = useState(false);\n\n return (\n <Block>\n <Block mb=\"4\">\n <Button color=\"primary\" onClick={() => setIsOpen(!isOpen)}>\n {isOpen ? 'Close' : 'Open'} Collapse\n </Button>\n <Span ml=\"4\">State: {isOpen ? 'Open' : 'Closed'}</Span>\n </Block>\n <Collapse\n open={isOpen}\n trigger={\n <Block p=\"3\" bgColor=\"white-ter\" style={{ borderRadius: '4px' }}>\n Controlled collapse (use button above)\n </Block>\n }\n >\n <Block p=\"3\">\n <Paragraph>This collapse is controlled by external state.</Paragraph>\n </Block>\n </Collapse>\n </Block>\n );\n}"
23
+ },
24
+ {
25
+ "title": "Accordion",
26
+ "code": "function example() {\n const [openIndex, setOpenIndex] = useState(0);\n\n const items = [\n { title: 'Section 1', content: 'Content for section 1.' },\n { title: 'Section 2', content: 'Content for section 2.' },\n { title: 'Section 3', content: 'Content for section 3.' },\n ];\n\n return (\n <Block display=\"flex\" flexDirection=\"column\" gap=\"2\">\n {items.map((item, index) => (\n <Collapse\n key={index}\n className=\"collapse is-bordered\"\n open={openIndex === index}\n trigger={\n <Block\n p=\"4\"\n onClick={() => setOpenIndex(openIndex === index ? -1 : index)}\n display=\"flex\"\n justifyContent=\"space-between\"\n alignItems=\"center\"\n >\n <Strong>{item.title}</Strong>\n <Span>{openIndex === index ? '−' : '+'}</Span>\n </Block>\n }\n >\n <Paragraph p=\"4\">{item.content}</Paragraph>\n </Collapse>\n ))}\n </Block>\n );\n}"
27
+ },
28
+ {
29
+ "title": "Card Style",
30
+ "code": "function example() {\n return (\n <Collapse\n className=\"collapse is-card\"\n defaultOpen\n trigger={\n <Block className=\"collapse-trigger-header\">\n <Span>Card Collapse</Span>\n <Icon name=\"fas fa-chevron-down\" />\n </Block>\n }\n >\n <Paragraph>\n This collapse is styled like a card with shadow and padding.\n </Paragraph>\n <Paragraph>Perfect for FAQ sections or settings panels.</Paragraph>\n </Collapse>\n );\n}"
31
+ },
32
+ {
33
+ "title": "FAQ Example",
34
+ "code": "function example() {\n const faqs = [\n {\n q: 'What is Bestax?',\n a: 'Bestax is a React component library built on Bulma.',\n },\n { q: 'How do I install it?', a: 'pnpm add @allxsmith/bestax-bulma' },\n { q: 'Is it free?', a: 'Yes, Bestax is open source and free to use.' },\n ];\n\n const [openStates, setOpenStates] = useState(faqs.map(() => false));\n\n const toggle = index => {\n setOpenStates(prev =>\n prev.map((state, i) => (i === index ? !state : state))\n );\n };\n\n return (\n <Block>\n <Title size=\"5\" mb=\"4\">\n FAQ\n </Title>\n <Block display=\"flex\" flexDirection=\"column\" gap=\"2\">\n {faqs.map((faq, index) => (\n <Collapse\n key={index}\n className=\"collapse is-bordered\"\n trigger={\n <Block\n p=\"4\"\n onClick={() => toggle(index)}\n display=\"flex\"\n justifyContent=\"space-between\"\n >\n <Strong>{faq.q}</Strong>\n <Span>{openStates[index] ? '▲' : '▼'}</Span>\n </Block>\n }\n open={openStates[index]}\n >\n <Paragraph p=\"4\" textColor=\"grey-dark\">\n {faq.a}\n </Paragraph>\n </Collapse>\n ))}\n </Block>\n </Block>\n );\n}"
35
+ }
36
+ ],
37
+ "accessibility": "- Trigger has `role=\"button\"` and `tabIndex=\"0\"` for keyboard access\n- Trigger has `aria-expanded` to indicate open/closed state\n- Trigger has `aria-controls` pointing to the content element\n- Content has `aria-hidden` matching the collapsed state\n- Supports keyboard navigation (Enter and Space to toggle)",
38
+ "related": [],
39
+ "storybook": null,
40
+ "summary": "The `Collapse` component provides an expandable/collapsible content panel.",
41
+ "import": "import { Collapse } from '@allxsmith/bestax-bulma';",
42
+ "sourceFile": "bulma-ui/src/components/Collapse.tsx",
43
+ "rootClass": "collapse",
44
+ "parts": [
45
+ {
46
+ "path": "Collapse",
47
+ "summary": "The `Collapse` component provides an expandable/collapsible content panel.",
48
+ "component": null,
49
+ "props": [
50
+ {
51
+ "name": "open",
52
+ "type": "boolean",
53
+ "default": null,
54
+ "description": "Controlled open state. If provided, component is controlled.",
55
+ "required": false,
56
+ "inherited": false,
57
+ "deprecated": false
58
+ },
59
+ {
60
+ "name": "defaultOpen",
61
+ "type": "boolean",
62
+ "default": "false",
63
+ "description": "Initial open state for uncontrolled usage.",
64
+ "required": false,
65
+ "inherited": false,
66
+ "deprecated": false
67
+ },
68
+ {
69
+ "name": "onOpen",
70
+ "type": "() => void",
71
+ "default": null,
72
+ "description": "Callback when collapse opens.",
73
+ "required": false,
74
+ "inherited": false,
75
+ "deprecated": false
76
+ },
77
+ {
78
+ "name": "onClose",
79
+ "type": "() => void",
80
+ "default": null,
81
+ "description": "Callback when collapse closes.",
82
+ "required": false,
83
+ "inherited": false,
84
+ "deprecated": false
85
+ },
86
+ {
87
+ "name": "trigger",
88
+ "type": "React.ReactNode",
89
+ "default": null,
90
+ "description": "The clickable trigger element (header/button).",
91
+ "required": false,
92
+ "inherited": false,
93
+ "deprecated": false
94
+ },
95
+ {
96
+ "name": "animation",
97
+ "type": "'fade' | 'slide' | false",
98
+ "default": "'fade'",
99
+ "description": "Animation style, or `false` to disable.",
100
+ "required": false,
101
+ "inherited": false,
102
+ "deprecated": false
103
+ },
104
+ {
105
+ "name": "position",
106
+ "type": "'top' | 'bottom'",
107
+ "default": "'top'",
108
+ "description": "Position of the trigger relative to content.",
109
+ "required": false,
110
+ "inherited": false,
111
+ "deprecated": false
112
+ },
113
+ {
114
+ "name": "ariaId",
115
+ "type": "string",
116
+ "default": "auto",
117
+ "description": "Custom aria id for accessibility.",
118
+ "required": false,
119
+ "inherited": false,
120
+ "deprecated": false
121
+ },
122
+ {
123
+ "name": "bordered",
124
+ "type": "boolean",
125
+ "default": "false",
126
+ "description": "Adds a border around the collapse.",
127
+ "required": false,
128
+ "inherited": false,
129
+ "deprecated": false
130
+ },
131
+ {
132
+ "name": "triggerClassName",
133
+ "type": "string",
134
+ "default": null,
135
+ "description": "Additional classes for the trigger wrapper.",
136
+ "required": false,
137
+ "inherited": false,
138
+ "deprecated": false
139
+ },
140
+ {
141
+ "name": "contentClassName",
142
+ "type": "string",
143
+ "default": null,
144
+ "description": "Additional classes for the content wrapper.",
145
+ "required": false,
146
+ "inherited": false,
147
+ "deprecated": false
148
+ }
149
+ ],
150
+ "extraProps": [
151
+ {
152
+ "name": "children",
153
+ "type": "React.ReactNode",
154
+ "default": null,
155
+ "description": "The collapsible content.",
156
+ "required": false,
157
+ "inherited": false,
158
+ "deprecated": false
159
+ },
160
+ {
161
+ "name": "className",
162
+ "type": "string",
163
+ "default": null,
164
+ "description": "Additional CSS classes.",
165
+ "required": false,
166
+ "inherited": false,
167
+ "deprecated": false
168
+ }
169
+ ],
170
+ "catchAll": "All standard <div> attributes and Bulma helper props",
171
+ "types": []
172
+ }
173
+ ],
174
+ "cssVars": [
175
+ {
176
+ "css": "--bulma-collapse-margin-bottom",
177
+ "sass": "$collapse-margin-bottom",
178
+ "default": "0.5rem",
179
+ "scope": "component"
180
+ },
181
+ {
182
+ "css": "--bulma-collapse-border-color",
183
+ "sass": "$collapse-border-color",
184
+ "default": "var(--bulma-border)",
185
+ "scope": "component"
186
+ },
187
+ {
188
+ "css": "--bulma-collapse-radius",
189
+ "sass": "$collapse-radius",
190
+ "default": "var(--bulma-radius)",
191
+ "scope": "component"
192
+ },
193
+ {
194
+ "css": "--bulma-collapse-trigger-icon-size",
195
+ "sass": "$collapse-trigger-icon-size",
196
+ "default": "1.5em",
197
+ "scope": "component"
198
+ },
199
+ {
200
+ "css": "--bulma-collapse-trigger-icon-margin",
201
+ "sass": "$collapse-trigger-icon-margin",
202
+ "default": "0.5em",
203
+ "scope": "component"
204
+ },
205
+ {
206
+ "css": "--bulma-collapse-header-weight",
207
+ "sass": "$collapse-header-weight",
208
+ "default": "var(--bulma-weight-semibold)",
209
+ "scope": "component"
210
+ },
211
+ {
212
+ "css": "--bulma-collapse-group-gap",
213
+ "sass": "$collapse-group-gap",
214
+ "default": "0.5rem",
215
+ "scope": "component"
216
+ }
217
+ ]
218
+ }
@@ -0,0 +1,284 @@
1
+ {
2
+ "name": "Column",
3
+ "kind": "component",
4
+ "category": "columns",
5
+ "slug": "columns/column",
6
+ "docsUrl": "https://bestax.io/docs/api/columns/column",
7
+ "examples": [
8
+ {
9
+ "title": "Basic Columns Example",
10
+ "code": "import { Columns, Column } from '@allxsmith/bestax-bulma';\nimport { Notification } from '@allxsmith/bestax-bulma/elements/Notification';\n\n<Columns>\n <Column>\n <Notification color=\"primary\">First column</Notification>\n </Column>\n <Column>\n <Notification color=\"info\">Second column</Notification>\n </Column>\n <Column>\n <Notification color=\"link\">Third column</Notification>\n </Column>\n <Column>\n <Notification color=\"warning\">Fourth column</Notification>\n </Column>\n</Columns>;"
11
+ },
12
+ {
13
+ "title": "Column Sizes",
14
+ "code": "<>\n <Columns>\n <Column size=\"four-fifths\">\n <Notification color=\"primary\">is-four-fifths</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n\n <Columns>\n <Column size=\"three-quarters\">\n <Notification color=\"primary\">is-three-quarters</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n\n <Columns>\n <Column size=\"two-thirds\">\n <Notification color=\"primary\">is-two-thirds</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n\n <Columns>\n <Column size=\"three-fifths\">\n <Notification color=\"primary\">is-three-fifths</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n\n <Columns>\n <Column size=\"half\">\n <Notification color=\"primary\">is-half</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n\n <Columns>\n <Column size=\"two-fifths\">\n <Notification color=\"primary\">is-two-fifths</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n\n <Columns>\n <Column size=\"one-third\">\n <Notification color=\"primary\">is-one-third</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n\n <Columns>\n <Column size=\"one-quarter\">\n <Notification color=\"primary\">is-one-quarter</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n\n <Columns>\n <Column size=\"one-fifth\">\n <Notification color=\"primary\">is-one-fifth</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n </Columns>\n</>"
15
+ },
16
+ {
17
+ "title": "12 Column System",
18
+ "code": "<>\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map(num => (\n <Columns key={num}>\n <Column size={num}>\n <Notification color=\"primary\">\n {num === 1 ? 1 : `is-${num}`}\n </Notification>\n </Column>\n {num === 11 && (\n <Column>\n <Notification color=\"primary\">1</Notification>\n </Column>\n )}\n {num < 11 && (\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n )}\n {num < 10 && (\n <Column>\n <Notification color=\"primary\">Auto</Notification>\n </Column>\n )}\n </Columns>\n ))}\n</>"
19
+ },
20
+ {
21
+ "title": "Responsive Column Sizes",
22
+ "code": "<Columns isMobile>\n <Column\n sizeMobile=\"three-quarters\"\n sizeTablet=\"two-thirds\"\n sizeDesktop=\"half\"\n sizeWidescreen=\"one-third\"\n sizeFullhd=\"one-quarter\"\n >\n <Notification color=\"primary\">\n <code>sizeMobile=\"three-quarters\"</code>\n <br />\n <code>sizeTablet=\"two-thirds\"</code>\n <br />\n <code>sizeDesktop=\"half\"</code>\n <br />\n <code>sizeWidescreen=\"one-third\"</code>\n <br />\n <code>sizeFullhd=\"one-quarter\"</code>\n </Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">2</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">3</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">4</Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">5</Notification>\n </Column>\n</Columns>"
23
+ },
24
+ {
25
+ "title": "Offsets",
26
+ "code": "<>\n <Columns isMobile>\n <Column size=\"half\" offset=\"one-quarter\">\n <Notification color=\"primary\">is-half is-offset-one-quarter</Notification>\n </Column>\n </Columns>\n <Columns isMobile>\n <Column size=\"three-fifths\" offset=\"one-fifth\">\n <Notification color=\"primary\">\n is-three-fifths is-offset-one-fifth\n </Notification>\n </Column>\n </Columns>\n <Columns isMobile>\n <Column size={4} offset={8}>\n <Notification color=\"primary\">is-4 is-offset-8</Notification>\n </Column>\n </Columns>\n <Columns isMobile>\n <Column size={11} offset={1}>\n <Notification color=\"primary\">is-11 is-offset-1</Notification>\n </Column>\n </Columns>\n</>"
27
+ },
28
+ {
29
+ "title": "Narrow Columns",
30
+ "code": "<Columns>\n <Column isNarrow>\n <Notification color=\"primary\" style={{ width: 180 }}>\n <Strong>Narrow column</Strong>\n <br />\n <Span>This column is only as wide as it needs to be, 180px wide.</Span>\n </Notification>\n </Column>\n <Column>\n <Notification color=\"primary\">\n <Strong>Flexible column</Strong>\n <br />\n <Span>This column will take up the remaining space available.</Span>\n </Notification>\n </Column>\n</Columns>"
31
+ }
32
+ ],
33
+ "accessibility": null,
34
+ "related": [],
35
+ "storybook": null,
36
+ "summary": "The `Column` component provides a single responsive layout column using Bulma's flexbox-based column system.",
37
+ "import": "import { Column } from '@allxsmith/bestax-bulma';",
38
+ "sourceFile": "bulma-ui/src/columns/Column.tsx",
39
+ "rootClass": "column",
40
+ "parts": [
41
+ {
42
+ "path": "Column",
43
+ "summary": "The `Column` component provides a single responsive layout column using Bulma's flexbox-based column system.",
44
+ "component": null,
45
+ "props": [
46
+ {
47
+ "name": "className",
48
+ "type": "string",
49
+ "default": null,
50
+ "description": "Additional CSS classes for the column.",
51
+ "required": false,
52
+ "inherited": false,
53
+ "deprecated": false
54
+ },
55
+ {
56
+ "name": "textColor",
57
+ "type": "Bulma color | 'inherit' | 'current'",
58
+ "default": null,
59
+ "description": "Text color.",
60
+ "required": false,
61
+ "inherited": false,
62
+ "deprecated": false,
63
+ "valuesRef": "helpers/valid-values"
64
+ },
65
+ {
66
+ "name": "color",
67
+ "type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
68
+ "default": null,
69
+ "description": "Bulma color modifier for the column.",
70
+ "required": false,
71
+ "inherited": false,
72
+ "deprecated": false
73
+ },
74
+ {
75
+ "name": "bgColor",
76
+ "type": "Bulma color | 'inherit' | 'current'",
77
+ "default": null,
78
+ "description": "Background color.",
79
+ "required": false,
80
+ "inherited": false,
81
+ "deprecated": false,
82
+ "valuesRef": "helpers/valid-values"
83
+ },
84
+ {
85
+ "name": "size",
86
+ "type": "BulmaColumnSize",
87
+ "default": null,
88
+ "description": "Column size (see Bulma docs).",
89
+ "required": false,
90
+ "inherited": false,
91
+ "deprecated": false
92
+ },
93
+ {
94
+ "name": "sizeMobile",
95
+ "type": "BulmaColumnSize",
96
+ "default": null,
97
+ "description": "Size for mobile breakpoint.",
98
+ "required": false,
99
+ "inherited": false,
100
+ "deprecated": false
101
+ },
102
+ {
103
+ "name": "sizeTablet",
104
+ "type": "BulmaColumnSize",
105
+ "default": null,
106
+ "description": "Size for tablet breakpoint.",
107
+ "required": false,
108
+ "inherited": false,
109
+ "deprecated": false
110
+ },
111
+ {
112
+ "name": "sizeDesktop",
113
+ "type": "BulmaColumnSize",
114
+ "default": null,
115
+ "description": "Size for desktop breakpoint.",
116
+ "required": false,
117
+ "inherited": false,
118
+ "deprecated": false
119
+ },
120
+ {
121
+ "name": "sizeWidescreen",
122
+ "type": "BulmaColumnSize",
123
+ "default": null,
124
+ "description": "Size for widescreen breakpoint.",
125
+ "required": false,
126
+ "inherited": false,
127
+ "deprecated": false
128
+ },
129
+ {
130
+ "name": "sizeFullhd",
131
+ "type": "BulmaColumnSize",
132
+ "default": null,
133
+ "description": "Size for fullhd breakpoint.",
134
+ "required": false,
135
+ "inherited": false,
136
+ "deprecated": false
137
+ },
138
+ {
139
+ "name": "offset",
140
+ "type": "BulmaColumnSize",
141
+ "default": null,
142
+ "description": "Offset for column.",
143
+ "required": false,
144
+ "inherited": false,
145
+ "deprecated": false
146
+ },
147
+ {
148
+ "name": "offsetMobile",
149
+ "type": "BulmaColumnSize",
150
+ "default": null,
151
+ "description": "Offset for mobile.",
152
+ "required": false,
153
+ "inherited": false,
154
+ "deprecated": false
155
+ },
156
+ {
157
+ "name": "offsetTablet",
158
+ "type": "BulmaColumnSize",
159
+ "default": null,
160
+ "description": "Offset for tablet.",
161
+ "required": false,
162
+ "inherited": false,
163
+ "deprecated": false
164
+ },
165
+ {
166
+ "name": "offsetDesktop",
167
+ "type": "BulmaColumnSize",
168
+ "default": null,
169
+ "description": "Offset for desktop.",
170
+ "required": false,
171
+ "inherited": false,
172
+ "deprecated": false
173
+ },
174
+ {
175
+ "name": "offsetWidescreen",
176
+ "type": "BulmaColumnSize",
177
+ "default": null,
178
+ "description": "Offset for widescreen.",
179
+ "required": false,
180
+ "inherited": false,
181
+ "deprecated": false
182
+ },
183
+ {
184
+ "name": "offsetFullhd",
185
+ "type": "BulmaColumnSize",
186
+ "default": null,
187
+ "description": "Offset for fullhd.",
188
+ "required": false,
189
+ "inherited": false,
190
+ "deprecated": false
191
+ },
192
+ {
193
+ "name": "isNarrow",
194
+ "type": "boolean",
195
+ "default": "false",
196
+ "description": "Column is only as wide as its content.",
197
+ "required": false,
198
+ "inherited": false,
199
+ "deprecated": false
200
+ },
201
+ {
202
+ "name": "isNarrowMobile",
203
+ "type": "boolean",
204
+ "default": "false",
205
+ "description": "The column is narrow on mobile.",
206
+ "required": false,
207
+ "inherited": false,
208
+ "deprecated": false
209
+ },
210
+ {
211
+ "name": "isNarrowTablet",
212
+ "type": "boolean",
213
+ "default": "false",
214
+ "description": "The column is narrow on tablet.",
215
+ "required": false,
216
+ "inherited": false,
217
+ "deprecated": false
218
+ },
219
+ {
220
+ "name": "isNarrowTouch",
221
+ "type": "boolean",
222
+ "default": "false",
223
+ "description": "The column is narrow on touch devices.",
224
+ "required": false,
225
+ "inherited": false,
226
+ "deprecated": false
227
+ },
228
+ {
229
+ "name": "isNarrowDesktop",
230
+ "type": "boolean",
231
+ "default": "false",
232
+ "description": "The column is narrow on desktop.",
233
+ "required": false,
234
+ "inherited": false,
235
+ "deprecated": false
236
+ },
237
+ {
238
+ "name": "isNarrowWidescreen",
239
+ "type": "boolean",
240
+ "default": "false",
241
+ "description": "The column is narrow on widescreen.",
242
+ "required": false,
243
+ "inherited": false,
244
+ "deprecated": false
245
+ },
246
+ {
247
+ "name": "isNarrowFullhd",
248
+ "type": "boolean",
249
+ "default": "false",
250
+ "description": "The column is narrow on fullhd.",
251
+ "required": false,
252
+ "inherited": false,
253
+ "deprecated": false
254
+ },
255
+ {
256
+ "name": "children",
257
+ "type": "React.ReactNode",
258
+ "default": null,
259
+ "description": "Children to render inside the column.",
260
+ "required": false,
261
+ "inherited": false,
262
+ "deprecated": false
263
+ }
264
+ ],
265
+ "extraProps": [],
266
+ "catchAll": "All standard <div> attributes and Bulma helper props",
267
+ "types": [
268
+ {
269
+ "name": "BulmaColumnSize",
270
+ "expansion": "number | 'full' | 'half' | 'one-third' | 'two-thirds' | 'one-quarter' | 'three-quarters' | 'one-fifth' | 'two-fifths' | 'three-fifths' | 'four-fifths'",
271
+ "summary": "Possible values for Bulma column size."
272
+ }
273
+ ]
274
+ }
275
+ ],
276
+ "cssVars": [
277
+ {
278
+ "css": "--bulma-column-gap",
279
+ "sass": "$column-gap",
280
+ "default": "0.75rem",
281
+ "scope": "global"
282
+ }
283
+ ]
284
+ }