@genesislcap/foundation-zero 14.428.0 → 14.428.1-alpha-035cbdd.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.
@@ -117,6 +117,15 @@ interface HTMLWCProps extends React.AriaAttributes {
117
117
  onInput?(e: Event): void;
118
118
  }
119
119
 
120
+ export declare const Accordion: React.ForwardRefExoticComponent<
121
+ React.PropsWithChildren<
122
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
123
+ HTMLWCProps & {
124
+ }
125
+ > & React.RefAttributes<AccordionWC>
126
+ >;
127
+ export type AccordionRef = AccordionWC;
128
+
120
129
  export declare const AccordionItem: React.ForwardRefExoticComponent<
121
130
  React.PropsWithChildren<
122
131
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -135,14 +144,14 @@ export declare const ActionsMenu: React.ForwardRefExoticComponent<
135
144
  >;
136
145
  export type ActionsMenuRef = ActionsMenuWC;
137
146
 
138
- export declare const Accordion: React.ForwardRefExoticComponent<
147
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
139
148
  React.PropsWithChildren<
140
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
149
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
141
150
  HTMLWCProps & {
142
151
  }
143
- > & React.RefAttributes<AccordionWC>
152
+ > & React.RefAttributes<AiIndicatorWC>
144
153
  >;
145
- export type AccordionRef = AccordionWC;
154
+ export type AiIndicatorRef = AiIndicatorWC;
146
155
 
147
156
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
148
157
  React.PropsWithChildren<
@@ -155,15 +164,6 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
155
164
  >;
156
165
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
157
166
 
158
- export declare const AiIndicator: React.ForwardRefExoticComponent<
159
- React.PropsWithChildren<
160
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
161
- HTMLWCProps & {
162
- }
163
- > & React.RefAttributes<AiIndicatorWC>
164
- >;
165
- export type AiIndicatorRef = AiIndicatorWC;
166
-
167
167
  export declare const Anchor: React.ForwardRefExoticComponent<
168
168
  React.PropsWithChildren<
169
169
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -99,6 +99,11 @@ function _mergeRefs(...refs) {
99
99
  };
100
100
  }
101
101
 
102
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
103
+ const { children, ...rest } = props;
104
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
105
+ });
106
+
102
107
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
103
108
  const { children, ...rest } = props;
104
109
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
@@ -109,9 +114,9 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
109
114
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
110
115
  });
111
116
 
112
- const Accordion = React.forwardRef(function Accordion(props, ref) {
117
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
113
118
  const { children, ...rest } = props;
114
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
119
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
115
120
  });
116
121
 
117
122
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -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);
@@ -857,11 +857,11 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
857
857
  });
858
858
 
859
859
  module.exports = {
860
+ Accordion,
860
861
  AccordionItem,
861
862
  ActionsMenu,
862
- Accordion,
863
- AiCriteriaSearch,
864
863
  AiIndicator,
864
+ AiCriteriaSearch,
865
865
  Anchor,
866
866
  AnchoredRegion,
867
867
  Avatar,
package/dist/react.mjs CHANGED
@@ -97,6 +97,11 @@ function _mergeRefs(...refs) {
97
97
  };
98
98
  }
99
99
 
100
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
101
+ const { children, ...rest } = props;
102
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
103
+ });
104
+
100
105
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
101
106
  const { children, ...rest } = props;
102
107
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
@@ -107,9 +112,9 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
107
112
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
108
113
  });
109
114
 
110
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
115
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
111
116
  const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
117
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
113
118
  });
114
119
 
115
120
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -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/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "14.428.0",
4
+ "version": "14.428.1-alpha-035cbdd.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -73,18 +73,18 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
76
- "@genesislcap/genx": "14.428.0",
77
- "@genesislcap/rollup-builder": "14.428.0",
78
- "@genesislcap/ts-builder": "14.428.0",
79
- "@genesislcap/uvu-playwright-builder": "14.428.0",
80
- "@genesislcap/vite-builder": "14.428.0",
81
- "@genesislcap/webpack-builder": "14.428.0"
76
+ "@genesislcap/genx": "14.428.1-alpha-035cbdd.0",
77
+ "@genesislcap/rollup-builder": "14.428.1-alpha-035cbdd.0",
78
+ "@genesislcap/ts-builder": "14.428.1-alpha-035cbdd.0",
79
+ "@genesislcap/uvu-playwright-builder": "14.428.1-alpha-035cbdd.0",
80
+ "@genesislcap/vite-builder": "14.428.1-alpha-035cbdd.0",
81
+ "@genesislcap/webpack-builder": "14.428.1-alpha-035cbdd.0"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "14.428.0",
85
- "@genesislcap/foundation-logger": "14.428.0",
86
- "@genesislcap/foundation-ui": "14.428.0",
87
- "@genesislcap/foundation-utils": "14.428.0",
84
+ "@genesislcap/foundation-comms": "14.428.1-alpha-035cbdd.0",
85
+ "@genesislcap/foundation-logger": "14.428.1-alpha-035cbdd.0",
86
+ "@genesislcap/foundation-ui": "14.428.1-alpha-035cbdd.0",
87
+ "@genesislcap/foundation-utils": "14.428.1-alpha-035cbdd.0",
88
88
  "@microsoft/fast-colors": "5.3.1",
89
89
  "@microsoft/fast-components": "2.30.6",
90
90
  "@microsoft/fast-element": "1.14.0",
@@ -111,5 +111,5 @@
111
111
  "require": "./dist/react.cjs"
112
112
  }
113
113
  },
114
- "gitHead": "e43acca8a6393d0f3d243d4fd3625457c9b6a8e7"
114
+ "gitHead": "9769544233b28bf7fe0fd4441287c94f6b347d98"
115
115
  }