webstudio 0.235.0 → 0.237.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/lib/cli.js CHANGED
@@ -817,7 +817,41 @@ var toValue = (styleValue, transformValue) => {
817
817
  return value.value;
818
818
  }
819
819
  if (value.type === "rgb") {
820
- return `rgba(${value.r}, ${value.g}, ${value.b}, ${value.alpha})`;
820
+ return `rgb(${value.r} ${value.g} ${value.b} / ${value.alpha})`;
821
+ }
822
+ if (value.type === "color") {
823
+ let [c1, c2, c3] = value.components;
824
+ const alpha = value.alpha;
825
+ switch (value.colorSpace) {
826
+ case "srgb": {
827
+ c1 = Math.round(c1 * 255);
828
+ c2 = Math.round(c2 * 255);
829
+ c3 = Math.round(c3 * 255);
830
+ return `rgb(${c1} ${c2} ${c3} / ${alpha})`;
831
+ }
832
+ case "hsl":
833
+ return `hsl(${c1} ${c2}% ${c3}% / ${alpha})`;
834
+ case "hwb":
835
+ return `hwb(${c1} ${c2}% ${c3}% / ${alpha})`;
836
+ case "lab":
837
+ return `lab(${c1}% ${c2} ${c3} / ${alpha})`;
838
+ case "lch":
839
+ return `lch(${c1}% ${c2} ${c3} / ${alpha})`;
840
+ case "oklab":
841
+ return `oklab(${c1} ${c2} ${c3} / ${alpha})`;
842
+ case "oklch":
843
+ return `oklch(${c1} ${c2} ${c3} / ${alpha})`;
844
+ // Fall back to color() function for less common color spaces
845
+ case "p3":
846
+ case "srgb-linear":
847
+ case "a98rgb":
848
+ case "prophoto":
849
+ case "rec2020":
850
+ case "xyz-d65":
851
+ case "xyz-d50":
852
+ default:
853
+ return `color(${value.colorSpace} ${c1} ${c2} ${c3} / ${alpha})`;
854
+ }
821
855
  }
822
856
  if (value.type === "image") {
823
857
  if (value.hidden || value.value.type !== "url") {
@@ -900,6 +934,29 @@ var RgbValue = z.object({
900
934
  alpha: z.number(),
901
935
  hidden: z.boolean().optional()
902
936
  });
937
+ var ColorValue = z.object({
938
+ type: z.literal("color"),
939
+ // all these color spaces are defined by design tokens specification
940
+ colorSpace: z.union([
941
+ z.literal("srgb"),
942
+ z.literal("p3"),
943
+ z.literal("srgb-linear"),
944
+ z.literal("hsl"),
945
+ z.literal("hwb"),
946
+ z.literal("lab"),
947
+ z.literal("lch"),
948
+ z.literal("oklab"),
949
+ z.literal("oklch"),
950
+ z.literal("a98rgb"),
951
+ z.literal("prophoto"),
952
+ z.literal("rec2020"),
953
+ z.literal("xyz-d65"),
954
+ z.literal("xyz-d50")
955
+ ]),
956
+ components: z.tuple([z.number(), z.number(), z.number()]),
957
+ alpha: z.number(),
958
+ hidden: z.boolean().optional()
959
+ });
903
960
  var FunctionValue = z.object({
904
961
  type: z.literal("function"),
905
962
  name: z.string(),
@@ -935,6 +992,7 @@ var VarFallback = z.union([
935
992
  UnparsedValue,
936
993
  KeywordValue,
937
994
  UnitValue,
995
+ ColorValue,
938
996
  RgbValue
939
997
  ]);
940
998
  var VarValue = z.object({
@@ -948,6 +1006,7 @@ var TupleValueItem = z.union([
948
1006
  KeywordValue,
949
1007
  UnparsedValue,
950
1008
  ImageValue,
1009
+ ColorValue,
951
1010
  RgbValue,
952
1011
  FunctionValue,
953
1012
  VarValue
@@ -965,7 +1024,7 @@ var ShadowValue = z.object({
965
1024
  offsetY: z.union([UnitValue, VarValue]),
966
1025
  blur: z.union([UnitValue, VarValue]).optional(),
967
1026
  spread: z.union([UnitValue, VarValue]).optional(),
968
- color: z.union([RgbValue, KeywordValue, VarValue]).optional()
1027
+ color: z.union([ColorValue, RgbValue, KeywordValue, VarValue]).optional()
969
1028
  });
970
1029
  var LayerValueItem = z.union([
971
1030
  UnitValue,
@@ -974,6 +1033,7 @@ var LayerValueItem = z.union([
974
1033
  ImageValue,
975
1034
  TupleValue,
976
1035
  ShadowValue,
1036
+ ColorValue,
977
1037
  RgbValue,
978
1038
  InvalidValue,
979
1039
  FunctionValue,
@@ -990,6 +1050,7 @@ var StyleValue = z.union([
990
1050
  UnitValue,
991
1051
  KeywordValue,
992
1052
  FontFamilyValue,
1053
+ ColorValue,
993
1054
  RgbValue,
994
1055
  UnparsedValue,
995
1056
  TupleValue,
@@ -2052,6 +2113,7 @@ var durationUnitValueSchema = z.union([
2052
2113
  value: z.string()
2053
2114
  })
2054
2115
  ]);
2116
+ var iterationsUnitValueSchema = z.union([z.number(), z.literal("infinite")]);
2055
2117
  var insetUnitValueSchema = z.union([
2056
2118
  rangeUnitValueSchema,
2057
2119
  z.object({
@@ -2073,7 +2135,9 @@ var keyframeEffectOptionsSchema = z.object({
2073
2135
  z.literal("both")
2074
2136
  ]).optional(),
2075
2137
  // FillMode
2076
- duration: durationUnitValueSchema.optional()
2138
+ duration: durationUnitValueSchema.optional(),
2139
+ delay: durationUnitValueSchema.optional(),
2140
+ iterations: iterationsUnitValueSchema.optional()
2077
2141
  });
2078
2142
  var scrollNamedRangeSchema = z.union([
2079
2143
  z.literal("start"),
@@ -2607,24 +2671,7 @@ __export(normalize_css_exports, {
2607
2671
  ul: () => ul$1
2608
2672
  });
2609
2673
  var div$1 = [
2610
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2611
- {
2612
- property: "border-top-width",
2613
- value: { type: "unit", unit: "px", value: 1 }
2614
- },
2615
- {
2616
- property: "border-right-width",
2617
- value: { type: "unit", unit: "px", value: 1 }
2618
- },
2619
- {
2620
- property: "border-bottom-width",
2621
- value: { type: "unit", unit: "px", value: 1 }
2622
- },
2623
- {
2624
- property: "border-left-width",
2625
- value: { type: "unit", unit: "px", value: 1 }
2626
- },
2627
- { property: "outline-width", value: { type: "unit", unit: "px", value: 1 } }
2674
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2628
2675
  ];
2629
2676
  var address$1 = div$1;
2630
2677
  var article$1 = div$1;
@@ -2684,22 +2731,6 @@ var body$1 = [
2684
2731
  value: { type: "unit", unit: "number", value: 0 }
2685
2732
  },
2686
2733
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2687
- {
2688
- property: "border-top-width",
2689
- value: { type: "unit", unit: "px", value: 1 }
2690
- },
2691
- {
2692
- property: "border-right-width",
2693
- value: { type: "unit", unit: "px", value: 1 }
2694
- },
2695
- {
2696
- property: "border-bottom-width",
2697
- value: { type: "unit", unit: "px", value: 1 }
2698
- },
2699
- {
2700
- property: "border-left-width",
2701
- value: { type: "unit", unit: "px", value: 1 }
2702
- },
2703
2734
  {
2704
2735
  property: "-webkit-font-smoothing",
2705
2736
  value: { type: "keyword", value: "antialiased" }
@@ -2719,23 +2750,7 @@ var b$6 = [
2719
2750
  property: "font-weight",
2720
2751
  value: { type: "unit", unit: "number", value: 700 }
2721
2752
  },
2722
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2723
- {
2724
- property: "border-top-width",
2725
- value: { type: "unit", unit: "px", value: 1 }
2726
- },
2727
- {
2728
- property: "border-right-width",
2729
- value: { type: "unit", unit: "px", value: 1 }
2730
- },
2731
- {
2732
- property: "border-bottom-width",
2733
- value: { type: "unit", unit: "px", value: 1 }
2734
- },
2735
- {
2736
- property: "border-left-width",
2737
- value: { type: "unit", unit: "px", value: 1 }
2738
- }
2753
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2739
2754
  ];
2740
2755
  var strong = b$6;
2741
2756
  var code$1 = [
@@ -2754,46 +2769,14 @@ var code$1 = [
2754
2769
  }
2755
2770
  },
2756
2771
  { property: "font-size", value: { type: "unit", unit: "em", value: 1 } },
2757
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2758
- {
2759
- property: "border-top-width",
2760
- value: { type: "unit", unit: "px", value: 1 }
2761
- },
2762
- {
2763
- property: "border-right-width",
2764
- value: { type: "unit", unit: "px", value: 1 }
2765
- },
2766
- {
2767
- property: "border-bottom-width",
2768
- value: { type: "unit", unit: "px", value: 1 }
2769
- },
2770
- {
2771
- property: "border-left-width",
2772
- value: { type: "unit", unit: "px", value: 1 }
2773
- }
2772
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2774
2773
  ];
2775
2774
  var kbd = code$1;
2776
2775
  var samp = code$1;
2777
2776
  var pre = code$1;
2778
2777
  var small = [
2779
2778
  { property: "font-size", value: { type: "unit", unit: "%", value: 80 } },
2780
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2781
- {
2782
- property: "border-top-width",
2783
- value: { type: "unit", unit: "px", value: 1 }
2784
- },
2785
- {
2786
- property: "border-right-width",
2787
- value: { type: "unit", unit: "px", value: 1 }
2788
- },
2789
- {
2790
- property: "border-bottom-width",
2791
- value: { type: "unit", unit: "px", value: 1 }
2792
- },
2793
- {
2794
- property: "border-left-width",
2795
- value: { type: "unit", unit: "px", value: 1 }
2796
- }
2779
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2797
2780
  ];
2798
2781
  var sub$1 = [
2799
2782
  { property: "font-size", value: { type: "unit", unit: "%", value: 75 } },
@@ -2804,22 +2787,6 @@ var sub$1 = [
2804
2787
  { property: "position", value: { type: "keyword", value: "relative" } },
2805
2788
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
2806
2789
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2807
- {
2808
- property: "border-top-width",
2809
- value: { type: "unit", unit: "px", value: 1 }
2810
- },
2811
- {
2812
- property: "border-right-width",
2813
- value: { type: "unit", unit: "px", value: 1 }
2814
- },
2815
- {
2816
- property: "border-bottom-width",
2817
- value: { type: "unit", unit: "px", value: 1 }
2818
- },
2819
- {
2820
- property: "border-left-width",
2821
- value: { type: "unit", unit: "px", value: 1 }
2822
- },
2823
2790
  { property: "bottom", value: { type: "unit", unit: "em", value: -0.25 } }
2824
2791
  ];
2825
2792
  var sup$1 = [
@@ -2831,22 +2798,6 @@ var sup$1 = [
2831
2798
  { property: "position", value: { type: "keyword", value: "relative" } },
2832
2799
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
2833
2800
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2834
- {
2835
- property: "border-top-width",
2836
- value: { type: "unit", unit: "px", value: 1 }
2837
- },
2838
- {
2839
- property: "border-right-width",
2840
- value: { type: "unit", unit: "px", value: 1 }
2841
- },
2842
- {
2843
- property: "border-bottom-width",
2844
- value: { type: "unit", unit: "px", value: 1 }
2845
- },
2846
- {
2847
- property: "border-left-width",
2848
- value: { type: "unit", unit: "px", value: 1 }
2849
- },
2850
2801
  { property: "top", value: { type: "unit", unit: "em", value: -0.5 } }
2851
2802
  ];
2852
2803
  var table = [
@@ -2854,22 +2805,6 @@ var table = [
2854
2805
  property: "text-indent",
2855
2806
  value: { type: "unit", unit: "number", value: 0 }
2856
2807
  },
2857
- {
2858
- property: "border-top-width",
2859
- value: { type: "unit", unit: "px", value: 1 }
2860
- },
2861
- {
2862
- property: "border-right-width",
2863
- value: { type: "unit", unit: "px", value: 1 }
2864
- },
2865
- {
2866
- property: "border-bottom-width",
2867
- value: { type: "unit", unit: "px", value: 1 }
2868
- },
2869
- {
2870
- property: "border-left-width",
2871
- value: { type: "unit", unit: "px", value: 1 }
2872
- },
2873
2808
  {
2874
2809
  property: "border-top-color",
2875
2810
  value: { type: "keyword", value: "inherit" }
@@ -2909,22 +2844,6 @@ var input$1 = [
2909
2844
  value: { type: "unit", unit: "number", value: 0 }
2910
2845
  },
2911
2846
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2912
- {
2913
- property: "border-top-width",
2914
- value: { type: "unit", unit: "px", value: 1 }
2915
- },
2916
- {
2917
- property: "border-right-width",
2918
- value: { type: "unit", unit: "px", value: 1 }
2919
- },
2920
- {
2921
- property: "border-bottom-width",
2922
- value: { type: "unit", unit: "px", value: 1 }
2923
- },
2924
- {
2925
- property: "border-left-width",
2926
- value: { type: "unit", unit: "px", value: 1 }
2927
- },
2928
2847
  { property: "border-top-style", value: { type: "keyword", value: "solid" } },
2929
2848
  {
2930
2849
  property: "border-right-style",
@@ -2957,23 +2876,7 @@ var optgroup = [
2957
2876
  property: "margin-left",
2958
2877
  value: { type: "unit", unit: "number", value: 0 }
2959
2878
  },
2960
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2961
- {
2962
- property: "border-top-width",
2963
- value: { type: "unit", unit: "px", value: 1 }
2964
- },
2965
- {
2966
- property: "border-right-width",
2967
- value: { type: "unit", unit: "px", value: 1 }
2968
- },
2969
- {
2970
- property: "border-bottom-width",
2971
- value: { type: "unit", unit: "px", value: 1 }
2972
- },
2973
- {
2974
- property: "border-left-width",
2975
- value: { type: "unit", unit: "px", value: 1 }
2976
- }
2879
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2977
2880
  ];
2978
2881
  var radio$1 = [
2979
2882
  { property: "font-family", value: { type: "keyword", value: "inherit" } },
@@ -2996,22 +2899,6 @@ var radio$1 = [
2996
2899
  value: { type: "unit", unit: "number", value: 0 }
2997
2900
  },
2998
2901
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
2999
- {
3000
- property: "border-top-width",
3001
- value: { type: "unit", unit: "px", value: 1 }
3002
- },
3003
- {
3004
- property: "border-right-width",
3005
- value: { type: "unit", unit: "px", value: 1 }
3006
- },
3007
- {
3008
- property: "border-bottom-width",
3009
- value: { type: "unit", unit: "px", value: 1 }
3010
- },
3011
- {
3012
- property: "border-left-width",
3013
- value: { type: "unit", unit: "px", value: 1 }
3014
- },
3015
2902
  { property: "border-top-style", value: { type: "keyword", value: "none" } },
3016
2903
  { property: "border-right-style", value: { type: "keyword", value: "none" } },
3017
2904
  {
@@ -3042,22 +2929,6 @@ var button$1 = [
3042
2929
  value: { type: "unit", unit: "number", value: 0 }
3043
2930
  },
3044
2931
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
3045
- {
3046
- property: "border-top-width",
3047
- value: { type: "unit", unit: "px", value: 1 }
3048
- },
3049
- {
3050
- property: "border-right-width",
3051
- value: { type: "unit", unit: "px", value: 1 }
3052
- },
3053
- {
3054
- property: "border-bottom-width",
3055
- value: { type: "unit", unit: "px", value: 1 }
3056
- },
3057
- {
3058
- property: "border-left-width",
3059
- value: { type: "unit", unit: "px", value: 1 }
3060
- },
3061
2932
  { property: "border-top-style", value: { type: "keyword", value: "solid" } },
3062
2933
  {
3063
2934
  property: "border-right-style",
@@ -3088,63 +2959,15 @@ var legend = [
3088
2959
  property: "padding-left",
3089
2960
  value: { type: "unit", unit: "number", value: 0 }
3090
2961
  },
3091
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
3092
- {
3093
- property: "border-top-width",
3094
- value: { type: "unit", unit: "px", value: 1 }
3095
- },
3096
- {
3097
- property: "border-right-width",
3098
- value: { type: "unit", unit: "px", value: 1 }
3099
- },
3100
- {
3101
- property: "border-bottom-width",
3102
- value: { type: "unit", unit: "px", value: 1 }
3103
- },
3104
- {
3105
- property: "border-left-width",
3106
- value: { type: "unit", unit: "px", value: 1 }
3107
- }
2962
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
3108
2963
  ];
3109
2964
  var progress = [
3110
2965
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
3111
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
3112
- {
3113
- property: "border-top-width",
3114
- value: { type: "unit", unit: "px", value: 1 }
3115
- },
3116
- {
3117
- property: "border-right-width",
3118
- value: { type: "unit", unit: "px", value: 1 }
3119
- },
3120
- {
3121
- property: "border-bottom-width",
3122
- value: { type: "unit", unit: "px", value: 1 }
3123
- },
3124
- {
3125
- property: "border-left-width",
3126
- value: { type: "unit", unit: "px", value: 1 }
3127
- }
2966
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
3128
2967
  ];
3129
2968
  var summary = [
3130
2969
  { property: "display", value: { type: "keyword", value: "list-item" } },
3131
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
3132
- {
3133
- property: "border-top-width",
3134
- value: { type: "unit", unit: "px", value: 1 }
3135
- },
3136
- {
3137
- property: "border-right-width",
3138
- value: { type: "unit", unit: "px", value: 1 }
3139
- },
3140
- {
3141
- property: "border-bottom-width",
3142
- value: { type: "unit", unit: "px", value: 1 }
3143
- },
3144
- {
3145
- property: "border-left-width",
3146
- value: { type: "unit", unit: "px", value: 1 }
3147
- }
2970
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
3148
2971
  ];
3149
2972
  var tagProperty$1 = "data-ws-tag";
3150
2973
  var tags = [
@@ -5105,24 +4928,7 @@ const a$5 = {
5105
4928
  }
5106
4929
  };
5107
4930
  var div = [
5108
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5109
- {
5110
- property: "border-top-width",
5111
- value: { type: "unit", unit: "px", value: 1 }
5112
- },
5113
- {
5114
- property: "border-right-width",
5115
- value: { type: "unit", unit: "px", value: 1 }
5116
- },
5117
- {
5118
- property: "border-bottom-width",
5119
- value: { type: "unit", unit: "px", value: 1 }
5120
- },
5121
- {
5122
- property: "border-left-width",
5123
- value: { type: "unit", unit: "px", value: 1 }
5124
- },
5125
- { property: "outline-width", value: { type: "unit", unit: "px", value: 1 } }
4931
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
5126
4932
  ];
5127
4933
  var address = div;
5128
4934
  var article = div;
@@ -5165,22 +4971,6 @@ var body = [
5165
4971
  value: { type: "unit", unit: "number", value: 0 }
5166
4972
  },
5167
4973
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5168
- {
5169
- property: "border-top-width",
5170
- value: { type: "unit", unit: "px", value: 1 }
5171
- },
5172
- {
5173
- property: "border-right-width",
5174
- value: { type: "unit", unit: "px", value: 1 }
5175
- },
5176
- {
5177
- property: "border-bottom-width",
5178
- value: { type: "unit", unit: "px", value: 1 }
5179
- },
5180
- {
5181
- property: "border-left-width",
5182
- value: { type: "unit", unit: "px", value: 1 }
5183
- },
5184
4974
  {
5185
4975
  property: "-webkit-font-smoothing",
5186
4976
  value: { type: "keyword", value: "antialiased" }
@@ -5200,23 +4990,7 @@ var b$5 = [
5200
4990
  property: "font-weight",
5201
4991
  value: { type: "unit", unit: "number", value: 700 }
5202
4992
  },
5203
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5204
- {
5205
- property: "border-top-width",
5206
- value: { type: "unit", unit: "px", value: 1 }
5207
- },
5208
- {
5209
- property: "border-right-width",
5210
- value: { type: "unit", unit: "px", value: 1 }
5211
- },
5212
- {
5213
- property: "border-bottom-width",
5214
- value: { type: "unit", unit: "px", value: 1 }
5215
- },
5216
- {
5217
- property: "border-left-width",
5218
- value: { type: "unit", unit: "px", value: 1 }
5219
- }
4993
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
5220
4994
  ];
5221
4995
  var code = [
5222
4996
  {
@@ -5234,23 +5008,7 @@ var code = [
5234
5008
  }
5235
5009
  },
5236
5010
  { property: "font-size", value: { type: "unit", unit: "em", value: 1 } },
5237
- { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5238
- {
5239
- property: "border-top-width",
5240
- value: { type: "unit", unit: "px", value: 1 }
5241
- },
5242
- {
5243
- property: "border-right-width",
5244
- value: { type: "unit", unit: "px", value: 1 }
5245
- },
5246
- {
5247
- property: "border-bottom-width",
5248
- value: { type: "unit", unit: "px", value: 1 }
5249
- },
5250
- {
5251
- property: "border-left-width",
5252
- value: { type: "unit", unit: "px", value: 1 }
5253
- }
5011
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
5254
5012
  ];
5255
5013
  var sub = [
5256
5014
  { property: "font-size", value: { type: "unit", unit: "%", value: 75 } },
@@ -5261,22 +5019,6 @@ var sub = [
5261
5019
  { property: "position", value: { type: "keyword", value: "relative" } },
5262
5020
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
5263
5021
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5264
- {
5265
- property: "border-top-width",
5266
- value: { type: "unit", unit: "px", value: 1 }
5267
- },
5268
- {
5269
- property: "border-right-width",
5270
- value: { type: "unit", unit: "px", value: 1 }
5271
- },
5272
- {
5273
- property: "border-bottom-width",
5274
- value: { type: "unit", unit: "px", value: 1 }
5275
- },
5276
- {
5277
- property: "border-left-width",
5278
- value: { type: "unit", unit: "px", value: 1 }
5279
- },
5280
5022
  { property: "bottom", value: { type: "unit", unit: "em", value: -0.25 } }
5281
5023
  ];
5282
5024
  var sup = [
@@ -5288,22 +5030,6 @@ var sup = [
5288
5030
  { property: "position", value: { type: "keyword", value: "relative" } },
5289
5031
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
5290
5032
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5291
- {
5292
- property: "border-top-width",
5293
- value: { type: "unit", unit: "px", value: 1 }
5294
- },
5295
- {
5296
- property: "border-right-width",
5297
- value: { type: "unit", unit: "px", value: 1 }
5298
- },
5299
- {
5300
- property: "border-bottom-width",
5301
- value: { type: "unit", unit: "px", value: 1 }
5302
- },
5303
- {
5304
- property: "border-left-width",
5305
- value: { type: "unit", unit: "px", value: 1 }
5306
- },
5307
5033
  { property: "top", value: { type: "unit", unit: "em", value: -0.5 } }
5308
5034
  ];
5309
5035
  var input = [
@@ -5327,22 +5053,6 @@ var input = [
5327
5053
  value: { type: "unit", unit: "number", value: 0 }
5328
5054
  },
5329
5055
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5330
- {
5331
- property: "border-top-width",
5332
- value: { type: "unit", unit: "px", value: 1 }
5333
- },
5334
- {
5335
- property: "border-right-width",
5336
- value: { type: "unit", unit: "px", value: 1 }
5337
- },
5338
- {
5339
- property: "border-bottom-width",
5340
- value: { type: "unit", unit: "px", value: 1 }
5341
- },
5342
- {
5343
- property: "border-left-width",
5344
- value: { type: "unit", unit: "px", value: 1 }
5345
- },
5346
5056
  { property: "border-top-style", value: { type: "keyword", value: "solid" } },
5347
5057
  {
5348
5058
  property: "border-right-style",
@@ -5376,22 +5086,6 @@ var radio = [
5376
5086
  value: { type: "unit", unit: "number", value: 0 }
5377
5087
  },
5378
5088
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5379
- {
5380
- property: "border-top-width",
5381
- value: { type: "unit", unit: "px", value: 1 }
5382
- },
5383
- {
5384
- property: "border-right-width",
5385
- value: { type: "unit", unit: "px", value: 1 }
5386
- },
5387
- {
5388
- property: "border-bottom-width",
5389
- value: { type: "unit", unit: "px", value: 1 }
5390
- },
5391
- {
5392
- property: "border-left-width",
5393
- value: { type: "unit", unit: "px", value: 1 }
5394
- },
5395
5089
  { property: "border-top-style", value: { type: "keyword", value: "none" } },
5396
5090
  { property: "border-right-style", value: { type: "keyword", value: "none" } },
5397
5091
  {
@@ -5422,22 +5116,6 @@ var button = [
5422
5116
  value: { type: "unit", unit: "number", value: 0 }
5423
5117
  },
5424
5118
  { property: "box-sizing", value: { type: "keyword", value: "border-box" } },
5425
- {
5426
- property: "border-top-width",
5427
- value: { type: "unit", unit: "px", value: 1 }
5428
- },
5429
- {
5430
- property: "border-right-width",
5431
- value: { type: "unit", unit: "px", value: 1 }
5432
- },
5433
- {
5434
- property: "border-bottom-width",
5435
- value: { type: "unit", unit: "px", value: 1 }
5436
- },
5437
- {
5438
- property: "border-left-width",
5439
- value: { type: "unit", unit: "px", value: 1 }
5440
- },
5441
5119
  { property: "border-top-style", value: { type: "keyword", value: "solid" } },
5442
5120
  {
5443
5121
  property: "border-right-style",
@@ -9117,7 +8795,7 @@ const getDeploymentInstructions = (deployTarget) => {
9117
8795
  }
9118
8796
  };
9119
8797
  const name = "webstudio";
9120
- const version = "0.235.0";
8798
+ const version = "0.237.0";
9121
8799
  const description = "Webstudio CLI";
9122
8800
  const author = "Webstudio <github@webstudio.is>";
9123
8801
  const homepage = "https://webstudio.is";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webstudio",
3
- "version": "0.235.0",
3
+ "version": "0.237.0",
4
4
  "description": "Webstudio CLI",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -70,17 +70,17 @@
70
70
  "vite": "^6.3.4",
71
71
  "vitest": "^3.1.2",
72
72
  "wrangler": "^3.63.2",
73
- "@webstudio-is/css-engine": "0.235.0",
74
- "@webstudio-is/http-client": "0.235.0",
75
- "@webstudio-is/react-sdk": "0.235.0",
76
- "@webstudio-is/image": "0.235.0",
77
- "@webstudio-is/sdk": "0.235.0",
78
- "@webstudio-is/sdk-components-animation": "0.235.0",
79
- "@webstudio-is/sdk-components-react-radix": "0.235.0",
80
- "@webstudio-is/sdk-components-react-remix": "0.235.0",
81
- "@webstudio-is/sdk-components-react-router": "0.235.0",
82
- "@webstudio-is/tsconfig": "1.0.7",
83
- "@webstudio-is/sdk-components-react": "0.235.0"
73
+ "@webstudio-is/css-engine": "0.237.0",
74
+ "@webstudio-is/http-client": "0.237.0",
75
+ "@webstudio-is/image": "0.237.0",
76
+ "@webstudio-is/react-sdk": "0.237.0",
77
+ "@webstudio-is/sdk-components-animation": "0.237.0",
78
+ "@webstudio-is/sdk": "0.237.0",
79
+ "@webstudio-is/sdk-components-react": "0.237.0",
80
+ "@webstudio-is/sdk-components-react-radix": "0.237.0",
81
+ "@webstudio-is/sdk-components-react-remix": "0.237.0",
82
+ "@webstudio-is/sdk-components-react-router": "0.237.0",
83
+ "@webstudio-is/tsconfig": "1.0.7"
84
84
  },
85
85
  "scripts": {
86
86
  "typecheck": "tsc",
@@ -11,13 +11,13 @@
11
11
  "@remix-run/node": "2.16.5",
12
12
  "@remix-run/react": "2.16.5",
13
13
  "@remix-run/server-runtime": "2.16.5",
14
- "@webstudio-is/image": "0.235.0",
15
- "@webstudio-is/react-sdk": "0.235.0",
16
- "@webstudio-is/sdk": "0.235.0",
17
- "@webstudio-is/sdk-components-react": "0.235.0",
18
- "@webstudio-is/sdk-components-animation": "0.235.0",
19
- "@webstudio-is/sdk-components-react-radix": "0.235.0",
20
- "@webstudio-is/sdk-components-react-remix": "0.235.0",
14
+ "@webstudio-is/image": "0.237.0",
15
+ "@webstudio-is/react-sdk": "0.237.0",
16
+ "@webstudio-is/sdk": "0.237.0",
17
+ "@webstudio-is/sdk-components-react": "0.237.0",
18
+ "@webstudio-is/sdk-components-animation": "0.237.0",
19
+ "@webstudio-is/sdk-components-react-radix": "0.237.0",
20
+ "@webstudio-is/sdk-components-react-remix": "0.237.0",
21
21
  "isbot": "^5.1.25",
22
22
  "react": "18.3.0-canary-14898b6a9-20240318",
23
23
  "react-dom": "18.3.0-canary-14898b6a9-20240318"
@@ -10,13 +10,13 @@
10
10
  "dependencies": {
11
11
  "@react-router/dev": "^7.5.3",
12
12
  "@react-router/fs-routes": "^7.5.3",
13
- "@webstudio-is/image": "0.235.0",
14
- "@webstudio-is/react-sdk": "0.235.0",
15
- "@webstudio-is/sdk": "0.235.0",
16
- "@webstudio-is/sdk-components-animation": "0.235.0",
17
- "@webstudio-is/sdk-components-react-radix": "0.235.0",
18
- "@webstudio-is/sdk-components-react-router": "0.235.0",
19
- "@webstudio-is/sdk-components-react": "0.235.0",
13
+ "@webstudio-is/image": "0.237.0",
14
+ "@webstudio-is/react-sdk": "0.237.0",
15
+ "@webstudio-is/sdk": "0.237.0",
16
+ "@webstudio-is/sdk-components-animation": "0.237.0",
17
+ "@webstudio-is/sdk-components-react-radix": "0.237.0",
18
+ "@webstudio-is/sdk-components-react-router": "0.237.0",
19
+ "@webstudio-is/sdk-components-react": "0.237.0",
20
20
  "isbot": "^5.1.25",
21
21
  "react": "18.3.0-canary-14898b6a9-20240318",
22
22
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
@@ -8,12 +8,12 @@
8
8
  "typecheck": "tsc"
9
9
  },
10
10
  "dependencies": {
11
- "@webstudio-is/image": "0.235.0",
12
- "@webstudio-is/react-sdk": "0.235.0",
13
- "@webstudio-is/sdk": "0.235.0",
14
- "@webstudio-is/sdk-components-react": "0.235.0",
15
- "@webstudio-is/sdk-components-animation": "0.235.0",
16
- "@webstudio-is/sdk-components-react-radix": "0.235.0",
11
+ "@webstudio-is/image": "0.237.0",
12
+ "@webstudio-is/react-sdk": "0.237.0",
13
+ "@webstudio-is/sdk": "0.237.0",
14
+ "@webstudio-is/sdk-components-react": "0.237.0",
15
+ "@webstudio-is/sdk-components-animation": "0.237.0",
16
+ "@webstudio-is/sdk-components-react-radix": "0.237.0",
17
17
  "react": "18.3.0-canary-14898b6a9-20240318",
18
18
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
19
19
  "vike": "^0.4.229"