@cyber-harbour/ui 1.0.36 → 1.0.38
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 +5 -20
- package/dist/index.d.ts +5 -20
- package/dist/index.js +96 -92
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +91 -87
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/Flex/FlexContainer.tsx +20 -16
- package/src/Core/Sidebar/Sidebar.tsx +1 -1
- package/src/Core/Sidebar/SidebarItem.tsx +8 -8
- package/src/Graph2D/Graph2D.tsx +11 -11
- package/src/Graph2D/GraphLoader.tsx +9 -21
- package/src/Theme/GlobalStyle.tsx +9 -3
- package/src/Theme/themes/dark.ts +96 -92
- package/src/Theme/themes/light.ts +15 -11
- package/src/Theme/types.ts +4 -0
package/dist/index.d.mts
CHANGED
|
@@ -234,6 +234,10 @@ type Theme = {
|
|
|
234
234
|
highlightedTextBgColor: string;
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
|
+
contentLoader: {
|
|
238
|
+
foreground: string;
|
|
239
|
+
background: string;
|
|
240
|
+
};
|
|
237
241
|
};
|
|
238
242
|
type ThemeColors = Theme['colors'];
|
|
239
243
|
type ColorCategory = keyof ThemeColors;
|
|
@@ -764,26 +768,7 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> & {
|
|
|
764
768
|
};
|
|
765
769
|
declare const Input: any;
|
|
766
770
|
|
|
767
|
-
|
|
768
|
-
type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
769
|
-
type FlexJustify = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
|
|
770
|
-
type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
771
|
-
type FlexGap = string | number;
|
|
772
|
-
interface FlexContainerProps {
|
|
773
|
-
children: any;
|
|
774
|
-
direction?: FlexDirection;
|
|
775
|
-
wrap?: FlexWrap;
|
|
776
|
-
justify?: FlexJustify;
|
|
777
|
-
align?: FlexAlign;
|
|
778
|
-
alignContent?: FlexAlign;
|
|
779
|
-
gap?: FlexGap;
|
|
780
|
-
rowGap?: FlexGap;
|
|
781
|
-
columnGap?: FlexGap;
|
|
782
|
-
className?: string;
|
|
783
|
-
style?: CSSProperties$1;
|
|
784
|
-
as?: any;
|
|
785
|
-
}
|
|
786
|
-
declare const FlexContainer: ({ children, direction, wrap, justify, align, alignContent, gap, rowGap, columnGap, className, style, as, }: FlexContainerProps) => react_jsx_runtime.JSX.Element;
|
|
771
|
+
declare const FlexContainer: any;
|
|
787
772
|
|
|
788
773
|
type FlexItemGrow = number;
|
|
789
774
|
type FlexItemShrink = number;
|
package/dist/index.d.ts
CHANGED
|
@@ -234,6 +234,10 @@ type Theme = {
|
|
|
234
234
|
highlightedTextBgColor: string;
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
|
+
contentLoader: {
|
|
238
|
+
foreground: string;
|
|
239
|
+
background: string;
|
|
240
|
+
};
|
|
237
241
|
};
|
|
238
242
|
type ThemeColors = Theme['colors'];
|
|
239
243
|
type ColorCategory = keyof ThemeColors;
|
|
@@ -764,26 +768,7 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> & {
|
|
|
764
768
|
};
|
|
765
769
|
declare const Input: any;
|
|
766
770
|
|
|
767
|
-
|
|
768
|
-
type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
769
|
-
type FlexJustify = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
|
|
770
|
-
type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
771
|
-
type FlexGap = string | number;
|
|
772
|
-
interface FlexContainerProps {
|
|
773
|
-
children: any;
|
|
774
|
-
direction?: FlexDirection;
|
|
775
|
-
wrap?: FlexWrap;
|
|
776
|
-
justify?: FlexJustify;
|
|
777
|
-
align?: FlexAlign;
|
|
778
|
-
alignContent?: FlexAlign;
|
|
779
|
-
gap?: FlexGap;
|
|
780
|
-
rowGap?: FlexGap;
|
|
781
|
-
columnGap?: FlexGap;
|
|
782
|
-
className?: string;
|
|
783
|
-
style?: CSSProperties$1;
|
|
784
|
-
as?: any;
|
|
785
|
-
}
|
|
786
|
-
declare const FlexContainer: ({ children, direction, wrap, justify, align, alignContent, gap, rowGap, columnGap, className, style, as, }: FlexContainerProps) => react_jsx_runtime.JSX.Element;
|
|
771
|
+
declare const FlexContainer: any;
|
|
787
772
|
|
|
788
773
|
type FlexItemGrow = number;
|
|
789
774
|
type FlexItemShrink = number;
|