@genesislcap/foundation-ui 15.2.1 → 15.3.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.
@@ -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'> &
@@ -171,6 +162,15 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
171
162
  >;
172
163
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
173
164
 
165
+ export declare const Accordion: React.ForwardRefExoticComponent<
166
+ React.PropsWithChildren<
167
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
168
+ HTMLWCProps & {
169
+ }
170
+ > & React.RefAttributes<AccordionWC>
171
+ >;
172
+ export type AccordionRef = AccordionWC;
173
+
174
174
  export declare const AiIndicator: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
176
176
  Omit<PublicOf<AiIndicatorWC>, '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);
@@ -150,6 +145,11 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
150
145
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
151
146
  });
152
147
 
148
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
149
+ const { children, ...rest } = props;
150
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
151
+ });
152
+
153
153
  const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
154
154
  const { children, ...rest } = props;
155
155
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...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,
1149
+ Accordion,
1150
1150
  AiIndicator,
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);
@@ -148,6 +143,11 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
148
143
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
149
144
  });
150
145
 
146
+ export 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
  export 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 @@ 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.2.1",
4
+ "version": "15.3.1",
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.2.1",
89
- "@genesislcap/genx": "15.2.1",
90
- "@genesislcap/rollup-builder": "15.2.1",
91
- "@genesislcap/ts-builder": "15.2.1",
92
- "@genesislcap/uvu-playwright-builder": "15.2.1",
93
- "@genesislcap/vite-builder": "15.2.1",
94
- "@genesislcap/webpack-builder": "15.2.1",
88
+ "@genesislcap/foundation-testing": "15.3.1",
89
+ "@genesislcap/genx": "15.3.1",
90
+ "@genesislcap/rollup-builder": "15.3.1",
91
+ "@genesislcap/ts-builder": "15.3.1",
92
+ "@genesislcap/uvu-playwright-builder": "15.3.1",
93
+ "@genesislcap/vite-builder": "15.3.1",
94
+ "@genesislcap/webpack-builder": "15.3.1",
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.2.1",
104
- "@genesislcap/foundation-ai": "15.2.1",
105
- "@genesislcap/foundation-comms": "15.2.1",
106
- "@genesislcap/foundation-criteria": "15.2.1",
107
- "@genesislcap/foundation-errors": "15.2.1",
108
- "@genesislcap/foundation-events": "15.2.1",
109
- "@genesislcap/foundation-logger": "15.2.1",
110
- "@genesislcap/foundation-notifications": "15.2.1",
111
- "@genesislcap/foundation-user": "15.2.1",
112
- "@genesislcap/foundation-utils": "15.2.1",
103
+ "@genesislcap/expression-builder": "15.3.1",
104
+ "@genesislcap/foundation-ai": "15.3.1",
105
+ "@genesislcap/foundation-comms": "15.3.1",
106
+ "@genesislcap/foundation-criteria": "15.3.1",
107
+ "@genesislcap/foundation-errors": "15.3.1",
108
+ "@genesislcap/foundation-events": "15.3.1",
109
+ "@genesislcap/foundation-logger": "15.3.1",
110
+ "@genesislcap/foundation-notifications": "15.3.1",
111
+ "@genesislcap/foundation-user": "15.3.1",
112
+ "@genesislcap/foundation-utils": "15.3.1",
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": "3917f3dc0bb5f4487bd30b37360fa0cddda92f0c"
145
+ "gitHead": "1c3a33f7d56acec166f832b9610e83343a8873e6"
146
146
  }