@genesislcap/foundation-ui 14.457.0 → 14.457.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.
@@ -129,6 +129,15 @@ interface HTMLWCProps extends React.AriaAttributes {
129
129
  onInput?(e: Event): void;
130
130
  }
131
131
 
132
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
133
+ React.PropsWithChildren<
134
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
135
+ HTMLWCProps & {
136
+ }
137
+ > & React.RefAttributes<AccordionItemWC>
138
+ >;
139
+ export type AccordionItemRef = AccordionItemWC;
140
+
132
141
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
133
142
  React.PropsWithChildren<
134
143
  Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
@@ -138,14 +147,14 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
138
147
  >;
139
148
  export type ActionsMenuRef = ActionsMenuWC;
140
149
 
141
- export declare const AccordionItem: React.ForwardRefExoticComponent<
150
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
142
151
  React.PropsWithChildren<
143
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
152
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
144
153
  HTMLWCProps & {
145
154
  }
146
- > & React.RefAttributes<AccordionItemWC>
155
+ > & React.RefAttributes<AiIndicatorWC>
147
156
  >;
148
- export type AccordionItemRef = AccordionItemWC;
157
+ export type AiIndicatorRef = AiIndicatorWC;
149
158
 
150
159
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
151
160
  React.PropsWithChildren<
@@ -158,15 +167,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
158
167
  >;
159
168
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
160
169
 
161
- export declare const AiIndicator: React.ForwardRefExoticComponent<
162
- React.PropsWithChildren<
163
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
164
- HTMLWCProps & {
165
- }
166
- > & React.RefAttributes<AiIndicatorWC>
167
- >;
168
- export type AiIndicatorRef = AiIndicatorWC;
169
-
170
170
  export declare const Accordion: React.ForwardRefExoticComponent<
171
171
  React.PropsWithChildren<
172
172
  Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -111,14 +111,19 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
115
+ const { children, ...rest } = props;
116
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
117
+ });
118
+
114
119
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
115
120
  const { children, ...rest } = props;
116
121
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
117
122
  });
118
123
 
119
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
124
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
120
125
  const { children, ...rest } = props;
121
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
126
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
122
127
  });
123
128
 
124
129
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -143,11 +148,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
143
148
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
144
149
  });
145
150
 
146
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
147
- const { children, ...rest } = props;
148
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
149
- });
150
-
151
151
  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);
@@ -1078,10 +1078,10 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1078
1078
  });
1079
1079
 
1080
1080
  module.exports = {
1081
- ActionsMenu,
1082
1081
  AccordionItem,
1083
- AiCriteriaSearch,
1082
+ ActionsMenu,
1084
1083
  AiIndicator,
1084
+ AiCriteriaSearch,
1085
1085
  Accordion,
1086
1086
  Anchor,
1087
1087
  AnchoredRegion,
package/dist/react.mjs CHANGED
@@ -109,14 +109,19 @@ function _mergeRefs(...refs) {
109
109
  };
110
110
  }
111
111
 
112
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
113
+ const { children, ...rest } = props;
114
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
115
+ });
116
+
112
117
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
113
118
  const { children, ...rest } = props;
114
119
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
115
120
  });
116
121
 
117
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
122
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
118
123
  const { children, ...rest } = props;
119
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
124
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
120
125
  });
121
126
 
122
127
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -141,11 +146,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
141
146
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
142
147
  });
143
148
 
144
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
145
- const { children, ...rest } = props;
146
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
147
- });
148
-
149
149
  export const Accordion = React.forwardRef(function Accordion(props, ref) {
150
150
  const { children, ...rest } = props;
151
151
  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": "14.457.0",
4
+ "version": "14.457.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.457.0",
89
- "@genesislcap/genx": "14.457.0",
90
- "@genesislcap/rollup-builder": "14.457.0",
91
- "@genesislcap/ts-builder": "14.457.0",
92
- "@genesislcap/uvu-playwright-builder": "14.457.0",
93
- "@genesislcap/vite-builder": "14.457.0",
94
- "@genesislcap/webpack-builder": "14.457.0",
88
+ "@genesislcap/foundation-testing": "14.457.1",
89
+ "@genesislcap/genx": "14.457.1",
90
+ "@genesislcap/rollup-builder": "14.457.1",
91
+ "@genesislcap/ts-builder": "14.457.1",
92
+ "@genesislcap/uvu-playwright-builder": "14.457.1",
93
+ "@genesislcap/vite-builder": "14.457.1",
94
+ "@genesislcap/webpack-builder": "14.457.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.457.0",
104
- "@genesislcap/foundation-ai": "14.457.0",
105
- "@genesislcap/foundation-comms": "14.457.0",
106
- "@genesislcap/foundation-criteria": "14.457.0",
107
- "@genesislcap/foundation-errors": "14.457.0",
108
- "@genesislcap/foundation-events": "14.457.0",
109
- "@genesislcap/foundation-logger": "14.457.0",
110
- "@genesislcap/foundation-notifications": "14.457.0",
111
- "@genesislcap/foundation-user": "14.457.0",
112
- "@genesislcap/foundation-utils": "14.457.0",
103
+ "@genesislcap/expression-builder": "14.457.1",
104
+ "@genesislcap/foundation-ai": "14.457.1",
105
+ "@genesislcap/foundation-comms": "14.457.1",
106
+ "@genesislcap/foundation-criteria": "14.457.1",
107
+ "@genesislcap/foundation-errors": "14.457.1",
108
+ "@genesislcap/foundation-events": "14.457.1",
109
+ "@genesislcap/foundation-logger": "14.457.1",
110
+ "@genesislcap/foundation-notifications": "14.457.1",
111
+ "@genesislcap/foundation-user": "14.457.1",
112
+ "@genesislcap/foundation-utils": "14.457.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": "ecc0fcc5fa3bfe3365e2d7ca7c08cb80cd39e451"
145
+ "gitHead": "d11a46202d4f1404deffdaa867fcbe5b2c8225dc"
146
146
  }