@genesislcap/foundation-zero 14.451.5-alpha-ec85af7.0 → 14.452.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/dist/custom-elements.json +1522 -1522
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +23 -23
- package/dist/react.mjs +22 -22
- package/package.json +12 -12
package/dist/dts/react.d.ts
CHANGED
|
@@ -661,6 +661,19 @@ export declare const SchedulerTimezone: React.ForwardRefExoticComponent<
|
|
|
661
661
|
>;
|
|
662
662
|
export type SchedulerTimezoneRef = SchedulerTimezoneWC;
|
|
663
663
|
|
|
664
|
+
export declare const SectionNavigator: React.ForwardRefExoticComponent<
|
|
665
|
+
React.PropsWithChildren<
|
|
666
|
+
Omit<PublicOf<SectionNavigatorWC>, 'children' | 'style'> &
|
|
667
|
+
HTMLWCProps & {
|
|
668
|
+
onSectionNavigatorSetState?: (event: CustomEvent<unknown>) => void;
|
|
669
|
+
onSectionNavigatorSetStates?: (event: CustomEvent<unknown>) => void;
|
|
670
|
+
onSectionNavigatorClearState?: (event: CustomEvent<unknown>) => void;
|
|
671
|
+
onSectionNavigatorClearAllStates?: (event: CustomEvent<unknown>) => void;
|
|
672
|
+
}
|
|
673
|
+
> & React.RefAttributes<SectionNavigatorWC>
|
|
674
|
+
>;
|
|
675
|
+
export type SectionNavigatorRef = SectionNavigatorWC;
|
|
676
|
+
|
|
664
677
|
export declare const SearchBarCombobox: React.ForwardRefExoticComponent<
|
|
665
678
|
React.PropsWithChildren<
|
|
666
679
|
Omit<PublicOf<SearchBarComboboxWC>, 'children' | 'style'> &
|
|
@@ -680,19 +693,6 @@ export declare const SearchBar: React.ForwardRefExoticComponent<
|
|
|
680
693
|
>;
|
|
681
694
|
export type SearchBarRef = SearchBarWC;
|
|
682
695
|
|
|
683
|
-
export declare const SectionNavigator: React.ForwardRefExoticComponent<
|
|
684
|
-
React.PropsWithChildren<
|
|
685
|
-
Omit<PublicOf<SectionNavigatorWC>, 'children' | 'style'> &
|
|
686
|
-
HTMLWCProps & {
|
|
687
|
-
onSectionNavigatorSetState?: (event: CustomEvent<unknown>) => void;
|
|
688
|
-
onSectionNavigatorSetStates?: (event: CustomEvent<unknown>) => void;
|
|
689
|
-
onSectionNavigatorClearState?: (event: CustomEvent<unknown>) => void;
|
|
690
|
-
onSectionNavigatorClearAllStates?: (event: CustomEvent<unknown>) => void;
|
|
691
|
-
}
|
|
692
|
-
> & React.RefAttributes<SectionNavigatorWC>
|
|
693
|
-
>;
|
|
694
|
-
export type SectionNavigatorRef = SectionNavigatorWC;
|
|
695
|
-
|
|
696
696
|
export declare const SegmentedControl: React.ForwardRefExoticComponent<
|
|
697
697
|
React.PropsWithChildren<
|
|
698
698
|
Omit<PublicOf<SegmentedControlWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -590,28 +590,6 @@ const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref
|
|
|
590
590
|
return React.createElement(customElements.getName(SchedulerTimezoneWC) ?? '%%prefix%%-scheduler-timezone', { ...rest, ref }, children);
|
|
591
591
|
});
|
|
592
592
|
|
|
593
|
-
const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
594
|
-
const { children, ...rest } = props;
|
|
595
|
-
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
596
|
-
});
|
|
597
|
-
|
|
598
|
-
const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
|
599
|
-
const { onSelectionChange, children, ...rest } = props;
|
|
600
|
-
const _innerRef = React.useRef(null);
|
|
601
|
-
const _onSelectionChangeRef = React.useRef(onSelectionChange);
|
|
602
|
-
_onSelectionChangeRef.current = onSelectionChange;
|
|
603
|
-
React.useLayoutEffect(() => {
|
|
604
|
-
const el = _innerRef.current;
|
|
605
|
-
if (!el) return;
|
|
606
|
-
const _onSelectionChangeFn = (e) => _onSelectionChangeRef.current?.(e);
|
|
607
|
-
el.addEventListener('selectionChange', _onSelectionChangeFn);
|
|
608
|
-
return () => {
|
|
609
|
-
el.removeEventListener('selectionChange', _onSelectionChangeFn);
|
|
610
|
-
};
|
|
611
|
-
}, []);
|
|
612
|
-
return React.createElement(customElements.getName(SearchBarWC) ?? '%%prefix%%-search-bar', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
613
|
-
});
|
|
614
|
-
|
|
615
593
|
const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
|
|
616
594
|
const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
|
|
617
595
|
const _innerRef = React.useRef(null);
|
|
@@ -644,6 +622,28 @@ const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref)
|
|
|
644
622
|
return React.createElement(customElements.getName(SectionNavigatorWC) ?? '%%prefix%%-section-navigator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
645
623
|
});
|
|
646
624
|
|
|
625
|
+
const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
626
|
+
const { children, ...rest } = props;
|
|
627
|
+
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
628
|
+
});
|
|
629
|
+
|
|
630
|
+
const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
|
631
|
+
const { onSelectionChange, children, ...rest } = props;
|
|
632
|
+
const _innerRef = React.useRef(null);
|
|
633
|
+
const _onSelectionChangeRef = React.useRef(onSelectionChange);
|
|
634
|
+
_onSelectionChangeRef.current = onSelectionChange;
|
|
635
|
+
React.useLayoutEffect(() => {
|
|
636
|
+
const el = _innerRef.current;
|
|
637
|
+
if (!el) return;
|
|
638
|
+
const _onSelectionChangeFn = (e) => _onSelectionChangeRef.current?.(e);
|
|
639
|
+
el.addEventListener('selectionChange', _onSelectionChangeFn);
|
|
640
|
+
return () => {
|
|
641
|
+
el.removeEventListener('selectionChange', _onSelectionChangeFn);
|
|
642
|
+
};
|
|
643
|
+
}, []);
|
|
644
|
+
return React.createElement(customElements.getName(SearchBarWC) ?? '%%prefix%%-search-bar', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
645
|
+
});
|
|
646
|
+
|
|
647
647
|
const SegmentedControl = React.forwardRef(function SegmentedControl(props, ref) {
|
|
648
648
|
const { children, ...rest } = props;
|
|
649
649
|
return React.createElement(customElements.getName(SegmentedControlWC) ?? '%%prefix%%-segmented-control', { ...rest, ref }, children);
|
|
@@ -903,9 +903,9 @@ module.exports = {
|
|
|
903
903
|
Scheduler,
|
|
904
904
|
SchedulerCronBuilder,
|
|
905
905
|
SchedulerTimezone,
|
|
906
|
+
SectionNavigator,
|
|
906
907
|
SearchBarCombobox,
|
|
907
908
|
SearchBar,
|
|
908
|
-
SectionNavigator,
|
|
909
909
|
SegmentedControl,
|
|
910
910
|
SegmentedItem,
|
|
911
911
|
Select,
|
package/dist/react.mjs
CHANGED
|
@@ -588,28 +588,6 @@ export const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(pro
|
|
|
588
588
|
return React.createElement(customElements.getName(SchedulerTimezoneWC) ?? '%%prefix%%-scheduler-timezone', { ...rest, ref }, children);
|
|
589
589
|
});
|
|
590
590
|
|
|
591
|
-
export const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
592
|
-
const { children, ...rest } = props;
|
|
593
|
-
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
594
|
-
});
|
|
595
|
-
|
|
596
|
-
export const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
|
597
|
-
const { onSelectionChange, children, ...rest } = props;
|
|
598
|
-
const _innerRef = React.useRef(null);
|
|
599
|
-
const _onSelectionChangeRef = React.useRef(onSelectionChange);
|
|
600
|
-
_onSelectionChangeRef.current = onSelectionChange;
|
|
601
|
-
React.useLayoutEffect(() => {
|
|
602
|
-
const el = _innerRef.current;
|
|
603
|
-
if (!el) return;
|
|
604
|
-
const _onSelectionChangeFn = (e) => _onSelectionChangeRef.current?.(e);
|
|
605
|
-
el.addEventListener('selectionChange', _onSelectionChangeFn);
|
|
606
|
-
return () => {
|
|
607
|
-
el.removeEventListener('selectionChange', _onSelectionChangeFn);
|
|
608
|
-
};
|
|
609
|
-
}, []);
|
|
610
|
-
return React.createElement(customElements.getName(SearchBarWC) ?? '%%prefix%%-search-bar', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
611
|
-
});
|
|
612
|
-
|
|
613
591
|
export const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
|
|
614
592
|
const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
|
|
615
593
|
const _innerRef = React.useRef(null);
|
|
@@ -642,6 +620,28 @@ export const SectionNavigator = React.forwardRef(function SectionNavigator(props
|
|
|
642
620
|
return React.createElement(customElements.getName(SectionNavigatorWC) ?? '%%prefix%%-section-navigator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
643
621
|
});
|
|
644
622
|
|
|
623
|
+
export const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
624
|
+
const { children, ...rest } = props;
|
|
625
|
+
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
626
|
+
});
|
|
627
|
+
|
|
628
|
+
export const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
|
629
|
+
const { onSelectionChange, children, ...rest } = props;
|
|
630
|
+
const _innerRef = React.useRef(null);
|
|
631
|
+
const _onSelectionChangeRef = React.useRef(onSelectionChange);
|
|
632
|
+
_onSelectionChangeRef.current = onSelectionChange;
|
|
633
|
+
React.useLayoutEffect(() => {
|
|
634
|
+
const el = _innerRef.current;
|
|
635
|
+
if (!el) return;
|
|
636
|
+
const _onSelectionChangeFn = (e) => _onSelectionChangeRef.current?.(e);
|
|
637
|
+
el.addEventListener('selectionChange', _onSelectionChangeFn);
|
|
638
|
+
return () => {
|
|
639
|
+
el.removeEventListener('selectionChange', _onSelectionChangeFn);
|
|
640
|
+
};
|
|
641
|
+
}, []);
|
|
642
|
+
return React.createElement(customElements.getName(SearchBarWC) ?? '%%prefix%%-search-bar', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
643
|
+
});
|
|
644
|
+
|
|
645
645
|
export const SegmentedControl = React.forwardRef(function SegmentedControl(props, ref) {
|
|
646
646
|
const { children, ...rest } = props;
|
|
647
647
|
return React.createElement(customElements.getName(SegmentedControlWC) ?? '%%prefix%%-segmented-control', { ...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": "14.
|
|
4
|
+
"version": "14.452.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -73,18 +73,18 @@
|
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
76
|
-
"@genesislcap/genx": "14.
|
|
77
|
-
"@genesislcap/rollup-builder": "14.
|
|
78
|
-
"@genesislcap/ts-builder": "14.
|
|
79
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
80
|
-
"@genesislcap/vite-builder": "14.
|
|
81
|
-
"@genesislcap/webpack-builder": "14.
|
|
76
|
+
"@genesislcap/genx": "14.452.1",
|
|
77
|
+
"@genesislcap/rollup-builder": "14.452.1",
|
|
78
|
+
"@genesislcap/ts-builder": "14.452.1",
|
|
79
|
+
"@genesislcap/uvu-playwright-builder": "14.452.1",
|
|
80
|
+
"@genesislcap/vite-builder": "14.452.1",
|
|
81
|
+
"@genesislcap/webpack-builder": "14.452.1"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@genesislcap/foundation-comms": "14.
|
|
85
|
-
"@genesislcap/foundation-logger": "14.
|
|
86
|
-
"@genesislcap/foundation-ui": "14.
|
|
87
|
-
"@genesislcap/foundation-utils": "14.
|
|
84
|
+
"@genesislcap/foundation-comms": "14.452.1",
|
|
85
|
+
"@genesislcap/foundation-logger": "14.452.1",
|
|
86
|
+
"@genesislcap/foundation-ui": "14.452.1",
|
|
87
|
+
"@genesislcap/foundation-utils": "14.452.1",
|
|
88
88
|
"@microsoft/fast-colors": "5.3.1",
|
|
89
89
|
"@microsoft/fast-components": "2.30.6",
|
|
90
90
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"require": "./dist/react.cjs"
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "57cd7afd42c9a1554432603c66e4e5f750c3dc08"
|
|
115
115
|
}
|