@hortiview/shared-components 2.27.0 → 2.27.2
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 +18 -0
- package/dist/assets/FormDatePicker.css +1 -1
- package/dist/components/DeleteModal/DeleteModal.js +2 -2
- package/dist/components/EmptyView/EmptyView.js +2 -2
- package/dist/components/Filter/Filter.js +2 -2
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.d.ts +1 -4
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +5179 -5200
- package/dist/components/FormComponents/FormSelect/FormSelect.d.ts +2 -2
- package/dist/components/FormComponents/FormSelect/FormSelect.js +1 -1
- package/dist/components/GenericTable/GenericTable.js +4 -4
- package/dist/components/ModulePadding/ModulePadding.js +2 -2
- package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
- package/dist/components/Select/Select.js +43 -26
- package/dist/{index.es-CVPUG1pf.js → index.es-B_BTuoBa.js} +1 -1
- package/dist/{index.es-DVgCBhVx.js → index.es-DLEY03HG.js} +1 -1
- package/dist/{isString-BNdV0Jpg.js → isString-C0tJxuT4.js} +2 -2
- package/dist/main.d.ts +1 -1
- package/dist/main.js +56 -55
- package/dist/react-tooltip.min-D7xPMD-P.js +1390 -0
- package/dist/services/UtilService.d.ts +5 -0
- package/dist/services/UtilService.js +15 -14
- package/package.json +1 -1
- package/dist/floating-ui.dom-CeD8zknG.js +0 -978
- package/dist/react-tooltip.min-Dkz5ltCC.js +0 -420
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [2.27.2](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.27.1...v2.27.2) (2026-06-02)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* enable filtering select options by natural strings when text is JSX ([63e5296](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/63e5296dc15dd83cb60c416cf9f836619a078beb))
|
|
6
|
+
|
|
7
|
+
### Code Refactoring
|
|
8
|
+
|
|
9
|
+
* remove obsolete close label prop from FormDatePicker stories ([a4fd8b9](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/a4fd8b964180f87500672adab9c1a2230ab5238c))
|
|
10
|
+
* simplify guard for checking null/undefined ([9272d69](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/9272d69dc7b1c3cda7fc895542f9ba2eb9b6502d))
|
|
11
|
+
|
|
12
|
+
## [2.27.1](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.27.0...v2.27.1) (2026-05-29)
|
|
13
|
+
|
|
14
|
+
### Code Refactoring
|
|
15
|
+
|
|
16
|
+
* remove closeLabel prop and related button from FormDatePicker ([6917f1b](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/6917f1b1549080a34fb7a70d1eeaf985ff1a5894))
|
|
17
|
+
* remove deprecated closeLabel prop from DatePickerProps and clean up CSS class quotes ([8d5aa25](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/8d5aa25ccd0100ae59dfd8989522b7dd97608b15))
|
|
18
|
+
|
|
1
19
|
## [2.27.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.26.3...v2.27.0) (2026-05-26)
|
|
2
20
|
|
|
3
21
|
### Features
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._datePickerContainer_1n7za_1{width:100%}._datePickerContainer_1n7za_1 div[class*=mdc-notched-outline__leading]{border-radius:.25rem 0 0 .25rem!important}._datePickerContainer_1n7za_1 div[class*=mdc-notched-outline__trailing]{border-radius:0 .25rem .25rem 0!important}._invalid_1n7za_13+*[class*=mdc-text-field-helper-line] *[class*=mdc-text-field-helper-text]{color:var(--lmnt-theme-danger)!important}._fromPickerText_1n7za_17+*[class*=mdc-text-field-helper-line] *[class*=mdc-text-field-helper-text]{margin-bottom:-19.33px!important}._datePickerCalendar_1n7za_21{z-index:101}
|
|
@@ -8,7 +8,7 @@ import { AvailableCustomIcons as O } from "../../enums/AvailableCustomIcons.js";
|
|
|
8
8
|
import { useBreakpoints as x } from "../../hooks/useBreakpoints.js";
|
|
9
9
|
import { Iconify as z } from "../Iconify/Iconify.js";
|
|
10
10
|
import "react";
|
|
11
|
-
import "../../react-tooltip.min-
|
|
11
|
+
import "../../react-tooltip.min-D7xPMD-P.js";
|
|
12
12
|
import "../../orderBy-Ce85KqD6.js";
|
|
13
13
|
import "../../index-CuHybtft.js";
|
|
14
14
|
import "../SharedComponentsPermissionProvider/PermissionContext.js";
|
|
@@ -18,7 +18,7 @@ import { LoadingSpinner as M } from "../LoadingSpinner/Default/LoadingSpinner.js
|
|
|
18
18
|
import "react-hook-form";
|
|
19
19
|
import "../../get-CBFiuc3f.js";
|
|
20
20
|
import "../../isArray-olhCpv2e.js";
|
|
21
|
-
import "../../isString-
|
|
21
|
+
import "../../isString-C0tJxuT4.js";
|
|
22
22
|
import "../../omit-BWQrFyQ-.js";
|
|
23
23
|
import "../../types/Time.js";
|
|
24
24
|
import "../../react.esm-DF7i80eN.js";
|
|
@@ -4,7 +4,7 @@ import { a as l } from "../../index.es-EXzC8zuP.js";
|
|
|
4
4
|
import { c as _ } from "../../index-_-9ybP20.js";
|
|
5
5
|
import { Iconify as f } from "../Iconify/Iconify.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import "../../react-tooltip.min-
|
|
7
|
+
import "../../react-tooltip.min-D7xPMD-P.js";
|
|
8
8
|
import "../../orderBy-Ce85KqD6.js";
|
|
9
9
|
import "../../index-CuHybtft.js";
|
|
10
10
|
import "../SharedComponentsPermissionProvider/PermissionContext.js";
|
|
@@ -14,7 +14,7 @@ import { LoadingSpinner as w } from "../LoadingSpinner/Default/LoadingSpinner.js
|
|
|
14
14
|
import "react-hook-form";
|
|
15
15
|
import "../../get-CBFiuc3f.js";
|
|
16
16
|
import "../../isArray-olhCpv2e.js";
|
|
17
|
-
import "../../isString-
|
|
17
|
+
import "../../isString-C0tJxuT4.js";
|
|
18
18
|
import "../../omit-BWQrFyQ-.js";
|
|
19
19
|
import "../../types/Time.js";
|
|
20
20
|
import "../../react.esm-DF7i80eN.js";
|
|
@@ -8,7 +8,7 @@ import { c as G } from "../../index-_-9ybP20.js";
|
|
|
8
8
|
import { useState as b } from "react";
|
|
9
9
|
import { Iconify as H } from "../Iconify/Iconify.js";
|
|
10
10
|
import { useBreakpoints as F } from "../../hooks/useBreakpoints.js";
|
|
11
|
-
import "../../react-tooltip.min-
|
|
11
|
+
import "../../react-tooltip.min-D7xPMD-P.js";
|
|
12
12
|
import "../../orderBy-Ce85KqD6.js";
|
|
13
13
|
import { SearchBar as I } from "../SearchBar/SearchBar.js";
|
|
14
14
|
import "../../index-CuHybtft.js";
|
|
@@ -20,7 +20,7 @@ import { Select as M } from "../Select/Select.js";
|
|
|
20
20
|
import "react-hook-form";
|
|
21
21
|
import "../../get-CBFiuc3f.js";
|
|
22
22
|
import "../../isArray-olhCpv2e.js";
|
|
23
|
-
import "../../isString-
|
|
23
|
+
import "../../isString-C0tJxuT4.js";
|
|
24
24
|
import "../../omit-BWQrFyQ-.js";
|
|
25
25
|
import "../../types/Time.js";
|
|
26
26
|
import "../../react.esm-DF7i80eN.js";
|
|
@@ -6,8 +6,6 @@ type DatePickerProps<T extends FieldValues> = {
|
|
|
6
6
|
propertyName: Path<T>;
|
|
7
7
|
/** Label to be displayed at the date picker input field. */
|
|
8
8
|
label: string;
|
|
9
|
-
/** Label to be displayed as close button text. */
|
|
10
|
-
closeLabel: string;
|
|
11
9
|
/**
|
|
12
10
|
* the rules for the picker
|
|
13
11
|
* @default undefined
|
|
@@ -44,7 +42,6 @@ type DatePickerProps<T extends FieldValues> = {
|
|
|
44
42
|
*
|
|
45
43
|
* @param propertyName - the name of the property this date picker maps to in the form.
|
|
46
44
|
* @param label - label displayed along with the date picker.
|
|
47
|
-
* @param closeLabel - label displayed as close button text.
|
|
48
45
|
* @param className - class name to be passed if provided.
|
|
49
46
|
* @param minRangeYear - number of years to subtract from the current date as bottom of range
|
|
50
47
|
* @param maxRangeYear - number of years to add to the current date as top of range
|
|
@@ -55,5 +52,5 @@ type DatePickerProps<T extends FieldValues> = {
|
|
|
55
52
|
*
|
|
56
53
|
* @returns A JSX element that renders a date picker form input.
|
|
57
54
|
*/
|
|
58
|
-
export declare const FormDatePicker: <T extends FieldValues>({ propertyName, label,
|
|
55
|
+
export declare const FormDatePicker: <T extends FieldValues>({ propertyName, label, className, minRangeYear, maxRangeYear, locale, rules, helperText, ...props }: Omit<ElementDatePickerProps, "locale" | "useUtc"> & DatePickerProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
59
56
|
export {};
|