@genesislcap/foundation-zero 14.479.0 → 14.479.1-alpha-af2aa5c.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
@@ -102,14 +102,14 @@ function _mergeRefs(...refs) {
102
102
  };
103
103
  }
104
104
 
105
- const Accordion = React.forwardRef(function Accordion(props, ref) {
105
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
106
106
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
108
108
  });
109
109
 
110
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
110
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
111
111
  const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
112
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
113
113
  });
114
114
 
115
115
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -117,6 +117,11 @@ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
117
117
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
118
118
  });
119
119
 
120
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
121
+ const { children, ...rest } = props;
122
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
123
+ });
124
+
120
125
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
121
126
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
122
127
  const _innerRef = React.useRef(null);
@@ -139,11 +144,6 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
139
144
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
140
145
  });
141
146
 
142
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
143
- const { children, ...rest } = props;
144
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
145
- });
146
-
147
147
  const Anchor = React.forwardRef(function Anchor(props, ref) {
148
148
  const { children, ...rest } = props;
149
149
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -986,11 +986,11 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
986
986
  });
987
987
 
988
988
  module.exports = {
989
- Accordion,
990
989
  AccordionItem,
990
+ Accordion,
991
991
  ActionsMenu,
992
- AiCriteriaSearch,
993
992
  AiIndicator,
993
+ AiCriteriaSearch,
994
994
  Anchor,
995
995
  AnchoredRegion,
996
996
  Avatar,
package/dist/react.mjs CHANGED
@@ -100,14 +100,14 @@ function _mergeRefs(...refs) {
100
100
  };
101
101
  }
102
102
 
103
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
103
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
104
104
  const { children, ...rest } = props;
105
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
105
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
106
106
  });
107
107
 
108
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
108
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
109
109
  const { children, ...rest } = props;
110
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
110
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
111
111
  });
112
112
 
113
113
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -115,6 +115,11 @@ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
115
115
  return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
116
116
  });
117
117
 
118
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
119
+ const { children, ...rest } = props;
120
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
121
+ });
122
+
118
123
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
119
124
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
120
125
  const _innerRef = React.useRef(null);
@@ -137,11 +142,6 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
137
142
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
138
143
  });
139
144
 
140
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
141
- const { children, ...rest } = props;
142
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
143
- });
144
-
145
145
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
146
146
  const { children, ...rest } = props;
147
147
  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.479.0",
4
+ "version": "14.479.1-alpha-af2aa5c.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.479.0",
77
- "@genesislcap/rollup-builder": "14.479.0",
78
- "@genesislcap/ts-builder": "14.479.0",
79
- "@genesislcap/uvu-playwright-builder": "14.479.0",
80
- "@genesislcap/vite-builder": "14.479.0",
81
- "@genesislcap/webpack-builder": "14.479.0"
76
+ "@genesislcap/genx": "14.479.1-alpha-af2aa5c.0",
77
+ "@genesislcap/rollup-builder": "14.479.1-alpha-af2aa5c.0",
78
+ "@genesislcap/ts-builder": "14.479.1-alpha-af2aa5c.0",
79
+ "@genesislcap/uvu-playwright-builder": "14.479.1-alpha-af2aa5c.0",
80
+ "@genesislcap/vite-builder": "14.479.1-alpha-af2aa5c.0",
81
+ "@genesislcap/webpack-builder": "14.479.1-alpha-af2aa5c.0"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "14.479.0",
85
- "@genesislcap/foundation-logger": "14.479.0",
86
- "@genesislcap/foundation-ui": "14.479.0",
87
- "@genesislcap/foundation-utils": "14.479.0",
84
+ "@genesislcap/foundation-comms": "14.479.1-alpha-af2aa5c.0",
85
+ "@genesislcap/foundation-logger": "14.479.1-alpha-af2aa5c.0",
86
+ "@genesislcap/foundation-ui": "14.479.1-alpha-af2aa5c.0",
87
+ "@genesislcap/foundation-utils": "14.479.1-alpha-af2aa5c.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": "ec6335b224815a5e52af0692b2d202b765415b59"
114
+ "gitHead": "1e2a6bf47217b47efcce81a19ab73218cda0f675"
115
115
  }