@allxsmith/bestax-bulma 5.4.2 → 5.6.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.
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { BulmaClassesProps, validColors } from '../helpers/useBulmaClasses';
3
- export type BulmaGapSize = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8';
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;
@@ -9,6 +9,7 @@ export interface AvatarsProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
9
9
  shape?: AvatarProps['shape'];
10
10
  spacing?: AvatarsSpacing | number;
11
11
  spaced?: boolean;
12
+ surplusLabel?: (count: number) => string;
12
13
  children?: React.ReactNode;
13
14
  }
14
15
  export declare const Avatars: React.FC<AvatarsProps> & {
@@ -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';