webstudio 0.235.0 → 0.236.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,
@@ -2607,24 +2668,7 @@ __export(normalize_css_exports, {
2607
2668
  ul: () => ul$1
2608
2669
  });
2609
2670
  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 } }
2671
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2628
2672
  ];
2629
2673
  var address$1 = div$1;
2630
2674
  var article$1 = div$1;
@@ -2684,22 +2728,6 @@ var body$1 = [
2684
2728
  value: { type: "unit", unit: "number", value: 0 }
2685
2729
  },
2686
2730
  { 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
2731
  {
2704
2732
  property: "-webkit-font-smoothing",
2705
2733
  value: { type: "keyword", value: "antialiased" }
@@ -2719,23 +2747,7 @@ var b$6 = [
2719
2747
  property: "font-weight",
2720
2748
  value: { type: "unit", unit: "number", value: 700 }
2721
2749
  },
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
- }
2750
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2739
2751
  ];
2740
2752
  var strong = b$6;
2741
2753
  var code$1 = [
@@ -2754,46 +2766,14 @@ var code$1 = [
2754
2766
  }
2755
2767
  },
2756
2768
  { 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
- }
2769
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2774
2770
  ];
2775
2771
  var kbd = code$1;
2776
2772
  var samp = code$1;
2777
2773
  var pre = code$1;
2778
2774
  var small = [
2779
2775
  { 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
- }
2776
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2797
2777
  ];
2798
2778
  var sub$1 = [
2799
2779
  { property: "font-size", value: { type: "unit", unit: "%", value: 75 } },
@@ -2804,22 +2784,6 @@ var sub$1 = [
2804
2784
  { property: "position", value: { type: "keyword", value: "relative" } },
2805
2785
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
2806
2786
  { 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
2787
  { property: "bottom", value: { type: "unit", unit: "em", value: -0.25 } }
2824
2788
  ];
2825
2789
  var sup$1 = [
@@ -2831,22 +2795,6 @@ var sup$1 = [
2831
2795
  { property: "position", value: { type: "keyword", value: "relative" } },
2832
2796
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
2833
2797
  { 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
2798
  { property: "top", value: { type: "unit", unit: "em", value: -0.5 } }
2851
2799
  ];
2852
2800
  var table = [
@@ -2854,22 +2802,6 @@ var table = [
2854
2802
  property: "text-indent",
2855
2803
  value: { type: "unit", unit: "number", value: 0 }
2856
2804
  },
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
2805
  {
2874
2806
  property: "border-top-color",
2875
2807
  value: { type: "keyword", value: "inherit" }
@@ -2909,22 +2841,6 @@ var input$1 = [
2909
2841
  value: { type: "unit", unit: "number", value: 0 }
2910
2842
  },
2911
2843
  { 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
2844
  { property: "border-top-style", value: { type: "keyword", value: "solid" } },
2929
2845
  {
2930
2846
  property: "border-right-style",
@@ -2957,23 +2873,7 @@ var optgroup = [
2957
2873
  property: "margin-left",
2958
2874
  value: { type: "unit", unit: "number", value: 0 }
2959
2875
  },
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
- }
2876
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
2977
2877
  ];
2978
2878
  var radio$1 = [
2979
2879
  { property: "font-family", value: { type: "keyword", value: "inherit" } },
@@ -2996,22 +2896,6 @@ var radio$1 = [
2996
2896
  value: { type: "unit", unit: "number", value: 0 }
2997
2897
  },
2998
2898
  { 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
2899
  { property: "border-top-style", value: { type: "keyword", value: "none" } },
3016
2900
  { property: "border-right-style", value: { type: "keyword", value: "none" } },
3017
2901
  {
@@ -3042,22 +2926,6 @@ var button$1 = [
3042
2926
  value: { type: "unit", unit: "number", value: 0 }
3043
2927
  },
3044
2928
  { 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
2929
  { property: "border-top-style", value: { type: "keyword", value: "solid" } },
3062
2930
  {
3063
2931
  property: "border-right-style",
@@ -3088,63 +2956,15 @@ var legend = [
3088
2956
  property: "padding-left",
3089
2957
  value: { type: "unit", unit: "number", value: 0 }
3090
2958
  },
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
- }
2959
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
3108
2960
  ];
3109
2961
  var progress = [
3110
2962
  { 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
- }
2963
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
3128
2964
  ];
3129
2965
  var summary = [
3130
2966
  { 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
- }
2967
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
3148
2968
  ];
3149
2969
  var tagProperty$1 = "data-ws-tag";
3150
2970
  var tags = [
@@ -5105,24 +4925,7 @@ const a$5 = {
5105
4925
  }
5106
4926
  };
5107
4927
  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 } }
4928
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
5126
4929
  ];
5127
4930
  var address = div;
5128
4931
  var article = div;
@@ -5165,22 +4968,6 @@ var body = [
5165
4968
  value: { type: "unit", unit: "number", value: 0 }
5166
4969
  },
5167
4970
  { 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
4971
  {
5185
4972
  property: "-webkit-font-smoothing",
5186
4973
  value: { type: "keyword", value: "antialiased" }
@@ -5200,23 +4987,7 @@ var b$5 = [
5200
4987
  property: "font-weight",
5201
4988
  value: { type: "unit", unit: "number", value: 700 }
5202
4989
  },
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
- }
4990
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
5220
4991
  ];
5221
4992
  var code = [
5222
4993
  {
@@ -5234,23 +5005,7 @@ var code = [
5234
5005
  }
5235
5006
  },
5236
5007
  { 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
- }
5008
+ { property: "box-sizing", value: { type: "keyword", value: "border-box" } }
5254
5009
  ];
5255
5010
  var sub = [
5256
5011
  { property: "font-size", value: { type: "unit", unit: "%", value: 75 } },
@@ -5261,22 +5016,6 @@ var sub = [
5261
5016
  { property: "position", value: { type: "keyword", value: "relative" } },
5262
5017
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
5263
5018
  { 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
5019
  { property: "bottom", value: { type: "unit", unit: "em", value: -0.25 } }
5281
5020
  ];
5282
5021
  var sup = [
@@ -5288,22 +5027,6 @@ var sup = [
5288
5027
  { property: "position", value: { type: "keyword", value: "relative" } },
5289
5028
  { property: "vertical-align", value: { type: "keyword", value: "baseline" } },
5290
5029
  { 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
5030
  { property: "top", value: { type: "unit", unit: "em", value: -0.5 } }
5308
5031
  ];
5309
5032
  var input = [
@@ -5327,22 +5050,6 @@ var input = [
5327
5050
  value: { type: "unit", unit: "number", value: 0 }
5328
5051
  },
5329
5052
  { 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
5053
  { property: "border-top-style", value: { type: "keyword", value: "solid" } },
5347
5054
  {
5348
5055
  property: "border-right-style",
@@ -5376,22 +5083,6 @@ var radio = [
5376
5083
  value: { type: "unit", unit: "number", value: 0 }
5377
5084
  },
5378
5085
  { 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
5086
  { property: "border-top-style", value: { type: "keyword", value: "none" } },
5396
5087
  { property: "border-right-style", value: { type: "keyword", value: "none" } },
5397
5088
  {
@@ -5422,22 +5113,6 @@ var button = [
5422
5113
  value: { type: "unit", unit: "number", value: 0 }
5423
5114
  },
5424
5115
  { 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
5116
  { property: "border-top-style", value: { type: "keyword", value: "solid" } },
5442
5117
  {
5443
5118
  property: "border-right-style",
@@ -9117,7 +8792,7 @@ const getDeploymentInstructions = (deployTarget) => {
9117
8792
  }
9118
8793
  };
9119
8794
  const name = "webstudio";
9120
- const version = "0.235.0";
8795
+ const version = "0.236.0";
9121
8796
  const description = "Webstudio CLI";
9122
8797
  const author = "Webstudio <github@webstudio.is>";
9123
8798
  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.236.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/http-client": "0.236.0",
74
+ "@webstudio-is/css-engine": "0.236.0",
75
+ "@webstudio-is/react-sdk": "0.236.0",
76
+ "@webstudio-is/sdk": "0.236.0",
77
+ "@webstudio-is/sdk-components-animation": "0.236.0",
78
+ "@webstudio-is/image": "0.236.0",
79
+ "@webstudio-is/sdk-components-react": "0.236.0",
80
+ "@webstudio-is/sdk-components-react-radix": "0.236.0",
81
+ "@webstudio-is/sdk-components-react-router": "0.236.0",
82
+ "@webstudio-is/sdk-components-react-remix": "0.236.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.236.0",
15
+ "@webstudio-is/react-sdk": "0.236.0",
16
+ "@webstudio-is/sdk": "0.236.0",
17
+ "@webstudio-is/sdk-components-react": "0.236.0",
18
+ "@webstudio-is/sdk-components-animation": "0.236.0",
19
+ "@webstudio-is/sdk-components-react-radix": "0.236.0",
20
+ "@webstudio-is/sdk-components-react-remix": "0.236.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.236.0",
14
+ "@webstudio-is/react-sdk": "0.236.0",
15
+ "@webstudio-is/sdk": "0.236.0",
16
+ "@webstudio-is/sdk-components-animation": "0.236.0",
17
+ "@webstudio-is/sdk-components-react-radix": "0.236.0",
18
+ "@webstudio-is/sdk-components-react-router": "0.236.0",
19
+ "@webstudio-is/sdk-components-react": "0.236.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.236.0",
12
+ "@webstudio-is/react-sdk": "0.236.0",
13
+ "@webstudio-is/sdk": "0.236.0",
14
+ "@webstudio-is/sdk-components-react": "0.236.0",
15
+ "@webstudio-is/sdk-components-animation": "0.236.0",
16
+ "@webstudio-is/sdk-components-react-radix": "0.236.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"