@genesislcap/rapid-design-system 15.17.0 → 15.18.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<
@@ -147,6 +147,15 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
147
147
  >;
148
148
  export type ActionsMenuRef = ActionsMenuWC;
149
149
 
150
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
151
+ React.PropsWithChildren<
152
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
153
+ HTMLWCProps & {
154
+ }
155
+ > & React.RefAttributes<AiIndicatorWC>
156
+ >;
157
+ export type AiIndicatorRef = AiIndicatorWC;
158
+
150
159
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
151
160
  React.PropsWithChildren<
152
161
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -158,15 +167,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
158
167
  >;
159
168
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
160
169
 
161
- export declare const AiIndicator: React.ForwardRefExoticComponent<
162
- React.PropsWithChildren<
163
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
164
- HTMLWCProps & {
165
- }
166
- > & React.RefAttributes<AiIndicatorWC>
167
- >;
168
- export type AiIndicatorRef = AiIndicatorWC;
169
-
170
170
  export declare const Anchor: React.ForwardRefExoticComponent<
171
171
  React.PropsWithChildren<
172
172
  Omit<PublicOf<AnchorWC>, '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) {
@@ -114,6 +114,11 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
114
114
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
115
115
  });
116
116
 
117
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
118
+ const { children, ...rest } = props;
119
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
120
+ });
121
+
117
122
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
118
123
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
119
124
  const _innerRef = React.useRef(null);
@@ -136,11 +141,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
136
141
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
137
142
  });
138
143
 
139
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
140
- const { children, ...rest } = props;
141
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
142
- });
143
-
144
144
  const Anchor = React.forwardRef(function Anchor(props, ref) {
145
145
  const { children, ...rest } = props;
146
146
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -999,11 +999,11 @@ 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
- AiCriteriaSearch,
1006
1005
  AiIndicator,
1006
+ AiCriteriaSearch,
1007
1007
  Anchor,
1008
1008
  AnchoredRegion,
1009
1009
  Avatar,
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) {
@@ -112,6 +112,11 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
112
112
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
113
113
  });
114
114
 
115
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
116
+ const { children, ...rest } = props;
117
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
118
+ });
119
+
115
120
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
116
121
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
117
122
  const _innerRef = React.useRef(null);
@@ -134,11 +139,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
134
139
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
135
140
  });
136
141
 
137
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
138
- const { children, ...rest } = props;
139
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
140
- });
141
-
142
142
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
143
143
  const { children, ...rest } = props;
144
144
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...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.17.0",
4
+ "version": "15.18.0",
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.17.0",
42
- "@genesislcap/genx": "15.17.0",
43
- "@genesislcap/rollup-builder": "15.17.0",
44
- "@genesislcap/ts-builder": "15.17.0",
45
- "@genesislcap/uvu-playwright-builder": "15.17.0",
46
- "@genesislcap/vite-builder": "15.17.0",
47
- "@genesislcap/webpack-builder": "15.17.0",
41
+ "@genesislcap/foundation-testing": "15.18.0",
42
+ "@genesislcap/genx": "15.18.0",
43
+ "@genesislcap/rollup-builder": "15.18.0",
44
+ "@genesislcap/ts-builder": "15.18.0",
45
+ "@genesislcap/uvu-playwright-builder": "15.18.0",
46
+ "@genesislcap/vite-builder": "15.18.0",
47
+ "@genesislcap/webpack-builder": "15.18.0",
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.17.0",
60
- "@genesislcap/foundation-ui": "15.17.0",
61
- "@genesislcap/foundation-utils": "15.17.0",
59
+ "@genesislcap/foundation-logger": "15.18.0",
60
+ "@genesislcap/foundation-ui": "15.18.0",
61
+ "@genesislcap/foundation-utils": "15.18.0",
62
62
  "@microsoft/fast-colors": "5.3.1",
63
63
  "@microsoft/fast-components": "2.30.6",
64
64
  "@microsoft/fast-element": "1.14.0",
@@ -94,5 +94,5 @@
94
94
  "require": "./dist/react.cjs"
95
95
  }
96
96
  },
97
- "gitHead": "2e040c4861f6acfde7afef48b60555548fac8708"
97
+ "gitHead": "a92013873774dbc7f67a32d37994f10777f86383"
98
98
  }