node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
import * as React from 'react';
import { BoxProps } from '../../primitives/Box';
export type AlertVariant = 'success' | 'danger' | 'default' | 'warning';
export interface AlertProps extends BoxProps {
/**
* Render a React element below the body of an `Alert` (Mainly used to render a Link).
*/
action?: React.ReactNode;
/**
* The body of the `Alert` (Will be rendered under the `Alert` title).
*/
children: React.ReactNode;
/**
* Accessible label for the close icon button.
*/
closeLabel: string;
/**
* The callback invoked when click on the close icon button.
*/
onClose?: () => void;
/**
* The title of the `Alert`.
*/
title?: string;
/**
* Changes the element, as which a component will render (similar to styled-components).
*/
titleAs?: React.ElementType;
/**
* `Alert` color variant.
*/
variant?: AlertVariant;
}
export declare const Alert: ({ title, children, variant, onClose, closeLabel, titleAs, action, ...props }: AlertProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Alert.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAqB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAiDnE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAExE,MAAM,WAAW,UAAW,SAAQ,QAAQ;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,KAAK,iFASf,UAAU,4CAqDZ,CAAC"}

View File

@@ -0,0 +1,2 @@
export * from './Alert';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}

View File

@@ -0,0 +1,11 @@
import { DefaultTheme } from 'styled-components';
import type { AlertVariant } from './Alert';
interface StyledProps {
theme: DefaultTheme;
$variant: AlertVariant;
}
export declare const handleBackgroundColor: (variant: AlertVariant) => keyof DefaultTheme['colors'];
export declare const handleBorderColor: (variant: AlertVariant) => keyof DefaultTheme['colors'];
export declare const handleIconColor: ({ theme, $variant }: StyledProps) => string;
export {};
//# sourceMappingURL=utils.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,UAAU,WAAW;IACnB,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,YAAa,YAAY,KAAG,MAAM,YAAY,CAAC,QAAQ,CAWxF,CAAC;AAGF,eAAO,MAAM,iBAAiB,YAAa,YAAY,KAAG,MAAM,YAAY,CAAC,QAAQ,CAEpF,CAAC;AAEF,eAAO,MAAM,eAAe,wBAAyB,WAAW,WAc/D,CAAC"}