@gem-sdk/components 2.0.0-dev.538 → 2.0.0-dev.539

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.
@@ -27,6 +27,11 @@ const config = {
27
27
  {
28
28
  id: 'setting',
29
29
  controls: [
30
+ {
31
+ id: 'enableDisplayCondition',
32
+ type: 'toggle',
33
+ default: true
34
+ },
30
35
  {
31
36
  id: 'childItem',
32
37
  label: 'Item management',
@@ -756,6 +756,7 @@ const ControlUIV2 = [
756
756
  label: {
757
757
  en: 'Display condition'
758
758
  },
759
+ conditionDisplay: 'enableDisplayCondition == true',
759
760
  controls: [
760
761
  {
761
762
  label: {
@@ -23,6 +23,11 @@ const config = {
23
23
  {
24
24
  id: 'setting',
25
25
  controls: [
26
+ {
27
+ id: 'enableDisplayCondition',
28
+ type: 'toggle',
29
+ default: true
30
+ },
26
31
  {
27
32
  id: 'childItem',
28
33
  label: 'Item management',
@@ -752,6 +752,7 @@ const ControlUIV2 = [
752
752
  label: {
753
753
  en: 'Display condition'
754
754
  },
755
+ conditionDisplay: 'enableDisplayCondition == true',
755
756
  controls: [
756
757
  {
757
758
  label: {
@@ -4043,6 +4043,7 @@ type FileUploadProps = BasePropsWrap<Setting, Style> & {
4043
4043
  };
4044
4044
 
4045
4045
  type ProductBundleDiscountProps = BasePropsWrap<{
4046
+ enableDisplayCondition?: boolean;
4046
4047
  childItem?: string[];
4047
4048
  hideNoDiscountItem?: boolean;
4048
4049
  hasPreSelectItem?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.538",
3
+ "version": "2.0.0-dev.539",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",