@umami/react-zen 0.219.0 → 0.221.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.
package/dist/index.d.mts CHANGED
@@ -93,8 +93,8 @@ type FlexGrow = string | number;
93
93
  type FlexShrink = string | number;
94
94
  type GridDisplay = 'none' | 'grid' | 'inline-grid';
95
95
  type GridAutoFlow = 'row' | 'column' | 'dense' | 'row-dense' | 'column-dense';
96
- type GridTemplateRows = string;
97
- type GridTemplateColumns = string;
96
+ type GridColumns = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none' | 'subgrid';
97
+ type GridRows = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none' | 'subgrid';
98
98
  type GridTemplateAreas = string;
99
99
  type JustifyContent = 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'left' | 'right' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch';
100
100
  type JustifyItems = 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'left' | 'right' | 'baseline';
@@ -386,8 +386,8 @@ interface GridProps extends Omit<BoxProps, 'display'> {
386
386
  gapX?: Responsive<Gap>;
387
387
  gapY?: Responsive<Gap>;
388
388
  autoFlow?: Responsive<GridAutoFlow>;
389
- rows?: GridTemplateRows;
390
- columns?: GridTemplateColumns;
389
+ rows?: Responsive<GridRows | string>;
390
+ columns?: Responsive<GridColumns | string>;
391
391
  areas?: GridTemplateAreas;
392
392
  }
393
393
  declare function Grid({ display, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, autoFlow, rows, columns, areas, className, style, children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
@@ -429,7 +429,7 @@ declare function Tooltip({ children, className, showArrow, ...props }: TooltipPr
429
429
  interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
430
430
  showArrow?: boolean;
431
431
  }
432
- declare function TooltipBubble({ showArrow, children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
432
+ declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
433
433
 
434
434
  interface FloatingTooltipProps extends TooltipBubbleProps {
435
435
  }
package/dist/index.d.ts CHANGED
@@ -93,8 +93,8 @@ type FlexGrow = string | number;
93
93
  type FlexShrink = string | number;
94
94
  type GridDisplay = 'none' | 'grid' | 'inline-grid';
95
95
  type GridAutoFlow = 'row' | 'column' | 'dense' | 'row-dense' | 'column-dense';
96
- type GridTemplateRows = string;
97
- type GridTemplateColumns = string;
96
+ type GridColumns = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none' | 'subgrid';
97
+ type GridRows = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none' | 'subgrid';
98
98
  type GridTemplateAreas = string;
99
99
  type JustifyContent = 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'left' | 'right' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch';
100
100
  type JustifyItems = 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'left' | 'right' | 'baseline';
@@ -386,8 +386,8 @@ interface GridProps extends Omit<BoxProps, 'display'> {
386
386
  gapX?: Responsive<Gap>;
387
387
  gapY?: Responsive<Gap>;
388
388
  autoFlow?: Responsive<GridAutoFlow>;
389
- rows?: GridTemplateRows;
390
- columns?: GridTemplateColumns;
389
+ rows?: Responsive<GridRows | string>;
390
+ columns?: Responsive<GridColumns | string>;
391
391
  areas?: GridTemplateAreas;
392
392
  }
393
393
  declare function Grid({ display, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, autoFlow, rows, columns, areas, className, style, children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
@@ -429,7 +429,7 @@ declare function Tooltip({ children, className, showArrow, ...props }: TooltipPr
429
429
  interface TooltipBubbleProps extends HTMLAttributes<HTMLDivElement> {
430
430
  showArrow?: boolean;
431
431
  }
432
- declare function TooltipBubble({ showArrow, children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
432
+ declare function TooltipBubble({ children, className, color: _color, ...props }: TooltipBubbleProps): react_jsx_runtime.JSX.Element;
433
433
 
434
434
  interface FloatingTooltipProps extends TooltipBubbleProps {
435
435
  }