pixel-react 1.5.6 → 1.5.8
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/.storybook/main.ts +7 -1
- package/lib/components/Charts/LineChart/types.d.ts +3 -0
- package/lib/components/LabelEditTextField/types.d.ts +5 -0
- package/lib/components/MiniModal/types.d.ts +9 -0
- package/lib/index.d.ts +17 -0
- package/lib/index.esm.js +169 -95
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +169 -95
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/info_user.svg +5 -0
- package/src/assets/icons/license_info.svg +12 -12
- package/src/components/Charts/LineChart/LineChart.scss +8 -7
- package/src/components/Charts/LineChart/LineChart.stories.tsx +170 -51
- package/src/components/Charts/LineChart/LineChart.tsx +30 -27
- package/src/components/Charts/LineChart/types.ts +22 -20
- package/src/components/EditTextField/EditTextField.stories.tsx +1 -1
- package/src/components/Icon/iconList.ts +2 -0
- package/src/components/LabelEditTextField/LabelEditTextField.scss +1 -0
- package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +11 -15
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +44 -13
- package/src/components/LabelEditTextField/types.ts +5 -0
- package/src/components/MiniModal/MiniModal.scss +9 -5
- package/src/components/MiniModal/MiniModal.stories.tsx +28 -1
- package/src/components/MiniModal/MiniModal.tsx +110 -74
- package/src/components/MiniModal/types.ts +9 -0
- package/src/components/MultiSelect/MultiSelect.stories.tsx +1 -1
- package/src/components/MultiSelect/MultiSelect.tsx +11 -8
package/.storybook/main.ts
CHANGED
@@ -21,6 +21,12 @@ const config: StorybookConfig = {
|
|
21
21
|
|
22
22
|
typescript: {
|
23
23
|
reactDocgen: 'react-docgen-typescript'
|
24
|
-
}
|
24
|
+
},
|
25
|
+
|
26
|
+
viteFinal: async (config) => {
|
27
|
+
// Ensure Vite processes font files
|
28
|
+
config.assetsInclude = [/\.(woff2?|eot|ttf|otf)$/];
|
29
|
+
return config;
|
30
|
+
},
|
25
31
|
};
|
26
32
|
export default config;
|
@@ -4,6 +4,7 @@ interface ModalDimensions {
|
|
4
4
|
height?: number;
|
5
5
|
borderRadius?: number;
|
6
6
|
zIndex?: number;
|
7
|
+
boxShadow?: string;
|
7
8
|
}
|
8
9
|
export interface MiniEditModalProps {
|
9
10
|
/**
|
@@ -90,7 +91,15 @@ export interface MiniEditModalProps {
|
|
90
91
|
wrapperProperties?: {
|
91
92
|
width?: number;
|
92
93
|
zIndex?: number;
|
94
|
+
boxShadow?: string;
|
93
95
|
};
|
96
|
+
arrowZIndex?: number;
|
97
|
+
overlay?: {
|
98
|
+
isOverlay?: boolean;
|
99
|
+
zIndexOverlay?: number;
|
100
|
+
backgroundColorOverlay?: string;
|
101
|
+
};
|
102
|
+
outSideClick?: any;
|
94
103
|
}
|
95
104
|
export interface Rect {
|
96
105
|
top: number;
|
package/lib/index.d.ts
CHANGED
@@ -1352,6 +1352,7 @@ interface ModalDimensions {
|
|
1352
1352
|
height?: number;
|
1353
1353
|
borderRadius?: number;
|
1354
1354
|
zIndex?: number;
|
1355
|
+
boxShadow?: string;
|
1355
1356
|
}
|
1356
1357
|
interface MiniEditModalProps {
|
1357
1358
|
/**
|
@@ -1438,7 +1439,15 @@ interface MiniEditModalProps {
|
|
1438
1439
|
wrapperProperties?: {
|
1439
1440
|
width?: number;
|
1440
1441
|
zIndex?: number;
|
1442
|
+
boxShadow?: string;
|
1443
|
+
};
|
1444
|
+
arrowZIndex?: number;
|
1445
|
+
overlay?: {
|
1446
|
+
isOverlay?: boolean;
|
1447
|
+
zIndexOverlay?: number;
|
1448
|
+
backgroundColorOverlay?: string;
|
1441
1449
|
};
|
1450
|
+
outSideClick?: any;
|
1442
1451
|
}
|
1443
1452
|
|
1444
1453
|
declare const MiniModal: React$1.ForwardRefExoticComponent<MiniEditModalProps & React$1.RefAttributes<HTMLDivElement>>;
|
@@ -2088,6 +2097,11 @@ interface LabelEditTextFieldTypes$1 {
|
|
2088
2097
|
isOpen?: boolean;
|
2089
2098
|
/**for conditionally handle custom error */
|
2090
2099
|
customErrorCondition?: boolean;
|
2100
|
+
onClick?: () => void;
|
2101
|
+
tooltip?: {
|
2102
|
+
tooltipTitle?: string;
|
2103
|
+
tooltipPlacement?: string;
|
2104
|
+
};
|
2091
2105
|
}
|
2092
2106
|
|
2093
2107
|
declare const LabelEditTextField: FC<LabelEditTextFieldTypes$1>;
|
@@ -2293,6 +2307,9 @@ interface LineChartProps {
|
|
2293
2307
|
xAxisColor?: string;
|
2294
2308
|
yAxisColor?: string;
|
2295
2309
|
yAxisLabelColor?: string;
|
2310
|
+
textSize?: string | number;
|
2311
|
+
fontWeight?: string | number;
|
2312
|
+
numberSize?: string | number;
|
2296
2313
|
}
|
2297
2314
|
|
2298
2315
|
declare const LineChart: React__default.FC<LineChartProps>;
|