@mapbox/mapbox-gl-style-spec 14.15.0 → 14.16.0-beta.1

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
@@ -3067,9 +3067,15 @@
3067
3067
  0.8,
3068
3068
  2
3069
3069
  ],
3070
- doc: "Defines the minimum and maximum scaling factors for icon related properties like `icon-size`, `icon-halo-width`, `icon-halo-blur`",
3071
- minimum: 0.1,
3072
- maximum: 10,
3070
+ doc: "Limits the possible scaling range for `icon-size`, `icon-halo-width`, `icon-halo-blur` properties to be within [min-scale, max-scale]",
3071
+ minimum: [
3072
+ 0.1,
3073
+ 0.1
3074
+ ],
3075
+ maximum: [
3076
+ 10,
3077
+ 10
3078
+ ],
3073
3079
  experimental: true,
3074
3080
  "private": true,
3075
3081
  expression: {
@@ -3583,9 +3589,15 @@
3583
3589
  0.8,
3584
3590
  2
3585
3591
  ],
3586
- doc: "Defines the minimum and maximum scaling factors for text related properties like `text-size`, `text-max-width`, `text-halo-width`, `font-size`",
3587
- minimum: 0.1,
3588
- maximum: 10,
3592
+ doc: "Limits the possible scaling range for `text-size`, `text-halo-width`, `text-halo-blur` properties to be within [min-scale, max-scale]",
3593
+ minimum: [
3594
+ 0.1,
3595
+ 0.1
3596
+ ],
3597
+ maximum: [
3598
+ 10,
3599
+ 10
3600
+ ],
3589
3601
  experimental: true,
3590
3602
  "private": true,
3591
3603
  expression: {
@@ -21958,7 +21970,6 @@ Use an identity property function instead: ${ example }.`)];
21958
21970
  const validationErrors = validateArray({
21959
21971
  key: options2.key,
21960
21972
  value: options2.value,
21961
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
21962
21973
  valueSpec: options2.valueSpec,
21963
21974
  style: options2.style,
21964
21975
  styleSpec: options2.styleSpec,
@@ -22099,7 +22110,8 @@ Use an identity property function instead: ${ example }.`)];
22099
22110
  return validateEnum({
22100
22111
  key: `${ key }.type`,
22101
22112
  value: value.type,
22102
- valueSpec: { values: getSourceTypeValues(styleSpec) }});
22113
+ valueSpec: { values: getSourceTypeValues(styleSpec) }
22114
+ });
22103
22115
  }
22104
22116
  }
22105
22117
  function getSourceTypeValues(styleSpec) {