@genesislcap/rapid-design-system 15.60.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.
@@ -120,23 +120,23 @@ interface HTMLWCProps extends React.AriaAttributes {
120
120
  onInput?(e: Event): void;
121
121
  }
122
122
 
123
- export declare const AccordionItem: React.ForwardRefExoticComponent<
123
+ export declare const Accordion: React.ForwardRefExoticComponent<
124
124
  React.PropsWithChildren<
125
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
125
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
126
126
  HTMLWCProps & {
127
127
  }
128
- > & React.RefAttributes<AccordionItemWC>
128
+ > & React.RefAttributes<AccordionWC>
129
129
  >;
130
- export type AccordionItemRef = AccordionItemWC;
130
+ export type AccordionRef = AccordionWC;
131
131
 
132
- export declare const Accordion: React.ForwardRefExoticComponent<
132
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
133
133
  React.PropsWithChildren<
134
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
134
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
135
135
  HTMLWCProps & {
136
136
  }
137
- > & React.RefAttributes<AccordionWC>
137
+ > & React.RefAttributes<AccordionItemWC>
138
138
  >;
139
- export type AccordionRef = AccordionWC;
139
+ export type AccordionItemRef = AccordionItemWC;
140
140
 
141
141
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
142
142
  React.PropsWithChildren<
@@ -640,15 +640,6 @@ export declare const SchedulerCronBuilder: React.ForwardRefExoticComponent<
640
640
  >;
641
641
  export type SchedulerCronBuilderRef = SchedulerCronBuilderWC;
642
642
 
643
- export declare const SchedulerTimezone: React.ForwardRefExoticComponent<
644
- React.PropsWithChildren<
645
- Omit<PublicOf<SchedulerTimezoneWC>, 'children' | 'style'> &
646
- HTMLWCProps & {
647
- }
648
- > & React.RefAttributes<SchedulerTimezoneWC>
649
- >;
650
- export type SchedulerTimezoneRef = SchedulerTimezoneWC;
651
-
652
643
  export declare const SearchBarCombobox: React.ForwardRefExoticComponent<
653
644
  React.PropsWithChildren<
654
645
  Omit<PublicOf<SearchBarComboboxWC>, 'children' | 'style'> &
@@ -669,6 +660,15 @@ export declare const SearchBar: React.ForwardRefExoticComponent<
669
660
  >;
670
661
  export type SearchBarRef = SearchBarWC;
671
662
 
663
+ export declare const SchedulerTimezone: React.ForwardRefExoticComponent<
664
+ React.PropsWithChildren<
665
+ Omit<PublicOf<SchedulerTimezoneWC>, 'children' | 'style'> &
666
+ HTMLWCProps & {
667
+ }
668
+ > & React.RefAttributes<SchedulerTimezoneWC>
669
+ >;
670
+ export type SchedulerTimezoneRef = SchedulerTimezoneWC;
671
+
672
672
  export declare const SectionNavigator: React.ForwardRefExoticComponent<
673
673
  React.PropsWithChildren<
674
674
  Omit<PublicOf<SectionNavigatorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -99,14 +99,14 @@ function _mergeRefs(...refs) {
99
99
  };
100
100
  }
101
101
 
102
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
102
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
103
103
  const { children, ...rest } = props;
104
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
104
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
105
105
  });
106
106
 
107
- const Accordion = React.forwardRef(function Accordion(props, ref) {
107
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
108
108
  const { children, ...rest } = props;
109
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
109
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
110
110
  });
111
111
 
112
112
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -693,11 +693,6 @@ const SchedulerCronBuilder = React.forwardRef(function SchedulerCronBuilder(prop
693
693
  return React.createElement(customElements.getName(SchedulerCronBuilderWC) ?? '%%prefix%%-scheduler-cron-builder', { ...rest, ref }, children);
694
694
  });
695
695
 
696
- const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref) {
697
- const { children, ...rest } = props;
698
- return React.createElement(customElements.getName(SchedulerTimezoneWC) ?? '%%prefix%%-scheduler-timezone', { ...rest, ref }, children);
699
- });
700
-
701
696
  const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
702
697
  const { onOpenChange, children, ...rest } = props;
703
698
  const _innerRef = React.useRef(null);
@@ -732,6 +727,11 @@ const SearchBar = React.forwardRef(function SearchBar(props, ref) {
732
727
  return React.createElement(customElements.getName(SearchBarWC) ?? '%%prefix%%-search-bar', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
733
728
  });
734
729
 
730
+ const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref) {
731
+ const { children, ...rest } = props;
732
+ return React.createElement(customElements.getName(SchedulerTimezoneWC) ?? '%%prefix%%-scheduler-timezone', { ...rest, ref }, children);
733
+ });
734
+
735
735
  const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
736
736
  const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
737
737
  const _innerRef = React.useRef(null);
@@ -999,8 +999,8 @@ const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props,
999
999
  });
1000
1000
 
1001
1001
  module.exports = {
1002
- AccordionItem,
1003
1002
  Accordion,
1003
+ AccordionItem,
1004
1004
  ActionsMenu,
1005
1005
  AiCriteriaSearch,
1006
1006
  AiIndicator,
@@ -1052,9 +1052,9 @@ module.exports = {
1052
1052
  RapidRouter,
1053
1053
  Scheduler,
1054
1054
  SchedulerCronBuilder,
1055
- SchedulerTimezone,
1056
1055
  SearchBarCombobox,
1057
1056
  SearchBar,
1057
+ SchedulerTimezone,
1058
1058
  SectionNavigator,
1059
1059
  SegmentedControl,
1060
1060
  SegmentedItem,
package/dist/react.mjs CHANGED
@@ -97,14 +97,14 @@ function _mergeRefs(...refs) {
97
97
  };
98
98
  }
99
99
 
100
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
100
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
101
101
  const { children, ...rest } = props;
102
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
102
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
103
103
  });
104
104
 
105
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
105
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
106
106
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
108
108
  });
109
109
 
110
110
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -691,11 +691,6 @@ export const SchedulerCronBuilder = React.forwardRef(function SchedulerCronBuild
691
691
  return React.createElement(customElements.getName(SchedulerCronBuilderWC) ?? '%%prefix%%-scheduler-cron-builder', { ...rest, ref }, children);
692
692
  });
693
693
 
694
- export const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref) {
695
- const { children, ...rest } = props;
696
- return React.createElement(customElements.getName(SchedulerTimezoneWC) ?? '%%prefix%%-scheduler-timezone', { ...rest, ref }, children);
697
- });
698
-
699
694
  export const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
700
695
  const { onOpenChange, children, ...rest } = props;
701
696
  const _innerRef = React.useRef(null);
@@ -730,6 +725,11 @@ export const SearchBar = React.forwardRef(function SearchBar(props, ref) {
730
725
  return React.createElement(customElements.getName(SearchBarWC) ?? '%%prefix%%-search-bar', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
731
726
  });
732
727
 
728
+ export const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref) {
729
+ const { children, ...rest } = props;
730
+ return React.createElement(customElements.getName(SchedulerTimezoneWC) ?? '%%prefix%%-scheduler-timezone', { ...rest, ref }, children);
731
+ });
732
+
733
733
  export const SectionNavigator = React.forwardRef(function SectionNavigator(props, ref) {
734
734
  const { onSectionNavigatorSetState, onSectionNavigatorSetStates, onSectionNavigatorClearState, onSectionNavigatorClearAllStates, children, ...rest } = props;
735
735
  const _innerRef = React.useRef(null);
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.60.0",
4
+ "version": "15.61.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -37,12 +37,12 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
40
- "@genesislcap/foundation-testing": "15.60.0",
41
- "@genesislcap/genx": "15.60.0",
42
- "@genesislcap/ts-builder": "15.60.0",
43
- "@genesislcap/uvu-playwright-builder": "15.60.0",
44
- "@genesislcap/vite-builder": "15.60.0",
45
- "@genesislcap/webpack-builder": "15.60.0",
40
+ "@genesislcap/foundation-testing": "15.61.0",
41
+ "@genesislcap/genx": "15.61.0",
42
+ "@genesislcap/ts-builder": "15.61.0",
43
+ "@genesislcap/uvu-playwright-builder": "15.61.0",
44
+ "@genesislcap/vite-builder": "15.61.0",
45
+ "@genesislcap/webpack-builder": "15.61.0",
46
46
  "flexlayout-react": "0.10.8"
47
47
  },
48
48
  "peerDependencies": {
@@ -54,9 +54,9 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@genesislcap/foundation-logger": "15.60.0",
58
- "@genesislcap/foundation-ui": "15.60.0",
59
- "@genesislcap/foundation-utils": "15.60.0",
57
+ "@genesislcap/foundation-logger": "15.61.0",
58
+ "@genesislcap/foundation-ui": "15.61.0",
59
+ "@genesislcap/foundation-utils": "15.61.0",
60
60
  "@microsoft/fast-colors": "5.3.1",
61
61
  "@microsoft/fast-components": "2.30.6",
62
62
  "@microsoft/fast-element": "1.14.0",