@genesislcap/foundation-ui 14.436.0 → 14.437.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'> &
@@ -138,15 +147,6 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
138
147
  >;
139
148
  export type ActionsMenuRef = ActionsMenuWC;
140
149
 
141
- export declare const AiIndicator: React.ForwardRefExoticComponent<
142
- React.PropsWithChildren<
143
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
144
- HTMLWCProps & {
145
- }
146
- > & React.RefAttributes<AiIndicatorWC>
147
- >;
148
- export type AiIndicatorRef = AiIndicatorWC;
149
-
150
150
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
151
151
  React.PropsWithChildren<
152
152
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -158,14 +158,14 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
158
158
  >;
159
159
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
160
160
 
161
- export declare const Accordion: React.ForwardRefExoticComponent<
161
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
162
162
  React.PropsWithChildren<
163
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
163
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
164
164
  HTMLWCProps & {
165
165
  }
166
- > & React.RefAttributes<AccordionWC>
166
+ > & React.RefAttributes<AiIndicatorWC>
167
167
  >;
168
- export type AccordionRef = AccordionWC;
168
+ export type AiIndicatorRef = AiIndicatorWC;
169
169
 
170
170
  export declare const Anchor: React.ForwardRefExoticComponent<
171
171
  React.PropsWithChildren<
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%%-accordion', { ...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%%-accordion-item', { ...rest, ref }, children);
@@ -112,11 +117,6 @@ 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
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
116
- const { children, ...rest } = props;
117
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
118
- });
119
-
120
120
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
121
121
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
122
122
  const _innerRef = React.useRef(null);
@@ -139,9 +139,9 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
139
139
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
140
140
  });
141
141
 
142
- const Accordion = React.forwardRef(function Accordion(props, ref) {
142
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
143
143
  const { children, ...rest } = props;
144
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
144
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
145
145
  });
146
146
 
147
147
  const Anchor = React.forwardRef(function Anchor(props, ref) {
@@ -877,11 +877,11 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
877
877
  });
878
878
 
879
879
  module.exports = {
880
+ Accordion,
880
881
  AccordionItem,
881
882
  ActionsMenu,
882
- AiIndicator,
883
883
  AiCriteriaSearch,
884
- Accordion,
884
+ AiIndicator,
885
885
  Anchor,
886
886
  AnchoredRegion,
887
887
  Avatar,
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%%-accordion', { ...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%%-accordion-item', { ...rest, ref }, children);
@@ -110,11 +115,6 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
110
115
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
111
116
  });
112
117
 
113
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
114
- const { children, ...rest } = props;
115
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
116
- });
117
-
118
118
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
119
119
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
120
120
  const _innerRef = React.useRef(null);
@@ -137,9 +137,9 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
137
137
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
138
138
  });
139
139
 
140
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
140
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
141
141
  const { children, ...rest } = props;
142
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
142
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
143
143
  });
144
144
 
145
145
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.436.0",
4
+ "version": "14.437.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -85,13 +85,13 @@
85
85
  }
86
86
  },
87
87
  "devDependencies": {
88
- "@genesislcap/foundation-testing": "14.436.0",
89
- "@genesislcap/genx": "14.436.0",
90
- "@genesislcap/rollup-builder": "14.436.0",
91
- "@genesislcap/ts-builder": "14.436.0",
92
- "@genesislcap/uvu-playwright-builder": "14.436.0",
93
- "@genesislcap/vite-builder": "14.436.0",
94
- "@genesislcap/webpack-builder": "14.436.0",
88
+ "@genesislcap/foundation-testing": "14.437.1",
89
+ "@genesislcap/genx": "14.437.1",
90
+ "@genesislcap/rollup-builder": "14.437.1",
91
+ "@genesislcap/ts-builder": "14.437.1",
92
+ "@genesislcap/uvu-playwright-builder": "14.437.1",
93
+ "@genesislcap/vite-builder": "14.437.1",
94
+ "@genesislcap/webpack-builder": "14.437.1",
95
95
  "copyfiles": "^2.4.1"
96
96
  },
97
97
  "dependencies": {
@@ -100,16 +100,16 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "14.436.0",
104
- "@genesislcap/foundation-ai": "14.436.0",
105
- "@genesislcap/foundation-comms": "14.436.0",
106
- "@genesislcap/foundation-criteria": "14.436.0",
107
- "@genesislcap/foundation-errors": "14.436.0",
108
- "@genesislcap/foundation-events": "14.436.0",
109
- "@genesislcap/foundation-logger": "14.436.0",
110
- "@genesislcap/foundation-notifications": "14.436.0",
111
- "@genesislcap/foundation-user": "14.436.0",
112
- "@genesislcap/foundation-utils": "14.436.0",
103
+ "@genesislcap/expression-builder": "14.437.1",
104
+ "@genesislcap/foundation-ai": "14.437.1",
105
+ "@genesislcap/foundation-comms": "14.437.1",
106
+ "@genesislcap/foundation-criteria": "14.437.1",
107
+ "@genesislcap/foundation-errors": "14.437.1",
108
+ "@genesislcap/foundation-events": "14.437.1",
109
+ "@genesislcap/foundation-logger": "14.437.1",
110
+ "@genesislcap/foundation-notifications": "14.437.1",
111
+ "@genesislcap/foundation-user": "14.437.1",
112
+ "@genesislcap/foundation-utils": "14.437.1",
113
113
  "@microsoft/fast-colors": "5.3.1",
114
114
  "@microsoft/fast-components": "2.30.6",
115
115
  "@microsoft/fast-element": "1.14.0",
@@ -142,5 +142,5 @@
142
142
  "require": "./dist/react.cjs"
143
143
  }
144
144
  },
145
- "gitHead": "87ef9b53cc5f3030651cbc3126bd26f07ffd6819"
145
+ "gitHead": "121e8dd85e298464b0781220db72ad5190c3fb5f"
146
146
  }