@xqmsg/ui-core 0.12.0 → 0.12.1
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/components/form/Form.stories.d.ts +1 -1
- package/dist/ui-core.cjs.development.js +61 -61
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +61 -61
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/banner/index.tsx +1 -1
- package/src/components/form/Form.stories.tsx +4 -4
- package/src/components/form/section/FormSection.stories.tsx +1 -1
- package/src/components/input/StackedSelect/StackedSelect.tsx +2 -2
- package/src/components/input/components/label/index.tsx +1 -1
- package/src/components/table/components/text/index.tsx +1 -1
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ import ErrorIcon from './assets/svg/error.svg';
|
|
|
11
11
|
import PositiveIcon from './assets/svg/positive.svg';
|
|
12
12
|
import NeutralIcon from './assets/svg/neutral.svg';
|
|
13
13
|
import WarningIcon from './assets/svg/warning.svg';
|
|
14
|
-
import colors from 'src/theme/foundations/colors';
|
|
14
|
+
import colors from '../../../src/theme/foundations/colors';
|
|
15
15
|
|
|
16
16
|
export type BannerVariant = 'positive' | 'warning' | 'error' | 'neutral';
|
|
17
17
|
|
|
@@ -2,10 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import { Meta, Story } from '@storybook/react';
|
|
3
3
|
import * as Yup from 'yup';
|
|
4
4
|
|
|
5
|
-
import { useFormHandler } from 'src/components/form/hooks/useFormHandler';
|
|
6
|
-
import { Form, FormProps } from 'src/components/form';
|
|
7
|
-
import { FormSection } from 'src/components/form/section';
|
|
8
|
-
import { formSectionStoryArgs } from 'src/components/form/section/FormSection.stories';
|
|
5
|
+
import { useFormHandler } from '../../../src/components/form/hooks/useFormHandler';
|
|
6
|
+
import { Form, FormProps } from '../../../src/components/form';
|
|
7
|
+
import { FormSection } from '../../../src/components/form/section';
|
|
8
|
+
import { formSectionStoryArgs } from '../../../src/components/form/section/FormSection.stories';
|
|
9
9
|
import { FormStructure } from './FormTypes';
|
|
10
10
|
|
|
11
11
|
const meta: Meta<FormProps<StoryFormSchema>> = {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Meta, Story } from '@storybook/react';
|
|
3
3
|
import * as Yup from 'yup';
|
|
4
4
|
|
|
5
|
-
import { useFormHandler } from 'src/components/form/hooks/useFormHandler';
|
|
5
|
+
import { useFormHandler } from '../../../../src/components/form/hooks/useFormHandler';
|
|
6
6
|
|
|
7
7
|
import { FormSection, FormSectionProps } from '.';
|
|
8
8
|
import { FormStructure } from '../FormTypes';
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from '@chakra-ui/react';
|
|
10
10
|
import { FieldOptions } from '../InputTypes';
|
|
11
11
|
import { StackedInputProps } from '../StackedInput/StackedInput';
|
|
12
|
-
import colors from 'src/theme/foundations/colors';
|
|
12
|
+
import colors from '../../../../src/theme/foundations/colors';
|
|
13
13
|
import { UseFormSetValue, FieldValues, Control } from 'react-hook-form';
|
|
14
14
|
import SubtractIcon from './assets/svg/subtract.svg';
|
|
15
15
|
import { Dropdown } from '../components/dropdown';
|
|
@@ -64,7 +64,7 @@ const StackedSelect = React.forwardRef<HTMLInputElement, StackedSelectProps>(
|
|
|
64
64
|
</InputGroup>
|
|
65
65
|
{isFocussed && (
|
|
66
66
|
<Dropdown
|
|
67
|
-
onSelectItem={
|
|
67
|
+
onSelectItem={option => handleOnSelectItem(option)}
|
|
68
68
|
options={options}
|
|
69
69
|
/>
|
|
70
70
|
)}
|