@genesislcap/rapid-design-system 14.457.0 → 14.457.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.
@@ -115,6 +115,15 @@ interface HTMLWCProps extends React.AriaAttributes {
115
115
  onInput?(e: Event): void;
116
116
  }
117
117
 
118
+ export declare const Accordion: React.ForwardRefExoticComponent<
119
+ React.PropsWithChildren<
120
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
121
+ HTMLWCProps & {
122
+ }
123
+ > & React.RefAttributes<AccordionWC>
124
+ >;
125
+ export type AccordionRef = AccordionWC;
126
+
118
127
  export declare const AccordionItem: React.ForwardRefExoticComponent<
119
128
  React.PropsWithChildren<
120
129
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -133,15 +142,6 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
133
142
  >;
134
143
  export type ActionsMenuRef = ActionsMenuWC;
135
144
 
136
- export declare const Accordion: React.ForwardRefExoticComponent<
137
- React.PropsWithChildren<
138
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
139
- HTMLWCProps & {
140
- }
141
- > & React.RefAttributes<AccordionWC>
142
- >;
143
- export type AccordionRef = AccordionWC;
144
-
145
145
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
146
146
  React.PropsWithChildren<
147
147
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -171,15 +171,6 @@ export declare const Anchor: React.ForwardRefExoticComponent<
171
171
  >;
172
172
  export type AnchorRef = AnchorWC;
173
173
 
174
- export declare const Avatar: React.ForwardRefExoticComponent<
175
- React.PropsWithChildren<
176
- Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
177
- HTMLWCProps & {
178
- }
179
- > & React.RefAttributes<AvatarWC>
180
- >;
181
- export type AvatarRef = AvatarWC;
182
-
183
174
  export declare const AnchoredRegion: React.ForwardRefExoticComponent<
184
175
  React.PropsWithChildren<
185
176
  Omit<PublicOf<AnchoredRegionWC>, 'children' | 'style'> &
@@ -191,6 +182,15 @@ export declare const AnchoredRegion: React.ForwardRefExoticComponent<
191
182
  >;
192
183
  export type AnchoredRegionRef = AnchoredRegionWC;
193
184
 
185
+ export declare const Avatar: React.ForwardRefExoticComponent<
186
+ React.PropsWithChildren<
187
+ Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
188
+ HTMLWCProps & {
189
+ }
190
+ > & React.RefAttributes<AvatarWC>
191
+ >;
192
+ export type AvatarRef = AvatarWC;
193
+
194
194
  export declare const Badge: React.ForwardRefExoticComponent<
195
195
  React.PropsWithChildren<
196
196
  Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -97,6 +97,11 @@ 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);
@@ -107,11 +112,6 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
107
112
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
108
113
  });
109
114
 
110
- const Accordion = React.forwardRef(function Accordion(props, ref) {
111
- const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
113
- });
114
-
115
115
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
116
116
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
117
117
  const _innerRef = React.useRef(null);
@@ -144,11 +144,6 @@ const Anchor = React.forwardRef(function Anchor(props, ref) {
144
144
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
145
145
  });
146
146
 
147
- const Avatar = React.forwardRef(function Avatar(props, ref) {
148
- const { children, ...rest } = props;
149
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
150
- });
151
-
152
147
  const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
153
148
  const { onLoaded, onPositionchange, children, ...rest } = props;
154
149
  const _innerRef = React.useRef(null);
@@ -171,6 +166,11 @@ const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
171
166
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
172
167
  });
173
168
 
169
+ const Avatar = React.forwardRef(function Avatar(props, ref) {
170
+ const { children, ...rest } = props;
171
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
172
+ });
173
+
174
174
  const Badge = React.forwardRef(function Badge(props, ref) {
175
175
  const { children, ...rest } = props;
176
176
  return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
@@ -824,14 +824,14 @@ const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props,
824
824
  });
825
825
 
826
826
  module.exports = {
827
+ Accordion,
827
828
  AccordionItem,
828
829
  ActionsMenu,
829
- Accordion,
830
830
  AiCriteriaSearch,
831
831
  AiIndicator,
832
832
  Anchor,
833
- Avatar,
834
833
  AnchoredRegion,
834
+ Avatar,
835
835
  Badge,
836
836
  Banner,
837
837
  Breadcrumb,
package/dist/react.mjs CHANGED
@@ -95,6 +95,11 @@ 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);
@@ -105,11 +110,6 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
105
110
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
106
111
  });
107
112
 
108
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
109
- const { children, ...rest } = props;
110
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
111
- });
112
-
113
113
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
114
114
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
115
115
  const _innerRef = React.useRef(null);
@@ -142,11 +142,6 @@ export const Anchor = React.forwardRef(function Anchor(props, ref) {
142
142
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
143
143
  });
144
144
 
145
- export const Avatar = React.forwardRef(function Avatar(props, ref) {
146
- const { children, ...rest } = props;
147
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
148
- });
149
-
150
145
  export const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
151
146
  const { onLoaded, onPositionchange, children, ...rest } = props;
152
147
  const _innerRef = React.useRef(null);
@@ -169,6 +164,11 @@ export const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, re
169
164
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
170
165
  });
171
166
 
167
+ export const Avatar = React.forwardRef(function Avatar(props, ref) {
168
+ const { children, ...rest } = props;
169
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
170
+ });
171
+
172
172
  export const Badge = React.forwardRef(function Badge(props, ref) {
173
173
  const { children, ...rest } = props;
174
174
  return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...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.457.0",
4
+ "version": "14.457.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -35,17 +35,17 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
38
- "@genesislcap/genx": "14.457.0",
39
- "@genesislcap/rollup-builder": "14.457.0",
40
- "@genesislcap/ts-builder": "14.457.0",
41
- "@genesislcap/uvu-playwright-builder": "14.457.0",
42
- "@genesislcap/vite-builder": "14.457.0",
43
- "@genesislcap/webpack-builder": "14.457.0"
38
+ "@genesislcap/genx": "14.457.1",
39
+ "@genesislcap/rollup-builder": "14.457.1",
40
+ "@genesislcap/ts-builder": "14.457.1",
41
+ "@genesislcap/uvu-playwright-builder": "14.457.1",
42
+ "@genesislcap/vite-builder": "14.457.1",
43
+ "@genesislcap/webpack-builder": "14.457.1"
44
44
  },
45
45
  "dependencies": {
46
- "@genesislcap/foundation-logger": "14.457.0",
47
- "@genesislcap/foundation-ui": "14.457.0",
48
- "@genesislcap/foundation-utils": "14.457.0",
46
+ "@genesislcap/foundation-logger": "14.457.1",
47
+ "@genesislcap/foundation-ui": "14.457.1",
48
+ "@genesislcap/foundation-utils": "14.457.1",
49
49
  "@microsoft/fast-colors": "5.3.1",
50
50
  "@microsoft/fast-components": "2.30.6",
51
51
  "@microsoft/fast-element": "1.14.0",
@@ -73,5 +73,5 @@
73
73
  "require": "./dist/react.cjs"
74
74
  }
75
75
  },
76
- "gitHead": "ecc0fcc5fa3bfe3365e2d7ca7c08cb80cd39e451"
76
+ "gitHead": "d11a46202d4f1404deffdaa867fcbe5b2c8225dc"
77
77
  }