@genesislcap/foundation-ui 15.24.2 → 15.25.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.
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.styles.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,sBAAsB,EAAE,aAsRpC,CAAC"}
1
+ {"version":3,"file":"dialog.styles.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,sBAAsB,EAAE,aAuRpC,CAAC"}
@@ -151,6 +151,15 @@ export declare const AccordionItem: React.ForwardRefExoticComponent<
151
151
  >;
152
152
  export type AccordionItemRef = AccordionItemWC;
153
153
 
154
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
155
+ React.PropsWithChildren<
156
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
157
+ HTMLWCProps & {
158
+ }
159
+ > & React.RefAttributes<ActionsMenuWC>
160
+ >;
161
+ export type ActionsMenuRef = ActionsMenuWC;
162
+
154
163
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
155
164
  React.PropsWithChildren<
156
165
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -171,15 +180,6 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
171
180
  >;
172
181
  export type AiIndicatorRef = AiIndicatorWC;
173
182
 
174
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
175
- React.PropsWithChildren<
176
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
177
- HTMLWCProps & {
178
- }
179
- > & React.RefAttributes<ActionsMenuWC>
180
- >;
181
- export type ActionsMenuRef = ActionsMenuWC;
182
-
183
183
  export declare const Anchor: React.ForwardRefExoticComponent<
184
184
  React.PropsWithChildren<
185
185
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
@@ -200,23 +200,23 @@ export declare const AnchoredRegion: React.ForwardRefExoticComponent<
200
200
  >;
201
201
  export type AnchoredRegionRef = AnchoredRegionWC;
202
202
 
203
- export declare const Avatar: React.ForwardRefExoticComponent<
203
+ export declare const Badge: React.ForwardRefExoticComponent<
204
204
  React.PropsWithChildren<
205
- Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
205
+ Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
206
206
  HTMLWCProps & {
207
207
  }
208
- > & React.RefAttributes<AvatarWC>
208
+ > & React.RefAttributes<BadgeWC>
209
209
  >;
210
- export type AvatarRef = AvatarWC;
210
+ export type BadgeRef = BadgeWC;
211
211
 
212
- export declare const Badge: React.ForwardRefExoticComponent<
212
+ export declare const Avatar: React.ForwardRefExoticComponent<
213
213
  React.PropsWithChildren<
214
- Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
214
+ Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
215
215
  HTMLWCProps & {
216
216
  }
217
- > & React.RefAttributes<BadgeWC>
217
+ > & React.RefAttributes<AvatarWC>
218
218
  >;
219
- export type BadgeRef = BadgeWC;
219
+ export type AvatarRef = AvatarWC;
220
220
 
221
221
  export declare const Banner: React.ForwardRefExoticComponent<
222
222
  React.PropsWithChildren<
@@ -61,6 +61,7 @@ export const foundationDialogStyles = css `
61
61
  padding: calc(var(--design-unit) * 3px);
62
62
  outline: none;
63
63
  overflow: inherit;
64
+
64
65
  /* The inner element is position:fixed, so it is never CLIPPED — but an 'auto' default leaves it
65
66
  in the normal paint tree at its tree position, where any later-in-DOM sibling paints over it
66
67
  (e.g. a non-modal dialog inside one FlexLayout tile disappears under the tiles below).
package/dist/react.cjs CHANGED
@@ -123,6 +123,11 @@ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
123
123
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
124
124
  });
125
125
 
126
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
127
+ const { children, ...rest } = props;
128
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
129
+ });
130
+
126
131
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
127
132
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
128
133
  const _innerRef = React.useRef(null);
@@ -150,11 +155,6 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
150
155
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
151
156
  });
152
157
 
153
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
154
- const { children, ...rest } = props;
155
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
156
- });
157
-
158
158
  const Anchor = React.forwardRef(function Anchor(props, ref) {
159
159
  const { children, ...rest } = props;
160
160
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -182,14 +182,14 @@ const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
182
182
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
183
183
  });
184
184
 
185
- const Avatar = React.forwardRef(function Avatar(props, ref) {
185
+ const Badge = React.forwardRef(function Badge(props, ref) {
186
186
  const { children, ...rest } = props;
187
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
187
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
188
188
  });
189
189
 
190
- const Badge = React.forwardRef(function Badge(props, ref) {
190
+ const Avatar = React.forwardRef(function Avatar(props, ref) {
191
191
  const { children, ...rest } = props;
192
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
192
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
193
193
  });
194
194
 
195
195
  const Banner = React.forwardRef(function Banner(props, ref) {
@@ -1145,13 +1145,13 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1145
1145
  module.exports = {
1146
1146
  Accordion,
1147
1147
  AccordionItem,
1148
+ ActionsMenu,
1148
1149
  AiCriteriaSearch,
1149
1150
  AiIndicator,
1150
- ActionsMenu,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
1153
- Avatar,
1154
1153
  Badge,
1154
+ Avatar,
1155
1155
  Banner,
1156
1156
  Breadcrumb,
1157
1157
  BreadcrumbItem,
package/dist/react.mjs CHANGED
@@ -121,6 +121,11 @@ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref)
121
121
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
122
122
  });
123
123
 
124
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
125
+ const { children, ...rest } = props;
126
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
127
+ });
128
+
124
129
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
125
130
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
126
131
  const _innerRef = React.useRef(null);
@@ -148,11 +153,6 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
148
153
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
149
154
  });
150
155
 
151
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
152
- const { children, ...rest } = props;
153
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
154
- });
155
-
156
156
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
157
157
  const { children, ...rest } = props;
158
158
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -180,14 +180,14 @@ export const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, re
180
180
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
181
181
  });
182
182
 
183
- export const Avatar = React.forwardRef(function Avatar(props, ref) {
183
+ export const Badge = React.forwardRef(function Badge(props, ref) {
184
184
  const { children, ...rest } = props;
185
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
185
+ return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
186
186
  });
187
187
 
188
- export const Badge = React.forwardRef(function Badge(props, ref) {
188
+ export const Avatar = React.forwardRef(function Avatar(props, ref) {
189
189
  const { children, ...rest } = props;
190
- return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
190
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
191
191
  });
192
192
 
193
193
  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": "15.24.2",
4
+ "version": "15.25.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.24.2",
89
- "@genesislcap/genx": "15.24.2",
90
- "@genesislcap/rollup-builder": "15.24.2",
91
- "@genesislcap/ts-builder": "15.24.2",
92
- "@genesislcap/uvu-playwright-builder": "15.24.2",
93
- "@genesislcap/vite-builder": "15.24.2",
94
- "@genesislcap/webpack-builder": "15.24.2",
88
+ "@genesislcap/foundation-testing": "15.25.1",
89
+ "@genesislcap/genx": "15.25.1",
90
+ "@genesislcap/rollup-builder": "15.25.1",
91
+ "@genesislcap/ts-builder": "15.25.1",
92
+ "@genesislcap/uvu-playwright-builder": "15.25.1",
93
+ "@genesislcap/vite-builder": "15.25.1",
94
+ "@genesislcap/webpack-builder": "15.25.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.24.2",
104
- "@genesislcap/foundation-ai": "15.24.2",
105
- "@genesislcap/foundation-comms": "15.24.2",
106
- "@genesislcap/foundation-criteria": "15.24.2",
107
- "@genesislcap/foundation-errors": "15.24.2",
108
- "@genesislcap/foundation-events": "15.24.2",
109
- "@genesislcap/foundation-logger": "15.24.2",
110
- "@genesislcap/foundation-notifications": "15.24.2",
111
- "@genesislcap/foundation-user": "15.24.2",
112
- "@genesislcap/foundation-utils": "15.24.2",
103
+ "@genesislcap/expression-builder": "15.25.1",
104
+ "@genesislcap/foundation-ai": "15.25.1",
105
+ "@genesislcap/foundation-comms": "15.25.1",
106
+ "@genesislcap/foundation-criteria": "15.25.1",
107
+ "@genesislcap/foundation-errors": "15.25.1",
108
+ "@genesislcap/foundation-events": "15.25.1",
109
+ "@genesislcap/foundation-logger": "15.25.1",
110
+ "@genesislcap/foundation-notifications": "15.25.1",
111
+ "@genesislcap/foundation-user": "15.25.1",
112
+ "@genesislcap/foundation-utils": "15.25.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",