@genesislcap/rapid-design-system 14.491.0 → 14.491.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.
@@ -117,6 +117,15 @@ interface HTMLWCProps extends React.AriaAttributes {
117
117
  onInput?(e: Event): void;
118
118
  }
119
119
 
120
+ export declare const Accordion: React.ForwardRefExoticComponent<
121
+ React.PropsWithChildren<
122
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
123
+ HTMLWCProps & {
124
+ }
125
+ > & React.RefAttributes<AccordionWC>
126
+ >;
127
+ export type AccordionRef = AccordionWC;
128
+
120
129
  export declare const AccordionItem: React.ForwardRefExoticComponent<
121
130
  React.PropsWithChildren<
122
131
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -126,14 +135,14 @@ export declare const AccordionItem: React.ForwardRefExoticComponent<
126
135
  >;
127
136
  export type AccordionItemRef = AccordionItemWC;
128
137
 
129
- export declare const Accordion: React.ForwardRefExoticComponent<
138
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
130
139
  React.PropsWithChildren<
131
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
140
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
132
141
  HTMLWCProps & {
133
142
  }
134
- > & React.RefAttributes<AccordionWC>
143
+ > & React.RefAttributes<ActionsMenuWC>
135
144
  >;
136
- export type AccordionRef = AccordionWC;
145
+ export type ActionsMenuRef = ActionsMenuWC;
137
146
 
138
147
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
139
148
  React.PropsWithChildren<
@@ -146,15 +155,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
146
155
  >;
147
156
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
148
157
 
149
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
150
- React.PropsWithChildren<
151
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
152
- HTMLWCProps & {
153
- }
154
- > & React.RefAttributes<ActionsMenuWC>
155
- >;
156
- export type ActionsMenuRef = ActionsMenuWC;
157
-
158
158
  export declare const AiIndicator: React.ForwardRefExoticComponent<
159
159
  React.PropsWithChildren<
160
160
  Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -97,14 +97,19 @@ function _mergeRefs(...refs) {
97
97
  };
98
98
  }
99
99
 
100
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
101
+ const { children, ...rest } = props;
102
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
103
+ });
104
+
100
105
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
101
106
  const { children, ...rest } = props;
102
107
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
103
108
  });
104
109
 
105
- const Accordion = React.forwardRef(function Accordion(props, ref) {
110
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
106
111
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
112
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
108
113
  });
109
114
 
110
115
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -129,11 +134,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
129
134
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
130
135
  });
131
136
 
132
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
133
- const { children, ...rest } = props;
134
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
135
- });
136
-
137
137
  const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
138
138
  const { children, ...rest } = props;
139
139
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
@@ -958,10 +958,10 @@ const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props,
958
958
  });
959
959
 
960
960
  module.exports = {
961
- AccordionItem,
962
961
  Accordion,
963
- AiCriteriaSearch,
962
+ AccordionItem,
964
963
  ActionsMenu,
964
+ AiCriteriaSearch,
965
965
  AiIndicator,
966
966
  Anchor,
967
967
  AnchoredRegion,
package/dist/react.mjs CHANGED
@@ -95,14 +95,19 @@ function _mergeRefs(...refs) {
95
95
  };
96
96
  }
97
97
 
98
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
99
+ const { children, ...rest } = props;
100
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
101
+ });
102
+
98
103
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
99
104
  const { children, ...rest } = props;
100
105
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
101
106
  });
102
107
 
103
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
108
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
104
109
  const { children, ...rest } = props;
105
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
110
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
106
111
  });
107
112
 
108
113
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -127,11 +132,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
127
132
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
128
133
  });
129
134
 
130
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
131
- const { children, ...rest } = props;
132
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
133
- });
134
-
135
135
  export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
136
136
  const { children, ...rest } = props;
137
137
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...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": "14.491.0",
4
+ "version": "14.491.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -38,13 +38,13 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
41
- "@genesislcap/foundation-testing": "14.491.0",
42
- "@genesislcap/genx": "14.491.0",
43
- "@genesislcap/rollup-builder": "14.491.0",
44
- "@genesislcap/ts-builder": "14.491.0",
45
- "@genesislcap/uvu-playwright-builder": "14.491.0",
46
- "@genesislcap/vite-builder": "14.491.0",
47
- "@genesislcap/webpack-builder": "14.491.0",
41
+ "@genesislcap/foundation-testing": "14.491.1",
42
+ "@genesislcap/genx": "14.491.1",
43
+ "@genesislcap/rollup-builder": "14.491.1",
44
+ "@genesislcap/ts-builder": "14.491.1",
45
+ "@genesislcap/uvu-playwright-builder": "14.491.1",
46
+ "@genesislcap/vite-builder": "14.491.1",
47
+ "@genesislcap/webpack-builder": "14.491.1",
48
48
  "flexlayout-react": "^0.8.19"
49
49
  },
50
50
  "peerDependencies": {
@@ -56,9 +56,9 @@
56
56
  }
57
57
  },
58
58
  "dependencies": {
59
- "@genesislcap/foundation-logger": "14.491.0",
60
- "@genesislcap/foundation-ui": "14.491.0",
61
- "@genesislcap/foundation-utils": "14.491.0",
59
+ "@genesislcap/foundation-logger": "14.491.1",
60
+ "@genesislcap/foundation-ui": "14.491.1",
61
+ "@genesislcap/foundation-utils": "14.491.1",
62
62
  "@microsoft/fast-colors": "5.3.1",
63
63
  "@microsoft/fast-components": "2.30.6",
64
64
  "@microsoft/fast-element": "1.14.0",
@@ -86,5 +86,5 @@
86
86
  "require": "./dist/react.cjs"
87
87
  }
88
88
  },
89
- "gitHead": "fe8d35e6f405de70f75acf61dbe65afa428ae37d"
89
+ "gitHead": "f4f0c1e530c16f54fda208dd503b79f14cc9200c"
90
90
  }