@genesislcap/foundation-ui 15.89.0 → 15.90.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.
@@ -133,14 +133,23 @@ interface HTMLWCProps extends React.AriaAttributes {
133
133
  onInput?(e: Event): void;
134
134
  }
135
135
 
136
- export declare const AccordionItem: React.ForwardRefExoticComponent<
136
+ export declare const Accordion: React.ForwardRefExoticComponent<
137
137
  React.PropsWithChildren<
138
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
138
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
139
139
  HTMLWCProps & {
140
140
  }
141
- > & React.RefAttributes<AccordionItemWC>
141
+ > & React.RefAttributes<AccordionWC>
142
142
  >;
143
- export type AccordionItemRef = AccordionItemWC;
143
+ export type AccordionRef = AccordionWC;
144
+
145
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
146
+ React.PropsWithChildren<
147
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
148
+ HTMLWCProps & {
149
+ }
150
+ > & React.RefAttributes<ActionsMenuWC>
151
+ >;
152
+ export type ActionsMenuRef = ActionsMenuWC;
144
153
 
145
154
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
146
155
  React.PropsWithChildren<
@@ -153,23 +162,14 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
153
162
  >;
154
163
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
155
164
 
156
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
157
- React.PropsWithChildren<
158
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
159
- HTMLWCProps & {
160
- }
161
- > & React.RefAttributes<ActionsMenuWC>
162
- >;
163
- export type ActionsMenuRef = ActionsMenuWC;
164
-
165
- export declare const Accordion: React.ForwardRefExoticComponent<
165
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
166
166
  React.PropsWithChildren<
167
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
167
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
168
168
  HTMLWCProps & {
169
169
  }
170
- > & React.RefAttributes<AccordionWC>
170
+ > & React.RefAttributes<AccordionItemWC>
171
171
  >;
172
- export type AccordionRef = AccordionWC;
172
+ export type AccordionItemRef = AccordionItemWC;
173
173
 
174
174
  export declare const AiIndicator: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -113,9 +113,14 @@ function _mergeRefs(...refs) {
113
113
  };
114
114
  }
115
115
 
116
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
116
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
117
117
  const { children, ...rest } = props;
118
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
118
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
119
+ });
120
+
121
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
122
+ const { children, ...rest } = props;
123
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
119
124
  });
120
125
 
121
126
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -140,14 +145,9 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
140
145
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
141
146
  });
142
147
 
143
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
144
- const { children, ...rest } = props;
145
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
146
- });
147
-
148
- const Accordion = React.forwardRef(function Accordion(props, ref) {
148
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
149
149
  const { children, ...rest } = props;
150
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
150
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
151
151
  });
152
152
 
153
153
  const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
@@ -1143,10 +1143,10 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1143
1143
  });
1144
1144
 
1145
1145
  module.exports = {
1146
- AccordionItem,
1147
- AiCriteriaSearch,
1148
- ActionsMenu,
1149
1146
  Accordion,
1147
+ ActionsMenu,
1148
+ AiCriteriaSearch,
1149
+ AccordionItem,
1150
1150
  AiIndicator,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
package/dist/react.mjs CHANGED
@@ -111,9 +111,14 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
114
+ export 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
+ });
118
+
119
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
120
+ const { children, ...rest } = props;
121
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
117
122
  });
118
123
 
119
124
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -138,14 +143,9 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
138
143
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
139
144
  });
140
145
 
141
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
142
- const { children, ...rest } = props;
143
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
144
- });
145
-
146
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
146
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
147
147
  const { children, ...rest } = props;
148
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
148
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
149
149
  });
150
150
 
151
151
  export const AiIndicator = React.forwardRef(function AiIndicator(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": "15.89.0",
4
+ "version": "15.90.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.89.0",
86
- "@genesislcap/genx": "15.89.0",
87
- "@genesislcap/ts-builder": "15.89.0",
88
- "@genesislcap/uvu-playwright-builder": "15.89.0",
89
- "@genesislcap/vite-builder": "15.89.0",
90
- "@genesislcap/webpack-builder": "15.89.0",
85
+ "@genesislcap/foundation-testing": "15.90.1",
86
+ "@genesislcap/genx": "15.90.1",
87
+ "@genesislcap/ts-builder": "15.90.1",
88
+ "@genesislcap/uvu-playwright-builder": "15.90.1",
89
+ "@genesislcap/vite-builder": "15.90.1",
90
+ "@genesislcap/webpack-builder": "15.90.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.89.0",
100
- "@genesislcap/foundation-ai": "15.89.0",
101
- "@genesislcap/foundation-comms": "15.89.0",
102
- "@genesislcap/foundation-criteria": "15.89.0",
103
- "@genesislcap/foundation-errors": "15.89.0",
104
- "@genesislcap/foundation-events": "15.89.0",
105
- "@genesislcap/foundation-logger": "15.89.0",
106
- "@genesislcap/foundation-notifications": "15.89.0",
107
- "@genesislcap/foundation-user": "15.89.0",
108
- "@genesislcap/foundation-utils": "15.89.0",
99
+ "@genesislcap/expression-builder": "15.90.1",
100
+ "@genesislcap/foundation-ai": "15.90.1",
101
+ "@genesislcap/foundation-comms": "15.90.1",
102
+ "@genesislcap/foundation-criteria": "15.90.1",
103
+ "@genesislcap/foundation-errors": "15.90.1",
104
+ "@genesislcap/foundation-events": "15.90.1",
105
+ "@genesislcap/foundation-logger": "15.90.1",
106
+ "@genesislcap/foundation-notifications": "15.90.1",
107
+ "@genesislcap/foundation-user": "15.90.1",
108
+ "@genesislcap/foundation-utils": "15.90.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",