@gmb/bitmark-parser-generator 4.17.0 → 4.18.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.cjs CHANGED
@@ -1135,7 +1135,7 @@ var groupKeys = {
1135
1135
  group_bookCommon: "group_bookCommon",
1136
1136
  group_learningPathCommon: "group_learningPathCommon",
1137
1137
  group_advertisingCommon: "group_advertisingCommon",
1138
- group_platformColorsCommon: "group_platformColorsCommon",
1138
+ group_platformStylesCommon: "group_platformStylesCommon",
1139
1139
  group_quizCommon: "group_quizCommon",
1140
1140
  group_resourceBitTags: "group_resourceBitTags",
1141
1141
  group_resourceCommon: "group_resourceCommon",
@@ -1341,6 +1341,10 @@ var propertyKeys = {
1341
1341
  property_platformSelectionColor: "@platformSelectionColor",
1342
1342
  property_platformSelectionTextColor: "@platformSelectionTextColor",
1343
1343
  property_platformBaseLayerColor: "@platformBaseLayerColor",
1344
+ property_platformMargin: "@platformMargin",
1345
+ property_platformBorderRadius: "@platformBorderRadius",
1346
+ property_platformSelectionBorderRadius: "@platformSelectionBorderRadius",
1347
+ property_platformNeedsShadow: "@platformNeedsShadow",
1344
1348
  property_platformSeparatorColor: "@platformSeparatorColor",
1345
1349
  property_platformTextSelectionColor: "@platformTextSelectionColor",
1346
1350
  property_person: "@person",
@@ -3532,9 +3536,9 @@ var GROUPS = {
3532
3536
  }
3533
3537
  ]
3534
3538
  },
3535
- [ConfigKey.group_platformColorsCommon]: {
3539
+ [ConfigKey.group_platformStylesCommon]: {
3536
3540
  type: GroupConfigType.standard,
3537
- description: "Common platform colors",
3541
+ description: "Common platform styles",
3538
3542
  tags: [
3539
3543
  {
3540
3544
  key: ConfigKey.property_platformPrimaryColor,
@@ -3605,6 +3609,26 @@ var GROUPS = {
3605
3609
  key: ConfigKey.property_platformBaseLayerColor,
3606
3610
  description: "The platform base layer color",
3607
3611
  format: TagFormat.plainText
3612
+ },
3613
+ {
3614
+ key: ConfigKey.property_platformMargin,
3615
+ description: "The platform margin",
3616
+ format: TagFormat.plainText
3617
+ },
3618
+ {
3619
+ key: ConfigKey.property_platformBorderRadius,
3620
+ description: "The platform border radius",
3621
+ format: TagFormat.plainText
3622
+ },
3623
+ {
3624
+ key: ConfigKey.property_platformSelectionBorderRadius,
3625
+ description: "The platform selection border radius",
3626
+ format: TagFormat.plainText
3627
+ },
3628
+ {
3629
+ key: ConfigKey.property_platformNeedsShadow,
3630
+ description: "If true, the platform needs shadow",
3631
+ format: TagFormat.boolean
3608
3632
  }
3609
3633
  ]
3610
3634
  },
@@ -8746,8 +8770,8 @@ var BITS = {
8746
8770
  maxCount: 1
8747
8771
  },
8748
8772
  {
8749
- key: ConfigKey.group_platformColorsCommon,
8750
- description: "Common platform colors"
8773
+ key: ConfigKey.group_platformStylesCommon,
8774
+ description: "Common platform styles"
8751
8775
  }
8752
8776
  ]
8753
8777
  },
@@ -8757,8 +8781,8 @@ var BITS = {
8757
8781
  description: "Platform main bit, used to define platform main properties",
8758
8782
  tags: [
8759
8783
  {
8760
- key: ConfigKey.group_platformColorsCommon,
8761
- description: "Common platform colors"
8784
+ key: ConfigKey.group_platformStylesCommon,
8785
+ description: "Common platform styles"
8762
8786
  }
8763
8787
  ]
8764
8788
  },
@@ -8768,8 +8792,8 @@ var BITS = {
8768
8792
  description: "Platform main button bit, used to define platform main button properties",
8769
8793
  tags: [
8770
8794
  {
8771
- key: ConfigKey.group_platformColorsCommon,
8772
- description: "Common platform colors"
8795
+ key: ConfigKey.group_platformStylesCommon,
8796
+ description: "Common platform styles"
8773
8797
  }
8774
8798
  ]
8775
8799
  },
@@ -8779,8 +8803,8 @@ var BITS = {
8779
8803
  description: "Platform main input bit, used to define platform main input properties",
8780
8804
  tags: [
8781
8805
  {
8782
- key: ConfigKey.group_platformColorsCommon,
8783
- description: "Common platform colors"
8806
+ key: ConfigKey.group_platformStylesCommon,
8807
+ description: "Common platform styles"
8784
8808
  }
8785
8809
  ]
8786
8810
  },
@@ -8790,8 +8814,8 @@ var BITS = {
8790
8814
  description: "Platform section bit, used to define platform section properties",
8791
8815
  tags: [
8792
8816
  {
8793
- key: ConfigKey.group_platformColorsCommon,
8794
- description: "Common platform colors"
8817
+ key: ConfigKey.group_platformStylesCommon,
8818
+ description: "Common platform styles"
8795
8819
  }
8796
8820
  ]
8797
8821
  },
@@ -8801,8 +8825,8 @@ var BITS = {
8801
8825
  description: "Platform section button bit, used to define platform section button properties",
8802
8826
  tags: [
8803
8827
  {
8804
- key: ConfigKey.group_platformColorsCommon,
8805
- description: "Common platform colors"
8828
+ key: ConfigKey.group_platformStylesCommon,
8829
+ description: "Common platform styles"
8806
8830
  }
8807
8831
  ]
8808
8832
  },
@@ -8812,8 +8836,8 @@ var BITS = {
8812
8836
  description: "Platform section chat bit, used to define platform section chat properties",
8813
8837
  tags: [
8814
8838
  {
8815
- key: ConfigKey.group_platformColorsCommon,
8816
- description: "Common platform colors"
8839
+ key: ConfigKey.group_platformStylesCommon,
8840
+ description: "Common platform styles"
8817
8841
  },
8818
8842
  {
8819
8843
  key: ConfigKey.resource_platformBackgroundImage,
@@ -8833,8 +8857,8 @@ var BITS = {
8833
8857
  description: "Platform section header bit, used to define platform section header properties",
8834
8858
  tags: [
8835
8859
  {
8836
- key: ConfigKey.group_platformColorsCommon,
8837
- description: "Common platform colors"
8860
+ key: ConfigKey.group_platformStylesCommon,
8861
+ description: "Common platform styles"
8838
8862
  }
8839
8863
  ]
8840
8864
  },
@@ -8844,8 +8868,8 @@ var BITS = {
8844
8868
  description: "Platform section input bit, used to define platform section input properties",
8845
8869
  tags: [
8846
8870
  {
8847
- key: ConfigKey.group_platformColorsCommon,
8848
- description: "Common platform colors"
8871
+ key: ConfigKey.group_platformStylesCommon,
8872
+ description: "Common platform styles"
8849
8873
  }
8850
8874
  ]
8851
8875
  },
@@ -8855,8 +8879,8 @@ var BITS = {
8855
8879
  description: "Platform system icon bit, used to define platform system icon properties",
8856
8880
  tags: [
8857
8881
  {
8858
- key: ConfigKey.group_platformColorsCommon,
8859
- description: "Common platform colors"
8882
+ key: ConfigKey.group_platformStylesCommon,
8883
+ description: "Common platform styles"
8860
8884
  }
8861
8885
  ]
8862
8886
  },
@@ -10214,7 +10238,7 @@ var instance2 = new Config();
10214
10238
  // src/generated/package_info.ts
10215
10239
  var PACKAGE_INFO = {
10216
10240
  "name": "@gmb/bitmark-parser-generator",
10217
- "version": "4.17.0",
10241
+ "version": "4.18.0",
10218
10242
  "author": "Get More Brain Ltd",
10219
10243
  "license": "ISC",
10220
10244
  "description": "A bitmark parser and generator using Peggy.js"
@@ -10976,6 +11000,14 @@ var NodeType = (0, import_superenum20.superenum)({
10976
11000
  platformSelectionTextColorValue: "platformSelectionTextColorValue",
10977
11001
  platformBaseLayerColor: "platformBaseLayerColor",
10978
11002
  platformBaseLayerColorValue: "platformBaseLayerColorValue",
11003
+ platformMargin: "platformMargin",
11004
+ platformMarginValue: "platformMarginValue",
11005
+ platformBorderRadius: "platformBorderRadius",
11006
+ platformBorderRadiusValue: "platformBorderRadiusValue",
11007
+ platformSelectionBorderRadius: "platformSelectionBorderRadius",
11008
+ platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue",
11009
+ platformNeedsShadow: "platformNeedsShadow",
11010
+ platformNeedsShadowValue: "platformNeedsShadowValue",
10979
11011
  person: "person",
10980
11012
  pointerLeft: "pointerLeft",
10981
11013
  pointerLeftValue: "pointerLeftValue",
@@ -24531,6 +24563,30 @@ var Builder = class extends BaseBuilder {
24531
24563
  data.platformBaseLayerColor,
24532
24564
  options
24533
24565
  ),
24566
+ platformMargin: this.toAstProperty(
24567
+ bitType,
24568
+ ConfigKey.property_platformMargin,
24569
+ data.platformMargin,
24570
+ options
24571
+ ),
24572
+ platformBorderRadius: this.toAstProperty(
24573
+ bitType,
24574
+ ConfigKey.property_platformBorderRadius,
24575
+ data.platformBorderRadius,
24576
+ options
24577
+ ),
24578
+ platformSelectionBorderRadius: this.toAstProperty(
24579
+ bitType,
24580
+ ConfigKey.property_platformSelectionBorderRadius,
24581
+ data.platformSelectionBorderRadius,
24582
+ options
24583
+ ),
24584
+ platformNeedsShadow: this.toAstProperty(
24585
+ bitType,
24586
+ ConfigKey.property_platformNeedsShadow,
24587
+ data.platformNeedsShadow,
24588
+ options
24589
+ ),
24534
24590
  productId: this.toAstProperty(bitType, ConfigKey.property_productId, data.productId, options),
24535
24591
  product: this.toAstProperty(bitType, ConfigKey.property_product, data.product, options),
24536
24592
  // productList: this.toAstProperty(