@genesislcap/foundation-ui 15.44.0 → 15.46.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.
@@ -133,15 +133,6 @@ interface HTMLWCProps extends React.AriaAttributes {
133
133
  onInput?(e: Event): void;
134
134
  }
135
135
 
136
- export declare const Accordion: React.ForwardRefExoticComponent<
137
- React.PropsWithChildren<
138
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
139
- HTMLWCProps & {
140
- }
141
- > & React.RefAttributes<AccordionWC>
142
- >;
143
- export type AccordionRef = AccordionWC;
144
-
145
136
  export declare const AccordionItem: React.ForwardRefExoticComponent<
146
137
  React.PropsWithChildren<
147
138
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -151,14 +142,14 @@ export declare const AccordionItem: React.ForwardRefExoticComponent<
151
142
  >;
152
143
  export type AccordionItemRef = AccordionItemWC;
153
144
 
154
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
145
+ export declare const Accordion: React.ForwardRefExoticComponent<
155
146
  React.PropsWithChildren<
156
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
147
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
157
148
  HTMLWCProps & {
158
149
  }
159
- > & React.RefAttributes<ActionsMenuWC>
150
+ > & React.RefAttributes<AccordionWC>
160
151
  >;
161
- export type ActionsMenuRef = ActionsMenuWC;
152
+ export type AccordionRef = AccordionWC;
162
153
 
163
154
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
164
155
  React.PropsWithChildren<
@@ -171,6 +162,15 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
171
162
  >;
172
163
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
173
164
 
165
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
166
+ React.PropsWithChildren<
167
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
168
+ HTMLWCProps & {
169
+ }
170
+ > & React.RefAttributes<ActionsMenuWC>
171
+ >;
172
+ export type ActionsMenuRef = ActionsMenuWC;
173
+
174
174
  export declare const AiIndicator: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
176
176
  Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -113,19 +113,14 @@ function _mergeRefs(...refs) {
113
113
  };
114
114
  }
115
115
 
116
- const Accordion = React.forwardRef(function Accordion(props, ref) {
117
- const { children, ...rest } = props;
118
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...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 ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
121
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
127
122
  const { children, ...rest } = props;
128
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
123
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
129
124
  });
130
125
 
131
126
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -150,6 +145,11 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
150
145
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
151
146
  });
152
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 AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
154
154
  const { children, ...rest } = props;
155
155
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
@@ -1143,10 +1143,10 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1143
1143
  });
1144
1144
 
1145
1145
  module.exports = {
1146
- Accordion,
1147
1146
  AccordionItem,
1148
- ActionsMenu,
1147
+ Accordion,
1149
1148
  AiCriteriaSearch,
1149
+ ActionsMenu,
1150
1150
  AiIndicator,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
package/dist/react.mjs CHANGED
@@ -111,19 +111,14 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
115
- const { children, ...rest } = props;
116
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...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 ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
119
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
125
120
  const { children, ...rest } = props;
126
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
121
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
127
122
  });
128
123
 
129
124
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -148,6 +143,11 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
148
143
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
149
144
  });
150
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 AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
152
152
  const { children, ...rest } = props;
153
153
  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": "15.44.0",
4
+ "version": "15.46.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -51,15 +51,12 @@
51
51
  },
52
52
  "scripts": {
53
53
  "build": "npm run build:copy-ms-manifest && genx build -b ts",
54
- "build:rollup": "genx build -b rollup",
55
- "build:rollup:stats": "genx analyze -b rollup",
56
54
  "build:webpack": "genx build",
57
55
  "build:webpack:stats": "genx analyze",
58
56
  "build:copy-ms-manifest": "copyfiles -u 1 ms-fast-components/custom-elements.json ../../../node_modules/@microsoft/fast-components/dist/",
59
57
  "circular": "npx -y madge --extensions ts --circular ./src",
60
58
  "clean": "rimraf dist temp tsconfig.tsbuildinfo",
61
59
  "dev": "npm run dev:tsc",
62
- "dev:rollup": "genx dev -b rollup",
63
60
  "dev:tsc": "genx dev -b ts",
64
61
  "dev:webpack": "genx dev -b webpack",
65
62
  "serve": "genx serve",
@@ -85,13 +82,12 @@
85
82
  }
86
83
  },
87
84
  "devDependencies": {
88
- "@genesislcap/foundation-testing": "15.44.0",
89
- "@genesislcap/genx": "15.44.0",
90
- "@genesislcap/rollup-builder": "15.44.0",
91
- "@genesislcap/ts-builder": "15.44.0",
92
- "@genesislcap/uvu-playwright-builder": "15.44.0",
93
- "@genesislcap/vite-builder": "15.44.0",
94
- "@genesislcap/webpack-builder": "15.44.0",
85
+ "@genesislcap/foundation-testing": "15.46.0",
86
+ "@genesislcap/genx": "15.46.0",
87
+ "@genesislcap/ts-builder": "15.46.0",
88
+ "@genesislcap/uvu-playwright-builder": "15.46.0",
89
+ "@genesislcap/vite-builder": "15.46.0",
90
+ "@genesislcap/webpack-builder": "15.46.0",
95
91
  "copyfiles": "^2.4.1"
96
92
  },
97
93
  "dependencies": {
@@ -100,16 +96,16 @@
100
96
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
97
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
98
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "15.44.0",
104
- "@genesislcap/foundation-ai": "15.44.0",
105
- "@genesislcap/foundation-comms": "15.44.0",
106
- "@genesislcap/foundation-criteria": "15.44.0",
107
- "@genesislcap/foundation-errors": "15.44.0",
108
- "@genesislcap/foundation-events": "15.44.0",
109
- "@genesislcap/foundation-logger": "15.44.0",
110
- "@genesislcap/foundation-notifications": "15.44.0",
111
- "@genesislcap/foundation-user": "15.44.0",
112
- "@genesislcap/foundation-utils": "15.44.0",
99
+ "@genesislcap/expression-builder": "15.46.0",
100
+ "@genesislcap/foundation-ai": "15.46.0",
101
+ "@genesislcap/foundation-comms": "15.46.0",
102
+ "@genesislcap/foundation-criteria": "15.46.0",
103
+ "@genesislcap/foundation-errors": "15.46.0",
104
+ "@genesislcap/foundation-events": "15.46.0",
105
+ "@genesislcap/foundation-logger": "15.46.0",
106
+ "@genesislcap/foundation-notifications": "15.46.0",
107
+ "@genesislcap/foundation-user": "15.46.0",
108
+ "@genesislcap/foundation-utils": "15.46.0",
113
109
  "@microsoft/fast-colors": "5.3.1",
114
110
  "@microsoft/fast-components": "2.30.6",
115
111
  "@microsoft/fast-element": "1.14.0",