@genesislcap/rapid-design-system 15.1.0 → 15.2.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.
@@ -294,6 +294,17 @@ export declare const baseComponents: {
294
294
  rapidTreeItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").TreeItemOptions>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").TreeItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
295
295
  rapidTreeView: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./tree-view").TreeView>;
296
296
  rapidUrlInput: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./url-input").UrlInput>;
297
+ rapidVerificationCodeInput: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
298
+ baseName: string;
299
+ template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").VerificationCodeInput, any>;
300
+ styles: import("@microsoft/fast-element").ElementStyles;
301
+ shadowOptions: ShadowRootInit;
302
+ }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
303
+ baseName: string;
304
+ template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").VerificationCodeInput, any>;
305
+ styles: import("@microsoft/fast-element").ElementStyles;
306
+ shadowOptions: ShadowRootInit;
307
+ }, typeof import("./verification-code-input").VerificationCodeInput>;
297
308
  register(container?: Container, ...rest: any[]): void;
298
309
  };
299
310
  //# sourceMappingURL=base-components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAuF5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAuFJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
1
+ {"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAwF5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAwFJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
@@ -86,4 +86,5 @@ export * from './tooltip';
86
86
  export * from './tree-item';
87
87
  export * from './tree-view';
88
88
  export * from './url-input';
89
+ export * from './verification-code-input';
89
90
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC;AAC/C,eAAO,MAAM,yBAAyB,yDAAuD,CAAC;AAE9F,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CA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ipWC } from './tooltip/tooltip';
86
86
  import type { TreeItem as TreeItemWC } from './tree-item/tree-item';
87
87
  import type { TreeView as TreeViewWC } from './tree-view/tree-view';
88
88
  import type { UrlInput as UrlInputWC } from './url-input/url-input';
89
+ import type { VerificationCodeInput as VerificationCodeInputWC } from './verification-code-input/verification-code-input';
89
90
  import type { AddGroupEventDetail, AddRuleEventDetail, DelGroupEventDetail, DelRuleEventDetail, UpdateGroupEventDetail, UpdateRuleEventDetail } from '@genesislcap/expression-builder';
90
- import type { ClearOptions, FileSelectedEventDetail, FilterChangedEventDetail, FilterClearedEventDetail, MultiselectOption, OpenChangeEventDetail, SelectedOption, StepClickEventDetail, ValidationError, ValidationFailureEventDetail } from '@genesislcap/foundation-ui';
91
+ import type { ClearOptions, FileSelectedEventDetail, FilterChangedEventDetail, FilterClearedEventDetail, MultiselectOption, OpenChangeEventDetail, SelectedOption, StepClickEventDetail, ValidationError, ValidationFailureEventDetail, VerificationCodeInputEventDetail } from '@genesislcap/foundation-ui';
91
92
 
92
93
  /** @internal Maps a web component class to its public props only.
93
94
  * keyof T skips private/protected members, so this avoids the TS error
@@ -118,23 +119,23 @@ interface HTMLWCProps extends React.AriaAttributes {
118
119
  onInput?(e: Event): void;
119
120
  }
120
121
 
121
- export declare const Accordion: React.ForwardRefExoticComponent<
122
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
122
123
  React.PropsWithChildren<
123
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
124
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
124
125
  HTMLWCProps & {
125
126
  }
126
- > & React.RefAttributes<AccordionWC>
127
+ > & React.RefAttributes<AccordionItemWC>
127
128
  >;
128
- export type AccordionRef = AccordionWC;
129
+ export type AccordionItemRef = AccordionItemWC;
129
130
 
130
- export declare const AccordionItem: React.ForwardRefExoticComponent<
131
+ export declare const Accordion: React.ForwardRefExoticComponent<
131
132
  React.PropsWithChildren<
132
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
133
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
133
134
  HTMLWCProps & {
134
135
  }
135
- > & React.RefAttributes<AccordionItemWC>
136
+ > & React.RefAttributes<AccordionWC>
136
137
  >;
137
- export type AccordionItemRef = AccordionItemWC;
138
+ export type AccordionRef = AccordionWC;
138
139
 
139
140
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
140
141
  React.PropsWithChildren<
@@ -905,6 +906,16 @@ export declare const UrlInput: React.ForwardRefExoticComponent<
905
906
  >;
906
907
  export type UrlInputRef = UrlInputWC;
907
908
 
909
+ export declare const VerificationCodeInput: React.ForwardRefExoticComponent<
910
+ React.PropsWithChildren<
911
+ Omit<PublicOf<VerificationCodeInputWC>, 'children' | 'style'> &
912
+ HTMLWCProps & {
913
+ onComplete?: (event: CustomEvent<VerificationCodeInputEventDetail>) => void;
914
+ }
915
+ > & React.RefAttributes<VerificationCodeInputWC>
916
+ >;
917
+ export type VerificationCodeInputRef = VerificationCodeInputWC;
918
+
908
919
  export declare const SystemHealthOverlay: React.ForwardRefExoticComponent<
909
920
  React.PropsWithChildren<
910
921
  Omit<PublicOf<SystemHealthOverlayWC>, 'children' | 'style'> &
@@ -0,0 +1,4 @@
1
+ export * from './verification-code-input';
2
+ export * from './verification-code-input.styles';
3
+ export * from './verification-code-input.template';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verification-code-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { VerificationCodeInput as FoundationVerificationCodeInput } from '@genesislcap/foundation-ui';
2
+ /**
3
+ * @tagname %%prefix%%-verification-code-input
4
+ */
5
+ export declare class VerificationCodeInput extends FoundationVerificationCodeInput {
6
+ }
7
+ export declare const defaultVerificationCodeInputConfig: {};
8
+ export declare const rapidVerificationCodeInputShadowOptions: ShadowRootInit;
9
+ export declare const rapidVerificationCodeInput: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
10
+ baseName: string;
11
+ template: import("@microsoft/fast-element").ViewTemplate<FoundationVerificationCodeInput, any>;
12
+ styles: import("@microsoft/fast-element").ElementStyles;
13
+ shadowOptions: ShadowRootInit;
14
+ }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
15
+ baseName: string;
16
+ template: import("@microsoft/fast-element").ViewTemplate<FoundationVerificationCodeInput, any>;
17
+ styles: import("@microsoft/fast-element").ElementStyles;
18
+ shadowOptions: ShadowRootInit;
19
+ }, typeof VerificationCodeInput>;
20
+ //# sourceMappingURL=verification-code-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verification-code-input.d.ts","sourceRoot":"","sources":["../../../src/verification-code-input/verification-code-input.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,IAAI,+BAA+B,EAGzD,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,+BAA+B;CAAG;AAE7E,eAAO,MAAM,kCAAkC,IAAwC,CAAC;AAExF,eAAO,MAAM,uCAAuC,gBAA+C,CAAC;AAEpG,eAAO,MAAM,0BAA0B;;;;;;;;;;gCAMrC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ElementStyles } from '@microsoft/fast-element';
2
+ export declare const verificationCodeInputStyles: ElementStyles;
3
+ //# sourceMappingURL=verification-code-input.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verification-code-input.styles.d.ts","sourceRoot":"","sources":["../../../src/verification-code-input/verification-code-input.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,2BAA2B,EAAE,aAgDzC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const verificationCodeInputTemplate: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").VerificationCodeInput, any>;
2
+ //# sourceMappingURL=verification-code-input.template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verification-code-input.template.d.ts","sourceRoot":"","sources":["../../../src/verification-code-input/verification-code-input.template.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,6BAA6B,iHAA0C,CAAC"}
@@ -83,6 +83,7 @@ import { rapidTooltip } from './tooltip';
83
83
  import { rapidTreeItem } from './tree-item';
84
84
  import { rapidTreeView } from './tree-view';
85
85
  import { rapidUrlInput } from './url-input';
86
+ import { rapidVerificationCodeInput } from './verification-code-input';
86
87
  export const baseComponents = {
87
88
  designSystemProvider,
88
89
  rapidAccordion,
@@ -170,6 +171,7 @@ export const baseComponents = {
170
171
  rapidTreeItem,
171
172
  rapidTreeView,
172
173
  rapidUrlInput,
174
+ rapidVerificationCodeInput,
173
175
  register(container, ...rest) {
174
176
  if (!container) {
175
177
  // preserve backward compatibility with code that loops through
package/dist/esm/index.js CHANGED
@@ -86,3 +86,4 @@ export * from './tooltip';
86
86
  export * from './tree-item';
87
87
  export * from './tree-view';
88
88
  export * from './url-input';
89
+ export * from './verification-code-input';
@@ -0,0 +1,3 @@
1
+ export * from './verification-code-input';
2
+ export * from './verification-code-input.styles';
3
+ export * from './verification-code-input.template';
@@ -0,0 +1,12 @@
1
+ import { VerificationCodeInput as FoundationVerificationCodeInput, foundationVerificationCodeInputShadowOptions, defaultVerificationCodeInputConfig as foundationVerificationCodeInputConfig, } from '@genesislcap/foundation-ui';
2
+ import { verificationCodeInputStyles as styles } from './verification-code-input.styles';
3
+ import { verificationCodeInputTemplate as template } from './verification-code-input.template';
4
+ /**
5
+ * @tagname %%prefix%%-verification-code-input
6
+ */
7
+ export class VerificationCodeInput extends FoundationVerificationCodeInput {
8
+ }
9
+ export const defaultVerificationCodeInputConfig = foundationVerificationCodeInputConfig;
10
+ export const rapidVerificationCodeInputShadowOptions = foundationVerificationCodeInputShadowOptions;
11
+ export const rapidVerificationCodeInput = VerificationCodeInput.compose(Object.assign({ baseName: 'verification-code-input', template,
12
+ styles, shadowOptions: rapidVerificationCodeInputShadowOptions }, defaultVerificationCodeInputConfig));
@@ -0,0 +1,51 @@
1
+ import { foundationVerificationCodeInputStyles } from '@genesislcap/foundation-ui';
2
+ import { css } from '@microsoft/fast-element';
3
+ export const verificationCodeInputStyles = css `
4
+ ${foundationVerificationCodeInputStyles}
5
+
6
+ .digit .control {
7
+ height: 100%;
8
+ border-radius: calc(var(--control-corner-radius) * 1px);
9
+ padding: 0 calc(var(--design-unit) * 2px);
10
+ }
11
+
12
+ .digit .control-field .control {
13
+ width: 100%;
14
+ }
15
+
16
+ .digit .root {
17
+ border-style: solid;
18
+ border-width: var(--neutral-stroke-width-rest, 1px 1px 1px 1px);
19
+ border-color: var(--neutral-stroke-fill-rest, var(--focus-stroke-outer));
20
+ background-color: var(--neutral-fill-input-rest);
21
+ height: calc(
22
+ (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px
23
+ );
24
+ }
25
+
26
+ .digit:hover:not(.disabled) .root {
27
+ border-style: solid;
28
+ border-width: var(--neutral-stroke-width-hover, 1px 1px 1px 1px);
29
+ border-color: var(--neutral-stroke-fill-hover, var(--neutral-foreground-rest));
30
+ background: var(--neutral-fill-input-hover);
31
+ box-shadow: none;
32
+ }
33
+
34
+ .digit:focus-within:not(.disabled) .root {
35
+ border-style: solid;
36
+ border-width: var(--neutral-stroke-width-focus, 1px 1px 1px 1px);
37
+ border-color: var(--neutral-stroke-fill-focus, var(--accent-fill-rest));
38
+ background-color: var(--neutral-fill-input-focus);
39
+ box-shadow: none;
40
+ }
41
+
42
+ .label {
43
+ color: var(--neutral-foreground-hint);
44
+ font-weight: 700;
45
+ margin: calc(var(--design-unit) * 2px) 0;
46
+ }
47
+
48
+ .label-hidden {
49
+ margin: 0;
50
+ }
51
+ `;
@@ -0,0 +1,2 @@
1
+ import { foundationVerificationCodeInputTemplate } from '@genesislcap/foundation-ui';
2
+ export const verificationCodeInputTemplate = foundationVerificationCodeInputTemplate;
package/dist/react.cjs CHANGED
@@ -88,6 +88,7 @@ const { Tooltip: TooltipWC } = require('./esm/tooltip/tooltip.js');
88
88
  const { TreeItem: TreeItemWC } = require('./esm/tree-item/tree-item.js');
89
89
  const { TreeView: TreeViewWC } = require('./esm/tree-view/tree-view.js');
90
90
  const { UrlInput: UrlInputWC } = require('./esm/url-input/url-input.js');
91
+ const { VerificationCodeInput: VerificationCodeInputWC } = require('./esm/verification-code-input/verification-code-input.js');
91
92
 
92
93
  function _mergeRefs(...refs) {
93
94
  return (value) => {
@@ -98,14 +99,14 @@ function _mergeRefs(...refs) {
98
99
  };
99
100
  }
100
101
 
101
- const Accordion = React.forwardRef(function Accordion(props, ref) {
102
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
102
103
  const { children, ...rest } = props;
103
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
104
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
104
105
  });
105
106
 
106
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
107
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
107
108
  const { children, ...rest } = props;
108
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
109
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
109
110
  });
110
111
 
111
112
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -975,14 +976,31 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
975
976
  return React.createElement(customElements.getName(UrlInputWC) ?? '%%prefix%%-url-input', { ...rest, ref }, children);
976
977
  });
977
978
 
979
+ const VerificationCodeInput = React.forwardRef(function VerificationCodeInput(props, ref) {
980
+ const { onComplete, children, ...rest } = props;
981
+ const _innerRef = React.useRef(null);
982
+ const _onCompleteRef = React.useRef(onComplete);
983
+ _onCompleteRef.current = onComplete;
984
+ React.useLayoutEffect(() => {
985
+ const el = _innerRef.current;
986
+ if (!el) return;
987
+ const _onCompleteFn = (e) => _onCompleteRef.current?.(e);
988
+ el.addEventListener('complete', _onCompleteFn);
989
+ return () => {
990
+ el.removeEventListener('complete', _onCompleteFn);
991
+ };
992
+ }, []);
993
+ return React.createElement(customElements.getName(VerificationCodeInputWC) ?? '%%prefix%%-verification-code-input', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
994
+ });
995
+
978
996
  const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props, ref) {
979
997
  const { children, ...rest } = props;
980
998
  return React.createElement(customElements.getName(SystemHealthOverlayWC) ?? '%%prefix%%-system-health-overlay', { ...rest, ref }, children);
981
999
  });
982
1000
 
983
1001
  module.exports = {
984
- Accordion,
985
1002
  AccordionItem,
1003
+ Accordion,
986
1004
  ActionsMenu,
987
1005
  AiCriteriaSearch,
988
1006
  AiIndicator,
@@ -1062,5 +1080,6 @@ module.exports = {
1062
1080
  TreeItem,
1063
1081
  TreeView,
1064
1082
  UrlInput,
1083
+ VerificationCodeInput,
1065
1084
  SystemHealthOverlay,
1066
1085
  };
package/dist/react.mjs CHANGED
@@ -86,6 +86,7 @@ import { Tooltip as TooltipWC } from './esm/tooltip/tooltip.js';
86
86
  import { TreeItem as TreeItemWC } from './esm/tree-item/tree-item.js';
87
87
  import { TreeView as TreeViewWC } from './esm/tree-view/tree-view.js';
88
88
  import { UrlInput as UrlInputWC } from './esm/url-input/url-input.js';
89
+ import { VerificationCodeInput as VerificationCodeInputWC } from './esm/verification-code-input/verification-code-input.js';
89
90
 
90
91
  function _mergeRefs(...refs) {
91
92
  return (value) => {
@@ -96,14 +97,14 @@ function _mergeRefs(...refs) {
96
97
  };
97
98
  }
98
99
 
99
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
100
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
100
101
  const { children, ...rest } = props;
101
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
102
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
102
103
  });
103
104
 
104
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
105
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
105
106
  const { children, ...rest } = props;
106
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
107
108
  });
108
109
 
109
110
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -973,6 +974,23 @@ export const UrlInput = React.forwardRef(function UrlInput(props, ref) {
973
974
  return React.createElement(customElements.getName(UrlInputWC) ?? '%%prefix%%-url-input', { ...rest, ref }, children);
974
975
  });
975
976
 
977
+ export const VerificationCodeInput = React.forwardRef(function VerificationCodeInput(props, ref) {
978
+ const { onComplete, children, ...rest } = props;
979
+ const _innerRef = React.useRef(null);
980
+ const _onCompleteRef = React.useRef(onComplete);
981
+ _onCompleteRef.current = onComplete;
982
+ React.useLayoutEffect(() => {
983
+ const el = _innerRef.current;
984
+ if (!el) return;
985
+ const _onCompleteFn = (e) => _onCompleteRef.current?.(e);
986
+ el.addEventListener('complete', _onCompleteFn);
987
+ return () => {
988
+ el.removeEventListener('complete', _onCompleteFn);
989
+ };
990
+ }, []);
991
+ return React.createElement(customElements.getName(VerificationCodeInputWC) ?? '%%prefix%%-verification-code-input', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
992
+ });
993
+
976
994
  export const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props, ref) {
977
995
  const { children, ...rest } = props;
978
996
  return React.createElement(customElements.getName(SystemHealthOverlayWC) ?? '%%prefix%%-system-health-overlay', { ...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.1.0",
4
+ "version": "15.2.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -38,13 +38,13 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
41
- "@genesislcap/foundation-testing": "15.1.0",
42
- "@genesislcap/genx": "15.1.0",
43
- "@genesislcap/rollup-builder": "15.1.0",
44
- "@genesislcap/ts-builder": "15.1.0",
45
- "@genesislcap/uvu-playwright-builder": "15.1.0",
46
- "@genesislcap/vite-builder": "15.1.0",
47
- "@genesislcap/webpack-builder": "15.1.0",
41
+ "@genesislcap/foundation-testing": "15.2.1",
42
+ "@genesislcap/genx": "15.2.1",
43
+ "@genesislcap/rollup-builder": "15.2.1",
44
+ "@genesislcap/ts-builder": "15.2.1",
45
+ "@genesislcap/uvu-playwright-builder": "15.2.1",
46
+ "@genesislcap/vite-builder": "15.2.1",
47
+ "@genesislcap/webpack-builder": "15.2.1",
48
48
  "flexlayout-react": "^0.8.19"
49
49
  },
50
50
  "peerDependencies": {
@@ -56,9 +56,9 @@
56
56
  }
57
57
  },
58
58
  "dependencies": {
59
- "@genesislcap/foundation-logger": "15.1.0",
60
- "@genesislcap/foundation-ui": "15.1.0",
61
- "@genesislcap/foundation-utils": "15.1.0",
59
+ "@genesislcap/foundation-logger": "15.2.1",
60
+ "@genesislcap/foundation-ui": "15.2.1",
61
+ "@genesislcap/foundation-utils": "15.2.1",
62
62
  "@microsoft/fast-colors": "5.3.1",
63
63
  "@microsoft/fast-components": "2.30.6",
64
64
  "@microsoft/fast-element": "1.14.0",
@@ -86,5 +86,5 @@
86
86
  "require": "./dist/react.cjs"
87
87
  }
88
88
  },
89
- "gitHead": "f841e54c9b682f3cf01448a9db79d67a66b88c84"
89
+ "gitHead": "3917f3dc0bb5f4487bd30b37360fa0cddda92f0c"
90
90
  }