@genesislcap/foundation-ui 14.491.0 → 14.491.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.
@@ -131,15 +131,6 @@ interface HTMLWCProps extends React.AriaAttributes {
131
131
  onInput?(e: Event): void;
132
132
  }
133
133
 
134
- export declare const Accordion: React.ForwardRefExoticComponent<
135
- React.PropsWithChildren<
136
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
137
- HTMLWCProps & {
138
- }
139
- > & React.RefAttributes<AccordionWC>
140
- >;
141
- export type AccordionRef = AccordionWC;
142
-
143
134
  export declare const AccordionItem: React.ForwardRefExoticComponent<
144
135
  React.PropsWithChildren<
145
136
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -158,6 +149,15 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
158
149
  >;
159
150
  export type ActionsMenuRef = ActionsMenuWC;
160
151
 
152
+ export declare const Accordion: React.ForwardRefExoticComponent<
153
+ React.PropsWithChildren<
154
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
155
+ HTMLWCProps & {
156
+ }
157
+ > & React.RefAttributes<AccordionWC>
158
+ >;
159
+ export type AccordionRef = AccordionWC;
160
+
161
161
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
162
162
  React.PropsWithChildren<
163
163
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -198,23 +198,23 @@ export declare const AnchoredRegion: React.ForwardRefExoticComponent<
198
198
  >;
199
199
  export type AnchoredRegionRef = AnchoredRegionWC;
200
200
 
201
- export declare const Badge: React.ForwardRefExoticComponent<
201
+ export declare const Avatar: React.ForwardRefExoticComponent<
202
202
  React.PropsWithChildren<
203
- Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
203
+ Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
204
204
  HTMLWCProps & {
205
205
  }
206
- > & React.RefAttributes<BadgeWC>
206
+ > & React.RefAttributes<AvatarWC>
207
207
  >;
208
- export type BadgeRef = BadgeWC;
208
+ export type AvatarRef = AvatarWC;
209
209
 
210
- export declare const Avatar: React.ForwardRefExoticComponent<
210
+ export declare const Badge: React.ForwardRefExoticComponent<
211
211
  React.PropsWithChildren<
212
- Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
212
+ Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
213
213
  HTMLWCProps & {
214
214
  }
215
- > & React.RefAttributes<AvatarWC>
215
+ > & React.RefAttributes<BadgeWC>
216
216
  >;
217
- export type AvatarRef = AvatarWC;
217
+ export type BadgeRef = BadgeWC;
218
218
 
219
219
  export declare const Banner: React.ForwardRefExoticComponent<
220
220
  React.PropsWithChildren<
@@ -1 +1 @@
1
- {"version":3,"file":"base-datasource.d.ts","sourceRoot":"","sources":["../../../src/utils/base-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EAGV,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,wBAAwB,EAKxB,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACrD,OAAO,EAAU,OAAO,EAAE,MAAM,UAAU,CAAC;AAO3C,MAAM,WAAW,kCAAkC;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;CACpB;;;;QA2B+B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA2CQ,CAAC;4IAIX,CAAC;wFAEkC,CAAC;+IAO1B,CAAC;2FAM9B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyC4E,CAAC;;;;;;;;;;;;;;;;;;;;;;;mBAoEjE,CAAC;;;;;;;;;;;;;6BAwBL,CAAC;8BAIV,CAAC;kBACa,CAAC;;oBACwC,CAAC;;sBAGpC,CAAC;oBA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AW,CAAC,MAAM,GAAE,kCAAuC,GAAG,IAAI;IAQlE,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,aAAa;IAIlD,qBAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,aAAa;CAOtD"}
@@ -307,16 +307,22 @@ export class BaseDatasource extends DatasourceEventHandler(FoundationElement) {
307
307
  });
308
308
  return;
309
309
  }
310
+ if (this.rowId === 'ROW_REF') {
311
+ // Request/reply rows have no ROW_REF (that's a data-server-only concept), so there's
312
+ // no stable row identity to diff against. Each poll is already a full, self-contained
313
+ // snapshot, so just render it directly rather than merging it into rowsSyncedWithStream.
314
+ this.syncComponentData(requestServerResult.REPLY);
315
+ return;
316
+ }
310
317
  if (this.requiresFullDataRefresh) {
311
- if (this.rowId !== 'ROW_REF') {
312
- (_b = requestServerResult.REPLY) === null || _b === void 0 ? void 0 : _b.forEach((insertData) => {
313
- this.rowsSyncedWithStream.set(insertData[this.rowId], insertData);
314
- });
315
- }
316
- const rowData = this.rowsSyncedWithStream.size > 0
317
- ? Array.from(this.rowsSyncedWithStream.values())
318
- : requestServerResult.REPLY;
319
- this.syncComponentData(rowData);
318
+ // Subclasses that never leave full-refresh mode (e.g. options/data-grid datasources)
319
+ // rely on this branch to render req/rep data: their handleStream* hooks are stubs or
320
+ // serve infinite-scroll page appends, not poll diffing, so falling through would drop
321
+ // or duplicate the reply.
322
+ (_b = requestServerResult.REPLY) === null || _b === void 0 ? void 0 : _b.forEach((insertData) => {
323
+ this.rowsSyncedWithStream.set(insertData[this.rowId], insertData);
324
+ });
325
+ this.syncComponentData(Array.from(this.rowsSyncedWithStream.values()));
320
326
  return;
321
327
  }
322
328
  this.handleStreamInserts(requestServerResult.REPLY);
package/dist/react.cjs CHANGED
@@ -111,11 +111,6 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- 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
  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);
@@ -126,6 +121,11 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
126
121
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
127
122
  });
128
123
 
124
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
125
+ const { children, ...rest } = props;
126
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
127
+ });
128
+
129
129
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
130
130
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
131
131
  const _innerRef = React.useRef(null);
@@ -180,14 +180,14 @@ const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
180
180
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
181
181
  });
182
182
 
183
- const Badge = React.forwardRef(function Badge(props, ref) {
183
+ const Avatar = React.forwardRef(function Avatar(props, ref) {
184
184
  const { children, ...rest } = props;
185
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
185
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
186
186
  });
187
187
 
188
- const Avatar = React.forwardRef(function Avatar(props, ref) {
188
+ const Badge = React.forwardRef(function Badge(props, ref) {
189
189
  const { children, ...rest } = props;
190
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
190
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
191
191
  });
192
192
 
193
193
  const Banner = React.forwardRef(function Banner(props, ref) {
@@ -1102,15 +1102,15 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1102
1102
  });
1103
1103
 
1104
1104
  module.exports = {
1105
- Accordion,
1106
1105
  AccordionItem,
1107
1106
  ActionsMenu,
1107
+ Accordion,
1108
1108
  AiCriteriaSearch,
1109
1109
  AiIndicator,
1110
1110
  Anchor,
1111
1111
  AnchoredRegion,
1112
- Badge,
1113
1112
  Avatar,
1113
+ Badge,
1114
1114
  Banner,
1115
1115
  Breadcrumb,
1116
1116
  BreadcrumbItem,
package/dist/react.mjs CHANGED
@@ -109,11 +109,6 @@ function _mergeRefs(...refs) {
109
109
  };
110
110
  }
111
111
 
112
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
113
- const { children, ...rest } = props;
114
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
115
- });
116
-
117
112
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
118
113
  const { children, ...rest } = props;
119
114
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -124,6 +119,11 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
124
119
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
125
120
  });
126
121
 
122
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
123
+ const { children, ...rest } = props;
124
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
125
+ });
126
+
127
127
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
128
128
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
129
129
  const _innerRef = React.useRef(null);
@@ -178,14 +178,14 @@ export const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, re
178
178
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
179
179
  });
180
180
 
181
- export const Badge = React.forwardRef(function Badge(props, ref) {
181
+ export const Avatar = React.forwardRef(function Avatar(props, ref) {
182
182
  const { children, ...rest } = props;
183
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
183
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
184
184
  });
185
185
 
186
- export const Avatar = React.forwardRef(function Avatar(props, ref) {
186
+ export const Badge = React.forwardRef(function Badge(props, ref) {
187
187
  const { children, ...rest } = props;
188
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
188
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
189
189
  });
190
190
 
191
191
  export const Banner = React.forwardRef(function Banner(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.491.0",
4
+ "version": "14.491.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.491.0",
89
- "@genesislcap/genx": "14.491.0",
90
- "@genesislcap/rollup-builder": "14.491.0",
91
- "@genesislcap/ts-builder": "14.491.0",
92
- "@genesislcap/uvu-playwright-builder": "14.491.0",
93
- "@genesislcap/vite-builder": "14.491.0",
94
- "@genesislcap/webpack-builder": "14.491.0",
88
+ "@genesislcap/foundation-testing": "14.491.1",
89
+ "@genesislcap/genx": "14.491.1",
90
+ "@genesislcap/rollup-builder": "14.491.1",
91
+ "@genesislcap/ts-builder": "14.491.1",
92
+ "@genesislcap/uvu-playwright-builder": "14.491.1",
93
+ "@genesislcap/vite-builder": "14.491.1",
94
+ "@genesislcap/webpack-builder": "14.491.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.491.0",
104
- "@genesislcap/foundation-ai": "14.491.0",
105
- "@genesislcap/foundation-comms": "14.491.0",
106
- "@genesislcap/foundation-criteria": "14.491.0",
107
- "@genesislcap/foundation-errors": "14.491.0",
108
- "@genesislcap/foundation-events": "14.491.0",
109
- "@genesislcap/foundation-logger": "14.491.0",
110
- "@genesislcap/foundation-notifications": "14.491.0",
111
- "@genesislcap/foundation-user": "14.491.0",
112
- "@genesislcap/foundation-utils": "14.491.0",
103
+ "@genesislcap/expression-builder": "14.491.1",
104
+ "@genesislcap/foundation-ai": "14.491.1",
105
+ "@genesislcap/foundation-comms": "14.491.1",
106
+ "@genesislcap/foundation-criteria": "14.491.1",
107
+ "@genesislcap/foundation-errors": "14.491.1",
108
+ "@genesislcap/foundation-events": "14.491.1",
109
+ "@genesislcap/foundation-logger": "14.491.1",
110
+ "@genesislcap/foundation-notifications": "14.491.1",
111
+ "@genesislcap/foundation-user": "14.491.1",
112
+ "@genesislcap/foundation-utils": "14.491.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": "fe8d35e6f405de70f75acf61dbe65afa428ae37d"
145
+ "gitHead": "f4f0c1e530c16f54fda208dd503b79f14cc9200c"
146
146
  }