@genesislcap/rapid-design-system 15.111.4 → 15.111.5
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 +1091 -1091
- package/dist/dts/react.d.ts +20 -20
- package/dist/react.cjs +29 -29
- package/dist/react.mjs +27 -27
- package/package.json +10 -10
package/dist/dts/react.d.ts
CHANGED
|
@@ -411,17 +411,6 @@ export declare const RapidValueExpressionBuilder: React.ForwardRefExoticComponen
|
|
|
411
411
|
>;
|
|
412
412
|
export type RapidValueExpressionBuilderRef = RapidValueExpressionBuilderWC;
|
|
413
413
|
|
|
414
|
-
export declare const Filter: React.ForwardRefExoticComponent<
|
|
415
|
-
React.PropsWithChildren<
|
|
416
|
-
Omit<PublicOf<FilterWC>, 'children' | 'style'> &
|
|
417
|
-
HTMLWCProps & {
|
|
418
|
-
onFilterChanged?: (event: CustomEvent<FilterChangedEventDetail>) => void;
|
|
419
|
-
onFilterCleared?: (event: CustomEvent<FilterClearedEventDetail>) => void;
|
|
420
|
-
}
|
|
421
|
-
> & React.RefAttributes<FilterWC>
|
|
422
|
-
>;
|
|
423
|
-
export type FilterRef = FilterWC;
|
|
424
|
-
|
|
425
414
|
export declare const FileUpload: React.ForwardRefExoticComponent<
|
|
426
415
|
React.PropsWithChildren<
|
|
427
416
|
Omit<PublicOf<FileUploadWC>, 'children' | 'style'> &
|
|
@@ -435,24 +424,25 @@ export declare const FileUpload: React.ForwardRefExoticComponent<
|
|
|
435
424
|
>;
|
|
436
425
|
export type FileUploadRef = FileUploadWC;
|
|
437
426
|
|
|
438
|
-
export declare const
|
|
427
|
+
export declare const Filter: React.ForwardRefExoticComponent<
|
|
439
428
|
React.PropsWithChildren<
|
|
440
|
-
Omit<PublicOf<
|
|
429
|
+
Omit<PublicOf<FilterWC>, 'children' | 'style'> &
|
|
441
430
|
HTMLWCProps & {
|
|
431
|
+
onFilterChanged?: (event: CustomEvent<FilterChangedEventDetail>) => void;
|
|
432
|
+
onFilterCleared?: (event: CustomEvent<FilterClearedEventDetail>) => void;
|
|
442
433
|
}
|
|
443
|
-
> & React.RefAttributes<
|
|
434
|
+
> & React.RefAttributes<FilterWC>
|
|
444
435
|
>;
|
|
445
|
-
export type
|
|
436
|
+
export type FilterRef = FilterWC;
|
|
446
437
|
|
|
447
|
-
export declare const
|
|
438
|
+
export declare const FilterBar: React.ForwardRefExoticComponent<
|
|
448
439
|
React.PropsWithChildren<
|
|
449
|
-
Omit<PublicOf<
|
|
440
|
+
Omit<PublicOf<FilterBarWC>, 'children' | 'style'> &
|
|
450
441
|
HTMLWCProps & {
|
|
451
|
-
onClosed?: (event: CustomEvent<unknown>) => void;
|
|
452
442
|
}
|
|
453
|
-
> & React.RefAttributes<
|
|
443
|
+
> & React.RefAttributes<FilterBarWC>
|
|
454
444
|
>;
|
|
455
|
-
export type
|
|
445
|
+
export type FilterBarRef = FilterBarWC;
|
|
456
446
|
|
|
457
447
|
export declare const Flipper: React.ForwardRefExoticComponent<
|
|
458
448
|
React.PropsWithChildren<
|
|
@@ -463,6 +453,16 @@ export declare const Flipper: React.ForwardRefExoticComponent<
|
|
|
463
453
|
>;
|
|
464
454
|
export type FlipperRef = FlipperWC;
|
|
465
455
|
|
|
456
|
+
export declare const Flyout: React.ForwardRefExoticComponent<
|
|
457
|
+
React.PropsWithChildren<
|
|
458
|
+
Omit<PublicOf<FlyoutWC>, 'children' | 'style'> &
|
|
459
|
+
HTMLWCProps & {
|
|
460
|
+
onClosed?: (event: CustomEvent<unknown>) => void;
|
|
461
|
+
}
|
|
462
|
+
> & React.RefAttributes<FlyoutWC>
|
|
463
|
+
>;
|
|
464
|
+
export type FlyoutRef = FlyoutWC;
|
|
465
|
+
|
|
466
466
|
export declare const HorizontalScroll: React.ForwardRefExoticComponent<
|
|
467
467
|
React.PropsWithChildren<
|
|
468
468
|
Omit<PublicOf<HorizontalScrollWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -466,28 +466,6 @@ const RapidValueExpressionBuilder = React.forwardRef(function RapidValueExpressi
|
|
|
466
466
|
return React.createElement(customElements.getName(RapidValueExpressionBuilderWC) ?? 'rapid-value-expression-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
467
467
|
});
|
|
468
468
|
|
|
469
|
-
const Filter = React.forwardRef(function Filter(props, ref) {
|
|
470
|
-
const { onFilterChanged, onFilterCleared, children, ...rest } = props;
|
|
471
|
-
const _innerRef = React.useRef(null);
|
|
472
|
-
const _onFilterChangedRef = React.useRef(onFilterChanged);
|
|
473
|
-
_onFilterChangedRef.current = onFilterChanged;
|
|
474
|
-
const _onFilterClearedRef = React.useRef(onFilterCleared);
|
|
475
|
-
_onFilterClearedRef.current = onFilterCleared;
|
|
476
|
-
React.useLayoutEffect(() => {
|
|
477
|
-
const el = _innerRef.current;
|
|
478
|
-
if (!el) return;
|
|
479
|
-
const _onFilterChangedFn = (e) => _onFilterChangedRef.current?.(e);
|
|
480
|
-
el.addEventListener('filter-changed', _onFilterChangedFn);
|
|
481
|
-
const _onFilterClearedFn = (e) => _onFilterClearedRef.current?.(e);
|
|
482
|
-
el.addEventListener('filter-cleared', _onFilterClearedFn);
|
|
483
|
-
return () => {
|
|
484
|
-
el.removeEventListener('filter-changed', _onFilterChangedFn);
|
|
485
|
-
el.removeEventListener('filter-cleared', _onFilterClearedFn);
|
|
486
|
-
};
|
|
487
|
-
}, []);
|
|
488
|
-
return React.createElement(customElements.getName(FilterWC) ?? '%%prefix%%-filter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
489
|
-
});
|
|
490
|
-
|
|
491
469
|
const FileUpload = React.forwardRef(function FileUpload(props, ref) {
|
|
492
470
|
const { onFileSelected, onSuccess, onErrorOut, onClear, children, ...rest } = props;
|
|
493
471
|
const _innerRef = React.useRef(null);
|
|
@@ -520,11 +498,38 @@ const FileUpload = React.forwardRef(function FileUpload(props, ref) {
|
|
|
520
498
|
return React.createElement(customElements.getName(FileUploadWC) ?? '%%prefix%%-file-upload', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
521
499
|
});
|
|
522
500
|
|
|
501
|
+
const Filter = React.forwardRef(function Filter(props, ref) {
|
|
502
|
+
const { onFilterChanged, onFilterCleared, children, ...rest } = props;
|
|
503
|
+
const _innerRef = React.useRef(null);
|
|
504
|
+
const _onFilterChangedRef = React.useRef(onFilterChanged);
|
|
505
|
+
_onFilterChangedRef.current = onFilterChanged;
|
|
506
|
+
const _onFilterClearedRef = React.useRef(onFilterCleared);
|
|
507
|
+
_onFilterClearedRef.current = onFilterCleared;
|
|
508
|
+
React.useLayoutEffect(() => {
|
|
509
|
+
const el = _innerRef.current;
|
|
510
|
+
if (!el) return;
|
|
511
|
+
const _onFilterChangedFn = (e) => _onFilterChangedRef.current?.(e);
|
|
512
|
+
el.addEventListener('filter-changed', _onFilterChangedFn);
|
|
513
|
+
const _onFilterClearedFn = (e) => _onFilterClearedRef.current?.(e);
|
|
514
|
+
el.addEventListener('filter-cleared', _onFilterClearedFn);
|
|
515
|
+
return () => {
|
|
516
|
+
el.removeEventListener('filter-changed', _onFilterChangedFn);
|
|
517
|
+
el.removeEventListener('filter-cleared', _onFilterClearedFn);
|
|
518
|
+
};
|
|
519
|
+
}, []);
|
|
520
|
+
return React.createElement(customElements.getName(FilterWC) ?? '%%prefix%%-filter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
521
|
+
});
|
|
522
|
+
|
|
523
523
|
const FilterBar = React.forwardRef(function FilterBar(props, ref) {
|
|
524
524
|
const { children, ...rest } = props;
|
|
525
525
|
return React.createElement(customElements.getName(FilterBarWC) ?? '%%prefix%%-filter-bar', { ...rest, ref }, children);
|
|
526
526
|
});
|
|
527
527
|
|
|
528
|
+
const Flipper = React.forwardRef(function Flipper(props, ref) {
|
|
529
|
+
const { children, ...rest } = props;
|
|
530
|
+
return React.createElement(customElements.getName(FlipperWC) ?? '%%prefix%%-flipper', { ...rest, ref }, children);
|
|
531
|
+
});
|
|
532
|
+
|
|
528
533
|
const Flyout = React.forwardRef(function Flyout(props, ref) {
|
|
529
534
|
const { onClosed, children, ...rest } = props;
|
|
530
535
|
const _innerRef = React.useRef(null);
|
|
@@ -542,11 +547,6 @@ const Flyout = React.forwardRef(function Flyout(props, ref) {
|
|
|
542
547
|
return React.createElement(customElements.getName(FlyoutWC) ?? '%%prefix%%-flyout', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
543
548
|
});
|
|
544
549
|
|
|
545
|
-
const Flipper = React.forwardRef(function Flipper(props, ref) {
|
|
546
|
-
const { children, ...rest } = props;
|
|
547
|
-
return React.createElement(customElements.getName(FlipperWC) ?? '%%prefix%%-flipper', { ...rest, ref }, children);
|
|
548
|
-
});
|
|
549
|
-
|
|
550
550
|
const HorizontalScroll = React.forwardRef(function HorizontalScroll(props, ref) {
|
|
551
551
|
const { onScrollstart, onScrollend, children, ...rest } = props;
|
|
552
552
|
const _innerRef = React.useRef(null);
|
|
@@ -1060,11 +1060,11 @@ module.exports = {
|
|
|
1060
1060
|
RapidExpressionBuilder,
|
|
1061
1061
|
RapidRuleExpressionBuilder,
|
|
1062
1062
|
RapidValueExpressionBuilder,
|
|
1063
|
-
Filter,
|
|
1064
1063
|
FileUpload,
|
|
1064
|
+
Filter,
|
|
1065
1065
|
FilterBar,
|
|
1066
|
-
Flyout,
|
|
1067
1066
|
Flipper,
|
|
1067
|
+
Flyout,
|
|
1068
1068
|
HorizontalScroll,
|
|
1069
1069
|
Icon,
|
|
1070
1070
|
Listbox,
|
package/dist/react.mjs
CHANGED
|
@@ -464,28 +464,6 @@ export const RapidValueExpressionBuilder = React.forwardRef(function RapidValueE
|
|
|
464
464
|
return React.createElement(customElements.getName(RapidValueExpressionBuilderWC) ?? 'rapid-value-expression-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
465
465
|
});
|
|
466
466
|
|
|
467
|
-
export const Filter = React.forwardRef(function Filter(props, ref) {
|
|
468
|
-
const { onFilterChanged, onFilterCleared, children, ...rest } = props;
|
|
469
|
-
const _innerRef = React.useRef(null);
|
|
470
|
-
const _onFilterChangedRef = React.useRef(onFilterChanged);
|
|
471
|
-
_onFilterChangedRef.current = onFilterChanged;
|
|
472
|
-
const _onFilterClearedRef = React.useRef(onFilterCleared);
|
|
473
|
-
_onFilterClearedRef.current = onFilterCleared;
|
|
474
|
-
React.useLayoutEffect(() => {
|
|
475
|
-
const el = _innerRef.current;
|
|
476
|
-
if (!el) return;
|
|
477
|
-
const _onFilterChangedFn = (e) => _onFilterChangedRef.current?.(e);
|
|
478
|
-
el.addEventListener('filter-changed', _onFilterChangedFn);
|
|
479
|
-
const _onFilterClearedFn = (e) => _onFilterClearedRef.current?.(e);
|
|
480
|
-
el.addEventListener('filter-cleared', _onFilterClearedFn);
|
|
481
|
-
return () => {
|
|
482
|
-
el.removeEventListener('filter-changed', _onFilterChangedFn);
|
|
483
|
-
el.removeEventListener('filter-cleared', _onFilterClearedFn);
|
|
484
|
-
};
|
|
485
|
-
}, []);
|
|
486
|
-
return React.createElement(customElements.getName(FilterWC) ?? '%%prefix%%-filter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
487
|
-
});
|
|
488
|
-
|
|
489
467
|
export const FileUpload = React.forwardRef(function FileUpload(props, ref) {
|
|
490
468
|
const { onFileSelected, onSuccess, onErrorOut, onClear, children, ...rest } = props;
|
|
491
469
|
const _innerRef = React.useRef(null);
|
|
@@ -518,11 +496,38 @@ export const FileUpload = React.forwardRef(function FileUpload(props, ref) {
|
|
|
518
496
|
return React.createElement(customElements.getName(FileUploadWC) ?? '%%prefix%%-file-upload', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
519
497
|
});
|
|
520
498
|
|
|
499
|
+
export const Filter = React.forwardRef(function Filter(props, ref) {
|
|
500
|
+
const { onFilterChanged, onFilterCleared, children, ...rest } = props;
|
|
501
|
+
const _innerRef = React.useRef(null);
|
|
502
|
+
const _onFilterChangedRef = React.useRef(onFilterChanged);
|
|
503
|
+
_onFilterChangedRef.current = onFilterChanged;
|
|
504
|
+
const _onFilterClearedRef = React.useRef(onFilterCleared);
|
|
505
|
+
_onFilterClearedRef.current = onFilterCleared;
|
|
506
|
+
React.useLayoutEffect(() => {
|
|
507
|
+
const el = _innerRef.current;
|
|
508
|
+
if (!el) return;
|
|
509
|
+
const _onFilterChangedFn = (e) => _onFilterChangedRef.current?.(e);
|
|
510
|
+
el.addEventListener('filter-changed', _onFilterChangedFn);
|
|
511
|
+
const _onFilterClearedFn = (e) => _onFilterClearedRef.current?.(e);
|
|
512
|
+
el.addEventListener('filter-cleared', _onFilterClearedFn);
|
|
513
|
+
return () => {
|
|
514
|
+
el.removeEventListener('filter-changed', _onFilterChangedFn);
|
|
515
|
+
el.removeEventListener('filter-cleared', _onFilterClearedFn);
|
|
516
|
+
};
|
|
517
|
+
}, []);
|
|
518
|
+
return React.createElement(customElements.getName(FilterWC) ?? '%%prefix%%-filter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
519
|
+
});
|
|
520
|
+
|
|
521
521
|
export const FilterBar = React.forwardRef(function FilterBar(props, ref) {
|
|
522
522
|
const { children, ...rest } = props;
|
|
523
523
|
return React.createElement(customElements.getName(FilterBarWC) ?? '%%prefix%%-filter-bar', { ...rest, ref }, children);
|
|
524
524
|
});
|
|
525
525
|
|
|
526
|
+
export const Flipper = React.forwardRef(function Flipper(props, ref) {
|
|
527
|
+
const { children, ...rest } = props;
|
|
528
|
+
return React.createElement(customElements.getName(FlipperWC) ?? '%%prefix%%-flipper', { ...rest, ref }, children);
|
|
529
|
+
});
|
|
530
|
+
|
|
526
531
|
export const Flyout = React.forwardRef(function Flyout(props, ref) {
|
|
527
532
|
const { onClosed, children, ...rest } = props;
|
|
528
533
|
const _innerRef = React.useRef(null);
|
|
@@ -540,11 +545,6 @@ export const Flyout = React.forwardRef(function Flyout(props, ref) {
|
|
|
540
545
|
return React.createElement(customElements.getName(FlyoutWC) ?? '%%prefix%%-flyout', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
541
546
|
});
|
|
542
547
|
|
|
543
|
-
export const Flipper = React.forwardRef(function Flipper(props, ref) {
|
|
544
|
-
const { children, ...rest } = props;
|
|
545
|
-
return React.createElement(customElements.getName(FlipperWC) ?? '%%prefix%%-flipper', { ...rest, ref }, children);
|
|
546
|
-
});
|
|
547
|
-
|
|
548
548
|
export const HorizontalScroll = React.forwardRef(function HorizontalScroll(props, ref) {
|
|
549
549
|
const { onScrollstart, onScrollend, children, ...rest } = props;
|
|
550
550
|
const _innerRef = React.useRef(null);
|
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.111.
|
|
4
|
+
"version": "15.111.5",
|
|
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.111.
|
|
41
|
-
"@genesislcap/genx": "15.111.
|
|
42
|
-
"@genesislcap/ts-builder": "15.111.
|
|
43
|
-
"@genesislcap/uvu-playwright-builder": "15.111.
|
|
44
|
-
"@genesislcap/vite-builder": "15.111.
|
|
45
|
-
"@genesislcap/webpack-builder": "15.111.
|
|
40
|
+
"@genesislcap/foundation-testing": "15.111.5",
|
|
41
|
+
"@genesislcap/genx": "15.111.5",
|
|
42
|
+
"@genesislcap/ts-builder": "15.111.5",
|
|
43
|
+
"@genesislcap/uvu-playwright-builder": "15.111.5",
|
|
44
|
+
"@genesislcap/vite-builder": "15.111.5",
|
|
45
|
+
"@genesislcap/webpack-builder": "15.111.5",
|
|
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.111.
|
|
58
|
-
"@genesislcap/foundation-ui": "15.111.
|
|
59
|
-
"@genesislcap/foundation-utils": "15.111.
|
|
57
|
+
"@genesislcap/foundation-logger": "15.111.5",
|
|
58
|
+
"@genesislcap/foundation-ui": "15.111.5",
|
|
59
|
+
"@genesislcap/foundation-utils": "15.111.5",
|
|
60
60
|
"@microsoft/fast-colors": "5.3.1",
|
|
61
61
|
"@microsoft/fast-components": "2.30.6",
|
|
62
62
|
"@microsoft/fast-element": "1.14.0",
|