@genesislcap/rapid-design-system 15.101.0 → 15.102.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.
@@ -508,17 +508,6 @@ export declare const Menu: React.ForwardRefExoticComponent<
508
508
  >;
509
509
  export type MenuRef = MenuWC;
510
510
 
511
- export declare const MenuItem: React.ForwardRefExoticComponent<
512
- React.PropsWithChildren<
513
- Omit<PublicOf<MenuItemWC>, 'children' | 'style'> &
514
- HTMLWCProps & {
515
- onOnMenuClick?: (event: CustomEvent<unknown>) => void;
516
- onExpandedChange?: (event: CustomEvent<unknown>) => void;
517
- }
518
- > & React.RefAttributes<MenuItemWC>
519
- >;
520
- export type MenuItemRef = MenuItemWC;
521
-
522
511
  export declare const Modal: React.ForwardRefExoticComponent<
523
512
  React.PropsWithChildren<
524
513
  Omit<PublicOf<ModalWC>, 'children' | 'style'> &
@@ -540,6 +529,17 @@ export declare const Multiselect: React.ForwardRefExoticComponent<
540
529
  >;
541
530
  export type MultiselectRef = MultiselectWC;
542
531
 
532
+ export declare const MenuItem: React.ForwardRefExoticComponent<
533
+ React.PropsWithChildren<
534
+ Omit<PublicOf<MenuItemWC>, 'children' | 'style'> &
535
+ HTMLWCProps & {
536
+ onOnMenuClick?: (event: CustomEvent<unknown>) => void;
537
+ onExpandedChange?: (event: CustomEvent<unknown>) => void;
538
+ }
539
+ > & React.RefAttributes<MenuItemWC>
540
+ >;
541
+ export type MenuItemRef = MenuItemWC;
542
+
543
543
  export declare const NotificationListener: React.ForwardRefExoticComponent<
544
544
  React.PropsWithChildren<
545
545
  Omit<PublicOf<NotificationListenerWC>, 'children' | 'style'> &
@@ -567,6 +567,15 @@ export declare const Optgroup: React.ForwardRefExoticComponent<
567
567
  >;
568
568
  export type OptgroupRef = OptgroupWC;
569
569
 
570
+ export declare const Progress: React.ForwardRefExoticComponent<
571
+ React.PropsWithChildren<
572
+ Omit<PublicOf<ProgressWC>, 'children' | 'style'> &
573
+ HTMLWCProps & {
574
+ }
575
+ > & React.RefAttributes<ProgressWC>
576
+ >;
577
+ export type ProgressRef = ProgressWC;
578
+
570
579
  export declare const Pill: React.ForwardRefExoticComponent<
571
580
  React.PropsWithChildren<
572
581
  Omit<PublicOf<PillWC>, 'children' | 'style'> &
@@ -578,15 +587,6 @@ export declare const Pill: React.ForwardRefExoticComponent<
578
587
  >;
579
588
  export type PillRef = PillWC;
580
589
 
581
- export declare const Progress: React.ForwardRefExoticComponent<
582
- React.PropsWithChildren<
583
- Omit<PublicOf<ProgressWC>, 'children' | 'style'> &
584
- HTMLWCProps & {
585
- }
586
- > & React.RefAttributes<ProgressWC>
587
- >;
588
- export type ProgressRef = ProgressWC;
589
-
590
590
  export declare const ProgressRing: React.ForwardRefExoticComponent<
591
591
  React.PropsWithChildren<
592
592
  Omit<PublicOf<ProgressRingWC>, 'children' | 'style'> &
@@ -614,23 +614,23 @@ export declare const RadioGroup: React.ForwardRefExoticComponent<
614
614
  >;
615
615
  export type RadioGroupRef = RadioGroupWC;
616
616
 
617
- export declare const RapidRouter: React.ForwardRefExoticComponent<
617
+ export declare const Scheduler: React.ForwardRefExoticComponent<
618
618
  React.PropsWithChildren<
619
- Omit<PublicOf<RapidRouterWC>, 'children' | 'style'> &
619
+ Omit<PublicOf<SchedulerWC>, 'children' | 'style'> &
620
620
  HTMLWCProps & {
621
621
  }
622
- > & React.RefAttributes<RapidRouterWC>
622
+ > & React.RefAttributes<SchedulerWC>
623
623
  >;
624
- export type RapidRouterRef = RapidRouterWC;
624
+ export type SchedulerRef = SchedulerWC;
625
625
 
626
- export declare const Scheduler: React.ForwardRefExoticComponent<
626
+ export declare const RapidRouter: React.ForwardRefExoticComponent<
627
627
  React.PropsWithChildren<
628
- Omit<PublicOf<SchedulerWC>, 'children' | 'style'> &
628
+ Omit<PublicOf<RapidRouterWC>, 'children' | 'style'> &
629
629
  HTMLWCProps & {
630
630
  }
631
- > & React.RefAttributes<SchedulerWC>
631
+ > & React.RefAttributes<RapidRouterWC>
632
632
  >;
633
- export type SchedulerRef = SchedulerWC;
633
+ export type RapidRouterRef = RapidRouterWC;
634
634
 
635
635
  export declare const SchedulerCronBuilder: React.ForwardRefExoticComponent<
636
636
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -572,28 +572,6 @@ const Menu = React.forwardRef(function Menu(props, ref) {
572
572
  return React.createElement(customElements.getName(MenuWC) ?? '%%prefix%%-menu', { ...rest, ref }, children);
573
573
  });
574
574
 
575
- const MenuItem = React.forwardRef(function MenuItem(props, ref) {
576
- const { onOnMenuClick, onExpandedChange, children, ...rest } = props;
577
- const _innerRef = React.useRef(null);
578
- const _onOnMenuClickRef = React.useRef(onOnMenuClick);
579
- _onOnMenuClickRef.current = onOnMenuClick;
580
- const _onExpandedChangeRef = React.useRef(onExpandedChange);
581
- _onExpandedChangeRef.current = onExpandedChange;
582
- React.useLayoutEffect(() => {
583
- const el = _innerRef.current;
584
- if (!el) return;
585
- const _onOnMenuClickFn = (e) => _onOnMenuClickRef.current?.(e);
586
- el.addEventListener('onMenuClick', _onOnMenuClickFn);
587
- const _onExpandedChangeFn = (e) => _onExpandedChangeRef.current?.(e);
588
- el.addEventListener('expanded-change', _onExpandedChangeFn);
589
- return () => {
590
- el.removeEventListener('onMenuClick', _onOnMenuClickFn);
591
- el.removeEventListener('expanded-change', _onExpandedChangeFn);
592
- };
593
- }, []);
594
- return React.createElement(customElements.getName(MenuItemWC) ?? '%%prefix%%-menu-item', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
595
- });
596
-
597
575
  const Modal = React.forwardRef(function Modal(props, ref) {
598
576
  const { children, ...rest } = props;
599
577
  return React.createElement(customElements.getName(ModalWC) ?? '%%prefix%%-modal', { ...rest, ref }, children);
@@ -626,6 +604,28 @@ const Multiselect = React.forwardRef(function Multiselect(props, ref) {
626
604
  return React.createElement(customElements.getName(MultiselectWC) ?? '%%prefix%%-multiselect', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
627
605
  });
628
606
 
607
+ const MenuItem = React.forwardRef(function MenuItem(props, ref) {
608
+ const { onOnMenuClick, onExpandedChange, children, ...rest } = props;
609
+ const _innerRef = React.useRef(null);
610
+ const _onOnMenuClickRef = React.useRef(onOnMenuClick);
611
+ _onOnMenuClickRef.current = onOnMenuClick;
612
+ const _onExpandedChangeRef = React.useRef(onExpandedChange);
613
+ _onExpandedChangeRef.current = onExpandedChange;
614
+ React.useLayoutEffect(() => {
615
+ const el = _innerRef.current;
616
+ if (!el) return;
617
+ const _onOnMenuClickFn = (e) => _onOnMenuClickRef.current?.(e);
618
+ el.addEventListener('onMenuClick', _onOnMenuClickFn);
619
+ const _onExpandedChangeFn = (e) => _onExpandedChangeRef.current?.(e);
620
+ el.addEventListener('expanded-change', _onExpandedChangeFn);
621
+ return () => {
622
+ el.removeEventListener('onMenuClick', _onOnMenuClickFn);
623
+ el.removeEventListener('expanded-change', _onExpandedChangeFn);
624
+ };
625
+ }, []);
626
+ return React.createElement(customElements.getName(MenuItemWC) ?? '%%prefix%%-menu-item', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
627
+ });
628
+
629
629
  const NotificationListener = React.forwardRef(function NotificationListener(props, ref) {
630
630
  const { children, ...rest } = props;
631
631
  return React.createElement(customElements.getName(NotificationListenerWC) ?? '%%prefix%%-notification-listener', { ...rest, ref }, children);
@@ -641,6 +641,11 @@ const Optgroup = React.forwardRef(function Optgroup(props, ref) {
641
641
  return React.createElement(customElements.getName(OptgroupWC) ?? '%%prefix%%-optgroup', { ...rest, ref }, children);
642
642
  });
643
643
 
644
+ const Progress = React.forwardRef(function Progress(props, ref) {
645
+ const { children, ...rest } = props;
646
+ return React.createElement(customElements.getName(ProgressWC) ?? '%%prefix%%-progress', { ...rest, ref }, children);
647
+ });
648
+
644
649
  const Pill = React.forwardRef(function Pill(props, ref) {
645
650
  const { onRemove, onPillClick, children, ...rest } = props;
646
651
  const _innerRef = React.useRef(null);
@@ -663,11 +668,6 @@ const Pill = React.forwardRef(function Pill(props, ref) {
663
668
  return React.createElement(customElements.getName(PillWC) ?? '%%prefix%%-pill', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
664
669
  });
665
670
 
666
- const Progress = React.forwardRef(function Progress(props, ref) {
667
- const { children, ...rest } = props;
668
- return React.createElement(customElements.getName(ProgressWC) ?? '%%prefix%%-progress', { ...rest, ref }, children);
669
- });
670
-
671
671
  const ProgressRing = React.forwardRef(function ProgressRing(props, ref) {
672
672
  const { children, ...rest } = props;
673
673
  return React.createElement(customElements.getName(ProgressRingWC) ?? '%%prefix%%-progress-ring', { ...rest, ref }, children);
@@ -683,14 +683,14 @@ const RadioGroup = React.forwardRef(function RadioGroup(props, ref) {
683
683
  return React.createElement(customElements.getName(RadioGroupWC) ?? '%%prefix%%-radio-group', { ...rest, ref }, children);
684
684
  });
685
685
 
686
- const RapidRouter = React.forwardRef(function RapidRouter(props, ref) {
686
+ const Scheduler = React.forwardRef(function Scheduler(props, ref) {
687
687
  const { children, ...rest } = props;
688
- return React.createElement(customElements.getName(RapidRouterWC) ?? 'rapid-router', { ...rest, ref }, children);
688
+ return React.createElement(customElements.getName(SchedulerWC) ?? '%%prefix%%-scheduler', { ...rest, ref }, children);
689
689
  });
690
690
 
691
- const Scheduler = React.forwardRef(function Scheduler(props, ref) {
691
+ const RapidRouter = React.forwardRef(function RapidRouter(props, ref) {
692
692
  const { children, ...rest } = props;
693
- return React.createElement(customElements.getName(SchedulerWC) ?? '%%prefix%%-scheduler', { ...rest, ref }, children);
693
+ return React.createElement(customElements.getName(RapidRouterWC) ?? 'rapid-router', { ...rest, ref }, children);
694
694
  });
695
695
 
696
696
  const SchedulerCronBuilder = React.forwardRef(function SchedulerCronBuilder(props, ref) {
@@ -1043,19 +1043,19 @@ module.exports = {
1043
1043
  Listbox,
1044
1044
  ListboxOption,
1045
1045
  Menu,
1046
- MenuItem,
1047
1046
  Modal,
1048
1047
  Multiselect,
1048
+ MenuItem,
1049
1049
  NotificationListener,
1050
1050
  NumberField,
1051
1051
  Optgroup,
1052
- Pill,
1053
1052
  Progress,
1053
+ Pill,
1054
1054
  ProgressRing,
1055
1055
  Radio,
1056
1056
  RadioGroup,
1057
- RapidRouter,
1058
1057
  Scheduler,
1058
+ RapidRouter,
1059
1059
  SchedulerCronBuilder,
1060
1060
  SchedulerTimezone,
1061
1061
  SearchBarCombobox,
package/dist/react.mjs CHANGED
@@ -570,28 +570,6 @@ export const Menu = React.forwardRef(function Menu(props, ref) {
570
570
  return React.createElement(customElements.getName(MenuWC) ?? '%%prefix%%-menu', { ...rest, ref }, children);
571
571
  });
572
572
 
573
- export const MenuItem = React.forwardRef(function MenuItem(props, ref) {
574
- const { onOnMenuClick, onExpandedChange, children, ...rest } = props;
575
- const _innerRef = React.useRef(null);
576
- const _onOnMenuClickRef = React.useRef(onOnMenuClick);
577
- _onOnMenuClickRef.current = onOnMenuClick;
578
- const _onExpandedChangeRef = React.useRef(onExpandedChange);
579
- _onExpandedChangeRef.current = onExpandedChange;
580
- React.useLayoutEffect(() => {
581
- const el = _innerRef.current;
582
- if (!el) return;
583
- const _onOnMenuClickFn = (e) => _onOnMenuClickRef.current?.(e);
584
- el.addEventListener('onMenuClick', _onOnMenuClickFn);
585
- const _onExpandedChangeFn = (e) => _onExpandedChangeRef.current?.(e);
586
- el.addEventListener('expanded-change', _onExpandedChangeFn);
587
- return () => {
588
- el.removeEventListener('onMenuClick', _onOnMenuClickFn);
589
- el.removeEventListener('expanded-change', _onExpandedChangeFn);
590
- };
591
- }, []);
592
- return React.createElement(customElements.getName(MenuItemWC) ?? '%%prefix%%-menu-item', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
593
- });
594
-
595
573
  export const Modal = React.forwardRef(function Modal(props, ref) {
596
574
  const { children, ...rest } = props;
597
575
  return React.createElement(customElements.getName(ModalWC) ?? '%%prefix%%-modal', { ...rest, ref }, children);
@@ -624,6 +602,28 @@ export const Multiselect = React.forwardRef(function Multiselect(props, ref) {
624
602
  return React.createElement(customElements.getName(MultiselectWC) ?? '%%prefix%%-multiselect', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
625
603
  });
626
604
 
605
+ export const MenuItem = React.forwardRef(function MenuItem(props, ref) {
606
+ const { onOnMenuClick, onExpandedChange, children, ...rest } = props;
607
+ const _innerRef = React.useRef(null);
608
+ const _onOnMenuClickRef = React.useRef(onOnMenuClick);
609
+ _onOnMenuClickRef.current = onOnMenuClick;
610
+ const _onExpandedChangeRef = React.useRef(onExpandedChange);
611
+ _onExpandedChangeRef.current = onExpandedChange;
612
+ React.useLayoutEffect(() => {
613
+ const el = _innerRef.current;
614
+ if (!el) return;
615
+ const _onOnMenuClickFn = (e) => _onOnMenuClickRef.current?.(e);
616
+ el.addEventListener('onMenuClick', _onOnMenuClickFn);
617
+ const _onExpandedChangeFn = (e) => _onExpandedChangeRef.current?.(e);
618
+ el.addEventListener('expanded-change', _onExpandedChangeFn);
619
+ return () => {
620
+ el.removeEventListener('onMenuClick', _onOnMenuClickFn);
621
+ el.removeEventListener('expanded-change', _onExpandedChangeFn);
622
+ };
623
+ }, []);
624
+ return React.createElement(customElements.getName(MenuItemWC) ?? '%%prefix%%-menu-item', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
625
+ });
626
+
627
627
  export const NotificationListener = React.forwardRef(function NotificationListener(props, ref) {
628
628
  const { children, ...rest } = props;
629
629
  return React.createElement(customElements.getName(NotificationListenerWC) ?? '%%prefix%%-notification-listener', { ...rest, ref }, children);
@@ -639,6 +639,11 @@ export const Optgroup = React.forwardRef(function Optgroup(props, ref) {
639
639
  return React.createElement(customElements.getName(OptgroupWC) ?? '%%prefix%%-optgroup', { ...rest, ref }, children);
640
640
  });
641
641
 
642
+ export const Progress = React.forwardRef(function Progress(props, ref) {
643
+ const { children, ...rest } = props;
644
+ return React.createElement(customElements.getName(ProgressWC) ?? '%%prefix%%-progress', { ...rest, ref }, children);
645
+ });
646
+
642
647
  export const Pill = React.forwardRef(function Pill(props, ref) {
643
648
  const { onRemove, onPillClick, children, ...rest } = props;
644
649
  const _innerRef = React.useRef(null);
@@ -661,11 +666,6 @@ export const Pill = React.forwardRef(function Pill(props, ref) {
661
666
  return React.createElement(customElements.getName(PillWC) ?? '%%prefix%%-pill', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
662
667
  });
663
668
 
664
- export const Progress = React.forwardRef(function Progress(props, ref) {
665
- const { children, ...rest } = props;
666
- return React.createElement(customElements.getName(ProgressWC) ?? '%%prefix%%-progress', { ...rest, ref }, children);
667
- });
668
-
669
669
  export const ProgressRing = React.forwardRef(function ProgressRing(props, ref) {
670
670
  const { children, ...rest } = props;
671
671
  return React.createElement(customElements.getName(ProgressRingWC) ?? '%%prefix%%-progress-ring', { ...rest, ref }, children);
@@ -681,14 +681,14 @@ export const RadioGroup = React.forwardRef(function RadioGroup(props, ref) {
681
681
  return React.createElement(customElements.getName(RadioGroupWC) ?? '%%prefix%%-radio-group', { ...rest, ref }, children);
682
682
  });
683
683
 
684
- export const RapidRouter = React.forwardRef(function RapidRouter(props, ref) {
684
+ export const Scheduler = React.forwardRef(function Scheduler(props, ref) {
685
685
  const { children, ...rest } = props;
686
- return React.createElement(customElements.getName(RapidRouterWC) ?? 'rapid-router', { ...rest, ref }, children);
686
+ return React.createElement(customElements.getName(SchedulerWC) ?? '%%prefix%%-scheduler', { ...rest, ref }, children);
687
687
  });
688
688
 
689
- export const Scheduler = React.forwardRef(function Scheduler(props, ref) {
689
+ export const RapidRouter = React.forwardRef(function RapidRouter(props, ref) {
690
690
  const { children, ...rest } = props;
691
- return React.createElement(customElements.getName(SchedulerWC) ?? '%%prefix%%-scheduler', { ...rest, ref }, children);
691
+ return React.createElement(customElements.getName(RapidRouterWC) ?? 'rapid-router', { ...rest, ref }, children);
692
692
  });
693
693
 
694
694
  export const SchedulerCronBuilder = React.forwardRef(function SchedulerCronBuilder(props, ref) {
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.101.0",
4
+ "version": "15.102.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.101.0",
41
- "@genesislcap/genx": "15.101.0",
42
- "@genesislcap/ts-builder": "15.101.0",
43
- "@genesislcap/uvu-playwright-builder": "15.101.0",
44
- "@genesislcap/vite-builder": "15.101.0",
45
- "@genesislcap/webpack-builder": "15.101.0",
40
+ "@genesislcap/foundation-testing": "15.102.0",
41
+ "@genesislcap/genx": "15.102.0",
42
+ "@genesislcap/ts-builder": "15.102.0",
43
+ "@genesislcap/uvu-playwright-builder": "15.102.0",
44
+ "@genesislcap/vite-builder": "15.102.0",
45
+ "@genesislcap/webpack-builder": "15.102.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.101.0",
58
- "@genesislcap/foundation-ui": "15.101.0",
59
- "@genesislcap/foundation-utils": "15.101.0",
57
+ "@genesislcap/foundation-logger": "15.102.0",
58
+ "@genesislcap/foundation-ui": "15.102.0",
59
+ "@genesislcap/foundation-utils": "15.102.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",