@genesislcap/foundation-ui 15.88.0 → 15.88.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.
@@ -151,16 +151,14 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
151
151
  >;
152
152
  export type ActionsMenuRef = ActionsMenuWC;
153
153
 
154
- export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
154
+ export declare const Accordion: React.ForwardRefExoticComponent<
155
155
  React.PropsWithChildren<
156
- Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
156
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
157
157
  HTMLWCProps & {
158
- onCriteriaChanged?: (event: CustomEvent<string | null>) => void;
159
- onValidationErrors?: (event: CustomEvent<ValidationError[]>) => void;
160
158
  }
161
- > & React.RefAttributes<AiCriteriaSearchWC>
159
+ > & React.RefAttributes<AccordionWC>
162
160
  >;
163
- export type AiCriteriaSearchRef = AiCriteriaSearchWC;
161
+ export type AccordionRef = AccordionWC;
164
162
 
165
163
  export declare const AiIndicator: React.ForwardRefExoticComponent<
166
164
  React.PropsWithChildren<
@@ -171,14 +169,16 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
171
169
  >;
172
170
  export type AiIndicatorRef = AiIndicatorWC;
173
171
 
174
- export declare const Accordion: React.ForwardRefExoticComponent<
172
+ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
175
173
  React.PropsWithChildren<
176
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
174
+ Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
177
175
  HTMLWCProps & {
176
+ onCriteriaChanged?: (event: CustomEvent<string | null>) => void;
177
+ onValidationErrors?: (event: CustomEvent<ValidationError[]>) => void;
178
178
  }
179
- > & React.RefAttributes<AccordionWC>
179
+ > & React.RefAttributes<AiCriteriaSearchWC>
180
180
  >;
181
- export type AccordionRef = AccordionWC;
181
+ export type AiCriteriaSearchRef = AiCriteriaSearchWC;
182
182
 
183
183
  export declare const Anchor: React.ForwardRefExoticComponent<
184
184
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -123,6 +123,16 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
123
123
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
124
124
  });
125
125
 
126
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
127
+ const { children, ...rest } = props;
128
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
129
+ });
130
+
131
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
132
+ const { children, ...rest } = props;
133
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
134
+ });
135
+
126
136
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
127
137
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
128
138
  const _innerRef = React.useRef(null);
@@ -145,16 +155,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
145
155
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
146
156
  });
147
157
 
148
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
149
- const { children, ...rest } = props;
150
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
151
- });
152
-
153
- const Accordion = React.forwardRef(function Accordion(props, ref) {
154
- const { children, ...rest } = props;
155
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
156
- });
157
-
158
158
  const Anchor = React.forwardRef(function Anchor(props, ref) {
159
159
  const { children, ...rest } = props;
160
160
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -1145,9 +1145,9 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1145
1145
  module.exports = {
1146
1146
  AccordionItem,
1147
1147
  ActionsMenu,
1148
- AiCriteriaSearch,
1149
- AiIndicator,
1150
1148
  Accordion,
1149
+ AiIndicator,
1150
+ AiCriteriaSearch,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
1153
1153
  Avatar,
package/dist/react.mjs CHANGED
@@ -121,6 +121,16 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
121
121
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
122
122
  });
123
123
 
124
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
125
+ const { children, ...rest } = props;
126
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
127
+ });
128
+
129
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
130
+ const { children, ...rest } = props;
131
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
132
+ });
133
+
124
134
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
125
135
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
126
136
  const _innerRef = React.useRef(null);
@@ -143,16 +153,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
143
153
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
144
154
  });
145
155
 
146
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
147
- const { children, ...rest } = props;
148
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
149
- });
150
-
151
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
152
- const { children, ...rest } = props;
153
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
154
- });
155
-
156
156
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
157
157
  const { children, ...rest } = props;
158
158
  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-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "15.88.0",
4
+ "version": "15.88.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -82,12 +82,12 @@
82
82
  }
83
83
  },
84
84
  "devDependencies": {
85
- "@genesislcap/foundation-testing": "15.88.0",
86
- "@genesislcap/genx": "15.88.0",
87
- "@genesislcap/ts-builder": "15.88.0",
88
- "@genesislcap/uvu-playwright-builder": "15.88.0",
89
- "@genesislcap/vite-builder": "15.88.0",
90
- "@genesislcap/webpack-builder": "15.88.0",
85
+ "@genesislcap/foundation-testing": "15.88.1",
86
+ "@genesislcap/genx": "15.88.1",
87
+ "@genesislcap/ts-builder": "15.88.1",
88
+ "@genesislcap/uvu-playwright-builder": "15.88.1",
89
+ "@genesislcap/vite-builder": "15.88.1",
90
+ "@genesislcap/webpack-builder": "15.88.1",
91
91
  "copyfiles": "^2.4.1"
92
92
  },
93
93
  "dependencies": {
@@ -96,16 +96,16 @@
96
96
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
97
97
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
98
98
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
99
- "@genesislcap/expression-builder": "15.88.0",
100
- "@genesislcap/foundation-ai": "15.88.0",
101
- "@genesislcap/foundation-comms": "15.88.0",
102
- "@genesislcap/foundation-criteria": "15.88.0",
103
- "@genesislcap/foundation-errors": "15.88.0",
104
- "@genesislcap/foundation-events": "15.88.0",
105
- "@genesislcap/foundation-logger": "15.88.0",
106
- "@genesislcap/foundation-notifications": "15.88.0",
107
- "@genesislcap/foundation-user": "15.88.0",
108
- "@genesislcap/foundation-utils": "15.88.0",
99
+ "@genesislcap/expression-builder": "15.88.1",
100
+ "@genesislcap/foundation-ai": "15.88.1",
101
+ "@genesislcap/foundation-comms": "15.88.1",
102
+ "@genesislcap/foundation-criteria": "15.88.1",
103
+ "@genesislcap/foundation-errors": "15.88.1",
104
+ "@genesislcap/foundation-events": "15.88.1",
105
+ "@genesislcap/foundation-logger": "15.88.1",
106
+ "@genesislcap/foundation-notifications": "15.88.1",
107
+ "@genesislcap/foundation-user": "15.88.1",
108
+ "@genesislcap/foundation-utils": "15.88.1",
109
109
  "@microsoft/fast-colors": "5.3.1",
110
110
  "@microsoft/fast-components": "2.30.6",
111
111
  "@microsoft/fast-element": "1.14.0",