@genesislcap/rapid-design-system 15.30.0 → 15.30.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.
@@ -120,6 +120,15 @@ interface HTMLWCProps extends React.AriaAttributes {
120
120
  onInput?(e: Event): void;
121
121
  }
122
122
 
123
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
124
+ React.PropsWithChildren<
125
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
126
+ HTMLWCProps & {
127
+ }
128
+ > & React.RefAttributes<AccordionItemWC>
129
+ >;
130
+ export type AccordionItemRef = AccordionItemWC;
131
+
123
132
  export declare const Accordion: React.ForwardRefExoticComponent<
124
133
  React.PropsWithChildren<
125
134
  Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
@@ -129,14 +138,14 @@ export declare const Accordion: React.ForwardRefExoticComponent<
129
138
  >;
130
139
  export type AccordionRef = AccordionWC;
131
140
 
132
- export declare const AccordionItem: React.ForwardRefExoticComponent<
141
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
133
142
  React.PropsWithChildren<
134
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
143
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
135
144
  HTMLWCProps & {
136
145
  }
137
- > & React.RefAttributes<AccordionItemWC>
146
+ > & React.RefAttributes<ActionsMenuWC>
138
147
  >;
139
- export type AccordionItemRef = AccordionItemWC;
148
+ export type ActionsMenuRef = ActionsMenuWC;
140
149
 
141
150
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
142
151
  React.PropsWithChildren<
@@ -158,15 +167,6 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
158
167
  >;
159
168
  export type AiIndicatorRef = AiIndicatorWC;
160
169
 
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'> &
package/dist/react.cjs CHANGED
@@ -99,14 +99,19 @@ function _mergeRefs(...refs) {
99
99
  };
100
100
  }
101
101
 
102
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
103
+ const { children, ...rest } = props;
104
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
105
+ });
106
+
102
107
  const Accordion = React.forwardRef(function Accordion(props, ref) {
103
108
  const { children, ...rest } = props;
104
109
  return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
105
110
  });
106
111
 
107
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
112
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
108
113
  const { children, ...rest } = props;
109
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
114
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
110
115
  });
111
116
 
112
117
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -136,11 +141,6 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
136
141
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
137
142
  });
138
143
 
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);
@@ -999,11 +999,11 @@ const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props,
999
999
  });
1000
1000
 
1001
1001
  module.exports = {
1002
- Accordion,
1003
1002
  AccordionItem,
1003
+ Accordion,
1004
+ ActionsMenu,
1004
1005
  AiCriteriaSearch,
1005
1006
  AiIndicator,
1006
- ActionsMenu,
1007
1007
  Anchor,
1008
1008
  AnchoredRegion,
1009
1009
  Avatar,
package/dist/react.mjs CHANGED
@@ -97,14 +97,19 @@ function _mergeRefs(...refs) {
97
97
  };
98
98
  }
99
99
 
100
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
101
+ const { children, ...rest } = props;
102
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
103
+ });
104
+
100
105
  export const Accordion = React.forwardRef(function Accordion(props, ref) {
101
106
  const { children, ...rest } = props;
102
107
  return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
103
108
  });
104
109
 
105
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
110
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
106
111
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
112
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
108
113
  });
109
114
 
110
115
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -134,11 +139,6 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
134
139
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
135
140
  });
136
141
 
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);
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.30.0",
4
+ "version": "15.30.1",
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.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",
43
+ "@genesislcap/foundation-testing": "15.30.1",
44
+ "@genesislcap/genx": "15.30.1",
45
+ "@genesislcap/rollup-builder": "15.30.1",
46
+ "@genesislcap/ts-builder": "15.30.1",
47
+ "@genesislcap/uvu-playwright-builder": "15.30.1",
48
+ "@genesislcap/vite-builder": "15.30.1",
49
+ "@genesislcap/webpack-builder": "15.30.1",
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.30.0",
62
- "@genesislcap/foundation-ui": "15.30.0",
63
- "@genesislcap/foundation-utils": "15.30.0",
61
+ "@genesislcap/foundation-logger": "15.30.1",
62
+ "@genesislcap/foundation-ui": "15.30.1",
63
+ "@genesislcap/foundation-utils": "15.30.1",
64
64
  "@microsoft/fast-colors": "5.3.1",
65
65
  "@microsoft/fast-components": "2.30.6",
66
66
  "@microsoft/fast-element": "1.14.0",