@uniformdev/context-ui 19.38.2 → 19.38.3-alpha.78
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.esm.js +5 -3
- package/dist/index.js +10 -8
- package/dist/index.mjs +5 -3
- package/package.json +9 -9
package/dist/index.esm.js
CHANGED
|
@@ -672,8 +672,8 @@ function DimensionMenu({ onChange, value, dimensions, errorMessage, ...props })
|
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
// src/components/EditLink/EditLink.tsx
|
|
675
|
+
import { CgChevronRight } from "@react-icons/all-files/cg/CgChevronRight";
|
|
675
676
|
import { Icon as Icon3 } from "@uniformdev/design-system";
|
|
676
|
-
import { CgChevronRight } from "react-icons/cg";
|
|
677
677
|
|
|
678
678
|
// src/components/EditLink/EditLink.styles.ts
|
|
679
679
|
import { css as css3 } from "@emotion/react";
|
|
@@ -711,6 +711,9 @@ var EditLink = ({ linkTo, name, linkText = `Edit ${name} Component` }) => {
|
|
|
711
711
|
|
|
712
712
|
// src/components/EnrichmentTag/EnrichmentTag.tsx
|
|
713
713
|
import { css as css4 } from "@emotion/react";
|
|
714
|
+
import { CgCloseO } from "@react-icons/all-files/cg/CgCloseO";
|
|
715
|
+
import { CgMathMinus } from "@react-icons/all-files/cg/CgMathMinus";
|
|
716
|
+
import { CgMathPlus } from "@react-icons/all-files/cg/CgMathPlus";
|
|
714
717
|
import { getEnrichmentVectorKey } from "@uniformdev/context";
|
|
715
718
|
import {
|
|
716
719
|
AddListButton,
|
|
@@ -723,7 +726,6 @@ import {
|
|
|
723
726
|
} from "@uniformdev/design-system";
|
|
724
727
|
import produce from "immer";
|
|
725
728
|
import { useMemo, useState as useState4 } from "react";
|
|
726
|
-
import { CgCloseO, CgMathMinus, CgMathPlus } from "react-icons/cg";
|
|
727
729
|
import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs7 } from "@emotion/react/jsx-runtime";
|
|
728
730
|
var addEnrichmentLink = css4`
|
|
729
731
|
flex: 2;
|
|
@@ -1097,9 +1099,9 @@ function opHasRhs(op) {
|
|
|
1097
1099
|
|
|
1098
1100
|
// src/components/PersonalizationCriteria/PersonalizationCriteriaStatic.tsx
|
|
1099
1101
|
import { css as css6 } from "@emotion/react";
|
|
1102
|
+
import { CgCloseO as CgCloseO2 } from "@react-icons/all-files/cg/CgCloseO";
|
|
1100
1103
|
import { AddListButton as AddListButton2, Callout as Callout2, Icon as Icon5, InputInlineSelect, Paragraph } from "@uniformdev/design-system";
|
|
1101
1104
|
import produce2 from "immer";
|
|
1102
|
-
import { CgCloseO as CgCloseO2 } from "react-icons/cg";
|
|
1103
1105
|
|
|
1104
1106
|
// src/components/PersonalizationCriteria/PersonalizationCriteriaStatic.styles.ts
|
|
1105
1107
|
import { css as css5 } from "@emotion/react";
|
package/dist/index.js
CHANGED
|
@@ -731,8 +731,8 @@ function DimensionMenu({ onChange, value, dimensions, errorMessage, ...props })
|
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
// src/components/EditLink/EditLink.tsx
|
|
734
|
+
var import_CgChevronRight = require("@react-icons/all-files/cg/CgChevronRight");
|
|
734
735
|
var import_design_system7 = require("@uniformdev/design-system");
|
|
735
|
-
var import_cg = require("react-icons/cg");
|
|
736
736
|
|
|
737
737
|
// src/components/EditLink/EditLink.styles.ts
|
|
738
738
|
var import_react8 = require("@emotion/react");
|
|
@@ -762,7 +762,7 @@ var EditLink = ({ linkTo, name, linkText = `Edit ${name} Component` }) => {
|
|
|
762
762
|
href: linkTo,
|
|
763
763
|
children: [
|
|
764
764
|
linkText,
|
|
765
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_design_system7.Icon, { icon:
|
|
765
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_design_system7.Icon, { icon: import_CgChevronRight.CgChevronRight, iconColor: "currentColor", size: "1.5rem" })
|
|
766
766
|
]
|
|
767
767
|
}
|
|
768
768
|
);
|
|
@@ -770,11 +770,13 @@ var EditLink = ({ linkTo, name, linkText = `Edit ${name} Component` }) => {
|
|
|
770
770
|
|
|
771
771
|
// src/components/EnrichmentTag/EnrichmentTag.tsx
|
|
772
772
|
var import_react9 = require("@emotion/react");
|
|
773
|
+
var import_CgCloseO = require("@react-icons/all-files/cg/CgCloseO");
|
|
774
|
+
var import_CgMathMinus = require("@react-icons/all-files/cg/CgMathMinus");
|
|
775
|
+
var import_CgMathPlus = require("@react-icons/all-files/cg/CgMathPlus");
|
|
773
776
|
var import_context = require("@uniformdev/context");
|
|
774
777
|
var import_design_system8 = require("@uniformdev/design-system");
|
|
775
778
|
var import_immer = __toESM(require("immer"));
|
|
776
779
|
var import_react10 = require("react");
|
|
777
|
-
var import_cg2 = require("react-icons/cg");
|
|
778
780
|
var import_jsx_runtime14 = require("@emotion/react/jsx-runtime");
|
|
779
781
|
var addEnrichmentLink = import_react9.css`
|
|
780
782
|
flex: 2;
|
|
@@ -1026,7 +1028,7 @@ var ScoreCounter = ({
|
|
|
1026
1028
|
disabled: score === 0,
|
|
1027
1029
|
className: "scoreCounterButton",
|
|
1028
1030
|
css: scoreCounterMinusButtonStyles,
|
|
1029
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_design_system8.Icon, { icon:
|
|
1031
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_design_system8.Icon, { icon: import_CgMathMinus.CgMathMinus, iconColor: "gray", size: "1.5rem" })
|
|
1030
1032
|
}
|
|
1031
1033
|
),
|
|
1032
1034
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
@@ -1037,7 +1039,7 @@ var ScoreCounter = ({
|
|
|
1037
1039
|
onClick: () => handleCounter("increment"),
|
|
1038
1040
|
className: "scoreCounterButton",
|
|
1039
1041
|
css: scoreCounterPlusButtonStyles,
|
|
1040
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_design_system8.Icon, { icon:
|
|
1042
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_design_system8.Icon, { icon: import_CgMathPlus.CgMathPlus, iconColor: "gray", size: "1.5rem" })
|
|
1041
1043
|
}
|
|
1042
1044
|
)
|
|
1043
1045
|
] });
|
|
@@ -1119,7 +1121,7 @@ var SelectedEnrichments = ({ list, setList, dimIndex }) => {
|
|
|
1119
1121
|
title: `Delete enrichment`,
|
|
1120
1122
|
onClick: () => removeEnrichment(index),
|
|
1121
1123
|
css: { border: 0 },
|
|
1122
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_design_system8.Icon, { icon:
|
|
1124
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_design_system8.Icon, { icon: import_CgCloseO.CgCloseO, iconColor: "red", size: "1.5rem" })
|
|
1123
1125
|
}
|
|
1124
1126
|
)
|
|
1125
1127
|
]
|
|
@@ -1148,9 +1150,9 @@ function opHasRhs(op) {
|
|
|
1148
1150
|
|
|
1149
1151
|
// src/components/PersonalizationCriteria/PersonalizationCriteriaStatic.tsx
|
|
1150
1152
|
var import_react12 = require("@emotion/react");
|
|
1153
|
+
var import_CgCloseO2 = require("@react-icons/all-files/cg/CgCloseO");
|
|
1151
1154
|
var import_design_system9 = require("@uniformdev/design-system");
|
|
1152
1155
|
var import_immer2 = __toESM(require("immer"));
|
|
1153
|
-
var import_cg3 = require("react-icons/cg");
|
|
1154
1156
|
|
|
1155
1157
|
// src/components/PersonalizationCriteria/PersonalizationCriteriaStatic.styles.ts
|
|
1156
1158
|
var import_react11 = require("@emotion/react");
|
|
@@ -1366,7 +1368,7 @@ var PersonalizationCriteriaStatic = ({
|
|
|
1366
1368
|
title: `Delete Personalization`,
|
|
1367
1369
|
css: { backgroundColor: "transparent", backgroundImage: "none", borderWidth: 0 },
|
|
1368
1370
|
"data-testid": "button-delete",
|
|
1369
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_design_system9.Icon, { icon:
|
|
1371
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_design_system9.Icon, { icon: import_CgCloseO2.CgCloseO, iconColor: "red", size: "1.5rem" })
|
|
1370
1372
|
}
|
|
1371
1373
|
),
|
|
1372
1374
|
index > 0 ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
package/dist/index.mjs
CHANGED
|
@@ -672,8 +672,8 @@ function DimensionMenu({ onChange, value, dimensions, errorMessage, ...props })
|
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
// src/components/EditLink/EditLink.tsx
|
|
675
|
+
import { CgChevronRight } from "@react-icons/all-files/cg/CgChevronRight";
|
|
675
676
|
import { Icon as Icon3 } from "@uniformdev/design-system";
|
|
676
|
-
import { CgChevronRight } from "react-icons/cg";
|
|
677
677
|
|
|
678
678
|
// src/components/EditLink/EditLink.styles.ts
|
|
679
679
|
import { css as css3 } from "@emotion/react";
|
|
@@ -711,6 +711,9 @@ var EditLink = ({ linkTo, name, linkText = `Edit ${name} Component` }) => {
|
|
|
711
711
|
|
|
712
712
|
// src/components/EnrichmentTag/EnrichmentTag.tsx
|
|
713
713
|
import { css as css4 } from "@emotion/react";
|
|
714
|
+
import { CgCloseO } from "@react-icons/all-files/cg/CgCloseO";
|
|
715
|
+
import { CgMathMinus } from "@react-icons/all-files/cg/CgMathMinus";
|
|
716
|
+
import { CgMathPlus } from "@react-icons/all-files/cg/CgMathPlus";
|
|
714
717
|
import { getEnrichmentVectorKey } from "@uniformdev/context";
|
|
715
718
|
import {
|
|
716
719
|
AddListButton,
|
|
@@ -723,7 +726,6 @@ import {
|
|
|
723
726
|
} from "@uniformdev/design-system";
|
|
724
727
|
import produce from "immer";
|
|
725
728
|
import { useMemo, useState as useState4 } from "react";
|
|
726
|
-
import { CgCloseO, CgMathMinus, CgMathPlus } from "react-icons/cg";
|
|
727
729
|
import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs7 } from "@emotion/react/jsx-runtime";
|
|
728
730
|
var addEnrichmentLink = css4`
|
|
729
731
|
flex: 2;
|
|
@@ -1097,9 +1099,9 @@ function opHasRhs(op) {
|
|
|
1097
1099
|
|
|
1098
1100
|
// src/components/PersonalizationCriteria/PersonalizationCriteriaStatic.tsx
|
|
1099
1101
|
import { css as css6 } from "@emotion/react";
|
|
1102
|
+
import { CgCloseO as CgCloseO2 } from "@react-icons/all-files/cg/CgCloseO";
|
|
1100
1103
|
import { AddListButton as AddListButton2, Callout as Callout2, Icon as Icon5, InputInlineSelect, Paragraph } from "@uniformdev/design-system";
|
|
1101
1104
|
import produce2 from "immer";
|
|
1102
|
-
import { CgCloseO as CgCloseO2 } from "react-icons/cg";
|
|
1103
1105
|
|
|
1104
1106
|
// src/components/PersonalizationCriteria/PersonalizationCriteriaStatic.styles.ts
|
|
1105
1107
|
import { css as css5 } from "@emotion/react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/context-ui",
|
|
3
|
-
"version": "19.38.
|
|
3
|
+
"version": "19.38.3-alpha.78+5c9892bf1",
|
|
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",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@emotion/react": "11.11.1",
|
|
35
|
-
"@
|
|
36
|
-
"@uniformdev/
|
|
35
|
+
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.10.1/react-icons-all-files-4.10.1.tgz",
|
|
36
|
+
"@uniformdev/context": "19.38.3-alpha.78+5c9892bf1",
|
|
37
|
+
"@uniformdev/design-system": "19.38.3-alpha.78+5c9892bf1",
|
|
37
38
|
"immer": "9.0.21",
|
|
38
39
|
"react-beautiful-dnd": "13.1.1",
|
|
39
|
-
"react-icons": "^4.7.1",
|
|
40
40
|
"react-select": "5.7.4",
|
|
41
41
|
"react-use": "17.4.0",
|
|
42
42
|
"reakit": "1.3.11",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"react-dom": ">=16.8"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@babel/core": "7.22.
|
|
53
|
-
"@babel/preset-env": "7.22.
|
|
52
|
+
"@babel/core": "7.22.10",
|
|
53
|
+
"@babel/preset-env": "7.22.10",
|
|
54
54
|
"@babel/preset-react": "7.22.5",
|
|
55
55
|
"@emotion/babel-preset-css-prop": "11.11.0",
|
|
56
56
|
"@storybook/addon-controls": "6.5.16",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"@storybook/builder-webpack5": "6.5.16",
|
|
60
60
|
"@storybook/manager-webpack5": "6.5.16",
|
|
61
61
|
"@storybook/react": "6.5.16",
|
|
62
|
-
"@types/react": "18.2.
|
|
62
|
+
"@types/react": "18.2.20",
|
|
63
63
|
"@types/react-beautiful-dnd": "13.1.4",
|
|
64
64
|
"@types/uuid": "9.0.2",
|
|
65
|
-
"autoprefixer": "10.4.
|
|
65
|
+
"autoprefixer": "10.4.15",
|
|
66
66
|
"postcss": "8.4.27",
|
|
67
67
|
"postcss-import": "15.1.0",
|
|
68
68
|
"react": "18.2.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "5c9892bf101584d351d06b65e1658a1237594cfb"
|
|
79
79
|
}
|