@arquimedes.co/eureka-forms 3.0.43-queue-file → 3.0.44-mui9

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.
Files changed (53) hide show
  1. package/dist/@Types/FormStep.d.ts +4 -2
  2. package/dist/@Types/GenericFormSteps.d.ts +1 -1
  3. package/dist/App/AppHooks.js +13 -13
  4. package/dist/Form/ConfirmationDialog/ConfirmationDialog.js +7 -5
  5. package/dist/Form/Terms/Term/MaterialTerm/MaterialTerm.js +5 -3
  6. package/dist/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +7 -5
  7. package/dist/FormSteps/@StoryDecorators/FormStepDecorator.d.ts +9 -0
  8. package/dist/FormSteps/@StoryDecorators/FormStepDecorator.js +84 -0
  9. package/dist/FormSteps/AYFStepMapper.js +2 -2
  10. package/dist/FormSteps/DatePickerRangeStep/MaterialDatePickerRangeStep/MaterialDatePickerRangeStep.js +3 -3
  11. package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValueDialog/MaterialEntityValueDialog.js +7 -5
  12. package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +1 -1
  13. package/dist/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +1 -1
  14. package/dist/FormSteps/StepFunctions.js +1 -1
  15. package/dist/Shared/ErkCheckbox/ErkCheckBox.d.ts +1 -0
  16. package/dist/Shared/ErkCheckbox/ErkCheckBox.js +2 -2
  17. package/dist/Shared/ErkDatePicker/ErkDatePicker.js +44 -33
  18. package/dist/Shared/ErkDateRangePicker/ErkDateRangePicker.d.ts +4 -1
  19. package/dist/Shared/ErkDateRangePicker/ErkDateRangePicker.js +40 -23
  20. package/dist/Shared/ErkMenuItem.d.ts +1 -1
  21. package/dist/Shared/ErkSelect/ErkSelect.d.ts +2 -2
  22. package/dist/Shared/ErkTextField/ErkTextField.d.ts +17 -2
  23. package/dist/Shared/ErkTextField/ErkTextField.js +3 -3
  24. package/dist/Shared/ErkTimePicker/ErkTimePicker.js +1 -1
  25. package/dist/Shared/Rating/Ratings/ScaleRating.js +1 -1
  26. package/dist/States/GlobalSlice.d.ts +8 -26
  27. package/dist/States/GlobalSlice.js +3 -2
  28. package/dist/States/SiteSlice.d.ts +8 -33
  29. package/dist/States/SiteSlice.js +11 -9
  30. package/dist/States/WidthStatsSlice.d.ts +5 -1
  31. package/dist/Utils/DraftFunctions.js +1 -1
  32. package/dist/index.css +7 -0
  33. package/dist/main.d.ts +1 -1
  34. package/dist/main.js +1 -1
  35. package/package.json +34 -33
  36. package/dist/Shared/ErkButton/ErkButton.stories.d.ts +0 -16
  37. package/dist/Shared/ErkButton/ErkButton.stories.js +0 -28
  38. package/dist/Shared/ErkCheckbox/ErkCheckBox.stories.d.ts +0 -13
  39. package/dist/Shared/ErkCheckbox/ErkCheckBox.stories.js +0 -34
  40. package/dist/Shared/ErkDatePicker/ErkDatePicker.stories.d.ts +0 -23
  41. package/dist/Shared/ErkDatePicker/ErkDatePicker.stories.js +0 -98
  42. package/dist/Shared/ErkDateRangePicker/ErkDateRangePicker.stories.d.ts +0 -36
  43. package/dist/Shared/ErkDateRangePicker/ErkDateRangePicker.stories.js +0 -274
  44. package/dist/Shared/ErkSelect/ErkSelect.stories.d.ts +0 -21
  45. package/dist/Shared/ErkSelect/ErkSelect.stories.js +0 -87
  46. package/dist/Shared/ErkSmartSelect/ErkSmartSelect.stories.d.ts +0 -26
  47. package/dist/Shared/ErkSmartSelect/ErkSmartSelect.stories.js +0 -159
  48. package/dist/Shared/ErkTextField/ErkTextField.stories.d.ts +0 -24
  49. package/dist/Shared/ErkTextField/ErkTextField.stories.js +0 -99
  50. package/dist/Shared/Navbar/Navbar.stories.d.ts +0 -13
  51. package/dist/Shared/Navbar/Navbar.stories.js +0 -13
  52. package/dist/Shared/Rating/Rating.stories.d.ts +0 -15
  53. package/dist/Shared/Rating/Rating.stories.js +0 -47
@@ -1,99 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import ErkTextField from './ErkTextField';
3
- import { useArgs } from 'storybook/internal/preview-api';
4
- const meta = {
5
- component: ErkTextField,
6
- tags: ['autodocs'],
7
- args: {
8
- disabled: false,
9
- multiline: false,
10
- },
11
- };
12
- export default meta;
13
- export const Empty = {
14
- args: {},
15
- };
16
- export const EmptyLabel = {
17
- args: {
18
- label: 'Label',
19
- },
20
- };
21
- export const Default = {
22
- args: {
23
- label: 'Label',
24
- },
25
- play: async ({ canvas, userEvent }) => {
26
- const emailInput = canvas.getByRole('textbox');
27
- await userEvent.click(emailInput);
28
- await userEvent.type(emailInput, 'example-email@email.com', { initialSelectionStart: 100 });
29
- },
30
- render: function Component(args) {
31
- const [, setArgs] = useArgs();
32
- const onValueChange = (value) => {
33
- args.onChange?.(value);
34
- setArgs({ value });
35
- };
36
- return _jsx(ErkTextField, { ...args, ref: undefined, onChange: onValueChange });
37
- },
38
- };
39
- export const Focused = {
40
- args: {
41
- label: 'Label',
42
- },
43
- play: async ({ canvas, userEvent }) => {
44
- const emailInput = canvas.getByRole('textbox');
45
- await userEvent.click(emailInput);
46
- },
47
- };
48
- export const FocusedNoLabel = {
49
- args: {},
50
- play: async ({ canvas, userEvent }) => {
51
- const emailInput = canvas.getByRole('textbox');
52
- await userEvent.click(emailInput);
53
- },
54
- };
55
- export const WithValue = {
56
- args: {
57
- value: 'Textinput Value',
58
- },
59
- };
60
- export const Multiline = {
61
- args: {
62
- value: 'TextArea Value',
63
- multiline: true,
64
- minRows: 4,
65
- },
66
- };
67
- export const WithHelperText = {
68
- args: {
69
- helperText: 'Helper text',
70
- },
71
- };
72
- export const WithValueandLabel = {
73
- args: {
74
- label: 'Label',
75
- value: 'Textinput Value',
76
- },
77
- };
78
- export const WithMaxLength = {
79
- args: {
80
- value: 'Value',
81
- maxLength: 10,
82
- },
83
- };
84
- export const Full = {
85
- args: {
86
- label: 'Label',
87
- value: 'Value',
88
- helperText: 'Helper text',
89
- maxLength: 10,
90
- },
91
- };
92
- export const Error = {
93
- args: {
94
- label: 'Label',
95
- value: 'Value',
96
- helperText: 'Helper text',
97
- error: true,
98
- },
99
- };
@@ -1,13 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-vite';
2
- import Navbar from './Navbar';
3
- declare const meta: {
4
- component: typeof Navbar;
5
- tags: string[];
6
- args: {
7
- logo: string;
8
- color: string;
9
- };
10
- };
11
- export default meta;
12
- type Story = StoryObj<typeof meta>;
13
- export declare const Default: Story;
@@ -1,13 +0,0 @@
1
- import Navbar from './Navbar';
2
- const meta = {
3
- component: Navbar,
4
- tags: ['autodocs'],
5
- args: {
6
- logo: 'https://content.capta.co/Capta/CaptaWhite.svg',
7
- color: '#3d5a7f',
8
- },
9
- };
10
- export default meta;
11
- export const Default = {
12
- args: {},
13
- };
@@ -1,15 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-vite';
2
- import Rating from './Rating';
3
- declare const meta: {
4
- component: typeof Rating;
5
- tags: string[];
6
- args: {};
7
- };
8
- export default meta;
9
- type Story = StoryObj<typeof meta>;
10
- export declare const ScaleRating: Story;
11
- export declare const ScaleRatingWidthValue: Story;
12
- export declare const LikeRating: Story;
13
- export declare const LikeRatingWithValue: Story;
14
- export declare const SatisfactionRating: Story;
15
- export declare const SatisfactionRatingWidthValue: Story;
@@ -1,47 +0,0 @@
1
- import Rating from './Rating';
2
- import { RatingTypes } from '../../constants/FormStepTypes';
3
- const meta = {
4
- component: Rating,
5
- tags: ['autodocs'],
6
- args: {},
7
- };
8
- export default meta;
9
- export const ScaleRating = {
10
- args: {
11
- type: RatingTypes.SCALE,
12
- onChange: () => { },
13
- },
14
- };
15
- export const ScaleRatingWidthValue = {
16
- args: {
17
- type: RatingTypes.SCALE,
18
- onChange: () => { },
19
- value: 4,
20
- },
21
- };
22
- export const LikeRating = {
23
- args: {
24
- type: RatingTypes.LIKE,
25
- onChange: () => { },
26
- },
27
- };
28
- export const LikeRatingWithValue = {
29
- args: {
30
- type: RatingTypes.LIKE,
31
- onChange: () => { },
32
- value: 1,
33
- },
34
- };
35
- export const SatisfactionRating = {
36
- args: {
37
- type: RatingTypes.SATISFACTION,
38
- onChange: () => { },
39
- },
40
- };
41
- export const SatisfactionRatingWidthValue = {
42
- args: {
43
- type: RatingTypes.SATISFACTION,
44
- onChange: () => { },
45
- value: 3,
46
- },
47
- };