@genesislcap/foundation-ui 14.494.0 → 14.495.0

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.
@@ -131,6 +131,15 @@ interface HTMLWCProps extends React.AriaAttributes {
131
131
  onInput?(e: Event): void;
132
132
  }
133
133
 
134
+ export declare const Accordion: React.ForwardRefExoticComponent<
135
+ React.PropsWithChildren<
136
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
137
+ HTMLWCProps & {
138
+ }
139
+ > & React.RefAttributes<AccordionWC>
140
+ >;
141
+ export type AccordionRef = AccordionWC;
142
+
134
143
  export declare const AccordionItem: React.ForwardRefExoticComponent<
135
144
  React.PropsWithChildren<
136
145
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -149,14 +158,14 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
149
158
  >;
150
159
  export type ActionsMenuRef = ActionsMenuWC;
151
160
 
152
- export declare const Accordion: React.ForwardRefExoticComponent<
161
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
153
162
  React.PropsWithChildren<
154
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
163
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
155
164
  HTMLWCProps & {
156
165
  }
157
- > & React.RefAttributes<AccordionWC>
166
+ > & React.RefAttributes<AiIndicatorWC>
158
167
  >;
159
- export type AccordionRef = AccordionWC;
168
+ export type AiIndicatorRef = AiIndicatorWC;
160
169
 
161
170
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
162
171
  React.PropsWithChildren<
@@ -169,15 +178,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
169
178
  >;
170
179
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
171
180
 
172
- export declare const AiIndicator: React.ForwardRefExoticComponent<
173
- React.PropsWithChildren<
174
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
175
- HTMLWCProps & {
176
- }
177
- > & React.RefAttributes<AiIndicatorWC>
178
- >;
179
- export type AiIndicatorRef = AiIndicatorWC;
180
-
181
181
  export declare const Anchor: React.ForwardRefExoticComponent<
182
182
  React.PropsWithChildren<
183
183
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -111,6 +111,11 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
115
+ const { children, ...rest } = props;
116
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
117
+ });
118
+
114
119
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
115
120
  const { children, ...rest } = props;
116
121
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -121,9 +126,9 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
121
126
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
122
127
  });
123
128
 
124
- const Accordion = React.forwardRef(function Accordion(props, ref) {
129
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
125
130
  const { children, ...rest } = props;
126
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
131
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
127
132
  });
128
133
 
129
134
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -148,11 +153,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
148
153
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
149
154
  });
150
155
 
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);
@@ -1102,11 +1102,11 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1102
1102
  });
1103
1103
 
1104
1104
  module.exports = {
1105
+ Accordion,
1105
1106
  AccordionItem,
1106
1107
  ActionsMenu,
1107
- Accordion,
1108
- AiCriteriaSearch,
1109
1108
  AiIndicator,
1109
+ AiCriteriaSearch,
1110
1110
  Anchor,
1111
1111
  AnchoredRegion,
1112
1112
  Avatar,
package/dist/react.mjs CHANGED
@@ -109,6 +109,11 @@ function _mergeRefs(...refs) {
109
109
  };
110
110
  }
111
111
 
112
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
113
+ const { children, ...rest } = props;
114
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
115
+ });
116
+
112
117
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
113
118
  const { children, ...rest } = props;
114
119
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -119,9 +124,9 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
119
124
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
120
125
  });
121
126
 
122
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
127
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
123
128
  const { children, ...rest } = props;
124
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
129
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
125
130
  });
126
131
 
127
132
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -146,11 +151,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
146
151
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
147
152
  });
148
153
 
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.494.0",
4
+ "version": "14.495.0",
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.494.0",
89
- "@genesislcap/genx": "14.494.0",
90
- "@genesislcap/rollup-builder": "14.494.0",
91
- "@genesislcap/ts-builder": "14.494.0",
92
- "@genesislcap/uvu-playwright-builder": "14.494.0",
93
- "@genesislcap/vite-builder": "14.494.0",
94
- "@genesislcap/webpack-builder": "14.494.0",
88
+ "@genesislcap/foundation-testing": "14.495.0",
89
+ "@genesislcap/genx": "14.495.0",
90
+ "@genesislcap/rollup-builder": "14.495.0",
91
+ "@genesislcap/ts-builder": "14.495.0",
92
+ "@genesislcap/uvu-playwright-builder": "14.495.0",
93
+ "@genesislcap/vite-builder": "14.495.0",
94
+ "@genesislcap/webpack-builder": "14.495.0",
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.494.0",
104
- "@genesislcap/foundation-ai": "14.494.0",
105
- "@genesislcap/foundation-comms": "14.494.0",
106
- "@genesislcap/foundation-criteria": "14.494.0",
107
- "@genesislcap/foundation-errors": "14.494.0",
108
- "@genesislcap/foundation-events": "14.494.0",
109
- "@genesislcap/foundation-logger": "14.494.0",
110
- "@genesislcap/foundation-notifications": "14.494.0",
111
- "@genesislcap/foundation-user": "14.494.0",
112
- "@genesislcap/foundation-utils": "14.494.0",
103
+ "@genesislcap/expression-builder": "14.495.0",
104
+ "@genesislcap/foundation-ai": "14.495.0",
105
+ "@genesislcap/foundation-comms": "14.495.0",
106
+ "@genesislcap/foundation-criteria": "14.495.0",
107
+ "@genesislcap/foundation-errors": "14.495.0",
108
+ "@genesislcap/foundation-events": "14.495.0",
109
+ "@genesislcap/foundation-logger": "14.495.0",
110
+ "@genesislcap/foundation-notifications": "14.495.0",
111
+ "@genesislcap/foundation-user": "14.495.0",
112
+ "@genesislcap/foundation-utils": "14.495.0",
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": "df845b67dcc681aa3775bdc87b9d91b404791868"
145
+ "gitHead": "24d26a75271717d40c0b6168b983bd8536a3db7f"
146
146
  }