@genesislcap/foundation-zero 15.18.0 → 15.19.0-DCD-4786.3

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,6 +124,15 @@ interface HTMLWCProps extends React.AriaAttributes {
124
124
  onInput?(e: Event): void;
125
125
  }
126
126
 
127
+ export declare const Accordion: React.ForwardRefExoticComponent<
128
+ React.PropsWithChildren<
129
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
130
+ HTMLWCProps & {
131
+ }
132
+ > & React.RefAttributes<AccordionWC>
133
+ >;
134
+ export type AccordionRef = AccordionWC;
135
+
127
136
  export declare const AccordionItem: React.ForwardRefExoticComponent<
128
137
  React.PropsWithChildren<
129
138
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -142,14 +151,14 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
142
151
  >;
143
152
  export type ActionsMenuRef = ActionsMenuWC;
144
153
 
145
- export declare const Accordion: React.ForwardRefExoticComponent<
154
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
146
155
  React.PropsWithChildren<
147
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
156
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
148
157
  HTMLWCProps & {
149
158
  }
150
- > & React.RefAttributes<AccordionWC>
159
+ > & React.RefAttributes<AiIndicatorWC>
151
160
  >;
152
- export type AccordionRef = AccordionWC;
161
+ export type AiIndicatorRef = AiIndicatorWC;
153
162
 
154
163
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
155
164
  React.PropsWithChildren<
@@ -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,6 +104,11 @@ function _mergeRefs(...refs) {
104
104
  };
105
105
  }
106
106
 
107
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
108
+ const { children, ...rest } = props;
109
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
110
+ });
111
+
107
112
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
108
113
  const { children, ...rest } = props;
109
114
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
@@ -114,9 +119,9 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
114
119
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
115
120
  });
116
121
 
117
- const Accordion = React.forwardRef(function Accordion(props, ref) {
122
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
118
123
  const { children, ...rest } = props;
119
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
124
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
120
125
  });
121
126
 
122
127
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -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
+ Accordion,
1066
1067
  AccordionItem,
1067
1068
  ActionsMenu,
1068
- Accordion,
1069
- AiCriteriaSearch,
1070
1069
  AiIndicator,
1070
+ AiCriteriaSearch,
1071
1071
  Anchor,
1072
1072
  AnchoredRegion,
1073
1073
  Avatar,
package/dist/react.mjs CHANGED
@@ -102,6 +102,11 @@ function _mergeRefs(...refs) {
102
102
  };
103
103
  }
104
104
 
105
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
106
+ const { children, ...rest } = props;
107
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
108
+ });
109
+
105
110
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
106
111
  const { children, ...rest } = props;
107
112
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
@@ -112,9 +117,9 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
112
117
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
113
118
  });
114
119
 
115
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
120
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
116
121
  const { children, ...rest } = props;
117
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
122
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
118
123
  });
119
124
 
120
125
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -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.18.0",
4
+ "version": "15.19.0-DCD-4786.3",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -73,18 +73,18 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
76
- "@genesislcap/genx": "15.18.0",
77
- "@genesislcap/rollup-builder": "15.18.0",
78
- "@genesislcap/ts-builder": "15.18.0",
79
- "@genesislcap/uvu-playwright-builder": "15.18.0",
80
- "@genesislcap/vite-builder": "15.18.0",
81
- "@genesislcap/webpack-builder": "15.18.0"
76
+ "@genesislcap/genx": "15.19.0-DCD-4786.3",
77
+ "@genesislcap/rollup-builder": "15.19.0-DCD-4786.3",
78
+ "@genesislcap/ts-builder": "15.19.0-DCD-4786.3",
79
+ "@genesislcap/uvu-playwright-builder": "15.19.0-DCD-4786.3",
80
+ "@genesislcap/vite-builder": "15.19.0-DCD-4786.3",
81
+ "@genesislcap/webpack-builder": "15.19.0-DCD-4786.3"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "15.18.0",
85
- "@genesislcap/foundation-logger": "15.18.0",
86
- "@genesislcap/foundation-ui": "15.18.0",
87
- "@genesislcap/foundation-utils": "15.18.0",
84
+ "@genesislcap/foundation-comms": "15.19.0-DCD-4786.3",
85
+ "@genesislcap/foundation-logger": "15.19.0-DCD-4786.3",
86
+ "@genesislcap/foundation-ui": "15.19.0-DCD-4786.3",
87
+ "@genesislcap/foundation-utils": "15.19.0-DCD-4786.3",
88
88
  "@microsoft/fast-colors": "5.3.1",
89
89
  "@microsoft/fast-components": "2.30.6",
90
90
  "@microsoft/fast-element": "1.14.0",
@@ -110,6 +110,5 @@
110
110
  "import": "./dist/react.mjs",
111
111
  "require": "./dist/react.cjs"
112
112
  }
113
- },
114
- "gitHead": "a92013873774dbc7f67a32d37994f10777f86383"
113
+ }
115
114
  }