@uniformdev/context-ui 14.2.1-alpha.181 → 15.0.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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { ReactNode, SVGProps } from 'react';
2
+ import React__default, { ReactNode, ReactElement, SVGProps } from 'react';
3
3
  import { DimensionDefinition, ManifestGetResponse } from '@uniformdev/context/api';
4
4
  import { EnrichmentData, VariantMatchCriteria } from '@uniformdev/context';
5
5
  import { ButtonProps as ButtonProps$1, InputProps as InputProps$1 } from 'reakit';
@@ -132,6 +132,13 @@ declare function IconsProvider({ children }: {
132
132
  children: ReactNode;
133
133
  }): JSX.Element;
134
134
 
135
+ declare type UIVersionProps = {
136
+ versionMap: Record<number, React__default.ComponentType>;
137
+ children?: React__default.ReactNode;
138
+ contextConfig: ContextConfig;
139
+ };
140
+ declare function ProjectUIVersion({ children, versionMap, contextConfig }: UIVersionProps): ReactElement;
141
+
135
142
  declare const SvgCaution: (props: SVGProps<SVGSVGElement>) => JSX.Element;
136
143
 
137
144
  declare const SvgCheckmark: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -185,4 +192,4 @@ interface UseDimensionsResult {
185
192
  }
186
193
  declare function useDimensions({ apiHost, apiKey, projectId }: ContextConfig): UseDimensionsResult;
187
194
 
188
- export { Button, ButtonProps, Callout, CalloutProps, CalloutType, ComboBox, ComboBoxGroupBase, ComboBoxOption, ComboBoxProps, ComponentIconNames, ContextConfig, DimensionsData, EditLink, EditLinkProps, EnrichmentTag, EnrichmentTagProps, Icon, IconProps, index as Icons, IconsProvider, InlineSelectInput, InlineSelectInputOption, InlineSelectInputProps, Input, InputProps, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, PersonalizationCriteria, PersonalizationCriteriaProps, ResolvedDimensionDefinition, SelectInput, SelectInputProps, UseContextDataResult, UseDimensionsResult, UseValidateContextConfigResult, useContextData, useDimensions, useIconContext, useValidateContextConfig, validateContextConfig };
195
+ export { Button, ButtonProps, Callout, CalloutProps, CalloutType, ComboBox, ComboBoxGroupBase, ComboBoxOption, ComboBoxProps, ComponentIconNames, ContextConfig, DimensionsData, EditLink, EditLinkProps, EnrichmentTag, EnrichmentTagProps, Icon, IconProps, index as Icons, IconsProvider, InlineSelectInput, InlineSelectInputOption, InlineSelectInputProps, Input, InputProps, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, PersonalizationCriteria, PersonalizationCriteriaProps, ProjectUIVersion, ResolvedDimensionDefinition, SelectInput, SelectInputProps, UseContextDataResult, UseDimensionsResult, UseValidateContextConfigResult, useContextData, useDimensions, useIconContext, useValidateContextConfig, validateContextConfig };