@genesislcap/rapid-design-system 15.96.2 → 15.96.3-GENC-1640.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/dist/custom-elements.json +75 -50
- package/dist/dts/react.d.ts +9 -8
- package/dist/react.cjs +11 -6
- package/dist/react.mjs +10 -5
- package/package.json +10 -10
|
@@ -23786,6 +23786,23 @@
|
|
|
23786
23786
|
"module": "src/multiselect/multiselect.ts"
|
|
23787
23787
|
}
|
|
23788
23788
|
},
|
|
23789
|
+
{
|
|
23790
|
+
"kind": "method",
|
|
23791
|
+
"name": "updateSelection",
|
|
23792
|
+
"privacy": "private",
|
|
23793
|
+
"parameters": [
|
|
23794
|
+
{
|
|
23795
|
+
"name": "next",
|
|
23796
|
+
"type": {
|
|
23797
|
+
"text": "MultiselectOption[]"
|
|
23798
|
+
}
|
|
23799
|
+
}
|
|
23800
|
+
],
|
|
23801
|
+
"inheritedFrom": {
|
|
23802
|
+
"name": "Multiselect",
|
|
23803
|
+
"module": "src/multiselect/multiselect.ts"
|
|
23804
|
+
}
|
|
23805
|
+
},
|
|
23789
23806
|
{
|
|
23790
23807
|
"kind": "method",
|
|
23791
23808
|
"name": "addOption",
|
|
@@ -24040,6 +24057,14 @@
|
|
|
24040
24057
|
"module": "src/multiselect/multiselect.ts"
|
|
24041
24058
|
}
|
|
24042
24059
|
},
|
|
24060
|
+
{
|
|
24061
|
+
"description": "Fired when a new option is created from the filter search. Cancelable: `preventDefault()` rejects the option. detail: `{ value: string, label: string }`",
|
|
24062
|
+
"name": "optionCreated",
|
|
24063
|
+
"inheritedFrom": {
|
|
24064
|
+
"name": "Multiselect",
|
|
24065
|
+
"module": "src/multiselect/multiselect.ts"
|
|
24066
|
+
}
|
|
24067
|
+
},
|
|
24043
24068
|
{
|
|
24044
24069
|
"description": "Fired when the selection or filter is cleared. detail: `ClearOptions`",
|
|
24045
24070
|
"name": "clear",
|
|
@@ -27877,56 +27902,6 @@
|
|
|
27877
27902
|
}
|
|
27878
27903
|
]
|
|
27879
27904
|
},
|
|
27880
|
-
{
|
|
27881
|
-
"kind": "javascript-module",
|
|
27882
|
-
"path": "src/router/index.ts",
|
|
27883
|
-
"declarations": [],
|
|
27884
|
-
"exports": [
|
|
27885
|
-
{
|
|
27886
|
-
"kind": "js",
|
|
27887
|
-
"name": "*",
|
|
27888
|
-
"declaration": {
|
|
27889
|
-
"name": "*",
|
|
27890
|
-
"package": "./router"
|
|
27891
|
-
}
|
|
27892
|
-
}
|
|
27893
|
-
]
|
|
27894
|
-
},
|
|
27895
|
-
{
|
|
27896
|
-
"kind": "javascript-module",
|
|
27897
|
-
"path": "src/router/router.ts",
|
|
27898
|
-
"declarations": [
|
|
27899
|
-
{
|
|
27900
|
-
"kind": "class",
|
|
27901
|
-
"description": "",
|
|
27902
|
-
"name": "RapidRouter",
|
|
27903
|
-
"superclass": {
|
|
27904
|
-
"name": "<local>_undefined",
|
|
27905
|
-
"module": "src/router/router.ts"
|
|
27906
|
-
},
|
|
27907
|
-
"tagName": "rapid-router",
|
|
27908
|
-
"customElement": true
|
|
27909
|
-
}
|
|
27910
|
-
],
|
|
27911
|
-
"exports": [
|
|
27912
|
-
{
|
|
27913
|
-
"kind": "js",
|
|
27914
|
-
"name": "RapidRouter",
|
|
27915
|
-
"declaration": {
|
|
27916
|
-
"name": "RapidRouter",
|
|
27917
|
-
"module": "src/router/router.ts"
|
|
27918
|
-
}
|
|
27919
|
-
},
|
|
27920
|
-
{
|
|
27921
|
-
"kind": "custom-element-definition",
|
|
27922
|
-
"name": "rapid-router",
|
|
27923
|
-
"declaration": {
|
|
27924
|
-
"name": "RapidRouter",
|
|
27925
|
-
"module": "src/router/router.ts"
|
|
27926
|
-
}
|
|
27927
|
-
}
|
|
27928
|
-
]
|
|
27929
|
-
},
|
|
27930
27905
|
{
|
|
27931
27906
|
"kind": "javascript-module",
|
|
27932
27907
|
"path": "src/scheduler/index.ts",
|
|
@@ -28278,6 +28253,56 @@
|
|
|
28278
28253
|
}
|
|
28279
28254
|
]
|
|
28280
28255
|
},
|
|
28256
|
+
{
|
|
28257
|
+
"kind": "javascript-module",
|
|
28258
|
+
"path": "src/router/index.ts",
|
|
28259
|
+
"declarations": [],
|
|
28260
|
+
"exports": [
|
|
28261
|
+
{
|
|
28262
|
+
"kind": "js",
|
|
28263
|
+
"name": "*",
|
|
28264
|
+
"declaration": {
|
|
28265
|
+
"name": "*",
|
|
28266
|
+
"package": "./router"
|
|
28267
|
+
}
|
|
28268
|
+
}
|
|
28269
|
+
]
|
|
28270
|
+
},
|
|
28271
|
+
{
|
|
28272
|
+
"kind": "javascript-module",
|
|
28273
|
+
"path": "src/router/router.ts",
|
|
28274
|
+
"declarations": [
|
|
28275
|
+
{
|
|
28276
|
+
"kind": "class",
|
|
28277
|
+
"description": "",
|
|
28278
|
+
"name": "RapidRouter",
|
|
28279
|
+
"superclass": {
|
|
28280
|
+
"name": "<local>_undefined",
|
|
28281
|
+
"module": "src/router/router.ts"
|
|
28282
|
+
},
|
|
28283
|
+
"tagName": "rapid-router",
|
|
28284
|
+
"customElement": true
|
|
28285
|
+
}
|
|
28286
|
+
],
|
|
28287
|
+
"exports": [
|
|
28288
|
+
{
|
|
28289
|
+
"kind": "js",
|
|
28290
|
+
"name": "RapidRouter",
|
|
28291
|
+
"declaration": {
|
|
28292
|
+
"name": "RapidRouter",
|
|
28293
|
+
"module": "src/router/router.ts"
|
|
28294
|
+
}
|
|
28295
|
+
},
|
|
28296
|
+
{
|
|
28297
|
+
"kind": "custom-element-definition",
|
|
28298
|
+
"name": "rapid-router",
|
|
28299
|
+
"declaration": {
|
|
28300
|
+
"name": "RapidRouter",
|
|
28301
|
+
"module": "src/router/router.ts"
|
|
28302
|
+
}
|
|
28303
|
+
}
|
|
28304
|
+
]
|
|
28305
|
+
},
|
|
28281
28306
|
{
|
|
28282
28307
|
"kind": "javascript-module",
|
|
28283
28308
|
"path": "src/scheduler-cron-builder/index.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -533,6 +533,7 @@ export declare const Multiselect: React.ForwardRefExoticComponent<
|
|
|
533
533
|
Omit<PublicOf<MultiselectWC>, 'children' | 'style'> &
|
|
534
534
|
HTMLWCProps & {
|
|
535
535
|
onSelectionChange?: (event: CustomEvent<MultiselectOption[]>) => void;
|
|
536
|
+
onOptionCreated?: (event: CustomEvent<unknown>) => void;
|
|
536
537
|
onClear?: (event: CustomEvent<ClearOptions>) => void;
|
|
537
538
|
}
|
|
538
539
|
> & React.RefAttributes<MultiselectWC>
|
|
@@ -613,23 +614,23 @@ export declare const RadioGroup: React.ForwardRefExoticComponent<
|
|
|
613
614
|
>;
|
|
614
615
|
export type RadioGroupRef = RadioGroupWC;
|
|
615
616
|
|
|
616
|
-
export declare const
|
|
617
|
+
export declare const Scheduler: React.ForwardRefExoticComponent<
|
|
617
618
|
React.PropsWithChildren<
|
|
618
|
-
Omit<PublicOf<
|
|
619
|
+
Omit<PublicOf<SchedulerWC>, 'children' | 'style'> &
|
|
619
620
|
HTMLWCProps & {
|
|
620
621
|
}
|
|
621
|
-
> & React.RefAttributes<
|
|
622
|
+
> & React.RefAttributes<SchedulerWC>
|
|
622
623
|
>;
|
|
623
|
-
export type
|
|
624
|
+
export type SchedulerRef = SchedulerWC;
|
|
624
625
|
|
|
625
|
-
export declare const
|
|
626
|
+
export declare const RapidRouter: React.ForwardRefExoticComponent<
|
|
626
627
|
React.PropsWithChildren<
|
|
627
|
-
Omit<PublicOf<
|
|
628
|
+
Omit<PublicOf<RapidRouterWC>, 'children' | 'style'> &
|
|
628
629
|
HTMLWCProps & {
|
|
629
630
|
}
|
|
630
|
-
> & React.RefAttributes<
|
|
631
|
+
> & React.RefAttributes<RapidRouterWC>
|
|
631
632
|
>;
|
|
632
|
-
export type
|
|
633
|
+
export type RapidRouterRef = RapidRouterWC;
|
|
633
634
|
|
|
634
635
|
export declare const SchedulerCronBuilder: React.ForwardRefExoticComponent<
|
|
635
636
|
React.PropsWithChildren<
|
package/dist/react.cjs
CHANGED
|
@@ -600,10 +600,12 @@ const Modal = React.forwardRef(function Modal(props, ref) {
|
|
|
600
600
|
});
|
|
601
601
|
|
|
602
602
|
const Multiselect = React.forwardRef(function Multiselect(props, ref) {
|
|
603
|
-
const { onSelectionChange, onClear, children, ...rest } = props;
|
|
603
|
+
const { onSelectionChange, onOptionCreated, onClear, children, ...rest } = props;
|
|
604
604
|
const _innerRef = React.useRef(null);
|
|
605
605
|
const _onSelectionChangeRef = React.useRef(onSelectionChange);
|
|
606
606
|
_onSelectionChangeRef.current = onSelectionChange;
|
|
607
|
+
const _onOptionCreatedRef = React.useRef(onOptionCreated);
|
|
608
|
+
_onOptionCreatedRef.current = onOptionCreated;
|
|
607
609
|
const _onClearRef = React.useRef(onClear);
|
|
608
610
|
_onClearRef.current = onClear;
|
|
609
611
|
React.useLayoutEffect(() => {
|
|
@@ -611,10 +613,13 @@ const Multiselect = React.forwardRef(function Multiselect(props, ref) {
|
|
|
611
613
|
if (!el) return;
|
|
612
614
|
const _onSelectionChangeFn = (e) => _onSelectionChangeRef.current?.(e);
|
|
613
615
|
el.addEventListener('selectionChange', _onSelectionChangeFn);
|
|
616
|
+
const _onOptionCreatedFn = (e) => _onOptionCreatedRef.current?.(e);
|
|
617
|
+
el.addEventListener('optionCreated', _onOptionCreatedFn);
|
|
614
618
|
const _onClearFn = (e) => _onClearRef.current?.(e);
|
|
615
619
|
el.addEventListener('clear', _onClearFn);
|
|
616
620
|
return () => {
|
|
617
621
|
el.removeEventListener('selectionChange', _onSelectionChangeFn);
|
|
622
|
+
el.removeEventListener('optionCreated', _onOptionCreatedFn);
|
|
618
623
|
el.removeEventListener('clear', _onClearFn);
|
|
619
624
|
};
|
|
620
625
|
}, []);
|
|
@@ -678,14 +683,14 @@ const RadioGroup = React.forwardRef(function RadioGroup(props, ref) {
|
|
|
678
683
|
return React.createElement(customElements.getName(RadioGroupWC) ?? '%%prefix%%-radio-group', { ...rest, ref }, children);
|
|
679
684
|
});
|
|
680
685
|
|
|
681
|
-
const
|
|
686
|
+
const Scheduler = React.forwardRef(function Scheduler(props, ref) {
|
|
682
687
|
const { children, ...rest } = props;
|
|
683
|
-
return React.createElement(customElements.getName(
|
|
688
|
+
return React.createElement(customElements.getName(SchedulerWC) ?? '%%prefix%%-scheduler', { ...rest, ref }, children);
|
|
684
689
|
});
|
|
685
690
|
|
|
686
|
-
const
|
|
691
|
+
const RapidRouter = React.forwardRef(function RapidRouter(props, ref) {
|
|
687
692
|
const { children, ...rest } = props;
|
|
688
|
-
return React.createElement(customElements.getName(
|
|
693
|
+
return React.createElement(customElements.getName(RapidRouterWC) ?? 'rapid-router', { ...rest, ref }, children);
|
|
689
694
|
});
|
|
690
695
|
|
|
691
696
|
const SchedulerCronBuilder = React.forwardRef(function SchedulerCronBuilder(props, ref) {
|
|
@@ -1049,8 +1054,8 @@ module.exports = {
|
|
|
1049
1054
|
ProgressRing,
|
|
1050
1055
|
Radio,
|
|
1051
1056
|
RadioGroup,
|
|
1052
|
-
RapidRouter,
|
|
1053
1057
|
Scheduler,
|
|
1058
|
+
RapidRouter,
|
|
1054
1059
|
SchedulerCronBuilder,
|
|
1055
1060
|
SchedulerTimezone,
|
|
1056
1061
|
SearchBarCombobox,
|
package/dist/react.mjs
CHANGED
|
@@ -598,10 +598,12 @@ export const Modal = React.forwardRef(function Modal(props, ref) {
|
|
|
598
598
|
});
|
|
599
599
|
|
|
600
600
|
export const Multiselect = React.forwardRef(function Multiselect(props, ref) {
|
|
601
|
-
const { onSelectionChange, onClear, children, ...rest } = props;
|
|
601
|
+
const { onSelectionChange, onOptionCreated, onClear, children, ...rest } = props;
|
|
602
602
|
const _innerRef = React.useRef(null);
|
|
603
603
|
const _onSelectionChangeRef = React.useRef(onSelectionChange);
|
|
604
604
|
_onSelectionChangeRef.current = onSelectionChange;
|
|
605
|
+
const _onOptionCreatedRef = React.useRef(onOptionCreated);
|
|
606
|
+
_onOptionCreatedRef.current = onOptionCreated;
|
|
605
607
|
const _onClearRef = React.useRef(onClear);
|
|
606
608
|
_onClearRef.current = onClear;
|
|
607
609
|
React.useLayoutEffect(() => {
|
|
@@ -609,10 +611,13 @@ export const Multiselect = React.forwardRef(function Multiselect(props, ref) {
|
|
|
609
611
|
if (!el) return;
|
|
610
612
|
const _onSelectionChangeFn = (e) => _onSelectionChangeRef.current?.(e);
|
|
611
613
|
el.addEventListener('selectionChange', _onSelectionChangeFn);
|
|
614
|
+
const _onOptionCreatedFn = (e) => _onOptionCreatedRef.current?.(e);
|
|
615
|
+
el.addEventListener('optionCreated', _onOptionCreatedFn);
|
|
612
616
|
const _onClearFn = (e) => _onClearRef.current?.(e);
|
|
613
617
|
el.addEventListener('clear', _onClearFn);
|
|
614
618
|
return () => {
|
|
615
619
|
el.removeEventListener('selectionChange', _onSelectionChangeFn);
|
|
620
|
+
el.removeEventListener('optionCreated', _onOptionCreatedFn);
|
|
616
621
|
el.removeEventListener('clear', _onClearFn);
|
|
617
622
|
};
|
|
618
623
|
}, []);
|
|
@@ -676,14 +681,14 @@ export const RadioGroup = React.forwardRef(function RadioGroup(props, ref) {
|
|
|
676
681
|
return React.createElement(customElements.getName(RadioGroupWC) ?? '%%prefix%%-radio-group', { ...rest, ref }, children);
|
|
677
682
|
});
|
|
678
683
|
|
|
679
|
-
export const
|
|
684
|
+
export const Scheduler = React.forwardRef(function Scheduler(props, ref) {
|
|
680
685
|
const { children, ...rest } = props;
|
|
681
|
-
return React.createElement(customElements.getName(
|
|
686
|
+
return React.createElement(customElements.getName(SchedulerWC) ?? '%%prefix%%-scheduler', { ...rest, ref }, children);
|
|
682
687
|
});
|
|
683
688
|
|
|
684
|
-
export const
|
|
689
|
+
export const RapidRouter = React.forwardRef(function RapidRouter(props, ref) {
|
|
685
690
|
const { children, ...rest } = props;
|
|
686
|
-
return React.createElement(customElements.getName(
|
|
691
|
+
return React.createElement(customElements.getName(RapidRouterWC) ?? 'rapid-router', { ...rest, ref }, children);
|
|
687
692
|
});
|
|
688
693
|
|
|
689
694
|
export const SchedulerCronBuilder = React.forwardRef(function SchedulerCronBuilder(props, ref) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/rapid-design-system",
|
|
3
3
|
"description": "Rapid Design System",
|
|
4
|
-
"version": "15.96.2",
|
|
4
|
+
"version": "15.96.3-GENC-1640.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
40
|
-
"@genesislcap/foundation-testing": "15.96.2",
|
|
41
|
-
"@genesislcap/genx": "15.96.2",
|
|
42
|
-
"@genesislcap/ts-builder": "15.96.2",
|
|
43
|
-
"@genesislcap/uvu-playwright-builder": "15.96.2",
|
|
44
|
-
"@genesislcap/vite-builder": "15.96.2",
|
|
45
|
-
"@genesislcap/webpack-builder": "15.96.2",
|
|
40
|
+
"@genesislcap/foundation-testing": "15.96.3-GENC-1640.2",
|
|
41
|
+
"@genesislcap/genx": "15.96.3-GENC-1640.2",
|
|
42
|
+
"@genesislcap/ts-builder": "15.96.3-GENC-1640.2",
|
|
43
|
+
"@genesislcap/uvu-playwright-builder": "15.96.3-GENC-1640.2",
|
|
44
|
+
"@genesislcap/vite-builder": "15.96.3-GENC-1640.2",
|
|
45
|
+
"@genesislcap/webpack-builder": "15.96.3-GENC-1640.2",
|
|
46
46
|
"flexlayout-react": "0.10.8"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@genesislcap/foundation-logger": "15.96.2",
|
|
58
|
-
"@genesislcap/foundation-ui": "15.96.2",
|
|
59
|
-
"@genesislcap/foundation-utils": "15.96.2",
|
|
57
|
+
"@genesislcap/foundation-logger": "15.96.3-GENC-1640.2",
|
|
58
|
+
"@genesislcap/foundation-ui": "15.96.3-GENC-1640.2",
|
|
59
|
+
"@genesislcap/foundation-utils": "15.96.3-GENC-1640.2",
|
|
60
60
|
"@microsoft/fast-colors": "5.3.1",
|
|
61
61
|
"@microsoft/fast-components": "2.30.6",
|
|
62
62
|
"@microsoft/fast-element": "1.14.0",
|