pixel-react 1.4.7 → 1.4.8
Sign up to get free protection for your applications and to get access to all the features.
- package/.yarn/install-state.gz +0 -0
- package/lib/components/Form/Forms.d.ts +3 -1
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/Input/types.d.ts +4 -0
- package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +0 -2
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -1
- package/lib/components/Select/Select.stories.d.ts +0 -1
- package/lib/components/TableTree/TableTree.d.ts +2 -1
- package/lib/index.d.ts +10 -3
- package/lib/index.esm.js +131 -93
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +131 -93
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/Themes/BaseTheme.scss +2 -0
- package/src/assets/fonts/Poppins-Bold.woff2 +0 -0
- package/src/assets/fonts/Poppins-Medium.woff2 +0 -0
- package/src/assets/fonts/Poppins-Regular.woff2 +0 -0
- package/src/assets/fonts/Poppins-SemiBold.woff2 +0 -0
- package/src/assets/icons/Header_preset.svg +13 -0
- package/src/assets/icons/add_file.svg +16 -4
- package/src/assets/icons/eye_open_icon.svg +2 -9
- package/src/assets/icons/replace_icon.svg +6 -0
- package/src/assets/styles/_fonts.scss +7 -4
- package/src/components/AppHeader/AppHeader.tsx +1 -0
- package/src/components/AttachmentButton/AttachmentButton.tsx +10 -5
- package/src/components/Form/Form.stories.tsx +4 -8
- package/src/components/Form/Forms.tsx +11 -4
- package/src/components/Icon/iconList.ts +7 -1
- package/src/components/Input/Input.scss +5 -0
- package/src/components/Input/Input.stories.tsx +44 -0
- package/src/components/Input/Input.tsx +24 -19
- package/src/components/Input/types.ts +4 -0
- package/src/components/MenuOption/MenuOption.tsx +5 -5
- package/src/components/TableTree/TableTree.scss +22 -7
- package/src/components/TableTree/TableTree.stories.tsx +41 -0
- package/src/components/TableTree/TableTree.tsx +55 -18
- package/src/components/Typography/Typography.scss +4 -4
- package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
- package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
- package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
- package/lib/components/AddButton/AddButton.d.ts +0 -5
- package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
- package/lib/components/AddButton/index.d.ts +0 -1
- package/lib/components/AddButton/types.d.ts +0 -4
- package/lib/components/AttachImage/AttachImage.stories.d.ts +0 -7
- package/lib/components/Charts/BarChart/BarChart.stories.d.ts +0 -6
- package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +0 -8
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -7
- package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +0 -8
- package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +0 -6
- package/lib/components/EditTextField/EditTextField.stories.d.ts +0 -10
- package/lib/components/Editor/Editor.stories.d.ts +0 -6
- package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +0 -4
- package/lib/components/Excel/ExcelFile.stories.d.ts +0 -6
- package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
- package/lib/components/StatusCard/StatusCard.stories.d.ts +0 -11
- package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +0 -10
- /package/lib/components/ExcelFile/{ColorBarSelector → ColorBarselector}/ColorBarSelector.d.ts +0 -0
package/.yarn/install-state.gz
CHANGED
Binary file
|
@@ -3,7 +3,9 @@ import Form from './Form';
|
|
3
3
|
interface FormProps<T extends Form.FieldValues> extends Form.UseFormProps<T> {
|
4
4
|
id?: string;
|
5
5
|
onSubmit: Form.SubmitHandler<T>;
|
6
|
-
children: (methods: ReturnType<typeof Form.useForm<T>>
|
6
|
+
children: (methods: ReturnType<typeof Form.useForm<T>> & {
|
7
|
+
Form: typeof Form;
|
8
|
+
}) => React.ReactNode;
|
7
9
|
}
|
8
10
|
declare const ForwardedForms: <T extends Form.FieldValues>(props: FormProps<T> & {
|
9
11
|
ref?: React.Ref<any>;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import './Input.scss';
|
2
2
|
import { InputProps } from './types';
|
3
|
-
declare const Input: ({ type, variant, name, label, disabled, required, placeholder, value, helperText, error, noBorder, className, onChange, onBlur, onFocus, autoComplete, minValue, maxValue, transparentBackground, size, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const Input: ({ type, variant, name, label, disabled, required, placeholder, value, helperText, error, noBorder, className, onChange, onBlur, onFocus, autoComplete, minValue, maxValue, transparentBackground, size, isLabelRequired, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default Input;
|
@@ -6,8 +6,6 @@ declare const meta: Meta<typeof LabelEditTextField>;
|
|
6
6
|
type Story = StoryObj<typeof LabelEditTextField>;
|
7
7
|
export declare const textField: Story;
|
8
8
|
export declare const textFieldWithOutLabel: Story;
|
9
|
-
export declare const openTextFieldWithOutLabel: Story;
|
10
9
|
export declare const textFieldWithDropdown: Story;
|
11
10
|
export declare const textFieldWithHighlight: Story;
|
12
|
-
export declare const openLabelEditTextField: Story;
|
13
11
|
export default meta;
|
@@ -19,6 +19,7 @@ interface TableTreeProps {
|
|
19
19
|
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
|
20
20
|
onChange?: (e: any, node: any) => void;
|
21
21
|
selected: Array<string>;
|
22
|
+
onPagination?: (node: ObjectProps) => void;
|
22
23
|
}
|
23
|
-
declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
|
24
|
+
declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, onPagination, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
|
24
25
|
export default TableTree;
|
package/lib/index.d.ts
CHANGED
@@ -590,9 +590,13 @@ interface InputProps {
|
|
590
590
|
* size for the input field
|
591
591
|
*/
|
592
592
|
size?: 'small' | 'medium';
|
593
|
+
/**
|
594
|
+
* isLabelRequired for the input field without label,showing placeholder
|
595
|
+
*/
|
596
|
+
isLabelRequired?: boolean;
|
593
597
|
}
|
594
598
|
|
595
|
-
declare const Input: ({ type, variant, name, label, disabled, required, placeholder, value, helperText, error, noBorder, className, onChange, onBlur, onFocus, autoComplete, minValue, maxValue, transparentBackground, size, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
|
599
|
+
declare const Input: ({ type, variant, name, label, disabled, required, placeholder, value, helperText, error, noBorder, className, onChange, onBlur, onFocus, autoComplete, minValue, maxValue, transparentBackground, size, isLabelRequired, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
|
596
600
|
|
597
601
|
type Status$1 = {
|
598
602
|
status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'passed' | 'failed' | 'warning' | 'skipped';
|
@@ -1180,7 +1184,9 @@ declare const useTheme: () => ThemeContextType;
|
|
1180
1184
|
interface FormProps<T extends Form.FieldValues> extends Form.UseFormProps<T> {
|
1181
1185
|
id?: string;
|
1182
1186
|
onSubmit: Form.SubmitHandler<T>;
|
1183
|
-
children: (methods: ReturnType<typeof Form.useForm<T>>
|
1187
|
+
children: (methods: ReturnType<typeof Form.useForm<T>> & {
|
1188
|
+
Form: typeof Form;
|
1189
|
+
}) => React__default.ReactNode;
|
1184
1190
|
}
|
1185
1191
|
declare const ForwardedForms: <T extends Form.FieldValues>(props: FormProps<T> & {
|
1186
1192
|
ref?: React__default.Ref<any>;
|
@@ -1448,8 +1454,9 @@ interface TableTreeProps {
|
|
1448
1454
|
onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
|
1449
1455
|
onChange?: (e: any, node: any) => void;
|
1450
1456
|
selected: Array<string>;
|
1457
|
+
onPagination?: (node: ObjectProps) => void;
|
1451
1458
|
}
|
1452
|
-
declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => react_jsx_runtime.JSX.Element;
|
1459
|
+
declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, onPagination, }: TableTreeProps) => react_jsx_runtime.JSX.Element;
|
1453
1460
|
|
1454
1461
|
interface TabsProps {
|
1455
1462
|
/**
|