@genesislcap/foundation-zero 14.452.1 → 14.454.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.
@@ -661,19 +661,6 @@ 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
-
677
664
  export declare const SearchBarCombobox: React.ForwardRefExoticComponent<
678
665
  React.PropsWithChildren<
679
666
  Omit<PublicOf<SearchBarComboboxWC>, 'children' | 'style'> &
@@ -693,6 +680,19 @@ export declare const SearchBar: React.ForwardRefExoticComponent<
693
680
  >;
694
681
  export type SearchBarRef = SearchBarWC;
695
682
 
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,6 +590,28 @@ 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
+
593
615
  const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
594
616
  const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
595
617
  const _innerRef = React.useRef(null);
@@ -622,28 +644,6 @@ const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref)
622
644
  return React.createElement(customElements.getName(SectionNavigatorWC) ?? '%%prefix%%-section-navigator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
623
645
  });
624
646
 
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,
907
906
  SearchBarCombobox,
908
907
  SearchBar,
908
+ SectionNavigator,
909
909
  SegmentedControl,
910
910
  SegmentedItem,
911
911
  Select,
package/dist/react.mjs CHANGED
@@ -588,6 +588,28 @@ 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
+
591
613
  export const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
592
614
  const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
593
615
  const _innerRef = React.useRef(null);
@@ -620,28 +642,6 @@ export const SectionNavigator = React.forwardRef(function SectionNavigator(props
620
642
  return React.createElement(customElements.getName(SectionNavigatorWC) ?? '%%prefix%%-section-navigator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
621
643
  });
622
644
 
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.452.1",
4
+ "version": "14.454.0",
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.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"
76
+ "@genesislcap/genx": "14.454.0",
77
+ "@genesislcap/rollup-builder": "14.454.0",
78
+ "@genesislcap/ts-builder": "14.454.0",
79
+ "@genesislcap/uvu-playwright-builder": "14.454.0",
80
+ "@genesislcap/vite-builder": "14.454.0",
81
+ "@genesislcap/webpack-builder": "14.454.0"
82
82
  },
83
83
  "dependencies": {
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",
84
+ "@genesislcap/foundation-comms": "14.454.0",
85
+ "@genesislcap/foundation-logger": "14.454.0",
86
+ "@genesislcap/foundation-ui": "14.454.0",
87
+ "@genesislcap/foundation-utils": "14.454.0",
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": "57cd7afd42c9a1554432603c66e4e5f750c3dc08"
114
+ "gitHead": "0e3b06e62bfcd7eb5cbd310842952736b002e002"
115
115
  }