@genesislcap/foundation-ui 15.30.0 → 15.30.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,23 +133,25 @@ interface HTMLWCProps extends React.AriaAttributes {
133
133
  onInput?(e: Event): void;
134
134
  }
135
135
 
136
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
136
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
137
137
  React.PropsWithChildren<
138
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
138
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
139
139
  HTMLWCProps & {
140
140
  }
141
- > & React.RefAttributes<ActionsMenuWC>
141
+ > & React.RefAttributes<AccordionItemWC>
142
142
  >;
143
- export type ActionsMenuRef = ActionsMenuWC;
143
+ export type AccordionItemRef = AccordionItemWC;
144
144
 
145
- export declare const AccordionItem: React.ForwardRefExoticComponent<
145
+ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
146
146
  React.PropsWithChildren<
147
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
147
+ Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
148
148
  HTMLWCProps & {
149
+ onCriteriaChanged?: (event: CustomEvent<string | null>) => void;
150
+ onValidationErrors?: (event: CustomEvent<ValidationError[]>) => void;
149
151
  }
150
- > & React.RefAttributes<AccordionItemWC>
152
+ > & React.RefAttributes<AiCriteriaSearchWC>
151
153
  >;
152
- export type AccordionItemRef = AccordionItemWC;
154
+ export type AiCriteriaSearchRef = AiCriteriaSearchWC;
153
155
 
154
156
  export declare const AiIndicator: React.ForwardRefExoticComponent<
155
157
  React.PropsWithChildren<
@@ -160,16 +162,14 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
160
162
  >;
161
163
  export type AiIndicatorRef = AiIndicatorWC;
162
164
 
163
- export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
165
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
164
166
  React.PropsWithChildren<
165
- Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
167
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
166
168
  HTMLWCProps & {
167
- onCriteriaChanged?: (event: CustomEvent<string | null>) => void;
168
- onValidationErrors?: (event: CustomEvent<ValidationError[]>) => void;
169
169
  }
170
- > & React.RefAttributes<AiCriteriaSearchWC>
170
+ > & React.RefAttributes<ActionsMenuWC>
171
171
  >;
172
- export type AiCriteriaSearchRef = AiCriteriaSearchWC;
172
+ export type ActionsMenuRef = ActionsMenuWC;
173
173
 
174
174
  export declare const Accordion: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -113,21 +113,11 @@ function _mergeRefs(...refs) {
113
113
  };
114
114
  }
115
115
 
116
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
117
- const { children, ...rest } = props;
118
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
119
- });
120
-
121
116
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
122
117
  const { children, ...rest } = props;
123
118
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
124
119
  });
125
120
 
126
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
127
- const { children, ...rest } = props;
128
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
129
- });
130
-
131
121
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
132
122
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
133
123
  const _innerRef = React.useRef(null);
@@ -150,6 +140,16 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
150
140
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
151
141
  });
152
142
 
143
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
144
+ const { children, ...rest } = props;
145
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
146
+ });
147
+
148
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
149
+ const { children, ...rest } = props;
150
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
151
+ });
152
+
153
153
  const Accordion = React.forwardRef(function Accordion(props, ref) {
154
154
  const { children, ...rest } = props;
155
155
  return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
@@ -1143,10 +1143,10 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1143
1143
  });
1144
1144
 
1145
1145
  module.exports = {
1146
- ActionsMenu,
1147
1146
  AccordionItem,
1148
- AiIndicator,
1149
1147
  AiCriteriaSearch,
1148
+ AiIndicator,
1149
+ ActionsMenu,
1150
1150
  Accordion,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
package/dist/react.mjs CHANGED
@@ -111,21 +111,11 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
115
- const { children, ...rest } = props;
116
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
117
- });
118
-
119
114
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
120
115
  const { children, ...rest } = props;
121
116
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
122
117
  });
123
118
 
124
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
125
- const { children, ...rest } = props;
126
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
127
- });
128
-
129
119
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
130
120
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
131
121
  const _innerRef = React.useRef(null);
@@ -148,6 +138,16 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
148
138
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
149
139
  });
150
140
 
141
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
142
+ const { children, ...rest } = props;
143
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
144
+ });
145
+
146
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
147
+ const { children, ...rest } = props;
148
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
149
+ });
150
+
151
151
  export const Accordion = React.forwardRef(function Accordion(props, ref) {
152
152
  const { children, ...rest } = props;
153
153
  return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...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.30.0",
4
+ "version": "15.30.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": "15.30.0",
89
- "@genesislcap/genx": "15.30.0",
90
- "@genesislcap/rollup-builder": "15.30.0",
91
- "@genesislcap/ts-builder": "15.30.0",
92
- "@genesislcap/uvu-playwright-builder": "15.30.0",
93
- "@genesislcap/vite-builder": "15.30.0",
94
- "@genesislcap/webpack-builder": "15.30.0",
88
+ "@genesislcap/foundation-testing": "15.30.1",
89
+ "@genesislcap/genx": "15.30.1",
90
+ "@genesislcap/rollup-builder": "15.30.1",
91
+ "@genesislcap/ts-builder": "15.30.1",
92
+ "@genesislcap/uvu-playwright-builder": "15.30.1",
93
+ "@genesislcap/vite-builder": "15.30.1",
94
+ "@genesislcap/webpack-builder": "15.30.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": "15.30.0",
104
- "@genesislcap/foundation-ai": "15.30.0",
105
- "@genesislcap/foundation-comms": "15.30.0",
106
- "@genesislcap/foundation-criteria": "15.30.0",
107
- "@genesislcap/foundation-errors": "15.30.0",
108
- "@genesislcap/foundation-events": "15.30.0",
109
- "@genesislcap/foundation-logger": "15.30.0",
110
- "@genesislcap/foundation-notifications": "15.30.0",
111
- "@genesislcap/foundation-user": "15.30.0",
112
- "@genesislcap/foundation-utils": "15.30.0",
103
+ "@genesislcap/expression-builder": "15.30.1",
104
+ "@genesislcap/foundation-ai": "15.30.1",
105
+ "@genesislcap/foundation-comms": "15.30.1",
106
+ "@genesislcap/foundation-criteria": "15.30.1",
107
+ "@genesislcap/foundation-errors": "15.30.1",
108
+ "@genesislcap/foundation-events": "15.30.1",
109
+ "@genesislcap/foundation-logger": "15.30.1",
110
+ "@genesislcap/foundation-notifications": "15.30.1",
111
+ "@genesislcap/foundation-user": "15.30.1",
112
+ "@genesislcap/foundation-utils": "15.30.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",