@genesislcap/foundation-zero 14.455.0 → 14.455.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.
@@ -120,6 +120,15 @@ interface HTMLWCProps extends React.AriaAttributes {
120
120
  onInput?(e: Event): void;
121
121
  }
122
122
 
123
+ export declare const Accordion: React.ForwardRefExoticComponent<
124
+ React.PropsWithChildren<
125
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
126
+ HTMLWCProps & {
127
+ }
128
+ > & React.RefAttributes<AccordionWC>
129
+ >;
130
+ export type AccordionRef = AccordionWC;
131
+
123
132
  export declare const AccordionItem: React.ForwardRefExoticComponent<
124
133
  React.PropsWithChildren<
125
134
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -149,15 +158,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
149
158
  >;
150
159
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
151
160
 
152
- export declare const Accordion: React.ForwardRefExoticComponent<
153
- React.PropsWithChildren<
154
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
155
- HTMLWCProps & {
156
- }
157
- > & React.RefAttributes<AccordionWC>
158
- >;
159
- export type AccordionRef = AccordionWC;
160
-
161
161
  export declare const AiIndicator: React.ForwardRefExoticComponent<
162
162
  React.PropsWithChildren<
163
163
  Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -102,6 +102,11 @@ function _mergeRefs(...refs) {
102
102
  };
103
103
  }
104
104
 
105
+ 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
  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);
@@ -134,11 +139,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
134
139
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
135
140
  });
136
141
 
137
- const Accordion = React.forwardRef(function Accordion(props, ref) {
138
- const { children, ...rest } = props;
139
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
140
- });
141
-
142
142
  const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
143
143
  const { children, ...rest } = props;
144
144
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
@@ -900,10 +900,10 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
900
900
  });
901
901
 
902
902
  module.exports = {
903
+ Accordion,
903
904
  AccordionItem,
904
905
  ActionsMenu,
905
906
  AiCriteriaSearch,
906
- Accordion,
907
907
  AiIndicator,
908
908
  Anchor,
909
909
  AnchoredRegion,
package/dist/react.mjs CHANGED
@@ -100,6 +100,11 @@ function _mergeRefs(...refs) {
100
100
  };
101
101
  }
102
102
 
103
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
104
+ const { children, ...rest } = props;
105
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
106
+ });
107
+
103
108
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
104
109
  const { children, ...rest } = props;
105
110
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
@@ -132,11 +137,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
132
137
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
133
138
  });
134
139
 
135
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
136
- const { children, ...rest } = props;
137
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
138
- });
139
-
140
140
  export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
141
141
  const { children, ...rest } = props;
142
142
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...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": "14.455.0",
4
+ "version": "14.455.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.455.0",
77
- "@genesislcap/rollup-builder": "14.455.0",
78
- "@genesislcap/ts-builder": "14.455.0",
79
- "@genesislcap/uvu-playwright-builder": "14.455.0",
80
- "@genesislcap/vite-builder": "14.455.0",
81
- "@genesislcap/webpack-builder": "14.455.0"
76
+ "@genesislcap/genx": "14.455.1",
77
+ "@genesislcap/rollup-builder": "14.455.1",
78
+ "@genesislcap/ts-builder": "14.455.1",
79
+ "@genesislcap/uvu-playwright-builder": "14.455.1",
80
+ "@genesislcap/vite-builder": "14.455.1",
81
+ "@genesislcap/webpack-builder": "14.455.1"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "14.455.0",
85
- "@genesislcap/foundation-logger": "14.455.0",
86
- "@genesislcap/foundation-ui": "14.455.0",
87
- "@genesislcap/foundation-utils": "14.455.0",
84
+ "@genesislcap/foundation-comms": "14.455.1",
85
+ "@genesislcap/foundation-logger": "14.455.1",
86
+ "@genesislcap/foundation-ui": "14.455.1",
87
+ "@genesislcap/foundation-utils": "14.455.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": "4bc53b57369917a4760419c851494aa486bbe2a0"
114
+ "gitHead": "241f307737ad1b5c690bb4c947e61b2697159196"
115
115
  }