@genesislcap/foundation-ui 15.6.1 → 15.6.2

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,23 +133,32 @@ interface HTMLWCProps extends React.AriaAttributes {
133
133
  onInput?(e: Event): void;
134
134
  }
135
135
 
136
- export declare const Accordion: React.ForwardRefExoticComponent<
136
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
137
137
  React.PropsWithChildren<
138
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
138
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
139
139
  HTMLWCProps & {
140
140
  }
141
- > & React.RefAttributes<AccordionWC>
141
+ > & React.RefAttributes<AccordionItemWC>
142
142
  >;
143
- export type AccordionRef = AccordionWC;
143
+ export type AccordionItemRef = AccordionItemWC;
144
144
 
145
- export declare const AccordionItem: React.ForwardRefExoticComponent<
145
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
146
146
  React.PropsWithChildren<
147
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
147
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
148
148
  HTMLWCProps & {
149
149
  }
150
- > & React.RefAttributes<AccordionItemWC>
150
+ > & React.RefAttributes<ActionsMenuWC>
151
151
  >;
152
- export type AccordionItemRef = AccordionItemWC;
152
+ export type ActionsMenuRef = ActionsMenuWC;
153
+
154
+ export declare const Accordion: React.ForwardRefExoticComponent<
155
+ React.PropsWithChildren<
156
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
157
+ HTMLWCProps & {
158
+ }
159
+ > & React.RefAttributes<AccordionWC>
160
+ >;
161
+ export type AccordionRef = AccordionWC;
153
162
 
154
163
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
155
164
  React.PropsWithChildren<
@@ -171,15 +180,6 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
171
180
  >;
172
181
  export type AiIndicatorRef = AiIndicatorWC;
173
182
 
174
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
175
- React.PropsWithChildren<
176
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
177
- HTMLWCProps & {
178
- }
179
- > & React.RefAttributes<ActionsMenuWC>
180
- >;
181
- export type ActionsMenuRef = ActionsMenuWC;
182
-
183
183
  export declare const Anchor: React.ForwardRefExoticComponent<
184
184
  React.PropsWithChildren<
185
185
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -113,14 +113,19 @@ function _mergeRefs(...refs) {
113
113
  };
114
114
  }
115
115
 
116
- const Accordion = React.forwardRef(function Accordion(props, ref) {
116
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
117
117
  const { children, ...rest } = props;
118
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
118
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
119
119
  });
120
120
 
121
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
121
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
122
122
  const { children, ...rest } = props;
123
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
123
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
124
+ });
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);
124
129
  });
125
130
 
126
131
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -150,11 +155,6 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
150
155
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
151
156
  });
152
157
 
153
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
154
- const { children, ...rest } = props;
155
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...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);
@@ -1143,11 +1143,11 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1143
1143
  });
1144
1144
 
1145
1145
  module.exports = {
1146
- Accordion,
1147
1146
  AccordionItem,
1147
+ ActionsMenu,
1148
+ Accordion,
1148
1149
  AiCriteriaSearch,
1149
1150
  AiIndicator,
1150
- ActionsMenu,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
1153
1153
  Avatar,
package/dist/react.mjs CHANGED
@@ -111,14 +111,19 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
114
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
115
115
  const { children, ...rest } = props;
116
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
116
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
117
117
  });
118
118
 
119
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
119
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
120
120
  const { children, ...rest } = props;
121
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
121
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
122
+ });
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);
122
127
  });
123
128
 
124
129
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -148,11 +153,6 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
148
153
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
149
154
  });
150
155
 
151
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
152
- const { children, ...rest } = props;
153
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...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.6.1",
4
+ "version": "15.6.2",
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": "15.6.1",
89
- "@genesislcap/genx": "15.6.1",
90
- "@genesislcap/rollup-builder": "15.6.1",
91
- "@genesislcap/ts-builder": "15.6.1",
92
- "@genesislcap/uvu-playwright-builder": "15.6.1",
93
- "@genesislcap/vite-builder": "15.6.1",
94
- "@genesislcap/webpack-builder": "15.6.1",
88
+ "@genesislcap/foundation-testing": "15.6.2",
89
+ "@genesislcap/genx": "15.6.2",
90
+ "@genesislcap/rollup-builder": "15.6.2",
91
+ "@genesislcap/ts-builder": "15.6.2",
92
+ "@genesislcap/uvu-playwright-builder": "15.6.2",
93
+ "@genesislcap/vite-builder": "15.6.2",
94
+ "@genesislcap/webpack-builder": "15.6.2",
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": "15.6.1",
104
- "@genesislcap/foundation-ai": "15.6.1",
105
- "@genesislcap/foundation-comms": "15.6.1",
106
- "@genesislcap/foundation-criteria": "15.6.1",
107
- "@genesislcap/foundation-errors": "15.6.1",
108
- "@genesislcap/foundation-events": "15.6.1",
109
- "@genesislcap/foundation-logger": "15.6.1",
110
- "@genesislcap/foundation-notifications": "15.6.1",
111
- "@genesislcap/foundation-user": "15.6.1",
112
- "@genesislcap/foundation-utils": "15.6.1",
103
+ "@genesislcap/expression-builder": "15.6.2",
104
+ "@genesislcap/foundation-ai": "15.6.2",
105
+ "@genesislcap/foundation-comms": "15.6.2",
106
+ "@genesislcap/foundation-criteria": "15.6.2",
107
+ "@genesislcap/foundation-errors": "15.6.2",
108
+ "@genesislcap/foundation-events": "15.6.2",
109
+ "@genesislcap/foundation-logger": "15.6.2",
110
+ "@genesislcap/foundation-notifications": "15.6.2",
111
+ "@genesislcap/foundation-user": "15.6.2",
112
+ "@genesislcap/foundation-utils": "15.6.2",
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": "9139f6649cfbd67d5f940b7e02c04f7970ad45a5"
145
+ "gitHead": "a5781780cb56906755ddbfc4be75e221719ae4b4"
146
146
  }