@cyber-harbour/ui 1.0.62 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +129 -127
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +192 -190
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/Button/Button.tsx +16 -5
- package/src/Core/Pagination/Pagination.tsx +18 -13
- package/src/Theme/themes/dark.ts +9 -0
- package/src/Theme/themes/light.ts +9 -0
- package/src/Theme/types.ts +9 -0
package/dist/index.d.mts
CHANGED
|
@@ -312,6 +312,15 @@ type Theme = {
|
|
|
312
312
|
color: string;
|
|
313
313
|
background: string;
|
|
314
314
|
};
|
|
315
|
+
pagination: {
|
|
316
|
+
fontSize: string | number;
|
|
317
|
+
paddingBlock: string | number;
|
|
318
|
+
paddingInline: string | number;
|
|
319
|
+
borderRadius: string | number;
|
|
320
|
+
gap: string | number;
|
|
321
|
+
height: string | number;
|
|
322
|
+
iconSize: string | number;
|
|
323
|
+
};
|
|
315
324
|
};
|
|
316
325
|
type ThemeColors = Theme['colors'];
|
|
317
326
|
type ColorCategory = keyof ThemeColors;
|
|
@@ -452,6 +461,8 @@ type BaseButtonProps = {
|
|
|
452
461
|
icon?: any;
|
|
453
462
|
iconPosition?: 'left' | 'right';
|
|
454
463
|
iconVariant?: 'filled' | 'empty';
|
|
464
|
+
minWidth?: number;
|
|
465
|
+
whiteSpace?: CSSProperties['whiteSpace'];
|
|
455
466
|
};
|
|
456
467
|
type ButtonProps = (Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'media'> | Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'media'>) & BaseButtonProps;
|
|
457
468
|
declare const Button: React__default.ForwardRefExoticComponent<FabricComponent<ButtonProps> & React__default.RefAttributes<unknown>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -312,6 +312,15 @@ type Theme = {
|
|
|
312
312
|
color: string;
|
|
313
313
|
background: string;
|
|
314
314
|
};
|
|
315
|
+
pagination: {
|
|
316
|
+
fontSize: string | number;
|
|
317
|
+
paddingBlock: string | number;
|
|
318
|
+
paddingInline: string | number;
|
|
319
|
+
borderRadius: string | number;
|
|
320
|
+
gap: string | number;
|
|
321
|
+
height: string | number;
|
|
322
|
+
iconSize: string | number;
|
|
323
|
+
};
|
|
315
324
|
};
|
|
316
325
|
type ThemeColors = Theme['colors'];
|
|
317
326
|
type ColorCategory = keyof ThemeColors;
|
|
@@ -452,6 +461,8 @@ type BaseButtonProps = {
|
|
|
452
461
|
icon?: any;
|
|
453
462
|
iconPosition?: 'left' | 'right';
|
|
454
463
|
iconVariant?: 'filled' | 'empty';
|
|
464
|
+
minWidth?: number;
|
|
465
|
+
whiteSpace?: CSSProperties['whiteSpace'];
|
|
455
466
|
};
|
|
456
467
|
type ButtonProps = (Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'media'> | Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'media'>) & BaseButtonProps;
|
|
457
468
|
declare const Button: React__default.ForwardRefExoticComponent<FabricComponent<ButtonProps> & React__default.RefAttributes<unknown>>;
|