@genesislcap/foundation-ui 14.469.0 → 14.470.0-FUI-2555.3

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.
@@ -129,14 +129,14 @@ interface HTMLWCProps extends React.AriaAttributes {
129
129
  onInput?(e: Event): void;
130
130
  }
131
131
 
132
- export declare const AccordionItem: React.ForwardRefExoticComponent<
132
+ export declare const Accordion: React.ForwardRefExoticComponent<
133
133
  React.PropsWithChildren<
134
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
134
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
135
135
  HTMLWCProps & {
136
136
  }
137
- > & React.RefAttributes<AccordionItemWC>
137
+ > & React.RefAttributes<AccordionWC>
138
138
  >;
139
- export type AccordionItemRef = AccordionItemWC;
139
+ export type AccordionRef = AccordionWC;
140
140
 
141
141
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
142
142
  React.PropsWithChildren<
@@ -147,34 +147,34 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
147
147
  >;
148
148
  export type ActionsMenuRef = ActionsMenuWC;
149
149
 
150
- export declare const AiIndicator: React.ForwardRefExoticComponent<
150
+ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
151
151
  React.PropsWithChildren<
152
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
152
+ Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
153
153
  HTMLWCProps & {
154
+ onCriteriaChanged?: (event: CustomEvent<unknown>) => void;
155
+ onValidationErrors?: (event: CustomEvent<unknown>) => void;
154
156
  }
155
- > & React.RefAttributes<AiIndicatorWC>
157
+ > & React.RefAttributes<AiCriteriaSearchWC>
156
158
  >;
157
- export type AiIndicatorRef = AiIndicatorWC;
159
+ export type AiCriteriaSearchRef = AiCriteriaSearchWC;
158
160
 
159
- export declare const Accordion: React.ForwardRefExoticComponent<
161
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
160
162
  React.PropsWithChildren<
161
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
163
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
162
164
  HTMLWCProps & {
163
165
  }
164
- > & React.RefAttributes<AccordionWC>
166
+ > & React.RefAttributes<AccordionItemWC>
165
167
  >;
166
- export type AccordionRef = AccordionWC;
168
+ export type AccordionItemRef = AccordionItemWC;
167
169
 
168
- export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
170
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
169
171
  React.PropsWithChildren<
170
- Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
172
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
171
173
  HTMLWCProps & {
172
- onCriteriaChanged?: (event: CustomEvent<unknown>) => void;
173
- onValidationErrors?: (event: CustomEvent<unknown>) => void;
174
174
  }
175
- > & React.RefAttributes<AiCriteriaSearchWC>
175
+ > & React.RefAttributes<AiIndicatorWC>
176
176
  >;
177
- export type AiCriteriaSearchRef = AiCriteriaSearchWC;
177
+ export type AiIndicatorRef = AiIndicatorWC;
178
178
 
179
179
  export declare const Anchor: React.ForwardRefExoticComponent<
180
180
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -111,9 +111,9 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
114
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
115
115
  const { children, ...rest } = props;
116
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
116
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
117
117
  });
118
118
 
119
119
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -121,16 +121,6 @@ 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
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
125
- const { children, ...rest } = props;
126
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
127
- });
128
-
129
- const Accordion = React.forwardRef(function Accordion(props, ref) {
130
- const { children, ...rest } = props;
131
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
132
- });
133
-
134
124
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
135
125
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
136
126
  const _innerRef = React.useRef(null);
@@ -153,6 +143,16 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
153
143
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
154
144
  });
155
145
 
146
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
147
+ const { children, ...rest } = props;
148
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
149
+ });
150
+
151
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
152
+ const { children, ...rest } = props;
153
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
154
+ });
155
+
156
156
  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);
@@ -1078,11 +1078,11 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1078
1078
  });
1079
1079
 
1080
1080
  module.exports = {
1081
- AccordionItem,
1082
- ActionsMenu,
1083
- AiIndicator,
1084
1081
  Accordion,
1082
+ ActionsMenu,
1085
1083
  AiCriteriaSearch,
1084
+ AccordionItem,
1085
+ AiIndicator,
1086
1086
  Anchor,
1087
1087
  AnchoredRegion,
1088
1088
  Avatar,
package/dist/react.mjs CHANGED
@@ -109,9 +109,9 @@ function _mergeRefs(...refs) {
109
109
  };
110
110
  }
111
111
 
112
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
112
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
113
113
  const { children, ...rest } = props;
114
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
114
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
115
115
  });
116
116
 
117
117
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -119,16 +119,6 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
119
119
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
120
120
  });
121
121
 
122
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
123
- const { children, ...rest } = props;
124
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
125
- });
126
-
127
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
128
- const { children, ...rest } = props;
129
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
130
- });
131
-
132
122
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
133
123
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
134
124
  const _innerRef = React.useRef(null);
@@ -151,6 +141,16 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
151
141
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
152
142
  });
153
143
 
144
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
145
+ const { children, ...rest } = props;
146
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
147
+ });
148
+
149
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
150
+ const { children, ...rest } = props;
151
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
152
+ });
153
+
154
154
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
155
155
  const { children, ...rest } = props;
156
156
  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": "14.469.0",
4
+ "version": "14.470.0-FUI-2555.3",
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.469.0",
89
- "@genesislcap/genx": "14.469.0",
90
- "@genesislcap/rollup-builder": "14.469.0",
91
- "@genesislcap/ts-builder": "14.469.0",
92
- "@genesislcap/uvu-playwright-builder": "14.469.0",
93
- "@genesislcap/vite-builder": "14.469.0",
94
- "@genesislcap/webpack-builder": "14.469.0",
88
+ "@genesislcap/foundation-testing": "14.470.0-FUI-2555.3",
89
+ "@genesislcap/genx": "14.470.0-FUI-2555.3",
90
+ "@genesislcap/rollup-builder": "14.470.0-FUI-2555.3",
91
+ "@genesislcap/ts-builder": "14.470.0-FUI-2555.3",
92
+ "@genesislcap/uvu-playwright-builder": "14.470.0-FUI-2555.3",
93
+ "@genesislcap/vite-builder": "14.470.0-FUI-2555.3",
94
+ "@genesislcap/webpack-builder": "14.470.0-FUI-2555.3",
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.469.0",
104
- "@genesislcap/foundation-ai": "14.469.0",
105
- "@genesislcap/foundation-comms": "14.469.0",
106
- "@genesislcap/foundation-criteria": "14.469.0",
107
- "@genesislcap/foundation-errors": "14.469.0",
108
- "@genesislcap/foundation-events": "14.469.0",
109
- "@genesislcap/foundation-logger": "14.469.0",
110
- "@genesislcap/foundation-notifications": "14.469.0",
111
- "@genesislcap/foundation-user": "14.469.0",
112
- "@genesislcap/foundation-utils": "14.469.0",
103
+ "@genesislcap/expression-builder": "14.470.0-FUI-2555.3",
104
+ "@genesislcap/foundation-ai": "14.470.0-FUI-2555.3",
105
+ "@genesislcap/foundation-comms": "14.470.0-FUI-2555.3",
106
+ "@genesislcap/foundation-criteria": "14.470.0-FUI-2555.3",
107
+ "@genesislcap/foundation-errors": "14.470.0-FUI-2555.3",
108
+ "@genesislcap/foundation-events": "14.470.0-FUI-2555.3",
109
+ "@genesislcap/foundation-logger": "14.470.0-FUI-2555.3",
110
+ "@genesislcap/foundation-notifications": "14.470.0-FUI-2555.3",
111
+ "@genesislcap/foundation-user": "14.470.0-FUI-2555.3",
112
+ "@genesislcap/foundation-utils": "14.470.0-FUI-2555.3",
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": "2b4460d5b9f20c36baddc55084e658bbcbd18c89"
145
+ "gitHead": "574016a82db2ed21cc5674d4240d234044dbd9f8"
146
146
  }