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,8 @@
import * as React from 'react';
export declare const createContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [{
(props: ContextValueType & {
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
displayName: string;
}, (consumerName: string) => ContextValueType];
//# sourceMappingURL=context.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/helpers/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,aAAa,8DACL,MAAM,mBACR,gBAAgB;YAIR,gBAAgB,GAAG;QAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;KAAE;;kBASvC,MAAM,sBAazC,CAAC"}

View File

@@ -0,0 +1,3 @@
export declare const PREFIX = "[@strapi/design-system]:";
export declare const once: <TFunc extends (...args: any) => any>(fn: TFunc) => (...args: any) => void;
//# sourceMappingURL=deprecations.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../../src/helpers/deprecations.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,6BAA6B,CAAC;AAEjD,eAAO,MAAM,IAAI,2BAA4B,GAAG,KAAK,GAAG,MAAM,KAAK,eAQhD,GAAG,SAMrB,CAAC"}

View File

@@ -0,0 +1,11 @@
/**
* Sometimes, we want to retrieve the elements with tabindex=-1, and sometime we don't
* The includeNegativeTabIndex aims to provide this capability
*
*/
export declare const getFocusableNodes: (node: HTMLElement, includeNegativeTabIndex?: boolean) => HTMLElement[];
/**
* This function filters an array of HTMLElements and returns any of them that have internal keyboard navigation such as input type="text"
*/
export declare const getFocusableNodesWithKeyboardNav: (nodes: HTMLElement[]) => HTMLElement[];
//# sourceMappingURL=getFocusableNodes.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"getFocusableNodes.d.ts","sourceRoot":"","sources":["../../src/helpers/getFocusableNodes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,SAAU,WAAW,4BAA4B,OAAO,KAAG,WAAW,EAenG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gCAAgC,UAAW,WAAW,EAAE,kBAQpE,CAAC"}

View File

@@ -0,0 +1,33 @@
/// <reference types="react" />
import { DefaultTheme } from 'styled-components';
import type { TransientBoxProps } from '../primitives/Box/Box';
import type { TransientFlexProps } from '../primitives/Flex/Flex';
import type { TransientTypographyProps } from '../primitives/Typography/Typography';
import type { DefaultThemeOrCSSProp } from '../types';
type Breakpoint = 'initial' | 'small' | 'medium' | 'large';
/**
* A property is either a responsive object, or a single
* value that is applied as the initial value.
*/
type ResponsiveProperty<T> = {
[key in Breakpoint]?: T;
} | T;
/**
* Currently, only margin or padding accept an array of values.
*/
type ResponsiveThemeProperty<T extends keyof DefaultTheme, K extends keyof React.CSSProperties> = K extends 'padding' | 'margin' ? ResponsiveProperty<DefaultThemeOrCSSProp<T, K> | Array<DefaultThemeOrCSSProp<T, K>>> : ResponsiveProperty<DefaultThemeOrCSSProp<T, K>>;
/**
* This should ONLY ever be CSS property names, never shorthands or aliases.
*/
type ResponsiveProps = Omit<TransientBoxProps, 'basis' | 'grow' | 'shrink' | 'shadow'> & Omit<TransientFlexProps, 'direction' | 'wrap'> & Omit<TransientTypographyProps, 'ellipsis' | 'variant'> & {
boxShadow?: TransientBoxProps['shadow'];
flexBasis?: TransientBoxProps['basis'];
flexDirection?: TransientFlexProps['direction'];
flexGrow?: TransientBoxProps['grow'];
flexShrink?: TransientBoxProps['shrink'];
flexWrap?: TransientFlexProps['wrap'];
};
declare const handleResponsiveValues: (values: ResponsiveProps, theme: DefaultTheme) => string;
export { handleResponsiveValues };
export type { ResponsiveProps, ResponsiveThemeProperty, ResponsiveProperty, Breakpoint };
//# sourceMappingURL=handleResponsiveValues.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"handleResponsiveValues.d.ts","sourceRoot":"","sources":["../../src/helpers/handleResponsiveValues.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,KAAK,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3D;;;GAGG;AACH,KAAK,kBAAkB,CAAC,CAAC,IACrB;KACG,GAAG,IAAI,UAAU,CAAC,CAAC,EAAE,CAAC;CACxB,GACD,CAAC,CAAC;AAEN;;GAEG;AACH,KAAK,uBAAuB,CAAC,CAAC,SAAS,MAAM,YAAY,EAAE,CAAC,SAAS,MAAM,KAAK,CAAC,aAAa,IAAI,CAAC,SAC/F,SAAS,GACT,QAAQ,GACR,kBAAkB,CAAC,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GACpF,kBAAkB,CAAC,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAEpD;;GAEG;AACH,KAAK,eAAe,GAAG,IAAI,CAAC,iBAAiB,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC,GACpF,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,MAAM,CAAC,GAC9C,IAAI,CAAC,wBAAwB,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IACvD,SAAS,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACvC,aAAa,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;CACvC,CAAC;AAmGJ,QAAA,MAAM,sBAAsB,WAAY,eAAe,SAAS,YAAY,WA8D3E,CAAC;AAmEF,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,YAAY,EAAE,eAAe,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC"}

View File

@@ -0,0 +1,18 @@
export declare const KeyboardKeys: {
DOWN: string;
UP: string;
RIGHT: string;
LEFT: string;
ESCAPE: string;
ENTER: string;
SPACE: string;
TAB: string;
END: string;
HOME: string;
DELETE: string;
PAGE_UP: string;
PAGE_DOWN: string;
BACKSPACE: string;
CLEAR: string;
};
//# sourceMappingURL=keyboardKeys.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"keyboardKeys.d.ts","sourceRoot":"","sources":["../../src/helpers/keyboardKeys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;CAgBxB,CAAC"}

View File

@@ -0,0 +1,9 @@
export declare function isKeyOf(o: object | [] | string, s: string | number | symbol): s is keyof typeof o;
/**
* @description Simple object check.
* @export
* @param item
* @returns {boolean}
*/
export declare function isObject(item: any): boolean;
//# sourceMappingURL=objects.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/helpers/objects.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,EAAE,GAAG,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,IAAI,MAAM,OAAO,CAAC,CAMjG;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAE3C"}

View File

@@ -0,0 +1,2 @@
export declare const setOpacity: (hex: string, alpha: number) => string;
//# sourceMappingURL=setOpacity.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"setOpacity.d.ts","sourceRoot":"","sources":["../../src/helpers/setOpacity.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,QAAS,MAAM,SAAS,MAAM,WAG9B,CAAC"}

View File

@@ -0,0 +1,2 @@
export declare const setTabIndexOnFirstItem: (node: HTMLElement, selector: string) => void;
//# sourceMappingURL=setTabIndexOnFirstItem.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"setTabIndexOnFirstItem.d.ts","sourceRoot":"","sources":["../../src/helpers/setTabIndexOnFirstItem.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,SAAU,WAAW,YAAY,MAAM,SAMzE,CAAC"}

View File

@@ -0,0 +1,2 @@
export declare const stripReactIdOfColon: (str: string) => string;
//# sourceMappingURL=strings.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../src/helpers/strings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,QAAS,MAAM,KAAG,MAAiC,CAAC"}

View File

@@ -0,0 +1,3 @@
import { DefaultTheme } from 'styled-components';
export declare function extractStyleFromTheme<TKey extends keyof DefaultTheme, TSection extends DefaultTheme[TKey]>(themeSection: TSection | null | undefined, key: string | number | symbol | undefined, defaultValue: any): string | number;
//# sourceMappingURL=theme.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/helpers/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,wBAAgB,qBAAqB,CAAC,IAAI,SAAS,MAAM,YAAY,EAAE,QAAQ,SAAS,YAAY,CAAC,IAAI,CAAC,EACxG,YAAY,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,EACzC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,EACzC,YAAY,EAAE,GAAG,GAChB,MAAM,GAAG,MAAM,CAMjB"}