@allxsmith/bestax-bulma 5.5.0 → 5.6.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/dist/index.cjs.js +90 -53
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +90 -53
- package/dist/index.esm.js.map +1 -1
- package/dist/types/columns/Columns.d.ts +8 -1
- package/dist/types/grid/Grid.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
|
|
3
|
-
|
|
3
|
+
import type { BulmaGapValue } from '../grid/Grid';
|
|
4
|
+
export type BulmaGapSize = BulmaGapValue;
|
|
4
5
|
export interface ColumnsProps extends React.HTMLAttributes<HTMLDivElement>, Omit<BulmaClassesProps, 'color' | 'backgroundColor'> {
|
|
5
6
|
className?: string;
|
|
6
7
|
textColor?: (typeof validColors)[number] | 'inherit' | 'current';
|
|
@@ -12,6 +13,12 @@ export interface ColumnsProps extends React.HTMLAttributes<HTMLDivElement>, Omit
|
|
|
12
13
|
isVCentered?: boolean;
|
|
13
14
|
isMobile?: boolean;
|
|
14
15
|
isDesktop?: boolean;
|
|
16
|
+
gap?: BulmaGapValue;
|
|
17
|
+
gapMobile?: BulmaGapValue;
|
|
18
|
+
gapTablet?: BulmaGapValue;
|
|
19
|
+
gapDesktop?: BulmaGapValue;
|
|
20
|
+
gapWidescreen?: BulmaGapValue;
|
|
21
|
+
gapFullhd?: BulmaGapValue;
|
|
15
22
|
gapSize?: BulmaGapSize;
|
|
16
23
|
gapSizeMobile?: BulmaGapSize;
|
|
17
24
|
gapSizeTablet?: BulmaGapSize;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
|
|
3
|
-
export type BulmaGapValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
3
|
+
export type BulmaGapValue = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8';
|
|
4
4
|
export type BulmaMinColValue = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32;
|
|
5
5
|
export type BulmaFixedGridCols = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
6
6
|
export type BulmaFixedGridColsProp = BulmaFixedGridCols | 'auto';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allxsmith/bestax-bulma",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.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",
|