@genesislcap/foundation-ui 14.461.3-alpha-5a8ece015.0 → 14.463.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.
@@ -138,6 +138,15 @@ export declare const AccordionItem: React.ForwardRefExoticComponent<
138
138
  >;
139
139
  export type AccordionItemRef = AccordionItemWC;
140
140
 
141
+ export declare const Accordion: React.ForwardRefExoticComponent<
142
+ React.PropsWithChildren<
143
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
144
+ HTMLWCProps & {
145
+ }
146
+ > & React.RefAttributes<AccordionWC>
147
+ >;
148
+ export type AccordionRef = AccordionWC;
149
+
141
150
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
142
151
  React.PropsWithChildren<
143
152
  Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
@@ -158,15 +167,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
158
167
  >;
159
168
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
160
169
 
161
- export declare const Accordion: React.ForwardRefExoticComponent<
162
- React.PropsWithChildren<
163
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
164
- HTMLWCProps & {
165
- }
166
- > & React.RefAttributes<AccordionWC>
167
- >;
168
- export type AccordionRef = AccordionWC;
169
-
170
170
  export declare const AiIndicator: React.ForwardRefExoticComponent<
171
171
  React.PropsWithChildren<
172
172
  Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
@@ -196,23 +196,23 @@ export declare const AnchoredRegion: React.ForwardRefExoticComponent<
196
196
  >;
197
197
  export type AnchoredRegionRef = AnchoredRegionWC;
198
198
 
199
- export declare const Avatar: React.ForwardRefExoticComponent<
199
+ export declare const Badge: React.ForwardRefExoticComponent<
200
200
  React.PropsWithChildren<
201
- Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
201
+ Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
202
202
  HTMLWCProps & {
203
203
  }
204
- > & React.RefAttributes<AvatarWC>
204
+ > & React.RefAttributes<BadgeWC>
205
205
  >;
206
- export type AvatarRef = AvatarWC;
206
+ export type BadgeRef = BadgeWC;
207
207
 
208
- export declare const Badge: React.ForwardRefExoticComponent<
208
+ export declare const Avatar: React.ForwardRefExoticComponent<
209
209
  React.PropsWithChildren<
210
- Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
210
+ Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
211
211
  HTMLWCProps & {
212
212
  }
213
- > & React.RefAttributes<BadgeWC>
213
+ > & React.RefAttributes<AvatarWC>
214
214
  >;
215
- export type BadgeRef = BadgeWC;
215
+ export type AvatarRef = AvatarWC;
216
216
 
217
217
  export declare const Banner: React.ForwardRefExoticComponent<
218
218
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -116,6 +116,11 @@ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
116
116
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
117
117
  });
118
118
 
119
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
120
+ const { children, ...rest } = props;
121
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
122
+ });
123
+
119
124
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
120
125
  const { children, ...rest } = props;
121
126
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
@@ -143,11 +148,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
143
148
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
144
149
  });
145
150
 
146
- const Accordion = React.forwardRef(function Accordion(props, ref) {
147
- const { children, ...rest } = props;
148
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
149
- });
150
-
151
151
  const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
152
152
  const { children, ...rest } = props;
153
153
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
@@ -180,14 +180,14 @@ const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
180
180
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
181
181
  });
182
182
 
183
- const Avatar = React.forwardRef(function Avatar(props, ref) {
183
+ const Badge = React.forwardRef(function Badge(props, ref) {
184
184
  const { children, ...rest } = props;
185
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
185
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
186
186
  });
187
187
 
188
- const Badge = React.forwardRef(function Badge(props, ref) {
188
+ const Avatar = React.forwardRef(function Avatar(props, ref) {
189
189
  const { children, ...rest } = props;
190
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
190
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
191
191
  });
192
192
 
193
193
  const Banner = React.forwardRef(function Banner(props, ref) {
@@ -1079,14 +1079,14 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1079
1079
 
1080
1080
  module.exports = {
1081
1081
  AccordionItem,
1082
+ Accordion,
1082
1083
  ActionsMenu,
1083
1084
  AiCriteriaSearch,
1084
- Accordion,
1085
1085
  AiIndicator,
1086
1086
  Anchor,
1087
1087
  AnchoredRegion,
1088
- Avatar,
1089
1088
  Badge,
1089
+ Avatar,
1090
1090
  Banner,
1091
1091
  Breadcrumb,
1092
1092
  BreadcrumbItem,
package/dist/react.mjs CHANGED
@@ -114,6 +114,11 @@ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref)
114
114
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
115
115
  });
116
116
 
117
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
118
+ const { children, ...rest } = props;
119
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
120
+ });
121
+
117
122
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
118
123
  const { children, ...rest } = props;
119
124
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
@@ -141,11 +146,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
141
146
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
142
147
  });
143
148
 
144
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
145
- const { children, ...rest } = props;
146
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
147
- });
148
-
149
149
  export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
150
150
  const { children, ...rest } = props;
151
151
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
@@ -178,14 +178,14 @@ export const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, re
178
178
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
179
179
  });
180
180
 
181
- export const Avatar = React.forwardRef(function Avatar(props, ref) {
181
+ export const Badge = React.forwardRef(function Badge(props, ref) {
182
182
  const { children, ...rest } = props;
183
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
183
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
184
184
  });
185
185
 
186
- export const Badge = React.forwardRef(function Badge(props, ref) {
186
+ export const Avatar = React.forwardRef(function Avatar(props, ref) {
187
187
  const { children, ...rest } = props;
188
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
188
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
189
189
  });
190
190
 
191
191
  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": "14.461.3-alpha-5a8ece015.0",
4
+ "version": "14.463.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": "14.461.3-alpha-5a8ece015.0",
89
- "@genesislcap/genx": "14.461.3-alpha-5a8ece015.0",
90
- "@genesislcap/rollup-builder": "14.461.3-alpha-5a8ece015.0",
91
- "@genesislcap/ts-builder": "14.461.3-alpha-5a8ece015.0",
92
- "@genesislcap/uvu-playwright-builder": "14.461.3-alpha-5a8ece015.0",
93
- "@genesislcap/vite-builder": "14.461.3-alpha-5a8ece015.0",
94
- "@genesislcap/webpack-builder": "14.461.3-alpha-5a8ece015.0",
88
+ "@genesislcap/foundation-testing": "14.463.0",
89
+ "@genesislcap/genx": "14.463.0",
90
+ "@genesislcap/rollup-builder": "14.463.0",
91
+ "@genesislcap/ts-builder": "14.463.0",
92
+ "@genesislcap/uvu-playwright-builder": "14.463.0",
93
+ "@genesislcap/vite-builder": "14.463.0",
94
+ "@genesislcap/webpack-builder": "14.463.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": "14.461.3-alpha-5a8ece015.0",
104
- "@genesislcap/foundation-ai": "14.461.3-alpha-5a8ece015.0",
105
- "@genesislcap/foundation-comms": "14.461.3-alpha-5a8ece015.0",
106
- "@genesislcap/foundation-criteria": "14.461.3-alpha-5a8ece015.0",
107
- "@genesislcap/foundation-errors": "14.461.3-alpha-5a8ece015.0",
108
- "@genesislcap/foundation-events": "14.461.3-alpha-5a8ece015.0",
109
- "@genesislcap/foundation-logger": "14.461.3-alpha-5a8ece015.0",
110
- "@genesislcap/foundation-notifications": "14.461.3-alpha-5a8ece015.0",
111
- "@genesislcap/foundation-user": "14.461.3-alpha-5a8ece015.0",
112
- "@genesislcap/foundation-utils": "14.461.3-alpha-5a8ece015.0",
103
+ "@genesislcap/expression-builder": "14.463.0",
104
+ "@genesislcap/foundation-ai": "14.463.0",
105
+ "@genesislcap/foundation-comms": "14.463.0",
106
+ "@genesislcap/foundation-criteria": "14.463.0",
107
+ "@genesislcap/foundation-errors": "14.463.0",
108
+ "@genesislcap/foundation-events": "14.463.0",
109
+ "@genesislcap/foundation-logger": "14.463.0",
110
+ "@genesislcap/foundation-notifications": "14.463.0",
111
+ "@genesislcap/foundation-user": "14.463.0",
112
+ "@genesislcap/foundation-utils": "14.463.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",
@@ -142,5 +142,5 @@
142
142
  "require": "./dist/react.cjs"
143
143
  }
144
144
  },
145
- "gitHead": "0502e6305a3ff0da8b683ca1edb3b770438f4c04"
145
+ "gitHead": "10609317b421ff2f0ea1f95dc584808a854d625e"
146
146
  }