@genesislcap/foundation-ui 15.25.1 → 15.26.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.
@@ -133,15 +133,6 @@ interface HTMLWCProps extends React.AriaAttributes {
133
133
  onInput?(e: Event): void;
134
134
  }
135
135
 
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
136
  export declare const AccordionItem: React.ForwardRefExoticComponent<
146
137
  React.PropsWithChildren<
147
138
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -180,6 +171,15 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
180
171
  >;
181
172
  export type AiIndicatorRef = AiIndicatorWC;
182
173
 
174
+ export declare const Accordion: React.ForwardRefExoticComponent<
175
+ React.PropsWithChildren<
176
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
177
+ HTMLWCProps & {
178
+ }
179
+ > & React.RefAttributes<AccordionWC>
180
+ >;
181
+ export type AccordionRef = AccordionWC;
182
+
183
183
  export declare const Anchor: React.ForwardRefExoticComponent<
184
184
  React.PropsWithChildren<
185
185
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
@@ -200,23 +200,23 @@ export declare const AnchoredRegion: React.ForwardRefExoticComponent<
200
200
  >;
201
201
  export type AnchoredRegionRef = AnchoredRegionWC;
202
202
 
203
- export declare const Badge: React.ForwardRefExoticComponent<
203
+ export declare const Avatar: React.ForwardRefExoticComponent<
204
204
  React.PropsWithChildren<
205
- Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
205
+ Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
206
206
  HTMLWCProps & {
207
207
  }
208
- > & React.RefAttributes<BadgeWC>
208
+ > & React.RefAttributes<AvatarWC>
209
209
  >;
210
- export type BadgeRef = BadgeWC;
210
+ export type AvatarRef = AvatarWC;
211
211
 
212
- export declare const Avatar: React.ForwardRefExoticComponent<
212
+ export declare const Badge: React.ForwardRefExoticComponent<
213
213
  React.PropsWithChildren<
214
- Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
214
+ Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
215
215
  HTMLWCProps & {
216
216
  }
217
- > & React.RefAttributes<AvatarWC>
217
+ > & React.RefAttributes<BadgeWC>
218
218
  >;
219
- export type AvatarRef = AvatarWC;
219
+ export type BadgeRef = BadgeWC;
220
220
 
221
221
  export declare const Banner: React.ForwardRefExoticComponent<
222
222
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -113,11 +113,6 @@ function _mergeRefs(...refs) {
113
113
  };
114
114
  }
115
115
 
116
- const Accordion = React.forwardRef(function Accordion(props, ref) {
117
- const { children, ...rest } = props;
118
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
119
- });
120
-
121
116
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
122
117
  const { children, ...rest } = props;
123
118
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -155,6 +150,11 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
155
150
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
156
151
  });
157
152
 
153
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
154
+ const { children, ...rest } = props;
155
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
156
+ });
157
+
158
158
  const Anchor = React.forwardRef(function Anchor(props, ref) {
159
159
  const { children, ...rest } = props;
160
160
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -182,14 +182,14 @@ const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
182
182
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
183
183
  });
184
184
 
185
- const Badge = React.forwardRef(function Badge(props, ref) {
185
+ const Avatar = React.forwardRef(function Avatar(props, ref) {
186
186
  const { children, ...rest } = props;
187
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
187
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
188
188
  });
189
189
 
190
- const Avatar = React.forwardRef(function Avatar(props, ref) {
190
+ const Badge = React.forwardRef(function Badge(props, ref) {
191
191
  const { children, ...rest } = props;
192
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
192
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
193
193
  });
194
194
 
195
195
  const Banner = React.forwardRef(function Banner(props, ref) {
@@ -1143,15 +1143,15 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1143
1143
  });
1144
1144
 
1145
1145
  module.exports = {
1146
- Accordion,
1147
1146
  AccordionItem,
1148
1147
  ActionsMenu,
1149
1148
  AiCriteriaSearch,
1150
1149
  AiIndicator,
1150
+ Accordion,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
1153
- Badge,
1154
1153
  Avatar,
1154
+ Badge,
1155
1155
  Banner,
1156
1156
  Breadcrumb,
1157
1157
  BreadcrumbItem,
package/dist/react.mjs CHANGED
@@ -111,11 +111,6 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
115
- const { children, ...rest } = props;
116
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
117
- });
118
-
119
114
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
120
115
  const { children, ...rest } = props;
121
116
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -153,6 +148,11 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
153
148
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
154
149
  });
155
150
 
151
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
152
+ const { children, ...rest } = props;
153
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
154
+ });
155
+
156
156
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
157
157
  const { children, ...rest } = props;
158
158
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -180,14 +180,14 @@ export const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, re
180
180
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
181
181
  });
182
182
 
183
- export const Badge = React.forwardRef(function Badge(props, ref) {
183
+ export const Avatar = React.forwardRef(function Avatar(props, ref) {
184
184
  const { children, ...rest } = props;
185
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
185
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
186
186
  });
187
187
 
188
- export const Avatar = React.forwardRef(function Avatar(props, ref) {
188
+ export const Badge = React.forwardRef(function Badge(props, ref) {
189
189
  const { children, ...rest } = props;
190
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
190
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
191
191
  });
192
192
 
193
193
  export const Banner = React.forwardRef(function Banner(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "15.25.1",
4
+ "version": "15.26.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -85,13 +85,13 @@
85
85
  }
86
86
  },
87
87
  "devDependencies": {
88
- "@genesislcap/foundation-testing": "15.25.1",
89
- "@genesislcap/genx": "15.25.1",
90
- "@genesislcap/rollup-builder": "15.25.1",
91
- "@genesislcap/ts-builder": "15.25.1",
92
- "@genesislcap/uvu-playwright-builder": "15.25.1",
93
- "@genesislcap/vite-builder": "15.25.1",
94
- "@genesislcap/webpack-builder": "15.25.1",
88
+ "@genesislcap/foundation-testing": "15.26.0",
89
+ "@genesislcap/genx": "15.26.0",
90
+ "@genesislcap/rollup-builder": "15.26.0",
91
+ "@genesislcap/ts-builder": "15.26.0",
92
+ "@genesislcap/uvu-playwright-builder": "15.26.0",
93
+ "@genesislcap/vite-builder": "15.26.0",
94
+ "@genesislcap/webpack-builder": "15.26.0",
95
95
  "copyfiles": "^2.4.1"
96
96
  },
97
97
  "dependencies": {
@@ -100,16 +100,16 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "15.25.1",
104
- "@genesislcap/foundation-ai": "15.25.1",
105
- "@genesislcap/foundation-comms": "15.25.1",
106
- "@genesislcap/foundation-criteria": "15.25.1",
107
- "@genesislcap/foundation-errors": "15.25.1",
108
- "@genesislcap/foundation-events": "15.25.1",
109
- "@genesislcap/foundation-logger": "15.25.1",
110
- "@genesislcap/foundation-notifications": "15.25.1",
111
- "@genesislcap/foundation-user": "15.25.1",
112
- "@genesislcap/foundation-utils": "15.25.1",
103
+ "@genesislcap/expression-builder": "15.26.0",
104
+ "@genesislcap/foundation-ai": "15.26.0",
105
+ "@genesislcap/foundation-comms": "15.26.0",
106
+ "@genesislcap/foundation-criteria": "15.26.0",
107
+ "@genesislcap/foundation-errors": "15.26.0",
108
+ "@genesislcap/foundation-events": "15.26.0",
109
+ "@genesislcap/foundation-logger": "15.26.0",
110
+ "@genesislcap/foundation-notifications": "15.26.0",
111
+ "@genesislcap/foundation-user": "15.26.0",
112
+ "@genesislcap/foundation-utils": "15.26.0",
113
113
  "@microsoft/fast-colors": "5.3.1",
114
114
  "@microsoft/fast-components": "2.30.6",
115
115
  "@microsoft/fast-element": "1.14.0",