@mtes-mct/monitor-ui 24.44.0 → 24.45.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/CHANGELOG.md +7 -0
- package/cypress/index.js +1 -1
- package/fields/MultiSelect.d.ts +2 -2
- package/fields/MultiSelect.d.ts.map +1 -1
- package/index.js +1047 -1033
- package/package.json +1 -1
- package/stats.html +1 -1
- package/types/commonTypes.d.ts +4 -1
- package/types/commonTypes.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [24.43.0](https://github.com/MTES-MCT/monitor-ui/compare/v24.42.3...v24.43.0) (2026-03-09)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **fields:** dateRangePicker allow undefined ([150259d](https://github.com/MTES-MCT/monitor-ui/commit/150259d3d04bd89378dadb5a947a297c552bfcc3))
|
|
6
|
+
* **fields:** rework shouldDisableDate for DateRangePicker ([9d5cf42](https://github.com/MTES-MCT/monitor-ui/commit/9d5cf42397532b5015528301d4d3cd55e38369a9))
|
|
7
|
+
|
|
1
8
|
## [24.42.3](https://github.com/MTES-MCT/monitor-ui/compare/v24.42.2...v24.42.3) (2026-02-24)
|
|
2
9
|
|
|
3
10
|
### Bug Fixes
|
package/cypress/index.js
CHANGED
|
@@ -204,7 +204,7 @@ function C(t, n, i, r, c, o = "option") {
|
|
|
204
204
|
s || p(`Could not find '.rs-picker-popup' in in field with label "${i}". Did the picker open?`);
|
|
205
205
|
const a = s.querySelector('input[role="searchbox"]');
|
|
206
206
|
n.forEach((y) => {
|
|
207
|
-
a && cy.wrap(s).find('input[role="searchbox"]').clear().type(y, { delay: c, force: r }).wait(250), cy.wrap(s).find(`[role="${o}"]`).contains(y).first().scrollIntoView().click({ force: r });
|
|
207
|
+
a && cy.wrap(s).find('input[role="searchbox"]').clear({ force: r }).type(y, { delay: c, force: r }).wait(250), cy.wrap(s).find(`[role="${o}"]`).contains(y).first().scrollIntoView().click({ force: r });
|
|
208
208
|
}), cy.get("body").type("{esc}", { delay: c, force: r }), cy.wait(250);
|
|
209
209
|
}));
|
|
210
210
|
}
|
package/fields/MultiSelect.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type TagPickerProps } from 'rsuite';
|
|
2
2
|
import { type OptionValueType } from '../types/definitions';
|
|
3
3
|
import type { SelectType } from '@types_/commonTypes';
|
|
4
|
-
export type MultiSelectProps<OptionValue extends OptionValueType = string> = Omit<TagPickerProps, 'as' | 'container' | 'data' | 'defaultValue' | 'id' | 'onChange' | 'renderMenuItem' | 'value' | 'valueKey'> & SelectType<OptionValue>;
|
|
5
|
-
export declare function MultiSelect<OptionValue extends OptionValueType = string>({ className, customSearch, customSearchMinQueryLength, disabled, error, isErrorMessageHidden, isLabelHidden, isLight, isRequired, isTransparent, isUndefinedWhenDisabled, label, onChange, options, optionValueKey, popupWidth, readOnly, searchable, style, value, ...originalProps }: MultiSelectProps<OptionValue>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export type MultiSelectProps<OptionValue extends OptionValueType = string> = Omit<TagPickerProps, 'as' | 'container' | 'data' | 'defaultValue' | 'id' | 'onChange' | 'onSearch' | 'renderMenuItem' | 'value' | 'valueKey'> & SelectType<OptionValue>;
|
|
5
|
+
export declare function MultiSelect<OptionValue extends OptionValueType = string>({ className, customRenderMenuItem, customSearch, customSearchMinQueryLength, disabled, error, isErrorMessageHidden, isLabelHidden, isLight, isRequired, isTransparent, isUndefinedWhenDisabled, label, onChange, onSearch, options, optionValueKey, popupWidth, readOnly, searchable, style, value, ...originalProps }: MultiSelectProps<OptionValue>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=MultiSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../src/fields/MultiSelect.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAgC,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAA;AAS1E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAK3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,MAAM,MAAM,gBAAgB,CAAC,WAAW,SAAS,eAAe,GAAG,MAAM,IAAI,IAAI,CAC/E,cAAc,
|
|
1
|
+
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../src/fields/MultiSelect.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAgC,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAA;AAS1E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAK3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,MAAM,MAAM,gBAAgB,CAAC,WAAW,SAAS,eAAe,GAAG,MAAM,IAAI,IAAI,CAC/E,cAAc,EACZ,IAAI,GACJ,WAAW,GACX,MAAM,GACN,cAAc,GACd,IAAI,GACJ,UAAU,GACV,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,UAAU,CACb,GACC,UAAU,CAAC,WAAW,CAAC,CAAA;AAEzB,wBAAgB,WAAW,CAAC,WAAW,SAAS,eAAe,GAAG,MAAM,EAAE,EACxE,SAAS,EACT,oBAAoB,EACpB,YAAY,EACZ,0BAA8B,EAC9B,QAAgB,EAChB,KAAK,EACL,oBAA4B,EAC5B,aAAqB,EACrB,OAAe,EACf,UAAkB,EAClB,aAAqB,EACrB,uBAA+B,EAC/B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,cAAc,EACd,UAAU,EACV,QAAgB,EAChB,UAAkB,EAClB,KAAK,EACL,KAAK,EACL,GAAG,aAAa,EACjB,EAAE,gBAAgB,CAAC,WAAW,CAAC,2CA+H/B"}
|