@webstudio-is/react-sdk 0.5.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/lib/components/component-type.d.ts +1 -1
  2. package/lib/components/component-type.d.ts.map +1 -1
  3. package/lib/components/component-type.js +2 -2
  4. package/lib/components/image.d.ts +3 -0
  5. package/lib/components/image.d.ts.map +1 -0
  6. package/lib/components/image.js +42 -0
  7. package/lib/components/image.props.json +2533 -0
  8. package/lib/components/image.stories.d.ts +6 -0
  9. package/lib/components/image.stories.d.ts.map +1 -0
  10. package/lib/components/image.stories.js +17 -0
  11. package/lib/components/image.ws.d.ts +5 -0
  12. package/lib/components/image.ws.d.ts.map +1 -0
  13. package/lib/components/image.ws.js +14 -0
  14. package/lib/components/index.d.ts +1 -0
  15. package/lib/components/index.d.ts.map +1 -1
  16. package/lib/components/index.js +3 -1
  17. package/lib/components/index.test.js +1 -1
  18. package/lib/components/link.d.ts +1 -1
  19. package/lib/components/link.stories.d.ts +2 -2
  20. package/lib/components/meta.d.ts +1 -0
  21. package/lib/components/meta.d.ts.map +1 -1
  22. package/lib/components/meta.js +3 -1
  23. package/lib/css/breakpoints.d.ts +1 -1
  24. package/lib/css/breakpoints.d.ts.map +1 -1
  25. package/lib/css/categories.d.ts +4 -4
  26. package/lib/css/categories.js +1 -1
  27. package/lib/css/get-browser-style.d.ts +1 -1
  28. package/lib/css/get-browser-style.d.ts.map +1 -1
  29. package/lib/css/index.d.ts +1 -1
  30. package/lib/css/index.d.ts.map +1 -1
  31. package/lib/css/index.js +1 -1
  32. package/lib/css/keyword-values.d.ts.map +1 -1
  33. package/lib/css/keyword-values.js +396 -1149
  34. package/lib/css/properties.d.ts +6 -4
  35. package/lib/css/properties.d.ts.map +1 -1
  36. package/lib/css/properties.js +3196 -3194
  37. package/lib/css/schema.d.ts +142 -10
  38. package/lib/css/schema.d.ts.map +1 -1
  39. package/lib/css/schema.js +25 -15
  40. package/lib/css/types.d.ts +0 -9
  41. package/lib/css/types.d.ts.map +1 -1
  42. package/lib/css/units.js +1 -1
  43. package/lib/db/instance.d.ts +2 -2
  44. package/lib/db/instance.d.ts.map +1 -1
  45. package/lib/db/instance.js +4 -4
  46. package/lib/index.d.ts +1 -0
  47. package/lib/index.d.ts.map +1 -1
  48. package/lib/index.js +1 -0
  49. package/lib/pubsub/create.d.ts +28 -0
  50. package/lib/pubsub/create.d.ts.map +1 -0
  51. package/lib/pubsub/create.js +58 -0
  52. package/lib/pubsub/index.d.ts +1 -2
  53. package/lib/pubsub/index.d.ts.map +1 -1
  54. package/lib/pubsub/index.js +1 -2
  55. package/lib/remix/constants.d.ts +2 -0
  56. package/lib/remix/constants.d.ts.map +1 -0
  57. package/lib/remix/constants.js +4 -0
  58. package/lib/remix/handle-request.server.d.ts +3 -0
  59. package/lib/remix/handle-request.server.d.ts.map +1 -0
  60. package/lib/remix/handle-request.server.js +16 -0
  61. package/lib/remix/index.d.ts +3 -0
  62. package/lib/remix/index.d.ts.map +1 -0
  63. package/lib/remix/index.js +18 -0
  64. package/lib/remix/insert-critical-css.d.ts +2 -0
  65. package/lib/remix/insert-critical-css.d.ts.map +1 -0
  66. package/lib/remix/insert-critical-css.js +9 -0
  67. package/lib/remix/root.d.ts +8 -0
  68. package/lib/remix/root.d.ts.map +1 -0
  69. package/lib/remix/root.js +13 -0
  70. package/lib/stitches/index.d.ts +1 -2
  71. package/lib/stitches/index.d.ts.map +1 -1
  72. package/lib/stitches/index.js +1 -2
  73. package/lib/stitches/stitches.d.ts +8 -0
  74. package/lib/stitches/stitches.d.ts.map +1 -0
  75. package/lib/stitches/{css.js → stitches.js} +12 -7
  76. package/lib/stitches/to-css.d.ts +1 -1
  77. package/lib/stitches/to-css.d.ts.map +1 -1
  78. package/lib/stitches/to-css.js +9 -0
  79. package/lib/stitches/to-css.test.js +20 -1
  80. package/lib/tree/root.d.ts +6 -2
  81. package/lib/tree/root.d.ts.map +1 -1
  82. package/lib/tree/root.js +22 -9
  83. package/lib/user-props/schema.d.ts +3 -2
  84. package/lib/user-props/schema.d.ts.map +1 -1
  85. package/lib/user-props/schema.js +3 -3
  86. package/lib/user-props/types.d.ts +1 -3
  87. package/lib/user-props/types.d.ts.map +1 -1
  88. package/lib/user-props/use-user-props.d.ts +1 -1
  89. package/lib/user-props/use-user-props.d.ts.map +1 -1
  90. package/package.json +13 -10
  91. package/lib/pubsub/publish.d.ts +0 -17
  92. package/lib/pubsub/publish.d.ts.map +0 -1
  93. package/lib/pubsub/publish.js +0 -27
  94. package/lib/pubsub/subscribe.d.ts +0 -8
  95. package/lib/pubsub/subscribe.d.ts.map +0 -1
  96. package/lib/pubsub/subscribe.js +0 -30
  97. package/lib/stitches/critical-css.d.ts +0 -4
  98. package/lib/stitches/critical-css.d.ts.map +0 -1
  99. package/lib/stitches/critical-css.js +0 -12
  100. package/lib/stitches/css.d.ts +0 -9
  101. package/lib/stitches/css.d.ts.map +0 -1
@@ -838,8 +838,9 @@ export declare const properties: {
838
838
  readonly columnGap: {
839
839
  readonly inherited: false;
840
840
  readonly initial: {
841
- readonly type: "keyword";
842
- readonly value: "normal";
841
+ readonly type: "unit";
842
+ readonly value: 0;
843
+ readonly unit: "px";
843
844
  };
844
845
  readonly popularity: 0.09282422;
845
846
  readonly appliesTo: "multiColumnElementsFlexContainersGridContainers";
@@ -2413,8 +2414,9 @@ export declare const properties: {
2413
2414
  readonly rowGap: {
2414
2415
  readonly inherited: false;
2415
2416
  readonly initial: {
2416
- readonly type: "keyword";
2417
- readonly value: "normal";
2417
+ readonly type: "unit";
2418
+ readonly value: 0;
2419
+ readonly unit: "px";
2418
2420
  };
2419
2421
  readonly popularity: 0.01955862;
2420
2422
  readonly appliesTo: "multiColumnElementsFlexContainersGridContainers";
@@ -1 +1 @@
1
- {"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../src/css/properties.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;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