@cyber-harbour/ui 1.0.49 → 1.0.50
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +36 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -36
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/Flex/FlexContainer.tsx +2 -0
- package/src/Theme/themes/dark.ts +4 -0
- package/src/Theme/themes/light.ts +4 -0
- package/src/Theme/types.ts +10 -1
package/package.json
CHANGED
|
@@ -37,6 +37,7 @@ export const FlexContainer: any = forwardRef<HTMLElement, FlexContainerProps>(fu
|
|
|
37
37
|
className,
|
|
38
38
|
style,
|
|
39
39
|
as = 'div',
|
|
40
|
+
...props
|
|
40
41
|
},
|
|
41
42
|
ref
|
|
42
43
|
) {
|
|
@@ -54,6 +55,7 @@ export const FlexContainer: any = forwardRef<HTMLElement, FlexContainerProps>(fu
|
|
|
54
55
|
className={className}
|
|
55
56
|
style={style}
|
|
56
57
|
ref={ref}
|
|
58
|
+
{...props}
|
|
57
59
|
>
|
|
58
60
|
{children}
|
|
59
61
|
</StyledFlexContainer>
|
package/src/Theme/themes/dark.ts
CHANGED
|
@@ -719,6 +719,8 @@ export const darkThemePx: Theme = {
|
|
|
719
719
|
success: '#38A473',
|
|
720
720
|
warning: '#DEB839',
|
|
721
721
|
disabled: '#ebebeb',
|
|
722
|
+
text: '#FFFFFF',
|
|
723
|
+
orange: '#d3741b',
|
|
722
724
|
},
|
|
723
725
|
},
|
|
724
726
|
fill: {
|
|
@@ -733,6 +735,8 @@ export const darkThemePx: Theme = {
|
|
|
733
735
|
success: '#38A473',
|
|
734
736
|
warning: '#DEB839',
|
|
735
737
|
disabled: '#ebebeb',
|
|
738
|
+
text: '#FFFFFF',
|
|
739
|
+
orange: '#d3741b',
|
|
736
740
|
},
|
|
737
741
|
},
|
|
738
742
|
},
|
|
@@ -718,6 +718,8 @@ export const lightThemePx: Theme = {
|
|
|
718
718
|
success: '#38A473',
|
|
719
719
|
warning: '#DEB839',
|
|
720
720
|
disabled: '#ebebeb',
|
|
721
|
+
text: '#101010',
|
|
722
|
+
orange: '#d3741b',
|
|
721
723
|
},
|
|
722
724
|
},
|
|
723
725
|
fill: {
|
|
@@ -732,6 +734,8 @@ export const lightThemePx: Theme = {
|
|
|
732
734
|
success: '#38A473',
|
|
733
735
|
warning: '#DEB839',
|
|
734
736
|
disabled: '#ebebeb',
|
|
737
|
+
text: '#101010',
|
|
738
|
+
orange: '#d3741b',
|
|
735
739
|
},
|
|
736
740
|
},
|
|
737
741
|
},
|
package/src/Theme/types.ts
CHANGED
|
@@ -11,7 +11,16 @@ export type InputState = 'default' | 'focus' | 'error' | 'disabled';
|
|
|
11
11
|
export type InputSize = 'empty' | 'small' | 'medium';
|
|
12
12
|
|
|
13
13
|
export type TagVariant = 'fill' | 'outlined';
|
|
14
|
-
export type TagColor =
|
|
14
|
+
export type TagColor =
|
|
15
|
+
| 'default'
|
|
16
|
+
| 'primary'
|
|
17
|
+
| 'error'
|
|
18
|
+
| 'warning'
|
|
19
|
+
| 'success'
|
|
20
|
+
| 'disabled'
|
|
21
|
+
| 'text'
|
|
22
|
+
| 'orange'
|
|
23
|
+
| string;
|
|
15
24
|
|
|
16
25
|
// Типи для spacing та breakpoints
|
|
17
26
|
export type Breakpoint = 'xs' | 's' | 'm' | 'l' | 'xl';
|