@genesislcap/foundation-zero 15.57.0 → 15.58.1-FUI-2629.4

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<
@@ -151,6 +151,15 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
151
151
  >;
152
152
  export type ActionsMenuRef = ActionsMenuWC;
153
153
 
154
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
155
+ React.PropsWithChildren<
156
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
157
+ HTMLWCProps & {
158
+ }
159
+ > & React.RefAttributes<AiIndicatorWC>
160
+ >;
161
+ export type AiIndicatorRef = AiIndicatorWC;
162
+
154
163
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
155
164
  React.PropsWithChildren<
156
165
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -162,15 +171,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
162
171
  >;
163
172
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
164
173
 
165
- export declare const AiIndicator: React.ForwardRefExoticComponent<
166
- React.PropsWithChildren<
167
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
168
- HTMLWCProps & {
169
- }
170
- > & React.RefAttributes<AiIndicatorWC>
171
- >;
172
- export type AiIndicatorRef = AiIndicatorWC;
173
-
174
174
  export declare const Anchor: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
176
176
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
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) {
@@ -119,6 +119,11 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
119
119
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
120
120
  });
121
121
 
122
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
123
+ const { children, ...rest } = props;
124
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
125
+ });
126
+
122
127
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
123
128
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
124
129
  const _innerRef = React.useRef(null);
@@ -141,11 +146,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
141
146
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
142
147
  });
143
148
 
144
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
145
- const { children, ...rest } = props;
146
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
147
- });
148
-
149
149
  const Anchor = React.forwardRef(function Anchor(props, ref) {
150
150
  const { children, ...rest } = props;
151
151
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -1063,11 +1063,11 @@ 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
- AiCriteriaSearch,
1070
1069
  AiIndicator,
1070
+ AiCriteriaSearch,
1071
1071
  Anchor,
1072
1072
  AnchoredRegion,
1073
1073
  Avatar,
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) {
@@ -117,6 +117,11 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
117
117
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
118
118
  });
119
119
 
120
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
121
+ const { children, ...rest } = props;
122
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
123
+ });
124
+
120
125
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
121
126
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
122
127
  const _innerRef = React.useRef(null);
@@ -139,11 +144,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
139
144
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
140
145
  });
141
146
 
142
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
143
- const { children, ...rest } = props;
144
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
145
- });
146
-
147
147
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
148
148
  const { children, ...rest } = props;
149
149
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
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.57.0",
4
+ "version": "15.58.1-FUI-2629.4",
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.57.0",
74
- "@genesislcap/ts-builder": "15.57.0",
75
- "@genesislcap/uvu-playwright-builder": "15.57.0",
76
- "@genesislcap/vite-builder": "15.57.0",
77
- "@genesislcap/webpack-builder": "15.57.0"
73
+ "@genesislcap/genx": "15.58.1-FUI-2629.4",
74
+ "@genesislcap/ts-builder": "15.58.1-FUI-2629.4",
75
+ "@genesislcap/uvu-playwright-builder": "15.58.1-FUI-2629.4",
76
+ "@genesislcap/vite-builder": "15.58.1-FUI-2629.4",
77
+ "@genesislcap/webpack-builder": "15.58.1-FUI-2629.4"
78
78
  },
79
79
  "dependencies": {
80
- "@genesislcap/foundation-comms": "15.57.0",
81
- "@genesislcap/foundation-logger": "15.57.0",
82
- "@genesislcap/foundation-ui": "15.57.0",
83
- "@genesislcap/foundation-utils": "15.57.0",
80
+ "@genesislcap/foundation-comms": "15.58.1-FUI-2629.4",
81
+ "@genesislcap/foundation-logger": "15.58.1-FUI-2629.4",
82
+ "@genesislcap/foundation-ui": "15.58.1-FUI-2629.4",
83
+ "@genesislcap/foundation-utils": "15.58.1-FUI-2629.4",
84
84
  "@microsoft/fast-colors": "5.3.1",
85
85
  "@microsoft/fast-components": "2.30.6",
86
86
  "@microsoft/fast-element": "1.14.0",