@liiift-studio/sanity-font-manager 2.3.3 → 2.3.5

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.mjs CHANGED
@@ -4112,6 +4112,2459 @@ var readFontFile2 = (file) => {
4112
4112
  reader.readAsArrayBuffer(file);
4113
4113
  });
4114
4114
  };
4115
+
4116
+ // src/schema/openTypeField.js
4117
+ var openTypeField = {
4118
+ title: "Opentype",
4119
+ name: "openType",
4120
+ type: "object",
4121
+ group: "openType",
4122
+ hidden: false,
4123
+ components: { input: SetOTF },
4124
+ options: { collapsible: true },
4125
+ fields: [
4126
+ {
4127
+ title: "Features",
4128
+ name: "features",
4129
+ type: "array",
4130
+ of: [{ type: "string" }],
4131
+ options: {
4132
+ list: [
4133
+ { title: "All Alternates", value: "allAlternates" },
4134
+ { title: "All Caps", value: "allCaps" },
4135
+ { title: "Alternate Annotation", value: "alternateAnnotation" },
4136
+ { title: "Alternative Fractions", value: "alternativeFractions" },
4137
+ { title: "Capitals To Small Caps", value: "capitalsToSmallCaps" },
4138
+ { title: "Capitals to Petite Caps", value: "capitalsToPetiteCaps" },
4139
+ { title: "Case Sensitive Forms", value: "caseSensitiveForms" },
4140
+ { title: "Contextual Alternates", value: "contextualAlternates" },
4141
+ { title: "Contextual Ligatures", value: "contextualLigatures" },
4142
+ { title: "Contextual Swash", value: "contextualSwash" },
4143
+ { title: "Denominator", value: "denominator" },
4144
+ { title: "Discretionary Ligatures", value: "discretionaryLigatures" },
4145
+ { title: "Fractions", value: "fractions" },
4146
+ { title: "Glyph Decomposition", value: "glyphDecomposition" },
4147
+ { title: "Historical Forms", value: "historicalForms" },
4148
+ { title: "Historical Ligatures", value: "historicalLigatures" },
4149
+ { title: "Initial Form", value: "initialForm" },
4150
+ { title: "Isolated Form", value: "isolatedForm" },
4151
+ { title: "Justified Alternates", value: "justifiedAlternates" },
4152
+ { title: "Localized Forms", value: "localizedForms" },
4153
+ { title: "Mark Positioning", value: "markPositioning" },
4154
+ { title: "Mark Positioning via Subs", value: "markPositioningViaSubs" },
4155
+ { title: "Mark to Mark Positioning", value: "markToMarkPositioning" },
4156
+ { title: "Mathematical Greek", value: "mathematicalGreek" },
4157
+ { title: "Medial Form", value: "medialForm" },
4158
+ { title: "Numerator", value: "numerator" },
4159
+ { title: "Ordinals", value: "ordinals" },
4160
+ { title: "Ornaments", value: "ornaments" },
4161
+ { title: "Petite Caps", value: "petiteCaps" },
4162
+ { title: "Proportional Lining", value: "proportionalLining" },
4163
+ { title: "Proportional Oldstyle", value: "proportionalOldstyle" },
4164
+ { title: "Required Ligatures", value: "requiredLigatures" },
4165
+ { title: "Scientific Inferiors", value: "scientificInferiors" },
4166
+ { title: "Slashed Zero", value: "slashedZero" },
4167
+ { title: "Small Caps", value: "smallCaps" },
4168
+ { title: "Standard Ligatures", value: "standardLigatures" },
4169
+ { title: "Stylistic Alternates", value: "stylisticAlternates" },
4170
+ { title: "Subscript", value: "subscript" },
4171
+ { title: "Superscript", value: "superscript" },
4172
+ { title: "Swash", value: "swash" },
4173
+ { title: "Tabular Lining", value: "tabularLining" },
4174
+ { title: "Tabular Oldstyle", value: "tabularOldstyle" },
4175
+ { title: "Terminal Form", value: "terminalForm" },
4176
+ { title: "Titling Alternates", value: "titlingAlternates" },
4177
+ { title: "Unicase", value: "unicase" },
4178
+ { title: "All Stylistic Sets", value: "allStylisticSets" },
4179
+ { title: "Stylistic Set 1", value: "stylisticSet1" },
4180
+ { title: "Stylistic Set 2", value: "stylisticSet2" },
4181
+ { title: "Stylistic Set 3", value: "stylisticSet3" },
4182
+ { title: "Stylistic Set 4", value: "stylisticSet4" },
4183
+ { title: "Stylistic Set 5", value: "stylisticSet5" },
4184
+ { title: "Stylistic Set 6", value: "stylisticSet6" },
4185
+ { title: "Stylistic Set 7", value: "stylisticSet7" },
4186
+ { title: "Stylistic Set 8", value: "stylisticSet8" },
4187
+ { title: "Stylistic Set 9", value: "stylisticSet9" },
4188
+ { title: "Stylistic Set 10", value: "stylisticSet10" },
4189
+ { title: "Stylistic Set 11", value: "stylisticSet11" },
4190
+ { title: "Stylistic Set 12", value: "stylisticSet12" },
4191
+ { title: "Stylistic Set 13", value: "stylisticSet13" },
4192
+ { title: "Stylistic Set 14", value: "stylisticSet14" },
4193
+ { title: "Stylistic Set 15", value: "stylisticSet15" },
4194
+ { title: "Stylistic Set 16", value: "stylisticSet16" },
4195
+ { title: "Stylistic Set 17", value: "stylisticSet17" },
4196
+ { title: "Stylistic Set 18", value: "stylisticSet18" },
4197
+ { title: "Stylistic Set 19", value: "stylisticSet19" },
4198
+ { title: "Stylistic Set 20", value: "stylisticSet20" }
4199
+ ],
4200
+ layout: "checkbox"
4201
+ }
4202
+ },
4203
+ {
4204
+ title: "All Alternates",
4205
+ name: "allAlternates",
4206
+ type: "object",
4207
+ hidden: ({ parent }) => {
4208
+ var _a;
4209
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("allAlternates"));
4210
+ },
4211
+ fields: [
4212
+ {
4213
+ name: "title",
4214
+ type: "string",
4215
+ placeholder: "eg. All Alternates",
4216
+ initialValue: "All Alternates"
4217
+ },
4218
+ {
4219
+ name: "feature",
4220
+ type: "string",
4221
+ placeholder: "eg. aalt",
4222
+ initialValue: "aalt"
4223
+ },
4224
+ {
4225
+ title: "Custom Text",
4226
+ description: "Use the field below to input a word to highlight the feature.",
4227
+ name: "customText",
4228
+ hidden: true,
4229
+ type: "string",
4230
+ initialValue: ""
4231
+ }
4232
+ ]
4233
+ },
4234
+ {
4235
+ title: "All Caps",
4236
+ name: "allCaps",
4237
+ type: "object",
4238
+ hidden: ({ parent }) => {
4239
+ var _a;
4240
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("allCaps"));
4241
+ },
4242
+ fields: [
4243
+ {
4244
+ name: "title",
4245
+ type: "string",
4246
+ placeholder: "eg. allCaps",
4247
+ initialValue: "allCaps"
4248
+ },
4249
+ {
4250
+ name: "feature",
4251
+ type: "string",
4252
+ placeholder: "eg. case cpsp",
4253
+ initialValue: "case cpsp"
4254
+ },
4255
+ {
4256
+ title: "Custom Text",
4257
+ description: "Use the field below to input a word to highlight the feature.",
4258
+ name: "customText",
4259
+ hidden: true,
4260
+ type: "string",
4261
+ initialValue: ""
4262
+ }
4263
+ ]
4264
+ },
4265
+ {
4266
+ title: "Alternate Annotation",
4267
+ name: "alternateAnnotation",
4268
+ type: "object",
4269
+ hidden: ({ parent }) => {
4270
+ var _a;
4271
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("alternateAnnotation"));
4272
+ },
4273
+ fields: [
4274
+ {
4275
+ name: "title",
4276
+ type: "string",
4277
+ placeholder: "eg. Alternate Annotation",
4278
+ initialValue: "Alternate Annotation"
4279
+ },
4280
+ {
4281
+ name: "feature",
4282
+ type: "string",
4283
+ placeholder: "eg. nalt",
4284
+ initialValue: "nalt"
4285
+ },
4286
+ {
4287
+ title: "Custom Text",
4288
+ description: "Use the field below to input a word to highlight the feature.",
4289
+ name: "customText",
4290
+ hidden: true,
4291
+ type: "string",
4292
+ initialValue: ""
4293
+ }
4294
+ ]
4295
+ },
4296
+ {
4297
+ title: "Alternative Fractions",
4298
+ name: "alternativeFractions",
4299
+ type: "object",
4300
+ hidden: ({ parent }) => {
4301
+ var _a;
4302
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("alternativeFractions"));
4303
+ },
4304
+ fields: [
4305
+ {
4306
+ name: "title",
4307
+ type: "string",
4308
+ placeholder: "eg. Alternative Fractions",
4309
+ initialValue: "Alternative Fractions"
4310
+ },
4311
+ {
4312
+ name: "feature",
4313
+ type: "string",
4314
+ placeholder: "eg. afrc",
4315
+ initialValue: "afrc"
4316
+ },
4317
+ {
4318
+ title: "Custom Text",
4319
+ description: "Use the field below to input a word to highlight the feature.",
4320
+ name: "customText",
4321
+ hidden: true,
4322
+ type: "string",
4323
+ initialValue: ""
4324
+ }
4325
+ ]
4326
+ },
4327
+ {
4328
+ title: "Capitals To Small Caps",
4329
+ name: "capitalsToSmallCaps",
4330
+ type: "object",
4331
+ hidden: ({ parent }) => {
4332
+ var _a;
4333
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("capitalsToSmallCaps"));
4334
+ },
4335
+ fields: [
4336
+ {
4337
+ name: "title",
4338
+ type: "string",
4339
+ placeholder: "eg. Capitals to Small Caps",
4340
+ initialValue: "Capitals to Small Caps"
4341
+ },
4342
+ {
4343
+ name: "feature",
4344
+ type: "string",
4345
+ placeholder: "eg. c2sc",
4346
+ initialValue: "c2sc"
4347
+ },
4348
+ {
4349
+ title: "Custom Text",
4350
+ description: "Use the field below to input a word to highlight the feature.",
4351
+ name: "customText",
4352
+ hidden: true,
4353
+ type: "string",
4354
+ initialValue: ""
4355
+ }
4356
+ ]
4357
+ },
4358
+ {
4359
+ title: "Capitals to Petite Caps",
4360
+ name: "capitalsToPetiteCaps",
4361
+ type: "object",
4362
+ hidden: ({ parent }) => {
4363
+ var _a;
4364
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("capitalsToPetiteCaps"));
4365
+ },
4366
+ fields: [
4367
+ {
4368
+ name: "title",
4369
+ type: "string",
4370
+ placeholder: "eg. Capitals to Petite Caps",
4371
+ initialValue: "Capitals to Petite Caps"
4372
+ },
4373
+ {
4374
+ name: "feature",
4375
+ type: "string",
4376
+ placeholder: "eg. c2pc",
4377
+ initialValue: "c2pc"
4378
+ },
4379
+ {
4380
+ title: "Custom Text",
4381
+ description: "Use the field below to input a word to highlight the feature.",
4382
+ name: "customText",
4383
+ hidden: true,
4384
+ type: "string",
4385
+ initialValue: ""
4386
+ }
4387
+ ]
4388
+ },
4389
+ {
4390
+ title: "Case Sensitive Forms",
4391
+ name: "caseSensitiveForms",
4392
+ type: "object",
4393
+ hidden: ({ parent }) => {
4394
+ var _a;
4395
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("caseSensitiveForms"));
4396
+ },
4397
+ fields: [
4398
+ {
4399
+ name: "title",
4400
+ type: "string",
4401
+ placeholder: "eg. Case Sensitive Forms",
4402
+ initialValue: "Case Sensitive Forms"
4403
+ },
4404
+ {
4405
+ name: "feature",
4406
+ type: "string",
4407
+ placeholder: "eg. case",
4408
+ initialValue: "case"
4409
+ },
4410
+ {
4411
+ title: "Custom Text",
4412
+ description: "Use the field below to input a word to highlight the feature.",
4413
+ name: "customText",
4414
+ hidden: true,
4415
+ type: "string",
4416
+ initialValue: ""
4417
+ }
4418
+ ]
4419
+ },
4420
+ {
4421
+ title: "Contextual Alternates",
4422
+ name: "contextualAlternates",
4423
+ type: "object",
4424
+ hidden: ({ parent }) => {
4425
+ var _a;
4426
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("contextualAlternates"));
4427
+ },
4428
+ fields: [
4429
+ {
4430
+ name: "title",
4431
+ type: "string",
4432
+ placeholder: "eg. Contextual Alternates",
4433
+ initialValue: "Contextual Alternates"
4434
+ },
4435
+ {
4436
+ name: "feature",
4437
+ type: "string",
4438
+ placeholder: "eg. calt",
4439
+ initialValue: "calt"
4440
+ },
4441
+ {
4442
+ title: "Custom Text",
4443
+ description: "Use the field below to input a word to highlight the feature.",
4444
+ name: "customText",
4445
+ hidden: true,
4446
+ type: "string",
4447
+ initialValue: ""
4448
+ }
4449
+ ]
4450
+ },
4451
+ {
4452
+ title: "Contextual Ligatures",
4453
+ name: "contextualLigatures",
4454
+ type: "object",
4455
+ hidden: ({ parent }) => {
4456
+ var _a;
4457
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("contextualLigatures"));
4458
+ },
4459
+ fields: [
4460
+ {
4461
+ name: "title",
4462
+ type: "string",
4463
+ placeholder: "eg. Contextual Ligatures",
4464
+ initialValue: "Contextual Ligatures"
4465
+ },
4466
+ {
4467
+ name: "feature",
4468
+ type: "string",
4469
+ placeholder: "eg. clig",
4470
+ initialValue: "clig"
4471
+ },
4472
+ {
4473
+ title: "Custom Text",
4474
+ description: "Use the field below to input a word to highlight the feature.",
4475
+ name: "customText",
4476
+ hidden: true,
4477
+ type: "string",
4478
+ initialValue: ""
4479
+ }
4480
+ ]
4481
+ },
4482
+ {
4483
+ title: "Contextual Swash",
4484
+ name: "contextualSwash",
4485
+ type: "object",
4486
+ hidden: ({ parent }) => {
4487
+ var _a;
4488
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("contextualSwash"));
4489
+ },
4490
+ fields: [
4491
+ {
4492
+ name: "title",
4493
+ type: "string",
4494
+ placeholder: "eg. Contextual Swash",
4495
+ initialValue: "Contextual Swash"
4496
+ },
4497
+ {
4498
+ name: "feature",
4499
+ type: "string",
4500
+ placeholder: "eg. cswh",
4501
+ initialValue: "cswh"
4502
+ },
4503
+ {
4504
+ title: "Custom Text",
4505
+ description: "Use the field below to input a word to highlight the feature.",
4506
+ name: "customText",
4507
+ hidden: true,
4508
+ type: "string",
4509
+ initialValue: ""
4510
+ }
4511
+ ]
4512
+ },
4513
+ {
4514
+ title: "Denominator",
4515
+ name: "denominator",
4516
+ type: "object",
4517
+ hidden: ({ parent }) => {
4518
+ var _a;
4519
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("denominator"));
4520
+ },
4521
+ fields: [
4522
+ {
4523
+ name: "title",
4524
+ type: "string",
4525
+ placeholder: "eg. Denominator",
4526
+ initialValue: "Denominator"
4527
+ },
4528
+ {
4529
+ name: "feature",
4530
+ type: "string",
4531
+ placeholder: "eg. dnom",
4532
+ initialValue: "dnom"
4533
+ },
4534
+ {
4535
+ title: "Custom Text",
4536
+ description: "Use the field below to input a word to highlight the feature.",
4537
+ name: "customText",
4538
+ hidden: true,
4539
+ type: "string",
4540
+ initialValue: ""
4541
+ }
4542
+ ]
4543
+ },
4544
+ {
4545
+ title: "Discretionary Ligatures",
4546
+ name: "discretionaryLigatures",
4547
+ type: "object",
4548
+ hidden: ({ parent }) => {
4549
+ var _a;
4550
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("discretionaryLigatures"));
4551
+ },
4552
+ fields: [
4553
+ {
4554
+ name: "title",
4555
+ type: "string",
4556
+ placeholder: "eg. Discretionary Ligatures",
4557
+ initialValue: "Discretionary Ligatures"
4558
+ },
4559
+ {
4560
+ name: "feature",
4561
+ type: "string",
4562
+ placeholder: "eg. dlig",
4563
+ initialValue: "dlig"
4564
+ },
4565
+ {
4566
+ title: "Custom Text",
4567
+ description: "Use the field below to input a word to highlight the feature.",
4568
+ name: "customText",
4569
+ hidden: true,
4570
+ type: "string",
4571
+ initialValue: ""
4572
+ }
4573
+ ]
4574
+ },
4575
+ {
4576
+ title: "Fractions",
4577
+ name: "fractions",
4578
+ type: "object",
4579
+ hidden: ({ parent }) => {
4580
+ var _a;
4581
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("fractions"));
4582
+ },
4583
+ fields: [
4584
+ {
4585
+ name: "title",
4586
+ type: "string",
4587
+ placeholder: "eg. Fractions",
4588
+ initialValue: "Fractions"
4589
+ },
4590
+ {
4591
+ name: "feature",
4592
+ type: "string",
4593
+ placeholder: "eg. frac",
4594
+ initialValue: "frac"
4595
+ },
4596
+ {
4597
+ title: "Custom Text",
4598
+ description: "Use the field below to input a word to highlight the feature.",
4599
+ name: "customText",
4600
+ hidden: true,
4601
+ type: "string",
4602
+ initialValue: ""
4603
+ }
4604
+ ]
4605
+ },
4606
+ {
4607
+ title: "Glyph Decomposition",
4608
+ name: "glyphDecomposition",
4609
+ type: "object",
4610
+ hidden: ({ parent }) => {
4611
+ var _a;
4612
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("glyphDecomposition"));
4613
+ },
4614
+ fields: [
4615
+ {
4616
+ name: "title",
4617
+ type: "string",
4618
+ placeholder: "eg. Glyph Decomposition",
4619
+ initialValue: "Glyph Decomposition"
4620
+ },
4621
+ {
4622
+ name: "feature",
4623
+ type: "string",
4624
+ placeholder: "eg. ccmp",
4625
+ initialValue: "ccmp"
4626
+ },
4627
+ {
4628
+ title: "Custom Text",
4629
+ description: "Use the field below to input a word to highlight the feature.",
4630
+ name: "customText",
4631
+ hidden: true,
4632
+ type: "string",
4633
+ initialValue: ""
4634
+ }
4635
+ ]
4636
+ },
4637
+ {
4638
+ title: "Historical Forms",
4639
+ name: "historicalForms",
4640
+ type: "object",
4641
+ hidden: ({ parent }) => {
4642
+ var _a;
4643
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("historicalForms"));
4644
+ },
4645
+ fields: [
4646
+ {
4647
+ name: "title",
4648
+ type: "string",
4649
+ placeholder: "eg. Historical Forms",
4650
+ initialValue: "Historical Forms"
4651
+ },
4652
+ {
4653
+ name: "feature",
4654
+ type: "string",
4655
+ placeholder: "eg. hist",
4656
+ initialValue: "hist"
4657
+ },
4658
+ {
4659
+ title: "Custom Text",
4660
+ description: "Use the field below to input a word to highlight the feature.",
4661
+ name: "customText",
4662
+ hidden: true,
4663
+ type: "string",
4664
+ initialValue: ""
4665
+ }
4666
+ ]
4667
+ },
4668
+ {
4669
+ title: "Historical Ligatures",
4670
+ name: "historicalLigatures",
4671
+ type: "object",
4672
+ hidden: ({ parent }) => {
4673
+ var _a;
4674
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("historicalLigatures"));
4675
+ },
4676
+ fields: [
4677
+ {
4678
+ name: "title",
4679
+ type: "string",
4680
+ placeholder: "eg. Historical Ligatures",
4681
+ initialValue: "Historical Ligatures"
4682
+ },
4683
+ {
4684
+ name: "feature",
4685
+ type: "string",
4686
+ placeholder: "eg. hlig",
4687
+ initialValue: "hlig"
4688
+ },
4689
+ {
4690
+ title: "Custom Text",
4691
+ description: "Use the field below to input a word to highlight the feature.",
4692
+ name: "customText",
4693
+ hidden: true,
4694
+ type: "string",
4695
+ initialValue: ""
4696
+ }
4697
+ ]
4698
+ },
4699
+ {
4700
+ title: "Initial Form",
4701
+ name: "initialForm",
4702
+ type: "object",
4703
+ hidden: ({ parent }) => {
4704
+ var _a;
4705
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("initialForm"));
4706
+ },
4707
+ fields: [
4708
+ {
4709
+ name: "title",
4710
+ type: "string",
4711
+ placeholder: "eg. Initial Form",
4712
+ initialValue: "Initial Form"
4713
+ },
4714
+ {
4715
+ name: "feature",
4716
+ type: "string",
4717
+ placeholder: "eg. init",
4718
+ initialValue: "init"
4719
+ },
4720
+ {
4721
+ title: "Custom Text",
4722
+ description: "Use the field below to input a word to highlight the feature.",
4723
+ name: "customText",
4724
+ hidden: true,
4725
+ type: "string",
4726
+ initialValue: ""
4727
+ }
4728
+ ]
4729
+ },
4730
+ {
4731
+ title: "Isolated Form",
4732
+ name: "isolatedForm",
4733
+ type: "object",
4734
+ hidden: ({ parent }) => {
4735
+ var _a;
4736
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("isolatedForm"));
4737
+ },
4738
+ fields: [
4739
+ {
4740
+ name: "title",
4741
+ type: "string",
4742
+ placeholder: "eg. Isolated Form",
4743
+ initialValue: "Isolated Form"
4744
+ },
4745
+ {
4746
+ name: "feature",
4747
+ type: "string",
4748
+ placeholder: "eg. isol",
4749
+ initialValue: "isol"
4750
+ },
4751
+ {
4752
+ title: "Custom Text",
4753
+ description: "Use the field below to input a word to highlight the feature.",
4754
+ name: "customText",
4755
+ hidden: true,
4756
+ type: "string",
4757
+ initialValue: ""
4758
+ }
4759
+ ]
4760
+ },
4761
+ {
4762
+ title: "Justified Alternates",
4763
+ name: "justifiedAlternates",
4764
+ type: "object",
4765
+ hidden: ({ parent }) => {
4766
+ var _a;
4767
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("justifiedAlternates"));
4768
+ },
4769
+ fields: [
4770
+ {
4771
+ name: "title",
4772
+ type: "string",
4773
+ placeholder: "eg. Justification Alternates",
4774
+ initialValue: "Justification Alternates"
4775
+ },
4776
+ {
4777
+ name: "feature",
4778
+ type: "string",
4779
+ placeholder: "eg. jalt",
4780
+ initialValue: "jalt"
4781
+ },
4782
+ {
4783
+ title: "Custom Text",
4784
+ description: "Use the field below to input a word to highlight the feature.",
4785
+ name: "customText",
4786
+ hidden: true,
4787
+ type: "string",
4788
+ initialValue: ""
4789
+ }
4790
+ ]
4791
+ },
4792
+ {
4793
+ title: "Localized Forms",
4794
+ name: "localizedForms",
4795
+ type: "object",
4796
+ hidden: ({ parent }) => {
4797
+ var _a;
4798
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("localizedForms"));
4799
+ },
4800
+ fields: [
4801
+ {
4802
+ name: "title",
4803
+ type: "string",
4804
+ placeholder: "eg. Localized Forms",
4805
+ initialValue: "Localized Forms"
4806
+ },
4807
+ {
4808
+ name: "feature",
4809
+ type: "string",
4810
+ placeholder: "eg. locl",
4811
+ initialValue: "locl"
4812
+ },
4813
+ {
4814
+ title: "Custom Text",
4815
+ description: "Use the field below to input a word to highlight the feature.",
4816
+ name: "customText",
4817
+ hidden: true,
4818
+ type: "string",
4819
+ initialValue: ""
4820
+ }
4821
+ ]
4822
+ },
4823
+ {
4824
+ title: "Mark Positioning",
4825
+ name: "markPositioning",
4826
+ type: "object",
4827
+ hidden: ({ parent }) => {
4828
+ var _a;
4829
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("markPositioning"));
4830
+ },
4831
+ fields: [
4832
+ {
4833
+ name: "title",
4834
+ type: "string",
4835
+ placeholder: "eg. Mark Positioning",
4836
+ initialValue: "Mark Positioning"
4837
+ },
4838
+ {
4839
+ name: "feature",
4840
+ type: "string",
4841
+ placeholder: "eg. mark",
4842
+ initialValue: "mark"
4843
+ },
4844
+ {
4845
+ title: "Custom Text",
4846
+ description: "Use the field below to input a word to highlight the feature.",
4847
+ name: "customText",
4848
+ hidden: true,
4849
+ type: "string",
4850
+ initialValue: ""
4851
+ }
4852
+ ]
4853
+ },
4854
+ {
4855
+ title: "Mark Positioning via Subs",
4856
+ name: "markPositioningViaSubs",
4857
+ type: "object",
4858
+ hidden: ({ parent }) => {
4859
+ var _a;
4860
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("markPositioningViaSubs"));
4861
+ },
4862
+ fields: [
4863
+ {
4864
+ name: "title",
4865
+ type: "string",
4866
+ placeholder: "eg. Mark Positioning via Subs",
4867
+ initialValue: "Mark Positioning via Subs"
4868
+ },
4869
+ {
4870
+ name: "feature",
4871
+ type: "string",
4872
+ placeholder: "eg. mset",
4873
+ initialValue: "mset"
4874
+ },
4875
+ {
4876
+ title: "Custom Text",
4877
+ description: "Use the field below to input a word to highlight the feature.",
4878
+ name: "customText",
4879
+ hidden: true,
4880
+ type: "string",
4881
+ initialValue: ""
4882
+ }
4883
+ ]
4884
+ },
4885
+ {
4886
+ title: "Mark to Mark Positioning",
4887
+ name: "markToMarkPositioning",
4888
+ type: "object",
4889
+ hidden: ({ parent }) => {
4890
+ var _a;
4891
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("markToMarkPositioning"));
4892
+ },
4893
+ fields: [
4894
+ {
4895
+ name: "title",
4896
+ type: "string",
4897
+ placeholder: "eg. Mark to Mark Positioning",
4898
+ initialValue: "Mark to Mark Positioning"
4899
+ },
4900
+ {
4901
+ name: "feature",
4902
+ type: "string",
4903
+ placeholder: "eg. mkmk",
4904
+ initialValue: "mkmk"
4905
+ },
4906
+ {
4907
+ title: "Custom Text",
4908
+ description: "Use the field below to input a word to highlight the feature.",
4909
+ name: "customText",
4910
+ hidden: true,
4911
+ type: "string",
4912
+ initialValue: ""
4913
+ }
4914
+ ]
4915
+ },
4916
+ {
4917
+ title: "Mathematical Greek",
4918
+ name: "mathematicalGreek",
4919
+ type: "object",
4920
+ hidden: ({ parent }) => {
4921
+ var _a;
4922
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("mathematicalGreek"));
4923
+ },
4924
+ fields: [
4925
+ {
4926
+ name: "title",
4927
+ type: "string",
4928
+ placeholder: "eg. Mathematical Greek",
4929
+ initialValue: "Mathematical Greek"
4930
+ },
4931
+ {
4932
+ name: "feature",
4933
+ type: "string",
4934
+ placeholder: "eg. mgrk",
4935
+ initialValue: "mgrk"
4936
+ },
4937
+ {
4938
+ title: "Custom Text",
4939
+ description: "Use the field below to input a word to highlight the feature.",
4940
+ name: "customText",
4941
+ hidden: true,
4942
+ type: "string",
4943
+ initialValue: ""
4944
+ }
4945
+ ]
4946
+ },
4947
+ {
4948
+ title: "Medial Form",
4949
+ name: "medialForm",
4950
+ type: "object",
4951
+ hidden: ({ parent }) => {
4952
+ var _a;
4953
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("medialForm"));
4954
+ },
4955
+ fields: [
4956
+ {
4957
+ name: "title",
4958
+ type: "string",
4959
+ placeholder: "eg. Medial Form",
4960
+ initialValue: "Medial Form"
4961
+ },
4962
+ {
4963
+ name: "feature",
4964
+ type: "string",
4965
+ placeholder: "eg. medi",
4966
+ initialValue: "medi"
4967
+ },
4968
+ {
4969
+ title: "Custom Text",
4970
+ description: "Use the field below to input a word to highlight the feature.",
4971
+ name: "customText",
4972
+ hidden: true,
4973
+ type: "string",
4974
+ initialValue: ""
4975
+ }
4976
+ ]
4977
+ },
4978
+ {
4979
+ title: "Numerator",
4980
+ name: "numerator",
4981
+ type: "object",
4982
+ hidden: ({ parent }) => {
4983
+ var _a;
4984
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("numerator"));
4985
+ },
4986
+ fields: [
4987
+ {
4988
+ name: "title",
4989
+ type: "string",
4990
+ placeholder: "eg. Numerator",
4991
+ initialValue: "Numerator"
4992
+ },
4993
+ {
4994
+ name: "feature",
4995
+ type: "string",
4996
+ placeholder: "eg. numr",
4997
+ initialValue: "numr"
4998
+ },
4999
+ {
5000
+ title: "Custom Text",
5001
+ description: "Use the field below to input a word to highlight the feature.",
5002
+ name: "customText",
5003
+ hidden: true,
5004
+ type: "string",
5005
+ initialValue: ""
5006
+ }
5007
+ ]
5008
+ },
5009
+ {
5010
+ title: "Ordinals",
5011
+ name: "ordinals",
5012
+ type: "object",
5013
+ hidden: ({ parent }) => {
5014
+ var _a;
5015
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("ordinals"));
5016
+ },
5017
+ fields: [
5018
+ {
5019
+ name: "title",
5020
+ type: "string",
5021
+ placeholder: "eg. Ordinals",
5022
+ initialValue: "Ordinals"
5023
+ },
5024
+ {
5025
+ name: "feature",
5026
+ type: "string",
5027
+ placeholder: "eg. ordn",
5028
+ initialValue: "ordn"
5029
+ },
5030
+ {
5031
+ title: "Custom Text",
5032
+ description: "Use the field below to input a word to highlight the feature.",
5033
+ name: "customText",
5034
+ hidden: true,
5035
+ type: "string",
5036
+ initialValue: ""
5037
+ }
5038
+ ]
5039
+ },
5040
+ {
5041
+ title: "Ornaments",
5042
+ name: "ornaments",
5043
+ type: "object",
5044
+ hidden: ({ parent }) => {
5045
+ var _a;
5046
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("ornaments"));
5047
+ },
5048
+ fields: [
5049
+ {
5050
+ name: "title",
5051
+ type: "string",
5052
+ placeholder: "eg. Ornaments",
5053
+ initialValue: "Ornaments"
5054
+ },
5055
+ {
5056
+ name: "feature",
5057
+ type: "string",
5058
+ placeholder: "eg. ornm",
5059
+ initialValue: "ornm"
5060
+ },
5061
+ {
5062
+ title: "Custom Text",
5063
+ description: "Use the field below to input a word to highlight the feature.",
5064
+ name: "customText",
5065
+ hidden: true,
5066
+ type: "string",
5067
+ initialValue: ""
5068
+ }
5069
+ ]
5070
+ },
5071
+ {
5072
+ title: "Petite Caps",
5073
+ name: "petiteCaps",
5074
+ type: "object",
5075
+ hidden: ({ parent }) => {
5076
+ var _a;
5077
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("petiteCaps"));
5078
+ },
5079
+ fields: [
5080
+ {
5081
+ name: "title",
5082
+ type: "string",
5083
+ placeholder: "eg. Petite Caps",
5084
+ initialValue: "Petite Caps"
5085
+ },
5086
+ {
5087
+ name: "feature",
5088
+ type: "string",
5089
+ placeholder: "eg. pcap",
5090
+ initialValue: "pcap"
5091
+ },
5092
+ {
5093
+ title: "Custom Text",
5094
+ description: "Use the field below to input a word to highlight the feature.",
5095
+ name: "customText",
5096
+ hidden: true,
5097
+ type: "string",
5098
+ initialValue: ""
5099
+ }
5100
+ ]
5101
+ },
5102
+ {
5103
+ title: "Proportional Lining",
5104
+ name: "proportionalLining",
5105
+ type: "object",
5106
+ hidden: ({ parent }) => {
5107
+ var _a;
5108
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("proportionalLining"));
5109
+ },
5110
+ fields: [
5111
+ {
5112
+ name: "title",
5113
+ type: "string",
5114
+ placeholder: "eg. Proportional Lining",
5115
+ initialValue: "Proportional Lining"
5116
+ },
5117
+ {
5118
+ name: "feature",
5119
+ type: "string",
5120
+ placeholder: "eg. pnum lnum",
5121
+ initialValue: "pnum lnum"
5122
+ },
5123
+ {
5124
+ title: "Custom Text",
5125
+ description: "Use the field below to input a word to highlight the feature.",
5126
+ name: "customText",
5127
+ hidden: true,
5128
+ type: "string",
5129
+ initialValue: ""
5130
+ }
5131
+ ]
5132
+ },
5133
+ {
5134
+ title: "Proportional Oldstyle",
5135
+ name: "proportionalOldstyle",
5136
+ type: "object",
5137
+ hidden: ({ parent }) => {
5138
+ var _a;
5139
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("proportionalOldstyle"));
5140
+ },
5141
+ fields: [
5142
+ {
5143
+ name: "title",
5144
+ type: "string",
5145
+ placeholder: "eg. Proportional Oldstyle",
5146
+ initialValue: "Proportional Oldstyle"
5147
+ },
5148
+ {
5149
+ name: "feature",
5150
+ type: "string",
5151
+ placeholder: "eg. pnum onum",
5152
+ initialValue: "pnum onum"
5153
+ },
5154
+ {
5155
+ title: "Show on Glyph Grid",
5156
+ name: "glyphGrid",
5157
+ type: "boolean",
5158
+ initialValue: false
5159
+ },
5160
+ {
5161
+ title: "Custom Text",
5162
+ description: "Use the field below to input a word to highlight the feature.",
5163
+ name: "customText",
5164
+ hidden: true,
5165
+ type: "string",
5166
+ initialValue: ""
5167
+ }
5168
+ ]
5169
+ },
5170
+ {
5171
+ title: "Required Ligatures",
5172
+ name: "requiredLigatures",
5173
+ type: "object",
5174
+ hidden: ({ parent }) => {
5175
+ var _a;
5176
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("requiredLigatures"));
5177
+ },
5178
+ fields: [
5179
+ {
5180
+ name: "title",
5181
+ type: "string",
5182
+ placeholder: "eg. Required Ligatures",
5183
+ initialValue: "Required Ligatures"
5184
+ },
5185
+ {
5186
+ name: "feature",
5187
+ type: "string",
5188
+ placeholder: "eg. rlig",
5189
+ initialValue: "rlig"
5190
+ },
5191
+ {
5192
+ title: "Custom Text",
5193
+ description: "Use the field below to input a word to highlight the feature.",
5194
+ name: "customText",
5195
+ hidden: true,
5196
+ type: "string",
5197
+ initialValue: ""
5198
+ }
5199
+ ]
5200
+ },
5201
+ {
5202
+ title: "Scientific Inferiors",
5203
+ name: "scientificInferiors",
5204
+ type: "object",
5205
+ hidden: ({ parent }) => {
5206
+ var _a;
5207
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("scientificInferiors"));
5208
+ },
5209
+ fields: [
5210
+ {
5211
+ name: "title",
5212
+ type: "string",
5213
+ placeholder: "eg. Scientific Inferiors",
5214
+ initialValue: "Scientific Inferiors"
5215
+ },
5216
+ {
5217
+ name: "feature",
5218
+ type: "string",
5219
+ placeholder: "eg. sinf",
5220
+ initialValue: "sinf"
5221
+ },
5222
+ {
5223
+ title: "Custom Text",
5224
+ description: "Use the field below to input a word to highlight the feature.",
5225
+ name: "customText",
5226
+ hidden: true,
5227
+ type: "string",
5228
+ initialValue: ""
5229
+ }
5230
+ ]
5231
+ },
5232
+ {
5233
+ title: "Slashed Zero",
5234
+ name: "slashedZero",
5235
+ type: "object",
5236
+ hidden: ({ parent }) => {
5237
+ var _a;
5238
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("slashedZero"));
5239
+ },
5240
+ fields: [
5241
+ {
5242
+ name: "title",
5243
+ type: "string",
5244
+ placeholder: "eg. Slashed Zero",
5245
+ initialValue: "Slashed Zero"
5246
+ },
5247
+ {
5248
+ name: "feature",
5249
+ type: "string",
5250
+ placeholder: "eg. zero",
5251
+ initialValue: "zero"
5252
+ },
5253
+ {
5254
+ title: "Custom Text",
5255
+ description: "Use the field below to input a word to highlight the feature.",
5256
+ name: "customText",
5257
+ hidden: true,
5258
+ type: "string",
5259
+ initialValue: ""
5260
+ }
5261
+ ]
5262
+ },
5263
+ {
5264
+ title: "Small Caps",
5265
+ name: "smallCaps",
5266
+ type: "object",
5267
+ hidden: ({ parent }) => {
5268
+ var _a;
5269
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("smallCaps"));
5270
+ },
5271
+ fields: [
5272
+ {
5273
+ name: "title",
5274
+ type: "string",
5275
+ placeholder: "eg. smallCaps",
5276
+ initialValue: "Small Caps"
5277
+ },
5278
+ {
5279
+ name: "feature",
5280
+ type: "string",
5281
+ placeholder: "eg. smcp",
5282
+ initialValue: "smcp"
5283
+ },
5284
+ {
5285
+ title: "Custom Text",
5286
+ description: "Use the field below to input a word to highlight the feature.",
5287
+ name: "customText",
5288
+ hidden: true,
5289
+ type: "string",
5290
+ initialValue: ""
5291
+ }
5292
+ ]
5293
+ },
5294
+ {
5295
+ title: "Standard Ligatures",
5296
+ name: "standardLigatures",
5297
+ type: "object",
5298
+ hidden: ({ parent }) => {
5299
+ var _a;
5300
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("standardLigatures"));
5301
+ },
5302
+ fields: [
5303
+ {
5304
+ name: "title",
5305
+ type: "string",
5306
+ placeholder: "eg. StandardLigatures",
5307
+ initialValue: "StandardLigatures"
5308
+ },
5309
+ {
5310
+ name: "feature",
5311
+ type: "string",
5312
+ placeholder: "eg. liga",
5313
+ initialValue: "liga"
5314
+ },
5315
+ {
5316
+ title: "Custom Text",
5317
+ description: "Use the field below to input a word to highlight the feature.",
5318
+ name: "customText",
5319
+ hidden: true,
5320
+ type: "string",
5321
+ initialValue: ""
5322
+ }
5323
+ ]
5324
+ },
5325
+ {
5326
+ title: "Stylistic Alternates",
5327
+ name: "stylisticAlternates",
5328
+ type: "object",
5329
+ hidden: ({ parent }) => {
5330
+ var _a;
5331
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticAlternates"));
5332
+ },
5333
+ fields: [
5334
+ {
5335
+ name: "title",
5336
+ type: "string",
5337
+ placeholder: "eg. Stylistic Alternates",
5338
+ initialValue: "Stylistic Alternates"
5339
+ },
5340
+ {
5341
+ name: "feature",
5342
+ type: "string",
5343
+ placeholder: "eg. salt",
5344
+ initialValue: "salt"
5345
+ },
5346
+ {
5347
+ title: "Custom Text",
5348
+ description: "Use the field below to input a word to highlight the feature.",
5349
+ name: "customText",
5350
+ hidden: true,
5351
+ type: "string",
5352
+ initialValue: ""
5353
+ }
5354
+ ]
5355
+ },
5356
+ {
5357
+ title: "Subscript",
5358
+ name: "subscript",
5359
+ type: "object",
5360
+ hidden: ({ parent }) => {
5361
+ var _a;
5362
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("subscript"));
5363
+ },
5364
+ fields: [
5365
+ {
5366
+ name: "title",
5367
+ type: "string",
5368
+ placeholder: "eg. Subscript",
5369
+ initialValue: "Subscript"
5370
+ },
5371
+ {
5372
+ name: "feature",
5373
+ type: "string",
5374
+ placeholder: "eg. subs",
5375
+ initialValue: "subs"
5376
+ },
5377
+ {
5378
+ title: "Custom Text",
5379
+ description: "Use the field below to input a word to highlight the feature.",
5380
+ name: "customText",
5381
+ hidden: true,
5382
+ type: "string",
5383
+ initialValue: ""
5384
+ }
5385
+ ]
5386
+ },
5387
+ {
5388
+ title: "Superscript",
5389
+ name: "superscript",
5390
+ type: "object",
5391
+ hidden: ({ parent }) => {
5392
+ var _a;
5393
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("superscript"));
5394
+ },
5395
+ fields: [
5396
+ {
5397
+ name: "title",
5398
+ type: "string",
5399
+ placeholder: "eg. Superscript",
5400
+ initialValue: "Superscript"
5401
+ },
5402
+ {
5403
+ name: "feature",
5404
+ type: "string",
5405
+ placeholder: "eg. sups",
5406
+ initialValue: "sups"
5407
+ },
5408
+ {
5409
+ title: "Custom Text",
5410
+ description: "Use the field below to input a word to highlight the feature.",
5411
+ name: "customText",
5412
+ hidden: true,
5413
+ type: "string",
5414
+ initialValue: ""
5415
+ }
5416
+ ]
5417
+ },
5418
+ {
5419
+ title: "Swash",
5420
+ name: "swash",
5421
+ type: "object",
5422
+ hidden: ({ parent }) => {
5423
+ var _a;
5424
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("swash"));
5425
+ },
5426
+ fields: [
5427
+ {
5428
+ name: "title",
5429
+ type: "string",
5430
+ placeholder: "eg. Swash",
5431
+ initialValue: "Swash"
5432
+ },
5433
+ {
5434
+ name: "feature",
5435
+ type: "string",
5436
+ placeholder: "eg. swsh",
5437
+ initialValue: "swsh"
5438
+ },
5439
+ {
5440
+ title: "Custom Text",
5441
+ description: "Use the field below to input a word to highlight the feature.",
5442
+ name: "customText",
5443
+ hidden: true,
5444
+ type: "string",
5445
+ initialValue: ""
5446
+ }
5447
+ ]
5448
+ },
5449
+ {
5450
+ title: "Tabular Lining",
5451
+ name: "tabularLining",
5452
+ type: "object",
5453
+ hidden: ({ parent }) => {
5454
+ var _a;
5455
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("tabularLining"));
5456
+ },
5457
+ fields: [
5458
+ {
5459
+ name: "title",
5460
+ type: "string",
5461
+ placeholder: "eg. Tabular Lining",
5462
+ initialValue: "Tabular Lining"
5463
+ },
5464
+ {
5465
+ name: "feature",
5466
+ type: "string",
5467
+ placeholder: "eg. tnum lnum",
5468
+ initialValue: "tnum lnum"
5469
+ },
5470
+ {
5471
+ title: "Custom Text",
5472
+ description: "Use the field below to input a word to highlight the feature.",
5473
+ name: "customText",
5474
+ hidden: true,
5475
+ type: "string",
5476
+ initialValue: ""
5477
+ }
5478
+ ]
5479
+ },
5480
+ {
5481
+ title: "Tabular Oldstyle",
5482
+ name: "tabularOldstyle",
5483
+ type: "object",
5484
+ hidden: ({ parent }) => {
5485
+ var _a;
5486
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("tabularOldstyle"));
5487
+ },
5488
+ fields: [
5489
+ {
5490
+ name: "title",
5491
+ type: "string",
5492
+ placeholder: "eg. Tabular Oldstyle",
5493
+ initialValue: "Tabular Oldstyle"
5494
+ },
5495
+ {
5496
+ name: "feature",
5497
+ type: "string",
5498
+ placeholder: "eg. tnum onum",
5499
+ initialValue: "tnum onum"
5500
+ },
5501
+ {
5502
+ title: "Custom Text",
5503
+ description: "Use the field below to input a word to highlight the feature.",
5504
+ name: "customText",
5505
+ hidden: true,
5506
+ type: "string",
5507
+ initialValue: ""
5508
+ }
5509
+ ]
5510
+ },
5511
+ {
5512
+ title: "Terminal Form",
5513
+ name: "terminalForm",
5514
+ type: "object",
5515
+ hidden: ({ parent }) => {
5516
+ var _a;
5517
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("terminalForm"));
5518
+ },
5519
+ fields: [
5520
+ {
5521
+ name: "title",
5522
+ type: "string",
5523
+ placeholder: "eg. Terminal Form",
5524
+ initialValue: "Terminal Form"
5525
+ },
5526
+ {
5527
+ name: "feature",
5528
+ type: "string",
5529
+ placeholder: "eg. fina",
5530
+ initialValue: "fina"
5531
+ },
5532
+ {
5533
+ title: "Custom Text",
5534
+ description: "Use the field below to input a word to highlight the feature.",
5535
+ name: "customText",
5536
+ hidden: true,
5537
+ type: "string",
5538
+ initialValue: ""
5539
+ }
5540
+ ]
5541
+ },
5542
+ {
5543
+ title: "Titling Alternates",
5544
+ name: "titlingAlternates",
5545
+ type: "object",
5546
+ hidden: ({ parent }) => {
5547
+ var _a;
5548
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("titlingAlternates"));
5549
+ },
5550
+ fields: [
5551
+ {
5552
+ name: "title",
5553
+ type: "string",
5554
+ placeholder: "eg. Titling Alternates",
5555
+ initialValue: "Titling Alternates"
5556
+ },
5557
+ {
5558
+ name: "feature",
5559
+ type: "string",
5560
+ placeholder: "eg. titl",
5561
+ initialValue: "titl"
5562
+ },
5563
+ {
5564
+ title: "Custom Text",
5565
+ description: "Use the field below to input a word to highlight the feature.",
5566
+ name: "customText",
5567
+ hidden: true,
5568
+ type: "string",
5569
+ initialValue: ""
5570
+ }
5571
+ ]
5572
+ },
5573
+ {
5574
+ title: "Unicase",
5575
+ name: "unicase",
5576
+ type: "object",
5577
+ hidden: ({ parent }) => {
5578
+ var _a;
5579
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("unicase"));
5580
+ },
5581
+ fields: [
5582
+ {
5583
+ name: "title",
5584
+ type: "string",
5585
+ placeholder: "eg. Unicase",
5586
+ initialValue: "Unicase"
5587
+ },
5588
+ {
5589
+ name: "feature",
5590
+ type: "string",
5591
+ placeholder: "eg. unic",
5592
+ initialValue: "unic"
5593
+ },
5594
+ {
5595
+ title: "Custom Text",
5596
+ description: "Use the field below to input a word to highlight the feature.",
5597
+ name: "customText",
5598
+ hidden: true,
5599
+ type: "string",
5600
+ initialValue: ""
5601
+ }
5602
+ ]
5603
+ },
5604
+ {
5605
+ title: "All Stylistic Sets",
5606
+ name: "allStylisticSets",
5607
+ type: "object",
5608
+ hidden: ({ parent }) => {
5609
+ var _a;
5610
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("allStylisticSets"));
5611
+ },
5612
+ fields: [
5613
+ {
5614
+ name: "title",
5615
+ type: "string",
5616
+ placeholder: "eg. All Stylistic Sets",
5617
+ initialValue: "All Stylistic Sets"
5618
+ },
5619
+ {
5620
+ name: "feature",
5621
+ type: "string",
5622
+ placeholder: "eg. ss01 ss02 ss03 ss04 ss05 ss06 ss07 ss08 ss09 ss10 ss11 ss12 ss13 ss14 ss15 ss16 ss17 ss18 ss19 ss20",
5623
+ initialValue: "ss01 ss02 ss03 ss04 ss05 ss06 ss07 ss08 ss09 ss10 ss11 ss12 ss13 ss14 ss15 ss16 ss17 ss18 ss19 ss20"
5624
+ },
5625
+ {
5626
+ title: "Custom Text",
5627
+ description: "Use the field below to input a word to highlight the feature.",
5628
+ name: "customText",
5629
+ hidden: true,
5630
+ type: "string",
5631
+ initialValue: ""
5632
+ }
5633
+ ]
5634
+ },
5635
+ {
5636
+ title: "Stylistic Set 1",
5637
+ name: "stylisticSet1",
5638
+ type: "object",
5639
+ hidden: ({ parent }) => {
5640
+ var _a;
5641
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet1"));
5642
+ },
5643
+ fields: [
5644
+ {
5645
+ name: "title",
5646
+ type: "string",
5647
+ placeholder: "eg. Stylistic Set 1",
5648
+ initialValue: "Stylistic Set 1"
5649
+ },
5650
+ {
5651
+ name: "feature",
5652
+ type: "string",
5653
+ placeholder: "eg. ss01",
5654
+ initialValue: "ss01"
5655
+ },
5656
+ {
5657
+ title: "Custom Text",
5658
+ description: "Use the field below to input a word to highlight the feature.",
5659
+ name: "customText",
5660
+ hidden: true,
5661
+ type: "string",
5662
+ initialValue: ""
5663
+ }
5664
+ ]
5665
+ },
5666
+ {
5667
+ title: "Stylistic Set 2",
5668
+ name: "stylisticSet2",
5669
+ type: "object",
5670
+ hidden: ({ parent }) => {
5671
+ var _a;
5672
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet2"));
5673
+ },
5674
+ fields: [
5675
+ {
5676
+ name: "title",
5677
+ type: "string",
5678
+ placeholder: "eg. Stylistic Set 2",
5679
+ initialValue: "Stylistic Set 2"
5680
+ },
5681
+ {
5682
+ name: "feature",
5683
+ type: "string",
5684
+ placeholder: "eg. ss02",
5685
+ initialValue: "ss02"
5686
+ },
5687
+ {
5688
+ title: "Custom Text",
5689
+ description: "Use the field below to input a word to highlight the feature.",
5690
+ name: "customText",
5691
+ hidden: true,
5692
+ type: "string",
5693
+ initialValue: ""
5694
+ }
5695
+ ]
5696
+ },
5697
+ {
5698
+ title: "Stylistic Set 3",
5699
+ name: "stylisticSet3",
5700
+ type: "object",
5701
+ hidden: ({ parent }) => {
5702
+ var _a;
5703
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet3"));
5704
+ },
5705
+ fields: [
5706
+ {
5707
+ name: "title",
5708
+ type: "string",
5709
+ placeholder: "eg. Stylistic Set 3",
5710
+ initialValue: "Stylistic Set 3"
5711
+ },
5712
+ {
5713
+ name: "feature",
5714
+ type: "string",
5715
+ placeholder: "eg. ss03",
5716
+ initialValue: "ss03"
5717
+ },
5718
+ {
5719
+ title: "Custom Text",
5720
+ description: "Use the field below to input a word to highlight the feature.",
5721
+ name: "customText",
5722
+ hidden: true,
5723
+ type: "string",
5724
+ initialValue: ""
5725
+ }
5726
+ ]
5727
+ },
5728
+ {
5729
+ title: "Stylistic Set 4",
5730
+ name: "stylisticSet4",
5731
+ type: "object",
5732
+ hidden: ({ parent }) => {
5733
+ var _a;
5734
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet4"));
5735
+ },
5736
+ fields: [
5737
+ {
5738
+ name: "title",
5739
+ type: "string",
5740
+ placeholder: "eg. Stylistic Set 4",
5741
+ initialValue: "Stylistic Set 4"
5742
+ },
5743
+ {
5744
+ name: "feature",
5745
+ type: "string",
5746
+ placeholder: "eg. ss04",
5747
+ initialValue: "ss04"
5748
+ },
5749
+ {
5750
+ title: "Custom Text",
5751
+ description: "Use the field below to input a word to highlight the feature.",
5752
+ name: "customText",
5753
+ hidden: true,
5754
+ type: "string",
5755
+ initialValue: ""
5756
+ }
5757
+ ]
5758
+ },
5759
+ {
5760
+ title: "Stylistic Set 5",
5761
+ name: "stylisticSet5",
5762
+ type: "object",
5763
+ hidden: ({ parent }) => {
5764
+ var _a;
5765
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet5"));
5766
+ },
5767
+ fields: [
5768
+ {
5769
+ name: "title",
5770
+ type: "string",
5771
+ placeholder: "eg. Stylistic Set 5",
5772
+ initialValue: "Stylistic Set 5"
5773
+ },
5774
+ {
5775
+ name: "feature",
5776
+ type: "string",
5777
+ placeholder: "eg. ss05",
5778
+ initialValue: "ss05"
5779
+ },
5780
+ {
5781
+ title: "Custom Text",
5782
+ description: "Use the field below to input a word to highlight the feature.",
5783
+ name: "customText",
5784
+ hidden: true,
5785
+ type: "string",
5786
+ initialValue: ""
5787
+ }
5788
+ ]
5789
+ },
5790
+ {
5791
+ title: "Stylistic Set 6",
5792
+ name: "stylisticSet6",
5793
+ type: "object",
5794
+ hidden: ({ parent }) => {
5795
+ var _a;
5796
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet6"));
5797
+ },
5798
+ fields: [
5799
+ {
5800
+ name: "title",
5801
+ type: "string",
5802
+ placeholder: "eg. Stylistic Set 6",
5803
+ initialValue: "Stylistic Set 6"
5804
+ },
5805
+ {
5806
+ name: "feature",
5807
+ type: "string",
5808
+ placeholder: "eg. ss06",
5809
+ initialValue: "ss06"
5810
+ },
5811
+ {
5812
+ title: "Custom Text",
5813
+ description: "Use the field below to input a word to highlight the feature.",
5814
+ name: "customText",
5815
+ hidden: true,
5816
+ type: "string",
5817
+ initialValue: ""
5818
+ }
5819
+ ]
5820
+ },
5821
+ {
5822
+ title: "Stylistic Set 7",
5823
+ name: "stylisticSet7",
5824
+ type: "object",
5825
+ hidden: ({ parent }) => {
5826
+ var _a;
5827
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet7"));
5828
+ },
5829
+ fields: [
5830
+ {
5831
+ name: "title",
5832
+ type: "string",
5833
+ placeholder: "eg. Stylistic Set 7",
5834
+ initialValue: "Stylistic Set 7"
5835
+ },
5836
+ {
5837
+ name: "feature",
5838
+ type: "string",
5839
+ placeholder: "eg. ss07",
5840
+ initialValue: "ss07"
5841
+ },
5842
+ {
5843
+ title: "Custom Text",
5844
+ description: "Use the field below to input a word to highlight the feature.",
5845
+ name: "customText",
5846
+ hidden: true,
5847
+ type: "string",
5848
+ initialValue: ""
5849
+ }
5850
+ ]
5851
+ },
5852
+ {
5853
+ title: "Stylistic Set 8",
5854
+ name: "stylisticSet8",
5855
+ type: "object",
5856
+ hidden: ({ parent }) => {
5857
+ var _a;
5858
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet8"));
5859
+ },
5860
+ fields: [
5861
+ {
5862
+ name: "title",
5863
+ type: "string",
5864
+ placeholder: "eg. Stylistic Set 8",
5865
+ initialValue: "Stylistic Set 8"
5866
+ },
5867
+ {
5868
+ name: "feature",
5869
+ type: "string",
5870
+ placeholder: "eg. ss08",
5871
+ initialValue: "ss08"
5872
+ },
5873
+ {
5874
+ title: "Custom Text",
5875
+ description: "Use the field below to input a word to highlight the feature.",
5876
+ name: "customText",
5877
+ hidden: true,
5878
+ type: "string",
5879
+ initialValue: ""
5880
+ }
5881
+ ]
5882
+ },
5883
+ {
5884
+ title: "Stylistic Set 9",
5885
+ name: "stylisticSet9",
5886
+ type: "object",
5887
+ hidden: ({ parent }) => {
5888
+ var _a;
5889
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet9"));
5890
+ },
5891
+ fields: [
5892
+ {
5893
+ name: "title",
5894
+ type: "string",
5895
+ placeholder: "eg. Stylistic Set 9",
5896
+ initialValue: "Stylistic Set 9"
5897
+ },
5898
+ {
5899
+ name: "feature",
5900
+ type: "string",
5901
+ placeholder: "eg. ss09",
5902
+ initialValue: "ss09"
5903
+ },
5904
+ {
5905
+ title: "Custom Text",
5906
+ description: "Use the field below to input a word to highlight the feature.",
5907
+ name: "customText",
5908
+ hidden: true,
5909
+ type: "string",
5910
+ initialValue: ""
5911
+ }
5912
+ ]
5913
+ },
5914
+ {
5915
+ title: "Stylistic Set 10",
5916
+ name: "stylisticSet10",
5917
+ type: "object",
5918
+ hidden: ({ parent }) => {
5919
+ var _a;
5920
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet10"));
5921
+ },
5922
+ fields: [
5923
+ {
5924
+ name: "title",
5925
+ type: "string",
5926
+ placeholder: "eg. Stylistic Set10",
5927
+ initialValue: "Stylistic Set10"
5928
+ },
5929
+ {
5930
+ name: "feature",
5931
+ type: "string",
5932
+ placeholder: "eg. ss10",
5933
+ initialValue: "ss10"
5934
+ },
5935
+ {
5936
+ title: "Custom Text",
5937
+ description: "Use the field below to input a word to highlight the feature.",
5938
+ name: "customText",
5939
+ hidden: true,
5940
+ type: "string",
5941
+ initialValue: ""
5942
+ }
5943
+ ]
5944
+ },
5945
+ {
5946
+ title: "Stylistic Set 11",
5947
+ name: "stylisticSet11",
5948
+ type: "object",
5949
+ hidden: ({ parent }) => {
5950
+ var _a;
5951
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet11"));
5952
+ },
5953
+ fields: [
5954
+ {
5955
+ name: "title",
5956
+ type: "string",
5957
+ placeholder: "eg. Stylistic Set 11",
5958
+ initialValue: "Stylistic Set 11"
5959
+ },
5960
+ {
5961
+ name: "feature",
5962
+ type: "string",
5963
+ placeholder: "eg. ss11",
5964
+ initialValue: "ss11"
5965
+ },
5966
+ {
5967
+ title: "Custom Text",
5968
+ description: "Use the field below to input a word to highlight the feature.",
5969
+ name: "customText",
5970
+ hidden: true,
5971
+ type: "string",
5972
+ initialValue: ""
5973
+ }
5974
+ ]
5975
+ },
5976
+ {
5977
+ title: "Stylistic Set 12",
5978
+ name: "stylisticSet12",
5979
+ type: "object",
5980
+ hidden: ({ parent }) => {
5981
+ var _a;
5982
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet12"));
5983
+ },
5984
+ fields: [
5985
+ {
5986
+ name: "title",
5987
+ type: "string",
5988
+ placeholder: "eg. Stylistic Set 12",
5989
+ initialValue: "Stylistic Set 12"
5990
+ },
5991
+ {
5992
+ name: "feature",
5993
+ type: "string",
5994
+ placeholder: "eg. ss12",
5995
+ initialValue: "ss12"
5996
+ },
5997
+ {
5998
+ title: "Custom Text",
5999
+ description: "Use the field below to input a word to highlight the feature.",
6000
+ name: "customText",
6001
+ hidden: true,
6002
+ type: "string",
6003
+ initialValue: ""
6004
+ }
6005
+ ]
6006
+ },
6007
+ {
6008
+ title: "Stylistic Set 13",
6009
+ name: "stylisticSet13",
6010
+ type: "object",
6011
+ hidden: ({ parent }) => {
6012
+ var _a;
6013
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet13"));
6014
+ },
6015
+ fields: [
6016
+ {
6017
+ name: "title",
6018
+ type: "string",
6019
+ placeholder: "eg. Stylistic Set 13",
6020
+ initialValue: "Stylistic Set 13"
6021
+ },
6022
+ {
6023
+ name: "feature",
6024
+ type: "string",
6025
+ placeholder: "eg. ss13",
6026
+ initialValue: "ss13"
6027
+ },
6028
+ {
6029
+ title: "Custom Text",
6030
+ description: "Use the field below to input a word to highlight the feature.",
6031
+ name: "customText",
6032
+ hidden: true,
6033
+ type: "string",
6034
+ initialValue: ""
6035
+ }
6036
+ ]
6037
+ },
6038
+ {
6039
+ title: "Stylistic Set 14",
6040
+ name: "stylisticSet14",
6041
+ type: "object",
6042
+ hidden: ({ parent }) => {
6043
+ var _a;
6044
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet14"));
6045
+ },
6046
+ fields: [
6047
+ {
6048
+ name: "title",
6049
+ type: "string",
6050
+ placeholder: "eg. Stylistic Set 14",
6051
+ initialValue: "Stylistic Set 14"
6052
+ },
6053
+ {
6054
+ name: "feature",
6055
+ type: "string",
6056
+ placeholder: "eg. ss14",
6057
+ initialValue: "ss14"
6058
+ },
6059
+ {
6060
+ title: "Custom Text",
6061
+ description: "Use the field below to input a word to highlight the feature.",
6062
+ name: "customText",
6063
+ hidden: true,
6064
+ type: "string",
6065
+ initialValue: ""
6066
+ }
6067
+ ]
6068
+ },
6069
+ {
6070
+ title: "Stylistic Set 15",
6071
+ name: "stylisticSet15",
6072
+ type: "object",
6073
+ hidden: ({ parent }) => {
6074
+ var _a;
6075
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet15"));
6076
+ },
6077
+ fields: [
6078
+ {
6079
+ name: "title",
6080
+ type: "string",
6081
+ placeholder: "eg. Stylistic Set 15",
6082
+ initialValue: "Stylistic Set 15"
6083
+ },
6084
+ {
6085
+ name: "feature",
6086
+ type: "string",
6087
+ placeholder: "eg. ss15",
6088
+ initialValue: "ss15"
6089
+ },
6090
+ {
6091
+ title: "Custom Text",
6092
+ description: "Use the field below to input a word to highlight the feature.",
6093
+ name: "customText",
6094
+ hidden: true,
6095
+ type: "string",
6096
+ initialValue: ""
6097
+ }
6098
+ ]
6099
+ },
6100
+ {
6101
+ title: "Stylistic Set 16",
6102
+ name: "stylisticSet16",
6103
+ type: "object",
6104
+ hidden: ({ parent }) => {
6105
+ var _a;
6106
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet16"));
6107
+ },
6108
+ fields: [
6109
+ {
6110
+ name: "title",
6111
+ type: "string",
6112
+ placeholder: "eg. Stylistic Set 16",
6113
+ initialValue: "Stylistic Set 16"
6114
+ },
6115
+ {
6116
+ name: "feature",
6117
+ type: "string",
6118
+ placeholder: "eg. ss16",
6119
+ initialValue: "ss16"
6120
+ },
6121
+ {
6122
+ title: "Custom Text",
6123
+ description: "Use the field below to input a word to highlight the feature.",
6124
+ name: "customText",
6125
+ hidden: true,
6126
+ type: "string",
6127
+ initialValue: ""
6128
+ }
6129
+ ]
6130
+ },
6131
+ {
6132
+ title: "Stylistic Set 17",
6133
+ name: "stylisticSet17",
6134
+ type: "object",
6135
+ hidden: ({ parent }) => {
6136
+ var _a;
6137
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet17"));
6138
+ },
6139
+ fields: [
6140
+ {
6141
+ name: "title",
6142
+ type: "string",
6143
+ placeholder: "eg. Stylistic Set 17",
6144
+ initialValue: "Stylistic Set 17"
6145
+ },
6146
+ {
6147
+ name: "feature",
6148
+ type: "string",
6149
+ placeholder: "eg. ss17",
6150
+ initialValue: "ss17"
6151
+ },
6152
+ {
6153
+ title: "Custom Text",
6154
+ description: "Use the field below to input a word to highlight the feature.",
6155
+ name: "customText",
6156
+ hidden: true,
6157
+ type: "string",
6158
+ initialValue: ""
6159
+ }
6160
+ ]
6161
+ },
6162
+ {
6163
+ title: "Stylistic Set 18",
6164
+ name: "stylisticSet18",
6165
+ type: "object",
6166
+ hidden: ({ parent }) => {
6167
+ var _a;
6168
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet18"));
6169
+ },
6170
+ fields: [
6171
+ {
6172
+ name: "title",
6173
+ type: "string",
6174
+ placeholder: "eg. Stylistic Set 18",
6175
+ initialValue: "Stylistic Set 18"
6176
+ },
6177
+ {
6178
+ name: "feature",
6179
+ type: "string",
6180
+ placeholder: "eg. ss18",
6181
+ initialValue: "ss18"
6182
+ },
6183
+ {
6184
+ title: "Custom Text",
6185
+ description: "Use the field below to input a word to highlight the feature.",
6186
+ name: "customText",
6187
+ hidden: true,
6188
+ type: "string",
6189
+ initialValue: ""
6190
+ }
6191
+ ]
6192
+ },
6193
+ {
6194
+ title: "Stylistic Set 19",
6195
+ name: "stylisticSet19",
6196
+ type: "object",
6197
+ hidden: ({ parent }) => {
6198
+ var _a;
6199
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet19"));
6200
+ },
6201
+ fields: [
6202
+ {
6203
+ name: "title",
6204
+ type: "string",
6205
+ placeholder: "eg. Stylistic Set 19",
6206
+ initialValue: "Stylistic Set 19"
6207
+ },
6208
+ {
6209
+ name: "feature",
6210
+ type: "string",
6211
+ placeholder: "eg. ss19",
6212
+ initialValue: "ss19"
6213
+ },
6214
+ {
6215
+ title: "Custom Text",
6216
+ description: "Use the field below to input a word to highlight the feature.",
6217
+ name: "customText",
6218
+ hidden: true,
6219
+ type: "string",
6220
+ initialValue: ""
6221
+ }
6222
+ ]
6223
+ },
6224
+ {
6225
+ title: "Stylistic Set 20",
6226
+ name: "stylisticSet20",
6227
+ type: "object",
6228
+ hidden: ({ parent }) => {
6229
+ var _a;
6230
+ return !((_a = parent == null ? void 0 : parent.features) == null ? void 0 : _a.includes("stylisticSet20"));
6231
+ },
6232
+ fields: [
6233
+ {
6234
+ name: "title",
6235
+ type: "string",
6236
+ placeholder: "eg. Stylistic Set 20",
6237
+ initialValue: "Stylistic Set 20"
6238
+ },
6239
+ {
6240
+ name: "feature",
6241
+ type: "string",
6242
+ placeholder: "eg. ss20",
6243
+ initialValue: "ss20"
6244
+ },
6245
+ {
6246
+ title: "Custom Text",
6247
+ description: "Use the field below to input a word to highlight the feature.",
6248
+ name: "customText",
6249
+ hidden: true,
6250
+ type: "string",
6251
+ initialValue: ""
6252
+ }
6253
+ ]
6254
+ }
6255
+ ]
6256
+ };
6257
+
6258
+ // src/schema/styleCountField.js
6259
+ var styleCountField = {
6260
+ name: "styleCount",
6261
+ type: "number",
6262
+ group: "styles",
6263
+ components: {
6264
+ input: StyleCountInput
6265
+ },
6266
+ readOnly: true
6267
+ };
6268
+
6269
+ // src/schema/stylisticSetField.js
6270
+ import { StringIcon } from "@sanity/icons";
6271
+ var stylisticSetField = {
6272
+ title: "Stylistic Features Section",
6273
+ name: "stylisticSet",
6274
+ group: "stylisticSets",
6275
+ type: "object",
6276
+ fields: [
6277
+ {
6278
+ name: "featured",
6279
+ title: "Featured Stylistic Feature Words & Phrases",
6280
+ description: 'Write a single letter, word or several words. Wrap the portion of the word that you want to use the stylistic set in ` characters. For example, writing "L`if`t" will make the "if" apply a stylistic set.',
6281
+ type: "array",
6282
+ of: [
6283
+ {
6284
+ name: "featuredWord",
6285
+ title: "Words or Phrase",
6286
+ type: "object",
6287
+ icon: StringIcon,
6288
+ fields: [
6289
+ {
6290
+ type: "text",
6291
+ title: "Content",
6292
+ name: "content"
6293
+ },
6294
+ {
6295
+ type: "string",
6296
+ title: "Label",
6297
+ name: "label"
6298
+ },
6299
+ {
6300
+ title: "Stylistic Feature",
6301
+ name: "stylisticFeature",
6302
+ type: "string",
6303
+ // description: '[This will be autopopulated with the list of stylistic features when ready.]',
6304
+ options: {
6305
+ list: [
6306
+ { title: "All Alternates", value: "'aalt' 1" },
6307
+ { title: "All Caps", value: "'c2sc' 1" },
6308
+ { title: "Alternate Annotation", value: "'nalt' 1" },
6309
+ { title: "Alternative Fractions", value: "'afrc' 1" },
6310
+ { title: "Capitals To Small Caps", value: "'c2sc' 1, 'smcp' 1" },
6311
+ { title: "Capitals to Petite Caps", value: "'c2pc' 1" },
6312
+ { title: "Case Sensitive Forms", value: "'case' 1" },
6313
+ { title: "Contextual Alternates", value: "'calt' 1" },
6314
+ { title: "Contextual Ligatures", value: "'clig' 1" },
6315
+ { title: "Contextual Swash", value: "'cswh' 1" },
6316
+ { title: "Denominator", value: "'dnom' 1" },
6317
+ { title: "Discretionary Ligatures", value: "'dlig' 1" },
6318
+ { title: "Fractions", value: "'frac' 1" },
6319
+ { title: "Glyph Decomposition", value: "'ccmp' 1" },
6320
+ { title: "Historical Forms", value: "'hist' 1" },
6321
+ { title: "Historical Ligatures", value: "'hlig' 1" },
6322
+ { title: "Initial Form", value: "'init' 1" },
6323
+ { title: "Isolated Form", value: "'isol' 1" },
6324
+ { title: "Justified Alternates", value: "'jalt' 1" },
6325
+ { title: "Localized Forms", value: "'locl' 1" },
6326
+ { title: "Mark Positioning", value: "'mark' 1" },
6327
+ { title: "Mark Positioning via Subs", value: "'mset' 1" },
6328
+ { title: "Mark to Mark Positioning", value: "'mkmk' 1" },
6329
+ { title: "Mathematical Greek", value: "'mgrk' 1" },
6330
+ { title: "Medial Form", value: "'medi' 1" },
6331
+ { title: "Numerator", value: "'numr' 1" },
6332
+ { title: "Ordinals", value: "'ordn' 1" },
6333
+ { title: "Ornaments", value: "'ornm' 1" },
6334
+ { title: "Petite Caps", value: "'pcap' 1" },
6335
+ { title: "Proportional Lining", value: "'pnum' 1" },
6336
+ { title: "Proportional Oldstyle", value: "'onum' 1" },
6337
+ { title: "Required Ligatures", value: "'rlig' 1" },
6338
+ { title: "Scientific Inferiors", value: "'sinf' 1" },
6339
+ { title: "Slashed Zero", value: "'zero' 1" },
6340
+ { title: "Small Caps", value: "'smcp' 1" },
6341
+ { title: "Standard Ligatures", value: "'liga' 1" },
6342
+ { title: "Stylistic Alternates", value: "'salt' 1" },
6343
+ { title: "Subscript", value: "'subs' 1" },
6344
+ { title: "Superscript", value: "'sups' 1" },
6345
+ { title: "Swash", value: "'swsh' 1" },
6346
+ { title: "Tabular Lining", value: "'tnum' 1" },
6347
+ { title: "Tabular Oldstyle", value: "'onum' 1" },
6348
+ { title: "Terminal Form", value: "'fina' 1" },
6349
+ { title: "Titling Alternates", value: "'titl' 1" },
6350
+ { title: "Unicase", value: "'unic' 1" },
6351
+ { title: "All Stylistic Sets", value: "'ss01' 1, 'ss02' 1, 'ss03' 1, 'ss04' 1, 'ss05' 1, 'ss06' 1, 'ss07' 1, 'ss08' 1, 'ss09' 1, 'ss10' 1, 'ss11' 1, 'ss12' 1, 'ss13' 1, 'ss14' 1, 'ss15' 1, 'ss16' 1, 'ss17' 1, 'ss18' 1, 'ss19' 1, 'ss20' 1" },
6352
+ { title: "Stylistic Set 1", value: "'ss01' 1" },
6353
+ { title: "Stylistic Set 2", value: "'ss02' 1" },
6354
+ { title: "Stylistic Set 3", value: "'ss03' 1" },
6355
+ { title: "Stylistic Set 4", value: "'ss04' 1" },
6356
+ { title: "Stylistic Set 5", value: "'ss05' 1" },
6357
+ { title: "Stylistic Set 6", value: "'ss06' 1" },
6358
+ { title: "Stylistic Set 7", value: "'ss07' 1" },
6359
+ { title: "Stylistic Set 8", value: "'ss08' 1" },
6360
+ { title: "Stylistic Set 9", value: "'ss09' 1" },
6361
+ { title: "Stylistic Set 10", value: "'ss10' 1" },
6362
+ { title: "Stylistic Set 11", value: "'ss11' 1" },
6363
+ { title: "Stylistic Set 12", value: "'ss12' 1" },
6364
+ { title: "Stylistic Set 13", value: "'ss13' 1" },
6365
+ { title: "Stylistic Set 14", value: "'ss14' 1" },
6366
+ { title: "Stylistic Set 15", value: "'ss15' 1" },
6367
+ { title: "Stylistic Set 16", value: "'ss16' 1" },
6368
+ { title: "Stylistic Set 17", value: "'ss17' 1" },
6369
+ { title: "Stylistic Set 18", value: "'ss18' 1" },
6370
+ { title: "Stylistic Set 19", value: "'ss19' 1" },
6371
+ { title: "Stylistic Set 20", value: "'ss20' 1" }
6372
+ ]
6373
+ }
6374
+ },
6375
+ {
6376
+ type: "string",
6377
+ title: "Specialty CSS Implementation (for multi OT feautes)",
6378
+ name: "specialtyCss",
6379
+ placeholder: "'c2sc' 1, 'ss02' 1"
6380
+ },
6381
+ {
6382
+ type: "boolean",
6383
+ title: "Disable Ligatures on default",
6384
+ name: "ligatures"
6385
+ },
6386
+ {
6387
+ type: "boolean",
6388
+ title: "Disable Contextual Alternates on default",
6389
+ name: "calt"
6390
+ },
6391
+ {
6392
+ type: "boolean",
6393
+ title: "Only Applies to Italics",
6394
+ name: "italics"
6395
+ },
6396
+ {
6397
+ title: "Font Size",
6398
+ name: "size",
6399
+ type: "string",
6400
+ description: 'Recommendation: Use "XLarge" for single glyphs; \nuse "Large" for 2\u20135 glyphs on one line, or 2 short lines of text; use "Medium" for 2\u20133 lines of text; use "Small" for 3\u20134 lines of text.',
6401
+ options: {
6402
+ list: [
6403
+ { title: "XLarge", value: "xl", description: "Recommended for single glyphs." },
6404
+ { title: "Large", value: "lg", description: "Recommended for 2\u20135 glyphs on one line, or 2 short lines of text." },
6405
+ { title: "Medium", value: "md", description: "Recommended for 2\u20133 lines of text." },
6406
+ { title: "Small", value: "sm", description: "Recommended for 3\u20134 lines of text." }
6407
+ ],
6408
+ layout: "radio"
6409
+ // direction: "horizontal"
6410
+ }
6411
+ }
6412
+ ],
6413
+ preview: {
6414
+ select: {
6415
+ title: "content",
6416
+ subtitle: "label"
6417
+ },
6418
+ prepare(selection) {
6419
+ const { title, subtitle } = selection;
6420
+ return {
6421
+ title,
6422
+ subtitle
6423
+ };
6424
+ }
6425
+ }
6426
+ }
6427
+ ]
6428
+ },
6429
+ {
6430
+ name: "sets",
6431
+ title: "Full list of stylistic features & their corresponding glyphs",
6432
+ type: "array",
6433
+ of: [
6434
+ {
6435
+ name: "set",
6436
+ type: "object",
6437
+ title: "Stylistic Feature",
6438
+ icon: StringIcon,
6439
+ fields: [
6440
+ {
6441
+ name: "title",
6442
+ title: "Label for Stylistic Feature",
6443
+ description: 'e.g. "ss01", "Lining Numerals',
6444
+ type: "string"
6445
+ },
6446
+ {
6447
+ name: "content",
6448
+ title: "Corresponding glyphs",
6449
+ type: "text",
6450
+ description: "For stylistic features that apply to multiple of the same base character, recommended to create a new line for each base character."
6451
+ },
6452
+ {
6453
+ title: "Stylistic Feature",
6454
+ name: "stylisticFeature",
6455
+ type: "string",
6456
+ // description: '[This will be autopopulated with the list of stylistic features when ready.]',
6457
+ options: {
6458
+ list: [
6459
+ { title: "All Alternates", value: "'aalt' 1" },
6460
+ { title: "All Caps", value: "'c2sc' 1" },
6461
+ { title: "Alternate Annotation", value: "'nalt' 1" },
6462
+ { title: "Alternative Fractions", value: "'afrc' 1" },
6463
+ { title: "Capitals To Small Caps", value: "'c2sc' 1, 'smcp' 1" },
6464
+ { title: "Capitals to Petite Caps", value: "'c2pc' 1" },
6465
+ { title: "Case Sensitive Forms", value: "'case' 1" },
6466
+ { title: "Contextual Alternates", value: "'calt' 1" },
6467
+ { title: "Contextual Ligatures", value: "'clig' 1" },
6468
+ { title: "Contextual Swash", value: "'cswh' 1" },
6469
+ { title: "Denominator", value: "'dnom' 1" },
6470
+ { title: "Discretionary Ligatures", value: "'dlig' 1" },
6471
+ { title: "Fractions", value: "'frac' 1" },
6472
+ { title: "Glyph Decomposition", value: "'ccmp' 1" },
6473
+ { title: "Historical Forms", value: "'hist' 1" },
6474
+ { title: "Historical Ligatures", value: "'hlig' 1" },
6475
+ { title: "Initial Form", value: "'init' 1" },
6476
+ { title: "Isolated Form", value: "'isol' 1" },
6477
+ { title: "Justified Alternates", value: "'jalt' 1" },
6478
+ { title: "Localized Forms", value: "'locl' 1" },
6479
+ { title: "Mark Positioning", value: "'mark' 1" },
6480
+ { title: "Mark Positioning via Subs", value: "'mset' 1" },
6481
+ { title: "Mark to Mark Positioning", value: "'mkmk' 1" },
6482
+ { title: "Mathematical Greek", value: "'mgrk' 1" },
6483
+ { title: "Medial Form", value: "'medi' 1" },
6484
+ { title: "Numerator", value: "'numr' 1" },
6485
+ { title: "Ordinals", value: "'ordn' 1" },
6486
+ { title: "Ornaments", value: "'ornm' 1" },
6487
+ { title: "Petite Caps", value: "'pcap' 1" },
6488
+ { title: "Proportional Lining", value: "'pnum' 1" },
6489
+ { title: "Proportional Oldstyle", value: "'onum' 1" },
6490
+ { title: "Required Ligatures", value: "'rlig' 1" },
6491
+ { title: "Scientific Inferiors", value: "'sinf' 1" },
6492
+ { title: "Slashed Zero", value: "'zero' 1" },
6493
+ { title: "Small Caps", value: "'smcp' 1" },
6494
+ { title: "Standard Ligatures", value: "'liga' 1" },
6495
+ { title: "Stylistic Alternates", value: "'salt' 1" },
6496
+ { title: "Subscript", value: "'subs' 1" },
6497
+ { title: "Superscript", value: "'sups' 1" },
6498
+ { title: "Swash", value: "'swsh' 1" },
6499
+ { title: "Tabular Lining", value: "'tnum' 1" },
6500
+ { title: "Tabular Oldstyle", value: "'onum' 1" },
6501
+ { title: "Terminal Form", value: "'fina' 1" },
6502
+ { title: "Titling Alternates", value: "'titl' 1" },
6503
+ { title: "Unicase", value: "'unic' 1" },
6504
+ { title: "All Stylistic Sets", value: "'ss01' 1, 'ss02' 1, 'ss03' 1, 'ss04' 1, 'ss05' 1, 'ss06' 1, 'ss07' 1, 'ss08' 1, 'ss09' 1, 'ss10' 1, 'ss11' 1, 'ss12' 1, 'ss13' 1, 'ss14' 1, 'ss15' 1, 'ss16' 1, 'ss17' 1, 'ss18' 1, 'ss19' 1, 'ss20' 1" },
6505
+ { title: "Stylistic Set 1", value: "'ss01' 1" },
6506
+ { title: "Stylistic Set 2", value: "'ss02' 1" },
6507
+ { title: "Stylistic Set 3", value: "'ss03' 1" },
6508
+ { title: "Stylistic Set 4", value: "'ss04' 1" },
6509
+ { title: "Stylistic Set 5", value: "'ss05' 1" },
6510
+ { title: "Stylistic Set 6", value: "'ss06' 1" },
6511
+ { title: "Stylistic Set 7", value: "'ss07' 1" },
6512
+ { title: "Stylistic Set 8", value: "'ss08' 1" },
6513
+ { title: "Stylistic Set 9", value: "'ss09' 1" },
6514
+ { title: "Stylistic Set 10", value: "'ss10' 1" },
6515
+ { title: "Stylistic Set 11", value: "'ss11' 1" },
6516
+ { title: "Stylistic Set 12", value: "'ss12' 1" },
6517
+ { title: "Stylistic Set 13", value: "'ss13' 1" },
6518
+ { title: "Stylistic Set 14", value: "'ss14' 1" },
6519
+ { title: "Stylistic Set 15", value: "'ss15' 1" },
6520
+ { title: "Stylistic Set 16", value: "'ss16' 1" },
6521
+ { title: "Stylistic Set 17", value: "'ss17' 1" },
6522
+ { title: "Stylistic Set 18", value: "'ss18' 1" },
6523
+ { title: "Stylistic Set 19", value: "'ss19' 1" },
6524
+ { title: "Stylistic Set 20", value: "'ss20' 1" }
6525
+ ]
6526
+ }
6527
+ },
6528
+ {
6529
+ type: "string",
6530
+ title: "Specialty CSS Implementation (for multi OT feautes)",
6531
+ name: "specialtyCss",
6532
+ placeholder: "'c2sc' 1, 'ss02' 1"
6533
+ },
6534
+ {
6535
+ type: "boolean",
6536
+ title: "Disable Ligatures on default",
6537
+ name: "ligatures"
6538
+ },
6539
+ {
6540
+ type: "boolean",
6541
+ title: "Disable Contextual Alternates on default",
6542
+ name: "calt"
6543
+ },
6544
+ {
6545
+ type: "boolean",
6546
+ title: "Only Applies to Italics",
6547
+ name: "italics"
6548
+ }
6549
+ ],
6550
+ preview: {
6551
+ select: {
6552
+ title: "title",
6553
+ subtitle: "content"
6554
+ },
6555
+ prepare(selection) {
6556
+ const { title, subtitle } = selection;
6557
+ return {
6558
+ subtitle,
6559
+ title
6560
+ };
6561
+ }
6562
+ }
6563
+ }
6564
+ ]
6565
+ }
6566
+ ]
6567
+ };
4115
6568
  export {
4116
6569
  BatchUploadFonts,
4117
6570
  FontScriptUploaderComponent,
@@ -4147,6 +6600,7 @@ export {
4147
6600
  generateSubset,
4148
6601
  getEmptyFontKit,
4149
6602
  logFontInfo,
6603
+ openTypeField,
4150
6604
  parseVariableFontInstances_default as parseVariableFontInstances,
4151
6605
  processFontFiles,
4152
6606
  processItalicKeywords,
@@ -4157,6 +6611,8 @@ export {
4157
6611
  reverseSpellingLookup,
4158
6612
  sanitizeForSanityId,
4159
6613
  sortFontObjects,
6614
+ styleCountField,
6615
+ stylisticSetField,
4160
6616
  updateFontPrices,
4161
6617
  updateTypefaceDocument,
4162
6618
  uploadFontFiles,