@genesislcap/foundation-ui 15.25.0 → 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"}
@@ -133,6 +133,15 @@ 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
+
136
145
  export declare const AccordionItem: React.ForwardRefExoticComponent<
137
146
  React.PropsWithChildren<
138
147
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -162,15 +171,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
162
171
  >;
163
172
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
164
173
 
165
- export declare const Accordion: React.ForwardRefExoticComponent<
166
- React.PropsWithChildren<
167
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
168
- HTMLWCProps & {
169
- }
170
- > & React.RefAttributes<AccordionWC>
171
- >;
172
- export type AccordionRef = AccordionWC;
173
-
174
174
  export declare const AiIndicator: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
176
176
  Omit<PublicOf<AiIndicatorWC>, '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
@@ -113,6 +113,11 @@ 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
+
116
121
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
117
122
  const { children, ...rest } = props;
118
123
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -145,11 +150,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
145
150
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
146
151
  });
147
152
 
148
- const Accordion = React.forwardRef(function Accordion(props, ref) {
149
- const { children, ...rest } = props;
150
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...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);
@@ -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) {
@@ -1143,15 +1143,15 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1143
1143
  });
1144
1144
 
1145
1145
  module.exports = {
1146
+ Accordion,
1146
1147
  AccordionItem,
1147
1148
  ActionsMenu,
1148
1149
  AiCriteriaSearch,
1149
- Accordion,
1150
1150
  AiIndicator,
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
@@ -111,6 +111,11 @@ 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
+
114
119
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
115
120
  const { children, ...rest } = props;
116
121
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -143,11 +148,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
143
148
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
144
149
  });
145
150
 
146
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
147
- const { children, ...rest } = props;
148
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...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);
@@ -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.25.0",
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.25.0",
89
- "@genesislcap/genx": "15.25.0",
90
- "@genesislcap/rollup-builder": "15.25.0",
91
- "@genesislcap/ts-builder": "15.25.0",
92
- "@genesislcap/uvu-playwright-builder": "15.25.0",
93
- "@genesislcap/vite-builder": "15.25.0",
94
- "@genesislcap/webpack-builder": "15.25.0",
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.25.0",
104
- "@genesislcap/foundation-ai": "15.25.0",
105
- "@genesislcap/foundation-comms": "15.25.0",
106
- "@genesislcap/foundation-criteria": "15.25.0",
107
- "@genesislcap/foundation-errors": "15.25.0",
108
- "@genesislcap/foundation-events": "15.25.0",
109
- "@genesislcap/foundation-logger": "15.25.0",
110
- "@genesislcap/foundation-notifications": "15.25.0",
111
- "@genesislcap/foundation-user": "15.25.0",
112
- "@genesislcap/foundation-utils": "15.25.0",
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",