@uniformdev/context-ui 19.128.1-alpha.8 → 19.130.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.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.esm.js +1 -6
- package/dist/index.js +1 -6
- package/dist/index.mjs +1 -6
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -127,7 +127,6 @@ interface PersonalizationCriteriaStaticProps {
|
|
|
127
127
|
NoDimensionsDefined?: React.ComponentType;
|
|
128
128
|
Title?: React.ComponentType;
|
|
129
129
|
CustomVariantName?: React.ComponentType;
|
|
130
|
-
ControlPercentage?: React.ComponentType;
|
|
131
130
|
};
|
|
132
131
|
errors?: {
|
|
133
132
|
lhs?: Array<string | undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -127,7 +127,6 @@ interface PersonalizationCriteriaStaticProps {
|
|
|
127
127
|
NoDimensionsDefined?: React.ComponentType;
|
|
128
128
|
Title?: React.ComponentType;
|
|
129
129
|
CustomVariantName?: React.ComponentType;
|
|
130
|
-
ControlPercentage?: React.ComponentType;
|
|
131
130
|
};
|
|
132
131
|
errors?: {
|
|
133
132
|
lhs?: Array<string | undefined>;
|
package/dist/index.esm.js
CHANGED
|
@@ -283,16 +283,12 @@ var contextCriteriaMenuOperators = [
|
|
|
283
283
|
value: "<="
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
|
-
name: "has strongest score
|
|
286
|
+
name: "has the strongest score",
|
|
287
287
|
value: "+"
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
name: "has the weakest score",
|
|
291
291
|
value: "-"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
name: "has strongest category score",
|
|
295
|
-
value: "^"
|
|
296
292
|
}
|
|
297
293
|
];
|
|
298
294
|
function CriteriaOperatorMenu({ onChange, value, ...props }) {
|
|
@@ -1394,7 +1390,6 @@ var PersonalizationCriteriaStatic = ({
|
|
|
1394
1390
|
}
|
|
1395
1391
|
) : null,
|
|
1396
1392
|
(components == null ? void 0 : components.CustomVariantName) ? /* @__PURE__ */ jsx17(components.CustomVariantName, {}) : null,
|
|
1397
|
-
(components == null ? void 0 : components.ControlPercentage) ? /* @__PURE__ */ jsx17(components.ControlPercentage, {}) : null,
|
|
1398
1393
|
!currentValue.crit.length ? /* @__PURE__ */ jsx17(Callout3, { title: "Default variant", type: "info", css: { marginBlock: "var(--spacing-base)" }, children: /* @__PURE__ */ jsx17(Paragraph, { children: 'This personalized variant has no match criteria and will be shown to any visitor that does not match any preceding variants. Ensure that default variants come last in the variant list. Personalize this variant by clicking "Add Criteria" to get started.' }) }) : /* @__PURE__ */ jsx17("div", { children: currentValue.crit.map((currentCriteria, index) => {
|
|
1399
1394
|
var _a2, _b, _c, _d;
|
|
1400
1395
|
const critHasLhs = ((_a2 = currentCriteria.l) == null ? void 0 : _a2.length) > 0;
|
package/dist/index.js
CHANGED
|
@@ -335,16 +335,12 @@ var contextCriteriaMenuOperators = [
|
|
|
335
335
|
value: "<="
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
|
-
name: "has strongest score
|
|
338
|
+
name: "has the strongest score",
|
|
339
339
|
value: "+"
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
342
|
name: "has the weakest score",
|
|
343
343
|
value: "-"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
name: "has strongest category score",
|
|
347
|
-
value: "^"
|
|
348
344
|
}
|
|
349
345
|
];
|
|
350
346
|
function CriteriaOperatorMenu({ onChange, value, ...props }) {
|
|
@@ -1438,7 +1434,6 @@ var PersonalizationCriteriaStatic = ({
|
|
|
1438
1434
|
}
|
|
1439
1435
|
) : null,
|
|
1440
1436
|
(components == null ? void 0 : components.CustomVariantName) ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(components.CustomVariantName, {}) : null,
|
|
1441
|
-
(components == null ? void 0 : components.ControlPercentage) ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(components.ControlPercentage, {}) : null,
|
|
1442
1437
|
!currentValue.crit.length ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_design_system10.Callout, { title: "Default variant", type: "info", css: { marginBlock: "var(--spacing-base)" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_design_system10.Paragraph, { children: 'This personalized variant has no match criteria and will be shown to any visitor that does not match any preceding variants. Ensure that default variants come last in the variant list. Personalize this variant by clicking "Add Criteria" to get started.' }) }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { children: currentValue.crit.map((currentCriteria, index) => {
|
|
1443
1438
|
var _a2, _b, _c, _d;
|
|
1444
1439
|
const critHasLhs = ((_a2 = currentCriteria.l) == null ? void 0 : _a2.length) > 0;
|
package/dist/index.mjs
CHANGED
|
@@ -283,16 +283,12 @@ var contextCriteriaMenuOperators = [
|
|
|
283
283
|
value: "<="
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
|
-
name: "has strongest score
|
|
286
|
+
name: "has the strongest score",
|
|
287
287
|
value: "+"
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
name: "has the weakest score",
|
|
291
291
|
value: "-"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
name: "has strongest category score",
|
|
295
|
-
value: "^"
|
|
296
292
|
}
|
|
297
293
|
];
|
|
298
294
|
function CriteriaOperatorMenu({ onChange, value, ...props }) {
|
|
@@ -1394,7 +1390,6 @@ var PersonalizationCriteriaStatic = ({
|
|
|
1394
1390
|
}
|
|
1395
1391
|
) : null,
|
|
1396
1392
|
(components == null ? void 0 : components.CustomVariantName) ? /* @__PURE__ */ jsx17(components.CustomVariantName, {}) : null,
|
|
1397
|
-
(components == null ? void 0 : components.ControlPercentage) ? /* @__PURE__ */ jsx17(components.ControlPercentage, {}) : null,
|
|
1398
1393
|
!currentValue.crit.length ? /* @__PURE__ */ jsx17(Callout3, { title: "Default variant", type: "info", css: { marginBlock: "var(--spacing-base)" }, children: /* @__PURE__ */ jsx17(Paragraph, { children: 'This personalized variant has no match criteria and will be shown to any visitor that does not match any preceding variants. Ensure that default variants come last in the variant list. Personalize this variant by clicking "Add Criteria" to get started.' }) }) : /* @__PURE__ */ jsx17("div", { children: currentValue.crit.map((currentCriteria, index) => {
|
|
1399
1394
|
var _a2, _b, _c, _d;
|
|
1400
1395
|
const critHasLhs = ((_a2 = currentCriteria.l) == null ? void 0 : _a2.length) > 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/context-ui",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.130.0",
|
|
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",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@emotion/react": "11.11.3",
|
|
36
36
|
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.10.1/react-icons-all-files-4.10.1.tgz",
|
|
37
|
-
"@uniformdev/context": "19.
|
|
38
|
-
"@uniformdev/design-system": "19.
|
|
37
|
+
"@uniformdev/context": "19.130.0",
|
|
38
|
+
"@uniformdev/design-system": "19.130.0",
|
|
39
39
|
"immer": "10.0.3",
|
|
40
40
|
"react-beautiful-dnd": "13.1.1",
|
|
41
41
|
"react-select": "5.8.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "49291a549c3e2c85acdf71d82328612df1dcafd1"
|
|
77
77
|
}
|