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