Auto commit for build : 121

commit by: ayoub <hassani.ayoub@gmail.com>

 with message : build adaptation
This commit is contained in:
ayoub 2025-05-07 23:05:39 +02:00
parent 35d0a81f07
commit 55ec04b771
18 changed files with 819 additions and 14 deletions

8
components/DropDown/DropDown.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
import React from 'react';
interface DropDownProps {
options: string[];
label?: string;
onChange: (value: string) => void;
}
declare const DropDown: React.FC<DropDownProps>;
export default DropDown;

1
components/DropDown/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export { default as DropDown } from './DropDown';

10
components/Gallery/Gallery.d.ts vendored Normal file
View File

@ -0,0 +1,10 @@
import React from 'react';
interface GalleryItem {
title: string;
src: string;
}
interface GalleryProps {
items: GalleryItem[];
}
declare const Gallery: React.FC<GalleryProps>;
export default Gallery;

1
components/Gallery/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export { default as Gallery } from './Gallery';

6
components/Layouts/ColorsPage.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
import React from 'react';
export interface ColorsPageProps {
columns: number;
}
declare const ColorsPage: React.FC<ColorsPageProps>;
export default ColorsPage;

6
components/Layouts/ColorsPage1.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
import React from 'react';
export interface ColorsPageProps {
columns: number;
}
declare const ColorsPage: React.FC<ColorsPageProps>;
export default ColorsPage;

View File

@ -1,2 +1,3 @@
import React from 'react'; import React from 'react';
export declare const MainContant: React.FC; declare const MainContant: React.FC;
export default MainContant;

View File

@ -1 +1,2 @@
export * from './MainContent'; export { default as MainContent } from './MainContent';
export { default as ColorsPage } from './ColorsPage';

9
components/Progress/Spinner.d.ts vendored Normal file
View File

@ -0,0 +1,9 @@
import React from 'react';
type SpinnerSize = 'small' | 'medium' | 'large';
interface SpinnerProps {
color?: string;
size?: SpinnerSize;
className?: string;
}
declare const Spinner: React.FC<SpinnerProps>;
export default Spinner;

1
components/Progress/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export { default as Spinner } from './Spinner';

11
components/SpeedDial/SpeedDial.d.ts vendored Normal file
View File

@ -0,0 +1,11 @@
import React from 'react';
interface Action {
label: string;
icon: React.ReactNode;
onClick: () => void;
}
interface SpeedDialProps {
actions: Action[];
}
declare const SpeedDial: React.FC<SpeedDialProps>;
export default SpeedDial;

1
components/SpeedDial/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export { default as SpeedDial } from './SpeedDial';

10
components/Toast/ToastManager.d.ts vendored Normal file
View File

@ -0,0 +1,10 @@
import { ReactNode } from 'react';
type ToastType = 'info' | 'success' | 'error' | 'warning';
interface ToastContextProps {
showToast: (message: string, type?: ToastType) => void;
}
export declare const useToast: () => ToastContextProps;
export declare const ToastProvider: ({ children }: {
children: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
export {};

1
components/Toast/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export * from './ToastManager';

5
index.d.ts vendored
View File

@ -5,3 +5,8 @@ export * from './components/Navbar';
export * from './components/Sidebar'; export * from './components/Sidebar';
export * from './components/Layouts'; export * from './components/Layouts';
export * from './components/Modal'; export * from './components/Modal';
export * from './components/DropDown';
export * from './components/Toast';
export * from './components/SpeedDial';
export * from './components/Progress';
export * from './components/Gallery';

File diff suppressed because one or more lines are too long

View File

@ -1,19 +1,28 @@
{ {
"name": "@d3v4pp/ui", "name": "@d3v4pp/ui",
"version": "0.0.1", "version": "1.0.0",
"description": "", "description": "",
"main": "src/index.js", "main": "./index.js",
"types": "./index.d.ts",
"files": [
"dist"
],
"scripts": {
"buildw": "npm run clean && webpack --config webpack.prod.js && tsc",
"build": "npm run clean && node scripts/build.js",
"build:dev": "webpack --config webpack.dev.js",
"clean": "rimraf dist",
"test": "jest",
"doc": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"keywords": [],
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"react": "^18.2.0", "react": "^19.1.0",
"react-dom": "^18.2.0", "react-dom": "^19.1.0",
"react-router-dom": "^6.3.0", "react-router-dom": "^7.5.3",
"typeit": "^8.6.1-alpha.0" "tsconfig-paths-webpack-plugin": "^4.2.0"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18.2.0",
"react-router-dom": ">=16.3.0"
} }
} }

724
style.css

File diff suppressed because it is too large Load Diff