@genesislcap/rapid-design-system 15.84.3 → 15.85.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.
@@ -120,23 +120,23 @@ interface HTMLWCProps extends React.AriaAttributes {
120
120
  onInput?(e: Event): void;
121
121
  }
122
122
 
123
- export declare const Accordion: React.ForwardRefExoticComponent<
123
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
124
124
  React.PropsWithChildren<
125
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
125
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
126
126
  HTMLWCProps & {
127
127
  }
128
- > & React.RefAttributes<AccordionWC>
128
+ > & React.RefAttributes<AccordionItemWC>
129
129
  >;
130
- export type AccordionRef = AccordionWC;
130
+ export type AccordionItemRef = AccordionItemWC;
131
131
 
132
- export declare const AccordionItem: React.ForwardRefExoticComponent<
132
+ export declare const Accordion: React.ForwardRefExoticComponent<
133
133
  React.PropsWithChildren<
134
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
134
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
135
135
  HTMLWCProps & {
136
136
  }
137
- > & React.RefAttributes<AccordionItemWC>
137
+ > & React.RefAttributes<AccordionWC>
138
138
  >;
139
- export type AccordionItemRef = AccordionItemWC;
139
+ export type AccordionRef = AccordionWC;
140
140
 
141
141
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
142
142
  React.PropsWithChildren<
@@ -318,15 +318,6 @@ export declare const DesignSystemProvider: React.ForwardRefExoticComponent<
318
318
  >;
319
319
  export type DesignSystemProviderRef = DesignSystemProviderWC;
320
320
 
321
- export declare const Disclosure: React.ForwardRefExoticComponent<
322
- React.PropsWithChildren<
323
- Omit<PublicOf<DisclosureWC>, 'children' | 'style'> &
324
- HTMLWCProps & {
325
- }
326
- > & React.RefAttributes<DisclosureWC>
327
- >;
328
- export type DisclosureRef = DisclosureWC;
329
-
330
321
  export declare const Dialog: React.ForwardRefExoticComponent<
331
322
  React.PropsWithChildren<
332
323
  Omit<PublicOf<DialogWC>, 'children' | 'style'> &
@@ -337,6 +328,15 @@ export declare const Dialog: React.ForwardRefExoticComponent<
337
328
  >;
338
329
  export type DialogRef = DialogWC;
339
330
 
331
+ export declare const Disclosure: React.ForwardRefExoticComponent<
332
+ React.PropsWithChildren<
333
+ Omit<PublicOf<DisclosureWC>, 'children' | 'style'> &
334
+ HTMLWCProps & {
335
+ }
336
+ > & React.RefAttributes<DisclosureWC>
337
+ >;
338
+ export type DisclosureRef = DisclosureWC;
339
+
340
340
  export declare const Divider: React.ForwardRefExoticComponent<
341
341
  React.PropsWithChildren<
342
342
  Omit<PublicOf<DividerWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -99,14 +99,14 @@ function _mergeRefs(...refs) {
99
99
  };
100
100
  }
101
101
 
102
- const Accordion = React.forwardRef(function Accordion(props, ref) {
102
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
103
103
  const { children, ...rest } = props;
104
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
104
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
105
105
  });
106
106
 
107
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
107
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
108
108
  const { children, ...rest } = props;
109
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
109
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
110
110
  });
111
111
 
112
112
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -286,11 +286,6 @@ const DesignSystemProvider = React.forwardRef(function DesignSystemProvider(prop
286
286
  return React.createElement(customElements.getName(DesignSystemProviderWC) ?? '%%prefix%%-design-system-provider', { ...rest, ref }, children);
287
287
  });
288
288
 
289
- const Disclosure = React.forwardRef(function Disclosure(props, ref) {
290
- const { children, ...rest } = props;
291
- return React.createElement(customElements.getName(DisclosureWC) ?? '%%prefix%%-disclosure', { ...rest, ref }, children);
292
- });
293
-
294
289
  const Dialog = React.forwardRef(function Dialog(props, ref) {
295
290
  const { onClose, children, ...rest } = props;
296
291
  const _innerRef = React.useRef(null);
@@ -308,6 +303,11 @@ const Dialog = React.forwardRef(function Dialog(props, ref) {
308
303
  return React.createElement(customElements.getName(DialogWC) ?? '%%prefix%%-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
309
304
  });
310
305
 
306
+ const Disclosure = React.forwardRef(function Disclosure(props, ref) {
307
+ const { children, ...rest } = props;
308
+ return React.createElement(customElements.getName(DisclosureWC) ?? '%%prefix%%-disclosure', { ...rest, ref }, children);
309
+ });
310
+
311
311
  const Divider = React.forwardRef(function Divider(props, ref) {
312
312
  const { children, ...rest } = props;
313
313
  return React.createElement(customElements.getName(DividerWC) ?? '%%prefix%%-divider', { ...rest, ref }, children);
@@ -999,8 +999,8 @@ const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props,
999
999
  });
1000
1000
 
1001
1001
  module.exports = {
1002
- Accordion,
1003
1002
  AccordionItem,
1003
+ Accordion,
1004
1004
  ActionsMenu,
1005
1005
  AiCriteriaSearch,
1006
1006
  AiIndicator,
@@ -1020,8 +1020,8 @@ module.exports = {
1020
1020
  ConnectionIndicator,
1021
1021
  DatePicker,
1022
1022
  DesignSystemProvider,
1023
- Disclosure,
1024
1023
  Dialog,
1024
+ Disclosure,
1025
1025
  Divider,
1026
1026
  DropdownMenu,
1027
1027
  EnvironmentIndicator,
package/dist/react.mjs CHANGED
@@ -97,14 +97,14 @@ function _mergeRefs(...refs) {
97
97
  };
98
98
  }
99
99
 
100
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
100
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
101
101
  const { children, ...rest } = props;
102
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
102
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
103
103
  });
104
104
 
105
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
105
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
106
106
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
108
108
  });
109
109
 
110
110
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -284,11 +284,6 @@ export const DesignSystemProvider = React.forwardRef(function DesignSystemProvid
284
284
  return React.createElement(customElements.getName(DesignSystemProviderWC) ?? '%%prefix%%-design-system-provider', { ...rest, ref }, children);
285
285
  });
286
286
 
287
- export const Disclosure = React.forwardRef(function Disclosure(props, ref) {
288
- const { children, ...rest } = props;
289
- return React.createElement(customElements.getName(DisclosureWC) ?? '%%prefix%%-disclosure', { ...rest, ref }, children);
290
- });
291
-
292
287
  export const Dialog = React.forwardRef(function Dialog(props, ref) {
293
288
  const { onClose, children, ...rest } = props;
294
289
  const _innerRef = React.useRef(null);
@@ -306,6 +301,11 @@ export const Dialog = React.forwardRef(function Dialog(props, ref) {
306
301
  return React.createElement(customElements.getName(DialogWC) ?? '%%prefix%%-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
307
302
  });
308
303
 
304
+ export const Disclosure = React.forwardRef(function Disclosure(props, ref) {
305
+ const { children, ...rest } = props;
306
+ return React.createElement(customElements.getName(DisclosureWC) ?? '%%prefix%%-disclosure', { ...rest, ref }, children);
307
+ });
308
+
309
309
  export const Divider = React.forwardRef(function Divider(props, ref) {
310
310
  const { children, ...rest } = props;
311
311
  return React.createElement(customElements.getName(DividerWC) ?? '%%prefix%%-divider', { ...rest, ref }, children);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rapid-design-system",
3
3
  "description": "Rapid Design System",
4
- "version": "15.84.3",
4
+ "version": "15.85.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -37,12 +37,12 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
40
- "@genesislcap/foundation-testing": "15.84.3",
41
- "@genesislcap/genx": "15.84.3",
42
- "@genesislcap/ts-builder": "15.84.3",
43
- "@genesislcap/uvu-playwright-builder": "15.84.3",
44
- "@genesislcap/vite-builder": "15.84.3",
45
- "@genesislcap/webpack-builder": "15.84.3",
40
+ "@genesislcap/foundation-testing": "15.85.0",
41
+ "@genesislcap/genx": "15.85.0",
42
+ "@genesislcap/ts-builder": "15.85.0",
43
+ "@genesislcap/uvu-playwright-builder": "15.85.0",
44
+ "@genesislcap/vite-builder": "15.85.0",
45
+ "@genesislcap/webpack-builder": "15.85.0",
46
46
  "flexlayout-react": "0.10.8"
47
47
  },
48
48
  "peerDependencies": {
@@ -54,9 +54,9 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@genesislcap/foundation-logger": "15.84.3",
58
- "@genesislcap/foundation-ui": "15.84.3",
59
- "@genesislcap/foundation-utils": "15.84.3",
57
+ "@genesislcap/foundation-logger": "15.85.0",
58
+ "@genesislcap/foundation-ui": "15.85.0",
59
+ "@genesislcap/foundation-utils": "15.85.0",
60
60
  "@microsoft/fast-colors": "5.3.1",
61
61
  "@microsoft/fast-components": "2.30.6",
62
62
  "@microsoft/fast-element": "1.14.0",