Auto commit for build : 121
commit by: ayoub <hassani.ayoub@gmail.com> with message : build adaptation
This commit is contained in:
parent
35d0a81f07
commit
55ec04b771
|
@ -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;
|
|
@ -0,0 +1 @@
|
||||||
|
export { default as DropDown } from './DropDown';
|
|
@ -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;
|
|
@ -0,0 +1 @@
|
||||||
|
export { default as Gallery } from './Gallery';
|
|
@ -0,0 +1,6 @@
|
||||||
|
import React from 'react';
|
||||||
|
export interface ColorsPageProps {
|
||||||
|
columns: number;
|
||||||
|
}
|
||||||
|
declare const ColorsPage: React.FC<ColorsPageProps>;
|
||||||
|
export default ColorsPage;
|
|
@ -0,0 +1,6 @@
|
||||||
|
import React from 'react';
|
||||||
|
export interface ColorsPageProps {
|
||||||
|
columns: number;
|
||||||
|
}
|
||||||
|
declare const ColorsPage: React.FC<ColorsPageProps>;
|
||||||
|
export default ColorsPage;
|
|
@ -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;
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
export * from './MainContent';
|
export { default as MainContent } from './MainContent';
|
||||||
|
export { default as ColorsPage } from './ColorsPage';
|
||||||
|
|
|
@ -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;
|
|
@ -0,0 +1 @@
|
||||||
|
export { default as Spinner } from './Spinner';
|
|
@ -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;
|
|
@ -0,0 +1 @@
|
||||||
|
export { default as SpeedDial } from './SpeedDial';
|
|
@ -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 {};
|
|
@ -0,0 +1 @@
|
||||||
|
export * from './ToastManager';
|
|
@ -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';
|
||||||
|
|
31
package.json
31
package.json
|
@ -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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue