@genesislcap/foundation-zero 14.428.0 → 14.428.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.
@@ -117,6 +117,15 @@ interface HTMLWCProps extends React.AriaAttributes {
117
117
  onInput?(e: Event): void;
118
118
  }
119
119
 
120
+ export declare const Accordion: React.ForwardRefExoticComponent<
121
+ React.PropsWithChildren<
122
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
123
+ HTMLWCProps & {
124
+ }
125
+ > & React.RefAttributes<AccordionWC>
126
+ >;
127
+ export type AccordionRef = AccordionWC;
128
+
120
129
  export declare const AccordionItem: React.ForwardRefExoticComponent<
121
130
  React.PropsWithChildren<
122
131
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -135,15 +144,6 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
135
144
  >;
136
145
  export type ActionsMenuRef = ActionsMenuWC;
137
146
 
138
- export declare const Accordion: React.ForwardRefExoticComponent<
139
- React.PropsWithChildren<
140
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
141
- HTMLWCProps & {
142
- }
143
- > & React.RefAttributes<AccordionWC>
144
- >;
145
- export type AccordionRef = AccordionWC;
146
-
147
147
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
148
148
  React.PropsWithChildren<
149
149
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -99,6 +99,11 @@ function _mergeRefs(...refs) {
99
99
  };
100
100
  }
101
101
 
102
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
103
+ const { children, ...rest } = props;
104
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
105
+ });
106
+
102
107
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
103
108
  const { children, ...rest } = props;
104
109
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
@@ -109,11 +114,6 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
109
114
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
110
115
  });
111
116
 
112
- const Accordion = React.forwardRef(function Accordion(props, ref) {
113
- const { children, ...rest } = props;
114
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
115
- });
116
-
117
117
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
118
118
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
119
119
  const _innerRef = React.useRef(null);
@@ -857,9 +857,9 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
857
857
  });
858
858
 
859
859
  module.exports = {
860
+ Accordion,
860
861
  AccordionItem,
861
862
  ActionsMenu,
862
- Accordion,
863
863
  AiCriteriaSearch,
864
864
  AiIndicator,
865
865
  Anchor,
package/dist/react.mjs CHANGED
@@ -97,6 +97,11 @@ function _mergeRefs(...refs) {
97
97
  };
98
98
  }
99
99
 
100
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
101
+ const { children, ...rest } = props;
102
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
103
+ });
104
+
100
105
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
101
106
  const { children, ...rest } = props;
102
107
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
@@ -107,11 +112,6 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
107
112
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
108
113
  });
109
114
 
110
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
111
- const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
113
- });
114
-
115
115
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
116
116
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
117
117
  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": "14.428.0",
4
+ "version": "14.428.1",
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": "14.428.0",
77
- "@genesislcap/rollup-builder": "14.428.0",
78
- "@genesislcap/ts-builder": "14.428.0",
79
- "@genesislcap/uvu-playwright-builder": "14.428.0",
80
- "@genesislcap/vite-builder": "14.428.0",
81
- "@genesislcap/webpack-builder": "14.428.0"
76
+ "@genesislcap/genx": "14.428.1",
77
+ "@genesislcap/rollup-builder": "14.428.1",
78
+ "@genesislcap/ts-builder": "14.428.1",
79
+ "@genesislcap/uvu-playwright-builder": "14.428.1",
80
+ "@genesislcap/vite-builder": "14.428.1",
81
+ "@genesislcap/webpack-builder": "14.428.1"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "14.428.0",
85
- "@genesislcap/foundation-logger": "14.428.0",
86
- "@genesislcap/foundation-ui": "14.428.0",
87
- "@genesislcap/foundation-utils": "14.428.0",
84
+ "@genesislcap/foundation-comms": "14.428.1",
85
+ "@genesislcap/foundation-logger": "14.428.1",
86
+ "@genesislcap/foundation-ui": "14.428.1",
87
+ "@genesislcap/foundation-utils": "14.428.1",
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": "e43acca8a6393d0f3d243d4fd3625457c9b6a8e7"
114
+ "gitHead": "d0e41cc5c5065743cafe34d97ccf4a83480436f1"
115
115
  }