@genesislcap/foundation-zero 14.452.1 → 14.453.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.
@@ -144,6 +144,15 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
144
144
  >;
145
145
  export type ActionsMenuRef = ActionsMenuWC;
146
146
 
147
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
148
+ React.PropsWithChildren<
149
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
150
+ HTMLWCProps & {
151
+ }
152
+ > & React.RefAttributes<AiIndicatorWC>
153
+ >;
154
+ export type AiIndicatorRef = AiIndicatorWC;
155
+
147
156
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
148
157
  React.PropsWithChildren<
149
158
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -155,15 +164,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
155
164
  >;
156
165
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
157
166
 
158
- export declare const AiIndicator: React.ForwardRefExoticComponent<
159
- React.PropsWithChildren<
160
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
161
- HTMLWCProps & {
162
- }
163
- > & React.RefAttributes<AiIndicatorWC>
164
- >;
165
- export type AiIndicatorRef = AiIndicatorWC;
166
-
167
167
  export declare const Anchor: React.ForwardRefExoticComponent<
168
168
  React.PropsWithChildren<
169
169
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
@@ -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
@@ -114,6 +114,11 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
114
114
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
115
115
  });
116
116
 
117
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
118
+ const { children, ...rest } = props;
119
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
120
+ });
121
+
117
122
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
118
123
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
119
124
  const _innerRef = React.useRef(null);
@@ -136,11 +141,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
136
141
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
137
142
  });
138
143
 
139
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
140
- const { children, ...rest } = props;
141
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
142
- });
143
-
144
144
  const Anchor = React.forwardRef(function Anchor(props, ref) {
145
145
  const { children, ...rest } = props;
146
146
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -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);
@@ -848,8 +848,8 @@ module.exports = {
848
848
  Accordion,
849
849
  AccordionItem,
850
850
  ActionsMenu,
851
- AiCriteriaSearch,
852
851
  AiIndicator,
852
+ AiCriteriaSearch,
853
853
  Anchor,
854
854
  AnchoredRegion,
855
855
  Avatar,
@@ -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
@@ -112,6 +112,11 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
112
112
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
113
113
  });
114
114
 
115
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
116
+ const { children, ...rest } = props;
117
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
118
+ });
119
+
115
120
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
116
121
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
117
122
  const _innerRef = React.useRef(null);
@@ -134,11 +139,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
134
139
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
135
140
  });
136
141
 
137
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
138
- const { children, ...rest } = props;
139
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
140
- });
141
-
142
142
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
143
143
  const { children, ...rest } = props;
144
144
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -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.453.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.453.0",
77
+ "@genesislcap/rollup-builder": "14.453.0",
78
+ "@genesislcap/ts-builder": "14.453.0",
79
+ "@genesislcap/uvu-playwright-builder": "14.453.0",
80
+ "@genesislcap/vite-builder": "14.453.0",
81
+ "@genesislcap/webpack-builder": "14.453.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.453.0",
85
+ "@genesislcap/foundation-logger": "14.453.0",
86
+ "@genesislcap/foundation-ui": "14.453.0",
87
+ "@genesislcap/foundation-utils": "14.453.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": "510e12f2d2b7d210c77d629427fa4081912bd99f"
115
115
  }