@genesislcap/foundation-ui 14.430.2 → 14.431.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.
@@ -120,14 +120,25 @@ interface HTMLWCProps extends React.AriaAttributes {
120
120
  onInput?(e: Event): void;
121
121
  }
122
122
 
123
- export declare const AccordionItem: React.ForwardRefExoticComponent<
123
+ export declare const Accordion: React.ForwardRefExoticComponent<
124
124
  React.PropsWithChildren<
125
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
125
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
126
126
  HTMLWCProps & {
127
127
  }
128
- > & React.RefAttributes<AccordionItemWC>
128
+ > & React.RefAttributes<AccordionWC>
129
129
  >;
130
- export type AccordionItemRef = AccordionItemWC;
130
+ export type AccordionRef = AccordionWC;
131
+
132
+ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
133
+ React.PropsWithChildren<
134
+ Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
135
+ HTMLWCProps & {
136
+ onCriteriaChanged?: (event: CustomEvent<unknown>) => void;
137
+ onValidationErrors?: (event: CustomEvent<unknown>) => void;
138
+ }
139
+ > & React.RefAttributes<AiCriteriaSearchWC>
140
+ >;
141
+ export type AiCriteriaSearchRef = AiCriteriaSearchWC;
131
142
 
132
143
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
133
144
  React.PropsWithChildren<
@@ -138,16 +149,14 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
138
149
  >;
139
150
  export type ActionsMenuRef = ActionsMenuWC;
140
151
 
141
- export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
152
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
142
153
  React.PropsWithChildren<
143
- Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
154
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
144
155
  HTMLWCProps & {
145
- onCriteriaChanged?: (event: CustomEvent<unknown>) => void;
146
- onValidationErrors?: (event: CustomEvent<unknown>) => void;
147
156
  }
148
- > & React.RefAttributes<AiCriteriaSearchWC>
157
+ > & React.RefAttributes<AccordionItemWC>
149
158
  >;
150
- export type AiCriteriaSearchRef = AiCriteriaSearchWC;
159
+ export type AccordionItemRef = AccordionItemWC;
151
160
 
152
161
  export declare const AiIndicator: React.ForwardRefExoticComponent<
153
162
  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 Accordion: React.ForwardRefExoticComponent<
162
- React.PropsWithChildren<
163
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
164
- HTMLWCProps & {
165
- }
166
- > & React.RefAttributes<AccordionWC>
167
- >;
168
- export type AccordionRef = AccordionWC;
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,9 @@ 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
-
110
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
105
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
111
106
  const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
113
108
  });
114
109
 
115
110
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -134,14 +129,19 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
134
129
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
135
130
  });
136
131
 
137
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
132
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
138
133
  const { children, ...rest } = props;
139
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
134
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
140
135
  });
141
136
 
142
- const Accordion = React.forwardRef(function Accordion(props, ref) {
137
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
143
138
  const { children, ...rest } = props;
144
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
139
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
140
+ });
141
+
142
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
143
+ const { children, ...rest } = props;
144
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
145
145
  });
146
146
 
147
147
  const Anchor = React.forwardRef(function Anchor(props, ref) {
@@ -877,11 +877,11 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
877
877
  });
878
878
 
879
879
  module.exports = {
880
- AccordionItem,
881
- ActionsMenu,
880
+ Accordion,
882
881
  AiCriteriaSearch,
882
+ ActionsMenu,
883
+ AccordionItem,
883
884
  AiIndicator,
884
- Accordion,
885
885
  Anchor,
886
886
  AnchoredRegion,
887
887
  Avatar,
package/dist/react.mjs CHANGED
@@ -100,14 +100,9 @@ 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
-
108
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
103
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
109
104
  const { children, ...rest } = props;
110
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
105
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
111
106
  });
112
107
 
113
108
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -132,14 +127,19 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
132
127
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
133
128
  });
134
129
 
135
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
130
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
136
131
  const { children, ...rest } = props;
137
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
132
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
138
133
  });
139
134
 
140
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
135
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
141
136
  const { children, ...rest } = props;
142
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
137
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
138
+ });
139
+
140
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
141
+ const { children, ...rest } = props;
142
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
143
143
  });
144
144
 
145
145
  export const Anchor = React.forwardRef(function Anchor(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": "14.430.2",
4
+ "version": "14.431.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.430.2",
89
- "@genesislcap/genx": "14.430.2",
90
- "@genesislcap/rollup-builder": "14.430.2",
91
- "@genesislcap/ts-builder": "14.430.2",
92
- "@genesislcap/uvu-playwright-builder": "14.430.2",
93
- "@genesislcap/vite-builder": "14.430.2",
94
- "@genesislcap/webpack-builder": "14.430.2",
88
+ "@genesislcap/foundation-testing": "14.431.0",
89
+ "@genesislcap/genx": "14.431.0",
90
+ "@genesislcap/rollup-builder": "14.431.0",
91
+ "@genesislcap/ts-builder": "14.431.0",
92
+ "@genesislcap/uvu-playwright-builder": "14.431.0",
93
+ "@genesislcap/vite-builder": "14.431.0",
94
+ "@genesislcap/webpack-builder": "14.431.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.430.2",
104
- "@genesislcap/foundation-ai": "14.430.2",
105
- "@genesislcap/foundation-comms": "14.430.2",
106
- "@genesislcap/foundation-criteria": "14.430.2",
107
- "@genesislcap/foundation-errors": "14.430.2",
108
- "@genesislcap/foundation-events": "14.430.2",
109
- "@genesislcap/foundation-logger": "14.430.2",
110
- "@genesislcap/foundation-notifications": "14.430.2",
111
- "@genesislcap/foundation-user": "14.430.2",
112
- "@genesislcap/foundation-utils": "14.430.2",
103
+ "@genesislcap/expression-builder": "14.431.0",
104
+ "@genesislcap/foundation-ai": "14.431.0",
105
+ "@genesislcap/foundation-comms": "14.431.0",
106
+ "@genesislcap/foundation-criteria": "14.431.0",
107
+ "@genesislcap/foundation-errors": "14.431.0",
108
+ "@genesislcap/foundation-events": "14.431.0",
109
+ "@genesislcap/foundation-logger": "14.431.0",
110
+ "@genesislcap/foundation-notifications": "14.431.0",
111
+ "@genesislcap/foundation-user": "14.431.0",
112
+ "@genesislcap/foundation-utils": "14.431.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": "8f0909f596913e22983d0c0558939c2924689e64"
145
+ "gitHead": "4e523b6a77df321a9c70fcdf7c12a4ffcb98769a"
146
146
  }