@uniformdev/context-ui 14.2.1-alpha.177
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 +188 -0
- package/dist/index.esm.js +1 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/dist/tailwind/plugin.d.ts +3 -0
- package/dist/tailwind/plugin.js +6 -0
- package/dist/tailwind/plugin.mjs +6 -0
- package/package.json +85 -0
- package/readme.md +34 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { ReactNode, SVGProps } from 'react';
|
|
3
|
+
import { DimensionDefinition, ManifestGetResponse } from '@uniformdev/context/api';
|
|
4
|
+
import { EnrichmentData, VariantMatchCriteria } from '@uniformdev/context';
|
|
5
|
+
import { ButtonProps as ButtonProps$1, InputProps as InputProps$1 } from 'reakit';
|
|
6
|
+
import { GroupBase } from 'react-select';
|
|
7
|
+
import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
|
|
8
|
+
import InternalSelect from 'react-select/dist/declarations/src/Select';
|
|
9
|
+
|
|
10
|
+
declare type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
|
|
11
|
+
interface CalloutProps {
|
|
12
|
+
type: CalloutType;
|
|
13
|
+
title?: ReactNode;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const Callout: React__default.FC<CalloutProps>;
|
|
18
|
+
|
|
19
|
+
declare const LoadingIndicator: () => JSX.Element;
|
|
20
|
+
|
|
21
|
+
declare type EditLinkProps = {
|
|
22
|
+
linkTo: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
linkText?: string;
|
|
25
|
+
};
|
|
26
|
+
declare const EditLink: ({ linkTo, name, linkText }: EditLinkProps) => JSX.Element;
|
|
27
|
+
|
|
28
|
+
interface ContextConfig {
|
|
29
|
+
projectId?: string;
|
|
30
|
+
apiHost: string;
|
|
31
|
+
apiKey: string;
|
|
32
|
+
}
|
|
33
|
+
declare type DimensionsData = {
|
|
34
|
+
dimensions: ResolvedDimensionDefinition[];
|
|
35
|
+
dimIndex: Record<string, ResolvedDimensionDefinition>;
|
|
36
|
+
};
|
|
37
|
+
declare type ResolvedDimensionDefinition = DimensionDefinition & {
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
interface EnrichmentTagProps {
|
|
42
|
+
value: EnrichmentData[] | null | undefined;
|
|
43
|
+
setValue: (value: EnrichmentData[] | null) => void;
|
|
44
|
+
contextConfig: ContextConfig;
|
|
45
|
+
}
|
|
46
|
+
declare const EnrichmentTag: React__default.FC<EnrichmentTagProps>;
|
|
47
|
+
|
|
48
|
+
interface PersonalizationCriteriaProps {
|
|
49
|
+
value: VariantMatchCriteria | null | undefined;
|
|
50
|
+
setValue: (value: VariantMatchCriteria | null) => void;
|
|
51
|
+
contextConfig: ContextConfig;
|
|
52
|
+
}
|
|
53
|
+
declare const PersonalizationCriteria: React__default.FC<PersonalizationCriteriaProps>;
|
|
54
|
+
|
|
55
|
+
interface ButtonProps extends ButtonProps$1 {
|
|
56
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
57
|
+
buttonType?: 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'unimportant';
|
|
58
|
+
disablePadding?: boolean;
|
|
59
|
+
rounded?: boolean;
|
|
60
|
+
}
|
|
61
|
+
declare const Button: React__default.FC<ButtonProps>;
|
|
62
|
+
|
|
63
|
+
declare type InputProps = InputProps$1 & {
|
|
64
|
+
label?: string;
|
|
65
|
+
classNameContainer?: string;
|
|
66
|
+
classNameControl?: string;
|
|
67
|
+
classNameLabel?: string;
|
|
68
|
+
icon?: React__default.ReactElement;
|
|
69
|
+
capture?: boolean | 'user' | 'environment';
|
|
70
|
+
};
|
|
71
|
+
declare const Input: React__default.FC<InputProps>;
|
|
72
|
+
|
|
73
|
+
declare type SelectInputProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
|
|
74
|
+
defaultOption?: string;
|
|
75
|
+
options: Array<React.OptionHTMLAttributes<HTMLOptionElement> & {
|
|
76
|
+
label: string;
|
|
77
|
+
}>;
|
|
78
|
+
caption?: string;
|
|
79
|
+
label: string;
|
|
80
|
+
showLabel?: boolean;
|
|
81
|
+
classNameContainer?: string;
|
|
82
|
+
classNameControl?: string;
|
|
83
|
+
classNameLabel?: string;
|
|
84
|
+
};
|
|
85
|
+
declare const SelectInput: ({ label, defaultOption, options, caption, classNameContainer, classNameControl, classNameLabel, showLabel, ...props }: SelectInputProps) => JSX.Element;
|
|
86
|
+
|
|
87
|
+
declare type ComboBoxOption = {
|
|
88
|
+
label: string;
|
|
89
|
+
value: string;
|
|
90
|
+
isDisabled?: boolean;
|
|
91
|
+
};
|
|
92
|
+
declare type ComboBoxProps<TOption, IsMulti extends boolean, TGroup extends GroupBase<TOption> = GroupBase<TOption>> = StateManagerProps<TOption, IsMulti, TGroup> & React.RefAttributes<InternalSelect<TOption, IsMulti, TGroup>>;
|
|
93
|
+
declare type ComboBoxGroupBase<TOption> = GroupBase<TOption>;
|
|
94
|
+
declare function ComboBox<TOption = ComboBoxOption, IsMulti extends boolean = false, TGroup extends ComboBoxGroupBase<TOption> = ComboBoxGroupBase<TOption>>(props: ComboBoxProps<TOption, IsMulti, TGroup>): JSX.Element;
|
|
95
|
+
|
|
96
|
+
declare type InlineSelectInputOption = {
|
|
97
|
+
label: string;
|
|
98
|
+
value: string;
|
|
99
|
+
};
|
|
100
|
+
declare type InlineSelectInputProps = Omit<React.HTMLAttributes<HTMLButtonElement>, 'onChange'> & {
|
|
101
|
+
disabled?: boolean;
|
|
102
|
+
value: string;
|
|
103
|
+
options: Array<InlineSelectInputOption>;
|
|
104
|
+
onChange: (option: InlineSelectInputOption) => void;
|
|
105
|
+
classNameContainer?: string;
|
|
106
|
+
};
|
|
107
|
+
declare const InlineSelectInput: ({ classNameContainer, disabled, options, value, onChange, ...props }: InlineSelectInputProps) => JSX.Element;
|
|
108
|
+
|
|
109
|
+
interface LoadingOverlayProps {
|
|
110
|
+
isActive: boolean;
|
|
111
|
+
statusMessage?: string | JSX.Element;
|
|
112
|
+
}
|
|
113
|
+
declare const LoadingOverlay: React__default.FC<LoadingOverlayProps>;
|
|
114
|
+
interface LoadingIconProps {
|
|
115
|
+
width?: number;
|
|
116
|
+
height?: number;
|
|
117
|
+
}
|
|
118
|
+
declare const LoadingIcon: React__default.FC<LoadingIconProps>;
|
|
119
|
+
|
|
120
|
+
declare type ComponentIconNames = 'add-r' | 'add' | 'airplane' | 'alarm' | 'album' | 'align-bottom' | 'align-center' | 'align-left' | 'align-middle' | 'align-right' | 'align-top' | 'anchor' | 'apple-watch' | 'arrange-back' | 'arrange-front' | 'arrow-align-h' | 'arrow-align-v' | 'arrow-bottom-left-o' | 'arrow-bottom-left-r' | 'arrow-bottom-left' | 'arrow-bottom-right-o' | 'arrow-bottom-right-r' | 'arrow-bottom-right' | 'arrow-down-o' | 'arrow-down-r' | 'arrow-down' | 'arrow-left-o' | 'arrow-left-r' | 'arrow-left' | 'arrow-long-down-c' | 'arrow-long-down-e' | 'arrow-long-down-l' | 'arrow-long-down-r' | 'arrow-long-down' | 'arrow-long-left-c' | 'arrow-long-left-e' | 'arrow-long-left-l' | 'arrow-long-left-r' | 'arrow-long-left' | 'arrow-long-right-c' | 'arrow-long-right-e' | 'arrow-long-right-l' | 'arrow-long-right-r' | 'arrow-long-right' | 'arrow-long-up-c' | 'arrow-long-up-e' | 'arrow-long-up-l' | 'arrow-long-up-r' | 'arrow-long-up' | 'arrow-right-o' | 'arrow-right-r' | 'arrow-right' | 'arrow-top-left-o' | 'arrow-top-left-r' | 'arrow-top-left' | 'arrow-top-right-o' | 'arrow-top-right-r' | 'arrow-top-right' | 'arrow-up-o' | 'arrow-up-r' | 'arrow-up' | 'arrows-breake-h' | 'arrows-breake-v' | 'arrows-exchange-alt-v' | 'arrows-exchange-alt' | 'arrows-exchange-v' | 'arrows-exchange' | 'arrows-expand-down-left' | 'arrows-expand-down-right' | 'arrows-expand-left-alt' | 'arrows-expand-left' | 'arrows-expand-right-alt' | 'arrows-expand-right' | 'arrows-expand-up-left' | 'arrows-expand-up-right' | 'arrows-h-alt' | 'arrows-h' | 'arrows-merge-alt-h' | 'arrows-merge-alt-v' | 'arrows-scroll-h' | 'arrows-scroll-v' | 'arrows-shrink-h' | 'arrows-shrink-v' | 'arrows-v-alt' | 'arrows-v' | 'assign' | 'asterisk' | 'attachment' | 'attribution' | 'awards' | 'backspace' | 'band-aid' | 'battery-empty' | 'battery-full' | 'battery' | 'bee' | 'bell' | 'bitbucket' | 'block' | 'board' | 'bolt' | 'bookmark' | 'border-all' | 'border-bottom' | 'border-left' | 'border-right' | 'border-style-dashed' | 'border-style-dotted' | 'border-style-solid' | 'border-top' | 'bot' | 'bowl' | 'box' | 'boy' | 'briefcase' | 'browse' | 'browser' | 'brush' | 'bulb' | 'c-plus-plus' | 'calculator' | 'calendar-dates' | 'calendar-due' | 'calendar-next' | 'calendar-today' | 'calendar-two' | 'calendar' | 'calibrate' | 'camera' | 'cap' | 'captions' | 'card-clubs' | 'card-diamonds' | 'card-hearts' | 'card-spades' | 'carousel' | 'cast' | 'chart' | 'check-o' | 'check-r' | 'check' | 'chevron-double-down-o' | 'chevron-double-down-r' | 'chevron-double-down' | 'chevron-double-left-o' | 'chevron-double-left-r' | 'chevron-double-left' | 'chevron-double-right-o' | 'chevron-double-right-r' | 'chevron-double-right' | 'chevron-double-up-o' | 'chevron-double-up-r' | 'chevron-double-up' | 'chevron-down-o' | 'chevron-down-r' | 'chevron-down' | 'chevron-left-o' | 'chevron-left-r' | 'chevron-left' | 'chevron-right-o' | 'chevron-right-r' | 'chevron-right' | 'chevron-up-o' | 'chevron-up-r' | 'chevron-up' | 'clapper-board' | 'clipboard' | 'close-o' | 'close-r' | 'close' | 'cloud' | 'code-slash' | 'code' | 'coffee' | 'collage' | 'color-bucket' | 'color-picker' | 'comment' | 'community' | 'components' | 'compress-left' | 'compress-right' | 'compress-v' | 'compress' | 'controller' | 'copy' | 'copyright' | 'corner-double-down-left' | 'corner-double-down-right' | 'corner-double-left-down' | 'corner-double-left-up' | 'corner-double-right-down' | 'corner-double-right-up' | 'corner-double-up-left' | 'corner-double-up-right' | 'corner-down-left' | 'corner-down-right' | 'corner-left-down' | 'corner-left-up' | 'corner-right-down' | 'corner-right-up' | 'corner-up-left' | 'corner-up-right' | 'credit-card' | 'crop' | 'cross' | 'crown' | 'danger' | 'dark-mode' | 'data' | 'database' | 'debug' | 'desktop' | 'details-less' | 'details-more' | 'dialpad' | 'dice-1' | 'dice-2' | 'dice-3' | 'dice-4' | 'dice-5' | 'dice-6' | 'disc' | 'display-flex' | 'display-fullwidth' | 'display-grid' | 'display-spacing' | 'distribute-horizontal' | 'distribute-vertical' | 'dock-bottom' | 'dock-left' | 'dock-right' | 'dock-window' | 'dollar' | 'drive' | 'drop-invert' | 'drop-opacity' | 'drop' | 'duplicate' | 'edit-black-point' | 'edit-contrast' | 'edit-exposure' | 'edit-fade' | 'edit-flip-h' | 'edit-flip-v' | 'edit-highlight' | 'edit-markup' | 'edit-mask' | 'edit-noise' | 'edit-shadows' | 'edit-straight' | 'edit-unmask' | 'eject' | 'enter' | 'erase' | 'ereader' | 'ericsson' | 'ethernet' | 'euro' | 'expand' | 'export' | 'extension-add' | 'extension-alt' | 'extension-remove' | 'extension' | 'external' | 'eye-alt' | 'eye' | 'feed' | 'file-add' | 'file-document' | 'file-remove' | 'file' | 'film' | 'filters' | 'flag-alt' | 'flag' | 'folder-add' | 'folder-remove' | 'folder' | 'font-height' | 'font-spacing' | 'format-bold' | 'format-center' | 'format-color' | 'format-heading' | 'format-indent-decrease' | 'format-indent-increase' | 'format-italic' | 'format-justify' | 'format-left' | 'format-line-height' | 'format-right' | 'format-separator' | 'format-slash' | 'format-strike' | 'format-text' | 'format-underline' | 'format-uppercase' | 'games' | 'gender-female' | 'gender-male' | 'ghost-character' | 'gift' | 'girl' | 'git-branch' | 'git-commit' | 'git-fork' | 'git-pull' | 'glass-alt' | 'glass' | 'globe-alt' | 'globe' | 'gym' | 'hashtag' | 'headset' | 'heart' | 'home-alt' | 'home-screen' | 'home' | 'icecream' | 'image' | 'import' | 'inbox' | 'infinity' | 'info' | 'inpicture' | 'insert-after-o' | 'insert-after-r' | 'insert-after' | 'insert-before-o' | 'insert-before-r' | 'insert-before' | 'insights' | 'internal' | 'key' | 'keyboard' | 'keyhole' | 'laptop' | 'layout-grid-small' | 'layout-grid' | 'layout-list' | 'layout-pin' | 'link' | 'list-tree' | 'list' | 'live-photo' | 'loadbar-alt' | 'loadbar-doc' | 'loadbar-sound' | 'loadbar' | 'lock-unlock' | 'lock' | 'log-in' | 'log-off' | 'log-out' | 'loupe' | 'magnet' | 'mail-forward' | 'mail-open' | 'mail-reply' | 'mail' | 'math-divide' | 'math-equal' | 'math-minus' | 'math-percent' | 'math-plus' | 'maximize-alt' | 'maximize' | 'media-live' | 'media-podcast' | 'menu-boxed' | 'menu-cake' | 'menu-cheese' | 'menu-grid-o' | 'menu-grid-r' | 'menu-hotdog' | 'menu-left-alt' | 'menu-left' | 'menu-motion' | 'menu-oreos' | 'menu-right-alt' | 'menu-right' | 'menu-round' | 'menu' | 'merge-horizontal' | 'merge-vertical' | 'mic' | 'mini-player' | 'minimize-alt' | 'minimize' | 'modem' | 'moon' | 'more-alt' | 'more-o' | 'more-r' | 'more-vertical-alt' | 'more-vertical-o' | 'more-vertical-r' | 'more-vertical' | 'more' | 'mouse' | 'move-down' | 'move-left' | 'move-right' | 'move-task' | 'move-up' | 'music-note' | 'music-speaker' | 'music' | 'nametag' | 'notes' | 'notifications' | 'options' | 'organisation' | 'password' | 'path-back' | 'path-crop' | 'path-divide' | 'path-exclude' | 'path-front' | 'path-intersect' | 'path-outline' | 'path-trim' | 'path-unite' | 'pen' | 'pentagon-bottom-left' | 'pentagon-bottom-right' | 'pentagon-down' | 'pentagon-left' | 'pentagon-right' | 'pentagon-top-left' | 'pentagon-top-right' | 'pentagon-up' | 'performance' | 'phone' | 'photoscan' | 'piano' | 'pill' | 'pin-alt' | 'pin-bottom' | 'pin-top' | 'pin' | 'play-backwards' | 'play-button-o' | 'play-button-r' | 'play-button' | 'play-forwards' | 'play-list-add' | 'play-list-check' | 'play-list-remove' | 'play-list-search' | 'play-list' | 'play-pause-o' | 'play-pause-r' | 'play-pause' | 'play-stop-o' | 'play-stop-r' | 'play-stop' | 'play-track-next-o' | 'play-track-next-r' | 'play-track-next' | 'play-track-prev-o' | 'play-track-prev-r' | 'play-track-prev' | 'plug' | 'polaroid' | 'poll' | 'presentation' | 'printer' | 'profile' | 'pull-clear' | 'push-chevron-down-o' | 'push-chevron-down-r' | 'push-chevron-down' | 'push-chevron-left-o' | 'push-chevron-left-r' | 'push-chevron-left' | 'push-chevron-right-o' | 'push-chevron-right-r' | 'push-chevron-right' | 'push-chevron-up-o' | 'push-chevron-up-r' | 'push-chevron-up' | 'push-down' | 'push-left' | 'push-right' | 'push-up' | 'qr' | 'quote-o' | 'quote' | 'radio-check' | 'radio-checked' | 'ratio' | 'read' | 'readme' | 'record' | 'redo' | 'remote' | 'remove-r' | 'remove' | 'rename' | 'reorder' | 'repeat' | 'ring' | 'row-first' | 'row-last' | 'ruler' | 'sand-clock' | 'scan' | 'screen-mirror' | 'screen-shot' | 'screen-wide' | 'screen' | 'scroll-h' | 'scroll-v' | 'search-found' | 'search-loading' | 'search' | 'select-o' | 'select-r' | 'select' | 'server' | 'shape-circle' | 'shape-half-circle' | 'shape-hexagon' | 'shape-rhombus' | 'shape-square' | 'shape-triangle' | 'shape-zigzag' | 'share' | 'shield' | 'shopping-bag' | 'shopping-cart' | 'shortcut' | 'sidebar-open' | 'sidebar-right' | 'sidebar' | 'signal' | 'size' | 'sleep' | 'smart-home-boiler' | 'smart-home-cooker' | 'smart-home-heat' | 'smart-home-light' | 'smart-home-refrigerator' | 'smart-home-wash-machine' | 'smartphone-chip' | 'smartphone-ram' | 'smartphone-shake' | 'smartphone' | 'smile-mouth-open' | 'smile-neutral' | 'smile-no-mouth' | 'smile-none' | 'smile-sad' | 'smile-upside' | 'smile' | 'software-download' | 'software-upload' | 'sort-az' | 'sort-za' | 'space-between-v' | 'space-between' | 'spinner-alt' | 'spinner-two-alt' | 'spinner-two' | 'spinner' | 'stack' | 'stopwatch' | 'stories' | 'style' | 'sun' | 'support' | 'swap-vertical' | 'swap' | 'sweden' | 'swiss' | 'sync' | 'tab' | 'tag' | 'tap-double' | 'tap-single' | 'template' | 'tennis' | 'terminal' | 'terrain' | 'thermometer' | 'thermostat' | 'tikcode' | 'time' | 'timelapse' | 'timer' | 'today' | 'toggle-off' | 'toggle-on' | 'toggle-square-off' | 'toggle-square' | 'toolbar-bottom' | 'toolbar-left' | 'toolbar-right' | 'toolbar-top' | 'toolbox' | 'touchpad' | 'track' | 'transcript' | 'trash-empty' | 'trash' | 'tree' | 'trees' | 'trending-down' | 'trending' | 'trophy' | 'tv' | 'ui-kit' | 'umbrella' | 'unavailable' | 'unblock' | 'undo' | 'unsplash' | 'usb-c' | 'usb' | 'user-add' | 'user-list' | 'user-remove' | 'user' | 'view-cols' | 'view-comfortable' | 'view-day' | 'view-grid' | 'view-list' | 'view-month' | 'view-split' | 'vinyl' | 'voicemail-o' | 'voicemail-r' | 'voicemail' | 'volume' | 'webcam' | 'website' | 'work-alt' | 'yinyang' | 'zoom-in' | 'zoom-out' | 'settings';
|
|
121
|
+
interface IconProps {
|
|
122
|
+
iconType: ComponentIconNames | null | undefined;
|
|
123
|
+
iconColorClass?: string;
|
|
124
|
+
onIconSelect?: (iconType: string) => void;
|
|
125
|
+
}
|
|
126
|
+
declare const Icon: React__default.NamedExoticComponent<IconProps>;
|
|
127
|
+
|
|
128
|
+
declare function useIconContext(): {
|
|
129
|
+
loading: boolean | null;
|
|
130
|
+
};
|
|
131
|
+
declare function IconsProvider({ children }: {
|
|
132
|
+
children: ReactNode;
|
|
133
|
+
}): JSX.Element;
|
|
134
|
+
|
|
135
|
+
declare const SvgCaution: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
136
|
+
|
|
137
|
+
declare const SvgCheckmark: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
138
|
+
|
|
139
|
+
declare const SvgDanger: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
140
|
+
|
|
141
|
+
declare const SvgExclamationPoint: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
142
|
+
|
|
143
|
+
declare const SvgInfo: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
144
|
+
|
|
145
|
+
declare const SvgLightbulb: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
146
|
+
|
|
147
|
+
declare const SvgUniformBadge: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
148
|
+
|
|
149
|
+
declare namespace index {
|
|
150
|
+
export {
|
|
151
|
+
SvgCaution as Caution,
|
|
152
|
+
SvgCheckmark as Checkmark,
|
|
153
|
+
SvgDanger as Danger,
|
|
154
|
+
SvgExclamationPoint as ExclamationPoint,
|
|
155
|
+
SvgInfo as Info,
|
|
156
|
+
SvgLightbulb as Lightbulb,
|
|
157
|
+
SvgUniformBadge as UniformBadge,
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare const validateContextConfig: (ContextConfig?: ContextConfig | undefined) => Promise<{
|
|
162
|
+
valid: boolean;
|
|
163
|
+
error?: Error;
|
|
164
|
+
}>;
|
|
165
|
+
|
|
166
|
+
interface UseValidateContextConfigResult {
|
|
167
|
+
validating: boolean;
|
|
168
|
+
error?: Error;
|
|
169
|
+
}
|
|
170
|
+
declare const useValidateContextConfig: (ContextConfig?: ContextConfig | undefined) => UseValidateContextConfigResult;
|
|
171
|
+
|
|
172
|
+
interface UseContextDataResult {
|
|
173
|
+
result: ManifestGetResponse | null;
|
|
174
|
+
error: string | null;
|
|
175
|
+
loading: boolean;
|
|
176
|
+
notConfigured: boolean;
|
|
177
|
+
}
|
|
178
|
+
declare function useContextData({ apiHost, apiKey, projectId }: ContextConfig): UseContextDataResult;
|
|
179
|
+
|
|
180
|
+
interface UseDimensionsResult {
|
|
181
|
+
result: DimensionsData | null;
|
|
182
|
+
error: string | null;
|
|
183
|
+
loading: boolean;
|
|
184
|
+
notConfigured: boolean;
|
|
185
|
+
}
|
|
186
|
+
declare function useDimensions({ apiHost, apiKey, projectId }: ContextConfig): UseDimensionsResult;
|
|
187
|
+
|
|
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 };
|