@uniformdev/context-ui 17.6.1-alpha.60 → 17.7.1-alpha.140

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -10
  2. package/package.json +18 -18
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import React, { ComponentType, ReactElement } from 'react';
7
7
  import * as _emotion_react from '@emotion/react';
8
8
  import * as yup from 'yup';
9
9
 
10
- declare type CriteriaOperatorMenuProps = {
10
+ type CriteriaOperatorMenuProps = {
11
11
  value: DimensionMatch['op'];
12
12
  onChange: (newValue: DimensionMatch['op']) => void;
13
13
  } & Omit<InputComboBoxProps<InputComboBoxOption, false>, 'value' | 'options' | 'onChange'>;
@@ -23,11 +23,11 @@ interface ContextConfig {
23
23
  apiHost: string;
24
24
  apiKey: string;
25
25
  }
26
- declare type DimensionsData = {
26
+ type DimensionsData = {
27
27
  dimensions: ResolvedDimensionDefinition[];
28
28
  dimIndex: Record<string, ResolvedDimensionDefinition | undefined>;
29
29
  };
30
- declare type ResolvedDimensionDefinition = DimensionDefinition & {
30
+ type ResolvedDimensionDefinition = DimensionDefinition & {
31
31
  displayName: string;
32
32
  };
33
33
 
@@ -62,7 +62,7 @@ declare function useContextConfig(): ContextConfig;
62
62
  declare function useManifest(): ManifestGetResponse;
63
63
  declare function useDimensionsDataContext(): DimensionsData;
64
64
 
65
- declare type CriteriaMatchMenuProps = {
65
+ type CriteriaMatchMenuProps = {
66
66
  criteriaMatch: DimensionMatch;
67
67
  dimensions: DimensionsData;
68
68
  errorMessage?: string;
@@ -70,7 +70,7 @@ declare type CriteriaMatchMenuProps = {
70
70
  } & Omit<InputComboBoxProps<InputComboBoxOption, false>, 'value' | 'options' | 'onChange' | 'inputValue' | 'value' | 'onInputChange'>;
71
71
  declare function CriteriaMatchMenu({ onChange, criteriaMatch, dimensions, errorMessage, ...props }: CriteriaMatchMenuProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
72
72
 
73
- declare type DimensionMenuProps = {
73
+ type DimensionMenuProps = {
74
74
  value?: ResolvedDimensionDefinition;
75
75
  dimensions: ResolvedDimensionDefinition[];
76
76
  errorMessage?: string;
@@ -78,12 +78,12 @@ declare type DimensionMenuProps = {
78
78
  } & Omit<InputComboBoxProps<InputComboBoxOption, false>, 'value' | 'options' | 'onChange'>;
79
79
  declare function DimensionMenu({ onChange, value, dimensions, errorMessage, ...props }: DimensionMenuProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
80
80
 
81
- declare type DimensionValueProps = {
81
+ type DimensionValueProps = {
82
82
  displayName: string;
83
83
  };
84
84
  declare function DimensionValue({ displayName }: DimensionValueProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
85
85
 
86
- declare type EditLinkProps = {
86
+ type EditLinkProps = {
87
87
  linkTo: string;
88
88
  name?: string;
89
89
  linkText?: string;
@@ -120,16 +120,16 @@ interface PersonalizationCriteriaStaticProps {
120
120
  }
121
121
  declare const PersonalizationCriteriaStatic: React.FC<PersonalizationCriteriaStaticProps>;
122
122
 
123
- declare type ParameterValidationError<TValue> = TValue extends string | number | boolean ? string : {
123
+ type ParameterValidationError<TValue> = TValue extends string | number | boolean ? string : {
124
124
  [key in keyof TValue]: ParameterValidationError<TValue[key]> | undefined;
125
125
  };
126
126
  declare function convertErrorsToObj(errors: yup.ValidationError[]): ParameterValidationError<VariantMatchCriteria>;
127
- declare type PersonalizationCriteriaProps = {
127
+ type PersonalizationCriteriaProps = {
128
128
  contextConfig: ContextConfig;
129
129
  } & Omit<PersonalizationCriteriaStaticProps, 'dimensions'>;
130
130
  declare const PersonalizationCriteria: React.FC<PersonalizationCriteriaProps>;
131
131
 
132
- declare type UIVersionProps = {
132
+ type UIVersionProps = {
133
133
  versionMap: Record<number, React.ComponentType>;
134
134
  children?: React.ReactNode;
135
135
  contextConfig: ContextConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/context-ui",
3
- "version": "17.6.1-alpha.60+dce2049a1",
3
+ "version": "17.7.1-alpha.140+80ab6baf9",
4
4
  "description": "React-based functionality and components for Uniform Context",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@emotion/react": "11.10.5",
34
- "@uniformdev/context": "^17.6.1-alpha.60+dce2049a1",
35
- "@uniformdev/design-system": "^17.6.1-alpha.60+dce2049a1",
36
- "immer": "9.0.16",
34
+ "@uniformdev/context": "^17.7.1-alpha.140+80ab6baf9",
35
+ "@uniformdev/design-system": "^17.7.1-alpha.140+80ab6baf9",
36
+ "immer": "9.0.17",
37
37
  "react-beautiful-dnd": "13.1.1",
38
- "react-icons": "^4.3.1",
39
- "react-select": "5.6.1",
38
+ "react-icons": "^4.7.1",
39
+ "react-select": "5.7.0",
40
40
  "react-use": "17.4.0",
41
41
  "reakit": "1.3.11",
42
42
  "timeago.js": "4.0.2",
@@ -48,25 +48,25 @@
48
48
  "react-dom": ">=16.8"
49
49
  },
50
50
  "devDependencies": {
51
- "@babel/core": "7.20.2",
51
+ "@babel/core": "7.20.12",
52
52
  "@babel/preset-env": "7.20.2",
53
53
  "@babel/preset-react": "7.18.6",
54
54
  "@emotion/babel-preset-css-prop": "11.10.0",
55
- "@storybook/addon-controls": "6.5.13",
56
- "@storybook/addon-essentials": "6.5.13",
55
+ "@storybook/addon-controls": "6.5.15",
56
+ "@storybook/addon-essentials": "6.5.15",
57
57
  "@storybook/addon-postcss": "2.0.0",
58
- "@storybook/builder-webpack5": "6.5.13",
59
- "@storybook/manager-webpack5": "6.5.13",
60
- "@storybook/react": "6.5.13",
58
+ "@storybook/builder-webpack5": "6.5.15",
59
+ "@storybook/manager-webpack5": "6.5.15",
60
+ "@storybook/react": "6.5.15",
61
61
  "@types/react": "18.0.26",
62
- "@types/react-beautiful-dnd": "13.1.2",
63
- "@types/uuid": "8.3.4",
62
+ "@types/react-beautiful-dnd": "13.1.3",
63
+ "@types/uuid": "9.0.0",
64
64
  "autoprefixer": "10.4.13",
65
- "postcss": "8.4.19",
66
- "postcss-import": "15.0.1",
65
+ "postcss": "8.4.20",
66
+ "postcss-import": "15.1.0",
67
67
  "react": "18.2.0",
68
68
  "react-dom": "18.2.0",
69
- "webpack": "5.74.0"
69
+ "webpack": "5.75.0"
70
70
  },
71
71
  "files": [
72
72
  "/dist"
@@ -74,5 +74,5 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "dce2049a142bec6e78cda9d976eacf13a96aa483"
77
+ "gitHead": "80ab6baf9edea6b520738bd3dff5c6afc882bf77"
78
78
  }