@gmb/bitmark-parser-generator 4.18.0 → 4.19.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.
@@ -2883,9 +2883,9 @@ interface BitJson {
2883
2883
  platformBorderColor: string;
2884
2884
  platformSelectionTextColor: string;
2885
2885
  platformBaseLayerColor: string;
2886
- platformMargin: string;
2887
- platformBorderRadius: string;
2888
- platformSelectionBorderRadius: string;
2886
+ platformMargin: number;
2887
+ platformBorderRadius: number;
2888
+ platformSelectionBorderRadius: number;
2889
2889
  platformNeedsShadow: boolean;
2890
2890
  productId: string | string[];
2891
2891
  product: string;
@@ -6008,9 +6008,9 @@ declare class Builder extends BaseBuilder {
6008
6008
  platformBorderColor?: string;
6009
6009
  platformSelectionTextColor?: string;
6010
6010
  platformBaseLayerColor?: string;
6011
- platformMargin?: string;
6012
- platformBorderRadius?: string;
6013
- platformSelectionBorderRadius?: string;
6011
+ platformMargin?: number;
6012
+ platformBorderRadius?: number;
6013
+ platformSelectionBorderRadius?: number;
6014
6014
  platformNeedsShadow?: boolean;
6015
6015
  productId?: string | string[];
6016
6016
  product?: string | string[];
@@ -2883,9 +2883,9 @@ interface BitJson {
2883
2883
  platformBorderColor: string;
2884
2884
  platformSelectionTextColor: string;
2885
2885
  platformBaseLayerColor: string;
2886
- platformMargin: string;
2887
- platformBorderRadius: string;
2888
- platformSelectionBorderRadius: string;
2886
+ platformMargin: number;
2887
+ platformBorderRadius: number;
2888
+ platformSelectionBorderRadius: number;
2889
2889
  platformNeedsShadow: boolean;
2890
2890
  productId: string | string[];
2891
2891
  product: string;
@@ -6008,9 +6008,9 @@ declare class Builder extends BaseBuilder {
6008
6008
  platformBorderColor?: string;
6009
6009
  platformSelectionTextColor?: string;
6010
6010
  platformBaseLayerColor?: string;
6011
- platformMargin?: string;
6012
- platformBorderRadius?: string;
6013
- platformSelectionBorderRadius?: string;
6011
+ platformMargin?: number;
6012
+ platformBorderRadius?: number;
6013
+ platformSelectionBorderRadius?: number;
6014
6014
  platformNeedsShadow?: boolean;
6015
6015
  productId?: string | string[];
6016
6016
  product?: string | string[];
@@ -3554,17 +3554,17 @@ var GROUPS = {
3554
3554
  {
3555
3555
  key: ConfigKey.property_platformMargin,
3556
3556
  description: "The platform margin",
3557
- format: TagFormat.plainText
3557
+ format: TagFormat.number
3558
3558
  },
3559
3559
  {
3560
3560
  key: ConfigKey.property_platformBorderRadius,
3561
3561
  description: "The platform border radius",
3562
- format: TagFormat.plainText
3562
+ format: TagFormat.number
3563
3563
  },
3564
3564
  {
3565
3565
  key: ConfigKey.property_platformSelectionBorderRadius,
3566
3566
  description: "The platform selection border radius",
3567
- format: TagFormat.plainText
3567
+ format: TagFormat.number
3568
3568
  },
3569
3569
  {
3570
3570
  key: ConfigKey.property_platformNeedsShadow,
@@ -8679,6 +8679,10 @@ var BITS = {
8679
8679
  }
8680
8680
  ],
8681
8681
  maxCount: 1
8682
+ },
8683
+ {
8684
+ key: ConfigKey.group_platformStylesCommon,
8685
+ description: "Common platform styles"
8682
8686
  }
8683
8687
  ]
8684
8688
  },
@@ -9139,6 +9143,7 @@ var BITS = {
9139
9143
  key: ConfigKey.property_tableHeaderWhitespaceNoWrap,
9140
9144
  description: "No wrap for table header whitespace, used to prevent header text wrapping",
9141
9145
  format: TagFormat.boolean
9146
+ // defaultValue: 'false',
9142
9147
  },
9143
9148
  {
9144
9149
  key: ConfigKey.property_tableSearch,
@@ -9171,7 +9176,7 @@ var BITS = {
9171
9176
  key: ConfigKey.property_tableWhitespaceNoWrap,
9172
9177
  description: "No wrap for table whitespace, used to prevent text wrapping in table cells",
9173
9178
  format: TagFormat.boolean
9174
- // defaultValue: 'true',
9179
+ // defaultValue: 'false',
9175
9180
  },
9176
9181
  {
9177
9182
  key: ConfigKey.property_tableAutoWidth,
@@ -10179,7 +10184,7 @@ var instance2 = new Config();
10179
10184
  // src/generated/package_info.ts
10180
10185
  var PACKAGE_INFO = {
10181
10186
  "name": "@gmb/bitmark-parser-generator",
10182
- "version": "4.18.0",
10187
+ "version": "4.19.0",
10183
10188
  "author": "Get More Brain Ltd",
10184
10189
  "license": "ISC",
10185
10190
  "description": "A bitmark parser and generator using Peggy.js"
@@ -30029,7 +30034,9 @@ var JsonGenerator = class extends AstWalkerGenerator {
30029
30034
  }
30030
30035
  if (instance2.isOfBitType(bitType, BitType.table)) {
30031
30036
  if (bitJson.tableFixedHeader == null) bitJson.tableFixedHeader = false;
30032
- if (bitJson.tableHeaderWhitespaceNoWrap == null) bitJson.tableHeaderWhitespaceNoWrap = true;
30037
+ if (bitJson.tableHeaderWhitespaceNoWrap == null) {
30038
+ bitJson.tableHeaderWhitespaceNoWrap = false;
30039
+ }
30033
30040
  if (bitJson.tableSearch == null) bitJson.tableSearch = false;
30034
30041
  if (bitJson.tableSort == null) bitJson.tableSort = false;
30035
30042
  if (bitJson.tablePagination == null) bitJson.tablePagination = false;