Skip to content

Commit

Permalink
Release v2.4.12 (#1029)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Oct 15, 2024
1 parent cae8e2b commit be1d086
Show file tree
Hide file tree
Showing 7 changed files with 3,369 additions and 3,345 deletions.
6,262 changes: 3,137 additions & 3,125 deletions dist/esm/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ import {
NotificationAlertPrp,
NotificationVariant,
} from "../NotificationAlert/NotificationAlert.types";
export declare const positions: readonly [
"top-left",
"top-right",
"bottom-left",
"bottom-right",
"top-center",
"bottom-center",
];
export type NotificationPosition = (typeof positions)[number];
export declare const durations: readonly [0, 3000, 5000, 10000];
export type NotificationDuration = (typeof durations)[number];
export type NotificationPosition =
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right"
| "top-center"
| "bottom-center";
export type NotificationDuration = 0 | 3000 | 5000 | 10000;
export interface NotificationOptions
extends Omit<
NotificationAlertPrp,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@ import React from "react";
import { OverrideTheme } from "../../global/global.types";
export interface ScreenTitleProps {
icon: React.ReactNode;
superTitle?: React.ReactNode;
subTitle?: React.ReactNode;
title: string;
actions?: React.ReactNode;
titleOptions?: ScreenTitleOptions[];
sx?: OverrideTheme;
}
export interface ScreenTitleContainerProps {
superTitle?: React.ReactNode;
subTitle?: React.ReactNode;
titleOptions?: ScreenTitleOptions[];
sx?: OverrideTheme;
bottomBorder?: boolean;
}
export interface ScreenTitleOptions {
title: string;
value: string;
value?: string;
}
25 changes: 11 additions & 14 deletions dist/mds.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -603,17 +603,14 @@ interface NotificationAlertConstruct {
}
type NotificationAlertPrp = NotificationAlertBase & NotificationAlertConstruct;

declare const positions: readonly [
"top-left",
"top-right",
"bottom-left",
"bottom-right",
"top-center",
"bottom-center",
];
type NotificationPosition = (typeof positions)[number];
declare const durations: readonly [0, 3000, 5000, 10000];
type NotificationDuration = (typeof durations)[number];
type NotificationPosition =
| "top-left"
| "top-right"
| "bottom-left"
| "bottom-right"
| "top-center"
| "bottom-center";
type NotificationDuration = 0 | 3000 | 5000 | 10000;
interface NotificationOptions
extends Omit<
NotificationAlertPrp,
Expand Down Expand Up @@ -1701,21 +1698,23 @@ declare const ReadBox: FC<ReadBoxProps>;

interface ScreenTitleProps {
icon: React__default.ReactNode;
superTitle?: React__default.ReactNode;
subTitle?: React__default.ReactNode;
title: string;
actions?: React__default.ReactNode;
titleOptions?: ScreenTitleOptions[];
sx?: OverrideTheme;
}
interface ScreenTitleContainerProps {
superTitle?: React__default.ReactNode;
subTitle?: React__default.ReactNode;
titleOptions?: ScreenTitleOptions[];
sx?: OverrideTheme;
bottomBorder?: boolean;
}
interface ScreenTitleOptions {
title: string;
value: string;
value?: string;
}

declare const ScreenTitle: FC<
Expand Down Expand Up @@ -9747,13 +9746,11 @@ export {
calculateBytes,
darkColors,
darkTheme,
durations,
lightColors,
lightTheme,
lightV2,
overridePropsParse,
paddingSizeVariants,
positions,
radioVariants,
themeColors,
themeShadows,
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mds",
"version": "2.4.11",
"version": "2.4.12",
"description": "A MinIO Components Library",
"homepage": ".",
"license": "AGPL-3.0-or-later",
Expand All @@ -20,15 +20,15 @@
"@storybook/test": "^8.3.5",
"@types/styled-components": "^5.1.34",
"@uiw/react-textarea-code-editor": "^3.0.2",
"detect-gpu": "^5.0.51",
"detect-gpu": "^5.0.52",
"luxon": "^3.5.0",
"react-calendar": "^5.0.0",
"react-virtualized": "^9.22.5",
"styled-components": "^6.1.13"
},
"devDependencies": {
"@babel/core": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@babel/preset-react": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
"@chromatic-com/storybook": "^2.0.2",
Expand All @@ -49,7 +49,7 @@
"@types/jest": "^29.5.13",
"@types/luxon": "^3.4.2",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@types/react-dom": "^18.3.1",
"@types/react-virtualized": "^9.21.30",
"babel-loader": "^9.2.1",
"eslint": "^9.12.0",
Expand All @@ -67,15 +67,15 @@
"rollup": "^4.24.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-import-css": "^3.5.4",
"rollup-plugin-import-css": "^3.5.5",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"storybook": "^8.3.5",
"storybook-dark-mode": "^4.0.2",
"ts-jest": "^29.2.5",
"tslib": "^2.7.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1"
"typescript-eslint": "^8.9.0"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit be1d086

Please sign in to comment.