@genesislcap/foundation-ui 14.445.2 → 14.446.0-canary.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.
@@ -120,6 +120,15 @@ interface HTMLWCProps extends React.AriaAttributes {
120
120
  onInput?(e: Event): void;
121
121
  }
122
122
 
123
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
124
+ React.PropsWithChildren<
125
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
126
+ HTMLWCProps & {
127
+ }
128
+ > & React.RefAttributes<AccordionItemWC>
129
+ >;
130
+ export type AccordionItemRef = AccordionItemWC;
131
+
123
132
  export declare const Accordion: React.ForwardRefExoticComponent<
124
133
  React.PropsWithChildren<
125
134
  Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
@@ -129,14 +138,14 @@ export declare const Accordion: React.ForwardRefExoticComponent<
129
138
  >;
130
139
  export type AccordionRef = AccordionWC;
131
140
 
132
- export declare const AccordionItem: React.ForwardRefExoticComponent<
141
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
133
142
  React.PropsWithChildren<
134
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
143
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
135
144
  HTMLWCProps & {
136
145
  }
137
- > & React.RefAttributes<AccordionItemWC>
146
+ > & React.RefAttributes<ActionsMenuWC>
138
147
  >;
139
- export type AccordionItemRef = AccordionItemWC;
148
+ export type ActionsMenuRef = ActionsMenuWC;
140
149
 
141
150
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
142
151
  React.PropsWithChildren<
@@ -158,15 +167,6 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
158
167
  >;
159
168
  export type AiIndicatorRef = AiIndicatorWC;
160
169
 
161
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
162
- React.PropsWithChildren<
163
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
164
- HTMLWCProps & {
165
- }
166
- > & React.RefAttributes<ActionsMenuWC>
167
- >;
168
- export type ActionsMenuRef = ActionsMenuWC;
169
-
170
170
  export declare const Anchor: React.ForwardRefExoticComponent<
171
171
  React.PropsWithChildren<
172
172
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -102,14 +102,19 @@ function _mergeRefs(...refs) {
102
102
  };
103
103
  }
104
104
 
105
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
106
+ const { children, ...rest } = props;
107
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
108
+ });
109
+
105
110
  const Accordion = React.forwardRef(function Accordion(props, ref) {
106
111
  const { children, ...rest } = props;
107
112
  return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
108
113
  });
109
114
 
110
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
115
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
111
116
  const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
117
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
113
118
  });
114
119
 
115
120
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -139,11 +144,6 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
139
144
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
140
145
  });
141
146
 
142
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
143
- const { children, ...rest } = props;
144
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
145
- });
146
-
147
147
  const Anchor = React.forwardRef(function Anchor(props, ref) {
148
148
  const { children, ...rest } = props;
149
149
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -877,11 +877,11 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
877
877
  });
878
878
 
879
879
  module.exports = {
880
- Accordion,
881
880
  AccordionItem,
881
+ Accordion,
882
+ ActionsMenu,
882
883
  AiCriteriaSearch,
883
884
  AiIndicator,
884
- ActionsMenu,
885
885
  Anchor,
886
886
  AnchoredRegion,
887
887
  Avatar,
package/dist/react.mjs CHANGED
@@ -100,14 +100,19 @@ function _mergeRefs(...refs) {
100
100
  };
101
101
  }
102
102
 
103
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
104
+ const { children, ...rest } = props;
105
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
106
+ });
107
+
103
108
  export const Accordion = React.forwardRef(function Accordion(props, ref) {
104
109
  const { children, ...rest } = props;
105
110
  return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
106
111
  });
107
112
 
108
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
113
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
109
114
  const { children, ...rest } = props;
110
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
115
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
111
116
  });
112
117
 
113
118
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -137,11 +142,6 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
137
142
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
138
143
  });
139
144
 
140
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
141
- const { children, ...rest } = props;
142
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
143
- });
144
-
145
145
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
146
146
  const { children, ...rest } = props;
147
147
  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.445.2",
4
+ "version": "14.446.0-canary.1",
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.445.2",
89
- "@genesislcap/genx": "14.445.2",
90
- "@genesislcap/rollup-builder": "14.445.2",
91
- "@genesislcap/ts-builder": "14.445.2",
92
- "@genesislcap/uvu-playwright-builder": "14.445.2",
93
- "@genesislcap/vite-builder": "14.445.2",
94
- "@genesislcap/webpack-builder": "14.445.2",
88
+ "@genesislcap/foundation-testing": "14.446.0-canary.1",
89
+ "@genesislcap/genx": "14.446.0-canary.1",
90
+ "@genesislcap/rollup-builder": "14.446.0-canary.1",
91
+ "@genesislcap/ts-builder": "14.446.0-canary.1",
92
+ "@genesislcap/uvu-playwright-builder": "14.446.0-canary.1",
93
+ "@genesislcap/vite-builder": "14.446.0-canary.1",
94
+ "@genesislcap/webpack-builder": "14.446.0-canary.1",
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.445.2",
104
- "@genesislcap/foundation-ai": "14.445.2",
105
- "@genesislcap/foundation-comms": "14.445.2",
106
- "@genesislcap/foundation-criteria": "14.445.2",
107
- "@genesislcap/foundation-errors": "14.445.2",
108
- "@genesislcap/foundation-events": "14.445.2",
109
- "@genesislcap/foundation-logger": "14.445.2",
110
- "@genesislcap/foundation-notifications": "14.445.2",
111
- "@genesislcap/foundation-user": "14.445.2",
112
- "@genesislcap/foundation-utils": "14.445.2",
103
+ "@genesislcap/expression-builder": "14.446.0-canary.1",
104
+ "@genesislcap/foundation-ai": "14.446.0-canary.1",
105
+ "@genesislcap/foundation-comms": "14.446.0-canary.1",
106
+ "@genesislcap/foundation-criteria": "14.446.0-canary.1",
107
+ "@genesislcap/foundation-errors": "14.446.0-canary.1",
108
+ "@genesislcap/foundation-events": "14.446.0-canary.1",
109
+ "@genesislcap/foundation-logger": "14.446.0-canary.1",
110
+ "@genesislcap/foundation-notifications": "14.446.0-canary.1",
111
+ "@genesislcap/foundation-user": "14.446.0-canary.1",
112
+ "@genesislcap/foundation-utils": "14.446.0-canary.1",
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": "bc0c48b46bdb022bfb6f8b88c0daca6beae97a4b"
145
+ "gitHead": "a023fcbc9ddf2e08249425219a33b2573ad0f51e"
146
146
  }