@genesislcap/foundation-zero 15.11.0 → 15.12.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,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,15 +151,6 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
142
151
  >;
143
152
  export type ActionsMenuRef = ActionsMenuWC;
144
153
 
145
- export declare const Accordion: React.ForwardRefExoticComponent<
146
- React.PropsWithChildren<
147
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
148
- HTMLWCProps & {
149
- }
150
- > & React.RefAttributes<AccordionWC>
151
- >;
152
- export type AccordionRef = AccordionWC;
153
-
154
154
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
155
155
  React.PropsWithChildren<
156
156
  Omit<PublicOf<AiCriteriaSearchWC>, '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,11 +119,6 @@ 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) {
118
- const { children, ...rest } = props;
119
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
120
- });
121
-
122
122
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
123
123
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
124
124
  const _innerRef = React.useRef(null);
@@ -1063,9 +1063,9 @@ 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
1069
  AiCriteriaSearch,
1070
1070
  AiIndicator,
1071
1071
  Anchor,
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,11 +117,6 @@ 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) {
116
- const { children, ...rest } = props;
117
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
118
- });
119
-
120
120
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
121
121
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
122
122
  const _innerRef = React.useRef(null);
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.11.0",
4
+ "version": "15.12.0",
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.11.0",
77
- "@genesislcap/rollup-builder": "15.11.0",
78
- "@genesislcap/ts-builder": "15.11.0",
79
- "@genesislcap/uvu-playwright-builder": "15.11.0",
80
- "@genesislcap/vite-builder": "15.11.0",
81
- "@genesislcap/webpack-builder": "15.11.0"
76
+ "@genesislcap/genx": "15.12.0",
77
+ "@genesislcap/rollup-builder": "15.12.0",
78
+ "@genesislcap/ts-builder": "15.12.0",
79
+ "@genesislcap/uvu-playwright-builder": "15.12.0",
80
+ "@genesislcap/vite-builder": "15.12.0",
81
+ "@genesislcap/webpack-builder": "15.12.0"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "15.11.0",
85
- "@genesislcap/foundation-logger": "15.11.0",
86
- "@genesislcap/foundation-ui": "15.11.0",
87
- "@genesislcap/foundation-utils": "15.11.0",
84
+ "@genesislcap/foundation-comms": "15.12.0",
85
+ "@genesislcap/foundation-logger": "15.12.0",
86
+ "@genesislcap/foundation-ui": "15.12.0",
87
+ "@genesislcap/foundation-utils": "15.12.0",
88
88
  "@microsoft/fast-colors": "5.3.1",
89
89
  "@microsoft/fast-components": "2.30.6",
90
90
  "@microsoft/fast-element": "1.14.0",
@@ -111,5 +111,5 @@
111
111
  "require": "./dist/react.cjs"
112
112
  }
113
113
  },
114
- "gitHead": "261d900881ea1ca2b613033af497ffd449868eb0"
114
+ "gitHead": "06f5ab51086c6616c6b96a7a1aebccddb3af7881"
115
115
  }