@allxsmith/bestax-bulma 5.26.1 → 5.26.2

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.
@@ -55,11 +55,20 @@ type BulmaVars = Partial<Record<BulmaVarKey, string>>;
55
55
  */
56
56
  export interface ThemeProps extends Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
57
57
  children: ReactNode;
58
+ /**
59
+ * Additional CSS classes for the wrapper div. A root Theme (`isRoot`) has no
60
+ * wrapper, so there this does nothing, and says so in development.
61
+ */
58
62
  className?: string;
59
63
  /**
60
64
  * Inject the variables globally at `:root` instead of scoping them to a
61
65
  * wrapper div. Default: false.
62
66
  *
67
+ * A root Theme renders its children with no wrapper, so `className` and the
68
+ * helper props, such as `m` or `shadow`, have no element to land on. They
69
+ * do nothing, and say so in development. `radius` and `columnGap` describe
70
+ * what each does at the root.
71
+ *
63
72
  * Several root Themes can be mounted at once, and each contributes its own
64
73
  * variables. Where two set the same one, the inner or later-mounted Theme
65
74
  * wins, as with nested scoped Themes, and unmounting a Theme removes only
@@ -55,11 +55,20 @@ type BulmaVars = Partial<Record<BulmaVarKey, string>>;
55
55
  */
56
56
  export interface ThemeProps extends Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
57
57
  children: ReactNode;
58
+ /**
59
+ * Additional CSS classes for the wrapper div. A root Theme (`isRoot`) has no
60
+ * wrapper, so there this does nothing, and says so in development.
61
+ */
58
62
  className?: string;
59
63
  /**
60
64
  * Inject the variables globally at `:root` instead of scoping them to a
61
65
  * wrapper div. Default: false.
62
66
  *
67
+ * A root Theme renders its children with no wrapper, so `className` and the
68
+ * helper props, such as `m` or `shadow`, have no element to land on. They
69
+ * do nothing, and say so in development. `radius` and `columnGap` describe
70
+ * what each does at the root.
71
+ *
63
72
  * Several root Themes can be mounted at once, and each contributes its own
64
73
  * variables. Where two set the same one, the inner or later-mounted Theme
65
74
  * wins, as with nested scoped Themes, and unmounting a Theme removes only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allxsmith/bestax-bulma",
3
- "version": "5.26.1",
3
+ "version": "5.26.2",
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",