basic skeleton rewritten in reactjs

This commit is contained in:
Joshua Ashton
2024-12-18 09:54:49 -07:00
parent e6244267f5
commit bab7a0ca27
38186 changed files with 4833360 additions and 5904 deletions
@@ -0,0 +1,3 @@
import type { ImportOptions } from './options';
import valuesParser from 'postcss-value-parser';
export default function getCustomPropertiesFromImports(sources: Array<ImportOptions>): Promise<Map<string, valuesParser.ParsedValue>>;
@@ -0,0 +1,2 @@
import valuesParser from 'postcss-value-parser';
export default function getCustomPropertiesFromRoot(root: any, opts: any): Map<string, valuesParser.ParsedValue>;
@@ -0,0 +1,4 @@
import type { Container, Declaration } from 'postcss';
declare function isBlockIgnored(container: Container): any;
declare function isDeclarationIgnored(decl: Declaration): boolean;
export { isBlockIgnored, isDeclarationIgnored, };
+26
View File
@@ -0,0 +1,26 @@
export declare type ImportFromSource = {
from: string;
type?: string;
} | string;
export declare type ImportCustomProperties = {
customProperties?: Record<string, string>;
'custom-properties'?: Record<string, string>;
};
export declare type ImportAsFunction = () => ImportFromSource | ImportCustomProperties;
export declare type ImportAsPromise = Promise<ImportFromSource | ImportCustomProperties>;
export declare type ImportAsFunctionPromise = () => Promise<ImportFromSource | ImportCustomProperties>;
export declare type ImportOptions = ImportFromSource | ImportCustomProperties | ImportAsFunction | ImportAsPromise | ImportAsFunctionPromise;
export declare type ExportJSONFunction = (customProperties?: Record<string, string>) => Record<string, string>;
export declare type ExportToSource = {
to: string;
type?: string;
toJSON: ExportJSONFunction;
} | string;
export declare type ExportCustomProperties = {
customProperties?: Record<string, string>;
'custom-properties'?: Record<string, string>;
toJSON: ExportJSONFunction;
};
export declare type ExportAsFunction = (ExportCustomProperties: any) => void;
export declare type ExportAsFunctionPromise = (ExportCustomProperties: any) => Promise<void>;
export declare type ExportOptions = ExportToSource | ExportCustomProperties | ExportAsFunction | ExportAsFunctionPromise;
@@ -0,0 +1,2 @@
declare const _default: (decl: any, customProperties: any, opts: any) => void;
export default _default;
@@ -0,0 +1 @@
export default function transformValueAST(root: any, customProperties: any): any;
@@ -0,0 +1,2 @@
import type { ExportOptions } from './options';
export default function writeCustomPropertiesToExports(customProperties: any, destinations: Array<ExportOptions>): Promise<void[]>;