@umami/react-zen 0.99.0 → 0.100.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.ts CHANGED
@@ -306,7 +306,7 @@ declare module '@umami/react-zen/Box' {
306
306
  minHeight?: Responsive<string>;
307
307
  maxHeight?: Responsive<string>;
308
308
  position?: Responsive<Position>;
309
- align?: Responsive<TextAlign>;
309
+ textAlign?: Responsive<TextAlign>;
310
310
  top?: Responsive<Top>;
311
311
  right?: Responsive<Right>;
312
312
  bottom?: Responsive<Bottom>;
@@ -327,7 +327,7 @@ declare module '@umami/react-zen/Box' {
327
327
  as?: string;
328
328
  asChild?: boolean;
329
329
  }
330
- export function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, align, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, theme, as, asChild, className, style, children, ...props }: BoxProps): import("react").JSX.Element;
330
+ export function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, theme, as, asChild, className, style, children, ...props }: BoxProps): import("react").JSX.Element;
331
331
  }
332
332
 
333
333
  declare module '@umami/react-zen/Breadcrumbs' {
@@ -504,12 +504,13 @@ declare module '@umami/react-zen/Grid' {
504
504
  }
505
505
 
506
506
  declare module '@umami/react-zen/Heading' {
507
- import type { Responsive, FontSize, FontWeight, LetterSpacing } from '@/lib/types';
507
+ import type { Responsive, FontSize, FontWeight, LetterSpacing, TextAlign } from '@/lib/types';
508
508
  import { BoxProps } from '@umami/react-zen/Box';
509
509
  interface HeadingProps extends BoxProps {
510
510
  size?: Responsive<FontSize>;
511
511
  weight?: Responsive<FontWeight>;
512
512
  spacing?: Responsive<LetterSpacing>;
513
+ align?: Responsive<TextAlign>;
513
514
  }
514
515
  function Heading({ size, weight, align, spacing, className, style, children, ...props }: HeadingProps): import("react").JSX.Element;
515
516
  export { Heading };
package/dist/index.js CHANGED
@@ -25234,6 +25234,10 @@ var excludedProps = [
25234
25234
  "gridArea",
25235
25235
  "gridRow",
25236
25236
  "gridColumn",
25237
+ "top",
25238
+ "right",
25239
+ "bottom",
25240
+ "left",
25237
25241
  "order"
25238
25242
  ];
25239
25243
  function parseValue(name, value) {
@@ -25657,7 +25661,7 @@ function Box({
25657
25661
  minHeight,
25658
25662
  maxHeight,
25659
25663
  position,
25660
- align,
25664
+ textAlign,
25661
25665
  top,
25662
25666
  right,
25663
25667
  bottom,
@@ -25720,7 +25724,7 @@ function Box({
25720
25724
  minHeight,
25721
25725
  maxHeight,
25722
25726
  position,
25723
- textAlign: align,
25727
+ textAlign,
25724
25728
  top,
25725
25729
  right,
25726
25730
  bottom,
package/dist/index.mjs CHANGED
@@ -25123,6 +25123,10 @@ var excludedProps = [
25123
25123
  "gridArea",
25124
25124
  "gridRow",
25125
25125
  "gridColumn",
25126
+ "top",
25127
+ "right",
25128
+ "bottom",
25129
+ "left",
25126
25130
  "order"
25127
25131
  ];
25128
25132
  function parseValue(name, value) {
@@ -25546,7 +25550,7 @@ function Box({
25546
25550
  minHeight,
25547
25551
  maxHeight,
25548
25552
  position,
25549
- align,
25553
+ textAlign,
25550
25554
  top,
25551
25555
  right,
25552
25556
  bottom,
@@ -25609,7 +25613,7 @@ function Box({
25609
25613
  minHeight,
25610
25614
  maxHeight,
25611
25615
  position,
25612
- textAlign: align,
25616
+ textAlign,
25613
25617
  top,
25614
25618
  right,
25615
25619
  bottom,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "0.99.0",
3
+ "version": "0.100.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",