@hortiview/shared-components 2.5.0 → 2.6.0
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [2.6.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.5.0...v2.6.0) (2025-09-30)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* export form select type ([f373eb3](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/f373eb3c837acc45da04fa3bc5ce277d9a3657d4))
|
|
6
|
+
|
|
1
7
|
## [2.5.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.4.0...v2.5.0) (2025-09-08)
|
|
2
8
|
|
|
3
9
|
### Features
|
|
@@ -5,7 +5,7 @@ import { ExtendedSelectProps } from '../../Select/Select';
|
|
|
5
5
|
/**
|
|
6
6
|
* a generic FormSelector property type. the generic T represents the interface, which is used in the form, like {@link CreateOrganizationDto}
|
|
7
7
|
*/
|
|
8
|
-
type FormSelectProps<T extends FieldValues> = Omit<SelectProps, 'className' | 'clearable' | 'disabled' | 'helperTextPersistent' | 'hidden' | 'hoisted' | 'label' | 'menuMaxHeight' | 'multi' | 'multiSelect' | 'options' | 'searchable' | 'textKey' | 'valid' | 'value' | 'valueKey' | 'variant'> & Pick<ExtendedSelectProps, 'portalClassName' | 'data-testid'> & {
|
|
8
|
+
export type FormSelectProps<T extends FieldValues> = Omit<SelectProps, 'className' | 'clearable' | 'disabled' | 'helperTextPersistent' | 'hidden' | 'hoisted' | 'label' | 'menuMaxHeight' | 'multi' | 'multiSelect' | 'options' | 'searchable' | 'textKey' | 'valid' | 'value' | 'valueKey' | 'variant'> & Pick<ExtendedSelectProps, 'portalClassName' | 'data-testid'> & {
|
|
9
9
|
/** the name of the property in the form */
|
|
10
10
|
propertyName: Path<T>;
|
|
11
11
|
/** the label of the select */
|
|
@@ -63,4 +63,3 @@ export type FormSelectOption = {
|
|
|
63
63
|
* @returns
|
|
64
64
|
*/
|
|
65
65
|
export declare const FormSelect: <T extends FieldValues>({ propertyName, label, options, multi, disabled, hoisted, hidden, valueKey, textKey, clearable, searchable, noOptionsMessage, rules, menuPosition, ...props }: FormSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
66
|
-
export {};
|
package/dist/main.d.ts
CHANGED
|
@@ -42,17 +42,17 @@ export { FormToggle } from './components/FormComponents/FormToggle/FormToggle';
|
|
|
42
42
|
export { AvailableCustomIcons } from './enums/AvailableCustomIcons';
|
|
43
43
|
export { ThemeColor } from './enums/ThemeColor';
|
|
44
44
|
export { useBreakpoints } from './hooks/useBreakpoints';
|
|
45
|
-
export { capitalizeFirstLetters, getNumberAsLocaleString, trimLeadingAndTrailingSpaces } from './services/UtilService';
|
|
45
|
+
export { capitalizeFirstLetters, getNumberAsLocaleString, trimLeadingAndTrailingSpaces, } from './services/UtilService';
|
|
46
46
|
export type { ActionProps } from './components/ContextMenu/ContextMenu';
|
|
47
|
-
export type { FormSelectOption } from './components/FormComponents/FormSelect/FormSelect';
|
|
47
|
+
export type { FormSelectOption, FormSelectProps, } from './components/FormComponents/FormSelect/FormSelect';
|
|
48
48
|
export type { FormTextProps } from './components/FormComponents/FormText/FormText';
|
|
49
49
|
export type { HealthCheckFailedProps } from './components/HealthCheckFailed/HealthCheckFailed';
|
|
50
50
|
export type { FieldItem } from './components/InfoGroup/InfoGroup';
|
|
51
51
|
export type { LoadingSpinnerProps } from './components/LoadingSpinner/Default/LoadingSpinner';
|
|
52
|
-
export type { Step, StepperBaseProps, StepperButtonProps, StepperProps } from './components/Stepper/stepperTypes';
|
|
52
|
+
export type { Step, StepperBaseProps, StepperButtonProps, StepperProps, } from './components/Stepper/stepperTypes';
|
|
53
53
|
export type { FilterData, FilterOption, FilterSelection } from './types/Filter';
|
|
54
54
|
export type { CellTemplate, CellTemplateProps, TableLayoutProps } from './types/GenericTable';
|
|
55
55
|
export type { HashTab } from './types/HashTab';
|
|
56
56
|
export type { BaseListElement, ListElement } from './types/ListElement';
|
|
57
|
-
export { AVAILABLE_COUNTRY_KEYS, AVAILABLE_LOCALES, ENGLISH_LANGUAGE_ID, GERMAN_LANGUAGE_ID, LANGUAGE_CODES_MAPPER, LANGUAGE_ID_MAPPER, SPANISH_LANGUAGE_ID, TURKISH_LANGUAGE_ID } from './types/Languages';
|
|
57
|
+
export { AVAILABLE_COUNTRY_KEYS, AVAILABLE_LOCALES, ENGLISH_LANGUAGE_ID, GERMAN_LANGUAGE_ID, LANGUAGE_CODES_MAPPER, LANGUAGE_ID_MAPPER, SPANISH_LANGUAGE_ID, TURKISH_LANGUAGE_ID, } from './types/Languages';
|
|
58
58
|
export type { AVAILABLE_LANGUAGE_CODES, LANGUAGE_COUNTRY_CODES } from './types/Languages';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hortiview/shared-components",
|
|
3
3
|
"description": "This is a shared component library. It should used in the HortiView platform and its modules.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.6.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared",
|
|
7
7
|
"author": "Falk Menge <falk.menge.ext@bayer.com>",
|