@genesislcap/foundation-zero 15.59.0 → 15.61.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/dist/custom-elements.json +1503 -1503
- package/dist/dts/react.d.ts +19 -19
- package/dist/react.cjs +28 -28
- package/dist/react.mjs +26 -26
- package/package.json +10 -10
package/dist/dts/react.d.ts
CHANGED
|
@@ -387,23 +387,23 @@ export declare const DropdownMenu: React.ForwardRefExoticComponent<
|
|
|
387
387
|
>;
|
|
388
388
|
export type DropdownMenuRef = DropdownMenuWC;
|
|
389
389
|
|
|
390
|
-
export declare const
|
|
390
|
+
export declare const EnvironmentIndicator: React.ForwardRefExoticComponent<
|
|
391
391
|
React.PropsWithChildren<
|
|
392
|
-
Omit<PublicOf<
|
|
392
|
+
Omit<PublicOf<EnvironmentIndicatorWC>, 'children' | 'style'> &
|
|
393
393
|
HTMLWCProps & {
|
|
394
394
|
}
|
|
395
|
-
> & React.RefAttributes<
|
|
395
|
+
> & React.RefAttributes<EnvironmentIndicatorWC>
|
|
396
396
|
>;
|
|
397
|
-
export type
|
|
397
|
+
export type EnvironmentIndicatorRef = EnvironmentIndicatorWC;
|
|
398
398
|
|
|
399
|
-
export declare const
|
|
399
|
+
export declare const ErrorBanner: React.ForwardRefExoticComponent<
|
|
400
400
|
React.PropsWithChildren<
|
|
401
|
-
Omit<PublicOf<
|
|
401
|
+
Omit<PublicOf<ErrorBannerWC>, 'children' | 'style'> &
|
|
402
402
|
HTMLWCProps & {
|
|
403
403
|
}
|
|
404
|
-
> & React.RefAttributes<
|
|
404
|
+
> & React.RefAttributes<ErrorBannerWC>
|
|
405
405
|
>;
|
|
406
|
-
export type
|
|
406
|
+
export type ErrorBannerRef = ErrorBannerWC;
|
|
407
407
|
|
|
408
408
|
export declare const ErrorBoundary: React.ForwardRefExoticComponent<
|
|
409
409
|
React.PropsWithChildren<
|
|
@@ -468,17 +468,6 @@ export declare const ZeroValueExpressionBuilder: React.ForwardRefExoticComponent
|
|
|
468
468
|
>;
|
|
469
469
|
export type ZeroValueExpressionBuilderRef = ZeroValueExpressionBuilderWC;
|
|
470
470
|
|
|
471
|
-
export declare const Filter: React.ForwardRefExoticComponent<
|
|
472
|
-
React.PropsWithChildren<
|
|
473
|
-
Omit<PublicOf<FilterWC>, 'children' | 'style'> &
|
|
474
|
-
HTMLWCProps & {
|
|
475
|
-
onFilterChanged?: (event: CustomEvent<FilterChangedEventDetail>) => void;
|
|
476
|
-
onFilterCleared?: (event: CustomEvent<FilterClearedEventDetail>) => void;
|
|
477
|
-
}
|
|
478
|
-
> & React.RefAttributes<FilterWC>
|
|
479
|
-
>;
|
|
480
|
-
export type FilterRef = FilterWC;
|
|
481
|
-
|
|
482
471
|
export declare const FileUpload: React.ForwardRefExoticComponent<
|
|
483
472
|
React.PropsWithChildren<
|
|
484
473
|
Omit<PublicOf<FileUploadWC>, 'children' | 'style'> &
|
|
@@ -492,6 +481,17 @@ export declare const FileUpload: React.ForwardRefExoticComponent<
|
|
|
492
481
|
>;
|
|
493
482
|
export type FileUploadRef = FileUploadWC;
|
|
494
483
|
|
|
484
|
+
export declare const Filter: React.ForwardRefExoticComponent<
|
|
485
|
+
React.PropsWithChildren<
|
|
486
|
+
Omit<PublicOf<FilterWC>, 'children' | 'style'> &
|
|
487
|
+
HTMLWCProps & {
|
|
488
|
+
onFilterChanged?: (event: CustomEvent<FilterChangedEventDetail>) => void;
|
|
489
|
+
onFilterCleared?: (event: CustomEvent<FilterClearedEventDetail>) => void;
|
|
490
|
+
}
|
|
491
|
+
> & React.RefAttributes<FilterWC>
|
|
492
|
+
>;
|
|
493
|
+
export type FilterRef = FilterWC;
|
|
494
|
+
|
|
495
495
|
export declare const FilterBar: React.ForwardRefExoticComponent<
|
|
496
496
|
React.PropsWithChildren<
|
|
497
497
|
Omit<PublicOf<FilterBarWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -362,14 +362,14 @@ const DropdownMenu = React.forwardRef(function DropdownMenu(props, ref) {
|
|
|
362
362
|
return React.createElement(customElements.getName(DropdownMenuWC) ?? '%%prefix%%-dropdown-menu', { ...rest, ref }, children);
|
|
363
363
|
});
|
|
364
364
|
|
|
365
|
-
const
|
|
365
|
+
const EnvironmentIndicator = React.forwardRef(function EnvironmentIndicator(props, ref) {
|
|
366
366
|
const { children, ...rest } = props;
|
|
367
|
-
return React.createElement(customElements.getName(
|
|
367
|
+
return React.createElement(customElements.getName(EnvironmentIndicatorWC) ?? '%%prefix%%-environment-indicator', { ...rest, ref }, children);
|
|
368
368
|
});
|
|
369
369
|
|
|
370
|
-
const
|
|
370
|
+
const ErrorBanner = React.forwardRef(function ErrorBanner(props, ref) {
|
|
371
371
|
const { children, ...rest } = props;
|
|
372
|
-
return React.createElement(customElements.getName(
|
|
372
|
+
return React.createElement(customElements.getName(ErrorBannerWC) ?? '%%prefix%%-error-banner', { ...rest, ref }, children);
|
|
373
373
|
});
|
|
374
374
|
|
|
375
375
|
const ErrorBoundary = React.forwardRef(function ErrorBoundary(props, ref) {
|
|
@@ -508,28 +508,6 @@ const ZeroValueExpressionBuilder = React.forwardRef(function ZeroValueExpression
|
|
|
508
508
|
return React.createElement(customElements.getName(ZeroValueExpressionBuilderWC) ?? 'zero-value-expression-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
509
509
|
});
|
|
510
510
|
|
|
511
|
-
const Filter = React.forwardRef(function Filter(props, ref) {
|
|
512
|
-
const { onFilterChanged, onFilterCleared, children, ...rest } = props;
|
|
513
|
-
const _innerRef = React.useRef(null);
|
|
514
|
-
const _onFilterChangedRef = React.useRef(onFilterChanged);
|
|
515
|
-
_onFilterChangedRef.current = onFilterChanged;
|
|
516
|
-
const _onFilterClearedRef = React.useRef(onFilterCleared);
|
|
517
|
-
_onFilterClearedRef.current = onFilterCleared;
|
|
518
|
-
React.useLayoutEffect(() => {
|
|
519
|
-
const el = _innerRef.current;
|
|
520
|
-
if (!el) return;
|
|
521
|
-
const _onFilterChangedFn = (e) => _onFilterChangedRef.current?.(e);
|
|
522
|
-
el.addEventListener('filter-changed', _onFilterChangedFn);
|
|
523
|
-
const _onFilterClearedFn = (e) => _onFilterClearedRef.current?.(e);
|
|
524
|
-
el.addEventListener('filter-cleared', _onFilterClearedFn);
|
|
525
|
-
return () => {
|
|
526
|
-
el.removeEventListener('filter-changed', _onFilterChangedFn);
|
|
527
|
-
el.removeEventListener('filter-cleared', _onFilterClearedFn);
|
|
528
|
-
};
|
|
529
|
-
}, []);
|
|
530
|
-
return React.createElement(customElements.getName(FilterWC) ?? '%%prefix%%-filter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
531
|
-
});
|
|
532
|
-
|
|
533
511
|
const FileUpload = React.forwardRef(function FileUpload(props, ref) {
|
|
534
512
|
const { onFileSelected, onSuccess, onErrorOut, onClear, children, ...rest } = props;
|
|
535
513
|
const _innerRef = React.useRef(null);
|
|
@@ -562,6 +540,28 @@ const FileUpload = React.forwardRef(function FileUpload(props, ref) {
|
|
|
562
540
|
return React.createElement(customElements.getName(FileUploadWC) ?? '%%prefix%%-file-upload', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
563
541
|
});
|
|
564
542
|
|
|
543
|
+
const Filter = React.forwardRef(function Filter(props, ref) {
|
|
544
|
+
const { onFilterChanged, onFilterCleared, children, ...rest } = props;
|
|
545
|
+
const _innerRef = React.useRef(null);
|
|
546
|
+
const _onFilterChangedRef = React.useRef(onFilterChanged);
|
|
547
|
+
_onFilterChangedRef.current = onFilterChanged;
|
|
548
|
+
const _onFilterClearedRef = React.useRef(onFilterCleared);
|
|
549
|
+
_onFilterClearedRef.current = onFilterCleared;
|
|
550
|
+
React.useLayoutEffect(() => {
|
|
551
|
+
const el = _innerRef.current;
|
|
552
|
+
if (!el) return;
|
|
553
|
+
const _onFilterChangedFn = (e) => _onFilterChangedRef.current?.(e);
|
|
554
|
+
el.addEventListener('filter-changed', _onFilterChangedFn);
|
|
555
|
+
const _onFilterClearedFn = (e) => _onFilterClearedRef.current?.(e);
|
|
556
|
+
el.addEventListener('filter-cleared', _onFilterClearedFn);
|
|
557
|
+
return () => {
|
|
558
|
+
el.removeEventListener('filter-changed', _onFilterChangedFn);
|
|
559
|
+
el.removeEventListener('filter-cleared', _onFilterClearedFn);
|
|
560
|
+
};
|
|
561
|
+
}, []);
|
|
562
|
+
return React.createElement(customElements.getName(FilterWC) ?? '%%prefix%%-filter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
563
|
+
});
|
|
564
|
+
|
|
565
565
|
const FilterBar = React.forwardRef(function FilterBar(props, ref) {
|
|
566
566
|
const { children, ...rest } = props;
|
|
567
567
|
return React.createElement(customElements.getName(FilterBarWC) ?? '%%prefix%%-filter-bar', { ...rest, ref }, children);
|
|
@@ -1091,15 +1091,15 @@ module.exports = {
|
|
|
1091
1091
|
Disclosure,
|
|
1092
1092
|
Divider,
|
|
1093
1093
|
DropdownMenu,
|
|
1094
|
-
ErrorBanner,
|
|
1095
1094
|
EnvironmentIndicator,
|
|
1095
|
+
ErrorBanner,
|
|
1096
1096
|
ErrorBoundary,
|
|
1097
1097
|
ErrorDialog,
|
|
1098
1098
|
ZeroExpressionBuilder,
|
|
1099
1099
|
ZeroRuleExpressionBuilder,
|
|
1100
1100
|
ZeroValueExpressionBuilder,
|
|
1101
|
-
Filter,
|
|
1102
1101
|
FileUpload,
|
|
1102
|
+
Filter,
|
|
1103
1103
|
FilterBar,
|
|
1104
1104
|
FlexLayout,
|
|
1105
1105
|
Flipper,
|
package/dist/react.mjs
CHANGED
|
@@ -360,14 +360,14 @@ export const DropdownMenu = React.forwardRef(function DropdownMenu(props, ref) {
|
|
|
360
360
|
return React.createElement(customElements.getName(DropdownMenuWC) ?? '%%prefix%%-dropdown-menu', { ...rest, ref }, children);
|
|
361
361
|
});
|
|
362
362
|
|
|
363
|
-
export const
|
|
363
|
+
export const EnvironmentIndicator = React.forwardRef(function EnvironmentIndicator(props, ref) {
|
|
364
364
|
const { children, ...rest } = props;
|
|
365
|
-
return React.createElement(customElements.getName(
|
|
365
|
+
return React.createElement(customElements.getName(EnvironmentIndicatorWC) ?? '%%prefix%%-environment-indicator', { ...rest, ref }, children);
|
|
366
366
|
});
|
|
367
367
|
|
|
368
|
-
export const
|
|
368
|
+
export const ErrorBanner = React.forwardRef(function ErrorBanner(props, ref) {
|
|
369
369
|
const { children, ...rest } = props;
|
|
370
|
-
return React.createElement(customElements.getName(
|
|
370
|
+
return React.createElement(customElements.getName(ErrorBannerWC) ?? '%%prefix%%-error-banner', { ...rest, ref }, children);
|
|
371
371
|
});
|
|
372
372
|
|
|
373
373
|
export const ErrorBoundary = React.forwardRef(function ErrorBoundary(props, ref) {
|
|
@@ -506,28 +506,6 @@ export const ZeroValueExpressionBuilder = React.forwardRef(function ZeroValueExp
|
|
|
506
506
|
return React.createElement(customElements.getName(ZeroValueExpressionBuilderWC) ?? 'zero-value-expression-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
507
507
|
});
|
|
508
508
|
|
|
509
|
-
export const Filter = React.forwardRef(function Filter(props, ref) {
|
|
510
|
-
const { onFilterChanged, onFilterCleared, children, ...rest } = props;
|
|
511
|
-
const _innerRef = React.useRef(null);
|
|
512
|
-
const _onFilterChangedRef = React.useRef(onFilterChanged);
|
|
513
|
-
_onFilterChangedRef.current = onFilterChanged;
|
|
514
|
-
const _onFilterClearedRef = React.useRef(onFilterCleared);
|
|
515
|
-
_onFilterClearedRef.current = onFilterCleared;
|
|
516
|
-
React.useLayoutEffect(() => {
|
|
517
|
-
const el = _innerRef.current;
|
|
518
|
-
if (!el) return;
|
|
519
|
-
const _onFilterChangedFn = (e) => _onFilterChangedRef.current?.(e);
|
|
520
|
-
el.addEventListener('filter-changed', _onFilterChangedFn);
|
|
521
|
-
const _onFilterClearedFn = (e) => _onFilterClearedRef.current?.(e);
|
|
522
|
-
el.addEventListener('filter-cleared', _onFilterClearedFn);
|
|
523
|
-
return () => {
|
|
524
|
-
el.removeEventListener('filter-changed', _onFilterChangedFn);
|
|
525
|
-
el.removeEventListener('filter-cleared', _onFilterClearedFn);
|
|
526
|
-
};
|
|
527
|
-
}, []);
|
|
528
|
-
return React.createElement(customElements.getName(FilterWC) ?? '%%prefix%%-filter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
529
|
-
});
|
|
530
|
-
|
|
531
509
|
export const FileUpload = React.forwardRef(function FileUpload(props, ref) {
|
|
532
510
|
const { onFileSelected, onSuccess, onErrorOut, onClear, children, ...rest } = props;
|
|
533
511
|
const _innerRef = React.useRef(null);
|
|
@@ -560,6 +538,28 @@ export const FileUpload = React.forwardRef(function FileUpload(props, ref) {
|
|
|
560
538
|
return React.createElement(customElements.getName(FileUploadWC) ?? '%%prefix%%-file-upload', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
561
539
|
});
|
|
562
540
|
|
|
541
|
+
export const Filter = React.forwardRef(function Filter(props, ref) {
|
|
542
|
+
const { onFilterChanged, onFilterCleared, children, ...rest } = props;
|
|
543
|
+
const _innerRef = React.useRef(null);
|
|
544
|
+
const _onFilterChangedRef = React.useRef(onFilterChanged);
|
|
545
|
+
_onFilterChangedRef.current = onFilterChanged;
|
|
546
|
+
const _onFilterClearedRef = React.useRef(onFilterCleared);
|
|
547
|
+
_onFilterClearedRef.current = onFilterCleared;
|
|
548
|
+
React.useLayoutEffect(() => {
|
|
549
|
+
const el = _innerRef.current;
|
|
550
|
+
if (!el) return;
|
|
551
|
+
const _onFilterChangedFn = (e) => _onFilterChangedRef.current?.(e);
|
|
552
|
+
el.addEventListener('filter-changed', _onFilterChangedFn);
|
|
553
|
+
const _onFilterClearedFn = (e) => _onFilterClearedRef.current?.(e);
|
|
554
|
+
el.addEventListener('filter-cleared', _onFilterClearedFn);
|
|
555
|
+
return () => {
|
|
556
|
+
el.removeEventListener('filter-changed', _onFilterChangedFn);
|
|
557
|
+
el.removeEventListener('filter-cleared', _onFilterClearedFn);
|
|
558
|
+
};
|
|
559
|
+
}, []);
|
|
560
|
+
return React.createElement(customElements.getName(FilterWC) ?? '%%prefix%%-filter', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
561
|
+
});
|
|
562
|
+
|
|
563
563
|
export const FilterBar = React.forwardRef(function FilterBar(props, ref) {
|
|
564
564
|
const { children, ...rest } = props;
|
|
565
565
|
return React.createElement(customElements.getName(FilterBarWC) ?? '%%prefix%%-filter-bar', { ...rest, ref }, children);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-zero",
|
|
3
3
|
"description": "Genesis Foundation Zero Design System",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.61.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
73
|
-
"@genesislcap/genx": "15.
|
|
74
|
-
"@genesislcap/ts-builder": "15.
|
|
75
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
76
|
-
"@genesislcap/vite-builder": "15.
|
|
77
|
-
"@genesislcap/webpack-builder": "15.
|
|
73
|
+
"@genesislcap/genx": "15.61.0",
|
|
74
|
+
"@genesislcap/ts-builder": "15.61.0",
|
|
75
|
+
"@genesislcap/uvu-playwright-builder": "15.61.0",
|
|
76
|
+
"@genesislcap/vite-builder": "15.61.0",
|
|
77
|
+
"@genesislcap/webpack-builder": "15.61.0"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@genesislcap/foundation-comms": "15.
|
|
81
|
-
"@genesislcap/foundation-logger": "15.
|
|
82
|
-
"@genesislcap/foundation-ui": "15.
|
|
83
|
-
"@genesislcap/foundation-utils": "15.
|
|
80
|
+
"@genesislcap/foundation-comms": "15.61.0",
|
|
81
|
+
"@genesislcap/foundation-logger": "15.61.0",
|
|
82
|
+
"@genesislcap/foundation-ui": "15.61.0",
|
|
83
|
+
"@genesislcap/foundation-utils": "15.61.0",
|
|
84
84
|
"@microsoft/fast-colors": "5.3.1",
|
|
85
85
|
"@microsoft/fast-components": "2.30.6",
|
|
86
86
|
"@microsoft/fast-element": "1.14.0",
|