@genesislcap/foundation-zero 15.63.0 → 15.64.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.
@@ -124,23 +124,23 @@ interface HTMLWCProps extends React.AriaAttributes {
124
124
  onInput?(e: Event): void;
125
125
  }
126
126
 
127
- export declare const AccordionItem: React.ForwardRefExoticComponent<
127
+ export declare const Accordion: React.ForwardRefExoticComponent<
128
128
  React.PropsWithChildren<
129
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
129
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
130
130
  HTMLWCProps & {
131
131
  }
132
- > & React.RefAttributes<AccordionItemWC>
132
+ > & React.RefAttributes<AccordionWC>
133
133
  >;
134
- export type AccordionItemRef = AccordionItemWC;
134
+ export type AccordionRef = AccordionWC;
135
135
 
136
- export declare const Accordion: React.ForwardRefExoticComponent<
136
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
137
137
  React.PropsWithChildren<
138
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
138
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
139
139
  HTMLWCProps & {
140
140
  }
141
- > & React.RefAttributes<AccordionWC>
141
+ > & React.RefAttributes<AccordionItemWC>
142
142
  >;
143
- export type AccordionRef = AccordionWC;
143
+ export type AccordionItemRef = AccordionItemWC;
144
144
 
145
145
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
146
146
  React.PropsWithChildren<
@@ -200,23 +200,23 @@ export declare const Avatar: React.ForwardRefExoticComponent<
200
200
  >;
201
201
  export type AvatarRef = AvatarWC;
202
202
 
203
- export declare const Badge: React.ForwardRefExoticComponent<
203
+ export declare const Banner: React.ForwardRefExoticComponent<
204
204
  React.PropsWithChildren<
205
- Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
205
+ Omit<PublicOf<BannerWC>, 'children' | 'style'> &
206
206
  HTMLWCProps & {
207
207
  }
208
- > & React.RefAttributes<BadgeWC>
208
+ > & React.RefAttributes<BannerWC>
209
209
  >;
210
- export type BadgeRef = BadgeWC;
210
+ export type BannerRef = BannerWC;
211
211
 
212
- export declare const Banner: React.ForwardRefExoticComponent<
212
+ export declare const Badge: React.ForwardRefExoticComponent<
213
213
  React.PropsWithChildren<
214
- Omit<PublicOf<BannerWC>, 'children' | 'style'> &
214
+ Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
215
215
  HTMLWCProps & {
216
216
  }
217
- > & React.RefAttributes<BannerWC>
217
+ > & React.RefAttributes<BadgeWC>
218
218
  >;
219
- export type BannerRef = BannerWC;
219
+ export type BadgeRef = BadgeWC;
220
220
 
221
221
  export declare const Breadcrumb: React.ForwardRefExoticComponent<
222
222
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -104,14 +104,14 @@ function _mergeRefs(...refs) {
104
104
  };
105
105
  }
106
106
 
107
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
107
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
108
108
  const { children, ...rest } = props;
109
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
109
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
110
110
  });
111
111
 
112
- const Accordion = React.forwardRef(function Accordion(props, ref) {
112
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
113
113
  const { children, ...rest } = props;
114
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
114
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
115
115
  });
116
116
 
117
117
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -178,14 +178,14 @@ const Avatar = React.forwardRef(function Avatar(props, ref) {
178
178
  return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
179
179
  });
180
180
 
181
- const Badge = React.forwardRef(function Badge(props, ref) {
181
+ const Banner = React.forwardRef(function Banner(props, ref) {
182
182
  const { children, ...rest } = props;
183
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
183
+ return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
184
184
  });
185
185
 
186
- const Banner = React.forwardRef(function Banner(props, ref) {
186
+ const Badge = React.forwardRef(function Badge(props, ref) {
187
187
  const { children, ...rest } = props;
188
- return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
188
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
189
189
  });
190
190
 
191
191
  const Breadcrumb = React.forwardRef(function Breadcrumb(props, ref) {
@@ -1063,16 +1063,16 @@ const VerificationCodeInput = React.forwardRef(function VerificationCodeInput(pr
1063
1063
  });
1064
1064
 
1065
1065
  module.exports = {
1066
- AccordionItem,
1067
1066
  Accordion,
1067
+ AccordionItem,
1068
1068
  ActionsMenu,
1069
1069
  AiCriteriaSearch,
1070
1070
  AiIndicator,
1071
1071
  Anchor,
1072
1072
  AnchoredRegion,
1073
1073
  Avatar,
1074
- Badge,
1075
1074
  Banner,
1075
+ Badge,
1076
1076
  Breadcrumb,
1077
1077
  BreadcrumbItem,
1078
1078
  Button,
package/dist/react.mjs CHANGED
@@ -102,14 +102,14 @@ function _mergeRefs(...refs) {
102
102
  };
103
103
  }
104
104
 
105
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
105
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
106
106
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
108
108
  });
109
109
 
110
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
110
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
111
111
  const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
112
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
113
113
  });
114
114
 
115
115
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -176,14 +176,14 @@ export const Avatar = React.forwardRef(function Avatar(props, ref) {
176
176
  return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
177
177
  });
178
178
 
179
- export const Badge = React.forwardRef(function Badge(props, ref) {
179
+ export const Banner = React.forwardRef(function Banner(props, ref) {
180
180
  const { children, ...rest } = props;
181
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
181
+ return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
182
182
  });
183
183
 
184
- export const Banner = React.forwardRef(function Banner(props, ref) {
184
+ export const Badge = React.forwardRef(function Badge(props, ref) {
185
185
  const { children, ...rest } = props;
186
- return React.createElement(customElements.getName(BannerWC) ?? '%%prefix%%-banner', { ...rest, ref }, children);
186
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
187
187
  });
188
188
 
189
189
  export const Breadcrumb = React.forwardRef(function Breadcrumb(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "15.63.0",
4
+ "version": "15.64.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -70,17 +70,17 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
73
- "@genesislcap/genx": "15.63.0",
74
- "@genesislcap/ts-builder": "15.63.0",
75
- "@genesislcap/uvu-playwright-builder": "15.63.0",
76
- "@genesislcap/vite-builder": "15.63.0",
77
- "@genesislcap/webpack-builder": "15.63.0"
73
+ "@genesislcap/genx": "15.64.0",
74
+ "@genesislcap/ts-builder": "15.64.0",
75
+ "@genesislcap/uvu-playwright-builder": "15.64.0",
76
+ "@genesislcap/vite-builder": "15.64.0",
77
+ "@genesislcap/webpack-builder": "15.64.0"
78
78
  },
79
79
  "dependencies": {
80
- "@genesislcap/foundation-comms": "15.63.0",
81
- "@genesislcap/foundation-logger": "15.63.0",
82
- "@genesislcap/foundation-ui": "15.63.0",
83
- "@genesislcap/foundation-utils": "15.63.0",
80
+ "@genesislcap/foundation-comms": "15.64.0",
81
+ "@genesislcap/foundation-logger": "15.64.0",
82
+ "@genesislcap/foundation-ui": "15.64.0",
83
+ "@genesislcap/foundation-utils": "15.64.0",
84
84
  "@microsoft/fast-colors": "5.3.1",
85
85
  "@microsoft/fast-components": "2.30.6",
86
86
  "@microsoft/fast-element": "1.14.0",