@umami/react-zen 0.217.0 → 0.218.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
@@ -49,7 +49,7 @@ interface AlertDialogProps extends DialogProps {
49
49
  }
50
50
  declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
51
51
 
52
- declare const Breakpoints: readonly ["", "sm", "md", "lg", "xl", "2xl"];
52
+ declare const Breakpoints: readonly ["base", "sm", "md", "lg", "xl", "2xl"];
53
53
  type Breakpoint = (typeof Breakpoints)[number];
54
54
  type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
55
55
  type ColorName = 'gray' | 'slate' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
package/dist/index.d.ts CHANGED
@@ -49,7 +49,7 @@ interface AlertDialogProps extends DialogProps {
49
49
  }
50
50
  declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
51
51
 
52
- declare const Breakpoints: readonly ["", "sm", "md", "lg", "xl", "2xl"];
52
+ declare const Breakpoints: readonly ["base", "sm", "md", "lg", "xl", "2xl"];
53
53
  type Breakpoint = (typeof Breakpoints)[number];
54
54
  type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
55
55
  type ColorName = 'gray' | 'slate' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
package/dist/index.js CHANGED
@@ -31054,7 +31054,7 @@ function mapResponsive(value, mapper) {
31054
31054
  if (val === void 0) continue;
31055
31055
  const mapped = mapper(val);
31056
31056
  if (mapped) {
31057
- if (breakpoint === "") {
31057
+ if (breakpoint === "base") {
31058
31058
  classes.push(mapped);
31059
31059
  } else {
31060
31060
  classes.push(`${breakpoint}:${mapped}`);
package/dist/index.mjs CHANGED
@@ -30930,7 +30930,7 @@ function mapResponsive(value, mapper) {
30930
30930
  if (val === void 0) continue;
30931
30931
  const mapped = mapper(val);
30932
30932
  if (mapped) {
30933
- if (breakpoint === "") {
30933
+ if (breakpoint === "base") {
30934
30934
  classes.push(mapped);
30935
30935
  } else {
30936
30936
  classes.push(`${breakpoint}:${mapped}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "0.217.0",
3
+ "version": "0.218.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "homepage": "https://zen.umami.is",
6
6
  "repository": {