@zealicsolutions/web-ui 1.0.66-test.3 → 1.0.68

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.
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { RatingProps } from '@mui/material';
2
+ import React from 'react';
3
3
  export interface RatingMoleculeProps extends Omit<RatingProps, 'onChange'> {
4
4
  text: string;
5
5
  name: string;
@@ -1,6 +1,9 @@
1
1
  import { RatingMoleculeProps } from './Rating';
2
2
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
3
  export default _default;
4
+ declare type StoryPropsWithStateValue = RatingMoleculeProps & {
5
+ sourceDataModelFieldValue?: number | string;
6
+ };
4
7
  /** 1) Editable rating with validation */
5
8
  export declare const Editable: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, RatingMoleculeProps>;
6
9
  /** 2) Display-only rating (read only) */
@@ -8,3 +11,9 @@ export declare const DisplayOnly: import("@storybook/types").AnnotatedStoryFn<im
8
11
  /** 3) Disabled rating input */
9
12
  export declare const Disabled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, RatingMoleculeProps>;
10
13
  export declare const Standalone: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, RatingMoleculeProps>;
14
+ /** Display-only with numeric value from state */
15
+ export declare const DisplayOnlyWithStateValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryPropsWithStateValue>;
16
+ /** Display-only with string value from state */
17
+ export declare const DisplayOnlyWithStringStateValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryPropsWithStateValue>;
18
+ /** Display-only with partial rating value */
19
+ export declare const DisplayOnlyWithPartialRating: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryPropsWithStateValue>;
@@ -8,19 +8,12 @@ export interface SelectMoleculeOption {
8
8
  }
9
9
  export interface SelectMoleculeProps {
10
10
  open?: boolean;
11
- /** Label text (visible above or inside the select) */
12
11
  text: string;
13
- /** For a placeholder, you might use the first item or do a custom approach */
14
12
  placeholderText?: string;
15
- /** If true, the field is required in form validation */
16
13
  required?: boolean;
17
- /** Use this text if required == true and no value selected */
18
14
  requiredErrorText?: string;
19
- /** Use this text if user fails some extra validation pattern */
20
15
  validationErrorText?: string;
21
- /** If true, show a text label instead of an interactive dropdown */
22
16
  isDisplayOnly?: boolean;
23
- /** CSS style props */
24
17
  fontSize?: number | string;
25
18
  fontFamily?: TypographyProps['fontFamily'];
26
19
  fontWeight?: 'normal' | 'bold' | number;
@@ -37,11 +30,8 @@ export interface SelectMoleculeProps {
37
30
  paddingTop?: string;
38
31
  paddingRight?: string;
39
32
  paddingBottom?: string;
40
- /** Additional config from system (e.g. for selection in config mode) */
41
33
  configurationItemInfo?: ConfigurationItemInfo;
42
- /** The name of the field in react-hook-form */
43
34
  name: string;
44
- /** The data field in stateObject to populate/initialize value */
45
35
  sourceDataModelField?: string;
46
36
  }
47
37
  export declare const SelectMolecule: React.FC<SelectMoleculeProps>;
@@ -2,21 +2,8 @@ import { SelectMoleculeProps } from './Select';
2
2
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
3
  export default _default;
4
4
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
5
- export declare const WithLongPlaceholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
6
- export declare const WithoutPlaceholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
7
- export declare const ConfigurationMode: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
8
- export declare const DisplayOnly: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
9
- export declare const DisplayOnlyWithPlaceholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
10
- export declare const PlaceholderStyling: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
11
- export declare const RequiredWithPlaceholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
12
- export declare const WithCustomValidation: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
13
- export declare const LargeSize: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
14
- export declare const CompactSize: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
15
5
  export declare const DarkTheme: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
16
- export declare const ColorfulVariant: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
17
- export declare const MinimalStyle: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
18
- export declare const PlaceholderBehaviorTest: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
19
- export declare const ConfigurationModeMultiple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
6
+ export declare const DisplayOnly: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
7
+ export declare const ConfigurationMode: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
20
8
  export declare const ConfigurationModeAdvanced: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
21
- export declare const ImprovedSizing: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
22
9
  export declare const MLRMode: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SelectMoleculeProps>;
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
1
  import { SliderProps } from '@mui/material';
3
2
  import { ConfigurationItemInfo } from 'containers';
3
+ import React from 'react';
4
4
  export interface SliderMoleculeProps extends Omit<SliderProps, 'onChange'> {
5
5
  text?: string;
6
6
  name?: string;
@@ -1,6 +1,9 @@
1
1
  import { SliderMoleculeProps } from './Slider';
2
2
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
3
  export default _default;
4
+ declare type StoryPropsWithStateValue = SliderMoleculeProps & {
5
+ sourceDataModelFieldValue?: number | string;
6
+ };
4
7
  /** Editable with required validation */
5
8
  export declare const EditableRequired: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SliderMoleculeProps>;
6
9
  /** Display-only mode (slider is disabled, text shows numeric value) */
@@ -8,3 +11,9 @@ export declare const DisplayOnly: import("@storybook/types").AnnotatedStoryFn<im
8
11
  /** Vertical usage */
9
12
  export declare const VerticalSlider: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SliderMoleculeProps>;
10
13
  export declare const Standalone: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, SliderMoleculeProps>;
14
+ /** Display-only with numeric value from state */
15
+ export declare const DisplayOnlyWithStateValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryPropsWithStateValue>;
16
+ /** Display-only with string value from state */
17
+ export declare const DisplayOnlyWithStringStateValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryPropsWithStateValue>;
18
+ /** Display-only with decimal value from state */
19
+ export declare const DisplayOnlyWithDecimalValue: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, StoryPropsWithStateValue>;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { RatingProps } from '@mui/material';
2
+ import React from 'react';
3
3
  export interface RatingMoleculeProps extends Omit<RatingProps, 'onChange'> {
4
4
  text: string;
5
5
  name: string;