@gmb/bitmark-parser-generator 5.6.0 → 5.7.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.cts CHANGED
@@ -963,6 +963,7 @@ declare const ConfigKey: {
963
963
  readonly property_technicalTerm: "@technicalTerm";
964
964
  readonly property_textReference: "@textReference";
965
965
  readonly property_theme: "@theme";
966
+ readonly property_rtl: "@rtl";
966
967
  readonly property_thumbImage: "@thumbImage";
967
968
  readonly property_title: "@title";
968
969
  readonly property_toc: "@toc";
@@ -2260,6 +2261,7 @@ interface Bit {
2260
2261
  publisher?: Property;
2261
2262
  publisherName?: Property;
2262
2263
  theme?: Property;
2264
+ rtl?: Property;
2263
2265
  computerLanguage?: Property;
2264
2266
  target?: Property;
2265
2267
  slug?: Property;
@@ -3187,6 +3189,8 @@ declare const NodeType: {
3187
3189
  readonly textsValue: "textsValue";
3188
3190
  readonly theme: "theme";
3189
3191
  readonly themeValue: "themeValue";
3192
+ readonly rtl: "rtl";
3193
+ readonly rtlValue: "rtlValue";
3190
3194
  readonly thumbImage: "thumbImage";
3191
3195
  readonly thumbImageValue: "thumbImageValue";
3192
3196
  readonly thumbnails: "thumbnails";
@@ -4081,6 +4085,7 @@ declare class Builder extends BaseBuilder {
4081
4085
  publisher?: string | string[];
4082
4086
  publisherName?: string;
4083
4087
  theme?: string | string[];
4088
+ rtl?: boolean;
4084
4089
  computerLanguage?: string;
4085
4090
  target?: string | string[];
4086
4091
  slug?: string;
package/dist/index.d.ts CHANGED
@@ -963,6 +963,7 @@ declare const ConfigKey: {
963
963
  readonly property_technicalTerm: "@technicalTerm";
964
964
  readonly property_textReference: "@textReference";
965
965
  readonly property_theme: "@theme";
966
+ readonly property_rtl: "@rtl";
966
967
  readonly property_thumbImage: "@thumbImage";
967
968
  readonly property_title: "@title";
968
969
  readonly property_toc: "@toc";
@@ -2260,6 +2261,7 @@ interface Bit {
2260
2261
  publisher?: Property;
2261
2262
  publisherName?: Property;
2262
2263
  theme?: Property;
2264
+ rtl?: Property;
2263
2265
  computerLanguage?: Property;
2264
2266
  target?: Property;
2265
2267
  slug?: Property;
@@ -3187,6 +3189,8 @@ declare const NodeType: {
3187
3189
  readonly textsValue: "textsValue";
3188
3190
  readonly theme: "theme";
3189
3191
  readonly themeValue: "themeValue";
3192
+ readonly rtl: "rtl";
3193
+ readonly rtlValue: "rtlValue";
3190
3194
  readonly thumbImage: "thumbImage";
3191
3195
  readonly thumbImageValue: "thumbImageValue";
3192
3196
  readonly thumbnails: "thumbnails";
@@ -4081,6 +4085,7 @@ declare class Builder extends BaseBuilder {
4081
4085
  publisher?: string | string[];
4082
4086
  publisherName?: string;
4083
4087
  theme?: string | string[];
4088
+ rtl?: boolean;
4084
4089
  computerLanguage?: string;
4085
4090
  target?: string | string[];
4086
4091
  slug?: string;
package/dist/index.js CHANGED
@@ -1389,6 +1389,7 @@ var propertyKeys = {
1389
1389
  property_technicalTerm: "@technicalTerm",
1390
1390
  property_textReference: "@textReference",
1391
1391
  property_theme: "@theme",
1392
+ property_rtl: "@rtl",
1392
1393
  property_thumbImage: "@thumbImage",
1393
1394
  property_title: "@title",
1394
1395
  property_toc: "@toc",
@@ -2873,6 +2874,12 @@ var GROUPS = {
2873
2874
  format: TagFormat.plainText,
2874
2875
  maxCount: Count.infinity
2875
2876
  },
2877
+ {
2878
+ key: ConfigKey.property_rtl,
2879
+ description: "If true, the book is right-to-left",
2880
+ format: TagFormat.boolean,
2881
+ defaultValue: "false"
2882
+ },
2876
2883
  {
2877
2884
  key: ConfigKey.property_target,
2878
2885
  description: "The target(s) for the bit",
@@ -10343,7 +10350,7 @@ var instance2 = new Config();
10343
10350
  // src/generated/package_info.ts
10344
10351
  var PACKAGE_INFO = {
10345
10352
  "name": "@gmb/bitmark-parser-generator",
10346
- "version": "5.6.0",
10353
+ "version": "5.7.0",
10347
10354
  "author": "Get More Brain Ltd",
10348
10355
  "license": "ISC",
10349
10356
  "description": "A bitmark parser and generator using Peggy.js"
@@ -11328,6 +11335,8 @@ var NodeType = {
11328
11335
  textsValue: "textsValue",
11329
11336
  theme: "theme",
11330
11337
  themeValue: "themeValue",
11338
+ rtl: "rtl",
11339
+ rtlValue: "rtlValue",
11331
11340
  thumbImage: "thumbImage",
11332
11341
  thumbImageValue: "thumbImageValue",
11333
11342
  thumbnails: "thumbnails",
@@ -24230,6 +24239,7 @@ var Builder = class extends BaseBuilder {
24230
24239
  options
24231
24240
  ),
24232
24241
  theme: this.toAstProperty(bitType, ConfigKey.property_theme, data.theme, options),
24242
+ rtl: this.toAstProperty(bitType, ConfigKey.property_rtl, data.rtl, options),
24233
24243
  computerLanguage: this.toAstProperty(
24234
24244
  bitType,
24235
24245
  ConfigKey.property_computerLanguage,