@genesislcap/rapid-design-system 15.29.0 → 15.30.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.
@@ -138,15 +138,6 @@ export declare const AccordionItem: React.ForwardRefExoticComponent<
138
138
  >;
139
139
  export type AccordionItemRef = AccordionItemWC;
140
140
 
141
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
142
- React.PropsWithChildren<
143
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
144
- HTMLWCProps & {
145
- }
146
- > & React.RefAttributes<ActionsMenuWC>
147
- >;
148
- export type ActionsMenuRef = ActionsMenuWC;
149
-
150
141
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
151
142
  React.PropsWithChildren<
152
143
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -167,6 +158,15 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
167
158
  >;
168
159
  export type AiIndicatorRef = AiIndicatorWC;
169
160
 
161
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
162
+ React.PropsWithChildren<
163
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
164
+ HTMLWCProps & {
165
+ }
166
+ > & React.RefAttributes<ActionsMenuWC>
167
+ >;
168
+ export type ActionsMenuRef = ActionsMenuWC;
169
+
170
170
  export declare const Anchor: React.ForwardRefExoticComponent<
171
171
  React.PropsWithChildren<
172
172
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
@@ -649,19 +649,6 @@ export declare const SchedulerTimezone: React.ForwardRefExoticComponent<
649
649
  >;
650
650
  export type SchedulerTimezoneRef = SchedulerTimezoneWC;
651
651
 
652
- export declare const SectionNavigator: React.ForwardRefExoticComponent<
653
- React.PropsWithChildren<
654
- Omit<PublicOf<SectionNavigatorWC>, 'children' | 'style'> &
655
- HTMLWCProps & {
656
- onSectionNavigatorSetState?: (event: CustomEvent<unknown>) => void;
657
- onSectionNavigatorSetStates?: (event: CustomEvent<unknown>) => void;
658
- onSectionNavigatorClearState?: (event: CustomEvent<unknown>) => void;
659
- onSectionNavigatorClearAllStates?: (event: CustomEvent<unknown>) => void;
660
- }
661
- > & React.RefAttributes<SectionNavigatorWC>
662
- >;
663
- export type SectionNavigatorRef = SectionNavigatorWC;
664
-
665
652
  export declare const SearchBarCombobox: React.ForwardRefExoticComponent<
666
653
  React.PropsWithChildren<
667
654
  Omit<PublicOf<SearchBarComboboxWC>, 'children' | 'style'> &
@@ -682,6 +669,19 @@ export declare const SearchBar: React.ForwardRefExoticComponent<
682
669
  >;
683
670
  export type SearchBarRef = SearchBarWC;
684
671
 
672
+ export declare const SectionNavigator: React.ForwardRefExoticComponent<
673
+ React.PropsWithChildren<
674
+ Omit<PublicOf<SectionNavigatorWC>, 'children' | 'style'> &
675
+ HTMLWCProps & {
676
+ onSectionNavigatorSetState?: (event: CustomEvent<unknown>) => void;
677
+ onSectionNavigatorSetStates?: (event: CustomEvent<unknown>) => void;
678
+ onSectionNavigatorClearState?: (event: CustomEvent<unknown>) => void;
679
+ onSectionNavigatorClearAllStates?: (event: CustomEvent<unknown>) => void;
680
+ }
681
+ > & React.RefAttributes<SectionNavigatorWC>
682
+ >;
683
+ export type SectionNavigatorRef = SectionNavigatorWC;
684
+
685
685
  export declare const SegmentedControl: React.ForwardRefExoticComponent<
686
686
  React.PropsWithChildren<
687
687
  Omit<PublicOf<SegmentedControlWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -109,11 +109,6 @@ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
109
109
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
110
110
  });
111
111
 
112
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
113
- const { children, ...rest } = props;
114
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
115
- });
116
-
117
112
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
118
113
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
119
114
  const _innerRef = React.useRef(null);
@@ -141,6 +136,11 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
141
136
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
142
137
  });
143
138
 
139
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
140
+ const { children, ...rest } = props;
141
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...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);
@@ -698,38 +698,6 @@ const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref
698
698
  return React.createElement(customElements.getName(SchedulerTimezoneWC) ?? '%%prefix%%-scheduler-timezone', { ...rest, ref }, children);
699
699
  });
700
700
 
701
- const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
702
- const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
703
- const _innerRef = React.useRef(null);
704
- const _onSectionNavigatorSetStateRef = React.useRef(onSectionNavigatorSetState);
705
- _onSectionNavigatorSetStateRef.current = onSectionNavigatorSetState;
706
- const _onSectionNavigatorSetStatesRef = React.useRef(onSectionNavigatorSetStates);
707
- _onSectionNavigatorSetStatesRef.current = onSectionNavigatorSetStates;
708
- const _onSectionNavigatorClearStateRef = React.useRef(onSectionNavigatorClearState);
709
- _onSectionNavigatorClearStateRef.current = onSectionNavigatorClearState;
710
- const _onSectionNavigatorClearAllStatesRef = React.useRef(onSectionNavigatorClearAllStates);
711
- _onSectionNavigatorClearAllStatesRef.current = onSectionNavigatorClearAllStates;
712
- React.useLayoutEffect(() => {
713
- const el = _innerRef.current;
714
- if (!el) return;
715
- const _onSectionNavigatorSetStateFn = (e) => _onSectionNavigatorSetStateRef.current?.(e);
716
- el.addEventListener('section-navigator-set-state', _onSectionNavigatorSetStateFn);
717
- const _onSectionNavigatorSetStatesFn = (e) => _onSectionNavigatorSetStatesRef.current?.(e);
718
- el.addEventListener('section-navigator-set-states', _onSectionNavigatorSetStatesFn);
719
- const _onSectionNavigatorClearStateFn = (e) => _onSectionNavigatorClearStateRef.current?.(e);
720
- el.addEventListener('section-navigator-clear-state', _onSectionNavigatorClearStateFn);
721
- const _onSectionNavigatorClearAllStatesFn = (e) => _onSectionNavigatorClearAllStatesRef.current?.(e);
722
- el.addEventListener('section-navigator-clear-all-states', _onSectionNavigatorClearAllStatesFn);
723
- return () => {
724
- el.removeEventListener('section-navigator-set-state', _onSectionNavigatorSetStateFn);
725
- el.removeEventListener('section-navigator-set-states', _onSectionNavigatorSetStatesFn);
726
- el.removeEventListener('section-navigator-clear-state', _onSectionNavigatorClearStateFn);
727
- el.removeEventListener('section-navigator-clear-all-states', _onSectionNavigatorClearAllStatesFn);
728
- };
729
- }, []);
730
- return React.createElement(customElements.getName(SectionNavigatorWC) ?? '%%prefix%%-section-navigator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
731
- });
732
-
733
701
  const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
734
702
  const { onOpenChange, children, ...rest } = props;
735
703
  const _innerRef = React.useRef(null);
@@ -764,6 +732,38 @@ const SearchBar = React.forwardRef(function SearchBar(props, ref) {
764
732
  return React.createElement(customElements.getName(SearchBarWC) ?? '%%prefix%%-search-bar', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
765
733
  });
766
734
 
735
+ const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
736
+ const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
737
+ const _innerRef = React.useRef(null);
738
+ const _onSectionNavigatorSetStateRef = React.useRef(onSectionNavigatorSetState);
739
+ _onSectionNavigatorSetStateRef.current = onSectionNavigatorSetState;
740
+ const _onSectionNavigatorSetStatesRef = React.useRef(onSectionNavigatorSetStates);
741
+ _onSectionNavigatorSetStatesRef.current = onSectionNavigatorSetStates;
742
+ const _onSectionNavigatorClearStateRef = React.useRef(onSectionNavigatorClearState);
743
+ _onSectionNavigatorClearStateRef.current = onSectionNavigatorClearState;
744
+ const _onSectionNavigatorClearAllStatesRef = React.useRef(onSectionNavigatorClearAllStates);
745
+ _onSectionNavigatorClearAllStatesRef.current = onSectionNavigatorClearAllStates;
746
+ React.useLayoutEffect(() => {
747
+ const el = _innerRef.current;
748
+ if (!el) return;
749
+ const _onSectionNavigatorSetStateFn = (e) => _onSectionNavigatorSetStateRef.current?.(e);
750
+ el.addEventListener('section-navigator-set-state', _onSectionNavigatorSetStateFn);
751
+ const _onSectionNavigatorSetStatesFn = (e) => _onSectionNavigatorSetStatesRef.current?.(e);
752
+ el.addEventListener('section-navigator-set-states', _onSectionNavigatorSetStatesFn);
753
+ const _onSectionNavigatorClearStateFn = (e) => _onSectionNavigatorClearStateRef.current?.(e);
754
+ el.addEventListener('section-navigator-clear-state', _onSectionNavigatorClearStateFn);
755
+ const _onSectionNavigatorClearAllStatesFn = (e) => _onSectionNavigatorClearAllStatesRef.current?.(e);
756
+ el.addEventListener('section-navigator-clear-all-states', _onSectionNavigatorClearAllStatesFn);
757
+ return () => {
758
+ el.removeEventListener('section-navigator-set-state', _onSectionNavigatorSetStateFn);
759
+ el.removeEventListener('section-navigator-set-states', _onSectionNavigatorSetStatesFn);
760
+ el.removeEventListener('section-navigator-clear-state', _onSectionNavigatorClearStateFn);
761
+ el.removeEventListener('section-navigator-clear-all-states', _onSectionNavigatorClearAllStatesFn);
762
+ };
763
+ }, []);
764
+ return React.createElement(customElements.getName(SectionNavigatorWC) ?? '%%prefix%%-section-navigator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
765
+ });
766
+
767
767
  const SegmentedControl = React.forwardRef(function SegmentedControl(props, ref) {
768
768
  const { children, ...rest } = props;
769
769
  return React.createElement(customElements.getName(SegmentedControlWC) ?? '%%prefix%%-segmented-control', { ...rest, ref }, children);
@@ -1001,9 +1001,9 @@ const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props,
1001
1001
  module.exports = {
1002
1002
  Accordion,
1003
1003
  AccordionItem,
1004
- ActionsMenu,
1005
1004
  AiCriteriaSearch,
1006
1005
  AiIndicator,
1006
+ ActionsMenu,
1007
1007
  Anchor,
1008
1008
  AnchoredRegion,
1009
1009
  Avatar,
@@ -1053,9 +1053,9 @@ module.exports = {
1053
1053
  Scheduler,
1054
1054
  SchedulerCronBuilder,
1055
1055
  SchedulerTimezone,
1056
- SectionNavigator,
1057
1056
  SearchBarCombobox,
1058
1057
  SearchBar,
1058
+ SectionNavigator,
1059
1059
  SegmentedControl,
1060
1060
  SegmentedItem,
1061
1061
  Select,
package/dist/react.mjs CHANGED
@@ -107,11 +107,6 @@ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref)
107
107
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
108
108
  });
109
109
 
110
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
111
- const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
113
- });
114
-
115
110
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
116
111
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
117
112
  const _innerRef = React.useRef(null);
@@ -139,6 +134,11 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
139
134
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
140
135
  });
141
136
 
137
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
138
+ const { children, ...rest } = props;
139
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...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);
@@ -696,38 +696,6 @@ export const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(pro
696
696
  return React.createElement(customElements.getName(SchedulerTimezoneWC) ?? '%%prefix%%-scheduler-timezone', { ...rest, ref }, children);
697
697
  });
698
698
 
699
- export const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
700
- const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
701
- const _innerRef = React.useRef(null);
702
- const _onSectionNavigatorSetStateRef = React.useRef(onSectionNavigatorSetState);
703
- _onSectionNavigatorSetStateRef.current = onSectionNavigatorSetState;
704
- const _onSectionNavigatorSetStatesRef = React.useRef(onSectionNavigatorSetStates);
705
- _onSectionNavigatorSetStatesRef.current = onSectionNavigatorSetStates;
706
- const _onSectionNavigatorClearStateRef = React.useRef(onSectionNavigatorClearState);
707
- _onSectionNavigatorClearStateRef.current = onSectionNavigatorClearState;
708
- const _onSectionNavigatorClearAllStatesRef = React.useRef(onSectionNavigatorClearAllStates);
709
- _onSectionNavigatorClearAllStatesRef.current = onSectionNavigatorClearAllStates;
710
- React.useLayoutEffect(() => {
711
- const el = _innerRef.current;
712
- if (!el) return;
713
- const _onSectionNavigatorSetStateFn = (e) => _onSectionNavigatorSetStateRef.current?.(e);
714
- el.addEventListener('section-navigator-set-state', _onSectionNavigatorSetStateFn);
715
- const _onSectionNavigatorSetStatesFn = (e) => _onSectionNavigatorSetStatesRef.current?.(e);
716
- el.addEventListener('section-navigator-set-states', _onSectionNavigatorSetStatesFn);
717
- const _onSectionNavigatorClearStateFn = (e) => _onSectionNavigatorClearStateRef.current?.(e);
718
- el.addEventListener('section-navigator-clear-state', _onSectionNavigatorClearStateFn);
719
- const _onSectionNavigatorClearAllStatesFn = (e) => _onSectionNavigatorClearAllStatesRef.current?.(e);
720
- el.addEventListener('section-navigator-clear-all-states', _onSectionNavigatorClearAllStatesFn);
721
- return () => {
722
- el.removeEventListener('section-navigator-set-state', _onSectionNavigatorSetStateFn);
723
- el.removeEventListener('section-navigator-set-states', _onSectionNavigatorSetStatesFn);
724
- el.removeEventListener('section-navigator-clear-state', _onSectionNavigatorClearStateFn);
725
- el.removeEventListener('section-navigator-clear-all-states', _onSectionNavigatorClearAllStatesFn);
726
- };
727
- }, []);
728
- return React.createElement(customElements.getName(SectionNavigatorWC) ?? '%%prefix%%-section-navigator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
729
- });
730
-
731
699
  export const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
732
700
  const { onOpenChange, children, ...rest } = props;
733
701
  const _innerRef = React.useRef(null);
@@ -762,6 +730,38 @@ export const SearchBar = React.forwardRef(function SearchBar(props, ref) {
762
730
  return React.createElement(customElements.getName(SearchBarWC) ?? '%%prefix%%-search-bar', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
763
731
  });
764
732
 
733
+ export const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
734
+ const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
735
+ const _innerRef = React.useRef(null);
736
+ const _onSectionNavigatorSetStateRef = React.useRef(onSectionNavigatorSetState);
737
+ _onSectionNavigatorSetStateRef.current = onSectionNavigatorSetState;
738
+ const _onSectionNavigatorSetStatesRef = React.useRef(onSectionNavigatorSetStates);
739
+ _onSectionNavigatorSetStatesRef.current = onSectionNavigatorSetStates;
740
+ const _onSectionNavigatorClearStateRef = React.useRef(onSectionNavigatorClearState);
741
+ _onSectionNavigatorClearStateRef.current = onSectionNavigatorClearState;
742
+ const _onSectionNavigatorClearAllStatesRef = React.useRef(onSectionNavigatorClearAllStates);
743
+ _onSectionNavigatorClearAllStatesRef.current = onSectionNavigatorClearAllStates;
744
+ React.useLayoutEffect(() => {
745
+ const el = _innerRef.current;
746
+ if (!el) return;
747
+ const _onSectionNavigatorSetStateFn = (e) => _onSectionNavigatorSetStateRef.current?.(e);
748
+ el.addEventListener('section-navigator-set-state', _onSectionNavigatorSetStateFn);
749
+ const _onSectionNavigatorSetStatesFn = (e) => _onSectionNavigatorSetStatesRef.current?.(e);
750
+ el.addEventListener('section-navigator-set-states', _onSectionNavigatorSetStatesFn);
751
+ const _onSectionNavigatorClearStateFn = (e) => _onSectionNavigatorClearStateRef.current?.(e);
752
+ el.addEventListener('section-navigator-clear-state', _onSectionNavigatorClearStateFn);
753
+ const _onSectionNavigatorClearAllStatesFn = (e) => _onSectionNavigatorClearAllStatesRef.current?.(e);
754
+ el.addEventListener('section-navigator-clear-all-states', _onSectionNavigatorClearAllStatesFn);
755
+ return () => {
756
+ el.removeEventListener('section-navigator-set-state', _onSectionNavigatorSetStateFn);
757
+ el.removeEventListener('section-navigator-set-states', _onSectionNavigatorSetStatesFn);
758
+ el.removeEventListener('section-navigator-clear-state', _onSectionNavigatorClearStateFn);
759
+ el.removeEventListener('section-navigator-clear-all-states', _onSectionNavigatorClearAllStatesFn);
760
+ };
761
+ }, []);
762
+ return React.createElement(customElements.getName(SectionNavigatorWC) ?? '%%prefix%%-section-navigator', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
763
+ });
764
+
765
765
  export const SegmentedControl = React.forwardRef(function SegmentedControl(props, ref) {
766
766
  const { children, ...rest } = props;
767
767
  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/rapid-design-system",
3
3
  "description": "Rapid Design System",
4
- "version": "15.29.0",
4
+ "version": "15.30.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -40,13 +40,13 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
43
- "@genesislcap/foundation-testing": "15.29.0",
44
- "@genesislcap/genx": "15.29.0",
45
- "@genesislcap/rollup-builder": "15.29.0",
46
- "@genesislcap/ts-builder": "15.29.0",
47
- "@genesislcap/uvu-playwright-builder": "15.29.0",
48
- "@genesislcap/vite-builder": "15.29.0",
49
- "@genesislcap/webpack-builder": "15.29.0",
43
+ "@genesislcap/foundation-testing": "15.30.0",
44
+ "@genesislcap/genx": "15.30.0",
45
+ "@genesislcap/rollup-builder": "15.30.0",
46
+ "@genesislcap/ts-builder": "15.30.0",
47
+ "@genesislcap/uvu-playwright-builder": "15.30.0",
48
+ "@genesislcap/vite-builder": "15.30.0",
49
+ "@genesislcap/webpack-builder": "15.30.0",
50
50
  "flexlayout-react": "0.10.8"
51
51
  },
52
52
  "peerDependencies": {
@@ -58,9 +58,9 @@
58
58
  }
59
59
  },
60
60
  "dependencies": {
61
- "@genesislcap/foundation-logger": "15.29.0",
62
- "@genesislcap/foundation-ui": "15.29.0",
63
- "@genesislcap/foundation-utils": "15.29.0",
61
+ "@genesislcap/foundation-logger": "15.30.0",
62
+ "@genesislcap/foundation-ui": "15.30.0",
63
+ "@genesislcap/foundation-utils": "15.30.0",
64
64
  "@microsoft/fast-colors": "5.3.1",
65
65
  "@microsoft/fast-components": "2.30.6",
66
66
  "@microsoft/fast-element": "1.14.0",